@vonage/vivid 4.14.1 → 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 (109) hide show
  1. package/custom-elements.json +393 -201
  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/divider/divider.d.ts +1 -1
  7. package/lib/divider/divider.template.d.ts +1 -1
  8. package/lib/file-picker/file-picker.d.ts +1 -0
  9. package/lib/menu-item/definition.d.ts +1 -1
  10. package/lib/menu-item/menu-item-role.d.ts +7 -0
  11. package/lib/menu-item/menu-item.d.ts +1 -7
  12. package/lib/number-field/number-field.d.ts +1 -1
  13. package/lib/radio/radio.d.ts +2 -2
  14. package/lib/searchable-select/option-tag.d.ts +2 -2
  15. package/lib/select/select.form-associated.d.ts +1 -1
  16. package/lib/switch/switch.d.ts +1 -0
  17. package/lib/tabs/tabs.d.ts +5 -1
  18. package/lib/text-anchor/text-anchor.d.ts +1 -1
  19. package/lib/tree-item/tree-item.d.ts +1 -1
  20. package/lib/tree-view/tree-view.d.ts +1 -1
  21. package/package.json +1 -1
  22. package/shared/affix.js +1 -1
  23. package/shared/applyMixinsWithObservables.cjs +1 -1
  24. package/shared/applyMixinsWithObservables.js +1 -1
  25. package/shared/definition.js +1 -1
  26. package/shared/definition11.cjs +1 -1
  27. package/shared/definition11.js +2 -2
  28. package/shared/definition16.cjs +64 -32
  29. package/shared/definition16.js +62 -30
  30. package/shared/definition17.cjs +9 -7
  31. package/shared/definition17.js +9 -7
  32. package/shared/definition2.cjs +9 -4
  33. package/shared/definition2.js +9 -5
  34. package/shared/definition22.cjs +2 -1
  35. package/shared/definition22.js +2 -1
  36. package/shared/definition24.js +1 -1
  37. package/shared/definition25.cjs +25 -18
  38. package/shared/definition25.js +26 -19
  39. package/shared/definition27.cjs +1 -1
  40. package/shared/definition27.js +1 -1
  41. package/shared/definition29.cjs +12 -30
  42. package/shared/definition29.js +13 -31
  43. package/shared/definition30.js +1 -1
  44. package/shared/definition31.js +1 -1
  45. package/shared/definition33.cjs +1 -1
  46. package/shared/definition33.js +2 -2
  47. package/shared/definition34.cjs +7 -228
  48. package/shared/definition34.js +5 -226
  49. package/shared/definition35.cjs +2 -201
  50. package/shared/definition35.js +4 -201
  51. package/shared/definition4.js +1 -1
  52. package/shared/definition41.cjs +1 -1
  53. package/shared/definition41.js +1 -1
  54. package/shared/definition42.cjs +2 -3
  55. package/shared/definition42.js +3 -4
  56. package/shared/definition43.cjs +10 -11
  57. package/shared/definition43.js +6 -7
  58. package/shared/definition46.cjs +2 -2
  59. package/shared/definition46.js +3 -3
  60. package/shared/definition47.js +1 -1
  61. package/shared/definition48.cjs +22 -15
  62. package/shared/definition48.js +22 -15
  63. package/shared/definition5.cjs +3 -2
  64. package/shared/definition5.js +3 -2
  65. package/shared/definition50.js +1 -1
  66. package/shared/definition51.cjs +14 -383
  67. package/shared/definition51.js +17 -386
  68. package/shared/definition53.js +1 -1
  69. package/shared/definition54.js +1 -1
  70. package/shared/definition56.js +1 -1
  71. package/shared/definition59.js +1 -1
  72. package/shared/definition7.js +1 -1
  73. package/shared/definition8.js +1 -1
  74. package/shared/direction.cjs +2 -16
  75. package/shared/direction.js +3 -17
  76. package/shared/foundation/utilities/direction.d.ts +2 -0
  77. package/shared/listbox.cjs +25 -6
  78. package/shared/listbox.js +22 -3
  79. package/shared/option.cjs +205 -0
  80. package/shared/option.js +202 -0
  81. package/shared/text-anchor.cjs +1 -1
  82. package/shared/text-anchor.js +2 -2
  83. package/shared/text-field2.js +2 -2
  84. package/shared/vivid-element.cjs +0 -2
  85. package/shared/vivid-element.js +1 -1
  86. package/styles/core/all.css +1 -1
  87. package/styles/core/theme.css +1 -1
  88. package/styles/core/typography.css +1 -1
  89. package/styles/tokens/theme-dark.css +4 -4
  90. package/styles/tokens/theme-light.css +4 -4
  91. package/styles/tokens/vivid-2-compat.css +1 -1
  92. package/vivid.api.json +70 -3
  93. package/lib/listbox/definition.d.ts +0 -2
  94. package/lib/listbox/listbox.d.ts +0 -14
  95. package/lib/listbox/listbox.template.d.ts +0 -2
  96. package/listbox/index.cjs +0 -54
  97. package/listbox/index.js +0 -52
  98. package/shared/apply-mixins2.cjs +0 -25
  99. package/shared/apply-mixins2.js +0 -23
  100. package/shared/aria-global2.cjs +0 -75
  101. package/shared/aria-global2.js +0 -73
  102. package/shared/form-associated2.cjs +0 -383
  103. package/shared/form-associated2.js +0 -381
  104. package/shared/key-codes2.cjs +0 -1565
  105. package/shared/key-codes2.js +0 -1551
  106. package/shared/listbox2.cjs +0 -1267
  107. package/shared/listbox2.js +0 -1264
  108. package/shared/strings2.cjs +0 -37
  109. package/shared/strings2.js +0 -33
