@vonage/vivid 4.4.0 → 4.6.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 (235) hide show
  1. package/custom-elements.json +7181 -6876
  2. package/elevation/index.cjs +1 -1
  3. package/elevation/index.js +1 -1
  4. package/index.cjs +80 -74
  5. package/index.js +23 -22
  6. package/lib/components.d.ts +1 -0
  7. package/lib/fab/fab.d.ts +1 -1
  8. package/lib/icon/icon.d.ts +1 -1
  9. package/lib/menu/menu.d.ts +2 -1
  10. package/lib/number-field/number-field.d.ts +3 -1
  11. package/lib/searchable-select/definition.d.ts +4 -0
  12. package/lib/searchable-select/locale.d.ts +6 -0
  13. package/lib/searchable-select/option-tag.d.ts +14 -0
  14. package/lib/searchable-select/option-tag.template.d.ts +4 -0
  15. package/lib/searchable-select/searchable-select.d.ts +29 -0
  16. package/lib/searchable-select/searchable-select.form-associated.d.ts +10 -0
  17. package/lib/searchable-select/searchable-select.template.d.ts +4 -0
  18. package/lib/select/select.d.ts +4 -1
  19. package/lib/tab/locale.d.ts +3 -0
  20. package/lib/tab/tab.d.ts +5 -1
  21. package/lib/tabs/tabs.d.ts +2 -0
  22. package/lib/tag/definition.d.ts +1 -0
  23. package/lib/text-field/text-field.d.ts +3 -1
  24. package/lib/video-player/video-player.d.ts +0 -1
  25. package/listbox/index.cjs +1 -1
  26. package/listbox/index.js +1 -1
  27. package/locales/de-DE.cjs +12 -0
  28. package/locales/de-DE.js +12 -0
  29. package/locales/en-GB.cjs +12 -0
  30. package/locales/en-GB.js +12 -0
  31. package/locales/en-US.cjs +12 -0
  32. package/locales/en-US.js +12 -0
  33. package/locales/ja-JP.cjs +12 -0
  34. package/locales/ja-JP.js +12 -0
  35. package/locales/zh-CN.cjs +12 -0
  36. package/locales/zh-CN.js +12 -0
  37. package/package.json +6 -1
  38. package/popup/index.cjs +1 -1
  39. package/popup/index.js +1 -1
  40. package/searchable-select/index.cjs +5 -0
  41. package/searchable-select/index.js +3 -0
  42. package/select/index.cjs +1 -1
  43. package/select/index.js +1 -1
  44. package/selectable-box/index.cjs +1 -1
  45. package/selectable-box/index.js +1 -1
  46. package/shared/anchored.js +1 -1
  47. package/shared/calendar-event.js +1 -1
  48. package/shared/definition.cjs +2 -2
  49. package/shared/definition.js +2 -2
  50. package/shared/definition11.cjs +1 -1
  51. package/shared/definition11.js +1 -1
  52. package/shared/definition12.cjs +1 -1
  53. package/shared/definition12.js +1 -1
  54. package/shared/definition13.js +1 -1
  55. package/shared/definition14.cjs +1 -1
  56. package/shared/definition14.js +1 -1
  57. package/shared/definition15.cjs +7 -8
  58. package/shared/definition15.js +2 -3
  59. package/shared/definition16.cjs +11 -7
  60. package/shared/definition16.js +10 -6
  61. package/shared/definition17.cjs +2 -2
  62. package/shared/definition17.js +2 -2
  63. package/shared/definition18.cjs +5 -6
  64. package/shared/definition18.js +3 -4
  65. package/shared/definition19.cjs +5 -6
  66. package/shared/definition19.js +3 -4
  67. package/shared/definition20.cjs +16 -38
  68. package/shared/definition20.js +17 -39
  69. package/shared/definition21.cjs +7 -6
  70. package/shared/definition21.js +8 -7
  71. package/shared/definition23.cjs +1 -1
  72. package/shared/definition23.js +2 -2
  73. package/shared/definition24.cjs +2 -2
  74. package/shared/definition24.js +2 -2
  75. package/shared/definition25.cjs +6 -7
  76. package/shared/definition25.js +2 -3
  77. package/shared/definition26.cjs +1 -1
  78. package/shared/definition26.js +2 -2
  79. package/shared/definition27.cjs +1 -1
  80. package/shared/definition27.js +1 -1
  81. package/shared/definition28.js +1 -1
  82. package/shared/definition29.cjs +8 -4
  83. package/shared/definition29.js +8 -4
  84. package/shared/definition3.cjs +1 -1
  85. package/shared/definition3.js +2 -2
  86. package/shared/definition30.cjs +4 -2
  87. package/shared/definition30.js +4 -2
  88. package/shared/definition31.cjs +1 -1
  89. package/shared/definition31.js +2 -2
  90. package/shared/definition32.cjs +1 -1
  91. package/shared/definition32.js +1 -1
  92. package/shared/definition34.cjs +2 -3
  93. package/shared/definition34.js +2 -3
  94. package/shared/definition35.cjs +21 -16
  95. package/shared/definition35.js +16 -11
  96. package/shared/definition36.cjs +50 -207
  97. package/shared/definition36.js +51 -207
  98. package/shared/definition37.js +1 -1
  99. package/shared/definition38.cjs +1 -1
  100. package/shared/definition38.js +1 -1
  101. package/shared/definition4.cjs +6 -4
  102. package/shared/definition4.js +7 -5
  103. package/shared/definition41.cjs +1 -1
  104. package/shared/definition41.js +1 -1
  105. package/shared/definition42.cjs +6 -7
  106. package/shared/definition42.js +6 -7
  107. package/shared/definition43.cjs +998 -643
  108. package/shared/definition43.js +992 -638
  109. package/shared/definition44.cjs +723 -112
  110. package/shared/definition44.js +722 -111
  111. package/shared/definition45.cjs +121 -79
  112. package/shared/definition45.js +120 -78
  113. package/shared/definition46.cjs +81 -616
  114. package/shared/definition46.js +80 -614
  115. package/shared/definition47.cjs +609 -116
  116. package/shared/definition47.js +607 -115
  117. package/shared/definition48.cjs +116 -134
  118. package/shared/definition48.js +115 -133
  119. package/shared/definition49.cjs +149 -19
  120. package/shared/definition49.js +148 -18
  121. package/shared/definition5.cjs +5 -6
  122. package/shared/definition5.js +5 -6
  123. package/shared/definition50.cjs +21 -82
  124. package/shared/definition50.js +20 -81
  125. package/shared/definition51.cjs +78 -494
  126. package/shared/definition51.js +77 -493
  127. package/shared/definition52.cjs +568 -28
  128. package/shared/definition52.js +567 -27
  129. package/shared/definition53.cjs +28 -123
  130. package/shared/definition53.js +27 -123
  131. package/shared/definition54.cjs +115 -296
  132. package/shared/definition54.js +114 -295
  133. package/shared/definition55.cjs +258 -318
  134. package/shared/definition55.js +252 -312
  135. package/shared/definition56.cjs +303 -784
  136. package/shared/definition56.js +298 -779
  137. package/shared/definition57.cjs +802 -95
  138. package/shared/definition57.js +801 -94
  139. package/shared/definition58.cjs +95 -60
  140. package/shared/definition58.js +94 -59
  141. package/shared/definition59.cjs +117 -75
  142. package/shared/definition59.js +116 -74
  143. package/shared/definition6.cjs +1 -1
  144. package/shared/definition6.js +1 -1
  145. package/shared/definition60.cjs +70 -285
  146. package/shared/definition60.js +71 -286
  147. package/shared/definition61.cjs +296 -325
  148. package/shared/definition61.js +295 -324
  149. package/shared/definition62.cjs +66160 -27
  150. package/shared/definition62.js +66159 -26
  151. package/shared/definition63.cjs +24 -1952
  152. package/shared/definition63.js +23 -1950
  153. package/shared/definition64.cjs +1976 -0
  154. package/shared/definition64.js +1971 -0
  155. package/shared/definition7.cjs +1 -1
  156. package/shared/definition7.js +1 -1
  157. package/shared/definition8.cjs +2 -3
  158. package/shared/definition8.js +3 -4
  159. package/shared/definition9.cjs +1 -1
  160. package/shared/definition9.js +1 -1
  161. package/shared/dialog/index.d.ts +1 -0
  162. package/shared/form-elements.cjs +236 -0
  163. package/shared/form-elements.js +229 -0
  164. package/shared/icon.js +1 -1
  165. package/shared/index2.cjs +6 -256
  166. package/shared/index2.js +6 -249
  167. package/shared/listbox-option.cjs +204 -0
  168. package/shared/listbox-option.js +201 -0
  169. package/shared/listbox.cjs +3 -3
  170. package/shared/listbox.js +1 -1
  171. package/shared/localization/Locale.d.ts +4 -0
  172. package/shared/localized.cjs +26 -2
  173. package/shared/localized.js +25 -2
  174. package/shared/playbackRates.cjs +13 -0
  175. package/shared/playbackRates.js +11 -0
  176. package/shared/presentationDate.cjs +11 -11
  177. package/shared/presentationDate.js +11 -11
  178. package/shared/scrollIntoView.cjs +51 -0
  179. package/shared/scrollIntoView.js +49 -0
  180. package/shared/slider.template.cjs +1 -1
  181. package/shared/slider.template.js +1 -1
  182. package/shared/text-anchor.cjs +1 -1
  183. package/shared/text-anchor.js +1 -1
  184. package/shared/text-field.cjs +1 -1
  185. package/shared/text-field.js +1 -1
  186. package/shared/utils/playbackRates.d.ts +1 -0
  187. package/shared/utils/scrollIntoView.d.ts +1 -0
  188. package/side-drawer/index.cjs +1 -1
  189. package/side-drawer/index.js +1 -1
  190. package/slider/index.cjs +1 -1
  191. package/slider/index.js +1 -1
  192. package/split-button/index.cjs +1 -1
  193. package/split-button/index.js +1 -1
  194. package/styles/core/all.css +1 -1
  195. package/styles/core/theme.css +1 -1
  196. package/styles/core/typography.css +1 -1
  197. package/styles/tokens/theme-dark.css +4 -4
  198. package/styles/tokens/theme-light.css +4 -4
  199. package/styles/tokens/vivid-2-compat.css +1 -1
  200. package/switch/index.cjs +1 -1
  201. package/switch/index.js +1 -1
  202. package/tab/index.cjs +1 -1
  203. package/tab/index.js +1 -1
  204. package/tab-panel/index.cjs +1 -1
  205. package/tab-panel/index.js +1 -1
  206. package/tabs/index.cjs +1 -1
  207. package/tabs/index.js +1 -1
  208. package/tag/index.cjs +1 -1
  209. package/tag/index.js +1 -1
  210. package/tag-group/index.cjs +1 -1
  211. package/tag-group/index.js +1 -1
  212. package/text-area/index.cjs +1 -1
  213. package/text-area/index.js +1 -1
  214. package/text-field/index.cjs +1 -1
  215. package/text-field/index.js +1 -1
  216. package/time-picker/index.cjs +1 -1
  217. package/time-picker/index.js +1 -1
  218. package/toggletip/index.cjs +1 -1
  219. package/toggletip/index.js +1 -1
  220. package/tooltip/index.cjs +1 -1
  221. package/tooltip/index.js +1 -1
  222. package/tree-item/index.cjs +1 -1
  223. package/tree-item/index.js +1 -1
  224. package/tree-view/index.cjs +1 -1
  225. package/tree-view/index.js +1 -1
  226. package/video-player/index.cjs +1 -1
  227. package/video-player/index.js +1 -1
  228. package/vivid.api.json +312 -8
  229. package/appearance-ui/index.cjs +0 -102
  230. package/appearance-ui/index.js +0 -100
  231. package/lib/appearance-ui/appearance-ui.d.ts +0 -12
  232. package/lib/appearance-ui/appearance-ui.template.d.ts +0 -4
  233. package/lib/appearance-ui/definition.d.ts +0 -3
  234. package/shared/video-player.cjs +0 -65860
  235. package/shared/video-player.js +0 -65857
