@maggioli-design-system/mds-accordion-timer-item 3.10.3 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-0f3ba599.js → index-2df02342.js} +14 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
- package/dist/cjs/mds-accordion-timer-item.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/aria.js +17 -1
- package/dist/collection/common/device.js +6 -0
- package/dist/collection/common/keyboard-manager.js +2 -2
- package/dist/collection/common/locale.js +17 -5
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +12 -199
- package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
- package/dist/collection/dictionary/button.js +1 -0
- package/dist/collection/dictionary/file-extensions.js +114 -56
- package/dist/collection/dictionary/text.js +60 -1
- package/dist/collection/dictionary/variant.js +10 -1
- package/dist/collection/type/variant-file-format.js +0 -34
- package/dist/components/mds-accordion-timer-item.js +2 -2
- package/dist/documentation.json +3 -3
- package/dist/esm/{index-340223f3.js → index-6fd47b7f.js} +14 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
- package/dist/esm/mds-accordion-timer-item.js +3 -3
- package/dist/esm-es5/index-6fd47b7f.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer-item.js +1 -1
- package/dist/mds-accordion-timer-item/mds-accordion-timer-item.esm.js +1 -1
- package/dist/mds-accordion-timer-item/mds-accordion-timer-item.js +1 -1
- package/dist/mds-accordion-timer-item/p-20c4c909.entry.js +1 -0
- package/dist/mds-accordion-timer-item/p-6869ca6c.js +2 -0
- package/dist/mds-accordion-timer-item/p-adf2d0be.system.js +2 -0
- package/dist/mds-accordion-timer-item/p-cc3b4ba1.system.js +1 -0
- package/dist/mds-accordion-timer-item/p-f5742194.system.entry.js +1 -0
- package/dist/stats.json +37 -36
- package/dist/types/common/aria.d.ts +3 -1
- package/dist/types/common/date.d.ts +1 -1
- package/dist/types/common/device.d.ts +2 -0
- package/dist/types/common/file.d.ts +3 -4
- package/dist/types/common/locale.d.ts +3 -1
- package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/dist/types/dictionary/file-extensions.d.ts +2 -1
- package/dist/types/dictionary/text.d.ts +3 -1
- package/dist/types/dictionary/variant.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +6 -0
- package/dist/types/type/autocomplete.d.ts +1 -1
- package/dist/types/type/button.d.ts +1 -1
- package/dist/types/type/header-bar.d.ts +2 -0
- package/dist/types/type/input.d.ts +3 -0
- package/dist/types/type/text.d.ts +2 -0
- package/dist/types/type/variant-file-format.d.ts +4 -4
- package/dist/types/type/variant.d.ts +2 -1
- package/documentation.json +39 -34
- package/package.json +6 -6
- package/readme.md +12 -1
- package/src/common/aria.ts +22 -2
- package/src/common/device.ts +9 -0
- package/src/common/file.ts +2 -3
- package/src/common/keyboard-manager.ts +2 -2
- package/src/common/locale.ts +20 -6
- package/src/common/unit.ts +1 -1
- package/src/components/mds-accordion-timer-item/.gitlab-ci.yml +5 -10
- package/src/components/mds-accordion-timer-item/mds-accordion-timer-item.css +4 -3
- package/src/components/mds-accordion-timer-item/mds-accordion-timer-item.tsx +3 -3
- package/src/components.d.ts +2 -2
- package/src/dictionary/button.ts +1 -0
- package/src/dictionary/file-extensions.ts +118 -57
- package/src/dictionary/text.ts +64 -0
- package/src/dictionary/variant.ts +11 -0
- package/src/fixtures/icons.json +15 -2
- package/src/fixtures/iconsauce.json +7 -0
- package/src/meta/file-format/locale.el.json +39 -0
- package/src/meta/file-format/locale.en.json +39 -0
- package/src/meta/file-format/locale.es.json +39 -0
- package/src/meta/file-format/locale.it.json +39 -0
- package/src/tailwind/components.css +1 -1
- package/src/type/autocomplete.ts +0 -1
- package/src/type/button.ts +1 -0
- package/src/type/header-bar.ts +11 -0
- package/src/type/input.ts +4 -0
- package/src/type/text.ts +59 -0
- package/src/type/variant-file-format.ts +20 -37
- package/src/type/variant.ts +9 -1
- package/www/build/mds-accordion-timer-item.esm.js +1 -1
- package/www/build/mds-accordion-timer-item.js +1 -1
- package/www/build/p-20c4c909.entry.js +1 -0
- package/www/build/p-6869ca6c.js +2 -0
- package/www/build/p-adf2d0be.system.js +2 -0
- package/www/build/p-cc3b4ba1.system.js +1 -0
- package/www/build/p-f5742194.system.entry.js +1 -0
- package/dist/collection/type/language.js +0 -1
- package/dist/esm-es5/index-340223f3.js +0 -1
- package/dist/mds-accordion-timer-item/p-22452181.system.js +0 -2
- package/dist/mds-accordion-timer-item/p-5090f932.entry.js +0 -1
- package/dist/mds-accordion-timer-item/p-afb2112c.system.js +0 -1
- package/dist/mds-accordion-timer-item/p-c385a7ef.system.entry.js +0 -1
- package/dist/mds-accordion-timer-item/p-ed2f0efc.js +0 -2
- package/dist/types/interface/input-value.d.ts +0 -4
- package/dist/types/type/language.d.ts +0 -2
- package/src/interface/input-value.ts +0 -5
- package/src/type/language.ts +0 -8
- package/www/build/p-22452181.system.js +0 -2
- package/www/build/p-5090f932.entry.js +0 -1
- package/www/build/p-afb2112c.system.js +0 -1
- package/www/build/p-c385a7ef.system.entry.js +0 -1
- package/www/build/p-ed2f0efc.js +0 -2
- /package/dist/collection/{interface/input-value.js → type/header-bar.js} +0 -0
|
@@ -24,7 +24,7 @@ const NAMESPACE = 'mds-accordion-timer-item';
|
|
|
24
24
|
const BUILD = /* mds-accordion-timer-item */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: true, hydratedClass: false, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: false, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: false, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
|
|
25
25
|
|
|
26
26
|
/*
|
|
27
|
-
Stencil Client Platform v4.
|
|
27
|
+
Stencil Client Platform v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
28
28
|
*/
|
|
29
29
|
var __defProp = Object.defineProperty;
|
|
30
30
|
var __export = (target, all) => {
|
|
@@ -368,10 +368,21 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
368
368
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
369
369
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
370
370
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
371
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling :
|
|
371
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
372
372
|
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
373
373
|
} else if ("host" in styleContainerNode) {
|
|
374
|
-
|
|
374
|
+
if (supportsConstructableStylesheets) {
|
|
375
|
+
const stylesheet = new CSSStyleSheet();
|
|
376
|
+
stylesheet.replaceSync(style);
|
|
377
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
378
|
+
} else {
|
|
379
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
380
|
+
if (existingStyleContainer) {
|
|
381
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
382
|
+
} else {
|
|
383
|
+
styleContainerNode.prepend(styleElm);
|
|
384
|
+
}
|
|
385
|
+
}
|
|
375
386
|
} else {
|
|
376
387
|
styleContainerNode.append(styleElm);
|
|
377
388
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2df02342.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2df02342.js');
|
|
6
6
|
|
|
7
7
|
const miBaselineKeyboardArrowDown = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6l-6-6l1.41-1.41z"/></svg>`;
|
|
8
8
|
|
|
9
|
-
const mdsAccordionTimerItemCss = "@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n @keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n /* included for focus effect */\n@tailwind components;\n@tailwind utilities;\n\n.focus-bounce {\n -webkit-animation-duration: var(--magma-outline-animation-duration, 1s);\n animation-duration: var(--magma-outline-animation-duration, 1s);\n -webkit-animation-fill-mode: forwards;\n animation-fill-mode: forwards;\n -webkit-animation-iteration-count: infinite;\n animation-iteration-count: infinite;\n -webkit-animation-name: focus-bounce;\n animation-name: focus-bounce;\n -webkit-animation-play-state: paused;\n animation-play-state: paused;\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1);\n outline: var(--magma-outline-blur);\n -webkit-transition-duration: 200ms;\n transition-duration: 200ms;\n -webkit-transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, outline, outline-offset, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;\n transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: ease-in-out;\n transition-timing-function: ease-in-out;\n }\n\n.focus-bounce--focused,\n .focus-bounce:focus-visible {\n\n --magma-outline-blur: var(--magma-outline-focus);\n\n -webkit-animation-play-state: running;\n\n animation-play-state: running;\n }\n\n.svg {\n display: -ms-flexbox;\n display: flex;\n}\n\n.svg svg {\n aspect-ratio: 1/1;\n height: 100%;\n width: 100%;\n}\n@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-item-progress-bar-color: Sets the color of the progress bar when the item is selected\n * @prop --mds-accordion-timer-item-progress-bar-background: Sets the background-color of the progress bar when the item is selected\n * @prop --mds-accordion-timer-item-color: Sets the text color of the component\n * @prop --mds-accordion-timer-item-progress-bar-thickness: Sets thickness of the progress bar\n * @prop --mds-accordion-timer-item-duration: Sets the transition duration of open/close animation\n */\n\n:host {\n\n --mds-accordion-timer-item-progress-bar-color: var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));\n --mds-accordion-timer-item-progress-bar-background: var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));\n --mds-accordion-timer-item-progress-bar-thickness: var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 500ms);\n padding-top: 1rem;\n padding-bottom: 1rem;\n -webkit-transition-property: background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, color, fill, height, margin, opacity, padding, width, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;\n transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transition-duration: 150ms;\n transition-duration: 150ms;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n color: var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));\n display: grid;\n position: relative;\n -webkit-transition-duration: var(--mds-accordion-timer-item-duration);\n transition-duration: var(--mds-accordion-timer-item-duration);\n}\n\n.row {\n gap: 1rem;\n\n display: -ms-flexbox;\n\n display: flex;\n}\n\n.accordion {\n display: grid;\n}\n\n.progress-bar {\n\n --mds-progress-color: var(--mds-accordion-timer-item-progress-bar-color);\n --mds-progress-background: var(--mds-accordion-timer-item-progress-bar-background);\n --mds-progress-thickness: var(--mds-accordion-timer-item-progress-bar-thickness);\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n}\n\n.action {\n gap: 1rem;\n border-radius: 0.75rem;\n\n background-color: transparent;\n border: 0;\n color: inherit;\n cursor: pointer;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: 0;\n text-align: left;\n}\n\n.content {\n gap: 1rem;\n -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);\n transition-timing-function: cubic-bezier(1, 0, 0, 1);\n\n display: grid;\n grid-template-rows: 0fr;\n min-height: 0;\n opacity: 0;\n overflow: hidden;\n padding-top: 0;\n -webkit-transition-duration: var(--mds-accordion-timer-item-duration);\n transition-duration: var(--mds-accordion-timer-item-duration);\n -webkit-transition-property: grid-template-rows opacity padding;\n transition-property: grid-template-rows opacity padding;\n transition-property: grid-template-rows opacity padding, -ms-grid-rows opacity padding;\n}\n\n.content-expander {\n min-height: 0;\n}\n\n.icon {\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n -webkit-transition-duration: 500ms;\n transition-duration: 500ms;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n fill: currentcolor;\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n:host( [selected]:not([selected=\"false\"]) ) .action {\n cursor: auto;\n}\n\n:host( [selected]:not([selected=\"false\"]) ) .icon {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n\n:host( [selected]:not([selected=\"false\"]) ) .content {\n padding-top: 1rem;\n opacity: 1;\n\n grid-template-rows: 1fr;\n}\n\n.static {\n position: static;\n}\n\n.fixed {\n position: fixed;\n}\n\n.absolute {\n position: absolute;\n}\n\n.border {\n border-width: 1px;\n}\n\n.bg-label-amaranth-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-aqua-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-blue-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-green-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-lime-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orange-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orchid-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-violet-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-yellow-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));\n}\n\n.bg-tone-neutral-10 {\n --tw-bg-opacity: 1;\n background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));\n}\n\n.fill-label-amaranth-04 {\n fill: rgb(var(--label-amaranth-04));\n}\n\n.fill-label-aqua-04 {\n fill: rgb(var(--label-aqua-04));\n}\n\n.fill-label-blue-04 {\n fill: rgb(var(--label-blue-04));\n}\n\n.fill-label-green-04 {\n fill: rgb(var(--label-green-04));\n}\n\n.fill-label-lime-04 {\n fill: rgb(var(--label-lime-04));\n}\n\n.fill-label-orange-04 {\n fill: rgb(var(--label-orange-04));\n}\n\n.fill-label-orchid-04 {\n fill: rgb(var(--label-orchid-04));\n}\n\n.fill-label-violet-04 {\n fill: rgb(var(--label-violet-04));\n}\n\n.fill-label-yellow-04 {\n fill: rgb(var(--label-yellow-04));\n}\n\n.fill-tone-neutral-04 {\n fill: rgb(var(--tone-neutral-04));\n}\n\n.text-label-amaranth-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));\n}\n\n.text-label-aqua-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));\n}\n\n.text-label-blue-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-blue-04) / var(--tw-text-opacity));\n}\n\n.text-label-green-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-green-04) / var(--tw-text-opacity));\n}\n\n.text-label-lime-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-lime-04) / var(--tw-text-opacity));\n}\n\n.text-label-orange-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-orange-04) / var(--tw-text-opacity));\n}\n\n.text-label-orchid-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));\n}\n\n.text-label-violet-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-violet-04) / var(--tw-text-opacity));\n}\n\n.text-label-yellow-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));\n}\n\n.text-tone-neutral-04 {\n --tw-text-opacity: 1;\n color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: 0s;\n }\n }\n}\n";
|
|
9
|
+
const mdsAccordionTimerItemCss = "@-webkit-keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n @keyframes focus-bounce {\n 0%, 75%, 100% {\n outline-offset: var(--magma-outline-focus-offset, 6px);\n }\n\n 50% {\n outline-offset: var(--magma-outline-blur-offset, 2px);\n }\n}\n /* included for focus effect */\n@tailwind components;\n@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-item-progress-bar-color: Sets the color of the progress bar when the item is selected\n * @prop --mds-accordion-timer-item-progress-bar-background: Sets the background-color of the progress bar when the item is selected\n * @prop --mds-accordion-timer-item-color: Sets the text color of the component\n * @prop --mds-accordion-timer-item-progress-bar-thickness: Sets thickness of the progress bar\n * @prop --mds-accordion-timer-item-duration: Sets the transition duration of open/close animation\n */\n\n:host {\n\n --mds-accordion-timer-item-progress-bar-color: var(--mds-accordion-timer-progress-bar-color, rgb(var(--tone-neutral-03)));\n --mds-accordion-timer-item-progress-bar-background: var(--mds-accordion-timer-progress-bar-background, rgb(var(--tone-neutral-08)));\n --mds-accordion-timer-item-progress-bar-thickness: var(--mds-accordion-timer-progress-bar-thickness, 0.25rem);\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 500ms);\n padding-top: 1rem;\n padding-bottom: 1rem;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n color: var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));\n display: grid;\n position: relative;\n -webkit-transition-duration: var(--mds-accordion-timer-item-duration);\n transition-duration: var(--mds-accordion-timer-item-duration);\n -webkit-transition-property: color;\n transition-property: color;\n}\n\n.row {\n gap: 1rem;\n\n display: -ms-flexbox;\n\n display: flex;\n}\n\n.accordion {\n display: grid;\n}\n\n.progress-bar {\n\n --mds-progress-color: var(--mds-accordion-timer-item-progress-bar-color);\n --mds-progress-background: var(--mds-accordion-timer-item-progress-bar-background);\n --mds-progress-thickness: var(--mds-accordion-timer-item-progress-bar-thickness);\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n}\n\n.action {\n gap: 1rem;\n border-radius: 0.75rem;\n\n background-color: transparent;\n border: 0;\n color: inherit;\n cursor: pointer;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n padding: 0;\n text-align: left;\n}\n\n.content {\n gap: 1rem;\n -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);\n transition-timing-function: cubic-bezier(1, 0, 0, 1);\n\n display: grid;\n grid-template-rows: 0fr;\n min-height: 0;\n opacity: 0;\n overflow: hidden;\n padding-top: 0;\n -webkit-transition-duration: var(--mds-accordion-timer-item-duration);\n transition-duration: var(--mds-accordion-timer-item-duration);\n -webkit-transition-property: grid-template-rows opacity padding;\n transition-property: grid-template-rows opacity padding;\n transition-property: grid-template-rows opacity padding, -ms-grid-rows opacity padding;\n}\n\n.content-expander {\n min-height: 0;\n}\n\n.icon {\n display: -ms-flexbox;\n display: flex;\n}\n\n.icon svg {\n aspect-ratio: 1/1;\n height: 100%;\n width: 100%;\n}\n\n.icon {\n -webkit-transition-duration: 500ms;\n transition-duration: 500ms;\n -webkit-transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);\n\n fill: currentcolor;\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n -webkit-transition-property: -webkit-transform;\n transition-property: -webkit-transform;\n transition-property: transform;\n transition-property: transform, -webkit-transform;\n}\n\n:host( [selected]:not([selected=\"false\"]) ) .action {\n cursor: auto;\n}\n\n:host( [selected]:not([selected=\"false\"]) ) .icon {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n}\n\n:host( [selected]:not([selected=\"false\"]) ) .content {\n padding-top: 1rem;\n opacity: 1;\n\n grid-template-rows: 1fr;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host {\n\n --mds-accordion-timer-item-duration: 0s;\n }\n }\n}\n";
|
|
10
10
|
const MdsAccordionTimerItemStyle0 = mdsAccordionTimerItemCss;
|
|
11
11
|
|
|
12
12
|
const MdsAccordionTimerItem = class {
|
|
@@ -52,7 +52,7 @@ const MdsAccordionTimerItem = class {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (index.h(index.Host, { key: 'f363f2d7c13c1d90e95dd8c5a14c5fa8c63980bc', onMouseEnter: this.mouseEnter, onMouseLeave: this.mouseLeave }, index.h("div", { key: '606bb44e9fa98419f8fd9f9420dd62e3064fcc5a', class: "row" }, index.h("mds-progress", { key: '
|
|
55
|
+
return (index.h(index.Host, { key: 'f363f2d7c13c1d90e95dd8c5a14c5fa8c63980bc', onMouseEnter: this.mouseEnter, onMouseLeave: this.mouseLeave }, index.h("div", { key: '606bb44e9fa98419f8fd9f9420dd62e3064fcc5a', class: "row" }, index.h("mds-progress", { key: 'bc28f3d64079c1524dd34dc570119e924ec4dd0c', "aria-hidden": "true", class: "progress-bar", progress: Number((_a = this.progress) === null || _a === void 0 ? void 0 : _a.toFixed(2)), direction: "vertical", part: "progress" }), index.h("div", { key: '8ce9a96a6e14187a6284f60003169badb665e5a7', class: "accordion" }, index.h("button", { key: 'c25fe842c73d5a493d313a9ddf67384fcb948fbd', "aria-controls": "content", "aria-expanded": this.selected ? 'true' : 'false', class: "action focus-bounce", id: "action", onClick: this.toggle, role: "button", tabindex: "0" }, index.h("mds-text", { key: '0b3f403d962cf492217b3a2d79fdefea35737b00', typography: this.typography, part: "label" }, this.description), index.h("mds-text", { key: '83bc4fee76ea52ca3767f5472a9b577a1788eff2', "aria-hidden": "true", class: "icon-button", typography: this.typography, part: "icon" }, index.h("i", { key: '773ce4c20b108a0ba942496611ccb6dad07ec086', class: "icon", innerHTML: miBaselineKeyboardArrowDown }))), index.h("div", { key: '9f132f8c44569db7fb8c32e60a63b8ecc8ac71c4', class: "content", id: "content" }, index.h("div", { key: 'dd5deb6e303c169e7fefa0ea572f563b1ae97e80', "aria-label": this.description, class: "content-expander", part: "content", role: "region" }, index.h("slot", { key: '383afed69d7fc56bb9bc7122920ffb2b404277bf' })))))));
|
|
56
56
|
}
|
|
57
57
|
static get watchers() { return {
|
|
58
58
|
"selected": ["handleSelected"]
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-2df02342.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Browser v4.
|
|
9
|
+
Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
var patchBrowser = () => {
|
|
12
12
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('mds-accordion-timer-item.cjs.js', document.baseURI).href));
|
|
@@ -18,6 +18,22 @@ const setAttributeIfEmpty = (element, attribute, value) => {
|
|
|
18
18
|
element.setAttribute(attribute, value);
|
|
19
19
|
return value;
|
|
20
20
|
};
|
|
21
|
+
const removeAttributesIf = (element, attribute, valueCheck = 'true', cleanAttributes) => {
|
|
22
|
+
if (ifAttribute(element, attribute, valueCheck)) {
|
|
23
|
+
const attributesList = Array.isArray(cleanAttributes) ? cleanAttributes : [cleanAttributes];
|
|
24
|
+
attributesList.forEach(attributeToRemove => {
|
|
25
|
+
element.removeAttribute(attributeToRemove);
|
|
26
|
+
});
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
return false;
|
|
30
|
+
};
|
|
31
|
+
const ifAttribute = (element, attribute, valueCheck = 'true') => {
|
|
32
|
+
if (element.hasAttribute(attribute) && element.getAttribute(attribute) === valueCheck) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
};
|
|
21
37
|
const hashValue = (value) => `${value}-${hash(value)}`;
|
|
22
38
|
const hashRandomValue = (value) => {
|
|
23
39
|
const randomValue = randomInt(1000000);
|
|
@@ -26,4 +42,4 @@ const hashRandomValue = (value) => {
|
|
|
26
42
|
}
|
|
27
43
|
return hash(randomValue.toString());
|
|
28
44
|
};
|
|
29
|
-
export {
|
|
45
|
+
export { hashRandomValue, hashValue, removeAttributesIf, setAttributeIfEmpty, ifAttribute, unslugName, };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const isMobileDevice = () => {
|
|
2
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3
|
+
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
|
4
|
+
return /android|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(userAgent);
|
|
5
|
+
};
|
|
6
|
+
export { isMobileDevice, };
|
|
@@ -31,13 +31,13 @@ export class KeyboardManager {
|
|
|
31
31
|
};
|
|
32
32
|
this.attachEscapeBehavior = (callback) => {
|
|
33
33
|
this.escapeCallback = callback;
|
|
34
|
-
if (window !== undefined) {
|
|
34
|
+
if (typeof window !== 'undefined') {
|
|
35
35
|
window.addEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
this.detachEscapeBehavior = () => {
|
|
39
39
|
this.escapeCallback = () => { return; };
|
|
40
|
-
if (window !== undefined) {
|
|
40
|
+
if (typeof window !== 'undefined') {
|
|
41
41
|
window.removeEventListener('keydown', this.handleEscapeBehaviorDispatchEvent.bind(this));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { render } from "mustache";
|
|
2
2
|
export class Locale {
|
|
3
3
|
constructor(configData) {
|
|
4
4
|
this.rollbackLanguage = 'en';
|
|
5
5
|
this.set = (configData) => {
|
|
6
6
|
this.config = configData;
|
|
7
7
|
};
|
|
8
|
-
this.lang = (
|
|
9
|
-
this.
|
|
8
|
+
this.lang = (el) => {
|
|
9
|
+
this.element = el;
|
|
10
|
+
this.closestElement = this.element.closest('[lang]');
|
|
10
11
|
if (this.closestElement) {
|
|
11
12
|
if (this.closestElement.lang) {
|
|
12
13
|
this.language = this.closestElement.lang;
|
|
@@ -16,6 +17,18 @@ export class Locale {
|
|
|
16
17
|
this.language = this.rollbackLanguage;
|
|
17
18
|
return this.language;
|
|
18
19
|
};
|
|
20
|
+
this.update = (doc) => {
|
|
21
|
+
const context = doc !== null && doc !== void 0 ? doc : this.element.shadowRoot;
|
|
22
|
+
context && context.querySelectorAll('*').forEach(el => {
|
|
23
|
+
if (el.tagName.toLowerCase().startsWith('mds-')) {
|
|
24
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
25
|
+
if (el && 'updateLang' in el) {
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
+
el.updateLang();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
};
|
|
19
32
|
this.pluralize = (tag, context) => {
|
|
20
33
|
const languagePhrase = this.config[this.language] ? this.config[this.language][tag] : this.config[this.rollbackLanguage][tag];
|
|
21
34
|
const phrases = [];
|
|
@@ -38,8 +51,7 @@ export class Locale {
|
|
|
38
51
|
}
|
|
39
52
|
}
|
|
40
53
|
}
|
|
41
|
-
|
|
42
|
-
return template(context);
|
|
54
|
+
return render(translatePhrase, context);
|
|
43
55
|
};
|
|
44
56
|
this.get = (tag, context) => {
|
|
45
57
|
if (context) {
|
|
@@ -11,38 +11,6 @@
|
|
|
11
11
|
@tailwind components;
|
|
12
12
|
@tailwind utilities;
|
|
13
13
|
|
|
14
|
-
.focus-bounce {
|
|
15
|
-
animation-duration: var(--magma-outline-animation-duration, 1s);
|
|
16
|
-
animation-fill-mode: forwards;
|
|
17
|
-
animation-iteration-count: infinite;
|
|
18
|
-
animation-name: focus-bounce;
|
|
19
|
-
animation-play-state: paused;
|
|
20
|
-
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
21
|
-
outline: var(--magma-outline-blur);
|
|
22
|
-
transition-duration: 200ms;
|
|
23
|
-
transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
|
|
24
|
-
transition-timing-function: ease-in-out;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.focus-bounce--focused,
|
|
28
|
-
.focus-bounce:focus-visible {
|
|
29
|
-
|
|
30
|
-
--magma-outline-blur: var(--magma-outline-focus);
|
|
31
|
-
|
|
32
|
-
animation-play-state: running;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.svg {
|
|
36
|
-
display: flex;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.svg svg {
|
|
40
|
-
aspect-ratio: 1/1;
|
|
41
|
-
height: 100%;
|
|
42
|
-
width: 100%;
|
|
43
|
-
}
|
|
44
|
-
@tailwind utilities;
|
|
45
|
-
|
|
46
14
|
/**
|
|
47
15
|
* @prop --mds-accordion-timer-item-progress-bar-color: Sets the color of the progress bar when the item is selected
|
|
48
16
|
* @prop --mds-accordion-timer-item-progress-bar-background: Sets the background-color of the progress bar when the item is selected
|
|
@@ -59,15 +27,13 @@
|
|
|
59
27
|
--mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 500ms);
|
|
60
28
|
padding-top: 1rem;
|
|
61
29
|
padding-bottom: 1rem;
|
|
62
|
-
transition-property: background-color, border-color, box-shadow, color, fill, height, margin, opacity, padding, transform, width;
|
|
63
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
64
|
-
transition-duration: 150ms;
|
|
65
30
|
transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
|
|
66
31
|
|
|
67
32
|
color: var(--mds-accordion-timer-item-color, rgb(var(--tone-neutral-02)));
|
|
68
33
|
display: grid;
|
|
69
34
|
position: relative;
|
|
70
35
|
transition-duration: var(--mds-accordion-timer-item-duration);
|
|
36
|
+
transition-property: color;
|
|
71
37
|
}
|
|
72
38
|
|
|
73
39
|
.row {
|
|
@@ -122,13 +88,22 @@
|
|
|
122
88
|
}
|
|
123
89
|
|
|
124
90
|
.icon {
|
|
125
|
-
|
|
126
|
-
|
|
91
|
+
display: flex;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.icon svg {
|
|
95
|
+
aspect-ratio: 1/1;
|
|
96
|
+
height: 100%;
|
|
97
|
+
width: 100%;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.icon {
|
|
127
101
|
transition-duration: 500ms;
|
|
128
102
|
transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
|
|
129
103
|
|
|
130
104
|
fill: currentcolor;
|
|
131
105
|
transform: rotate(180deg);
|
|
106
|
+
transition-property: transform;
|
|
132
107
|
}
|
|
133
108
|
|
|
134
109
|
:host( [selected]:not([selected="false"]) ) .action {
|
|
@@ -146,168 +121,6 @@
|
|
|
146
121
|
grid-template-rows: 1fr;
|
|
147
122
|
}
|
|
148
123
|
|
|
149
|
-
.static {
|
|
150
|
-
position: static;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.fixed {
|
|
154
|
-
position: fixed;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.absolute {
|
|
158
|
-
position: absolute;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.border {
|
|
162
|
-
border-width: 1px;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.bg-label-amaranth-10 {
|
|
166
|
-
--tw-bg-opacity: 1;
|
|
167
|
-
background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.bg-label-aqua-10 {
|
|
171
|
-
--tw-bg-opacity: 1;
|
|
172
|
-
background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
.bg-label-blue-10 {
|
|
176
|
-
--tw-bg-opacity: 1;
|
|
177
|
-
background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.bg-label-green-10 {
|
|
181
|
-
--tw-bg-opacity: 1;
|
|
182
|
-
background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.bg-label-lime-10 {
|
|
186
|
-
--tw-bg-opacity: 1;
|
|
187
|
-
background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.bg-label-orange-10 {
|
|
191
|
-
--tw-bg-opacity: 1;
|
|
192
|
-
background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.bg-label-orchid-10 {
|
|
196
|
-
--tw-bg-opacity: 1;
|
|
197
|
-
background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.bg-label-violet-10 {
|
|
201
|
-
--tw-bg-opacity: 1;
|
|
202
|
-
background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
.bg-label-yellow-10 {
|
|
206
|
-
--tw-bg-opacity: 1;
|
|
207
|
-
background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
.bg-tone-neutral-10 {
|
|
211
|
-
--tw-bg-opacity: 1;
|
|
212
|
-
background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.fill-label-amaranth-04 {
|
|
216
|
-
fill: rgb(var(--label-amaranth-04));
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.fill-label-aqua-04 {
|
|
220
|
-
fill: rgb(var(--label-aqua-04));
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.fill-label-blue-04 {
|
|
224
|
-
fill: rgb(var(--label-blue-04));
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.fill-label-green-04 {
|
|
228
|
-
fill: rgb(var(--label-green-04));
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
.fill-label-lime-04 {
|
|
232
|
-
fill: rgb(var(--label-lime-04));
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
.fill-label-orange-04 {
|
|
236
|
-
fill: rgb(var(--label-orange-04));
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.fill-label-orchid-04 {
|
|
240
|
-
fill: rgb(var(--label-orchid-04));
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.fill-label-violet-04 {
|
|
244
|
-
fill: rgb(var(--label-violet-04));
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
.fill-label-yellow-04 {
|
|
248
|
-
fill: rgb(var(--label-yellow-04));
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
.fill-tone-neutral-04 {
|
|
252
|
-
fill: rgb(var(--tone-neutral-04));
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
.text-label-amaranth-04 {
|
|
256
|
-
--tw-text-opacity: 1;
|
|
257
|
-
color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.text-label-aqua-04 {
|
|
261
|
-
--tw-text-opacity: 1;
|
|
262
|
-
color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
.text-label-blue-04 {
|
|
266
|
-
--tw-text-opacity: 1;
|
|
267
|
-
color: rgb(var(--label-blue-04) / var(--tw-text-opacity));
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.text-label-green-04 {
|
|
271
|
-
--tw-text-opacity: 1;
|
|
272
|
-
color: rgb(var(--label-green-04) / var(--tw-text-opacity));
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.text-label-lime-04 {
|
|
276
|
-
--tw-text-opacity: 1;
|
|
277
|
-
color: rgb(var(--label-lime-04) / var(--tw-text-opacity));
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.text-label-orange-04 {
|
|
281
|
-
--tw-text-opacity: 1;
|
|
282
|
-
color: rgb(var(--label-orange-04) / var(--tw-text-opacity));
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.text-label-orchid-04 {
|
|
286
|
-
--tw-text-opacity: 1;
|
|
287
|
-
color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.text-label-violet-04 {
|
|
291
|
-
--tw-text-opacity: 1;
|
|
292
|
-
color: rgb(var(--label-violet-04) / var(--tw-text-opacity));
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.text-label-yellow-04 {
|
|
296
|
-
--tw-text-opacity: 1;
|
|
297
|
-
color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.text-tone-neutral-04 {
|
|
301
|
-
--tw-text-opacity: 1;
|
|
302
|
-
color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.shadow {
|
|
306
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
307
|
-
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
308
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
309
|
-
}
|
|
310
|
-
|
|
311
124
|
@container style(--magma-pref-animation: reduce) {
|
|
312
125
|
:host {
|
|
313
126
|
|
|
@@ -45,7 +45,7 @@ export class MdsAccordionTimerItem {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
var _a;
|
|
48
|
-
return (h(Host, { key: 'f363f2d7c13c1d90e95dd8c5a14c5fa8c63980bc', onMouseEnter: this.mouseEnter, onMouseLeave: this.mouseLeave }, h("div", { key: '606bb44e9fa98419f8fd9f9420dd62e3064fcc5a', class: "row" }, h("mds-progress", { key: '
|
|
48
|
+
return (h(Host, { key: 'f363f2d7c13c1d90e95dd8c5a14c5fa8c63980bc', onMouseEnter: this.mouseEnter, onMouseLeave: this.mouseLeave }, h("div", { key: '606bb44e9fa98419f8fd9f9420dd62e3064fcc5a', class: "row" }, h("mds-progress", { key: 'bc28f3d64079c1524dd34dc570119e924ec4dd0c', "aria-hidden": "true", class: "progress-bar", progress: Number((_a = this.progress) === null || _a === void 0 ? void 0 : _a.toFixed(2)), direction: "vertical", part: "progress" }), h("div", { key: '8ce9a96a6e14187a6284f60003169badb665e5a7', class: "accordion" }, h("button", { key: 'c25fe842c73d5a493d313a9ddf67384fcb948fbd', "aria-controls": "content", "aria-expanded": this.selected ? 'true' : 'false', class: "action focus-bounce", id: "action", onClick: this.toggle, role: "button", tabindex: "0" }, h("mds-text", { key: '0b3f403d962cf492217b3a2d79fdefea35737b00', typography: this.typography, part: "label" }, this.description), h("mds-text", { key: '83bc4fee76ea52ca3767f5472a9b577a1788eff2', "aria-hidden": "true", class: "icon-button", typography: this.typography, part: "icon" }, h("i", { key: '773ce4c20b108a0ba942496611ccb6dad07ec086', class: "icon", innerHTML: miBaselineKeyboardArrowDown }))), h("div", { key: '9f132f8c44569db7fb8c32e60a63b8ecc8ac71c4', class: "content", id: "content" }, h("div", { key: 'dd5deb6e303c169e7fefa0ea572f563b1ae97e80', "aria-label": this.description, class: "content-expander", part: "content", role: "region" }, h("slot", { key: '383afed69d7fc56bb9bc7122920ffb2b404277bf' })))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "mds-accordion-timer-item"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|