@@ -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": {
@@ -5833,6 +5875,10 @@
5833
5875
  "description": "When true the component will not add itself to the tab queue.\nDefault is false.",
5834
5876
  "privacy": "public"
5835
5877
  },
5878
+ {
5879
+ "kind": "method",
5880
+ "name": "#setTabIndex"
5881
+ },
5836
5882
  {
5837
5883
  "kind": "field",
5838
5884
  "name": "generateHeader",
@@ -8029,6 +8075,16 @@
8029
8075
  "kind": "javascript-module",
8030
8076
  "path": "libs/components/src/lib/divider/divider.ts",
8031
8077
  "declarations": [
8078
+ {
8079
+ "kind": "variable",
8080
+ "name": "DividerRole",
8081
+ "type": {
8082
+ "text": "{\n\t/**\n\t * The divider semantically separates content\n\t */\n\tseparator: 'separator',\n\n\t/**\n\t * The divider has no semantic value and is for visual presentation only.\n\t */\n\tpresentation: 'presentation',\n}"
8083
+ },
8084
+ "default": "{\n\t/**\n\t * The divider semantically separates content\n\t */\n\tseparator: 'separator',\n\n\t/**\n\t * The divider has no semantic value and is for visual presentation only.\n\t */\n\tpresentation: 'presentation',\n}",
8085
+ "description": "Divider roles",
8086
+ "privacy": "public"
8087
+ },
8032
8088
  {
8033
8089
  "kind": "class",
8034
8090
  "description": "",
@@ -8082,6 +8138,14 @@
8082
8138
  }
8083
8139
  ],
8084
8140
  "exports": [
8141
+ {
8142
+ "kind": "js",
8143
+ "name": "DividerRole",
8144
+ "declaration": {
8145
+ "name": "DividerRole",
8146
+ "module": "libs/components/src/lib/divider/divider.ts"
8147
+ }
8148
+ },
8085
8149
  {
8086
8150
  "kind": "js",
8087
8151
  "name": "Divider",
@@ -9354,6 +9418,16 @@
9354
9418
  "default": "'vwc-button'",
9355
9419
  "description": "Used internally to hold the tag that button is registered at."
9356
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
+ },
9357
9431
  {
9358
9432
  "kind": "field",
9359
9433
  "name": "#localizeErrorMessage",
@@ -9368,10 +9442,6 @@
9368
9442
  "kind": "method",
9369
9443
  "name": "#addRemoveButtonToFilesPreview"
9370
9444
  },
9371
- {
9372
- "kind": "method",
9373
- "name": "#setRemoveButtonConnotationOnError"
9374
- },
9375
9445
  {
9376
9446
  "kind": "method",
9377
9447
  "name": "#chooseFile",
@@ -10075,180 +10145,6 @@
10075
10145
  }
10076
10146
  ]
10077
10147
  },
