@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.
- package/custom-elements.json +7181 -6876
- package/elevation/index.cjs +1 -1
- package/elevation/index.js +1 -1
- package/index.cjs +80 -74
- package/index.js +23 -22
- package/lib/components.d.ts +1 -0
- package/lib/fab/fab.d.ts +1 -1
- package/lib/icon/icon.d.ts +1 -1
- package/lib/menu/menu.d.ts +2 -1
- package/lib/number-field/number-field.d.ts +3 -1
- package/lib/searchable-select/definition.d.ts +4 -0
- package/lib/searchable-select/locale.d.ts +6 -0
- package/lib/searchable-select/option-tag.d.ts +14 -0
- package/lib/searchable-select/option-tag.template.d.ts +4 -0
- package/lib/searchable-select/searchable-select.d.ts +29 -0
- package/lib/searchable-select/searchable-select.form-associated.d.ts +10 -0
- package/lib/searchable-select/searchable-select.template.d.ts +4 -0
- package/lib/select/select.d.ts +4 -1
- package/lib/tab/locale.d.ts +3 -0
- package/lib/tab/tab.d.ts +5 -1
- package/lib/tabs/tabs.d.ts +2 -0
- package/lib/tag/definition.d.ts +1 -0
- package/lib/text-field/text-field.d.ts +3 -1
- package/lib/video-player/video-player.d.ts +0 -1
- package/listbox/index.cjs +1 -1
- package/listbox/index.js +1 -1
- package/locales/de-DE.cjs +12 -0
- package/locales/de-DE.js +12 -0
- package/locales/en-GB.cjs +12 -0
- package/locales/en-GB.js +12 -0
- package/locales/en-US.cjs +12 -0
- package/locales/en-US.js +12 -0
- package/locales/ja-JP.cjs +12 -0
- package/locales/ja-JP.js +12 -0
- package/locales/zh-CN.cjs +12 -0
- package/locales/zh-CN.js +12 -0
- package/package.json +6 -1
- package/popup/index.cjs +1 -1
- package/popup/index.js +1 -1
- package/searchable-select/index.cjs +5 -0
- package/searchable-select/index.js +3 -0
- package/select/index.cjs +1 -1
- package/select/index.js +1 -1
- package/selectable-box/index.cjs +1 -1
- package/selectable-box/index.js +1 -1
- package/shared/anchored.js +1 -1
- package/shared/calendar-event.js +1 -1
- package/shared/definition.cjs +2 -2
- package/shared/definition.js +2 -2
- package/shared/definition11.cjs +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition12.cjs +1 -1
- package/shared/definition12.js +1 -1
- package/shared/definition13.js +1 -1
- package/shared/definition14.cjs +1 -1
- package/shared/definition14.js +1 -1
- package/shared/definition15.cjs +7 -8
- package/shared/definition15.js +2 -3
- package/shared/definition16.cjs +11 -7
- package/shared/definition16.js +10 -6
- package/shared/definition17.cjs +2 -2
- package/shared/definition17.js +2 -2
- package/shared/definition18.cjs +5 -6
- package/shared/definition18.js +3 -4
- package/shared/definition19.cjs +5 -6
- package/shared/definition19.js +3 -4
- package/shared/definition20.cjs +16 -38
- package/shared/definition20.js +17 -39
- package/shared/definition21.cjs +7 -6
- package/shared/definition21.js +8 -7
- package/shared/definition23.cjs +1 -1
- package/shared/definition23.js +2 -2
- package/shared/definition24.cjs +2 -2
- package/shared/definition24.js +2 -2
- package/shared/definition25.cjs +6 -7
- package/shared/definition25.js +2 -3
- package/shared/definition26.cjs +1 -1
- package/shared/definition26.js +2 -2
- package/shared/definition27.cjs +1 -1
- package/shared/definition27.js +1 -1
- package/shared/definition28.js +1 -1
- package/shared/definition29.cjs +8 -4
- package/shared/definition29.js +8 -4
- package/shared/definition3.cjs +1 -1
- package/shared/definition3.js +2 -2
- package/shared/definition30.cjs +4 -2
- package/shared/definition30.js +4 -2
- package/shared/definition31.cjs +1 -1
- package/shared/definition31.js +2 -2
- package/shared/definition32.cjs +1 -1
- package/shared/definition32.js +1 -1
- package/shared/definition34.cjs +2 -3
- package/shared/definition34.js +2 -3
- package/shared/definition35.cjs +21 -16
- package/shared/definition35.js +16 -11
- package/shared/definition36.cjs +50 -207
- package/shared/definition36.js +51 -207
- package/shared/definition37.js +1 -1
- package/shared/definition38.cjs +1 -1
- package/shared/definition38.js +1 -1
- package/shared/definition4.cjs +6 -4
- package/shared/definition4.js +7 -5
- package/shared/definition41.cjs +1 -1
- package/shared/definition41.js +1 -1
- package/shared/definition42.cjs +6 -7
- package/shared/definition42.js +6 -7
- package/shared/definition43.cjs +998 -643
- package/shared/definition43.js +992 -638
- package/shared/definition44.cjs +723 -112
- package/shared/definition44.js +722 -111
- package/shared/definition45.cjs +121 -79
- package/shared/definition45.js +120 -78
- package/shared/definition46.cjs +81 -616
- package/shared/definition46.js +80 -614
- package/shared/definition47.cjs +609 -116
- package/shared/definition47.js +607 -115
- package/shared/definition48.cjs +116 -134
- package/shared/definition48.js +115 -133
- package/shared/definition49.cjs +149 -19
- package/shared/definition49.js +148 -18
- package/shared/definition5.cjs +5 -6
- package/shared/definition5.js +5 -6
- package/shared/definition50.cjs +21 -82
- package/shared/definition50.js +20 -81
- package/shared/definition51.cjs +78 -494
- package/shared/definition51.js +77 -493
- package/shared/definition52.cjs +568 -28
- package/shared/definition52.js +567 -27
- package/shared/definition53.cjs +28 -123
- package/shared/definition53.js +27 -123
- package/shared/definition54.cjs +115 -296
- package/shared/definition54.js +114 -295
- package/shared/definition55.cjs +258 -318
- package/shared/definition55.js +252 -312
- package/shared/definition56.cjs +303 -784
- package/shared/definition56.js +298 -779
- package/shared/definition57.cjs +802 -95
- package/shared/definition57.js +801 -94
- package/shared/definition58.cjs +95 -60
- package/shared/definition58.js +94 -59
- package/shared/definition59.cjs +117 -75
- package/shared/definition59.js +116 -74
- package/shared/definition6.cjs +1 -1
- package/shared/definition6.js +1 -1
- package/shared/definition60.cjs +70 -285
- package/shared/definition60.js +71 -286
- package/shared/definition61.cjs +296 -325
- package/shared/definition61.js +295 -324
- package/shared/definition62.cjs +66160 -27
- package/shared/definition62.js +66159 -26
- package/shared/definition63.cjs +24 -1952
- package/shared/definition63.js +23 -1950
- package/shared/definition64.cjs +1976 -0
- package/shared/definition64.js +1971 -0
- package/shared/definition7.cjs +1 -1
- package/shared/definition7.js +1 -1
- package/shared/definition8.cjs +2 -3
- package/shared/definition8.js +3 -4
- package/shared/definition9.cjs +1 -1
- package/shared/definition9.js +1 -1
- package/shared/dialog/index.d.ts +1 -0
- package/shared/form-elements.cjs +236 -0
- package/shared/form-elements.js +229 -0
- package/shared/icon.js +1 -1
- package/shared/index2.cjs +6 -256
- package/shared/index2.js +6 -249
- package/shared/listbox-option.cjs +204 -0
- package/shared/listbox-option.js +201 -0
- package/shared/listbox.cjs +3 -3
- package/shared/listbox.js +1 -1
- package/shared/localization/Locale.d.ts +4 -0
- package/shared/localized.cjs +26 -2
- package/shared/localized.js +25 -2
- package/shared/playbackRates.cjs +13 -0
- package/shared/playbackRates.js +11 -0
- package/shared/presentationDate.cjs +11 -11
- package/shared/presentationDate.js +11 -11
- package/shared/scrollIntoView.cjs +51 -0
- package/shared/scrollIntoView.js +49 -0
- package/shared/slider.template.cjs +1 -1
- package/shared/slider.template.js +1 -1
- package/shared/text-anchor.cjs +1 -1
- package/shared/text-anchor.js +1 -1
- package/shared/text-field.cjs +1 -1
- package/shared/text-field.js +1 -1
- package/shared/utils/playbackRates.d.ts +1 -0
- package/shared/utils/scrollIntoView.d.ts +1 -0
- package/side-drawer/index.cjs +1 -1
- package/side-drawer/index.js +1 -1
- package/slider/index.cjs +1 -1
- package/slider/index.js +1 -1
- package/split-button/index.cjs +1 -1
- package/split-button/index.js +1 -1
- package/styles/core/all.css +1 -1
- package/styles/core/theme.css +1 -1
- package/styles/core/typography.css +1 -1
- package/styles/tokens/theme-dark.css +4 -4
- package/styles/tokens/theme-light.css +4 -4
- package/styles/tokens/vivid-2-compat.css +1 -1
- package/switch/index.cjs +1 -1
- package/switch/index.js +1 -1
- package/tab/index.cjs +1 -1
- package/tab/index.js +1 -1
- package/tab-panel/index.cjs +1 -1
- package/tab-panel/index.js +1 -1
- package/tabs/index.cjs +1 -1
- package/tabs/index.js +1 -1
- package/tag/index.cjs +1 -1
- package/tag/index.js +1 -1
- package/tag-group/index.cjs +1 -1
- package/tag-group/index.js +1 -1
- package/text-area/index.cjs +1 -1
- package/text-area/index.js +1 -1
- package/text-field/index.cjs +1 -1
- package/text-field/index.js +1 -1
- package/time-picker/index.cjs +1 -1
- package/time-picker/index.js +1 -1
- package/toggletip/index.cjs +1 -1
- package/toggletip/index.js +1 -1
- package/tooltip/index.cjs +1 -1
- package/tooltip/index.js +1 -1
- package/tree-item/index.cjs +1 -1
- package/tree-item/index.js +1 -1
- package/tree-view/index.cjs +1 -1
- package/tree-view/index.js +1 -1
- package/video-player/index.cjs +1 -1
- package/video-player/index.js +1 -1
- package/vivid.api.json +312 -8
- package/appearance-ui/index.cjs +0 -102
- package/appearance-ui/index.js +0 -100
- package/lib/appearance-ui/appearance-ui.d.ts +0 -12
- package/lib/appearance-ui/appearance-ui.template.d.ts +0 -4
- package/lib/appearance-ui/definition.d.ts +0 -3
- package/shared/video-player.cjs +0 -65860
- package/shared/video-player.js +0 -65857
package/video-player/index.cjs
CHANGED
package/video-player/index.js
CHANGED
package/vivid.api.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"metadata": {
|
|
3
3
|
"toolPackage": "@microsoft/api-extractor",
|
|
4
|
-
"toolVersion": "7.47.
|
|
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":
|
|
3523
|
+
"endIndex": 11
|
|
3515
3524
|
}
|
|
3516
3525
|
},
|
|
3517
3526
|
{
|
|
@@ -3818,8 +3827,8 @@
|
|
|
3818
3827
|
},
|
|
3819
3828
|
{
|
|
3820
3829
|
"kind": "Reference",
|
|
3821
|
-
"text": "Connotation.
|
|
3822
|
-
"canonicalReference": "@vonage/vivid!Connotation.
|
|
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.
|
|
3831
|
-
"canonicalReference": "@vonage/vivid!Connotation.
|
|
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.
|
|
3840
|
-
"canonicalReference": "@vonage/vivid!Connotation.
|
|
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",
|
package/appearance-ui/index.cjs
DELETED
|
@@ -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();
|