@vonage/vivid 3.53.0 → 3.55.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 (311) hide show
  1. package/accordion/index.cjs +0 -14
  2. package/accordion/index.js +0 -14
  3. package/accordion-item/index.cjs +0 -11
  4. package/accordion-item/index.js +0 -11
  5. package/action-group/index.cjs +0 -2
  6. package/action-group/index.js +0 -2
  7. package/alert/index.cjs +0 -23
  8. package/alert/index.js +0 -23
  9. package/appearance-ui/index.cjs +11 -12
  10. package/appearance-ui/index.js +11 -12
  11. package/audio-player/index.cjs +0 -28
  12. package/audio-player/index.js +0 -28
  13. package/avatar/index.cjs +0 -6
  14. package/avatar/index.js +0 -6
  15. package/badge/index.cjs +0 -9
  16. package/badge/index.js +0 -9
  17. package/banner/index.cjs +0 -22
  18. package/banner/index.js +0 -22
  19. package/breadcrumb/index.cjs +0 -8
  20. package/breadcrumb/index.js +0 -8
  21. package/breadcrumb-item/index.cjs +0 -15
  22. package/breadcrumb-item/index.js +0 -15
  23. package/button/index.cjs +0 -18
  24. package/button/index.js +0 -18
  25. package/calendar/index.cjs +0 -4
  26. package/calendar/index.js +0 -4
  27. package/calendar-event/index.cjs +0 -4
  28. package/calendar-event/index.js +0 -4
  29. package/card/index.cjs +0 -9
  30. package/card/index.js +0 -9
  31. package/checkbox/index.cjs +0 -14
  32. package/checkbox/index.js +0 -14
  33. package/combobox/index.cjs +0 -31
  34. package/combobox/index.js +0 -31
  35. package/custom-elements.json +396 -55
  36. package/data-grid/index.cjs +0 -11
  37. package/data-grid/index.js +0 -11
  38. package/date-picker/index.cjs +0 -34
  39. package/date-picker/index.js +0 -34
  40. package/date-range-picker/index.cjs +0 -34
  41. package/date-range-picker/index.js +0 -34
  42. package/dial-pad/index.cjs +0 -28
  43. package/dial-pad/index.js +0 -28
  44. package/dialog/index.cjs +0 -23
  45. package/dialog/index.js +0 -23
  46. package/divider/index.cjs +0 -3
  47. package/divider/index.js +0 -3
  48. package/elevation/index.cjs +0 -2
  49. package/elevation/index.js +0 -2
  50. package/empty-state/index.cjs +0 -7
  51. package/empty-state/index.js +0 -7
  52. package/fab/index.cjs +0 -15
  53. package/fab/index.js +0 -15
  54. package/file-picker/index.cjs +0 -23
  55. package/file-picker/index.js +0 -23
  56. package/header/index.cjs +0 -3
  57. package/header/index.js +0 -3
  58. package/icon/index.cjs +0 -5
  59. package/icon/index.js +0 -5
  60. package/index.cjs +0 -44
  61. package/index.js +0 -44
  62. package/layout/index.cjs +0 -2
  63. package/layout/index.js +0 -2
  64. package/lib/appearance-ui/appearance-ui.d.ts +1 -1
  65. package/lib/audio-player/audio-player.d.ts +4 -0
  66. package/lib/audio-player/locale.d.ts +2 -0
  67. package/lib/combobox/combobox.d.ts +1 -0
  68. package/lib/dial-pad/dial-pad.d.ts +4 -0
  69. package/lib/enums.d.ts +1 -0
  70. package/lib/menu/menu.d.ts +2 -3
  71. package/lib/nav-disclosure/nav-disclosure.d.ts +5 -0
  72. package/lib/text-anchor/text-anchor.d.ts +1 -1
  73. package/lib/video-player/vivid-video-svg.d.ts +1 -0
  74. package/listbox/index.cjs +1 -15
  75. package/listbox/index.js +1 -15
  76. package/locales/en-GB.cjs +3 -1
  77. package/locales/en-GB.js +3 -1
  78. package/locales/en-US.cjs +3 -1
  79. package/locales/en-US.js +3 -1
  80. package/locales/ja-JP.cjs +3 -1
  81. package/locales/ja-JP.js +3 -1
  82. package/locales/zh-CN.cjs +3 -1
  83. package/locales/zh-CN.js +3 -1
  84. package/menu/index.cjs +0 -25
  85. package/menu/index.js +0 -25
  86. package/menu-item/index.cjs +0 -15
  87. package/menu-item/index.js +0 -15
  88. package/nav/index.cjs +0 -1
  89. package/nav/index.js +0 -1
  90. package/nav-disclosure/index.cjs +0 -10
  91. package/nav-disclosure/index.js +0 -10
  92. package/nav-item/index.cjs +0 -15
  93. package/nav-item/index.js +0 -15
  94. package/note/index.cjs +0 -11
  95. package/note/index.js +0 -11
  96. package/number-field/index.cjs +0 -26
  97. package/number-field/index.js +0 -26
  98. package/option/index.cjs +0 -13
  99. package/option/index.js +0 -13
  100. package/package.json +1 -1
  101. package/pagination/index.cjs +0 -21
  102. package/pagination/index.js +0 -21
  103. package/popup/index.cjs +0 -20
  104. package/popup/index.js +0 -20
  105. package/progress/index.cjs +0 -4
  106. package/progress/index.js +0 -4
  107. package/progress-ring/index.cjs +0 -4
  108. package/progress-ring/index.js +0 -4
  109. package/radio/index.cjs +0 -6
  110. package/radio/index.js +0 -6
  111. package/radio-group/index.cjs +0 -9
  112. package/radio-group/index.js +0 -9
  113. package/range-slider/index.cjs +0 -17
  114. package/range-slider/index.js +0 -17
  115. package/select/index.cjs +0 -31
  116. package/select/index.js +0 -31
  117. package/selectable-box/index.cjs +0 -18
  118. package/selectable-box/index.js +0 -18
  119. package/shared/affix.cjs +6 -7
  120. package/shared/affix.js +6 -7
  121. package/shared/anchored.cjs +39 -46
  122. package/shared/anchored.js +39 -46
  123. package/shared/calendar-event.cjs +10 -11
  124. package/shared/calendar-event.js +10 -11
  125. package/shared/definition.cjs +8 -9
  126. package/shared/definition.js +8 -9
  127. package/shared/definition10.cjs +1 -1
  128. package/shared/definition10.js +1 -1
  129. package/shared/definition11.cjs +20 -21
  130. package/shared/definition11.js +20 -21
  131. package/shared/definition12.cjs +1 -1
  132. package/shared/definition12.js +1 -1
  133. package/shared/definition13.cjs +9 -14
  134. package/shared/definition13.js +9 -14
  135. package/shared/definition14.cjs +13 -14
  136. package/shared/definition14.js +13 -14
  137. package/shared/definition15.cjs +1 -1
  138. package/shared/definition15.js +1 -1
  139. package/shared/definition16.cjs +16 -3
  140. package/shared/definition16.js +16 -3
  141. package/shared/definition17.cjs +155 -166
  142. package/shared/definition17.js +155 -166
  143. package/shared/definition19.cjs +2 -2
  144. package/shared/definition19.js +2 -2
  145. package/shared/definition2.cjs +1 -1
  146. package/shared/definition2.js +1 -1
  147. package/shared/definition20.cjs +34 -18
  148. package/shared/definition20.js +34 -18
  149. package/shared/definition21.cjs +17 -18
  150. package/shared/definition21.js +17 -18
  151. package/shared/definition22.cjs +2 -2
  152. package/shared/definition22.js +2 -2
  153. package/shared/definition23.cjs +7 -8
  154. package/shared/definition23.js +7 -8
  155. package/shared/definition24.cjs +7 -8
  156. package/shared/definition24.js +7 -8
  157. package/shared/definition25.cjs +2 -2
  158. package/shared/definition25.js +2 -2
  159. package/shared/definition26.cjs +6 -7
  160. package/shared/definition26.js +6 -7
  161. package/shared/definition27.cjs +3 -3
  162. package/shared/definition27.js +3 -3
  163. package/shared/definition28.cjs +9 -10
  164. package/shared/definition28.js +9 -10
  165. package/shared/definition29.cjs +60 -57
  166. package/shared/definition29.js +60 -57
  167. package/shared/definition3.cjs +9 -10
  168. package/shared/definition3.js +9 -10
  169. package/shared/definition30.cjs +4 -2
  170. package/shared/definition30.js +4 -2
  171. package/shared/definition31.cjs +20 -9
  172. package/shared/definition31.js +20 -9
  173. package/shared/definition32.cjs +1 -1
  174. package/shared/definition32.js +1 -1
  175. package/shared/definition33.cjs +1 -1
  176. package/shared/definition33.js +1 -1
  177. package/shared/definition34.cjs +6 -7
  178. package/shared/definition34.js +6 -7
  179. package/shared/definition35.cjs +1 -1
  180. package/shared/definition35.js +1 -1
  181. package/shared/definition36.cjs +6 -7
  182. package/shared/definition36.js +6 -7
  183. package/shared/definition37.cjs +1 -1
  184. package/shared/definition37.js +1 -1
  185. package/shared/definition38.cjs +7 -8
  186. package/shared/definition38.js +7 -8
  187. package/shared/definition39.cjs +8 -9
  188. package/shared/definition39.js +8 -9
  189. package/shared/definition4.cjs +14 -15
  190. package/shared/definition4.js +14 -15
  191. package/shared/definition40.cjs +7 -8
  192. package/shared/definition40.js +7 -8
  193. package/shared/definition41.cjs +1 -1
  194. package/shared/definition41.js +1 -1
  195. package/shared/definition42.cjs +3 -3
  196. package/shared/definition42.js +3 -3
  197. package/shared/definition43.cjs +1 -1
  198. package/shared/definition43.js +1 -1
  199. package/shared/definition44.cjs +11 -12
  200. package/shared/definition44.js +11 -12
  201. package/shared/definition45.cjs +8 -9
  202. package/shared/definition45.js +8 -9
  203. package/shared/definition46.cjs +9 -10
  204. package/shared/definition46.js +9 -10
  205. package/shared/definition47.cjs +15 -16
  206. package/shared/definition47.js +15 -16
  207. package/shared/definition48.cjs +6 -7
  208. package/shared/definition48.js +6 -7
  209. package/shared/definition5.cjs +113 -33
  210. package/shared/definition5.js +113 -33
  211. package/shared/definition50.cjs +9 -10
  212. package/shared/definition50.js +9 -10
  213. package/shared/definition51.cjs +8 -9
  214. package/shared/definition51.js +8 -9
  215. package/shared/definition52.cjs +5 -6
  216. package/shared/definition52.js +5 -6
  217. package/shared/definition53.cjs +12 -13
  218. package/shared/definition53.js +12 -13
  219. package/shared/definition54.cjs +2 -2
  220. package/shared/definition54.js +2 -2
  221. package/shared/definition55.cjs +121 -63
  222. package/shared/definition55.js +121 -63
  223. package/shared/definition56.cjs +1 -1
  224. package/shared/definition56.js +1 -1
  225. package/shared/definition57.cjs +1 -1
  226. package/shared/definition57.js +1 -1
  227. package/shared/definition58.cjs +1 -1
  228. package/shared/definition58.js +1 -1
  229. package/shared/definition59.cjs +5 -6
  230. package/shared/definition59.js +5 -6
  231. package/shared/definition6.cjs +10 -11
  232. package/shared/definition6.js +10 -11
  233. package/shared/definition60.cjs +1 -1
  234. package/shared/definition60.js +1 -1
  235. package/shared/definition61.cjs +317 -15
  236. package/shared/definition61.js +317 -15
  237. package/shared/definition62.cjs +6 -7
  238. package/shared/definition62.js +6 -7
  239. package/shared/definition63.cjs +11 -15
  240. package/shared/definition63.js +11 -15
  241. package/shared/definition7.cjs +8 -9
  242. package/shared/definition7.js +8 -9
  243. package/shared/definition8.cjs +13 -14
  244. package/shared/definition8.js +13 -14
  245. package/shared/definition9.cjs +5 -6
  246. package/shared/definition9.js +5 -6
  247. package/shared/enums.cjs +1 -0
  248. package/shared/enums.js +1 -0
  249. package/shared/icon.cjs +23 -9
  250. package/shared/icon.js +24 -10
  251. package/shared/index.cjs +38 -19
  252. package/shared/index.js +38 -19
  253. package/shared/index2.cjs +30 -26
  254. package/shared/index2.js +30 -26
  255. package/shared/listbox.cjs +6 -7
  256. package/shared/listbox.js +6 -7
  257. package/shared/presentationDate.cjs +40 -50
  258. package/shared/presentationDate.js +40 -50
  259. package/shared/radio.cjs +6 -7
  260. package/shared/radio.js +6 -7
  261. package/shared/slider.template.cjs +1 -1
  262. package/shared/slider.template.js +1 -1
  263. package/shared/text-anchor.cjs +6 -7
  264. package/shared/text-anchor.js +6 -7
  265. package/shared/text-field.cjs +1 -1
  266. package/shared/text-field.js +1 -1
  267. package/shared/utils/numberConverter.d.ts +2 -0
  268. package/side-drawer/index.cjs +0 -3
  269. package/side-drawer/index.js +0 -3
  270. package/slider/index.cjs +0 -10
  271. package/slider/index.js +0 -10
  272. package/split-button/index.cjs +0 -13
  273. package/split-button/index.js +0 -13
  274. package/styles/core/all.css +1 -1
  275. package/styles/core/theme.css +1 -1
  276. package/styles/core/typography.css +1 -1
  277. package/styles/tokens/theme-dark.css +4 -4
  278. package/styles/tokens/theme-light.css +4 -4
  279. package/styles/tokens/vivid-2-compat.css +1 -1
  280. package/switch/index.cjs +0 -8
  281. package/switch/index.js +0 -8
  282. package/tab/index.cjs +0 -9
  283. package/tab/index.js +0 -9
  284. package/tab-panel/index.cjs +0 -1
  285. package/tab-panel/index.js +0 -1
  286. package/tabs/index.cjs +0 -16
  287. package/tabs/index.js +0 -16
  288. package/tag/index.cjs +0 -9
  289. package/tag/index.js +0 -9
  290. package/tag-group/index.cjs +0 -2
  291. package/tag-group/index.js +0 -2
  292. package/text-anchor/index.cjs +0 -10
  293. package/text-anchor/index.js +0 -10
  294. package/text-area/index.cjs +0 -19
  295. package/text-area/index.js +0 -19
  296. package/text-field/index.cjs +0 -20
  297. package/text-field/index.js +0 -20
  298. package/time-picker/index.cjs +0 -31
  299. package/time-picker/index.js +0 -31
  300. package/toggletip/index.cjs +0 -22
  301. package/toggletip/index.js +0 -22
  302. package/tooltip/index.cjs +0 -22
  303. package/tooltip/index.js +0 -22
  304. package/tree-item/index.cjs +0 -14
  305. package/tree-item/index.js +0 -14
  306. package/tree-view/index.cjs +0 -9
  307. package/tree-view/index.js +0 -9
  308. package/video-player/index.cjs +0 -12
  309. package/video-player/index.js +0 -12
  310. package/vivid.api.json +21 -0
  311. package/style.css +0 -1
