@lmvz-ds/components 0.35.2 → 0.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/assets/icons/calendar.svg +7 -0
  3. package/cjs/{aria-validation-controller-BC0Eaiv4.js → aria-validation-controller-Do0uEK4t.js} +1 -1
  4. package/cjs/{directional-focus-controller-DBat-oF7.js → directional-focus-controller-3uDoin45.js} +3 -1
  5. package/cjs/{element-activation-controller-BHqCUgQv.js → element-activation-controller-BWtUKzu2.js} +1 -1
  6. package/cjs/{element.util-CRS_YJ59.js → element.util-CctmBvUY.js} +14 -0
  7. package/cjs/{index-TGsVZNDP.js → index-BgvZ4y-3.js} +12 -0
  8. package/cjs/lmvz-action-list.cjs.entry.js +4 -4
  9. package/cjs/lmvz-action.cjs.entry.js +1 -1
  10. package/cjs/lmvz-button-group.cjs.entry.js +2 -2
  11. package/cjs/lmvz-button_2.cjs.entry.js +5 -5
  12. package/cjs/lmvz-card.cjs.entry.js +1 -1
  13. package/cjs/lmvz-checkbox.cjs.entry.js +2 -2
  14. package/cjs/lmvz-chip.cjs.entry.js +2 -2
  15. package/cjs/lmvz-components.cjs.js +2 -2
  16. package/cjs/lmvz-datepicker.cjs.entry.js +2764 -0
  17. package/cjs/lmvz-header_2.cjs.entry.js +6 -6
  18. package/cjs/{lmvz-popover.cjs.entry.js → lmvz-input_2.cjs.entry.js} +230 -11
  19. package/cjs/lmvz-link.cjs.entry.js +2 -2
  20. package/cjs/lmvz-menuitem.cjs.entry.js +5 -5
  21. package/cjs/lmvz-message.cjs.entry.js +2 -2
  22. package/cjs/lmvz-modal.cjs.entry.js +4 -4
  23. package/cjs/lmvz-radio.cjs.entry.js +3 -3
  24. package/cjs/lmvz-select.cjs.entry.js +3 -3
  25. package/cjs/lmvz-snackbar.cjs.entry.js +2 -2
  26. package/cjs/lmvz-spinner.cjs.entry.js +2 -2
  27. package/cjs/lmvz-tab.cjs.entry.js +2 -2
  28. package/cjs/lmvz-tabs.cjs.entry.js +4 -4
  29. package/cjs/lmvz-toggle.cjs.entry.js +4 -5
  30. package/cjs/loader.cjs.js +2 -2
  31. package/cjs/{async.util-Dnl6c82X.js → stencil.util-TjS8_DoU.js} +13 -1
  32. package/collection/assets/icons/calendar.svg +7 -0
  33. package/collection/collection-manifest.json +1 -0
  34. package/collection/components/lmvz-datepicker/lmvz-datepicker.css +166 -0
  35. package/collection/components/lmvz-datepicker/lmvz-datepicker.js +988 -0
  36. package/collection/components/lmvz-datepicker/lmvz-datepicker.utils.js +189 -0
  37. package/collection/components/lmvz-datepicker/test/lmvz-datepicker.utils.unit.js +300 -0
  38. package/collection/components/lmvz-header/lmvz-header.js +1 -1
  39. package/collection/components/lmvz-icon/lmvz-icon.js +1 -1
  40. package/collection/components/lmvz-input/lmvz-input.js +40 -2
  41. package/collection/components/lmvz-link/lmvz-link.js +1 -1
  42. package/collection/components/lmvz-menuitem/lmvz-menuitem.js +1 -1
  43. package/collection/components/lmvz-message/lmvz-message.js +1 -1
  44. package/collection/components/lmvz-modal/lmvz-modal.js +1 -1
  45. package/collection/components/lmvz-popover/lmvz-popover.js +6 -2
  46. package/collection/components/lmvz-radio/lmvz-radio.js +1 -1
  47. package/collection/components/lmvz-select/lmvz-select.js +1 -1
  48. package/collection/components/lmvz-snackbar/lmvz-snackbar.js +1 -1
  49. package/collection/components/lmvz-spinner/lmvz-spinner.js +1 -1
  50. package/collection/components/lmvz-tab/lmvz-tab.js +1 -1
  51. package/collection/components/lmvz-tabs/lmvz-tabs.js +1 -1
  52. package/collection/components/lmvz-toggle/lmvz-toggle.js +1 -1
  53. package/collection/integration/header-integration/header-integration.js +1 -1
  54. package/collection/utils/aria/aria.constants.js +7 -0
  55. package/collection/utils/aria/directional-focus-controller.js +3 -1
  56. package/collection/utils/element/element.util.js +5 -0
  57. package/components/index.d.ts +2 -0
  58. package/components/index.d.ts.bak +2 -0
  59. package/components/index.js +1 -1
  60. package/components/lmvz-action-list.js +1 -1
  61. package/components/lmvz-action.js +1 -1
  62. package/components/lmvz-button-group.js +1 -1
  63. package/components/lmvz-button.js +1 -1
  64. package/components/lmvz-card.js +1 -1
  65. package/components/lmvz-checkbox.js +1 -1
  66. package/components/lmvz-chip.js +1 -1
  67. package/components/lmvz-datepicker.d.ts +11 -0
  68. package/components/lmvz-datepicker.d.ts.bak +11 -0
  69. package/components/lmvz-datepicker.js +1 -0
  70. package/components/lmvz-header.js +1 -1
  71. package/components/lmvz-icon.js +1 -1
  72. package/components/lmvz-input.js +1 -1
  73. package/components/lmvz-link.js +1 -1
  74. package/components/lmvz-menuitem.js +1 -1
  75. package/components/lmvz-message.js +1 -1
  76. package/components/lmvz-modal.js +1 -1
  77. package/components/lmvz-popover.js +1 -1
  78. package/components/lmvz-radio.js +1 -1
  79. package/components/lmvz-select.js +1 -1
  80. package/components/lmvz-snackbar.js +1 -1
  81. package/components/lmvz-spinner.js +1 -1
  82. package/components/lmvz-tab.js +1 -1
  83. package/components/lmvz-tabs.js +1 -1
  84. package/components/lmvz-toggle.js +1 -1
  85. package/components/{p-Chj7BuUZ.js → p--FDdvoIg.js} +1 -1
  86. package/components/{p-CFTmV4XZ.js → p-BAj4FkUt.js} +1 -1
  87. package/components/{p-CxLd309t.js → p-BLMXiDE0.js} +1 -1
  88. package/components/{p-DGg7OzDl.js → p-BPYBmylI.js} +1 -1
  89. package/components/p-BhALzK62.js +1 -0
  90. package/components/{p-B_rnXUwq.js → p-Bnri3fEI.js} +1 -1
  91. package/components/p-C-pRMuMh.js +1 -0
  92. package/components/p-CPuI0_r_.js +1 -0
  93. package/components/p-CWpl0WaZ.js +1 -0
  94. package/components/{p-D5FL8n1q.js → p-CrQCHVKL.js} +1 -1
  95. package/components/p-DqdrUt_G.js +1 -0
  96. package/components/{p-CgK6-SEe.js → p-diOze8wI.js} +1 -1
  97. package/esm/{aria-validation-controller-BvOU1BO8.js → aria-validation-controller-Cp6pofER.js} +1 -1
  98. package/esm/{directional-focus-controller-DgAdCZrG.js → directional-focus-controller-Bhu7RqYE.js} +3 -1
  99. package/esm/{element-activation-controller-7PNSl6io.js → element-activation-controller-BuwyVq4A.js} +1 -1
  100. package/esm/{element.util-BFcYfHYq.js → element.util-Bd9JyKJZ.js} +13 -1
  101. package/esm/{index-BPeerEwm.js → index-BOXP1Vx0.js} +12 -1
  102. package/esm/lmvz-action-list.entry.js +4 -4
  103. package/esm/lmvz-action.entry.js +1 -1
  104. package/esm/lmvz-button-group.entry.js +2 -2
  105. package/esm/lmvz-button_2.entry.js +5 -5
  106. package/esm/lmvz-card.entry.js +1 -1
  107. package/esm/lmvz-checkbox.entry.js +2 -2
  108. package/esm/lmvz-chip.entry.js +2 -2
  109. package/esm/lmvz-components.js +3 -3
  110. package/esm/lmvz-datepicker.entry.js +2762 -0
  111. package/esm/lmvz-header_2.entry.js +6 -6
  112. package/esm/{lmvz-popover.entry.js → lmvz-input_2.entry.js} +227 -9
  113. package/esm/lmvz-link.entry.js +2 -2
  114. package/esm/lmvz-menuitem.entry.js +5 -5
  115. package/esm/lmvz-message.entry.js +2 -2
  116. package/esm/lmvz-modal.entry.js +4 -4
  117. package/esm/lmvz-radio.entry.js +3 -3
  118. package/esm/lmvz-select.entry.js +3 -3
  119. package/esm/lmvz-snackbar.entry.js +2 -2
  120. package/esm/lmvz-spinner.entry.js +2 -2
  121. package/esm/lmvz-tab.entry.js +2 -2
  122. package/esm/lmvz-tabs.entry.js +4 -4
  123. package/esm/lmvz-toggle.entry.js +4 -5
  124. package/esm/loader.js +3 -3
  125. package/esm/{async.util-DZj20TV1.js → stencil.util-C3QOYC8E.js} +13 -1
  126. package/hydrate/index.js +3079 -237
  127. package/hydrate/index.mjs +3079 -237
  128. package/lmvz-components/lmvz-components.esm.js +1 -1
  129. package/lmvz-components/{p-eb62d4af.entry.js → p-0af0211a.entry.js} +1 -1
  130. package/lmvz-components/{p-0c05f24b.entry.js → p-3d5867df.entry.js} +1 -1
  131. package/lmvz-components/{p-a887018d.entry.js → p-492adf21.entry.js} +1 -1
  132. package/lmvz-components/{p-24d13be6.entry.js → p-4fa6e72f.entry.js} +1 -1
  133. package/lmvz-components/{p-5bbbcfc0.entry.js → p-544e3ccb.entry.js} +1 -1
  134. package/lmvz-components/{p-eb4c5a6f.entry.js → p-63f6a596.entry.js} +1 -1
  135. package/lmvz-components/{p-d45164a8.entry.js → p-7a7aa922.entry.js} +1 -1
  136. package/lmvz-components/{p-b6dd045b.entry.js → p-8022c6dc.entry.js} +1 -1
  137. package/lmvz-components/{p-BPeerEwm.js → p-BOXP1Vx0.js} +2 -2
  138. package/lmvz-components/p-Bd9JyKJZ.js +1 -0
  139. package/lmvz-components/{p-D9PQIBzA.js → p-BeY96W7m.js} +1 -1
  140. package/lmvz-components/p-C3QOYC8E.js +1 -0
  141. package/lmvz-components/p-GGkwaiT6.js +1 -0
  142. package/lmvz-components/{p-wlMjNjuv.js → p-UhNgD4L3.js} +1 -1
  143. package/lmvz-components/{p-d4154a65.entry.js → p-a611c110.entry.js} +1 -1
  144. package/lmvz-components/{p-46edf36f.entry.js → p-b1bb4393.entry.js} +1 -1
  145. package/lmvz-components/p-b50b1cb5.entry.js +1 -0
  146. package/lmvz-components/{p-f42b16e6.entry.js → p-b932cf91.entry.js} +1 -1
  147. package/lmvz-components/p-bff115d4.entry.js +1 -0
  148. package/lmvz-components/p-d280d21a.entry.js +1 -0
  149. package/lmvz-components/{p-c2544495.entry.js → p-d48203f9.entry.js} +1 -1
  150. package/lmvz-components/{p-e4ce63b3.entry.js → p-d9aede81.entry.js} +1 -1
  151. package/lmvz-components/{p-ecbd9e93.entry.js → p-dbfbcb74.entry.js} +1 -1
  152. package/lmvz-components/{p-fbf066d9.entry.js → p-f0e28f3a.entry.js} +1 -1
  153. package/lmvz-components/{p-aaa7691c.entry.js → p-f853faae.entry.js} +1 -1
  154. package/lmvz-components/p-fa2efc42.entry.js +1 -0
  155. package/lmvz-components/{p-194a3af5.entry.js → p-fe6f5bdc.entry.js} +1 -1
  156. package/manifest.json +940 -159
  157. package/package.json +5 -1
  158. package/types/api/ds.constants.d.ts +0 -1
  159. package/types/api/ds.types.d.ts +8 -0
  160. package/types/components/lmvz-action/lmvz-action.d.ts +0 -1
  161. package/types/components/lmvz-action-list/lmvz-action-list.d.ts +0 -1
  162. package/types/components/lmvz-button/lmvz-button.d.ts +0 -1
  163. package/types/components/lmvz-button-group/lmvz-button-group.d.ts +0 -1
  164. package/types/components/lmvz-card/lmvz-card.d.ts +0 -1
  165. package/types/components/lmvz-checkbox/lmvz-checkbox.d.ts +0 -1
  166. package/types/components/lmvz-chip/lmvz-chip.d.ts +0 -1
  167. package/types/components/lmvz-datepicker/lmvz-datepicker.d.ts +75 -0
  168. package/types/components/lmvz-datepicker/lmvz-datepicker.utils.d.ts +22 -0
  169. package/types/components/lmvz-datepicker/test/lmvz-datepicker.utils.unit.d.ts +1 -0
  170. package/types/components/lmvz-header/lmvz-header.d.ts +0 -1
  171. package/types/components/lmvz-icon/lmvz-icon.d.ts +0 -1
  172. package/types/components/lmvz-input/lmvz-input.d.ts +5 -1
  173. package/types/components/lmvz-link/lmvz-link.d.ts +0 -1
  174. package/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +0 -1
  175. package/types/components/lmvz-message/lmvz-message.d.ts +0 -1
  176. package/types/components/lmvz-message/public.d.ts +0 -1
  177. package/types/components/lmvz-modal/lmvz-modal.d.ts +0 -1
  178. package/types/components/lmvz-modal/test/testing.d.ts +0 -1
  179. package/types/components/lmvz-popover/lmvz-popover.d.ts +0 -1
  180. package/types/components/lmvz-radio/lmvz-radio.d.ts +0 -1
  181. package/types/components/lmvz-select/lmvz-select.d.ts +0 -1
  182. package/types/components/lmvz-snackbar/lmvz-snackbar.d.ts +0 -1
  183. package/types/components/lmvz-snackbar/public.d.ts +0 -1
  184. package/types/components/lmvz-snackbar/snackbar-controller.d.ts +0 -1
  185. package/types/components/lmvz-spinner/lmvz-spinner.d.ts +0 -1
  186. package/types/components/lmvz-tab/lmvz-tab.d.ts +0 -1
  187. package/types/components/lmvz-tabs/lmvz-tabs.d.ts +0 -1
  188. package/types/components/lmvz-toggle/lmvz-toggle.d.ts +0 -1
  189. package/types/components.d.ts +216 -0
  190. package/types/index.d.ts +0 -1
  191. package/types/utils/aria/aria-validation-controller.d.ts +0 -1
  192. package/types/utils/aria/aria.constants.d.ts +1 -1
  193. package/types/utils/aria/directional-focus-controller.d.ts +0 -1
  194. package/types/utils/aria/element-activation-controller.d.ts +0 -1
  195. package/types/utils/async/async.util.d.ts +1 -2
  196. package/types/utils/data/event.util.d.ts +0 -1
  197. package/types/utils/data/number.util.d.ts +0 -1
  198. package/types/utils/data/object.util.d.ts +0 -1
  199. package/types/utils/data/time.util.d.ts +0 -1
  200. package/types/utils/element/element.util.d.ts +1 -1
  201. package/types/utils/environment.d.ts +0 -1
  202. package/types/utils/icons/icons-registry.d.ts +0 -1
  203. package/types/utils/icons/icons.d.ts +0 -1
  204. package/types/utils/icons/icons.unit.d.ts +0 -1
  205. package/types/utils/icons/public.d.ts +0 -1
  206. package/types/utils/public.d.ts +0 -1
  207. package/types/utils/radio/radio-group-controller.d.ts +0 -1
  208. package/types/utils/stencil/assets.d.ts +0 -1
  209. package/types/utils/stencil/reactive-controller-host.d.ts +0 -1
  210. package/types/utils/stencil/stencil.util.d.ts +0 -1
  211. package/cjs/lmvz-input.cjs.entry.js +0 -186
  212. package/cjs/stencil.util-CBrPLd-F.js +0 -17
  213. package/components/p-DLUsBYJH.js +0 -1
  214. package/components/p-zMWemcoB.js +0 -1
  215. package/esm/lmvz-input.entry.js +0 -184
  216. package/esm/stencil.util-D2-5rsN3.js +0 -15
  217. package/lmvz-components/p-5ff55ba9.entry.js +0 -1
  218. package/lmvz-components/p-888e04d7.entry.js +0 -1
  219. package/lmvz-components/p-9dc420e2.entry.js +0 -1
  220. package/lmvz-components/p-BFcYfHYq.js +0 -1
  221. package/lmvz-components/p-BuEA0MWd.js +0 -1
  222. package/lmvz-components/p-DZj20TV1.js +0 -1
  223. package/lmvz-components/p-bh9cItsP.js +0 -1
  224. package/lmvz-components/p-c3e62aba.entry.js +0 -1
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
4
- var ariaValidationController = require('./aria-validation-controller-BC0Eaiv4.js');
5
- var directionalFocusController = require('./directional-focus-controller-DBat-oF7.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
+ var ariaValidationController = require('./aria-validation-controller-Do0uEK4t.js');
5
+ var directionalFocusController = require('./directional-focus-controller-3uDoin45.js');
6
6
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
7
7
  var lmvzMenuitem_entry = require('./lmvz-menuitem.cjs.entry.js');
8
8
  require('./aria-loader-DWUVcapD.js');
9
- require('./element.util-CRS_YJ59.js');
10
- require('./element-activation-controller-BHqCUgQv.js');
9
+ require('./element.util-CctmBvUY.js');
10
+ require('./element-activation-controller-BWtUKzu2.js');
11
11
 
12
12
  const logoSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYiIGhlaWdodD0iNzIiIHZpZXdCb3g9IjAgMCA0NiA3MiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzI3Ml80MDUpIj4KPHBhdGggZD0iTTEyLjUgMjAuNjVDMTMuMSAyMC42NSAxNC4yIDIwLjM1IDE0LjcgMjAuMzVDMTYuMSAyMC4zNSAxNy4yIDIxLjQ1IDE3LjIgMjIuODVDMTcuMiAyNC4yNSAxNi4xIDI1LjM1IDE0LjcgMjUuMzVIMi44QzEuMiAyNS4zNSAwIDI0LjE1IDAgMjIuNTVDMCAyMS45NSAwLjIgMjAuNjUgMC4yIDIwLjA1VjUuODQ5OTlDMC4yIDUuMTQ5OTkgMCAzLjk0OTk5IDAgMy4zNDk5OUMwIDEuNzQ5OTkgMS4yIDAuNTQ5OTg4IDIuOCAwLjU0OTk4OEM0LjMgMC41NDk5ODggNS42IDEuNzQ5OTkgNS42IDMuMzQ5OTlDNS42IDMuOTQ5OTkgNS40IDUuMTQ5OTkgNS40IDUuODQ5OTlWMjAuNTVIMTIuNVYyMC42NVpNMjIuMSAyMi43NUMyMi4xIDIyLjE1IDIyLjMgMjAuOTUgMjIuMyAyMC4yNVY1Ljg0OTk5QzIyLjMgNS4xNDk5OSAyMi4xIDMuOTQ5OTkgMjIuMSAzLjQ0OTk5QzIyLjEgMS45NDk5OSAyMy4yIDAuNzQ5OTg4IDI0LjYgMC43NDk5ODhIMjUuMkMyNi40IDAuNzQ5OTg4IDI3LjIgMS41NDk5OSAyNy42IDIuNjQ5OTlMMjggMy40NDk5OUwzMi45IDE0LjA1QzMzLjMgMTQuOTUgMzMuNyAxNi4wNSAzNCAxNi43NUMzNC4zIDE2LjA1IDM0LjcgMTQuOTUgMzUuMSAxNC4wNUw0MCAzLjU0OTk5TDQwLjMgMi41NDk5OUM0MC43IDEuNTQ5OTkgNDEuNSAwLjY0OTk4OCA0Mi42IDAuNjQ5OTg4SDQzLjJDNDQuNyAwLjY0OTk4OCA0NS43IDEuODQ5OTkgNDUuNyAzLjM0OTk5QzQ1LjcgMy45NDk5OSA0NS41IDUuMTQ5OTkgNDUuNSA1Ljc0OTk5VjIwLjE1QzQ1LjUgMjAuODUgNDUuNyAyMi4wNSA0NS43IDIyLjY1QzQ1LjcgMjQuMjUgNDQuNSAyNS40NSA0MyAyNS40NUM0MS40IDI1LjQ1IDQwLjMgMjQuMjUgNDAuMyAyMi42NUM0MC4zIDIxLjk1IDQwLjQgMjAuNzUgNDAuNCAyMC4xNUw0MC42IDE0LjA1QzQwLjYgMTMuMTUgNDAuNyAxMS43NSA0MC43IDEwLjY1TDM3IDE5LjA1QzM2LjcgMTkuNzUgMzYuNiAxOS45NSAzNi40IDIwLjM1QzM2IDIxLjI1IDM1LjMgMjEuODUgMzMuOSAyMS44NUMzMi41IDIxLjg1IDMxLjggMjEuMjUgMzEuNCAyMC40NUMzMS4yIDIwLjA1IDMxLjIgMTkuNzUgMzAuOCAxOS4wNUwyNyAxMC43NUMyNyAxMC43NSAyNy4xIDEzLjE1IDI3LjIgMTQuMDVMMjcuNCAyMC4xNUMyNy40IDIwLjg1IDI3LjUgMjEuOTUgMjcuNSAyMi42NUMyNy41IDI0LjI1IDI2LjQgMjUuNDUgMjQuOCAyNS40NUMyMy4zIDI1LjU1IDIyLjEgMjQuMjUgMjIuMSAyMi43NVpNMjguNyAzMi45NUMyOS4xIDMyLjk1IDMwLjIgMzMuMTUgMzAuNyAzMy4xNUg0MS44QzQyLjMgMzMuMTUgNDMuMiAzMi45NSA0My43IDMyLjk1QzQ0LjkgMzIuOTUgNDUuOCAzMy44NSA0NS44IDM1LjA1QzQ1LjggMzYuMTUgNDQuOSAzNy4xNSA0My43IDM3LjE1QzQzLjMgMzcuMTUgNDIuMyAzNi45NSA0MS44IDM2Ljk1SDMwLjhDMzAuMyAzNi45NSAyOS4yIDM3LjE1IDI4LjggMzcuMTVDMjcuNiAzNy4xNSAyNi43IDM2LjI1IDI2LjcgMzUuMDVDMjYuNiAzMy45NSAyNy41IDMyLjk1IDI4LjcgMzIuOTVaTTIuMSA2Ny4yNUMyLjUgNjcuMjUgMy42IDY3LjQ1IDQuMSA2Ny40NUgxOC41QzE5IDY3LjQ1IDE5LjkgNjcuMjUgMjAuNCA2Ny4yNUMyMS42IDY3LjI1IDIyLjUgNjguMTUgMjIuNSA2OS4zNUMyMi41IDcwLjQ1IDIxLjYgNzEuNDUgMjAuNCA3MS40NUMyMCA3MS40NSAxOSA3MS4yNSAxOC41IDcxLjI1SDQuMUMzLjYgNzEuMjUgMi41IDcxLjQ1IDIuMSA3MS40NUMwLjkgNzEuNDUgMCA3MC41NSAwIDY5LjM1QzAgNjguMjUgMC45IDY3LjI1IDIuMSA2Ny4yNVpNMjEuOSAzNS42NUMyMS45IDM1Ljk1IDIxLjggMzYuMzUgMjEuNiAzNi43NUMyMS4zIDM3LjQ1IDIwLjkgMzguMzUgMjAuNyAzOC44NUwxNC43IDU0LjY1QzE0LjUgNTUuMDUgMTQuNCA1NS41NSAxNC4yIDU2LjM1QzEzLjggNTcuNjUgMTIuNiA1OC4yNSAxMS4yIDU4LjI1SDEwLjhDOS40IDU4LjI1IDguMiA1Ny43NSA3LjggNTYuMzVDNy42IDU1LjU1IDcuNCA1NS4xNSA3LjIgNTQuNjVMMS4yIDM4Ljg1QzEgMzguMzUgMC42IDM3LjU1IDAuMiAzNi44NUMwLjEgMzYuNDUgMCAzNS45NSAwIDM1LjY1QzAgMzQuMTUgMS4yIDMyLjg1IDIuOCAzMi44NUMzLjkgMzIuODUgNSAzMy41NSA1LjMgMzQuNzVDNS41IDM1LjU1IDUuNSAzNi4xNSA2IDM3LjU1TDEwLjIgNDkuNDVDMTAuNSA1MC4zNSAxMC45IDUxLjQ1IDExLjEgNTIuMzVDMTEuMyA1MS40NSAxMS42IDUwLjQ1IDExLjkgNDkuNTVMMTYgMzcuNTVDMTYuNSAzNi4wNSAxNi40IDM1LjY1IDE2LjcgMzQuODVDMTcuMSAzMy42NSAxOC4xIDMyLjg1IDE5LjMgMzIuODVDMjAuOSAzMi44NSAyMS45IDM0LjE1IDIxLjkgMzUuNjVaTTI5LjcgNzEuNDVDMjguMiA3MS40NSAyNy4yIDcwLjQ1IDI3LjIgNjkuMTVDMjcuMiA2OC43NSAyNy4yIDY4LjI1IDI3LjggNjcuNDVMMzcuNCA1My40NUMzNy45IDUyLjc1IDM4LjUgNTIuMDUgMzkuMSA1MS4zNUgzMi4yQzMxLjUgNTEuMzUgMzAuNyA1MS42NSAzMC4xIDUxLjY1QzI4LjcgNTEuNjUgMjcuNiA1MC43NSAyNy42IDQ5LjM1QzI3LjYgNDcuOTUgMjguNyA0Ni45NSAzMC4xIDQ2Ljk1SDQyLjdDNDQuMiA0Ni45NSA0NS4yIDQ3Ljg1IDQ1LjIgNDkuMjVDNDUuMiA0OS42NSA0NSA1MC4zNSA0NC41IDUxLjA1TDM1LjIgNjQuODVDMzQuNyA2NS42NSAzNC4xIDY2LjQ1IDMzLjUgNjcuMDVINDEuMUM0MS45IDY3LjA1IDQyLjcgNjYuNzUgNDMuMyA2Ni43NUM0NC43IDY2Ljc1IDQ1LjcgNjcuNzUgNDUuNyA2OS4wNUM0NS43IDcwLjU1IDQ0LjUgNzEuNTUgNDMuMiA3MS41NUgyOS43VjcxLjQ1WiIgZmlsbD0iYmxhY2siLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yNzJfNDA1Ij4KPHJlY3Qgd2lkdGg9IjQ2IiBoZWlnaHQ9IjcyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo=';
13
13
 
@@ -98,7 +98,7 @@ const LmvzHeader = class extends reactiveControllerHost.ReactiveControllerHost {
98
98
  }
99
99
  }