10078
- {
10079
- "kind": "javascript-module",
10080
- "path": "libs/components/src/lib/listbox/definition.ts",
10081
- "declarations": [
10082
- {
10083
- "kind": "variable",
10084
- "name": "registerListbox",
10085
- "description": "Registers the listbox elements with the design system.",
10086
- "parameters": [
10087
- {
10088
- "description": "the prefix to use for the component name",
10089
- "name": "prefix"
10090
- }
10091
- ]
10092
- }
10093
- ],
10094
- "exports": [
10095
- {
10096
- "kind": "js",
10097
- "name": "LisboxAppearance",
10098
- "declaration": {
10099
- "name": "LisboxAppearance",
10100
- "module": "./listbox"
10101
- }
10102
- },
10103
- {
10104
- "kind": "js",
10105
- "name": "registerListbox",
10106
- "declaration": {
10107
- "name": "registerListbox",
10108
- "module": "libs/components/src/lib/listbox/definition.ts"
10109
- }
10110
- }
10111
- ]
10112
- },
10113
- {
10114
- "kind": "javascript-module",
10115
- "path": "libs/components/src/lib/listbox/listbox.ts",
10116
- "declarations": [
10117
- {
10118
- "kind": "class",
10119
- "description": "",
10120
- "name": "Listbox",
10121
- "cssProperties": [
10122
- {
10123
- "name": "--vvd-listbox-accent-intermediate",
10124
- "default": "var(--vvd-color-neutral-500)"
10125
- },
10126
- {
10127
- "name": "--vvd-listbox-accent-primary",
10128
- "default": "var(--vvd-color-canvas-text)"
10129
- },
10130
- {
10131
- "name": "--vvd-listbox-accent-soft",
10132
- "default": "var(--vvd-color-neutral-100)"
10133
- }
10134
- ],
10135
- "slots": [
10136
- {
10137
- "description": "Default slot.",
10138
- "name": ""
10139
- }
10140
- ],
10141
- "members": [
10142
- {
10143
- "kind": "field",
10144
- "name": "appearance",
10145
- "type": {
10146
- "text": "LisboxAppearance | undefined"
10147
- },
10148
- "description": "The appearance the listbox should have.",
10149
- "privacy": "public"
10150
- },
10151
- {
10152
- "kind": "field",
10153
- "name": "orientation",
10154
- "type": {
10155
- "text": "'horizontal' | 'vertical' | undefined"
10156
- },
10157
- "description": "The direction the listbox options should flow.",
10158
- "privacy": "public"
10159
- },
10160
- {
10161
- "kind": "method",
10162
- "name": "orientationChanged",
10163
- "return": {
10164
- "type": {
10165
- "text": "void"
10166
- }
10167
- }
10168
- },
10169
- {
10170
- "kind": "field",
10171
- "name": "shape",
10172
- "type": {
10173
- "text": "ListboxShape | undefined"
10174
- },
10175
- "description": "The shape the listbox should have.",
10176
- "privacy": "public"
10177
- },
10178
- {
10179
- "kind": "method",
10180
- "name": "slottedOptionsChanged",
10181
- "parameters": [
10182
- {
10183
- "name": "prev",
10184
- "type": {
10185
- "text": "Element[] | undefined"
10186
- }
10187
- },
10188
- {
10189
- "name": "next",
10190
- "type": {
10191
- "text": "Element[]"
10192
- }
10193
- }
10194
- ]
10195
- },
10196
- {
10197
- "kind": "method",
10198
- "name": "#disableSlottedChildren",
10199
- "return": {
10200
- "type": {
10201
- "text": "void"
10202
- }
10203
- }
10204
- }
10205
- ],
10206
- "attributes": [
10207
- {
10208
- "name": "appearance",
10209
- "type": {
10210
- "text": "LisboxAppearance | undefined"
10211
- },
10212
- "description": "The appearance the listbox should have.",
10213
- "fieldName": "appearance"
10214
- },
10215
- {
10216
- "name": "orientation",
10217
- "type": {
10218
- "text": "'horizontal' | 'vertical' | undefined"
10219
- },
10220
- "description": "The direction the listbox options should flow.",
10221
- "fieldName": "orientation"
10222
- },
10223
- {
10224
- "name": "shape",
10225
- "type": {
10226
- "text": "ListboxShape | undefined"
10227
- },
10228
- "description": "The shape the listbox should have.",
10229
- "fieldName": "shape"
10230
- }
10231
- ],
10232
- "superclass": {
10233
- "name": "FoundationListboxElement",
10234
- "package": "@microsoft/fast-foundation"
10235
- },
10236
- "vividComponent": {
10237
- "name": "listbox"
10238
- }
10239
- }
10240
- ],
10241
- "exports": [
10242
- {
10243
- "kind": "js",
10244
- "name": "Listbox",
10245
- "declaration": {
10246
- "name": "Listbox",
10247
- "module": "libs/components/src/lib/listbox/listbox.ts"
10248
- }
10249
- }
10250
- ]
10251
- },
10252
10148
  {
10253
10149
  "kind": "javascript-module",
10254
10150
  "path": "libs/components/src/lib/menu/definition.ts",
@@ -10687,34 +10583,50 @@
10687
10583
  "exports": [
10688
10584
  {
10689
10585
  "kind": "js",
10690
- "name": "MenuItemRole",
10586
+ "name": "registerMenuItem",
10691
10587
  "declaration": {
10692
- "name": "MenuItemRole",
10693
- "module": "./menu-item"
10588
+ "name": "registerMenuItem",
10589
+ "module": "libs/components/src/lib/menu-item/definition.ts"
10694
10590
  }
10695
10591
  },
10696
10592
  {
10697
10593
  "kind": "js",
10698
- "name": "registerMenuItem",
10594
+ "name": "MenuItemRole",
10699
10595
  "declaration": {
10700
- "name": "registerMenuItem",
10701
- "module": "libs/components/src/lib/menu-item/definition.ts"
10596
+ "name": "MenuItemRole",
10597
+ "module": "./menu-item-role"
10702
10598
  }
10703
10599
  }
10704
10600
  ]
10705
10601
  },