@@ -1,24 +1,3 @@
1
1
  import { r as registerPagination } from '../shared/definition37.js';
2
- import '../shared/definition11.js';
3
- import '../shared/index.js';
4
- import '../shared/definition27.js';
5
- import '../shared/icon.js';
6
- import '../shared/_has.js';
7
- import '../shared/class-names.js';
8
- import '../shared/when.js';
9
- import '../shared/definition38.js';
10
- import '../shared/base-progress.js';
11
- import '../shared/affix.js';
12
- import '../shared/slotted.js';
13
- import '../shared/button.js';
14
- import '../shared/apply-mixins.js';
15
- import '../shared/form-associated.js';
16
- import '../shared/key-codes.js';
17
- import '../shared/aria-global.js';
18
- import '../shared/start-end.js';
19
- import '../shared/ref.js';
20
- import '../shared/enums.js';
21
- import '../shared/children.js';
22
- import '../shared/repeat.js';
23
2
 
24
3
  registerPagination();
package/popup/index.cjs CHANGED
@@ -1,25 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition63.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/definition11.cjs');
6
- require('../shared/definition27.cjs');
7
- require('../shared/icon.cjs');
8
- require('../shared/_has.cjs');
9
- require('../shared/class-names.cjs');
10
- require('../shared/when.cjs');
11
- require('../shared/definition38.cjs');
12
- require('../shared/base-progress.cjs');
13
- require('../shared/affix.cjs');
14
- require('../shared/slotted.cjs');
15
- require('../shared/button.cjs');
16
- require('../shared/apply-mixins.cjs');
17
- require('../shared/form-associated.cjs');
18
- require('../shared/key-codes.cjs');
19
- require('../shared/aria-global.cjs');
20
- require('../shared/start-end.cjs');
21
- require('../shared/ref.cjs');
22
- require('../shared/enums.cjs');
23
- require('../shared/definition62.cjs');
24
4
 
