@db-ux/wc-core-components 4.2.5 → 4.2.7-consolidation2-66e78e5

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 (568) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -3
  3. package/dist/cjs/{constants-CTtyzyuo.js → constants-bMY2_d8A.js} +4 -3
  4. package/dist/cjs/db-accordion-item.cjs.entry.js +12 -7
  5. package/dist/cjs/db-accordion.cjs.entry.js +29 -12
  6. package/dist/cjs/db-badge.cjs.entry.js +9 -6
  7. package/dist/cjs/db-brand.cjs.entry.js +3 -4
  8. package/dist/cjs/db-button.cjs.entry.js +2 -3
  9. package/dist/cjs/db-card.cjs.entry.js +2 -3
  10. package/dist/cjs/db-checkbox.cjs.entry.js +30 -11
  11. package/dist/cjs/db-custom-select-dropdown_5.cjs.entry.js +27 -14
  12. package/dist/cjs/db-custom-select-form-field.cjs.entry.js +2 -3
  13. package/dist/cjs/db-custom-select.cjs.entry.js +101 -36
  14. package/dist/cjs/db-divider.cjs.entry.js +2 -3
  15. package/dist/cjs/db-drawer.cjs.entry.js +15 -8
  16. package/dist/cjs/db-header.cjs.entry.js +9 -6
  17. package/dist/cjs/db-icon.cjs.entry.js +2 -3
  18. package/dist/cjs/db-infotext.cjs.entry.js +2 -3
  19. package/dist/cjs/db-link.cjs.entry.js +5 -6
  20. package/dist/cjs/db-navigation-item.cjs.entry.js +12 -7
  21. package/dist/cjs/db-navigation.cjs.entry.js +3 -4
  22. package/dist/cjs/db-notification.cjs.entry.js +3 -4
  23. package/dist/cjs/db-page.cjs.entry.js +2 -3
  24. package/dist/cjs/db-popover.cjs.entry.js +14 -7
  25. package/dist/cjs/db-radio.cjs.entry.js +14 -7
  26. package/dist/cjs/db-section.cjs.entry.js +2 -3
  27. package/dist/cjs/db-select.cjs.entry.js +21 -10
  28. package/dist/cjs/db-stack.cjs.entry.js +2 -3
  29. package/dist/cjs/db-switch.cjs.entry.js +28 -13
  30. package/dist/cjs/db-tab-item_3.cjs.entry.js +15 -8
  31. package/dist/cjs/db-tabs.cjs.entry.js +8 -5
  32. package/dist/cjs/db-textarea.cjs.entry.js +18 -9
  33. package/dist/cjs/db-tooltip.cjs.entry.js +10 -7
  34. package/dist/cjs/db-ux.cjs.js +3 -4
  35. package/dist/cjs/{document-click-listener-DGna8oDJ.js → document-click-listener-B2Xzqbvs.js} +1 -4
  36. package/dist/cjs/{document-scroll-listener-BBXRu9dN.js → document-scroll-listener-C_v46oIg.js} +1 -4
  37. package/dist/cjs/floating-components-ogUqz72V.js +0 -3
  38. package/dist/cjs/{form-components-CPqbzZwG.js → form-components-BrtqMwX0.js} +1 -4
  39. package/dist/cjs/{index-Bm2Cw2rz.js → index-CW5aVEyQ.js} +19 -3
  40. package/dist/cjs/{index-Db5RdCbB.js → index-Mi8dWSSD.js} +190 -142
  41. package/dist/cjs/index.cjs.js +7 -6
  42. package/dist/cjs/loader.cjs.js +2 -3
  43. package/dist/cjs/navigation-DauGE-qj.js +0 -3
  44. package/dist/collection/collection-manifest.json +2 -2
  45. package/dist/collection/components/accordion/accordion.js +14 -8
  46. package/dist/collection/components/accordion/index.js +0 -1
  47. package/dist/collection/components/accordion/model.js +0 -1
  48. package/dist/collection/components/accordion-item/accordion-item.js +14 -8
  49. package/dist/collection/components/accordion-item/index.js +0 -1
  50. package/dist/collection/components/accordion-item/model.js +0 -1
  51. package/dist/collection/components/badge/badge.js +16 -9
  52. package/dist/collection/components/badge/index.js +0 -1
  53. package/dist/collection/components/badge/model.js +0 -1
  54. package/dist/collection/components/brand/brand.js +13 -8
  55. package/dist/collection/components/brand/index.js +0 -1
  56. package/dist/collection/components/brand/model.js +0 -1
  57. package/dist/collection/components/button/button.js +39 -22
  58. package/dist/collection/components/button/index.js +0 -1
  59. package/dist/collection/components/button/model.js +0 -1
  60. package/dist/collection/components/card/card.js +10 -6
  61. package/dist/collection/components/card/index.js +0 -1
  62. package/dist/collection/components/card/model.js +0 -1
  63. package/dist/collection/components/checkbox/checkbox.js +39 -21
  64. package/dist/collection/components/checkbox/index.js +0 -1
  65. package/dist/collection/components/checkbox/model.js +0 -1
  66. package/dist/collection/components/custom-select/custom-select.js +103 -56
  67. package/dist/collection/components/custom-select/index.js +0 -1
  68. package/dist/collection/components/custom-select/model.js +0 -1
  69. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js +6 -4
  70. package/dist/collection/components/custom-select-dropdown/index.js +0 -1
  71. package/dist/collection/components/custom-select-dropdown/model.js +0 -1
  72. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js +4 -3
  73. package/dist/collection/components/custom-select-form-field/index.js +0 -1
  74. package/dist/collection/components/custom-select-form-field/model.js +0 -1
  75. package/dist/collection/components/custom-select-list/custom-select-list.js +8 -5
  76. package/dist/collection/components/custom-select-list/index.js +0 -1
  77. package/dist/collection/components/custom-select-list/model.js +0 -1
  78. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js +27 -15
  79. package/dist/collection/components/custom-select-list-item/index.js +0 -1
  80. package/dist/collection/components/custom-select-list-item/model.js +0 -1
  81. package/dist/collection/components/divider/divider.js +12 -7
  82. package/dist/collection/components/divider/index.js +0 -1
  83. package/dist/collection/components/divider/model.js +0 -1
  84. package/dist/collection/components/drawer/drawer.js +24 -13
  85. package/dist/collection/components/drawer/index.js +0 -1
  86. package/dist/collection/components/drawer/model.js +0 -1
  87. package/dist/collection/components/header/header.js +16 -9
  88. package/dist/collection/components/header/index.js +0 -1
  89. package/dist/collection/components/header/model.js +0 -1
  90. package/dist/collection/components/icon/icon.js +13 -8
  91. package/dist/collection/components/icon/index.js +0 -1
  92. package/dist/collection/components/icon/model.js +0 -1
  93. package/dist/collection/components/infotext/index.js +0 -1
  94. package/dist/collection/components/infotext/infotext.js +15 -9
  95. package/dist/collection/components/infotext/model.js +0 -1
  96. package/dist/collection/components/input/index.js +0 -1
  97. package/dist/collection/components/input/input.js +104 -57
  98. package/dist/collection/components/input/model.js +0 -1
  99. package/dist/collection/components/link/index.js +0 -1
  100. package/dist/collection/components/link/link.js +83 -18
  101. package/dist/collection/components/link/model.js +0 -1
  102. package/dist/collection/components/navigation/index.js +0 -1
  103. package/dist/collection/components/navigation/model.js +0 -1
  104. package/dist/collection/components/navigation/navigation.js +4 -3
  105. package/dist/collection/components/navigation-item/index.js +0 -1
  106. package/dist/collection/components/navigation-item/model.js +0 -1
  107. package/dist/collection/components/navigation-item/navigation-item.js +25 -14
  108. package/dist/collection/components/notification/index.js +0 -1
  109. package/dist/collection/components/notification/model.js +0 -1
  110. package/dist/collection/components/notification/notification.js +33 -18
  111. package/dist/collection/components/page/index.js +0 -1
  112. package/dist/collection/components/page/model.js +0 -1
  113. package/dist/collection/components/page/page.js +12 -7
  114. package/dist/collection/components/popover/index.js +0 -1
  115. package/dist/collection/components/popover/model.js +0 -1
  116. package/dist/collection/components/popover/popover.js +18 -10
  117. package/dist/collection/components/radio/index.js +0 -1
  118. package/dist/collection/components/radio/model.js +0 -1
  119. package/dist/collection/components/radio/radio.js +24 -13
  120. package/dist/collection/components/section/index.js +0 -1
  121. package/dist/collection/components/section/model.js +0 -1
  122. package/dist/collection/components/section/section.js +8 -5
  123. package/dist/collection/components/select/index.js +0 -1
  124. package/dist/collection/components/select/model.js +0 -1
  125. package/dist/collection/components/select/select.js +50 -27
  126. package/dist/collection/components/stack/index.js +0 -1
  127. package/dist/collection/components/stack/model.js +0 -1
  128. package/dist/collection/components/stack/stack.js +16 -9
  129. package/dist/collection/components/switch/index.js +0 -1
  130. package/dist/collection/components/switch/model.js +0 -1
  131. package/dist/collection/components/switch/switch.js +48 -27
  132. package/dist/collection/components/tab-item/index.js +0 -1
  133. package/dist/collection/components/tab-item/model.js +0 -1
  134. package/dist/collection/components/tab-item/tab-item.js +31 -18
  135. package/dist/collection/components/tab-list/index.js +0 -1
  136. package/dist/collection/components/tab-list/model.js +0 -1
  137. package/dist/collection/components/tab-list/tab-list.js +4 -3
  138. package/dist/collection/components/tab-panel/index.js +0 -1
  139. package/dist/collection/components/tab-panel/model.js +0 -1
  140. package/dist/collection/components/tab-panel/tab-panel.js +6 -4
  141. package/dist/collection/components/tabs/index.js +0 -1
  142. package/dist/collection/components/tabs/model.js +0 -1
  143. package/dist/collection/components/tabs/tabs.js +22 -12
  144. package/dist/collection/components/tag/index.js +0 -1
  145. package/dist/collection/components/tag/model.js +0 -1
  146. package/dist/collection/components/tag/tag.js +25 -14
  147. package/dist/collection/components/textarea/index.js +0 -1
  148. package/dist/collection/components/textarea/model.js +0 -1
  149. package/dist/collection/components/textarea/textarea.js +67 -35
  150. package/dist/collection/components/tooltip/index.js +0 -1
  151. package/dist/collection/components/tooltip/model.js +0 -1
  152. package/dist/collection/components/tooltip/tooltip.js +18 -10
  153. package/dist/collection/index.js +0 -1
  154. package/dist/collection/shared/constants.js +2 -1
  155. package/dist/collection/shared/examples/index.js +4 -0
  156. package/dist/collection/shared/model.js +0 -1
  157. package/dist/collection/utils/document-click-listener.js +0 -1
  158. package/dist/collection/utils/document-scroll-listener.js +0 -1
  159. package/dist/collection/utils/floating-components.js +0 -1
  160. package/dist/collection/utils/form-components.js +0 -1
  161. package/dist/collection/utils/index.js +18 -1
  162. package/dist/collection/utils/navigation.js +0 -1
  163. package/dist/collection/utils/react.js +0 -1
  164. package/dist/custom-elements.json +1063 -1
  165. package/dist/db-ux/db-ux.esm.js +1 -2
  166. package/dist/db-ux/index.esm.js +1 -2
  167. package/dist/db-ux/p-027fb90a.entry.js +1 -0
  168. package/dist/db-ux/p-13dd39f1.entry.js +1 -0
  169. package/dist/db-ux/p-15241486.entry.js +1 -0
  170. package/dist/db-ux/p-197f90e4.entry.js +1 -0
  171. package/dist/db-ux/p-2069117e.entry.js +1 -0
  172. package/dist/db-ux/p-23834011.entry.js +1 -0
  173. package/dist/db-ux/p-26fa6bc1.entry.js +1 -0
  174. package/dist/db-ux/p-286f83f4.entry.js +1 -0
  175. package/dist/db-ux/p-29d3070a.entry.js +1 -0
  176. package/dist/db-ux/p-29efc51e.entry.js +1 -0
  177. package/dist/db-ux/p-2baf9c08.entry.js +1 -0
  178. package/dist/db-ux/p-3622f7e7.entry.js +1 -0
  179. package/dist/db-ux/p-40ce182c.entry.js +1 -0
  180. package/dist/db-ux/p-5426dbd3.entry.js +1 -0
  181. package/dist/db-ux/p-58611dcc.entry.js +1 -0
  182. package/dist/db-ux/p-5bca6d35.entry.js +1 -0
  183. package/dist/db-ux/p-623a6b59.entry.js +1 -0
  184. package/dist/db-ux/p-78f6b72a.entry.js +1 -0
  185. package/dist/db-ux/p-86414acd.entry.js +1 -0
  186. package/dist/db-ux/p-9a543d5a.entry.js +1 -0
  187. package/dist/db-ux/p-9d5365f7.entry.js +1 -0
  188. package/dist/db-ux/p-9pYJFapZ.js +2 -0
  189. package/dist/db-ux/p-BdL-nI5y.js +1 -0
  190. package/dist/db-ux/p-BwBkekqp.js +1 -0
  191. package/dist/db-ux/p-Cb-k135w.js +1 -0
  192. package/dist/db-ux/p-DQuL1Twl.js +1 -2
  193. package/dist/db-ux/p-EqlW5Wqf.js +1 -0
  194. package/dist/db-ux/p-G-TursYV.js +1 -2
  195. package/dist/db-ux/p-a1e66a3d.entry.js +1 -0
  196. package/dist/db-ux/p-a232eea2.entry.js +1 -0
  197. package/dist/db-ux/p-a7463ead.entry.js +1 -0
  198. package/dist/db-ux/p-a98bde77.entry.js +1 -0
  199. package/dist/db-ux/p-af0e61d0.entry.js +1 -0
  200. package/dist/db-ux/p-b6538eed.entry.js +1 -0
  201. package/dist/db-ux/p-bde7ff5f.entry.js +1 -0
  202. package/dist/db-ux/p-c9d514e5.entry.js +1 -0
  203. package/dist/db-ux/p-cqrM3KjS.js +1 -0
  204. package/dist/db-ux/p-e30a4814.entry.js +1 -0
  205. package/dist/db-ux/p-sP2NlPcu.js +1 -2
  206. package/dist/esm/app-globals-DQuL1Twl.js +0 -3
  207. package/dist/esm/{constants-DC9V_oNU.js → constants-BdL-nI5y.js} +3 -4
  208. package/dist/esm/db-accordion-item.entry.js +12 -7
  209. package/dist/esm/db-accordion.entry.js +29 -12
  210. package/dist/esm/db-badge.entry.js +9 -6
  211. package/dist/esm/db-brand.entry.js +3 -4
  212. package/dist/esm/db-button.entry.js +2 -3
  213. package/dist/esm/db-card.entry.js +2 -3
  214. package/dist/esm/db-checkbox.entry.js +30 -11
  215. package/dist/esm/db-custom-select-dropdown_5.entry.js +27 -14
  216. package/dist/esm/db-custom-select-form-field.entry.js +2 -3
  217. package/dist/esm/db-custom-select.entry.js +101 -36
  218. package/dist/esm/db-divider.entry.js +2 -3
  219. package/dist/esm/db-drawer.entry.js +15 -8
  220. package/dist/esm/db-header.entry.js +9 -6
  221. package/dist/esm/db-icon.entry.js +2 -3
  222. package/dist/esm/db-infotext.entry.js +2 -3
  223. package/dist/esm/db-link.entry.js +5 -6
  224. package/dist/esm/db-navigation-item.entry.js +12 -7
  225. package/dist/esm/db-navigation.entry.js +3 -4
  226. package/dist/esm/db-notification.entry.js +3 -4
  227. package/dist/esm/db-page.entry.js +2 -3
  228. package/dist/esm/db-popover.entry.js +14 -7
  229. package/dist/esm/db-radio.entry.js +14 -7
  230. package/dist/esm/db-section.entry.js +2 -3
  231. package/dist/esm/db-select.entry.js +21 -10
  232. package/dist/esm/db-stack.entry.js +2 -3
  233. package/dist/esm/db-switch.entry.js +28 -13
  234. package/dist/esm/db-tab-item_3.entry.js +15 -8
  235. package/dist/esm/db-tabs.entry.js +8 -5
  236. package/dist/esm/db-textarea.entry.js +18 -9
  237. package/dist/esm/db-tooltip.entry.js +10 -7
  238. package/dist/esm/db-ux.js +4 -5
  239. package/dist/esm/{document-click-listener-D1ZXrKSx.js → document-click-listener-B_LaIr0O.js} +1 -4
  240. package/dist/esm/{document-scroll-listener-DF6f0ByI.js → document-scroll-listener-dHAsT0Tb.js} +1 -4
  241. package/dist/esm/floating-components-G-TursYV.js +0 -3
  242. package/dist/esm/{form-components-DmI6JmyJ.js → form-components-Cl_wgkeJ.js} +1 -4
  243. package/dist/esm/{index-BMAwJo5Z.js → index-9pYJFapZ.js} +190 -142
  244. package/dist/esm/{index-DhKljLRG.js → index-BwBkekqp.js} +19 -4
  245. package/dist/esm/index.js +4 -6
  246. package/dist/esm/loader.js +3 -4
  247. package/dist/esm/navigation--UdC9CzO.js +0 -3
  248. package/dist/types/components/custom-select/custom-select.d.ts +1 -1
  249. package/dist/types/components/link/link.d.ts +2 -0
  250. package/dist/types/components.d.ts +4 -0
  251. package/dist/types/shared/constants.d.ts +2 -0
  252. package/dist/types/shared/examples/index.d.ts +4 -0
  253. package/dist/types/shared/model.d.ts +12 -0
  254. package/dist/types/stencil-public-runtime.d.ts +87 -4
  255. package/dist/types/utils/index.d.ts +10 -0
  256. package/dist/vscode.html-custom-data.json +118 -0
  257. package/dist/web-types.json +177 -1
  258. package/package.json +10 -9
  259. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  260. package/dist/cjs/constants-CTtyzyuo.js.map +0 -1
  261. package/dist/cjs/db-accordion-item.entry.cjs.js.map +0 -1
  262. package/dist/cjs/db-accordion.entry.cjs.js.map +0 -1
  263. package/dist/cjs/db-badge.entry.cjs.js.map +0 -1
  264. package/dist/cjs/db-brand.entry.cjs.js.map +0 -1
  265. package/dist/cjs/db-button.entry.cjs.js.map +0 -1
  266. package/dist/cjs/db-card.entry.cjs.js.map +0 -1
  267. package/dist/cjs/db-checkbox.entry.cjs.js.map +0 -1
  268. package/dist/cjs/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.cjs.js.map +0 -1
  269. package/dist/cjs/db-custom-select-form-field.entry.cjs.js.map +0 -1
  270. package/dist/cjs/db-custom-select.entry.cjs.js.map +0 -1
  271. package/dist/cjs/db-divider.entry.cjs.js.map +0 -1
  272. package/dist/cjs/db-drawer.entry.cjs.js.map +0 -1
  273. package/dist/cjs/db-header.entry.cjs.js.map +0 -1
  274. package/dist/cjs/db-icon.entry.cjs.js.map +0 -1
  275. package/dist/cjs/db-infotext.entry.cjs.js.map +0 -1
  276. package/dist/cjs/db-link.entry.cjs.js.map +0 -1
  277. package/dist/cjs/db-navigation-item.entry.cjs.js.map +0 -1
  278. package/dist/cjs/db-navigation.entry.cjs.js.map +0 -1
  279. package/dist/cjs/db-notification.entry.cjs.js.map +0 -1
  280. package/dist/cjs/db-page.entry.cjs.js.map +0 -1
  281. package/dist/cjs/db-popover.entry.cjs.js.map +0 -1
  282. package/dist/cjs/db-radio.entry.cjs.js.map +0 -1
  283. package/dist/cjs/db-section.entry.cjs.js.map +0 -1
  284. package/dist/cjs/db-select.entry.cjs.js.map +0 -1
  285. package/dist/cjs/db-stack.entry.cjs.js.map +0 -1
  286. package/dist/cjs/db-switch.entry.cjs.js.map +0 -1
  287. package/dist/cjs/db-tab-item.db-tab-list.db-tab-panel.entry.cjs.js.map +0 -1
  288. package/dist/cjs/db-tabs.entry.cjs.js.map +0 -1
  289. package/dist/cjs/db-textarea.entry.cjs.js.map +0 -1
  290. package/dist/cjs/db-tooltip.entry.cjs.js.map +0 -1
  291. package/dist/cjs/db-ux.cjs.js.map +0 -1
  292. package/dist/cjs/document-click-listener-DGna8oDJ.js.map +0 -1
  293. package/dist/cjs/document-scroll-listener-BBXRu9dN.js.map +0 -1
  294. package/dist/cjs/floating-components-ogUqz72V.js.map +0 -1
  295. package/dist/cjs/form-components-CPqbzZwG.js.map +0 -1
  296. package/dist/cjs/index-Bm2Cw2rz.js.map +0 -1
  297. package/dist/cjs/index-Db5RdCbB.js.map +0 -1
  298. package/dist/cjs/index.cjs.js.map +0 -1
  299. package/dist/cjs/loader.cjs.js.map +0 -1
  300. package/dist/cjs/navigation-DauGE-qj.js.map +0 -1
  301. package/dist/collection/components/accordion/accordion.js.map +0 -1
  302. package/dist/collection/components/accordion/index.js.map +0 -1
  303. package/dist/collection/components/accordion/model.js.map +0 -1
  304. package/dist/collection/components/accordion-item/accordion-item.js.map +0 -1
  305. package/dist/collection/components/accordion-item/index.js.map +0 -1
  306. package/dist/collection/components/accordion-item/model.js.map +0 -1
  307. package/dist/collection/components/badge/badge.js.map +0 -1
  308. package/dist/collection/components/badge/index.js.map +0 -1
  309. package/dist/collection/components/badge/model.js.map +0 -1
  310. package/dist/collection/components/brand/brand.js.map +0 -1
  311. package/dist/collection/components/brand/index.js.map +0 -1
  312. package/dist/collection/components/brand/model.js.map +0 -1
  313. package/dist/collection/components/button/button.js.map +0 -1
  314. package/dist/collection/components/button/index.js.map +0 -1
  315. package/dist/collection/components/button/model.js.map +0 -1
  316. package/dist/collection/components/card/card.js.map +0 -1
  317. package/dist/collection/components/card/index.js.map +0 -1
  318. package/dist/collection/components/card/model.js.map +0 -1
  319. package/dist/collection/components/checkbox/checkbox.js.map +0 -1
  320. package/dist/collection/components/checkbox/index.js.map +0 -1
  321. package/dist/collection/components/checkbox/model.js.map +0 -1
  322. package/dist/collection/components/custom-select/custom-select.js.map +0 -1
  323. package/dist/collection/components/custom-select/index.js.map +0 -1
  324. package/dist/collection/components/custom-select/model.js.map +0 -1
  325. package/dist/collection/components/custom-select-dropdown/custom-select-dropdown.js.map +0 -1
  326. package/dist/collection/components/custom-select-dropdown/index.js.map +0 -1
  327. package/dist/collection/components/custom-select-dropdown/model.js.map +0 -1
  328. package/dist/collection/components/custom-select-form-field/custom-select-form-field.js.map +0 -1
  329. package/dist/collection/components/custom-select-form-field/index.js.map +0 -1
  330. package/dist/collection/components/custom-select-form-field/model.js.map +0 -1
  331. package/dist/collection/components/custom-select-list/custom-select-list.js.map +0 -1
  332. package/dist/collection/components/custom-select-list/index.js.map +0 -1
  333. package/dist/collection/components/custom-select-list/model.js.map +0 -1
  334. package/dist/collection/components/custom-select-list-item/custom-select-list-item.js.map +0 -1
  335. package/dist/collection/components/custom-select-list-item/index.js.map +0 -1
  336. package/dist/collection/components/custom-select-list-item/model.js.map +0 -1
  337. package/dist/collection/components/divider/divider.js.map +0 -1
  338. package/dist/collection/components/divider/index.js.map +0 -1
  339. package/dist/collection/components/divider/model.js.map +0 -1
  340. package/dist/collection/components/drawer/drawer.js.map +0 -1
  341. package/dist/collection/components/drawer/index.js.map +0 -1
  342. package/dist/collection/components/drawer/model.js.map +0 -1
  343. package/dist/collection/components/header/header.js.map +0 -1
  344. package/dist/collection/components/header/index.js.map +0 -1
  345. package/dist/collection/components/header/model.js.map +0 -1
  346. package/dist/collection/components/icon/icon.js.map +0 -1
  347. package/dist/collection/components/icon/index.js.map +0 -1
  348. package/dist/collection/components/icon/model.js.map +0 -1
  349. package/dist/collection/components/infotext/index.js.map +0 -1
  350. package/dist/collection/components/infotext/infotext.js.map +0 -1
  351. package/dist/collection/components/infotext/model.js.map +0 -1
  352. package/dist/collection/components/input/index.js.map +0 -1
  353. package/dist/collection/components/input/input.js.map +0 -1
  354. package/dist/collection/components/input/model.js.map +0 -1
  355. package/dist/collection/components/link/index.js.map +0 -1
  356. package/dist/collection/components/link/link.js.map +0 -1
  357. package/dist/collection/components/link/model.js.map +0 -1
  358. package/dist/collection/components/navigation/index.js.map +0 -1
  359. package/dist/collection/components/navigation/model.js.map +0 -1
  360. package/dist/collection/components/navigation/navigation.js.map +0 -1
  361. package/dist/collection/components/navigation-item/index.js.map +0 -1
  362. package/dist/collection/components/navigation-item/model.js.map +0 -1
  363. package/dist/collection/components/navigation-item/navigation-item.js.map +0 -1
  364. package/dist/collection/components/notification/index.js.map +0 -1
  365. package/dist/collection/components/notification/model.js.map +0 -1
  366. package/dist/collection/components/notification/notification.js.map +0 -1
  367. package/dist/collection/components/page/index.js.map +0 -1
  368. package/dist/collection/components/page/model.js.map +0 -1
  369. package/dist/collection/components/page/page.js.map +0 -1
  370. package/dist/collection/components/popover/index.js.map +0 -1
  371. package/dist/collection/components/popover/model.js.map +0 -1
  372. package/dist/collection/components/popover/popover.js.map +0 -1
  373. package/dist/collection/components/radio/index.js.map +0 -1
  374. package/dist/collection/components/radio/model.js.map +0 -1
  375. package/dist/collection/components/radio/radio.js.map +0 -1
  376. package/dist/collection/components/section/index.js.map +0 -1
  377. package/dist/collection/components/section/model.js.map +0 -1
  378. package/dist/collection/components/section/section.js.map +0 -1
  379. package/dist/collection/components/select/index.js.map +0 -1
  380. package/dist/collection/components/select/model.js.map +0 -1
  381. package/dist/collection/components/select/select.js.map +0 -1
  382. package/dist/collection/components/stack/index.js.map +0 -1
  383. package/dist/collection/components/stack/model.js.map +0 -1
  384. package/dist/collection/components/stack/stack.js.map +0 -1
  385. package/dist/collection/components/switch/index.js.map +0 -1
  386. package/dist/collection/components/switch/model.js.map +0 -1
  387. package/dist/collection/components/switch/switch.js.map +0 -1
  388. package/dist/collection/components/tab-item/index.js.map +0 -1
  389. package/dist/collection/components/tab-item/model.js.map +0 -1
  390. package/dist/collection/components/tab-item/tab-item.js.map +0 -1
  391. package/dist/collection/components/tab-list/index.js.map +0 -1
  392. package/dist/collection/components/tab-list/model.js.map +0 -1
  393. package/dist/collection/components/tab-list/tab-list.js.map +0 -1
  394. package/dist/collection/components/tab-panel/index.js.map +0 -1
  395. package/dist/collection/components/tab-panel/model.js.map +0 -1
  396. package/dist/collection/components/tab-panel/tab-panel.js.map +0 -1
  397. package/dist/collection/components/tabs/index.js.map +0 -1
  398. package/dist/collection/components/tabs/model.js.map +0 -1
  399. package/dist/collection/components/tabs/tabs.js.map +0 -1
  400. package/dist/collection/components/tag/index.js.map +0 -1
  401. package/dist/collection/components/tag/model.js.map +0 -1
  402. package/dist/collection/components/tag/tag.js.map +0 -1
  403. package/dist/collection/components/textarea/index.js.map +0 -1
  404. package/dist/collection/components/textarea/model.js.map +0 -1
  405. package/dist/collection/components/textarea/textarea.js.map +0 -1
  406. package/dist/collection/components/tooltip/index.js.map +0 -1
  407. package/dist/collection/components/tooltip/model.js.map +0 -1
  408. package/dist/collection/components/tooltip/tooltip.js.map +0 -1
  409. package/dist/collection/index.js.map +0 -1
  410. package/dist/collection/shared/constants.js.map +0 -1
  411. package/dist/collection/shared/model.js.map +0 -1
  412. package/dist/collection/utils/document-click-listener.js.map +0 -1
  413. package/dist/collection/utils/document-scroll-listener.js.map +0 -1
  414. package/dist/collection/utils/floating-components.js.map +0 -1
  415. package/dist/collection/utils/form-components.js.map +0 -1
  416. package/dist/collection/utils/index.js.map +0 -1
  417. package/dist/collection/utils/navigation.js.map +0 -1
  418. package/dist/collection/utils/react.js.map +0 -1
  419. package/dist/db-ux/db-accordion-item.entry.esm.js.map +0 -1
  420. package/dist/db-ux/db-accordion.entry.esm.js.map +0 -1
  421. package/dist/db-ux/db-badge.entry.esm.js.map +0 -1
  422. package/dist/db-ux/db-brand.entry.esm.js.map +0 -1
  423. package/dist/db-ux/db-button.entry.esm.js.map +0 -1
  424. package/dist/db-ux/db-card.entry.esm.js.map +0 -1
  425. package/dist/db-ux/db-checkbox.entry.esm.js.map +0 -1
  426. package/dist/db-ux/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.esm.js.map +0 -1
  427. package/dist/db-ux/db-custom-select-form-field.entry.esm.js.map +0 -1
  428. package/dist/db-ux/db-custom-select.entry.esm.js.map +0 -1
  429. package/dist/db-ux/db-divider.entry.esm.js.map +0 -1
  430. package/dist/db-ux/db-drawer.entry.esm.js.map +0 -1
  431. package/dist/db-ux/db-header.entry.esm.js.map +0 -1
  432. package/dist/db-ux/db-icon.entry.esm.js.map +0 -1
  433. package/dist/db-ux/db-infotext.entry.esm.js.map +0 -1
  434. package/dist/db-ux/db-link.entry.esm.js.map +0 -1
  435. package/dist/db-ux/db-navigation-item.entry.esm.js.map +0 -1
  436. package/dist/db-ux/db-navigation.entry.esm.js.map +0 -1
  437. package/dist/db-ux/db-notification.entry.esm.js.map +0 -1
  438. package/dist/db-ux/db-page.entry.esm.js.map +0 -1
  439. package/dist/db-ux/db-popover.entry.esm.js.map +0 -1
  440. package/dist/db-ux/db-radio.entry.esm.js.map +0 -1
  441. package/dist/db-ux/db-section.entry.esm.js.map +0 -1
  442. package/dist/db-ux/db-select.entry.esm.js.map +0 -1
  443. package/dist/db-ux/db-stack.entry.esm.js.map +0 -1
  444. package/dist/db-ux/db-switch.entry.esm.js.map +0 -1
  445. package/dist/db-ux/db-tab-item.db-tab-list.db-tab-panel.entry.esm.js.map +0 -1
  446. package/dist/db-ux/db-tabs.entry.esm.js.map +0 -1
  447. package/dist/db-ux/db-textarea.entry.esm.js.map +0 -1
  448. package/dist/db-ux/db-tooltip.entry.esm.js.map +0 -1
  449. package/dist/db-ux/db-ux.esm.js.map +0 -1
  450. package/dist/db-ux/index.esm.js.map +0 -1
  451. package/dist/db-ux/loader.esm.js.map +0 -1
  452. package/dist/db-ux/p-129cbaa9.entry.js +0 -2
  453. package/dist/db-ux/p-129cbaa9.entry.js.map +0 -1
  454. package/dist/db-ux/p-162c989a.entry.js +0 -2
  455. package/dist/db-ux/p-162c989a.entry.js.map +0 -1
  456. package/dist/db-ux/p-18f10b76.entry.js +0 -2
  457. package/dist/db-ux/p-18f10b76.entry.js.map +0 -1
  458. package/dist/db-ux/p-1dcb2a08.entry.js +0 -2
  459. package/dist/db-ux/p-1dcb2a08.entry.js.map +0 -1
  460. package/dist/db-ux/p-2addb72d.entry.js +0 -2
  461. package/dist/db-ux/p-2addb72d.entry.js.map +0 -1
  462. package/dist/db-ux/p-2f6afcbc.entry.js +0 -2
  463. package/dist/db-ux/p-2f6afcbc.entry.js.map +0 -1
  464. package/dist/db-ux/p-35bb2b0a.entry.js +0 -2
  465. package/dist/db-ux/p-35bb2b0a.entry.js.map +0 -1
  466. package/dist/db-ux/p-4318a6c7.entry.js +0 -2
  467. package/dist/db-ux/p-4318a6c7.entry.js.map +0 -1
  468. package/dist/db-ux/p-45562afc.entry.js +0 -2
  469. package/dist/db-ux/p-45562afc.entry.js.map +0 -1
  470. package/dist/db-ux/p-49b9ab25.entry.js +0 -2
  471. package/dist/db-ux/p-49b9ab25.entry.js.map +0 -1
  472. package/dist/db-ux/p-4c944f45.entry.js +0 -2
  473. package/dist/db-ux/p-4c944f45.entry.js.map +0 -1
  474. package/dist/db-ux/p-4ff5ddf2.entry.js +0 -2
  475. package/dist/db-ux/p-4ff5ddf2.entry.js.map +0 -1
  476. package/dist/db-ux/p-5b15eef1.entry.js +0 -2
  477. package/dist/db-ux/p-5b15eef1.entry.js.map +0 -1
  478. package/dist/db-ux/p-68c1dd8d.entry.js +0 -2
  479. package/dist/db-ux/p-68c1dd8d.entry.js.map +0 -1
  480. package/dist/db-ux/p-78f062f6.entry.js +0 -2
  481. package/dist/db-ux/p-78f062f6.entry.js.map +0 -1
  482. package/dist/db-ux/p-7c0eefb1.entry.js +0 -2
  483. package/dist/db-ux/p-7c0eefb1.entry.js.map +0 -1
  484. package/dist/db-ux/p-7c46fd6c.entry.js +0 -2
  485. package/dist/db-ux/p-7c46fd6c.entry.js.map +0 -1
  486. package/dist/db-ux/p-7f894c65.entry.js +0 -2
  487. package/dist/db-ux/p-7f894c65.entry.js.map +0 -1
  488. package/dist/db-ux/p-84ab3984.entry.js +0 -2
  489. package/dist/db-ux/p-84ab3984.entry.js.map +0 -1
  490. package/dist/db-ux/p-89e04100.entry.js +0 -2
  491. package/dist/db-ux/p-89e04100.entry.js.map +0 -1
  492. package/dist/db-ux/p-BMAwJo5Z.js +0 -3
  493. package/dist/db-ux/p-BMAwJo5Z.js.map +0 -1
  494. package/dist/db-ux/p-BMfF_eQJ.js +0 -2
  495. package/dist/db-ux/p-BMfF_eQJ.js.map +0 -1
  496. package/dist/db-ux/p-BX4jNwUm.js +0 -2
  497. package/dist/db-ux/p-BX4jNwUm.js.map +0 -1
  498. package/dist/db-ux/p-CdVqfu2Z.js +0 -2
  499. package/dist/db-ux/p-CdVqfu2Z.js.map +0 -1
  500. package/dist/db-ux/p-DC9V_oNU.js +0 -2
  501. package/dist/db-ux/p-DC9V_oNU.js.map +0 -1
  502. package/dist/db-ux/p-DQuL1Twl.js.map +0 -1
  503. package/dist/db-ux/p-DhKljLRG.js +0 -2
  504. package/dist/db-ux/p-DhKljLRG.js.map +0 -1
  505. package/dist/db-ux/p-G-TursYV.js.map +0 -1
  506. package/dist/db-ux/p-baeda9f2.entry.js +0 -2
  507. package/dist/db-ux/p-baeda9f2.entry.js.map +0 -1
  508. package/dist/db-ux/p-bc6b636e.entry.js +0 -2
  509. package/dist/db-ux/p-bc6b636e.entry.js.map +0 -1
  510. package/dist/db-ux/p-c7bb7bea.entry.js +0 -2
  511. package/dist/db-ux/p-c7bb7bea.entry.js.map +0 -1
  512. package/dist/db-ux/p-d1b7a69c.entry.js +0 -2
  513. package/dist/db-ux/p-d1b7a69c.entry.js.map +0 -1
  514. package/dist/db-ux/p-d2e189a4.entry.js +0 -2
  515. package/dist/db-ux/p-d2e189a4.entry.js.map +0 -1
  516. package/dist/db-ux/p-d9c43ba7.entry.js +0 -2
  517. package/dist/db-ux/p-d9c43ba7.entry.js.map +0 -1
  518. package/dist/db-ux/p-e46f112c.entry.js +0 -2
  519. package/dist/db-ux/p-e46f112c.entry.js.map +0 -1
  520. package/dist/db-ux/p-e470d0a2.entry.js +0 -2
  521. package/dist/db-ux/p-e470d0a2.entry.js.map +0 -1
  522. package/dist/db-ux/p-f7c1e940.entry.js +0 -2
  523. package/dist/db-ux/p-f7c1e940.entry.js.map +0 -1
  524. package/dist/db-ux/p-fedb9696.entry.js +0 -2
  525. package/dist/db-ux/p-fedb9696.entry.js.map +0 -1
  526. package/dist/db-ux/p-sP2NlPcu.js.map +0 -1
  527. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  528. package/dist/esm/constants-DC9V_oNU.js.map +0 -1
  529. package/dist/esm/db-accordion-item.entry.js.map +0 -1
  530. package/dist/esm/db-accordion.entry.js.map +0 -1
  531. package/dist/esm/db-badge.entry.js.map +0 -1
  532. package/dist/esm/db-brand.entry.js.map +0 -1
  533. package/dist/esm/db-button.entry.js.map +0 -1
  534. package/dist/esm/db-card.entry.js.map +0 -1
  535. package/dist/esm/db-checkbox.entry.js.map +0 -1
  536. package/dist/esm/db-custom-select-dropdown.db-custom-select-list.db-custom-select-list-item.db-input.db-tag.entry.js.map +0 -1
  537. package/dist/esm/db-custom-select-form-field.entry.js.map +0 -1
  538. package/dist/esm/db-custom-select.entry.js.map +0 -1
  539. package/dist/esm/db-divider.entry.js.map +0 -1
  540. package/dist/esm/db-drawer.entry.js.map +0 -1
  541. package/dist/esm/db-header.entry.js.map +0 -1
  542. package/dist/esm/db-icon.entry.js.map +0 -1
  543. package/dist/esm/db-infotext.entry.js.map +0 -1
  544. package/dist/esm/db-link.entry.js.map +0 -1
  545. package/dist/esm/db-navigation-item.entry.js.map +0 -1
  546. package/dist/esm/db-navigation.entry.js.map +0 -1
  547. package/dist/esm/db-notification.entry.js.map +0 -1
  548. package/dist/esm/db-page.entry.js.map +0 -1
  549. package/dist/esm/db-popover.entry.js.map +0 -1
  550. package/dist/esm/db-radio.entry.js.map +0 -1
  551. package/dist/esm/db-section.entry.js.map +0 -1
  552. package/dist/esm/db-select.entry.js.map +0 -1
  553. package/dist/esm/db-stack.entry.js.map +0 -1
  554. package/dist/esm/db-switch.entry.js.map +0 -1
  555. package/dist/esm/db-tab-item.db-tab-list.db-tab-panel.entry.js.map +0 -1
  556. package/dist/esm/db-tabs.entry.js.map +0 -1
  557. package/dist/esm/db-textarea.entry.js.map +0 -1
  558. package/dist/esm/db-tooltip.entry.js.map +0 -1
  559. package/dist/esm/db-ux.js.map +0 -1
  560. package/dist/esm/document-click-listener-D1ZXrKSx.js.map +0 -1
  561. package/dist/esm/document-scroll-listener-DF6f0ByI.js.map +0 -1
  562. package/dist/esm/floating-components-G-TursYV.js.map +0 -1
  563. package/dist/esm/form-components-DmI6JmyJ.js.map +0 -1
  564. package/dist/esm/index-BMAwJo5Z.js.map +0 -1
  565. package/dist/esm/index-DhKljLRG.js.map +0 -1
  566. package/dist/esm/index.js.map +0 -1
  567. package/dist/esm/loader.js.map +0 -1
  568. package/dist/esm/navigation--UdC9CzO.js.map +0 -1
