@vonage/vivid 5.18.0 → 5.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (559) hide show
  1. package/accordion/definition.cjs +0 -1
  2. package/accordion/definition.js +0 -1
  3. package/accordion/index.cjs +2 -2
  4. package/accordion/index.js +3 -4
  5. package/accordion-item/definition.cjs +0 -1
  6. package/accordion-item/definition.js +0 -1
  7. package/accordion-item/index.cjs +1 -1
  8. package/accordion-item/index.js +0 -2
  9. package/action-group/index.cjs +4 -4
  10. package/action-group/index.js +7 -7
  11. package/alert/definition.cjs +0 -1
  12. package/alert/definition.js +0 -1
  13. package/alert/index.cjs +5 -5
  14. package/alert/index.js +20 -21
  15. package/audio-player/definition.cjs +0 -1
  16. package/audio-player/definition.js +0 -1
  17. package/audio-player/index.cjs +13 -13
  18. package/audio-player/index.js +76 -77
  19. package/avatar/definition.cjs +0 -1
  20. package/avatar/definition.js +0 -1
  21. package/avatar/index.cjs +8 -8
  22. package/avatar/index.js +20 -21
  23. package/badge/definition.cjs +0 -1
  24. package/badge/definition.js +0 -1
  25. package/badge/index.cjs +1 -1
  26. package/badge/index.js +0 -2
  27. package/banner/definition.cjs +0 -1
  28. package/banner/definition.js +0 -1
  29. package/banner/index.cjs +4 -4
  30. package/banner/index.js +17 -18
  31. package/breadcrumb/index.cjs +2 -2
  32. package/breadcrumb/index.js +3 -3
  33. package/breadcrumb-item/definition.cjs +0 -1
  34. package/breadcrumb-item/definition.js +0 -1
  35. package/breadcrumb-item/index.cjs +5 -5
  36. package/breadcrumb-item/index.js +7 -8
  37. package/bundled/affix.cjs +2 -2
  38. package/bundled/affix.js +1 -1
  39. package/bundled/anchored.cjs +1 -1
  40. package/bundled/anchored.js +1 -1
  41. package/bundled/aria-binding-directive.cjs +1 -0
  42. package/bundled/aria-binding-directive.js +29 -0
  43. package/bundled/base-color-picker.cjs +3 -3
  44. package/bundled/base-color-picker.js +1 -1
  45. package/bundled/base-progress.cjs +1 -1
  46. package/bundled/base-progress.js +2 -2
  47. package/bundled/breadcrumb-item.cjs +1 -1
  48. package/bundled/breadcrumb-item.js +3 -3
  49. package/bundled/button.cjs +1 -1
  50. package/bundled/button.js +3 -3
  51. package/bundled/calendar-event.cjs +1 -1
  52. package/bundled/calendar-event.js +4 -4
  53. package/bundled/calendar-picker.template.cjs +20 -20
  54. package/bundled/calendar-picker.template.js +10 -10
  55. package/bundled/char-count.cjs +2 -2
  56. package/bundled/char-count.js +3 -3
  57. package/bundled/children.cjs +1 -1
  58. package/bundled/children.js +6 -6
  59. package/bundled/decorate.js +1 -1
  60. package/bundled/definition.cjs +1 -1
  61. package/bundled/definition.js +2 -2
  62. package/bundled/definition10.cjs +3 -3
  63. package/bundled/definition10.js +19 -19
  64. package/bundled/definition11.cjs +2 -2
  65. package/bundled/definition11.js +7 -7
  66. package/bundled/definition12.cjs +7 -7
  67. package/bundled/definition12.js +16 -16
  68. package/bundled/definition13.cjs +3 -3
  69. package/bundled/definition13.js +6 -6
  70. package/bundled/definition14.cjs +2 -2
  71. package/bundled/definition14.js +3 -3
  72. package/bundled/definition15.cjs +6 -6
  73. package/bundled/definition15.js +14 -14
  74. package/bundled/definition16.cjs +3 -3
  75. package/bundled/definition16.js +19 -19
  76. package/bundled/definition17.cjs +7 -7
  77. package/bundled/definition17.js +14 -14
  78. package/bundled/definition18.cjs +7 -7
  79. package/bundled/definition18.js +20 -20
  80. package/bundled/definition19.cjs +2 -2
  81. package/bundled/definition19.js +3 -3
  82. package/bundled/definition2.cjs +3 -3
  83. package/bundled/definition2.js +11 -11
  84. package/bundled/definition20.cjs +8 -8
  85. package/bundled/definition20.js +16 -17
  86. package/bundled/definition21.cjs +5 -5
  87. package/bundled/definition21.js +26 -26
  88. package/bundled/definition22.cjs +3 -3
  89. package/bundled/definition22.js +8 -8
  90. package/bundled/definition23.cjs +4 -4
  91. package/bundled/definition23.js +9 -9
  92. package/bundled/definition24.cjs +5 -5
  93. package/bundled/definition24.js +15 -15
  94. package/bundled/definition3.cjs +1 -1
  95. package/bundled/definition3.js +33 -33
  96. package/bundled/definition4.cjs +4 -4
  97. package/bundled/definition4.js +11 -11
  98. package/bundled/definition5.cjs +5 -5
  99. package/bundled/definition5.js +10 -10
  100. package/bundled/definition6.cjs +7 -7
  101. package/bundled/definition6.js +30 -30
  102. package/bundled/definition7.cjs +2 -2
  103. package/bundled/definition7.js +6 -6
  104. package/bundled/definition8.cjs +4 -4
  105. package/bundled/definition8.js +15 -15
  106. package/bundled/definition9.cjs +2 -2
  107. package/bundled/definition9.js +18 -18
  108. package/bundled/delegates-aria.cjs +1 -1
  109. package/bundled/delegates-aria.js +10 -49
  110. package/bundled/divider.cjs +1 -1
  111. package/bundled/divider.js +3 -3
  112. package/bundled/form-associated.cjs +1 -1
  113. package/bundled/form-associated.js +6 -6
  114. package/bundled/form-element.cjs +1 -1
  115. package/bundled/form-element.js +8 -6
  116. package/bundled/host-semantics.cjs +1 -1
  117. package/bundled/host-semantics.js +10 -39
  118. package/bundled/linkable.cjs +2 -2
  119. package/bundled/linkable.js +1 -1
  120. package/bundled/listbox.cjs +1 -1
  121. package/bundled/listbox.js +12 -12
  122. package/bundled/localized.cjs +1 -1
  123. package/bundled/localized.js +6 -6
  124. package/bundled/mixins.cjs +6 -6
  125. package/bundled/mixins.js +9 -9
  126. package/bundled/normalize.cjs +1 -1
  127. package/bundled/normalize.js +2 -2
  128. package/bundled/picker-field.template.cjs +1 -1
  129. package/bundled/picker-field.template.js +24 -23
  130. package/bundled/ref.cjs +1 -1
  131. package/bundled/ref.js +1 -1
  132. package/bundled/repeat.cjs +1 -1
  133. package/bundled/repeat.js +54 -54
  134. package/bundled/slider.template.cjs +7 -7
  135. package/bundled/slider.template.js +13 -13
  136. package/bundled/slottable-request.cjs +1 -1
  137. package/bundled/slottable-request.js +1 -1
  138. package/bundled/slotted.cjs +1 -1
  139. package/bundled/slotted.js +1 -1
  140. package/bundled/text-field.cjs +1 -1
  141. package/bundled/text-field.js +1 -1
  142. package/bundled/time-selection-picker.template.cjs +4 -4
  143. package/bundled/time-selection-picker.template.js +23 -23
  144. package/bundled/vivid-element.cjs +1 -1
  145. package/bundled/vivid-element.js +21 -19
  146. package/bundled/when.cjs +1 -1
  147. package/bundled/when.js +1 -1
  148. package/bundled/with-contextual-help.cjs +1 -1
  149. package/bundled/with-contextual-help.js +1 -1
  150. package/bundled/with-error-text.cjs +1 -1
  151. package/bundled/with-error-text.js +1 -1
  152. package/bundled/with-success-text.cjs +1 -1
  153. package/bundled/with-success-text.js +1 -1
  154. package/button/definition.cjs +0 -1
  155. package/button/definition.js +0 -1
  156. package/button/index.cjs +1 -1
  157. package/button/index.js +0 -2
  158. package/calendar/index.cjs +8 -8
  159. package/calendar/index.js +10 -10
  160. package/calendar-event/index.cjs +6 -6
  161. package/calendar-event/index.js +8 -8
  162. package/card/definition.cjs +0 -1
  163. package/card/definition.js +0 -1
  164. package/card/index.cjs +14 -14
  165. package/card/index.js +33 -34
  166. package/checkbox/definition.cjs +0 -1
  167. package/checkbox/definition.js +0 -1
  168. package/checkbox/index.cjs +1 -1
  169. package/checkbox/index.js +0 -2
  170. package/color-picker/definition.cjs +0 -1
  171. package/color-picker/definition.js +0 -1
  172. package/color-picker/index.cjs +15 -15
  173. package/color-picker/index.js +42 -42
  174. package/combobox/definition.cjs +0 -1
  175. package/combobox/definition.js +0 -1
  176. package/combobox/index.cjs +4 -4
  177. package/combobox/index.js +20 -21
  178. package/contextual-help/definition.cjs +0 -1
  179. package/contextual-help/definition.js +0 -1
  180. package/contextual-help/index.cjs +1 -1
  181. package/contextual-help/index.js +0 -2
  182. package/country/definition.cjs +0 -1
  183. package/country/definition.js +0 -1
  184. package/country/index.cjs +1 -1
  185. package/country/index.js +0 -2
  186. package/country-group/definition.cjs +0 -1
  187. package/country-group/definition.js +0 -1
  188. package/country-group/index.cjs +4 -4
  189. package/country-group/index.js +29 -29
  190. package/custom-elements.json +2544 -2688
  191. package/data-grid/definition.cjs +0 -1
  192. package/data-grid/definition.js +0 -1
  193. package/data-grid/index.cjs +14 -14
  194. package/data-grid/index.js +103 -104
  195. package/date-picker/definition.cjs +0 -1
  196. package/date-picker/definition.js +0 -1
  197. package/date-picker/index.cjs +1 -1
  198. package/date-picker/index.js +2 -3
  199. package/date-range-picker/definition.cjs +0 -1
  200. package/date-range-picker/definition.js +0 -1
  201. package/date-range-picker/index.cjs +1 -1
  202. package/date-range-picker/index.js +6 -7
  203. package/date-time-picker/definition.cjs +0 -1
  204. package/date-time-picker/definition.js +0 -1
  205. package/date-time-picker/index.cjs +2 -2
  206. package/date-time-picker/index.js +8 -9
  207. package/dial-pad/definition.cjs +0 -1
  208. package/dial-pad/definition.js +0 -1
  209. package/dial-pad/index.cjs +8 -8
  210. package/dial-pad/index.js +16 -17
  211. package/dialog/definition.cjs +0 -1
  212. package/dialog/definition.js +0 -1
  213. package/dialog/index.cjs +13 -10
  214. package/dialog/index.js +35 -33
  215. package/divider/index.cjs +1 -1
  216. package/divider/index.js +0 -1
  217. package/elevation/index.cjs +1 -1
  218. package/elevation/index.js +0 -1
  219. package/empty-state/definition.cjs +0 -1
  220. package/empty-state/definition.js +0 -1
  221. package/empty-state/index.cjs +4 -4
  222. package/empty-state/index.js +9 -10
  223. package/fab/definition.cjs +0 -1
  224. package/fab/definition.js +0 -1
  225. package/fab/index.cjs +3 -3
  226. package/fab/index.js +9 -10
  227. package/file-picker/definition.cjs +0 -1
  228. package/file-picker/definition.js +0 -1
  229. package/file-picker/index.cjs +7 -7
  230. package/file-picker/index.js +22 -23
  231. package/flag/definition.cjs +0 -1
  232. package/flag/definition.js +0 -1
  233. package/flag/index.cjs +3 -3
  234. package/flag/index.js +11 -11
  235. package/header/index.cjs +5 -5
  236. package/header/index.js +11 -11
  237. package/icon/definition.cjs +0 -1
  238. package/icon/definition.js +0 -1
  239. package/icon/index.cjs +1 -1
  240. package/icon/index.js +0 -2
  241. package/index.cjs +0 -1
  242. package/index.js +0 -1
  243. package/layout/index.cjs +2 -2
  244. package/layout/index.js +3 -3
  245. package/lib/avatar/avatar.d.ts +1 -1
  246. package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  247. package/lib/button/button.d.ts +1 -1
  248. package/lib/card/card.d.ts +1 -1
  249. package/lib/nav-item/nav-item.d.ts +1 -1
  250. package/lib/rich-text-editor/rte/utils/ui.d.ts +2 -1
  251. package/locales/de-DE.cjs +1 -1
  252. package/locales/en-GB.cjs +1 -1
  253. package/locales/en-US.cjs +1 -1
  254. package/locales/ja-JP.cjs +1 -1
  255. package/locales/zh-CN.cjs +1 -1
  256. package/menu/definition.cjs +0 -1
  257. package/menu/definition.js +0 -1
  258. package/menu/index.cjs +1 -1
  259. package/menu/index.js +0 -2
  260. package/menu-item/definition.cjs +0 -1
  261. package/menu-item/definition.js +0 -1
  262. package/menu-item/index.cjs +1 -1
  263. package/menu-item/index.js +0 -2
  264. package/nav/index.cjs +2 -2
  265. package/nav/index.js +2 -2
  266. package/nav-disclosure/definition.cjs +0 -1
  267. package/nav-disclosure/definition.js +0 -1
  268. package/nav-disclosure/index.cjs +4 -4
  269. package/nav-disclosure/index.js +15 -16
  270. package/nav-item/definition.cjs +0 -1
  271. package/nav-item/definition.js +0 -1
  272. package/nav-item/index.cjs +2 -2
  273. package/nav-item/index.js +10 -11
  274. package/note/definition.cjs +0 -1
  275. package/note/definition.js +0 -1
  276. package/note/index.cjs +2 -2
  277. package/note/index.js +7 -8
  278. package/number-field/definition.cjs +0 -1
  279. package/number-field/definition.js +0 -1
  280. package/number-field/index.cjs +5 -5
  281. package/number-field/index.js +16 -17
  282. package/option/definition.cjs +0 -1
  283. package/option/definition.js +0 -1
  284. package/option/index.cjs +1 -1
  285. package/option/index.js +0 -2
  286. package/package.json +22 -22
  287. package/pagination/definition.cjs +0 -1
  288. package/pagination/definition.js +0 -1
  289. package/pagination/index.cjs +4 -4
  290. package/pagination/index.js +11 -12
  291. package/popover/definition.cjs +0 -1
  292. package/popover/definition.js +0 -1
  293. package/popover/index.cjs +6 -6
  294. package/popover/index.js +28 -29
  295. package/popup/definition.cjs +0 -1
  296. package/popup/definition.js +0 -1
  297. package/popup/index.cjs +1 -1
  298. package/popup/index.js +0 -2
  299. package/progress/index.cjs +5 -5
  300. package/progress/index.js +10 -10
  301. package/progress-ring/index.cjs +1 -1
  302. package/progress-ring/index.js +0 -1
  303. package/radio/index.cjs +1 -1
  304. package/radio/index.js +0 -1
  305. package/radio-group/definition.cjs +0 -1
  306. package/radio-group/definition.js +0 -1
  307. package/radio-group/index.cjs +6 -6
  308. package/radio-group/index.js +21 -21
  309. package/range-slider/definition.cjs +0 -1
  310. package/range-slider/definition.js +0 -1
  311. package/range-slider/index.cjs +5 -5
  312. package/range-slider/index.js +58 -59
  313. package/rich-text-editor/definition.cjs +0 -1
  314. package/rich-text-editor/definition.js +0 -1
  315. package/rich-text-editor/index.cjs +9 -9
  316. package/rich-text-editor/index.js +2016 -1947
  317. package/rich-text-view/index.cjs +1 -1
  318. package/rich-text-view/index.js +2 -2
  319. package/searchable-select/definition.cjs +0 -1
  320. package/searchable-select/definition.js +0 -1
  321. package/searchable-select/index.cjs +23 -23
  322. package/searchable-select/index.js +109 -108
  323. package/select/definition.cjs +0 -1
  324. package/select/definition.js +0 -1
  325. package/select/index.cjs +1 -1
  326. package/select/index.js +0 -2
  327. package/selectable-box/definition.cjs +0 -1
  328. package/selectable-box/definition.js +0 -1
  329. package/selectable-box/index.cjs +9 -9
  330. package/selectable-box/index.js +19 -20
  331. package/shared/aria/aria-binding-directive.d.ts +21 -0
  332. package/shared/aria/aria-change-subscription.d.ts +1 -0
  333. package/shared/aria/delegates-aria.d.ts +1 -1
  334. package/shared/aria/host-semantics.d.ts +1 -1
  335. package/shared/patterns/linkable.d.ts +1 -1
  336. package/side-drawer/index.cjs +3 -3
  337. package/side-drawer/index.js +4 -4
  338. package/simple-color-picker/definition.cjs +0 -1
  339. package/simple-color-picker/definition.js +0 -1
  340. package/simple-color-picker/index.cjs +2 -2
  341. package/simple-color-picker/index.js +19 -20
  342. package/slider/definition.cjs +0 -1
  343. package/slider/definition.js +0 -1
  344. package/slider/index.cjs +1 -1
  345. package/slider/index.js +0 -2
  346. package/split-button/definition.cjs +0 -1
  347. package/split-button/definition.js +0 -1
  348. package/split-button/index.cjs +6 -6
  349. package/split-button/index.js +17 -18
  350. package/status/definition.cjs +0 -1
  351. package/status/definition.js +0 -1
  352. package/status/index.cjs +2 -2
  353. package/status/index.js +8 -9
  354. package/switch/definition.cjs +0 -1
  355. package/switch/definition.js +0 -1
  356. package/switch/index.cjs +5 -5
  357. package/switch/index.js +9 -10
  358. package/tab/definition.cjs +0 -1
  359. package/tab/definition.js +0 -1
  360. package/tab/index.cjs +1 -1
  361. package/tab/index.js +0 -2
  362. package/tab-panel/index.cjs +1 -1
  363. package/tab-panel/index.js +0 -1
  364. package/table/definition.cjs +0 -1
  365. package/table/definition.js +0 -1
  366. package/table/index.cjs +9 -9
  367. package/table/index.js +21 -22
  368. package/tabs/definition.cjs +0 -1
  369. package/tabs/definition.js +0 -1
  370. package/tabs/index.cjs +2 -2
  371. package/tabs/index.js +25 -26
  372. package/tag/definition.cjs +0 -1
  373. package/tag/definition.js +0 -1
  374. package/tag/index.cjs +11 -11
  375. package/tag/index.js +21 -22
  376. package/tag-group/index.cjs +4 -4
  377. package/tag-group/index.js +6 -6
  378. package/text-area/definition.cjs +0 -1
  379. package/text-area/definition.js +0 -1
  380. package/text-area/index.cjs +4 -4
  381. package/text-area/index.js +24 -25
  382. package/text-field/definition.cjs +0 -1
  383. package/text-field/definition.js +0 -1
  384. package/text-field/index.cjs +1 -1
  385. package/text-field/index.js +0 -2
  386. package/time-picker/definition.cjs +0 -1
  387. package/time-picker/definition.js +0 -1
  388. package/time-picker/index.cjs +1 -1
  389. package/time-picker/index.js +2 -3
  390. package/toggletip/definition.cjs +0 -1
  391. package/toggletip/definition.js +0 -1
  392. package/toggletip/index.cjs +1 -1
  393. package/toggletip/index.js +0 -2
  394. package/tooltip/definition.cjs +0 -1
  395. package/tooltip/definition.js +0 -1
  396. package/tooltip/index.cjs +1 -1
  397. package/tooltip/index.js +0 -2
  398. package/tree-item/definition.cjs +0 -1
  399. package/tree-item/definition.js +0 -1
  400. package/tree-item/index.cjs +1 -1
  401. package/tree-item/index.js +0 -2
  402. package/tree-view/definition.cjs +0 -1
  403. package/tree-view/definition.js +0 -1
  404. package/tree-view/index.cjs +2 -2
  405. package/tree-view/index.js +5 -5
  406. package/unbundled/aria-binding-directive.cjs +42 -0
  407. package/unbundled/aria-binding-directive.js +36 -0
  408. package/unbundled/calendar-picker.template.cjs +1 -1
  409. package/unbundled/calendar-picker.template.js +1 -1
  410. package/unbundled/char-count.cjs +2 -1
  411. package/unbundled/char-count.js +2 -1
  412. package/unbundled/decorate.cjs +1 -1
  413. package/unbundled/decorate.js +1 -1
  414. package/unbundled/definition.js +1 -1
  415. package/unbundled/definition10.cjs +5 -4
  416. package/unbundled/definition10.js +6 -5
  417. package/unbundled/definition11.cjs +14 -10
  418. package/unbundled/definition11.js +15 -11
  419. package/unbundled/definition12.cjs +2 -2
  420. package/unbundled/definition12.js +3 -3
  421. package/unbundled/definition13.cjs +7 -6
  422. package/unbundled/definition13.js +8 -7
  423. package/unbundled/definition14.cjs +67 -58
  424. package/unbundled/definition14.js +68 -59
  425. package/unbundled/definition15.js +1 -1
  426. package/unbundled/definition16.js +1 -1
  427. package/unbundled/definition17.cjs +10 -8
  428. package/unbundled/definition17.js +11 -9
  429. package/unbundled/definition18.js +1 -1
  430. package/unbundled/definition19.js +1 -1
  431. package/unbundled/definition2.cjs +4 -2
  432. package/unbundled/definition2.js +5 -3
  433. package/unbundled/definition20.js +1 -1
  434. package/unbundled/definition21.js +1 -1
  435. package/unbundled/definition22.js +1 -1
  436. package/unbundled/definition23.cjs +1 -1
  437. package/unbundled/definition23.js +2 -2
  438. package/unbundled/definition24.cjs +17 -13
  439. package/unbundled/definition24.js +18 -14
  440. package/unbundled/definition25.js +1 -1
  441. package/unbundled/definition26.cjs +17 -1
  442. package/unbundled/definition26.js +18 -2
  443. package/unbundled/definition27.cjs +15 -12
  444. package/unbundled/definition27.js +16 -13
  445. package/unbundled/definition28.cjs +9 -6
  446. package/unbundled/definition28.js +10 -7
  447. package/unbundled/definition29.js +1 -1
  448. package/unbundled/definition3.js +1 -1
  449. package/unbundled/definition30.cjs +4 -2
  450. package/unbundled/definition30.js +5 -3
  451. package/unbundled/definition31.js +1 -1
  452. package/unbundled/definition32.cjs +30 -23
  453. package/unbundled/definition32.js +31 -24
  454. package/unbundled/definition33.cjs +4 -2
  455. package/unbundled/definition33.js +5 -3
  456. package/unbundled/definition34.cjs +200 -48
  457. package/unbundled/definition34.js +201 -49
  458. package/unbundled/definition35.js +1 -1
  459. package/unbundled/definition36.js +1 -1
  460. package/unbundled/definition37.js +1 -1
  461. package/unbundled/definition38.cjs +2 -1
  462. package/unbundled/definition38.js +3 -2
  463. package/unbundled/definition39.js +1 -1
  464. package/unbundled/definition4.cjs +6 -0
  465. package/unbundled/definition4.js +7 -1
  466. package/unbundled/definition40.js +1 -1
  467. package/unbundled/definition41.cjs +17 -12
  468. package/unbundled/definition41.js +18 -13
  469. package/unbundled/definition42.js +1 -1
  470. package/unbundled/definition43.js +1 -1
  471. package/unbundled/definition44.cjs +4 -3
  472. package/unbundled/definition44.js +5 -4
  473. package/unbundled/definition45.js +1 -1
  474. package/unbundled/definition46.js +1 -1
  475. package/unbundled/definition47.cjs +5 -4
  476. package/unbundled/definition47.js +6 -5
  477. package/unbundled/definition48.cjs +1 -1
  478. package/unbundled/definition48.js +2 -2
  479. package/unbundled/definition49.js +1 -1
  480. package/unbundled/definition5.js +1 -1
  481. package/unbundled/definition50.js +1 -1
  482. package/unbundled/definition51.cjs +1 -1
  483. package/unbundled/definition51.js +2 -2
  484. package/unbundled/definition52.js +1 -1
  485. package/unbundled/definition53.cjs +16 -12
  486. package/unbundled/definition53.js +17 -13
  487. package/unbundled/definition54.js +1 -1
  488. package/unbundled/definition55.cjs +25 -23
  489. package/unbundled/definition55.js +26 -24
  490. package/unbundled/definition56.cjs +2 -1
  491. package/unbundled/definition56.js +3 -2
  492. package/unbundled/definition57.cjs +72 -61
  493. package/unbundled/definition57.js +73 -62
  494. package/unbundled/definition58.cjs +34 -26
  495. package/unbundled/definition58.js +34 -26
  496. package/unbundled/definition59.cjs +1 -1
  497. package/unbundled/definition59.js +2 -2
  498. package/unbundled/definition6.js +1 -1
  499. package/unbundled/definition60.js +1 -1
  500. package/unbundled/definition61.cjs +15 -10
  501. package/unbundled/definition61.js +16 -11
  502. package/unbundled/definition62.js +1 -1
  503. package/unbundled/definition63.js +1 -1
  504. package/unbundled/definition64.cjs +20 -17
  505. package/unbundled/definition64.js +21 -18
  506. package/unbundled/definition65.js +1 -1
  507. package/unbundled/definition66.js +1 -1
  508. package/unbundled/definition67.cjs +1 -1
  509. package/unbundled/definition67.js +2 -2
  510. package/unbundled/definition68.js +1 -1
  511. package/unbundled/definition69.js +1 -1
  512. package/unbundled/definition7.js +1 -1
  513. package/unbundled/definition70.cjs +28 -23
  514. package/unbundled/definition70.js +29 -24
  515. package/unbundled/definition71.js +1 -1
  516. package/unbundled/definition72.cjs +6 -5
  517. package/unbundled/definition72.js +7 -6
  518. package/unbundled/definition73.cjs +13 -1
  519. package/unbundled/definition73.js +14 -2
  520. package/unbundled/definition74.js +1 -1
  521. package/unbundled/definition75.js +1 -1
  522. package/unbundled/definition76.cjs +2 -1
  523. package/unbundled/definition76.js +3 -2
  524. package/unbundled/definition77.cjs +1 -1
  525. package/unbundled/definition77.js +1 -1
  526. package/unbundled/definition8.js +1 -1
  527. package/unbundled/definition9.cjs +9 -7
  528. package/unbundled/definition9.js +10 -8
  529. package/unbundled/delegates-aria.cjs +5 -60
  530. package/unbundled/delegates-aria.js +6 -60
  531. package/unbundled/divider.cjs +6 -0
  532. package/unbundled/divider.js +6 -0
  533. package/unbundled/form-element.cjs +7 -5
  534. package/unbundled/form-element.js +7 -5
  535. package/unbundled/host-semantics.cjs +10 -45
  536. package/unbundled/host-semantics.js +10 -44
  537. package/unbundled/mixins.js +1 -1
  538. package/unbundled/picker-field.template.cjs +20 -15
  539. package/unbundled/picker-field.template.js +20 -15
  540. package/unbundled/text-field.cjs +1 -1
  541. package/unbundled/text-field.js +1 -1
  542. package/unbundled/time-selection-picker.template.cjs +4 -3
  543. package/unbundled/time-selection-picker.template.js +5 -4
  544. package/unbundled/vivid-element.cjs +10 -1
  545. package/unbundled/vivid-element.js +5 -2
  546. package/video-player/index.cjs +24 -24
  547. package/video-player/index.js +3087 -3010
  548. package/visually-hidden/index.cjs +1 -1
  549. package/visually-hidden/index.js +0 -1
  550. package/vivid.api.json +1 -1
  551. package/bundled/attribute-binding-behaviour.cjs +0 -1
  552. package/bundled/attribute-binding-behaviour.js +0 -18
  553. package/bundled/strings.cjs +0 -1
  554. package/bundled/strings.js +0 -7
  555. package/shared/aria/delegate-aria-behavior.d.ts +0 -23
  556. package/shared/aria/host-semantics-behavior.d.ts +0 -19
  557. package/shared/templating/attribute-binding-behaviour.d.ts +0 -14
  558. package/unbundled/attribute-binding-behaviour.cjs +0 -37
  559. package/unbundled/attribute-binding-behaviour.js +0 -31