25
5
  definition.registerPopup();
package/popup/index.js CHANGED
@@ -1,23 +1,3 @@
1
1
  import { r as registerPopup } from '../shared/definition63.js';
2
- import '../shared/index.js';
3
- import '../shared/definition11.js';
4
- import '../shared/definition27.js';
5
- import '../shared/icon.js';
6
- import '../shared/_has.js';
7
- import '../shared/class-names.js';
8
- import '../shared/when.js';
9
- import '../shared/definition38.js';
10
- import '../shared/base-progress.js';
11
- import '../shared/affix.js';
12
- import '../shared/slotted.js';
13
- import '../shared/button.js';
14
- import '../shared/apply-mixins.js';
15
- import '../shared/form-associated.js';
16
- import '../shared/key-codes.js';
17
- import '../shared/aria-global.js';
18
- import '../shared/start-end.js';
19
- import '../shared/ref.js';
20
- import '../shared/enums.js';
21
- import '../shared/definition62.js';
22
2
 
23
3
  registerPopup();
@@ -1,9 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition39.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/base-progress.cjs');
6
- require('../shared/when.cjs');
7
- require('../shared/class-names.cjs');
8
4
 
9
5
  definition.registerProgress();
package/progress/index.js CHANGED
@@ -1,7 +1,3 @@
1
1
  import { r as registerProgress } from '../shared/definition39.js';
