@vonage/vivid 3.27.0 → 3.29.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 (372) hide show
  1. package/README.md +2 -1
  2. package/accordion/index.js +0 -2
  3. package/accordion-item/index.js +0 -2
  4. package/alert/index.js +0 -2
  5. package/avatar/index.js +0 -2
  6. package/badge/index.js +0 -2
  7. package/banner/index.js +0 -2
  8. package/breadcrumb-item/index.js +0 -2
  9. package/button/index.js +0 -2
  10. package/calendar/index.js +0 -1
  11. package/calendar-event/index.js +0 -2
  12. package/card/index.js +0 -2
  13. package/checkbox/index.js +0 -2
  14. package/combobox/index.js +0 -3
  15. package/custom-elements.json +173 -52
  16. package/data-grid/index.js +1 -5
  17. package/dialog/index.js +0 -2
  18. package/empty-state/index.js +0 -2
  19. package/fab/index.js +0 -2
  20. package/file-picker/index.js +0 -2
  21. package/icon/index.js +0 -2
  22. package/index.d.ts +3 -3
  23. package/index.js +1 -6
  24. package/lib/accordion/accordion.d.ts +5 -5
  25. package/lib/accordion/accordion.template.d.ts +3 -3
  26. package/lib/accordion/definition.d.ts +2 -2
  27. package/lib/accordion/index.d.ts +1 -1
  28. package/lib/accordion-item/accordion-item.d.ts +12 -12
  29. package/lib/accordion-item/accordion-item.template.d.ts +4 -4
  30. package/lib/accordion-item/definition.d.ts +1 -1
  31. package/lib/accordion-item/index.d.ts +1 -1
  32. package/lib/action-group/action-group.d.ts +11 -11
  33. package/lib/action-group/action-group.template.d.ts +4 -4
  34. package/lib/action-group/definition.d.ts +2 -2
  35. package/lib/action-group/index.d.ts +1 -1
  36. package/lib/alert/alert.d.ts +22 -22
  37. package/lib/alert/alert.template.d.ts +4 -4
  38. package/lib/alert/definition.d.ts +2 -2
  39. package/lib/alert/index.d.ts +1 -1
  40. package/lib/avatar/avatar.d.ts +14 -14
  41. package/lib/avatar/avatar.template.d.ts +4 -4
  42. package/lib/avatar/definition.d.ts +2 -2
  43. package/lib/avatar/index.d.ts +1 -1
  44. package/lib/badge/badge.d.ts +14 -14
  45. package/lib/badge/badge.template.d.ts +4 -4
  46. package/lib/badge/definition.d.ts +4 -4
  47. package/lib/badge/index.d.ts +1 -1
  48. package/lib/banner/banner.d.ts +20 -20
  49. package/lib/banner/banner.template.d.ts +4 -4
  50. package/lib/banner/definition.d.ts +2 -2
  51. package/lib/banner/index.d.ts +1 -1
  52. package/lib/breadcrumb/breadcrumb.d.ts +3 -3
  53. package/lib/breadcrumb/breadcrumb.template.d.ts +4 -4
  54. package/lib/breadcrumb/definition.d.ts +1 -1
  55. package/lib/breadcrumb/index.d.ts +1 -1
  56. package/lib/breadcrumb-item/breadcrumb-item.d.ts +5 -5
  57. package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +4 -4
  58. package/lib/breadcrumb-item/definition.d.ts +1 -1
  59. package/lib/breadcrumb-item/index.d.ts +1 -1
  60. package/lib/button/button.d.ts +18 -18
  61. package/lib/button/button.template.d.ts +4 -4
  62. package/lib/button/definition.d.ts +2 -2
  63. package/lib/button/index.d.ts +1 -1
  64. package/lib/calendar/calendar.d.ts +13 -13
  65. package/lib/calendar/calendar.template.d.ts +4 -4
  66. package/lib/calendar/definition.d.ts +1 -1
  67. package/lib/calendar/helpers/calendar.date-functions.d.ts +2 -2
  68. package/lib/calendar/helpers/calendar.event-context.d.ts +6 -6
  69. package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +9 -9
  70. package/lib/calendar/index.d.ts +1 -1
  71. package/lib/calendar-event/calendar-event.d.ts +13 -13
  72. package/lib/calendar-event/calendar-event.template.d.ts +4 -4
  73. package/lib/calendar-event/definition.d.ts +2 -2
  74. package/lib/calendar-event/index.d.ts +1 -1
  75. package/lib/card/card.d.ts +10 -10
  76. package/lib/card/card.template.d.ts +4 -4
  77. package/lib/card/definition.d.ts +1 -1
  78. package/lib/card/index.d.ts +1 -1
  79. package/lib/checkbox/checkbox.d.ts +10 -11
  80. package/lib/checkbox/checkbox.template.d.ts +4 -4
  81. package/lib/checkbox/definition.d.ts +1 -1
  82. package/lib/checkbox/index.d.ts +1 -1
  83. package/lib/combobox/combobox.d.ts +12 -13
  84. package/lib/combobox/combobox.template.d.ts +4 -4
  85. package/lib/combobox/definition.d.ts +3 -4
  86. package/lib/combobox/index.d.ts +1 -1
  87. package/lib/components.d.ts +52 -52
  88. package/lib/data-grid/data-grid-cell.d.ts +22 -22
  89. package/lib/data-grid/data-grid-cell.template.d.ts +4 -4
  90. package/lib/data-grid/data-grid-row.d.ts +4 -4
  91. package/lib/data-grid/data-grid-row.template.d.ts +3 -3
  92. package/lib/data-grid/data-grid.d.ts +20 -20
  93. package/lib/data-grid/data-grid.options.d.ts +38 -38
  94. package/lib/data-grid/data-grid.template.d.ts +3 -3
  95. package/lib/data-grid/definition.d.ts +6 -6
  96. package/lib/data-grid/index.d.ts +1 -1
  97. package/lib/dialog/definition.d.ts +2 -2
  98. package/lib/dialog/dialog.d.ts +26 -26
  99. package/lib/dialog/dialog.template.d.ts +4 -4
  100. package/lib/dialog/index.d.ts +1 -1
  101. package/lib/divider/definition.d.ts +1 -1
  102. package/lib/divider/divider.d.ts +3 -3
  103. package/lib/divider/divider.template.d.ts +4 -4
  104. package/lib/divider/index.d.ts +1 -1
  105. package/lib/elevation/definition.d.ts +1 -1
  106. package/lib/elevation/elevation.d.ts +5 -5
  107. package/lib/elevation/elevation.template.d.ts +4 -4
  108. package/lib/elevation/index.d.ts +1 -1
  109. package/lib/empty-state/definition.d.ts +3 -3
  110. package/lib/empty-state/empty-state.d.ts +5 -5
  111. package/lib/empty-state/empty-state.template.d.ts +4 -4
  112. package/lib/empty-state/index.d.ts +1 -1
  113. package/lib/enums.d.ts +60 -60
  114. package/lib/fab/definition.d.ts +4 -4
  115. package/lib/fab/fab.d.ts +12 -12
  116. package/lib/fab/fab.template.d.ts +4 -4
  117. package/lib/fab/index.d.ts +1 -1
  118. package/lib/file-picker/definition.d.ts +3 -3
  119. package/lib/file-picker/file-picker.d.ts +22 -22
  120. package/lib/file-picker/file-picker.template.d.ts +4 -4
  121. package/lib/file-picker/index.d.ts +1 -1
  122. package/lib/focus/definition.d.ts +3 -3
  123. package/lib/focus/focus.d.ts +3 -3
  124. package/lib/focus/focus.template.d.ts +4 -4
  125. package/lib/focus/index.d.ts +1 -1
  126. package/lib/header/definition.d.ts +3 -3
  127. package/lib/header/header.d.ts +5 -5
  128. package/lib/header/header.template.d.ts +4 -4
  129. package/lib/header/index.d.ts +1 -1
  130. package/lib/icon/definition.d.ts +4 -4
  131. package/lib/icon/icon.d.ts +12 -12
  132. package/lib/icon/icon.placeholder.d.ts +1 -1
  133. package/lib/icon/icon.template.d.ts +4 -4
  134. package/lib/icon/index.d.ts +1 -1
  135. package/lib/layout/definition.d.ts +4 -4
  136. package/lib/layout/index.d.ts +1 -1
  137. package/lib/layout/layout.d.ts +17 -17
  138. package/lib/layout/layout.template.d.ts +4 -4
  139. package/lib/listbox/definition.d.ts +4 -4
  140. package/lib/listbox/index.d.ts +1 -1
  141. package/lib/listbox/listbox.d.ts +6 -6
  142. package/lib/listbox/listbox.template.d.ts +4 -4
  143. package/lib/menu/definition.d.ts +12 -12
  144. package/lib/menu/index.d.ts +1 -1
  145. package/lib/menu/menu.d.ts +16 -15
  146. package/lib/menu/menu.template.d.ts +3 -3
  147. package/lib/menu-item/definition.d.ts +3 -3
  148. package/lib/menu-item/index.d.ts +1 -1
  149. package/lib/menu-item/menu-item.d.ts +14 -14
  150. package/lib/menu-item/menu-item.template.d.ts +4 -4
  151. package/lib/nav/definition.d.ts +3 -3
  152. package/lib/nav/index.d.ts +1 -1
  153. package/lib/nav/nav.d.ts +3 -3
  154. package/lib/nav/nav.template.d.ts +4 -4
  155. package/lib/nav-disclosure/definition.d.ts +3 -3
  156. package/lib/nav-disclosure/index.d.ts +1 -1
  157. package/lib/nav-disclosure/nav-disclosure.d.ts +10 -10
  158. package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -4
  159. package/lib/nav-item/definition.d.ts +3 -3
  160. package/lib/nav-item/index.d.ts +1 -1
  161. package/lib/nav-item/nav-item.d.ts +7 -7
  162. package/lib/nav-item/nav-item.template.d.ts +4 -4
  163. package/lib/note/definition.d.ts +4 -4
  164. package/lib/note/index.d.ts +1 -1
  165. package/lib/note/note.d.ts +10 -10
  166. package/lib/note/note.template.d.ts +4 -4
  167. package/lib/number-field/definition.d.ts +5 -5
  168. package/lib/number-field/index.d.ts +1 -1
  169. package/lib/number-field/number-field.d.ts +13 -13
  170. package/lib/number-field/number-field.template.d.ts +4 -4
  171. package/lib/option/definition.d.ts +3 -3
  172. package/lib/option/index.d.ts +1 -1
  173. package/lib/option/option.d.ts +12 -12
  174. package/lib/option/option.template.d.ts +4 -4
  175. package/lib/pagination/definition.d.ts +3 -3
  176. package/lib/pagination/index.d.ts +1 -1
  177. package/lib/pagination/pagination.d.ts +18 -18
  178. package/lib/pagination/pagination.template.d.ts +4 -4
  179. package/lib/popup/definition.d.ts +5 -5
  180. package/lib/popup/index.d.ts +1 -1
  181. package/lib/popup/popup.d.ts +21 -21
  182. package/lib/popup/popup.template.d.ts +4 -4
  183. package/lib/progress/definition.d.ts +4 -4
  184. package/lib/progress/index.d.ts +1 -1
  185. package/lib/progress/progress.d.ts +9 -9
  186. package/lib/progress/progress.template.d.ts +5 -5
  187. package/lib/progress-ring/definition.d.ts +4 -4
  188. package/lib/progress-ring/index.d.ts +1 -1
  189. package/lib/progress-ring/progress-ring.d.ts +7 -7
  190. package/lib/progress-ring/progress-ring.template.d.ts +4 -4
  191. package/lib/radio/definition.d.ts +3 -3
  192. package/lib/radio/index.d.ts +1 -1
  193. package/lib/radio/radio.d.ts +7 -7
  194. package/lib/radio/radio.template.d.ts +4 -4
  195. package/lib/radio-group/definition.d.ts +11 -11
  196. package/lib/radio-group/index.d.ts +1 -1
  197. package/lib/radio-group/radio-group.d.ts +4 -4
  198. package/lib/radio-group/radio-group.template.d.ts +4 -4
  199. package/lib/select/definition.d.ts +4 -4
  200. package/lib/select/index.d.ts +1 -1
  201. package/lib/select/select.d.ts +17 -18
  202. package/lib/select/select.template.d.ts +4 -4
  203. package/lib/side-drawer/definition.d.ts +3 -3
  204. package/lib/side-drawer/index.d.ts +1 -1
  205. package/lib/side-drawer/side-drawer.d.ts +9 -9
  206. package/lib/side-drawer/side-drawer.template.d.ts +4 -4
  207. package/lib/slider/definition.d.ts +3 -3
  208. package/lib/slider/index.d.ts +1 -1
  209. package/lib/slider/slider.d.ts +4 -4
  210. package/lib/slider/slider.template.d.ts +4 -4
  211. package/lib/switch/definition.d.ts +4 -4
  212. package/lib/switch/index.d.ts +1 -1
  213. package/lib/switch/switch.d.ts +7 -7
  214. package/lib/switch/switch.template.d.ts +4 -4
  215. package/lib/tab/definition.d.ts +4 -4
  216. package/lib/tab/index.d.ts +1 -1
  217. package/lib/tab/tab.d.ts +14 -14
  218. package/lib/tab/tab.template.d.ts +3 -3
  219. package/lib/tab-panel/definition.d.ts +3 -3
  220. package/lib/tab-panel/index.d.ts +1 -1
  221. package/lib/tab-panel/tab-panel.d.ts +3 -3
  222. package/lib/tab-panel/tab-panel.template.d.ts +2 -2
  223. package/lib/tabs/definition.d.ts +3 -3
  224. package/lib/tabs/index.d.ts +1 -1
  225. package/lib/tabs/tabs.d.ts +15 -15
  226. package/lib/tabs/tabs.template.d.ts +2 -2
  227. package/lib/tag/definition.d.ts +4 -4
  228. package/lib/tag/index.d.ts +1 -1
  229. package/lib/tag/tag.d.ts +22 -22
  230. package/lib/tag/tag.template.d.ts +4 -4
  231. package/lib/tag-group/definition.d.ts +3 -3
  232. package/lib/tag-group/index.d.ts +1 -1
  233. package/lib/tag-group/tag-group.d.ts +3 -3
  234. package/lib/tag-group/tag-group.template.d.ts +4 -4
  235. package/lib/text-anchor/definition.d.ts +3 -3
  236. package/lib/text-anchor/index.d.ts +1 -1
  237. package/lib/text-anchor/text-anchor.d.ts +7 -7
  238. package/lib/text-anchor/text-anchor.template.d.ts +4 -4
  239. package/lib/text-area/definition.d.ts +4 -4
  240. package/lib/text-area/index.d.ts +1 -1
  241. package/lib/text-area/text-area.d.ts +8 -9
  242. package/lib/text-area/text-area.template.d.ts +4 -4
  243. package/lib/text-field/definition.d.ts +4 -4
  244. package/lib/text-field/index.d.ts +1 -1
  245. package/lib/text-field/text-field.d.ts +13 -14
  246. package/lib/text-field/text-field.template.d.ts +4 -4
  247. package/lib/toggletip/definition.d.ts +3 -3
  248. package/lib/toggletip/index.d.ts +1 -1
  249. package/lib/toggletip/toggletip.d.ts +15 -15
  250. package/lib/toggletip/toggletip.template.d.ts +4 -4
  251. package/lib/tooltip/definition.d.ts +3 -3
  252. package/lib/tooltip/index.d.ts +1 -1
  253. package/lib/tooltip/tooltip.d.ts +14 -14
  254. package/lib/tooltip/tooltip.template.d.ts +4 -4
  255. package/lib/tree-item/definition.d.ts +3 -3
  256. package/lib/tree-item/index.d.ts +1 -1
  257. package/lib/tree-item/tree-item.d.ts +7 -7
  258. package/lib/tree-item/tree-item.template.d.ts +4 -4
  259. package/lib/tree-view/definition.d.ts +3 -3
  260. package/lib/tree-view/index.d.ts +1 -1
  261. package/lib/tree-view/tree-view.d.ts +3 -3
  262. package/lib/tree-view/tree-view.template.d.ts +2 -2
  263. package/listbox/index.js +17 -21
  264. package/menu/index.js +0 -3
  265. package/menu-item/index.js +0 -3
  266. package/nav-disclosure/index.js +0 -2
  267. package/nav-item/index.js +0 -2
  268. package/note/index.js +0 -2
  269. package/number-field/index.js +0 -3
  270. package/option/index.js +0 -2
  271. package/package.json +9 -8
  272. package/pagination/index.js +1 -5
  273. package/popup/index.js +0 -3
  274. package/radio-group/index.js +2 -2
  275. package/select/index.js +0 -3
  276. package/shared/affix.js +2 -5
  277. package/shared/anchor.js +2 -1
  278. package/shared/apply-mixins.js +1 -1
  279. package/shared/definition.js +7 -9
  280. package/shared/definition10.js +13 -17
  281. package/shared/definition11.js +6 -9
  282. package/shared/definition12.js +16 -18
  283. package/shared/definition13.js +6 -8
  284. package/shared/definition14.js +7 -12
  285. package/shared/definition15.js +43 -52
  286. package/shared/definition16.js +8 -71
  287. package/shared/definition17.js +36 -45
  288. package/shared/definition18.js +19 -24
  289. package/shared/definition19.js +45 -49
  290. package/shared/definition2.js +24 -28
  291. package/shared/definition20.js +389 -280
  292. package/shared/definition21.js +12 -16
  293. package/shared/definition22.js +82 -168
  294. package/shared/definition23.js +35 -41
  295. package/shared/definition24.js +6 -8
  296. package/shared/definition25.js +10 -14
  297. package/shared/definition26.js +40 -42
  298. package/shared/definition27.js +24 -27
  299. package/shared/definition28.js +6 -8
  300. package/shared/definition29.js +3 -5
  301. package/shared/definition3.js +5 -9
  302. package/shared/definition30.js +88 -45
  303. package/shared/definition31.js +33 -43
  304. package/shared/definition32.js +2 -4
  305. package/shared/definition33.js +11 -15
  306. package/shared/definition34.js +5 -9
  307. package/shared/definition35.js +7 -11
  308. package/shared/definition36.js +66 -71
  309. package/shared/definition37.js +60 -101
  310. package/shared/definition38.js +14 -46
  311. package/shared/definition39.js +11 -14
  312. package/shared/definition4.js +3 -5
  313. package/shared/definition40.js +17 -20
  314. package/shared/definition41.js +56 -62
  315. package/shared/definition42.js +8 -11
  316. package/shared/definition43.js +20 -58
  317. package/shared/definition44.js +14 -17
  318. package/shared/definition45.js +8 -10
  319. package/shared/definition46.js +2 -4
  320. package/shared/definition47.js +12 -15
  321. package/shared/definition48.js +19 -24
  322. package/shared/definition49.js +3 -5
  323. package/shared/definition5.js +7 -8
  324. package/shared/definition50.js +51 -55
  325. package/shared/definition51.js +56 -60
  326. package/shared/definition52.js +12 -520
  327. package/shared/definition53.js +9 -11
  328. package/shared/definition54.js +27 -31
  329. package/shared/definition55.js +12 -14
  330. package/shared/definition6.js +17 -23
  331. package/shared/definition7.js +43 -47
  332. package/shared/definition8.js +3 -5
  333. package/shared/definition9.js +13 -17
  334. package/shared/design-system/index.d.ts +3 -3
  335. package/shared/focus2.js +1 -3
  336. package/shared/form-associated.js +1 -1
  337. package/shared/form-elements.js +16 -20
  338. package/shared/icon.js +2 -1171
  339. package/shared/index.js +41 -1549
  340. package/shared/listbox.js +1 -1
  341. package/shared/patterns/affix.d.ts +9 -9
  342. package/shared/patterns/focus.d.ts +3 -3
  343. package/shared/patterns/form-elements/form-elements.d.ts +57 -57
  344. package/shared/patterns/form-elements/index.d.ts +1 -1
  345. package/shared/patterns/index.d.ts +3 -3
  346. package/shared/repeat.js +1 -1
  347. package/shared/text-anchor.template.js +38 -40
  348. package/shared/text-field.js +1 -1
  349. package/shared/text-field2.js +1 -1
  350. package/shared/when.js +19 -5
  351. package/slider/index.js +0 -3
  352. package/styles/core/all.css +1 -1
  353. package/styles/core/theme.css +1 -1
  354. package/styles/core/typography.css +1 -1
  355. package/styles/tokens/theme-dark.css +17 -17
  356. package/styles/tokens/theme-light.css +17 -17
  357. package/switch/index.js +0 -2
  358. package/tab/index.js +0 -2
  359. package/tabs/index.js +0 -2
  360. package/tag/index.js +0 -2
  361. package/text-anchor/index.js +0 -2
  362. package/text-area/index.js +0 -2
  363. package/text-field/index.js +0 -2
  364. package/toggletip/index.js +0 -4
  365. package/tooltip/index.js +0 -3
  366. package/tree-item/index.js +1 -3
  367. package/vivid.api.json +48 -84
  368. package/shared/es.object.assign.js +0 -68
  369. package/shared/es.regexp.to-string.js +0 -61
  370. package/shared/es.string.includes.js +0 -83
  371. package/shared/string-trim.js +0 -40
  372. package/shared/to-string.js +0 -51
