@vonage/vivid 3.0.0-test.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/README.md +176 -4
  2. package/accordion/index.js +22 -61
  3. package/accordion-item/index.js +16 -123
  4. package/action-group/index.js +5 -0
  5. package/avatar/index.js +11 -0
  6. package/badge/index.js +9 -60
  7. package/banner/index.js +20 -208
  8. package/breadcrumb/index.js +7 -96
  9. package/breadcrumb-item/index.js +15 -48
  10. package/button/index.js +19 -758
  11. package/calendar/index.js +5 -1519
  12. package/calendar-event/index.js +9 -0
  13. package/card/index.js +13 -0
  14. package/checkbox/index.js +16 -0
  15. package/combobox/index.js +35 -0
  16. package/dialog/index.js +24 -0
  17. package/divider/index.js +6 -0
  18. package/elevation/index.js +4 -30
  19. package/fab/index.js +22 -0
  20. package/focus/index.js +4 -2
  21. package/header/index.js +6 -0
  22. package/icon/index.js +8 -32
  23. package/index.js +76 -25
  24. package/layout/index.js +4 -52
  25. package/lib/accordion/accordion.d.ts +3 -7
  26. package/lib/accordion/accordion.template.d.ts +1 -2
  27. package/lib/accordion/definition.d.ts +1 -0
  28. package/lib/accordion/index.d.ts +1 -2
  29. package/lib/accordion-item/accordion-item.d.ts +4 -8
  30. package/lib/accordion-item/accordion-item.template.d.ts +4 -4
  31. package/lib/accordion-item/definition.d.ts +1 -0
  32. package/lib/accordion-item/index.d.ts +1 -3
  33. package/lib/action-group/action-group.d.ts +10 -0
  34. package/lib/{sidenav-item/sidenav-item.template.d.ts → action-group/action-group.template.d.ts} +2 -2
  35. package/lib/action-group/definition.d.ts +1 -0
  36. package/lib/action-group/index.d.ts +1 -0
  37. package/lib/avatar/avatar.d.ts +15 -0
  38. package/lib/avatar/avatar.template.d.ts +4 -0
  39. package/lib/avatar/definition.d.ts +1 -0
  40. package/lib/avatar/index.d.ts +1 -0
  41. package/lib/badge/badge.d.ts +4 -6
  42. package/lib/badge/definition.d.ts +3 -0
  43. package/lib/badge/index.d.ts +1 -3
  44. package/lib/banner/banner.d.ts +1 -1
  45. package/lib/banner/banner.template.d.ts +0 -2
  46. package/lib/banner/definition.d.ts +1 -0
  47. package/lib/banner/index.d.ts +1 -2
  48. package/lib/breadcrumb/breadcrumb.template.d.ts +4 -0
  49. package/lib/breadcrumb/definition.d.ts +1 -0
  50. package/lib/breadcrumb/index.d.ts +1 -2
  51. package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  52. package/lib/breadcrumb-item/definition.d.ts +1 -0
  53. package/lib/breadcrumb-item/index.d.ts +1 -3
  54. package/lib/button/button.d.ts +4 -3
  55. package/lib/button/definition.d.ts +1 -0
  56. package/lib/button/index.d.ts +1 -21
  57. package/lib/calendar/calendar.d.ts +3 -1
  58. package/lib/calendar/definition.d.ts +1 -0
  59. package/lib/calendar/index.d.ts +1 -3
  60. package/lib/calendar-event/calendar-event.d.ts +14 -0
  61. package/lib/calendar-event/calendar-event.template.d.ts +4 -0
  62. package/lib/calendar-event/definition.d.ts +1 -0
  63. package/lib/calendar-event/index.d.ts +1 -0
  64. package/lib/card/card.d.ts +10 -0
  65. package/lib/{text/text.template.d.ts → card/card.template.d.ts} +2 -2
  66. package/lib/card/definition.d.ts +1 -0
  67. package/lib/card/index.d.ts +1 -0
  68. package/lib/checkbox/checkbox.d.ts +5 -0
  69. package/lib/checkbox/checkbox.template.d.ts +4 -0
  70. package/lib/checkbox/definition.d.ts +1 -0
  71. package/lib/checkbox/index.d.ts +1 -0
  72. package/lib/combobox/combobox.d.ts +14 -0
  73. package/lib/combobox/combobox.template.d.ts +4 -0
  74. package/lib/combobox/definition.d.ts +3 -0
  75. package/lib/combobox/index.d.ts +1 -0
  76. package/lib/components.d.ts +44 -16
  77. package/lib/dialog/definition.d.ts +1 -0
  78. package/lib/dialog/dialog.d.ts +23 -0
  79. package/lib/dialog/dialog.template.d.ts +4 -0
  80. package/lib/dialog/index.d.ts +1 -0
  81. package/lib/divider/definition.d.ts +1 -0
  82. package/lib/divider/divider.d.ts +3 -0
  83. package/lib/divider/divider.template.d.ts +4 -0
  84. package/lib/divider/index.d.ts +1 -0
  85. package/lib/elevation/definition.d.ts +1 -0
  86. package/lib/elevation/elevation.d.ts +1 -0
  87. package/lib/elevation/index.d.ts +1 -2
  88. package/lib/enums.d.ts +20 -6
  89. package/lib/fab/definition.d.ts +3 -0
  90. package/lib/fab/fab.d.ts +13 -0
  91. package/lib/fab/fab.template.d.ts +4 -0
  92. package/lib/fab/index.d.ts +1 -0
  93. package/lib/focus/definition.d.ts +3 -0
  94. package/lib/focus/index.d.ts +1 -2
  95. package/lib/{sidenav-item/index.d.ts → header/definition.d.ts} +2 -2
  96. package/lib/header/header.d.ts +5 -0
  97. package/lib/header/header.template.d.ts +4 -0
  98. package/lib/header/index.d.ts +1 -0
  99. package/lib/icon/definition.d.ts +3 -0
  100. package/lib/icon/icon.d.ts +5 -6
  101. package/lib/icon/index.d.ts +1 -2
  102. package/lib/layout/definition.d.ts +3 -0
  103. package/lib/layout/index.d.ts +1 -2
  104. package/lib/layout/layout.d.ts +4 -4
  105. package/lib/listbox/definition.d.ts +3 -0
  106. package/lib/listbox/index.d.ts +1 -0
  107. package/lib/listbox/listbox.d.ts +6 -0
  108. package/lib/listbox/listbox.template.d.ts +4 -0
  109. package/lib/menu/definition.d.ts +11 -0
  110. package/lib/menu/index.d.ts +1 -0
  111. package/lib/menu/menu.d.ts +10 -0
  112. package/lib/menu/menu.template.d.ts +3 -0
  113. package/lib/menu-item/definition.d.ts +3 -0
  114. package/lib/menu-item/index.d.ts +1 -0
  115. package/lib/menu-item/menu-item.d.ts +8 -0
  116. package/lib/menu-item/menu-item.template.d.ts +5 -0
  117. package/lib/nav/definition.d.ts +3 -0
  118. package/lib/nav/index.d.ts +1 -0
  119. package/lib/nav/nav.d.ts +3 -0
  120. package/lib/nav/nav.template.d.ts +4 -0
  121. package/lib/nav-disclosure/definition.d.ts +3 -0
  122. package/lib/nav-disclosure/index.d.ts +1 -0
  123. package/lib/nav-disclosure/nav-disclosure.d.ts +10 -0
  124. package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -0
  125. package/lib/nav-item/definition.d.ts +3 -0
  126. package/lib/nav-item/index.d.ts +1 -0
  127. package/lib/{sidenav-item/sidenav-item.d.ts → nav-item/nav-item.d.ts} +2 -2
  128. package/lib/nav-item/nav-item.template.d.ts +4 -0
  129. package/lib/note/definition.d.ts +3 -0
  130. package/lib/note/index.d.ts +1 -0
  131. package/lib/note/note.d.ts +10 -0
  132. package/lib/note/note.template.d.ts +4 -0
  133. package/lib/number-field/definition.d.ts +4 -0
  134. package/lib/number-field/index.d.ts +1 -0
  135. package/lib/number-field/number-field.d.ts +14 -0
  136. package/lib/number-field/number-field.template.d.ts +4 -0
  137. package/lib/option/definition.d.ts +3 -0
  138. package/lib/option/index.d.ts +1 -0
  139. package/lib/option/option.d.ts +9 -0
  140. package/lib/option/option.template.d.ts +4 -0
  141. package/lib/popup/definition.d.ts +4 -0
  142. package/lib/popup/index.d.ts +1 -4
  143. package/lib/popup/popup.d.ts +8 -4
  144. package/lib/progress/definition.d.ts +3 -0
  145. package/lib/progress/index.d.ts +1 -2
  146. package/lib/progress/progress.d.ts +1 -1
  147. package/lib/progress-ring/definition.d.ts +3 -0
  148. package/lib/progress-ring/index.d.ts +1 -2
  149. package/lib/progress-ring/progress-ring.d.ts +2 -1
  150. package/lib/radio/definition.d.ts +3 -0
  151. package/lib/radio/index.d.ts +1 -0
  152. package/lib/radio/radio.d.ts +4 -0
  153. package/lib/radio/radio.template.d.ts +4 -0
  154. package/lib/radio-group/definition.d.ts +11 -0
  155. package/lib/radio-group/index.d.ts +1 -0
  156. package/lib/radio-group/radio-group.d.ts +4 -0
  157. package/lib/radio-group/radio-group.template.d.ts +4 -0
  158. package/lib/select/definition.d.ts +3 -0
  159. package/lib/select/index.d.ts +1 -0
  160. package/lib/select/select.d.ts +17 -0
  161. package/lib/select/select.template.d.ts +4 -0
  162. package/lib/side-drawer/definition.d.ts +3 -0
  163. package/lib/side-drawer/index.d.ts +1 -2
  164. package/lib/side-drawer/side-drawer.d.ts +3 -2
  165. package/lib/slider/definition.d.ts +3 -0
  166. package/lib/slider/index.d.ts +1 -0
  167. package/lib/slider/slider.d.ts +4 -0
  168. package/lib/slider/slider.template.d.ts +4 -0
  169. package/lib/switch/definition.d.ts +3 -0
  170. package/lib/switch/index.d.ts +1 -0
  171. package/lib/switch/switch.d.ts +7 -0
  172. package/lib/switch/switch.template.d.ts +4 -0
  173. package/lib/tab/definition.d.ts +3 -0
  174. package/lib/tab/index.d.ts +1 -0
  175. package/lib/tab/tab.d.ts +9 -0
  176. package/lib/tab/tab.template.d.ts +3 -0
  177. package/lib/tab-panel/definition.d.ts +3 -0
  178. package/lib/tab-panel/index.d.ts +1 -0
  179. package/lib/tab-panel/tab-panel.d.ts +3 -0
  180. package/lib/tab-panel/tab-panel.template.d.ts +2 -0
  181. package/lib/tabs/definition.d.ts +3 -0
  182. package/lib/tabs/index.d.ts +1 -0
  183. package/lib/tabs/tabs.d.ts +10 -0
  184. package/lib/tabs/tabs.template.d.ts +2 -0
  185. package/lib/text-anchor/definition.d.ts +3 -0
  186. package/lib/text-anchor/index.d.ts +1 -2
  187. package/lib/text-anchor/text-anchor.d.ts +1 -1
  188. package/lib/text-area/definition.d.ts +3 -0
  189. package/lib/text-area/index.d.ts +1 -0
  190. package/lib/text-area/text-area.d.ts +9 -0
  191. package/lib/text-area/text-area.template.d.ts +4 -0
  192. package/lib/text-field/definition.d.ts +3 -0
  193. package/lib/text-field/index.d.ts +1 -0
  194. package/lib/text-field/text-field.d.ts +14 -0
  195. package/lib/text-field/text-field.template.d.ts +4 -0
  196. package/lib/tooltip/definition.d.ts +3 -0
  197. package/lib/tooltip/index.d.ts +1 -3
  198. package/lib/tooltip/tooltip.d.ts +7 -7
  199. package/listbox/index.js +27 -0
  200. package/menu/index.js +30 -0
  201. package/menu-item/index.js +20 -0
  202. package/nav/index.js +4 -0
  203. package/nav-disclosure/index.js +17 -0
  204. package/nav-item/index.js +22 -0
  205. package/note/index.js +15 -0
  206. package/number-field/index.js +459 -0
  207. package/option/index.js +21 -0
  208. package/package.json +29 -19
  209. package/popup/index.js +21 -2061
  210. package/progress/index.js +6 -97
  211. package/progress-ring/index.js +6 -75
  212. package/radio/index.js +12 -0
  213. package/radio-group/index.js +11 -0
  214. package/select/index.js +34 -0
  215. package/shared/affix.js +2 -8
  216. package/shared/anchor.js +10 -2
  217. package/shared/apply-mixins.js +5 -4
  218. package/shared/aria-global.js +2 -86
  219. package/shared/aria.js +9 -0
  220. package/shared/base-progress.js +5 -0
  221. package/shared/breadcrumb-item.js +1 -1
  222. package/shared/button.js +200 -0
  223. package/shared/calendar-event.js +19 -0
  224. package/shared/definition.js +225 -0
  225. package/shared/definition10.js +99 -0
  226. package/shared/definition11.js +48 -0
  227. package/shared/definition12.js +1523 -0
  228. package/shared/definition13.js +111 -0
  229. package/shared/definition14.js +114 -0
  230. package/shared/definition15.js +32 -0
  231. package/shared/definition16.js +172 -0
  232. package/shared/definition17.js +727 -0
  233. package/shared/definition18.js +1842 -0
  234. package/shared/definition19.js +261 -0
  235. package/shared/definition2.js +150 -0
  236. package/shared/definition20.js +221 -0
  237. package/shared/definition21.js +78 -0
  238. package/shared/definition22.js +87 -0
  239. package/shared/definition23.js +58 -0
  240. package/shared/definition24.js +44 -0
  241. package/shared/definition25.js +58 -0
  242. package/shared/definition26.js +348 -0
  243. package/shared/definition27.js +363 -0
  244. package/shared/definition28.js +21 -0
  245. package/shared/definition29.js +75 -0
  246. package/shared/definition3.js +29 -0
  247. package/shared/definition30.js +31 -0
  248. package/shared/definition31.js +49 -0
  249. package/shared/definition32.js +94 -0
  250. package/shared/definition33.js +77 -0
  251. package/shared/definition34.js +45 -0
  252. package/shared/definition35.js +435 -0
  253. package/shared/definition36.js +634 -0
  254. package/shared/definition37.js +86 -0
  255. package/shared/definition38.js +592 -0
  256. package/shared/definition39.js +147 -0
  257. package/shared/definition4.js +19 -0
  258. package/shared/definition40.js +67 -0
  259. package/shared/definition41.js +32 -0
  260. package/shared/definition42.js +440 -0
  261. package/shared/definition43.js +282 -0
  262. package/shared/definition44.js +119 -0
  263. package/shared/definition45.js +77 -0
  264. package/shared/definition5.js +38 -0
  265. package/shared/definition6.js +60 -0
  266. package/shared/definition7.js +45 -0
  267. package/shared/definition8.js +113 -0
  268. package/shared/definition9.js +107 -0
  269. package/shared/design-system/index.d.ts +1 -1
  270. package/shared/dialog-polyfill.esm.js +858 -0
  271. package/shared/direction.js +20 -0
  272. package/shared/dom.js +8 -0
  273. package/shared/enums.js +70 -0
  274. package/shared/es.object.assign.js +2 -2
  275. package/shared/es.regexp.to-string.js +59 -0
  276. package/shared/focus.js +5 -0
  277. package/shared/focus2.js +11 -0
  278. package/shared/form-associated.js +466 -0
  279. package/shared/form-elements.js +127 -0
  280. package/shared/icon.js +538 -572
  281. package/shared/index.js +1664 -83
  282. package/shared/key-codes.js +97 -0
  283. package/shared/listbox.js +995 -0
  284. package/shared/numbers.js +34 -0
  285. package/shared/patterns/affix.d.ts +1 -1
  286. package/shared/patterns/focus.d.ts +3 -0
  287. package/shared/patterns/form-elements/form-elements.d.ts +43 -0
  288. package/shared/patterns/form-elements/index.d.ts +1 -0
  289. package/shared/patterns/index.d.ts +2 -0
  290. package/shared/radio.js +127 -0
  291. package/shared/ref.js +41 -0
  292. package/shared/select.options.js +10 -0
  293. package/shared/start-end.js +50 -0
  294. package/shared/string-trim.js +40 -0
  295. package/shared/strings.js +9 -0
  296. package/shared/text-anchor.js +2 -13
  297. package/shared/text-anchor.template.js +6 -5
  298. package/shared/text-field.js +3 -0
  299. package/shared/text-field2.js +225 -0
  300. package/shared/to-string.js +51 -0
  301. package/side-drawer/index.js +5 -80
  302. package/slider/index.js +17 -0
  303. package/styles/core/all.css +83 -0
  304. package/styles/core/theme.css +11 -0
  305. package/styles/core/typography.css +77 -0
  306. package/styles/tokens/theme-dark.css +228 -0
  307. package/styles/tokens/theme-light.css +228 -0
  308. package/switch/index.js +18 -0
  309. package/tab/index.js +16 -0
  310. package/tab-panel/index.js +4 -0
  311. package/tabs/index.js +24 -0
  312. package/text-anchor/index.js +11 -5
  313. package/text-area/index.js +23 -0
  314. package/text-field/index.js +24 -0
  315. package/tooltip/index.js +18 -57
  316. package/lib/text/index.d.ts +0 -2
  317. package/lib/text/text.d.ts +0 -10
  318. package/shared/index2.js +0 -21
  319. package/shared/style-inject.es.js +0 -28
  320. package/shared/web.dom-collections.iterator.js +0 -1479
  321. package/sidenav-item/index.js +0 -38
  322. package/styles/fonts/spezia.css +0 -23
  323. package/styles/themes/dark.css +0 -205
  324. package/styles/themes/light.css +0 -205
  325. package/text/index.js +0 -45