2
- import '../shared/index.js';
3
- import '../shared/base-progress.js';
4
- import '../shared/when.js';
5
- import '../shared/class-names.js';
6
2
 
7
3
  registerProgress();
@@ -1,9 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition38.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/base-progress.cjs');
6
- require('../shared/when.cjs');
7
- require('../shared/class-names.cjs');
8
4
 
9
5
  definition.registerProgressRing();
@@ -1,7 +1,3 @@
1
1
  import { r as registerProgressRing } from '../shared/definition38.js';
2
- import '../shared/index.js';
3
- import '../shared/base-progress.js';
4
- import '../shared/when.js';
5
- import '../shared/class-names.js';
6
2
 
7
3
  registerProgressRing();
package/radio/index.cjs CHANGED
@@ -1,11 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition41.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/radio.cjs');
6
- require('../shared/form-associated.cjs');
7
- require('../shared/key-codes.cjs');
8
- require('../shared/when.cjs');
9
- require('../shared/class-names.cjs');
10
4
 
11
5
  definition.registerRadio();
package/radio/index.js CHANGED
@@ -1,9 +1,3 @@
1
1
  import { b as registerRadio } from '../shared/definition41.js';
2
- import '../shared/index.js';
3
- import '../shared/radio.js';
4
- import '../shared/form-associated.js';
5
- import '../shared/key-codes.js';
6
- import '../shared/when.js';
7
- import '../shared/class-names.js';
8
2
 