package/README.md CHANGED
@@ -167,4 +167,5 @@ This project is licensed under the Apache 2.0 License - see the [LICENSE.md](htt
167
167
  ---
168
168
  ## Have questions?
169
169
 
170
- Still looking for answers, ask us in [#ask-vivid](https://vonage.slack.com/archives/C013F0YKH99) slack channel.
170
+ Still looking for answers, ask us in [#ask-vivid](https://vonage.slack.com/archives/C013F0YKH99) slack channel.
171
+
@@ -3,8 +3,6 @@ import '../shared/index.js';
3
3
  import '../shared/definition2.js';
4
4
  import '../shared/definition3.js';
5
5
  import '../shared/icon.js';
6
- import '../shared/to-string.js';
7
- import '../shared/string-trim.js';
8
6
  import '../shared/_has.js';
9
7
  import '../shared/class-names.js';
10
8
  import '../shared/when.js';
@@ -2,8 +2,6 @@ import { r as registerAccordionItem } from '../shared/definition2.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/alert/index.js CHANGED
@@ -3,8 +3,6 @@ import '../shared/index.js';
3
3
  import '../shared/definition7.js';
4
4
  import '../shared/definition3.js';
5
5
  import '../shared/icon.js';
6
- import '../shared/to-string.js';
7
- import '../shared/string-trim.js';
8
6
  import '../shared/_has.js';
9
7
  import '../shared/class-names.js';
10
8
  import '../shared/when.js';
package/avatar/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerAvatar } from '../shared/definition10.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/badge/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerBadge } from '../shared/definition11.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/banner/index.js CHANGED
@@ -3,8 +3,6 @@ import '../shared/index.js';
3
3
  import '../shared/definition7.js';
4
4
  import '../shared/definition3.js';
5
5
  import '../shared/icon.js';
6
- import '../shared/to-string.js';
7
- import '../shared/string-trim.js';
8
6
  import '../shared/_has.js';
9
7
  import '../shared/class-names.js';
10
8
  import '../shared/when.js';
@@ -2,8 +2,6 @@ import { r as registerBreadcrumbItem } from '../shared/definition14.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/button/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerButton } from '../shared/definition7.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/calendar/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import { r as registerCalendar } from '../shared/definition15.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/calendar-event.js';
4
- import '../shared/es.object.assign.js';
5
4
  import '../shared/_has.js';
6
5
  import '../shared/repeat.js';
7
6
 
@@ -1,8 +1,6 @@
1
1
  import { r as registerCalendarEvent } from '../shared/definition16.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/calendar-event.js';
4
- import '../shared/es.object.assign.js';
5
- import '../shared/to-string.js';
6
4
  import '../shared/when.js';
7
5
  import '../shared/class-names.js';
8
6
 
package/card/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerCard } from '../shared/definition17.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/checkbox/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerCheckbox } from '../shared/definition18.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/combobox/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerCombobox } from '../shared/definition19.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
@@ -23,7 +21,6 @@ import '../shared/start-end.js';
23
21
  import '../shared/ref.js';