@@ -1,5 +1,5 @@
1
1
  'use strict';
2
2
 
3
- const definition = require('../shared/definition61.cjs');
3
+ const definition = require('../shared/definition62.cjs');
4
4
 
5
5
  definition.registerVideoPlayer();
@@ -1,3 +1,3 @@
1
- import { r as registerVideoPlayer } from '../shared/definition61.js';
1
+ import { r as registerVideoPlayer } from '../shared/definition62.js';
2
2
 
3
3
  registerVideoPlayer();
package/vivid.api.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.47.2",
4
+ "toolVersion": "7.47.7",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -3483,6 +3483,15 @@
3483
3483
  "kind": "Content",
3484
3484
  "text": ", "
3485
3485
  },
3486
+ {
3487
+ "kind": "Reference",
3488
+ "text": "Size.Condensed",
3489
+ "canonicalReference": "@vonage/vivid!Size.Condensed:member"
3490
+ },
3491
+ {
3492
+ "kind": "Content",
3493
+ "text": " | "
3494
+ },
3486
3495
  {
3487
3496
  "kind": "Reference",
3488
3497
  "text": "Size.Normal",
@@ -3511,7 +3520,7 @@
3511
3520
  "name": "FABSize",
3512
3521
  "typeTokenRange": {
3513
3522
  "startIndex": 1,
3514
- "endIndex": 9
3523
+ "endIndex": 11
3515
3524
  }
3516
3525
  },
