diff --git a/RELEASE NOTES.md b/RELEASE NOTES.md index 62ab10157..6e84efc8a 100644 --- a/RELEASE NOTES.md +++ b/RELEASE NOTES.md @@ -2,8 +2,10 @@ ** Breaking Changes +* Grid (previously Elements/Element) now have children called "columns" * Renamed UI Blocks to UI Messages (may 13, 2013) * Messages are automatically hidden inside forms (may 04, 2013) * Renamed UI Item Grid variation to standard item prototype to avoid conflict with ui grid (may 12, 2013) * Renamed "grid" variation of table to "celled" to fix conflict with ui grid (may 10, 2013) -* Buttons are now grey by default \ No newline at end of file +* Buttons are now grey by default +* Header styles have changed significantly \ No newline at end of file diff --git a/node/src/documents/collection.html b/node/src/documents/collection.html index c5f599f60..3fb4aff7a 100755 --- a/node/src/documents/collection.html +++ b/node/src/documents/collection.html @@ -6,93 +6,94 @@ title : 'UI Collections' type : 'Library' --- -
-
+
+

UI Collection

-

UI collections are heterogeneous groups of elements

+

UI collections are elements which contain other elements which often appear together.

-
- -

Types of Collections

- -
-
-
-
-
- - -
-
- - +
+
+

Types of Collections

+ +
+
+
+
+
+ + +
+
+ + +
-
-
- Form -

A form is used to solicit a user response

-
-
-
-
-
-
Top
-
Middle
-
Bottom
+
+ Form +

A form is used to solicit a user response

-
- Grid -

A grid helps harmonize negative space in a layout

-
-
-
-
- -
-
- - - - - - - - - - - -
NameStatus
John Approved
-
-
- Table -

A table organizes data that is grouped into rows

+
+
+ +
+
+ Menu +

A menu organizes related links

+
-
-
-
-
-
Alert
-

You forgot your name!

+
+
+ + + + + + + + + + + +
NameStatus
John Approved
+
+
+ Table +

A table collects related data into rows of content

-
- Text Block -

A text block is used to alert a user.

+
+
+
+
Alert
+

You forgot your name!

+
+
+
+ Message +

Messages alert a user to something important.

+
+
-
diff --git a/node/src/documents/collections/form.html b/node/src/documents/collections/form.html index 9738efbcd..0046460a7 100755 --- a/node/src/documents/collections/form.html +++ b/node/src/documents/collections/form.html @@ -33,7 +33,7 @@ type : 'UI Collection'

Form:

A form is a collection of user input elements, and has no stylings of its own.

-
+

This example uses a ui segment to add the padding and background color. This is not required.

@@ -158,7 +158,7 @@ type : 'UI Collection'

Text Block

Text blocks have special meaning inside a form tag. All message blocks are hidden by default.

-
+
We had some issues
  • Please enter your first name
  • @@ -210,7 +210,7 @@ type : 'UI Collection'

    Error

    If a form is in an error state, it will automatically show any error message blocks:

    -
    +
    Action Forbidden

    You can only sign up for an account once with a given e-mail address.

    @@ -248,7 +248,7 @@ type : 'UI Collection'

    If a form is in warning state, it will automatically show any warning message block:

    -
    +
    Could you check something!
    • You forgot your first name
    • @@ -382,7 +382,7 @@ type : 'UI Collection'
      -
      +
      We had some issues
      • Please enter your first name
      • diff --git a/node/src/documents/collections/grid.html b/node/src/documents/collections/grid.html index 2b09a4d6c..1e6b09ae4 100755 --- a/node/src/documents/collections/grid.html +++ b/node/src/documents/collections/grid.html @@ -19,52 +19,77 @@ type : 'UI Collection'

        Collection

        -
        +

        Grid

        A grid is made up of columns of content. By default a grid must assume a certain number of columns. The semantic library assumes 12 columns by default.

        -
        Tip -

        If only a single column is specified inside a grid or a grid row, semantic will assume the column to take up the entire grid width. If you would like to override this behavior, specify the grid width as a one wide column

        +
        Tip +

        If only a single column is specified inside a grid or a grid row, semantic will assume the column to take up the entire grid width. If you would like to override this behavior, specify the grid width as a one wide column

        +

        It is also important to note, that padding is applied directly to columns, which means other ui elements should not be used in combination with column, but directly as children.

        - 1 +
        + 1 +
        - 2 +
        + 2 +
        - 3 +
        + 3 +
        - 4 +
        + 4 +
        - 5 +
        + 5 +
        - 6 +
        + 6 +
        - 7 +
        + 7 +
        - 8 +
        + 8 +
        - 9 +
        + 9 +
        - 10 +
        + 10 +
        - 11 +
        + 11 +
        - 12 +
        + 12 +
        -
        +

        Rows

        A basic grid has padding on the first and last columns of each row.

        A row is used to create vertical padding between rows of columns on a page. If no rows are specified, a grid column will sit flush along each side of the grid.

        @@ -72,97 +97,157 @@ type : 'UI Collection'
        - 1a +
        + 1a +
        - 2a +
        + 2a +
        - 3a +
        + 3a +
        - 4a +
        + 4a +
        - 5a +
        + 5a +
        - 6a +
        + 6a +
        - 7a +
        + 7a +
        - 8a +
        + 8a +
        - 9a +
        + 9a +
        - 10a +
        + 10a +
        - 11a +
        + 11a +
        - 12a +
        + 12a +
        - 1b +
        + 1b +
        - 2b +
        + 2b +
        - 3b +
        + 3b +
        - 4b +
        + 4b +
        - 5b +
        + 5b +
        - 6b +
        + 6b +
        - 7b +
        + 7b +
        - 8b +
        + 8b +
        - 9b +
        + 9b +
        - 10b +
        + 10b +
        - 11b +
        + 11b +
        - 12b +
        + 12b +
        -
        +

        Grid

        A grid will automatically center any columns that do not match a full row width. This is useful for centering content

        -
        -
        - 1 -
        -
        - 2 -
        -
        - 3 +
        +
        +
        +
        + 1 +
        +
        +
        +
        + 2 +
        +
        +
        +
        + 3 +
        +
        -
        - 4 +
        +
        +
        + 4 +
        +
        @@ -310,7 +395,7 @@ type : 'UI Collection'
        -

        Horizontal Alignment

        +

        Floating (Horizontal Alignment)

        A column can be aligned, or "floated", to either the left or right of its row.

        diff --git a/node/src/documents/collections/menu.html b/node/src/documents/collections/menu.html index 0e7e3d114..3b0b69341 100755 --- a/node/src/documents/collections/menu.html +++ b/node/src/documents/collections/menu.html @@ -56,7 +56,7 @@ type : 'UI Collection'

        Vertical Menu

        A vertical menu can have its own sub menus. This example uses three levels of menu depth.

        -
        A vertical menu's width defaults to an arbitrary size. To have it fit your content more precisely use the fluid variation in conjunction with ui grid.
        +
        A vertical menu's width defaults to an arbitrary size. To have it fit your content more precisely use the fluid variation in conjunction with ui grid.