@quartzds/core 1.0.0-beta.112 → 1.0.0-beta.114

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 (184) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/components/index.d.ts +2 -0
  3. package/components/index.js +2 -1
  4. package/components/index.js.map +1 -1
  5. package/components/p-BSPxuxTR.js +278 -0
  6. package/components/p-BSPxuxTR.js.map +1 -0
  7. package/components/{p-06Mf_H-3.js → p-BzNdvEIj.js} +6 -6
  8. package/components/{p-06Mf_H-3.js.map → p-BzNdvEIj.js.map} +1 -1
  9. package/components/{p-CwuEVKME.js → p-CXNbTMs3.js} +26 -15
  10. package/components/p-CXNbTMs3.js.map +1 -0
  11. package/components/{p-G-9vy_Kf.js → p-CoPb0kZk.js} +8 -7
  12. package/components/p-CoPb0kZk.js.map +1 -0
  13. package/components/{p-Du9LZnK8.js → p-D6H_Ja9U.js} +5 -5
  14. package/components/{p-Du9LZnK8.js.map → p-D6H_Ja9U.js.map} +1 -1
  15. package/components/{p-DMxXc1Y5.js → p-D95fZ6r0.js} +8 -8
  16. package/components/p-D95fZ6r0.js.map +1 -0
  17. package/components/{p-CctTDiUU.js → p-DGAZYkDF.js} +3 -3
  18. package/components/{p-CctTDiUU.js.map → p-DGAZYkDF.js.map} +1 -1
  19. package/components/{p-BP49wcGT.js → p-Dqnx5weA.js} +28 -10
  20. package/components/p-Dqnx5weA.js.map +1 -0
  21. package/components/{p-C2KcIjco.js → p-Du5iO_Mj.js} +3 -3
  22. package/components/{p-C2KcIjco.js.map → p-Du5iO_Mj.js.map} +1 -1
  23. package/components/{p-DUPkRi4M.js → p-UCFkhBz3.js} +9 -7
  24. package/components/p-UCFkhBz3.js.map +1 -0
  25. package/components/qds-action-item.js +2 -2
  26. package/components/qds-avatar-media.d.ts +11 -0
  27. package/components/qds-avatar-media.js +115 -0
  28. package/components/qds-avatar-media.js.map +1 -0
  29. package/components/qds-breadcrumb-item.js +2 -2
  30. package/components/qds-button.js +1 -1
  31. package/components/qds-checkbox.js +1 -1
  32. package/components/qds-chip.js +8 -8
  33. package/components/qds-dialog.js +3 -3
  34. package/components/qds-dropdown.js +1 -1
  35. package/components/qds-form-message.js +3 -3
  36. package/components/qds-icon-button.js +18 -9
  37. package/components/qds-icon-button.js.map +1 -1
  38. package/components/qds-icon.js +1 -1
  39. package/components/qds-inline-link.js +51 -15
  40. package/components/qds-inline-link.js.map +1 -1
  41. package/components/qds-input.js +6 -6
  42. package/components/qds-input.js.map +1 -1
  43. package/components/qds-label.js +1 -1
  44. package/components/qds-list-item.js +8 -8
  45. package/components/qds-loader.js +23 -5
  46. package/components/qds-loader.js.map +1 -1
  47. package/components/qds-menu-item.js +5 -5
  48. package/components/qds-mini-button.js +1 -1
  49. package/components/qds-nav-list-item.js +2 -2
  50. package/components/qds-progress-bar.js +1 -1
  51. package/components/qds-radio.js +1 -1
  52. package/components/qds-select.js +5 -5
  53. package/components/qds-standalone-link.js +51 -15
  54. package/components/qds-standalone-link.js.map +1 -1
  55. package/components/qds-switch.js +18 -5
  56. package/components/qds-switch.js.map +1 -1
  57. package/components/qds-tab.js +29 -21
  58. package/components/qds-tab.js.map +1 -1
  59. package/components/qds-tabbar.js +10 -9
  60. package/components/qds-tabbar.js.map +1 -1
  61. package/components/qds-table-cell.js +2 -2
  62. package/components/qds-table-head-cell.js +2 -2
  63. package/components/qds-table-row.js +1 -1
  64. package/components/qds-table.js +1 -1
  65. package/components/qds-tag.js +1 -1
  66. package/components/qds-textarea.js +2 -2
  67. package/components/qds-title.js +1 -1
  68. package/components/qds-tooltip.js +1 -1
  69. package/dist/cjs/index.cjs.js +1 -1
  70. package/dist/cjs/library-BrmEL6Ho.js +138 -0
  71. package/dist/cjs/library-BrmEL6Ho.js.map +1 -0
  72. package/dist/cjs/loader.cjs.js +1 -1
  73. package/dist/cjs/qds-avatar-media.cjs.entry.js +79 -0
  74. package/dist/cjs/qds-avatar-media.entry.cjs.js.map +1 -0
  75. package/dist/cjs/qds-button.cjs.entry.js +22 -11
  76. package/dist/cjs/qds-button.entry.cjs.js.map +1 -1
  77. package/dist/cjs/qds-checkbox.qds-radio.entry.cjs.js.map +1 -1
  78. package/dist/cjs/qds-checkbox_2.cjs.entry.js +7 -5
  79. package/dist/cjs/qds-chip.cjs.entry.js +5 -5
  80. package/dist/cjs/qds-dropdown.cjs.entry.js +24 -7
  81. package/dist/cjs/qds-dropdown.entry.cjs.js.map +1 -1
  82. package/dist/cjs/qds-form-message.cjs.entry.js +2 -2
  83. package/dist/cjs/qds-icon-button.cjs.entry.js +16 -7
  84. package/dist/cjs/qds-icon-button.entry.cjs.js.map +1 -1
  85. package/dist/cjs/qds-icon.cjs.entry.js +1 -1
  86. package/dist/cjs/qds-inline-link.cjs.entry.js +46 -9
  87. package/dist/cjs/qds-inline-link.entry.cjs.js.map +1 -1
  88. package/dist/cjs/qds-input.cjs.entry.js +4 -4
  89. package/dist/cjs/qds-input.entry.cjs.js.map +1 -1
  90. package/dist/cjs/qds-label.cjs.entry.js +4 -4
  91. package/dist/cjs/qds-label.entry.cjs.js.map +1 -1
  92. package/dist/cjs/qds-list-item.cjs.entry.js +3 -3
  93. package/dist/cjs/qds-loader.cjs.entry.js +22 -4
  94. package/dist/cjs/qds-loader.entry.cjs.js.map +1 -1
  95. package/dist/cjs/qds-menu-item.cjs.entry.js +2 -2
  96. package/dist/cjs/qds-progress-bar.cjs.entry.js +1 -1
  97. package/dist/cjs/qds-select.cjs.entry.js +4 -4
  98. package/dist/cjs/qds-standalone-link.cjs.entry.js +46 -9
  99. package/dist/cjs/qds-standalone-link.entry.cjs.js.map +1 -1
  100. package/dist/cjs/qds-switch.cjs.entry.js +10 -4
  101. package/dist/cjs/qds-switch.entry.cjs.js.map +1 -1
  102. package/dist/cjs/qds-tab.cjs.entry.js +23 -16
  103. package/dist/cjs/qds-tab.entry.cjs.js.map +1 -1
  104. package/dist/cjs/qds-tabbar.cjs.entry.js +7 -6
  105. package/dist/cjs/qds-tabbar.entry.cjs.js.map +1 -1
  106. package/dist/cjs/qds-table-cell.cjs.entry.js +2 -2
  107. package/dist/cjs/qds-table-head-cell.cjs.entry.js +2 -2
  108. package/dist/cjs/qds-table-row.cjs.entry.js +1 -1
  109. package/dist/cjs/qds-table.cjs.entry.js +1 -1
  110. package/dist/cjs/qds-tag_2.cjs.entry.js +5 -5
  111. package/dist/cjs/qds-textarea.cjs.entry.js +2 -2
  112. package/dist/cjs/qds-tooltip.cjs.entry.js +1 -1
  113. package/dist/cjs/qds.cjs.js +1 -1
  114. package/dist/custom-elements.json +404 -14
  115. package/dist/docs.json +377 -47
  116. package/dist/esm/index.js +1 -1
  117. package/dist/esm/library-BuEmbYiH.js +134 -0
  118. package/dist/esm/library-BuEmbYiH.js.map +1 -0
  119. package/dist/esm/loader.js +1 -1
  120. package/dist/esm/qds-avatar-media.entry.js +77 -0
  121. package/dist/esm/qds-avatar-media.entry.js.map +1 -0
  122. package/dist/esm/qds-button.entry.js +22 -11
  123. package/dist/esm/qds-button.entry.js.map +1 -1
  124. package/dist/esm/qds-checkbox.qds-radio.entry.js.map +1 -1
  125. package/dist/esm/qds-checkbox_2.entry.js +7 -5
  126. package/dist/esm/qds-chip.entry.js +5 -5
  127. package/dist/esm/qds-dropdown.entry.js +24 -7
  128. package/dist/esm/qds-dropdown.entry.js.map +1 -1
  129. package/dist/esm/qds-form-message.entry.js +2 -2
  130. package/dist/esm/qds-icon-button.entry.js +16 -7
  131. package/dist/esm/qds-icon-button.entry.js.map +1 -1
  132. package/dist/esm/qds-icon.entry.js +1 -1
  133. package/dist/esm/qds-inline-link.entry.js +47 -10
  134. package/dist/esm/qds-inline-link.entry.js.map +1 -1
  135. package/dist/esm/qds-input.entry.js +4 -4
  136. package/dist/esm/qds-input.entry.js.map +1 -1
  137. package/dist/esm/qds-label.entry.js +4 -4
  138. package/dist/esm/qds-label.entry.js.map +1 -1
  139. package/dist/esm/qds-list-item.entry.js +3 -3
  140. package/dist/esm/qds-loader.entry.js +22 -4
  141. package/dist/esm/qds-loader.entry.js.map +1 -1
  142. package/dist/esm/qds-menu-item.entry.js +2 -2
  143. package/dist/esm/qds-progress-bar.entry.js +1 -1
  144. package/dist/esm/qds-select.entry.js +4 -4
  145. package/dist/esm/qds-standalone-link.entry.js +47 -10
  146. package/dist/esm/qds-standalone-link.entry.js.map +1 -1
  147. package/dist/esm/qds-switch.entry.js +10 -4
  148. package/dist/esm/qds-switch.entry.js.map +1 -1
  149. package/dist/esm/qds-tab.entry.js +23 -16
  150. package/dist/esm/qds-tab.entry.js.map +1 -1
  151. package/dist/esm/qds-tabbar.entry.js +7 -6
  152. package/dist/esm/qds-tabbar.entry.js.map +1 -1
  153. package/dist/esm/qds-table-cell.entry.js +2 -2
  154. package/dist/esm/qds-table-head-cell.entry.js +2 -2
  155. package/dist/esm/qds-table-row.entry.js +1 -1
  156. package/dist/esm/qds-table.entry.js +1 -1
  157. package/dist/esm/qds-tag_2.entry.js +5 -5
  158. package/dist/esm/qds-textarea.entry.js +2 -2
  159. package/dist/esm/qds-tooltip.entry.js +1 -1
  160. package/dist/esm/qds.js +1 -1
  161. package/dist/types/components/avatar-media/avatar-media.d.ts +39 -0
  162. package/dist/types/components/dropdown/dropdown.d.ts +6 -0
  163. package/dist/types/components/icon-button/icon-button.d.ts +1 -1
  164. package/dist/types/components/inline-link/inline-link.d.ts +1 -1
  165. package/dist/types/components/label/label.d.ts +6 -0
  166. package/dist/types/components/standalone-link/standalone-link.d.ts +1 -1
  167. package/dist/types/components/switch/switch.d.ts +6 -0
  168. package/dist/types/components/tab/tab.d.ts +1 -0
  169. package/dist/types/components.d.ts +124 -2
  170. package/dist/vscode.html-custom-data.json +41 -0
  171. package/hydrate/index.js +468 -225
  172. package/hydrate/index.mjs +468 -225
  173. package/package.json +2 -2
  174. package/components/p-BP49wcGT.js.map +0 -1
  175. package/components/p-Be1TAWGK.js +0 -269
  176. package/components/p-Be1TAWGK.js.map +0 -1
  177. package/components/p-CwuEVKME.js.map +0 -1
  178. package/components/p-DMxXc1Y5.js.map +0 -1
  179. package/components/p-DUPkRi4M.js.map +0 -1
  180. package/components/p-G-9vy_Kf.js.map +0 -1
  181. package/dist/cjs/library-9aPCtHOh.js +0 -129
  182. package/dist/cjs/library-9aPCtHOh.js.map +0 -1
  183. package/dist/esm/library-D0Umuiwr.js +0 -125
  184. package/dist/esm/library-D0Umuiwr.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -11,6 +11,52 @@ SPDX-License-Identifier: Apache-2.0