9
3
  registerRadio();
@@ -1,14 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition40.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/direction.cjs');
6
- require('../shared/key-codes.cjs');
7
- require('../shared/aria.cjs');
8
- require('../shared/radio.cjs');
9
- require('../shared/form-associated.cjs');
10
- require('../shared/slotted.cjs');
11
- require('../shared/when.cjs');
12
- require('../shared/aria2.cjs');
13
4
 
14
5
  definition.registerRadioGroup();
@@ -1,12 +1,3 @@
1
1
  import { b as registerRadioGroup } from '../shared/definition40.js';
2
- import '../shared/index.js';
3
- import '../shared/direction.js';
4
- import '../shared/key-codes.js';
5
- import '../shared/aria.js';
6
- import '../shared/radio.js';
7
- import '../shared/form-associated.js';
8
- import '../shared/slotted.js';
9
- import '../shared/when.js';
10
- import '../shared/aria2.js';
11
2
 
12
3
  registerRadioGroup();
@@ -1,22 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition42.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/key-codes2.cjs');
6
- require('../shared/affix.cjs');
7
- require('../shared/icon.cjs');
8
- require('../shared/_has.cjs');
9
- require('../shared/slotted.cjs');
10
- require('../shared/index2.cjs');
11
- require('../shared/class-names.cjs');
12
- require('../shared/when.cjs');
13
- require('../locales/en-US.cjs');
14
- require('../shared/localized.cjs');
15
- require('../shared/form-associated.cjs');
16
- require('../shared/key-codes.cjs');
17
- require('../shared/slider.template.cjs');
18
- require('../shared/aria2.cjs');
19
- require('../shared/ref.cjs');
20
- require('../shared/apply-mixins.cjs');
21
4
 
22
5
  definition.registerRangeSlider();
@@ -1,20 +1,3 @@
1
1
  import { b as registerRangeSlider } from '../shared/definition42.js';
2
- import '../shared/index.js';
3
- import '../shared/key-codes2.js';
4
- import '../shared/affix.js';
5
- import '../shared/icon.js';
6
- import '../shared/_has.js';
7
- import '../shared/slotted.js';
8
- import '../shared/index2.js';
9
- import '../shared/class-names.js';
10
- import '../shared/when.js';
11
- import '../locales/en-US.js';
12
- import '../shared/localized.js';
13
- import '../shared/form-associated.js';
14
- import '../shared/key-codes.js';
15
- import '../shared/slider.template.js';
16
- import '../shared/aria2.js';
17
- import '../shared/ref.js';
18
- import '../shared/apply-mixins.js';
19
2
 
20
3
  registerRangeSlider();
package/select/index.cjs CHANGED
@@ -1,36 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition43.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/definition63.cjs');
6
- require('../shared/definition11.cjs');
7
- require('../shared/definition27.cjs');
8
- require('../shared/icon.cjs');
9
- require('../shared/_has.cjs');
10
- require('../shared/class-names.cjs');
11
- require('../shared/when.cjs');
12
- require('../shared/definition38.cjs');
13
- require('../shared/base-progress.cjs');
14
- require('../shared/affix.cjs');
15
- require('../shared/slotted.cjs');
16
- require('../shared/button.cjs');
17
- require('../shared/apply-mixins.cjs');
18
- require('../shared/form-associated.cjs');
19
- require('../shared/key-codes.cjs');
20
- require('../shared/aria-global.cjs');
21
- require('../shared/start-end.cjs');
22
- require('../shared/ref.cjs');
23
- require('../shared/enums.cjs');
24
- require('../shared/definition62.cjs');
25
- require('../shared/definition36.cjs');
26
- require('../shared/dom.cjs');
27
- require('../shared/index2.cjs');
28
- require('../locales/en-US.cjs');
29
- require('../shared/listbox.cjs');
30
- require('../shared/key-codes2.cjs');
31
- require('../shared/strings.cjs');
32
- require('../shared/numbers.cjs');
33
- require('../shared/applyMixinsWithObservables.cjs');
34
- require('../shared/select.options.cjs');
35
4
 
36
5
  definition.registerSelect();
package/select/index.js CHANGED
@@ -1,34 +1,3 @@
1
1
  import { r as registerSelect } from '../shared/definition43.js';
2
- import '../shared/index.js';
3
- import '../shared/definition63.js';
4
- import '../shared/definition11.js';
5
- import '../shared/definition27.js';
6
- import '../shared/icon.js';
7
- import '../shared/_has.js';
8
- import '../shared/class-names.js';
9
- import '../shared/when.js';
10
- import '../shared/definition38.js';
11
- import '../shared/base-progress.js';
12
- import '../shared/affix.js';
13
- import '../shared/slotted.js';
14
- import '../shared/button.js';
15
- import '../shared/apply-mixins.js';
16
- import '../shared/form-associated.js';
17
- import '../shared/key-codes.js';
18
- import '../shared/aria-global.js';
19
- import '../shared/start-end.js';
20
- import '../shared/ref.js';
21
- import '../shared/enums.js';
22
- import '../shared/definition62.js';
23
- import '../shared/definition36.js';
24
- import '../shared/dom.js';
25
- import '../shared/index2.js';
26
- import '../locales/en-US.js';
27
- import '../shared/listbox.js';
28
- import '../shared/key-codes2.js';
29
- import '../shared/strings.js';
30
- import '../shared/numbers.js';
31
- import '../shared/applyMixinsWithObservables.js';
32
- import '../shared/select.options.js';
33
2
 
