@vonage/vivid 4.14.2 → 4.14.3

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 (78) hide show
  1. package/custom-elements.json +371 -27
  2. package/index.cjs +1 -0
  3. package/index.js +1 -1
  4. package/lib/accordion/definition.d.ts +5 -1
  5. package/lib/combobox/combobox.d.ts +5 -1
  6. package/lib/file-picker/file-picker.d.ts +1 -0
  7. package/lib/menu-item/definition.d.ts +1 -1
  8. package/lib/menu-item/menu-item-role.d.ts +7 -0
  9. package/lib/menu-item/menu-item.d.ts +1 -7
  10. package/lib/number-field/number-field.d.ts +1 -1
  11. package/lib/radio/radio.d.ts +2 -2
  12. package/lib/searchable-select/option-tag.d.ts +2 -2
  13. package/lib/select/select.form-associated.d.ts +1 -1
  14. package/lib/switch/switch.d.ts +1 -0
  15. package/lib/tabs/tabs.d.ts +5 -1
  16. package/lib/text-anchor/text-anchor.d.ts +1 -1
  17. package/lib/tree-item/tree-item.d.ts +1 -1
  18. package/lib/tree-view/tree-view.d.ts +1 -1
  19. package/package.json +1 -1
  20. package/shared/applyMixinsWithObservables.cjs +1 -1
  21. package/shared/applyMixinsWithObservables.js +1 -1
  22. package/shared/definition11.cjs +1 -1
  23. package/shared/definition11.js +1 -1
  24. package/shared/definition16.cjs +63 -30
  25. package/shared/definition16.js +61 -28
  26. package/shared/definition2.cjs +9 -4
  27. package/shared/definition2.js +9 -5
  28. package/shared/definition25.cjs +25 -18
  29. package/shared/definition25.js +26 -19
  30. package/shared/definition29.cjs +12 -30
  31. package/shared/definition29.js +12 -30
  32. package/shared/definition33.cjs +1 -1
  33. package/shared/definition33.js +1 -1
  34. package/shared/definition34.cjs +4 -294
  35. package/shared/definition34.js +4 -294
  36. package/shared/definition41.cjs +1 -1
  37. package/shared/definition41.js +1 -1
  38. package/shared/definition42.cjs +1 -2
  39. package/shared/definition42.js +1 -2
  40. package/shared/definition43.cjs +1 -2
  41. package/shared/definition43.js +1 -2
  42. package/shared/definition46.cjs +2 -2
  43. package/shared/definition46.js +3 -3
  44. package/shared/definition48.cjs +22 -15
  45. package/shared/definition48.js +22 -15
  46. package/shared/definition5.cjs +3 -2
  47. package/shared/definition5.js +3 -2
  48. package/shared/definition51.cjs +11 -402
  49. package/shared/definition51.js +17 -408
  50. package/shared/definition54.js +1 -1
  51. package/shared/definition56.js +1 -1
  52. package/shared/direction.cjs +2 -16
  53. package/shared/direction.js +3 -17
  54. package/shared/foundation/utilities/direction.d.ts +2 -0
  55. package/shared/listbox.cjs +22 -3
  56. package/shared/listbox.js +21 -2
  57. package/shared/text-anchor.cjs +1 -1
  58. package/shared/text-anchor.js +1 -1
  59. package/shared/text-field2.js +1 -1
  60. package/shared/vivid-element.cjs +0 -2
  61. package/shared/vivid-element.js +1 -1
  62. package/styles/core/all.css +1 -1
  63. package/styles/core/theme.css +1 -1
  64. package/styles/core/typography.css +1 -1
  65. package/styles/tokens/theme-dark.css +4 -4
  66. package/styles/tokens/theme-light.css +4 -4
  67. package/styles/tokens/vivid-2-compat.css +1 -1
  68. package/vivid.api.json +70 -3
  69. package/shared/apply-mixins2.cjs +0 -25
  70. package/shared/apply-mixins2.js +0 -23
  71. package/shared/form-associated2.cjs +0 -383
  72. package/shared/form-associated2.js +0 -381
  73. package/shared/foundation-element.cjs +0 -1417
  74. package/shared/foundation-element.js +0 -1414
  75. package/shared/key-codes2.cjs +0 -96
  76. package/shared/key-codes2.js +0 -88
  77. package/shared/start-end.cjs +0 -52
  78. package/shared/start-end.js +0 -50
