This section is a work-in-progress. We're still fleshing out the definition of Functional Examples. If you have questions, please contact Jacob Farber or Eli Cochran.

Functional Examples: plug and play component samples for application integration

(formerly Springboards)

Overview

A "one-stop shop" for developers, containing simple, working, well-styled versions of the Fluid components ready for cut-and-paste integration.

Goals

  1. To help developers better understand Fluid components and how they work
  2. To help foster widespread adoption of Fluid components
  3. To assist developers in writing sematic markup and applications that are AT friendly
  4. To provide useful and easily customizable themes for Fluid components and beyond

Guidelines

  • clean semantic markup with wrappers for styling
  • namespaced CSS
  • no "context"
  • unified CSS theme
  • cut-and-paste-able
  • well documented (excellent inline comments)

HTML Patterns

CSS Patterns

<div class="theme">
	<div class="selector state">foo</div>
</div>

Notes:

Components and html elements

a quick inventory of what we have

General

Layout Reorderer (see also: )

element

states

notes

  • layout


is the layout an "element"?

  • pane
    • pane header
    • pane body
  • locked
  • keyboard focus
  • drag state (avatar)
  • placeholder


  • drop target



  • drop remediation



Image Reorderer (see also: Image Reorderer API, Lightbox Tutorial, Drag and Drop Design Pattern)

element

states

notes

  • image container
    • thumbnail
    • figure text
  • keyboard focus
  • drag state (avatar)
  • placeholder


  • drop target



  • instructional text



Reorderer (see also: Reorderer API)

element

states

notes

  • list item



Uploader Design Overview (see also: Tutorial - Uploader, Uploader API, Uploader Design Pattern )

element

states

notes

  • dialog



  • file queue



  • queue item
  • ready
  • uploaded
  • error
  • mouseover highlight


  • scrolling area



  • buttons
  • active
  • disabled


  • progress



Inline Edit (see also: Simple Text Inline Edit API, Tutorial - Simple Text Inline Edit, Inline Edit Design Pattern)

element

states

notes

  • text



  • field



Pager (see also: Pager Tutorial - Markup-driven, Pager API, Pagination Design Pattern)

elements and states

functionality, presentation and accessibility

Mapping out what are all the elements that we want to support in components and what states and attributes we need to support for those elements

 Brainstorming some lists here....

Conceptual States:

<aside>Interesting conversation here about uploaded and success. "Uploaded" is really just "success" in the Uploader context. One could also see "checked" and "selected" as synonymous even if HTML does not.  </aside>

HTML States:

CSS States:

css2

css3

ARIA States:

Generic HTML elements:

Form elements

Text elements

ARIA defined meta elements (Roles)

Fluid component specific objects: