@vonage/vivid 5.19.0 → 5.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (648) hide show
  1. package/accordion/definition.cjs +1 -1
  2. package/accordion/definition.js +1 -1
  3. package/accordion/index.cjs +2 -2
  4. package/accordion/index.js +2 -2
  5. package/accordion-item/definition.cjs +1 -1
  6. package/accordion-item/definition.js +1 -1
  7. package/action-group/definition.cjs +1 -1
  8. package/action-group/definition.js +1 -1
  9. package/action-group/index.cjs +2 -2
  10. package/action-group/index.js +2 -2
  11. package/alert/index.cjs +5 -5
  12. package/alert/index.js +8 -8
  13. package/audio-player/index.cjs +10 -10
  14. package/audio-player/index.js +28 -28
  15. package/avatar/index.cjs +7 -7
  16. package/avatar/index.js +14 -14
  17. package/banner/index.cjs +5 -5
  18. package/banner/index.js +9 -9
  19. package/breadcrumb/index.cjs +2 -2
  20. package/breadcrumb/index.js +3 -3
  21. package/breadcrumb-item/index.cjs +5 -5
  22. package/breadcrumb-item/index.js +1 -1
  23. package/bundled/affix.cjs +2 -2
  24. package/bundled/affix.js +11 -11
  25. package/bundled/anchored.cjs +1 -1
  26. package/bundled/anchored.js +6 -6
  27. package/bundled/aria-binding-directive.cjs +1 -1
  28. package/bundled/aria-binding-directive.js +88 -16
  29. package/bundled/base-color-picker.cjs +3 -3
  30. package/bundled/base-color-picker.js +5 -5
  31. package/bundled/base-progress.cjs +1 -1
  32. package/bundled/base-progress.js +3 -3
  33. package/bundled/breadcrumb-item.cjs +1 -1
  34. package/bundled/breadcrumb-item.js +3 -3
  35. package/bundled/button.cjs +1 -1
  36. package/bundled/button.js +3 -3
  37. package/bundled/calendar-event.cjs +1 -1
  38. package/bundled/calendar-event.js +4 -4
  39. package/bundled/calendar-picker.template.cjs +23 -24
  40. package/bundled/calendar-picker.template.js +35 -36
  41. package/bundled/char-count.cjs +2 -2
  42. package/bundled/char-count.js +8 -8
  43. package/bundled/children.cjs +1 -1
  44. package/bundled/children.js +11 -13
  45. package/bundled/definition.cjs +1 -1
  46. package/bundled/definition.js +2 -2
  47. package/bundled/definition10.cjs +3 -3
  48. package/bundled/definition10.js +5 -5
  49. package/bundled/definition11.cjs +2 -2
  50. package/bundled/definition11.js +7 -7
  51. package/bundled/definition12.cjs +15 -16
  52. package/bundled/definition12.js +22 -22
  53. package/bundled/definition13.cjs +3 -3
  54. package/bundled/definition13.js +5 -5
  55. package/bundled/definition14.cjs +2 -2
  56. package/bundled/definition14.js +2 -2
  57. package/bundled/definition15.cjs +7 -8
  58. package/bundled/definition15.js +14 -14
  59. package/bundled/definition16.cjs +3 -3
  60. package/bundled/definition16.js +8 -8
  61. package/bundled/definition17.cjs +7 -7
  62. package/bundled/definition17.js +13 -13
  63. package/bundled/definition18.cjs +18 -18
  64. package/bundled/definition18.js +36 -36
  65. package/bundled/definition19.cjs +2 -2
  66. package/bundled/definition19.js +1 -1
  67. package/bundled/definition2.cjs +10 -9
  68. package/bundled/definition2.js +24 -24
  69. package/bundled/definition20.cjs +19 -14
  70. package/bundled/definition20.js +51 -39
  71. package/bundled/definition21.cjs +6 -6
  72. package/bundled/definition21.js +18 -18
  73. package/bundled/definition22.cjs +3 -3
  74. package/bundled/definition22.js +7 -7
  75. package/bundled/definition23.cjs +4 -4
  76. package/bundled/definition23.js +8 -8
  77. package/bundled/definition24.cjs +8 -8
  78. package/bundled/definition24.js +17 -17
  79. package/bundled/definition3.cjs +1 -1
  80. package/bundled/definition3.js +5 -5
  81. package/bundled/definition4.cjs +9 -9
  82. package/bundled/definition4.js +16 -16
  83. package/bundled/definition5.cjs +4 -4
  84. package/bundled/definition5.js +5 -5
  85. package/bundled/definition6.cjs +6 -6
  86. package/bundled/definition6.js +21 -21
  87. package/bundled/definition7.cjs +2 -2
  88. package/bundled/definition7.js +4 -4
  89. package/bundled/definition8.cjs +4 -4
  90. package/bundled/definition8.js +7 -7
  91. package/bundled/definition9.cjs +10 -6
  92. package/bundled/definition9.js +48 -34
  93. package/bundled/delegates-aria.cjs +1 -1
  94. package/bundled/delegates-aria.js +20 -9
  95. package/bundled/divider.cjs +1 -1
  96. package/bundled/divider.js +3 -3
  97. package/bundled/form-associated.cjs +1 -1
  98. package/bundled/form-associated.js +6 -6
  99. package/bundled/form-element.cjs +1 -1
  100. package/bundled/form-element.js +1 -1
  101. package/bundled/host-semantics.cjs +1 -1
  102. package/bundled/host-semantics.js +2 -1
  103. package/bundled/kbd-shortcut.cjs +1 -0
  104. package/bundled/kbd-shortcut.js +14 -0
  105. package/bundled/linkable.cjs +2 -2
  106. package/bundled/linkable.js +5 -5
  107. package/bundled/listbox.cjs +1 -1
  108. package/bundled/listbox.js +4 -4
  109. package/bundled/localized.cjs +1 -1
  110. package/bundled/localized.js +3 -2
  111. package/bundled/mixins.cjs +16 -16
  112. package/bundled/mixins.js +39 -105
  113. package/bundled/picker-field.template.cjs +6 -6
  114. package/bundled/picker-field.template.js +15 -15
  115. package/bundled/platform.cjs +1 -0
  116. package/bundled/platform.js +9 -0
  117. package/bundled/ref.cjs +1 -1
  118. package/bundled/ref.js +2 -2
  119. package/bundled/render-in-light-dom.cjs +1 -0
  120. package/bundled/render-in-light-dom.js +57 -0
  121. package/bundled/repeat.cjs +1 -1
  122. package/bundled/repeat.js +117 -107
  123. package/bundled/slider.template.cjs +3 -3
  124. package/bundled/slider.template.js +1 -1
  125. package/bundled/slotted.cjs +1 -1
  126. package/bundled/slotted.js +2 -2
  127. package/bundled/time-selection-picker.template.cjs +4 -4
  128. package/bundled/time-selection-picker.template.js +18 -18
  129. package/bundled/vivid-element.cjs +3 -3
  130. package/bundled/vivid-element.js +626 -550
  131. package/bundled/when.cjs +1 -1
  132. package/bundled/when.js +2 -2
  133. package/bundled/with-contextual-help.cjs +1 -1
  134. package/bundled/with-contextual-help.js +1 -1
  135. package/bundled/with-error-text.cjs +1 -1
  136. package/bundled/with-error-text.js +1 -1
  137. package/bundled/with-success-text.cjs +1 -1
  138. package/bundled/with-success-text.js +1 -1
  139. package/calendar/index.cjs +8 -8
  140. package/calendar/index.js +9 -9
  141. package/calendar-event/index.cjs +4 -4
  142. package/calendar-event/index.js +1 -1
  143. package/card/index.cjs +24 -25
  144. package/card/index.js +29 -30
  145. package/color-picker/index.cjs +26 -26
  146. package/color-picker/index.js +90 -90
  147. package/combobox/index.cjs +13 -13
  148. package/combobox/index.js +22 -22
  149. package/country-group/index.cjs +4 -4
  150. package/country-group/index.js +3 -3
  151. package/custom-elements.json +849 -12
  152. package/data-grid/index.cjs +34 -34
  153. package/data-grid/index.js +37 -38
  154. package/date-picker/definition.cjs +1 -1
  155. package/date-picker/definition.js +1 -1
  156. package/date-picker/index.cjs +1 -1
  157. package/date-picker/index.js +2 -2
  158. package/date-range-picker/definition.cjs +1 -1
  159. package/date-range-picker/definition.js +1 -1
  160. package/date-range-picker/index.cjs +1 -1
  161. package/date-range-picker/index.js +4 -4
  162. package/date-time-picker/definition.cjs +1 -1
  163. package/date-time-picker/definition.js +1 -1
  164. package/date-time-picker/index.cjs +2 -2
  165. package/date-time-picker/index.js +6 -6
  166. package/dial-pad/definition.cjs +1 -1
  167. package/dial-pad/definition.js +1 -1
  168. package/dial-pad/index.cjs +8 -8
  169. package/dial-pad/index.js +15 -15
  170. package/dialog/definition.cjs +1 -1
  171. package/dialog/definition.js +1 -1
  172. package/dialog/index.cjs +16 -17
  173. package/dialog/index.js +29 -27
  174. package/divider/definition.cjs +1 -1
  175. package/divider/definition.js +1 -1
  176. package/empty-state/definition.cjs +1 -1
  177. package/empty-state/definition.js +1 -1
  178. package/empty-state/index.cjs +5 -5
  179. package/empty-state/index.js +9 -9
  180. package/fab/definition.cjs +1 -1
  181. package/fab/definition.js +1 -1
  182. package/fab/index.cjs +2 -2
  183. package/fab/index.js +6 -6
  184. package/file-picker/definition.cjs +1 -1
  185. package/file-picker/definition.js +1 -1
  186. package/file-picker/index.cjs +9 -10
  187. package/file-picker/index.js +21 -22
  188. package/flag/index.cjs +3 -3
  189. package/flag/index.js +7 -7
  190. package/header/definition.cjs +1 -1
  191. package/header/definition.js +1 -1
  192. package/header/index.cjs +2 -2
  193. package/header/index.js +8 -8
  194. package/icon/definition.cjs +1 -1
  195. package/icon/definition.js +1 -1
  196. package/index.cjs +184 -172
  197. package/index.js +52 -49
  198. package/kbd-key/definition.cjs +5 -0
  199. package/kbd-key/definition.js +2 -0
  200. package/kbd-key/index.cjs +5 -0
  201. package/kbd-key/index.js +65 -0
  202. package/kbd-shortcut/definition.cjs +5 -0
  203. package/kbd-shortcut/definition.js +2 -0
  204. package/kbd-shortcut/index.cjs +3 -0
  205. package/kbd-shortcut/index.js +27 -0
  206. package/layout/definition.cjs +1 -1
  207. package/layout/definition.js +1 -1
  208. package/layout/index.cjs +2 -2
  209. package/layout/index.js +2 -2
  210. package/lib/accordion-item/accordion-item.d.ts +18 -1
  211. package/lib/action-group/action-group.d.ts +18 -1
  212. package/lib/alert/alert.d.ts +36 -2
  213. package/lib/audio-player/audio-player.d.ts +18 -1
  214. package/lib/avatar/avatar.d.ts +18 -1
  215. package/lib/badge/badge.d.ts +18 -1
  216. package/lib/banner/banner.d.ts +54 -3
  217. package/lib/breadcrumb/breadcrumb.d.ts +18 -1
  218. package/lib/breadcrumb-item/breadcrumb-item.d.ts +18 -1
  219. package/lib/button/button.d.ts +54 -3
  220. package/lib/calendar-event/calendar-event.d.ts +18 -1
  221. package/lib/card/card.d.ts +18 -1
  222. package/lib/checkbox/checkbox.d.ts +107 -5
  223. package/lib/color-picker/color-picker.d.ts +126 -7
  224. package/lib/combobox/combobox.d.ts +124 -5
  225. package/lib/components.d.ts +4 -1
  226. package/lib/country-group/country-group.d.ts +36 -2
  227. package/lib/data-grid/data-grid-cell.d.ts +36 -2
  228. package/lib/data-grid/data-grid-row.d.ts +18 -1
  229. package/lib/date-picker/date-picker.d.ts +140 -4
  230. package/lib/date-range-picker/date-range-picker.d.ts +70 -2
  231. package/lib/date-time-picker/date-time-picker.d.ts +140 -4
  232. package/lib/dial-pad/dial-pad.d.ts +18 -1
  233. package/lib/dialog/dialog.d.ts +36 -2
  234. package/lib/divider/divider.d.ts +18 -1
  235. package/lib/fab/fab.d.ts +18 -1
  236. package/lib/file-picker/file-picker.d.ts +124 -5
  237. package/lib/header/header.d.ts +18 -1
  238. package/lib/icon/icon.template.d.ts +1 -2
  239. package/lib/kbd-key/definition.d.ts +4 -0
  240. package/lib/kbd-key/index.d.ts +1 -0
  241. package/lib/kbd-key/kbd-key.d.ts +18 -0
  242. package/lib/kbd-key/kbd-key.template.d.ts +4 -0
  243. package/lib/kbd-shortcut/definition.d.ts +3 -0
  244. package/lib/kbd-shortcut/index.d.ts +1 -0
  245. package/lib/kbd-shortcut/kbd-shortcut.d.ts +4 -0
  246. package/lib/kbd-shortcut/kbd-shortcut.template.d.ts +4 -0
  247. package/lib/menu/menu.d.ts +35 -1
  248. package/lib/menu-item/menu-item.d.ts +463 -2
  249. package/lib/nav/nav.d.ts +18 -1
  250. package/lib/nav-disclosure/nav-disclosure.d.ts +36 -2
  251. package/lib/nav-item/nav-item.d.ts +36 -2
  252. package/lib/note/note.d.ts +18 -1
  253. package/lib/number-field/number-field.d.ts +160 -7
  254. package/lib/option/option.d.ts +36 -2
  255. package/lib/pagination/pagination.d.ts +18 -1
  256. package/lib/platform-switch/definition.d.ts +3 -0
  257. package/lib/platform-switch/index.d.ts +1 -0
  258. package/lib/platform-switch/platform-switch.d.ts +4 -0
  259. package/lib/platform-switch/platform-switch.template.d.ts +4 -0
  260. package/lib/popover/popover.d.ts +36 -2
  261. package/lib/progress/progress.d.ts +18 -1
  262. package/lib/progress-ring/progress-ring.d.ts +18 -1
  263. package/lib/radio/radio.d.ts +53 -2
  264. package/lib/radio-group/radio-group.d.ts +18 -1
  265. package/lib/range-slider/range-slider.d.ts +52 -1
  266. package/lib/rich-text-editor/locale.d.ts +1 -0
  267. package/lib/rich-text-editor/popover.d.ts +1 -0
  268. package/lib/rich-text-editor/rich-text-editor.d.ts +17 -0
  269. package/lib/rich-text-editor/rte/utils/ui.d.ts +3 -0
  270. package/lib/searchable-select/option-tag.d.ts +18 -1
  271. package/lib/searchable-select/searchable-select.d.ts +160 -7
  272. package/lib/select/select.d.ts +160 -7
  273. package/lib/selectable-box/selectable-box.d.ts +18 -1
  274. package/lib/simple-color-picker/simple-color-picker.d.ts +35 -1
  275. package/lib/slider/slider.d.ts +53 -2
  276. package/lib/split-button/split-button.d.ts +54 -3
  277. package/lib/status/status.d.ts +18 -1
  278. package/lib/switch/switch.d.ts +36 -2
  279. package/lib/tab/tab.d.ts +54 -3
  280. package/lib/tab-panel/tab-panel.d.ts +18 -1
  281. package/lib/table/table-cell.d.ts +18 -1
  282. package/lib/table/table-header-cell.d.ts +18 -1
  283. package/lib/table/table-row.d.ts +18 -1
  284. package/lib/table/table-sorting-button.d.ts +18 -1
  285. package/lib/tag/tag.d.ts +54 -3
  286. package/lib/tag-group/tag-group.d.ts +18 -1
  287. package/lib/tag-name-map.d.ts +4 -1
  288. package/lib/text-area/text-area.d.ts +142 -6
  289. package/lib/text-field/text-field.d.ts +160 -7
  290. package/lib/time-picker/time-picker.d.ts +70 -2
  291. package/lib/toggletip/toggletip.d.ts +35 -1
  292. package/lib/tooltip/tooltip.d.ts +444 -0
  293. package/lib/tree-item/tree-item.d.ts +36 -2
  294. package/lib/tree-view/tree-view.d.ts +18 -1
  295. package/lib/video-player/video-player.d.ts +18 -1
  296. package/locales/de-DE.cjs +1 -0
  297. package/locales/de-DE.js +1 -0
  298. package/locales/en-GB.cjs +1 -0
  299. package/locales/en-GB.js +1 -0
  300. package/locales/en-US.cjs +1 -0
  301. package/locales/en-US.js +1 -0
  302. package/locales/ja-JP.cjs +1 -0
  303. package/locales/ja-JP.js +1 -0
  304. package/locales/zh-CN.cjs +1 -0
  305. package/locales/zh-CN.js +1 -0
  306. package/nav/definition.cjs +1 -1
  307. package/nav/definition.js +1 -1
  308. package/nav/index.cjs +2 -2
  309. package/nav/index.js +2 -2
  310. package/nav-disclosure/definition.cjs +1 -1
  311. package/nav-disclosure/definition.js +1 -1
  312. package/nav-disclosure/index.cjs +3 -4
  313. package/nav-disclosure/index.js +11 -11
  314. package/nav-item/definition.cjs +1 -1
  315. package/nav-item/definition.js +1 -1
  316. package/nav-item/index.cjs +2 -2
  317. package/nav-item/index.js +6 -6
  318. package/note/definition.cjs +1 -1
  319. package/note/definition.js +1 -1
  320. package/note/index.cjs +2 -2
  321. package/note/index.js +7 -7
  322. package/number-field/definition.cjs +1 -1
  323. package/number-field/definition.js +1 -1
  324. package/number-field/index.cjs +8 -9
  325. package/number-field/index.js +16 -17
  326. package/package.json +6 -6
  327. package/pagination/definition.cjs +1 -1
  328. package/pagination/definition.js +1 -1
  329. package/pagination/index.cjs +9 -9
  330. package/pagination/index.js +16 -16
  331. package/platform-switch/definition.cjs +5 -0
  332. package/platform-switch/definition.js +2 -0
  333. package/platform-switch/index.cjs +1 -0
  334. package/platform-switch/index.js +28 -0
  335. package/popover/definition.cjs +1 -1
  336. package/popover/definition.js +1 -1
  337. package/popover/index.cjs +6 -6
  338. package/popover/index.js +12 -12
  339. package/progress/definition.cjs +1 -1
  340. package/progress/definition.js +1 -1
  341. package/progress/index.cjs +4 -4
  342. package/progress/index.js +5 -5
  343. package/progress-ring/definition.cjs +1 -1
  344. package/progress-ring/definition.js +1 -1
  345. package/radio/definition.cjs +1 -1
  346. package/radio/definition.js +1 -1
  347. package/radio-group/definition.cjs +1 -1
  348. package/radio-group/definition.js +1 -1
  349. package/radio-group/index.cjs +5 -8
  350. package/radio-group/index.js +16 -16
  351. package/range-slider/definition.cjs +1 -1
  352. package/range-slider/definition.js +1 -1
  353. package/range-slider/index.cjs +5 -5
  354. package/range-slider/index.js +9 -9
  355. package/rich-text-editor/definition.cjs +1 -1
  356. package/rich-text-editor/definition.js +1 -1
  357. package/rich-text-editor/index.cjs +8 -6
  358. package/rich-text-editor/index.js +136 -94
  359. package/rich-text-view/definition.cjs +1 -1
  360. package/rich-text-view/definition.js +1 -1
  361. package/rich-text-view/index.cjs +1 -1
  362. package/rich-text-view/index.js +3 -3
  363. package/searchable-select/definition.cjs +1 -1
  364. package/searchable-select/definition.js +1 -1
  365. package/searchable-select/index.cjs +38 -40
  366. package/searchable-select/index.js +64 -64
  367. package/select/definition.cjs +1 -1
  368. package/select/definition.js +1 -1
  369. package/selectable-box/definition.cjs +1 -1
  370. package/selectable-box/definition.js +1 -1
  371. package/selectable-box/index.cjs +4 -4
  372. package/selectable-box/index.js +13 -13
  373. package/shared/aria/aria-binding-directive.d.ts +4 -4
  374. package/shared/aria/aria-mixin.d.ts +21 -3
  375. package/shared/aria/delegates-aria.d.ts +18 -1
  376. package/shared/aria/host-semantics.d.ts +18 -1
  377. package/shared/aria/idrefs-controller.d.ts +17 -0
  378. package/shared/color-picker/base-color-picker.d.ts +18 -1
  379. package/shared/feedback/feedback-message.d.ts +18 -1
  380. package/shared/feedback/mixins.d.ts +36 -2
  381. package/shared/foundation/button/button.d.ts +35 -1
  382. package/shared/foundation/form-associated/form-associated.d.ts +35 -1
  383. package/shared/foundation/vivid-element/vivid-element.d.ts +375 -0
  384. package/shared/framework/reactive-controller.d.ts +373 -0
  385. package/shared/patterns/affix.d.ts +36 -2
  386. package/shared/patterns/anchored.d.ts +34 -0
  387. package/shared/patterns/char-count/char-count.d.ts +18 -1
  388. package/shared/patterns/form-elements/form-element.d.ts +17 -0
  389. package/shared/patterns/form-elements/with-contextual-help.d.ts +18 -1
  390. package/shared/patterns/form-elements/with-error-text.d.ts +18 -1
  391. package/shared/patterns/form-elements/with-success-text.d.ts +18 -1
  392. package/shared/patterns/index.d.ts +1 -0
  393. package/shared/patterns/kbd-shortcut.d.ts +431 -0
  394. package/shared/patterns/linkable.d.ts +18 -1
  395. package/shared/patterns/localized.d.ts +35 -1
  396. package/shared/patterns/trapped-focus.d.ts +18 -1
  397. package/shared/picker-field/mixins/calendar-picker.d.ts +35 -1
  398. package/shared/picker-field/mixins/calendar-picker.template.d.ts +35 -1
  399. package/shared/picker-field/mixins/inline-time-picker/inline-time-picker.d.ts +18 -1
  400. package/shared/picker-field/mixins/min-max-calendar-picker.d.ts +35 -1
  401. package/shared/picker-field/mixins/single-date-picker.d.ts +35 -1
  402. package/shared/picker-field/mixins/single-value-picker.d.ts +35 -1
  403. package/shared/picker-field/mixins/time-selection-picker.d.ts +35 -1
  404. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +70 -2
  405. package/shared/picker-field/picker-field.d.ts +124 -5
  406. package/shared/templating/render-in-light-dom.d.ts +7 -20
  407. package/shared/utils/platform.d.ts +1 -0
  408. package/side-drawer/definition.cjs +1 -1
  409. package/side-drawer/definition.js +1 -1
  410. package/side-drawer/index.cjs +3 -3
  411. package/side-drawer/index.js +3 -3
  412. package/simple-color-picker/definition.cjs +1 -1
  413. package/simple-color-picker/definition.js +1 -1
  414. package/simple-color-picker/index.cjs +2 -2
  415. package/simple-color-picker/index.js +6 -6
  416. package/split-button/definition.cjs +1 -1
  417. package/split-button/definition.js +1 -1
  418. package/split-button/index.cjs +5 -6
  419. package/split-button/index.js +8 -8
  420. package/status/definition.cjs +1 -1
  421. package/status/definition.js +1 -1
  422. package/status/index.cjs +4 -4
  423. package/status/index.js +9 -9
  424. package/styles/core/all.css +24 -2
  425. package/styles/core/typography.css +24 -2
  426. package/styles/fonts/spezia-variable.css +6 -0
  427. package/styles/tokens/theme-dark.css +2 -0
  428. package/styles/tokens/theme-light.css +2 -0
  429. package/switch/definition.cjs +1 -1
  430. package/switch/definition.js +1 -1
  431. package/switch/index.cjs +3 -3
  432. package/switch/index.js +4 -4
  433. package/tab/definition.cjs +1 -1
  434. package/tab/definition.js +1 -1
  435. package/tab-panel/definition.cjs +1 -1
  436. package/tab-panel/definition.js +1 -1
  437. package/table/definition.cjs +1 -1
  438. package/table/definition.js +1 -1
  439. package/table/index.cjs +9 -9
  440. package/table/index.js +19 -19
  441. package/tabs/definition.cjs +1 -1
  442. package/tabs/definition.js +1 -1
  443. package/tabs/index.cjs +8 -8
  444. package/tabs/index.js +14 -14
  445. package/tag/definition.cjs +1 -1
  446. package/tag/definition.js +1 -1
  447. package/tag/index.cjs +8 -8
  448. package/tag/index.js +11 -11
  449. package/tag-group/definition.cjs +1 -1
  450. package/tag-group/definition.js +1 -1
  451. package/tag-group/index.cjs +2 -2
  452. package/tag-group/index.js +2 -2
  453. package/text-area/definition.cjs +1 -1
  454. package/text-area/definition.js +1 -1
  455. package/text-area/index.cjs +8 -9
  456. package/text-area/index.js +25 -26
  457. package/time-picker/definition.cjs +1 -1
  458. package/time-picker/definition.js +1 -1
  459. package/time-picker/index.cjs +1 -1
  460. package/time-picker/index.js +1 -1
  461. package/tree-item/definition.cjs +1 -1
  462. package/tree-item/definition.js +1 -1
  463. package/tree-view/definition.cjs +1 -1
  464. package/tree-view/definition.js +1 -1
  465. package/tree-view/index.cjs +4 -4
  466. package/tree-view/index.js +7 -7
  467. package/unbundled/affix.cjs +1 -1
  468. package/unbundled/affix.js +1 -1
  469. package/unbundled/aria-binding-directive.cjs +112 -2
  470. package/unbundled/aria-binding-directive.js +108 -4
  471. package/unbundled/calendar-picker.template.cjs +8 -10
  472. package/unbundled/calendar-picker.template.js +8 -10
  473. package/unbundled/char-count.cjs +1 -1
  474. package/unbundled/char-count.js +1 -1
  475. package/unbundled/definition.cjs +91 -17
  476. package/unbundled/definition.js +88 -14
  477. package/unbundled/definition10.js +1 -1
  478. package/unbundled/definition11.js +1 -1
  479. package/unbundled/definition12.cjs +15 -2
  480. package/unbundled/definition12.js +17 -4
  481. package/unbundled/definition13.js +1 -1
  482. package/unbundled/definition14.js +1 -1
  483. package/unbundled/definition15.cjs +1 -1
  484. package/unbundled/definition15.js +2 -2
  485. package/unbundled/definition16.cjs +1 -1
  486. package/unbundled/definition16.js +2 -2
  487. package/unbundled/definition17.cjs +1 -1
  488. package/unbundled/definition17.js +2 -2
  489. package/unbundled/definition18.cjs +1 -1
  490. package/unbundled/definition18.js +2 -2
  491. package/unbundled/definition19.js +1 -1
  492. package/unbundled/definition2.cjs +96 -77
  493. package/unbundled/definition2.js +94 -75
  494. package/unbundled/definition20.js +1 -1
  495. package/unbundled/definition21.js +1 -1
  496. package/unbundled/definition22.cjs +2 -3
  497. package/unbundled/definition22.js +3 -4
  498. package/unbundled/definition23.cjs +3 -3
  499. package/unbundled/definition23.js +5 -5
  500. package/unbundled/definition24.js +1 -1
  501. package/unbundled/definition25.cjs +1 -1
  502. package/unbundled/definition25.js +2 -2
  503. package/unbundled/definition26.cjs +8 -8
  504. package/unbundled/definition26.js +6 -6
  505. package/unbundled/definition27.cjs +26 -12
  506. package/unbundled/definition27.js +28 -14
  507. package/unbundled/definition28.cjs +1 -1
  508. package/unbundled/definition28.js +3 -3
  509. package/unbundled/definition29.cjs +1 -1
  510. package/unbundled/definition29.js +2 -2
  511. package/unbundled/definition3.cjs +154 -95
  512. package/unbundled/definition3.js +146 -93
  513. package/unbundled/definition30.cjs +1 -1
  514. package/unbundled/definition30.js +3 -3
  515. package/unbundled/definition31.cjs +1 -1
  516. package/unbundled/definition31.js +2 -2
  517. package/unbundled/definition32.js +1 -1
  518. package/unbundled/definition33.cjs +1 -1
  519. package/unbundled/definition33.js +2 -2
  520. package/unbundled/definition34.cjs +103 -65
  521. package/unbundled/definition34.js +102 -64
  522. package/unbundled/definition35.cjs +26 -326
  523. package/unbundled/definition35.js +24 -247
  524. package/unbundled/definition36.cjs +131 -25
  525. package/unbundled/definition36.js +124 -23
  526. package/unbundled/definition37.cjs +326 -51
  527. package/unbundled/definition37.js +324 -49
  528. package/unbundled/definition38.cjs +137 -317
  529. package/unbundled/definition38.js +135 -315
  530. package/unbundled/definition39.cjs +337 -173
  531. package/unbundled/definition39.js +334 -170
  532. package/unbundled/definition4.cjs +34 -159
  533. package/unbundled/definition4.js +25 -151
  534. package/unbundled/definition40.cjs +234 -339
  535. package/unbundled/definition40.js +230 -335
  536. package/unbundled/definition41.cjs +48 -271
  537. package/unbundled/definition41.js +44 -267
  538. package/unbundled/definition42.cjs +68 -49
  539. package/unbundled/definition42.js +65 -46
  540. package/unbundled/definition43.cjs +424 -56
  541. package/unbundled/definition43.js +422 -54
  542. package/unbundled/definition44.cjs +45 -428
  543. package/unbundled/definition44.js +42 -425
  544. package/unbundled/definition45.cjs +45 -54
  545. package/unbundled/definition45.js +42 -51
  546. package/unbundled/definition46.cjs +178 -30
  547. package/unbundled/definition46.js +175 -26
  548. package/unbundled/definition47.cjs +29 -94
  549. package/unbundled/definition47.js +25 -91
  550. package/unbundled/definition48.cjs +76 -36
  551. package/unbundled/definition48.js +73 -33
  552. package/unbundled/definition49.cjs +56 -23
  553. package/unbundled/definition49.js +54 -18
  554. package/unbundled/definition5.cjs +56 -38
  555. package/unbundled/definition5.js +52 -28
  556. package/unbundled/definition50.cjs +23 -40
  557. package/unbundled/definition50.js +18 -38
  558. package/unbundled/definition51.cjs +30 -338
  559. package/unbundled/definition51.js +30 -338
  560. package/unbundled/definition52.cjs +317 -187
  561. package/unbundled/definition52.js +314 -184
  562. package/unbundled/definition53.cjs +194 -289
  563. package/unbundled/definition53.js +189 -284
  564. package/unbundled/definition54.cjs +47 -54
  565. package/unbundled/definition54.js +44 -50
  566. package/unbundled/definition55.cjs +279 -133
  567. package/unbundled/definition55.js +277 -130
  568. package/unbundled/definition56.cjs +50 -262
  569. package/unbundled/definition56.js +48 -261
  570. package/unbundled/definition57.cjs +128 -460
  571. package/unbundled/definition57.js +126 -459
  572. package/unbundled/definition58.cjs +235 -3604
  573. package/unbundled/definition58.js +231 -3437
  574. package/unbundled/definition59.cjs +419 -729
  575. package/unbundled/definition59.js +417 -727
  576. package/unbundled/definition6.cjs +18 -64
  577. package/unbundled/definition6.js +15 -60
  578. package/unbundled/definition60.cjs +3699 -106
  579. package/unbundled/definition60.js +3531 -101
  580. package/unbundled/definition61.cjs +625 -878
  581. package/unbundled/definition61.js +619 -872
  582. package/unbundled/definition62.cjs +106 -108
  583. package/unbundled/definition62.js +103 -105
  584. package/unbundled/definition63.cjs +1045 -71
  585. package/unbundled/definition63.js +1041 -66
  586. package/unbundled/definition64.cjs +105 -173
  587. package/unbundled/definition64.js +102 -170
  588. package/unbundled/definition65.cjs +70 -113
  589. package/unbundled/definition65.js +66 -110
  590. package/unbundled/definition66.cjs +185 -54
  591. package/unbundled/definition66.js +182 -51
  592. package/unbundled/definition67.cjs +110 -77
  593. package/unbundled/definition67.js +111 -77
  594. package/unbundled/definition68.cjs +58 -21
  595. package/unbundled/definition68.js +56 -16
  596. package/unbundled/definition69.cjs +82 -75
  597. package/unbundled/definition69.js +81 -75
  598. package/unbundled/definition7.cjs +2 -2
  599. package/unbundled/definition7.js +3 -3
  600. package/unbundled/definition70.cjs +19 -349
  601. package/unbundled/definition70.js +15 -341
  602. package/unbundled/definition71.cjs +88 -26
  603. package/unbundled/definition71.js +86 -23
  604. package/unbundled/definition72.cjs +309 -119
  605. package/unbundled/definition72.js +234 -116
  606. package/unbundled/definition73.cjs +293 -229
  607. package/unbundled/definition73.js +287 -230
  608. package/unbundled/definition74.cjs +39 -30
  609. package/unbundled/definition74.js +29 -28
  610. package/unbundled/definition75.cjs +106 -121
  611. package/unbundled/definition75.js +104 -113
  612. package/unbundled/definition76.cjs +260 -179
  613. package/unbundled/definition76.js +258 -176
  614. package/unbundled/definition77.cjs +29 -514
  615. package/unbundled/definition77.js +27 -503
  616. package/unbundled/definition78.cjs +171 -0
  617. package/unbundled/definition78.js +147 -0
  618. package/unbundled/definition79.cjs +233 -0
  619. package/unbundled/definition79.js +214 -0
  620. package/unbundled/definition8.js +1 -1
  621. package/unbundled/definition80.cjs +533 -0
  622. package/unbundled/definition80.js +513 -0
  623. package/unbundled/definition9.cjs +1 -1
  624. package/unbundled/definition9.js +2 -2
  625. package/unbundled/delegates-aria.cjs +15 -1
  626. package/unbundled/delegates-aria.js +17 -3
  627. package/unbundled/host-semantics.cjs +2 -1
  628. package/unbundled/host-semantics.js +2 -1
  629. package/unbundled/kbd-shortcut.cjs +26 -0
  630. package/unbundled/kbd-shortcut.js +20 -0
  631. package/unbundled/mixins.cjs +7 -77
  632. package/unbundled/mixins.js +6 -64
  633. package/unbundled/platform.cjs +17 -0
  634. package/unbundled/platform.js +12 -0
  635. package/unbundled/randomId.cjs +47 -0
  636. package/unbundled/randomId.js +35 -0
  637. package/unbundled/time-selection-picker.template.js +1 -1
  638. package/unbundled/vivid-element.cjs +82 -9
  639. package/unbundled/vivid-element.js +63 -8
  640. package/video-player/definition.cjs +1 -1
  641. package/video-player/definition.js +1 -1
  642. package/video-player/index.cjs +3 -3
  643. package/video-player/index.js +5 -5
  644. package/visually-hidden/definition.cjs +1 -1
  645. package/visually-hidden/definition.js +1 -1
  646. package/vivid.api.json +604 -6
  647. package/bundled/normalize.cjs +0 -1
  648. package/bundled/normalize.js +0 -7