@@ -227,6 +227,14 @@
227
227
  "kind": "javascript-module",
228
228
  "path": "libs/components/src/lib/accordion/definition.ts",
229
229
  "declarations": [
230
+ {
231
+ "kind": "variable",
232
+ "name": "AccordionExpandMode",
233
+ "type": {
234
+ "text": "{\n\tsingle: 'single',\n\tmulti: 'multi',\n}"
235
+ },
236
+ "default": "{\n\tsingle: 'single',\n\tmulti: 'multi',\n}"
237
+ },
230
238
  {
231
239
  "kind": "variable",
232
240
  "name": "registerAccordion",
@@ -245,7 +253,7 @@
245
253
  "name": "AccordionExpandMode",
246
254
  "declaration": {
247
255
  "name": "AccordionExpandMode",
248
- "package": "@microsoft/fast-foundation"
256
+ "module": "libs/components/src/lib/accordion/definition.ts"
249
257
  }
250
258
  },
251
259
  {
@@ -4653,6 +4661,24 @@
4653
4661
  "description": "The appearance attribute.",
4654
4662
  "privacy": "public"
4655
4663
  },
4664
+ {
4665
+ "kind": "field",
4666
+ "name": "shape",
4667
+ "type": {
4668
+ "text": "ComboboxShape | undefined"
4669
+ },
4670
+ "description": "The shape attribute.",
4671
+ "privacy": "public"
4672
+ },
4673
+ {
4674
+ "kind": "field",
4675
+ "name": "scale",
4676
+ "type": {
4677
+ "text": "ComboboxSize | undefined"
4678
+ },
4679
+ "description": "The size the combobox should have.",
4680
+ "privacy": "public"
4681
+ },
4656
4682
  {
4657
4683
  "kind": "field",
4658
4684
  "name": "placement",
@@ -4903,6 +4929,22 @@
4903
4929
  "description": "The appearance attribute.",
4904
4930
  "fieldName": "appearance"
4905
4931
  },
4932
+ {
4933
+ "name": "shape",
4934
+ "type": {
4935
+ "text": "ComboboxShape | undefined"
4936
+ },
4937
+ "description": "The shape attribute.",
4938
+ "fieldName": "shape"
4939
+ },
4940
+ {
4941
+ "name": "scale",
4942
+ "type": {
4943
+ "text": "ComboboxSize | undefined"
4944
+ },
4945
+ "description": "The size the combobox should have.",
4946
+ "fieldName": "scale"
4947
+ },
4906
4948
  {
4907
4949
  "name": "placement",
4908
4950
  "type": {
@@ -9376,6 +9418,16 @@
9376
9418
  "default": "'vwc-button'",
9377
9419
  "description": "Used internally to hold the tag that button is registered at."
9378
9420
  },
9421
+ {
9422
+ "kind": "field",
9423
+ "name": "iconTag",
9424
+ "type": {
9425
+ "text": "string"
9426
+ },
9427
+ "privacy": "private",
9428
+ "default": "'vwc-icon'",
9429
+ "description": "Used internally to hold the tag that icon is registered at."
9430
+ },
9379
9431
  {
9380
9432
  "kind": "field",
9381
9433
  "name": "#localizeErrorMessage",
@@ -9390,10 +9442,6 @@
9390
9442
  "kind": "method",
9391
9443
  "name": "#addRemoveButtonToFilesPreview"
9392
9444
  },
9393
- {
9394
- "kind": "method",
9395
- "name": "#setRemoveButtonConnotationOnError"
9396
- },
9397
9445
  {
9398
9446
  "kind": "method",
9399
9447
  "name": "#chooseFile",
@@ -10535,34 +10583,50 @@
10535
10583
  "exports": [
10536
10584
  {
10537
10585
  "kind": "js",
10538
- "name": "MenuItemRole",
10586
+ "name": "registerMenuItem",
10539
10587
  "declaration": {
10540
- "name": "MenuItemRole",
10541
- "module": "./menu-item"
10588
+ "name": "registerMenuItem",
10589
+ "module": "libs/components/src/lib/menu-item/definition.ts"
10542
10590
  }
10543
10591
  },
10544
10592
  {
10545
10593
  "kind": "js",
10546
- "name": "registerMenuItem",
10594
+ "name": "MenuItemRole",
10547
10595
  "declaration": {
10548
- "name": "registerMenuItem",
10549
- "module": "libs/components/src/lib/menu-item/definition.ts"
10596
+ "name": "MenuItemRole",
10597
+ "module": "./menu-item-role"
10550
10598
  }
10551
10599
  }
10552
10600
  ]
10553
10601
  },
10554
10602
  {
10555
10603
  "kind": "javascript-module",
10556
- "path": "libs/components/src/lib/menu-item/menu-item.ts",
10604
+ "path": "libs/components/src/lib/menu-item/menu-item-role.ts",
10557
10605
  "declarations": [
10558
10606
  {
10559
10607
  "kind": "variable",
10560
10608
  "name": "MenuItemRole",
10561
10609
  "type": {
10562
- "text": "{\n\t...FastMenuItemRole,\n\tpresentation: 'presentation',\n}"
10610
+ "text": "{\n\tmenuitem: 'menuitem',\n\tmenuitemcheckbox: 'menuitemcheckbox',\n\tmenuitemradio: 'menuitemradio',\n\tpresentation: 'presentation',\n}"
10563
10611
  },
10564
- "default": "{\n\t...FastMenuItemRole,\n\tpresentation: 'presentation',\n}"
10565
- },
10612
+ "default": "{\n\tmenuitem: 'menuitem',\n\tmenuitemcheckbox: 'menuitemcheckbox',\n\tmenuitemradio: 'menuitemradio',\n\tpresentation: 'presentation',\n}"
10613
+ }
10614
+ ],
10615
+ "exports": [
10616
+ {
10617
+ "kind": "js",
10618
+ "name": "MenuItemRole",
10619
+ "declaration": {
10620
+ "name": "MenuItemRole",
10621
+ "module": "libs/components/src/lib/menu-item/menu-item-role.ts"
10622
+ }
10623
+ }
10624
+ ]
10625
+ },
10626
+ {
10627
+ "kind": "javascript-module",
10628
+ "path": "libs/components/src/lib/menu-item/menu-item.ts",
10629
+ "declarations": [
10566
10630
  {
10567
10631
  "kind": "class",
10568
10632
  "description": "",
@@ -10892,14 +10956,6 @@
10892
10956
  }
10893
10957
  ],
10894
10958
  "exports": [
10895
- {
10896
- "kind": "js",
10897
- "name": "MenuItemRole",
10898
- "declaration": {
10899
- "name": "MenuItemRole",
10900
- "module": "libs/components/src/lib/menu-item/menu-item.ts"
10901
- }
10902
- },
10903
10959
  {
10904
10960
  "kind": "js",
10905
10961
  "name": "MenuItem",
@@ -14781,8 +14837,8 @@
14781
14837
  }
14782
14838
  ],
14783
14839
  "superclass": {
14784
- "name": "FoundationElement",
14785
- "package": "@microsoft/fast-foundation"
14840
+ "name": "VividElement",
14841
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
14786
14842
  }
14787
14843
  }
14788
14844
  ],