3517
3526
  {
@@ -3818,8 +3827,8 @@
3818
3827
  },
3819
3828
  {
3820
3829
  "kind": "Reference",
3821
- "text": "Connotation.Announcement",
3822
- "canonicalReference": "@vonage/vivid!Connotation.Announcement:member"
3830
+ "text": "Connotation.Success",
3831
+ "canonicalReference": "@vonage/vivid!Connotation.Success:member"
3823
3832
  },
3824
3833
  {
3825
3834
  "kind": "Content",
@@ -3827,8 +3836,8 @@
3827
3836
  },
3828
3837
  {
3829
3838
  "kind": "Reference",
3830
- "text": "Connotation.Success",
3831
- "canonicalReference": "@vonage/vivid!Connotation.Success:member"
3839
+ "text": "Connotation.Alert",
3840
+ "canonicalReference": "@vonage/vivid!Connotation.Alert:member"
3832
3841
  },
3833
3842
  {
3834
3843
  "kind": "Content",
@@ -3836,8 +3845,8 @@
3836
3845
  },
3837
3846
  {
3838
3847
  "kind": "Reference",
3839
- "text": "Connotation.Alert",
3840
- "canonicalReference": "@vonage/vivid!Connotation.Alert:member"
3848
+ "text": "Connotation.Warning",
3849
+ "canonicalReference": "@vonage/vivid!Connotation.Warning:member"
3841
3850
  },
3842
3851
  {
3843
3852
  "kind": "Content",
@@ -5324,6 +5333,101 @@
5324
5333
  "endIndex": 9
5325
5334
  }
5326
5335
  },
5336
+ {
5337
+ "kind": "Function",
5338
+ "canonicalReference": "@vonage/vivid!optionTagDefinition:function(1)",
5339
+ "docComment": "",
5340
+ "excerptTokens": [
5341
+ {
5342
+ "kind": "Content",
5343
+ "text": "optionTagDefinition: (overrideDefinition?: "
5344
+ },
5345
+ {
5346
+ "kind": "Content",
5347
+ "text": "import(\"@microsoft/fast-foundation\")."
5348
+ },
5349
+ {
5350
+ "kind": "Reference",
5351
+ "text": "OverrideFoundationElementDefinition",
5352
+ "canonicalReference": "@microsoft/fast-foundation!OverrideFoundationElementDefinition:type"
5353
+ },
5354
+ {
5355
+ "kind": "Content",
5356
+ "text": "<"
5357
+ },
5358
+ {
5359
+ "kind": "Reference",
5360
+ "text": "FoundationElementDefinition",
5361
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
5362
+ },
5363
+ {
5364
+ "kind": "Content",
5365
+ "text": "> | undefined"
5366
+ },
5367
+ {
5368
+ "kind": "Content",
5369
+ "text": ") => "
5370
+ },
5371
+ {
5372
+ "kind": "Content",
5373
+ "text": "import(\"@microsoft/fast-foundation\")."
5374
+ },
5375
+ {
5376
+ "kind": "Reference",
5377
+ "text": "FoundationElementRegistry",
5378
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
5379
+ },
5380
+ {
5381
+ "kind": "Content",
5382
+ "text": "<"
5383
+ },
5384
+ {
5385
+ "kind": "Reference",
5386
+ "text": "FoundationElementDefinition",
5387
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
5388
+ },
5389
+ {
5390
+ "kind": "Content",
5391
+ "text": ", import(\"@microsoft/fast-element\")."
5392
+ },
5393
+ {
5394
+ "kind": "Reference",
5395
+ "text": "Constructable",
5396
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
5397
+ },
5398
+ {
5399
+ "kind": "Content",
5400
+ "text": "<import(\"@microsoft/fast-foundation\")."
5401
+ },
5402
+ {
5403
+ "kind": "Reference",
5404
+ "text": "FoundationElement",
5405
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
5406
+ },
5407
+ {
5408
+ "kind": "Content",
5409
+ "text": ">>"
5410
+ }
5411
+ ],
5412
+ "fileUrlPath": "../../dist/libs/components/lib/searchable-select/definition.d.ts",
5413
+ "returnTypeTokenRange": {
5414
+ "startIndex": 7,
5415
+ "endIndex": 16
5416
+ },
5417
+ "releaseTag": "Public",
5418
+ "overloadIndex": 1,
5419
+ "parameters": [
5420
+ {
5421
+ "parameterName": "overrideDefinition",
5422
+ "parameterTypeTokenRange": {
5423
+ "startIndex": 1,
5424
+ "endIndex": 6
5425
+ },
5426
+ "isOptional": true
5427
+ }
5428
+ ],
5429
+ "name": "optionTagDefinition"
5430
+ },
5327
5431
  {
5328
5432
  "kind": "Function",
5329
5433
  "canonicalReference": "@vonage/vivid!paginationDefinition:function(1)",
@@ -8271,6 +8375,52 @@
8271
8375
  ],
