From 3ce21a162eee85fea5f3b2fca4dfe9c8b45cf962 Mon Sep 17 00:00:00 2001 From: Anna Wen <54281166+annawen1@users.noreply.github.com> Date: Mon, 5 Dec 2022 15:36:02 -0500 Subject: [PATCH 1/5] chore(cwc): update references in storybook and codesandbox examples (#9722) ### Related Ticket(s) {{Provide url(s) to the related ticket(s) that this pull request addresses}} ### Description Updating the carbon-web-components references in the carbon-web-components' storybook docs and codesandbox examples. ### Changelog **Changed** 1. `carbon-web-components/es` ---> `@carbon/carbon-web-components/es` 2. CDN urls `https://1.www.s81c.com/common/carbon/web-components/...` --> `https://1.www.s81c.com/common/carbon-for-ibm-dotcom/carbon-web-components/...` 3. Codesandbox links in the storybook docs `https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/main/examples/codesandbox/basic/components/...` --> `https://codesandbox.io/s/github/carbon-design-system/carbon-for-ibm-dotcom/tree/main/packages/carbon-web-components/examples/codesandbox/basic/components/...` --- packages/carbon-web-components/README.md | 32 ++--- .../angular/src/app/app.component.ts | 4 +- .../basic/components/accordion/cdn.html | 2 +- .../basic/components/accordion/src/index.js | 2 +- .../basic/components/breadcrumb/cdn.html | 2 +- .../basic/components/breadcrumb/src/index.js | 2 +- .../basic/components/button/cdn.html | 2 +- .../basic/components/button/src/index.js | 2 +- .../basic/components/checkbox/cdn.html | 2 +- .../basic/components/checkbox/src/index.js | 2 +- .../basic/components/code-snippet/cdn.html | 2 +- .../components/code-snippet/src/index.js | 2 +- .../basic/components/combo-box/cdn.html | 2 +- .../basic/components/combo-box/src/index.js | 2 +- .../components/content-switcher/cdn.html | 2 +- .../components/content-switcher/src/index.js | 2 +- .../basic/components/copy-button/cdn.html | 2 +- .../basic/components/copy-button/src/index.js | 2 +- .../basic/components/data-table/cdn.html | 4 +- .../basic/components/data-table/src/index.js | 4 +- .../basic/components/date-picker/cdn.html | 2 +- .../basic/components/date-picker/src/index.js | 2 +- .../basic/components/dropdown/cdn.html | 2 +- .../basic/components/dropdown/src/index.js | 2 +- .../basic/components/file-uploader/cdn.html | 2 +- .../components/file-uploader/src/index.js | 2 +- .../basic/components/inline-loading/cdn.html | 2 +- .../components/inline-loading/src/index.js | 2 +- .../basic/components/input/cdn.html | 2 +- .../basic/components/input/src/index.js | 4 +- .../basic/components/link/cdn.html | 2 +- .../basic/components/link/src/index.js | 2 +- .../basic/components/list/cdn.html | 2 +- .../basic/components/list/src/index.js | 2 +- .../basic/components/loading/cdn.html | 2 +- .../basic/components/loading/src/index.js | 2 +- .../basic/components/modal/cdn.html | 2 +- .../basic/components/modal/src/index.js | 4 +- .../basic/components/multi-select/cdn.html | 2 +- .../components/multi-select/src/index.js | 2 +- .../basic/components/notification/cdn.html | 2 +- .../components/notification/src/index.js | 2 +- .../basic/components/number-input/cdn.html | 2 +- .../components/number-input/src/index.js | 2 +- .../basic/components/overflow-menu/cdn.html | 2 +- .../components/overflow-menu/src/index.js | 2 +- .../basic/components/pagination/cdn.html | 2 +- .../basic/components/pagination/src/index.js | 2 +- .../components/progress-indicator/cdn.html | 2 +- .../progress-indicator/src/index.js | 2 +- .../basic/components/radio-button/cdn.html | 2 +- .../components/radio-button/src/index.js | 2 +- .../basic/components/search/cdn.html | 2 +- .../basic/components/search/src/index.js | 2 +- .../basic/components/select/cdn.html | 2 +- .../basic/components/select/src/index.js | 2 +- .../components/skeleton-placeholder/cdn.html | 2 +- .../skeleton-placeholder/src/index.js | 2 +- .../basic/components/skeleton-text/cdn.html | 2 +- .../components/skeleton-text/src/index.js | 2 +- .../basic/components/skip-to-content/cdn.html | 4 +- .../components/skip-to-content/src/index.js | 4 +- .../basic/components/slider/cdn.html | 2 +- .../basic/components/slider/src/index.js | 2 +- .../basic/components/structured-list/cdn.html | 2 +- .../components/structured-list/src/index.js | 2 +- .../basic/components/tabs/cdn.html | 2 +- .../basic/components/tabs/src/index.js | 2 +- .../codesandbox/basic/components/tag/cdn.html | 2 +- .../basic/components/tag/src/index.js | 2 +- .../basic/components/textarea/cdn.html | 2 +- .../basic/components/textarea/src/index.js | 2 +- .../basic/components/tile/cdn.html | 2 +- .../basic/components/tile/src/index.js | 2 +- .../basic/components/toggle/cdn.html | 2 +- .../basic/components/toggle/src/index.js | 2 +- .../basic/components/tooltip/cdn.html | 2 +- .../basic/components/tooltip/src/index.js | 2 +- .../basic/components/ui-shell/cdn.html | 2 +- .../basic/components/ui-shell/src/index.js | 2 +- .../examples/codesandbox/basic/src/index.js | 4 +- .../examples/codesandbox/cdn/index.html | 82 +++++------ .../codesandbox/data-table/src/data.js | 4 +- .../data-table/src/demo-data-table.js | 54 +++---- .../codesandbox/form/basic/src/index.js | 8 +- .../codesandbox/form/redux-form/src/index.js | 8 +- .../examples/codesandbox/ie/src/index.js | 8 +- .../next/components/BXDropdownDemo.js | 6 +- .../codesandbox/react-ssr/src/views/App.js | 6 +- .../examples/codesandbox/react/src/index.js | 6 +- .../examples/codesandbox/rtl/src/index.js | 6 +- .../styling/custom-style/src/index.js | 6 +- .../styling/theme-zoning/src/index.js | 18 +-- .../vue/src/components/HelloWorld.vue | 4 +- .../components/accordion/accordion-story.mdx | 42 ++++-- .../breadcrumb/breadcrumb-story.mdx | 15 +- .../src/components/button/button-story.mdx | 24 ++-- .../components/checkbox/checkbox-story.mdx | 17 ++- .../code-snippet/code-snippet-story.mdx | 28 ++-- .../components/combo-box/combo-box-story.mdx | 41 ++++-- .../content-switcher-story.mdx | 15 +- .../copy-button/copy-button-story.mdx | 17 ++- .../data-table/data-table-story.mdx | 57 +++++--- .../date-picker/date-picker-story.mdx | 44 ++++-- .../components/dropdown/dropdown-story.mdx | 25 ++-- .../file-uploader/file-uploader-story.mdx | 19 ++- .../src/components/icon/icon-story.mdx | 5 +- .../inline-loading/inline-loading-story.mdx | 23 +-- .../src/components/input/input-story.mdx | 21 +-- .../src/components/link/link-story.mdx | 23 +-- .../src/components/list/list-story.mdx | 11 +- .../src/components/loading/loading-story.mdx | 19 +-- .../src/components/modal/modal-story.mdx | 49 ++++--- .../multi-select/multi-select-story.mdx | 54 +++++-- .../notification/notification-story.mdx | 31 ++-- .../number-input/number-input-story.mdx | 27 ++-- .../overflow-menu/overflow-menu-story.mdx | 20 +-- .../pagination/pagination-story.mdx | 16 ++- .../progress-indicator-story.mdx | 55 +++++-- .../radio-button/radio-button-story.mdx | 29 ++-- .../src/components/search/search-story.mdx | 17 ++- .../src/components/select/select-story.mdx | 28 ++-- .../skeleton-placeholder-story.mdx | 7 +- .../skeleton-text/skeleton-text-story.mdx | 10 +- .../skip-to-content/skip-to-content-story.mdx | 10 +- .../src/components/slider/slider-story.mdx | 26 ++-- .../structured-list/structured-list-story.mdx | 33 +++-- .../src/components/tabs/tabs-story.mdx | 63 +++++--- .../src/components/tag/tag-story.mdx | 25 ++-- .../components/textarea/textarea-story.mdx | 19 +-- .../src/components/tile/tile-story.mdx | 75 ++++++---- .../src/components/toggle/toggle-story.mdx | 24 ++-- .../src/components/tooltip/tooltip-story.mdx | 54 ++++--- .../components/ui-shell/ui-shell-story.mdx | 136 +++++++++++++----- .../src/globals/internal/storybook-cdn.ts | 2 +- .../masthead/masthead-custom-search.e2e.js | 122 ++++++++-------- 136 files changed, 1094 insertions(+), 708 deletions(-) diff --git a/packages/carbon-web-components/README.md b/packages/carbon-web-components/README.md index f01f8d1b1b9..879ef14ab13 100644 --- a/packages/carbon-web-components/README.md +++ b/packages/carbon-web-components/README.md @@ -80,13 +80,13 @@ version `v1.16.0`): ``` @@ -141,13 +141,13 @@ extention from `.min.js` to `.rtl.min.js`. For example: ``` @@ -162,7 +162,7 @@ directly used once the script tag has been added to the page. For example:
- +