@maggioli-design-system/mds-accordion-timer 3.10.4 → 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.
Files changed (101) hide show
  1. package/dist/cjs/{index-dba9169e.js → index-0853bd56.js} +14 -3
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mds-accordion-timer.cjs.entry.js +18 -14
  4. package/dist/cjs/mds-accordion-timer.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/common/aria.js +17 -1
  7. package/dist/collection/common/device.js +6 -0
  8. package/dist/collection/common/keyboard-manager.js +2 -2
  9. package/dist/collection/common/locale.js +17 -5
  10. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +0 -219
  11. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +16 -12
  12. package/dist/collection/dictionary/button.js +1 -0
  13. package/dist/collection/dictionary/file-extensions.js +114 -56
  14. package/dist/collection/dictionary/text.js +60 -1
  15. package/dist/collection/dictionary/variant.js +10 -1
  16. package/dist/collection/type/variant-file-format.js +0 -34
  17. package/dist/components/mds-accordion-timer.js +17 -13
  18. package/dist/documentation.json +3 -3
  19. package/dist/esm/{index-20fd282d.js → index-af411208.js} +14 -3
  20. package/dist/esm/loader.js +2 -2
  21. package/dist/esm/mds-accordion-timer.entry.js +18 -14
  22. package/dist/esm/mds-accordion-timer.js +3 -3
  23. package/dist/esm-es5/index-af411208.js +1 -0
  24. package/dist/esm-es5/loader.js +1 -1
  25. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  26. package/dist/esm-es5/mds-accordion-timer.js +1 -1
  27. package/dist/mds-accordion-timer/mds-accordion-timer.esm.js +1 -1
  28. package/dist/mds-accordion-timer/mds-accordion-timer.js +1 -1
  29. package/dist/mds-accordion-timer/{p-dd7ad5d9.system.js → p-25856ee2.system.js} +1 -1
  30. package/dist/mds-accordion-timer/p-4eb3ec08.system.entry.js +1 -0
  31. package/dist/mds-accordion-timer/p-62c48ff3.system.js +2 -0
  32. package/dist/mds-accordion-timer/p-86e0d6b4.entry.js +1 -0
  33. package/dist/mds-accordion-timer/p-8dd37a13.js +2 -0
  34. package/dist/stats.json +35 -35
  35. package/dist/types/common/aria.d.ts +3 -1
  36. package/dist/types/common/date.d.ts +1 -1
  37. package/dist/types/common/device.d.ts +2 -0
  38. package/dist/types/common/file.d.ts +3 -4
  39. package/dist/types/common/locale.d.ts +3 -1
  40. package/dist/types/dictionary/file-extensions.d.ts +2 -1
  41. package/dist/types/dictionary/text.d.ts +3 -1
  42. package/dist/types/dictionary/variant.d.ts +2 -1
  43. package/dist/types/stencil-public-runtime.d.ts +6 -0
  44. package/dist/types/type/autocomplete.d.ts +1 -1
  45. package/dist/types/type/button.d.ts +1 -1
  46. package/dist/types/type/header-bar.d.ts +2 -0
  47. package/dist/types/type/input.d.ts +3 -0
  48. package/dist/types/type/text.d.ts +2 -0
  49. package/dist/types/type/variant-file-format.d.ts +4 -4
  50. package/dist/types/type/variant.d.ts +2 -1
  51. package/documentation.json +39 -34
  52. package/package.json +5 -5
  53. package/readme.md +12 -1
  54. package/src/common/aria.ts +22 -2
  55. package/src/common/device.ts +9 -0
  56. package/src/common/file.ts +2 -3
  57. package/src/common/keyboard-manager.ts +2 -2
  58. package/src/common/locale.ts +20 -6
  59. package/src/common/unit.ts +1 -1
  60. package/src/components/mds-accordion-timer/.gitlab-ci.yml +5 -10
  61. package/src/components/mds-accordion-timer/mds-accordion-timer.tsx +15 -11
  62. package/src/dictionary/button.ts +1 -0
  63. package/src/dictionary/file-extensions.ts +118 -57
  64. package/src/dictionary/text.ts +64 -0
  65. package/src/dictionary/variant.ts +11 -0
  66. package/src/fixtures/icons.json +15 -2
  67. package/src/fixtures/iconsauce.json +7 -0
  68. package/src/meta/file-format/locale.el.json +39 -0
  69. package/src/meta/file-format/locale.en.json +39 -0
  70. package/src/meta/file-format/locale.es.json +39 -0
  71. package/src/meta/file-format/locale.it.json +39 -0
  72. package/src/tailwind/components.css +1 -1
  73. package/src/type/autocomplete.ts +0 -1
  74. package/src/type/button.ts +1 -0
  75. package/src/type/header-bar.ts +11 -0
  76. package/src/type/input.ts +4 -0
  77. package/src/type/text.ts +59 -0
  78. package/src/type/variant-file-format.ts +20 -37
  79. package/src/type/variant.ts +9 -1
  80. package/www/build/mds-accordion-timer.esm.js +1 -1
  81. package/www/build/mds-accordion-timer.js +1 -1
  82. package/www/build/{p-dd7ad5d9.system.js → p-25856ee2.system.js} +1 -1
  83. package/www/build/p-4eb3ec08.system.entry.js +1 -0
  84. package/www/build/p-62c48ff3.system.js +2 -0
  85. package/www/build/p-86e0d6b4.entry.js +1 -0
  86. package/www/build/p-8dd37a13.js +2 -0
  87. package/dist/collection/type/language.js +0 -1
  88. package/dist/esm-es5/index-20fd282d.js +0 -1
  89. package/dist/mds-accordion-timer/p-6d230e24.js +0 -2
  90. package/dist/mds-accordion-timer/p-9d12b7bb.entry.js +0 -1
  91. package/dist/mds-accordion-timer/p-b63ea901.system.entry.js +0 -1
  92. package/dist/mds-accordion-timer/p-fe7bbbcf.system.js +0 -2
  93. package/dist/types/interface/input-value.d.ts +0 -4
  94. package/dist/types/type/language.d.ts +0 -2
  95. package/src/interface/input-value.ts +0 -5
  96. package/src/type/language.ts +0 -8
  97. package/www/build/p-6d230e24.js +0 -2
  98. package/www/build/p-9d12b7bb.entry.js +0 -1
  99. package/www/build/p-b63ea901.system.entry.js +0 -1
  100. package/www/build/p-fe7bbbcf.system.js +0 -2
  101. /package/dist/collection/{interface/input-value.js → type/header-bar.js} +0 -0