@@ -0,0 +1,228 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Mon, 30 Jan 2023 11:28:31 GMT
4
+ */
5
+ /**
6
+ * Do not edit directly
7
+ * Generated on Mon, 30 Jan 2023 11:28:31 GMT
8
+ */
9
+ /**
10
+ * Do not edit directly
11
+ * Generated on Mon, 30 Jan 2023 11:28:31 GMT
12
+ */
13
+ /**
14
+ * Do not edit directly
15
+ * Generated on Mon, 30 Jan 2023 11:28:31 GMT
16
+ */
17
+ @property --vvd-size-density {
18
+ syntax: "<integer>";
19
+ inherits: true;
20
+ initial-value: 0;
21
+ }
22
+ @property --vvd-size-font-scale-base {
23
+ syntax: "<length>";
24
+ inherits: true;
25
+ initial-value: 16px;
26
+ }
27
+ .vvd-root, ::part(vvd-root) {
28
+ --vvd-color-scheme: light;
29
+ --vvd-color-canvas: #ffffff;
30
+ --vvd-color-canvas-text: #0d0d0d;
31
+ --vvd-color-neutral-50: #F2F2F2;
32
+ --vvd-color-neutral-100: #E6E6E6;
33
+ --vvd-color-neutral-200: #cccccc;
34
+ --vvd-color-neutral-300: #b3b3b3;
35
+ --vvd-color-neutral-400: #929292;
36
+ --vvd-color-neutral-500: #757575;
37
+ --vvd-color-neutral-600: #666666;
38
+ --vvd-color-neutral-700: #4d4d4d;
39
+ --vvd-color-neutral-800: #333333;
40
+ --vvd-color-neutral-900: #1a1a1a;
41
+ --vvd-color-neutral-950: #0d0d0d;
42
+ --vvd-color-cta-50: #f5f0fd;
43
+ --vvd-color-cta-100: #ece2fa;
44
+ --vvd-color-cta-200: #dcc1fc;
45
+ --vvd-color-cta-300: #cba1fa;
46
+ --vvd-color-cta-400: #b27bf2;
47
+ --vvd-color-cta-500: #9941ff;
48
+ --vvd-color-cta-600: #871eff;
49
+ --vvd-color-cta-700: #6405d1;
50
+ --vvd-color-cta-800: #440291;
51
+ --vvd-color-cta-900: #26044d;
52
+ --vvd-color-cta-950: #140623;
53
+ --vvd-color-warning-50: #FDF5D4;
54
+ --vvd-color-warning-100: #FDEAA0;
55
+ --vvd-color-warning-200: #FACC4B;
56
+ --vvd-color-warning-300: #fa9f00;
57
+ --vvd-color-warning-400: #e07902;
58
+ --vvd-color-warning-500: #be5702;
59
+ --vvd-color-warning-600: #A64C03;
60
+ --vvd-color-warning-700: #893000;
61
+ --vvd-color-warning-800: #522801;
62
+ --vvd-color-warning-900: #2A1502;
63
+ --vvd-color-warning-950: #150B01;
64
+ --vvd-color-information-50: #e8f4fb;
65
+ --vvd-color-information-100: #d3e9fc;
66
+ --vvd-color-information-200: #9dd2fe;
67
+ --vvd-color-information-300: #65baff;
68
+ --vvd-color-information-400: #2997f0;
69
+ --vvd-color-information-500: #0276d5;
70
+ --vvd-color-information-600: #0e65c2;
71
+ --vvd-color-information-700: #094a9e;
72
+ --vvd-color-information-800: #0e306d;
73
+ --vvd-color-information-900: #071939;
74
+ --vvd-color-information-950: #040d1d;
75
+ --vvd-color-announcement-50: #ffedfb;
76
+ --vvd-color-announcement-100: #ffdcf7;
77
+ --vvd-color-announcement-200: #f8b9e7;
78
+ --vvd-color-announcement-300: #fb8fd8;
79
+ --vvd-color-announcement-400: #e560bb;
80
+ --vvd-color-announcement-500: #d6219c;
81
+ --vvd-color-announcement-600: #bb1e89;
82
+ --vvd-color-announcement-700: #8f1669;
83
+ --vvd-color-announcement-800: #620256;
84
+ --vvd-color-announcement-900: #32082c;
85
+ --vvd-color-announcement-950: #1d031a;
86
+ --vvd-color-success-50: #e1f8e5;
87
+ --vvd-color-success-100: #cfeed4;
88
+ --vvd-color-success-200: #86e090;
89
+ --vvd-color-success-300: #53ca6a;
90
+ --vvd-color-success-400: #30a849;
91
+ --vvd-color-success-500: #1c8731;
92
+ --vvd-color-success-600: #167629;
93
+ --vvd-color-success-700: #155923;
94
+ --vvd-color-success-800: #183a1e;
95
+ --vvd-color-success-900: #0a1e11;
96
+ --vvd-color-success-950: #060f09;
97
+ --vvd-color-alert-50: #ffeef2;
98
+ --vvd-color-alert-100: #fedfdf;
99
+ --vvd-color-alert-200: #ffbbbb;
100
+ --vvd-color-alert-300: #fe9696;
101
+ --vvd-color-alert-400: #f75959;
102
+ --vvd-color-alert-500: #e61d1d;
103
+ --vvd-color-alert-600: #cd0d0d;
104
+ --vvd-color-alert-700: #9f0202;
105
+ --vvd-color-alert-800: #6e0000;
106
+ --vvd-color-alert-900: #3e0004;
107
+ --vvd-color-alert-950: #250004;
108
+ --vvd-color-surface-0dp: #ffffff;
109
+ --vvd-color-surface-2dp: #ffffff;
110
+ --vvd-color-surface-4dp: #ffffff;
111
+ --vvd-color-surface-8dp: #ffffff;
112
+ --vvd-color-surface-12dp: #ffffff;
113
+ --vvd-color-surface-16dp: #ffffff;
114
+ --vvd-color-surface-24dp: #ffffff;
115
+ --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);
116
+ --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #0000001a) drop-shadow(0px 1px 2px #0000000d) drop-shadow(0px 2px 1px #0000000d);
117
+ --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #0000001a) drop-shadow(0px 2px 4px #0000000d) drop-shadow(0px 4px 2px #0000000d);
118
+ --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #0000001a) drop-shadow(0px 8px 8px #0000000d) drop-shadow(0px 4px 4px #0000000d);
119
+ --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #0000001a) drop-shadow(0px 12px 16px #0000000d) drop-shadow(0px 6px 8px #0000000d);
120
+ --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #0000001a) drop-shadow(0px 16px 24px #0000000d) drop-shadow(0px 8px 12px #0000000d);
121
+ --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000033) drop-shadow(0px 24px 32px #0000000d) drop-shadow(0px 12px 16px #0000000d);
122
+ --vvd-typography-headline: 500 calc(var(--vvd-size-font-scale-base, 16px) * 4.125)/1.3333333333333333 var(--vvd-font-family-upright, Montserrat);
123
+ --vvd-typography-subtitle: 500 calc(var(--vvd-size-font-scale-base, 16px) * 3.25)/1.3076923076923077 var(--vvd-font-family-upright, Montserrat);
124
+ --vvd-typography-heading-1: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2.5)/1.3 var(--vvd-font-family-upright, Montserrat);
125
+ --vvd-typography-heading-2: 500 calc(var(--vvd-size-font-scale-base, 16px) * 2)/1.375 var(--vvd-font-family-upright, Montserrat);
126
+ --vvd-typography-heading-3: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.625)/1.3846153846153846 var(--vvd-font-family-upright, Montserrat);
127
+ --vvd-typography-heading-4: 500 calc(var(--vvd-size-font-scale-base, 16px) * 1.25)/1.4 var(--vvd-font-family-upright, Montserrat);
128
+ --vvd-typography-base: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright, Montserrat);
129
+ --vvd-typography-base-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 var(--vvd-font-family-upright, Montserrat);
130
+ --vvd-typography-base-code: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.875)/1.4285714285714286 var(--vvd-font-family-monospace, Roboto Mono);
131
+ --vvd-typography-base-condensed: 400 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright, Montserrat);
132
+ --vvd-typography-base-condensed-bold: 600 calc(var(--vvd-size-font-scale-base, 16px) * 0.75)/1.3333333333333333 var(--vvd-font-family-upright, Montserrat);
133
+ --vvd-typography-base-extended: 400 calc(var(--vvd-size-font-scale-base, 16px))/1.5 var(--vvd-font-family-upright, Montserrat);
134
+ --vvd-typography-base-extended-bold: 600 calc(var(--vvd-size-font-scale-base, 16px))/1.5 var(--vvd-font-family-upright, Montserrat);
135
+ }
136
+
137
+ .vvd-theme-alternate, ::part(vvd-theme-alternate) {
138
+ --vvd-color-scheme: dark;
139
+ --vvd-color-canvas: #000000;
140
+ --vvd-color-canvas-text: #ffffff;
141
+ --vvd-color-neutral-50: #1a1a1a;
142
+ --vvd-color-neutral-100: #333333;
143
+ --vvd-color-neutral-200: #4d4d4d;
144
+ --vvd-color-neutral-300: #666666;
145
+ --vvd-color-neutral-400: #757575;
146
+ --vvd-color-neutral-500: #929292;
147
+ --vvd-color-neutral-600: #b3b3b3;
148
+ --vvd-color-neutral-700: #cccccc;
149
+ --vvd-color-neutral-800: #E6E6E6;
150
+ --vvd-color-neutral-900: #F2F2F2;
151
+ --vvd-color-neutral-950: #ffffff;
152
+ --vvd-color-cta-50: #26044d;
153
+ --vvd-color-cta-100: #440291;
154
+ --vvd-color-cta-200: #6405d1;
155
+ --vvd-color-cta-300: #871eff;
156
+ --vvd-color-cta-400: #9941ff;
157
+ --vvd-color-cta-500: #b27bf2;
158
+ --vvd-color-cta-600: #cba1fa;
159
+ --vvd-color-cta-700: #dcc1fc;
160
+ --vvd-color-cta-800: #ece2fa;
161
+ --vvd-color-cta-900: #f5f0fd;
162
+ --vvd-color-warning-50: #2A1502;
163
+ --vvd-color-warning-100: #522801;
164
+ --vvd-color-warning-200: #803807;
165
+ --vvd-color-warning-300: #A64C03;
166
+ --vvd-color-warning-400: #be5702;
167
+ --vvd-color-warning-500: #e07902;
168
+ --vvd-color-warning-600: #fa9f00;
169
+ --vvd-color-warning-700: #FACC4B;
170
+ --vvd-color-warning-800: #FDEAA0;
171
+ --vvd-color-warning-900: #FDF5D4;
172
+ --vvd-color-information-50: #071939;
173
+ --vvd-color-information-100: #0e306d;
174
+ --vvd-color-information-200: #094a9e;
175
+ --vvd-color-information-300: #0e65c2;
176
+ --vvd-color-information-400: #0276d5;
177
+ --vvd-color-information-500: #2997f0;
178
+ --vvd-color-information-600: #65baff;
179
+ --vvd-color-information-700: #9dd2fe;
180
+ --vvd-color-information-800: #d3e9fc;
181
+ --vvd-color-information-900: #e8f4fb;
182
+ --vvd-color-announcement-50: #32082c;
183
+ --vvd-color-announcement-100: #620256;
184
+ --vvd-color-announcement-200: #8f1669;
185
+ --vvd-color-announcement-300: #bb1e89;
186
+ --vvd-color-announcement-400: #d6219c;
187
+ --vvd-color-announcement-500: #e560bb;
188
+ --vvd-color-announcement-600: #fb8fd8;
189
+ --vvd-color-announcement-700: #f8b9e7;
190
+ --vvd-color-announcement-800: #ffdcf7;
191
+ --vvd-color-announcement-900: #ffedfb;
192
+ --vvd-color-alert-50: #3e0004;
193
+ --vvd-color-alert-100: #6e0000;
194
+ --vvd-color-alert-200: #9f0202;
195
+ --vvd-color-alert-300: #cd0d0d;
196
+ --vvd-color-alert-400: #e61d1d;
197
+ --vvd-color-alert-500: #f75959;
198
+ --vvd-color-alert-600: #fe9696;
199
+ --vvd-color-alert-700: #ffbbbb;
200
+ --vvd-color-alert-800: #fedfdf;
201
+ --vvd-color-alert-900: #ffeef2;
202
+ --vvd-color-success-50: #0a1e11;
203
+ --vvd-color-success-100: #183a1e;
204
+ --vvd-color-success-200: #155923;
205
+ --vvd-color-success-300: #167629;
206
+ --vvd-color-success-400: #1c8731;
207
+ --vvd-color-success-500: #30a849;
208
+ --vvd-color-success-600: #53ca6a;
209
+ --vvd-color-success-700: #86e090;
210
+ --vvd-color-success-800: #cfeed4;
211
+ --vvd-color-success-900: #e1f8e5;
212
+ --vvd-color-surface-0dp: #0d0d0d;
213
+ --vvd-color-surface-2dp: linear-gradient(#ffffff0f, #ffffff0f), #0d0d0d;
214
+ --vvd-color-surface-4dp: linear-gradient(#ffffff14, #ffffff14), #0d0d0d;
215
+ --vvd-color-surface-8dp: linear-gradient(#ffffff1a, #ffffff1a), #0d0d0d;
216
+ --vvd-color-surface-12dp: linear-gradient(#ffffff1f, #ffffff1f), #0d0d0d;
217
+ --vvd-color-surface-16dp: linear-gradient(#ffffff24, #ffffff24), #0d0d0d;
218
+ --vvd-color-surface-24dp: linear-gradient(#ffffff29, #ffffff29), #0d0d0d;
219
+ --vvd-shadow-surface-0dp: drop-shadow(1px 0px 0px #cccccc) drop-shadow(0px 1px 0px #cccccc) drop-shadow(0px -1px 0px #cccccc) drop-shadow(-1px 0px 0px #cccccc);
220
+ --vvd-shadow-surface-2dp: drop-shadow(0px 1px 4px #00000040) drop-shadow(0px 1px 2px #00000040) drop-shadow(0px 2px 1px #00000040);
221
+ --vvd-shadow-surface-4dp: drop-shadow(0px 2px 8px #00000040) drop-shadow(0px 2px 4px #00000040) drop-shadow(0px 4px 4px #00000040);
222
+ --vvd-shadow-surface-8dp: drop-shadow(0px 2px 16px #00000040) drop-shadow(0px 8px 8px #00000040) drop-shadow(0px 4px 4px #00000040);
223
+ --vvd-shadow-surface-12dp: drop-shadow(0px 4px 24px #00000040) drop-shadow(0px 12px 16px #00000040) drop-shadow(0px 6px 8px #00000040);
224
+ --vvd-shadow-surface-16dp: drop-shadow(0px 6px 32px #00000040) drop-shadow(0px 16px 24px #00000040) drop-shadow(0px 8px 12px #00000040);
225
+ --vvd-shadow-surface-24dp: drop-shadow(0px 12px 48px #00000040) drop-shadow(0px 24px 32px #00000040) drop-shadow(0px 12px 16px #00000040);
226
+ }
227
+
228
+ /*# sourceMappingURL=theme-light.css.map */
@@ -0,0 +1,18 @@
1
+ import { r as registerSwitch } from '../shared/definition39.js';
2
+ import '../shared/index.js';
3
+ import '../shared/definition3.js';
4
+ import '../shared/icon.js';
5
+ import '../shared/to-string.js';
6
+ import '../shared/string-trim.js';
7
+ import '../shared/_has.js';
8
+ import '../shared/class-names.js';
9
+ import '../shared/when.js';
10
+ import '../shared/definition4.js';
11
+ import '../shared/focus.js';
12
+ import '../shared/form-associated.js';
13
+ import '../shared/key-codes.js';
14
+ import '../shared/affix.js';
15
+ import '../shared/focus2.js';
16
+ import '../shared/form-elements.js';
17
+
18
+ registerSwitch();
package/tab/index.js ADDED
@@ -0,0 +1,16 @@
1
+ import { r as registerTab } from '../shared/definition40.js';
2
+ import '../shared/index.js';
3
+ import '../shared/definition3.js';
4
+ import '../shared/icon.js';
5
+ import '../shared/to-string.js';
6
+ import '../shared/string-trim.js';
7
+ import '../shared/_has.js';
8
+ import '../shared/class-names.js';
9
+ import '../shared/when.js';
10
+ import '../shared/definition4.js';
11
+ import '../shared/focus.js';
12
+ import '../shared/affix.js';
13
+ import '../shared/apply-mixins.js';
14
+ import '../shared/focus2.js';
15
+
16
+ registerTab();
@@ -0,0 +1,4 @@
1
+ import { r as registerTabPanel } from '../shared/definition41.js';
2
+ import '../shared/index.js';
3
+
4
+ registerTabPanel();
package/tabs/index.js ADDED
@@ -0,0 +1,24 @@
1
+ import { r as registerTabs } from '../shared/definition42.js';
2
+ import '../shared/index.js';
3
+ import '../shared/definition40.js';
4
+ import '../shared/definition3.js';
5
+ import '../shared/icon.js';
6
+ import '../shared/to-string.js';
7
+ import '../shared/string-trim.js';
8
+ import '../shared/_has.js';
9
+ import '../shared/class-names.js';
10
+ import '../shared/when.js';
11
+ import '../shared/definition4.js';
12
+ import '../shared/focus.js';
13
+ import '../shared/affix.js';
14
+ import '../shared/apply-mixins.js';
15
+ import '../shared/focus2.js';
16
+ import '../shared/definition41.js';
17
+ import '../shared/start-end.js';
18
+ import '../shared/ref.js';
19
+ import '../shared/key-codes.js';
20
+ import '../shared/strings.js';
21
+ import '../shared/numbers.js';
22
+ import '../shared/slotted.js';
23
+
24
+ registerTabs();
@@ -1,19 +1,25 @@
1
- import { d as designSystem } from '../shared/index.js';
1
+ import { r as registerFactory } from '../shared/index.js';
2
2
  import { T as TextAnchor } from '../shared/text-anchor.js';
3
3
  import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
4
- import '../shared/web.dom-collections.iterator.js';
5
4
  import '../shared/affix.js';
6
5
  import '../shared/icon.js';
6
+ import '../shared/to-string.js';
7
+ import '../shared/string-trim.js';
7
8
  import '../shared/_has.js';
8
9
  import '../shared/anchor.js';
9
10
  import '../shared/apply-mixins.js';
10
11
  import '../shared/aria-global.js';
12
+ import '../shared/start-end.js';
13
+ import '../shared/ref.js';
14
+ import '../shared/focus2.js';
15
+ import '../shared/focus.js';
11
16
  import '../shared/class-names.js';
12
17
 
13
- const vividTextAnchor = TextAnchor.compose({
18
+ const textAnchorDefinition = TextAnchor.compose({
14
19
  baseName: 'text-anchor',
15
20
  template: textAnchorTemplate
16
21
  });
17
- designSystem.register(vividTextAnchor());
22
+ const textAnchorRegistries = [textAnchorDefinition()];
23
+ const registerTextAnchor = registerFactory(textAnchorRegistries);
18
24
 
19
- export { vividTextAnchor };
25
+ registerTextAnchor();
@@ -0,0 +1,23 @@
1
+ import { r as registerTextArea } from '../shared/definition43.js';
2
+ import '../shared/index.js';
3
+ import '../shared/definition3.js';
4
+ import '../shared/icon.js';
5
+ import '../shared/to-string.js';
6
+ import '../shared/string-trim.js';
7
+ import '../shared/_has.js';
8
+ import '../shared/class-names.js';
9
+ import '../shared/when.js';
10
+ import '../shared/definition4.js';
11
+ import '../shared/focus.js';
12
+ import '../shared/affix.js';
13
+ import '../shared/form-elements.js';
14
+ import '../shared/text-field2.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/focus2.js';
22
+
23
+ registerTextArea();
@@ -0,0 +1,24 @@
1
+ import { r as registerTextField } from '../shared/definition44.js';
2
+ import '../shared/index.js';
3
+ import '../shared/definition4.js';
4
+ import '../shared/focus.js';
5
+ import '../shared/definition3.js';
6
+ import '../shared/icon.js';
7
+ import '../shared/to-string.js';
8
+ import '../shared/string-trim.js';
9
+ import '../shared/_has.js';
10
+ import '../shared/class-names.js';
11
+ import '../shared/when.js';
12
+ import '../shared/affix.js';
13
+ import '../shared/form-elements.js';
14
+ import '../shared/text-field2.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/text-field.js';
22
+ import '../shared/focus2.js';
23
+
24
+ registerTextField();
package/tooltip/index.js CHANGED
@@ -1,65 +1,26 @@
1
- import '../popup/index.js';
2
- import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
3
- import { s as styleInject } from '../shared/style-inject.es.js';
4
- import '../shared/web.dom-collections.iterator.js';
5
- import { c as classNames } from '../shared/class-names.js';
6
- import '../elevation/index.js';
7
- import '../button/index.js';
8
- import '../icon/index.js';
1
+ import { r as registerTooltip } from '../shared/definition45.js';
2
+ import '../shared/index.js';
3
+ import '../shared/definition18.js';
4
+ import '../shared/definition9.js';
5
+ import '../shared/definition3.js';
9
6
  import '../shared/icon.js';
7
+ import '../shared/to-string.js';
8
+ import '../shared/string-trim.js';
10
9
  import '../shared/_has.js';
10
+ import '../shared/class-names.js';
11
11
  import '../shared/when.js';
12
- import '../shared/index2.js';
12
+ import '../shared/definition4.js';
13
+ import '../shared/focus.js';
13
14
  import '../shared/affix.js';
15
+ import '../shared/button.js';
14
16
  import '../shared/apply-mixins.js';
17
+ import '../shared/form-associated.js';
18
+ import '../shared/key-codes.js';
15
19
  import '../shared/aria-global.js';
20
+ import '../shared/start-end.js';
21
+ import '../shared/ref.js';
22
+ import '../shared/focus2.js';
23
+ import '../shared/definition15.js';
16
24
  import '../shared/es.object.assign.js';
17
25
 
18
- var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n pointer-events: none;\n}\n\n.tooltip {\n width: var(--tooltip-inline-size, 240px);\n}\n.tooltip-text {\n font: 600 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n padding: 8px 12px;\n color: var(--vvd-color-on-canvas);\n}";
19
- styleInject(css_248z);
20
-
21
- class Tooltip extends FoundationElement {
22
- constructor() {
23
- super(...arguments);
24
- this.text = '';
25
- this.open = false;
26
- }
27
-
28
- }
29
-
30
- __decorate([attr({
31
- mode: 'fromView'
32
- }), __metadata("design:type", Object)], Tooltip.prototype, "text", void 0);
33
-
34
- __decorate([attr({
35
- mode: 'boolean'
36
- }), __metadata("design:type", Object)], Tooltip.prototype, "open", void 0);
37
-
38
- __decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "corner", void 0);
39
-
40
- __decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "anchor", void 0);
41
-
42
- let _2 = t => t,
43
- _t;
44
-
45
- const getClasses = _ => classNames('control');
46
-
47
- const TooltipTemplate = () => html(_t || (_t = _2`
48
- <vwc-popup class="${0}" arrow alternate="true"
49
- corner=${0} open=${0} anchor=${0}
50
- exportparts="vvd-theme-alternate">
51
- <div class="tooltip">
52
- <header part="vvd-theme-alternate" class="tooltip-header">
53
- <div class="tooltip-text">${0}</div>
54
- </header>
55
- </div>
56
- </vwc-popup>`), getClasses, x => x.corner, x => x.open, x => x.anchor, x => x.text);
57
-
58
- const vividTooltip = Tooltip.compose({
59
- baseName: 'tooltip',
60
- template: TooltipTemplate,
61
- styles: css_248z
62
- });
63
- designSystem.register(vividTooltip());
64
-
65
- export { vividTooltip };
26
+ registerTooltip();
@@ -1,2 +0,0 @@
1
- import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
2
- export declare const vividText: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
@@ -1,10 +0,0 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
2
- import type { Connotation } from '../enums.js';
3
- import type { VVDFontFace } from '../../../../../node_modules/@vonage/vivid-tokens/dist/types/typography/font-faces';
4
- declare type TextConnotation = Extract<Connotation, Connotation.Primary | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Announcement | Connotation.Info>;
5
- export declare class Text extends FoundationElement {
6
- connotation?: TextConnotation;
7
- fontFace?: VVDFontFace;
8
- tight: boolean;
9
- }
10
- export {};
package/shared/index2.js DELETED
@@ -1,21 +0,0 @@
1
- import { F as FoundationElement, h as html, d as designSystem } from './index.js';
2
- import { s as styleInject } from './style-inject.es.js';
3
-
4
- class Focus extends FoundationElement {}
5
-
6
- var css_248z = ":host {\n display: contents;\n border-radius: inherit;\n}\n\n.control {\n position: absolute;\n box-sizing: border-box;\n border-radius: inherit;\n box-shadow: inset 0 0 0 2px var(--focus-stroke-color, var(--vvd-color-on-canvas)), inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);\n inset: 0;\n}";
7
- styleInject(css_248z);
8
-
9
- let _ = t => t,
10
- _t;
11
- const focusTemplate = () => html(_t || (_t = _`
12
- <span class="control"></span>`));
13
-
14
- const VIVIDFocus = Focus.compose({
15
- baseName: 'focus',
16
- template: focusTemplate,
17
- styles: css_248z
18
- });
19
- designSystem.register(VIVIDFocus());
20
-
21
- export { Focus as F, VIVIDFocus as V };
@@ -1,28 +0,0 @@
1
- function styleInject(css, ref) {
2
- if ( ref === void 0 ) ref = {};
3
- var insertAt = ref.insertAt;
4
-
5
- if (!css || typeof document === 'undefined') { return; }
6
-
7
- var head = document.head || document.getElementsByTagName('head')[0];
8
- var style = document.createElement('style');
9
- style.type = 'text/css';
10
-
11
- if (insertAt === 'top') {
12
- if (head.firstChild) {
13
- head.insertBefore(style, head.firstChild);
14
- } else {
15
- head.appendChild(style);
16
- }
17
- } else {
18
- head.appendChild(style);
19
- }
20
-
21
- if (style.styleSheet) {
22
- style.styleSheet.cssText = css;
23
- } else {
24
- style.appendChild(document.createTextNode(css));
25
- }
26
- }
27
-
28
- export { styleInject as s };