8272
8376
  "name": "registerRangeSlider"
8273
8377
  },
8378
+ {
8379
+ "kind": "Function",
8380
+ "canonicalReference": "@vonage/vivid!registerSearchableSelect:function(1)",
8381
+ "docComment": "",
8382
+ "excerptTokens": [
8383
+ {
8384
+ "kind": "Content",
8385
+ "text": "registerSearchableSelect: (prefix?: "
8386
+ },
8387
+ {
8388
+ "kind": "Content",
8389
+ "text": "string"
8390
+ },
8391
+ {
8392
+ "kind": "Content",
8393
+ "text": ") => "
8394
+ },
8395
+ {
8396
+ "kind": "Content",
8397
+ "text": "import(\"@microsoft/fast-foundation\")."
8398
+ },
8399
+ {
8400
+ "kind": "Reference",
8401
+ "text": "DesignSystem",
8402
+ "canonicalReference": "@microsoft/fast-foundation!DesignSystem:interface"
8403
+ }
8404
+ ],
8405
+ "fileUrlPath": "../../dist/libs/components/lib/searchable-select/definition.d.ts",
8406
+ "returnTypeTokenRange": {
8407
+ "startIndex": 3,
8408
+ "endIndex": 5
8409
+ },
8410
+ "releaseTag": "Public",
8411
+ "overloadIndex": 1,
8412
+ "parameters": [
8413
+ {
8414
+ "parameterName": "prefix",
8415
+ "parameterTypeTokenRange": {
8416
+ "startIndex": 1,
8417
+ "endIndex": 2
8418
+ },
8419
+ "isOptional": true
8420
+ }
8421
+ ],
8422
+ "name": "registerSearchableSelect"
8423
+ },
8274
8424
  {
8275
8425
  "kind": "Function",
8276
8426
  "canonicalReference": "@vonage/vivid!registerSelect:function(1)",
@@ -9271,6 +9421,101 @@
9271
9421
  "endIndex": 11
9272
9422
  }
9273
9423
  },
9424
+ {
9425
+ "kind": "Function",
9426
+ "canonicalReference": "@vonage/vivid!searchableSelectDefinition:function(1)",
9427
+ "docComment": "",
9428
+ "excerptTokens": [
9429
+ {
9430
+ "kind": "Content",
9431
+ "text": "searchableSelectDefinition: (overrideDefinition?: "
9432
+ },
9433
+ {
9434
+ "kind": "Content",
9435
+ "text": "import(\"@microsoft/fast-foundation\")."
9436
+ },
9437
+ {
9438
+ "kind": "Reference",
9439
+ "text": "OverrideFoundationElementDefinition",
9440
+ "canonicalReference": "@microsoft/fast-foundation!OverrideFoundationElementDefinition:type"
9441
+ },
9442
+ {
9443
+ "kind": "Content",
9444
+ "text": "<"
9445
+ },
9446
+ {
9447
+ "kind": "Reference",
9448
+ "text": "FoundationElementDefinition",
9449
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
9450
+ },
9451
+ {
9452
+ "kind": "Content",
9453
+ "text": "> | undefined"
9454
+ },
9455
+ {
9456
+ "kind": "Content",
9457
+ "text": ") => "
9458
+ },
9459
+ {
9460
+ "kind": "Content",
9461
+ "text": "import(\"@microsoft/fast-foundation\")."
9462
+ },
9463
+ {
9464
+ "kind": "Reference",
9465
+ "text": "FoundationElementRegistry",
9466
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
9467
+ },
9468
+ {
9469
+ "kind": "Content",
9470
+ "text": "<"
9471
+ },
9472
+ {
9473
+ "kind": "Reference",
9474
+ "text": "FoundationElementDefinition",
9475
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
9476
+ },
9477
+ {
9478
+ "kind": "Content",
9479
+ "text": ", import(\"@microsoft/fast-element\")."
9480
+ },
9481
+ {
9482
+ "kind": "Reference",
9483
+ "text": "Constructable",
9484
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
9485
+ },
9486
+ {
9487
+ "kind": "Content",
9488
+ "text": "<import(\"@microsoft/fast-foundation\")."
9489
+ },
9490
+ {
9491
+ "kind": "Reference",
9492
+ "text": "FoundationElement",
9493
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
9494
+ },
9495
+ {
9496
+ "kind": "Content",
9497
+ "text": ">>"
9498
+ }
9499
+ ],
9500
+ "fileUrlPath": "../../dist/libs/components/lib/searchable-select/definition.d.ts",
9501
+ "returnTypeTokenRange": {
9502
+ "startIndex": 7,
9503
+ "endIndex": 16
9504
+ },
9505
+ "releaseTag": "Public",
9506
+ "overloadIndex": 1,
9507
+ "parameters": [
9508
+ {
9509
+ "parameterName": "overrideDefinition",
9510
+ "parameterTypeTokenRange": {
9511
+ "startIndex": 1,
9512
+ "endIndex": 6
9513
+ },
9514
+ "isOptional": true
9515
+ }
9516
+ ],
9517
+ "name": "searchableSelectDefinition"
9518
+ },
9274
9519
  {
9275
9520
  "kind": "Function",
9276
9521
  "canonicalReference": "@vonage/vivid!selectableBoxDefinition:function(1)",
@@ -11395,6 +11640,65 @@
11395
11640
  ],