24
22
  import '../shared/focus2.js';
25
23
  import '../shared/definition8.js';
26
- import '../shared/es.object.assign.js';
27
24
  import '../shared/definition21.js';
28
25
  import '../shared/dom.js';
29
26
  import '../shared/form-elements.js';
@@ -297,8 +297,9 @@
297
297
  "kind": "field",
298
298
  "name": "role",
299
299
  "type": {
300
- "text": "string | undefined"
301
- }
300
+ "text": "string | null"
301
+ },
302
+ "default": "null"
302
303
  },
303
304
  {
304
305
  "kind": "field",
@@ -337,8 +338,9 @@
337
338
  {
338
339
  "name": "role",
339
340
  "type": {
340
- "text": "string | undefined"
341
+ "text": "string | null"
341
342
  },
343
+ "default": "null",
342
344
  "fieldName": "role"
343
345
  },
344
346
  {
@@ -1347,6 +1349,14 @@
1347
1349
  }
1348
1350
  ],
1349
1351
  "members": [
1352
+ {
1353
+ "kind": "field",
1354
+ "name": "role",
1355
+ "type": {
1356
+ "text": "string | null"
1357
+ },
1358
+ "default": "null"
1359
+ },
1350
1360
  {
1351
1361
  "kind": "field",
1352
1362
  "name": "actionHref",
@@ -1376,13 +1386,6 @@
1376
1386
  "text": "any"
1377
1387
  }
1378
1388
  },