34
3
  registerSelect();
@@ -1,23 +1,5 @@
1
1
  'use strict';
2
2
 
3
3
  const definition = require('../shared/definition44.cjs');
4
- require('../shared/index.cjs');
5
- require('../shared/definition15.cjs');
6
- require('../shared/definition27.cjs');
7
- require('../shared/icon.cjs');
8
- require('../shared/_has.cjs');
9
- require('../shared/class-names.cjs');
10
- require('../shared/when.cjs');
11
- require('../shared/affix.cjs');
12
- require('../shared/slotted.cjs');
13
- require('../shared/index2.cjs');
14
- require('../locales/en-US.cjs');
15
- require('../shared/applyMixinsWithObservables.cjs');
16
- require('../shared/apply-mixins.cjs');
17
- require('../shared/form-associated.cjs');
18
- require('../shared/key-codes.cjs');
19
- require('../shared/definition41.cjs');
20
- require('../shared/radio.cjs');
21
- require('../shared/enums.cjs');
22
4
 
23
5
  definition.registerSelectableBox();
@@ -1,21 +1,3 @@
1
1
  import { r as registerSelectableBox } from '../shared/definition44.js';
2
- import '../shared/index.js';
3
- import '../shared/definition15.js';
4
- import '../shared/definition27.js';
5
- import '../shared/icon.js';
6
- import '../shared/_has.js';
7
- import '../shared/class-names.js';
8
- import '../shared/when.js';
9
- import '../shared/affix.js';
10
- import '../shared/slotted.js';
11
- import '../shared/index2.js';
12
- import '../locales/en-US.js';
13
- import '../shared/applyMixinsWithObservables.js';
14
- import '../shared/apply-mixins.js';
15
- import '../shared/form-associated.js';
16
- import '../shared/key-codes.js';
17
- import '../shared/definition41.js';
18
- import '../shared/radio.js';
19
- import '../shared/enums.js';
20
2
 
21
3
  registerSelectableBox();
package/shared/affix.cjs CHANGED
@@ -5,13 +5,12 @@ const index = require('./index.cjs');
5
5
  const slotted = require('./slotted.cjs');
6
6
 
7
7
  var __defProp = Object.defineProperty;
8
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
9
8
  var __decorateClass = (decorators, target, key, kind) => {
10
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
9
+ var result = void 0 ;
11
10
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
12
11
  if (decorator = decorators[i])
13
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
14
- if (kind && result)
12
+ result = (decorator(target, key, result) ) || result;
13
+ if (result)
15
14
  __defProp(target, key, result);
16
15
  return result;
17
16
  };
@@ -19,10 +18,10 @@ class AffixIcon {
19
18
  }