@@ -15551,7 +15607,7 @@
15551
15607
  "mixins": [
15552
15608
  {
15553
15609
  "name": "FormAssociated",
15554
- "package": "@microsoft/fast-foundation"
15610
+ "module": "/libs/components/src/shared/foundation/form-associated/form-associated"
15555
15611
  }
15556
15612
  ],
15557
15613
  "superclass": {
@@ -17757,6 +17813,14 @@
17757
17813
  }
17758
17814
  ],
17759
17815
  "members": [
17816
+ {
17817
+ "kind": "field",
17818
+ "name": "ariaLabel",
17819
+ "type": {
17820
+ "text": "string | null"
17821
+ },
17822
+ "default": "null"
17823
+ },
17760
17824
  {
17761
17825
  "kind": "field",
17762
17826
  "name": "label",
@@ -17825,6 +17889,14 @@
17825
17889
  }
17826
17890
  ],
17827
17891
  "attributes": [
17892
+ {
17893
+ "name": "aria-label",
17894
+ "type": {
17895
+ "text": "string | null"
17896
+ },
17897
+ "default": "null",
17898
+ "fieldName": "ariaLabel"
17899
+ },
17828
17900
  {
17829
17901
  "name": "label",
17830
17902
  "type": {
@@ -18268,6 +18340,14 @@
18268
18340
  },
18269
18341
  "default": "'--_tabs-tablist-column'"
18270
18342
  },
18343
+ {
18344
+ "kind": "variable",
18345
+ "name": "TabsOrientation",
18346
+ "type": {
18347
+ "text": "{\n\tvertical: 'vertical',\n\thorizontal: 'horizontal',\n}"
18348
+ },
18349
+ "default": "{\n\tvertical: 'vertical',\n\thorizontal: 'horizontal',\n}"
18350
+ },
18271
18351
  {
18272
18352
  "kind": "class",
18273
18353
  "description": "",
@@ -18722,6 +18802,14 @@
18722
18802
  "module": "libs/components/src/lib/tabs/tabs.ts"
18723
18803
  }
18724
18804
  },
