@vonage/vivid 3.4.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/README.md +22 -9
  2. package/banner/index.js +2 -0
  3. package/breadcrumb/index.js +1 -1
  4. package/breadcrumb-item/index.js +1 -1
  5. package/button/index.js +2 -0
  6. package/calendar/index.js +1 -1
  7. package/calendar-event/index.js +1 -1
  8. package/card/index.js +2 -2
  9. package/checkbox/index.js +1 -1
  10. package/combobox/index.js +6 -4
  11. package/custom-elements.json +124 -0
  12. package/data-grid/index.js +1 -1
  13. package/dialog/index.js +5 -2
  14. package/divider/index.js +1 -1
  15. package/elevation/index.js +1 -1
  16. package/fab/index.js +1 -1
  17. package/header/index.js +2 -2
  18. package/index.js +26 -26
  19. package/layout/index.js +1 -1
  20. package/lib/action-group/action-group.d.ts +2 -0
  21. package/lib/button/button.d.ts +1 -0
  22. package/lib/button/button.template.d.ts +1 -1
  23. package/lib/data-grid/data-grid.d.ts +8 -0
  24. package/lib/dialog/dialog.d.ts +2 -0
  25. package/lib/menu/menu.d.ts +1 -0
  26. package/lib/select/select.d.ts +2 -3
  27. package/listbox/index.js +2 -2
  28. package/menu/index.js +6 -4
  29. package/menu-item/index.js +1 -1
  30. package/nav/index.js +1 -1
  31. package/nav-disclosure/index.js +1 -1
  32. package/nav-item/index.js +1 -1
  33. package/note/index.js +1 -1
  34. package/number-field/index.js +4 -2
  35. package/option/index.js +1 -1
  36. package/package.json +1 -1
  37. package/popup/index.js +4 -2
  38. package/progress/index.js +1 -1
  39. package/progress-ring/index.js +1 -1
  40. package/select/index.js +5 -3
  41. package/shared/definition.js +1 -1
  42. package/shared/definition10.js +69 -91
  43. package/shared/definition11.js +91 -40
  44. package/shared/definition12.js +31 -755
  45. package/shared/definition13.js +754 -93
  46. package/shared/definition14.js +100 -103
  47. package/shared/definition15.js +106 -24
  48. package/shared/definition16.js +24 -164
  49. package/shared/definition17.js +108 -663
  50. package/shared/definition18.js +667 -1533
  51. package/shared/definition19.js +1545 -223
  52. package/shared/definition2.js +1 -1
  53. package/shared/definition20.js +183 -961
  54. package/shared/definition21.js +1038 -203
  55. package/shared/definition22.js +226 -67
  56. package/shared/definition23.js +68 -77
  57. package/shared/definition24.js +76 -47
  58. package/shared/definition25.js +46 -32
  59. package/shared/definition26.js +35 -49
  60. package/shared/definition27.js +48 -338
  61. package/shared/definition28.js +273 -282
  62. package/shared/definition29.js +356 -14
  63. package/shared/definition30.js +13 -67
  64. package/shared/definition31.js +65 -21
  65. package/shared/definition32.js +21 -39
  66. package/shared/definition33.js +31 -432
  67. package/shared/definition34.js +432 -76
  68. package/shared/definition35.js +76 -59
  69. package/shared/definition36.js +1 -1
  70. package/shared/definition37.js +1 -1
  71. package/shared/definition38.js +7 -6
  72. package/shared/definition39.js +1 -1
  73. package/shared/definition4.js +1 -1
  74. package/shared/definition41.js +1 -1
  75. package/shared/definition42.js +1 -1
  76. package/shared/definition44.js +1 -1
  77. package/shared/definition45.js +1 -1
  78. package/shared/definition47.js +2 -2
  79. package/shared/definition48.js +1 -1
  80. package/shared/definition5.js +10 -3
  81. package/shared/definition6.js +1 -1
  82. package/shared/definition7.js +1 -1
  83. package/shared/definition8.js +1 -1
  84. package/shared/definition9.js +14 -4
  85. package/shared/form-elements.js +1 -1
  86. package/shared/icon.js +1 -1
  87. package/shared/listbox.js +1 -1
  88. package/shared/patterns/form-elements/form-elements.d.ts +2 -2
  89. package/shared/text-field.js +1 -1
  90. package/styles/core/all.css +1 -1
  91. package/styles/core/theme.css +1 -1
  92. package/styles/core/typography.css +1 -1
  93. package/styles/tokens/theme-dark.css +4 -4
  94. package/styles/tokens/theme-light.css +4 -4
  95. package/tooltip/index.js +4 -2