package/banner/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const e=require(`../bundled/localized.cjs`),t=require(`../bundled/vivid-element.cjs`),n=require(`../bundled/when.cjs`),r=require(`../bundled/slotted.cjs`),i=require(`../bundled/enums.cjs`),a=require(`../bundled/decorate.cjs`),o=require(`../bundled/definition2.cjs`),s=require(`../bundled/affix.cjs`),c=require(`../bundled/class-names.cjs`),l=require(`../bundled/delegates-aria.cjs`),u=require(`../bundled/definition6.cjs`);var d=`:host{display:block}.control.connotation-success{--_connotation-color-primary:var(--vvd-banner-success-primary,var(--vvd-color-success-500));--_connotation-color-primary-text:var(--vvd-banner-success-primary-text,var(--vvd-color-canvas))}.control.connotation-alert{--_connotation-color-primary:var(--vvd-banner-alert-primary,var(--vvd-color-alert-500));--_connotation-color-primary-text:var(--vvd-banner-alert-primary-text,var(--vvd-color-canvas))}.control.connotation-announcement{--_connotation-color-primary:var(--vvd-banner-announcement-primary,var(--vvd-color-announcement-500));--_connotation-color-primary-text:var(--vvd-banner-announcement-primary-text,var(--vvd-color-canvas))}.control.connotation-warning{--_connotation-color-primary:var(--vvd-banner-warning-primary,var(--vvd-color-warning-300));--_connotation-color-primary-text:var(--vvd-banner-warning-primary-text,var(--vvd-color-canvas-text))}.control:not(.connotation-success,.connotation-alert,.connotation-announcement,.connotation-warning){--_connotation-color-primary:var(--vvd-banner-information-primary,var(--vvd-color-information-500));--_connotation-color-primary-text:var(--vvd-banner-information-primary-text,var(--vvd-color-canvas))}.control{--_appearance-color-text:var(--_connotation-color-primary-text);--_appearance-color-fill:var(--_connotation-color-primary);--_appearance-color-outline:transparent;background-color:var(--_appearance-color-fill);max-height:160px;color:var(--_appearance-color-text);transition:max-height var(--transition-delay,.2s);overflow:hidden}.control.removing{max-height:0}.header{box-sizing:border-box;font:var(--vvd-typography-base-bold);inline-size:100%;min-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 20));align-items:center;display:flex}.header .content{flex-grow:1;justify-content:center;align-items:center;column-gap:16px;inline-size:100%;padding:10px 16px;display:flex}.header .content slot[name=icon]{flex-shrink:0;font-size:20px;line-height:1}.header .content .action-items{flex-shrink:0}.header .dismiss-button{flex-shrink:0;margin-inline-end:8px}`,f={[i.n.Information]:`info-solid`,[i.n.Announcement]:`megaphone-solid`,[i.n.Success]:`check-circle-solid`,[i.n.Warning]:`warning-solid`,[i.n.Alert]:`error-solid`},p=(e=i.n.Information)=>f[e],m=class extends s.t(e.t(l.t(t.t))){constructor(...e){super(...e),this.dismissButtonAriaLabel=null,this.removable=!1,this.#e=()=>{this.$emit(`removed`),this.parentElement&&this.parentElement.removeChild(this)},this.#t=e=>{e.key!==`Escape`||!this.removable||this.remove()}}get conditionedIcon(){return this.icon??p(this.connotation)}connectedCallback(){super.connectedCallback(),this.addEventListener(`keydown`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`keydown`,this.#t)}remove(){this.$emit(`removing`);let e=this.shadowRoot&&this.shadowRoot.querySelector(`.control`);e?.classList.add(`removing`),e?.addEventListener(`transitionend`,this.#e)}#e;#t};a.t([t.u({attribute:`dismiss-aria-label`})],m.prototype,`dismissButtonAriaLabel`,void 0),a.t([t.u({mode:`boolean`})],m.prototype,`removable`,void 0),a.t([t.u()],m.prototype,`text`,void 0),a.t([t.u()],m.prototype,`connotation`,void 0),a.t([t.D],m.prototype,`actionItemsSlottedContent`,void 0);var h=e=>c.t(`control`,[`connotation-${e.connotation}`,!!e.connotation]);function g(e){return t.f`
1
+ const e=require(`../bundled/localized.cjs`),t=require(`../bundled/vivid-element.cjs`),n=require(`../bundled/slotted.cjs`),r=require(`../bundled/when.cjs`),i=require(`../bundled/enums.cjs`),a=require(`../bundled/decorate.cjs`),o=require(`../bundled/definition2.cjs`),s=require(`../bundled/affix.cjs`),c=require(`../bundled/class-names.cjs`),l=require(`../bundled/delegates-aria.cjs`),u=require(`../bundled/definition6.cjs`);var d=`:host{display:block}.control.connotation-success{--_connotation-color-primary:var(--vvd-banner-success-primary,var(--vvd-color-success-500));--_connotation-color-primary-text:var(--vvd-banner-success-primary-text,var(--vvd-color-canvas))}.control.connotation-alert{--_connotation-color-primary:var(--vvd-banner-alert-primary,var(--vvd-color-alert-500));--_connotation-color-primary-text:var(--vvd-banner-alert-primary-text,var(--vvd-color-canvas))}.control.connotation-announcement{--_connotation-color-primary:var(--vvd-banner-announcement-primary,var(--vvd-color-announcement-500));--_connotation-color-primary-text:var(--vvd-banner-announcement-primary-text,var(--vvd-color-canvas))}.control.connotation-warning{--_connotation-color-primary:var(--vvd-banner-warning-primary,var(--vvd-color-warning-300));--_connotation-color-primary-text:var(--vvd-banner-warning-primary-text,var(--vvd-color-canvas-text))}.control:not(.connotation-success,.connotation-alert,.connotation-announcement,.connotation-warning){--_connotation-color-primary:var(--vvd-banner-information-primary,var(--vvd-color-information-500));--_connotation-color-primary-text:var(--vvd-banner-information-primary-text,var(--vvd-color-canvas))}.control{--_appearance-color-text:var(--_connotation-color-primary-text);--_appearance-color-fill:var(--_connotation-color-primary);--_appearance-color-outline:transparent;background-color:var(--_appearance-color-fill);max-height:160px;color:var(--_appearance-color-text);transition:max-height var(--transition-delay,.2s);overflow:hidden}.control.removing{max-height:0}.header{box-sizing:border-box;font:var(--vvd-typography-base-bold);inline-size:100%;min-block-size:calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density,0), 2) + 20));align-items:center;display:flex}.header .content{flex-grow:1;justify-content:center;align-items:center;column-gap:16px;inline-size:100%;padding:10px 16px;display:flex}.header .content slot[name=icon]{flex-shrink:0;font-size:20px;line-height:1}.header .content .action-items{flex-shrink:0}.header .dismiss-button{flex-shrink:0;margin-inline-end:8px}`,f={[i.n.Information]:`info-solid`,[i.n.Announcement]:`megaphone-solid`,[i.n.Success]:`check-circle-solid`,[i.n.Warning]:`warning-solid`,[i.n.Alert]:`error-solid`},p=(e=i.n.Information)=>f[e],m=class extends s.t(e.t(l.t(t.t))){constructor(...e){super(...e),this.dismissButtonAriaLabel=null,this.removable=!1,this.#e=()=>{this.$emit(`removed`),this.parentElement&&this.parentElement.removeChild(this)},this.#t=e=>{e.key!==`Escape`||!this.removable||this.remove()}}get conditionedIcon(){return this.icon??p(this.connotation)}connectedCallback(){super.connectedCallback(),this.addEventListener(`keydown`,this.#t)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(`keydown`,this.#t)}remove(){this.$emit(`removing`);let e=this.shadowRoot&&this.shadowRoot.querySelector(`.control`);e?.classList.add(`removing`),e?.addEventListener(`transitionend`,this.#e)}#e;#t};a.t([t.m({attribute:`dismiss-aria-label`})],m.prototype,`dismissButtonAriaLabel`,void 0),a.t([t.m({mode:`boolean`})],m.prototype,`removable`,void 0),a.t([t.m()],m.prototype,`text`,void 0),a.t([t.m()],m.prototype,`connotation`,void 0),a.t([t.A],m.prototype,`actionItemsSlottedContent`,void 0);var h=e=>c.t(`control`,[`connotation-${e.connotation}`,!!e.connotation]);function g(e){return t.p`
2
2
  <${e}
3
3
  aria-label="${e=>e.dismissButtonAriaLabel||e.locale.banner.dismissButtonLabel}"
4
4
  part="${e=>e.connotation===`warning`?``:`vvd-theme-alternate`}"
@@ -6,7 +6,7 @@ const e=require(`../bundled/localized.cjs`),t=require(`../bundled/vivid-element.
6
6
  class="dismiss-button"
7
7
  icon="close-line"
8
8
  @click="${e=>e.remove()}">
9
- </${e}>`}var _=(e,t)=>{let n=s.a(e),r=t.conditionedIcon,i=!t.icon&&t.connotation?{label:t.locale.connotationAnnoncement[`${t.connotation}Icon`],announceOnUpdate:!1}:void 0;return n(r,s.i.Slot,s.r.Hidden,i)},v=t.s(`banner`,m,e=>{let i=e.tagFor(u.i);return t.f`
9
+ </${e}>`}var _=(e,t)=>{let n=s.a(e),r=t.conditionedIcon,i=!t.icon&&t.connotation?{label:t.locale.connotationAnnoncement[`${t.connotation}Icon`],announceOnUpdate:!1}:void 0;return n(r,s.i.Slot,s.r.Hidden,i)},v=t.u(`banner`,m,e=>{let i=e.tagFor(u.i);return t.p`
10
10
  <div class="${h}">
11
11
  <header class="header">
12
12
  <div class="content">
@@ -19,12 +19,12 @@ const e=require(`../bundled/localized.cjs`),t=require(`../bundled/vivid-element.
19
19
  </div>
20
20
  <slot
21
21
  class="action-items"
22
- ${r.t(`actionItemsSlottedContent`)}
22
+ ${n.t(`actionItemsSlottedContent`)}
23
23
  name="action-items"
24
24
  ></slot>
25
25
  </div>
26
26
 
27
- ${n.t(e=>e.removable,g(i))}
27
+ ${r.t(e=>e.removable,g(i))}
28
28
  </header>
29
29
  </div>
30
- `},[o.t,u.t],{styles:d});t.c(v)();
30
+ `},[o.t,u.t],{styles:d});t.d(v)();
package/banner/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../bundled/localized.js";
2
- import { D as t, c as n, f as r, s as i, t as a, u as o } from "../bundled/vivid-element.js";
3
- import { t as s } from "../bundled/when.js";
4
- import { t as c } from "../bundled/slotted.js";
2
+ import { A as t, d as n, m as r, p as i, t as a, u as o } from "../bundled/vivid-element.js";
3
+ import { t as s } from "../bundled/slotted.js";
4
+ import { t as c } from "../bundled/when.js";
5
5
  import { n as l } from "../bundled/enums.js";
6
6
  import { t as u } from "../bundled/decorate.js";
7
7
  import { t as d } from "../bundled/definition2.js";
@@ -41,12 +41,12 @@ var x = ":host{display:block}.control.connotation-success{--_connotation-color-p
41
41
  #e;
42
42
  #t;
43
43
  };
44
- u([o({ attribute: "dismiss-aria-label" })], w.prototype, "dismissButtonAriaLabel", void 0), u([o({ mode: "boolean" })], w.prototype, "removable", void 0), u([o()], w.prototype, "text", void 0), u([o()], w.prototype, "connotation", void 0), u([t], w.prototype, "actionItemsSlottedContent", void 0);
44
+ u([r({ attribute: "dismiss-aria-label" })], w.prototype, "dismissButtonAriaLabel", void 0), u([r({ mode: "boolean" })], w.prototype, "removable", void 0), u([r()], w.prototype, "text", void 0), u([r()], w.prototype, "connotation", void 0), u([t], w.prototype, "actionItemsSlottedContent", void 0);
45
45
  //#endregion
46
46
  //#region src/lib/banner/banner.template.ts
47
47
  var T = (e) => g("control", [`connotation-${e.connotation}`, !!e.connotation]);
48
48
  function E(e) {
49
- return r`
49
+ return i`
50
50
  <${e}
51
51
  aria-label="${(e) => e.dismissButtonAriaLabel || e.locale.banner.dismissButtonLabel}"
52
52
  part="${(e) => e.connotation === "warning" ? "" : "vvd-theme-alternate"}"
@@ -65,9 +65,9 @@ var D = (e, t) => {
65
65
  };
66
66
  //#endregion
67
67
  //#region src/lib/banner/index.ts
68
- n(i("banner", w, (e) => {
68
+ n(o("banner", w, (e) => {
69
69
  let t = e.tagFor(y);
70
- return r`
70
+ return i`
71
71
  <div class="${T}">
72
72
  <header class="header">
73
73
  <div class="content">
@@ -83,12 +83,12 @@ n(i("banner", w, (e) => {
83
83
  </div>
84
84
  <slot
85
85
  class="action-items"
86
- ${c("actionItemsSlottedContent")}
86
+ ${s("actionItemsSlottedContent")}
87
87
  name="action-items"
88
88
  ></slot>
89
89
  </div>
90
90
 
91
- ${s((e) => e.removable, E(t))}
91
+ ${c((e) => e.removable, E(t))}
92
92
  </header>
93
93
  </div>
94
94
  `;
@@ -1,4 +1,4 @@
1
- const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/slotted.cjs`),n=require(`../bundled/decorate.cjs`),r=require(`../bundled/delegates-aria.cjs`),i=require(`../bundled/breadcrumb-item.cjs`);var a=e.f`
1
+ const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/slotted.cjs`),n=require(`../bundled/decorate.cjs`),r=require(`../bundled/delegates-aria.cjs`),i=require(`../bundled/breadcrumb-item.cjs`);var a=e.p`
2
2
  <nav
3
3
  class="base"
4
4
  ${r.n({ariaLabel:e=>e.ariaLabel||`breadcrumbs`})}
@@ -9,4 +9,4 @@ const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/slotted.cj
9
9
  ></slot>
10
10
  </div>
11
11
  </nav>
12
- `,o=`.list{display:flex}`,s=class extends r.t(e.t){slottedBreadcrumbItemsChanged(e,t){t&&t.forEach((e,n)=>{let r=n===t.length-1;this.setItemSeparator(e,r),this.setAriaCurrent(e,r)})}setItemSeparator(e,t){e instanceof i.t&&(e.separator=!t)}findChildWithHref(e){return e.childElementCount>0?e.querySelector(`a[href]`):e.shadowRoot?e.shadowRoot.querySelector(`a[href]`):null}setAriaCurrent(e,t){let n=this.findChildWithHref(e);n!==null&&(t?n.setAttribute(`aria-current`,`page`):n.removeAttribute(`aria-current`))}};n.t([e.D],s.prototype,`slottedBreadcrumbItems`,void 0);var c=e.s(`breadcrumb`,s,a,[],{styles:o});e.c(c)();
12
+ `,o=`.list{display:flex}`,s=class extends r.t(e.t){slottedBreadcrumbItemsChanged(e,t){t&&t.forEach((e,n)=>{let r=n===t.length-1;this.setItemSeparator(e,r),this.setAriaCurrent(e,r)})}setItemSeparator(e,t){e instanceof i.t&&(e.separator=!t)}findChildWithHref(e){return e.childElementCount>0?e.querySelector(`a[href]`):e.shadowRoot?e.shadowRoot.querySelector(`a[href]`):null}setAriaCurrent(e,t){let n=this.findChildWithHref(e);n!==null&&(t?n.setAttribute(`aria-current`,`page`):n.removeAttribute(`aria-current`))}};n.t([e.A],s.prototype,`slottedBreadcrumbItems`,void 0);var c=e.u(`breadcrumb`,s,a,[],{styles:o});e.d(c)();
@@ -1,4 +1,4 @@
1
- import { D as e, c as t, f as n, s as r, t as i } from "../bundled/vivid-element.js";
1
+ import { A as e, d as t, p as n, t as r, u as i } from "../bundled/vivid-element.js";
2
2
  import { r as a, t as o } from "../bundled/slotted.js";
3
3
  import { t as s } from "../bundled/decorate.js";
4
4
  import { n as c, t as l } from "../bundled/delegates-aria.js";
@@ -18,7 +18,7 @@ var d = n`
18
18
  ></slot>
19
19
  </div>
20
20
  </nav>
21
- `, f = ".list{display:flex}", p = class extends l(i) {
21
+ `, f = ".list{display:flex}", p = class extends l(r) {
22
22
  slottedBreadcrumbItemsChanged(e, t) {
23
23
  /* v8 ignore else -- @preserve */
24
24
  t && t.forEach((e, n) => {
@@ -39,5 +39,5 @@ var d = n`
39
39
  };
40
40
  //#endregion
41
41
  //#region src/lib/breadcrumb/index.ts
42
- s([e], p.prototype, "slottedBreadcrumbItems", void 0), t(r("breadcrumb", p, d, [], { styles: f }))();
42
+ s([e], p.prototype, "slottedBreadcrumbItems", void 0), t(i("breadcrumb", p, d, [], { styles: f }))();
43
43
  //#endregion
@@ -1,5 +1,5 @@
1
- const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`),n=require(`../bundled/definition2.cjs`),r=require(`../bundled/class-names.cjs`),i=require(`../bundled/breadcrumb-item.cjs`);var a=`.base{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base);align-items:center;display:flex}.base .separator{color:var(--vvd-color-neutral-600);margin:0 16px;font-size:12px}.control{font:inherit}.control:focus-visible{outline:none;position:relative}.control:focus-visible:after{box-shadow:0 0 0 4px color-mix(in srgb, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));border-radius:var(--focus-border-radius,inherit);block-size:calc(100% + var(--focus-block-size-addition,4px));content:"";inline-size:calc(100% + var(--focus-block-size-addition,4px));--focus-stroke-gap-color:transparent;--focus-block-size-addition:8px;--focus-border-radius:4px;display:block;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%)}.control:any-link{color:var(--vvd-color-cta-600);text-decoration:none}@media (hover:hover){.control:any-link:hover{text-decoration:underline}}`,o=e=>r.t(`base`),s=e.s(`breadcrumb-item`,i.t,r=>{let i=r.tagFor(n.r);return e.f` <div role="listitem" class="${o}">
2
- ${t.t(e=>e.text&&!e.href,e.f`${e=>e.text}`)}
3
- ${t.t(e=>e.text&&e.href&&e.href.length>0,e.f`${t=>t._renderLinkElement(e.f`${e=>e.text}`,`control`)}`)}
4
- ${t.t(e=>e.separator,e.f`<${i} class="separator" name="chevron-right-solid"></${i}>`)}
5
- </div>`},[n.t],{styles:a,shadowOptions:{delegatesFocus:!0}});e.c(s)();
1
+ const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`),n=require(`../bundled/definition2.cjs`),r=require(`../bundled/class-names.cjs`),i=require(`../bundled/breadcrumb-item.cjs`);var a=`.base{color:var(--vvd-color-canvas-text);font:var(--vvd-typography-base);align-items:center;display:flex}.base .separator{color:var(--vvd-color-neutral-600);margin:0 16px;font-size:12px}.control{font:inherit}.control:focus-visible{outline:none;position:relative}.control:focus-visible:after{box-shadow:0 0 0 4px color-mix(in srgb, var(--focus-stroke-color,var(--vvd-color-cta-500)), transparent 85%), inset 0 0 0 3px var(--focus-stroke-gap-color,currentColor);outline:1px solid var(--focus-stroke-color,var(--vvd-color-cta-500));outline-offset:calc(-1px - var(--focus-inset,0px));border-radius:var(--focus-border-radius,inherit);block-size:calc(100% + var(--focus-block-size-addition,4px));content:"";inline-size:calc(100% + var(--focus-block-size-addition,4px));--focus-stroke-gap-color:transparent;--focus-block-size-addition:8px;--focus-border-radius:4px;display:block;position:absolute;inset-block-start:50%;inset-inline-start:50%;transform:translate(-50%,-50%)}.control:any-link{color:var(--vvd-color-cta-600);text-decoration:none}@media (hover:hover){.control:any-link:hover{text-decoration:underline}}`,o=e=>r.t(`base`),s=e.u(`breadcrumb-item`,i.t,r=>{let i=r.tagFor(n.r);return e.p` <div role="listitem" class="${o}">
2
+ ${t.t(e=>e.text&&!e.href,e.p`${e=>e.text}`)}
3
+ ${t.t(e=>e.text&&e.href&&e.href.length>0,e.p`${t=>t._renderLinkElement(e.p`${e=>e.text}`,`control`)}`)}
4
+ ${t.t(e=>e.separator,e.p`<${i} class="separator" name="chevron-right-solid"></${i}>`)}
5
+ </div>`},[n.t],{styles:a,shadowOptions:{delegatesFocus:!0}});e.d(s)();
@@ -1,4 +1,4 @@
1
- import { c as e, f as t, s as n } from "../bundled/vivid-element.js";
1
+ import { d as e, p as t, u as n } from "../bundled/vivid-element.js";
2
2
  import { t as r } from "../bundled/when.js";
3
3
  import { r as i, t as a } from "../bundled/definition2.js";
4
4
  import { t as o } from "../bundled/class-names.js";
package/bundled/affix.cjs CHANGED
@@ -1,8 +1,8 @@
1
- const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`),r=require(`./definition2.cjs`);var i=t=>{class r extends t{}return n.t([e.u],r.prototype,`icon`,void 0),n.t([e.D],r.prototype,`iconSlottedContent`,void 0),r},a=t=>{class r extends i(t){constructor(...e){super(...e),this.iconTrailing=!1}}return n.t([e.u({mode:`boolean`,attribute:`icon-trailing`})],r.prototype,`iconTrailing`,void 0),r},o={Slot:!1,Span:!0},s={Hidden:`true`,Visible:`false`},c=n=>{let i=n.tagFor(r.r);return(n,r=o.Span,a=s.Hidden,c={label:``,announceOnUpdate:!1})=>{if(!n&&!r)return e.f`<slot
1
+ const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`),r=require(`./definition2.cjs`);var i=t=>{class r extends t{}return n.t([e.m],r.prototype,`icon`,void 0),n.t([e.A],r.prototype,`iconSlottedContent`,void 0),r},a=t=>{class r extends i(t){constructor(...e){super(...e),this.iconTrailing=!1}}return n.t([e.m({mode:`boolean`,attribute:`icon-trailing`})],r.prototype,`iconTrailing`,void 0),r},o={Slot:!1,Span:!0},s={Hidden:`true`,Visible:`false`},c=n=>{let i=n.tagFor(r.r);return(n,r=o.Span,a=s.Hidden,c={label:``,announceOnUpdate:!1})=>{if(!n&&!r)return e.p`<slot
2
2
  name="icon"
3
3
  aria-hidden="${()=>a}"
4
4
  ${t.t(`iconSlottedContent`)}
5
- ></slot>`;if(!n&&r)return null;let l=e.f`<${i} :name="${()=>n}" :label="${()=>c?.label||void 0}"></${i}>`,u=e.f.partial(r?`span`:`slot`);return e.f`<${u}
5
+ ></slot>`;if(!n&&r)return null;let l=e.p`<${i} :name="${()=>n}" :label="${()=>c?.label||void 0}"></${i}>`,u=e.p.partial(r?`span`:`slot`);return e.p`<${u}
6
6
  class="${()=>r?`icon`:void 0}"
7
7
  :name="${()=>r?void 0:`icon`}"
8
8
  aria-hidden="${()=>c?.label?!1:a}"
package/bundled/affix.js CHANGED
@@ -1,21 +1,21 @@
1
- import { D as e, f as t, u as n } from "./vivid-element.js";
1
+ import { A as e, m as t, p as n } from "./vivid-element.js";
2
2
  import { t as r } from "./slotted.js";
3
3
  import { t as i } from "./decorate.js";
4
4
  import { r as a } from "./definition2.js";
5
5
  //#region src/shared/patterns/affix.ts
6
- var o = (t) => {
7
- class r extends t {}
8
- return i([n], r.prototype, "icon", void 0), i([e], r.prototype, "iconSlottedContent", void 0), r;
6
+ var o = (n) => {
7
+ class r extends n {}
8
+ return i([t], r.prototype, "icon", void 0), i([e], r.prototype, "iconSlottedContent", void 0), r;
9
9
  }, s = (e) => {
10
- class t extends o(e) {
10
+ class n extends o(e) {
11
11
  constructor(...e) {
12
12
  super(...e), this.iconTrailing = !1;
13
13
  }
14
14
  }
15
- return i([n({
15
+ return i([t({
16
16
  mode: "boolean",
17
17
  attribute: "icon-trailing"
18
- })], t.prototype, "iconTrailing", void 0), t;
18
+ })], n.prototype, "iconTrailing", void 0), n;
19
19
  }, c = {
20
20
  Slot: !1,
21
21
  Span: !0
@@ -23,19 +23,19 @@ var o = (t) => {
23
23
  Hidden: "true",
24
24
  Visible: "false"
25
25
  }, u = (e) => {
26
- let n = e.tagFor(a);
26
+ let t = e.tagFor(a);
27
27
  return (e, i = c.Span, a = l.Hidden, o = {
28
28
  label: "",
29
29
  announceOnUpdate: !1
30
30
  }) => {
31
- if (!e && !i) return t`<slot
31
+ if (!e && !i) return n`<slot
32
32
  name="icon"
33
33
  aria-hidden="${() => a}"
34
34
  ${r("iconSlottedContent")}
35
35
  ></slot>`;
36
36
  if (!e && i) return null;
37
- let s = t`<${n} :name="${() => e}" :label="${() => o?.label || void 0}"></${n}>`, u = t.partial(i ? "span" : "slot");
38
- return t`<${u}
37
+ let s = n`<${t} :name="${() => e}" :label="${() => o?.label || void 0}"></${t}>`, u = n.partial(i ? "span" : "slot");
38
+ return n`<${u}
39
39
  class="${() => i ? "icon" : void 0}"
40
40
  :name="${() => i ? void 0 : "icon"}"
41
41
  aria-hidden="${() => o?.label ? !1 : a}"
@@ -1,4 +1,4 @@
1
- const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`);var r=t=>{class r extends t{anchorChanged(){this.#e()}_slottedAnchorChanged(){let t=!!(this._slottedAnchor&&this._slottedAnchor.length>0);e.j.setBooleanAttribute(this,`slotted-anchor`,t),this.#e()}#e=()=>{if(!this.isConnected){this._anchorEl=void 0;return}this.#r();let e;this._slottedAnchor&&this._slottedAnchor.length>0?e=this._slottedAnchor[0]:this.anchor instanceof HTMLElement?e=this.anchor:typeof this.anchor==`string`&&(e=document.getElementById(this.anchor)??void 0,e||this.#n(this.anchor)),this._anchorEl=e};#t;#n=e=>{this.#t=new MutationObserver(()=>{let t=document.getElementById(e);t&&(this._anchorEl=t,this.#r())}),this.#t.observe(document.body,{childList:!0,subtree:!0})};#r=()=>{this.#t?.disconnect(),this.#t=void 0};connectedCallback(){super.connectedCallback(),this.#e()}disconnectedCallback(){super.disconnectedCallback(),this.#r(),this._anchorEl=void 0}}return n.t([e.u],r.prototype,`anchor`,void 0),n.t([e.D],r.prototype,`_slottedAnchor`,void 0),n.t([e.D],r.prototype,`_anchorEl`,void 0),r},i=()=>e.f`<slot
1
+ const e=require(`./vivid-element.cjs`),t=require(`./slotted.cjs`),n=require(`./decorate.cjs`);var r=t=>{class r extends t{anchorChanged(){this.#e()}_slottedAnchorChanged(){let t=!!(this._slottedAnchor&&this._slottedAnchor.length>0);e.P.setBooleanAttribute(this,`slotted-anchor`,t),this.#e()}#e=()=>{if(!this.isConnected){this._anchorEl=void 0;return}this.#r();let e;this._slottedAnchor&&this._slottedAnchor.length>0?e=this._slottedAnchor[0]:this.anchor instanceof HTMLElement?e=this.anchor:typeof this.anchor==`string`&&(e=document.getElementById(this.anchor)??void 0,e||this.#n(this.anchor)),this._anchorEl=e};#t;#n=e=>{this.#t=new MutationObserver(()=>{let t=document.getElementById(e);t&&(this._anchorEl=t,this.#r())}),this.#t.observe(document.body,{childList:!0,subtree:!0})};#r=()=>{this.#t?.disconnect(),this.#t=void 0};connectedCallback(){super.connectedCallback(),this.#e()}disconnectedCallback(){super.disconnectedCallback(),this.#r(),this._anchorEl=void 0}}return n.t([e.m],r.prototype,`anchor`,void 0),n.t([e.A],r.prototype,`_slottedAnchor`,void 0),n.t([e.A],r.prototype,`_anchorEl`,void 0),r},i=()=>e.p`<slot
2
2
  name="anchor"
3
3
  ${t.t(`_slottedAnchor`)}
4
4
  ></slot>`;Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -1,15 +1,15 @@
1
- import { D as e, f as t, j as n, u as r } from "./vivid-element.js";
1
+ import { A as e, P as t, m as n, p as r } from "./vivid-element.js";
2
2
  import { t as i } from "./slotted.js";
3
3
  import { t as a } from "./decorate.js";
4
4
  //#region src/shared/patterns/anchored.ts
5
- var o = (t) => {
6
- class i extends t {
5
+ var o = (r) => {
6
+ class i extends r {
7
7
  anchorChanged() {
8
8
  this.#e();
9
9
  }
10
10
  _slottedAnchorChanged() {
11
11
  let e = !!(this._slottedAnchor && this._slottedAnchor.length > 0);
12
- n.setBooleanAttribute(this, "slotted-anchor", e), this.#e();
12
+ t.setBooleanAttribute(this, "slotted-anchor", e), this.#e();
13
13
  }
14
14
  #e = () => {
15
15
  if (!this.isConnected) {
@@ -40,8 +40,8 @@ var o = (t) => {
40
40
  super.disconnectedCallback(), this.#r(), this._anchorEl = void 0;
41
41
  }
42
42
  }
43
- return a([r], i.prototype, "anchor", void 0), a([e], i.prototype, "_slottedAnchor", void 0), a([e], i.prototype, "_anchorEl", void 0), i;
44
- }, s = () => t`<slot
43
+ return a([n], i.prototype, "anchor", void 0), a([e], i.prototype, "_slottedAnchor", void 0), a([e], i.prototype, "_anchorEl", void 0), i;
44
+ }, s = () => r`<slot
45
45
  name="anchor"
46
46
  ${i("_slottedAnchor")}
47
47
  ></slot>`;
@@ -1 +1 @@
1
- const e=require(`./vivid-element.cjs`);var t=0;function n(e=``){return`${e}${t++}`}var r=(t,n,r)=>e.j.setAttribute(t,e.r(n),r===!1?null:r),i=class extends e._{get propertyBindingBehaviours(){return this._propertyBindingBehaviours||=Object.entries(this.options.boundProperties).map(([t,r])=>{let i=new e.p(e.C(r instanceof Function?r:()=>r));return i.id=n(),i.targetNodeId=this.targetNodeId,i.policy=this.policy,e.g.assignAspect(i,e.r(t)),i.createBehavior()}),this._propertyBindingBehaviours}bind(t){let n=t.source,i=t.targets[this.targetNodeId];if(this.options.requireHost&&i!==n)throw Error(`Target element must be the same as the source element`);for(let e of this.propertyBindingBehaviours)e.bind(t);for(let e of this.options.forwardedProperties)r(i,e,n[e]);let a=(e,t)=>{this.options.forwardedProperties.has(t)&&r(i,t,e[t])};e.a(n,a),t.onUnbind({unbind:()=>e.o(n,a)})}};e.g.define(i),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
1
+ const e=require(`./vivid-element.cjs`);var t=0;function n(e=``){return`${e}${t++}`}var r=e=>e.trim()?e.trim().split(/\s+/):[],i=new WeakMap,a=class t{static resolvedElements(e,t){return i.get(e)?.get(t)?.getResolvedElements()??null}static for(e,n){let r=i.get(e);r||(r=new Map,i.set(e,r));let a=r.get(n);return a||(a=new t(e,n),r.set(n,a)),a}constructor(e,t){this.host=e,this.propertyName=t,e._addController(this)}#e=!1;hostConnected(){this.#e=!0,this.#r()}hostDisconnected(){this.#e=!1,this.#r()}getAttribute(){return this.host[`_${this.propertyName}`]}setAttribute(t){this.host[`_${this.propertyName}`]=t,e.o(this.host,this.propertyName),this.#r()}#t=null;#n(t){this.#t=t,e.s(this.host,this.propertyName)}getResolvedElements(){return!this.host.isConnected&&this.#t?[]:this.#t}setElements(e){this.setAttribute(e===null?null:``),this.#n(e)}#r(){if(this.#c(),!(this.#e&&this.host.isConnected))return;let e=this.getAttribute();if(e){let t=r(e);if(t.length===0){this.#n([]);return}let n=this.#a(t);this.#n(n),n.length<t.length&&this.#s(t)}}#i(e){return this.host.getRootNode().getElementById(e)}#a(e){return e.map(e=>this.#i(e)).filter(e=>e!==null)}#o;#s(e){this.#o=new MutationObserver(()=>{let t=this.#a(e);this.#n(t),t.length===e.length&&this.#c()}),this.#o.observe(this.host.getRootNode(),{childList:!0,subtree:!0})}#c(){this.#o?.disconnect(),this.#o=void 0}},o=(t,n,r)=>e.P.setAttribute(t,e.r(n),r===!1?null:r),s=class extends e.S{get propertyBindingBehaviours(){return this._propertyBindingBehaviours||=Object.entries(this.options.boundProperties).map(([t,r])=>{let i=new e.g(e.E(r instanceof Function?r:()=>r));return i.id=n(),i.targetNodeId=this.targetNodeId,i.policy=this.policy,e.x.assignAspect(i,e.r(t)),i.createBehavior()}),this._propertyBindingBehaviours}bind(t){let n=t.source,r=t.targets[this.targetNodeId];if(this.options.requireHost&&r!==n)throw Error(`Target element must be the same as the source element`);for(let e of this.propertyBindingBehaviours)e.bind(t);for(let e of this.options.forwardedValueProperties)o(r,e,n[e]);let i=e=>{r[`${e}Elements`]=a.resolvedElements(n,e)};for(let e of this.options.forwardedIdrefsProperties)i(e);let s=(e,t)=>{this.options.forwardedValueProperties.has(t)&&o(r,t,e[t]),this.options.forwardedIdrefsProperties.has(t)&&i(t)};e.c(n,s),t.onUnbind({unbind:()=>e.l(n,s)})}};e.x.define(s),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return s}});
@@ -1,29 +1,101 @@
1
- import { C as e, _ as t, a as n, g as r, j as i, o as a, p as o, r as s } from "./vivid-element.js";
1
+ import { E as e, P as t, S as n, c as r, g as i, l as a, o, r as s, s as c, x as l } from "./vivid-element.js";
2
2
  //#region ../../node_modules/.pnpm/@microsoft+fast-web-utilities@6.0.0/node_modules/@microsoft/fast-web-utilities/dist/strings.js
3
- var c = 0;
4
- function l(e = "") {
5
- return `${e}${c++}`;
3
+ var u = 0;
4
+ function d(e = "") {
5
+ return `${e}${u++}`;
6
6
  }
7
7
  //#endregion
8
- //#region src/shared/aria/aria-binding-directive.ts
9
- var u = (e, t, n) => i.setAttribute(e, s(t), n === !1 ? null : n), d = class extends t {
8
+ //#region src/shared/aria/idrefs-controller.ts
9
+ var f = (e) => e.trim() ? e.trim().split(/\s+/) : [], p = /* @__PURE__ */ new WeakMap(), m = class e {
10
+ static resolvedElements(e, t) {
11
+ return p.get(e)?.get(t)?.getResolvedElements() ?? null;
12
+ }
13
+ static for(t, n) {
14
+ let r = p.get(t);
15
+ r || (r = /* @__PURE__ */ new Map(), p.set(t, r));
16
+ let i = r.get(n);
17
+ return i || (i = new e(t, n), r.set(n, i)), i;
18
+ }
19
+ constructor(e, t) {
20
+ this.host = e, this.propertyName = t, e._addController(this);
21
+ }
22
+ #e = !1;
23
+ hostConnected() {
24
+ this.#e = !0, this.#r();
25
+ }
26
+ hostDisconnected() {
27
+ this.#e = !1, this.#r();
28
+ }
29
+ getAttribute() {
30
+ return this.host[`_${this.propertyName}`];
31
+ }
32
+ setAttribute(e) {
33
+ this.host[`_${this.propertyName}`] = e, o(this.host, this.propertyName), this.#r();
34
+ }
35
+ #t = null;
36
+ #n(e) {
37
+ this.#t = e, c(this.host, this.propertyName);
38
+ }
39
+ getResolvedElements() {
40
+ return !this.host.isConnected && this.#t ? [] : this.#t;
41
+ }
42
+ setElements(e) {
43
+ this.setAttribute(e === null ? null : ""), this.#n(e);
44
+ }
45
+ #r() {
46
+ if (this.#c(), !(this.#e && this.host.isConnected)) return;
47
+ let e = this.getAttribute();
48
+ if (e) {
49
+ let t = f(e);
50
+ if (t.length === 0) {
51
+ this.#n([]);
52
+ return;
53
+ }
54
+ let n = this.#a(t);
55
+ this.#n(n), n.length < t.length && this.#s(t);
56
+ }
57
+ }
58
+ #i(e) {
59
+ return this.host.getRootNode().getElementById(e);
60
+ }
61
+ #a(e) {
62
+ return e.map((e) => this.#i(e)).filter((e) => e !== null);
63
+ }
64
+ #o;
65
+ #s(e) {
66
+ this.#o = new MutationObserver(() => {
67
+ let t = this.#a(e);
68
+ this.#n(t), t.length === e.length && this.#c();
69
+ }), this.#o.observe(this.host.getRootNode(), {
70
+ childList: !0,
71
+ subtree: !0
72
+ });
73
+ }
74
+ #c() {
75
+ this.#o?.disconnect(), this.#o = void 0;
76
+ }
77
+ }, h = (e, n, r) => t.setAttribute(e, s(n), r === !1 ? null : r), g = class extends n {
10
78
  get propertyBindingBehaviours() {
11
79
  return this._propertyBindingBehaviours ||= Object.entries(this.options.boundProperties).map(([t, n]) => {
12
- let i = new o(e(n instanceof Function ? n : () => n));
13
- return i.id = l(), i.targetNodeId = this.targetNodeId, i.policy = this.policy, r.assignAspect(i, s(t)), i.createBehavior();
80
+ let r = new i(e(n instanceof Function ? n : () => n));
81
+ return r.id = d(), r.targetNodeId = this.targetNodeId, r.policy = this.policy, l.assignAspect(r, s(t)), r.createBehavior();
14
82
  }), this._propertyBindingBehaviours;
15
83
  }
16
84
  bind(e) {
17
- let t = e.source, r = e.targets[this.targetNodeId];
18
- if (this.options.requireHost && r !== t) throw Error("Target element must be the same as the source element");
85
+ let t = e.source, n = e.targets[this.targetNodeId];
86
+ if (this.options.requireHost && n !== t) throw Error("Target element must be the same as the source element");
19
87
  for (let t of this.propertyBindingBehaviours) t.bind(e);
20
- for (let e of this.options.forwardedProperties) u(r, e, t[e]);
21
- let i = (e, t) => {
22
- this.options.forwardedProperties.has(t) && u(r, t, e[t]);
88
+ for (let e of this.options.forwardedValueProperties) h(n, e, t[e]);
89
+ let i = (e) => {
90
+ n[`${e}Elements`] = m.resolvedElements(t, e);
91
+ };
92
+ for (let e of this.options.forwardedIdrefsProperties) i(e);
93
+ let o = (e, t) => {
94
+ this.options.forwardedValueProperties.has(t) && h(n, t, e[t]), this.options.forwardedIdrefsProperties.has(t) && i(t);
23
95
  };
24
- n(t, i), e.onUnbind({ unbind: () => a(t, i) });
96
+ r(t, o), e.onUnbind({ unbind: () => a(t, o) });
25
97
  }
26
98
  };
27
- r.define(d);
99
+ l.define(g);
28
100
  //#endregion
29
- export { l as n, d as t };
101
+ export { m as n, d as r, g as t };
@@ -1,4 +1,4 @@
1
- const e=require(`./localized.cjs`),t=require(`./vivid-element.cjs`),n=require(`./when.cjs`),r=require(`./decorate.cjs`),i=require(`./form-element.cjs`),a=require(`./class-names.cjs`),o=require(`./form-associated.cjs`);function s(e){if(!e)return null;let t=e.trim().replace(/^#/,``);return/^[0-9a-fA-F]{3}$/.test(t)?t.split(``).map(e=>e+e).join(``).toLowerCase():/^[0-9a-fA-F]{6}$/.test(t)?t.toLowerCase():null}function c(e){return s(e)!==null}function l(e){let t=s(e);if(!t)return 0;let n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,c=i<=.03928?i/12.92:((i+.055)/1.055)**2.4;return .2126*a+.7152*o+.0722*c}function u(e,t){let n=l(e),r=l(t),i=Math.max(n,r),a=Math.min(n,r);return(i+.05)/(a+.05)}function d(e,t){return t||=document.querySelector(`.vvd-root`)||document.documentElement,getComputedStyle(t).getPropertyValue(e).trim()}var f=s=>{class c extends e.t(i.t(o.n(s))){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.open=!1,this.swatches=[],this._canvasColor=``}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{this._refreshCanvasColor()})}get _computedCanvasColor(){return this._canvasColor||=d(`--vvd-color-canvas`,this),this._canvasColor}_refreshCanvasColor(){this._canvasColor=d(`--vvd-color-canvas`,this)}_applyContrastClass(e,t=3){if(!e)return!1;let n=this._computedCanvasColor;return n?u(e,n)<t:!1}_getRowLength(){return 7}_handleSwatchSelection(e){this.value===e?this.value=``:this.value=e,this.$emit(`change`),this.open=!1}_handleColorSaving(){}_getFocusReturnEl(){return null}_returnFocusToAnchor(){let e=this._getFocusReturnEl();e&&t.A.enqueue(()=>e.focus())}_getGridCells(){let e=this.shadowRoot?.querySelector(`[role="grid"]`);return e?Array.from(e.querySelectorAll(`[role="gridcell"], [data-vvd-role="gridcell"]`)):[]}_handleCellKeydown(e,t,n,r){let i=this._getRowLength(),a=this._getGridCells().length,o=Math.floor(n/i),s=n%i,c=Math.ceil(a/i);switch(e.key){case`ArrowRight`:return s<i-1&&n+1<a&&this._focusSwatchByIndex(n+1),!1;case`ArrowLeft`:return s>0&&this._focusSwatchByIndex(n-1),!1;case`ArrowDown`:return o<c-1&&n+i<a&&this._focusSwatchByIndex(n+i),!1;case`ArrowUp`:return o>0&&this._focusSwatchByIndex(n-i),!1;case`PageDown`:{let e=(c-1)*i,t=Math.min(e+s,a-1);return n!==t&&this._focusSwatchByIndex(t),!1}case`PageUp`:{let e=Math.min(s,a-1);return n!==e&&this._focusSwatchByIndex(e),!1}case`Home`:return e.ctrlKey?this._focusSwatchByIndex(0):this._focusSwatchByIndex(o*i),!1;case`End`:if(e.ctrlKey)this._focusSwatchByIndex(a-1);else{let e=Math.min((o+1)*i-1,a-1);this._focusSwatchByIndex(e)}return!1;case`Enter`:case` `:return r&&this._handleColorSaving(),t&&!r&&(this._handleSwatchSelection(t),this._returnFocusToAnchor()),!1;case`Escape`:return this.open=!1,this._returnFocusToAnchor(),!1;case`Tab`:return this.open=!1,!0;default:return!0}}_focusSwatchByIndex(e){let t=this._getGridCells();e<0||e>=t.length||t[e]?.focus()}_renderColorSwatch(e,r){return t.f`
1
+ const e=require(`./localized.cjs`),t=require(`./vivid-element.cjs`),n=require(`./when.cjs`),r=require(`./decorate.cjs`),i=require(`./form-element.cjs`),a=require(`./class-names.cjs`),o=require(`./form-associated.cjs`);function s(e){if(!e)return null;let t=e.trim().replace(/^#/,``);return/^[0-9a-fA-F]{3}$/.test(t)?t.split(``).map(e=>e+e).join(``).toLowerCase():/^[0-9a-fA-F]{6}$/.test(t)?t.toLowerCase():null}function c(e){return s(e)!==null}function l(e){let t=s(e);if(!t)return 0;let n=parseInt(t.slice(0,2),16)/255,r=parseInt(t.slice(2,4),16)/255,i=parseInt(t.slice(4,6),16)/255,a=n<=.03928?n/12.92:((n+.055)/1.055)**2.4,o=r<=.03928?r/12.92:((r+.055)/1.055)**2.4,c=i<=.03928?i/12.92:((i+.055)/1.055)**2.4;return .2126*a+.7152*o+.0722*c}function u(e,t){let n=l(e),r=l(t),i=Math.max(n,r),a=Math.min(n,r);return(i+.05)/(a+.05)}function d(e,t){return t||=document.querySelector(`.vvd-root`)||document.documentElement,getComputedStyle(t).getPropertyValue(e).trim()}var f=s=>{class c extends e.t(i.t(o.n(s))){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.open=!1,this.swatches=[],this._canvasColor=``}connectedCallback(){super.connectedCallback(),requestAnimationFrame(()=>{this._refreshCanvasColor()})}get _computedCanvasColor(){return this._canvasColor||=d(`--vvd-color-canvas`,this),this._canvasColor}_refreshCanvasColor(){this._canvasColor=d(`--vvd-color-canvas`,this)}_applyContrastClass(e,t=3){if(!e)return!1;let n=this._computedCanvasColor;return n?u(e,n)<t:!1}_getRowLength(){return 7}_handleSwatchSelection(e){this.value===e?this.value=``:this.value=e,this.$emit(`change`),this.open=!1}_handleColorSaving(){}_getFocusReturnEl(){return null}_returnFocusToAnchor(){let e=this._getFocusReturnEl();e&&t.M.enqueue(()=>e.focus())}_getGridCells(){let e=this.shadowRoot?.querySelector(`[role="grid"]`);return e?Array.from(e.querySelectorAll(`[role="gridcell"], [data-vvd-role="gridcell"]`)):[]}_handleCellKeydown(e,t,n,r){let i=this._getRowLength(),a=this._getGridCells().length,o=Math.floor(n/i),s=n%i,c=Math.ceil(a/i);switch(e.key){case`ArrowRight`:return s<i-1&&n+1<a&&this._focusSwatchByIndex(n+1),!1;case`ArrowLeft`:return s>0&&this._focusSwatchByIndex(n-1),!1;case`ArrowDown`:return o<c-1&&n+i<a&&this._focusSwatchByIndex(n+i),!1;case`ArrowUp`:return o>0&&this._focusSwatchByIndex(n-i),!1;case`PageDown`:{let e=(c-1)*i,t=Math.min(e+s,a-1);return n!==t&&this._focusSwatchByIndex(t),!1}case`PageUp`:{let e=Math.min(s,a-1);return n!==e&&this._focusSwatchByIndex(e),!1}case`Home`:return e.ctrlKey?this._focusSwatchByIndex(0):this._focusSwatchByIndex(o*i),!1;case`End`:if(e.ctrlKey)this._focusSwatchByIndex(a-1);else{let e=Math.min((o+1)*i-1,a-1);this._focusSwatchByIndex(e)}return!1;case`Enter`:case` `:return r&&this._handleColorSaving(),t&&!r&&(this._handleSwatchSelection(t),this._returnFocusToAnchor()),!1;case`Escape`:return this.open=!1,this._returnFocusToAnchor(),!1;case`Tab`:return this.open=!1,!0;default:return!0}}_focusSwatchByIndex(e){let t=this._getGridCells();e<0||e>=t.length||t[e]?.focus()}_renderColorSwatch(e,r){return t.p`
2
2
  <${r} placement="top"
3
3
  text="${e=>e.label??e.value}"
4
4
  exportparts="vvd-theme-alternate">
@@ -12,7 +12,7 @@ const e=require(`./localized.cjs`),t=require(`./vivid-element.cjs`),n=require(`.
12
12
  @click="${(e,t)=>t.parent._handleSwatchSelection(e.value)}"
13
13
  @keydown="${(e,t)=>t.parent._handleCellKeydown(t.event,e.value,t.index)}"
14
14
  >
15
- ${n.t((e,t)=>t.parent.value===e.value,t.f`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
15
+ ${n.t((e,t)=>t.parent.value===e.value,t.p`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
16
16
  </button>
17
17
  </${r}>
18
- `}}return r.t([t.u({mode:`boolean`})],c.prototype,`open`,void 0),r.t([t.D],c.prototype,`swatches`,void 0),r.t([t.D],c.prototype,`_canvasColor`,void 0),c};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
18
+ `}}return r.t([t.m({mode:`boolean`})],c.prototype,`open`,void 0),r.t([t.A],c.prototype,`swatches`,void 0),r.t([t.A],c.prototype,`_canvasColor`,void 0),c};Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./localized.js";
2
- import { A as t, D as n, f as r, u as i } from "./vivid-element.js";
2
+ import { A as t, M as n, m as r, p as i } from "./vivid-element.js";
3
3
  import { t as a } from "./when.js";
4
4
  import { t as o } from "./decorate.js";
5
5
  import { t as s } from "./form-element.js";
@@ -63,7 +63,7 @@ var h = (u) => {
63
63
  }
64
64
  _returnFocusToAnchor() {
65
65
  let e = this._getFocusReturnEl();
66
- e && t.enqueue(() => e.focus());
66
+ e && n.enqueue(() => e.focus());
67
67
  }
68
68
  _getGridCells() {
69
69
  let e = this.shadowRoot?.querySelector("[role=\"grid\"]");
@@ -104,7 +104,7 @@ var h = (u) => {
104
104
  e < 0 || e >= t.length || t[e]?.focus();
105
105
  }
106
106
  _renderColorSwatch(e, t) {
107
- return r`
107
+ return i`
108
108
  <${t} placement="top"
109
109
  text="${(e) => e.label ?? e.value}"
110
110
  exportparts="vvd-theme-alternate">
@@ -118,13 +118,13 @@ var h = (u) => {
118
118
  @click="${(e, t) => t.parent._handleSwatchSelection(e.value)}"
119
119
  @keydown="${(e, t) => t.parent._handleCellKeydown(t.event, e.value, t.index)}"
120
120
  >
121
- ${a((e, t) => t.parent.value === e.value, r`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
121
+ ${a((e, t) => t.parent.value === e.value, i`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
122
122
  </button>
123
123
  </${t}>
124
124
  `;
125
125
  }
126
126
  }
127
- return o([i({ mode: "boolean" })], d.prototype, "open", void 0), o([n], d.prototype, "swatches", void 0), o([n], d.prototype, "_canvasColor", void 0), d;
127
+ return o([r({ mode: "boolean" })], d.prototype, "open", void 0), o([t], d.prototype, "swatches", void 0), o([t], d.prototype, "_canvasColor", void 0), d;
128
128
  };
129
129
  //#endregion
130
130
  export { d as n, h as t };
@@ -1 +1 @@
1
- const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`);var n=class extends e.t{constructor(...e){super(...e),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){let e=typeof this.min==`number`?this.min:0,t=typeof this.max==`number`?this.max:100,n=typeof this.value==`number`?this.value:0,r=t-e;this.percentComplete=r===0?0:Math.fround((n-e)/r*100)}};t.t([e.u({converter:e.d})],n.prototype,`value`,void 0),t.t([e.u({converter:e.d})],n.prototype,`min`,void 0),t.t([e.u({converter:e.d})],n.prototype,`max`,void 0),t.t([e.u({mode:`boolean`})],n.prototype,`paused`,void 0),t.t([e.D],n.prototype,`percentComplete`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
1
+ const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`);var n=class extends e.t{constructor(...e){super(...e),this.percentComplete=0}valueChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}minChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}maxChanged(){this.$fastController.isConnected&&this.updatePercentComplete()}connectedCallback(){super.connectedCallback(),this.updatePercentComplete()}updatePercentComplete(){let e=typeof this.min==`number`?this.min:0,t=typeof this.max==`number`?this.max:100,n=typeof this.value==`number`?this.value:0,r=t-e;this.percentComplete=r===0?0:Math.fround((n-e)/r*100)}};t.t([e.m({converter:e.h})],n.prototype,`value`,void 0),t.t([e.m({converter:e.h})],n.prototype,`min`,void 0),t.t([e.m({converter:e.h})],n.prototype,`max`,void 0),t.t([e.m({mode:`boolean`})],n.prototype,`paused`,void 0),t.t([e.A],n.prototype,`percentComplete`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
@@ -1,7 +1,7 @@
1
- import { D as e, d as t, t as n, u as r } from "./vivid-element.js";
1
+ import { A as e, h as t, m as n, t as r } from "./vivid-element.js";
2
2
  import { t as i } from "./decorate.js";
3
3
  //#region src/shared/foundation/progress/base-progress.ts
4
- var a = class extends n {
4
+ var a = class extends r {
5
5
  constructor(...e) {
6
6
  super(...e), this.percentComplete = 0;
7
7
  }
@@ -25,6 +25,6 @@ var a = class extends n {
25
25
  this.percentComplete = r === 0 ? 0 : Math.fround((n - e) / r * 100);
26
26
  }
27
27
  };
28
- i([r({ converter: t })], a.prototype, "value", void 0), i([r({ converter: t })], a.prototype, "min", void 0), i([r({ converter: t })], a.prototype, "max", void 0), i([r({ mode: "boolean" })], a.prototype, "paused", void 0), i([e], a.prototype, "percentComplete", void 0);
28
+ i([n({ converter: t })], a.prototype, "value", void 0), i([n({ converter: t })], a.prototype, "min", void 0), i([n({ converter: t })], a.prototype, "max", void 0), i([n({ mode: "boolean" })], a.prototype, "paused", void 0), i([e], a.prototype, "percentComplete", void 0);
29
29
  //#endregion
30
30
  export { a as t };
@@ -1 +1 @@
1
- const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./linkable.cjs`);var r=class extends n.t(e.t){constructor(...e){super(...e),this.separator=!0}};t.t([e.u],r.prototype,`text`,void 0),t.t([e.D],r.prototype,`separator`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
1
+ const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./linkable.cjs`);var r=class extends n.t(e.t){constructor(...e){super(...e),this.separator=!0}};t.t([e.m],r.prototype,`text`,void 0),t.t([e.A],r.prototype,`separator`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -1,12 +1,12 @@
1
- import { D as e, t, u as n } from "./vivid-element.js";
1
+ import { A as e, m as t, t as n } from "./vivid-element.js";
2
2
  import { t as r } from "./decorate.js";
3
3
  import { t as i } from "./linkable.js";
4
4
  //#region src/lib/breadcrumb-item/breadcrumb-item.ts
5
- var a = class extends i(t) {
5
+ var a = class extends i(n) {
6
6
  constructor(...e) {
7
7
  super(...e), this.separator = !0;
8
8
  }
9
9
  };
10
- r([n], a.prototype, "text", void 0), r([e], a.prototype, "separator", void 0);
10
+ r([t], a.prototype, "text", void 0), r([e], a.prototype, "separator", void 0);
11
11
  //#endregion
12
12
  export { a as t };
@@ -1 +1 @@
1
- const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`),r=require(`./form-associated.cjs`);var i=class extends n.t(r.n(e.t)){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.handleClick=e=>{this.disabled&&e.stopPropagation()},this.handleSubmission=()=>{this.form&&(this.attachProxy(),this.form.requestSubmit(this.proxy),this.detachProxy())},this.handleFormReset=()=>{this.form?.reset()},this.handleUnsupportedDelegatesFocus=()=>{this.$fastController.definition.shadowOptions&&window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty(`delegatesFocus`)&&this.$fastController.definition.shadowOptions.delegatesFocus&&Object.defineProperty(this,`focus`,{value:()=>{this.control.focus()},configurable:!0})}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===`submit`&&this.addEventListener(`click`,this.handleSubmission),e===`submit`&&this.removeEventListener(`click`,this.handleSubmission),t===`reset`&&this.addEventListener(`click`,this.handleFormReset),e===`reset`&&this.removeEventListener(`click`,this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute(`type`,this.type),this.handleUnsupportedDelegatesFocus(),this.autofocus&&e.A.enqueue(()=>{this.focus()}),(this.control?Array.from(this.control.children):[]).forEach(e=>{e.addEventListener(`click`,this.handleClick)})}disconnectedCallback(){super.disconnectedCallback(),(this.control?Array.from(this.control.children):[]).forEach(e=>{e.removeEventListener(`click`,this.handleClick)})}};t.t([e.u({mode:`boolean`})],i.prototype,`autofocus`,void 0),t.t([e.u({attribute:`form`})],i.prototype,`formId`,void 0),t.t([e.u],i.prototype,`formaction`,void 0),t.t([e.u],i.prototype,`formenctype`,void 0),t.t([e.u],i.prototype,`formmethod`,void 0),t.t([e.u({mode:`boolean`})],i.prototype,`formnovalidate`,void 0),t.t([e.u],i.prototype,`formtarget`,void 0),t.t([e.u],i.prototype,`type`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
1
+ const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`),r=require(`./form-associated.cjs`);var i=class extends n.t(r.n(e.t)){constructor(...e){super(...e),this.proxy=document.createElement(`input`),this.handleClick=e=>{this.disabled&&e.stopPropagation()},this.handleSubmission=()=>{this.form&&(this.attachProxy(),this.form.requestSubmit(this.proxy),this.detachProxy())},this.handleFormReset=()=>{this.form?.reset()},this.handleUnsupportedDelegatesFocus=()=>{this.$fastController.definition.shadowOptions&&window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty(`delegatesFocus`)&&this.$fastController.definition.shadowOptions.delegatesFocus&&Object.defineProperty(this,`focus`,{value:()=>{this.control.focus()},configurable:!0})}}formactionChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formAction=this.formaction)}formenctypeChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formEnctype=this.formenctype)}formmethodChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formMethod=this.formmethod)}formnovalidateChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formNoValidate=this.formnovalidate)}formtargetChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.formTarget=this.formtarget)}typeChanged(e,t){this.proxy instanceof HTMLInputElement&&(this.proxy.type=this.type),t===`submit`&&this.addEventListener(`click`,this.handleSubmission),e===`submit`&&this.removeEventListener(`click`,this.handleSubmission),t===`reset`&&this.addEventListener(`click`,this.handleFormReset),e===`reset`&&this.removeEventListener(`click`,this.handleFormReset)}validate(){super.validate(this.control)}connectedCallback(){super.connectedCallback(),this.proxy.setAttribute(`type`,this.type),this.handleUnsupportedDelegatesFocus(),this.autofocus&&e.M.enqueue(()=>{this.focus()}),(this.control?Array.from(this.control.children):[]).forEach(e=>{e.addEventListener(`click`,this.handleClick)})}disconnectedCallback(){super.disconnectedCallback(),(this.control?Array.from(this.control.children):[]).forEach(e=>{e.removeEventListener(`click`,this.handleClick)})}};t.t([e.m({mode:`boolean`})],i.prototype,`autofocus`,void 0),t.t([e.m({attribute:`form`})],i.prototype,`formId`,void 0),t.t([e.m],i.prototype,`formaction`,void 0),t.t([e.m],i.prototype,`formenctype`,void 0),t.t([e.m],i.prototype,`formmethod`,void 0),t.t([e.m({mode:`boolean`})],i.prototype,`formnovalidate`,void 0),t.t([e.m],i.prototype,`formtarget`,void 0),t.t([e.m],i.prototype,`type`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
package/bundled/button.js CHANGED
@@ -1,9 +1,9 @@
1
- import { A as e, t, u as n } from "./vivid-element.js";
1
+ import { M as e, m as t, t as n } from "./vivid-element.js";
2
2
  import { t as r } from "./decorate.js";
3
3
  import { t as i } from "./delegates-aria.js";
4
4
  import { n as a } from "./form-associated.js";
5
5
  //#region src/shared/foundation/button/button.ts
6
- var o = class extends i(a(t)) {
6
+ var o = class extends i(a(n)) {
7
7
  constructor(...e) {
8
8
  super(...e), this.proxy = document.createElement("input"), this.handleClick = (e) => {
9
9
  /* v8 ignore else -- @preserve */
@@ -61,6 +61,6 @@ var o = class extends i(a(t)) {
61
61
  });
62
62
  }
63
63
  };
64
- r([n({ mode: "boolean" })], o.prototype, "autofocus", void 0), r([n({ attribute: "form" })], o.prototype, "formId", void 0), r([n], o.prototype, "formaction", void 0), r([n], o.prototype, "formenctype", void 0), r([n], o.prototype, "formmethod", void 0), r([n({ mode: "boolean" })], o.prototype, "formnovalidate", void 0), r([n], o.prototype, "formtarget", void 0), r([n], o.prototype, "type", void 0);
64
+ r([t({ mode: "boolean" })], o.prototype, "autofocus", void 0), r([t({ attribute: "form" })], o.prototype, "formId", void 0), r([t], o.prototype, "formaction", void 0), r([t], o.prototype, "formenctype", void 0), r([t], o.prototype, "formmethod", void 0), r([t({ mode: "boolean" })], o.prototype, "formnovalidate", void 0), r([t], o.prototype, "formtarget", void 0), r([t], o.prototype, "type", void 0);
65
65
  //#endregion
66
66
  export { o as t };
@@ -1 +1 @@
1
- const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`);var r=class extends n.t(e.t){};t.t([e.u],r.prototype,`heading`,void 0),t.t([e.u],r.prototype,`description`,void 0),t.t([e.u],r.prototype,`connotation`,void 0),t.t([e.u],r.prototype,`appearance`,void 0),t.t([e.u({converter:e.d,attribute:`overlap-count`})],r.prototype,`overlapCount`,void 0),t.t([e.u({converter:e.d})],r.prototype,`start`,void 0),t.t([e.u({converter:e.d})],r.prototype,`duration`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
1
+ const e=require(`./vivid-element.cjs`),t=require(`./decorate.cjs`),n=require(`./delegates-aria.cjs`);var r=class extends n.t(e.t){};t.t([e.m],r.prototype,`heading`,void 0),t.t([e.m],r.prototype,`description`,void 0),t.t([e.m],r.prototype,`connotation`,void 0),t.t([e.m],r.prototype,`appearance`,void 0),t.t([e.m({converter:e.h,attribute:`overlap-count`})],r.prototype,`overlapCount`,void 0),t.t([e.m({converter:e.h})],r.prototype,`start`,void 0),t.t([e.m({converter:e.h})],r.prototype,`duration`,void 0),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -1,11 +1,11 @@
1
- import { d as e, t, u as n } from "./vivid-element.js";
1
+ import { h as e, m as t, t as n } from "./vivid-element.js";
2
2
  import { t as r } from "./decorate.js";
3
3
  import { t as i } from "./delegates-aria.js";
4
4
  //#region src/lib/calendar-event/calendar-event.ts
5
- var a = class extends i(t) {};
6
- r([n], a.prototype, "heading", void 0), r([n], a.prototype, "description", void 0), r([n], a.prototype, "connotation", void 0), r([n], a.prototype, "appearance", void 0), r([n({
5
+ var a = class extends i(n) {};
6
+ r([t], a.prototype, "heading", void 0), r([t], a.prototype, "description", void 0), r([t], a.prototype, "connotation", void 0), r([t], a.prototype, "appearance", void 0), r([t({
7
7
  converter: e,
8
8
  attribute: "overlap-count"
9
- })], a.prototype, "overlapCount", void 0), r([n({ converter: e })], a.prototype, "start", void 0), r([n({ converter: e })], a.prototype, "duration", void 0);
9
+ })], a.prototype, "overlapCount", void 0), r([t({ converter: e })], a.prototype, "start", void 0), r([t({ converter: e })], a.prototype, "duration", void 0);
10
10
  //#endregion
11
11
  export { a as t };