10706
10602
  {
10707
10603
  "kind": "javascript-module",
10708
- "path": "libs/components/src/lib/menu-item/menu-item.ts",
10604
+ "path": "libs/components/src/lib/menu-item/menu-item-role.ts",
10709
10605
  "declarations": [
10710
10606
  {
10711
10607
  "kind": "variable",
10712
10608
  "name": "MenuItemRole",
10713
10609
  "type": {
10714
- "text": "{\n\t...FastMenuItemRole,\n\tpresentation: 'presentation',\n}"
10610
+ "text": "{\n\tmenuitem: 'menuitem',\n\tmenuitemcheckbox: 'menuitemcheckbox',\n\tmenuitemradio: 'menuitemradio',\n\tpresentation: 'presentation',\n}"
10715
10611
  },
10716
- "default": "{\n\t...FastMenuItemRole,\n\tpresentation: 'presentation',\n}"
10717
- },
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": [
10718
10630
  {
10719
10631
  "kind": "class",
10720
10632
  "description": "",
@@ -11044,14 +10956,6 @@
11044
10956
  }
11045
10957
  ],
11046
10958
  "exports": [
11047
- {
11048
- "kind": "js",
11049
- "name": "MenuItemRole",
11050
- "declaration": {
11051
- "name": "MenuItemRole",
11052
- "module": "libs/components/src/lib/menu-item/menu-item.ts"
11053
- }
11054
- },
11055
10959
  {
11056
10960
  "kind": "js",
11057
10961
  "name": "MenuItem",
@@ -14933,8 +14837,8 @@
14933
14837
  }
14934
14838
  ],
14935
14839
  "superclass": {
14936
- "name": "FoundationElement",
14937
- "package": "@microsoft/fast-foundation"
14840
+ "name": "VividElement",
14841
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
14938
14842
  }
14939
14843
  }
