Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(fluid-inputs): update branch with latest changes from main #3203

Merged
merged 32 commits into from
Oct 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
a6bf633
chore(release): update carbon deps (#3159)
carbon-automation[bot] Sep 16, 2022
6b5e381
feat(website): add accessibility link, update common js (#3155)
tay1orjones Sep 16, 2022
2cf9d87
fix: mdx formatting inside component demo (#3160)
alisonjoseph Sep 16, 2022
835651e
docs: contained-list (#3145)
laurenmrice Sep 16, 2022
00c3c22
docs(grid): updated with API docs and example (#3136)
sstrubberg Sep 16, 2022
75d038d
fix(typography): fix controls bug (#3130)
aledavila Sep 19, 2022
e0059b2
Updated outdated links to storybook (#3164)
aagonzales Sep 20, 2022
94d7e1e
Change tab text of typography from "Styling strategies" to "Style str…
abhilipsasahoo03 Sep 20, 2022
1821a88
Update accessibility.mdx (#3143)
mbgower Sep 21, 2022
7ea3965
Correct verbiage on ibm commerce platform page (#3157)
francinelucca Sep 21, 2022
34f3b22
Compressed Images (#3162)
github-actions[bot] Sep 23, 2022
85db97a
docs(Theme): update Theme docs with new guidance/usage (#2998)
dakahn Sep 26, 2022
cf56acd
docs(team): removed team page and removed photos from partners (#3170)
sstrubberg Sep 26, 2022
0cc48b8
fix(content): broken links (#3167)
alisonjoseph Sep 27, 2022
62338df
docs(meetups): added office hours) (#3165)
sstrubberg Sep 27, 2022
b3416d2
update dataviz meeting time (#3177)
theiliad Sep 28, 2022
8b0bafa
chore(release): update carbon deps (#3178)
carbon-automation[bot] Sep 30, 2022
30d826f
docs: figma v11 release content updates (#3176)
laurenmrice Sep 30, 2022
d6d2b50
Compressed Images (#3184)
github-actions[bot] Oct 3, 2022
5d881e4
docs(Accordion): match Accordion to ken to code (#3180)
tw15egan Oct 4, 2022
f2ff211
Ecosystem updates (#3150)
mzuliani-ibm Oct 4, 2022
a3326c0
feat: add crosslink banner to carbon platform on homepage (#3185)
alisonjoseph Oct 5, 2022
4f6b0ab
docs: add flush accordion content (#3168)
laurenmrice Oct 5, 2022
fee6747
docs(progress-bar): add component live demo (#3182)
janhassel Oct 6, 2022
e280be0
docs(svelte): update resources and intro (#3183)
metonym Oct 7, 2022
b6ebe8e
Compressed Images (#3189)
github-actions[bot] Oct 11, 2022
5a8054e
docs(contact-us): minor updates to contact us page (#3186)
jeffchew Oct 12, 2022
e9bb1ba
chore(release): update carbon deps (#3194)
carbon-automation[bot] Oct 12, 2022
8591c2d
fix(tutorial): remove optimize sass from step 5 (#3192)
tay1orjones Oct 13, 2022
a06adb9
refactor(tutorial): remove badging (#3197)
tay1orjones Oct 13, 2022
9cffd78
chore(release): update carbon deps (#3200)
carbon-automation[bot] Oct 13, 2022
c73744d
fix(Icons): fix broken link (#3196)
tw15egan Oct 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: contained-list (#3145)
* add new mdx pages

* add images for usage tab

* fix content

* fix typos

* update content

* update headers

* Update src/pages/components/contained-list/usage.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* Update src/pages/components/contained-list/usage.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* Update src/pages/components/contained-list/usage.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* Update src/pages/components/contained-list/usage.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* Update src/pages/components/contained-list/usage.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* add in inline notification

* fix images

* update side nav

* update images

* add Mike A feedback

* add code, accessibility, and style tab content

* add style tab images

* rename tab

* fix style images

* update style content

* update from Jan

* stlye image update

* update break

* Update src/pages/components/contained-list/style.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* Update src/pages/components/contained-list/style.mdx

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>

* update style and usage content

* update style and usage images

* update image bug

* insert break

* update structure content

* update style images

* update image

* update style tab

* style tab updates

Co-authored-by: Anna Gonzales <agonz@us.ibm.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 16, 2022
commit 835651e2d6d157a6f49b3c21cb0438d124421cfc
2 changes: 2 additions & 0 deletions src/data/nav-items.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
path: /components/checkbox/usage/
- title: Code snippet
path: /components/code-snippet/usage/
- title: Contained list
path: /components/contained-list/usage/
- title: Content switcher
path: /components/content-switcher/usage/
- title: Data table
Expand Down
26 changes: 26 additions & 0 deletions src/pages/components/contained-list/accessibility.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Contained list
description:
Contained lists group content that is similar or related and can contain
read-only or interactive information.
tabs: ['Usage', 'Style', 'Code', 'Accessibility']
---

<PageDescription>

Design annotations are needed for specific instances shown below, but for the
standard accordion component, Carbon already incorporates accessibility.

</PageDescription>

<InlineNotification>

This page is underdevelopment. Please check back later for updates.

</InlineNotification>

<AnchorLinks>
<AnchorLink>What Carbon provides</AnchorLink>
<AnchorLink>Design recommendations</AnchorLink>
<AnchorLink>Development considerations</AnchorLink>
</AnchorLinks>
32 changes: 32 additions & 0 deletions src/pages/components/contained-list/code.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: Contained list
description:
Contained lists group content that is similar or related and can contain
read-only or interactive information.
tabs: ['Usage', 'Style', 'Code', 'Accessibility']
---

<PageDescription>

Preview the contained list component with the React live demo. For detailed code
usage documentation, see the Storybooks for each framework below.

</PageDescription>

## Documentation

<InlineNotification>

**Coming soon:** The storybook code for contained list is underdevelopment and
will be available soon.

</InlineNotification>

## Live demo

<InlineNotification>

**Coming soon:** The live demo for contained list is underdevelopment and will
be available soon.

</InlineNotification>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
153 changes: 153 additions & 0 deletions src/pages/components/contained-list/style.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
---
title: Contained list
description:
Contained lists group content that is similar or related and can contain
read-only or interactive information.
tabs: ['Usage', 'Style', 'Code', 'Accessibility']
---

## Color

| Element | Property | Color token |
| ---------------- | ---------------- | ------------------ |
| Title: on page | text color | `$text-primary` |
| | background-color | `$background` |
| Title: disclosed | text color | `$text-secondary` |
| | background-color | `$layer`\* |
| Item | text color | `$text-primary` |
| | background-color | transparent |
| Icon (optional) | svg | `$icon-primary` |
| Row divider | border-bottom | `$border-subtle`\* |

<Caption>
* Denotes a contextual color token that will change values based on the layer
it is placed on.
</Caption>

<Row>
<Column colLg={8}>

![Enabled states for contained list variants](images/contained-list-style-1.png)

</Column>
</Row>

<Caption>Example of enabled states for contained list variants.</Caption>

### Interactive states

| Element | Property | Color token |
| -------- | ---------------- | ------------------ |
| Hover | background-color | `$layer-hover`\* |
| Focus | border | `$focus` |
| Active | background-color | `$layer-active`\* |
| Disabled | text color | `$text-disabled` |
| | border | `$border-disabled` |

<Caption>
* Denotes a contextual color token that will change values based on the layer
it is placed on.
</Caption>

<Row>
<Column colLg={12}>

![States for contained list item rows](images/contained-list-style-2.png)

</Column>
</Row>

<Caption>Example of states for contained list item rows.</Caption>

<br />

<Row>
<Column colLg={12}>

![States for contained list inline actions](images/contained-list-style-3.png)

</Column>
</Row>

<Caption>Example of states for contained list inline actions.</Caption>

## Typography

All contained list text should be set in sentence case, with only the first word
in a phrase and any proper nouns capitalized.

| Element | Font-size (px/rem) | Font-weight | Type token |
| ---------------- | ------------------ | -------------- | --------------------- |
| Title: on page | 14 / 0.875 | SemiBold / 600 | `$heading-compact-01` |
| Title: disclosed | 12 / 0.75 | Regular / 400 | `$label-01` |
| Item | 14 / 0.875 | Regular / 400 | `$body-01` |

## Structure

| Element | Property | px / rem | Spacing token |
| ----------------- | --------------------------- | -------- | ------------- |
| Header: on page | height | 32 / 2 | `$spacing-07` |
| | padding-left, padding-right | 16 / 1 | `$spacing-05` |
| Header: disclosed | height | 48 / 3 | `$spacing-09` |
| | padding-left, padding-right | 16 / 1 | `$spacing-05` |
| Item | padding-left, padding-right | 16 / 1 | `$spacing-05` |
| Icon (optional) | height, width | 16 / 1 | — |

<div className="image--fixed">

![Structure and spacing measurements for the on page list variant.](images/contained-list-style-4.png)

</div>

<Caption>
Structure and spacing measurements for the on page list variant. | px / rem
</Caption>

<br />

<div className="image--fixed">

![Structure and spacing measurements for the disclosed list variant.](images/contained-list-style-5.png)

</div>

<Caption>
Structure and spacing measurements for the disclosed list variant. | px / rem
</Caption>

<br />

<div className="image--fixed">

![Structure and spacing measurements for height and width of row content.](images/contained-list-style-6.png)

</div>

<Caption>
Structure and spacing measurements for height and width of row content. | px /
rem
</Caption>

<br />

<div className="image--fixed">

![Structure and spacing measurements for padding and rule alignment.](images/contained-list-style-7.png)

</div>

<Caption>
Structure and spacing measurements for padding and rule alignment. | px / rem
</Caption>

<br />

<div className="image--fixed">

![Structure and spacing measurements for inline actions.](images/contained-list-style-8.png)

</div>

<Caption>
Structure and spacing measurements for inline actions. | px / rem
</Caption>
Loading