@maggioli-design-system/mds-accordion-timer 3.10.4 → 4.0.0
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-dba9169e.js → index-0853bd56.js} +14 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
- package/dist/cjs/mds-accordion-timer.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/common/locale.js +17 -5
- package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +0 -219
- package/dist/collection/dictionary/button.js +1 -0
- package/dist/collection/dictionary/variant.js +10 -1
- package/dist/collection/type/variant-file-format.js +0 -34
- package/dist/components/mds-accordion-timer.js +1 -1
- package/dist/documentation.json +3 -3
- package/dist/esm/{index-20fd282d.js → index-af411208.js} +14 -3
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-accordion-timer.entry.js +2 -2
- package/dist/esm/mds-accordion-timer.js +3 -3
- package/dist/esm-es5/index-af411208.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
- package/dist/esm-es5/mds-accordion-timer.js +1 -1
- package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
- package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
- package/dist/mds-accordion-timer/{p-dd7ad5d9.system.js → p-25856ee2.system.js} +1 -1
- package/dist/mds-accordion-timer/p-4dac14fb.entry.js +1 -0
- package/dist/mds-accordion-timer/p-62c48ff3.system.js +2 -0
- package/dist/mds-accordion-timer/p-7ae27bb3.system.entry.js +1 -0
- package/dist/mds-accordion-timer/p-8dd37a13.js +2 -0
- package/dist/stats.json +35 -37
- package/dist/types/common/date.d.ts +1 -1
- package/dist/types/common/file.d.ts +3 -4
- package/dist/types/common/locale.d.ts +3 -1
- package/dist/types/dictionary/file-extensions.d.ts +2 -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/variant-file-format.d.ts +4 -4
- package/dist/types/type/variant.d.ts +2 -1
- package/documentation.json +31 -31
- package/package.json +5 -5
- package/readme.md +12 -1
- package/src/common/file.ts +2 -3
- package/src/common/locale.ts +20 -6
- package/src/common/unit.ts +1 -1
- package/src/components/mds-accordion-timer/.gitlab-ci.yml +5 -10
- package/src/dictionary/button.ts +1 -0
- package/src/dictionary/file-extensions.ts +3 -1
- package/src/dictionary/variant.ts +11 -0
- package/src/fixtures/icons.json +7 -2
- package/src/fixtures/iconsauce.json +2 -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/variant-file-format.ts +20 -37
- package/src/type/variant.ts +9 -1
- package/www/build/mds-accordion-timer.esm.js +1 -1
- package/www/build/mds-accordion-timer.js +1 -1
- package/www/build/{p-dd7ad5d9.system.js → p-25856ee2.system.js} +1 -1
- package/www/build/p-4dac14fb.entry.js +1 -0
- package/www/build/p-62c48ff3.system.js +2 -0
- package/www/build/p-7ae27bb3.system.entry.js +1 -0
- package/www/build/p-8dd37a13.js +2 -0
- package/dist/collection/type/language.js +0 -1
- package/dist/esm-es5/index-20fd282d.js +0 -1
- package/dist/mds-accordion-timer/p-6d230e24.js +0 -2
- package/dist/mds-accordion-timer/p-9d12b7bb.entry.js +0 -1
- package/dist/mds-accordion-timer/p-b63ea901.system.entry.js +0 -1
- package/dist/mds-accordion-timer/p-fe7bbbcf.system.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-6d230e24.js +0 -2
- package/www/build/p-9d12b7bb.entry.js +0 -1
- package/www/build/p-b63ea901.system.entry.js +0 -1
- package/www/build/p-fe7bbbcf.system.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';
|
|
|
24
24
|
const BUILD = /* mds-accordion-timer */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, 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: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: false, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, 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) => {
|
|
@@ -375,10 +375,21 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
375
375
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
376
376
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
377
377
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
378
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling :
|
|
378
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
379
379
|
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
380
380
|
} else if ("host" in styleContainerNode) {
|
|
381
|
-
|
|
381
|
+
if (supportsConstructableStylesheets) {
|
|
382
|
+
const stylesheet = new CSSStyleSheet();
|
|
383
|
+
stylesheet.replaceSync(style);
|
|
384
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
385
|
+
} else {
|
|
386
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
387
|
+
if (existingStyleContainer) {
|
|
388
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
389
|
+
} else {
|
|
390
|
+
styleContainerNode.prepend(styleElm);
|
|
391
|
+
}
|
|
392
|
+
}
|
|
382
393
|
} else {
|
|
383
394
|
styleContainerNode.append(styleElm);
|
|
384
395
|
}
|
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-0853bd56.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-0853bd56.js');
|
|
6
6
|
|
|
7
|
-
const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n
|
|
7
|
+
const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\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: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";
|
|
8
8
|
const MdsAccordionTimerStyle0 = mdsAccordionTimerCss;
|
|
9
9
|
|
|
10
10
|
const MdsAccordionTimer = class {
|
|
@@ -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-0853bd56.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.cjs.js', document.baseURI).href));
|
|
@@ -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) {
|
|
@@ -19,225 +19,6 @@
|
|
|
19
19
|
display: block;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.static{
|
|
23
|
-
|
|
24
|
-
position: static;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.fixed{
|
|
28
|
-
|
|
29
|
-
position: fixed;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.absolute{
|
|
33
|
-
|
|
34
|
-
position: absolute;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.border{
|
|
38
|
-
|
|
39
|
-
border-width: 1px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.bg-label-amaranth-10{
|
|
43
|
-
|
|
44
|
-
--tw-bg-opacity: 1;
|
|
45
|
-
|
|
46
|
-
background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.bg-label-aqua-10{
|
|
50
|
-
|
|
51
|
-
--tw-bg-opacity: 1;
|
|
52
|
-
|
|
53
|
-
background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.bg-label-blue-10{
|
|
57
|
-
|
|
58
|
-
--tw-bg-opacity: 1;
|
|
59
|
-
|
|
60
|
-
background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.bg-label-green-10{
|
|
64
|
-
|
|
65
|
-
--tw-bg-opacity: 1;
|
|
66
|
-
|
|
67
|
-
background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.bg-label-lime-10{
|
|
71
|
-
|
|
72
|
-
--tw-bg-opacity: 1;
|
|
73
|
-
|
|
74
|
-
background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.bg-label-orange-10{
|
|
78
|
-
|
|
79
|
-
--tw-bg-opacity: 1;
|
|
80
|
-
|
|
81
|
-
background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.bg-label-orchid-10{
|
|
85
|
-
|
|
86
|
-
--tw-bg-opacity: 1;
|
|
87
|
-
|
|
88
|
-
background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.bg-label-violet-10{
|
|
92
|
-
|
|
93
|
-
--tw-bg-opacity: 1;
|
|
94
|
-
|
|
95
|
-
background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.bg-label-yellow-10{
|
|
99
|
-
|
|
100
|
-
--tw-bg-opacity: 1;
|
|
101
|
-
|
|
102
|
-
background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.bg-tone-neutral-10{
|
|
106
|
-
|
|
107
|
-
--tw-bg-opacity: 1;
|
|
108
|
-
|
|
109
|
-
background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.fill-label-amaranth-04{
|
|
113
|
-
|
|
114
|
-
fill: rgb(var(--label-amaranth-04));
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.fill-label-aqua-04{
|
|
118
|
-
|
|
119
|
-
fill: rgb(var(--label-aqua-04));
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.fill-label-blue-04{
|
|
123
|
-
|
|
124
|
-
fill: rgb(var(--label-blue-04));
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.fill-label-green-04{
|
|
128
|
-
|
|
129
|
-
fill: rgb(var(--label-green-04));
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.fill-label-lime-04{
|
|
133
|
-
|
|
134
|
-
fill: rgb(var(--label-lime-04));
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.fill-label-orange-04{
|
|
138
|
-
|
|
139
|
-
fill: rgb(var(--label-orange-04));
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.fill-label-orchid-04{
|
|
143
|
-
|
|
144
|
-
fill: rgb(var(--label-orchid-04));
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.fill-label-violet-04{
|
|
148
|
-
|
|
149
|
-
fill: rgb(var(--label-violet-04));
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.fill-label-yellow-04{
|
|
153
|
-
|
|
154
|
-
fill: rgb(var(--label-yellow-04));
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.fill-tone-neutral-04{
|
|
158
|
-
|
|
159
|
-
fill: rgb(var(--tone-neutral-04));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.text-label-amaranth-04{
|
|
163
|
-
|
|
164
|
-
--tw-text-opacity: 1;
|
|
165
|
-
|
|
166
|
-
color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.text-label-aqua-04{
|
|
170
|
-
|
|
171
|
-
--tw-text-opacity: 1;
|
|
172
|
-
|
|
173
|
-
color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.text-label-blue-04{
|
|
177
|
-
|
|
178
|
-
--tw-text-opacity: 1;
|
|
179
|
-
|
|
180
|
-
color: rgb(var(--label-blue-04) / var(--tw-text-opacity));
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
.text-label-green-04{
|
|
184
|
-
|
|
185
|
-
--tw-text-opacity: 1;
|
|
186
|
-
|
|
187
|
-
color: rgb(var(--label-green-04) / var(--tw-text-opacity));
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
.text-label-lime-04{
|
|
191
|
-
|
|
192
|
-
--tw-text-opacity: 1;
|
|
193
|
-
|
|
194
|
-
color: rgb(var(--label-lime-04) / var(--tw-text-opacity));
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.text-label-orange-04{
|
|
198
|
-
|
|
199
|
-
--tw-text-opacity: 1;
|
|
200
|
-
|
|
201
|
-
color: rgb(var(--label-orange-04) / var(--tw-text-opacity));
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.text-label-orchid-04{
|
|
205
|
-
|
|
206
|
-
--tw-text-opacity: 1;
|
|
207
|
-
|
|
208
|
-
color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.text-label-violet-04{
|
|
212
|
-
|
|
213
|
-
--tw-text-opacity: 1;
|
|
214
|
-
|
|
215
|
-
color: rgb(var(--label-violet-04) / var(--tw-text-opacity));
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.text-label-yellow-04{
|
|
219
|
-
|
|
220
|
-
--tw-text-opacity: 1;
|
|
221
|
-
|
|
222
|
-
color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.text-tone-neutral-04{
|
|
226
|
-
|
|
227
|
-
--tw-text-opacity: 1;
|
|
228
|
-
|
|
229
|
-
color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.shadow{
|
|
233
|
-
|
|
234
|
-
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
235
|
-
|
|
236
|
-
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
237
|
-
|
|
238
|
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
22
|
@container style(--magma-pref-animation: reduce) {
|
|
242
23
|
:host {
|
|
243
24
|
|
|
@@ -70,6 +70,15 @@ const toneVariantDictionary = [
|
|
|
70
70
|
'ghost',
|
|
71
71
|
'quiet',
|
|
72
72
|
];
|
|
73
|
+
const themeVariantChipDictionary = [
|
|
74
|
+
'primary',
|
|
75
|
+
'secondary',
|
|
76
|
+
'dark',
|
|
77
|
+
'error',
|
|
78
|
+
'info',
|
|
79
|
+
'success',
|
|
80
|
+
'warning',
|
|
81
|
+
];
|
|
73
82
|
const toneActionVariantDictionary = [
|
|
74
83
|
'primary',
|
|
75
84
|
'secondary',
|
|
@@ -92,4 +101,4 @@ const toneMinimalVariantDictionary = [
|
|
|
92
101
|
'strong',
|
|
93
102
|
'weak',
|
|
94
103
|
];
|
|
95
|
-
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
|
|
104
|
+
export { themeFullVariantAvatarDictionary, themeFullVariantDictionary, themeLabelVariantDictionary, themeLuminanceVariantDictionary, themeStatusVariantDictionary, themeVariantDictionary, themeVariantChipDictionary, toneActionVariantDictionary, toneMinimalVariantDictionary, toneSimpleVariantDictionary, toneSmartVariantDictionary, toneVariantDictionary, };
|
|
@@ -15,105 +15,71 @@ import mdiVectorCurve from "@icon/mdi/vector-curve.svg";
|
|
|
15
15
|
import baselineVideocam from "@icon/mi/baseline/videocam.svg";
|
|
16
16
|
const fileFormatsVariant = {
|
|
17
17
|
archive: {
|
|
18
|
-
color: 'fill-label-amaranth-04 text-label-amaranth-04',
|
|
19
18
|
icon: baselineFolderZip,
|
|
20
|
-
iconBackground: 'bg-label-amaranth-10',
|
|
21
19
|
variant: 'amaranth',
|
|
22
20
|
},
|
|
23
21
|
attachment: {
|
|
24
|
-
color: 'fill-tone-neutral-04 text-tone-neutral-04',
|
|
25
22
|
icon: baselineAttachFile,
|
|
26
|
-
iconBackground: 'bg-tone-neutral-10',
|
|
27
23
|
variant: 'dark',
|
|
28
24
|
},
|
|
29
25
|
audio: {
|
|
30
|
-
color: 'fill-label-violet-04 text-label-violet-04',
|
|
31
26
|
icon: baselineAudiotrack,
|
|
32
|
-
iconBackground: 'bg-label-violet-10',
|
|
33
27
|
variant: 'violet',
|
|
34
28
|
},
|
|
35
29
|
code: {
|
|
36
|
-
color: 'fill-label-yellow-04 text-label-yellow-04',
|
|
37
30
|
icon: baselineTerminal,
|
|
38
|
-
iconBackground: 'bg-label-yellow-10',
|
|
39
31
|
variant: 'yellow',
|
|
40
32
|
},
|
|
41
33
|
data: {
|
|
42
|
-
color: 'fill-label-yellow-04 text-label-yellow-04',
|
|
43
34
|
icon: mdiHardDisk,
|
|
44
|
-
iconBackground: 'bg-label-yellow-10',
|
|
45
35
|
variant: 'yellow',
|
|
46
36
|
},
|
|
47
37
|
document: {
|
|
48
|
-
color: 'fill-label-orange-04 text-label-orange-04',
|
|
49
38
|
icon: baselineInsertDriveFile,
|
|
50
|
-
iconBackground: 'bg-label-orange-10',
|
|
51
39
|
variant: 'orange',
|
|
52
40
|
},
|
|
53
41
|
email: {
|
|
54
|
-
color: 'fill-label-blue-04 text-label-blue-04',
|
|
55
42
|
icon: baselineEmail,
|
|
56
|
-
iconBackground: 'bg-label-blue-10',
|
|
57
43
|
variant: 'blue',
|
|
58
44
|
},
|
|
59
45
|
executable: {
|
|
60
|
-
color: 'fill-label-amaranth-04 text-label-amaranth-04',
|
|
61
46
|
icon: baselineWysiwyg,
|
|
62
|
-
iconBackground: 'bg-label-amaranth-10',
|
|
63
47
|
variant: 'amaranth',
|
|
64
48
|
},
|
|
65
49
|
image: {
|
|
66
|
-
color: 'fill-label-green-04 text-label-green-04',
|
|
67
50
|
icon: baselinePanorama,
|
|
68
|
-
iconBackground: 'bg-label-green-10',
|
|
69
51
|
variant: 'green',
|
|
70
52
|
},
|
|
71
53
|
imageRaster: {
|
|
72
|
-
color: 'fill-label-green-04 text-label-green-04',
|
|
73
54
|
icon: baselinePanorama,
|
|
74
|
-
iconBackground: 'bg-label-green-10',
|
|
75
55
|
variant: 'green',
|
|
76
56
|
},
|
|
77
57
|
markup: {
|
|
78
|
-
color: 'fill-label-yellow-04 text-label-yellow-04',
|
|
79
58
|
icon: baselineWeb,
|
|
80
|
-
iconBackground: 'bg-label-yellow-10',
|
|
81
59
|
variant: 'yellow',
|
|
82
60
|
},
|
|
83
61
|
slide: {
|
|
84
|
-
color: 'fill-label-orchid-04 text-label-orchid-04',
|
|
85
62
|
icon: baselineTV,
|
|
86
|
-
iconBackground: 'bg-label-orchid-10',
|
|
87
63
|
variant: 'orchid',
|
|
88
64
|
},
|
|
89
65
|
spreadsheet: {
|
|
90
|
-
color: 'fill-label-lime-04 text-label-lime-04',
|
|
91
66
|
icon: baselineBorderAll,
|
|
92
|
-
iconBackground: 'bg-label-lime-10',
|
|
93
67
|
variant: 'lime',
|
|
94
68
|
},
|
|
95
69
|
text: {
|
|
96
|
-
color: 'fill-label-blue-04 text-label-blue-04',
|
|
97
70
|
icon: baselineDescription,
|
|
98
|
-
iconBackground: 'bg-label-blue-10',
|
|
99
71
|
variant: 'blue',
|
|
100
72
|
},
|
|
101
73
|
vectorImage: {
|
|
102
|
-
color: 'fill-label-aqua-04 text-label-aqua-04',
|
|
103
74
|
icon: mdiVectorCurve,
|
|
104
|
-
iconBackground: 'bg-label-aqua-10',
|
|
105
75
|
variant: 'aqua',
|
|
106
76
|
},
|
|
107
77
|
vector: {
|
|
108
|
-
color: 'fill-label-aqua-04 text-label-aqua-04',
|
|
109
78
|
icon: mdiVectorCurve,
|
|
110
|
-
iconBackground: 'bg-label-aqua-10',
|
|
111
79
|
variant: 'aqua',
|
|
112
80
|
},
|
|
113
81
|
video: {
|
|
114
|
-
color: 'fill-label-violet-04 text-label-violet-04',
|
|
115
82
|
icon: baselineVideocam,
|
|
116
|
-
iconBackground: 'bg-label-violet-10',
|
|
117
83
|
variant: 'violet',
|
|
118
84
|
},
|
|
119
85
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n
|
|
3
|
+
const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\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: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";
|
|
4
4
|
const MdsAccordionTimerStyle0 = mdsAccordionTimerCss;
|
|
5
5
|
|
|
6
6
|
const MdsAccordionTimer$1 = /*@__PURE__*/ proxyCustomElement(class MdsAccordionTimer extends HTMLElement {
|
package/dist/documentation.json
CHANGED
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'mds-accordion-timer';
|
|
|
2
2
|
const BUILD = /* mds-accordion-timer */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, 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: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: true, propString: false, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: false, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: false, vdomXlink: false, watchCallback: true };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
@@ -353,10 +353,21 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
353
353
|
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
354
354
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
355
355
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
356
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling :
|
|
356
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
357
357
|
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
358
358
|
} else if ("host" in styleContainerNode) {
|
|
359
|
-
|
|
359
|
+
if (supportsConstructableStylesheets) {
|
|
360
|
+
const stylesheet = new CSSStyleSheet();
|
|
361
|
+
stylesheet.replaceSync(style);
|
|
362
|
+
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
363
|
+
} else {
|
|
364
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
365
|
+
if (existingStyleContainer) {
|
|
366
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
367
|
+
} else {
|
|
368
|
+
styleContainerNode.prepend(styleElm);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
360
371
|
} else {
|
|
361
372
|
styleContainerNode.append(styleElm);
|
|
362
373
|
}
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-af411208.js';
|
|
2
|
+
export { s as setNonce } from './index-af411208.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-af411208.js';
|
|
2
2
|
|
|
3
|
-
const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n
|
|
3
|
+
const mdsAccordionTimerCss = "@tailwind utilities;\n\n/**\n * @prop --mds-accordion-timer-progress-bar-color: Sets the color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-progress-bar-background: Sets the background-color of the progress bar when the mds-accordion-timer-item is selected\n * @prop --mds-accordion-timer-color: Sets the text color of the component mds-accordion-timer-item\n * @prop --mds-accordion-timer-progress-bar-thickness: Sets thickness of the progress bar of the mds-accordion-timer-item\n * @prop --mds-accordion-timer-duration: Sets the transition duration of open/close animation of the mds-accordion-timer-item\n */\n\n:host {\n\n --mds-accordion-timer-progress-bar-color: rgb(var(--tone-neutral-03));\n --mds-accordion-timer-progress-bar-background: rgb(var(--tone-neutral-08));\n --mds-accordion-timer-progress-bar-thickness: 0.25rem;\n --mds-accordion-timer-duration: 500ms;\n\n /* comment */\n display: block;\n}\n\n@container style(--magma-pref-animation: reduce) {\n :host {\n\n --mds-accordion-timer-item-duration: var(--mds-accordion-timer-duration, 0s);\n\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: var(--mds-accordion-timer-duration, 0s);\n\n }\n }\n}\n";
|
|
4
4
|
const MdsAccordionTimerStyle0 = mdsAccordionTimerCss;
|
|
5
5
|
|
|
6
6
|
const MdsAccordionTimer = class {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-af411208.js';
|
|
2
|
+
export { s as setNonce } from './index-af411208.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.22.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|