18805
+ {
18806
+ "kind": "js",
18807
+ "name": "TabsOrientation",
18808
+ "declaration": {
18809
+ "name": "TabsOrientation",
18810
+ "module": "libs/components/src/lib/tabs/tabs.ts"
18811
+ }
18812
+ },
18725
18813
  {
18726
18814
  "kind": "js",
18727
18815
  "name": "Tabs",
@@ -21552,7 +21640,7 @@
21552
21640
  ],
21553
21641
  "superclass": {
21554
21642
  "name": "VividElement",
21555
- "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
21643
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element.js"
21556
21644
  },
21557
21645
  "vividComponent": {
21558
21646
  "public": true,
@@ -21974,6 +22062,226 @@
21974
22062
  }
21975
22063
  ]
21976
22064
  },
22065
+ {
22066
+ "kind": "javascript-module",
22067
+ "path": "libs/components/src/lib/time-picker/inline-time-picker/columns.ts",
22068
+ "declarations": [
22069
+ {
22070
+ "kind": "variable",
22071
+ "name": "HoursColumn",
22072
+ "type": {
22073
+ "text": "Column"
22074
+ },
22075
+ "default": "{\n\tid: 'hours',\n\tgetLabel: (x: InlineTimePicker) => x.locale.timePicker.hoursLabel,\n\tgetOptions: (x: InlineTimePicker) =>\n\t\tgetHoursOptions(\n\t\t\tx.min,\n\t\t\tx.max,\n\t\t\tx.clock === '12h'\n\t\t\t\t? MeridiesColumn.getSelectedOptionValue(x) ??\n\t\t\t\t\t\tMeridiesColumn.getOptions(x)[0].value\n\t\t\t\t: undefined\n\t\t),\n\tgetSelectedOptionValue: (x: InlineTimePicker) =>\n\t\tx.value ? parseTimeStr(x.value).hourStr : undefined,\n\tupdatedValue: (x: InlineTimePicker, optionValue: string) => {\n\t\tif (x.value) {\n\t\t\tconst { minuteStr, secondStr } = parseTimeStr(x.value);\n\t\t\treturn `${optionValue}:${minuteStr}:${secondStr}`;\n\t\t} else {\n\t\t\treturn `${optionValue}:00:00`;\n\t\t}\n\t},\n}"
22076
+ },
22077
+ {
22078
+ "kind": "variable",
22079
+ "name": "MinutesColumn",
22080
+ "type": {
22081
+ "text": "Column"
22082
+ },
22083
+ "default": "{\n\tid: 'minutes',\n\tgetLabel: (x: InlineTimePicker) => x.locale.timePicker.minutesLabel,\n\tgetOptions: (x: InlineTimePicker) =>\n\t\tgetMinutesOptions(x.minutesStep, x.value, x.min, x.max),\n\tgetSelectedOptionValue: (x: InlineTimePicker) =>\n\t\tx.value ? parseTimeStr(x.value).minuteStr : undefined,\n\tupdatedValue: (x: InlineTimePicker, optionValue: string) => {\n\t\tif (x.value) {\n\t\t\tconst { hourStr, secondStr } = parseTimeStr(x.value);\n\t\t\treturn `${hourStr}:${optionValue}:${secondStr}`;\n\t\t} else {\n\t\t\treturn `00:${optionValue}:00`;\n\t\t}\n\t},\n}"
22084
+ },
22085
+ {
22086
+ "kind": "variable",
22087
+ "name": "SecondsColumn",
22088
+ "type": {
22089
+ "text": "Column"
22090
+ },
22091
+ "default": "{\n\tid: 'seconds',\n\tgetLabel: (x: InlineTimePicker) => x.locale.timePicker.secondsLabel,\n\tgetOptions: (x: InlineTimePicker) =>\n\t\tgetSecondsOptions(x.secondsStep!, x.value, x.min, x.max),\n\tgetSelectedOptionValue: (x: InlineTimePicker) =>\n\t\tx.value ? parseTimeStr(x.value).secondStr : undefined,\n\tupdatedValue: (x: InlineTimePicker, optionValue: string) => {\n\t\tif (x.value) {\n\t\t\tconst { hourStr, minuteStr } = parseTimeStr(x.value);\n\t\t\treturn `${hourStr}:${minuteStr}:${optionValue}`;\n\t\t} else {\n\t\t\treturn `00:00:${optionValue}`;\n\t\t}\n\t},\n}"
22092
+ },
22093
+ {
22094
+ "kind": "variable",
22095
+ "name": "MeridiesColumn",
22096
+ "type": {
22097
+ "text": "Column"
22098
+ },
22099
+ "default": "{\n\tid: 'meridies',\n\tgetLabel: (x: InlineTimePicker) => x.locale.timePicker.meridiesLabel,\n\tgetOptions: (x: InlineTimePicker) => getMeridiesOptions(x.min, x.max),\n\tgetSelectedOptionValue: (x: InlineTimePicker) =>\n\t\tx.value ? parseTimeStr(x.value).meridiem : undefined,\n\tupdatedValue: (x: InlineTimePicker, optionValue: string) => {\n\t\tif (x.value) {\n\t\t\tconst { hours, minuteStr, secondStr } = parseTimeStr(x.value);\n\t\t\tlet adjustedHours = hours;\n\t\t\tif (optionValue === 'AM' && hours >= 12) {\n\t\t\t\tadjustedHours -= 12;\n\t\t\t} else if (optionValue === 'PM' && hours < 12) {\n\t\t\t\tadjustedHours += 12;\n\t\t\t}\n\t\t\treturn `${formatTimePart(adjustedHours)}:${minuteStr}:${secondStr}`;\n\t\t} else {\n\t\t\tif (optionValue === 'AM') {\n\t\t\t\treturn '00:00:00';\n\t\t\t} else {\n\t\t\t\treturn '12:00:00';\n\t\t\t}\n\t\t}\n\t},\n}"
22100
+ }
22101
+ ],
22102
+ "exports": [
22103
+ {
22104
+ "kind": "js",
22105
+ "name": "HoursColumn",
22106
+ "declaration": {
22107
+ "name": "HoursColumn",
22108
+ "module": "libs/components/src/lib/time-picker/inline-time-picker/columns.ts"
22109
+ }
22110
+ },
22111
+ {
22112
+ "kind": "js",
22113
+ "name": "MinutesColumn",
22114
+ "declaration": {
22115
+ "name": "MinutesColumn",
22116
+ "module": "libs/components/src/lib/time-picker/inline-time-picker/columns.ts"
22117
+ }
22118
+ },
22119
+ {
22120
+ "kind": "js",
22121
+ "name": "SecondsColumn",
22122
+ "declaration": {
22123
+ "name": "SecondsColumn",
22124
+ "module": "libs/components/src/lib/time-picker/inline-time-picker/columns.ts"
22125
+ }
22126
+ },
22127
+ {
22128
+ "kind": "js",
22129
+ "name": "MeridiesColumn",
22130
+ "declaration": {
22131
+ "name": "MeridiesColumn",
22132
+ "module": "libs/components/src/lib/time-picker/inline-time-picker/columns.ts"
22133
+ }
22134
+ }
22135
+ ]
22136
+ },
22137
+ {
22138
+ "kind": "javascript-module",
22139
+ "path": "libs/components/src/lib/time-picker/inline-time-picker/definition.ts",
22140
+ "declarations": [
22141
+ {
22142
+ "kind": "variable",
22143
+ "name": "registerInlineTimePicker",
22144
+ "description": "Registers the inline-time-picker element with the design system.",
22145
+ "parameters": [
22146
+ {
22147
+ "description": "the prefix to use for the component name",
22148
+ "name": "prefix"
22149
+ }
22150
+ ]
22151
+ }
22152
+ ],
22153
+ "exports": [
22154
+ {
22155
+ "kind": "js",
22156
+ "name": "registerInlineTimePicker",
22157
+ "declaration": {
22158
+ "name": "registerInlineTimePicker",
22159
+ "module": "libs/components/src/lib/time-picker/inline-time-picker/definition.ts"
22160
+ }
22161
+ }
22162
+ ]
22163
+ },
22164
+ {
22165
+ "kind": "javascript-module",
22166
+ "path": "libs/components/src/lib/time-picker/inline-time-picker/inline-time-picker.ts",
22167
+ "declarations": [
22168
+ {
22169
+ "kind": "class",
22170
+ "description": "",
22171
+ "name": "InlineTimePicker",
22172
+ "cssProperties": [
22173
+ {
22174
+ "name": "--vvd-time-picker-accent-primary",
22175
+ "default": "var(--vvd-color-canvas-text)"
22176
+ },
22177
+ {
22178
+ "name": "--vvd-time-picker-accent-firm",
22179
+ "default": "var(--vvd-color-canvas-text)"
22180
+ },
22181
+ {
22182
+ "name": "--vvd-time-picker-accent-faint",
22183
+ "default": "var(--vvd-color-neutral-50)"
22184
+ },
22185
+ {
22186
+ "name": "--vvd-time-picker-accent-soft",
22187
+ "default": "var(--vvd-color-neutral-100)"
22188
+ },
22189
+ {
22190
+ "name": "--vvd-time-picker-accent-dim",
22191
+ "default": "var(--vvd-color-neutral-200)"
22192
+ },
22193
+ {
22194
+ "name": "--vvd-time-picker-accent-pale",
22195
+ "default": "var(--vvd-color-neutral-300)"
22196
+ }
22197
+ ],
22198
+ "members": [
22199
+ {
22200
+ "kind": "field",
22201
+ "name": "value",
22202
+ "type": {
22203
+ "text": "string | undefined"
22204
+ }
22205
+ },
22206
+ {
22207
+ "kind": "method",
22208
+ "name": "valueChanged",
22209
+ "parameters": [
22210
+ {
22211
+ "name": "_",
22212
+ "optional": true,
22213
+ "type": {
22214
+ "text": "string"
22215
+ }
22216
+ },
22217
+ {
22218
+ "name": "newValue",
22219
+ "optional": true,
22220
+ "type": {
22221
+ "text": "string"
22222
+ }
22223
+ }
22224
+ ]
22225
+ },
22226
+ {
22227
+ "kind": "field",
22228
+ "name": "minutesStep",
22229
+ "type": {
22230
+ "text": "number"
22231
+ },
22232
+ "default": "1"
22233
+ },
22234
+ {
22235
+ "kind": "field",
22236
+ "name": "secondsStep",
22237
+ "type": {
22238
+ "text": "number | undefined"
22239
+ }
22240
+ },
22241
+ {
22242
+ "kind": "field",
22243
+ "name": "clock",
22244
+ "type": {
22245
+ "text": "'12h' | '24h'"
22246
+ },
22247
+ "default": "'24h'"
22248
+ },
22249
+ {
22250
+ "kind": "field",
22251
+ "name": "min",
22252
+ "type": {
22253
+ "text": "string | undefined"
22254
+ }
22255
+ },
22256
+ {
22257
+ "kind": "field",
22258
+ "name": "max",
22259
+ "type": {
22260
+ "text": "string | undefined"
22261
+ }
22262
+ },
22263
+ {
22264
+ "kind": "method",
22265
+ "name": "scrollSelectedOptionsToTop"
22266
+ }
22267
+ ],
22268
+ "superclass": {
22269
+ "name": "VividElement",
22270
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
22271
+ }
22272
+ }
22273
+ ],
22274
+ "exports": [
22275
+ {
22276
+ "kind": "js",
22277
+ "name": "InlineTimePicker",
22278
+ "declaration": {
22279
+ "name": "InlineTimePicker",
22280
+ "module": "libs/components/src/lib/time-picker/inline-time-picker/inline-time-picker.ts"
22281
+ }
22282
+ }
22283
+ ]
22284
+ },
21977
22285
  {
21978
22286
  "kind": "javascript-module",
21979
22287
  "path": "libs/components/src/lib/time-picker/time/picker.ts",
@@ -23665,6 +23973,42 @@
23665
23973
  }
