-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #699 from WestpacGEL/New-layout-category
New layout category
- Loading branch information
Showing
24 changed files
with
116 additions
and
27 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions
38
...ontent/design-system/foundation/layout/breakpoints/code/development-examples/content.mdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
```jsx | ||
() => <Table> | ||
<TableHeader> | ||
<TableHeaderRow> | ||
<TableHeaderCell>Token</TableHeaderCell> | ||
<TableHeaderCell>Value</TableHeaderCell> | ||
<TableHeaderCell>Tailwind prefix</TableHeaderCell> | ||
</TableHeaderRow> | ||
</TableHeader> | ||
<TableBody> | ||
<TableRow> | ||
<TableCell>xsl</TableCell> | ||
<TableCell>0px and up</TableCell> | ||
<TableCell>xsl:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>sm</TableCell> | ||
<TableCell>768px and up</TableCell> | ||
<TableCell>sm:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>md</TableCell> | ||
<TableCell>992 and up</TableCell> | ||
<TableCell>md:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>lg</TableCell> | ||
<TableCell>1200 and up</TableCell> | ||
<TableCell>lg:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>xl</TableCell> | ||
<TableCell>1900 and up</TableCell> | ||
<TableCell>xl:</TableCell> | ||
</TableRow> | ||
</TableBody> | ||
</Table> | ||
``` |
38 changes: 38 additions & 0 deletions
38
...content/design-system/foundation/layout/breakpoints/design/breakpoint-tokens/content.mdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
```jsx | ||
() => <Table> | ||
<TableHeader> | ||
<TableHeaderRow> | ||
<TableHeaderCell>Token</TableHeaderCell> | ||
<TableHeaderCell>Value</TableHeaderCell> | ||
<TableHeaderCell>Tailwind prefix</TableHeaderCell> | ||
</TableHeaderRow> | ||
</TableHeader> | ||
<TableBody> | ||
<TableRow> | ||
<TableCell>xsl</TableCell> | ||
<TableCell>0px and up</TableCell> | ||
<TableCell>xsl:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>sm</TableCell> | ||
<TableCell>768px and up</TableCell> | ||
<TableCell>sm:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>md</TableCell> | ||
<TableCell>992 and up</TableCell> | ||
<TableCell>md:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>lg</TableCell> | ||
<TableCell>1200 and up</TableCell> | ||
<TableCell>lg:</TableCell> | ||
</TableRow> | ||
<TableRow> | ||
<TableCell>xl</TableCell> | ||
<TableCell>1900 and up</TableCell> | ||
<TableCell>xl:</TableCell> | ||
</TableRow> | ||
</TableBody> | ||
</Table> | ||
``` |
26 changes: 26 additions & 0 deletions
26
apps/site/src/content/design-system/foundation/layout/breakpoints/index.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Breakpoints | ||
description: >- | ||
Breakpoints are a set of predefined viewport widths that can be used to change | ||
the layout of a page to ensure it accommodates different devices. | ||
namedExport: | ||
discriminant: false | ||
excludeFromNavbar: false | ||
design: | ||
- title: | ||
name: Breakpoint tokens | ||
slug: breakpoint-tokens | ||
noTitle: false | ||
accessibility: | ||
- title: | ||
name: Accessibility features | ||
slug: accessibility-features | ||
relatedComponents: | ||
- title: Grid | ||
slug: foundation/layout/grid | ||
- title: Spacing | ||
slug: foundation/layout/spacing | ||
code: | ||
- title: | ||
name: Development examples | ||
slug: development-examples | ||
noTitle: false |
File renamed without changes.
File renamed without changes.
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
1 change: 1 addition & 0 deletions
1
...design-system/foundation/layout/spacing/accessibility/accessibility-features/content.mdoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
No specific accessibility features required. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.