11
11
 
12
12
  > All notable changes to this project will be documented in this file
13
13
 
14
+ ## @quartzds/core 1.0.0-beta.114 (2025-12-03)
15
+
16
+ * Merge pull request #1528 from quartzds/a11y-fix-links ([bc73bd6](https://github.com/quartzds/core-foundations/commit/bc73bd6)), closes [#1528](https://github.com/quartzds/core-foundations/issues/1528)
17
+ * Merge pull request #1535 from quartzds/issue-#1524 ([8a87033](https://github.com/quartzds/core-foundations/commit/8a87033)), closes [#1535](https://github.com/quartzds/core-foundations/issues/1535) [quartzds/issue-#1524](https://github.com/quartzds/issue-/issues/1524)
18
+ * Merge pull request #1538 from quartzds/1170-design-ready-avatar-media---new-component ([33a94f9](https://github.com/quartzds/core-foundations/commit/33a94f9)), closes [#1538](https://github.com/quartzds/core-foundations/issues/1538)
19
+ * Merge pull request #1539 from quartzds/autofocus-globally ([6cb588a](https://github.com/quartzds/core-foundations/commit/6cb588a)), closes [#1539](https://github.com/quartzds/core-foundations/issues/1539)
20
+ * Merge pull request #1541 from quartzds/1442-design-ready-checkbox---enhancement ([0ad565e](https://github.com/quartzds/core-foundations/commit/0ad565e)), closes [#1541](https://github.com/quartzds/core-foundations/issues/1541)
21
+ * fix(qds-icon-button): make `text` property optional ([c779966](https://github.com/quartzds/core-foundations/commit/c779966))
22
+ * fix(qds-checkbox): put focus ring on main container ([ac5a04a](https://github.com/quartzds/core-foundations/commit/ac5a04a))
23
+ * fix(a11y): resolve screen reader announcements on link components ([8148e6c](https://github.com/quartzds/core-foundations/commit/8148e6c))
24
+ * fix(qds-radio): update design tokens ([922fd66](https://github.com/quartzds/core-foundations/commit/922fd66))
25
+ * fix(qds-checkbox): update new tokens and remove checkbox indicator ([7850245](https://github.com/quartzds/core-foundations/commit/7850245))
26
+ * feat(qds-radio): add `autofocus` support ([894f657](https://github.com/quartzds/core-foundations/commit/894f657))
27
+ * feat: introduce `qds-avatar-media` ([1f792c3](https://github.com/quartzds/core-foundations/commit/1f792c3))
28
+ * feat(qds-radio): move focus ring on main container and update focus contrast ([5834f8b](https://github.com/quartzds/core-foundations/commit/5834f8b))
29
+ * feat(qds-radio): remove indicator on hover and replace checked icon by checked-radio icon ([bbff813](https://github.com/quartzds/core-foundations/commit/bbff813))
30
+
31
+ ## @quartzds/core 1.0.0-beta.113 (2025-11-18)
32
+
33
+ * Merge pull request #1483 from quartzds/fix-qds-tab-watch-action ([e94f105](https://github.com/quartzds/core-foundations/commit/e94f105)), closes [#1483](https://github.com/quartzds/core-foundations/issues/1483)
34
+ * Merge pull request #1491 from quartzds/1403-missing-or-incorrect-icon-behavior-for-links ([b28cac1](https://github.com/quartzds/core-foundations/commit/b28cac1)), closes [#1491](https://github.com/quartzds/core-foundations/issues/1491)
35
+ * Merge pull request #1500 from quartzds/1407-a11y-radiocheckbox-group-keyboard-navigation-doesnt-work ([4e37eca](https://github.com/quartzds/core-foundations/commit/4e37eca)), closes [#1500](https://github.com/quartzds/core-foundations/issues/1500)
36
+ * Merge pull request #1512 from quartzds/keep-open-on-select ([8dde8f6](https://github.com/quartzds/core-foundations/commit/8dde8f6)), closes [#1512](https://github.com/quartzds/core-foundations/issues/1512)
37
+ * Merge pull request #1513 from quartzds/tabbar-arrows ([7cfb287](https://github.com/quartzds/core-foundations/commit/7cfb287)), closes [#1513](https://github.com/quartzds/core-foundations/issues/1513)
38
+ * Merge pull request #1514 from quartzds/1009-design-ready-button---enhancements-fixes ([1db9677](https://github.com/quartzds/core-foundations/commit/1db9677)), closes [#1514](https://github.com/quartzds/core-foundations/issues/1514)
39
+ * Merge pull request #1515 from quartzds/eye-bug ([da2f09c](https://github.com/quartzds/core-foundations/commit/da2f09c)), closes [#1515](https://github.com/quartzds/core-foundations/issues/1515)
40
+ * Merge pull request #1517 from quartzds/1417-a11y-updated-button-with-href-cannot-be-activated-using- ([bf457cb](https://github.com/quartzds/core-foundations/commit/bf457cb)), closes [#1517](https://github.com/quartzds/core-foundations/issues/1517)
41
+ * Merge pull request #1525 from quartzds/feat/default-loader-label ([16ba6e3](https://github.com/quartzds/core-foundations/commit/16ba6e3)), closes [#1525](https://github.com/quartzds/core-foundations/issues/1525)
42
+ * Merge pull request #1527 from quartzds/1380-token-ready-label---fixes ([b66e8b5](https://github.com/quartzds/core-foundations/commit/b66e8b5)), closes [#1527](https://github.com/quartzds/core-foundations/issues/1527)
43
+ * fix(qds-button): correct keydown handling for anchor type ([956f513](https://github.com/quartzds/core-foundations/commit/956f513))
44
+ * fix(qds-icon-button): ensure `qds-icon-button` opening link in new tab include descriptive alt text ([818317a](https://github.com/quartzds/core-foundations/commit/818317a))
45
+ * fix(qds-button): ensure button link opening in new tab include descriptive alt text ([470c50c](https://github.com/quartzds/core-foundations/commit/470c50c))
46
+ * fix(qds-inline-link): ensure external links opening in new tab include descriptive alt text ([1d2e3fd](https://github.com/quartzds/core-foundations/commit/1d2e3fd))
47
+ * fix(qds-standalone-link): ensure external links opening in new tab include descriptive alt text ([183cb6c](https://github.com/quartzds/core-foundations/commit/183cb6c))
48
+ * fix(qds-input): hide native password reveal icon in Edge ([0f8f250](https://github.com/quartzds/core-foundations/commit/0f8f250))
49
+ * fix(qds-label): introduce tooltipTarget property to allow custom tooltip anchoring ([9644610](https://github.com/quartzds/core-foundations/commit/9644610))
50
+ * fix(qds-tab): make host element focusable when tab is not closable ([205b021](https://github.com/quartzds/core-foundations/commit/205b021))
51
+ * fix(qds-checkbox): prevent label focus, show tooltip on host element focus ([4c9abd4](https://github.com/quartzds/core-foundations/commit/4c9abd4))
52
+ * fix(qds-tabbar): prevent page jump when navigating vertical tabs ([07f8441](https://github.com/quartzds/core-foundations/commit/07f8441))
53
+ * fix(qds-label): replace vertical padding with min-height for inline styling ([f507671](https://github.com/quartzds/core-foundations/commit/f507671))
54
+ * fix(qds-button): use `min-height`, remove dropdown background & deprecated token ([0777ff9](https://github.com/quartzds/core-foundations/commit/0777ff9))
55
+ * feat(qds-dropdown): add default `close on select` behavior and new `keep-open-on-select` property ([6db8565](https://github.com/quartzds/core-foundations/commit/6db8565))
56
+ * feat(qds-loader): add default labels for improved a11y ([2007db8](https://github.com/quartzds/core-foundations/commit/2007db8))
57
+ * feat(qds-switch): add noIndicator property ([28ff21d](https://github.com/quartzds/core-foundations/commit/28ff21d))
58
+ * chore: update icons packages ([760ef4a](https://github.com/quartzds/core-foundations/commit/760ef4a))
59
+
14
60
  ## @quartzds/core 1.0.0-beta.112 (2025-11-04)
15
61
 
16
62
  * Merge pull request #1485 from quartzds/1457-token-ready-form-message---fixes ([cf6434e](https://github.com/quartzds/core-foundations/commit/cf6434e)), closes [#1485](https://github.com/quartzds/core-foundations/issues/1485)
@@ -1,6 +1,8 @@
1
1
  /* qds custom elements */
2
2
  export { ActionItem as QdsActionItem } from '../dist/types/components/action-item/action-item';
3
3
  export { defineCustomElement as defineCustomElementQdsActionItem } from './qds-action-item';
4
+ export { AvatarMedia as QdsAvatarMedia } from '../dist/types/components/avatar-media/avatar-media';
5
+ export { defineCustomElement as defineCustomElementQdsAvatarMedia } from './qds-avatar-media';
4
6
  export { BadgeCounter as QdsBadgeCounter } from '../dist/types/components/badge-counter/badge-counter';
5
7
  export { defineCustomElement as defineCustomElementQdsBadgeCounter } from './qds-badge-counter';
6
8
  export { BadgeIndicator as QdsBadgeIndicator } from '../dist/types/components/badge-indicator/badge-indicator';
@@ -4,8 +4,9 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  export { g as getAssetPath, r as render, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-BEWDu8_P.js';
7
- export { r as registerIconLibrary, u as unregisterIconLibrary } from './p-Be1TAWGK.js';
7
+ export { r as registerIconLibrary, u as unregisterIconLibrary } from './p-BSPxuxTR.js';
8
8
  export { QdsActionItem, defineCustomElement as defineCustomElementQdsActionItem } from './qds-action-item.js';
9
+ export { QdsAvatarMedia, defineCustomElement as defineCustomElementQdsAvatarMedia } from './qds-avatar-media.js';
9
10
  export { QdsBadgeCounter, defineCustomElement as defineCustomElementQdsBadgeCounter } from './qds-badge-counter.js';
10
11
  export { QdsBadgeIndicator, defineCustomElement as defineCustomElementQdsBadgeIndicator } from './qds-badge-indicator.js';
11
12
  export { QdsBreadcrumbItem, defineCustomElement as defineCustomElementQdsBreadcrumbItem } from './qds-breadcrumb-item.js';
@@ -1 +1 @@
1
- {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAEA,MAAM,WAAW,GAAG,CAAC,KAAwB,KAA8B;IACzE,IAAI,KAAK,KAAK,SAAS;AAAE,QAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,SAAS;IAClE,IAAI,OAAO,KAAK,KAAK,QAAQ;QAC3B,OAAO,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,IAAI,SAAS;IAC9D,OAAO,KAAK,CAAC,SAAS;AACxB,CAAC;AAED,MAAM,UAAU,GAAG,CACjB,IAAY,EACZ,SAAoC,KACd;AACtB,IAAA,IAAI,CAAC,SAAS;AAAE,QAAA,OAAO,SAAS;AAEhC,IAAA,MAAM,MAAM,GAAG,CAAO,IAAA,EAAA,IAAI,GAAG;IAE7B,OAAO,CAAC,GAAG,SAAS;AACjB,SAAA,IAAI,CAAC,CAAC,KAAa,KAAsB,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC;AAClE,UAAE,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC;AACzB,CAAC;AAED,MAAM,UAAU,GAAG,CACjB,IAAY,EACZ,KAA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ACrC;;;;","names":[],"sources":["src/utils.ts"],"sourcesContent":["// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\nconst toClassList = (value?: Element | string): DOMTokenList | undefined => {\n if (value === undefined) return document.documentElement.classList\n if (typeof value === 'string')\n return document.querySelector(value)?.classList ?? undefined\n return value.classList\n}\n\nconst getVariant = (\n type: string,\n classList?: DOMTokenList | undefined,\n): string | undefined => {\n if (!classList) return undefined\n\n const prefix = `qds-${type}-`\n\n return [...classList]\n .find((value: string): value is string => value.startsWith(prefix))\n ?.replace(prefix, '')\n}\n\nconst setVariant = (\n type: string,\n value: string,\n element?: Element | string,\n): void => {\n const classList = toClassList(element)\n if (classList === undefined) return\n\n const prefix = `qds-${type}-`\n\n const currentVariant = getVariant(type, classList)\n if (currentVariant !== undefined)\n classList.remove(`${prefix}${currentVariant}`)\n classList.add(`${prefix}${value}`)\n}\n\ntype NonEmpty<T extends string = string> = T extends '' ? never : T\n\n/**\n * Calls all exported `defineCustomElementQds*` functions in the provided\n * module.\n *\n * @param module The module to call the exported functions from.\n */\nexport const defineCustomElements = (module: Record<string, unknown>): void => {\n for (const [key, value] of Object.entries(module))\n if (typeof value === 'function' && key.startsWith('defineCustomElementQds'))\n value()\n}\n\n/**\n * Get the currently set platform.\n *\n * @param element The element where the platform will be retrieved from. Can be\n * either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n *\n * @returns The currently set platform if one is set, `undefined` otherwise.\n */\nexport const getPlatform = <S extends string, E extends Element = Element>(\n element?: E | NonEmpty<S>,\n): string | undefined => getVariant('platform', toClassList(element))\n\n/**\n * Sets the current platform.\n *\n * The current platform represented by a `qds-platform-`-prefixed CSS class\n * will be removed.\n *\n * @param platform The platform to set. Must be a non-empty value.\n * @param element The element where the platform will be set. Can be either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n */\nexport const setPlatform = <\n P extends string,\n S extends string = string,\n E extends Element = Element,\n>(\n platform: NonEmpty<P>,\n element?: E | NonEmpty<S>,\n): void => {\n setVariant('platform', platform, element)\n}\n\n/**\n * Get the currently set theme.\n *\n * @param element The element where the theme will be retrieved from. Can be\n * either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n *\n * @returns The currently set theme if one is set, `undefined` otherwise.\n */\nexport const getTheme = <S extends string, E extends Element = Element>(\n element?: E | NonEmpty<S>,\n): string | undefined => getVariant('theme', toClassList(element))\n\n/**\n * Sets the current theme.\n *\n * The current theme represented by a `qds-theme-`-prefixed CSS class will be\n * removed.\n *\n * @param theme The theme to set. Must be a non-empty value.\n * @param element The element where the theme will be set. Can be either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n */\nexport const setTheme = <\n T extends string,\n S extends string = string,\n E extends Element = Element,\n>(\n theme: NonEmpty<T>,\n element?: E | NonEmpty<S>,\n): void => {\n setVariant('theme', theme, element)\n}\n"],"version":3}
1
+ {"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAEA,MAAM,WAAW,GAAG,CAAC,KAAwB,KAA8B;IACzE,IAAI,KAAK,KAAK,SAAS;AAAE,QAAA,OAAO,QAAQ,CAAC,eAAe,CAAC,SAAS;IAClE,IAAI,OAAO,KAAK,KAAK,QAAQ;QAC3B,OAAO,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,EAAE,SAAS,IAAI,SAAS;IAC9D,OAAO,KAAK,CAAC,SAAS;AACxB,CAAC;AAED,MAAM,UAAU,GAAG,CACjB,IAAY,EACZ,SAAoC,KACd;AACtB,IAAA,IAA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,UAAU,CAAC,UAAU,EAAE,QAAQ,EAAE,OAAO,CAAC;AAC3C;AAEA;;;;;;;;;;;;;AAaG;AACU,MAAA,QAAQ,GAAG,CACtB,OAAyB,KACF,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC;AAEjE;;;;;;;;;;;;;;AAcG;MACU,QAAQ,GAAG,CAKtB,KAAkB,EAClB,OAAyB,KACjB;AACR,IAAA,UAAU,CAAC,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC;AACrC;;;;","names":[],"sources":["src/utils.ts"],"sourcesContent":["// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\nconst toClassList = (value?: Element | string): DOMTokenList | undefined => {\n if (value === undefined) return document.documentElement.classList\n if (typeof value === 'string')\n return document.querySelector(value)?.classList ?? undefined\n return value.classList\n}\n\nconst getVariant = (\n type: string,\n classList?: DOMTokenList | undefined,\n): string | undefined => {\n if (!classList) return undefined\n\n const prefix = `qds-${type}-`\n\n return [...classList]\n .find((value: string): value is string => value.startsWith(prefix))\n ?.replace(prefix, '')\n}\n\nconst setVariant = (\n type: string,\n value: string,\n element?: Element | string,\n): void => {\n const classList = toClassList(element)\n if (classList === undefined) return\n\n const prefix = `qds-${type}-`\n\n const currentVariant = getVariant(type, classList)\n if (currentVariant !== undefined)\n classList.remove(`${prefix}${currentVariant}`)\n classList.add(`${prefix}${value}`)\n}\n\ntype NonEmpty<T extends string = string> = T extends '' ? never : T\n\n/**\n * Calls all exported `defineCustomElementQds*` functions in the provided\n * module.\n *\n * @param module The module to call the exported functions from.\n */\nexport const defineCustomElements = (module: Record<string, unknown>): void => {\n for (const [key, value] of Object.entries(module))\n if (typeof value === 'function' && key.startsWith('defineCustomElementQds'))\n value()\n}\n\n/**\n * Get the currently set platform.\n *\n * @param element The element where the platform will be retrieved from. Can be\n * either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n *\n * @returns The currently set platform if one is set, `undefined` otherwise.\n */\nexport const getPlatform = <S extends string, E extends Element = Element>(\n element?: E | NonEmpty<S>,\n): string | undefined => getVariant('platform', toClassList(element))\n\n/**\n * Sets the current platform.\n *\n * The current platform represented by a `qds-platform-`-prefixed CSS class\n * will be removed.\n *\n * @param platform The platform to set. Must be a non-empty value.\n * @param element The element where the platform will be set. Can be either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n */\nexport const setPlatform = <\n P extends string,\n S extends string = string,\n E extends Element = Element,\n>(\n platform: NonEmpty<P>,\n element?: E | NonEmpty<S>,\n): void => {\n setVariant('platform', platform, element)\n}\n\n/**\n * Get the currently set theme.\n *\n * @param element The element where the theme will be retrieved from. Can be\n * either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n *\n * @returns The currently set theme if one is set, `undefined` otherwise.\n */\nexport const getTheme = <S extends string, E extends Element = Element>(\n element?: E | NonEmpty<S>,\n): string | undefined => getVariant('theme', toClassList(element))\n\n/**\n * Sets the current theme.\n *\n * The current theme represented by a `qds-theme-`-prefixed CSS class will be\n * removed.\n *\n * @param theme The theme to set. Must be a non-empty value.\n * @param element The element where the theme will be set. Can be either:\n *\n * - A non-empty CSS selector string\n * - A reference to an\n * [`Element`](https://developer.mozilla.org/docs/Web/API/Element)\n *\n * By default, this is the root node of the current document.\n */\nexport const setTheme = <\n T extends string,\n S extends string = string,\n E extends Element = Element,\n>(\n theme: NonEmpty<T>,\n element?: E | NonEmpty<S>,\n): void => {\n setVariant('theme', theme, element)\n}\n"],"version":3}
@@ -0,0 +1,278 @@
1
+ /*!
2
+ * SPDX-FileCopyrightText: © 2025 Schneider Electric
3
+ *
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */
6
+ import { g as getAssetPath, p as proxyCustomElement, H, c as createEvent, h } from './p-BEWDu8_P.js';
7
+ import { b as inheritAriaAttributes } from './p-CzJQDr3N.js';
8
+
9
+ const checkedSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVjdHJpYyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQXBhY2hlLTIuMCAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1taXRlcmxpbWl0PSIxNiIgZD0ibTEyLjExMSAzLjUtNS45MTggOUwzLjg5IDkuMDI0Ii8+PC9zdmc+';
10
+
11
+ const checkedRadioSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVjdHJpYyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQXBhY2hlLTIuMCAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0iY3VycmVudENvbG9yIiBkPSJNOCAzQzUuMjQzIDMgMyA1LjI0MyAzIDhzMi4yNDMgNSA1IDUgNS0yLjI0MyA1LTUtMi4yNDMtNS01LTVaIi8+PC9zdmc+';
12
+
13
+ const clearSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVjdHJpYyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQXBhY2hlLTIuMCAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My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wIDIuMTQ5IDIuMTQ5IDAgMCAwLTQuMjk3IDBaIi8+PC9zdmc+';
16
+
17
+ const dropdownSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVjdHJpYyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQXBhY2hlLTIuMCAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNyAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1taXRlcmxpbWl0PSIxNiIgZD0iTTE1LjcwNyA0LjQ0M2MtMS40NSAxLjQ1LTcuNSA3LjExMy03LjUgNy4xMTNzLTYuMDUtNS42NjMtNy41LTcuMTEzIi8+PC9zdmc+';
18
+
19
+ const externalLinkSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVjdHJpYyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQXBhY2hlLTIuMCAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1taXRlcmxpbWl0PSIxNiIgZD0iTTEwLjUuNWg1bTAgMHY1bTAtNUw5LjY5NiA2LjMwNU04LjUgMy41aC04djEyaDEydi04Ii8+PC9zdmc+';
20
+
21
+ const indeterminateSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVj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HR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1taXRlcmxpbWl0PSIxNiIgZD0iTTggMy41YTQuNSA0LjUgMCAxIDEgMCA5IDQuNSA0LjUgMCAwIDEgMC05WiIvPjwvc3ZnPg==';
56
+
57
+ const toggleOnSvg = 'data:image/svg+xml;base64,PCEtLSBTUERYLUZpbGVDb3B5cmlnaHRUZXh0OiDCqSAyMDI1IFNjaG5laWRlciBFbGVjdHJpYyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogQXBhY2hlLTIuMCAtLT4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJzcXVhcmUiIHN0cm9rZS1taXRlcmxpbWl0PSIxNiIgZD0iTTggMy41djkiLz48L3N2Zz4=';
58
+
59
+ // SPDX-FileCopyrightText: © 2024 Schneider Electric
60
+ //
61
+ // SPDX-License-Identifier: Apache-2.0
62
+ const icons = {
63
+ /* eslint-disable @typescript-eslint/naming-convention */
64
+ clear: clearSvg,
65
+ checked: checkedSvg,
66
+ 'checked-radio': checkedRadioSvg,
67
+ draggable: draggableSvg,
68
+ dropdown: dropdownSvg,
69
+ 'external-link': externalLinkSvg,
70
+ 'external-new-tab-link': externalLinkSvg,
71
+ indeterminate: indeterminateSvg,
72
+ 'input-month': inputMonthSvg,
73
+ 'input-tel': inputTelSvg,
74
+ 'input-week': inputWeekSvg,
75
+ 'input-url': inputUrlSvg,
76
+ 'input-time': inputTimeSvg,
77
+ 'input-date': inputDateSvg,
78
+ 'input-datetime-local': inputDatetimeLocalSvg,
79
+ 'input-email': inputEmailSvg,
80
+ 'input-search': inputSearchSvg,
81
+ 'input-password-hide': inputPasswordHideSvg,
82
+ 'input-password-show': inputPasswordShowSvg,
83
+ navigation: navigationSvg,
84
+ next: nextSvg,
85
+ close: statusErrorSvg,
86
+ 'status-error': statusErrorSvg,
87
+ 'status-info': statusInfoSvg,
88
+ 'status-success': checkedSvg,
89
+ 'status-warning': statusWarningSvg,
90
+ 'toggle-off': toggleOffSvg,
91
+ 'toggle-on': toggleOnSvg,
92
+ /* eslint-enable @typescript-eslint/naming-convention */
93
+ };
94
+ const coreLibrary = {
95
+ name: 'core',
96
+ resolver: (name) => icons[name] ?? '',
97
+ };
98
+
99
+ // SPDX-FileCopyrightText: © 2024 Schneider Electric
100
+ //
101
+ // SPDX-License-Identifier: Apache-2.0
102
+ const library = {
103
+ name: 'default',
104
+ resolver: (name) => getAssetPath(`/icons/${name}.svg`),
105
+ };
106
+
107
+ // SPDX-FileCopyrightText: © 2024 Schneider Electric
108
+ //
109
+ // SPDX-License-Identifier: Apache-2.0
110
+ let registry = [library, coreLibrary];
111
+ /**
112
+ * Returns a library from the registry.
113
+ */
114
+ const getIconLibrary = (name) => registry.find((library) => library.name === name);
115
+ /**
116
+ * Removes an icon library from the registry.
117
+ */
118
+ const unregisterIconLibrary = (name) => {
119
+ registry = registry.filter((library) => library.name !== name);
120
+ };
121
+ /**
122
+ * Adds an icon library to the registry or overrides an existing one.
123
+ */
124
+ const registerIconLibrary = (name, options) => {
125
+ unregisterIconLibrary(name);
126
+ registry.push({
127
+ name,
128
+ ...options,
129
+ });
130
+ };
131
+
132
+ // SPDX-FileCopyrightText: © 2024 Schneider Electric
133
+ //
134
+ // SPDX-License-Identifier: Apache-2.0
135
+ const cachedIconRequests = new Map();
136
+ const requestIcon = (url) => {
137
+ const cachedIconRequest = cachedIconRequests.get(url);
138
+ if (cachedIconRequest)
139
+ return Promise.resolve(cachedIconRequest);
140
+ const iconPromise = fetch(url, { mode: 'cors' }).then(async (response) => {
141
+ const iconResponse = {
142
+ ok: response.ok,
143
+ status: response.status,
144
+ data: await response.text(),
145
+ };
146
+ if (response.ok) {
147
+ const div = document.createElement('div');
148
+ div.innerHTML = iconResponse.data;
149
+ const child = div.firstElementChild;
150
+ iconResponse.data =
151
+ child?.tagName.toLowerCase() === 'svg' ? child.outerHTML : '';
152
+ }
153
+ cachedIconRequests.set(url, iconResponse);
154
+ return iconResponse;
155
+ });
156
+ cachedIconRequests.set(url, iconPromise);
157
+ return iconPromise;
158
+ };
159
+
160
+ const iconCss = ":host([hidden]){display:none!important}:host{display:inline-block;height:1em;width:1em}.qds-container{position:relative}.qds-icon-wrapper{display:contents}svg{display:block;fill:currentcolor;height:100%;width:100%}.qds-click-target{height:var(--qds-experimental-icon-click-target-size);left:calc((var(--qds-experimental-icon-click-target-size) - 100%)*-1/2);position:absolute;top:calc((var(--qds-experimental-icon-click-target-size) - 100%)*-1/2);width:var(--qds-experimental-icon-click-target-size)}";
161
+
162
+ // SPDX-FileCopyrightText: © 2024 Schneider Electric
163
+ //
164
+ // SPDX-License-Identifier: Apache-2.0
165
+ var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
166
+ if (kind === "a" && !f)
167
+ throw new TypeError("Private accessor was defined without a getter");
168
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
169
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
170
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
171
+ };
172
+ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
173
+ if (kind === "m")
174
+ throw new TypeError("Private method is not writable");
175
+ if (kind === "a" && !f)
176
+ throw new TypeError("Private accessor was defined without a setter");
177
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
178
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
179
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
180
+ };
181
+ var _Icon_inheritedAttributes;
182
+ let parser;
183
+ const Icon = /*@__PURE__*/ proxyCustomElement(class Icon extends H {
184
+ constructor(registerHost) {
185
+ super();
186
+ if (registerHost !== false) {
187
+ this.__registerHost();
188
+ }
189
+ this.__attachShadow();
190
+ this.loadEmitter = createEvent(this, "qdsLoad", 6);
191
+ this.errorEmitter = createEvent(this, "qdsError", 6);
192
+ /**
193
+ * The name of a registered icon library.
194
+ */
195
+ this.library = 'default';
196
+ this.svg = '';
197
+ _Icon_inheritedAttributes.set(this, {});
198
+ }
199
+ async setIcon() {
200
+ if (!this.name)
201
+ return;
202
+ const library = getIconLibrary(this.library);
203
+ if (!library)
204
+ return;
205
+ const url = library.resolver(this.name);
206
+ if (!url) {
207
+ this.svg = '';
208
+ return;
209
+ }
210
+ try {
211
+ const request = await requestIcon(url);
212
+ if (!request.ok) {
213
+ this.svg = '';
214
+ this.errorEmitter.emit();
215
+ return;
216
+ }
217
+ // Create an instance of the DOM parser. We do it here instead of at the
218
+ // top-level to support SSR while maintaining a single parser instance
219
+ // for optimal performance.
220
+ parser || (parser = new DOMParser());
221
+ const document = parser.parseFromString(request.data, 'text/html');
222
+ const svgElement = document.body.querySelector('svg');
223
+ if (svgElement === null) {
224
+ this.svg = '';
225
+ this.errorEmitter.emit();
226
+ }
227
+ else {
228
+ for (const [key, value] of Object.entries(__classPrivateFieldGet(this, _Icon_inheritedAttributes, "f")))
229
+ if (value !== undefined)
230
+ svgElement.setAttribute(key, value);
231
+ this.svg = svgElement.outerHTML;
232
+ this.loadEmitter.emit();
233
+ }
234
+ }
235
+ catch {
236
+ this.errorEmitter.emit();
237
+ }
238
+ }
239
+ async componentWillLoad() {
240
+ __classPrivateFieldSet(this, _Icon_inheritedAttributes, inheritAriaAttributes(this.host), "f");
241
+ await this.setIcon();
242
+ }
243
+ render() {
244
+ return (h("div", { key: '09da0f6208ff9edd9fcc4d98bcdda448541b992c', class: "qds-container" }, h("span", { key: '67ab471a75ef091d6ef4b0c975089634cf26998a', class: "qds-icon-wrapper", innerHTML: this.svg }), h("div", { key: 'b185da5d69cc6b7e3f981b7e1ef20b19cf4b5fe1', class: "qds-click-target" })));
245
+ }
246
+ get host() { return this; }
247
+ static get watchers() { return {
248
+ "name": ["setIcon"],
249
+ "library": ["setIcon"]
250
+ }; }
251
+ static get style() { return iconCss; }
252
+ }, [257, "qds-icon", {
253
+ "name": [1],
254
+ "library": [1],
255
+ "svg": [32]
256
+ }, undefined, {
257
+ "name": ["setIcon"],
258
+ "library": ["setIcon"]
259
+ }]);
260
+ _Icon_inheritedAttributes = new WeakMap();
261
+ function defineCustomElement() {
262
+ if (typeof customElements === "undefined") {
263
+ return;
264
+ }
265
+ const components = ["qds-icon"];
266
+ components.forEach(tagName => { switch (tagName) {
267
+ case "qds-icon":
268
+ if (!customElements.get(tagName)) {
269
+ customElements.define(tagName, Icon);
270
+ }
271
+ break;
272
+ } });
273
+ }
274
+
275
+ export { Icon as I, defineCustomElement as d, registerIconLibrary as r, unregisterIconLibrary as u };
276
+ //# sourceMappingURL=p-BSPxuxTR.js.map
277
+
278
+ //# sourceMappingURL=p-BSPxuxTR.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-BSPxuxTR.js","mappings":";;;;;;;;AAAA,MAAM,UAAU,GAAG,wZAAwZ;;ACA3a,MAAM,eAAe,GAAG,gXAAgX;;ACAxY,MAAM,QAAQ,GAAG,4eAA4e;;ACA7f,MAAM,YAAY,GAAG,oxBAAoxB;;ACAzyB,MAAM,WAAW,GAAG,wcAAwc;;ACA5d,MAAM,eAAe,GAAG,obAAob;;ACA5c,MAAM,gBAAgB,GAAG,4XAA4X;;ACArZ,MAAM,YAAY,GAAG,gvEAAgvE;;ACArwE,MAAM,qBAAqB,GAAG,gvEAAgvE;;ACA9wE,MAAM,aAAa,GAAG,4lBAA4lB;;ACAlnB,MAAM,aAAa,GAAG,4xCAA4xC;;ACAlzC,MAAM,oBAAoB,GAAG,4jBAA4jB;;ACA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CAAC,YAAY,CAAC,IAAI,EAAE;;;AAIrB,IAAA,MAAM,iBAAiB,GAAA;AAC5B,QAAA,sBAAA,CAAA,IAAI,6BAAwB,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC,EAAA,GAAA,CAAA;AAC5D,QAAA,MAAM,IAAI,CAAC,OAAO,EAAE;;IAGf,MAAM,GAAA;QACX,QACE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,eAAe,EAAA,EACxB,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,kBAAkB,EAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAI,CAAA,EACtD,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,kBAAkB,EAAG,CAAA,CAC5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["clear","checked","checkedRadio","draggable","dropdown","externalLink","indeterminate","inputMonth","inputTel","inputWeek","inputUrl","inputTime","inputDate","inputDatetimeLocal","inputEmail","inputSearch","inputPasswordHide","inputPasswordShow","navigation","next","statusError","statusInfo","statusWarning","toggleOff","toggleOn","defaultLibrary","__stencil_proxyCustomElement","HTMLElement"],"sources":["../../node_modules/@quartzds/generic-icons-core/dist/checked.svg","../../node_modules/@quartzds/generic-icons-core/dist/checked-radio.svg","../../node_modules/@quartzds/generic-icons-core/dist/clear.svg","../../node_modules/@quartzds/generic-icons-core/dist/draggable.svg","../../node_modules/@quartzds/generic-icons-core/dist/dropdown.svg","../../node_modules/@quartzds/generic-icons-core/dist/external-link.svg","../../node_modules/@quartzds/generic-icons-core/dist/indeterminate.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-date.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-datetime-local.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-email.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-month.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-password-hide.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-password-show.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-search.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-tel.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-time.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-url.svg","../../node_modules/@quartzds/generic-icons-core/dist/input-week.svg","../../node_modules/@quartzds/generic-icons-core/dist/navigation.svg","../../node_modules/@quartzds/generic-icons-core/dist/next.svg","../../node_modules/@quartzds/generic-icons-core/dist/status-error.svg","../../node_modules/@quartzds/generic-icons-core/dist/status-info.svg","../../node_modules/@quartzds/generic-icons-core/dist/status-warning.svg","../../node_modules/@quartzds/generic-icons-core/dist/toggle-off.svg","../../node_modules/@quartzds/generic-icons-core/dist/toggle-on.svg","src/components/icon/core-library.ts","src/components/icon/default-library.ts","src/components/icon/library.ts","src/components/icon/request.ts","src/components/icon/icon.css?tag=qds-icon&encapsulation=shadow","src/components/icon/icon.tsx"],"sourcesContent":["<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"m12.111 3.5-5.918 9L3.89 9.024\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M8 3C5.243 3 3 5.243 3 8s2.243 5 5 5 5-2.243 5-5-2.243-5-5-5Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M10.827 10.846 5.17 5.189m5.665-.027-5.657 5.657M8 .5a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 18 20\"><path fill=\"currentColor\" d=\"M4.96 0a2.148 2.148 0 1 1 0 4.297 2.148 2.148 0 0 1 0-4.296ZM2.812 17.852a2.149 2.149 0 1 0 4.298 0 2.149 2.149 0 0 0-4.298 0Zm0-7.851a2.149 2.149 0 1 0 4.298 0 2.149 2.149 0 0 0-4.298 0Zm10.079-7.852a2.149 2.149 0 1 0 4.297 0 2.149 2.149 0 0 0-4.297 0Zm0 15.703a2.149 2.149 0 1 0 4.297 0 2.149 2.149 0 0 0-4.297 0Zm0-7.851a2.149 2.149 0 1 0 4.297 0 2.149 2.149 0 0 0-4.297 0Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 17 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.707 4.443c-1.45 1.45-7.5 7.113-7.5 7.113s-6.05-5.663-7.5-7.113\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M10.5.5h5m0 0v5m0-5L9.696 6.305M8.5 3.5h-8v12h12v-8\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M3.5 8h9\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M7.06 11.294q.285.38.284.939 0 .774-.568 1.232-.57.457-1.537.459-.552 0-1.062-.171a2.6 2.6 0 0 1-.866-.475.517.517 0 0 1-.089-.717.31.31 0 0 1 .251-.132q.084 0 .153.029t.187.098q.357.237.68.365c.225.087.464.13.705.127q.56 0 .833-.225t.272-.684q0-.45-.285-.667c-.285-.217-.483-.217-.879-.217h-.484a.37.37 0 0 1-.302-.132.47.47 0 0 1-.106-.301q0-.178.106-.306a.37.37 0 0 1 .302-.127h.339q1.164 0 1.164-.874 0-.41-.246-.628-.245-.22-.68-.221-.62 0-1.325.492a2 2 0 0 1-.187.098.4.4 0 0 1-.153.029.31.31 0 0 1-.251-.132.5.5 0 0 1-.106-.318.46.46 0 0 1 .047-.217c.047-.089.081-.12.149-.183q.357-.297.854-.471c.497-.174.669-.175 1.015-.175q.883 0 1.406.434.522.433.523 1.155c0 .307-.09.607-.259.862a1.43 1.43 0 0 1-.701.539q.534.136.82.514zm5.751 2.128q0 .45-.509.45H9.431q-.518 0-.518-.45 0-.434.518-.434h.883V9.115l-.815.501a.45.45 0 0 1-.213.068.37.37 0 0 1-.301-.153.53.53 0 0 1-.123-.34q0-.246.221-.382l1.317-.816a.96.96 0 0 1 .484-.153q.237 0 .382.145a.54.54 0 0 1 .144.399v4.603h.892q.51 0 .509.434z\"/><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.5 6.5H.5m6-4h5m-5 0v-.78C6.5 1.224 6.278.5 5.463.5h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066m.999-2h-4l-.247.002A1.764 1.764 0 0 0 .5 4.267v9.469c0 .975.79 1.765 1.765 1.765h11.471c.975 0 1.765-.79 1.765-1.765V4.263c0-.973-.789-1.763-1.763-1.763h-1.237m.999 0h-2m0 0v-.78c0-.496-.222-1.22-1.037-1.22h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"currentColor\" d=\"M7.06 11.294q.285.38.284.939 0 .774-.568 1.232-.57.457-1.537.459-.552 0-1.062-.171a2.6 2.6 0 0 1-.866-.475.517.517 0 0 1-.089-.717.31.31 0 0 1 .251-.132q.084 0 .153.029t.187.098q.357.237.68.365c.225.087.464.13.705.127q.56 0 .833-.225t.272-.684q0-.45-.285-.667c-.285-.217-.483-.217-.879-.217h-.484a.37.37 0 0 1-.302-.132.47.47 0 0 1-.106-.301q0-.178.106-.306a.37.37 0 0 1 .302-.127h.339q1.164 0 1.164-.874 0-.41-.246-.628-.245-.22-.68-.221-.62 0-1.325.492a2 2 0 0 1-.187.098.4.4 0 0 1-.153.029.31.31 0 0 1-.251-.132.5.5 0 0 1-.106-.318.46.46 0 0 1 .047-.217c.047-.089.081-.12.149-.183q.357-.297.854-.471c.497-.174.669-.175 1.015-.175q.883 0 1.406.434.522.433.523 1.155c0 .307-.09.607-.259.862a1.43 1.43 0 0 1-.701.539q.534.136.82.514zm5.751 2.128q0 .45-.509.45H9.431q-.518 0-.518-.45 0-.434.518-.434h.883V9.115l-.815.501a.45.45 0 0 1-.213.068.37.37 0 0 1-.301-.153.53.53 0 0 1-.123-.34q0-.246.221-.382l1.317-.816a.96.96 0 0 1 .484-.153q.237 0 .382.145a.54.54 0 0 1 .144.399v4.603h.892q.51 0 .509.434z\"/><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.5 6.5H.5m6-4h5m-5 0v-.78C6.5 1.224 6.278.5 5.463.5h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066m.999-2h-4l-.247.002A1.764 1.764 0 0 0 .5 4.267v9.469c0 .975.79 1.765 1.765 1.765h11.471c.975 0 1.765-.79 1.765-1.765V4.263c0-.973-.789-1.763-1.763-1.763h-1.237m.999 0h-2m0 0v-.78c0-.496-.222-1.22-1.037-1.22h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.369 3.137 7.99 8.5.734 2.734m14.635.403a1.2 1.2 0 0 0-1.06-.637H1.3a.8.8 0 0 0-.566.234m14.635.403L15.5 5.5v7.2a.8.8 0 0 1-.8.8H1.3a.8.8 0 0 1-.8-.8V3.3a.8.8 0 0 1 .234-.566\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.5 6.5H.5m6-4h5m-5 0v-.78C6.5 1.224 6.278.5 5.463.5h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066m.999-2h-4l-.247.002A1.764 1.764 0 0 0 .5 4.267v9.469c0 .975.79 1.765 1.765 1.765h11.471c.975 0 1.765-.79 1.765-1.765V4.263c0-.973-.789-1.763-1.763-1.763h-1.237m.999 0h-2m0 0v-.78c0-.496-.222-1.22-1.037-1.22h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066\"/><path fill=\"currentColor\" d=\"M3 10a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm-9 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 17 17\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"m.707.707 15 15m0-6.646c-.365-.704-4.303-5.67-8.088-5.387C4.207 3.93 2.288 6.071.707 9.06c0 0 2.828 4.85 9.126 3.416 2.661-.606 3.477-2.397 5.874-3.415Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 17 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.572 8.854c-.365-.704-4.304-5.67-8.088-5.387C4.07 3.722 2.153 5.864.572 8.853c0 0 2.828 4.85 9.126 3.416 2.66-.606 3.477-2.397 5.874-3.415Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 17 17\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"m15.506 15.5-4.254-4.292m0 0a6.284 6.284 0 1 0-1.763 1.253c.755-.412 1.143-.684 1.763-1.253ZM6.565 2.849c-.99 0-1.923.386-2.624 1.087a3.68 3.68 0 0 0-1.047 2.102c-.047.34-.047.685-.003 1.024\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M12.5 13.933c0 .866-.702 1.567-1.567 1.567H5.068a1.567 1.567 0 0 1-1.567-1.567V2.062C3.501 1.199 4.2.5 5.063.5h5.876c.863 0 1.562.699 1.562 1.562z\"/><path fill=\"currentColor\" d=\"M8.5 2.5h-2Zm0 11h-1Z\"/><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M8.5 2.5h-2m2 11h-1\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M3.955 4.743 2.84 3.627m10.33-.025-1.611-1.608a2.29 2.29 0 0 1 3.94 1.582 2.3 2.3 0 0 1-.67 1.617l-.033.033-1.634-1.6-1.248 1.205m-7.296 8.362-1.374 1.769M8.262 1.2l-.217 1.607M8.262 1.2l1.037.183M8.262 1.2l-.918-.161m4.542 6.321L8.5 8.781v2.718m3.414-6.668a5.43 5.43 0 0 0-3.806-1.548A5.445 5.445 0 0 0 2.66 8.726a5.446 5.446 0 0 0 5.448 5.444 5.446 5.446 0 0 0 5.448-5.444c-.037-1.825-.357-2.65-1.642-3.895Zm-.32 8.362 1.374 1.769M4.437 1.994l-.032-.034A2.29 2.29 0 0 0 .5 3.576a2.28 2.28 0 0 0 .67 1.617l.034.033 1.609-1.609z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M7.95.5v14.987m0-14.988S3.64 4.525 3.64 8.96c0 3.294 4.308 6.528 4.308 6.528M7.948.5s4.338 4.027 4.338 8.46c0 3.295-4.338 6.528-4.338 6.528m0 0a7.5 7.5 0 0 1-5.117-2.075C1.452 12.094.602 10.205.5 8.3m7.45 7.187a7.494 7.494 0 0 0 7.534-6.975M.5 8.3C.5 5 2.08 3.027 3.63 1.912a7.494 7.494 0 0 1 11.854 6.6M.5 8.3c7.893 2.542 14.357.43 14.984.212\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M15.5 6.5H.5m6-4h5m-5 0v-.78C6.5 1.224 6.278.5 5.463.5h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066m.999-2h-4l-.247.002A1.764 1.764 0 0 0 .5 4.267v9.469c0 .975.79 1.765 1.765 1.765h11.471c.975 0 1.765-.79 1.765-1.765V4.263c0-.973-.789-1.763-1.763-1.763h-1.237m.999 0h-2m0 0v-.78c0-.496-.222-1.22-1.037-1.22h.021c-.755 0-.983.724-.983 1.22v1.324c0 .786.074 1.456 1.066 1.456h-.066\"/><path fill=\"currentColor\" d=\"M3 12a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm3 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M4.443.5C5.893 1.95 11.556 8 11.556 8s-5.663 6.05-7.113 7.5\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M4.443.5C5.893 1.95 11.556 8 11.556 8s-5.663 6.05-7.113 7.5\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M10.827 10.846 5.17 5.189m5.665-.027-5.657 5.657M8 .5a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" stroke-width=\"1.079\" d=\"M15.5 8a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0Z\"/><path fill=\"currentColor\" d=\"M8 4.78q-.483 0-.751-.241-.27-.242-.269-.668 0-.441.269-.676c.269-.235.43-.234.751-.234q.495 0 .758.234c.262.234.263.382.263.676q0 .428-.263.668-.262.24-.758.241Zm0 8.218q-.414 0-.634-.248-.22-.25-.221-.689v-5.06q0-.456.221-.696.22-.242.634-.242c.414 0 .49.081.641.242q.228.242.228.696v5.06q0 .44-.221.689-.22.248-.648.248Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M8 .5a7.5 7.5 0 1 0 0 15 7.5 7.5 0 0 0 0-15Z\"/><path fill=\"currentColor\" d=\"M8.064 13.109q-.484 0-.777-.3-.292-.3-.292-.77 0-.457.292-.748.293-.292.777-.292.5 0 .778.292t.278.748q0 .47-.278.77-.279.3-.778.3Zm0-2.964a.53.53 0 0 1-.42-.172q-.15-.17-.178-.484l-.428-5.445q-.042-.527.228-.848t.798-.321q.513 0 .778.321.264.321.221.848l-.429 5.445q-.014.314-.164.484a.51.51 0 0 1-.406.172Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M8 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9Z\"/></svg>","<!-- SPDX-FileCopyrightText: © 2025 Schneider Electric SPDX-License-Identifier: Apache-2.0 -->\n<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 16 16\"><path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"square\" stroke-miterlimit=\"16\" d=\"M8 3.5v9\"/></svg>","// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\nimport checked from '@quartzds/generic-icons-core/checked.svg'\nimport checkedRadio from '@quartzds/generic-icons-core/checked-radio.svg'\nimport clear from '@quartzds/generic-icons-core/clear.svg'\nimport draggable from '@quartzds/generic-icons-core/draggable.svg'\nimport dropdown from '@quartzds/generic-icons-core/dropdown.svg'\nimport externalLink from '@quartzds/generic-icons-core/external-link.svg'\nimport indeterminate from '@quartzds/generic-icons-core/indeterminate.svg'\nimport inputDate from '@quartzds/generic-icons-core/input-date.svg'\nimport inputDatetimeLocal from '@quartzds/generic-icons-core/input-datetime-local.svg'\nimport inputEmail from '@quartzds/generic-icons-core/input-email.svg'\nimport inputMonth from '@quartzds/generic-icons-core/input-month.svg'\nimport inputPasswordHide from '@quartzds/generic-icons-core/input-password-hide.svg'\nimport inputPasswordShow from '@quartzds/generic-icons-core/input-password-show.svg'\nimport inputSearch from '@quartzds/generic-icons-core/input-search.svg'\nimport inputTel from '@quartzds/generic-icons-core/input-tel.svg'\nimport inputTime from '@quartzds/generic-icons-core/input-time.svg'\nimport inputUrl from '@quartzds/generic-icons-core/input-url.svg'\nimport inputWeek from '@quartzds/generic-icons-core/input-week.svg'\nimport navigation from '@quartzds/generic-icons-core/navigation.svg'\nimport next from '@quartzds/generic-icons-core/next.svg'\nimport statusError from '@quartzds/generic-icons-core/status-error.svg'\nimport statusInfo from '@quartzds/generic-icons-core/status-info.svg'\nimport statusWarning from '@quartzds/generic-icons-core/status-warning.svg'\nimport toggleOff from '@quartzds/generic-icons-core/toggle-off.svg'\nimport toggleOn from '@quartzds/generic-icons-core/toggle-on.svg'\n\nimport type { IconLibrary } from './library'\n\nconst icons: Record<string, string | undefined> = {\n /* eslint-disable @typescript-eslint/naming-convention */\n clear,\n checked,\n 'checked-radio': checkedRadio,\n draggable,\n dropdown,\n 'external-link': externalLink,\n 'external-new-tab-link': externalLink,\n indeterminate,\n 'input-month': inputMonth,\n 'input-tel': inputTel,\n 'input-week': inputWeek,\n 'input-url': inputUrl,\n 'input-time': inputTime,\n 'input-date': inputDate,\n 'input-datetime-local': inputDatetimeLocal,\n 'input-email': inputEmail,\n 'input-search': inputSearch,\n 'input-password-hide': inputPasswordHide,\n 'input-password-show': inputPasswordShow,\n navigation,\n next,\n close: statusError,\n 'status-error': statusError,\n 'status-info': statusInfo,\n 'status-success': checked,\n 'status-warning': statusWarning,\n 'toggle-off': toggleOff,\n 'toggle-on': toggleOn,\n /* eslint-enable @typescript-eslint/naming-convention */\n}\n\nconst coreLibrary: IconLibrary = {\n name: 'core',\n resolver: (name) => icons[name] ?? '',\n}\n\nexport default coreLibrary\n","// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\nimport { getAssetPath } from '@stencil/core'\n\nimport type { IconLibrary } from './library'\n\nconst library: IconLibrary = {\n name: 'default',\n resolver: (name) => getAssetPath(`/icons/${name}.svg`),\n}\n\nexport default library\n","// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { Except } from 'type-fest'\n\nimport coreLibrary from './core-library'\nimport defaultLibrary from './default-library'\n\nexport type IconLibraryResolver = (name: string) => string\nexport interface IconLibrary {\n name: string\n resolver: IconLibraryResolver\n}\n\nlet registry: IconLibrary[] = [defaultLibrary, coreLibrary]\n\n/**\n * Returns a library from the registry.\n */\nexport const getIconLibrary = (name: string): IconLibrary | undefined =>\n registry.find((library) => library.name === name)\n\n/**\n * Removes an icon library from the registry.\n */\nexport const unregisterIconLibrary = (name: string): void => {\n registry = registry.filter((library) => library.name !== name)\n}\n\n/**\n * Adds an icon library to the registry or overrides an existing one.\n */\nexport const registerIconLibrary = (\n name: string,\n options: Except<IconLibrary, 'name'>,\n): void => {\n unregisterIconLibrary(name)\n registry.push({\n name,\n ...options,\n })\n}\n","// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\ninterface IconResponse {\n ok: boolean\n status: number\n data: string\n}\n\nconst cachedIconRequests = new Map<\n string,\n IconResponse | Promise<IconResponse>\n>()\n\nconst requestIcon = (url: string): Promise<IconResponse> => {\n const cachedIconRequest = cachedIconRequests.get(url)\n if (cachedIconRequest) return Promise.resolve(cachedIconRequest)\n\n const iconPromise = fetch(url, { mode: 'cors' }).then(async (response) => {\n const iconResponse: IconResponse = {\n ok: response.ok,\n status: response.status,\n data: await response.text(),\n }\n if (response.ok) {\n const div = document.createElement('div')\n div.innerHTML = iconResponse.data\n const child = div.firstElementChild\n iconResponse.data =\n child?.tagName.toLowerCase() === 'svg' ? child.outerHTML : ''\n }\n\n cachedIconRequests.set(url, iconResponse)\n return iconResponse\n })\n cachedIconRequests.set(url, iconPromise)\n return iconPromise\n}\n\nexport default requestIcon\n","/*\n * SPDX-FileCopyrightText: © 2024 Schneider Electric\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\n@import url('../shared.css');\n\n:host {\n display: inline-block;\n height: 1em;\n width: 1em;\n}\n\n.qds-container {\n position: relative;\n}\n\n.qds-icon-wrapper {\n display: contents;\n}\n\nsvg {\n display: block;\n fill: currentcolor;\n height: 100%;\n width: 100%;\n}\n\n.qds-click-target {\n height: var(--qds-experimental-icon-click-target-size);\n left: calc(-1 * (var(--qds-experimental-icon-click-target-size) - 100%) / 2);\n position: absolute;\n top: calc(-1 * (var(--qds-experimental-icon-click-target-size) - 100%) / 2);\n width: var(--qds-experimental-icon-click-target-size);\n}\n","// SPDX-FileCopyrightText: © 2024 Schneider Electric\n//\n// SPDX-License-Identifier: Apache-2.0\n\nimport type { ComponentInterface, EventEmitter } from '@stencil/core'\nimport { Component, Element, Event, h, Prop, State, Watch } from '@stencil/core'\n\nimport type { Attributes } from '../../helpers'\nimport { inheritAriaAttributes } from '../../helpers'\nimport { getIconLibrary } from './library'\nimport requestIcon from './request'\n\nlet parser: DOMParser | undefined\n\n/**\n * @experimental\n */\n@Component({\n tag: 'qds-icon',\n shadow: true,\n styleUrl: 'icon.css',\n})\nexport class Icon implements ComponentInterface {\n /**\n * The name of the icon to render.\n *\n * Available names depend on the icon library being used.\n */\n @Prop() public readonly name!: string\n\n /**\n * The name of a registered icon library.\n */\n @Prop() public readonly library: string = 'default'\n\n /**\n * Emitted when the icon has loaded.\n */\n @Event({ eventName: 'qdsLoad', cancelable: false })\n private readonly loadEmitter!: EventEmitter<void>\n\n /**\n * Emitted when the icon fails to load due to an error.\n */\n @Event({ eventName: 'qdsError', cancelable: false })\n private readonly errorEmitter!: EventEmitter<void>\n\n @Element() private readonly host!: HTMLElement\n\n @State() private svg = ''\n\n #inheritedAttributes: Attributes = {}\n\n @Watch('name')\n @Watch('library')\n private async setIcon(): Promise<void> {\n if (!this.name) return\n\n const library = getIconLibrary(this.library)\n if (!library) return\n\n const url = library.resolver(this.name)\n if (!url) {\n this.svg = ''\n return\n }\n\n try {\n const request = await requestIcon(url)\n if (!request.ok) {\n this.svg = ''\n this.errorEmitter.emit()\n return\n }\n\n // Create an instance of the DOM parser. We do it here instead of at the\n // top-level to support SSR while maintaining a single parser instance\n // for optimal performance.\n parser ||= new DOMParser()\n const document = parser.parseFromString(request.data, 'text/html')\n const svgElement = document.body.querySelector('svg')\n if (svgElement === null) {\n this.svg = ''\n this.errorEmitter.emit()\n } else {\n for (const [key, value] of Object.entries(this.#inheritedAttributes))\n if (value !== undefined) svgElement.setAttribute(key, value)\n this.svg = svgElement.outerHTML\n this.loadEmitter.emit()\n }\n } catch {\n this.errorEmitter.emit()\n }\n }\n\n public async componentWillLoad(): Promise<void> {\n this.#inheritedAttributes = inheritAriaAttributes(this.host)\n await this.setIcon()\n }\n\n public render() {\n return (\n <div class=\"qds-container\">\n <span class=\"qds-icon-wrapper\" innerHTML={this.svg} />\n <div class=\"qds-click-target\" />\n </div>\n )\n }\n}\n"],"version":3}
@@ -4,9 +4,9 @@
4
4
  * SPDX-License-Identifier: Apache-2.0
5
5
  */
6
6
  import { p as proxyCustomElement, H, h } from './p-BEWDu8_P.js';
7
- import { d as defineCustomElement$1 } from './p-Be1TAWGK.js';
7
+ import { d as defineCustomElement$1 } from './p-BSPxuxTR.js';
8
8
 
9
- const titleCss = ":host([hidden]){display:none!important}:host{display:block}.qds-titles{display:grid;grid-template-areas:\"e\"}.qds-titles.qds-has-kicker{grid-template-areas:\"f\" \"e\"}.qds-titles.qds-has-subtitle{grid-template-areas:\"e\" \"g\"}.qds-titles.qds-has-kicker.qds-has-subtitle{grid-template-areas:\"f\" \"e\" \"g\"}.qds-has-icon{grid-template-areas:\"h e\";grid-template-columns:auto 1fr}.qds-has-icon.qds-has-kicker{grid-template-areas:\". f\" \"h e\"}.qds-has-icon.qds-has-subtitle{grid-template-areas:\"h e\" \". g\"}.qds-has-icon.qds-has-kicker.qds-has-subtitle{grid-template-areas:\". f\" \"h e\" \". g\"}.qds-title,.qds-titles{hyphens:inherit}.qds-kicker,.qds-subtitle{hyphens:manual}.qds-kicker,.qds-subtitle,.qds-title{margin-block:0}.qds-title{color:var(--qds-theme-title);grid-area:e}.qds-subtitle{color:var(--qds-theme-subtitle);grid-area:g}.qds-kicker{color:var(--qds-theme-kicker);grid-area:f}.qds-icon{align-content:center;color:var(--qds-theme-text-standard);grid-area:h}.qds-main.qds-section.qds-titles{gap:var(--qds-main-section-titles-gap)}.qds-main.qds-section.qds-has-icon{gap:var(--qds-main-section-titles-gap) var(--qds-main-section-titles-icon-gap)}.qds-main.qds-section .qds-title{font:var(--qds-main-section-title)}.qds-main.qds-section .qds-subtitle{font:var(--qds-main-section-subtitle)}.qds-main.qds-section .qds-kicker{font:var(--qds-main-section-kicker)}.qds-main.qds-section .qds-icon{height:var(--qds-main-section-titles-icon-crop-height);width:var(--qds-main-section-titles-icon-size)}.qds-main.qds-subsection.qds-titles{gap:var(--qds-main-subsection-titles-gap)}.qds-main.qds-subsection.qds-has-icon{gap:var(--qds-main-subsection-titles-gap) var(--qds-main-subsection-titles-icon-gap)}.qds-main.qds-subsection .qds-title{font:var(--qds-main-subsection-title)}.qds-main.qds-subsection .qds-subtitle{font:var(--qds-main-subsection-subtitle)}.qds-main.qds-subsection .qds-kicker{font:var(--qds-main-subsection-kicker)}.qds-main.qds-subsection .qds-icon{height:var(--qds-main-subsection-titles-icon-crop-height);width:var(--qds-main-subsection-titles-icon-size)}.qds-panel.qds-root.qds-titles{gap:var(--qds-panel-titles-gap)}.qds-panel.qds-root.qds-has-icon{gap:var(--qds-panel-titles-gap) var(--qds-panel-titles-icon-gap)}.qds-panel.qds-root .qds-title{font:var(--qds-panel-title)}.qds-panel.qds-root .qds-subtitle{font:var(--qds-panel-subtitle)}.qds-panel.qds-root .qds-kicker{font:var(--qds-panel-kicker)}.qds-panel.qds-root .qds-icon{height:var(--qds-panel-titles-icon-crop-height);width:var(--qds-panel-titles-icon-size)}.qds-panel.qds-section.qds-titles{gap:var(--qds-panel-section-titles-gap)}.qds-panel.qds-section.qds-has-icon{gap:var(--qds-panel-section-titles-gap) var(--qds-panel-section-titles-icon-gap)}.qds-panel.qds-section .qds-title{font:var(--qds-panel-section-title)}.qds-panel.qds-section .qds-subtitle{font:var(--qds-panel-section-subtitle)}.qds-panel.qds-section .qds-kicker{font:var(--qds-panel-section-kicker)}.qds-panel.qds-section .qds-icon{height:var(--qds-panel-section-titles-icon-crop-height);width:var(--qds-panel-section-titles-icon-size)}.qds-panel.qds-subsection.qds-titles{gap:var(--qds-panel-subsection-titles-gap)}.qds-panel.qds-subsection.qds-has-icon{gap:var(--qds-panel-subsection-titles-gap) var(--qds-panel-subsection-titles-icon-gap)}.qds-panel.qds-subsection .qds-title{font:var(--qds-panel-subsection-title)}.qds-panel.qds-subsection .qds-subtitle{font:var(--qds-panel-subsection-subtitle)}.qds-panel.qds-subsection .qds-kicker{font:var(--qds-panel-subsection-kicker)}.qds-panel.qds-subsection .qds-icon{height:var(--qds-panel-subsection-titles-icon-crop-height);width:var(--qds-panel-subsection-titles-icon-size)}.qds-navigation.qds-section.qds-titles{gap:var(--qds-navigation-section-titles-gap)}.qds-navigation.qds-section.qds-has-icon{gap:var(--qds-navigation-section-titles-gap) var(--qds-navigation-section-titles-icon-gap)}.qds-navigation.qds-section .qds-title{font:var(--qds-navigation-section-title)}.qds-navigation.qds-section .qds-subtitle{font:var(--qds-navigation-section-subtitle)}.qds-navigation.qds-section .qds-kicker{font:var(--qds-navigation-section-kicker)}.qds-navigation.qds-section .qds-icon{height:var(--qds-navigation-section-titles-icon-crop-height);width:var(--qds-navigation-section-titles-icon-size)}.qds-navigation.qds-subsection.qds-titles{gap:var(--qds-navigation-subsection-titles-gap)}.qds-navigation.qds-subsection.qds-has-icon{gap:var(--qds-navigation-subsection-titles-gap) var(--qds-navigation-subsection-titles-icon-gap)}.qds-navigation.qds-subsection .qds-title{font:var(--qds-navigation-subsection-title)}.qds-navigation.qds-subsection .qds-subtitle{font:var(--qds-navigation-subsection-subtitle)}.qds-navigation.qds-subsection .qds-kicker{font:var(--qds-navigation-subsection-kicker)}.qds-navigation.qds-subsection .qds-icon{height:var(--qds-navigation-subsection-titles-icon-crop-height);width:var(--qds-navigation-subsection-titles-icon-size)}.qds-popup.qds-root.qds-titles{gap:var(--qds-popup-titles-gap)}.qds-popup.qds-root.qds-has-icon{gap:var(--qds-popup-titles-gap) var(--qds-popup-titles-icon-gap)}.qds-popup.qds-root .qds-title{font:var(--qds-popup-title)}.qds-popup.qds-root .qds-subtitle{font:var(--qds-popup-subtitle)}.qds-popup.qds-root .qds-kicker{font:var(--qds-popup-kicker)}.qds-popup.qds-root .qds-icon{height:var(--qds-popup-titles-icon-crop-height);width:var(--qds-popup-titles-icon-size)}.qds-popup.qds-section.qds-titles{gap:var(--qds-popup-section-titles-gap)}.qds-popup.qds-section.qds-has-icon{gap:var(--qds-popup-section-titles-gap) var(--qds-popup-section-titles-icon-gap)}.qds-popup.qds-section .qds-title{font:var(--qds-popup-section-title)}.qds-popup.qds-section .qds-subtitle{font:var(--qds-popup-section-subtitle)}.qds-popup.qds-section .qds-kicker{font:var(--qds-popup-section-kicker)}.qds-popup.qds-section .qds-icon{height:var(--qds-popup-section-titles-icon-crop-height);width:var(--qds-popup-section-titles-icon-size)}.qds-popup.qds-subsection.qds-titles{gap:var(--qds-popup-subsection-titles-gap)}.qds-popup.qds-subsection.qds-has-icon{gap:var(--qds-popup-subsection-titles-gap) var(--qds-popup-subsection-titles-icon-gap)}.qds-popup.qds-subsection .qds-title{font:var(--qds-popup-subsection-title)}.qds-popup.qds-subsection .qds-subtitle{font:var(--qds-popup-subsection-subtitle)}.qds-popup.qds-subsection .qds-kicker{font:var(--qds-popup-subsection-kicker)}.qds-popup.qds-subsection .qds-icon{height:var(--qds-popup-subsection-titles-icon-crop-height);width:var(--qds-popup-subsection-titles-icon-size)}.qds-accessory.qds-root.qds-titles{gap:var(--qds-accessory-titles-gap)}.qds-accessory.qds-root.qds-has-icon{gap:var(--qds-accessory-titles-gap) var(--qds-accessory-titles-icon-gap)}.qds-accessory.qds-root .qds-title{font:var(--qds-accessory-title)}.qds-accessory.qds-root .qds-subtitle{font:var(--qds-accessory-subtitle)}.qds-accessory.qds-root .qds-kicker{font:var(--qds-accessory-kicker)}.qds-accessory.qds-root .qds-icon{height:var(--qds-accessory-titles-icon-crop-height);width:var(--qds-accessory-titles-icon-size)}.qds-accessory.qds-section.qds-titles{gap:var(--qds-accessory-section-titles-gap)}.qds-accessory.qds-section.qds-has-icon{gap:var(--qds-accessory-section-titles-gap) var(--qds-accessory-section-titles-icon-gap)}.qds-accessory.qds-section .qds-title{font:var(--qds-accessory-section-title)}.qds-accessory.qds-section .qds-subtitle{font:var(--qds-accessory-section-subtitle)}.qds-accessory.qds-section .qds-kicker{font:var(--qds-accessory-section-kicker)}.qds-accessory.qds-section .qds-icon{height:var(--qds-accessory-section-titles-icon-crop-height);width:var(--qds-accessory-section-titles-icon-size)}.qds-titles[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-promo-titles-gap);margin:auto}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-section-promo-title)}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-subtitle{font:var(--qds-main-section-promo-subtitle)}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-kicker{font:var(--qds-main-section-promo-kicker)}.qds-has-icon[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-promo-titles-gap) var(--qds-main-section-promo-titles-icon-gap)}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-icon{height:var(--qds-main-section-promo-titles-icon-crop-height);width:var(--qds-main-section-promo-titles-icon-size)}[data-alignment=start]{text-align:start}[data-alignment=center]{text-align:center}[data-alignment=end]{text-align:end}.qds-titles[data-variant=web-main-section-display]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-display-titles-gap)}[data-variant=web-main-section-display]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-section-display-title)}.qds-titles[data-variant=web-main-subsection-card]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-subsection-card-titles-gap)}[data-variant=web-main-subsection-card]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-subsection-card-standard-title)}.qds-titles[data-variant=web-main-section-hero]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-hero-titles-gap)}[data-variant=web-main-section-hero]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-section-hero-title)}";
9
+ const titleCss = ":host([hidden]){display:none!important}:host{display:block}.qds-titles{display:grid;grid-template-areas:\"f\"}.qds-titles.qds-has-kicker{grid-template-areas:\"g\" \"f\"}.qds-titles.qds-has-subtitle{grid-template-areas:\"f\" \"h\"}.qds-titles.qds-has-kicker.qds-has-subtitle{grid-template-areas:\"g\" \"f\" \"h\"}.qds-has-icon{grid-template-areas:\"i f\";grid-template-columns:auto 1fr}.qds-has-icon.qds-has-kicker{grid-template-areas:\". g\" \"i f\"}.qds-has-icon.qds-has-subtitle{grid-template-areas:\"i f\" \". h\"}.qds-has-icon.qds-has-kicker.qds-has-subtitle{grid-template-areas:\". g\" \"i f\" \". h\"}.qds-title,.qds-titles{hyphens:inherit}.qds-kicker,.qds-subtitle{hyphens:manual}.qds-kicker,.qds-subtitle,.qds-title{margin-block:0}.qds-title{color:var(--qds-theme-title);grid-area:f}.qds-subtitle{color:var(--qds-theme-subtitle);grid-area:h}.qds-kicker{color:var(--qds-theme-kicker);grid-area:g}.qds-icon{align-content:center;color:var(--qds-theme-text-standard);grid-area:i}.qds-main.qds-section.qds-titles{gap:var(--qds-main-section-titles-gap)}.qds-main.qds-section.qds-has-icon{gap:var(--qds-main-section-titles-gap) var(--qds-main-section-titles-icon-gap)}.qds-main.qds-section .qds-title{font:var(--qds-main-section-title)}.qds-main.qds-section .qds-subtitle{font:var(--qds-main-section-subtitle)}.qds-main.qds-section .qds-kicker{font:var(--qds-main-section-kicker)}.qds-main.qds-section .qds-icon{height:var(--qds-main-section-titles-icon-crop-height);width:var(--qds-main-section-titles-icon-size)}.qds-main.qds-subsection.qds-titles{gap:var(--qds-main-subsection-titles-gap)}.qds-main.qds-subsection.qds-has-icon{gap:var(--qds-main-subsection-titles-gap) var(--qds-main-subsection-titles-icon-gap)}.qds-main.qds-subsection .qds-title{font:var(--qds-main-subsection-title)}.qds-main.qds-subsection .qds-subtitle{font:var(--qds-main-subsection-subtitle)}.qds-main.qds-subsection .qds-kicker{font:var(--qds-main-subsection-kicker)}.qds-main.qds-subsection .qds-icon{height:var(--qds-main-subsection-titles-icon-crop-height);width:var(--qds-main-subsection-titles-icon-size)}.qds-panel.qds-root.qds-titles{gap:var(--qds-panel-titles-gap)}.qds-panel.qds-root.qds-has-icon{gap:var(--qds-panel-titles-gap) var(--qds-panel-titles-icon-gap)}.qds-panel.qds-root .qds-title{font:var(--qds-panel-title)}.qds-panel.qds-root .qds-subtitle{font:var(--qds-panel-subtitle)}.qds-panel.qds-root .qds-kicker{font:var(--qds-panel-kicker)}.qds-panel.qds-root .qds-icon{height:var(--qds-panel-titles-icon-crop-height);width:var(--qds-panel-titles-icon-size)}.qds-panel.qds-section.qds-titles{gap:var(--qds-panel-section-titles-gap)}.qds-panel.qds-section.qds-has-icon{gap:var(--qds-panel-section-titles-gap) var(--qds-panel-section-titles-icon-gap)}.qds-panel.qds-section .qds-title{font:var(--qds-panel-section-title)}.qds-panel.qds-section .qds-subtitle{font:var(--qds-panel-section-subtitle)}.qds-panel.qds-section .qds-kicker{font:var(--qds-panel-section-kicker)}.qds-panel.qds-section .qds-icon{height:var(--qds-panel-section-titles-icon-crop-height);width:var(--qds-panel-section-titles-icon-size)}.qds-panel.qds-subsection.qds-titles{gap:var(--qds-panel-subsection-titles-gap)}.qds-panel.qds-subsection.qds-has-icon{gap:var(--qds-panel-subsection-titles-gap) var(--qds-panel-subsection-titles-icon-gap)}.qds-panel.qds-subsection .qds-title{font:var(--qds-panel-subsection-title)}.qds-panel.qds-subsection .qds-subtitle{font:var(--qds-panel-subsection-subtitle)}.qds-panel.qds-subsection .qds-kicker{font:var(--qds-panel-subsection-kicker)}.qds-panel.qds-subsection .qds-icon{height:var(--qds-panel-subsection-titles-icon-crop-height);width:var(--qds-panel-subsection-titles-icon-size)}.qds-navigation.qds-section.qds-titles{gap:var(--qds-navigation-section-titles-gap)}.qds-navigation.qds-section.qds-has-icon{gap:var(--qds-navigation-section-titles-gap) var(--qds-navigation-section-titles-icon-gap)}.qds-navigation.qds-section .qds-title{font:var(--qds-navigation-section-title)}.qds-navigation.qds-section .qds-subtitle{font:var(--qds-navigation-section-subtitle)}.qds-navigation.qds-section .qds-kicker{font:var(--qds-navigation-section-kicker)}.qds-navigation.qds-section .qds-icon{height:var(--qds-navigation-section-titles-icon-crop-height);width:var(--qds-navigation-section-titles-icon-size)}.qds-navigation.qds-subsection.qds-titles{gap:var(--qds-navigation-subsection-titles-gap)}.qds-navigation.qds-subsection.qds-has-icon{gap:var(--qds-navigation-subsection-titles-gap) var(--qds-navigation-subsection-titles-icon-gap)}.qds-navigation.qds-subsection .qds-title{font:var(--qds-navigation-subsection-title)}.qds-navigation.qds-subsection .qds-subtitle{font:var(--qds-navigation-subsection-subtitle)}.qds-navigation.qds-subsection .qds-kicker{font:var(--qds-navigation-subsection-kicker)}.qds-navigation.qds-subsection .qds-icon{height:var(--qds-navigation-subsection-titles-icon-crop-height);width:var(--qds-navigation-subsection-titles-icon-size)}.qds-popup.qds-root.qds-titles{gap:var(--qds-popup-titles-gap)}.qds-popup.qds-root.qds-has-icon{gap:var(--qds-popup-titles-gap) var(--qds-popup-titles-icon-gap)}.qds-popup.qds-root .qds-title{font:var(--qds-popup-title)}.qds-popup.qds-root .qds-subtitle{font:var(--qds-popup-subtitle)}.qds-popup.qds-root .qds-kicker{font:var(--qds-popup-kicker)}.qds-popup.qds-root .qds-icon{height:var(--qds-popup-titles-icon-crop-height);width:var(--qds-popup-titles-icon-size)}.qds-popup.qds-section.qds-titles{gap:var(--qds-popup-section-titles-gap)}.qds-popup.qds-section.qds-has-icon{gap:var(--qds-popup-section-titles-gap) var(--qds-popup-section-titles-icon-gap)}.qds-popup.qds-section .qds-title{font:var(--qds-popup-section-title)}.qds-popup.qds-section .qds-subtitle{font:var(--qds-popup-section-subtitle)}.qds-popup.qds-section .qds-kicker{font:var(--qds-popup-section-kicker)}.qds-popup.qds-section .qds-icon{height:var(--qds-popup-section-titles-icon-crop-height);width:var(--qds-popup-section-titles-icon-size)}.qds-popup.qds-subsection.qds-titles{gap:var(--qds-popup-subsection-titles-gap)}.qds-popup.qds-subsection.qds-has-icon{gap:var(--qds-popup-subsection-titles-gap) var(--qds-popup-subsection-titles-icon-gap)}.qds-popup.qds-subsection .qds-title{font:var(--qds-popup-subsection-title)}.qds-popup.qds-subsection .qds-subtitle{font:var(--qds-popup-subsection-subtitle)}.qds-popup.qds-subsection .qds-kicker{font:var(--qds-popup-subsection-kicker)}.qds-popup.qds-subsection .qds-icon{height:var(--qds-popup-subsection-titles-icon-crop-height);width:var(--qds-popup-subsection-titles-icon-size)}.qds-accessory.qds-root.qds-titles{gap:var(--qds-accessory-titles-gap)}.qds-accessory.qds-root.qds-has-icon{gap:var(--qds-accessory-titles-gap) var(--qds-accessory-titles-icon-gap)}.qds-accessory.qds-root .qds-title{font:var(--qds-accessory-title)}.qds-accessory.qds-root .qds-subtitle{font:var(--qds-accessory-subtitle)}.qds-accessory.qds-root .qds-kicker{font:var(--qds-accessory-kicker)}.qds-accessory.qds-root .qds-icon{height:var(--qds-accessory-titles-icon-crop-height);width:var(--qds-accessory-titles-icon-size)}.qds-accessory.qds-section.qds-titles{gap:var(--qds-accessory-section-titles-gap)}.qds-accessory.qds-section.qds-has-icon{gap:var(--qds-accessory-section-titles-gap) var(--qds-accessory-section-titles-icon-gap)}.qds-accessory.qds-section .qds-title{font:var(--qds-accessory-section-title)}.qds-accessory.qds-section .qds-subtitle{font:var(--qds-accessory-section-subtitle)}.qds-accessory.qds-section .qds-kicker{font:var(--qds-accessory-section-kicker)}.qds-accessory.qds-section .qds-icon{height:var(--qds-accessory-section-titles-icon-crop-height);width:var(--qds-accessory-section-titles-icon-size)}.qds-titles[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-promo-titles-gap);margin:auto}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-section-promo-title)}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-subtitle{font:var(--qds-main-section-promo-subtitle)}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-kicker{font:var(--qds-main-section-promo-kicker)}.qds-has-icon[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-promo-titles-gap) var(--qds-main-section-promo-titles-icon-gap)}[data-variant=web-main-section-promo]:is(.qds-root,.qds-section,.qds-subsection) .qds-icon{height:var(--qds-main-section-promo-titles-icon-crop-height);width:var(--qds-main-section-promo-titles-icon-size)}[data-alignment=start]{text-align:start}[data-alignment=center]{text-align:center}[data-alignment=end]{text-align:end}.qds-titles[data-variant=web-main-section-display]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-display-titles-gap)}[data-variant=web-main-section-display]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-section-display-title)}.qds-titles[data-variant=web-main-subsection-card]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-subsection-card-titles-gap)}[data-variant=web-main-subsection-card]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-subsection-card-standard-title)}.qds-titles[data-variant=web-main-section-hero]:is(.qds-root,.qds-section,.qds-subsection){gap:var(--qds-main-section-hero-titles-gap)}[data-variant=web-main-section-hero]:is(.qds-root,.qds-section,.qds-subsection) .qds-title{font:var(--qds-main-section-hero-title)}";
10
10
 
11
11
  // SPDX-FileCopyrightText: © 2024 Schneider Electric
12
12
  //
@@ -51,14 +51,14 @@ const Title = /*@__PURE__*/ proxyCustomElement(class Title extends H {
51
51
  const level = `qds-${this.level ?? 'section'}`;
52
52
  const Tag = this.tag ?? 'h2';
53
53
  const hasIcon = this.iconName !== undefined && this.iconName !== '';
54
- return (h("hgroup", { key: 'c43d26010b5c0d26ca874ebb625756206eaef0b9', "data-alignment": this.alignment ?? 'start', "data-variant": this.variant, class: {
54
+ return (h("hgroup", { key: '723acaf3949076cafb40c4512779271af87a4815', "data-alignment": this.alignment ?? 'start', "data-variant": this.variant, class: {
55
55
  [layer]: true,
56
56
  [level]: true,
57
57
  'qds-titles': true,
58
58
  'qds-has-icon': hasIcon,
59
59
  'qds-has-kicker': __classPrivateFieldGet(this, _Title_instances, "a", _Title_hasKicker_get),
60
60
  'qds-has-subtitle': __classPrivateFieldGet(this, _Title_instances, "a", _Title_hasSubtitle_get),
61
- }, role: "none" }, h(Tag, { key: '082f0628ccabab6605a5a3acf37267e54973932b', class: "qds-title", "data-variant": this.variant }, h("slot", { key: '0f55f18e8ac506590875d94974450bd66e1b86d5' })), __classPrivateFieldGet(this, _Title_instances, "a", _Title_hasKicker_get) && h("p", { key: '16e509f077bb4cf0a5a220527a170fa1421f66ea', class: "qds-kicker" }, this.kicker), __classPrivateFieldGet(this, _Title_instances, "a", _Title_hasSubtitle_get) && h("p", { key: 'f17b35bf975b1de018896dbb25859e4922da625f', class: "qds-subtitle" }, this.subtitle), hasIcon && (h("qds-icon", { key: '35aad6d16d894b8096b6e2d9f6461ed4e15c7c2b', "aria-hidden": "true", class: "qds-icon", name: this.iconName, library: this.iconLibrary }))));
61
+ }, role: "none" }, h(Tag, { key: '65e0b0c63e9c527494ceebbde72581088810e137', class: "qds-title", "data-variant": this.variant }, h("slot", { key: 'd39e52b04736e9e79678c816260c780706c96ec1' })), __classPrivateFieldGet(this, _Title_instances, "a", _Title_hasKicker_get) && h("p", { key: 'e9f9fb8e70f8dc8323bd7ae6d5a1f14ba389fdd6', class: "qds-kicker" }, this.kicker), __classPrivateFieldGet(this, _Title_instances, "a", _Title_hasSubtitle_get) && h("p", { key: 'd6304b608ad9c22d44ee6513684f21b7904e41d4', class: "qds-subtitle" }, this.subtitle), hasIcon && (h("qds-icon", { key: 'e1d81cd3b02e6e17ceebdf4189b42d43381f2a10', "aria-hidden": "true", class: "qds-icon", name: this.iconName, library: this.iconLibrary }))));
62
62
  }
63
63
  static get style() { return titleCss; }
64
64
  }, [257, "qds-title", {
@@ -97,6 +97,6 @@ function defineCustomElement() {
97
97
  }
98
98
 
99
99
  export { Title as T, defineCustomElement as d };
100
- //# sourceMappingURL=p-06Mf_H-3.js.map
100
+ //# sourceMappingURL=p-BzNdvEIj.js.map
101
101
 
102
- //# sourceMappingURL=p-06Mf_H-3.js.map
102
+ //# sourceMappingURL=p-BzNdvEIj.js.map