11396
11641
  "name": "tagGroupDefinition"
11397
11642
  },
11643
+ {
11644
+ "kind": "Variable",
11645
+ "canonicalReference": "@vonage/vivid!tagRegistries:var",
11646
+ "docComment": "",
11647
+ "excerptTokens": [
11648
+ {
11649
+ "kind": "Content",
11650
+ "text": "tagRegistries: "
11651
+ },
11652
+ {
11653
+ "kind": "Content",
11654
+ "text": "import(\"@microsoft/fast-foundation\")."
11655
+ },
11656
+ {
11657
+ "kind": "Reference",
11658
+ "text": "FoundationElementRegistry",
11659
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementRegistry:class"
11660
+ },
11661
+ {
11662
+ "kind": "Content",
11663
+ "text": "<"
11664
+ },
11665
+ {
11666
+ "kind": "Reference",
11667
+ "text": "FoundationElementDefinition",
11668
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElementDefinition:interface"
11669
+ },
11670
+ {
11671
+ "kind": "Content",
11672
+ "text": ", import(\"@microsoft/fast-element\")."
11673
+ },
11674
+ {
11675
+ "kind": "Reference",
11676
+ "text": "Constructable",
11677
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
11678
+ },
11679
+ {
11680
+ "kind": "Content",
11681
+ "text": "<import(\"@microsoft/fast-foundation\")."
11682
+ },
11683
+ {
11684
+ "kind": "Reference",
11685
+ "text": "FoundationElement",
11686
+ "canonicalReference": "@microsoft/fast-foundation!FoundationElement:class"
11687
+ },
11688
+ {
11689
+ "kind": "Content",
11690
+ "text": ">>[]"
11691
+ }
11692
+ ],
11693
+ "fileUrlPath": "../../dist/libs/components/lib/tag/definition.d.ts",
11694
+ "isReadonly": true,
11695
+ "releaseTag": "Public",
11696
+ "name": "tagRegistries",
11697
+ "variableTypeTokenRange": {
11698
+ "startIndex": 1,
11699
+ "endIndex": 10
11700
+ }
11701
+ },
11398
11702
  {
11399
11703
  "kind": "TypeAlias",
11400
11704
  "canonicalReference": "@vonage/vivid!TagShape:type",
@@ -1,102 +0,0 @@
1
- 'use strict';
2
-
3
- const index = require('../shared/index.cjs');
4
- const classNames = require('../shared/class-names.cjs');
5
-
6
- const styles = ".wrapper{display:grid;column-gap:8px;grid-template-columns:repeat(7,auto)}.base{display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;border-radius:8px;background-color:var(--_appearance-color-fill);block-size:40px;box-shadow:inset 0 0 0 1px var(--_appearance-color-outline);color:var(--_appearance-color-text);padding-inline:16px}.base.connotation-cta{--_connotation-color-faint: var(--vvd-appearanceUI-cta-faint, var(--vvd-color-cta-50));--_connotation-color-soft: var(--vvd-appearanceUI-cta-soft, var(--vvd-color-cta-100));--_connotation-color-dim: var(--vvd-appearanceUI-cta-dim, var(--vvd-color-cta-200));--_connotation-color-pale: var(--vvd-appearanceUI-cta-pale, var(--vvd-color-cta-300));--_connotation-color-light: var(--vvd-appearanceUI-cta-light, var(--vvd-color-cta-400));--_connotation-color-primary: var(--vvd-appearanceUI-cta-primary, var(--vvd-color-cta-500));--_connotation-color-primary-text: var(--vvd-appearanceUI-cta-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-appearanceUI-cta-primary-increment, var(--vvd-color-cta-600));--_connotation-color-firm: var(--vvd-appearanceUI-cta-firm, var(--vvd-color-cta-600));--_connotation-color-firm-all: var(--vvd-appearanceUI-cta-firm-all, var(--vvd-color-cta-600));--_connotation-color-fierce: var(--vvd-appearanceUI-cta-fierce, var(--vvd-color-cta-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-cta-fierce-primary, var(--vvd-color-cta-700));--_connotation-color-contrast: var(--vvd-appearanceUI-cta-contrast, var(--vvd-color-cta-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-cta-intermediate, var(--vvd-color-cta-500))}.base.connotation-success{--_connotation-color-faint: var(--vvd-appearanceUI-success-faint, var(--vvd-color-success-50));--_connotation-color-soft: var(--vvd-appearanceUI-success-soft, var(--vvd-color-success-100));--_connotation-color-dim: var(--vvd-appearanceUI-success-dim, var(--vvd-color-success-200));--_connotation-color-pale: var(--vvd-appearanceUI-success-pale, var(--vvd-color-success-300));--_connotation-color-light: var(--vvd-appearanceUI-success-light, var(--vvd-color-success-400));--_connotation-color-primary: var(--vvd-appearanceUI-success-primary, var(--vvd-color-success-500));--_connotation-color-primary-text: var(--vvd-appearanceUI-success-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-appearanceUI-success-primary-increment, var(--vvd-color-success-600));--_connotation-color-firm: var(--vvd-appearanceUI-success-firm, var(--vvd-color-success-600));--_connotation-color-firm-all: var(--vvd-appearanceUI-success-firm-all, var(--vvd-color-success-600));--_connotation-color-fierce: var(--vvd-appearanceUI-success-fierce, var(--vvd-color-success-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-success-fierce-primary, var(--vvd-color-success-700));--_connotation-color-contrast: var(--vvd-appearanceUI-success-contrast, var(--vvd-color-success-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-success-intermediate, var(--vvd-color-success-500))}.base.connotation-alert{--_connotation-color-faint: var(--vvd-appearanceUI-alert-faint, var(--vvd-color-alert-50));--_connotation-color-soft: var(--vvd-appearanceUI-alert-soft, var(--vvd-color-alert-100));--_connotation-color-dim: var(--vvd-appearanceUI-alert-dim, var(--vvd-color-alert-200));--_connotation-color-pale: var(--vvd-appearanceUI-alert-pale, var(--vvd-color-alert-300));--_connotation-color-light: var(--vvd-appearanceUI-alert-light, var(--vvd-color-alert-400));--_connotation-color-primary: var(--vvd-appearanceUI-alert-primary, var(--vvd-color-alert-500));--_connotation-color-primary-text: var(--vvd-appearanceUI-alert-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-appearanceUI-alert-primary-increment, var(--vvd-color-alert-600));--_connotation-color-firm: var(--vvd-appearanceUI-alert-firm, var(--vvd-color-alert-600));--_connotation-color-firm-all: var(--vvd-appearanceUI-alert-firm-all, var(--vvd-color-alert-600));--_connotation-color-fierce: var(--vvd-appearanceUI-alert-fierce, var(--vvd-color-alert-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-alert-fierce-primary, var(--vvd-color-alert-700));--_connotation-color-contrast: var(--vvd-appearanceUI-alert-contrast, var(--vvd-color-alert-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-alert-intermediate, var(--vvd-color-alert-500))}.base.connotation-warning{--_connotation-color-faint: var(--vvd-appearanceUI-warning-faint, var(--vvd-color-warning-50));--_connotation-color-soft: var(--vvd-appearanceUI-warning-soft, var(--vvd-color-warning-100));--_connotation-color-dim: var(--vvd-appearanceUI-warning-dim, var(--vvd-color-warning-200));--_connotation-color-pale: var(--vvd-appearanceUI-warning-pale, var(--vvd-color-warning-300));--_connotation-color-light: var(--vvd-appearanceUI-warning-light, var(--vvd-color-warning-400));--_connotation-color-primary: var(--vvd-appearanceUI-warning-primary, var(--vvd-color-warning-300));--_connotation-color-primary-text: var(--vvd-appearanceUI-warning-primary-text, var(--vvd-color-canvas-text));--_connotation-color-primary-increment: var(--vvd-appearanceUI-warning-primary-increment, var(--vvd-color-warning-600));--_connotation-color-firm: var(--vvd-appearanceUI-warning-firm, var(--vvd-color-warning-600));--_connotation-color-firm-all: var(--vvd-appearanceUI-warning-firm-all, var(--vvd-color-warning-600));--_connotation-color-fierce: var(--vvd-appearanceUI-warning-fierce, var(--vvd-color-warning-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-warning-fierce-primary, var(--vvd-color-warning-300));--_connotation-color-contrast: var(--vvd-appearanceUI-warning-contrast, var(--vvd-color-warning-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-warning-intermediate, var(--vvd-color-warning-300))}.base.connotation-information{--_connotation-color-faint: var(--vvd-appearanceUI-information-faint, var(--vvd-color-information-50));--_connotation-color-soft: var(--vvd-appearanceUI-information-soft, var(--vvd-color-information-100));--_connotation-color-dim: var(--vvd-appearanceUI-information-dim, var(--vvd-color-information-200));--_connotation-color-pale: var(--vvd-appearanceUI-information-pale, var(--vvd-color-information-300));--_connotation-color-light: var(--vvd-appearanceUI-information-light, var(--vvd-color-information-400));--_connotation-color-primary: var(--vvd-appearanceUI-information-primary, var(--vvd-color-information-500));--_connotation-color-primary-text: var(--vvd-appearanceUI-information-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-appearanceUI-information-primary-increment, var(--vvd-color-information-600));--_connotation-color-firm: var(--vvd-appearanceUI-information-firm, var(--vvd-color-information-600));--_connotation-color-firm-all: var(--vvd-appearanceUI-information-firm-all, var(--vvd-color-information-600));--_connotation-color-fierce: var(--vvd-appearanceUI-information-fierce, var(--vvd-color-information-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-information-fierce-primary, var(--vvd-color-information-700));--_connotation-color-contrast: var(--vvd-appearanceUI-information-contrast, var(--vvd-color-information-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-information-intermediate, var(--vvd-color-information-500))}.base.connotation-announcement{--_connotation-color-faint: var(--vvd-appearanceUI-announcement-faint, var(--vvd-color-announcement-50));--_connotation-color-soft: var(--vvd-appearanceUI-announcement-soft, var(--vvd-color-announcement-100));--_connotation-color-dim: var(--vvd-appearanceUI-announcement-dim, var(--vvd-color-announcement-200));--_connotation-color-pale: var(--vvd-appearanceUI-announcement-pale, var(--vvd-color-announcement-300));--_connotation-color-light: var(--vvd-appearanceUI-announcement-light, var(--vvd-color-announcement-400));--_connotation-color-primary: var(--vvd-appearanceUI-announcement-primary, var(--vvd-color-announcement-500));--_connotation-color-primary-text: var(--vvd-appearanceUI-announcement-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-appearanceUI-announcement-primary-increment, var(--vvd-color-announcement-600));--_connotation-color-firm: var(--vvd-appearanceUI-announcement-firm, var(--vvd-color-announcement-600));--_connotation-color-firm-all: var(--vvd-appearanceUI-announcement-firm-all, var(--vvd-color-announcement-600));--_connotation-color-fierce: var(--vvd-appearanceUI-announcement-fierce, var(--vvd-color-announcement-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-announcement-fierce-primary, var(--vvd-color-announcement-700));--_connotation-color-contrast: var(--vvd-appearanceUI-announcement-contrast, var(--vvd-color-announcement-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-announcement-intermediate, var(--vvd-color-announcement-500))}.base:not(.connotation-cta,.connotation-success,.connotation-alert,.connotation-warning,.connotation-information,.connotation-announcement){--_connotation-color-faint: var(--vvd-appearanceUI-accent-faint, var(--vvd-color-neutral-50));--_connotation-color-soft: var(--vvd-appearanceUI-accent-soft, var(--vvd-color-neutral-100));--_connotation-color-dim: var(--vvd-appearanceUI-accent-dim, var(--vvd-color-neutral-200));--_connotation-color-pale: var(--vvd-appearanceUI-accent-pale, var(--vvd-color-neutral-300));--_connotation-color-light: var(--vvd-appearanceUI-accent-light, var(--vvd-color-neutral-400));--_connotation-color-primary: var(--vvd-appearanceUI-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-appearanceUI-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-appearanceUI-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-firm: var(--vvd-appearanceUI-accent-firm, var(--vvd-color-canvas-text));--_connotation-color-firm-all: var(--vvd-appearanceUI-accent-firm-all, var(--vvd-color-neutral-600));--_connotation-color-fierce: var(--vvd-appearanceUI-accent-fierce, var(--vvd-color-neutral-700));--_connotation-color-fierce-primary: var(--vvd-appearanceUI-accent-fierce-primary, var(--vvd-color-canvas-text));--_connotation-color-contrast: var(--vvd-appearanceUI-accent-contrast, var(--vvd-color-neutral-800));--_connotation-color-intermediate: var(--vvd-appearanceUI-accent-intermediate, var(--vvd-color-neutral-500))}.base{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.base.appearance-ghost,.base.appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base.appearance-outlined{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--_connotation-color-firm)}.base.appearance-outlined-light{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-300)}.base.appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--_connotation-color-pale)}.base.appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.base.appearance-fieldset{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--_connotation-color-intermediate)}.base.appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary-increment);--_appearance-color-outline: transparent}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-fierce-primary);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-primary), transparent 90%);--_appearance-color-outline: transparent}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-outlined{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: var(--_connotation-color-firm)}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-outlined-light{--_appearance-color-text: var(--_connotation-color-fierce-primary);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-primary), transparent 90%);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--_connotation-color-firm-all)}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-fieldset{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--_connotation-color-fierce)}.base:where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: transparent}.base:where(.active,:active):where(:not(.disabled,:disabled)){--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-fierce);--_appearance-color-outline: transparent}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-fierce-primary);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-primary), transparent 80%);--_appearance-color-outline: transparent}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-outlined{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: var(--_connotation-color-firm)}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-outlined-light{--_appearance-color-text: var(--_connotation-color-fierce-primary);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-primary), transparent 80%);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: var(--_connotation-color-pale)}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-fieldset{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-canvas);--_appearance-color-outline: var(--_connotation-color-firm)}.base:where(.active,:active):where(:not(.disabled,:disabled)).appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.base:where(.selected):where(:not(.disabled,:disabled)){--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: transparent}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-firm), transparent 10%);--_appearance-color-outline: transparent}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-outlined{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-outlined-light{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-firm), transparent 10%);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: var(--_connotation-color-pale)}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-pale);--_appearance-color-outline: transparent}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-fieldset{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: var(--_connotation-color-primary)}.base:where(.selected):where(:not(.disabled,:disabled)).appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(:not(.disabled,:disabled)){--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-firm), transparent 10%);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-outlined{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-outlined-light{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: var(--_connotation-color-pale)}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-pale);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-fieldset{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: var(--_connotation-color-primary)}.base:where(.checked,:checked):where(:not(.disabled,:disabled)).appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-soft);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary-increment);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-fierce-primary), transparent 20%);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-outlined{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-outlined-light{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: var(--_connotation-color-firm-all)}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-pale);--_appearance-color-outline: transparent}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-fieldset{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary-increment);--_appearance-color-outline: var(--_connotation-color-primary-increment)}.base:where(.checked,:checked):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)){--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-ghost{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary-increment);--_appearance-color-outline: transparent}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-ghost-light{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-fierce-primary), transparent 20%);--_appearance-color-outline: transparent}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-outlined{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-outlined-light{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: color-mix(in srgb, var(--_connotation-color-fierce-primary), transparent 20%);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-duotone{--_appearance-color-text: var(--_connotation-color-firm-all);--_appearance-color-fill: var(--_connotation-color-faint);--_appearance-color-outline: var(--_connotation-color-firm-all)}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-subtle{--_appearance-color-text: var(--_connotation-color-contrast);--_appearance-color-fill: var(--_connotation-color-pale);--_appearance-color-outline: transparent}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-fieldset{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary-increment);--_appearance-color-outline: var(--_connotation-color-primary-increment)}.base:where(.selected):where(.hover,:hover):where(:not(.disabled,:disabled,.readonly)).appearance-listitem{--_appearance-color-text: var(--_connotation-color-firm);--_appearance-color-fill: var(--_connotation-color-dim);--_appearance-color-outline: transparent}.base:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.base:where(.disabled,:disabled).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.disabled,:disabled).appearance-ghost-light{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.disabled,:disabled).appearance-outlined{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.disabled,:disabled).appearance-outlined-light{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.disabled,:disabled).appearance-duotone{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-100)}.base:where(.disabled,:disabled).appearance-subtle{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.base:where(.disabled,:disabled).appearance-fieldset{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.disabled,:disabled).appearance-listitem{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.selected):where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.base:where(.selected):where(.disabled,:disabled).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.base:where(.selected):where(.disabled,:disabled).appearance-ghost-light{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.base:where(.selected):where(.disabled,:disabled).appearance-outlined{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(.disabled,:disabled).appearance-outlined-light{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(.disabled,:disabled).appearance-duotone{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(.disabled,:disabled).appearance-subtle{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.selected):where(.disabled,:disabled).appearance-fieldset{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.selected):where(.disabled,:disabled).appearance-listitem{--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: transparent}.base:where(.readonly):where(:not(.disabled,:disabled)){--_appearance-color-text: var(--vvd-color-neutral-800);--_appearance-color-fill: var(--vvd-color-neutral-500);--_appearance-color-outline: transparent}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-ghost{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-ghost-light{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-outlined{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-400)}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-outlined-light{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: var(--vvd-color-neutral-300)}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-duotone{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-subtle{--_appearance-color-text: notset;--_appearance-color-fill: notset;--_appearance-color-outline: notset}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-fieldset{--_appearance-color-text: var(--vvd-color-canvas-text);--_appearance-color-fill: var(--vvd-color-neutral-200);--_appearance-color-outline: var(--vvd-color-neutral-400)}.base:where(.readonly):where(:not(.disabled,:disabled)).appearance-listitem{--_appearance-color-text: var(--vvd-color-neutral-600);--_appearance-color-fill: transparent;--_appearance-color-outline: transparent}";
7
-
8
- var __defProp = Object.defineProperty;
9
- var __decorateClass = (decorators, target, key, kind) => {
10
- var result = void 0 ;
11
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
12
- if (decorator = decorators[i])
13
- result = (decorator(target, key, result) ) || result;
14
- if (result) __defProp(target, key, result);
15
- return result;
16
- };
17
- class AppearanceUi extends index.FoundationElement {
18
- constructor() {
19
- super(...arguments);
20
- this.hovered = false;
21
- this.active = false;
22
- this.selected = false;
23
- this.disabled = false;
24
- this.readonly = false;
25
- }
26
- }
27
- __decorateClass([
28
- index.attr
29
- ], AppearanceUi.prototype, "appearance");
30
- __decorateClass([
31
- index.attr({
32
- mode: "boolean",
33
- attribute: "hovered"
34
- })
35
- ], AppearanceUi.prototype, "hovered");
36
- __decorateClass([
37
- index.attr({
38
- mode: "boolean",
39
- attribute: "active"
40
- })
41
- ], AppearanceUi.prototype, "active");
42
- __decorateClass([
43
- index.attr({
44
- mode: "boolean",
45
- attribute: "selected"
46
- })
47
- ], AppearanceUi.prototype, "selected");
48
- __decorateClass([
49
- index.attr({
50
- mode: "boolean",
51
- attribute: "disabled"
52
- })
53
- ], AppearanceUi.prototype, "disabled");
54
- __decorateClass([
55
- index.attr({
56
- mode: "boolean",
57
- attribute: "readonly"
58
- })
59
- ], AppearanceUi.prototype, "readonly");
60
- __decorateClass([
61
- index.attr
62
- ], AppearanceUi.prototype, "text");
63
-
64
- const getClasses = ({
65
- appearance,
66
- hovered,
67
- active,
68
- selected,
69
- disabled,
70
- readonly
71
- }) => classNames.classNames(
72
- "base",
73
- [`appearance-${appearance}`, Boolean(appearance)],
74
- ["hover", Boolean(hovered)],
75
- ["active", Boolean(active)],
76
- ["checked selected", Boolean(selected)],
77
- ["disabled", Boolean(disabled)],
78
- ["readonly", Boolean(readonly)]
79
- );
80
- const AppearanceUiTemplate = () => {
81
- return index.html`
82
- <div class="wrapper">
83
- <span class="${getClasses} connotation-accent">accent</span>
84
- <span class="${getClasses} connotation-cta">cta</span>
85
- <span class="${getClasses} connotation-success">success</span>
86
- <span class="${getClasses} connotation-alert">alert</span>
87
- <span class="${getClasses} connotation-warning">warning</span>
88
- <span class="${getClasses} connotation-information">information</span>
89
- <span class="${getClasses} connotation-announcement">announcement</span>
90
- </div>
91
- `;
92
- };
93
-
94
- const appearanceUiDefinition = AppearanceUi.compose({
95
- baseName: "appearance-ui",
96
- template: AppearanceUiTemplate,
97
- styles
98
- });
99
- const appearanceUiRegistries = [appearanceUiDefinition()];
100
- const registerAppearanceUi = index.registerFactory(appearanceUiRegistries);
101
-
102
- registerAppearanceUi();