Skip to content

Commit

Permalink
Update carbon platform branch (#3342)
Browse files Browse the repository at this point in the history
* docs: radio button content updates (#3086)

* update: usage content

* update: usage images

* update: style content

* update: image

* update: image

* fix: run format

Co-authored-by: Josefina Mancilla <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps): bump parse-url from 6.0.0 to 6.0.5 (#3087)

* chore(deps): bump parse-url from 6.0.0 to 6.0.5

Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.5.
- [Release notes](https://github.com/IonicaBizau/parse-url/releases)
- [Commits](IonicaBizau/parse-url@6.0.0...6.0.5)

---
updated-dependencies:
- dependency-name: parse-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore(format):  run yarn format

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(meta): remove site-wide description in favor of page-level descriptions (#3093)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(accordian): fix typo (#3101)

* docs(date-picker): gower review (#3096)

* docs(date-picker): gower review

* Update date-format-placement.png

* add type styles

* Update style.mdx

* Apply suggestions from design review

Co-authored-by: Lauren Rice <[email protected]>

* update calendar images

Co-authored-by: Lauren Rice <[email protected]>

* chore(release): update carbon deps (#3103)

Co-authored-by: jnm2377 <[email protected]>

* Compressed Images (#3106)

Co-authored-by: kodiakhq <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3060)

Co-authored-by: kodiakhq <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* accessibility content for overflow menu (#3083)

* accessibility content for overflow menu

text and images for accessibility guidance

* fix: run format

Co-authored-by: Josefina Mancilla <[email protected]>
Co-authored-by: Josefina Mancilla <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(migration): mention upgrade cli in developer docs (#3095)

* docs(migration): mention upgrade cli in developer docs

* Update develop.mdx

Co-authored-by: D.A. Kahn <[email protected]>

* docs(tree-view): new component (#3062)

* docs(tree-view): new component

* remove-tooltip-content

* Update usage.mdx

* formate updates

* Update usage.mdx

* add-style-tab-content

* remove line breaks

* fixed format bug

* fixed bugs

* image size test

* Update code.mdx

* update-images

* Update usage.mdx

* Apply suggestions from design review

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/tree-view/style.mdx

Co-authored-by: Lauren Rice <[email protected]>

* updated-overview-image

* fix: format and add to nav

* Update code.mdx

Co-authored-by: Lauren Rice <[email protected]>
Co-authored-by: Josefina Mancilla <[email protected]>

* update overflow a11y images (#3107)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Update step-1.mdx (#3071)

* Update step-1.mdx

Hi,
it took me quiet some time to run the step-1 part of the tutorial, the section about icons namely.
After digging into documentation of `carbon-component-angular` module I was able to make the icons working properly.
Therefore you would like to propose couple changes in this part of the step-1 documentation.

* Update step-1.mdx

Forgot to mention the registration of the icon/s so adding that part as well.

* Update src/pages/developing/angular-tutorial/step-1.mdx

ok, thx

Co-authored-by: Akshat Patel <[email protected]>

* Update src/pages/developing/angular-tutorial/step-1.mdx

ok thx

Co-authored-by: Akshat Patel <[email protected]>

* Update src/pages/developing/angular-tutorial/step-1.mdx

ok thx

Co-authored-by: Akshat Patel <[email protected]>

Co-authored-by: Akshat Patel <[email protected]>
Co-authored-by: D.A. Kahn <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* ibmButton attribute value (#3076)

ibmButton attribute (directive) needs to value. According the page preview at the top I add `primary`.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Removing --lint-fix parameter (#3079)

The --lint-fix parameter can't be used anymore for generating angular component.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix: remove ibm z pictograms (#3114)

* fix: remove ibm z pictograms

* chore: format

* feat(tutorial): add initial faqs (#3088)

* feat(tutorial): add initial faqs

* docs(tutorial): add additional FAQ answers

Co-authored-by: TJ Egan <[email protected]>

* docs(Tutorial): fix typo (#3111)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* dividing file names for code snippets (#3075)

* dividing file names for code snippets

There are 2 files (`src/app/home/home.module.ts` and `src/app/home/landing-page/landing-page.component.spec.ts`) mentioned above 2 code snippets that is explaining how to import carbon modules. But One code snippet is for app.module.ts and second is for landing-page.component.spec.ts and it unnecessary to mentioned both files above both code snippets.
This is on 2 spots `First row` and `Second row` section.

* division of file names above code snippets

Found addition 2 spots in `Repo page` section

Co-authored-by: D.A. Kahn <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Added Bluetalks to the Migration page (#3024)

* Update overview.mdx

* chore(Overview): ran yarn:format

* Compressed Images (#3119)

Co-authored-by: kodiakhq <[email protected]>

* fix(404): fixes a link so that it doesn't go to 404, fix 404 styles (#3117)

* fix(2x-grid): fix link typo

* style(404): update 404 styles

* chore(format):  run yarn format

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Loading accessibility (#3080)

* updating accessibility content and adding image

* Update accessibility.mdx

removed second image placeholder for now

* Update accessibility.mdx

rewrote introduction

* Update accessibility.mdx

rewrote heading

* Update accessibility.mdx

Reworded design guidance

* Update accessibility.mdx

updated link text

* Update accessibility.mdx

slight rewording

* added two images and updated content

* chore(loading): format PR

* Update loading-accessibility-3.png

added Lauren's image

Co-authored-by: dakahn <[email protected]>

* fix(tile): component style page check change (#3124)

* fix(docs): replace check emoji with CheckmarkOutline component

* fix(docs): remove unused import

* Update color-tokens.js (#3118)

* Update color-tokens.js

* run yarn format

* update-text-on-color-disabled

* add token name to values

* Update color-tokens.js

* remove token name in value

* update opacity formating

* reverting to previous format test

* reset formating again

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Docs: Update text input usage (#3115)

* [docs] text-input: usage-update

* added-rest-of-content

* content-QA

* update-img-link

* content-qa-2

* Apply suggestions from design review

Co-authored-by: Lauren Rice <[email protected]>

* image and content updates

* Update usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Notification for Tile (#3126)

* Notification for Tile

* Update src/pages/components/tile/usage.mdx

Co-authored-by: Anna Gonzales <[email protected]>

Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: Anna Gonzales <[email protected]>

* fix(getting-started): update to v11 content (#3138)

* Compressed Images (#3131)

Co-authored-by: kodiakhq <[email protected]>
Co-authored-by: Josefina Mancilla <[email protected]>

* chore(release): update carbon deps (#3129)

Co-authored-by: tay1orjones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3151)

Co-authored-by: tay1orjones <[email protected]>

* chore(release): update carbon deps (#3159)

Co-authored-by: tay1orjones <[email protected]>

* feat(website): add accessibility link, update common js (#3155)

* feat(footer): add accessibility link

* fix(cookies): remove defer from script

* fix(common): move to post body components

* fix(common): remove defer

* fix(common): unique name

* fix(common): re-add defer

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix: mdx formatting inside component demo (#3160)

* 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 <[email protected]>

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

Co-authored-by: Anna Gonzales <[email protected]>

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

Co-authored-by: Anna Gonzales <[email protected]>

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

Co-authored-by: Anna Gonzales <[email protected]>

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

Co-authored-by: Anna Gonzales <[email protected]>

* 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 <[email protected]>

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

Co-authored-by: Anna Gonzales <[email protected]>

* 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 <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(grid): updated with API docs and example (#3136)

* docs(grid): updated with API docs and example

* docs(grid): better description

* docs(grid): progressive disclosure and helpers

* fix(typography): fix controls bug (#3130)

* fix(typography): fix controls bug

* chore(typsets): fix mobile typeset controls bug

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Updated outdated links to storybook (#3164)

* Change tab text of typography from "Styling strategies" to "Style strategies" (#3163)

* fix: Change tab text from "Styling strategies" to "Style Strategies"

* fix: Change tab text from "Styling strategies" to "Style strategies"

* fix: Change tab text from "Styling strategies" to "Style strategies"

* fix: Change tab text from "Styling strategies" to "Style strategies"

* fix: Update links in page to "Style Strategies"

* fix: Update link in page to "Style strategies"

* fix: rectify verbiage

* fix: fix minor typo

* fix: fix typo

* fix: fix the link to "Style Strategies"

* fix: fix the link to "Style strategies"

* fix: create redirect to "Style strategies"

* Update gatsby-node.js

Co-authored-by: Taylor Jones <[email protected]>

* Update accessibility.mdx (#3143)

* Update accessibility.mdx

updated accessibility content

* Update accessibility.mdx

Made text updates for consistency

* uploading images for accessibility tab

* Update accessibility.mdx

updates to try to make the ask easier to understand

* Update header-accessibility-5.png

alter annotation example

* Added Lauren's images

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/UI-shell-header/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* chore: output of yarn format

Co-authored-by: Lauren Rice <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>

* Correct verbiage on ibm commerce platform page (#3157)

* Compressed Images (#3162)

Co-authored-by: kodiakhq <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(Theme): update Theme docs with new guidance/usage (#2998)

* docs(Theme): update Theme docs with new guidance/usage

* Update src/pages/guidelines/themes/code.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/guidelines/themes/code.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* docs(Themes): update docs with PR changes

* chore(number-input): run prettier

* docs(theme): update theme docs for v11

* docs(themes): update overview page for v11

* docs(theme): update overview page, remove tokens

* docs(theme): rephrase notification for elements packages

Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(team): removed team page and removed photos from partners (#3170)

* fix(content): broken links (#3167)

* Update writing-style.mdx

* Update overview.mdx

* fix: mdx formatting

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(meetups): added office hours) (#3165)

* update dataviz meeting time (#3177)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3178)

Co-authored-by: abbeyhrt <[email protected]>

* docs: figma v11 release content updates (#3176)

* updated design and migration .mdx files

* update content

* update images

* update figma .mdx

* update figme content

* update migration content

* fix typo

* remove break in figma.mdx

* format fix

* update images

* update component count

* typo update

* add figma migration section

* edit content

* update migration design guide

* add migration steps

* update migration docs

* update figma design kit page with links

* chore(format):  run yarn format

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <[email protected]>

* Compressed Images (#3184)

Co-authored-by: kodiakhq <[email protected]>

* docs(Accordion): match Accordion to ken to code (#3180)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Ecosystem updates (#3150)

* Update the-carbon-ecosystem.mdx

* Ecosystem updates

Rename: AI Apps > Sustainability Software
Merge: Cloud and Cloud & Cognitive to Carbon for IBM Products

* More updates for IBM internal sites

Bring naming changes to Domain Guidance page.
Update some job titles and membership for team & partners.

* Sync with conflicting changes

 docs(team): removed team page and removed photos from partners #3170

* feat: add crosslink banner to carbon platform on homepage (#3185)

* feat: add crosslink banner to carbon platform on homepage

* fix: remove calc from sass

* Update Banner.module.scss

* Update Banner.module.scss

* Update Banner.js

* Update Banner.module.scss

* Update Banner.js

* Update src/components/Banner/Banner.js

Co-authored-by: Anna Gonzales <[email protected]>

Co-authored-by: Anna Gonzales <[email protected]>

* docs: add flush accordion content (#3168)

* update usage docs with flush modifier

* update usage images

* update: usage

* update: style

* fix break

* update mdx

* update mdx

* update image

* update style tab

* refine style images

* adjust style images in tab comp.

* update style structure

* update style image

* update color  image

* docs(progress-bar): add component live demo (#3182)

* docs(progress-bar): add component live demo

* chore(package): add @carbon/react resolution

* chore(package): update gatsby-theme-carbon

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(svelte): update resources and intro (#3183)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3189)

Co-authored-by: kodiakhq <[email protected]>

* docs(contact-us): minor updates to contact us page (#3186)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3194)

Co-authored-by: aledavila <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(tutorial): remove optimize sass from step 5 (#3192)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* refactor(tutorial): remove badging (#3197)

Co-authored-by: Alessandra Davila <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3200)

Co-authored-by: aledavila <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(Icons): fix broken link (#3196)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* ci(actions): automatically open content sync issues on platform (#3193)

* ci(actions): automatically open content sync issues on platform

* Update .github/workflows/platform-content-sync.yml

Co-authored-by: Matt Rosno <[email protected]>

* chore(formatting): output of yarn:format

Co-authored-by: Matt Rosno <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(switcher): fix app switcher bugs (#3208)

* Update accessibility.mdx (#3187)

* Update accessibility.mdx

first draft of new content. illustrations not yet added

* First image uploads

* Update accessibility.mdx

Minor text updates

* image paid attempt

attempt

* Update accessibility.mdx

attempt to remove the DoDont key word in mdx

* Update accessibility.mdx

Attempt to remove do don't styline on pair of images

* Update accessibility.mdx

attempt to incorporate captions

* addition image and text updates

* Update accessibility.mdx

change caption position. minor tweaks to style

* Update accessibility.mdx

Slight tweaks to wording

* chore(format): output of yarn:format

* Update accessibility.mdx

removing superfluous quotation mark

* Updated images and altered layout

Changes to images from Lauren. Also made side by side images into stacked images, as per her request.

* Update accessibility.mdx

Tried changing case on Row element

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Lauren Rice <[email protected]>

* Compressed Images (#3217)

Co-authored-by: kodiakhq <[email protected]>

* ci(content-sync): provide token proper permissions (#3216)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix: hyphens to en dashes (#3215)

* chore: untrack git file

- fix vscode settings which shouldn't have been tracked

* docs: replace hyphens with en dashes

* Fix GitHub capitalization (#3225)

* fix: broken link on tag style tab (#3219)

* fix: broken link on tag style tab

Closes #3213 

- Fixes the code link under the Color section on the Tag > Style tab page to point to the correct URL.

* Update src/pages/components/tag/style.mdx

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3220)

Co-authored-by: tw15egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix: broken link ui shell right panel (#3218)

Closes #3214 

- Fixes the React resource card to point to the correct URL.

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(format): fix format error (#3227)

* chore(release): update carbon deps (#3226)

Co-authored-by: tw15egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* content for accessibility tab (#3212)

* content for accessibility tab

images and content

* chore(formatting): output of yarn format

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* [docs] Update type token weights (#3221)

Parent issue: carbon-design-system/carbon#12174

Reverting some of the previously changed font weights.

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3230)

Co-authored-by: kodiakhq <[email protected]>

* pagination accessibility update (#3224)

* pagination accessibility update

Contains text and images for Pagination accessibility tab

* Update pagination-accessibility-1.png

updated image

* added and updated images

* Update accessibility.mdx

added code tags

* chore(format): fix format error

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* accessibilty content for right panel (#3223)

* accessibilty content for right panel

added content and images for ui shell right panel

* Update accessibility.mdx

removed an orphan subheading from file copy

* update accessibility content and an image

* Update accessibility.mdx

adjusted some text for design annotation considerations

* chore(format): fix format error

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3234)

Co-authored-by: tay1orjones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(analytics): set SPA to false (#3242)

* fix(analytics): set SPA to false

* fix(analytics): update site id

* ci(content-sync): use github app for proper permissions scope (#3240)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3247)

Co-authored-by: kodiakhq <[email protected]>

* chore(release): update carbon deps (#3245)

Co-authored-by: tay1orjones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs: revise a11y images and content (#3244)

* update images

* update content

* update pagination content and images

* update annotation images

* fix merge conflicts

* chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#3252)

Bumps [socket.io-parser](https://github.com/socketio/socket.io-parser) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/socketio/socket.io-parser/releases)
- [Changelog](https://github.com/socketio/socket.io-parser/blob/main/CHANGELOG.md)
- [Commits](socketio/socket.io-parser@4.0.4...4.0.5)

---
updated-dependencies:
- dependency-name: socket.io-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fixing a typo on the Spacing page (#3253)

* fixing a typo

The keyword 'using' is mentioned twice in the first sentence of the first paragraph under the heading "Spacing".

* chore(format): fix format error

Co-authored-by: TJ Egan <[email protected]>

* Compressed Images (#3255)

Co-authored-by: kodiakhq <[email protected]>

* feat: remove component index (#3233)

* feat: remove component index

* feat: add notification

* feat: update ecosystem grids

* feat: update ecosystem grids v2

* chore(comunity-index): redirect contribute to community index

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>

* feat: add sass faq (#3228)

* feat: add sass faq

* address review feedback

Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>

* fix: missing images on platform art direction line breaks (#3211)

Co-authored-by: Taylor Jones <[email protected]>

* chore(release): update carbon deps (#3249)

Co-authored-by: tay1orjones <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* refactor: add 'do' type to DoDont uses that don't specify it (#3257)

* refactor: add 'do' type to DoDont uses that don't specify it

* refactor: add 'do' type to DoDont uses that don't specify it

* fix: format

* update profile image (#3254)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Update usage.mdx (#3256)

* Update usage.mdx

In the "Content" section the "Label text" that is used in the examples is referred to as "Heading" which is confusing. Attempting to clarify label vs action text with this proposed edit.

* Update usage.mdx

Changing "can" to "must" since the label is required for accessibility.

* chore(format): fix format error

Co-authored-by: TJ Egan <[email protected]>

* Compressed Images (#3283)

Co-authored-by: kodiakhq <[email protected]>

* Compressed Images (#3278)

Co-authored-by: kodiakhq <[email protected]>

* Update platform-content-sync.yml (#3284)

* GH action: test (#3285)

* Limit workflow to main branch (#3286)

* Limit workflow to main branch

* Update platform-content-sync.yml

* Remove test comment (#3287)

* Update package.json (#3288)

* fix(RadioButton): fix a11y issues with `RadioButtonGroup` (#3276)

* fix(RadioButton): fix a11y violation on Radio Button pages

* fix(ComponentDemo): update knob container code

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Alison Joseph <[email protected]>

* update: filter pattern images (#3280)

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* [number input] number input doc update v11 (#3246)

* number input doc update

* number input update

* Apply suggestions from code review

Co-authored-by: Anna Gonzales <[email protected]>

* fix: formatting

* Update style.mdx

Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>

* Update accessibility.mdx (#3251)

* Update accessibility.mdx

New content for accessibility tab. no illustrations yet

* added images

* Update tree-view-accessibility-1.png

updated image to make list alphabetical

* Update accessibility.mdx

corrected image names

* Update accessibility.mdx

fixed some formatting on code

* fix: formatting

* Update src/pages/components/tree-view/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/tree-view/accessibility.mdx

Co-authored-by: Lauren Rice <[email protected]>

* update images

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Lauren Rice <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix: add missing types to DoDont (#3292)

* chore(release): update carbon deps (#3289)

Co-authored-by: alisonjoseph <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* fix(palette): removed dupe (#3293)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3296)

Co-authored-by: alisonjoseph <[email protected]>

* fix(docs): wrap resourcecard in row (#3295)

* chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#3297)

Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](SamVerschueren/decode-uri-component@v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3300)

Co-authored-by: kodiakhq <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(deps): bump express from 4.17.1 to 4.18.2 (#3301)

Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.18.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.17.1...4.18.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3302)

Co-authored-by: aledavila <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs(modal): add full-width (#3299)

* docs(modal): add full-width

* Update modal-usage-alignment-2.png

* Update modal-usage-alignment-2.png

* fix(color): properly align color dots (#3304)

Co-authored-by: TJ Egan <[email protected]>

* docs: add new read-only states pattern (#3279)

* add: read only states pattern pages

* update terminology to "inputs"

* update .mdx

* add gallery images

* update .mdx

* add images

* add images

* fix: formatting

* Update index.mdx

* remove image placeholder

* fix: missing tab tag

* fix images and nav

* add anatomy content

* update terminology

* update images

* add do/dont

* update do dont

* update .mdx

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* update images

* update do dont

* update anatomy

* add fluid component examples

* update fluid content

* update image bugs

* update anatomy image

* update fluid content

* fix do/dont image bug

* Update src/pages/patterns/read-only-states-pattern/index.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* update with notification

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* chore(release): update carbon deps (#3305)

Co-authored-by: tw15egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3307)

Co-authored-by: kodiakhq <[email protected]>

* fix: update undefined status icon svgs (#3311)

* fix: update undefined status icon svgs

* Update undefined-filled.svg

* Update undefined-outline.svg

* Update undefined-filled.svg

* [select] select doc update v11 (#3282)

* select-doc-update

* fix: formatting

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Update src/pages/components/select/usage.mdx

Co-authored-by: Lauren Rice <[email protected]>

* Apply suggestions for typos

Co-authored-by: Lauren Rice <[email protected]>

* chore(format): fix format error

* Update the select doc

* update select doc

* Update src/pages/components/select/usage.mdx

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Lauren Rice <[email protected]>
Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Compressed Images (#3316)

Co-authored-by: kodiakhq <[email protected]>

* ci(triage): update issue/project triage workflows (#3313)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Modal accessibility content and images (#3303)

* Modal accessibility content and images

* Update accessibility.mdx

MIssed saving updates

* Update accessibility.mdx

updating bullets in dev section

* Update accessibility.mdx

updates to correct typos and and a subheading

* Update accessibility.mdx

Adjustments to dev considerations

* Update to Do Don't pair

* Update modal-accessibility-3.png

added 2-button example

* chore(format): fix format error

* update images

* Update src/pages/components/modal/accessibility.mdx

Co-authored-by: Anna Gonzales <[email protected]>

* update images

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: Anna Gonzales <[email protected]>

* Compressed Images (#3321)

Co-authored-by: kodiakhq <[email protected]>

* Compressed Images (#3323)

Co-authored-by: kodiakhq <[email protected]>

* typo fix (#3324)

* typo fix

unnecessary parenthesis

* fix(form-patterns): ran yarn format (#3326)

Co-authored-by: Scott Strubberg <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* typo fix (#3325)

* typo fix

There is an unnecessary period in the description under the default variant of data table.

* fix: format

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Update tooltip accessibility.mdx (#3318)

* Update accessibility.mdx

* added first images

* Update accessibility.mdx

removed flotsam from the copy and paste exercise

* Update accessibility.mdx

tweak spacing

* Update accessibility.mdx

* Update accessibility.mdx

modifications for better readability

* Update accessibility.mdx

corrected link target

* Update tooltip-accessibility-2.png

* Update accessibility.mdx

attempting to resolved error

* Update accessibility.mdx

* chore: format mdx

Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* Tooltip accessibility update (#3330)

* Update accessibility.mdx

* added first images

* Update accessibility.mdx

removed flotsam from the copy and paste exercise

* Update accessibility.mdx

tweak spacing

* Update accessibility.mdx

* Update accessibility.mdx

modifications for better readability

* Update accessibility.mdx

corrected link target

* Update tooltip-accessibility-2.png

* Update accessibility.mdx

attempting to resolved error

* Update accessibility.mdx

* text and image changes for design annotations

* chore(prettier): output of yarn:format

* chore(prettier): output of yarn:format

Co-authored-by: Taylor Jones <[email protected]>

* update usage image (#3331)

* added fourth accessibility tab to toggletip (#3319)

* added fourth tab

* Create accessibility.mdx

First draft of accessibility tab content

* Update accessibility.mdx

updated content

* Update accessibility.mdx

remove space

* Update accessibility.mdx

* Update accessibility.mdx

* images and accessibility content

* updates

update image; remove link to non-existing Design section

* Update accessibility.mdx

alter leading description and what carbon provides

* Update accessibility.mdx

add Oxford comma

* Update accessibility.mdx

updated alts for images

* update images

* chore(formatting): output of yarn format

* Update accessibility.mdx

Co-authored-by: Taylor Jones <[email protected]>

* chore(release): update carbon deps (#3335)

Co-authored-by: tw15egan <[email protected]>

* chore(deps): bump json5 from 1.0.1 to 1.0.2 (#3338)

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Compressed Images (#3340)

Co-authored-by: kodiakhq <[email protected]>

* fix: video src in usage docs for progressbar

Co-authored-by: Andrea Cardona <[email protected]>

* fix: video src in usage docs for progressbar

Co-authored-by: Andrea Cardona <[email protected]>

* update .mdx (#3337)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>

* docs: tooltip a11y tab update (#3336)

* update .mdx

* update images

* fix merge conflict

* update a11y tab

* fix(tooltip): remove unused images

Co-authored-by: Taylor Jones <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Lauren Rice <[email protected]>
Co-authored-by: Josefina Mancilla <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Harry Allen <[email protected]>
Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: carbon-automation[bot] <103539138+carbon-automation[bot]@users.noreply.github.com>
Co-authored-by: jnm2377 <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kodiakhq <[email protected]>
Co-authored-by: Mike Gower <[email protected]>
Co-authored-by: Josefina Mancilla <[email protected]>
Co-authored-by: D.A. Kahn <[email protected]>
Co-authored-by: Jozef Plachy <[email protected]>
Co-authored-by: Akshat Patel <[email protected]>
Co-authored-by: Scott Strubberg <[email protected]>
Co-authored-by: dakahn <[email protected]>
Co-authored-by: thyhmdo <[email protected]>
Co-authored-by: Anna Gonzales <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: Alessandra Davila <[email protected]>
Co-authored-by: Abhilipsa Sahoo <[email protected]>
Co-authored-by: Taylor Jones <[email protected]>
Co-authored-by: Eliad Moosavi <[email protected]>
Co-authored-by: abbeyhrt <[email protected]>
Co-authored-by: Michael Zuliani <[email protected]>
Co-authored-by: Jan Hassel <[email protected]>
Co-authored-by: metonym <[email protected]>
Co-authored-by: Jeff Chew <[email protected]>
Co-authored-by: aledavila <[email protected]>
Co-authored-by: Matt Rosno <[email protected]>
Co-authored-by: Christian Oliff <[email protected]>
Co-authored-by: tw15egan <[email protected]>
Co-authored-by: Ashish <[email protected]>
Co-authored-by: Andrea N. Cardona <[email protected]>
Co-authored-by: contentdesi <[email protected]>
Co-authored-by: Alison Joseph <[email protected]>
Co-authored-by: alisonjoseph <[email protected]>
Co-authored-by: jeanservaas <[email protected]>
Co-authored-by: Mike Gower <[email protected]>
Co-authored-by: Andrea Cardona <[email protected]>
  • Loading branch information
1 parent 306f398 commit f3e1249
Show file tree
Hide file tree
Showing 363 changed files with 6,021 additions and 4,995 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Add To Project

on:
issues:
types: [opened, labeled]

jobs:
issue-triage:
uses: carbon-design-system/carbon/.github/workflows/add-to-project.yml@main
secrets:
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }}
1 change: 0 additions & 1 deletion .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ jobs:
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }}
29 changes: 29 additions & 0 deletions .github/workflows/platform-content-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sync content with platform

on:
push:
branches:
- 'main'
paths:
- '**.mdx'

jobs:
create_issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: carbon-design-system/carbon-platform
ref: main
- name: Generate token
uses: tibdex/github-app-token@v1
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create issue on platform repo
run: |
gh issue create --title "[Content sync]: carbon-website" --label "role: dev 🤖" --label "service: web-app 🌎" --body 'A pull request on carbon-website was just merged. It contains .mdx content changes that may need to be synced to platform:
- ${{ github.event.compare }}'
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

10 changes: 10 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ exports.createPages = ({ actions }) => {
toPath: '/community/component-index',
isPermanent: true,
});
createRedirect({
fromPath: '/community/contribute-a-component',
toPath: '/community/component-index',
isPermanent: true,
});

// Developing
createRedirect({
Expand All @@ -66,4 +71,9 @@ exports.createPages = ({ actions }) => {
toPath: '/developing/vue-tutorial/overview',
isPermanent: true,
});
createRedirect({
fromPath: '/guidelines/typography/styling-strategies',
toPath: '/guidelines/typography/style-strategies',
isPermanent: true,
});
};
16 changes: 7 additions & 9 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import React from 'react';

export const onRenderBody = ({ setHeadComponents }) => {
export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
const script = `
if(!window) window = {};
window.idaPageIsSPA = true;
window.idaPageIsSPA = false;
window.digitalData = {
page: {
category: {
primaryCategory: 'DESIGN',
},
pageInfo: {
ibm: {
siteID: 'CARBON_DESIGN_SYSTEM',
siteID: 'CARBON_DESIGN_SYSTEM_WWW',
country: 'US',
industry: 'Design',
owner: '[email protected]',
Expand All @@ -20,12 +20,7 @@ export const onRenderBody = ({ setHeadComponents }) => {
},
}`;

return setHeadComponents([
<meta
key="description"
name="description"
content="Carbon is IBM’s open source design system for products and digital experiences. With the IBM Design Language as its foundation, the system consists of working code, design tools and resources, human interface guidelines, and a vibrant community of contributors."
/>,
setHeadComponents([
<meta key="image" name="image" content={'/ogimage.png'} />,
<meta
key="og:url"
Expand Down Expand Up @@ -73,6 +68,9 @@ export const onRenderBody = ({ setHeadComponents }) => {
key="fathom"
defer
/>,
]);

setPostBodyComponents([
<script key="digital-data" dangerouslySetInnerHTML={{ __html: script }} />,
<script
defer
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"update-browserslist": "npx browserslist-ga"
},
"engines": {
"node": ">=16.x"
"node": "^16"
},
"browserslist": [
"last 1 edge version",
Expand All @@ -40,11 +40,11 @@
"dependencies": {
"@babel/core": "^7.15.8",
"@carbon/charts-react": "0.55.0",
"@carbon/elements": "^11.8.0-rc.0",
"@carbon/icons-react": "^11.7.0",
"@carbon/pictograms": "^12.3.0",
"@carbon/pictograms-react": "^11.29.0",
"@carbon/react": "^1.10.0-rc.0",
"@carbon/elements": "^11.17.0",
"@carbon/icons-react": "^11.14.0",
"@carbon/pictograms": "^12.11.0",
"@carbon/pictograms-react": "^11.37.0",
"@carbon/react": "^1.20.0",
"@loadable/component": "^5.15.2",
"@slack/web-api": "^5.11.0",
"babel-preset-env": "^1.7.0",
Expand All @@ -57,7 +57,7 @@
"gatsby": "^4.9.2",
"gatsby-image": "^3.7.1",
"gatsby-plugin-image": "^2.9.0",
"gatsby-theme-carbon": "^3.0.0-next.12",
"gatsby-theme-carbon": "^3.0.0-next.13",
"lodash-es": "^4.17.15",
"markdown-it": "^12.3.2",
"nanoid": "^2.1.11",
Expand Down
35 changes: 35 additions & 0 deletions src/components/Banner/Banner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';
import { Button } from '@carbon/react';
import { ArrowRight } from '@carbon/react/icons';

import {
banner,
bannerText,
bannerHeading,
bannerDetails,
buttonBanner,
} from './Banner.module.scss';

const Banner = () => {
return (
<div aria-label="banner" className={banner}>
<p className={bannerText}>
<strong className={bannerHeading}>
A new web experience is coming!
</strong>
<span className={bannerDetails}>
The v1 Carbon platform is now available in public beta.
</span>
</p>
<Button
href="https://next.carbondesignsystem.com"
className={buttonBanner}
kind="ghost"
renderIcon={ArrowRight}>
Try the Carbon Platform
</Button>
</div>
);
};

export default Banner;
61 changes: 61 additions & 0 deletions src/components/Banner/Banner.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// position header, left nav and content with banner
.banner + :global(.cds--header),
.banner + header + nav + div[class*='leftNavWrapper'],
.banner + header + nav + div + span + div + #main-content {
top: rem(48px);
}

// adjust nav container to account for banner
.banner + header + nav[class*='Switcher-module--nav'] {
top: 6rem;
}

// banner styles
.banner {
position: fixed;
top: 0;
z-index: 99999;
display: flex;
width: 100%;
height: rem(48px);
justify-content: space-between;

background: $blue-70;
color: $text-on-color;
}

.banner-text {
display: none;

@include breakpoint('md') {
@include type-style('body-short-01');

display: block;
padding: rem(15px) 0 0 $spacing-05;
}
}

.banner-details {
display: none;

@include breakpoint('lg') {
display: inline;
padding-left: $spacing-03;
}
}

// override carbon button styles
.banner :global(.cds--btn--ghost).button-banner {
width: 100%;
max-width: 100%;
color: $text-on-color;

@include breakpoint('md') {
width: auto;
}

&:hover {
background: $blue-70-hover;
color: $text-on-color;
}
}
3 changes: 3 additions & 0 deletions src/components/Banner/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Banner from './Banner';

export default Banner;
4 changes: 2 additions & 2 deletions src/components/ColorBlock/color-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
width: rem(14px);
border-radius: rem(14px);
border: 1px solid $gray-30;
left: -1px;
top: -1px;
left: 0px;
top: 0px;
}
}

Expand Down
1 change: 0 additions & 1 deletion src/components/ColorPalette/ColorPalette.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@
#a2191f,
#da1e28,
#fa4d56,
#fa4d56,
#ffb3b8,
#ffd7d9,
#fff1f1,
Expand Down
6 changes: 4 additions & 2 deletions src/components/ComponentDemo/ComponentDemo.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,16 @@

// custom classnames are being applied to both fieldset and label
// https://github.com/carbon-design-system/carbon/issues/4572
fieldset.form-group {
fieldset.form-group,
fieldset[class*='--radio-button-group'] {
padding: 1rem;
padding-top: 0;
margin-bottom: 0;
border-bottom: 1px solid $ui-03;
}

fieldset.form-group:last-of-type {
fieldset.form-group:last-of-type,
fieldset[class*='--radio-button-group']:last-of-type {
border-bottom: 0;
}

Expand Down
40 changes: 18 additions & 22 deletions src/components/ComponentDemo/KnobContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ const Component = ({
<div
role="group"
aria-labelledby={componentGroupId}
className={componentKnobWrapper}
>
className={componentKnobWrapper}>
{booleanKnobs.length > 0 && (
<FormGroup className={formGroup} legendText="Modifiers">
{booleanKnobs.map(([name, info]) => (
Expand Down Expand Up @@ -228,22 +227,21 @@ const Knob = ({
}

return (
<FormGroup className={formGroup} legendText={name}>
<RadioButtonGroup
onChange={(val) => updateKnob(val)}
defaultSelected={defaultSelected}
name={name}
orientation="vertical"
>
{values.map(({ value }) => (
<RadioButton
key={`${inputId}-${value}`}
value={value}
labelText={value.replace(/'/g, '')}
/>
))}
</RadioButtonGroup>
</FormGroup>
<RadioButtonGroup
className={formGroup}
legendText={name}
onChange={(val) => updateKnob(val)}
defaultSelected={defaultSelected}
name={name}
orientation="vertical">
{values.map(({ value }) => (
<RadioButton
key={`${inputId}-${value}`}
value={value}
labelText={value.replace(/'/g, '')}
/>
))}
</RadioButtonGroup>
);
}
return '';
Expand Down Expand Up @@ -291,15 +289,13 @@ const KnobContainer = ({ knobs, code, setCode, initialCode, variantId }) => {
<Form
className={cx(knobContainer, {
[knobContainerCollapsed]: isMobile && isKnobContainerCollapsed,
})}
>
})}>
{isMobile && (
<div className={iconButtonRow}>
<button
className={iconButton}
type="button"
onClick={() => setIsKnobContainerCollapsed(true)}
>
onClick={() => setIsKnobContainerCollapsed(true)}>
<Close size={20} />
</button>
</div>
Expand Down
Loading

0 comments on commit f3e1249

Please sign in to comment.