@vonage/vivid 3.56.0 → 3.57.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 +150 -126
- package/lib/fab/fab.d.ts +1 -1
- package/package.json +1 -1
- package/shared/definition24.cjs +1 -1
- package/shared/definition24.js +1 -1
- package/shared/icon.cjs +1 -1
- package/shared/icon.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/vivid.api.json +10 -1
package/custom-elements.json
CHANGED
|
@@ -94,137 +94,149 @@
|
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"kind": "javascript-module",
|
|
97
|
-
"path": "libs/components/src/lib/
|
|
97
|
+
"path": "libs/components/src/lib/action-group/action-group.ts",
|
|
98
98
|
"declarations": [
|
|
99
99
|
{
|
|
100
100
|
"kind": "class",
|
|
101
101
|
"description": "",
|
|
102
|
-
"name": "
|
|
102
|
+
"name": "ActionGroup",
|
|
103
103
|
"cssProperties": [
|
|
104
104
|
{
|
|
105
|
-
"name": "--vvd-
|
|
105
|
+
"name": "--vvd-action-group-accent-primary",
|
|
106
106
|
"default": "var(--vvd-color-canvas-text)"
|
|
107
107
|
},
|
|
108
108
|
{
|
|
109
|
-
"name": "--vvd-
|
|
110
|
-
"default": "var(--vvd-color-neutral-
|
|
109
|
+
"name": "--vvd-action-group-accent-intermediate",
|
|
110
|
+
"default": "var(--vvd-color-neutral-500)"
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
|
-
"name": "--vvd-
|
|
114
|
-
"default": "var(--vvd-color-neutral-
|
|
113
|
+
"name": "--vvd-action-group-accent-faint",
|
|
114
|
+
"default": "var(--vvd-color-neutral-50)"
|
|
115
115
|
}
|
|
116
116
|
],
|
|
117
117
|
"slots": [
|
|
118
118
|
{
|
|
119
119
|
"description": "Default slot.",
|
|
120
120
|
"name": ""
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"description": "Add an icon to the component.",
|
|
124
|
-
"name": "icon"
|
|
125
121
|
}
|
|
126
122
|
],
|
|
127
123
|
"members": [
|
|
128
124
|
{
|
|
129
125
|
"kind": "field",
|
|
130
|
-
"name": "
|
|
126
|
+
"name": "shape",
|
|
131
127
|
"type": {
|
|
132
|
-
"text": "
|
|
128
|
+
"text": "ActionGroupShape | undefined"
|
|
133
129
|
},
|
|
134
|
-
"
|
|
135
|
-
"
|
|
130
|
+
"description": "The shape the ActionGroup should have.",
|
|
131
|
+
"privacy": "public"
|
|
136
132
|
},
|
|
137
133
|
{
|
|
138
134
|
"kind": "field",
|
|
139
|
-
"name": "
|
|
135
|
+
"name": "appearance",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "ActionGroupAppearance | undefined"
|
|
138
|
+
},
|
|
139
|
+
"description": "The appearance the ActionGroup should have.",
|
|
140
|
+
"privacy": "public"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"kind": "field",
|
|
144
|
+
"name": "tight",
|
|
140
145
|
"type": {
|
|
141
146
|
"text": "boolean"
|
|
142
147
|
},
|
|
143
148
|
"default": "false",
|
|
144
|
-
"description": "Indicates whether
|
|
149
|
+
"description": "Indicates whether action group should have padding.",
|
|
145
150
|
"privacy": "public"
|
|
146
151
|
},
|
|
147
152
|
{
|
|
148
153
|
"kind": "field",
|
|
149
|
-
"name": "
|
|
154
|
+
"name": "role",
|
|
150
155
|
"type": {
|
|
151
|
-
"text": "string |
|
|
156
|
+
"text": "string | null"
|
|
152
157
|
},
|
|
153
|
-
"
|
|
154
|
-
"description": ""
|
|
158
|
+
"default": "null"
|
|
155
159
|
},
|
|
156
160
|
{
|
|
157
161
|
"kind": "field",
|
|
158
|
-
"name": "
|
|
162
|
+
"name": "ariaLabel",
|
|
159
163
|
"type": {
|
|
160
|
-
"text": "
|
|
164
|
+
"text": "string | null"
|
|
161
165
|
},
|
|
162
|
-
"
|
|
163
|
-
"privacy": "public"
|
|
166
|
+
"default": "null"
|
|
164
167
|
}
|
|
165
168
|
],
|
|
166
169
|
"attributes": [
|
|
167
170
|
{
|
|
168
|
-
"name": "
|
|
171
|
+
"name": "shape",
|
|
169
172
|
"type": {
|
|
170
|
-
"text": "
|
|
173
|
+
"text": "ActionGroupShape | undefined"
|
|
171
174
|
},
|
|
172
|
-
"
|
|
175
|
+
"description": "The shape the ActionGroup should have.",
|
|
176
|
+
"fieldName": "shape"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "appearance",
|
|
180
|
+
"type": {
|
|
181
|
+
"text": "ActionGroupAppearance | undefined"
|
|
182
|
+
},
|
|
183
|
+
"description": "The appearance the ActionGroup should have.",
|
|
184
|
+
"fieldName": "appearance"
|
|
173
185
|
},
|
|
174
186
|
{
|
|
175
|
-
"name": "no-indicator",
|
|
176
187
|
"type": {
|
|
177
188
|
"text": "boolean"
|
|
178
189
|
},
|
|
179
190
|
"default": "false",
|
|
180
|
-
"description": "Indicates whether
|
|
181
|
-
"fieldName": "
|
|
191
|
+
"description": "Indicates whether action group should have padding.",
|
|
192
|
+
"fieldName": "tight"
|
|
182
193
|
},
|
|
183
194
|
{
|
|
184
|
-
"name": "
|
|
195
|
+
"name": "role",
|
|
185
196
|
"type": {
|
|
186
|
-
"text": "string |
|
|
197
|
+
"text": "string | null"
|
|
187
198
|
},
|
|
188
|
-
"
|
|
199
|
+
"default": "null",
|
|
200
|
+
"fieldName": "role"
|
|
189
201
|
},
|
|
190
202
|
{
|
|
191
|
-
"name": "
|
|
203
|
+
"name": "aria-label",
|
|
192
204
|
"type": {
|
|
193
|
-
"text": "
|
|
205
|
+
"text": "string | null"
|
|
194
206
|
},
|
|
195
|
-
"
|
|
196
|
-
"fieldName": "
|
|
207
|
+
"default": "null",
|
|
208
|
+
"fieldName": "ariaLabel"
|
|
197
209
|
}
|
|
198
210
|
],
|
|
199
211
|
"superclass": {
|
|
200
|
-
"name": "
|
|
212
|
+
"name": "FoundationElement",
|
|
201
213
|
"package": "@microsoft/fast-foundation"
|
|
202
214
|
},
|
|
203
215
|
"vividComponent": {
|
|
204
216
|
"public": true,
|
|
205
|
-
"name": "
|
|
217
|
+
"name": "action-group"
|
|
206
218
|
}
|
|
207
219
|
}
|
|
208
220
|
],
|
|
209
221
|
"exports": [
|
|
210
222
|
{
|
|
211
223
|
"kind": "js",
|
|
212
|
-
"name": "
|
|
224
|
+
"name": "ActionGroup",
|
|
213
225
|
"declaration": {
|
|
214
|
-
"name": "
|
|
215
|
-
"module": "libs/components/src/lib/
|
|
226
|
+
"name": "ActionGroup",
|
|
227
|
+
"module": "libs/components/src/lib/action-group/action-group.ts"
|
|
216
228
|
}
|
|
217
229
|
}
|
|
218
230
|
]
|
|
219
231
|
},
|
|
220
232
|
{
|
|
221
233
|
"kind": "javascript-module",
|
|
222
|
-
"path": "libs/components/src/lib/
|
|
234
|
+
"path": "libs/components/src/lib/action-group/definition.ts",
|
|
223
235
|
"declarations": [
|
|
224
236
|
{
|
|
225
237
|
"kind": "variable",
|
|
226
|
-
"name": "
|
|
227
|
-
"description": "Registers the
|
|
238
|
+
"name": "registerActionGroup",
|
|
239
|
+
"description": "Registers the action-group elements with the design system.",
|
|
228
240
|
"parameters": [
|
|
229
241
|
{
|
|
230
242
|
"description": "the prefix to use for the component name",
|
|
@@ -236,159 +248,163 @@
|
|
|
236
248
|
"exports": [
|
|
237
249
|
{
|
|
238
250
|
"kind": "js",
|
|
239
|
-
"name": "
|
|
251
|
+
"name": "ActionGroupShape",
|
|
240
252
|
"declaration": {
|
|
241
|
-
"name": "
|
|
242
|
-
"module": "
|
|
253
|
+
"name": "ActionGroupShape",
|
|
254
|
+
"module": "./action-group"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"kind": "js",
|
|
259
|
+
"name": "ActionGroupAppearance",
|
|
260
|
+
"declaration": {
|
|
261
|
+
"name": "ActionGroupAppearance",
|
|
262
|
+
"module": "./action-group"
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"kind": "js",
|
|
267
|
+
"name": "registerActionGroup",
|
|
268
|
+
"declaration": {
|
|
269
|
+
"name": "registerActionGroup",
|
|
270
|
+
"module": "libs/components/src/lib/action-group/definition.ts"
|
|
243
271
|
}
|
|
244
272
|
}
|
|
245
273
|
]
|
|
246
274
|
},
|
|
247
275
|
{
|
|
248
276
|
"kind": "javascript-module",
|
|
249
|
-
"path": "libs/components/src/lib/
|
|
277
|
+
"path": "libs/components/src/lib/accordion-item/accordion-item.ts",
|
|
250
278
|
"declarations": [
|
|
251
279
|
{
|
|
252
280
|
"kind": "class",
|
|
253
281
|
"description": "",
|
|
254
|
-
"name": "
|
|
282
|
+
"name": "AccordionItem",
|
|
255
283
|
"cssProperties": [
|
|
256
284
|
{
|
|
257
|
-
"name": "--vvd-
|
|
285
|
+
"name": "--vvd-accordion-item-accent-primary",
|
|
258
286
|
"default": "var(--vvd-color-canvas-text)"
|
|
259
287
|
},
|
|
260
288
|
{
|
|
261
|
-
"name": "--vvd-
|
|
262
|
-
"default": "var(--vvd-color-neutral-
|
|
289
|
+
"name": "--vvd-accordion-item-accent-faint",
|
|
290
|
+
"default": "var(--vvd-color-neutral-50)"
|
|
263
291
|
},
|
|
264
292
|
{
|
|
265
|
-
"name": "--vvd-
|
|
266
|
-
"default": "var(--vvd-color-neutral-
|
|
293
|
+
"name": "--vvd-accordion-item-accent-soft",
|
|
294
|
+
"default": "var(--vvd-color-neutral-100)"
|
|
267
295
|
}
|
|
268
296
|
],
|
|
269
297
|
"slots": [
|
|
270
298
|
{
|
|
271
299
|
"description": "Default slot.",
|
|
272
300
|
"name": ""
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"description": "Add an icon to the component.",
|
|
304
|
+
"name": "icon"
|
|
273
305
|
}
|
|
274
306
|
],
|
|
275
307
|
"members": [
|
|
276
308
|
{
|
|
277
309
|
"kind": "field",
|
|
278
|
-
"name": "
|
|
279
|
-
"type": {
|
|
280
|
-
"text": "ActionGroupShape | undefined"
|
|
281
|
-
},
|
|
282
|
-
"description": "The shape the ActionGroup should have.",
|
|
283
|
-
"privacy": "public"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"kind": "field",
|
|
287
|
-
"name": "appearance",
|
|
310
|
+
"name": "heading",
|
|
288
311
|
"type": {
|
|
289
|
-
"text": "
|
|
312
|
+
"text": "string | undefined"
|
|
290
313
|
},
|
|
291
|
-
"
|
|
292
|
-
"
|
|
314
|
+
"privacy": "public",
|
|
315
|
+
"description": ""
|
|
293
316
|
},
|
|
294
317
|
{
|
|
295
318
|
"kind": "field",
|
|
296
|
-
"name": "
|
|
319
|
+
"name": "noIndicator",
|
|
297
320
|
"type": {
|
|
298
321
|
"text": "boolean"
|
|
299
322
|
},
|
|
300
323
|
"default": "false",
|
|
301
|
-
"description": "Indicates whether
|
|
324
|
+
"description": "Indicates whether the accordion-item has indicator",
|
|
302
325
|
"privacy": "public"
|
|
303
326
|
},
|
|
304
327
|
{
|
|
305
328
|
"kind": "field",
|
|
306
|
-
"name": "
|
|
329
|
+
"name": "meta",
|
|
307
330
|
"type": {
|
|
308
|
-
"text": "string |
|
|
331
|
+
"text": "string | undefined"
|
|
309
332
|
},
|
|
310
|
-
"
|
|
333
|
+
"privacy": "public",
|
|
334
|
+
"description": ""
|
|
311
335
|
},
|
|
312
336
|
{
|
|
313
337
|
"kind": "field",
|
|
314
|
-
"name": "
|
|
338
|
+
"name": "size",
|
|
315
339
|
"type": {
|
|
316
|
-
"text": "
|
|
340
|
+
"text": "AccordionItemSize | undefined"
|
|
317
341
|
},
|
|
318
|
-
"
|
|
342
|
+
"description": "The size the accordion-item should have.",
|
|
343
|
+
"privacy": "public"
|
|
319
344
|
}
|
|
320
345
|
],
|
|
321
346
|
"attributes": [
|
|
322
347
|
{
|
|
323
|
-
"name": "
|
|
324
|
-
"type": {
|
|
325
|
-
"text": "ActionGroupShape | undefined"
|
|
326
|
-
},
|
|
327
|
-
"description": "The shape the ActionGroup should have.",
|
|
328
|
-
"fieldName": "shape"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"name": "appearance",
|
|
348
|
+
"name": "heading",
|
|
332
349
|
"type": {
|
|
333
|
-
"text": "
|
|
350
|
+
"text": "string | undefined"
|
|
334
351
|
},
|
|
335
|
-
"
|
|
336
|
-
"fieldName": "appearance"
|
|
352
|
+
"fieldName": "heading"
|
|
337
353
|
},
|
|
338
354
|
{
|
|
355
|
+
"name": "no-indicator",
|
|
339
356
|
"type": {
|
|
340
357
|
"text": "boolean"
|
|
341
358
|
},
|
|
342
359
|
"default": "false",
|
|
343
|
-
"description": "Indicates whether
|
|
344
|
-
"fieldName": "
|
|
360
|
+
"description": "Indicates whether the accordion-item has indicator",
|
|
361
|
+
"fieldName": "noIndicator"
|
|
345
362
|
},
|
|
346
363
|
{
|
|
347
|
-
"name": "
|
|
364
|
+
"name": "meta",
|
|
348
365
|
"type": {
|
|
349
|
-
"text": "string |
|
|
366
|
+
"text": "string | undefined"
|
|
350
367
|
},
|
|
351
|
-
"
|
|
352
|
-
"fieldName": "role"
|
|
368
|
+
"fieldName": "meta"
|
|
353
369
|
},
|
|
354
370
|
{
|
|
355
|
-
"name": "
|
|
371
|
+
"name": "size",
|
|
356
372
|
"type": {
|
|
357
|
-
"text": "
|
|
373
|
+
"text": "AccordionItemSize | undefined"
|
|
358
374
|
},
|
|
359
|
-
"
|
|
360
|
-
"fieldName": "
|
|
375
|
+
"description": "The size the accordion-item should have.",
|
|
376
|
+
"fieldName": "size"
|
|
361
377
|
}
|
|
362
378
|
],
|
|
363
379
|
"superclass": {
|
|
364
|
-
"name": "
|
|
380
|
+
"name": "FASTAccordionItem",
|
|
365
381
|
"package": "@microsoft/fast-foundation"
|
|
366
382
|
},
|
|
367
383
|
"vividComponent": {
|
|
368
384
|
"public": true,
|
|
369
|
-
"name": "
|
|
385
|
+
"name": "accordion-item"
|
|
370
386
|
}
|
|
371
387
|
}
|
|
372
388
|
],
|
|
373
389
|
"exports": [
|
|
374
390
|
{
|
|
375
391
|
"kind": "js",
|
|
376
|
-
"name": "
|
|
392
|
+
"name": "AccordionItem",
|
|
377
393
|
"declaration": {
|
|
378
|
-
"name": "
|
|
379
|
-
"module": "libs/components/src/lib/
|
|
394
|
+
"name": "AccordionItem",
|
|
395
|
+
"module": "libs/components/src/lib/accordion-item/accordion-item.ts"
|
|
380
396
|
}
|
|
381
397
|
}
|
|
382
398
|
]
|
|
383
399
|
},
|
|
384
400
|
{
|
|
385
401
|
"kind": "javascript-module",
|
|
386
|
-
"path": "libs/components/src/lib/
|
|
402
|
+
"path": "libs/components/src/lib/accordion-item/definition.ts",
|
|
387
403
|
"declarations": [
|
|
388
404
|
{
|
|
389
405
|
"kind": "variable",
|
|
390
|
-
"name": "
|
|
391
|
-
"description": "Registers the
|
|
406
|
+
"name": "registerAccordionItem",
|
|
407
|
+
"description": "Registers the accordion item elements with the design system.",
|
|
392
408
|
"parameters": [
|
|
393
409
|
{
|
|
394
410
|
"description": "the prefix to use for the component name",
|
|
@@ -400,26 +416,10 @@
|
|
|
400
416
|
"exports": [
|
|
401
417
|
{
|
|
402
418
|
"kind": "js",
|
|
403
|
-
"name": "
|
|
404
|
-
"declaration": {
|
|
405
|
-
"name": "ActionGroupShape",
|
|
406
|
-
"module": "./action-group"
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
"kind": "js",
|
|
411
|
-
"name": "ActionGroupAppearance",
|
|
412
|
-
"declaration": {
|
|
413
|
-
"name": "ActionGroupAppearance",
|
|
414
|
-
"module": "./action-group"
|
|
415
|
-
}
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
"kind": "js",
|
|
419
|
-
"name": "registerActionGroup",
|
|
419
|
+
"name": "registerAccordionItem",
|
|
420
420
|
"declaration": {
|
|
421
|
-
"name": "
|
|
422
|
-
"module": "libs/components/src/lib/
|
|
421
|
+
"name": "registerAccordionItem",
|
|
422
|
+
"module": "libs/components/src/lib/accordion-item/definition.ts"
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
]
|
|
@@ -6907,6 +6907,30 @@
|
|
|
6907
6907
|
{
|
|
6908
6908
|
"name": "--vvd-fab-cta-firm",
|
|
6909
6909
|
"default": "var(--vvd-color-cta-600)"
|
|
6910
|
+
},
|
|
6911
|
+
{
|
|
6912
|
+
"name": "--vvd-fab-announcement-primary",
|
|
6913
|
+
"default": "var(--vvd-color-announcement-500)"
|
|
6914
|
+
},
|
|
6915
|
+
{
|
|
6916
|
+
"name": "--vvd-fab-announcement-primary-text",
|
|
6917
|
+
"default": "var(--vvd-color-canvas)"
|
|
6918
|
+
},
|
|
6919
|
+
{
|
|
6920
|
+
"name": "--vvd-fab-announcement-primary-increment",
|
|
6921
|
+
"default": "var(--vvd-color-announcement-600)"
|
|
6922
|
+
},
|
|
6923
|
+
{
|
|
6924
|
+
"name": "--vvd-fab-announcement-contrast",
|
|
6925
|
+
"default": "var(--vvd-color-announcement-800)"
|
|
6926
|
+
},
|
|
6927
|
+
{
|
|
6928
|
+
"name": "--vvd-fab-announcement-fierce",
|
|
6929
|
+
"default": "var(--vvd-color-announcement-700)"
|
|
6930
|
+
},
|
|
6931
|
+
{
|
|
6932
|
+
"name": "--vvd-fab-announcement-firm",
|
|
6933
|
+
"default": "var(--vvd-color-announcement-600)"
|
|
6910
6934
|
}
|
|
6911
6935
|
],
|
|
6912
6936
|
"slots": [
|
package/lib/fab/fab.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button as FoundationButton } from '@microsoft/fast-foundation';
|
|
2
2
|
import type { Connotation, Size } from '../enums.js';
|
|
3
3
|
import { AffixIconWithTrailing } from '../../shared/patterns/affix';
|
|
4
|
-
export type FabConnotation = Extract<Connotation, Connotation.CTA | Connotation.Accent>;
|
|
4
|
+
export type FabConnotation = Extract<Connotation, Connotation.CTA | Connotation.Accent | Connotation.Announcement>;
|
|
5
5
|
export type FABSize = Extract<Size, Size.Normal | Size.Expanded>;
|
|
6
6
|
export declare class Fab extends FoundationButton {
|
|
7
7
|
connotation?: FabConnotation;
|
package/package.json
CHANGED
package/shared/definition24.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const button = require('./button.cjs');
|
|
|
8
8
|
const ref = require('./ref.cjs');
|
|
9
9
|
const classNames = require('./class-names.cjs');
|
|
10
10
|
|
|
11
|
-
const styles = ".control{--_fab-inline-padding: 12px;display:inline-flex;box-sizing:border-box;align-items:center;border:0 none;border-radius:var(--_fab-border-radius);background:var(--_appearance-color-fill, var(--_elevation-fill));block-size:var(--_fab-block-size);color:var(--_appearance-color-text, var(--vvd-color-canvas-text));column-gap:var(--fab-icon-gap);filter:var(--_elevation-shadow);font:var(--vvd-typography-base-bold);padding-inline:var(--_fab-inline-padding);transition:background-color .15s linear,filter .15s linear;vertical-align:middle}.control.connotation-accent{--_connotation-color-primary: var(--vvd-fab-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-fab-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-contrast: var(--vvd-fab-accent-contrast, var(--vvd-color-neutral-800));--_connotation-color-fierce: var(--vvd-fab-accent-fierce, var(--vvd-color-neutral-700));--_connotation-color-firm: var(--vvd-fab-accent-firm, var(--vvd-color-canvas-text))}.control.connotation-cta{--_connotation-color-primary: var(--vvd-fab-cta-primary, var(--vvd-color-cta-500));--_connotation-color-primary-text: var(--vvd-fab-cta-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-cta-primary-increment, var(--vvd-color-cta-600));--_connotation-color-contrast: var(--vvd-fab-cta-contrast, var(--vvd-color-cta-800));--_connotation-color-fierce: var(--vvd-fab-cta-fierce, var(--vvd-color-cta-700));--_connotation-color-firm: var(--vvd-fab-cta-firm, var(--vvd-color-cta-600))}.control{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.control: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}.control:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.control: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}.control:not(.connotation-accent,.connotation-cta){--focus-stroke-gap-color: transparent}.control:focus-visible{box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}@supports (user-select: none){.control{user-select:none}}.control.size-expanded{--_fab-border-radius: 40px;--_fab-block-size: calc(1px*(56 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) ;--_fab-inline-padding: 20px}.control:not(.size-expanded){--_fab-border-radius: 24px;--_fab-block-size: calc(1px*(40 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) }.control.icon-only{--_fab-inline-padding: 0;border-radius:50%;place-content:center}@supports (aspect-ratio: 1){.control.icon-only{aspect-ratio:1}}@supports not (aspect-ratio: 1){.control.icon-only{inline-size:var(--_fab-block-size)}}.control:not(.icon-only){--fab-icon-gap: 10px}.control:disabled{--_elevation-fill: var(--vvd-color-surface-0dp);--_elevation-shadow: var(--vvd-shadow-surface-0dp);cursor:not-allowed}.control:not(:disabled){--_elevation-fill: var(--vvd-color-surface-4dp);--_elevation-shadow: var(--vvd-shadow-surface-4dp);cursor:pointer}.control:not(:disabled):hover{--_elevation-fill: var(--vvd-color-surface-12dp);--_elevation-shadow: var(--vvd-shadow-surface-12dp)}.control:not(:disabled):active{--_elevation-fill: var(--vvd-color-surface-24dp);--_elevation-shadow: var(--vvd-shadow-surface-24dp)}slot[name=icon]{line-height:1}.icon-trailing slot[name=icon]{display:inline-block;order:1}.control.size-extended slot[name=icon]{font-size:calc(calc(1px*(56 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 2.3333)}.control:not(.size-extended) slot[name=icon]{font-size:calc(1px*(40 + 4*clamp(-1,var(--vvd-size-density, 0),2))/2)}";
|
|
11
|
+
const styles = ".control{--_fab-inline-padding: 12px;display:inline-flex;box-sizing:border-box;align-items:center;border:0 none;border-radius:var(--_fab-border-radius);background:var(--_appearance-color-fill, var(--_elevation-fill));block-size:var(--_fab-block-size);color:var(--_appearance-color-text, var(--vvd-color-canvas-text));column-gap:var(--fab-icon-gap);filter:var(--_elevation-shadow);font:var(--vvd-typography-base-bold);padding-inline:var(--_fab-inline-padding);transition:background-color .15s linear,filter .15s linear;vertical-align:middle}.control.connotation-accent{--_connotation-color-primary: var(--vvd-fab-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-fab-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-contrast: var(--vvd-fab-accent-contrast, var(--vvd-color-neutral-800));--_connotation-color-fierce: var(--vvd-fab-accent-fierce, var(--vvd-color-neutral-700));--_connotation-color-firm: var(--vvd-fab-accent-firm, var(--vvd-color-canvas-text))}.control.connotation-cta{--_connotation-color-primary: var(--vvd-fab-cta-primary, var(--vvd-color-cta-500));--_connotation-color-primary-text: var(--vvd-fab-cta-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-cta-primary-increment, var(--vvd-color-cta-600));--_connotation-color-contrast: var(--vvd-fab-cta-contrast, var(--vvd-color-cta-800));--_connotation-color-fierce: var(--vvd-fab-cta-fierce, var(--vvd-color-cta-700));--_connotation-color-firm: var(--vvd-fab-cta-firm, var(--vvd-color-cta-600))}.control.connotation-announcement{--_connotation-color-primary: var(--vvd-fab-announcement-primary, var(--vvd-color-announcement-500));--_connotation-color-primary-text: var(--vvd-fab-announcement-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-announcement-primary-increment, var(--vvd-color-announcement-600));--_connotation-color-contrast: var(--vvd-fab-announcement-contrast, var(--vvd-color-announcement-800));--_connotation-color-fierce: var(--vvd-fab-announcement-fierce, var(--vvd-color-announcement-700));--_connotation-color-firm: var(--vvd-fab-announcement-firm, var(--vvd-color-announcement-600))}.control{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.control: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}.control:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.control: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}.control:not(.connotation-accent,.connotation-cta){--focus-stroke-gap-color: transparent}.control:focus-visible{box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}@supports (user-select: none){.control{user-select:none}}.control.size-expanded{--_fab-border-radius: 40px;--_fab-block-size: calc(1px*(56 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) ;--_fab-inline-padding: 20px}.control:not(.size-expanded){--_fab-border-radius: 24px;--_fab-block-size: calc(1px*(40 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) }.control.icon-only{--_fab-inline-padding: 0;border-radius:50%;place-content:center}@supports (aspect-ratio: 1){.control.icon-only{aspect-ratio:1}}@supports not (aspect-ratio: 1){.control.icon-only{inline-size:var(--_fab-block-size)}}.control:not(.icon-only){--fab-icon-gap: 10px}.control:disabled{--_elevation-fill: var(--vvd-color-surface-0dp);--_elevation-shadow: var(--vvd-shadow-surface-0dp);cursor:not-allowed}.control:not(:disabled){--_elevation-fill: var(--vvd-color-surface-4dp);--_elevation-shadow: var(--vvd-shadow-surface-4dp);cursor:pointer}.control:not(:disabled):hover{--_elevation-fill: var(--vvd-color-surface-12dp);--_elevation-shadow: var(--vvd-shadow-surface-12dp)}.control:not(:disabled):active{--_elevation-fill: var(--vvd-color-surface-24dp);--_elevation-shadow: var(--vvd-shadow-surface-24dp)}slot[name=icon]{line-height:1}.icon-trailing slot[name=icon]{display:inline-block;order:1}.control.size-extended slot[name=icon]{font-size:calc(calc(1px*(56 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 2.3333)}.control:not(.size-extended) slot[name=icon]{font-size:calc(1px*(40 + 4*clamp(-1,var(--vvd-size-density, 0),2))/2)}";
|
|
12
12
|
|
|
13
13
|
var __defProp = Object.defineProperty;
|
|
14
14
|
var __decorateClass = (decorators, target, key, kind) => {
|
package/shared/definition24.js
CHANGED
|
@@ -6,7 +6,7 @@ import { B as Button$1 } from './button.js';
|
|
|
6
6
|
import { r as ref } from './ref.js';
|
|
7
7
|
import { c as classNames } from './class-names.js';
|
|
8
8
|
|
|
9
|
-
const styles = ".control{--_fab-inline-padding: 12px;display:inline-flex;box-sizing:border-box;align-items:center;border:0 none;border-radius:var(--_fab-border-radius);background:var(--_appearance-color-fill, var(--_elevation-fill));block-size:var(--_fab-block-size);color:var(--_appearance-color-text, var(--vvd-color-canvas-text));column-gap:var(--fab-icon-gap);filter:var(--_elevation-shadow);font:var(--vvd-typography-base-bold);padding-inline:var(--_fab-inline-padding);transition:background-color .15s linear,filter .15s linear;vertical-align:middle}.control.connotation-accent{--_connotation-color-primary: var(--vvd-fab-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-fab-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-contrast: var(--vvd-fab-accent-contrast, var(--vvd-color-neutral-800));--_connotation-color-fierce: var(--vvd-fab-accent-fierce, var(--vvd-color-neutral-700));--_connotation-color-firm: var(--vvd-fab-accent-firm, var(--vvd-color-canvas-text))}.control.connotation-cta{--_connotation-color-primary: var(--vvd-fab-cta-primary, var(--vvd-color-cta-500));--_connotation-color-primary-text: var(--vvd-fab-cta-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-cta-primary-increment, var(--vvd-color-cta-600));--_connotation-color-contrast: var(--vvd-fab-cta-contrast, var(--vvd-color-cta-800));--_connotation-color-fierce: var(--vvd-fab-cta-fierce, var(--vvd-color-cta-700));--_connotation-color-firm: var(--vvd-fab-cta-firm, var(--vvd-color-cta-600))}.control{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.control: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}.control:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.control: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}.control:not(.connotation-accent,.connotation-cta){--focus-stroke-gap-color: transparent}.control:focus-visible{box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}@supports (user-select: none){.control{user-select:none}}.control.size-expanded{--_fab-border-radius: 40px;--_fab-block-size: calc(1px*(56 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) ;--_fab-inline-padding: 20px}.control:not(.size-expanded){--_fab-border-radius: 24px;--_fab-block-size: calc(1px*(40 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) }.control.icon-only{--_fab-inline-padding: 0;border-radius:50%;place-content:center}@supports (aspect-ratio: 1){.control.icon-only{aspect-ratio:1}}@supports not (aspect-ratio: 1){.control.icon-only{inline-size:var(--_fab-block-size)}}.control:not(.icon-only){--fab-icon-gap: 10px}.control:disabled{--_elevation-fill: var(--vvd-color-surface-0dp);--_elevation-shadow: var(--vvd-shadow-surface-0dp);cursor:not-allowed}.control:not(:disabled){--_elevation-fill: var(--vvd-color-surface-4dp);--_elevation-shadow: var(--vvd-shadow-surface-4dp);cursor:pointer}.control:not(:disabled):hover{--_elevation-fill: var(--vvd-color-surface-12dp);--_elevation-shadow: var(--vvd-shadow-surface-12dp)}.control:not(:disabled):active{--_elevation-fill: var(--vvd-color-surface-24dp);--_elevation-shadow: var(--vvd-shadow-surface-24dp)}slot[name=icon]{line-height:1}.icon-trailing slot[name=icon]{display:inline-block;order:1}.control.size-extended slot[name=icon]{font-size:calc(calc(1px*(56 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 2.3333)}.control:not(.size-extended) slot[name=icon]{font-size:calc(1px*(40 + 4*clamp(-1,var(--vvd-size-density, 0),2))/2)}";
|
|
9
|
+
const styles = ".control{--_fab-inline-padding: 12px;display:inline-flex;box-sizing:border-box;align-items:center;border:0 none;border-radius:var(--_fab-border-radius);background:var(--_appearance-color-fill, var(--_elevation-fill));block-size:var(--_fab-block-size);color:var(--_appearance-color-text, var(--vvd-color-canvas-text));column-gap:var(--fab-icon-gap);filter:var(--_elevation-shadow);font:var(--vvd-typography-base-bold);padding-inline:var(--_fab-inline-padding);transition:background-color .15s linear,filter .15s linear;vertical-align:middle}.control.connotation-accent{--_connotation-color-primary: var(--vvd-fab-accent-primary, var(--vvd-color-canvas-text));--_connotation-color-primary-text: var(--vvd-fab-accent-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-accent-primary-increment, var(--vvd-color-neutral-800));--_connotation-color-contrast: var(--vvd-fab-accent-contrast, var(--vvd-color-neutral-800));--_connotation-color-fierce: var(--vvd-fab-accent-fierce, var(--vvd-color-neutral-700));--_connotation-color-firm: var(--vvd-fab-accent-firm, var(--vvd-color-canvas-text))}.control.connotation-cta{--_connotation-color-primary: var(--vvd-fab-cta-primary, var(--vvd-color-cta-500));--_connotation-color-primary-text: var(--vvd-fab-cta-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-cta-primary-increment, var(--vvd-color-cta-600));--_connotation-color-contrast: var(--vvd-fab-cta-contrast, var(--vvd-color-cta-800));--_connotation-color-fierce: var(--vvd-fab-cta-fierce, var(--vvd-color-cta-700));--_connotation-color-firm: var(--vvd-fab-cta-firm, var(--vvd-color-cta-600))}.control.connotation-announcement{--_connotation-color-primary: var(--vvd-fab-announcement-primary, var(--vvd-color-announcement-500));--_connotation-color-primary-text: var(--vvd-fab-announcement-primary-text, var(--vvd-color-canvas));--_connotation-color-primary-increment: var(--vvd-fab-announcement-primary-increment, var(--vvd-color-announcement-600));--_connotation-color-contrast: var(--vvd-fab-announcement-contrast, var(--vvd-color-announcement-800));--_connotation-color-fierce: var(--vvd-fab-announcement-fierce, var(--vvd-color-announcement-700));--_connotation-color-firm: var(--vvd-fab-announcement-firm, var(--vvd-color-announcement-600))}.control{--_appearance-color-text: var(--_connotation-color-primary-text);--_appearance-color-fill: var(--_connotation-color-primary);--_appearance-color-outline: transparent}.control: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}.control:where(.disabled,:disabled){--_appearance-color-text: var(--vvd-color-neutral-300);--_appearance-color-fill: var(--vvd-color-neutral-100);--_appearance-color-outline: transparent}.control: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}.control:not(.connotation-accent,.connotation-cta){--focus-stroke-gap-color: transparent}.control:focus-visible{box-shadow:inset 0 0 0 3px var(--focus-stroke-gap-color, currentColor);outline:2px solid var(--focus-stroke-color, var(--vvd-color-canvas-text));outline-offset:calc(-2px - var(--focus-inset, 0px))}@supports (user-select: none){.control{user-select:none}}.control.size-expanded{--_fab-border-radius: 40px;--_fab-block-size: calc(1px*(56 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) ;--_fab-inline-padding: 20px}.control:not(.size-expanded){--_fab-border-radius: 24px;--_fab-block-size: calc(1px*(40 + 4*clamp(-1, var(--vvd-size-density, 0), 2))) }.control.icon-only{--_fab-inline-padding: 0;border-radius:50%;place-content:center}@supports (aspect-ratio: 1){.control.icon-only{aspect-ratio:1}}@supports not (aspect-ratio: 1){.control.icon-only{inline-size:var(--_fab-block-size)}}.control:not(.icon-only){--fab-icon-gap: 10px}.control:disabled{--_elevation-fill: var(--vvd-color-surface-0dp);--_elevation-shadow: var(--vvd-shadow-surface-0dp);cursor:not-allowed}.control:not(:disabled){--_elevation-fill: var(--vvd-color-surface-4dp);--_elevation-shadow: var(--vvd-shadow-surface-4dp);cursor:pointer}.control:not(:disabled):hover{--_elevation-fill: var(--vvd-color-surface-12dp);--_elevation-shadow: var(--vvd-shadow-surface-12dp)}.control:not(:disabled):active{--_elevation-fill: var(--vvd-color-surface-24dp);--_elevation-shadow: var(--vvd-shadow-surface-24dp)}slot[name=icon]{line-height:1}.icon-trailing slot[name=icon]{display:inline-block;order:1}.control.size-extended slot[name=icon]{font-size:calc(calc(1px*(56 + 4*clamp(-1,var(--vvd-size-density, 0),2))) / 2.3333)}.control:not(.size-extended) slot[name=icon]{font-size:calc(1px*(40 + 4*clamp(-1,var(--vvd-size-density, 0),2))/2)}";
|
|
10
10
|
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
12
12
|
var __decorateClass = (decorators, target, key, kind) => {
|
package/shared/icon.cjs
CHANGED
package/shared/icon.js
CHANGED
package/styles/core/all.css
CHANGED
package/styles/core/theme.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 22 May 2024 12:12:30 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Wed, 22 May 2024 12:12:29 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Wed, 22 May 2024 12:12:30 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Wed, 22 May 2024 12:12:30 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 22 May 2024 12:12:29 GMT
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
6
|
* Do not edit directly
|
|
7
|
-
* Generated on
|
|
7
|
+
* Generated on Wed, 22 May 2024 12:12:30 GMT
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Wed, 22 May 2024 12:12:30 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Wed, 22 May 2024 12:12:30 GMT
|
|
16
16
|
*/
|
|
17
17
|
@property --vvd-size-density {
|
|
18
18
|
syntax: "<integer>";
|
package/vivid.api.json
CHANGED
|
@@ -2978,6 +2978,15 @@
|
|
|
2978
2978
|
"text": "Connotation.Accent",
|
|
2979
2979
|
"canonicalReference": "@vonage/vivid!Connotation.Accent:member"
|
|
2980
2980
|
},
|
|
2981
|
+
{
|
|
2982
|
+
"kind": "Content",
|
|
2983
|
+
"text": " | "
|
|
2984
|
+
},
|
|
2985
|
+
{
|
|
2986
|
+
"kind": "Reference",
|
|
2987
|
+
"text": "Connotation.Announcement",
|
|
2988
|
+
"canonicalReference": "@vonage/vivid!Connotation.Announcement:member"
|
|
2989
|
+
},
|
|
2981
2990
|
{
|
|
2982
2991
|
"kind": "Content",
|
|
2983
2992
|
"text": ">"
|
|
@@ -2992,7 +3001,7 @@
|
|
|
2992
3001
|
"name": "FabConnotation",
|
|
2993
3002
|
"typeTokenRange": {
|
|
2994
3003
|
"startIndex": 1,
|
|
2995
|
-
"endIndex":
|
|
3004
|
+
"endIndex": 11
|
|
2996
3005
|
}
|
|
2997
3006
|
},
|
|
2998
3007
|
{
|