100
100
  render() {
101
- return (index.h(index.Host, { key: 'ce4b8cf9f7687e4af97d45908e2f0e484b90684f', onFocus: this.delegateFocus.bind(this) }, index.h("div", { key: 'a2213d8038d126e47262c4ec18071dd4302152db', class: "brand" }, index.h("slot", { key: '68a0a1e2b21859d78d2f9a7d3f5c86020c52c225', name: "brand" }, index.h("img", { key: 'd0a878bc4c9f7a3460e857fb5aa52f1d942a0423', id: "fallback-logo-lmvz", src: logoSvg, alt: "Lehrmittelverlag Z\u00FCrich" }))), index.h("nav", { key: '687791624d6ced477bc0cce73ce97b26c7d03af0', "aria-label": "Hauptnavigation" }, index.h("div", { key: 'a9e8fa4a57e619a3d3b1056bfc0d5df74e89f630', role: "menubar", class: "primary-menubar" }, index.h("slot", { key: 'f75f0a3bed2267aff902490f1905c67ad1b7e6be', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), index.h("div", { key: '3cf2d099bed99e4ba7b32a2f3171c69663785012', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, index.h("slot", { key: '85dbe77ea8ab62aa400640495e11e2d174ca5210', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), index.h("div", { key: 'cf5d135a5b969af6a2bbb5432a10f8e1b9af1dca', class: "actions" }, index.h("slot", { key: '1a0323668942151c071a24238039c7a216358363', name: "actions" }))));
101
+ return (index.h(index.Host, { key: '77744fd74160551232eb0347e9ebb01eb3b9bec0', onFocus: this.delegateFocus.bind(this) }, index.h("div", { key: 'dfd78b2a2ab06b010d9f29dd61f57aced82243fe', class: "brand" }, index.h("slot", { key: 'c6d29bbdbcbe581a8a170fbeb3d6ab1e31d27dcd', name: "brand" }, index.h("img", { key: '80cea3b254d153411864d52c2ba300e0eb3c57a7', id: "fallback-logo-lmvz", src: logoSvg, alt: "Lehrmittelverlag Z\u00FCrich" }))), index.h("nav", { key: '71c53ae0300b61291d0763cdb23f1f645a83928a', "aria-label": "Hauptnavigation" }, index.h("div", { key: '09949b77a66c54a10c4c141de846fd5697b9d445', role: "menubar", class: "primary-menubar" }, index.h("slot", { key: 'acec0cf7e13325c49d1e0929b90b056ad1cbbe64', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), index.h("div", { key: 'd35860c71ad5e28ee2e3aaafb157acbeff41d83e', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, index.h("slot", { key: 'a4c3a1ad1b1de5bd903b54ed6bd1616ce6517bbb', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), index.h("div", { key: 'ff50045d9ab28bf66a619a48d9ea1f0ed2f5f952', class: "actions" }, index.h("slot", { key: '6ead0b7a54bf93bb06f0eab2aa8159bd6e96e8f5', name: "actions" }))));
102
102
  }
103
103
  static get watchers() { return {
104
104
  "lmvzActiveNav": [{
@@ -1,12 +1,226 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
+ var index$1 = require('./index-Bp6Dd2i1.js');
5
+ var ariaValidationController = require('./aria-validation-controller-Do0uEK4t.js');
6
+ var element_util = require('./element.util-CctmBvUY.js');
7
+ var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
8
+ var stencil_util = require('./stencil.util-TjS8_DoU.js');
4
9
  var ariaLoader = require('./aria-loader-DWUVcapD.js');
5
- var directionalFocusController = require('./directional-focus-controller-DBat-oF7.js');
6
- var elementActivationController = require('./element-activation-controller-BHqCUgQv.js');
7
- var async_util = require('./async.util-Dnl6c82X.js');
8
- var element_util = require('./element.util-CRS_YJ59.js');
9
- require('./reactive-controller-host-Bc6B_T45.js');
10
+ var directionalFocusController = require('./directional-focus-controller-3uDoin45.js');
11
+ var elementActivationController = require('./element-activation-controller-BWtUKzu2.js');
12
+
13
+ const lmvzInputCss = () => `@layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('RouterBook-Regular'), local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'); font-weight: 400; } @font-face { font-family: Router; src: local('RouterMedium-Regular'), local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'); font-weight: 500; } @font-face { font-family: Router; src: local('RouterBold-Regular'), local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'); font-weight: 700; } } .sc-lmvz-input-h { display: block; font-family: var(--lmvz-global-font-family-default, Router); --input-radius: var(--lmvz-component-input-radius-default, 999px); --input-bg: var(--lmvz-semantic-color-surface-input-primary, #ffffff); --input-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0); --input-border-color-hover: var(--lmvz-semantic-color-border-hover, #a1a1a1); --input-border-color-focus: var(--lmvz-semantic-color-border-active, #0f8acc); --input-border-width: var(--lmvz-semantic-border-width-default, 1px); --input-height: var(--lmvz-component-input-size-md, clamp(2.5rem, 2.44rem + 0.26vw, 2.75rem)); --input-padding-x: var(--lmvz-component-input-padding-md, clamp(0.88rem, 0.84rem + 0.13vw, 1rem)); --input-gap: var(--lmvz-component-input-gap-md, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --input-font-size: var(--lmvz-component-body-md-font-size, clamp(0.88rem, 0.84rem + 0.13vw, 1rem)); --label-color: var(--lmvz-semantic-color-on-surface-input-secondary, #545454); --input-text-color: var(--lmvz-semantic-color-on-surface-input-primary, #000000); --helper-text-color: var(--lmvz-semantic-color-on-surface-input-secondary, #545454); --error-text-color: var(--lmvz-semantic-color-status-on-danger, #a31419); --label-minimized-bg: var(--input-bg); --label-minimized-padding-x: 4px; --input-disabled-opacity: var(--lmvz-component-input-disabled-opacity, 40%); } [size='sm'].sc-lmvz-input-h { --input-height: var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem)); --input-padding-x: var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)); --input-gap: var(--lmvz-component-input-gap-sm, clamp(0.38rem, 0.31rem + 0.26vw, 0.63rem)); --input-font-size: var(--lmvz-component-body-sm-font-size, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)); } [size='md'].sc-lmvz-input-h { --input-height: var(--lmvz-component-input-size-md, clamp(2.5rem, 2.44rem + 0.26vw, 2.75rem)); --input-padding-x: var(--lmvz-component-input-padding-md, clamp(0.88rem, 0.84rem + 0.13vw, 1rem)); --input-gap: var(--lmvz-component-input-gap-md, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); --input-font-size: var(--lmvz-component-body-md-font-size, clamp(0.88rem, 0.84rem + 0.13vw, 1rem)); } [size='lg'].sc-lmvz-input-h { --input-height: var(--lmvz-component-input-size-lg, clamp(2.75rem, 2.69rem + 0.26vw, 3rem)); --input-padding-x: var(--lmvz-component-input-padding-lg, clamp(1rem, 0.94rem + 0.26vw, 1.25rem)); --input-gap: var(--lmvz-component-input-gap-lg, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)); --input-font-size: var(--lmvz-component-body-lg-font-size, clamp(1rem, 0.97rem + 0.13vw, 1.13rem)); } .input-container.sc-lmvz-input { display: flex; flex-direction: column; position: relative; width: 100%; } .input-wrapper.sc-lmvz-input { background-color: var(--input-bg); border: var(--input-border-width) solid var(--input-border-color); border-radius: var(--input-radius); display: flex; align-items: center; height: var(--input-height); padding: 0 var(--input-padding-x); position: relative; transition: border-color 0.2s ease; gap: var(--input-gap); } [disabled].sc-lmvz-input-h .input-wrapper.sc-lmvz-input { opacity: var(--input-disabled-opacity); cursor: not-allowed; pointer-events: none; } .input-container.sc-lmvz-input:focus-within .input-wrapper.sc-lmvz-input { border-color: var(--input-border-color-focus); outline: var(--lmvz-ds-outline, 1px solid #0e7ab4); outline-offset: var(--lmvz-ds-outline-offset, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)); } [error].sc-lmvz-input-h .input-wrapper.sc-lmvz-input { border-color: var(--error-text-color); } .sc-lmvz-input-h:not([disabled]) .input-wrapper.sc-lmvz-input:hover { border-color: var(--input-border-color-hover); } .label-input-group.sc-lmvz-input { position: relative; flex-grow: 1; display: flex; align-items: center; height: 100%; } label.sc-lmvz-input { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--label-color); font-size: var(--input-font-size); font-weight: 400; pointer-events: none; transition: all 0.2s ease-out; background-color: transparent; padding: 0; margin: 0; line-height: 1.5; white-space: nowrap; } label.floating.sc-lmvz-input { top: 0.5em; transform: translateY(-100%); transform-origin: left top; font-size: var(--lmvz-component-body-2xs-font-size, clamp(0.5rem, 0.47rem + 0.13vw, 0.63rem)); background-color: var(--label-minimized-bg); padding: 0 var(--label-minimized-padding-x); left: -2px; color: var(--input-text-color); font-weight: 400; } .required-indicator.sc-lmvz-input { color: var(--error-text-color); margin-left: 2px; } input.sc-lmvz-input { border: none; background: transparent; width: 100%; height: 100%; color: var(--input-text-color); font-family: inherit; font-size: var(--input-font-size); outline: none; padding: 0; margin: 0; font-weight: 400; } input.sc-lmvz-input::placeholder { color: var(--label-color); } div.sc-lmvz-input:empty { display: none; } [role='status'].sc-lmvz-input { padding-top: 8px; padding-left: var(--input-padding-x); font-size: 12px; color: var(--helper-text-color); font-weight: 400; } [role='alert'].sc-lmvz-input { padding-top: 8px; padding-left: var(--input-padding-x); font-size: 12px; color: var(--error-text-color); font-weight: 400; } .sc-lmvz-input-s > lmvz-button { --lmvz-button-padding: var(--lmvz-dimension-6-4, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem)); --lmvz-button-min-height-override: var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem)); }`;
14
+
15
+ let inputIdCounter = 0;
16
+ const LmvzInput = class extends reactiveControllerHost.ReactiveControllerHost {
17
+ get el() { return index.getElement(this); }
18
+ get validationEl() {
19
+ return this.el;
20
+ }
21
+ lmvzInput;
22
+ internals;
23
+ nativeInputElement;
24
+ inputId = `lmvz-input-${inputIdCounter++}`;
25
+ initialValue = '';
26
+ ariaHostMirrorObserver;
27
+ nativeError = false;
28
+ errorFromProp = false;
29
+ get helperId() {
30
+ return this.helperText ? `${this.inputId}-helper` : undefined;
31
+ }
32
+ get showErrorMessage() {
33
+ return this.error && Boolean(this.errorMessage);
34
+ }
35
+ get errorId() {
36
+ return `${this.inputId}-error`;
37
+ }
38
+ get describedBy() {
39
+ const ids = [];
40
+ if (this.helperId)
41
+ ids.push(this.helperId);
42
+ if (this.showErrorMessage)
43
+ ids.push(this.errorId);
44
+ return ids.length > 0 ? ids.join(' ') : undefined;
45
+ }
46
+ value;
47
+ label;
48
+ helperText;
49
+ placeholder;
50
+ disabled = false;
51
+ readonly = false;
52
+ required = false;
53
+ name;
54
+ type = 'text';
55
+ errorMessage;
56
+ autocomplete;
57
+ inputmode;
58
+ autocorrect;
59
+ autocapitalize;
60
+ spellcheck;
61
+ autofocus = false;
62
+ minlength;
63
+ maxlength;
64
+ pattern;
65
+ min;
66
+ max;
67
+ step;
68
+ form;
69
+ size = 'md';
70
+ get error() {
71
+ return this.errorFromProp || this.nativeError;
72
+ }
73
+ set error(value) {
74
+ this.errorFromProp = value;
75
+ }
76
+ async setValue(newValue) {
77
+ const input = this.nativeInputElement;
78
+ const val = newValue ?? '';
79
+ if (input) {
80
+ input.value = val;
81
+ }
82
+ this.value = val;
83
+ this.internals.setFormValue?.(val);
84
+ this.lmvzInput.emit(val);
85
+ }
86
+ async focusInput() {
87
+ this.nativeInputElement?.focus();
88
+ }
89
+ async blurInput() {
90
+ this.nativeInputElement?.blur();
91
+ }
92
+ async select() {
93
+ this.nativeInputElement?.select();
94
+ }
95
+ async checkValidity() {
96
+ return this.nativeInputElement?.checkValidity?.() ?? false;
97
+ }
98
+ async reportValidity() {
99
+ return this.nativeInputElement?.reportValidity?.() ?? false;
100
+ }
101
+ async getInputElement() {
102
+ if (!this.nativeInputElement) {
103
+ await new Promise((resolve) => stencil_util.componentOnReady(this.el, resolve));
104
+ }
105
+ return Promise.resolve(this.nativeInputElement);
106
+ }
107
+ constructor(hostRef) {
108
+ super();
109
+ index.registerInstance(this, hostRef);
110
+ this.lmvzInput = index.createEvent(this, "lmvzInput", 7);
111
+ if (hostRef.$hostElement$["s-ei"]) {
112
+ this.internals = hostRef.$hostElement$["s-ei"];
113
+ }
114
+ else {
115
+ this.internals = hostRef.$hostElement$.attachInternals();
116
+ hostRef.$hostElement$["s-ei"] = this.internals;
117
+ }
118
+ this.addController(new ariaValidationController.AriaValidationController(this, {
119
+ reValidateOnPropChanges: true,
120
+ }));
121
+ }
122
+ componentWillLoad() {
123
+ this.initialValue = this.value ?? '';
124
+ super.componentWillLoad();
125
+ }
126
+ connectedCallback() {
127
+ super.connectedCallback();
128
+ this.ariaHostMirrorObserver = new MutationObserver((mutations) => {
129
+ for (const mutation of mutations) {
130
+ this.mirrorHostAriaAttribute(mutation.attributeName);
131
+ }
132
+ });
133
+ this.ariaHostMirrorObserver.observe(this.el, {
134
+ attributes: true,
135
+ attributeFilter: [...element_util.ariaHostMirrorAttributes],
136
+ });
137
+ }
138
+ disconnectedCallback() {
139
+ super.disconnectedCallback();
140
+ this.ariaHostMirrorObserver?.disconnect();
141
+ this.ariaHostMirrorObserver = undefined;
142
+ }
143
+ componentDidLoad() {
144
+ super.componentDidLoad();
145
+ for (const attr of element_util.ariaHostMirrorAttributes) {
146
+ this.mirrorHostAriaAttribute(attr);
147
+ }
148
+ }
149
+ mirrorHostAriaAttribute(attr) {
150
+ if (!attr || !this.nativeInputElement)
151
+ return;
152
+ if (this.el.hasAttribute(attr)) {
153
+ const value = this.el.getAttribute(attr);
154
+ if (value !== null) {
155
+ this.nativeInputElement.setAttribute(attr, value);
156
+ }
157
+ }
158
+ else {
159
+ this.nativeInputElement.removeAttribute(attr);
160
+ }
161
+ }
162
+ formAssociatedCallback(form) {
163
+ if (!form)
164
+ return;
165
+ this.internals.setFormValue?.(this.value ?? '');
166
+ }
167
+ formResetCallback() {
168
+ this.internals.setValidity({});
169
+ this.setValue(this.initialValue);
170
+ }
171
+ formStateRestoreCallback(state) {
172
+ this.setValue(state);
173
+ }
174
+ handleValueChange(newValue) {
175
+ if (!this.nativeInputElement)
176
+ return;
177
+ const isInternalChange = this.nativeInputElement.value === newValue;
178
+ if (isInternalChange)
179
+ return;
180
+ this.setValue(newValue);
181
+ }
182
+ handleDisabledChange(disabled) {
183
+ if (disabled && this.nativeInputElement) {
184
+ this.nativeInputElement.blur();
185
+ }
186
+ }
187
+ handleInput = (event) => {
188
+ const input = event.target;
189
+ this.setValue(input.value);
190
+ };
191
+ handleChange = (event) => {
192
+ const input = event.target ?? this.nativeInputElement;
193
+ this.updateNativeError(input);
194
+ };
195
+ handleFocus = () => { };
196
+ handleBlur = (event) => {
197
+ const input = event.target;
198
+ input.checkValidity?.();
199
+ };
200
+ updateNativeError(fromEvent) {
201
+ const input = fromEvent ?? this.nativeInputElement;
202
+ if (!input)
203
+ return;
204
+ this.nativeError = !(input.checkValidity?.() ?? true);
205
+ }
206
+ render() {
207
+ const hasValue = Boolean(this.value);
208
+ const shouldFloatLabel = hasValue || Boolean(this.placeholder);
209
+ return (index.h("div", { key: 'b7e432c7dbc598189d85040252455c5163fe6395', class: index$1.classNames('input-container', {
210
+ 'interaction-filled': hasValue,
211
+ }) }, index.h("div", { key: 'a912a49f4372423d06c7a4856fb5101cb0afd0c5', class: "input-wrapper" }, index.h("slot", { key: '88e4ee4518de0bfeef9e30a254e0d2ec6693048c', name: "before-input" }), index.h("div", { key: 'a413a7b7e8f6510f1c09fd0052889c8fad1653f1', class: "label-input-group" }, index.h("label", { key: '9639713adff74afcf4fb1eab0e74b7447d02b986', htmlFor: this.inputId, class: index$1.classNames({ floating: shouldFloatLabel }) }, this.label, this.required && (index.h("span", { key: '28c1069908a2f1905008f1decce9077e9ef1538a', class: "required-indicator", "aria-hidden": "true" }, ' ', "*"))), index.h("input", { key: '421fd9bb50de8ba189a59578373060593e1a9aab', id: this.inputId, ref: (el) => (this.nativeInputElement = el), type: this.type, min: this.min, max: this.max, step: this.step, value: this.value, name: this.name, placeholder: this.placeholder, disabled: this.disabled, readOnly: this.readonly, required: this.required, form: this.form, autocomplete: this.autocomplete, inputmode: this.inputmode, autocorrect: this.autocorrect, autocapitalize: this.autocapitalize, spellcheck: this.spellcheck, autofocus: this.autofocus, minlength: this.minlength, maxlength: this.maxlength, pattern: this.pattern, "aria-invalid": this.error ? 'true' : 'false', "aria-required": this.required ? 'true' : 'false', "aria-describedby": this.describedBy, "aria-errormessage": this.errorId, onInput: this.handleInput, onChange: this.handleChange, onFocus: this.handleFocus, onBlur: this.handleBlur })), index.h("slot", { key: '09557e1d84bb4ab2456caf391a177c8f80063ab9', name: "after-input" })), index.h("div", { key: '34162f744f8584991e4493ebcdb6a2f75a1f8990', id: this.helperId, role: "status" }, this.helperText || null), index.h("div", { key: 'a3c3bffbb439f9127278cedbfefa5e1986e68f23', id: this.errorId, role: "alert" }, (this.showErrorMessage && this.errorMessage) || null)));
212
+ }
213
+ static get formAssociated() { return true; }
214
+ static get watchers() { return {
215
+ "value": [{
216
+ "handleValueChange": 0
217
+ }],
218
+ "disabled": [{
219
+ "handleDisabledChange": 0
220
+ }]
221
+ }; }
222
+ };
223
+ LmvzInput.style = lmvzInputCss();
10
224
 
11
225
  /**
12
226
  * Custom positioning reference element.
@@ -1421,7 +1635,7 @@ const LmvzPopover = class {
1421
1635
  this.anchor = undefined;
1422
1636
  return;
1423
1637
  }
1424
- await async_util.wait();
1638
+ await stencil_util.wait();
1425
1639
  this.anchorEl = typeof anchor === 'string' ? document.getElementById(anchor) : anchor;
1426
1640
  this.setupAnchorEl();
1427
1641
  if (!this.open)
@@ -1442,6 +1656,9 @@ const LmvzPopover = class {
1442
1656
  anchorEl.setAttribute('aria-haspopup', 'dialog');
1443
1657
  }
1444
1658
  anchorEl.setAttribute('aria-controls', this.el.getAttribute('id'));
1659
+ if (!anchorEl.hasAttribute('aria-expanded')) {
1660
+ anchorEl.setAttribute('aria-expanded', this.open ? 'true' : 'false');
1661
+ }
1445
1662
  if (element_util.isActionButton(anchorEl)) {
1446
1663
  elementActivationController.addElementActivationListener(anchorEl, this.toggle.bind(this), this.extEventController.signal);
1447
1664
  }
@@ -1463,12 +1680,12 @@ const LmvzPopover = class {
1463
1680
  async onOpen() {
1464
1681
  this.previouslyFocusedElement = element_util.getDeepActiveElement(document);
1465
1682
  this.setupCloseHandlers();
1466
- await async_util.waitFrame();
1683
+ await stencil_util.waitFrame();
1467
1684
  await this.updatePosition();
1468
1685
  autoAssignId(this.el);
1469
1686
  this.applyAnchorAriaOpen();
1470
1687
  this.lmvzOpen.emit();
1471
- await async_util.waitFrame();
1688
+ await stencil_util.waitFrame();
1472
1689
  if (this.autoFocus) {
1473
1690
  this.focusFirst();
1474
1691
  }
@@ -1527,7 +1744,8 @@ const LmvzPopover = class {
1527
1744
  document.addEventListener('mousedown', (event) => {
1528
1745
  if (!this.open)
1529
1746
  return;
1530
- if (this.el.contains(event.target))
1747
+ const mouseTarget = (event.target?.shadowRoot ?? document).elementFromPoint(event.x, event.y) ?? event.target;
1748
+ if (this.el === event.target || this.el.contains(mouseTarget) || this.el.contains(event.target))
1531
1749
  return;
1532
1750
  this.triggerClose();
1533
1751
  }, options);
@@ -1543,7 +1761,7 @@ const LmvzPopover = class {
1543
1761
  this.closureController?.abort();
1544
1762
  }
1545
1763
  render() {
1546
- return (index.h(index.Host, { key: '744dae23d80c1e81a0b8bd2e9fcb02c6669d54cd' }, index.h("div", { key: '7f40e25f1e05738b2bbf900b90613004eb188395', role: "dialog", part: "container", class: `container lmvz-wrapper-card-${this.size}`, "aria-label": this.label || undefined, ref: (el) => (this.containerEl = el) }, index.h("slot", { key: '5a400fd9e697254007973f2dce172588fe3760ee', ref: (el) => (this.slotEl = el) }))));
1764
+ return (index.h(index.Host, { key: 'f996d0a561b8f6d00913b0e2e84ac9711b878f84' }, index.h("div", { key: 'f7fff89cf470a96b0d3d2adce43a92069d754861', role: "dialog", part: "container", class: `container lmvz-wrapper-card-${this.size}`, "aria-label": this.label || undefined, ref: (el) => (this.containerEl = el) }, index.h("slot", { key: '2263710272a745d74f118fab6d22f0d05319fc74', ref: (el) => (this.slotEl = el) }))));
1547
1765
  }
1548
1766
  static get watchers() { return {
1549
1767
  "open": [{
@@ -1587,4 +1805,5 @@ function validatePopoverAria(hostEl, label, anchorProp, anchorEl) {
1587
1805
  }
1588
1806
  LmvzPopover.style = lmvzPopoverCss();
1589
1807
 
1808
+ exports.lmvz_input = LmvzInput;
1590
1809
  exports.lmvz_popover = LmvzPopover;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
4
  var svg = require('./svg-CysxzZw7.js');
5
5
  var ds_constants = require('./ds.constants-C6eKRAEu.js');
6
6
  require('./logger-NBdKPSou.js');
@@ -55,7 +55,7 @@ const LmvzLink = class {
55
55
  const rel = this.computeRel();
56
56
  const iconSvg = this.type === 'external' ? EXTERNAL_SVG : ARROW_RIGHT_SVG;
57
57
  const isBlank = this.target === '_blank';
58
- return (index.h(index.Host, { key: '338116d5af3112ec2a4a09b652048b733565a7d4' }, index.h("a", { key: 'ae70aa2320ea2eeca56a14714de4dcfb06b8c94c', href: this.computeHref(), target: this.target, rel: rel }, index.h("slot", { key: '4852b3336a94a46f363a83fb2c4f6d267f680d3d' }), index.h("lmvz-icon", { key: 'e7f72016611a7d741eef7c81a047e026c699bdef', "aria-hidden": "true", icon: iconSvg }), isBlank && index.h("span", { key: 'b4138b479b7c36c3b16c8e96fc6e39736222b26f', class: "sr-only" }, this.externalLabel))));
58
+ return (index.h(index.Host, { key: 'ee4f5c107243ff858f9189840e56a0525fdac782' }, index.h("a", { key: '28229373bec276579c2bb7b9fcf254872baae9e8', href: this.computeHref(), target: this.target, rel: rel }, index.h("slot", { key: '7c58f3f7501e457ee4a35d2a9f2bf80ed0c33fb0' }), index.h("lmvz-icon", { key: '14784743d148d57e7c83da0f92ba96e4bb3a30a1', "aria-hidden": "true", icon: iconSvg }), isBlank && index.h("span", { key: 'f72adde57b462282d1a8313e2eb06cf6b68c2697', class: "sr-only" }, this.externalLabel))));
59
59
  }
60
60
  static get delegatesFocus() { return true; }
61
61
  static get watchers() { return {
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
4
- var ariaValidationController = require('./aria-validation-controller-BC0Eaiv4.js');
5
- var elementActivationController = require('./element-activation-controller-BHqCUgQv.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
+ var ariaValidationController = require('./aria-validation-controller-Do0uEK4t.js');
5
+ var elementActivationController = require('./element-activation-controller-BWtUKzu2.js');
6
6
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
7
7
  require('./aria-loader-DWUVcapD.js');
8
- require('./element.util-CRS_YJ59.js');
8
+ require('./element.util-CctmBvUY.js');
9
9
 
10
10
  const lmvzMenuitemCss = () => `@layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.theme { @font-face { font-family: Router; src: local('RouterBook-Regular'), local('Router-Book'), url('/assets/fonts/Router-Book.woff') format('woff'); font-weight: 400; } @font-face { font-family: Router; src: local('RouterMedium-Regular'), local('Router-Medium'), url('/assets/fonts/Router-Medium.woff') format('woff'); font-weight: 500; } @font-face { font-family: Router; src: local('RouterBold-Regular'), local('Router-Bold'), url('/assets/fonts/Router-Bold.woff') format('woff'); font-weight: 700; } } .sc-lmvz-menuitem-h { display: inline-flex; flex-direction: row; align-items: center; justify-content: center; gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem)); border-radius: var(--lmvz-semantic-border-radius-lg, 14px); font: var(--lmvz-typography-body-md, 400 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router); padding: var(--lmvz-component-input-md-padding-y, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)) var(--lmvz-component-input-md-padding-x, clamp(0.75rem, 0.69rem + 0.26vw, 1rem)); cursor: pointer; --lmvz-menuitem-color: var(--lmvz-semantic-color-int-on-tertiary, #000000); --lmvz-menuitem-background: var(--lmvz-semantic-color-int-tertiary, #ffffff); background: var(--lmvz-menuitem-background); color: var(--lmvz-menuitem-color); } .sc-lmvz-menuitem-h:hover { --lmvz-menuitem-background: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0); } .sc-lmvz-menuitem-h:active { --lmvz-menuitem-background: var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0); } .sc-lmvz-menuitem-h:focus-visible { z-index: 1; } [aria-expanded='true'].sc-lmvz-menuitem-h { --lmvz-menuitem-background: var(--lmvz-semantic-color-status-active, #f6fbfe); --lmvz-menuitem-color: var(--lmvz-semantic-color-status-on-active, #0e7ab4); }`;
11
11
 
@@ -30,7 +30,7 @@ const LmvzMenuItem = class extends reactiveControllerHost.ReactiveControllerHost
30
30
  this.addController(new elementActivationController.ElementActivationController(this));
31
31
  }
32
32
  render() {
33
- return (index.h(index.Host, { key: '9c86e99a0427a5d11925a30bcdb9f88124006413' }, index.h("slot", { key: '9a578cdf49bd1edd981d68d7b28c39b784980345', ref: (e) => (this.validationSlot = e) })));
33
+ return (index.h(index.Host, { key: 'cd5814d6bcfa9b0f5b1b2f5108ce0fc65722b909' }, index.h("slot", { key: 'b503b252c95bc09ca4b888d4576badd3976292e9', ref: (e) => (this.validationSlot = e) })));
34
34
  }
35
35
  };
36
36
  LmvzMenuItem.style = lmvzMenuitemCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
4
  var svg = require('./svg-CysxzZw7.js');
5
5
  var ariaLoader = require('./aria-loader-DWUVcapD.js');
6
6
  var closeSm = require('./close-sm-CATLoxxd.js');
@@ -103,7 +103,7 @@ const LmvzMessage = class {
103
103
  }
104
104
  render() {
105
105
  const role = this.live === 'assertive' ? 'alert' : this.live === 'polite' ? 'status' : 'note';
106
- return (index.h(index.Host, { key: '99dad82a6300fb8d089f1ea688186d4b4316a058', role: role }, this.leadingIcon && index.h("span", { key: '2adf33102f7075a83ebf29d9b6e0d433a17beb68', class: "leading-icon", "aria-hidden": "true", innerHTML: TYPE_SVG[this.type] }), index.h("span", { key: '286d3d0ea065534b84be18c927b2fcd7f30f34bd', class: "message" }, index.h("slot", { key: '261e865980515a816382b2c7c6b3a52b500308bf', ref: (el) => (this.messageSlot = el), onSlotchange: this.handleSlotChange })), this.actionLabel && (index.h("lmvz-button", { key: '46d964c0490bbdd47426fc228db0e3ccb108b416', variant: "tertiary", scale: "small", onLmvzActivation: this.handleActionClick }, this.actionLabel)), this.dismissible && (index.h("lmvz-button", { key: 'ce1ec8beb756c2e11c948e227f94f81bd5568c88', variant: "tertiary", scale: "small", "aria-label": this.closeLabel, onClick: this.handleDismissClick }, index.h("lmvz-icon", { key: '5361c424e77ffea7984c2fd42357666cd86ba1d6', "aria-hidden": "true", icon: CLOSE_SM_SVG })))));
106
+ return (index.h(index.Host, { key: '1c45cf27f057535ffff047548a3d6681dd487d3c', role: role }, this.leadingIcon && index.h("span", { key: '8efab69f677dfaa06d333aa304479e17e6d60ad6', class: "leading-icon", "aria-hidden": "true", innerHTML: TYPE_SVG[this.type] }), index.h("span", { key: '2e88e9053444e2aae23341b7cba923c7c440ff64', class: "message" }, index.h("slot", { key: 'd6b0ee6c95846a1de97e0e6ed707001c29c78c92', ref: (el) => (this.messageSlot = el), onSlotchange: this.handleSlotChange })), this.actionLabel && (index.h("lmvz-button", { key: 'c55e38e274e98c8ac584ae16520fb0cab5e11d17', variant: "tertiary", scale: "small", onLmvzActivation: this.handleActionClick }, this.actionLabel)), this.dismissible && (index.h("lmvz-button", { key: '1ae69fefbb23cd8a219aee1d624e9d7779ae0c08', variant: "tertiary", scale: "small", "aria-label": this.closeLabel, onClick: this.handleDismissClick }, index.h("lmvz-icon", { key: '572c5b3309a1b1b9798dc6fc3f4ad11d0a354ebc', "aria-hidden": "true", icon: CLOSE_SM_SVG })))));
107
107
  }
108
108
  };
109
109
  LmvzMessage.style = lmvzMessageCss();
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
4
  var closeSm = require('./close-sm-CATLoxxd.js');
5
5
  var svg = require('./svg-CysxzZw7.js');
6
- var ariaValidationController = require('./aria-validation-controller-BC0Eaiv4.js');
7
- var element_util = require('./element.util-CRS_YJ59.js');
6
+ var ariaValidationController = require('./aria-validation-controller-Do0uEK4t.js');
7
+ var element_util = require('./element.util-CctmBvUY.js');
8
8
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
9
9
  require('./logger-NBdKPSou.js');
10
10
  require('./aria-loader-DWUVcapD.js');
@@ -233,7 +233,7 @@ const LmvzModal = class extends reactiveControllerHost.ReactiveControllerHost {
233
233
  this.hasHeader = this.hasAssignedContent(this.headerSlot);
234
234
  };
235
235
  render() {
236
- return (index.h(index.Host, { key: '8b5f506cdac223a440309d472639fe965b94f8c2' }, index.h("dialog", { key: '0b70ac4d9590266271052c4d7fdef03c684d9b72', ref: (element) => (this.dialogEl = element), onCancel: this.handleDialogCancel, onClose: this.handleDialogClose, ...this.dialogAccessibilityAttributes }, index.h("div", { key: '25b529bec1905408c2041b7370ab37586eade47d', class: "modal-shell" }, index.h("header", { key: 'd86ae4a6f4ac7f6efd38385f1407d1f6bfbb1abb', class: { header: true, 'has-title': this.hasHeader } }, index.h("div", { key: '7fd7059bfb0b90834895a87c2f2598e2e8c2ba80', class: "title", id: this.dialogTitleId, hidden: !this.hasHeader }, index.h("slot", { key: 'b6eb7885e220e5def4c3c8420d5b83f4a7e30907', name: "header", ref: (element) => (this.headerSlot = element), onSlotchange: this.handleHeaderSlotChange })), index.h("lmvz-button", { key: '72e17391097dfa756e572764f40080b6eec222b2', ref: (element) => (this.closeButtonEl = element), type: "button", class: "close-button", "aria-label": this.closeLabel, onLmvzActivation: this.handleCloseButtonClick, variant: "tertiary" }, index.h("lmvz-icon", { key: '7bbae1aefa9ccc6646d5861683e3476339a545e4', icon: closeIconSvg }))), index.h("div", { key: '9f22628448e9af527eb10ef2602c498afc55c029', class: "body" }, index.h("slot", { key: '413e72707749b3abc987ef47a81cccda4b874c84' })), index.h("footer", { key: 'a1a8f648e88d1f9045e9cf866d332aac69e033df', class: "actions", hidden: !this.buttonGroupEl?.hasActions }, index.h("lmvz-button-group", { key: '7d7eeee7a2551a09bfb4fc513bde48828be5ee8b', ref: (element) => (this.buttonGroupEl = element) }, index.h("slot", { key: '76b00523167c5fa08f11fc351a37638227401711', name: "actions" })))))));
236
+ return (index.h(index.Host, { key: '9eb1aa89e4c682586d10291e2a8a2523b8fd17f7' }, index.h("dialog", { key: '477c537328622f85759dc72a0c499d56e3d5e345', ref: (element) => (this.dialogEl = element), onCancel: this.handleDialogCancel, onClose: this.handleDialogClose, ...this.dialogAccessibilityAttributes }, index.h("div", { key: 'b9fe9cb306938a117002e5213740ea20269080b8', class: "modal-shell" }, index.h("header", { key: '34d0cd8078d55d98ec526843f02710044663de70', class: { header: true, 'has-title': this.hasHeader } }, index.h("div", { key: '1408f0e0875f5e0508ad0f5682f4879a93df65df', class: "title", id: this.dialogTitleId, hidden: !this.hasHeader }, index.h("slot", { key: '735c1757962e4f3804700a4669d0b49f2d11fb16', name: "header", ref: (element) => (this.headerSlot = element), onSlotchange: this.handleHeaderSlotChange })), index.h("lmvz-button", { key: 'b0eb76cde508fb434023abdc0f764e1b809b6447', ref: (element) => (this.closeButtonEl = element), type: "button", class: "close-button", "aria-label": this.closeLabel, onLmvzActivation: this.handleCloseButtonClick, variant: "tertiary" }, index.h("lmvz-icon", { key: '9f978d3117a4046202c3ba1df39aa0c7afc7ee28', icon: closeIconSvg }))), index.h("div", { key: '46ffd7e7315099189c0a2499d17bdeabeb0e46e5', class: "body" }, index.h("slot", { key: '095c3353f2ea00f6fa765ac0972ee0123f8e4154' })), index.h("footer", { key: '5b092b00f10acede66d0fac53f01584ecf528418', class: "actions", hidden: !this.buttonGroupEl?.hasActions }, index.h("lmvz-button-group", { key: 'ce312e1b1c3407838b8704f20393e7120d6338f9', ref: (element) => (this.buttonGroupEl = element) }, index.h("slot", { key: '6246782cbee1cc440cfdaf45dac36655f19c972e', name: "actions" })))))));
237
237
  }
238
238
  static get watchers() { return {
239
239
  "open": [{
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
4
- var ariaValidationController = require('./aria-validation-controller-BC0Eaiv4.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
+ var ariaValidationController = require('./aria-validation-controller-Do0uEK4t.js');
5
5
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
6
6
  require('./aria-loader-DWUVcapD.js');
7
7
 
@@ -315,7 +315,7 @@ const LmvzRadio = class extends reactiveControllerHost.ReactiveControllerHost {
315
315
  this.radioGroupController.setFocused(target);
316
316
  }
317
317
  render() {
318
- return (index.h(index.Host, { key: 'c233b8f8e67016dd9a8622359bd91d3193735438' }, index.h("input", { key: '6a0a028f4ae346b60f86109d33058f7a04f0f2f8', type: "radio", id: this.radioId, name: this.name ?? undefined, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, autoFocus: this.autofocus, "aria-invalid": this.error ? 'true' : undefined, "aria-describedby": this.helperId, ref: (el) => (this.nativeInput = el), onChange: this.handleChange }), index.h("span", { key: 'f86096dd776236e07292dab77a37aeedffb8d8d4', class: "circle", "aria-hidden": "true" }, this.checked && index.h("span", { key: '8e93beefee742af62775d4d5945df8d13adb739f', class: "dot" })), index.h("span", { key: '19df96e6d015d0f74c96781ae49191a542a4f41d', class: "content" }, index.h("label", { key: 'b678b54ca139191ff78d5f503b73ea407eeb0708', htmlFor: this.radioId }, this.label), index.h("span", { key: '4a1e8a60594e959cb5549dd20b3d35a715ce1d99', "aria-live": "polite", class: "helper-text", id: this.helperId }, this.helperText))));
318
+ return (index.h(index.Host, { key: 'cb2db48956ca781f226fbbddcf1d8ea819f9192a' }, index.h("input", { key: 'ec208dbaa714ae015415370b0d38ef916955b023', type: "radio", id: this.radioId, name: this.name ?? undefined, value: this.value, checked: this.checked, disabled: this.disabled, required: this.required, autoFocus: this.autofocus, "aria-invalid": this.error ? 'true' : undefined, "aria-describedby": this.helperId, ref: (el) => (this.nativeInput = el), onChange: this.handleChange }), index.h("span", { key: 'ef8221077d410d59248ce30678989f6bf7fbbebb', class: "circle", "aria-hidden": "true" }, this.checked && index.h("span", { key: '7faa45b58d39f05f64a7782329046fe07b0c2a98', class: "dot" })), index.h("span", { key: 'e508b4bf061ab0e038df7c169a80285bb7930dc3', class: "content" }, index.h("label", { key: '8117be47e7b0ae9cc17bab21bb7cc5d9300d2146', htmlFor: this.radioId }, this.label), index.h("span", { key: '44ab845ee18415b54fb5d23e533f85644f4e5e50', "aria-live": "polite", class: "helper-text", id: this.helperId }, this.helperText))));
319
319
  }
320
320
  static get formAssociated() { return true; }
321
321
  static get watchers() { return {
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
4
- var ariaValidationController = require('./aria-validation-controller-BC0Eaiv4.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
+ var ariaValidationController = require('./aria-validation-controller-Do0uEK4t.js');
5
5
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
6
6
  require('./aria-loader-DWUVcapD.js');
7
7
 
@@ -59,7 +59,7 @@ const LmvzSelect = class extends reactiveControllerHost.ReactiveControllerHost {
59
59
  render() {
60
60
  const hasValue = this.hasValue;
61
61
  const shouldShowLabel = hasValue;
62
- return (index.h(index.Host, { key: 'f1180d4a5f1c30414b06c19314eb75630aa181f7', "data-highlighted": String(this.highlighted) }, index.h("div", { key: '01088c7f3315faab1fb23c99cf8b30f7d59abfc6', class: hasValue ? 'select-wrapper has-value' : 'select-wrapper' }, index.h("label", { key: '34d23292b6b65fac000f822e1e2839e28b1bfee9', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && index.h("span", { key: 'ba171cdd9b53f8fa7b7fcb2c39a0b4aa69940b95', "aria-hidden": "true" }, " *")), index.h("div", { key: '798a6ef187b4aaaa45ecb3d6f94c30e7facb7a38', "aria-hidden": "true" }, index.h("span", { key: '33ea2169d94f4f8cf6263ed0c3bd6a9e593207a4' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && index.h("span", { key: '0ea2d4987587a1a42dfd037dcefeed3f1b3356ef', "aria-hidden": "true" }, " *")), index.h("span", { key: '7bd24b3921cc5cd261f563476a79d61a288d60bb' }, index.h("svg", { key: '9887853724abada1fe36f7225db7903ee6e4040d', width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("path", { key: 'b55a82230d46944ca3bd46f00f8c59b1a75ab8b8', d: "M20.3334 8.66663L12.0001 17L3.66675 8.66663", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("select", { key: 'd786f49b4522baf4c803ed3046b3606f29d6dae1', id: this.selectId, ref: (el) => (this.nativeSelectEl = el), name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.label, onChange: this.handleChange }, !hasValue && index.h("option", { key: '5ffa7ffb7cd79c28a8bd212cc4d123dceb77aad4', value: "", disabled: true, selected: true, hidden: true }), index.h("slot", { key: '8a4141ead35cfd07c14d869715397d12ea8b64d7' }))), this.helperText && index.h("div", { key: 'dc5ccd28b0a903f6ed674d994e302caed1d9e9bb', role: "status" }, this.helperText)));
62
+ return (index.h(index.Host, { key: '764be3255f76406e66600e800da85d84de8a5b62', "data-highlighted": String(this.highlighted) }, index.h("div", { key: '81c6c1eb04d9062b142f30c201b3ec24feec8814', class: hasValue ? 'select-wrapper has-value' : 'select-wrapper' }, index.h("label", { key: '49199adcb31515ce4b4789f27cc2520805c29a3c', htmlFor: this.selectId, class: shouldShowLabel ? 'floating-label' : 'assistive-label' }, this.label, this.required && shouldShowLabel && index.h("span", { key: 'e7e02e878d8a130d61e426774d9d362a49e481a7', "aria-hidden": "true" }, " *")), index.h("div", { key: 'bc5ff1214d856a084918c8e68d1b1567a97b41bb', "aria-hidden": "true" }, index.h("span", { key: 'cc3513a16e4e621bc47f35c252e981bc25bc0d77' }, hasValue ? this.selectedLabel : this.label, this.required && !hasValue && index.h("span", { key: 'a34658592f038b9438808418cc106842d98e63d5', "aria-hidden": "true" }, " *")), index.h("span", { key: 'cd71dd492d758e7e53e6212cc9549ec4057abe3f' }, index.h("svg", { key: 'fa1ea83d316fa9280516316b695163634264151c', width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("path", { key: '7750c64531e98cc5cdebafa1ecacf624945ab198', d: "M20.3334 8.66663L12.0001 17L3.66675 8.66663", stroke: "currentColor", "stroke-width": "1.75", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("select", { key: '53a4e34ad1405447177675e67afcc2e9c18319cb', id: this.selectId, ref: (el) => (this.nativeSelectEl = el), name: this.name, disabled: this.disabled, required: this.required, "aria-label": this.label, onChange: this.handleChange }, !hasValue && index.h("option", { key: '78ba2e2225d3d3b558c8a20f276f6fbbc0a670b8', value: "", disabled: true, selected: true, hidden: true }), index.h("slot", { key: 'bbc561f3f55dbc42b705f251fdc146b0496c72a1' }))), this.helperText && index.h("div", { key: '5bc860035c0ee46f62fefdb74d752b419bb19f7c', role: "status" }, this.helperText)));
63
63
  }
64
64
  static get watchers() { return {
65
65
  "value": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
4
  var warning = require('./warning-WEX_ABWL.js');
5
5
 
6
6
  const alertSvg = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzM0Nl8zODApIj4KPHBhdGggZD0iTTEyIDUuMjVWMTMuMTI1TTIyLjUgMTJDMjIuNSAxNy43OTkgMTcuNzk5IDIyLjUgMTIgMjIuNUM2LjIwMTAxIDIyLjUgMS41IDE3Ljc5OSAxLjUgMTJDMS41IDYuMjAxMDEgNi4yMDEwMSAxLjUgMTIgMS41QzE3Ljc5OSAxLjUgMjIuNSA2LjIwMTAxIDIyLjUgMTJaTTEzLjEyNSAxNi44NzVDMTMuMTI1IDE3LjQ5NjMgMTIuNjIxMyAxOCAxMiAxOEMxMS4zNzg3IDE4IDEwLjg3NSAxNy40OTYzIDEwLjg3NSAxNi44NzVDMTAuODc1IDE2LjI1MzcgMTEuMzc4NyAxNS43NSAxMiAxNS43NUMxMi42MjEzIDE1Ljc1IDEzLjEyNSAxNi4yNTM3IDEzLjEyNSAxNi44NzVaIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuNzUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzM0Nl8zODAiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==';
@@ -67,7 +67,7 @@ const LmvzSnackbar = class {
67
67
  this.el.dispatchEvent(new CustomEvent('lmvzAction', { bubbles: false, composed: false }));
68
68
  };
69
69
  render() {
70
- return (index.h(index.Host, { key: '6c2898f187ed9b456dd0c13294eb466270b116cb', class: this.animationClass }, index.h("lmvz-icon", { key: '9b4903f0e2099d44f0ed1773ed23f948b894f603', icon: STATUS_SVG[this.status], size: "md", weight: "bold" }), index.h("span", { key: '38163523ce0bba29dbe387e5c808ae9f5f2c2c55', class: "message" }, this.message), this.actionLabel && (index.h("lmvz-button", { key: 'bf5eb3e5075dec7c10f95a46db207ccb3181c88b', variant: "tertiary", scale: "small", onLmvzActivation: this.handleActionClick }, this.actionLabel))));
70
+ return (index.h(index.Host, { key: '3526d31aa5842f2d4bf5b5b878a7ca03bb4bf731', class: this.animationClass }, index.h("lmvz-icon", { key: '52080f476e527c9af337eb1997db1b29a90fb5c0', icon: STATUS_SVG[this.status], size: "md", weight: "bold" }), index.h("span", { key: 'a18eaf04ca959432fc76037efd24ecf1001bd798', class: "message" }, this.message), this.actionLabel && (index.h("lmvz-button", { key: '3126781af40ea74854db8e7c2aa7e1fb1b632d38', variant: "tertiary", scale: "small", onLmvzActivation: this.handleActionClick }, this.actionLabel))));
71
71
  }
72
72
  static get watchers() { return {
73
73
  "status": [{
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
4
 
5
5
  const lmvzSpinnerCss = () => `:host{--spinner-size:1rem;display:inline-block;width:var(--spinner-size);height:var(--spinner-size)}:host([size='large']){--spinner-size:2rem;}svg{width:100%;height:100%;transform-origin:center;animation:lmvz-spinner-rotate var(--lmvz-global-duration-slow, 800ms) linear infinite;color:var(--lmvz-semantic-color-border-active, #0f8acc)}circle{fill:none;stroke:currentcolor;stroke-width:var(--lmvz-component-icon-border-width-strong, 1.5px);stroke-linecap:round;stroke-dasharray:75 25;vector-effect:non-scaling-stroke}@keyframes lmvz-spinner-rotate{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){svg{animation:none}}`;
6
6
 
@@ -12,7 +12,7 @@ const LmvzSpinner = class {
12
12
  ariaLabel;
13
13
  render() {
14
14
  const hasLabel = !!this.ariaLabel?.trim();
15
- return (index.h(index.Host, { key: '75f8aabfe2eae72d29c5f0aa0663d0c37286ab78', role: hasLabel ? 'status' : undefined, "aria-label": hasLabel ? this.ariaLabel : undefined, "aria-hidden": hasLabel ? undefined : 'true' }, index.h("svg", { key: 'aadf9daaa1f363752e08eed3136fc8a8f15d3bdf', part: "indicator", viewBox: "0 0 16 16", "aria-hidden": "true" }, index.h("circle", { key: 'e658f4be70b5bd03b3828071cbce977576afa3c8', pathLength: "100", cx: "8", cy: "8", r: "6" }))));
15
+ return (index.h(index.Host, { key: '96a151ca5586df967f9973e73cfb7be458254dc4', role: hasLabel ? 'status' : undefined, "aria-label": hasLabel ? this.ariaLabel : undefined, "aria-hidden": hasLabel ? undefined : 'true' }, index.h("svg", { key: '27d404b929294aba50170e0ad4951c0c03d7a286', part: "indicator", viewBox: "0 0 16 16", "aria-hidden": "true" }, index.h("circle", { key: 'bcf47ee3a704f46ab4ec26de41dd859db17266e9', pathLength: "100", cx: "8", cy: "8", r: "6" }))));
16
16
  }
17
17
  };
18
18
  LmvzSpinner.style = lmvzSpinnerCss();
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
4
 
5
5
  const lmvzTabCss = () => ` @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } *[hidden] { display: none !important; } hr { height: 0; border: none; margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0; border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0); } } :host { display: inline-block; flex: none; } :host([disabled]) { cursor: not-allowed; pointer-events: none; } button { --lmvz-tab-color: var(--lmvz-semantic-color-int-on-secondary, #000000); --lmvz-tab-background: var(--lmvz-semantic-color-int-secondary, #f0f0f0); position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--lmvz-component-component-spacing-0-default, 4px); padding-top: var(--lmvz-dimension-12-8, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)); padding-bottom: var(--lmvz-dimension-14-8, clamp(0.5rem, 0.41rem + 0.39vw, 0.88rem)); padding-inline: var(--lmvz-dimension-24-16, clamp(1rem, 0.88rem + 0.52vw, 1.5rem)); border: none; border-radius: var(--lmvz-semantic-border-radius-round, 999px); background: var(--lmvz-tab-background); color: var(--lmvz-tab-color); font: var(--lmvz-typography-body-md-strong, 500 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5 Router); cursor: pointer; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; } button:focus-visible { outline: var(--lmvz-ds-outline, 1px solid #0e7ab4); outline-offset: var(--lmvz-ds-outline-offset, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)); z-index: 1; } button:disabled { opacity: var(--lmvz-component-input-disabled-opacity, 40%); pointer-events: none; cursor: not-allowed; } button:hover { --lmvz-tab-background: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0); --lmvz-tab-color: var(--lmvz-semantic-color-int-on-secondary-hover, #000000); } button:active { --lmvz-tab-background: var(--lmvz-semantic-color-int-tertiary-active, #e0e0e0); --lmvz-tab-color: var(--lmvz-semantic-color-int-on-secondary-active, #000000); } :host([has-media]) { --lmvz-tab-color: var(--lmvz-semantic-color-int-on-tertiary, #000000); --lmvz-tab-background: var(--lmvz-semantic-color-int-tertiary, #ffffff); } :host([has-media]) button { padding-top: var(--lmvz-dimension-18-16, clamp(1rem, 0.97rem + 0.13vw, 1.13rem)); padding-bottom: var(--lmvz-dimension-14-12, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)); padding-inline: var(--lmvz-dimension-48-40, clamp(2.5rem, 2.38rem + 0.52vw, 3rem)); border-radius: var(--lmvz-semantic-border-radius-lg, 14px); } :host([has-media]) button:hover { --lmvz-tab-color: var(--lmvz-semantic-color-int-on-tertiary-hover, #000000); } :host([has-media]) button:active { --lmvz-tab-color: var(--lmvz-semantic-color-int-on-tertiary-active, #000000); } :host([selected]) button { --lmvz-tab-color: var(--lmvz-semantic-color-status-on-active, #0e7ab4); --lmvz-tab-background: var(--lmvz-semantic-color-status-active, #f6fbfe); } :host([selected][has-media]) button:hover, :host([selected][has-media]) button:active { --lmvz-tab-color: var(--lmvz-semantic-color-status-on-active, #0e7ab4); } .indicator { --lmvz-tab-indicator-size: 4px; position: absolute; background: linear-gradient(to right, var(--lmvz-semantic-color-gradient-main-1, #0e7ab4), var(--lmvz-semantic-color-gradient-main-2, #0e7ab4)); opacity: 0; transition: opacity 0.15s ease; inset-block-end: 0; inset-inline: 0; block-size: var(--lmvz-tab-indicator-size); border-start-start-radius: 0; border-start-end-radius: 0; border-end-start-radius: var(--lmvz-tab-indicator-size); border-end-end-radius: var(--lmvz-tab-indicator-size); } :host([selected][has-media]) .indicator { opacity: 1; } :host([vertical]) button { border-radius: var(--lmvz-semantic-border-radius-round, 999px); } :host([vertical]) .indicator { inset-block: 0; inset-inline: 0 auto; inline-size: var(--lmvz-tab-indicator-size); block-size: auto; border-radius: 0 var(--lmvz-tab-indicator-size) var(--lmvz-tab-indicator-size) 0; background: linear-gradient(to bottom, var(--lmvz-semantic-color-gradient-main-1, #0e7ab4), var(--lmvz-semantic-color-gradient-main-2, #0e7ab4)); } ::slotted(*) { --lmvz-component-color: var(--lmvz-tab-color); } ::slotted(lmvz-icon) { --lmvz-component-size: var(--lmvz-dimension-18-16, clamp(1rem, 0.97rem + 0.13vw, 1.13rem)); } :host([has-media]) ::slotted(lmvz-icon) { --lmvz-component-size: var(--lmvz-component-icon-size-lg, clamp(1.25rem, 1.19rem + 0.26vw, 1.5rem)); } .label { display: contents; } `;
6
6
 
@@ -22,7 +22,7 @@ const LmvzTab = class {
22
22
  this.el.dispatchEvent(new CustomEvent('lmvzTabReady', { bubbles: true, composed: false }));
23
23
  }
24
24
  render() {
25
- return (index.h(index.Host, { key: '6bb908c4956e84cd344fc8e81b400d33bb2dce98' }, index.h("button", { key: 'fbc5b650c9bfb5653d17f9a66a14ffbf0fe87f83', part: "button", role: "tab", disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: 0 }, index.h("slot", { key: 'a16da4d11ecca9db3d03da3b0076b698295ead1f', name: "media", ref: (el) => (this.mediaSlotEl = el), onSlotchange: this.handleMediaSlotChange }), index.h("span", { key: 'e9e83fd4aa556716af3c7b7e52e1e1d8a5a33061', class: "label" }, index.h("slot", { key: 'a4c0378e62d67d7bcc772ff6a77ae1a86f41208c' })), index.h("span", { key: 'de03b763d99f55b8773334df3d18c2d3855de4de', "aria-hidden": "true", part: "indicator", class: "indicator" }))));
25
+ return (index.h(index.Host, { key: '992500dcc371efbeab4eb83fbcfb9745384fa423' }, index.h("button", { key: 'e346c88625b701636704e89b749971e6a016a3ff', part: "button", role: "tab", disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, tabIndex: 0 }, index.h("slot", { key: 'ee0790e6f04c1c05fbbb7a624e0c791e1db24506', name: "media", ref: (el) => (this.mediaSlotEl = el), onSlotchange: this.handleMediaSlotChange }), index.h("span", { key: '45b0c2c38dcec72ab02cd308e0301d1c912e96f7', class: "label" }, index.h("slot", { key: 'e31e6c8ade0c7b44684836c29fbb65464db7ae59' })), index.h("span", { key: '03016f465e673bf27261e8ceb5c3a6a1666551a7', "aria-hidden": "true", part: "indicator", class: "indicator" }))));
26
26
  }
27
27
  static get delegatesFocus() { return true; }
28
28
  };
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-TGsVZNDP.js');
4
- var directionalFocusController = require('./directional-focus-controller-DBat-oF7.js');
3
+ var index = require('./index-BgvZ4y-3.js');
4
+ var directionalFocusController = require('./directional-focus-controller-3uDoin45.js');
5
5
  var reactiveControllerHost = require('./reactive-controller-host-Bc6B_T45.js');
6
- require('./element.util-CRS_YJ59.js');
6
+ require('./element.util-CctmBvUY.js');
7
7
 
8
8
  const lmvzTabsCss = () => ` @layer lmvz-ds.reset, lmvz-ds.theme, lmvz-ds.components, lmvz-ds.overrides; @layer lmvz-ds.reset { body { margin: 0; } h1, h2, h3, h4, h5, h6 { margin: 0; } *[hidden] { display: none !important; } hr { height: 0; border: none; margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0; border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0); } } :host { display: inline-block; } .tablist { display: inline-flex; flex-direction: row; background: var(--lmvz-semantic-color-int-secondary, #f0f0f0); border-radius: var(--lmvz-semantic-border-radius-round, 999px); overflow: auto hidden; scrollbar-width: none; } .tablist::-webkit-scrollbar { display: none; } :host([has-icon-tabs]) .tablist { gap: var(--lmvz-dimension-8-6, clamp(0.38rem, 0.34rem + 0.13vw, 0.5rem)); background: none; border-radius: 0; } :host([orientation='vertical']) .tablist { flex-direction: column; overflow: visible auto; } ::slotted([role='tabpanel']) { display: block; } ::slotted([role='tabpanel'][hidden]) { display: none; } `;
9
9
 
@@ -243,7 +243,7 @@ const LmvzTabs = class extends reactiveControllerHost.ReactiveControllerHost {
243
243
  this.selectTab(value);
244
244
  };
245
245
  render() {
246
- return (index.h(index.Host, { key: '98df29f336a3ea47efa6c76a773de28c5174c718', onClick: this.handleTabClick, onKeydown: this.handleKeydown }, index.h("div", { key: '7e35ae180c4ebf2f5a82e0fad0977cd3c38ac659', role: "tablist", "aria-orientation": this.orientation, class: "tablist" }, index.h("slot", { key: '2520bc8b8988a60b37a067828ad237bf8dcfcc59', ref: (el) => (this.tabSlotEl = el) })), index.h("div", { key: 'bd4a954b6caca2d9f2eb588f58590821ec4af888', part: "panels-container", class: "panels-container" }, index.h("slot", { key: 'b4dffff530328e6e4c8d305895ef4dd2d5952757', name: "panels", ref: (el) => (this.panelSlotEl = el) }))));
246
+ return (index.h(index.Host, { key: '27d096ac6ed21fb72a5c6336c6f07ee2fe36bd92', onClick: this.handleTabClick, onKeydown: this.handleKeydown }, index.h("div", { key: 'c3b530f13cf6829e8519a678e577e8aa6bf1c3d6', role: "tablist", "aria-orientation": this.orientation, class: "tablist" }, index.h("slot", { key: '018641f52dfcab6dea884c95a5e550dbe60f74f6', ref: (el) => (this.tabSlotEl = el) })), index.h("div", { key: '6f7cce2b8e551683ba04c53ebae8233c3ef61969', part: "panels-container", class: "panels-container" }, index.h("slot", { key: '8e9f0c1e1866180a763dd41aa1974f5cf354fb44', name: "panels", ref: (el) => (this.panelSlotEl = el) }))));
247
247
  }
248
248
  static get watchers() { return {
249
249
  "value": [{