20
19
  __decorateClass([
21
20
  index.attr
22
- ], AffixIcon.prototype, "icon", 2);
21
+ ], AffixIcon.prototype, "icon");
23
22
  __decorateClass([
24
23
  index.attr({ mode: "fromView" })
25
- ], AffixIcon.prototype, "iconSlottedContent", 2);
24
+ ], AffixIcon.prototype, "iconSlottedContent");
26
25
  class AffixIconWithTrailing extends AffixIcon {
27
26
  constructor() {
28
27
  super(...arguments);
@@ -34,7 +33,7 @@ __decorateClass([
34
33
  mode: "boolean",
35
34
  attribute: "icon-trailing"
36
35
  })
37
- ], AffixIconWithTrailing.prototype, "iconTrailing", 2);
36
+ ], AffixIconWithTrailing.prototype, "iconTrailing");
38
37
  const IconWrapper = {
39
38
  Slot: false,
40
39
  Span: true
package/shared/affix.js CHANGED
@@ -3,13 +3,12 @@ import { a as attr, h as html } from './index.js';
3
3
  import { s as slotted } from './slotted.js';
4
4
 
5
5
  var __defProp = Object.defineProperty;
6
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
7
6
  var __decorateClass = (decorators, target, key, kind) => {
8
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
7
+ var result = void 0 ;
9
8
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
10
9
  if (decorator = decorators[i])
11
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
12
- if (kind && result)
10
+ result = (decorator(target, key, result) ) || result;
11
+ if (result)
13
12
  __defProp(target, key, result);
14
13
  return result;
15
14
  };
@@ -17,10 +16,10 @@ class AffixIcon {
17
16
  }
18
17
  __decorateClass([
19
18
  attr
20
- ], AffixIcon.prototype, "icon", 2);
19
+ ], AffixIcon.prototype, "icon");
21
20
  __decorateClass([
22
21
  attr({ mode: "fromView" })
23
- ], AffixIcon.prototype, "iconSlottedContent", 2);
22
+ ], AffixIcon.prototype, "iconSlottedContent");
24
23
  class AffixIconWithTrailing extends AffixIcon {
25
24
  constructor() {
26
25
  super(...arguments);
@@ -32,7 +31,7 @@ __decorateClass([
32
31
  mode: "boolean",
33
32
  attribute: "icon-trailing"
34
33
  })
35
- ], AffixIconWithTrailing.prototype, "iconTrailing", 2);
34
+ ], AffixIconWithTrailing.prototype, "iconTrailing");
36
35
  const IconWrapper = {
37
36
  Slot: false,
38
37
  Span: true
@@ -4,54 +4,17 @@ const index = require('./index.cjs');
4
4
  const slotted = require('./slotted.cjs');
5
5
 
6
6
  var __defProp = Object.defineProperty;
7
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
7
  var __decorateClass = (decorators, target, key, kind) => {
9
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
8
+ var result = void 0 ;
10
9
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
11
10
  if (decorator = decorators[i])
12
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
13
- if (kind && result)
11
+ result = (decorator(target, key, result) ) || result;
12
+ if (result)
14
13
  __defProp(target, key, result);
15
14
  return result;
16
15
  };
17
16
  function anchored(constructor) {
18
17
  class Decorated extends constructor {
19
- constructor() {
20
- super(...arguments);
21
- this.#updateAnchorEl = () => {
22
- if (!this.isConnected) {
23
- this._anchorEl = void 0;
24
- return;
25
- }
26
- this.#cleanupObserverIfNeeded();
27
- let newAnchor = void 0;
28
- if (this._slottedAnchor && this._slottedAnchor.length > 0) {
29
- newAnchor = this._slottedAnchor[0];
30
- } else if (this.anchor instanceof HTMLElement) {
31
- newAnchor = this.anchor;
32
- } else if (typeof this.anchor === "string") {
33
- newAnchor = document.getElementById(this.anchor) ?? void 0;
34
- if (!newAnchor) {
35
- this.#observeMissingAnchor(this.anchor);
36
- }
37
- }
38
- this._anchorEl = newAnchor;
39
- };
40
- this.#observeMissingAnchor = (anchorId) => {
41
- this.#observer = new MutationObserver(() => {
42
- const anchor = document.getElementById(anchorId);
43
- if (anchor) {
44
- this._anchorEl = anchor;
45
- this.#cleanupObserverIfNeeded();
46
- }
47
- });
48
- this.#observer.observe(document.body, { childList: true, subtree: true });
49
- };
50
- this.#cleanupObserverIfNeeded = () => {
51
- this.#observer?.disconnect();
52
- this.#observer = void 0;
53
- };
54
- }
55
18
  /**
56
19
  * @internal
57
20
  */
@@ -72,10 +35,40 @@ function anchored(constructor) {
72
35
  );
73
36
  this.#updateAnchorEl();
74
37
  }
75
- #updateAnchorEl;
38
+ #updateAnchorEl = () => {
39
+ if (!this.isConnected) {
40
+ this._anchorEl = void 0;
41
+ return;
42
+ }
43
+ this.#cleanupObserverIfNeeded();
44
+ let newAnchor = void 0;
45
+ if (this._slottedAnchor && this._slottedAnchor.length > 0) {
46
+ newAnchor = this._slottedAnchor[0];
47
+ } else if (this.anchor instanceof HTMLElement) {
48
+ newAnchor = this.anchor;
49
+ } else if (typeof this.anchor === "string") {
50
+ newAnchor = document.getElementById(this.anchor) ?? void 0;
51
+ if (!newAnchor) {
52
+ this.#observeMissingAnchor(this.anchor);
53
+ }
54
+ }
55
+ this._anchorEl = newAnchor;
56
+ };
76
57
  #observer;
77
- #observeMissingAnchor;
78
- #cleanupObserverIfNeeded;
58
+ #observeMissingAnchor = (anchorId) => {
59
+ this.#observer = new MutationObserver(() => {
60
+ const anchor = document.getElementById(anchorId);
61
+ if (anchor) {
62
+ this._anchorEl = anchor;
63
+ this.#cleanupObserverIfNeeded();
64
+ }
65
+ });
66
+ this.#observer.observe(document.body, { childList: true, subtree: true });
67
+ };
68
+ #cleanupObserverIfNeeded = () => {
69
+ this.#observer?.disconnect();
70
+ this.#observer = void 0;
71
+ };
79
72
  connectedCallback() {
80
73
  super.connectedCallback();
81
74
  this.#updateAnchorEl();
@@ -88,13 +81,13 @@ function anchored(constructor) {
88
81
  }
89
82
  __decorateClass([
90
83
  index.attr
91
- ], Decorated.prototype, "anchor", 2);
84
+ ], Decorated.prototype, "anchor");
92
85
  __decorateClass([
93
86
  index.observable
94
- ], Decorated.prototype, "_slottedAnchor", 2);
87
+ ], Decorated.prototype, "_slottedAnchor");
95
88
  __decorateClass([
96
89
  index.observable
97
- ], Decorated.prototype, "_anchorEl", 2);
90
+ ], Decorated.prototype, "_anchorEl");
98
91
  return Decorated;