23666
23974
  ]
23667
23975
  },
23976
+ {
23977
+ "kind": "javascript-module",
23978
+ "path": "libs/components/src/shared/foundation/utilities/direction.ts",
23979
+ "declarations": [
23980
+ {
23981
+ "kind": "function",
23982
+ "name": "getDirection",
23983
+ "return": {
23984
+ "type": {
23985
+ "text": "Direction"
23986
+ }
23987
+ },
23988
+ "parameters": [
23989
+ {
23990
+ "name": "rootNode",
23991
+ "type": {
23992
+ "text": "HTMLElement"
23993
+ },
23994
+ "description": "the HTMLElement to begin the query from, usually \"this\" when used in a component controller"
23995
+ }
23996
+ ],
23997
+ "description": "a method to determine the current localization direction of the view",
23998
+ "privacy": "public"
23999
+ }
24000
+ ],
24001
+ "exports": [
24002
+ {
24003
+ "kind": "js",
24004
+ "name": "getDirection",
24005
+ "declaration": {
24006
+ "name": "getDirection",
24007
+ "module": "libs/components/src/shared/foundation/utilities/direction.ts"
24008
+ }
24009
+ }
24010
+ ]
24011
+ },
23668
24012
  {
23669
24013
  "kind": "javascript-module",
23670
24014
  "path": "libs/components/src/shared/foundation/vivid-element/vivid-element.ts",
package/index.cjs CHANGED
@@ -83,6 +83,7 @@ exports.TabsGutters = enums.TabsGutters;
83
83
  exports.setLocale = localized.setLocale;
84
84
  exports.accordionItemDefinition = definition.accordionItemDefinition;
85
85
  exports.registerAccordionItem = definition.registerAccordionItem;
86
+ exports.AccordionExpandMode = definition$1.AccordionExpandMode;
86
87
  exports.accordionDefinition = definition$1.accordionDefinition;
87
88
  exports.registerAccordion = definition$1.registerAccordion;
88
89
  exports.actionGroupDefinition = definition$2.actionGroupDefinition;
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { A as Appearance, c as AriaLive, C as Connotation, a as ConnotationDecorative, I as IconDecoration, L as LayoutSize, M as MediaSkipBy, P as Position, R as Role, S as Shape, b as Size, T as TabsGutters } from './shared/enums.js';
2
2
  export { s as setLocale } from './shared/localized.js';
3
3
  export { a as accordionItemDefinition, r as registerAccordionItem } from './shared/definition.js';
4
- export { a as accordionDefinition, r as registerAccordion } from './shared/definition2.js';
4
+ export { A as AccordionExpandMode, a as accordionDefinition, r as registerAccordion } from './shared/definition2.js';
5
5
  export { a as actionGroupDefinition, r as registerActionGroup } from './shared/definition3.js';
6
6
  export { a as alertDefinition, r as registerAlert } from './shared/definition4.js';
7
7
  export { a as audioPlayerDefinition, r as registerAudioPlayer } from './shared/definition5.js';
@@ -1,2 +1,6 @@
1
- export type { AccordionExpandMode } from '@microsoft/fast-foundation';
1
+ export declare const AccordionExpandMode: {
2
+ readonly single: "single";
3
+ readonly multi: "multi";
4
+ };
5
+ export type AccordionExpandMode = typeof AccordionExpandMode[keyof typeof AccordionExpandMode];
2
6
  export declare const registerAccordion: (prefix?: string) => void;
@@ -1,15 +1,19 @@
1
1
  import type { Popup } from '../popup/popup';
2
- import type { Appearance } from '../enums';
2
+ import type { Appearance, Shape, Size } from '../enums';
3
3
  import { AffixIcon, type FormElement } from '../../shared/patterns';
4
4
  import type { ListboxOption } from '../option/option';
5
5
  import { FormAssociatedCombobox } from './combobox.form-associated';
6
6
  import { ComboboxAutocomplete } from './combobox.options';
7
7
  export type PopupPlacement = 'top' | 'bottom';
8
8
  export type ComboboxAppearance = Extract<Appearance, Appearance.Fieldset | Appearance.Ghost>;
9
+ export type ComboboxShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
10
+ export type ComboboxSize = Extract<Size, Size.Condensed | Size.Normal>;
9
11
  export declare class Combobox extends FormAssociatedCombobox {
10
12
  autocomplete: ComboboxAutocomplete | undefined;
11
13
  filteredOptions: ListboxOption[];
12
14
  appearance?: ComboboxAppearance;
15
+ shape?: ComboboxShape;
16
+ scale?: ComboboxSize;
13
17
  placement?: PopupPlacement;
14
18
  fixedDropdown: boolean;
15
19
  _popup: Popup;
@@ -22,6 +22,7 @@ export declare class FilePicker extends FormAssociatedFilePicker {
22
22
  fileTooBigErrorChanged(_oldValue: string, newValue: string): void;
23
23
  nameChanged(previous: string, next: string): void;
24
24
  private buttonTag;
25
+ private iconTag;
25
26
  constructor();
26
27
  connectedCallback(): void;
27
28
  disconnectedCallback(): void;
@@ -1,2 +1,2 @@
1
- export { MenuItemRole } from './menu-item';
2
1
  export declare const registerMenuItem: (prefix?: string) => void;
2
+ export { MenuItemRole } from './menu-item-role';
@@ -0,0 +1,7 @@
1
+ export declare const MenuItemRole: {
2
+ readonly menuitem: "menuitem";
3
+ readonly menuitemcheckbox: "menuitemcheckbox";
4
+ readonly menuitemradio: "menuitemradio";
5
+ readonly presentation: "presentation";
6
+ };
7
+ export type MenuItemRole = typeof MenuItemRole[keyof typeof MenuItemRole];
@@ -1,13 +1,7 @@
1
1
  import { AffixIcon } from '../../shared/patterns/affix';
2
2
  import { Connotation } from '../enums';
3
3
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
4
- export declare const MenuItemRole: {
5
- readonly presentation: "presentation";
6
- readonly menuitem: "menuitem";
7
- readonly menuitemcheckbox: "menuitemcheckbox";
8
- readonly menuitemradio: "menuitemradio";
9
- };
10
- export type MenuItemRole = typeof MenuItemRole[keyof typeof MenuItemRole];
4
+ import { MenuItemRole } from './menu-item-role';
11
5
  export declare enum CheckAppearance {
12
6
  Normal = "normal",
13
7
  TickOnly = "tick-only"
@@ -1,5 +1,5 @@
1
- import { DelegatesARIATextbox } from '@microsoft/fast-foundation';
2
1
  import type { Appearance, Shape, Size } from '../enums';
2
+ import { DelegatesARIATextbox } from '../text-field/text-field';
3
3
  import { AffixIcon, type ErrorText, type FormElement, FormElementCharCount, FormElementHelperText, FormElementSuccessText, Localized } from '../../shared/patterns';
4
4
  import { FormAssociatedNumberField } from './number-field.form-associated';
5
5
  export type NumberFieldAppearance = Extract<Appearance, Appearance.Fieldset | Appearance.Ghost>;
@@ -1,10 +1,10 @@
1
1
  import { type SyntheticViewTemplate } from '@microsoft/fast-element';
2
- import { type FoundationElementDefinition } from '@microsoft/fast-foundation';
2
+ import type { VividComponentDefinition } from '../../shared/design-system/defineVividComponent.js';
3
3
  import type { Connotation } from '../enums.js';
4
4
  import { FormAssociatedRadio } from './radio.form-associated';
5
5
  export type RadioConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
6
6
  export type RadioControl = Pick<HTMLInputElement, 'checked' | 'disabled' | 'readOnly' | 'focus' | 'setAttribute' | 'getAttribute'>;
7
- export type RadioOptions = FoundationElementDefinition & {
7
+ export type RadioOptions = VividComponentDefinition & {
8
8
  checkedIndicator?: string | SyntheticViewTemplate;
9
9
  };
10
10
  export declare class Radio extends FormAssociatedRadio {
@@ -1,8 +1,8 @@
1
- import { FoundationElement } from '@microsoft/fast-foundation';
1
+ import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
2
2
  import { Shape } from '../enums';
3
3
  import { Localized } from '../../shared/patterns';
4
4
  export type OptionTagShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
5
- export declare class OptionTag extends FoundationElement {
5
+ export declare class OptionTag extends VividElement {
6
6
  shape?: OptionTagShape;
7
7
  label?: string;
8
8
  removable: boolean;
@@ -1,4 +1,4 @@
1
- import { FormAssociated } from '@microsoft/fast-foundation';
1
+ import { FormAssociated } from '../../shared/foundation/form-associated/form-associated';
2
2
  import { Listbox } from '../../shared/foundation/listbox/listbox';
3
3
  declare class _Select extends Listbox {
4
4
  }