@vonage/vivid 3.6.0 → 3.7.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/README.md +9 -5
- package/custom-elements.json +253 -0
- package/lib/accordion-item/accordion-item.d.ts +3 -0
- package/package.json +1 -1
- package/shared/definition.js +1 -1
- package/shared/definition10.js +1 -1
- package/shared/definition12.js +1 -1
- package/shared/definition13.js +1 -1
- package/shared/definition14.js +1 -1
- package/shared/definition15.js +1 -1
- package/shared/definition17.js +3 -3
- package/shared/definition18.js +1 -1
- package/shared/definition2.js +8 -7
- package/shared/definition20.js +1 -1
- package/shared/definition21.js +2 -2
- package/shared/definition22.js +1 -1
- package/shared/definition23.js +1 -1
- package/shared/definition24.js +1 -1
- package/shared/definition25.js +1 -1
- package/shared/definition27.js +1 -1
- package/shared/definition29.js +1 -1
- package/shared/definition31.js +1 -1
- package/shared/definition32.js +1 -1
- package/shared/definition33.js +1 -1
- package/shared/definition34.js +1 -1
- package/shared/definition35.js +1 -1
- package/shared/definition36.js +3 -3
- package/shared/definition37.js +1 -1
- package/shared/definition38.js +1 -1
- package/shared/definition39.js +1 -1
- package/shared/definition4.js +1 -1
- package/shared/definition41.js +1 -1
- package/shared/definition42.js +1 -1
- package/shared/definition44.js +1 -1
- package/shared/definition45.js +1 -1
- package/shared/definition47.js +1 -1
- package/shared/definition48.js +1 -1
- package/shared/definition5.js +1 -1
- package/shared/definition6.js +1 -1
- package/shared/definition7.js +1 -1
- package/shared/definition8.js +1 -1
- package/shared/definition9.js +1 -1
- package/shared/form-elements.js +1 -1
- package/shared/patterns/form-elements/form-elements.d.ts +2 -2
- package/shared/text-field.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/README.md
CHANGED
|
@@ -35,15 +35,19 @@ For a full list of components and API, explore the [components docs](https://viv
|
|
|
35
35
|
|
|
36
36
|
### Tokens
|
|
37
37
|
|
|
38
|
-
To **include the tokens**,
|
|
38
|
+
To **include the tokens**, you must load theme css:
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
<vwc-note connotation="warning" icon="warning-solid" headline="Only one theme is required to be loaded."></vwc-note>
|
|
41
41
|
|
|
42
|
-
|
|
42
|
+
```js
|
|
43
|
+
'node_modules/@vonage/vivid/styles/tokens/theme-light.css';
|
|
44
|
+
```
|
|
43
45
|
|
|
44
|
-
|
|
46
|
+
**Or**
|
|
45
47
|
|
|
46
|
-
|
|
48
|
+
```js
|
|
49
|
+
'node_modules/@vonage/vivid/styles/tokens/theme-dark.css';
|
|
50
|
+
```
|
|
47
51
|
|
|
48
52
|
#### About tokens
|
|
49
53
|
|
package/custom-elements.json
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
"kind": "class",
|
|
11
11
|
"description": "Base class for accordion",
|
|
12
12
|
"name": "Accordion",
|
|
13
|
+
"slots": [
|
|
14
|
+
{
|
|
15
|
+
"description": "Default slot.",
|
|
16
|
+
"name": ""
|
|
17
|
+
}
|
|
18
|
+
],
|
|
13
19
|
"members": [
|
|
14
20
|
{
|
|
15
21
|
"kind": "field",
|
|
@@ -90,6 +96,12 @@
|
|
|
90
96
|
"kind": "class",
|
|
91
97
|
"description": "",
|
|
92
98
|
"name": "AccordionItem",
|
|
99
|
+
"slots": [
|
|
100
|
+
{
|
|
101
|
+
"description": "Default slot.",
|
|
102
|
+
"name": ""
|
|
103
|
+
}
|
|
104
|
+
],
|
|
93
105
|
"members": [
|
|
94
106
|
{
|
|
95
107
|
"kind": "field",
|
|
@@ -118,6 +130,15 @@
|
|
|
118
130
|
},
|
|
119
131
|
"privacy": "public",
|
|
120
132
|
"description": ""
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"kind": "field",
|
|
136
|
+
"name": "size",
|
|
137
|
+
"type": {
|
|
138
|
+
"text": "AccordionItemSize | undefined"
|
|
139
|
+
},
|
|
140
|
+
"description": "The size the accordion-item should have.",
|
|
141
|
+
"privacy": "public"
|
|
121
142
|
}
|
|
122
143
|
],
|
|
123
144
|
"attributes": [
|
|
@@ -143,6 +164,14 @@
|
|
|
143
164
|
"text": "string | undefined"
|
|
144
165
|
},
|
|
145
166
|
"fieldName": "meta"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "size",
|
|
170
|
+
"type": {
|
|
171
|
+
"text": "AccordionItemSize | undefined"
|
|
172
|
+
},
|
|
173
|
+
"description": "The size the accordion-item should have.",
|
|
174
|
+
"fieldName": "size"
|
|
146
175
|
}
|
|
147
176
|
],
|
|
148
177
|
"superclass": {
|
|
@@ -197,6 +226,12 @@
|
|
|
197
226
|
"kind": "class",
|
|
198
227
|
"description": "Base class for action-group",
|
|
199
228
|
"name": "ActionGroup",
|
|
229
|
+
"slots": [
|
|
230
|
+
{
|
|
231
|
+
"description": "Default slot.",
|
|
232
|
+
"name": ""
|
|
233
|
+
}
|
|
234
|
+
],
|
|
200
235
|
"members": [
|
|
201
236
|
{
|
|
202
237
|
"kind": "field",
|
|
@@ -351,6 +386,12 @@
|
|
|
351
386
|
"kind": "class",
|
|
352
387
|
"description": "",
|
|
353
388
|
"name": "Avatar",
|
|
389
|
+
"slots": [
|
|
390
|
+
{
|
|
391
|
+
"description": "Assign nodes to the graphic slot to set a graphic media of any kind (e.g. image, illustration etc).",
|
|
392
|
+
"name": "graphic"
|
|
393
|
+
}
|
|
394
|
+
],
|
|
354
395
|
"members": [
|
|
355
396
|
{
|
|
356
397
|
"kind": "field",
|
|
@@ -702,6 +743,12 @@
|
|
|
702
743
|
"kind": "class",
|
|
703
744
|
"description": "Base class for banner",
|
|
704
745
|
"name": "Banner",
|
|
746
|
+
"slots": [
|
|
747
|
+
{
|
|
748
|
+
"description": "Add action items to banner using this slot.",
|
|
749
|
+
"name": "action-items"
|
|
750
|
+
}
|
|
751
|
+
],
|
|
705
752
|
"members": [
|
|
706
753
|
{
|
|
707
754
|
"kind": "field",
|
|
@@ -889,6 +936,12 @@
|
|
|
889
936
|
"kind": "class",
|
|
890
937
|
"description": "Base class for breadcrumb",
|
|
891
938
|
"name": "Breadcrumb",
|
|
939
|
+
"slots": [
|
|
940
|
+
{
|
|
941
|
+
"description": "Default slot.",
|
|
942
|
+
"name": ""
|
|
943
|
+
}
|
|
944
|
+
],
|
|
892
945
|
"superclass": {
|
|
893
946
|
"name": "FoundationElement",
|
|
894
947
|
"package": "@microsoft/fast-foundation"
|
|
@@ -1222,6 +1275,40 @@
|
|
|
1222
1275
|
"kind": "class",
|
|
1223
1276
|
"description": "Base class for calendar",
|
|
1224
1277
|
"name": "Calendar",
|
|
1278
|
+
"slots": [
|
|
1279
|
+
{
|
|
1280
|
+
"description": "Default slot.",
|
|
1281
|
+
"name": ""
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1285
|
+
"name": "day-0"
|
|
1286
|
+
},
|
|
1287
|
+
{
|
|
1288
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1289
|
+
"name": "day-1"
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1293
|
+
"name": "day-2"
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1297
|
+
"name": "day-3"
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1301
|
+
"name": "day-4"
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1305
|
+
"name": "day-5"
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
"description": "Assign elements to corresponding day column using this slot.",
|
|
1309
|
+
"name": "day-6"
|
|
1310
|
+
}
|
|
1311
|
+
],
|
|
1225
1312
|
"members": [
|
|
1226
1313
|
{
|
|
1227
1314
|
"kind": "field",
|
|
@@ -1624,6 +1711,28 @@
|
|
|
1624
1711
|
"kind": "class",
|
|
1625
1712
|
"description": "Base class for card",
|
|
1626
1713
|
"name": "Card",
|
|
1714
|
+
"slots": [
|
|
1715
|
+
{
|
|
1716
|
+
"description": "The graphic slot overrides the icon property.",
|
|
1717
|
+
"name": "graphic"
|
|
1718
|
+
},
|
|
1719
|
+
{
|
|
1720
|
+
"description": "The media slot is mainly for images or video content above the card header.",
|
|
1721
|
+
"name": "media"
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"description": "The meta slot is for action content in the card header.",
|
|
1725
|
+
"name": "meta"
|
|
1726
|
+
},
|
|
1727
|
+
{
|
|
1728
|
+
"description": "The footer slot is for content in the card footer.",
|
|
1729
|
+
"name": "footer"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"description": "Assign nodes to main slot to fully override a card's predefined flow and style with your own.",
|
|
1733
|
+
"name": "main"
|
|
1734
|
+
}
|
|
1735
|
+
],
|
|
1627
1736
|
"members": [
|
|
1628
1737
|
{
|
|
1629
1738
|
"kind": "field",
|
|
@@ -1868,6 +1977,12 @@
|
|
|
1868
1977
|
"kind": "class",
|
|
1869
1978
|
"description": "Base class for combobox",
|
|
1870
1979
|
"name": "Combobox",
|
|
1980
|
+
"slots": [
|
|
1981
|
+
{
|
|
1982
|
+
"description": "Default slot.",
|
|
1983
|
+
"name": ""
|
|
1984
|
+
}
|
|
1985
|
+
],
|
|
1871
1986
|
"members": [
|
|
1872
1987
|
{
|
|
1873
1988
|
"kind": "field",
|
|
@@ -2160,6 +2275,12 @@
|
|
|
2160
2275
|
"kind": "class",
|
|
2161
2276
|
"description": "Base class for data-grid",
|
|
2162
2277
|
"name": "DataGrid",
|
|
2278
|
+
"slots": [
|
|
2279
|
+
{
|
|
2280
|
+
"description": "Default slot.",
|
|
2281
|
+
"name": ""
|
|
2282
|
+
}
|
|
2283
|
+
],
|
|
2163
2284
|
"members": [
|
|
2164
2285
|
{
|
|
2165
2286
|
"kind": "field",
|
|
@@ -2325,6 +2446,24 @@
|
|
|
2325
2446
|
"kind": "class",
|
|
2326
2447
|
"description": "Base class for dialog",
|
|
2327
2448
|
"name": "Dialog",
|
|
2449
|
+
"slots": [
|
|
2450
|
+
{
|
|
2451
|
+
"description": "Use the graphic slot in order to replace the icon.",
|
|
2452
|
+
"name": "graphic"
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"description": "Use the body slot in order to add custom HTML to the dialog.",
|
|
2456
|
+
"name": "body"
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"description": "Use the footer slot in order to add action buttons to the bottom of the dialog.",
|
|
2460
|
+
"name": "footer"
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"description": "Assign nodes to the main slot to fully override a dialog’s predefined flow and style with your own.",
|
|
2464
|
+
"name": "main"
|
|
2465
|
+
}
|
|
2466
|
+
],
|
|
2328
2467
|
"members": [
|
|
2329
2468
|
{
|
|
2330
2469
|
"kind": "field",
|
|
@@ -2665,6 +2804,12 @@
|
|
|
2665
2804
|
"kind": "class",
|
|
2666
2805
|
"description": "Base class for elevation",
|
|
2667
2806
|
"name": "Elevation",
|
|
2807
|
+
"slots": [
|
|
2808
|
+
{
|
|
2809
|
+
"description": "Default slot.",
|
|
2810
|
+
"name": ""
|
|
2811
|
+
}
|
|
2812
|
+
],
|
|
2668
2813
|
"members": [
|
|
2669
2814
|
{
|
|
2670
2815
|
"kind": "field",
|
|
@@ -2969,6 +3114,20 @@
|
|
|
2969
3114
|
"kind": "class",
|
|
2970
3115
|
"description": "Base class for header",
|
|
2971
3116
|
"name": "Header",
|
|
3117
|
+
"slots": [
|
|
3118
|
+
{
|
|
3119
|
+
"description": "Default slot.",
|
|
3120
|
+
"name": ""
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"description": "Nodes assigned to action-items slot will be set at the end of the header.",
|
|
3124
|
+
"name": "action-items"
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
"description": "Content vertically aligned with header.",
|
|
3128
|
+
"name": "app-content"
|
|
3129
|
+
}
|
|
3130
|
+
],
|
|
2972
3131
|
"members": [
|
|
2973
3132
|
{
|
|
2974
3133
|
"kind": "field",
|
|
@@ -3103,6 +3262,12 @@
|
|
|
3103
3262
|
"kind": "class",
|
|
3104
3263
|
"description": "",
|
|
3105
3264
|
"name": "Icon",
|
|
3265
|
+
"slots": [
|
|
3266
|
+
{
|
|
3267
|
+
"description": "Default slot.",
|
|
3268
|
+
"name": ""
|
|
3269
|
+
}
|
|
3270
|
+
],
|
|
3106
3271
|
"members": [
|
|
3107
3272
|
{
|
|
3108
3273
|
"kind": "field",
|
|
@@ -3260,6 +3425,12 @@
|
|
|
3260
3425
|
"cssProperties": [
|
|
3261
3426
|
{}
|
|
3262
3427
|
],
|
|
3428
|
+
"slots": [
|
|
3429
|
+
{
|
|
3430
|
+
"description": "Default slot.",
|
|
3431
|
+
"name": ""
|
|
3432
|
+
}
|
|
3433
|
+
],
|
|
3263
3434
|
"members": [
|
|
3264
3435
|
{
|
|
3265
3436
|
"kind": "field",
|
|
@@ -3405,6 +3576,12 @@
|
|
|
3405
3576
|
"kind": "class",
|
|
3406
3577
|
"description": "Base class for listbox",
|
|
3407
3578
|
"name": "Listbox",
|
|
3579
|
+
"slots": [
|
|
3580
|
+
{
|
|
3581
|
+
"description": "Default slot.",
|
|
3582
|
+
"name": ""
|
|
3583
|
+
}
|
|
3584
|
+
],
|
|
3408
3585
|
"members": [
|
|
3409
3586
|
{
|
|
3410
3587
|
"kind": "field",
|
|
@@ -3499,6 +3676,12 @@
|
|
|
3499
3676
|
"kind": "class",
|
|
3500
3677
|
"description": "Base class for menu",
|
|
3501
3678
|
"name": "Menu",
|
|
3679
|
+
"slots": [
|
|
3680
|
+
{
|
|
3681
|
+
"description": "Default slot.",
|
|
3682
|
+
"name": ""
|
|
3683
|
+
}
|
|
3684
|
+
],
|
|
3502
3685
|
"members": [
|
|
3503
3686
|
{
|
|
3504
3687
|
"kind": "field",
|
|
@@ -3752,6 +3935,12 @@
|
|
|
3752
3935
|
"kind": "class",
|
|
3753
3936
|
"description": "A Nav Item Custom HTML Element.\nBased largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .",
|
|
3754
3937
|
"name": "Nav",
|
|
3938
|
+
"slots": [
|
|
3939
|
+
{
|
|
3940
|
+
"description": "Default slot.",
|
|
3941
|
+
"name": ""
|
|
3942
|
+
}
|
|
3943
|
+
],
|
|
3755
3944
|
"superclass": {
|
|
3756
3945
|
"name": "FoundationElement",
|
|
3757
3946
|
"package": "@microsoft/fast-foundation"
|
|
@@ -3817,6 +4006,12 @@
|
|
|
3817
4006
|
"kind": "class",
|
|
3818
4007
|
"description": "A Nav Item Custom HTML Element.\nBased largely on the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a | <a> element .",
|
|
3819
4008
|
"name": "NavDisclosure",
|
|
4009
|
+
"slots": [
|
|
4010
|
+
{
|
|
4011
|
+
"description": "Default slot.",
|
|
4012
|
+
"name": ""
|
|
4013
|
+
}
|
|
4014
|
+
],
|
|
3820
4015
|
"members": [
|
|
3821
4016
|
{
|
|
3822
4017
|
"kind": "field",
|
|
@@ -4034,6 +4229,12 @@
|
|
|
4034
4229
|
"kind": "class",
|
|
4035
4230
|
"description": "Base class for note",
|
|
4036
4231
|
"name": "Note",
|
|
4232
|
+
"slots": [
|
|
4233
|
+
{
|
|
4234
|
+
"description": "Any slotted content will appear below the headline.",
|
|
4235
|
+
"name": ""
|
|
4236
|
+
}
|
|
4237
|
+
],
|
|
4037
4238
|
"members": [
|
|
4038
4239
|
{
|
|
4039
4240
|
"kind": "field",
|
|
@@ -4403,6 +4604,12 @@
|
|
|
4403
4604
|
"kind": "class",
|
|
4404
4605
|
"description": "Base class for popup",
|
|
4405
4606
|
"name": "Popup",
|
|
4607
|
+
"slots": [
|
|
4608
|
+
{
|
|
4609
|
+
"description": "Default slot.",
|
|
4610
|
+
"name": ""
|
|
4611
|
+
}
|
|
4612
|
+
],
|
|
4406
4613
|
"members": [
|
|
4407
4614
|
{
|
|
4408
4615
|
"kind": "field",
|
|
@@ -5072,6 +5279,12 @@
|
|
|
5072
5279
|
"kind": "class",
|
|
5073
5280
|
"description": "Base class for radio-group",
|
|
5074
5281
|
"name": "RadioGroup",
|
|
5282
|
+
"slots": [
|
|
5283
|
+
{
|
|
5284
|
+
"description": "Default slot.",
|
|
5285
|
+
"name": ""
|
|
5286
|
+
}
|
|
5287
|
+
],
|
|
5075
5288
|
"members": [
|
|
5076
5289
|
{
|
|
5077
5290
|
"kind": "field",
|
|
@@ -5174,6 +5387,12 @@
|
|
|
5174
5387
|
"kind": "class",
|
|
5175
5388
|
"description": "Base class for select",
|
|
5176
5389
|
"name": "Select",
|
|
5390
|
+
"slots": [
|
|
5391
|
+
{
|
|
5392
|
+
"description": "Default slot.",
|
|
5393
|
+
"name": ""
|
|
5394
|
+
}
|
|
5395
|
+
],
|
|
5177
5396
|
"members": [
|
|
5178
5397
|
{
|
|
5179
5398
|
"kind": "field",
|
|
@@ -5293,6 +5512,16 @@
|
|
|
5293
5512
|
"kind": "class",
|
|
5294
5513
|
"description": "Base class for side-drawer",
|
|
5295
5514
|
"name": "SideDrawer",
|
|
5515
|
+
"slots": [
|
|
5516
|
+
{
|
|
5517
|
+
"description": "Sets assigned nodes to the side drawer itself.",
|
|
5518
|
+
"name": ""
|
|
5519
|
+
},
|
|
5520
|
+
{
|
|
5521
|
+
"description": "Sets assigned nodes to the main application content, the side drawer is opened next to.",
|
|
5522
|
+
"name": "app-content"
|
|
5523
|
+
}
|
|
5524
|
+
],
|
|
5296
5525
|
"members": [
|
|
5297
5526
|
{
|
|
5298
5527
|
"kind": "field",
|
|
@@ -5764,6 +5993,12 @@
|
|
|
5764
5993
|
"kind": "class",
|
|
5765
5994
|
"description": "Base class for tab-panel",
|
|
5766
5995
|
"name": "TabPanel",
|
|
5996
|
+
"slots": [
|
|
5997
|
+
{
|
|
5998
|
+
"description": "Default slot.",
|
|
5999
|
+
"name": ""
|
|
6000
|
+
}
|
|
6001
|
+
],
|
|
5767
6002
|
"superclass": {
|
|
5768
6003
|
"name": "FoundationTabPanel",
|
|
5769
6004
|
"package": "@microsoft/fast-foundation"
|
|
@@ -5837,6 +6072,12 @@
|
|
|
5837
6072
|
"kind": "class",
|
|
5838
6073
|
"description": "Base class for tabs",
|
|
5839
6074
|
"name": "Tabs",
|
|
6075
|
+
"slots": [
|
|
6076
|
+
{
|
|
6077
|
+
"description": "Default slot.",
|
|
6078
|
+
"name": ""
|
|
6079
|
+
}
|
|
6080
|
+
],
|
|
5840
6081
|
"members": [
|
|
5841
6082
|
{
|
|
5842
6083
|
"kind": "field",
|
|
@@ -6738,6 +6979,12 @@
|
|
|
6738
6979
|
"kind": "class",
|
|
6739
6980
|
"description": "Base class for tree-item",
|
|
6740
6981
|
"name": "TreeItem",
|
|
6982
|
+
"slots": [
|
|
6983
|
+
{
|
|
6984
|
+
"description": "To specify a child tree item.",
|
|
6985
|
+
"name": "item"
|
|
6986
|
+
}
|
|
6987
|
+
],
|
|
6741
6988
|
"members": [
|
|
6742
6989
|
{
|
|
6743
6990
|
"kind": "field",
|
|
@@ -6823,6 +7070,12 @@
|
|
|
6823
7070
|
"kind": "class",
|
|
6824
7071
|
"description": "Base class for Tree View",
|
|
6825
7072
|
"name": "TreeView",
|
|
7073
|
+
"slots": [
|
|
7074
|
+
{
|
|
7075
|
+
"description": "Default slot.",
|
|
7076
|
+
"name": ""
|
|
7077
|
+
}
|
|
7078
|
+
],
|
|
6826
7079
|
"superclass": {
|
|
6827
7080
|
"name": "FastTreeView",
|
|
6828
7081
|
"package": "@microsoft/fast-foundation"
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { AccordionItem as FASTAccordionItem } from '@microsoft/fast-foundation';
|
|
2
2
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
3
|
+
import type { Size } from '../enums.js';
|
|
4
|
+
export declare type AccordionItemSize = Extract<Size, Size.Condensed | Size.Normal>;
|
|
3
5
|
export declare class AccordionItem extends FASTAccordionItem {
|
|
4
6
|
heading?: string;
|
|
5
7
|
noIndicator: boolean;
|
|
6
8
|
meta?: string;
|
|
9
|
+
size?: AccordionItemSize;
|
|
7
10
|
}
|
|
8
11
|
export interface AccordionItem extends AffixIconWithTrailing {
|
|
9
12
|
}
|
package/package.json
CHANGED
package/shared/definition.js
CHANGED
|
@@ -186,7 +186,7 @@ __decorate([
|
|
|
186
186
|
observable
|
|
187
187
|
], Accordion$1.prototype, "accordionItems", void 0);
|
|
188
188
|
|
|
189
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
189
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 03 Apr 2023 14:02:24 GMT\n */\n.base {\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n}\n\n::slotted(:not(:only-of-type)) {\n border-bottom: 1px solid var(--vvd-color-neutral-200);\n}";
|
|
190
190
|
|
|
191
191
|
class Accordion extends Accordion$1 {
|
|
192
192
|
constructor() {
|
package/shared/definition10.js
CHANGED
|
@@ -3,7 +3,7 @@ import { B as BaseProgress } from './base-progress.js';
|
|
|
3
3
|
import { w as when } from './when.js';
|
|
4
4
|
import { c as classNames } from './class-names.js';
|
|
5
5
|
|
|
6
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
6
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 03 Apr 2023 14:02:24 GMT\n */\n.base {\n align-items: center;\n block-size: var(--_size);\n color: var(--_appearance-color-text);\n inline-size: var(--_size);\n outline: none;\n}\n.base.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta-500);\n}\n.base.connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert-500);\n}\n.base.connotation-success {\n --_connotation-color-primary: var(--vvd-color-success-500);\n}\n.base:not(.connotation-cta, .connotation-alert, .connotation-success) {\n --_connotation-color-primary: var(--vvd-color-canvas-text);\n}\n.base {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-400);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base.size--5 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 20));\n}\n.base.size--4 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 16));\n}\n.base.size--3 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 12));\n}\n.base.size--2 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 8));\n}\n.base.size--1 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) - 4));\n}\n.base.size-1 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 4));\n}\n.base.size-2 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 8));\n}\n.base.size-3 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 12));\n}\n.base.size-4 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 16));\n}\n.base.size-5 {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 20));\n}\n.base:not(.size--5, .size--4, .size--3, .size--2, .size--1, .size-1, .size-2, .size-3, .size-4, .size-5) {\n --_size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2)));\n}\n\n.progress {\n width: 100%;\n height: 100%;\n}\n\n.background {\n fill: none;\n stroke: transparent;\n stroke-width: 1px;\n}\n\n.determinate {\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-width: 1px;\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n transition: all 0.2s ease-in-out;\n}\n\n.indeterminate-indicator-1 {\n animation: spin-infinite 2s linear infinite;\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-width: 1px;\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n transition: all 0.2s ease-in-out;\n}\n\n.base.paused .indeterminate-indicator-1 {\n animation-play-state: paused;\n}\n\n@keyframes spin-infinite {\n 0% {\n stroke-dasharray: 0.01px 43.97px;\n transform: rotate(0deg);\n }\n 50% {\n stroke-dasharray: 21.99px 21.99px;\n transform: rotate(450deg);\n }\n 100% {\n stroke-dasharray: 0.01px 43.97px;\n transform: rotate(1080deg);\n }\n}";
|
|
7
7
|
|
|
8
8
|
class ProgressRing extends BaseProgress {}
|
|
9
9
|
__decorate([attr, __metadata("design:type", String)], ProgressRing.prototype, "connotation", void 0);
|
package/shared/definition12.js
CHANGED
|
@@ -7,7 +7,7 @@ import { I as Icon } from './icon.js';
|
|
|
7
7
|
import { w as when } from './when.js';
|
|
8
8
|
import { c as classNames } from './class-names.js';
|
|
9
9
|
|
|
10
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
10
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 03 Apr 2023 14:02:24 GMT\n */\n.base {\n display: flex;\n align-items: center;\n color: var(--vvd-color-canvas-text);\n font: var(--vvd-typography-base);\n}\n.base .separator {\n margin: 0 16px;\n color: var(--vvd-color-neutral-600);\n font-size: 12px;\n}\n\n.control {\n position: relative;\n font: inherit;\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n.control:any-link {\n color: var(--vvd-color-cta-600);\n text-decoration: none;\n}\n.control:any-link:hover {\n text-decoration: underline;\n}\n\n.focus-indicator {\n --focus-inset: -4px -8px;\n --focus-stroke-gap-color: transparent;\n border-radius: 6px;\n}\n.control:not(:focus-visible) > .focus-indicator {\n display: none;\n}";
|
|
11
11
|
|
|
12
12
|
class BreadcrumbItem extends BreadcrumbItem$1 {
|
|
13
13
|
constructor() {
|
package/shared/definition13.js
CHANGED
|
@@ -506,7 +506,7 @@ _curry1(function isEmpty(x) {
|
|
|
506
506
|
|
|
507
507
|
var isEmpty$1 = isEmpty;
|
|
508
508
|
|
|
509
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
509
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 03 Apr 2023 14:02:24 GMT\n */\nol {\n padding: 0;\n margin: 0;\n list-style: none;\n}\n\n[role=grid i] {\n position: relative;\n z-index: 0;\n display: grid;\n margin: auto;\n grid-template-areas: \". column-headers\" \"row-headers calendar\";\n grid-template-columns: min-content auto;\n inline-size: max(100%, 500px);\n min-inline-size: 880px;\n}\n\n.row-headers {\n display: grid;\n grid-area: row-headers;\n grid-template-rows: repeat(24, 1fr);\n margin-inline-end: 2px;\n}\n.row-headers > [role=rowheader i] {\n display: flex;\n align-items: flex-end;\n justify-content: flex-end;\n}\n.row-headers > [role=rowheader i] > time {\n font: var(--vvd-typography-base-condensed);\n font-size: small;\n line-height: 1;\n text-transform: uppercase;\n white-space: nowrap;\n}\n\n.calendar-row {\n display: contents;\n}\n\n.calendar-grid-presentation {\n display: grid;\n overflow: hidden;\n background: var(--vvd-color-surface-2dp);\n border-radius: 6px;\n counter-reset: listing;\n filter: var(--vvd-shadow-surface-2dp);\n gap: 1px;\n grid-area: calendar;\n grid-auto-flow: column;\n grid-template: repeat(24, 1fr)/repeat(7, 1fr);\n}\n\n.hours {\n display: contents;\n}\n.hours > [role=listitem i] {\n position: relative;\n grid-column: 1/8;\n grid-row: var(--row);\n min-block-size: calc(1px * (40 + 4 * clamp(-1, var(--vvd-size-density, 0), 2) + 8));\n pointer-events: none;\n}\n.hours > [role=listitem i]:not(:first-child)::after {\n position: absolute;\n border-block-end: var(--vvd-color-neutral-100) 1px solid;\n content: \"\";\n inline-size: 100%;\n margin-block-start: -1px;\n}\n.hours > [role=listitem i]:nth-child(24n+1) {\n --row: 1;\n}\n.hours > [role=listitem i]:nth-child(24n+2) {\n --row: 2;\n}\n.hours > [role=listitem i]:nth-child(24n+3) {\n --row: 3;\n}\n.hours > [role=listitem i]:nth-child(24n+4) {\n --row: 4;\n}\n.hours > [role=listitem i]:nth-child(24n+5) {\n --row: 5;\n}\n.hours > [role=listitem i]:nth-child(24n+6) {\n --row: 6;\n}\n.hours > [role=listitem i]:nth-child(24n+7) {\n --row: 7;\n}\n.hours > [role=listitem i]:nth-child(24n+8) {\n --row: 8;\n}\n.hours > [role=listitem i]:nth-child(24n+9) {\n --row: 9;\n}\n.hours > [role=listitem i]:nth-child(24n+10) {\n --row: 10;\n}\n.hours > [role=listitem i]:nth-child(24n+11) {\n --row: 11;\n}\n.hours > [role=listitem i]:nth-child(24n+12) {\n --row: 12;\n}\n.hours > [role=listitem i]:nth-child(24n+13) {\n --row: 13;\n}\n.hours > [role=listitem i]:nth-child(24n+14) {\n --row: 14;\n}\n.hours > [role=listitem i]:nth-child(24n+15) {\n --row: 15;\n}\n.hours > [role=listitem i]:nth-child(24n+16) {\n --row: 16;\n}\n.hours > [role=listitem i]:nth-child(24n+17) {\n --row: 17;\n}\n.hours > [role=listitem i]:nth-child(24n+18) {\n --row: 18;\n}\n.hours > [role=listitem i]:nth-child(24n+19) {\n --row: 19;\n}\n.hours > [role=listitem i]:nth-child(24n+20) {\n --row: 20;\n}\n.hours > [role=listitem i]:nth-child(24n+21) {\n --row: 21;\n}\n.hours > [role=listitem i]:nth-child(24n+22) {\n --row: 22;\n}\n.hours > [role=listitem i]:nth-child(24n+23) {\n --row: 23;\n}\n.hours > [role=listitem i]:nth-child(24n+24) {\n --row: 24;\n}\n\n[role=gridcell i] {\n display: grid;\n gap: 1px;\n grid-auto-flow: column;\n}\n\n[role=gridcell i],\n[role=columnheader i],\n[role=columnheader i] [role=button i] {\n position: relative;\n}\n[role=gridcell i]::before,\n[role=columnheader i]::before,\n[role=columnheader i] [role=button i]::before {\n position: absolute;\n z-index: -1;\n background-color: var(--vvd-color-information-400);\n content: \"\";\n}\n@supports (inset: 0) {\n [role=gridcell i]::before,\n[role=columnheader i]::before,\n[role=columnheader i] [role=button i]::before {\n inset: 0;\n }\n}\n@supports not (inset: 0) {\n [role=gridcell i]::before,\n[role=columnheader i]::before,\n[role=columnheader i] [role=button i]::before {\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n}\n[role=gridcell i]:focus,\n[role=columnheader i]:focus,\n[role=columnheader i] [role=button i]:focus {\n outline: none;\n}\n[role=gridcell i]:not(:focus-visible)::before,\n[role=columnheader i]:not(:focus-visible)::before,\n[role=columnheader i] [role=button i]:not(:focus-visible)::before {\n display: none;\n}\n\n.columns {\n display: contents;\n}\n.columns > [role=gridcell i] {\n position: relative;\n grid-column: var(--column);\n grid-row: 1/25;\n}\n.columns > [role=gridcell i]:nth-child(1) {\n --column: 1;\n}\n.columns > [role=gridcell i]:nth-child(2) {\n --column: 2;\n}\n.columns > [role=gridcell i]:nth-child(3) {\n --column: 3;\n}\n.columns > [role=gridcell i]:nth-child(4) {\n --column: 4;\n}\n.columns > [role=gridcell i]:nth-child(5) {\n --column: 5;\n}\n.columns > [role=gridcell i]:nth-child(6) {\n --column: 6;\n}\n.columns > [role=gridcell i]:nth-child(7) {\n --column: 7;\n}\n.columns > [role=gridcell i]:not(:first-child)::after {\n position: absolute;\n block-size: 100%;\n border-inline-end: var(--vvd-color-neutral-100) 1px solid;\n content: \"\";\n margin-inline-start: -1px;\n}\n\n.column-headers {\n display: grid;\n grid-area: column-headers;\n grid-template-columns: repeat(7, 1fr);\n}\n.column-headers [role=columnheader i] h2 {\n display: grid;\n align-items: baseline;\n margin: 0;\n font: var(--vvd-typography-heading-4);\n grid-template-columns: 1fr auto 1fr;\n}\n.column-headers [role=columnheader i] h2 > em {\n font: inherit;\n inline-size: min-content;\n}\n@supports (inset: 0) {\n .column-headers [role=columnheader i] h2 > em {\n inset-inline-start: 0;\n }\n}\n@supports not (inset: 0) {\n .column-headers [role=columnheader i] h2 > em {\n left: 0;\n }\n}\n.column-headers [role=columnheader i] h2 > small {\n font: var(--vvd-typography-base-condensed);\n text-transform: uppercase;\n}";
|
|
510
510
|
|
|
511
511
|
const ARROW_UP = 'ArrowUp';
|
|
512
512
|
const ARROW_RIGHT = 'ArrowRight';
|
package/shared/definition14.js
CHANGED
|
@@ -5,7 +5,7 @@ import { t as toString$1 } from './to-string.js';
|
|
|
5
5
|
import { w as when } from './when.js';
|
|
6
6
|
import { c as classNames } from './class-names.js';
|
|
7
7
|
|
|
8
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
8
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 03 Apr 2023 14:02:24 GMT\n */\n:host {\n display: contents;\n}\n\n.base {\n /* 4 as the indentation limit */\n /* per cell divider */\n /* per cell divider */\n --vvd-calendar-event--indent: calc(0px + var(--vvd-calendar-event--overlap-count, 0) * 8px);\n position: absolute;\n z-index: var(--vvd-calendar-event--overlap-count);\n top: calc(var(--vvd-calendar-event--start, 0) * (100% - 23px) / 24 + calc(1px * var(--vvd-calendar-event--start, 0)));\n overflow: hidden;\n box-sizing: border-box;\n padding: 4px 8px;\n background-color: var(--_appearance-color-fill);\n block-size: calc(var(--vvd-calendar-event--duration, 1) * calc((100% - 23px) / 24) + calc(1px * (var(--vvd-calendar-event--duration, 1) - 1)) - 4px);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n inline-size: calc(100% - 8px - min(var(--vvd-calendar-event--indent), 32px));\n margin-block-start: 2px;\n margin-inline-end: 8px;\n margin-inline-start: min(var(--vvd-calendar-event--indent), 32px);\n max-block-size: calc(100% - calc(var(--vvd-calendar-event--start, 0) * (100% - 23px) / 24 + calc(1px * var(--vvd-calendar-event--start, 0))) - 4px);\n}\n.base.connotation-accent {\n --_connotation-color-primary: var(--vvd-color-canvas-text);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-contrast: var(--vvd-color-neutral-800);\n --_connotation-color-soft: var(--vvd-color-neutral-100);\n}\n.base.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta-500);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-contrast: var(--vvd-color-cta-800);\n --_connotation-color-soft: var(--vvd-color-cta-100);\n}\n.base.connotation-success {\n --_connotation-color-primary: var(--vvd-color-success-500);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-contrast: var(--vvd-color-success-800);\n --_connotation-color-soft: var(--vvd-color-success-100);\n}\n.base.connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert-500);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-contrast: var(--vvd-color-alert-800);\n --_connotation-color-soft: var(--vvd-color-alert-100);\n}\n.base.connotation-warning {\n --_connotation-color-primary: var(--vvd-color-warning-300);\n --_connotation-color-primary-text: var(--vvd-color-canvas-text);\n --_connotation-color-contrast: var(--vvd-color-warning-800);\n --_connotation-color-soft: var(--vvd-color-warning-100);\n}\n.base.connotation-announcement {\n --_connotation-color-primary: var(--vvd-color-announcement-500);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-contrast: var(--vvd-color-announcement-800);\n --_connotation-color-soft: var(--vvd-color-announcement-100);\n}\n.base:not(.connotation-accent, .connotation-cta, .connotation-success, .connotation-alert, .connotation-warning, .connotation-announcement) {\n --_connotation-color-primary: var(--vvd-color-information-500);\n --_connotation-color-primary-text: var(--vvd-color-canvas);\n --_connotation-color-contrast: var(--vvd-color-information-800);\n --_connotation-color-soft: var(--vvd-color-information-100);\n}\n.base {\n --_appearance-color-text: var(--_connotation-color-primary-text);\n --_appearance-color-fill: var(--_connotation-color-primary);\n --_appearance-color-outline: transparent;\n}\n.base.appearance-subtle {\n --_appearance-color-text: var(--_connotation-color-contrast);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transparent;\n}\n@supports (contain: content) {\n .base {\n contain: strict;\n }\n}\n@supports not (contain: content) {\n .base {\n overflow: hidden;\n }\n}\n.base:focus {\n z-index: 2000;\n filter: var(--vvd-shadow-surface-8dp);\n outline: none;\n}\n\nh2 {\n margin: 0;\n font: var(--vvd-typography-base-condensed-bold);\n}\nh2 > strong {\n font: inherit;\n}\n\np {\n margin: 0;\n font: var(--vvd-typography-base-condensed);\n}";
|
|
9
9
|
|
|
10
10
|
var $ = _export;
|
|
11
11
|
var DESCRIPTORS = descriptors;
|
package/shared/definition15.js
CHANGED
|
@@ -6,7 +6,7 @@ import { s as slotted } from './slotted.js';
|
|
|
6
6
|
import { w as when } from './when.js';
|
|
7
7
|
import { c as classNames } from './class-names.js';
|
|
8
8
|
|
|
9
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
9
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 03 Apr 2023 14:02:24 GMT\n */\n:host {\n display: flex;\n}\n\n.base {\n border-radius: 6px;\n inline-size: 100%;\n text-align: start;\n}\n\n.wrapper {\n display: flex;\n overflow: hidden;\n flex-flow: column;\n block-size: inherit;\n border-radius: inherit;\n color: var(--vvd-color-canvas-text);\n}\n\n.main-content {\n display: flex;\n flex-flow: column;\n padding: 24px;\n}\n\n.header {\n display: flex;\n flex: 1;\n align-items: flex-start;\n gap: 8px;\n}\n.header-content {\n flex: 1;\n}\n.header-wrapper {\n display: flex;\n gap: 8px;\n}\n.header-headline, .header-subtitle {\n /* stylelint-disable value-no-vendor-prefix */\n display: -webkit-box;\n /* stylelint-enable value-no-vendor-prefix */\n overflow: hidden;\n -webkit-box-orient: vertical;\n}\n.header-headline {\n font: var(--vvd-typography-heading-4);\n -webkit-line-clamp: var(--headline-line-clamp);\n}\n.header-subtitle {\n font: var(--vvd-typography-base);\n -webkit-line-clamp: var(--subtitle-line-clamp);\n}\n.hide-header .header {\n display: none;\n}\n\n.header-subtitle,\n.text {\n color: var(--vvd-color-neutral-600);\n font: var(--vvd-typography-base);\n}\n\n.text {\n padding-right: 8px;\n margin-top: 12px;\n}\n\n.footer {\n display: inline-flex;\n flex-direction: column;\n align-items: flex-end;\n padding-bottom: 24px;\n margin-top: auto;\n padding-inline: 24px;\n}\n.hide-footer .footer {\n display: none;\n}\n\n::slotted([slot=graphic i]),\n.icon {\n flex-shrink: 0;\n align-self: baseline;\n margin-block-start: 4px;\n}\n\n.icon {\n font-size: 20px;\n}\n\n::slotted([slot=meta i]) {\n flex-shrink: 0;\n align-self: flex-start;\n margin-block-start: -8px;\n margin-inline-end: -8px;\n margin-inline-start: auto;\n}";
|
|
10
10
|
|
|
11
11
|
class Card extends FoundationElement {}
|
|
12
12
|
__decorate([attr, __metadata("design:type", String)], Card.prototype, "headline", void 0);
|