14940
14844
  ],
@@ -15703,7 +15607,7 @@
15703
15607
  "mixins": [
15704
15608
  {
15705
15609
  "name": "FormAssociated",
15706
- "package": "@microsoft/fast-foundation"
15610
+ "module": "/libs/components/src/shared/foundation/form-associated/form-associated"
15707
15611
  }
15708
15612
  ],
15709
15613
  "superclass": {
@@ -17909,6 +17813,14 @@
17909
17813
  }
17910
17814
  ],
17911
17815
  "members": [
17816
+ {
17817
+ "kind": "field",
17818
+ "name": "ariaLabel",
17819
+ "type": {
17820
+ "text": "string | null"
17821
+ },
17822
+ "default": "null"
17823
+ },
17912
17824
  {
17913
17825
  "kind": "field",
17914
17826
  "name": "label",
@@ -17977,6 +17889,14 @@
17977
17889
  }
17978
17890
  ],
17979
17891
  "attributes": [
17892
+ {
17893
+ "name": "aria-label",
17894
+ "type": {
17895
+ "text": "string | null"
17896
+ },
17897
+ "default": "null",
17898
+ "fieldName": "ariaLabel"
17899
+ },
17980
17900
  {
17981
17901
  "name": "label",
17982
17902
  "type": {
@@ -18420,6 +18340,14 @@
18420
18340
  },
18421
18341
  "default": "'--_tabs-tablist-column'"
18422
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
+ },
18423
18351
  {
18424
18352
  "kind": "class",
18425
18353
  "description": "",
@@ -18874,6 +18802,14 @@
18874
18802
  "module": "libs/components/src/lib/tabs/tabs.ts"
18875
18803
  }
18876
18804
  },
18805
+ {
18806
+ "kind": "js",
18807
+ "name": "TabsOrientation",
18808
+ "declaration": {
18809
+ "name": "TabsOrientation",
18810
+ "module": "libs/components/src/lib/tabs/tabs.ts"
18811
+ }
18812
+ },
18877
18813
  {
18878
18814
  "kind": "js",
18879
18815
  "name": "Tabs",
@@ -21704,7 +21640,7 @@
21704
21640
  ],
21705
21641
  "superclass": {
21706
21642
  "name": "VividElement",
21707
- "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element"
21643
+ "module": "/libs/components/src/shared/foundation/vivid-element/vivid-element.js"
21708
21644
  },
21709
21645
  "vividComponent": {
21710
21646
  "public": true,
@@ -22126,6 +22062,226 @@
22126
22062
  }
22127
22063
  ]
22128
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
+ },
22129
22285
  {
22130
22286
  "kind": "javascript-module",
22131
22287
  "path": "libs/components/src/lib/time-picker/time/picker.ts",
@@ -23817,6 +23973,42 @@
23817
23973
  }
23818
23974
  ]
23819
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
+ },
23820
24012
  {
23821
24013
  "kind": "javascript-module",
23822
24014
  "path": "libs/components/src/shared/foundation/vivid-element/vivid-element.ts",