@vonage/vivid 3.25.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/accordion/index.js +0 -1
- package/accordion-item/index.js +0 -1
- package/alert/index.js +0 -1
- package/avatar/index.js +0 -1
- package/badge/index.js +0 -1
- package/banner/index.js +0 -1
- package/breadcrumb-item/index.js +0 -1
- package/button/index.js +0 -1
- package/card/index.js +0 -1
- package/checkbox/index.js +0 -1
- package/combobox/index.js +0 -1
- package/custom-elements.json +335 -1
- package/data-grid/index.js +7 -2
- package/dialog/index.js +0 -1
- package/empty-state/index.js +0 -1
- package/fab/index.js +0 -1
- package/file-picker/index.js +26 -0
- package/header/index.js +1 -1
- package/icon/index.js +0 -1
- package/index.js +5 -6
- package/layout/index.js +1 -1
- package/lib/components.d.ts +1 -3
- package/lib/data-grid/data-grid-cell.d.ts +14 -1
- package/lib/data-grid/data-grid.options.d.ts +7 -0
- 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 +56 -11
- package/menu/index.js +0 -1
- package/menu-item/index.js +0 -1
- package/nav-disclosure/index.js +0 -1
- package/nav-item/index.js +0 -1
- package/note/index.js +0 -1
- package/number-field/index.js +0 -1
- package/option/index.js +0 -1
- package/package.json +2 -1
- package/pagination/index.js +0 -1
- package/popup/index.js +0 -1
- package/select/index.js +0 -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 +2 -2
- 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 +68 -21
- 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 +39 -49
- package/shared/definition30.js +16 -3
- package/shared/definition31.js +5 -6
- package/shared/definition33.js +1 -1
- package/shared/definition34.js +1 -1
- package/shared/definition35.js +1 -1
- package/shared/definition36.js +1 -1
- package/shared/definition37.js +2 -2
- package/shared/definition38.js +2 -2
- package/shared/definition39.js +1 -1
- package/shared/definition4.js +1 -1
- package/shared/definition40.js +1 -1
- package/shared/definition41.js +1 -1
- package/shared/definition42.js +1 -1
- package/shared/definition43.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/definition50.js +1 -1
- package/shared/definition51.js +5 -7
- package/shared/definition52.js +2 -2
- package/shared/definition53.js +1 -1
- package/shared/definition54.js +1 -1
- package/shared/definition6.js +1 -1
- package/shared/definition7.js +4 -3
- package/shared/definition8.js +1 -1
- package/shared/definition9.js +1 -1
- package/shared/es.object.assign.js +1 -1
- package/shared/es.regexp.to-string.js +1 -1
- package/shared/es.string.includes.js +1 -1
- package/shared/form-elements.js +1 -1
- package/shared/icon.js +17 -13
- package/shared/index.js +1 -1
- package/shared/patterns/form-elements/form-elements.d.ts +4 -4
- package/shared/string-trim.js +1 -1
- package/shared/text-field.js +1 -1
- package/shared/to-string.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 +0 -1
- package/tab/index.js +0 -1
- package/tabs/index.js +0 -1
- package/tag/index.js +0 -1
- package/text-anchor/index.js +0 -1
- package/text-area/index.js +0 -1
- package/text-field/index.js +0 -1
- package/toggletip/index.js +0 -1
- package/tooltip/index.js +0 -1
- package/tree-item/index.js +0 -1
- package/vivid.api.json +135 -928
- package/shared/engine-is-node.js +0 -8
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/accordion/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import '../shared/index.js';
|
|
|
3
3
|
import '../shared/definition2.js';
|
|
4
4
|
import '../shared/definition3.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
|
-
import '../shared/engine-is-node.js';
|
|
7
6
|
import '../shared/to-string.js';
|
|
8
7
|
import '../shared/string-trim.js';
|
|
9
8
|
import '../shared/_has.js';
|
package/accordion-item/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerAccordionItem } from '../shared/definition2.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/alert/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import '../shared/index.js';
|
|
|
3
3
|
import '../shared/definition7.js';
|
|
4
4
|
import '../shared/definition3.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
|
-
import '../shared/engine-is-node.js';
|
|
7
6
|
import '../shared/to-string.js';
|
|
8
7
|
import '../shared/string-trim.js';
|
|
9
8
|
import '../shared/_has.js';
|
package/avatar/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerAvatar } from '../shared/definition10.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/badge/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerBadge } from '../shared/definition11.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/banner/index.js
CHANGED
|
@@ -3,7 +3,6 @@ import '../shared/index.js';
|
|
|
3
3
|
import '../shared/definition7.js';
|
|
4
4
|
import '../shared/definition3.js';
|
|
5
5
|
import '../shared/icon.js';
|
|
6
|
-
import '../shared/engine-is-node.js';
|
|
7
6
|
import '../shared/to-string.js';
|
|
8
7
|
import '../shared/string-trim.js';
|
|
9
8
|
import '../shared/_has.js';
|
package/breadcrumb-item/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerBreadcrumbItem } from '../shared/definition14.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/button/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerButton } from '../shared/definition7.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/card/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerCard } from '../shared/definition17.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/checkbox/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerCheckbox } from '../shared/definition18.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/combobox/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerCombobox } from '../shared/definition19.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/custom-elements.json
CHANGED
|
@@ -3050,6 +3050,14 @@
|
|
|
3050
3050
|
},
|
|
3051
3051
|
"default": "null"
|
|
3052
3052
|
},
|
|
3053
|
+
{
|
|
3054
|
+
"kind": "field",
|
|
3055
|
+
"name": "ariaSort",
|
|
3056
|
+
"type": {
|
|
3057
|
+
"text": "string | null"
|
|
3058
|
+
},
|
|
3059
|
+
"default": "null"
|
|
3060
|
+
},
|
|
3053
3061
|
{
|
|
3054
3062
|
"kind": "method",
|
|
3055
3063
|
"name": "ariaSelectedChanged",
|
|
@@ -3105,6 +3113,14 @@
|
|
|
3105
3113
|
},
|
|
3106
3114
|
"default": "null",
|
|
3107
3115
|
"fieldName": "ariaSelected"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"name": "aria-sort",
|
|
3119
|
+
"type": {
|
|
3120
|
+
"text": "string | null"
|
|
3121
|
+
},
|
|
3122
|
+
"default": "null",
|
|
3123
|
+
"fieldName": "ariaSort"
|
|
3108
3124
|
}
|
|
3109
3125
|
],
|
|
3110
3126
|
"superclass": {
|
|
@@ -3223,6 +3239,16 @@
|
|
|
3223
3239
|
"kind": "javascript-module",
|
|
3224
3240
|
"path": "libs/components/src/lib/data-grid/data-grid.options.ts",
|
|
3225
3241
|
"declarations": [
|
|
3242
|
+
{
|
|
3243
|
+
"kind": "variable",
|
|
3244
|
+
"name": "DataGridCellSortStates",
|
|
3245
|
+
"type": {
|
|
3246
|
+
"text": "{\n\tnone: 'none',\n\tascending: 'ascending',\n\tdescending: 'descending',\n\tother: 'other'\n}"
|
|
3247
|
+
},
|
|
3248
|
+
"default": "{\n\tnone: 'none',\n\tascending: 'ascending',\n\tdescending: 'descending',\n\tother: 'other'\n}",
|
|
3249
|
+
"description": "Enumerates the data grid auto generated header options\ndefault option generates a non-sticky header row",
|
|
3250
|
+
"privacy": "public"
|
|
3251
|
+
},
|
|
3226
3252
|
{
|
|
3227
3253
|
"kind": "variable",
|
|
3228
3254
|
"name": "GenerateHeaderOptions",
|
|
@@ -3275,6 +3301,14 @@
|
|
|
3275
3301
|
}
|
|
3276
3302
|
],
|
|
3277
3303
|
"exports": [
|
|
3304
|
+
{
|
|
3305
|
+
"kind": "js",
|
|
3306
|
+
"name": "DataGridCellSortStates",
|
|
3307
|
+
"declaration": {
|
|
3308
|
+
"name": "DataGridCellSortStates",
|
|
3309
|
+
"module": "libs/components/src/lib/data-grid/data-grid.options.ts"
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3278
3312
|
{
|
|
3279
3313
|
"kind": "js",
|
|
3280
3314
|
"name": "GenerateHeaderOptions",
|
|
@@ -3482,7 +3516,7 @@
|
|
|
3482
3516
|
"type": {
|
|
3483
3517
|
"text": "array"
|
|
3484
3518
|
},
|
|
3485
|
-
"default": "[dataGridCell, dataGridRow, dataGrid]"
|
|
3519
|
+
"default": "[dataGridCell, dataGridRow, dataGrid, ...iconRegistries]"
|
|
3486
3520
|
},
|
|
3487
3521
|
{
|
|
3488
3522
|
"kind": "variable",
|
|
@@ -4332,6 +4366,299 @@
|
|
|
4332
4366
|
}
|
|
4333
4367
|
]
|
|
4334
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
|
+
},
|
|
4335
4662
|
{
|
|
4336
4663
|
"kind": "javascript-module",
|
|
4337
4664
|
"path": "libs/components/src/lib/focus/definition.ts",
|
|
@@ -5180,6 +5507,13 @@
|
|
|
5180
5507
|
{
|
|
5181
5508
|
"kind": "method",
|
|
5182
5509
|
"name": "autoDismissChanged"
|
|
5510
|
+
},
|
|
5511
|
+
{
|
|
5512
|
+
"kind": "field",
|
|
5513
|
+
"name": "actionItemsSlottedContent",
|
|
5514
|
+
"type": {
|
|
5515
|
+
"text": "HTMLElement[] | undefined"
|
|
5516
|
+
}
|
|
5183
5517
|
}
|
|
5184
5518
|
],
|
|
5185
5519
|
"attributes": [
|
package/data-grid/index.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { r as registerDataGrid } from '../shared/definition22.js';
|
|
2
2
|
import '../shared/index.js';
|
|
3
|
-
import '../shared/
|
|
3
|
+
import '../shared/definition3.js';
|
|
4
|
+
import '../shared/icon.js';
|
|
4
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/es.string.includes.js';
|
|
5
11
|
import '../shared/es.regexp.to-string.js';
|
|
6
|
-
import '../shared/engine-is-node.js';
|
|
7
12
|
import '../shared/key-codes.js';
|
|
8
13
|
import '../shared/repeat.js';
|
|
9
14
|
import '../shared/node-observation.js';
|
package/dialog/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerDialog } from '../shared/definition23.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/empty-state/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerEmptyState } from '../shared/definition25.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
package/fab/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { r as registerFab } from '../shared/definition26.js';
|
|
|
2
2
|
import '../shared/index.js';
|
|
3
3
|
import '../shared/definition3.js';
|
|
4
4
|
import '../shared/icon.js';
|
|
5
|
-
import '../shared/engine-is-node.js';
|
|
6
5
|
import '../shared/to-string.js';
|
|
7
6
|
import '../shared/string-trim.js';
|
|
8
7
|
import '../shared/_has.js';
|
|
@@ -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/icon/index.js
CHANGED
package/index.js
CHANGED
|
@@ -13,16 +13,14 @@ export { c as calendarEventDefinition, a as calendarEventRegistries, r as regist
|
|
|
13
13
|
export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/definition17.js';
|
|
14
14
|
export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/definition18.js';
|
|
15
15
|
export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/definition19.js';
|
|
16
|
-
export { a as elevationDefinition, e as elevationRegistries, r as registerElevation } from './shared/definition8.js';
|
|
17
16
|
export { e as emptyStateDefinition, a as emptyStateRegistries, r as registerEmptyState } from './shared/definition25.js';
|
|
18
17
|
export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/definition23.js';
|
|
19
18
|
export { a as dividerDefinition, d as dividerRegistries, r as registerDivider } from './shared/definition24.js';
|
|
20
19
|
export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition22.js';
|
|
21
20
|
export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition26.js';
|
|
22
|
-
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';
|
|
23
22
|
export { a as iconDefinition, i as iconRegistries, r as registerIcon } from './shared/definition3.js';
|
|
24
|
-
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/
|
|
25
|
-
export { l as listboxDefinition, a as listboxRegistries, r as registerListbox } from './shared/definition29.js';
|
|
23
|
+
export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition29.js';
|
|
26
24
|
export { a as listboxOptionDefinition, l as listboxOptionRegistries, r as registerOption } from './shared/definition21.js';
|
|
27
25
|
export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition30.js';
|
|
28
26
|
export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/definition31.js';
|
|
@@ -32,7 +30,6 @@ export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem }
|
|
|
32
30
|
export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition35.js';
|
|
33
31
|
export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition36.js';
|
|
34
32
|
export { p as paginationDefinition, a as paginationRegistries, r as registerPagination } from './shared/definition37.js';
|
|
35
|
-
export { a as popupDefinition, p as popupRegistries, r as registerPopup } from './shared/definition20.js';
|
|
36
33
|
export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition38.js';
|
|
37
34
|
export { a as progressRingDefinition, p as progressRingRegistries, r as registerProgressRing } from './shared/definition9.js';
|
|
38
35
|
export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/definition39.js';
|
|
@@ -52,6 +49,7 @@ export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries
|
|
|
52
49
|
export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition54.js';
|
|
53
50
|
export { r as registerTag, t as tagDefinition } from './shared/definition48.js';
|
|
54
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';
|
|
55
53
|
export { ae as designSystem, r as registerFactory } from './shared/index.js';
|
|
56
54
|
import './shared/key-codes.js';
|
|
57
55
|
import './shared/numbers.js';
|
|
@@ -62,7 +60,6 @@ import './shared/definition4.js';
|
|
|
62
60
|
import './shared/focus.js';
|
|
63
61
|
import './shared/affix.js';
|
|
64
62
|
import './shared/icon.js';
|
|
65
|
-
import './shared/engine-is-node.js';
|
|
66
63
|
import './shared/to-string.js';
|
|
67
64
|
import './shared/string-trim.js';
|
|
68
65
|
import './shared/_has.js';
|
|
@@ -71,6 +68,7 @@ import './shared/ref.js';
|
|
|
71
68
|
import './shared/apply-mixins.js';
|
|
72
69
|
import './shared/focus2.js';
|
|
73
70
|
import './shared/when.js';
|
|
71
|
+
import './shared/definition8.js';
|
|
74
72
|
import './shared/form-elements.js';
|
|
75
73
|
import './shared/button.js';
|
|
76
74
|
import './shared/form-associated.js';
|
|
@@ -81,6 +79,7 @@ import './shared/text-anchor.template.js';
|
|
|
81
79
|
import './shared/calendar-event.js';
|
|
82
80
|
import './shared/es.object.assign.js';
|
|
83
81
|
import './shared/repeat.js';
|
|
82
|
+
import './shared/definition20.js';
|
|
84
83
|
import './shared/text-field.js';
|
|
85
84
|
import './shared/listbox.js';
|
|
86
85
|
import './shared/strings.js';
|
package/layout/index.js
CHANGED