@@ -1,10 +1,10 @@
1
- import { T as e, d as t, o as n, s as r, t as i } from "../bundled/vivid-element.js";
1
+ import { D as e, c as t, f as n, s as r, t 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";
5
5
  import { t as u } from "../bundled/breadcrumb-item.js";
6
6
  //#region src/lib/breadcrumb/breadcrumb.template.ts
7
- var d = t`
7
+ var d = n`
8
8
  <nav
9
9
  class="base"
10
10
  ${c({ ariaLabel: (e) => e.ariaLabel || "breadcrumbs" })}
@@ -39,5 +39,5 @@ var d = t`
39
39
  };
40
40
  //#endregion
41
41
  //#region src/lib/breadcrumb/index.ts
42
- s([e], p.prototype, "slottedBreadcrumbItems", void 0), r(n("breadcrumb", p, d, [], { styles: f }))();
42
+ s([e], p.prototype, "slottedBreadcrumbItems", void 0), t(r("breadcrumb", p, d, [], { styles: f }))();
43
43
  //#endregion
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- require("../unbundled/numberConverter.cjs");
3
2
  const require_definition = require("../unbundled/definition18.cjs");
4
3
  const require_breadcrumb_item = require("../unbundled/breadcrumb-item.cjs");
5
4
  exports.VwcBreadcrumbItemElement = require_breadcrumb_item.BreadcrumbItem;
@@ -1,4 +1,3 @@
1
- import "../unbundled/numberConverter.js";
2
1
  import { n as registerBreadcrumbItem, t as breadcrumbItemDefinition } from "../unbundled/definition18.js";
3
2
  import { t as BreadcrumbItem } from "../unbundled/breadcrumb-item.js";
4
3
  export { BreadcrumbItem as VwcBreadcrumbItemElement, breadcrumbItemDefinition, registerBreadcrumbItem };
@@ -1,5 +1,5 @@
1
- const e=require(`../bundled/vivid-element.cjs`),t=require(`../bundled/when.cjs`);require(`../bundled/numberConverter.cjs`);const 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.o(`breadcrumb-item`,i.t,r=>{let i=r.tagFor(n.r);return e.d` <div role="listitem" class="${o}">
2
- ${t.t(e=>e.text&&!e.href,e.d`${e=>e.text}`)}
3
- ${t.t(e=>e.text&&e.href&&e.href.length>0,e.d`${t=>t._renderLinkElement(e.d`${e=>e.text}`,`control`)}`)}
4
- ${t.t(e=>e.separator,e.d`<${i} class="separator" name="chevron-right-solid"></${i}>`)}
5
- </div>`},[n.t],{styles:a,shadowOptions:{delegatesFocus:!0}});e.s(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.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,6 +1,5 @@
1
- import { d as e, o as t, s as n } from "../bundled/vivid-element.js";
1
+ import { c as e, f as t, s as n } from "../bundled/vivid-element.js";
2
2
  import { t as r } from "../bundled/when.js";
3
- import "../bundled/numberConverter.js";
4
3
  import { r as i, t as a } from "../bundled/definition2.js";
5
4
  import { t as o } from "../bundled/class-names.js";
6
5
  import { t as s } from "../bundled/breadcrumb-item.js";
@@ -8,12 +7,12 @@ import { t as s } from "../bundled/breadcrumb-item.js";
8
7
  var c = ".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}}", l = (e) => o("base");
9
8
  //#endregion
10
9
  //#region src/lib/breadcrumb-item/index.ts
11
- n(t("breadcrumb-item", s, (t) => {
12
- let n = t.tagFor(i);
13
- return e` <div role="listitem" class="${l}">
14
- ${r((e) => e.text && !e.href, e`${(e) => e.text}`)}
15
- ${r((e) => e.text && e.href && e.href.length > 0, e`${(t) => t._renderLinkElement(e`${(e) => e.text}`, "control")}`)}
16
- ${r((e) => e.separator, e`<${n} class="separator" name="chevron-right-solid"></${n}>`)}
10
+ e(n("breadcrumb-item", s, (e) => {
11
+ let n = e.tagFor(i);
12
+ return t` <div role="listitem" class="${l}">
13
+ ${r((e) => e.text && !e.href, t`${(e) => e.text}`)}
14
+ ${r((e) => e.text && e.href && e.href.length > 0, t`${(e) => e._renderLinkElement(t`${(e) => e.text}`, "control")}`)}
15
+ ${r((e) => e.separator, t`<${n} class="separator" name="chevron-right-solid"></${n}>`)}
17
16
  </div>`;
18
17
  }, [a], {
19
18
  styles: c,
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.l],r.prototype,`icon`,void 0),n.t([e.T],r.prototype,`iconSlottedContent`,void 0),r},a=t=>{class r extends i(t){constructor(...e){super(...e),this.iconTrailing=!1}}return n.t([e.l({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.d`<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.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
2
2
  name="icon"
3
3
  aria-hidden="${()=>a}"
4
4
  ${t.t(`iconSlottedContent`)}
5
- ></slot>`;if(!n&&r)return null;let l=e.d`<${i} :name="${()=>n}" :label="${()=>c?.label||void 0}"></${i}>`,u=e.d.partial(r?`span`:`slot`);return e.d`<${u}
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}
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,4 +1,4 @@
1
- import { T as e, d as t, l as n } from "./vivid-element.js";
1
+ import { D as e, f as t, u 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";
@@ -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.k.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.l],r.prototype,`anchor`,void 0),n.t([e.T],r.prototype,`_slottedAnchor`,void 0),n.t([e.T],r.prototype,`_anchorEl`,void 0),r},i=()=>e.d`<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.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
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,4 +1,4 @@
1
- import { T as e, d as t, k as n, l as r } from "./vivid-element.js";
1
+ import { D as e, f as t, j as n, u 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
@@ -0,0 +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}});
@@ -0,0 +1,29 @@
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";
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++}`;
6
+ }
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 {
10
+ get propertyBindingBehaviours() {
11
+ 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();
14
+ }), this._propertyBindingBehaviours;
15
+ }
16
+ 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");
19
+ 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]);
23
+ };
24
+ n(t, i), e.onUnbind({ unbind: () => a(t, i) });
25
+ }
26
+ };
27
+ r.define(d);
28
+ //#endregion
29
+ export { l as n, d 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.O.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.d`
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`
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.d`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
15
+ ${n.t((e,t)=>t.parent.value===e.value,t.f`<${e} size="-6" name="check-solid" aria-hidden="true"></${e}>`)}
16
16
  </button>
17
17
  </${r}>
18
- `}}return r.t([t.l({mode:`boolean`})],c.prototype,`open`,void 0),r.t([t.T],c.prototype,`swatches`,void 0),r.t([t.T],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.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}});
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./localized.js";
2
- import { O as t, T as n, d as r, l as i } from "./vivid-element.js";
2
+ import { A as t, D as n, f as r, u 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";
@@ -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.l({converter:e.u})],n.prototype,`value`,void 0),t.t([e.l({converter:e.u})],n.prototype,`min`,void 0),t.t([e.l({converter:e.u})],n.prototype,`max`,void 0),t.t([e.l({mode:`boolean`})],n.prototype,`paused`,void 0),t.t([e.T],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.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,4 +1,4 @@
1
- import { T as e, l as t, t as n, u as r } from "./vivid-element.js";
1
+ import { D as e, d as t, t as n, u 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
4
  var a = class extends n {
@@ -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([t({ converter: r })], a.prototype, "value", void 0), i([t({ converter: r })], a.prototype, "min", void 0), i([t({ converter: r })], a.prototype, "max", void 0), i([t({ mode: "boolean" })], a.prototype, "paused", void 0), i([e], a.prototype, "percentComplete", void 0);
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);
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.l],r.prototype,`text`,void 0),t.t([e.T],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.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,12 +1,12 @@
1
- import { T as e, l as t, t as n } from "./vivid-element.js";
1
+ import { D as e, t, u 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(n) {
5
+ var a = class extends i(t) {
6
6
  constructor(...e) {
7
7
  super(...e), this.separator = !0;
8
8
  }
9
9
  };
10
- r([t], a.prototype, "text", void 0), r([e], a.prototype, "separator", void 0);
10
+ r([n], 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.O.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.l({mode:`boolean`})],i.prototype,`autofocus`,void 0),t.t([e.l({attribute:`form`})],i.prototype,`formId`,void 0),t.t([e.l],i.prototype,`formaction`,void 0),t.t([e.l],i.prototype,`formenctype`,void 0),t.t([e.l],i.prototype,`formmethod`,void 0),t.t([e.l({mode:`boolean`})],i.prototype,`formnovalidate`,void 0),t.t([e.l],i.prototype,`formtarget`,void 0),t.t([e.l],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.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}});
package/bundled/button.js CHANGED
@@ -1,9 +1,9 @@
1
- import { O as e, l as t, t as n } from "./vivid-element.js";
1
+ import { A as e, t, u 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(n)) {
6
+ var o = class extends i(a(t)) {
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(n)) {
61
61
  });
62
62
  }
63
63
  };
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);
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);
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.l],r.prototype,`heading`,void 0),t.t([e.l],r.prototype,`description`,void 0),t.t([e.l],r.prototype,`connotation`,void 0),t.t([e.l],r.prototype,`appearance`,void 0),t.t([e.l({converter:e.u,attribute:`overlap-count`})],r.prototype,`overlapCount`,void 0),t.t([e.l({converter:e.u})],r.prototype,`start`,void 0),t.t([e.l({converter:e.u})],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.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,11 +1,11 @@
1
- import { l as e, t, u as n } from "./vivid-element.js";
1
+ import { d as e, t, u 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
5
  var a = class extends i(t) {};
6
- r([e], a.prototype, "heading", void 0), r([e], a.prototype, "description", void 0), r([e], a.prototype, "connotation", void 0), r([e], a.prototype, "appearance", void 0), r([e({
7
- converter: n,
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({
7
+ converter: e,
8
8
  attribute: "overlap-count"
9
- })], a.prototype, "overlapCount", void 0), r([e({ converter: n })], a.prototype, "start", void 0), r([e({ converter: n })], a.prototype, "duration", void 0);
9
+ })], a.prototype, "overlapCount", void 0), r([n({ converter: e })], a.prototype, "start", void 0), r([n({ converter: e })], a.prototype, "duration", void 0);
10
10
  //#endregion
11
11
  export { a as t };