@vonage/vivid 3.26.0 → 3.27.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 +2 -0
- package/custom-elements.json +300 -0
- package/file-picker/index.js +26 -0
- package/header/index.js +1 -1
- package/index.js +30 -29
- package/layout/index.js +1 -1
- package/lib/components.d.ts +1 -1
- package/lib/file-picker/definition.d.ts +3 -0
- package/lib/file-picker/file-picker.d.ts +22 -0
- package/lib/file-picker/file-picker.template.d.ts +4 -0
- package/lib/file-picker/index.d.ts +1 -0
- package/lib/menu/menu.d.ts +1 -0
- package/listbox/index.js +1 -1
- package/menu/index.js +2 -2
- package/menu-item/index.js +1 -1
- package/nav/index.js +1 -1
- package/nav-disclosure/index.js +1 -1
- package/nav-item/index.js +1 -1
- package/note/index.js +1 -1
- package/number-field/index.js +1 -1
- package/package.json +2 -1
- package/pagination/index.js +1 -1
- package/progress/index.js +1 -1
- package/radio/index.js +1 -1
- package/radio-group/index.js +1 -1
- package/select/index.js +1 -1
- package/shared/definition.js +1 -1
- package/shared/definition10.js +1 -1
- package/shared/definition11.js +1 -1
- package/shared/definition12.js +1 -1
- package/shared/definition14.js +1 -1
- package/shared/definition15.js +1 -1
- package/shared/definition16.js +1 -1
- package/shared/definition17.js +1 -1
- package/shared/definition18.js +1 -1
- package/shared/definition19.js +1 -1
- package/shared/definition2.js +1 -1
- package/shared/definition20.js +1 -1
- package/shared/definition21.js +1 -1
- package/shared/definition22.js +2 -2
- package/shared/definition23.js +1 -1
- package/shared/definition24.js +1 -1
- package/shared/definition25.js +1 -1
- package/shared/definition26.js +1 -1
- package/shared/definition27.js +2285 -45
- package/shared/definition28.js +46 -36
- package/shared/definition29.js +38 -368
- package/shared/definition30.js +307 -299
- package/shared/definition31.js +375 -14
- package/shared/definition32.js +13 -70
- package/shared/definition33.js +66 -25
- package/shared/definition34.js +27 -39
- package/shared/definition35.js +31 -431
- package/shared/definition36.js +430 -214
- package/shared/definition37.js +209 -70
- package/shared/definition38.js +81 -33
- package/shared/definition39.js +32 -423
- package/shared/definition4.js +1 -1
- package/shared/definition40.js +358 -586
- package/shared/definition41.js +648 -73
- package/shared/definition42.js +70 -584
- package/shared/definition43.js +538 -81
- package/shared/definition44.js +127 -52
- package/shared/definition45.js +56 -16
- package/shared/definition46.js +17 -485
- package/shared/definition47.js +477 -99
- package/shared/definition48.js +114 -19
- package/shared/definition49.js +19 -276
- package/shared/definition5.js +1 -1
- package/shared/definition50.js +245 -89
- package/shared/definition51.js +117 -628
- package/shared/definition52.js +601 -86
- package/shared/definition53.js +112 -68
- package/shared/definition54.js +69 -294
- package/shared/definition55.js +305 -0
- package/shared/definition6.js +1 -1
- package/shared/definition7.js +4 -3
- package/shared/definition9.js +1 -1
- package/shared/form-elements.js +1 -1
- package/shared/patterns/form-elements/form-elements.d.ts +4 -4
- package/shared/text-field.js +1 -1
- package/side-drawer/index.js +1 -1
- package/slider/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/switch/index.js +1 -1
- package/tab/index.js +1 -1
- package/tab-panel/index.js +1 -1
- package/tabs/index.js +3 -3
- package/tag/index.js +1 -1
- package/tag-group/index.js +1 -1
- package/text-area/index.js +1 -1
- package/text-field/index.js +1 -1
- package/toggletip/index.js +1 -1
- package/tooltip/index.js +1 -1
- package/tree-item/index.js +1 -1
- package/tree-view/index.js +1 -1
- package/vivid.api.json +139 -741
package/README.md
CHANGED
|
@@ -161,6 +161,8 @@ This project is licensed under the Apache 2.0 License - see the [LICENSE.md](htt
|
|
|
161
161
|
- [Fast](https://www.fast.design) - to extend element classes and compile code to native web components
|
|
162
162
|
- [Typescript](https://www.typescriptlang.org) - for ergonomic and type-safe code
|
|
163
163
|
- [Sass](https://sass-lang.com) - for styles authoring extensibility and consistency
|
|
164
|
+
- [Floating UI](https://floating-ui.com) - for positioning floating elements
|
|
165
|
+
- [Dropzone](https://dropzone.dev) - for handling dropped files
|
|
164
166
|
|
|
165
167
|
---
|
|
166
168
|
## Have questions?
|
package/custom-elements.json
CHANGED
|
@@ -4366,6 +4366,299 @@
|
|
|
4366
4366
|
}
|
|
4367
4367
|
]
|
|
4368
4368
|
},
|
|
4369
|
+
{
|
|
4370
|
+
"kind": "javascript-module",
|
|
4371
|
+
"path": "libs/components/src/lib/file-picker/definition.ts",
|
|
4372
|
+
"declarations": [
|
|
4373
|
+
{
|
|
4374
|
+
"kind": "variable",
|
|
4375
|
+
"name": "filePickerDefinition"
|
|
4376
|
+
},
|
|
4377
|
+
{
|
|
4378
|
+
"kind": "variable",
|
|
4379
|
+
"name": "registerFilePicker",
|
|
4380
|
+
"description": "Registers the file-picker element with the design system.",
|
|
4381
|
+
"parameters": [
|
|
4382
|
+
{
|
|
4383
|
+
"description": "the prefix to use for the component name",
|
|
4384
|
+
"name": "prefix"
|
|
4385
|
+
}
|
|
4386
|
+
]
|
|
4387
|
+
}
|
|
4388
|
+
],
|
|
4389
|
+
"exports": [
|
|
4390
|
+
{
|
|
4391
|
+
"kind": "js",
|
|
4392
|
+
"name": "filePickerDefinition",
|
|
4393
|
+
"declaration": {
|
|
4394
|
+
"name": "filePickerDefinition",
|
|
4395
|
+
"module": "libs/components/src/lib/file-picker/definition.ts"
|
|
4396
|
+
}
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
"kind": "js",
|
|
4400
|
+
"name": "registerFilePicker",
|
|
4401
|
+
"declaration": {
|
|
4402
|
+
"name": "registerFilePicker",
|
|
4403
|
+
"module": "libs/components/src/lib/file-picker/definition.ts"
|
|
4404
|
+
}
|
|
4405
|
+
}
|
|
4406
|
+
]
|
|
4407
|
+
},
|
|
4408
|
+
{
|
|
4409
|
+
"kind": "javascript-module",
|
|
4410
|
+
"path": "libs/components/src/lib/file-picker/file-picker.ts",
|
|
4411
|
+
"declarations": [
|
|
4412
|
+
{
|
|
4413
|
+
"kind": "class",
|
|
4414
|
+
"description": "File-picker component",
|
|
4415
|
+
"name": "FilePicker",
|
|
4416
|
+
"members": [
|
|
4417
|
+
{
|
|
4418
|
+
"kind": "field",
|
|
4419
|
+
"name": "#dropzone",
|
|
4420
|
+
"privacy": "private",
|
|
4421
|
+
"type": {
|
|
4422
|
+
"text": "Dropzone | undefined"
|
|
4423
|
+
}
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
"kind": "field",
|
|
4427
|
+
"name": "files",
|
|
4428
|
+
"type": {
|
|
4429
|
+
"text": "File[]"
|
|
4430
|
+
},
|
|
4431
|
+
"description": "Files that have been added to the file picker and passed validation.",
|
|
4432
|
+
"privacy": "public",
|
|
4433
|
+
"readonly": true
|
|
4434
|
+
},
|
|
4435
|
+
{
|
|
4436
|
+
"kind": "field",
|
|
4437
|
+
"name": "label",
|
|
4438
|
+
"type": {
|
|
4439
|
+
"text": "string | undefined"
|
|
4440
|
+
},
|
|
4441
|
+
"description": "Indicates the file picker's label.",
|
|
4442
|
+
"privacy": "public"
|
|
4443
|
+
},
|
|
4444
|
+
{
|
|
4445
|
+
"kind": "field",
|
|
4446
|
+
"name": "maxFiles",
|
|
4447
|
+
"type": {
|
|
4448
|
+
"text": "number | undefined"
|
|
4449
|
+
},
|
|
4450
|
+
"description": "The max files that can be selected.",
|
|
4451
|
+
"privacy": "public"
|
|
4452
|
+
},
|
|
4453
|
+
{
|
|
4454
|
+
"kind": "method",
|
|
4455
|
+
"name": "maxFilesChanged",
|
|
4456
|
+
"return": {
|
|
4457
|
+
"type": {
|
|
4458
|
+
"text": "void"
|
|
4459
|
+
}
|
|
4460
|
+
},
|
|
4461
|
+
"parameters": [
|
|
4462
|
+
{
|
|
4463
|
+
"name": "_oldValue",
|
|
4464
|
+
"type": {
|
|
4465
|
+
"text": "number"
|
|
4466
|
+
}
|
|
4467
|
+
},
|
|
4468
|
+
{
|
|
4469
|
+
"name": "newValue",
|
|
4470
|
+
"type": {
|
|
4471
|
+
"text": "number"
|
|
4472
|
+
}
|
|
4473
|
+
}
|
|
4474
|
+
]
|
|
4475
|
+
},
|
|
4476
|
+
{
|
|
4477
|
+
"kind": "field",
|
|
4478
|
+
"name": "maxFileSize",
|
|
4479
|
+
"type": {
|
|
4480
|
+
"text": "number"
|
|
4481
|
+
},
|
|
4482
|
+
"default": "256",
|
|
4483
|
+
"description": "The max file size that can be selected.",
|
|
4484
|
+
"privacy": "public"
|
|
4485
|
+
},
|
|
4486
|
+
{
|
|
4487
|
+
"kind": "method",
|
|
4488
|
+
"name": "maxFileSizeChanged",
|
|
4489
|
+
"return": {
|
|
4490
|
+
"type": {
|
|
4491
|
+
"text": "void"
|
|
4492
|
+
}
|
|
4493
|
+
},
|
|
4494
|
+
"parameters": [
|
|
4495
|
+
{
|
|
4496
|
+
"name": "_oldValue",
|
|
4497
|
+
"type": {
|
|
4498
|
+
"text": "number"
|
|
4499
|
+
}
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
"name": "newValue",
|
|
4503
|
+
"type": {
|
|
4504
|
+
"text": "number"
|
|
4505
|
+
}
|
|
4506
|
+
}
|
|
4507
|
+
]
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
"kind": "field",
|
|
4511
|
+
"name": "accept",
|
|
4512
|
+
"type": {
|
|
4513
|
+
"text": "string | undefined"
|
|
4514
|
+
},
|
|
4515
|
+
"description": "List of accepted files types",
|
|
4516
|
+
"privacy": "public"
|
|
4517
|
+
},
|
|
4518
|
+
{
|
|
4519
|
+
"kind": "method",
|
|
4520
|
+
"name": "acceptChanged",
|
|
4521
|
+
"return": {
|
|
4522
|
+
"type": {
|
|
4523
|
+
"text": "void"
|
|
4524
|
+
}
|
|
4525
|
+
},
|
|
4526
|
+
"parameters": [
|
|
4527
|
+
{
|
|
4528
|
+
"name": "_oldValue",
|
|
4529
|
+
"type": {
|
|
4530
|
+
"text": "string"
|
|
4531
|
+
}
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
"name": "newValue",
|
|
4535
|
+
"type": {
|
|
4536
|
+
"text": "string"
|
|
4537
|
+
}
|
|
4538
|
+
}
|
|
4539
|
+
]
|
|
4540
|
+
},
|
|
4541
|
+
{
|
|
4542
|
+
"kind": "field",
|
|
4543
|
+
"name": "size",
|
|
4544
|
+
"type": {
|
|
4545
|
+
"text": "FileUploaderSize | undefined"
|
|
4546
|
+
},
|
|
4547
|
+
"description": "The size the file-uploader should have.",
|
|
4548
|
+
"privacy": "public"
|
|
4549
|
+
},
|
|
4550
|
+
{
|
|
4551
|
+
"kind": "field",
|
|
4552
|
+
"name": "buttonTag",
|
|
4553
|
+
"type": {
|
|
4554
|
+
"text": "string"
|
|
4555
|
+
},
|
|
4556
|
+
"privacy": "private",
|
|
4557
|
+
"default": "'vwc-button'",
|
|
4558
|
+
"description": "Used internally to hold the tag that button is registered at."
|
|
4559
|
+
},
|
|
4560
|
+
{
|
|
4561
|
+
"kind": "method",
|
|
4562
|
+
"name": "#chooseFile",
|
|
4563
|
+
"return": {
|
|
4564
|
+
"type": {
|
|
4565
|
+
"text": "void"
|
|
4566
|
+
}
|
|
4567
|
+
}
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"kind": "method",
|
|
4571
|
+
"name": "#updateHiddenFileInput",
|
|
4572
|
+
"return": {
|
|
4573
|
+
"type": {
|
|
4574
|
+
"text": "void"
|
|
4575
|
+
}
|
|
4576
|
+
}
|
|
4577
|
+
},
|
|
4578
|
+
{
|
|
4579
|
+
"kind": "method",
|
|
4580
|
+
"name": "#handleFilesChanged",
|
|
4581
|
+
"return": {
|
|
4582
|
+
"type": {
|
|
4583
|
+
"text": "void"
|
|
4584
|
+
}
|
|
4585
|
+
}
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
"kind": "field",
|
|
4589
|
+
"name": "autoDiscover",
|
|
4590
|
+
"type": {
|
|
4591
|
+
"text": "boolean"
|
|
4592
|
+
},
|
|
4593
|
+
"default": "false"
|
|
4594
|
+
}
|
|
4595
|
+
],
|
|
4596
|
+
"events": [
|
|
4597
|
+
{
|
|
4598
|
+
"description": "Emitted when a file is added or removed.",
|
|
4599
|
+
"name": "change"
|
|
4600
|
+
}
|
|
4601
|
+
],
|
|
4602
|
+
"attributes": [
|
|
4603
|
+
{
|
|
4604
|
+
"name": "label",
|
|
4605
|
+
"type": {
|
|
4606
|
+
"text": "string | undefined"
|
|
4607
|
+
},
|
|
4608
|
+
"description": "Indicates the file picker's label.",
|
|
4609
|
+
"fieldName": "label"
|
|
4610
|
+
},
|
|
4611
|
+
{
|
|
4612
|
+
"name": "max-files",
|
|
4613
|
+
"type": {
|
|
4614
|
+
"text": "number | undefined"
|
|
4615
|
+
},
|
|
4616
|
+
"description": "The max files that can be selected.",
|
|
4617
|
+
"fieldName": "maxFiles"
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"name": "max-file-size",
|
|
4621
|
+
"type": {
|
|
4622
|
+
"text": "number"
|
|
4623
|
+
},
|
|
4624
|
+
"default": "256",
|
|
4625
|
+
"description": "The max file size that can be selected.",
|
|
4626
|
+
"fieldName": "maxFileSize"
|
|
4627
|
+
},
|
|
4628
|
+
{
|
|
4629
|
+
"name": "accept",
|
|
4630
|
+
"type": {
|
|
4631
|
+
"text": "string | undefined"
|
|
4632
|
+
},
|
|
4633
|
+
"description": "List of accepted files types",
|
|
4634
|
+
"fieldName": "accept"
|
|
4635
|
+
},
|
|
4636
|
+
{
|
|
4637
|
+
"name": "size",
|
|
4638
|
+
"type": {
|
|
4639
|
+
"text": "FileUploaderSize | undefined"
|
|
4640
|
+
},
|
|
4641
|
+
"description": "The size the file-uploader should have.",
|
|
4642
|
+
"fieldName": "size"
|
|
4643
|
+
}
|
|
4644
|
+
],
|
|
4645
|
+
"superclass": {
|
|
4646
|
+
"name": "FoundationElement",
|
|
4647
|
+
"package": "@microsoft/fast-foundation"
|
|
4648
|
+
}
|
|
4649
|
+
}
|
|
4650
|
+
],
|
|
4651
|
+
"exports": [
|
|
4652
|
+
{
|
|
4653
|
+
"kind": "js",
|
|
4654
|
+
"name": "FilePicker",
|
|
4655
|
+
"declaration": {
|
|
4656
|
+
"name": "FilePicker",
|
|
4657
|
+
"module": "libs/components/src/lib/file-picker/file-picker.ts"
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
]
|
|
4661
|
+
},
|
|
4369
4662
|
{
|
|
4370
4663
|
"kind": "javascript-module",
|
|
4371
4664
|
"path": "libs/components/src/lib/focus/definition.ts",
|
|
@@ -5214,6 +5507,13 @@
|
|
|
5214
5507
|
{
|
|
5215
5508
|
"kind": "method",
|
|
5216
5509
|
"name": "autoDismissChanged"
|
|
5510
|
+
},
|
|
5511
|
+
{
|
|
5512
|
+
"kind": "field",
|
|
5513
|
+
"name": "actionItemsSlottedContent",
|
|
5514
|
+
"type": {
|
|
5515
|
+
"text": "HTMLElement[] | undefined"
|
|
5516
|
+
}
|
|
5217
5517
|
}
|
|
5218
5518
|
],
|
|
5219
5519
|
"attributes": [
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { r as registerFilePicker } from '../shared/definition27.js';
|
|
2
|
+
import '../shared/index.js';
|
|
3
|
+
import '../shared/definition3.js';
|
|
4
|
+
import '../shared/icon.js';
|
|
5
|
+
import '../shared/to-string.js';
|
|
6
|
+
import '../shared/string-trim.js';
|
|
7
|
+
import '../shared/_has.js';
|
|
8
|
+
import '../shared/class-names.js';
|
|
9
|
+
import '../shared/when.js';
|
|
10
|
+
import '../shared/definition4.js';
|
|
11
|
+
import '../shared/focus.js';
|
|
12
|
+
import '../shared/definition7.js';
|
|
13
|
+
import '../shared/definition9.js';
|
|
14
|
+
import '../shared/base-progress.js';
|
|
15
|
+
import '../shared/affix.js';
|
|
16
|
+
import '../shared/button.js';
|
|
17
|
+
import '../shared/apply-mixins.js';
|
|
18
|
+
import '../shared/form-associated.js';
|
|
19
|
+
import '../shared/key-codes.js';
|
|
20
|
+
import '../shared/aria-global.js';
|
|
21
|
+
import '../shared/start-end.js';
|
|
22
|
+
import '../shared/ref.js';
|
|
23
|
+
import '../shared/focus2.js';
|
|
24
|
+
import '../shared/form-elements.js';
|
|
25
|
+
|
|
26
|
+
registerFilePicker();
|
package/header/index.js
CHANGED
package/index.js
CHANGED
|
@@ -18,38 +18,38 @@ export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } fro
|
|
|
18
18
|
export { a as dividerDefinition, d as dividerRegistries, r as registerDivider } from './shared/definition24.js';
|
|
19
19
|
export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition22.js';
|
|
20
20
|
export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition26.js';
|
|
21
|
-
export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/
|
|
21
|
+
export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/definition28.js';
|
|
22
22
|
export { a as iconDefinition, i as iconRegistries, r as registerIcon } from './shared/definition3.js';
|
|
23
|
-
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/
|
|
23
|
+
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition29.js';
|
|
24
24
|
export { a as listboxOptionDefinition, l as listboxOptionRegistries, r as registerOption } from './shared/definition21.js';
|
|
25
|
-
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/
|
|
26
|
-
export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/
|
|
27
|
-
export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/
|
|
28
|
-
export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/
|
|
29
|
-
export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/
|
|
30
|
-
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/
|
|
31
|
-
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/
|
|
32
|
-
export { p as paginationDefinition, a as paginationRegistries, r as registerPagination } from './shared/
|
|
33
|
-
export {
|
|
34
|
-
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition37.js';
|
|
25
|
+
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition30.js';
|
|
26
|
+
export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/definition31.js';
|
|
27
|
+
export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/definition32.js';
|
|
28
|
+
export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/definition33.js';
|
|
29
|
+
export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/definition34.js';
|
|
30
|
+
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition35.js';
|
|
31
|
+
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition36.js';
|
|
32
|
+
export { p as paginationDefinition, a as paginationRegistries, r as registerPagination } from './shared/definition37.js';
|
|
33
|
+
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition38.js';
|
|
35
34
|
export { a as progressRingDefinition, p as progressRingRegistries, r as registerProgressRing } from './shared/definition9.js';
|
|
36
|
-
export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/
|
|
37
|
-
export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadioGroup } from './shared/
|
|
38
|
-
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/
|
|
39
|
-
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/
|
|
40
|
-
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/
|
|
41
|
-
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/
|
|
42
|
-
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/
|
|
43
|
-
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/
|
|
44
|
-
export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/
|
|
45
|
-
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/
|
|
46
|
-
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/
|
|
47
|
-
export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/
|
|
48
|
-
export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/
|
|
49
|
-
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/
|
|
50
|
-
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/
|
|
51
|
-
export { r as registerTag, t as tagDefinition } from './shared/
|
|
52
|
-
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/
|
|
35
|
+
export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/definition39.js';
|
|
36
|
+
export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadioGroup } from './shared/definition40.js';
|
|
37
|
+
export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition41.js';
|
|
38
|
+
export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/definition42.js';
|
|
39
|
+
export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/definition43.js';
|
|
40
|
+
export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition44.js';
|
|
41
|
+
export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition51.js';
|
|
42
|
+
export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition50.js';
|
|
43
|
+
export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/definition52.js';
|
|
44
|
+
export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition53.js';
|
|
45
|
+
export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition47.js';
|
|
46
|
+
export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/definition45.js';
|
|
47
|
+
export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/definition46.js';
|
|
48
|
+
export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition55.js';
|
|
49
|
+
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition54.js';
|
|
50
|
+
export { r as registerTag, t as tagDefinition } from './shared/definition48.js';
|
|
51
|
+
export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition49.js';
|
|
52
|
+
export { f as filePickerDefinition, a as filePickerRegistries, r as registerFilePicker } from './shared/definition27.js';
|
|
53
53
|
export { ae as designSystem, r as registerFactory } from './shared/index.js';
|
|
54
54
|
import './shared/key-codes.js';
|
|
55
55
|
import './shared/numbers.js';
|
|
@@ -79,6 +79,7 @@ import './shared/text-anchor.template.js';
|
|
|
79
79
|
import './shared/calendar-event.js';
|
|
80
80
|
import './shared/es.object.assign.js';
|
|
81
81
|
import './shared/repeat.js';
|
|
82
|
+
import './shared/definition20.js';
|
|
82
83
|
import './shared/text-field.js';
|
|
83
84
|
import './shared/listbox.js';
|
|
84
85
|
import './shared/strings.js';
|
package/layout/index.js
CHANGED
package/lib/components.d.ts
CHANGED
|
@@ -30,7 +30,6 @@ export * from './nav-item/definition';
|
|
|
30
30
|
export * from './note/definition';
|
|
31
31
|
export * from './number-field/definition';
|
|
32
32
|
export * from './pagination/definition';
|
|
33
|
-
export * from './popup/definition';
|
|
34
33
|
export * from './progress/definition';
|
|
35
34
|
export * from './progress-ring/definition';
|
|
36
35
|
export * from './radio/definition';
|
|
@@ -50,3 +49,4 @@ export * from './tree-view/definition';
|
|
|
50
49
|
export * from './tree-item/definition';
|
|
51
50
|
export * from './tag/definition';
|
|
52
51
|
export * from './tag-group/definition';
|
|
52
|
+
export * from './file-picker/definition';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
|
+
export declare const filePickerDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
|
3
|
+
export declare const registerFilePicker: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
+
import type { Size } from '../enums';
|
|
3
|
+
import { FormElementHelperText } from '../../shared/patterns';
|
|
4
|
+
export declare type FileUploaderSize = Extract<Size, Size.Normal | Size.Expanded>;
|
|
5
|
+
export declare class FilePicker extends FoundationElement {
|
|
6
|
+
#private;
|
|
7
|
+
get files(): File[];
|
|
8
|
+
label?: string;
|
|
9
|
+
maxFiles?: number;
|
|
10
|
+
maxFilesChanged(_oldValue: number, newValue: number): void;
|
|
11
|
+
maxFileSize: number;
|
|
12
|
+
maxFileSizeChanged(_oldValue: number, newValue: number): void;
|
|
13
|
+
accept?: string;
|
|
14
|
+
acceptChanged(_oldValue: string, newValue: string): void;
|
|
15
|
+
size?: FileUploaderSize;
|
|
16
|
+
private buttonTag;
|
|
17
|
+
constructor();
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
}
|
|
21
|
+
export interface FilePicker extends FormElementHelperText {
|
|
22
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
+
import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
3
|
+
import type { FilePicker } from './file-picker';
|
|
4
|
+
export declare const FilePickerTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<FilePicker>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/lib/menu/menu.d.ts
CHANGED
package/listbox/index.js
CHANGED
|
@@ -61,7 +61,7 @@ const ListboxTemplate = context => {
|
|
|
61
61
|
}));
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
64
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Thu, 03 Aug 2023 09:40:18 GMT\n */\n:host {\n display: block;\n inline-size: fit-content;\n}\n\n:host(:focus-within) {\n outline: none;\n}\n\n.base {\n position: relative;\n display: flex;\n flex-direction: column;\n padding: 4px;\n background-color: var(--_appearance-color-fill);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n contain: paint;\n gap: 4px;\n}\n.base {\n /* @cssprop [--vvd-listbox-accent-backdrop=var(--vvd-color-canvas)] */\n --_connotation-color-backdrop: var(--vvd-listbox-accent-backdrop, var(--vvd-color-canvas));\n /* @cssprop [--vvd-listbox-accent-intermediate=var(--vvd-color-neutral-500)] */\n --_connotation-color-intermediate: var(--vvd-listbox-accent-intermediate, var(--vvd-color-neutral-500));\n /* @cssprop [--vvd-listbox-accent-primary=var(--vvd-color-canvas-text)] */\n --_connotation-color-primary: var(--vvd-listbox-accent-primary, var(--vvd-color-canvas-text));\n /* @cssprop [--vvd-listbox-accent-soft=var(--vvd-color-neutral-100)] */\n --_connotation-color-soft: var(--vvd-listbox-accent-soft, var(--vvd-color-neutral-100));\n}\n.base {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-intermediate);\n}\n.base.appearance-ghost {\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-300);\n --_appearance-color-fill: var(--vvd-color-neutral-100);\n --_appearance-color-outline: var(--vvd-color-neutral-300);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n\n.focus-indicator {\n pointer-events: none;\n}\n:host(:not(:focus-within)) .focus-indicator {\n display: none;\n}\n\n.base.disabled ::slotted([role=option]) {\n --_option-appearance-color-text: var(--_appearance-color-outline);\n cursor: not-allowed;\n pointer-events: none;\n}";
|
|
65
65
|
|
|
66
66
|
const listboxDefinition = Listbox.compose({
|
|
67
67
|
baseName: 'listbox',
|
package/menu/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerMenu } from '../shared/
|
|
1
|
+
import { r as registerMenu } from '../shared/definition30.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition20.js';
|
|
4
4
|
import '../shared/definition7.js';
|
|
@@ -24,7 +24,7 @@ import '../shared/ref.js';
|
|
|
24
24
|
import '../shared/focus2.js';
|
|
25
25
|
import '../shared/definition8.js';
|
|
26
26
|
import '../shared/es.object.assign.js';
|
|
27
|
-
import '../shared/
|
|
27
|
+
import '../shared/definition31.js';
|
|
28
28
|
import '../shared/direction.js';
|
|
29
29
|
import '../shared/slotted.js';
|
|
30
30
|
import '../shared/node-observation.js';
|
package/menu-item/index.js
CHANGED
package/nav/index.js
CHANGED
package/nav-disclosure/index.js
CHANGED
package/nav-item/index.js
CHANGED
package/note/index.js
CHANGED
package/number-field/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vonage/vivid",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.27.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./index.js",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"@microsoft/fast-web-utilities": "5.4.1",
|
|
24
24
|
"ramda": "0.28.0",
|
|
25
25
|
"dialog-polyfill": "0.5.6",
|
|
26
|
+
"dropzone": "6.0.0-beta.2",
|
|
26
27
|
"@floating-ui/dom": "1.2.0"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {}
|
package/pagination/index.js
CHANGED
package/progress/index.js
CHANGED
package/radio/index.js
CHANGED
package/radio-group/index.js
CHANGED
package/select/index.js
CHANGED
package/shared/definition.js
CHANGED
|
@@ -187,7 +187,7 @@ __decorate([
|
|
|
187
187
|
observable
|
|
188
188
|
], Accordion$1.prototype, "accordionItems", void 0);
|
|
189
189
|
|
|
190
|
-
var css_248z = "/**\n * Do not edit directly\n * Generated on
|
|
190
|
+
var css_248z = "/**\n * Do not edit directly\n * Generated on Thu, 03 Aug 2023 09:40:18 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}";
|
|
191
191
|
|
|
192
192
|
class Accordion extends Accordion$1 {
|
|
193
193
|
constructor() {
|