@@ -1,61 +1,119 @@
1
1
  const fileExtensionsDictionary = {
2
- '7z': { format: 'archive', description: 'Archivio compresso' },
3
- ace: { format: 'archive', description: 'Archivio compresso' },
4
- ai: { format: 'vector', description: 'Vettoriale Adobe Illustrator' },
5
- dart: { format: 'code', description: 'Dart' },
6
- db: { format: 'data', description: 'File di database' },
7
- default: { format: 'attachment', description: 'Formato sconosciuto' },
8
- dmg: { format: 'executable', description: 'Apple Disk Image' },
9
- doc: { format: 'text', description: 'Documento Microsoft Word' },
10
- docm: { format: 'text', description: 'Documento Microsoft Word' },
11
- docx: { format: 'text', description: 'Documento Microsoft Word Compresso' },
12
- eml: { format: 'email', description: 'E-mail di posta elettronica' },
13
- eps: { format: 'vector', description: 'Vettoriale Corel Draw' },
14
- exe: { format: 'executable', description: 'File eseguibile Windows' },
15
- flac: { format: 'audio', description: 'Audio non compresso' },
16
- gif: { format: 'image', description: 'Immagine compressa', preview: true },
17
- htm: { format: 'markup', description: 'Pagina web' },
18
- heic: { format: 'image', description: 'High Efficiency Image File Format' },
19
- html: { format: 'markup', description: 'Pagina web' },
20
- jpe: { format: 'image', description: 'Immagine compressa', preview: true },
21
- jpeg: { format: 'image', description: 'Immagine compressa', preview: true },
22
- jpg: { format: 'image', description: 'Immagine compressa', preview: true },
23
- js: { format: 'code', description: 'JavaScript' },
24
- json: { format: 'data', description: 'JavaScript Object Notation' },
25
- jsx: { format: 'code', description: 'JavaScript' },
26
- m2v: { format: 'video', description: 'Filmato SD' },
27
- mp2: { format: 'audio', description: 'Audio compresso' },
28
- mp3: { format: 'audio', description: 'Audio compresso' },
29
- mp4: { format: 'video', description: 'Filmato HD' },
30
- mp4v: { format: 'video', description: 'Filmato HD' },
31
- mpeg: { format: 'video', description: 'Filmato SD' },
32
- mpg4: { format: 'video', description: 'Filmato SD' },
33
- mpg: { format: 'video', description: 'Filmato SD' },
34
- mpga: { format: 'audio', description: 'Audio compresso' },
35
- odp: { format: 'slide', description: 'Slide di presentazione LibreOffice' },
36
- ods: { format: 'spreadsheet', description: 'Foglio di calcolo LibreOffice' },
37
- odt: { format: 'text', description: 'File di testo LibreOffice' },
38
- pdf: { format: 'document', description: 'Documento Adobe' },
39
- php: { format: 'code', description: 'Hypertext Preprocessor' },
40
- png: { format: 'image', description: 'Immagine Portable Network Graphics', preview: true },
41
- ppt: { format: 'slide', description: 'Slide di presentazione PowerPoint' },
42
- rar: { format: 'archive', description: 'Archivio compresso' },
43
- rtf: { format: 'text', description: 'Documento di testo Rich Text Format' },
44
- sass: { format: 'code', description: 'Syntactically Awesome StyleSheets' },
45
- shtml: { format: 'markup', description: 'Pagina web' },
46
- svg: { format: 'vector', description: 'Scalable Vector Graphics', preview: true },
47
- tar: { format: 'archive', description: 'Archivio non compresso' },
48
- tiff: { format: 'image', description: 'Tag Image File Format' },
49
- ts: { format: 'code', description: 'TypeScript' },
50
- tsx: { format: 'code', description: 'TypeScript Extended Syntax' },
51
- txt: { format: 'text', description: 'Documento di testo non formattato' },
52
- wav: { format: 'audio', description: 'Audio non compresso' },
53
- webp: { format: 'image', description: 'Immagine Web Picture', preview: true },
54
- xar: { format: 'archive', description: 'Archivio compresso' },
55
- xls: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
56
- xlsx: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
57
- zip: { format: 'archive', description: 'Archivio compresso' },
2
+ '7z': { format: 'archive', description: 'compressedArchive' },
3
+ ace: { format: 'archive', description: 'compressedArchive' },
4
+ ai: { format: 'vector', description: 'fileAI' },
5
+ dart: { format: 'code', description: 'dart' },
6
+ db: { format: 'data', description: 'fileDB' },
7
+ default: { format: 'attachment', description: 'unknown' },
8
+ dmg: { format: 'executable', description: 'appleDiskImage' },
9
+ doc: { format: 'text', description: 'documentMS' },
10
+ docm: { format: 'text', description: 'documentMS' },
11
+ docx: { format: 'text', description: 'compressedDocumentMS' },
12
+ eml: { format: 'email', description: 'email' },
13
+ eps: { format: 'vector', description: 'fileEPS' },
14
+ exe: { format: 'executable', description: 'fileEXE' },
15
+ flac: { format: 'audio', description: 'uncompressedAudio' },
16
+ gif: { format: 'image', description: 'compressedImage', preview: true },
17
+ htm: { format: 'markup', description: 'documentWeb' },
18
+ heic: { format: 'image', description: 'imageHEFF' },
19
+ html: { format: 'markup', description: 'documentWeb' },
20
+ jpe: { format: 'image', description: 'compressedImage', preview: true },
21
+ jpeg: { format: 'image', description: 'compressedImage', preview: true },
22
+ jpg: { format: 'image', description: 'compressedImage', preview: true },
23
+ js: { format: 'code', description: 'fileJS' },
24
+ json: { format: 'data', description: 'fileJSON' },
25
+ jsx: { format: 'code', description: 'fileJS' },
26
+ m2v: { format: 'video', description: 'videoSD' },
27
+ mp2: { format: 'audio', description: 'compressedAudio' },
28
+ mp3: { format: 'audio', description: 'compressedAudio' },
29
+ mp4: { format: 'video', description: 'videoHD' },
30
+ mp4v: { format: 'video', description: 'videoHD' },
31
+ mpeg: { format: 'video', description: 'videoSD' },
32
+ mpg4: { format: 'video', description: 'videoSD' },
33
+ mpg: { format: 'video', description: 'videoSD' },
34
+ mpga: { format: 'audio', description: 'compressedAudio' },
35
+ odp: { format: 'slide', description: 'slideLO' },
36
+ ods: { format: 'spreadsheet', description: 'spreadsheetLO' },
37
+ odt: { format: 'text', description: 'documentLO' },
38
+ pdf: { format: 'document', description: 'documentAdobe' },
39
+ php: { format: 'code', description: 'filePHP' },
40
+ png: { format: 'image', description: 'imagePNG', preview: true },
41
+ ppt: { format: 'slide', description: 'slidePowerPoint' },
42
+ rar: { format: 'archive', description: 'compressedArchive' },
43
+ rtf: { format: 'text', description: 'documentRTF' },
44
+ sass: { format: 'code', description: 'fileSASS' },
45
+ shtml: { format: 'markup', description: 'documentWeb' },
46
+ svg: { format: 'vector', description: 'imageSVG', preview: true },
47
+ tar: { format: 'archive', description: 'uncompressedArchive' },
48
+ tiff: { format: 'image', description: 'imageTIFF' },
49
+ ts: { format: 'code', description: 'fileTS' },
50
+ tsx: { format: 'code', description: 'fileTSX' },
51
+ txt: { format: 'text', description: 'documentTXT' },
52
+ wav: { format: 'audio', description: 'uncompressedAudio' },
53
+ webp: { format: 'image', description: 'imageWEBP', preview: true },
54
+ xar: { format: 'archive', description: 'compressedArchive' },
55
+ xls: { format: 'spreadsheet', description: 'spreadsheetMS' },
56
+ xlsx: { format: 'spreadsheet', description: 'spreadsheetMS' },
57
+ zip: { format: 'archive', description: 'compressedArchive' },
58
58
  };