@@ -2,13 +2,9 @@ const NAMESPACE = 'db-ux';
2
2
  const BUILD = /* db-ux */ { hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: false, slotRelocation: true, state: true, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.38.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.41.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
- var __defProp = Object.defineProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
7
+
12
8
  var reWireGetterSetter = (instance, hostRef) => {
13
9
  var _a;
14
10
  const cmpMeta = hostRef.$cmpMeta$;
@@ -160,70 +156,6 @@ var flush = () => {
160
156
  };
161
157
  var nextTick = (cb) => promiseResolve().then(cb);
162
158
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
163
- var isComplexType = (o) => {
164
- o = typeof o;
165
- return o === "object" || o === "function";
166
- };
167
-
168
- // src/utils/query-nonce-meta-tag-content.ts
169
- function queryNonceMetaTagContent(doc) {
170
- var _a, _b, _c;
171
- return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
172
- }
173
-
174
- // src/utils/regular-expression.ts
175
- var escapeRegExpSpecialCharacters = (text) => {
176
- return text.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
177
- };
178
-
179
- // src/utils/result.ts
180
- var result_exports = {};
181
- __export(result_exports, {
182
- err: () => err,
183
- map: () => map,
184
- ok: () => ok,
185
- unwrap: () => unwrap,
186
- unwrapErr: () => unwrapErr
187
- });
188
- var ok = (value) => ({
189
- isOk: true,
190
- isErr: false,
191
- value
192
- });
193
- var err = (value) => ({
194
- isOk: false,
195
- isErr: true,
196
- value
197
- });
198
- function map(result, fn) {
199
- if (result.isOk) {
200
- const val = fn(result.value);
201
- if (val instanceof Promise) {
202
- return val.then((newVal) => ok(newVal));
203
- } else {
204
- return ok(val);
205
- }
206
- }
207
- if (result.isErr) {
208
- const value = result.value;
209
- return err(value);
210
- }
211
- throw "should never get here";
212
- }
213
- var unwrap = (result) => {
214
- if (result.isOk) {
215
- return result.value;
216
- } else {
217
- throw result.value;
218
- }
219
- };
220
- var unwrapErr = (result) => {
221
- if (result.isErr) {
222
- return result.value;
223
- } else {
224
- throw result.value;
225
- }
226
- };
227
159
  var updateFallbackSlotVisibility = (elm) => {
228
160
  const childNodes = internalCall(elm, "childNodes");
229
161
  if (elm.tagName && elm.tagName.includes("-") && elm["s-cr"] && elm.tagName !== "SLOT-FB") {
@@ -261,8 +193,9 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
261
193
  let childNode;
262
194
  for (; i2 < childNodes.length; i2++) {
263
195
  childNode = childNodes[i2];
264
- if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0)) {
196
+ if (childNode["s-sr"] && (!hostName || childNode["s-hn"] === hostName) && (slotName === void 0 || getSlotName(childNode) === slotName)) {
265
197
  slottedNodes.push(childNode);
198
+ if (typeof slotName !== "undefined") return slottedNodes;
266
199
  }
267
200
  slottedNodes = [...slottedNodes, ...getHostSlotNodes(childNode.childNodes, hostName, slotName)];
268
201
  }
@@ -320,6 +253,18 @@ function patchSlotNode(node) {
320
253
  node.assignedElements = assignedFactory(true);
321
254
  node.assignedNodes = assignedFactory(false);
322
255
  }
256
+ function dispatchSlotChangeEvent(elm) {
257
+ elm.dispatchEvent(new CustomEvent("slotchange", { bubbles: false, cancelable: false, composed: false }));
258
+ }
259
+ function findSlotFromSlottedNode(slottedNode, parentHost) {
260
+ var _a;
261
+ parentHost = parentHost || ((_a = slottedNode["s-ol"]) == null ? void 0 : _a.parentElement);
262
+ if (!parentHost) return { slotNode: null, slotName: "" };
263
+ const slotName = slottedNode["s-sn"] = getSlotName(slottedNode) || "";
264
+ const childNodes = internalCall(parentHost, "childNodes");
265
+ const slotNode = getHostSlotNodes(childNodes, parentHost.tagName, slotName)[0];
266
+ return { slotNode, slotName };
267
+ }
323
268
  function internalCall(node, method) {
324
269
  if ("__" + method in node) {
325
270
  const toReturn = node["__" + method];
@@ -344,8 +289,25 @@ var uniqueTime = (key, measureText) => {
344
289
  };
345
290
  }
346
291
  };
292
+
293
+ // src/utils/query-nonce-meta-tag-content.ts
294
+ function queryNonceMetaTagContent(doc) {
295
+ var _a, _b, _c;
296
+ return (_c = (_b = (_a = doc.head) == null ? void 0 : _a.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : _b.getAttribute("content")) != null ? _c : void 0;
297
+ }
298
+
299
+ // src/runtime/styles.ts
347
300
  var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
301
+ var isComplexType = (o) => {
302
+ o = typeof o;
303
+ return o === "object" || o === "function";
304
+ };
305
+
306
+ // src/runtime/vdom/h.ts
348
307
  var h = (nodeName, vnodeData, ...children) => {
308
+ if (typeof nodeName === "string") {
309
+ nodeName = transformTag(nodeName);
310
+ }
349
311
  let child = null;
350
312
  let key = null;
351
313
  let slotName = null;
@@ -409,7 +371,8 @@ var newVNode = (tag, text) => {
409
371
  const vnode = {
410
372
  $flags$: 0,
411
373
  $tag$: tag,
412
- $text$: text,
374
+ // Normalize undefined to null to prevent rendering "undefined" as text
375
+ $text$: text != null ? text : null,
413
376
  $elm$: null,
414
377
  $children$: null
415
378
  };
@@ -456,18 +419,8 @@ var convertToPrivate = (node) => {
456
419
  vnode.$name$ = node.vname;
457
420
  return vnode;
458
421
  };
459
- var createSupportsRuleRe = (selector) => {
460
- const safeSelector2 = escapeRegExpSpecialCharacters(selector);
461
- return new RegExp(
462
- // First capture group: match any context before the selector that's not inside @supports selector()
463
- // Using negative lookahead to avoid matching inside @supports selector(...) condition
464
- `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${safeSelector2}))(${safeSelector2}\\b)`,
465
- "g"
466
- );
467
- };
468
- createSupportsRuleRe("::slotted");
469
- createSupportsRuleRe(":host");
470
- createSupportsRuleRe(":host-context");
422
+
423
+ // src/runtime/parse-property-value.ts
471
424
  var parsePropertyValue = (propValue, propType, isFormAssociated) => {
472
425
  if (propValue != null && !isComplexType(propValue)) {
473
426
  if (propType & 4 /* Boolean */) {
@@ -658,7 +611,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
658
611
  );
659
612
  }
660
613
  }
661
- if (newVNode2.$text$ !== null) {
614
+ if (newVNode2.$text$ != null) {
662
615
  elm = newVNode2.$elm$ = win.document.createTextNode(newVNode2.$text$);
663
616
  } else if (newVNode2.$flags$ & 1 /* isSlotReference */) {
664
617
  elm = newVNode2.$elm$ = win.document.createTextNode("");
@@ -667,9 +620,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
667
620
  }
668
621
  } else {
669
622
  if (!win.document) {
670
- throw new Error(
671
- "You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component."
672
- );
623
+ throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");
673
624
  }
674
625
  elm = newVNode2.$elm$ = win.document.createElement(
675
626
  !useNativeShadowDom && BUILD.slotRelocation && newVNode2.$flags$ & 2 /* isSlotFallback */ ? "slot-fb" : newVNode2.$tag$
@@ -678,10 +629,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
678
629
  updateElement(null, newVNode2, isSvgMode);
679
630
  }
680
631
  if (newVNode2.$children$) {
632
+ const appendTarget = newVNode2.$tag$ === "template" ? elm.content : elm;
681
633
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
682
634
  childNode = createElm(oldParentVNode, newVNode2, i2);
683
635
  if (childNode) {
684
- elm.appendChild(childNode);
636
+ appendTarget.appendChild(childNode);
685
637
  }
686
638
  }
687
639
  }
@@ -696,17 +648,43 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
696
648
  patchSlotNode(elm);
697
649
  oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];
698
650
  if (oldVNode && oldVNode.$tag$ === newVNode2.$tag$ && oldParentVNode.$elm$) {
699
- {
700
- putBackInOriginalLocation(oldParentVNode.$elm$, false);
701
- }
651
+ relocateToHostRoot(oldParentVNode.$elm$);
702
652
  }
703
653
  }
704
654
  }
705
655
  return elm;
706
656
  };
657
+ var relocateToHostRoot = (parentElm) => {
658
+ plt.$flags$ |= 1 /* isTmpDisconnected */;
659
+ const host = parentElm.closest(hostTagName.toLowerCase());
660
+ if (host != null) {
661
+ const contentRefNode = Array.from(host.__childNodes || host.childNodes).find(
662
+ (ref) => ref["s-cr"]
663
+ );
664
+ const childNodeArray = Array.from(
665
+ parentElm.__childNodes || parentElm.childNodes
666
+ );
667
+ for (const childNode of contentRefNode ? childNodeArray.reverse() : childNodeArray) {
668
+ if (childNode["s-sh"] != null) {
669
+ insertBefore(host, childNode, contentRefNode != null ? contentRefNode : null);
670
+ childNode["s-sh"] = void 0;
671
+ checkSlotRelocate = true;
672
+ }
673
+ }
674
+ }
675
+ plt.$flags$ &= -2 /* isTmpDisconnected */;
676
+ };
707
677
  var putBackInOriginalLocation = (parentElm, recursive) => {
708
678
  plt.$flags$ |= 1 /* isTmpDisconnected */;
709
679
  const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
680
+ if (parentElm["s-sr"]) {
681
+ let node = parentElm;
682
+ while (node = node.nextSibling) {
683
+ if (node && node["s-sn"] === parentElm["s-sn"] && node["s-sh"] === hostTagName) {
684
+ oldSlotChildNodes.push(node);
685
+ }
686
+ }
687
+ }
710
688
  for (let i2 = oldSlotChildNodes.length - 1; i2 >= 0; i2--) {
711
689
  const childNode = oldSlotChildNodes[i2];
712
690
  if (childNode["s-hn"] !== hostTagName && childNode["s-ol"]) {
@@ -725,6 +703,9 @@ var putBackInOriginalLocation = (parentElm, recursive) => {
725
703
  var addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {
726
704
  let containerElm = parentElm["s-cr"] && parentElm["s-cr"].parentNode || parentElm;
727
705
  let childNode;
706
+ if (parentVNode.$tag$ === "template") {
707
+ containerElm = containerElm.content;
708
+ }
728
709
  for (; startIdx <= endIdx; ++startIdx) {
729
710
  if (vnodes[startIdx]) {
730
711
  childNode = createElm(null, parentVNode, startIdx);
@@ -768,6 +749,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
768
749
  let newEndVnode = newCh[newEndIdx];
769
750
  let node;
770
751
  let elmToMove;
752
+ const containerElm = newVNode2.$tag$ === "template" ? parentElm.content : parentElm;
771
753
  while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {
772
754
  if (oldStartVnode == null) {
773
755
  oldStartVnode = oldCh[++oldStartIdx];
@@ -790,7 +772,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
790
772
  putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);
791
773
  }
792
774
  patch(oldStartVnode, newEndVnode, isInitialRender);
793
- insertBefore(parentElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
775
+ insertBefore(containerElm, oldStartVnode.$elm$, oldEndVnode.$elm$.nextSibling);
794
776
  oldStartVnode = oldCh[++oldStartIdx];
795
777
  newEndVnode = newCh[--newEndIdx];
796
778
  } else if (isSameVnode(oldEndVnode, newStartVnode, isInitialRender)) {
@@ -798,7 +780,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
798
780
  putBackInOriginalLocation(oldEndVnode.$elm$.parentNode, false);
799
781
  }
800
782
  patch(oldEndVnode, newStartVnode, isInitialRender);
801
- insertBefore(parentElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
783
+ insertBefore(containerElm, oldEndVnode.$elm$, oldStartVnode.$elm$);
802
784
  oldEndVnode = oldCh[--oldEndIdx];
803
785
  newStartVnode = newCh[++newStartIdx];
804
786
  } else {
@@ -869,10 +851,17 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
869
851
  const elm = newVNode2.$elm$ = oldVNode.$elm$;
870
852
  const oldChildren = oldVNode.$children$;
871
853
  const newChildren = newVNode2.$children$;
854
+ const tag = newVNode2.$tag$;
872
855
  const text = newVNode2.$text$;
873
856
  let defaultHolder;
874
- if (text === null) {
857
+ if (text == null) {
875
858
  {
859
+ if (tag === "slot" && !useNativeShadowDom) {
860
+ if (oldVNode.$name$ !== newVNode2.$name$) {
861
+ newVNode2.$elm$["s-sn"] = newVNode2.$name$ || "";
862
+ relocateToHostRoot(newVNode2.$elm$.parentElement);
863
+ }
864
+ }
876
865
  updateElement(oldVNode, newVNode2, isSvgMode);
877
866
  }
878
867
  if (oldChildren !== null && newChildren !== null) {
@@ -906,7 +895,7 @@ var markSlotContentForRelocation = (elm) => {
906
895
  const slotName = childNode["s-sn"];
907
896
  for (j = hostContentNodes.length - 1; j >= 0; j--) {
908
897
  node = hostContentNodes[j];
909
- if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (true)) {
898
+ if (!node["s-cn"] && !node["s-nr"] && node["s-hn"] !== childNode["s-hn"] && (!node["s-sh"] || node["s-sh"] !== childNode["s-hn"])) {
910
899
  if (isNodeLocatedInSlot(node, slotName)) {
911
900
  let relocateNodeData = relocateNodes.find((r) => r.$nodeToRelocate$ === node);
912
901
  checkSlotFallbackVisibility = true;
@@ -950,14 +939,25 @@ var nullifyVNodeRefs = (vNode) => {
950
939
  vNode.$children$ && vNode.$children$.map(nullifyVNodeRefs);
951
940
  }
952
941
  };
953
- var insertBefore = (parent, newNode, reference) => {
942
+ var insertBefore = (parent, newNode, reference, isInitialLoad) => {
954
943
  {
944
+ if (typeof newNode["s-sn"] === "string") {
945
+ parent.insertBefore(newNode, reference);
946
+ const { slotNode } = findSlotFromSlottedNode(newNode);
947
+ if (slotNode && !isInitialLoad) dispatchSlotChangeEvent(slotNode);
948
+ return newNode;
949
+ }
950
+ }
951
+ if (parent.__insertBefore) {
952
+ return parent.__insertBefore(newNode, reference);
953
+ } else {
955
954
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
956
955
  }
957
956
  };
958
957
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
959
- var _a, _b, _c, _d;
958
+ var _a, _b, _c, _d, _e;
960
959
  const hostElm = hostRef.$hostElement$;
960
+ const cmpMeta = hostRef.$cmpMeta$;
961
961
  const oldVNode = hostRef.$vnode$ || newVNode(null, null);
962
962
  const isHostElement = isHost(renderFnResults);
963
963
  const rootVnode = isHostElement ? renderFnResults : h(null, null, renderFnResults);
@@ -988,19 +988,27 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
988
988
  if (!nodeToRelocate["s-ol"] && win.document) {
989
989
  const orgLocationNode = win.document.createTextNode("");
990
990
  orgLocationNode["s-nr"] = nodeToRelocate;
991
- insertBefore(nodeToRelocate.parentNode, nodeToRelocate["s-ol"] = orgLocationNode, nodeToRelocate);
991
+ insertBefore(
992
+ nodeToRelocate.parentNode,
993
+ nodeToRelocate["s-ol"] = orgLocationNode,
994
+ nodeToRelocate,
995
+ isInitialLoad
996
+ );
992
997
  }
993
998
  }
994
999
  for (const relocateData of relocateNodes) {
995
1000
  const nodeToRelocate = relocateData.$nodeToRelocate$;
996
1001
  const slotRefNode = relocateData.$slotRefNode$;
1002
+ if (nodeToRelocate.nodeType === 1 /* ElementNode */ && isInitialLoad) {
1003
+ nodeToRelocate["s-ih"] = (_a = nodeToRelocate.hidden) != null ? _a : false;
1004
+ }
997
1005
  if (slotRefNode) {
998
1006
  const parentNodeRef = slotRefNode.parentNode;
999
1007
  let insertBeforeNode = slotRefNode.nextSibling;
1000
- {
1001
- let orgLocationNode = (_a = nodeToRelocate["s-ol"]) == null ? void 0 : _a.previousSibling;
1008
+ if (insertBeforeNode && insertBeforeNode.nodeType === 1 /* ElementNode */) {
1009
+ let orgLocationNode = (_b = nodeToRelocate["s-ol"]) == null ? void 0 : _b.previousSibling;
1002
1010
  while (orgLocationNode) {
1003
- let refNode = (_b = orgLocationNode["s-nr"]) != null ? _b : null;
1011
+ let refNode = (_c = orgLocationNode["s-nr"]) != null ? _c : null;
1004
1012
  if (refNode && refNode["s-sn"] === nodeToRelocate["s-sn"] && parentNodeRef === (refNode.__parentNode || refNode.parentNode)) {
1005
1013
  refNode = refNode.nextSibling;
1006
1014
  while (refNode === nodeToRelocate || (refNode == null ? void 0 : refNode["s-sr"])) {
@@ -1018,23 +1026,26 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1018
1026
  const nextSibling = nodeToRelocate.__nextSibling || nodeToRelocate.nextSibling;
1019
1027
  if (!insertBeforeNode && parentNodeRef !== parent || nextSibling !== insertBeforeNode) {
1020
1028
  if (nodeToRelocate !== insertBeforeNode) {
1021
- if (!nodeToRelocate["s-hn"] && nodeToRelocate["s-ol"]) {
1022
- nodeToRelocate["s-hn"] = nodeToRelocate["s-ol"].parentNode.nodeName;
1029
+ insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode, isInitialLoad);
1030
+ if (nodeToRelocate.nodeType === 8 /* CommentNode */ && nodeToRelocate.nodeValue.startsWith("s-nt-")) {
1031
+ const textNode = win.document.createTextNode(nodeToRelocate.nodeValue.replace(/^s-nt-/, ""));
1032
+ textNode["s-hn"] = nodeToRelocate["s-hn"];
1033
+ textNode["s-sn"] = nodeToRelocate["s-sn"];
1034
+ textNode["s-sh"] = nodeToRelocate["s-sh"];
1035
+ textNode["s-sr"] = nodeToRelocate["s-sr"];
1036
+ textNode["s-ol"] = nodeToRelocate["s-ol"];
1037
+ textNode["s-ol"]["s-nr"] = textNode;
1038
+ insertBefore(nodeToRelocate.parentNode, textNode, nodeToRelocate, isInitialLoad);
1039
+ nodeToRelocate.parentNode.removeChild(nodeToRelocate);
1023
1040
  }
1024
- insertBefore(parentNodeRef, nodeToRelocate, insertBeforeNode);
1025
1041
  if (nodeToRelocate.nodeType === 1 /* ElementNode */ && nodeToRelocate.tagName !== "SLOT-FB") {
1026
- nodeToRelocate.hidden = (_c = nodeToRelocate["s-ih"]) != null ? _c : false;
1042
+ nodeToRelocate.hidden = (_d = nodeToRelocate["s-ih"]) != null ? _d : false;
1027
1043
  }
1028
1044
  }
1029
1045
  }
1030
1046
  nodeToRelocate && typeof slotRefNode["s-rf"] === "function" && slotRefNode["s-rf"](slotRefNode);
1031
- } else {
1032
- if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1033
- if (isInitialLoad) {
1034
- nodeToRelocate["s-ih"] = (_d = nodeToRelocate.hidden) != null ? _d : false;
1035
- }
1036
- nodeToRelocate.hidden = true;
1037
- }
1047
+ } else if (nodeToRelocate.nodeType === 1 /* ElementNode */) {
1048
+ nodeToRelocate.hidden = true;
1038
1049
  }
1039
1050
  }
1040
1051
  }
@@ -1044,6 +1055,24 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
1044
1055
  plt.$flags$ &= -2 /* isTmpDisconnected */;
1045
1056
  relocateNodes.length = 0;
1046
1057
  }
1058
+ if (!useNativeShadowDom && !(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && hostElm["s-cr"]) {
1059
+ const children = rootVnode.$elm$.__childNodes || rootVnode.$elm$.childNodes;
1060
+ for (const childNode of children) {
1061
+ if (childNode["s-hn"] !== hostTagName && !childNode["s-sh"]) {
1062
+ if (isInitialLoad && childNode["s-ih"] == null) {
1063
+ childNode["s-ih"] = (_e = childNode.hidden) != null ? _e : false;
1064
+ }
1065
+ if (childNode.nodeType === 1 /* ElementNode */) {
1066
+ childNode.hidden = true;
1067
+ } else if (childNode.nodeType === 3 /* TextNode */ && !!childNode.nodeValue.trim()) {
1068
+ const textCommentNode = win.document.createComment("s-nt-" + childNode.nodeValue);
1069
+ textCommentNode["s-sn"] = childNode["s-sn"];
1070
+ insertBefore(childNode.parentNode, textCommentNode, childNode, isInitialLoad);
1071
+ childNode.parentNode.removeChild(childNode);
1072
+ }
1073
+ }
1074
+ }
1075
+ }
1047
1076
  contentRef = void 0;
1048
1077
  };
1049
1078
 
@@ -1090,6 +1119,10 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1090
1119
  let maybePromise;
1091
1120
  if (isInitialLoad) {
1092
1121
  {
1122
+ if (hostRef.$deferredConnectedCallback$) {
1123
+ hostRef.$deferredConnectedCallback$ = false;
1124
+ safeCall(instance, "connectedCallback", void 0, elm);
1125
+ }
1093
1126
  if (hostRef.$fetchedCbList$.length) {
1094
1127
  hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
1095
1128
  }
@@ -1102,8 +1135,8 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
1102
1135
  endSchedule();
1103
1136
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
1104
1137
  };
1105
- var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err2) => {
1106
- console.error(err2);
1138
+ var enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn).catch((err) => {
1139
+ console.error(err);
1107
1140
  fn();
1108
1141
  }) : fn();
1109
1142
  var isPromisey = (maybePromise) => maybePromise instanceof Promise || maybePromise && maybePromise.then && typeof maybePromise.then === "function";
@@ -1231,27 +1264,34 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1231
1264
  const didValueChange = newVal !== oldVal && !areBothNaN;
1232
1265
  if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
1233
1266
  hostRef.$instanceValues$.set(propName, newVal);
1234
- if (instance) {
1235
- if (cmpMeta.$watchers$ && flags & 128 /* isWatchReady */) {
1236
- const watchMethods = cmpMeta.$watchers$[propName];
1237
- if (watchMethods) {
1238
- watchMethods.map((watchMethodName) => {
1239
- try {
1240
- instance[watchMethodName](newVal, oldVal, propName);
1241
- } catch (e) {
1242
- consoleError(e, elm);
1267
+ if (cmpMeta.$watchers$) {
1268
+ const watchMethods = cmpMeta.$watchers$[propName];
1269
+ if (watchMethods) {
1270
+ watchMethods.map((watcher) => {
1271
+ try {
1272
+ const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
1273
+ if (flags & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */) {
1274
+ if (!instance) {
1275
+ hostRef.$fetchedCbList$.push(() => {
1276
+ hostRef.$lazyInstance$[watchMethodName](newVal, oldVal, propName);
1277
+ });
1278
+ } else {
1279
+ instance[watchMethodName](newVal, oldVal, propName);
1280
+ }
1243
1281
  }
1244
- });
1245
- }
1246
- }
1247
- if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1248
- if (instance.componentShouldUpdate) {
1249
- if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1250
- return;
1282
+ } catch (e) {
1283
+ consoleError(e, elm);
1251
1284
  }
1285
+ });
1286
+ }
1287
+ }
1288
+ if ((flags & (2 /* hasRendered */ | 16 /* isQueuedForUpdate */)) === 2 /* hasRendered */) {
1289
+ if (instance.componentShouldUpdate) {
1290
+ if (instance.componentShouldUpdate(newVal, oldVal, propName) === false) {
1291
+ return;
1252
1292
  }
1253
- scheduleUpdate(hostRef, false);
1254
1293
  }
1294
+ scheduleUpdate(hostRef, false);
1255
1295
  }
1256
1296
  }
1257
1297
  };
@@ -1365,12 +1405,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1365
1405
  return;
1366
1406
  } else if (propName == null) {
1367
1407
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1368
- if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1408
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && newValue !== oldValue) {
1369
1409
  const instance = hostRef.$lazyInstance$ ;
1370
1410
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1371
- entry == null ? void 0 : entry.forEach((callbackName) => {
1372
- if (instance[callbackName] != null) {
1373
- instance[callbackName].call(instance, newValue, oldValue, attrName);
1411
+ entry == null ? void 0 : entry.forEach((watcher) => {
1412
+ const [[watchMethodName, watcherFlags]] = Object.entries(watcher);
1413
+ if (instance[watchMethodName] != null && (flags2 & 128 /* isWatchReady */ || watcherFlags & 1 /* Immediate */)) {
1414
+ instance[watchMethodName].call(instance, newValue, oldValue, attrName);
1374
1415
  }
1375
1416
  });
1376
1417
  }
@@ -1444,7 +1485,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1444
1485
  hostRef.$flags$ |= 128 /* isWatchReady */;
1445
1486
  }
1446
1487
  endNewInstance();
1447
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1488
+ const needsDeferredCallback = cmpMeta.$flags$ & 4 /* hasSlotRelocation */;
1489
+ if (!needsDeferredCallback) {
1490
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1491
+ } else {
1492
+ hostRef.$deferredConnectedCallback$ = true;
1493
+ }
1448
1494
  } else {
1449
1495
  Cstr = elm.constructor;
1450
1496
  const cmpTag = elm.localName;
@@ -1585,12 +1631,14 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1585
1631
  cmpMeta.$serializers$ = (_b = compactMeta[5]) != null ? _b : {};
1586
1632
  cmpMeta.$deserializers$ = (_c = compactMeta[6]) != null ? _c : {};
1587
1633
  }
1588
- const tagName = cmpMeta.$tagName$;
1634
+ const tagName = transformTag(cmpMeta.$tagName$);
1589
1635
  const HostElement = class extends HTMLElement {
1636
+ ["s-p"];
1637
+ ["s-rc"];
1638
+ hasRegisteredEventListeners = false;
1590
1639
  // StencilLazyHost
1591
1640
  constructor(self) {
1592
1641
  super(self);
1593
- this.hasRegisteredEventListeners = false;
1594
1642
  self = this;
1595
1643
  registerHost(self, cmpMeta);
1596
1644
  }
@@ -1676,8 +1724,8 @@ var Fragment = (_, children) => children;
1676
1724
 
1677
1725
  // src/runtime/nonce.ts
1678
1726
  var setNonce = (nonce) => plt.$nonce$ = nonce;
1727
+ function transformTag(tag) {
1728
+ return tag;
1729
+ }
1679
1730
 
1680
1731
  export { Fragment as F, bootstrapLazy as b, createEvent as c, h, promiseResolve as p, registerInstance as r, setNonce as s };
1681
- //# sourceMappingURL=index-BMAwJo5Z.js.map
1682
-
1683
- //# sourceMappingURL=index-BMAwJo5Z.js.map
@@ -88,6 +88,24 @@ const getNumber = (originNumber, alternativeNumber) => {
88
88
  }
89
89
  return Number(originNumber !== null && originNumber !== void 0 ? originNumber : alternativeNumber);
90
90
  };
91
+ /**
92
+ * Retrieves the step value for an input element.
93
+ *
94
+ * The step attribute can be a number or the special string "any".
95
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/step
96
+ *
97
+ * @param step - The step value, which can be a number, string, or undefined.
98
+ * @returns The step value as a number or the string "any", or undefined.
99
+ */
100
+ const getStep = (step) => {
101
+ if (step === undefined || step === null) {
102
+ return;
103
+ }
104
+ if (step === 'any') {
105
+ return 'any';
106
+ }
107
+ return Number(step);
108
+ };
91
109
  /**
92
110
  * Retrieves the input value based on the provided value and input type.
93
111
  *
@@ -124,7 +142,4 @@ const getOptionKey = (option, prefix) => {
124
142
  };
125
143
  const isKeyboardEvent = (event) => event.key !== undefined;
126
144
 
127
- export { addAttributeToChildren as a, isIOSSafari as b, cls as c, delay as d, getBoolean as e, getNumber as f, getBooleanAsString as g, hasVoiceOver as h, isArrayOfStrings as i, getInputValue as j, getHideProp as k, getSearchInput as l, getOptionKey as m, isKeyboardEvent as n, stringPropVisible as s, uuid as u };
128
- //# sourceMappingURL=index-DhKljLRG.js.map
129
-
130
- //# sourceMappingURL=index-DhKljLRG.js.map
145
+ export { addAttributeToChildren as a, isIOSSafari as b, cls as c, delay as d, getBoolean as e, getNumber as f, getBooleanAsString as g, hasVoiceOver as h, isArrayOfStrings as i, getStep as j, getInputValue as k, getHideProp as l, getSearchInput as m, getOptionKey as n, isKeyboardEvent as o, stringPropVisible as s, uuid as u };
package/dist/esm/index.js CHANGED
@@ -1,8 +1,7 @@
1
- import './index-BMAwJo5Z.js';
2
- export { x as COLOR, y as COLORS, z as COLORS_SIMPLE, C as COLOR_CONST, w as COLOR_SIMPLE, n as DEFAULT_BACK, p as DEFAULT_BURGER_MENU, s as DEFAULT_CLOSE_BUTTON, j as DEFAULT_DATALIST_ID_SUFFIX, q as DEFAULT_ICON, D as DEFAULT_ID, l as DEFAULT_INVALID_MESSAGE, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, a as DEFAULT_LABEL, d as DEFAULT_LABEL_ID_SUFFIX, c as DEFAULT_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, b as DEFAULT_PLACEHOLDER, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, m as DEFAULT_REMOVE, r as DEFAULT_ROWS, o as DEFAULT_SELECTED, e as DEFAULT_SELECT_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, B as DEFAULT_VIEWPORT, v as DENSITIES, u as DENSITY, t as DENSITY_CONST, E as DESKTOP_VIEWPORT, S as SEMANTIC, A as SEMANTICS, T as TESTING_VIEWPORTS } from './constants-DC9V_oNU.js';
3
- export { a as addAttributeToChildren, c as cls, d as delay, e as getBoolean, g as getBooleanAsString, k as getHideProp, j as getInputValue, f as getNumber, m as getOptionKey, l as getSearchInput, h as hasVoiceOver, i as isArrayOfStrings, b as isIOSSafari, n as isKeyboardEvent, s as stringPropVisible, u as uuid } from './index-DhKljLRG.js';
4
- export { D as DocumentClickListener } from './document-click-listener-D1ZXrKSx.js';
5
- export { D as DocumentScrollListener } from './document-scroll-listener-DF6f0ByI.js';
1
+ export { x as COLOR, y as COLORS, z as COLORS_SIMPLE, C as COLOR_CONST, w as COLOR_SIMPLE, F as DB_UX_LOCAL_STORAGE_FRAMEWORK, G as DB_UX_LOCAL_STORAGE_MODE, n as DEFAULT_BACK, p as DEFAULT_BURGER_MENU, s as DEFAULT_CLOSE_BUTTON, j as DEFAULT_DATALIST_ID_SUFFIX, q as DEFAULT_ICON, D as DEFAULT_ID, l as DEFAULT_INVALID_MESSAGE, h as DEFAULT_INVALID_MESSAGE_ID_SUFFIX, a as DEFAULT_LABEL, d as DEFAULT_LABEL_ID_SUFFIX, c as DEFAULT_MESSAGE, f as DEFAULT_MESSAGE_ID_SUFFIX, b as DEFAULT_PLACEHOLDER, i as DEFAULT_PLACEHOLDER_ID_SUFFIX, m as DEFAULT_REMOVE, r as DEFAULT_ROWS, o as DEFAULT_SELECTED, e as DEFAULT_SELECT_ID_SUFFIX, k as DEFAULT_VALID_MESSAGE, g as DEFAULT_VALID_MESSAGE_ID_SUFFIX, B as DEFAULT_VIEWPORT, v as DENSITIES, u as DENSITY, t as DENSITY_CONST, E as DESKTOP_VIEWPORT, S as SEMANTIC, A as SEMANTICS, T as TESTING_VIEWPORTS } from './constants-BdL-nI5y.js';
2
+ export { a as addAttributeToChildren, c as cls, d as delay, e as getBoolean, g as getBooleanAsString, l as getHideProp, k as getInputValue, f as getNumber, n as getOptionKey, m as getSearchInput, j as getStep, h as hasVoiceOver, i as isArrayOfStrings, b as isIOSSafari, o as isKeyboardEvent, s as stringPropVisible, u as uuid } from './index-BwBkekqp.js';
3
+ export { D as DocumentClickListener } from './document-click-listener-B_LaIr0O.js';
4
+ export { D as DocumentScrollListener } from './document-scroll-listener-dHAsT0Tb.js';
6
5
  export { g as getFloatingProps, h as handleDataOutside, a as handleFixedDropdown, b as handleFixedPopover } from './floating-components-G-TursYV.js';
7
6
  export { N as NavigationItemSafeTriangle, i as isEventTargetNavigationItem } from './navigation--UdC9CzO.js';
8
7
 
@@ -90,4 +89,3 @@ const LinkReferrerPolicyList = ['no-referrer', 'no-referrer-when-downgrade', 'or
90
89
  const AlignmentList = ['start', 'center'];
91
90
 
92
91
  export { AccordionBehaviorList, AccordionVariantList, AlignmentList, AutoCompleteList, BadgePlacementList, ButtonTypeList, ButtonVariantList, CardBehaviorList, CardElevationLevelList, CustomSelectDropdownWidthList, CustomSelectListItemTypeList, DividerMarginList, DividerVariantList, DrawerBackdropList, DrawerDirectionList, DrawerPositionList, DrawerVariantList, EmphasisList, FieldSizingList, GapSpacingList, IconWeightList, InputTypeList, LabelVariantHorizontalList, LabelVariantList, LinkContentList, LinkReferrerPolicyList, LinkSizeList, LinkTargetList, LinkVariantList, MarginList, MaxWidthList, NotificationAriaLiveList, NotificationLinkVariantList, NotificationVariantList, OrientationList, PageDocumentOverflowList, PageVariantList, PlacementHorizontalList, PlacementList, PlacementVerticalList, PopoverDelayList, PopoverWidthList, SelectedTypeList, SemanticList, SizeList, SpacingList, StackAlignmentList, StackDirectionList, StackJustifyContentList, StackVariantList, TabsBehaviorList, TabsInitialSelectedModeList, TagBehaviorList, TextareaResizeList, TextareaWrapList, TooltipVariantList, ValidationList, WidthList };
93
- //# sourceMappingURL=index.js.map