1379
- {
1380
- "kind": "field",
1381
- "name": "role",
1382
- "type": {
1383
- "text": "string | undefined"
1384
- }
1385
- },
1386
1389
  {
1387
1390
  "kind": "field",
1388
1391
  "name": "text",
@@ -1423,6 +1426,14 @@
1423
1426
  }
1424
1427
  ],
1425
1428
  "attributes": [
1429
+ {
1430
+ "name": "role",
1431
+ "type": {
1432
+ "text": "string | null"
1433
+ },
1434
+ "default": "null",
1435
+ "fieldName": "role"
1436
+ },
1426
1437
  {
1427
1438
  "name": "action-href",
1428
1439
  "type": {
@@ -1451,13 +1462,6 @@
1451
1462
  },
1452
1463
  "fieldName": "ariaLive"
1453
1464
  },
1454
- {
1455
- "name": "role",
1456
- "type": {
1457
- "text": "string | undefined"
1458
- },
1459
- "fieldName": "role"
1460
- },
1461
1465
  {
1462
1466
  "name": "text",
1463
1467
  "type": {
@@ -5433,30 +5437,38 @@
5433
5437
  {
5434
5438
  "description": "Default slot.",
5435
5439
  "name": ""
5440
+ },
5441
+ {
5442
+ "description": "Used to add additional content to the top of the menu.",
5443
+ "name": "header"
5444
+ },
5445
+ {
5446
+ "description": "Used to add action items to the bottom of the menu.",
5447
+ "name": "action-items"
5436
5448
  }
5437
5449
  ],
5438
5450
  "members": [
5439
5451
  {
5440
5452
  "kind": "field",
5441
- "name": "#dismissOnClickOutside",
5442
- "privacy": "private"
5443
- },
5444
- {
5445
- "kind": "field",
5446
- "name": "_popup",
5453
+ "name": "#observer",
5454
+ "privacy": "private",
5447
5455
  "type": {
5448
- "text": "Popup | undefined"
5456
+ "text": "MutationObserver | undefined"
5449
5457
  }
5450
5458
  },
5451
5459
  {
5452
5460
  "kind": "field",
5453
- "name": "open",
5461
+ "name": "#anchorEl",
5462
+ "privacy": "private",
5454
5463
  "type": {
5455
- "text": "boolean"
5464
+ "text": "HTMLElement | null"
5456
5465
  },
5457
- "default": "false",
5458
- "description": "indicates whether the menu is open",
5459
- "privacy": "public"
5466
+ "default": "null"
5467
+ },
5468
+ {
5469
+ "kind": "field",
5470
+ "name": "#observeMissingAnchor",
5471
+ "privacy": "private"
5460
5472
  },
5461
5473
  {
5462
5474
  "kind": "field",
@@ -5464,18 +5476,43 @@
5464
5476
  "type": {
5465
5477
  "text": "Placement | undefined"
5466
5478
  },
5467
- "description": "the placement of the menu",
5479
+ "default": "'bottom'",
5480
+ "description": "placement of the menu",
5468
5481
  "privacy": "public"
5469
5482
  },
5470
5483
  {
5471
5484
  "kind": "field",
5472
5485
  "name": "anchor",
5473
5486
  "type": {
5474
- "text": "string | undefined"
5487
+ "text": "AnchorType"
5475
5488
  },
5476
- "description": "ID reference to element in the menu's owner document.",
5489
+ "default": "''",
5490
+ "description": "id or direct reference to the menu's anchor element",
5477
5491
  "privacy": "public"
5478
5492
  },
5493
+ {
5494
+ "kind": "method",
5495
+ "name": "anchorChanged",
5496
+ "return": {
5497
+ "type": {
5498
+ "text": "void"
5499
+ }
5500
+ },
5501
+ "parameters": [
5502
+ {
5503
+ "name": "_",
5504
+ "type": {
5505
+ "text": "AnchorType"
5506
+ }
5507
+ },
5508
+ {
5509
+ "name": "newValue",
5510
+ "type": {
5511
+ "text": "AnchorType"
5512
+ }
5513
+ }
5514
+ ]
5515
+ },
5479
5516
  {
5480
5517
  "kind": "field",
5481
5518
  "name": "autoDismiss",
@@ -5488,25 +5525,93 @@
5488
5525
  },
5489
5526
  {
5490
5527
  "kind": "method",
5491
- "name": "anchorChanged",
5528
+ "name": "autoDismissChanged",
5529
+ "return": {
5530
+ "type": {
5531
+ "text": "void"
5532
+ }
5533
+ },
5492
5534
  "parameters": [
5493
5535
  {
5494
- "name": "prevAnchor",
5536
+ "name": "oldValue",
5495
5537
  "type": {
5496
- "text": "string"
5538
+ "text": "boolean"
5497
5539
  }
5498
5540
  },
5499
5541
  {
5500
- "name": "newAnchor",
5542
+ "name": "newValue",
5501
5543
  "type": {
5502
- "text": "string"
5544
+ "text": "boolean"
5545
+ }
5546
+ }
5547
+ ]
5548
+ },
5549
+ {
5550
+ "kind": "field",
5551
+ "name": "open",
5552
+ "type": {
5553
+ "text": "boolean"
5554
+ },
5555
+ "default": "false",
5556
+ "description": "indicates whether the menu is open",
5557
+ "privacy": "public"
5558
+ },
5559
+ {
5560
+ "kind": "method",
5561
+ "name": "openChanged",
5562
+ "return": {
5563
+ "type": {
5564
+ "text": "void"
5565
+ }
5566
+ },
5567
+ "parameters": [
5568
+ {
5569
+ "name": "_",
5570
+ "type": {
5571
+ "text": "boolean"
5572
+ }
5573
+ },
5574
+ {
5575
+ "name": "newValue",
5576
+ "type": {
5577
+ "text": "boolean"
5503
5578
  }
5504
5579
  }
5505
5580
  ]
5506
5581
  },
5507
5582
  {
5508
5583
  "kind": "method",
5509
- "name": "autoDismissChanged"
5584
+ "name": "#setupAnchor",
5585
+ "parameters": [
5586
+ {
5587
+ "name": "a",
5588
+ "type": {
5589
+ "text": "HTMLElement"
5590
+ }
5591
+ }
5592
+ ]
5593
+ },
5594
+ {
5595
+ "kind": "method",
5596
+ "name": "#cleanupAnchor",
5597
+ "parameters": [
5598
+ {
5599
+ "name": "a",
5600
+ "type": {
5601
+ "text": "HTMLElement"
5602
+ }
5603
+ }
5604
+ ]
5605
+ },
5606
+ {
5607
+ "kind": "field",
5608
+ "name": "#openIfClosed",
5609
+ "privacy": "private"
5610
+ },
5611
+ {
5612
+ "kind": "field",
5613
+ "name": "#closeOnClickOutside",
5614
+ "privacy": "private"
5510
5615
  },
5511
5616
  {
5512
5617
  "kind": "field",
@@ -5516,29 +5621,31 @@
5516
5621
  }
5517
5622
  }
5518
5623
  ],
5519
- "attributes": [
5624
+ "events": [
5520
5625
  {
5521
- "type": {
5522
- "text": "boolean"
5523
- },
5524
- "default": "false",
5525
- "description": "indicates whether the menu is open",
5526
- "fieldName": "open"
5626
+ "description": "Fired when the menu is opened",
5627
+ "name": "open"
5527
5628
  },
5528
5629
  {
5529
- "name": "placement",
5630
+ "description": "Fired when the menu is closed",
5631
+ "name": "close"
5632
+ }
5633
+ ],
5634
+ "attributes": [
5635
+ {
5530
5636
  "type": {
5531
5637
  "text": "Placement | undefined"
5532
5638
  },
5533
- "description": "the placement of the menu",
5639
+ "default": "'bottom'",
5640
+ "description": "placement of the menu",
5534
5641
  "fieldName": "placement"
5535
5642
  },
5536
5643
  {
5537
- "name": "anchor",
5538
5644
  "type": {
5539
- "text": "string | undefined"
5645
+ "text": "AnchorType"
5540
5646
  },
5541
- "description": "ID reference to element in the menu's owner document.",
5647
+ "default": "''",
5648
+ "description": "id or direct reference to the menu's anchor element",
5542
5649
  "fieldName": "anchor"
5543
5650
  },
5544
5651
  {
@@ -5549,6 +5656,14 @@
5549
5656
  "default": "false",
5550
5657
  "description": "indicates whether the menu will automatically close when\nthe user clicks outside the menu",
5551
5658
  "fieldName": "autoDismiss"
5659
+ },
5660
+ {
5661
+ "type": {
5662
+ "text": "boolean"
5663
+ },
5664
+ "default": "false",
5665
+ "description": "indicates whether the menu is open",
5666
+ "fieldName": "open"
5552
5667
  }
5553
5668
  ],
5554
5669
  "superclass": {
@@ -5616,9 +5731,9 @@
5616
5731
  "kind": "variable",
5617
5732
  "name": "MenuItemRole",
5618
5733
  "type": {
5619
- "text": "{...FastMenuItemRole, 'presentation': 'presentation'}"
5734
+ "text": "{\n\t...FastMenuItemRole,\n\tpresentation: 'presentation',\n}"
5620
5735
  },
5621
- "default": "{...FastMenuItemRole, 'presentation': 'presentation'}"
5736
+ "default": "{\n\t...FastMenuItemRole,\n\tpresentation: 'presentation',\n}"
5622
5737
  },
5623
5738
  {
5624
5739
  "kind": "class",
@@ -5654,6 +5769,12 @@
5654
5769
  "default": "var(--vvd-color-neutral-200)"
5655
5770
  }
5656
5771
  ],
5772
+ "slots": [
5773
+ {
5774
+ "description": "Assign nodes to the `meta` slot to set a badge or an additional icon.",
5775
+ "name": "meta"
5776
+ }
5777
+ ],
5657
5778
  "members": [
5658
5779
  {
5659
5780
  "kind": "field",
@@ -1,14 +1,10 @@
1
1
  import { r as registerDataGrid } from '../shared/definition22.js';
2
- import '../shared/index.js';
3
2
  import '../shared/definition3.js';
3
+ import '../shared/index.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
10
- import '../shared/es.string.includes.js';
11
- import '../shared/es.regexp.to-string.js';
12
8
  import '../shared/key-codes.js';
13
9
  import '../shared/repeat.js';
14
10
  import '../shared/node-observation.js';
package/dialog/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerDialog } from '../shared/definition23.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
@@ -2,8 +2,6 @@ import { r as registerEmptyState } from '../shared/definition25.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/fab/index.js CHANGED
@@ -2,8 +2,6 @@ import { r as registerFab } from '../shared/definition26.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
@@ -2,8 +2,6 @@ import { r as registerFilePicker } from '../shared/definition27.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
5
- import '../shared/to-string.js';
6
- import '../shared/string-trim.js';
7
5
  import '../shared/_has.js';
8
6
  import '../shared/class-names.js';
9
7
  import '../shared/when.js';
package/icon/index.js CHANGED
@@ -1,8 +1,6 @@
1
1
  import { r as registerIcon } from '../shared/definition3.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/icon.js';
4
- import '../shared/to-string.js';
5
- import '../shared/string-trim.js';
6
4
  import '../shared/_has.js';
7
5
  import '../shared/class-names.js';
8
6
  import '../shared/when.js';
package/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './lib/components';
2
- export * from './lib/enums';
3
- export * from './shared/design-system';
1
+ export * from './lib/components';
2
+ export * from './lib/enums';
3
+ export * from './shared/design-system';
package/index.js CHANGED
@@ -50,7 +50,7 @@ export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries
50
50
  export { r as registerTag, t as tagDefinition } from './shared/definition48.js';
51
51
  export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition49.js';
52
52
  export { f as filePickerDefinition, a as filePickerRegistries, r as registerFilePicker } from './shared/definition27.js';
53
- export { ae as designSystem, r as registerFactory } from './shared/index.js';
53
+ export { j as designSystem, r as registerFactory } from './shared/index.js';
54
54
  import './shared/key-codes.js';
55
55
  import './shared/numbers.js';
56
56
  import './shared/node-observation.js';
@@ -60,8 +60,6 @@ import './shared/definition4.js';
60
60
  import './shared/focus.js';
61
61
  import './shared/affix.js';
62
62
  import './shared/icon.js';
63
- import './shared/to-string.js';
64
- import './shared/string-trim.js';
65
63
  import './shared/_has.js';
66
64
  import './shared/start-end.js';
67
65
  import './shared/ref.js';
@@ -77,7 +75,6 @@ import './shared/breadcrumb-item.js';
77
75
  import './shared/anchor.js';
78
76
  import './shared/text-anchor.template.js';
79
77
  import './shared/calendar-event.js';
80
- import './shared/es.object.assign.js';
81
78
  import './shared/repeat.js';
82
79
  import './shared/definition20.js';
83
80
  import './shared/text-field.js';
@@ -85,8 +82,6 @@ import './shared/listbox.js';
85
82
  import './shared/strings.js';
86
83
  import './shared/select.options.js';
87
84
  import './shared/aria.js';
88
- import './shared/es.string.includes.js';
89
- import './shared/es.regexp.to-string.js';
90
85
  import './shared/children.js';
91
86
  import './shared/dom.js';
92
87
  import './shared/direction.js';
@@ -1,5 +1,5 @@
1
- import { AccordionExpandMode, Accordion as FastAccordion } from '@microsoft/fast-foundation';
2
- export declare class Accordion extends FastAccordion {
3
- expandmode: AccordionExpandMode;
4
- closeAll(): void;
5
- }
1
+ import { AccordionExpandMode, Accordion as FastAccordion } from '@microsoft/fast-foundation';
2
+ export declare class Accordion extends FastAccordion {
3
+ expandmode: AccordionExpandMode;
4
+ closeAll(): void;
5
+ }
@@ -1,3 +1,3 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
2
- import type { Accordion } from './accordion';
3
- export declare const AccordionTemplate: () => ViewTemplate<Accordion>;
1
+ import type { ViewTemplate } from '@microsoft/fast-element';
2
+ import type { Accordion } from './accordion';
3
+ export declare const AccordionTemplate: () => ViewTemplate<Accordion>;
@@ -1,2 +1,2 @@
1
- export type { AccordionExpandMode } from '@microsoft/fast-foundation';
2
- export declare const registerAccordion: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
1
+ export type { AccordionExpandMode } from '@microsoft/fast-foundation';
2
+ export declare const registerAccordion: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
@@ -1 +1 @@
1
- export {};
1
+ export {};