diff --git a/.yarn/cache/@carbon-ibm-products-styles-npm-2.20.1-1f210e0807-a069cae6b7.zip b/.yarn/cache/@carbon-ibm-products-styles-npm-2.20.1-1f210e0807-a069cae6b7.zip deleted file mode 100644 index 2f402d6b5a4..00000000000 Binary files a/.yarn/cache/@carbon-ibm-products-styles-npm-2.20.1-1f210e0807-a069cae6b7.zip and /dev/null differ diff --git a/.yarn/cache/@carbon-ibm-products-styles-npm-2.24.0-7b5a90470f-cd8103d46a.zip b/.yarn/cache/@carbon-ibm-products-styles-npm-2.24.0-7b5a90470f-cd8103d46a.zip new file mode 100644 index 00000000000..d0bccc054f2 Binary files /dev/null and b/.yarn/cache/@carbon-ibm-products-styles-npm-2.24.0-7b5a90470f-cd8103d46a.zip differ diff --git a/packages/carbon-web-components/package.json b/packages/carbon-web-components/package.json index 5c8c6d6dafc..eeb0674918c 100644 --- a/packages/carbon-web-components/package.json +++ b/packages/carbon-web-components/package.json @@ -68,7 +68,7 @@ ], "dependencies": { "@babel/runtime": "^7.16.3", - "@carbon/ibm-products-styles": "2.20.1", + "@carbon/ibm-products-styles": "^2.24.0", "@carbon/styles": "1.51.0", "flatpickr": "4.6.1", "lit": "^2.7.6", diff --git a/packages/carbon-web-components/src/components/side-panel/side-panel-story.ts b/packages/carbon-web-components/src/components/side-panel/side-panel-story.ts index 73e96082ded..ce924b80c30 100644 --- a/packages/carbon-web-components/src/components/side-panel/side-panel-story.ts +++ b/packages/carbon-web-components/src/components/side-panel/side-panel-story.ts @@ -26,6 +26,18 @@ const toggleButton = () => { document.querySelector(`${prefix}-side-panel`)?.toggleAttribute('open'); }; +const nextStep = () => { + document + .querySelector(`${prefix}-side-panel`) + ?.setAttribute('current-step', '1'); +}; + +const prevStep = () => { + document + .querySelector(`${prefix}-side-panel`) + ?.setAttribute('current-step', '0'); +}; + const sizes = { // 'default (md)': null, [`Extra small size (${SIDE_PANEL_SIZE.EXTRA_SMALL})`]: @@ -69,7 +81,8 @@ const getContent = (index) => { class="${storyPrefix}text-input"> `; case 2: - return html`
${labelText}
` - : ''} - - - ${animateTitle && title?.length && !this._reducedMotion.matches - ? html`${labelText}
` : ''} -
+
-