package/README.md CHANGED
@@ -5,6 +5,7 @@ Essential UI **web components** for building modern web applications, bound to p
5
5
 
6
6
  ![image](https://user-images.githubusercontent.com/10883919/189522882-968358df-ee7c-4256-b61b-550cf369a087.png)
7
7
 
8
+ ---
8
9
  ## Installation
9
10
 
10
11
  To integrate Vivid components into your project, run:
@@ -29,6 +30,7 @@ And include in HTML:
29
30
 
30
31
  For a full list of components and API, explore the [components docs](https://vivid.deno.dev) 📚.
31
32
 
33
+ ---
32
34
  ## Prerequisite
33
35
 
34
36
  ### Tokens
@@ -65,20 +67,19 @@ You can also add it to any wrapping element if you would like to scope the style
65
67
 
66
68
  ### Fonts (Prerequisite)
67
69
 
68
- Vivid uses `Montserrat` and `Roboto Mono` Google fonts.
69
- Learn how to load fonts into your application [with google-fonts](https://fonts.google.com/knowledge/using_type/using_web_fonts_from_a_font_delivery_service#loading-web-fonts)
70
+ Vivid uses **Montserrat** and **Roboto Mono** Google fonts.
71
+ Learn how to load fonts into your application with [google-fonts](https://fonts.google.com/knowledge/using_type/using_web_fonts_from_a_font_delivery_service#loading-web-fonts)
70
72
 
71
- #### Vonage authors
73
+ Unless explicitly stated otherwise, **Vonage** products should use the brand specified font families by **Spezia**. Vonage teams may review guidelines at the [Spezia webfont kit](https://github.com/Vonage/spezia-webfont-kit).
72
74
 
73
- Unless explicitly stated otherwise, *Vonage* products should use the brand specified font families by `Spezia`.
74
- Vonage teams may review guidelines at the [Spezia webfont kit](https://github.com/Vonage/spezia-webfont-kit).
75
-
76
- 💡 For more information check out [Vonage Authors](/getting-started/vonage-authors)
75
+ 💡 For more information check out [vonage fonts](/getting-started/fonts-and-tokens)
77
76
 
77
+ ---
78
78
  ## Advanced Usage
79
79
 
80
- For further information on **core application styles** & **scoped elements** check out [advanced usage](/getting-started/advanced)
80
+ 💡 For more information on **core application styles** & **scoped elements** check out [advanced usage](/getting-started/advanced)
81
81
 
82
+ ---
82
83
  ## CDN - Quickstart
83
84
 
84
85
  Global content delivery networks can help quickly integrate content within html pages, fetching content from an URL, skipping local builds entirely.
@@ -104,16 +105,19 @@ The following snippet fully renders a Vivid button component
104
105
  </div>
105
106
  ```
106
107
 
108
+ ---
107
109
  ## Support Matrix
108
110
 
109
111
  This library is supported on 2 recent versions of major browsers (Chrome, Firefox, Safari, Edge).
110
112
 
113
+ ---
111
114
  ## Support
112
115
 
113
116
  This library is open source, developed and maintained by the [Vonage Vivid teams](https://github.com/orgs/Vonage/teams/vivid/teams).
114
117
 
115
118
  For any questions, please open a [bug report](https://github.com/Vonage/vivid-3/issues/new?assignees=yonatankra%2C+rachelbt%2C+rinaok%2C+yinonov&labels=bug&template=bug_report.yml&title=%5BYOUR+TITLE%5D%3A+Brief+description) or [feature request](https://github.com/Vonage/vivid-3/issues/new?assignees=yonatankra%2C+rachelbt%2C+rinaok%2C+yinonov&labels=Feature+request&template=feature_request.yml&title=%5BYOUR+TITLE%5D%3A+Brief+description).
116
119
 
120
+ ---
117
121
  ## Roadmap
118
122
 
119
123
  - View [components status](https://github.com/orgs/Vonage/projects/6)
@@ -121,19 +125,22 @@ For any questions, please open a [bug report](https://github.com/Vonage/vivid-3/
121
125
  - [What's on our plate](https://github.com/orgs/Vonage/projects/3/views/7)
122
126
 
123
127
  - See the [open issues](https://github.com/vonage/vivid-3/issues) for a full list of proposed features (and known issues).
124
-
128
+ ---
125
129
  ## Contributing
126
130
 
127
131
  Please read [CONTRIBUTING.md](https://github.com/Vonage/vivid-3/blob/main/.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
128
132
 
133
+ ---
129
134
  ## Versioning
130
135
 
131
136
  We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [npm page](https://www.npmjs.com/package/@vonage/vivid).
132
137
 
138
+ ---
133
139
  ## Authors
134
140
 
135
141
  See also the list of [contributors](https://github.com/Vonage/vivid-3/graphs/contributors) who participated in this project.
136
142
 
143
+ ---
137
144
  ## License
138
145
 
139
146
  This project is licensed under the Apache 2.0 License - see the [LICENSE.md](https://github.com/Vonage/vivid-3/blob/main/LICENSE.md) file for details
@@ -144,8 +151,14 @@ This project is licensed under the Apache 2.0 License - see the [LICENSE.md](htt
144
151
  - Inspiration
145
152
  - etc -->
146
153
 
154
+ ---
147
155
  ## Built With ♡ And
148
156
 
149
157
  - [Fast](https://www.fast.design) - to extend element classes and compile code to native web components
150
158
  - [Typescript](https://www.typescriptlang.org) - for ergonomic and type-safe code
151
159
  - [Sass](https://sass-lang.com) - for styles authoring extensibility and consistency
160
+
161
+ ---
162
+ ## Have questions?
163
+
164
+ Still looking for answers, ask us in [#ask-vivid](https://vonage.slack.com/archives/C013F0YKH99) slack channel.
package/banner/index.js CHANGED
@@ -10,6 +10,8 @@ import '../shared/class-names.js';
10
10
  import '../shared/when.js';
11
11
  import '../shared/definition4.js';
12
12
  import '../shared/focus.js';
13
+ import '../shared/definition10.js';
14
+ import '../shared/base-progress.js';
13
15
  import '../shared/affix.js';
14
16
  import '../shared/button.js';
15
17
  import '../shared/apply-mixins.js';
@@ -1,4 +1,4 @@
1
- import { r as registerBreadcrumb } from '../shared/definition10.js';
1
+ import { r as registerBreadcrumb } from '../shared/definition11.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/slotted.js';
4
4
  import '../shared/breadcrumb-item.js';
@@ -1,4 +1,4 @@
1
- import { r as registerBreadcrumbItem } from '../shared/definition11.js';
1
+ import { r as registerBreadcrumbItem } from '../shared/definition12.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
package/button/index.js CHANGED
@@ -9,6 +9,8 @@ import '../shared/class-names.js';
9
9
  import '../shared/when.js';
10
10
  import '../shared/definition4.js';
11
11
  import '../shared/focus.js';
12
+ import '../shared/definition10.js';
13
+ import '../shared/base-progress.js';
12
14
  import '../shared/affix.js';
13
15
  import '../shared/button.js';
14
16
  import '../shared/apply-mixins.js';
package/calendar/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerCalendar } from '../shared/definition12.js';
1
+ import { r as registerCalendar } from '../shared/definition13.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/calendar-event.js';
4
4
  import '../shared/es.object.assign.js';
@@ -1,4 +1,4 @@
1
- import { r as registerCalendarEvent } from '../shared/definition13.js';
1
+ import { r as registerCalendarEvent } from '../shared/definition14.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/calendar-event.js';
4
4
  import '../shared/es.object.assign.js';
package/card/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerCard } from '../shared/definition14.js';
1
+ import { r as registerCard } from '../shared/definition15.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
@@ -7,7 +7,7 @@ import '../shared/string-trim.js';
7
7
  import '../shared/_has.js';
8
8
  import '../shared/class-names.js';
9
9
  import '../shared/when.js';
10
- import '../shared/definition15.js';
10
+ import '../shared/definition16.js';
11
11
  import '../shared/slotted.js';
12
12
 
13
13
  registerCard();
package/checkbox/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerCheckbox } from '../shared/definition16.js';
1
+ import { r as registerCheckbox } from '../shared/definition17.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
package/combobox/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerCombobox } from '../shared/definition17.js';
1
+ import { r as registerCombobox } from '../shared/definition18.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
@@ -7,10 +7,12 @@ import '../shared/string-trim.js';
7
7
  import '../shared/_has.js';
8
8
  import '../shared/class-names.js';
9
9
  import '../shared/when.js';
10
- import '../shared/definition18.js';
10
+ import '../shared/definition19.js';
11
11
  import '../shared/definition9.js';
12
12
  import '../shared/definition4.js';
13
13
  import '../shared/focus.js';
14
+ import '../shared/definition10.js';
15
+ import '../shared/base-progress.js';
14
16
  import '../shared/affix.js';
15
17
  import '../shared/button.js';
16
18
  import '../shared/apply-mixins.js';
@@ -20,9 +22,9 @@ import '../shared/aria-global.js';
20
22
  import '../shared/start-end.js';
21
23
  import '../shared/ref.js';
22
24
  import '../shared/focus2.js';
23
- import '../shared/definition15.js';
25
+ import '../shared/definition16.js';
24
26
  import '../shared/es.object.assign.js';
25
- import '../shared/definition19.js';
27
+ import '../shared/definition20.js';
26
28
  import '../shared/dom.js';
27
29
  import '../shared/form-elements.js';
28
30
  import '../shared/text-field.js';
@@ -225,6 +225,21 @@
225
225
  "default": "false",
226
226
  "description": "Indicates whether action group should have padding.",
227
227
  "privacy": "public"
228
+ },
229
+ {
230
+ "kind": "field",
231
+ "name": "role",
232
+ "type": {
233
+ "text": "string | undefined"
234
+ }
235
+ },
236
+ {
237
+ "kind": "field",
238
+ "name": "ariaLabel",
239
+ "type": {
240
+ "text": "string | null"
241
+ },
242
+ "default": "null"
228
243
  }
229
244
  ],
230
245
  "attributes": [
@@ -251,6 +266,21 @@
251
266
  "default": "false",
252
267
  "description": "Indicates whether action group should have padding.",
253
268
  "fieldName": "tight"
269
+ },
270
+ {
271
+ "name": "role",
272
+ "type": {
273
+ "text": "string | undefined"
274
+ },
275
+ "fieldName": "role"
276
+ },
277
+ {
278
+ "name": "aria-label",
279
+ "type": {
280
+ "text": "string | null"
281
+ },
282
+ "default": "null",
283
+ "fieldName": "ariaLabel"
254
284
  }
255
285
  ],
256
286
  "superclass": {
@@ -1028,6 +1058,16 @@
1028
1058
  "description": "Indicates the icon is stacked.",
1029
1059
  "privacy": "public"
1030
1060
  },
1061
+ {
1062
+ "kind": "field",
1063
+ "name": "pending",
1064
+ "type": {
1065
+ "text": "boolean"
1066
+ },
1067
+ "default": "false",
1068
+ "description": "Displays the button in pending state.",
1069
+ "privacy": "public"
1070
+ },
1031
1071
  {
1032
1072
  "kind": "field",
1033
1073
  "name": "label",
@@ -1080,6 +1120,15 @@
1080
1120
  "description": "Indicates the icon is stacked.",
1081
1121
  "fieldName": "stacked"
1082
1122
  },
1123
+ {
1124
+ "name": "pending",
1125
+ "type": {
1126
+ "text": "boolean"
1127
+ },
1128
+ "default": "false",
1129
+ "description": "Displays the button in pending state.",
1130
+ "fieldName": "pending"
1131
+ },
1083
1132
  {
1084
1133
  "name": "label",
1085
1134
  "type": {
@@ -2099,10 +2148,36 @@
2099
2148
  "kind": "javascript-module",
2100
2149
  "path": "libs/components/src/lib/data-grid/data-grid.ts",
2101
2150
  "declarations": [
2151
+ {
2152
+ "kind": "variable",
2153
+ "name": "DataGridSelectionMode",
2154
+ "type": {
2155
+ "text": "{\n\tnone: 'none',\n\tsingleRow: 'single-row',\n\tmultiRow: 'multi-row',\n}"
2156
+ },
2157
+ "default": "{\n\tnone: 'none',\n\tsingleRow: 'single-row',\n\tmultiRow: 'multi-row',\n}"
2158
+ },
2102
2159
  {
2103
2160
  "kind": "class",
2104
2161
  "description": "Base class for data-grid",
2105
2162
  "name": "DataGrid",
2163
+ "members": [
2164
+ {
2165
+ "kind": "field",
2166
+ "name": "selectionMode",
2167
+ "type": {
2168
+ "text": "DataGridSelectionMode | undefined"
2169
+ }
2170
+ }
2171
+ ],
2172
+ "attributes": [
2173
+ {
2174
+ "name": "selection-mode",
2175
+ "type": {
2176
+ "text": "DataGridSelectionMode | undefined"
2177
+ },
2178
+ "fieldName": "selectionMode"
2179
+ }
2180
+ ],
2106
2181
  "superclass": {
2107
2182
  "name": "FoundationElement",
2108
2183
  "package": "@microsoft/fast-foundation"
@@ -2110,6 +2185,14 @@
2110
2185
  }
2111
2186
  ],
2112
2187
  "exports": [
2188
+ {
2189
+ "kind": "js",
2190
+ "name": "DataGridSelectionMode",
2191
+ "declaration": {
2192
+ "name": "DataGridSelectionMode",
2193
+ "module": "libs/components/src/lib/data-grid/data-grid.ts"
2194
+ }
2195
+ },
2113
2196
  {
2114
2197
  "kind": "js",
2115
2198
  "name": "DataGrid",
@@ -2281,6 +2364,14 @@
2281
2364
  "text": "string | undefined"
2282
2365
  }
2283
2366
  },
2367
+ {
2368
+ "kind": "field",
2369
+ "name": "fullWidthBody",
2370
+ "type": {
2371
+ "text": "boolean"
2372
+ },
2373
+ "default": "false"
2374
+ },
2284
2375
  {
2285
2376
  "kind": "field",
2286
2377
  "name": "ariaLabelledBy",
@@ -2391,6 +2482,13 @@
2391
2482
  {
2392
2483
  "kind": "method",
2393
2484
  "name": "showModal"
2485
+ },
2486
+ {
2487
+ "kind": "field",
2488
+ "name": "footerSlottedContent",
2489
+ "type": {
2490
+ "text": "HTMLElement[] | undefined"
2491
+ }
2394
2492
  }
2395
2493
  ],
2396
2494
  "attributes": [
@@ -2430,6 +2528,14 @@
2430
2528
  },
2431
2529
  "fieldName": "headline"
2432
2530
  },
2531
+ {
2532
+ "name": "full-width-body",
2533
+ "type": {
2534
+ "text": "boolean"
2535
+ },
2536
+ "default": "false",
2537
+ "fieldName": "fullWidthBody"
2538
+ },
2433
2539
  {
2434
2540
  "name": "aria-labelledby",
2435
2541
  "type": {
@@ -3429,6 +3535,24 @@
3429
3535
  "description": "ID reference to element in the menu's owner document.",
3430
3536
  "privacy": "public"
3431
3537
  },
3538
+ {
3539
+ "kind": "method",
3540
+ "name": "anchorChanged",
3541
+ "parameters": [
3542
+ {
3543
+ "name": "prevAnchor",
3544
+ "type": {
3545
+ "text": "string"
3546
+ }
3547
+ },
3548
+ {
3549
+ "name": "newAnchor",
3550
+ "type": {
3551
+ "text": "string"
3552
+ }
3553
+ }
3554
+ ]
3555
+ },
3432
3556
  {
3433
3557
  "kind": "field",
3434
3558
  "name": "popupOpenChanged"
@@ -1,4 +1,4 @@
1
- import { r as registerDataGrid } from '../shared/definition20.js';
1
+ import { r as registerDataGrid } from '../shared/definition21.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/key-codes.js';
4
4
  import '../shared/repeat.js';
package/dialog/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerDialog } from '../shared/definition21.js';
1
+ import { r as registerDialog } from '../shared/definition22.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
@@ -10,6 +10,8 @@ import '../shared/when.js';
10
10
  import '../shared/definition9.js';
11
11
  import '../shared/definition4.js';
12
12
  import '../shared/focus.js';
13
+ import '../shared/definition10.js';
14
+ import '../shared/base-progress.js';
13
15
  import '../shared/affix.js';
14
16
  import '../shared/button.js';
15
17
  import '../shared/apply-mixins.js';
@@ -19,6 +21,7 @@ import '../shared/aria-global.js';
19
21
  import '../shared/start-end.js';
20
22
  import '../shared/ref.js';
21
23
  import '../shared/focus2.js';
22
- import '../shared/definition15.js';
24
+ import '../shared/definition16.js';
25
+ import '../shared/slotted.js';
23
26
 
24
27
  registerDialog();
package/divider/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerDivider } from '../shared/definition22.js';
1
+ import { r as registerDivider } from '../shared/definition23.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/aria.js';
4
4
  import '../shared/class-names.js';
@@ -1,4 +1,4 @@
1
- import { r as registerElevation } from '../shared/definition15.js';
1
+ import { r as registerElevation } from '../shared/definition16.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/class-names.js';
4
4
 
package/fab/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerFab } from '../shared/definition23.js';
1
+ import { r as registerFab } from '../shared/definition24.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition3.js';
4
4
  import '../shared/icon.js';
package/header/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { r as registerHeader } from '../shared/definition24.js';
1
+ import { r as registerHeader } from '../shared/definition25.js';
2
2
  import '../shared/index.js';
3
- import '../shared/definition15.js';
3
+ import '../shared/definition16.js';
4
4
  import '../shared/class-names.js';
5
5
 
6
6
  registerHeader();
package/index.js CHANGED
@@ -4,34 +4,34 @@ export { a as actionGroupDefinition, b as actionGroupRegistries, r as registerAc
4
4
  export { a as avatarDefinition, b as avatarRegistries, r as registerAvatar } from './shared/definition6.js';
5
5
  export { b as badgeDefinition, r as registerBadge } from './shared/definition7.js';
6
6
  export { b as bannerDefinition, a as bannerRegistries, r as registerBanner } from './shared/definition8.js';
7
- export { b as breadcrumbDefinition, a as breadcrumbRegistries, r as registerBreadcrumb } from './shared/definition10.js';
8
- export { b as breadcrumbItemDefinition, a as breadcrumbItemRegistries, r as registerBreadcrumbItem } from './shared/definition11.js';
7
+ export { b as breadcrumbDefinition, a as breadcrumbRegistries, r as registerBreadcrumb } from './shared/definition11.js';
8
+ export { b as breadcrumbItemDefinition, a as breadcrumbItemRegistries, r as registerBreadcrumbItem } from './shared/definition12.js';
9
9
  export { a as buttonDefinition, b as buttonRegistries, r as registerButton } from './shared/definition9.js';
10
- export { c as calendarDefinition, a as calendarRegistries, r as registerCalendar } from './shared/definition12.js';
11
- export { c as calendarEventDefinition, a as calendarEventRegistries, r as registerCalendarEvent } from './shared/definition13.js';
12
- export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/definition14.js';
13
- export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/definition16.js';
14
- export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/definition17.js';
15
- export { a as elevationDefinition, e as elevationRegistries, r as registerElevation } from './shared/definition15.js';
16
- export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/definition21.js';
17
- export { a as dividerDefinition, d as dividerRegistries, r as registerDivider } from './shared/definition22.js';
18
- export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition20.js';
19
- export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition23.js';
20
- export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/definition24.js';
10
+ export { c as calendarDefinition, a as calendarRegistries, r as registerCalendar } from './shared/definition13.js';
11
+ export { c as calendarEventDefinition, a as calendarEventRegistries, r as registerCalendarEvent } from './shared/definition14.js';
12
+ export { c as cardDefinition, a as cardRegistries, r as registerCard } from './shared/definition15.js';
13
+ export { c as checkboxDefinition, a as checkboxRegistries, r as registerCheckbox } from './shared/definition17.js';
14
+ export { c as combobox, a as comboboxRegistries, r as registerCombobox } from './shared/definition18.js';
15
+ export { a as elevationDefinition, e as elevationRegistries, r as registerElevation } from './shared/definition16.js';
16
+ export { d as dialogDefinition, a as dialogRegistries, r as registerDialog } from './shared/definition22.js';
17
+ export { a as dividerDefinition, d as dividerRegistries, r as registerDivider } from './shared/definition23.js';
18
+ export { d as dataGrid, b as dataGridCell, c as dataGridElements, a as dataGridRow, r as registerDataGrid } from './shared/definition21.js';
19
+ export { f as fabDefinition, a as fabRegistries, r as registerFab } from './shared/definition24.js';
20
+ export { h as headerDefinition, a as headerRegistries, r as registerHeader } from './shared/definition25.js';
21
21
  export { a as iconDefinition, i as iconRegistries, r as registerIcon } from './shared/definition3.js';
22
- export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition25.js';
23
- export { l as listboxDefinition, a as listboxRegistries, r as registerListbox } from './shared/definition26.js';
24
- export { a as listboxOptionDefinition, l as listboxOptionRegistries, r as registerOption } from './shared/definition19.js';
25
- export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition27.js';
26
- export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/definition28.js';
27
- export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/definition29.js';
28
- export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/definition30.js';
29
- export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/definition31.js';
30
- export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition32.js';
31
- export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition33.js';
32
- export { a as popupDefinition, p as popupRegistries, r as registerPopup } from './shared/definition18.js';
33
- export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition34.js';
34
- export { p as progressRingDefinition, a as progressRingRegistries, r as registerProgressRing } from './shared/definition35.js';
22
+ export { l as layoutDefinition, a as layoutRegistries, r as registerLayout } from './shared/definition26.js';
23
+ export { l as listboxDefinition, a as listboxRegistries, r as registerListbox } from './shared/definition27.js';
24
+ export { a as listboxOptionDefinition, l as listboxOptionRegistries, r as registerOption } from './shared/definition20.js';
25
+ export { m as menuDefinition, a as menuRegistries, r as registerMenu } from './shared/definition28.js';
26
+ export { c as menuItemDefinition, m as menuItemRegistries, b as registerMenuItem } from './shared/definition29.js';
27
+ export { n as navDefinition, a as navRegistries, r as registerNav } from './shared/definition30.js';
28
+ export { n as navDisclosureDefinition, a as navDisclosureRegistries, r as registerNavDisclosure } from './shared/definition31.js';
29
+ export { n as navItemDefinition, a as navItemRegistries, r as registerNavItem } from './shared/definition32.js';
30
+ export { n as noteDefinition, a as noteRegistries, r as registerNote } from './shared/definition33.js';
31
+ export { n as numberFieldDefinition, a as numberFieldRegistries, r as registerNumberField } from './shared/definition34.js';
32
+ export { a as popupDefinition, p as popupRegistries, r as registerPopup } from './shared/definition19.js';
33
+ export { p as progressDefinition, a as progressRegistries, r as registerProgress } from './shared/definition35.js';
34
+ export { a as progressRingDefinition, p as progressRingRegistries, r as registerProgressRing } from './shared/definition10.js';
35
35
  export { a as radioDefinition, b as radioRegistries, r as registerRadio } from './shared/definition36.js';
36
36
  export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadioGroup } from './shared/definition37.js';
37
37
  export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition38.js';
package/layout/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { r as registerLayout } from '../shared/definition25.js';
1
+ import { r as registerLayout } from '../shared/definition26.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/class-names.js';
4
4
 
@@ -6,4 +6,6 @@ export declare class ActionGroup extends FoundationElement {
6
6
  shape?: ActionGroupShape;
7
7
  appearance?: ActionGroupAppearance;
8
8
  tight: boolean;
9
+ role: string | undefined;
10
+ ariaLabel: string | null;
9
11
  }
@@ -11,6 +11,7 @@ export declare class Button extends FoundationButton {
11
11
  appearance?: ButtonAppearance;
12
12
  size?: ButtonSize;
13
13
  stacked: boolean;
14
+ pending: boolean;
14
15
  label?: string;
15
16
  }
16
17
  export interface Button extends AffixIconWithTrailing {
@@ -1,4 +1,4 @@
1
- import type { ViewTemplate } from '@microsoft/fast-element';
1
+ import { ViewTemplate } from '@microsoft/fast-element';
2
2
  import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
3
3
  import type { Button } from './button';
4
4
  export declare const buttonTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<Button>;
@@ -1,3 +1,11 @@
1
1
  import { DataGrid as FoundationElement } from '@microsoft/fast-foundation';
2
+ export declare const DataGridSelectionMode: {
3
+ readonly none: "none";
4
+ readonly singleRow: "single-row";
5
+ readonly multiRow: "multi-row";
6
+ };
7
+ export declare type ValueOf<T> = T[keyof T];
8
+ export declare type DataGridSelectionMode = ValueOf<typeof DataGridSelectionMode>;
2
9
  export declare class DataGrid extends FoundationElement {
10
+ selectionMode?: DataGridSelectionMode;
3
11
  }
@@ -7,6 +7,7 @@ export declare class Dialog extends FoundationElement {
7
7
  iconPlacement?: IconPlacement;
8
8
  subtitle?: string;
9
9
  headline?: string;
10
+ fullWidthBody: boolean;
10
11
  ariaLabelledBy: string | null;
11
12
  ariaLabel: string | null;
12
13
  ariaDescribedBy: string | null;
@@ -19,4 +20,5 @@ export declare class Dialog extends FoundationElement {
19
20
  showModal(): void;
20
21
  connectedCallback(): void;
21
22
  disconnectedCallback(): void;
23
+ footerSlottedContent?: HTMLElement[];
22
24
  }
@@ -6,5 +6,6 @@ export declare class Menu extends FastMenu {
6
6
  open?: boolean | undefined;
7
7
  placement?: Placement;
8
8
  anchor?: string;
9
+ anchorChanged(prevAnchor: string, newAnchor: string): void;
9
10
  popupOpenChanged: () => void;
10
11
  }
@@ -1,7 +1,6 @@
1
1
  import { Select as FoundationSelect } from '@microsoft/fast-foundation';
2
2
  import type { Popup } from '../popup/popup';
3
- import { FormElement } from '../../shared/patterns';
4
- import { AffixIcon } from '../../shared/patterns';
3
+ import { AffixIconWithTrailing, FormElement } from '../../shared/patterns';
5
4
  import type { Appearance, Shape } from '../enums';
6
5
  export declare type SelectAppearance = Extract<Appearance, Appearance.Outlined | Appearance.Ghost>;
7
6
  export declare type SelectShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
@@ -13,5 +12,5 @@ export declare class Select extends FoundationSelect {
13
12
  connectedCallback(): void;
14
13
  get displayValue(): string;
15
14
  }
16
- export interface Select extends AffixIcon, FormElement {
15
+ export interface Select extends AffixIconWithTrailing, FormElement {
17
16
  }
package/listbox/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { r as registerListbox } from '../shared/definition26.js';
1
+ import { r as registerListbox } from '../shared/definition27.js';
2
2
  import '../shared/index.js';
3
3
  import '../shared/definition4.js';
4
4
  import '../shared/focus.js';
5
- import '../shared/definition19.js';
5
+ import '../shared/definition20.js';
6
6
  import '../shared/definition3.js';
7
7
  import '../shared/icon.js';
8
8
  import '../shared/to-string.js';