59
+ // const fileExtensionsDictionary: FileExtenstion = {
60
+ // '7z': { format: 'archive', description: 'Archivio compresso' },
61
+ // ace: { format: 'archive', description: 'Archivio compresso' },
62
+ // ai: { format: 'vector', description: 'Vettoriale Adobe Illustrator' },
63
+ // dart: { format: 'code', description: 'Dart' },
64
+ // db: { format: 'data', description: 'File di database' },
65
+ // default: { format: 'attachment', description: 'Formato sconosciuto' },
66
+ // dmg: { format: 'executable', description: 'Apple Disk Image' },
67
+ // doc: { format: 'text', description: 'Documento Microsoft Word' },
68
+ // docm: { format: 'text', description: 'Documento Microsoft Word' },
69
+ // docx: { format: 'text', description: 'Documento Microsoft Word Compresso' },
70
+ // eml: { format: 'email', description: 'E-mail di posta elettronica' },
71
+ // eps: { format: 'vector', description: 'Vettoriale Corel Draw' },
72
+ // exe: { format: 'executable', description: 'File eseguibile Windows' },
73
+ // flac: { format: 'audio', description: 'Audio non compresso' },
74
+ // gif: { format: 'image', description: 'Immagine compressa', preview: true },
75
+ // htm: { format: 'markup', description: 'Pagina web' },
76
+ // heic: { format: 'image', description: 'High Efficiency Image File Format' },
77
+ // html: { format: 'markup', description: 'Pagina web' },
78
+ // jpe: { format: 'image', description: 'Immagine compressa', preview: true },
79
+ // jpeg: { format: 'image', description: 'Immagine compressa', preview: true },
80
+ // jpg: { format: 'image', description: 'Immagine compressa', preview: true },
81
+ // js: { format: 'code', description: 'JavaScript' },
82
+ // json: { format: 'data', description: 'JavaScript Object Notation' },
83
+ // jsx: { format: 'code', description: 'JavaScript' },
84
+ // m2v: { format: 'video', description: 'Filmato SD' },
85
+ // mp2: { format: 'audio', description: 'Audio compresso' },
86
+ // mp3: { format: 'audio', description: 'Audio compresso' },
87
+ // mp4: { format: 'video', description: 'Filmato HD' },
88
+ // mp4v: { format: 'video', description: 'Filmato HD' },
89
+ // mpeg: { format: 'video', description: 'Filmato SD' },
90
+ // mpg4: { format: 'video', description: 'Filmato SD' },
91
+ // mpg: { format: 'video', description: 'Filmato SD' },
92
+ // mpga: { format: 'audio', description: 'Audio compresso' },
93
+ // odp: { format: 'slide', description: 'Slide di presentazione LibreOffice' },
94
+ // ods: { format: 'spreadsheet', description: 'Foglio di calcolo LibreOffice' },
95
+ // odt: { format: 'text', description: 'File di testo LibreOffice' },
96
+ // pdf: { format: 'document', description: 'Documento Adobe' },
97
+ // php: { format: 'code', description: 'Hypertext Preprocessor' },
98
+ // png: { format: 'image', description: 'Immagine Portable Network Graphics', preview: true },
99
+ // ppt: { format: 'slide', description: 'Slide di presentazione PowerPoint' },
100
+ // rar: { format: 'archive', description: 'Archivio compresso' },
101
+ // rtf: { format: 'text', description: 'Documento di testo Rich Text Format' },
102
+ // sass: { format: 'code', description: 'Syntactically Awesome StyleSheets' },
103
+ // shtml: { format: 'markup', description: 'Pagina web' },
104
+ // svg: { format: 'vector', description: 'Scalable Vector Graphics', preview: true },
105
+ // tar: { format: 'archive', description: 'Archivio non compresso' },
106
+ // tiff: { format: 'image', description: 'Tag Image File Format' },
107
+ // ts: { format: 'code', description: 'TypeScript' },
108
+ // tsx: { format: 'code', description: 'TypeScript Extended Syntax' },
109
+ // txt: { format: 'text', description: 'Documento di testo non formattato' },
110
+ // wav: { format: 'audio', description: 'Audio non compresso' },
111
+ // webp: { format: 'image', description: 'Immagine Web Picture', preview: true },
112
+ // xar: { format: 'archive', description: 'Archivio compresso' },
113
+ // xls: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
114
+ // xlsx: { format: 'spreadsheet', description: 'Foglio di calcolo Office' },
115
+ // zip: { format: 'archive', description: 'Archivio compresso' },
116
+ // }
59
117
  const genericMimeToExt = new Map([
60
118
  ['image', ['.png', '.jpg', '.jpeg', '.tiff', '.webp', '.jpe', '.gif', '.heic']],
61
119
  ['audio', ['.mp2', '.mp3', '.mpga', '.wav', '.flac']],
@@ -1,6 +1,65 @@
1
+ const typographyTagDictionary = [
2
+ 'abbr',
3
+ 'address',
4
+ 'article',
5
+ 'b',
6
+ 'bdo',
7
+ 'blockquote',
8
+ 'cite',
9
+ 'code',
10
+ 'dd',
11
+ 'del',
12
+ 'details',
13
+ 'dfn',
14
+ 'div',
15
+ 'dl',
16
+ 'dt',
17
+ 'em',
18
+ 'figcaption',
19
+ 'h1',
20
+ 'h2',
21
+ 'h3',
22
+ 'h4',
23
+ 'h5',
24
+ 'h6',
25
+ 'i',
26
+ 'ins',
27
+ 'kbd',
28
+ 'label',
29
+ 'legend',
30
+ 'li',
31
+ 'mark',
32
+ 'ol',
33
+ 'p',
34
+ 'pre',
35
+ 'q',
36
+ 'rb',
37
+ 'rt',
38
+ 'ruby',
39
+ 's',
40
+ 'samp',
41
+ 'small',
42
+ 'span',
43
+ 'strong',
44
+ 'sub',
45
+ 'summary',
46
+ 'sup',
47
+ 'time',
48
+ 'u',
49
+ 'ul',
50
+ 'var',
51
+ ];
52
+ const typographyHeadingTagDictionary = [
53
+ 'h1',
54
+ 'h2',
55
+ 'h3',
56
+ 'h4',
57
+ 'h5',
58
+ 'h6',
59
+ ];
1
60
  const truncateDictionary = [
2
61
  'all',
3
62
  'none',
4
63
  'word',
5
64
  ];
6
- export { truncateDictionary, };
65
+ export { truncateDictionary, typographyHeadingTagDictionary, typographyTagDictionary, };
@@ -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.static{\n\n position: static;\n}\n\n.fixed{\n\n position: fixed;\n}\n\n.absolute{\n\n position: absolute;\n}\n\n.border{\n\n border-width: 1px;\n}\n\n.bg-label-amaranth-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-aqua-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-blue-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-green-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-lime-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orange-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orchid-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-violet-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-yellow-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));\n}\n\n.bg-tone-neutral-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));\n}\n\n.fill-label-amaranth-04{\n\n fill: rgb(var(--label-amaranth-04));\n}\n\n.fill-label-aqua-04{\n\n fill: rgb(var(--label-aqua-04));\n}\n\n.fill-label-blue-04{\n\n fill: rgb(var(--label-blue-04));\n}\n\n.fill-label-green-04{\n\n fill: rgb(var(--label-green-04));\n}\n\n.fill-label-lime-04{\n\n fill: rgb(var(--label-lime-04));\n}\n\n.fill-label-orange-04{\n\n fill: rgb(var(--label-orange-04));\n}\n\n.fill-label-orchid-04{\n\n fill: rgb(var(--label-orchid-04));\n}\n\n.fill-label-violet-04{\n\n fill: rgb(var(--label-violet-04));\n}\n\n.fill-label-yellow-04{\n\n fill: rgb(var(--label-yellow-04));\n}\n\n.fill-tone-neutral-04{\n\n fill: rgb(var(--tone-neutral-04));\n}\n\n.text-label-amaranth-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));\n}\n\n.text-label-aqua-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));\n}\n\n.text-label-blue-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-blue-04) / var(--tw-text-opacity));\n}\n\n.text-label-green-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-green-04) / var(--tw-text-opacity));\n}\n\n.text-label-lime-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-lime-04) / var(--tw-text-opacity));\n}\n\n.text-label-orange-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orange-04) / var(--tw-text-opacity));\n}\n\n.text-label-orchid-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));\n}\n\n.text-label-violet-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-violet-04) / var(--tw-text-opacity));\n}\n\n.text-label-yellow-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));\n}\n\n.text-tone-neutral-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));\n}\n\n.shadow{\n\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n\n -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n\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: 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";
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 {
@@ -11,7 +11,9 @@ const MdsAccordionTimer$1 = /*@__PURE__*/ proxyCustomElement(class MdsAccordionT
11
11
  this.changeEvent = createEvent(this, "mdsAccordionTimerChange", 7);
12
12
  this.currentDuration = 0;
13
13
  this.clearIntervals = () => {
14
- window.clearInterval(this.timeChecker);
14
+ if (typeof window !== 'undefined') {
15
+ window.clearInterval(this.timeChecker);
16
+ }
15
17
  this.timeChecker = 0;
16
18
  };
17
19
  this.remainingTime = () => {
@@ -22,16 +24,18 @@ const MdsAccordionTimer$1 = /*@__PURE__*/ proxyCustomElement(class MdsAccordionT
22
24
  return Math.abs(this.remainingTime() / this.currentDuration - 1);
23
25
  };
24
26
  this.addTimeListener = () => {
25
- this.timeChecker = window.setInterval(() => {
26
- const progress = this.progress();
27
- if (this.selectedItem !== undefined) {
28
- this.selectedItem.progress = progress;
29
- }
30
- if (progress === 1) {
31
- this.selectedItem.progress = 0;
32
- this.startNext();
33
- }
34
- }, 100);
27
+ if (typeof window !== 'undefined') {
28
+ this.timeChecker = window.setInterval(() => {
29
+ const progress = this.progress();
30
+ if (this.selectedItem !== undefined) {
31
+ this.selectedItem.progress = progress;
32
+ }
33
+ if (progress === 1) {
34
+ this.selectedItem.progress = 0;
35
+ this.startNext();
36
+ }
37
+ }, 100);
38
+ }
35
39
  };
36
40
  this.beginningTime = () => {
37
41
  this.timeStarted = (new Date()).getTime();
@@ -136,7 +140,7 @@ const MdsAccordionTimer$1 = /*@__PURE__*/ proxyCustomElement(class MdsAccordionT
136
140
  this.playTimer();
137
141
  }
138
142
  render() {
139
- return (h(Host, { key: '4b2e910a4c4099ecaaf7355c05c4d69a4e2e9d65' }, h("slot", { key: '737db21aa1b2b8cbbcf760b715feea1eef8ad5ed' })));
143
+ return (h(Host, { key: '9816683b4c8bacb97302685b1f1b45ff8ab1a209' }, h("slot", { key: 'b411a4cdbb6f133f871979df4eccd70433567b56' })));
140
144
  }
141
145
  get element() { return this; }
142
146
  static get watchers() { return {
@@ -1,9 +1,9 @@
1
1
  {
2
- "timestamp": "2024-10-23T14:58:04",
2
+ "timestamp": "2024-12-04T18:05:07",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
- "version": "4.21.0",
6
- "typescriptVersion": "5.5.3"
5
+ "version": "4.22.2",
6
+ "typescriptVersion": "5.5.4"
7
7
  },
8
8
  "components": [
9
9
  {
@@ -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.21.0 | MIT Licensed | https://stenciljs.com
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 : document.querySelector("style");
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
- styleContainerNode.prepend(styleElm);
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
  }
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-20fd282d.js';
2
- export { s as setNonce } from './index-20fd282d.js';
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-20fd282d.js';
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.static{\n\n position: static;\n}\n\n.fixed{\n\n position: fixed;\n}\n\n.absolute{\n\n position: absolute;\n}\n\n.border{\n\n border-width: 1px;\n}\n\n.bg-label-amaranth-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-amaranth-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-aqua-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-aqua-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-blue-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-blue-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-green-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-green-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-lime-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-lime-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orange-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orange-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-orchid-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-orchid-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-violet-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-violet-10) / var(--tw-bg-opacity));\n}\n\n.bg-label-yellow-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--label-yellow-10) / var(--tw-bg-opacity));\n}\n\n.bg-tone-neutral-10{\n\n --tw-bg-opacity: 1;\n\n background-color: rgb(var(--tone-neutral-10) / var(--tw-bg-opacity));\n}\n\n.fill-label-amaranth-04{\n\n fill: rgb(var(--label-amaranth-04));\n}\n\n.fill-label-aqua-04{\n\n fill: rgb(var(--label-aqua-04));\n}\n\n.fill-label-blue-04{\n\n fill: rgb(var(--label-blue-04));\n}\n\n.fill-label-green-04{\n\n fill: rgb(var(--label-green-04));\n}\n\n.fill-label-lime-04{\n\n fill: rgb(var(--label-lime-04));\n}\n\n.fill-label-orange-04{\n\n fill: rgb(var(--label-orange-04));\n}\n\n.fill-label-orchid-04{\n\n fill: rgb(var(--label-orchid-04));\n}\n\n.fill-label-violet-04{\n\n fill: rgb(var(--label-violet-04));\n}\n\n.fill-label-yellow-04{\n\n fill: rgb(var(--label-yellow-04));\n}\n\n.fill-tone-neutral-04{\n\n fill: rgb(var(--tone-neutral-04));\n}\n\n.text-label-amaranth-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-amaranth-04) / var(--tw-text-opacity));\n}\n\n.text-label-aqua-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-aqua-04) / var(--tw-text-opacity));\n}\n\n.text-label-blue-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-blue-04) / var(--tw-text-opacity));\n}\n\n.text-label-green-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-green-04) / var(--tw-text-opacity));\n}\n\n.text-label-lime-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-lime-04) / var(--tw-text-opacity));\n}\n\n.text-label-orange-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orange-04) / var(--tw-text-opacity));\n}\n\n.text-label-orchid-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-orchid-04) / var(--tw-text-opacity));\n}\n\n.text-label-violet-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-violet-04) / var(--tw-text-opacity));\n}\n\n.text-label-yellow-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--label-yellow-04) / var(--tw-text-opacity));\n}\n\n.text-tone-neutral-04{\n\n --tw-text-opacity: 1;\n\n color: rgb(var(--tone-neutral-04) / var(--tw-text-opacity));\n}\n\n.shadow{\n\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n\n --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);\n\n -webkit-box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n\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: 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";
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 {
@@ -9,7 +9,9 @@ const MdsAccordionTimer = class {
9
9
  this.changeEvent = createEvent(this, "mdsAccordionTimerChange", 7);
10
10
  this.currentDuration = 0;
11
11
  this.clearIntervals = () => {
12
- window.clearInterval(this.timeChecker);
12
+ if (typeof window !== 'undefined') {
13
+ window.clearInterval(this.timeChecker);
14
+ }
13
15
  this.timeChecker = 0;
14
16
  };
15
17
  this.remainingTime = () => {
@@ -20,16 +22,18 @@ const MdsAccordionTimer = class {
20
22
  return Math.abs(this.remainingTime() / this.currentDuration - 1);
21
23
  };
22
24
  this.addTimeListener = () => {
23
- this.timeChecker = window.setInterval(() => {
24
- const progress = this.progress();
25
- if (this.selectedItem !== undefined) {
26
- this.selectedItem.progress = progress;
27
- }
28
- if (progress === 1) {
29
- this.selectedItem.progress = 0;
30
- this.startNext();
31
- }
32
- }, 100);
25
+ if (typeof window !== 'undefined') {
26
+ this.timeChecker = window.setInterval(() => {
27
+ const progress = this.progress();
28
+ if (this.selectedItem !== undefined) {
29
+ this.selectedItem.progress = progress;
30
+ }
31
+ if (progress === 1) {
32
+ this.selectedItem.progress = 0;
33
+ this.startNext();
34
+ }
35
+ }, 100);
36
+ }
33
37
  };
34
38
  this.beginningTime = () => {
35
39
  this.timeStarted = (new Date()).getTime();
@@ -134,7 +138,7 @@ const MdsAccordionTimer = class {
134
138
  this.playTimer();
135
139
  }
136
140
  render() {
137
- return (h(Host, { key: '4b2e910a4c4099ecaaf7355c05c4d69a4e2e9d65' }, h("slot", { key: '737db21aa1b2b8cbbcf760b715feea1eef8ad5ed' })));
141
+ return (h(Host, { key: '9816683b4c8bacb97302685b1f1b45ff8ab1a209' }, h("slot", { key: 'b411a4cdbb6f133f871979df4eccd70433567b56' })));
138
142
  }
139
143
  get element() { return getElement(this); }
140
144
  static get watchers() { return {
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-20fd282d.js';
2
- export { s as setNonce } from './index-20fd282d.js';
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.21.0 | MIT Licensed | https://stenciljs.com
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;