99
92
  }
100
93
  const anchorSlotTemplateFactory = () => index.html`<slot name="anchor" ${slotted.slotted("_slottedAnchor")}></slot>`;
@@ -2,54 +2,17 @@ import { a as attr, o as observable, h as html, D as DOM } from './index.js';
2
2
  import { s as slotted } from './slotted.js';
3
3
 
4
4
  var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __decorateClass = (decorators, target, key, kind) => {
7
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
6
+ var result = void 0 ;
8
7
  for (var i = decorators.length - 1, decorator; i >= 0; i--)
9
8
  if (decorator = decorators[i])
10
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
11
- if (kind && result)
9
+ result = (decorator(target, key, result) ) || result;
10
+ if (result)
12
11
  __defProp(target, key, result);
13
12
  return result;
14
13
  };
15
14
  function anchored(constructor) {
16
15
  class Decorated extends constructor {
17
- constructor() {
18
- super(...arguments);
19
- this.#updateAnchorEl = () => {
20
- if (!this.isConnected) {
21
- this._anchorEl = void 0;
22
- return;
23
- }
24
- this.#cleanupObserverIfNeeded();
25
- let newAnchor = void 0;
26
- if (this._slottedAnchor && this._slottedAnchor.length > 0) {
27
- newAnchor = this._slottedAnchor[0];
28
- } else if (this.anchor instanceof HTMLElement) {
29
- newAnchor = this.anchor;
30
- } else if (typeof this.anchor === "string") {
31
- newAnchor = document.getElementById(this.anchor) ?? void 0;
32
- if (!newAnchor) {
33
- this.#observeMissingAnchor(this.anchor);
34
- }
35
- }
36
- this._anchorEl = newAnchor;
37
- };
38
- this.#observeMissingAnchor = (anchorId) => {
39
- this.#observer = new MutationObserver(() => {
40
- const anchor = document.getElementById(anchorId);
41
- if (anchor) {
42
- this._anchorEl = anchor;
43
- this.#cleanupObserverIfNeeded();
44
- }
45
- });
46
- this.#observer.observe(document.body, { childList: true, subtree: true });
47
- };
48
- this.#cleanupObserverIfNeeded = () => {
49
- this.#observer?.disconnect();
50
- this.#observer = void 0;
51
- };
52
- }
53
16
  /**
54
17
  * @internal
55
18
  */
@@ -70,10 +33,40 @@ function anchored(constructor) {
70
33
  );
71
34
  this.#updateAnchorEl();
72
35
  }
73
- #updateAnchorEl;
36
+ #updateAnchorEl = () => {
37
+ if (!this.isConnected) {
38
+ this._anchorEl = void 0;
39
+ return;
40
+ }
41
+ this.#cleanupObserverIfNeeded();
42
+ let newAnchor = void 0;
43
+ if (this._slottedAnchor && this._slottedAnchor.length > 0) {
44
+ newAnchor = this._slottedAnchor[0];
45
+ } else if (this.anchor instanceof HTMLElement) {
46
+ newAnchor = this.anchor;
47
+ } else if (typeof this.anchor === "string") {
48
+ newAnchor = document.getElementById(this.anchor) ?? void 0;
49
+ if (!newAnchor) {
50
+ this.#observeMissingAnchor(this.anchor);
51
+ }
52
+ }
53
+ this._anchorEl = newAnchor;
54
+ };
74
55
  #observer;
75
- #observeMissingAnchor;
76
- #cleanupObserverIfNeeded;
56
+ #observeMissingAnchor = (anchorId) => {
57
+ this.#observer = new MutationObserver(() => {
58
+ const anchor = document.getElementById(anchorId);
59
+ if (anchor) {
60
+ this._anchorEl = anchor;
61
+ this.#cleanupObserverIfNeeded();
62
+ }
63
+ });
64
+ this.#observer.observe(document.body, { childList: true, subtree: true });
65
+ };
66
+ #cleanupObserverIfNeeded = () => {
67
+ this.#observer?.disconnect();
68
+ this.#observer = void 0;
69
+ };
77
70
  connectedCallback() {
78
71
  super.connectedCallback();
79
72
  this.#updateAnchorEl();
@@ -86,13 +79,13 @@ function anchored(constructor) {
86
79
  }
87
80
  __decorateClass([
88
81
  attr
89
- ], Decorated.prototype, "anchor", 2);
82
+ ], Decorated.prototype, "anchor");
90
83
  __decorateClass([
91
84
  observable
92
- ], Decorated.prototype, "_slottedAnchor", 2);
85
+ ], Decorated.prototype, "_slottedAnchor");
93
86
  __decorateClass([
94
87
  observable
95
- ], Decorated.prototype, "_anchorEl", 2);
88
+ ], Decorated.prototype, "_anchorEl");
96
89
  return Decorated;
97
90
  }
98
91
  const anchorSlotTemplateFactory = () => html`<slot name="anchor" ${slotted("_slottedAnchor")}></slot>`;