@vonage/vivid 4.29.0 → 4.30.1

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 (49) hide show
  1. package/custom-elements.json +366 -6
  2. package/lib/accordion-item/accordion-item.d.ts +3 -1
  3. package/lib/badge/badge.d.ts +1 -1
  4. package/lib/date-picker/date-picker.d.ts +2 -2
  5. package/lib/date-time-picker/date-time-picker.d.ts +3 -3
  6. package/lib/selectable-box/selectable-box.d.ts +2 -0
  7. package/lib/split-button/split-button.d.ts +1 -1
  8. package/lib/tag/tag.d.ts +1 -1
  9. package/lib/time-picker/time-picker.d.ts +2 -2
  10. package/package.json +1 -1
  11. package/shared/calendar-picker.template.cjs +6 -5
  12. package/shared/calendar-picker.template.js +6 -5
  13. package/shared/definition.cjs +11 -2
  14. package/shared/definition.js +11 -2
  15. package/shared/definition23.cjs +1 -1
  16. package/shared/definition23.js +1 -1
  17. package/shared/definition28.cjs +1 -2
  18. package/shared/definition28.js +2 -2
  19. package/shared/definition44.cjs +10 -22
  20. package/shared/definition44.js +10 -22
  21. package/shared/definition47.cjs +11 -5
  22. package/shared/definition47.js +11 -5
  23. package/shared/definition50.cjs +1 -1
  24. package/shared/definition50.js +1 -1
  25. package/shared/definition56.cjs +5 -4
  26. package/shared/definition56.js +5 -4
  27. package/shared/definition58.cjs +10 -29
  28. package/shared/definition58.js +12 -31
  29. package/shared/definition67.cjs +27 -16
  30. package/shared/definition67.js +27 -16
  31. package/shared/picker-field/mixins/single-date-picker.d.ts +2 -2
  32. package/shared/picker-field/mixins/single-value-picker.d.ts +1 -1
  33. package/shared/picker-field/mixins/time-selection-picker.d.ts +2 -2
  34. package/shared/picker-field/mixins/time-selection-picker.template.d.ts +2 -2
  35. package/shared/single-date-picker.cjs +1 -1
  36. package/shared/single-date-picker.js +1 -1
  37. package/shared/single-value-picker.cjs +22 -21
  38. package/shared/single-value-picker.js +22 -21
  39. package/shared/time-selection-picker.template.cjs +4 -3
  40. package/shared/time-selection-picker.template.js +4 -3
  41. package/shared/vivid-element.cjs +2 -1
  42. package/shared/vivid-element.js +2 -2
  43. package/styles/core/all.css +1 -1
  44. package/styles/core/theme.css +1 -1
  45. package/styles/core/typography.css +1 -1
  46. package/styles/tokens/theme-dark.css +4 -4
  47. package/styles/tokens/theme-light.css +4 -4
  48. package/styles/tokens/vivid-2-compat.css +1 -1
  49. package/vivid.api.json +93 -4
@@ -316,6 +316,22 @@
316
316
  "description": "",
317
317
  "name": "AccordionItem",
318
318
  "cssProperties": [
319
+ {
320
+ "name": "--vvd-accordion-item-accent-primary",
321
+ "default": "var(--vvd-color-canvas-text)"
322
+ },
323
+ {
324
+ "name": "--vvd-accordion-item-accent-primary-text",
325
+ "default": "var(--vvd-color-canvas)"
326
+ },
327
+ {
328
+ "name": "--vvd-accordion-item-accent-primary-increment",
329
+ "default": "var(--vvd-color-neutral-800)"
330
+ },
331
+ {
332
+ "name": "--vvd-accordion-item-accent-fierce",
333
+ "default": "var(--vvd-color-neutral-700)"
334
+ },
319
335
  {
320
336
  "name": "--vvd-accordion-item-accent-faint",
321
337
  "default": "var(--vvd-color-neutral-50)"
@@ -358,6 +374,15 @@
358
374
  "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
359
375
  "privacy": "public"
360
376
  },
377
+ {
378
+ "kind": "field",
379
+ "name": "appearance",
380
+ "type": {
381
+ "text": "AccordionItemAppearance | undefined"
382
+ },
383
+ "description": "The appearance the button should have.",
384
+ "privacy": "public"
385
+ },
361
386
  {
362
387
  "kind": "field",
363
388
  "name": "expanded",
@@ -493,6 +518,14 @@
493
518
  "description": "Configures the https://www.w3.org/TR/wai-aria-1.1/#aria-level | level of the\nheading element.",
494
519
  "fieldName": "headinglevel"
495
520
  },
521
+ {
522
+ "name": "appearance",
523
+ "type": {
524
+ "text": "AccordionItemAppearance | undefined"
525
+ },
526
+ "description": "The appearance the button should have.",
527
+ "fieldName": "appearance"
528
+ },
496
529
  {
497
530
  "name": "expanded",
498
531
  "type": {
@@ -4964,6 +4997,35 @@
4964
4997
  "vividComponent": {
4965
4998
  "public": true,
4966
4999
  "name": "button"
5000
+ },
5001
+ "vividTesting": {
5002
+ "selectors": [
5003
+ {
5004
+ "name": "byLabel",
5005
+ "args": [
5006
+ "byLabel"
5007
+ ]
5008
+ }
5009
+ ],
5010
+ "actions": [
5011
+ {
5012
+ "name": "click",
5013
+ "args": [
5014
+ "click",
5015
+ "control"
5016
+ ]
5017
+ }
5018
+ ],
5019
+ "queries": [],
5020
+ "refs": [
5021
+ {
5022
+ "name": "control",
5023
+ "args": [
5024
+ "shadow",
5025
+ ".control"
5026
+ ]
5027
+ }
5028
+ ]
4967
5029
  }
4968
5030
  }
4969
5031
  ],
@@ -6166,6 +6228,19 @@
6166
6228
  "vividComponent": {
6167
6229
  "public": true,
6168
6230
  "name": "card"
6231
+ },
6232
+ "vividTesting": {
6233
+ "selectors": [],
6234
+ "actions": [],
6235
+ "queries": [
6236
+ {
6237
+ "name": "headline",
6238
+ "args": [
6239
+ "headline"
6240
+ ]
6241
+ }
6242
+ ],
6243
+ "refs": []
6169
6244
  }
6170
6245
  }
6171
6246
  ],
@@ -6932,6 +7007,42 @@
6932
7007
  "valueMapping": "event.currentTarget.checked"
6933
7008
  }
6934
7009
  ]
7010
+ },
7011
+ "vividTesting": {
7012
+ "selectors": [
7013
+ {
7014
+ "name": "byTestId",
7015
+ "args": [
7016
+ "byTestId"
7017
+ ]
7018
+ }
7019
+ ],
7020
+ "actions": [
7021
+ {
7022
+ "name": "check",
7023
+ "args": [
7024
+ "check",
7025
+ "control"
7026
+ ]
7027
+ }
7028
+ ],
7029
+ "queries": [
7030
+ {
7031
+ "name": "checked",
7032
+ "args": [
7033
+ "checked"
7034
+ ]
7035
+ }
7036
+ ],
7037
+ "refs": [
7038
+ {
7039
+ "name": "control",
7040
+ "args": [
7041
+ "shadow",
7042
+ ".control"
7043
+ ]
7044
+ }
7045
+ ]
6935
7046
  }
6936
7047
  }
6937
7048
  ],
@@ -12684,6 +12795,48 @@
12684
12795
  "valueMapping": "event.currentTarget.open"
12685
12796
  }
12686
12797
  ]
12798
+ },
12799
+ "vividTesting": {
12800
+ "selectors": [
12801
+ {
12802
+ "name": "byHeadline",
12803
+ "args": [
12804
+ "byHeadline"
12805
+ ]
12806
+ }
12807
+ ],
12808
+ "actions": [
12809
+ {
12810
+ "name": "clickDismissButton",
12811
+ "args": [
12812
+ "click",
12813
+ "dismissButton"
12814
+ ]
12815
+ }
12816
+ ],
12817
+ "queries": [
12818
+ {
12819
+ "name": "open",
12820
+ "args": [
12821
+ "dialogOpen"
12822
+ ]
12823
+ },
12824
+ {
12825
+ "name": "headline",
12826
+ "args": [
12827
+ "headline"
12828
+ ]
12829
+ }
12830
+ ],
12831
+ "refs": [
12832
+ {
12833
+ "name": "dismissButton",
12834
+ "args": [
12835
+ "shadow",
12836
+ ".dismiss-button"
12837
+ ]
12838
+ }
12839
+ ]
12687
12840
  }
12688
12841
  }
12689
12842
  ],
@@ -24482,6 +24635,26 @@
24482
24635
  "valueMapping": "event.currentTarget.values"
24483
24636
  }
24484
24637
  ]
24638
+ },
24639
+ "vividTesting": {
24640
+ "selectors": [],
24641
+ "actions": [
24642
+ {
24643
+ "name": "toggleOptionsByValue",
24644
+ "args": [
24645
+ "toggleOptionsByValue"
24646
+ ]
24647
+ }
24648
+ ],
24649
+ "queries": [
24650
+ {
24651
+ "name": "values",
24652
+ "args": [
24653
+ "values"
24654
+ ]
24655
+ }
24656
+ ],
24657
+ "refs": []
24485
24658
  }
24486
24659
  }
24487
24660
  ],
@@ -25415,6 +25588,19 @@
25415
25588
  "valueMapping": "event.currentTarget.value"
25416
25589
  }
25417
25590
  ]
25591
+ },
25592
+ "vividTesting": {
25593
+ "selectors": [],
25594
+ "actions": [
25595
+ {
25596
+ "name": "selectOptionByText",
25597
+ "args": [
25598
+ "selectOptionByText"
25599
+ ]
25600
+ }
25601
+ ],
25602
+ "queries": [],
25603
+ "refs": []
25418
25604
  }
25419
25605
  }
25420
25606
  ],
@@ -25569,6 +25755,16 @@
25569
25755
  "description": "The type of control the box should have: checkbox or radio.",
25570
25756
  "privacy": "public"
25571
25757
  },
25758
+ {
25759
+ "kind": "field",
25760
+ "name": "controlPlacement",
25761
+ "type": {
25762
+ "text": "SelectableBoxControlPlacement"
25763
+ },
25764
+ "default": "'end-stacked'",
25765
+ "description": "Defines where the control (checkbox or radio) should be located.",
25766
+ "privacy": "public"
25767
+ },
25572
25768
  {
25573
25769
  "kind": "field",
25574
25770
  "name": "tight",
@@ -25671,6 +25867,15 @@
25671
25867
  "description": "The type of control the box should have: checkbox or radio.",
25672
25868
  "fieldName": "controlType"
25673
25869
  },
25870
+ {
25871
+ "name": "control-placement",
25872
+ "type": {
25873
+ "text": "SelectableBoxControlPlacement"
25874
+ },
25875
+ "default": "'end-stacked'",
25876
+ "description": "Defines where the control (checkbox or radio) should be located.",
25877
+ "fieldName": "controlPlacement"
25878
+ },
25674
25879
  {
25675
25880
  "name": "tight",
25676
25881
  "type": {
@@ -26814,6 +27019,10 @@
26814
27019
  "name": "--vvd-split-button-cta-faint",
26815
27020
  "default": "var(--vvd-color-cta-50)"
26816
27021
  },
27022
+ {
27023
+ "name": "--vvd-split-button-cta-fierce-primary",
27024
+ "default": "var(--vvd-color-cta-700)"
27025
+ },
26817
27026
  {
26818
27027
  "name": "--vvd-split-button-success-primary",
26819
27028
  "default": "var(--vvd-color-success-500)"
@@ -26846,6 +27055,10 @@
26846
27055
  "name": "--vvd-split-button-success-faint",
26847
27056
  "default": "var(--vvd-color-success-50)"
26848
27057
  },
27058
+ {
27059
+ "name": "--vvd-split-button-success-fierce-primary",
27060
+ "default": "var(--vvd-color-success-700)"
27061
+ },
26849
27062
  {
26850
27063
  "name": "--vvd-split-button-alert-primary",
26851
27064
  "default": "var(--vvd-color-alert-500)"
@@ -26878,6 +27091,10 @@
26878
27091
  "name": "--vvd-split-button-alert-faint",
26879
27092
  "default": "var(--vvd-color-alert-50)"
26880
27093
  },
27094
+ {
27095
+ "name": "--vvd-split-button-alert-fierce-primary",
27096
+ "default": "var(--vvd-color-alert-700)"
27097
+ },
26881
27098
  {
26882
27099
  "name": "--vvd-split-button-announcement-primary",
26883
27100
  "default": "var(--vvd-color-announcement-500)"
@@ -26910,6 +27127,10 @@
26910
27127
  "name": "--vvd-split-button-announcement-faint",
26911
27128
  "default": "var(--vvd-color-announcement-50)"
26912
27129
  },
27130
+ {
27131
+ "name": "--vvd-split-button-announcement-fierce-primary",
27132
+ "default": "var(--vvd-color-announcement-700)"
27133
+ },
26913
27134
  {
26914
27135
  "name": "--vvd-split-button-accent-primary",
26915
27136
  "default": "var(--vvd-color-canvas-text)"
@@ -26941,6 +27162,10 @@
26941
27162
  {
26942
27163
  "name": "--vvd-split-button-accent-faint",
26943
27164
  "default": "var(--vvd-color-neutral-50)"
27165
+ },
27166
+ {
27167
+ "name": "--vvd-split-button-accent-fierce-primary",
27168
+ "default": "var(--vvd-color-canvas-text)"
26944
27169
  }
26945
27170
  ],
26946
27171
  "slots": [
@@ -28903,13 +29128,21 @@
28903
29128
  "name": "Tag",
28904
29129
  "cssProperties": [
28905
29130
  {
28906
- "name": "--vvd-tag-cta-contrast",
28907
- "default": "var(--vvd-color-cta-800)"
29131
+ "name": "--vvd-tag-cta-primary",
29132
+ "default": "var(--vvd-color-cta-500)"
29133
+ },
29134
+ {
29135
+ "name": "--vvd-tag-cta-primary-text",
29136
+ "default": "var(--vvd-color-canvas)"
28908
29137
  },
28909
29138
  {
28910
29139
  "name": "--vvd-tag-cta-soft",
28911
29140
  "default": "var(--vvd-color-cta-100)"
28912
29141
  },
29142
+ {
29143
+ "name": "--vvd-tag-cta-contrast",
29144
+ "default": "var(--vvd-color-cta-800)"
29145
+ },
28913
29146
  {
28914
29147
  "name": "--vvd-tag-cta-pale",
28915
29148
  "default": "var(--vvd-color-cta-300)"
@@ -28918,6 +29151,10 @@
28918
29151
  "name": "--vvd-tag-cta-fierce",
28919
29152
  "default": "var(--vvd-color-cta-700)"
28920
29153
  },
29154
+ {
29155
+ "name": "--vvd-tag-cta-firm",
29156
+ "default": "var(--vvd-color-cta-600)"
29157
+ },
28921
29158
  {
28922
29159
  "name": "--vvd-tag-cta-firm-all",
28923
29160
  "default": "var(--vvd-color-cta-600)"
@@ -28931,13 +29168,21 @@
28931
29168
  "default": "var(--vvd-color-cta-200)"
28932
29169
  },
28933
29170
  {
28934
- "name": "--vvd-tag-accent-contrast",
28935
- "default": "var(--vvd-color-neutral-800)"
29171
+ "name": "--vvd-tag-accent-primary",
29172
+ "default": "var(--vvd-color-canvas-text)"
29173
+ },
29174
+ {
29175
+ "name": "--vvd-tag-accent-primary-text",
29176
+ "default": "var(--vvd-color-canvas)"
28936
29177
  },
28937
29178
  {
28938
29179
  "name": "--vvd-tag-accent-soft",
28939
29180
  "default": "var(--vvd-color-neutral-100)"
28940
29181
  },
29182
+ {
29183
+ "name": "--vvd-tag-accent-contrast",
29184
+ "default": "var(--vvd-color-neutral-800)"
29185
+ },
28941
29186
  {
28942
29187
  "name": "--vvd-tag-accent-pale",
28943
29188
  "default": "var(--vvd-color-neutral-300)"
@@ -28946,6 +29191,10 @@
28946
29191
  "name": "--vvd-tag-accent-fierce",
28947
29192
  "default": "var(--vvd-color-neutral-700)"
28948
29193
  },
29194
+ {
29195
+ "name": "--vvd-tag-accent-firm",
29196
+ "default": "var(--vvd-color-canvas-text)"
29197
+ },
28949
29198
  {
28950
29199
  "name": "--vvd-tag-accent-firm-all",
28951
29200
  "default": "var(--vvd-color-neutral-600)"
@@ -30291,6 +30540,28 @@
30291
30540
  "valueMapping": "event.currentTarget.value"
30292
30541
  }
30293
30542
  ]
30543
+ },
30544
+ "vividTesting": {
30545
+ "selectors": [],
30546
+ "actions": [
30547
+ {
30548
+ "name": "fill",
30549
+ "args": [
30550
+ "fill",
30551
+ "control"
30552
+ ]
30553
+ }
30554
+ ],
30555
+ "queries": [],
30556
+ "refs": [
30557
+ {
30558
+ "name": "control",
30559
+ "args": [
30560
+ "shadow",
30561
+ ".control"
30562
+ ]
30563
+ }
30564
+ ]
30294
30565
  }
30295
30566
  }
30296
30567
  ],
@@ -31248,6 +31519,29 @@
31248
31519
  "valueMapping": "event.currentTarget.value"
31249
31520
  }
31250
31521
  ]
31522
+ },
31523
+ "vividTesting": {
31524
+ "selectors": [],
31525
+ "actions": [
31526
+ {
31527
+ "name": "fill",
31528
+ "args": [
31529
+ "fill",
31530
+ "control"
31531
+ ]
31532
+ }
31533
+ ],
31534
+ "queries": [],
31535
+ "refs": [
31536
+ {
31537
+ "name": "control",
31538
+ "args": [
31539
+ "light",
31540
+ "input[slot=\"_control\"]",
31541
+ "HTMLInputElement"
31542
+ ]
31543
+ }
31544
+ ]
31251
31545
  }
31252
31546
  }
31253
31547
  ],
@@ -32663,6 +32957,26 @@
32663
32957
  "vividComponent": {
32664
32958
  "public": true,
32665
32959
  "name": "tooltip"
32960
+ },
32961
+ "vividTesting": {
32962
+ "selectors": [
32963
+ {
32964
+ "name": "byText",
32965
+ "args": [
32966
+ "byText"
32967
+ ]
32968
+ }
32969
+ ],
32970
+ "actions": [],
32971
+ "queries": [
32972
+ {
32973
+ "name": "open",
32974
+ "args": [
32975
+ "open"
32976
+ ]
32977
+ }
32978
+ ],
32979
+ "refs": []
32666
32980
  }
32667
32981
  }
32668
32982
  ],
@@ -35229,7 +35543,20 @@
35229
35543
  "default": "false",
35230
35544
  "fieldName": "required"
35231
35545
  }
35232
- ]
35546
+ ],
35547
+ "vividTesting": {
35548
+ "selectors": [],
35549
+ "actions": [],
35550
+ "queries": [
35551
+ {
35552
+ "name": "value",
35553
+ "args": [
35554
+ "value"
35555
+ ]
35556
+ }
35557
+ ],
35558
+ "refs": []
35559
+ }
35233
35560
  },
35234
35561
  {
35235
35562
  "kind": "mixin",
@@ -36009,6 +36336,19 @@
36009
36336
  "name": "FASTElement",
36010
36337
  "package": "@microsoft/fast-element"
36011
36338
  },
36339
+ "vividTesting": {
36340
+ "selectors": [],
36341
+ "actions": [
36342
+ {
36343
+ "name": "hover",
36344
+ "args": [
36345
+ "hover"
36346
+ ]
36347
+ }
36348
+ ],
36349
+ "queries": [],
36350
+ "refs": []
36351
+ },
36012
36352
  "customElement": true
36013
36353
  }
36014
36354
  ],
@@ -36707,7 +37047,27 @@
36707
37047
  "description": "The label for the form element.",
36708
37048
  "fieldName": "label"
36709
37049
  }
36710
- ]
37050
+ ],
37051
+ "vividTesting": {
37052
+ "selectors": [
37053
+ {
37054
+ "name": "byLabel",
37055
+ "args": [
37056
+ "byLabel"
37057
+ ]
37058
+ }
37059
+ ],
37060
+ "actions": [],
37061
+ "queries": [
37062
+ {
37063
+ "name": "visibleError",
37064
+ "args": [
37065
+ "visibleError"
37066
+ ]
37067
+ }
37068
+ ],
37069
+ "refs": []
37070
+ }
36711
37071
  }
36712
37072
  ],
36713
37073
  "exports": [
@@ -1,7 +1,8 @@
1
- import type { Size } from '../enums.js';
1
+ import type { Appearance, Size } from '../enums';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  import type { ExtractFromEnum } from '../../shared/utils/enums';
4
4
  export type AccordionItemSize = ExtractFromEnum<Size, Size.Condensed | Size.Normal>;
5
+ export type AccordionItemAppearance = ExtractFromEnum<Appearance, Appearance.Ghost | Appearance.Filled | Appearance.GhostLight>;
5
6
  declare const AccordionItem_base: {
6
7
  new (...args: any[]): {
7
8
  iconTrailing: boolean;
@@ -344,6 +345,7 @@ declare const AccordionItem_base: {
344
345
  } & typeof VividElement;
345
346
  export declare class AccordionItem extends AccordionItem_base {
346
347
  headinglevel: 1 | 2 | 3 | 4 | 5 | 6;
348
+ appearance?: AccordionItemAppearance;
347
349
  expanded: boolean;
348
350
  id: string;
349
351
  heading?: string;
@@ -1,7 +1,7 @@
1
1
  import type { Appearance, Connotation, Shape, Size } from '../enums.js';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  import type { ExtractFromEnum } from '../../shared/utils/enums';
4
- export type BadgeConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information>;
4
+ export type BadgeConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Success | Connotation.Alert | Connotation.Warning | Connotation.Information | Connotation.Announcement>;
5
5
  export type BadgeAppearance = ExtractFromEnum<Appearance, Appearance.Filled | Appearance.Duotone | Appearance.Subtle | Appearance.SubtleLight>;
6
6
  export type BadgeShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
7
7
  export type BadgeSize = ExtractFromEnum<Size, Size.Normal | Size.Expanded>;
@@ -812,7 +812,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
812
812
  _toPresentationValue(value: string): string;
813
813
  _parsePresentationValue(presentationValue: string): string;
814
814
  _isInternalValueUpdate: boolean;
815
- _updateValueDueToUserInteraction(newValue: string): void;
815
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
816
816
  _isPresentationValueInvalid(): boolean;
817
817
  }) & (abstract new (...args: any[]) => {
818
818
  _isValidValue(value: string): boolean;
@@ -821,7 +821,7 @@ declare const DatePicker_base: (abstract new (...args: any[]) => {
821
821
  _isInternalValueUpdate: boolean;
822
822
  valueChanged(previous: string, next: string): void;
823
823
  _updatePresentationValue(): void;
824
- _updateValueDueToUserInteraction(newValue: string): void;
824
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
825
825
  _onTextFieldChange(): void;
826
826
  _onTextFieldInput(event: Event): void;
827
827
  _isPresentationValueInvalid(): boolean;
@@ -28,7 +28,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
28
28
  _isInternalValueUpdate: boolean;
29
29
  valueChanged: ((previous: string, next: string) => void) & ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
30
30
  _updatePresentationValue: (() => void) & (() => void);
31
- _updateValueDueToUserInteraction(newValue: string): void;
31
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
32
32
  _onTextFieldChange: (() => void) & (() => void);
33
33
  _onTextFieldInput: ((event: Event) => void) & ((event: Event) => void);
34
34
  _isPresentationValueInvalid(): boolean;
@@ -1602,7 +1602,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
1602
1602
  _toPresentationValue(value: string): string;
1603
1603
  _parsePresentationValue(presentationValue: string): string;
1604
1604
  _isInternalValueUpdate: boolean;
1605
- _updateValueDueToUserInteraction(newValue: string): void;
1605
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
1606
1606
  _isPresentationValueInvalid(): boolean;
1607
1607
  }) & (abstract new (...args: any[]) => {
1608
1608
  _isValidValue(value: string): boolean;
@@ -1611,7 +1611,7 @@ declare const DateTimePicker_base: (abstract new (...args: any[]) => {
1611
1611
  _isInternalValueUpdate: boolean;
1612
1612
  valueChanged(previous: string, next: string): void;
1613
1613
  _updatePresentationValue(): void;
1614
- _updateValueDueToUserInteraction(newValue: string): void;
1614
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
1615
1615
  _onTextFieldChange(): void;
1616
1616
  _onTextFieldInput(event: Event): void;
1617
1617
  _isPresentationValueInvalid(): boolean;
@@ -2,6 +2,7 @@ import type { Connotation } from '../enums.js';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  export type SelectableBoxConnotation = Connotation.Accent | Connotation.CTA;
4
4
  export type SelectableBoxControlType = 'checkbox' | 'radio';
5
+ export type SelectableBoxControlPlacement = 'start' | 'start-stacked' | 'end' | 'end-stacked';
5
6
  declare const SelectableBox_base: {
6
7
  new (...args: any[]): {
7
8
  _vividAriaBehaviour: "delegate";
@@ -345,6 +346,7 @@ export declare class SelectableBox extends SelectableBox_base {
345
346
  clickableBox: boolean;
346
347
  connotation?: SelectableBoxConnotation;
347
348
  controlType?: SelectableBoxControlType;
349
+ controlPlacement: SelectableBoxControlPlacement;
348
350
  tight: boolean;
349
351
  }
350
352
  export {};
@@ -2,7 +2,7 @@ import type { Appearance, Connotation, Shape, Size } from '../enums.js';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  import type { ExtractFromEnum } from '../../shared/utils/enums';
4
4
  export type SplitButtonConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.Announcement | Connotation.CTA | Connotation.Success | Connotation.Alert>;
5
- export type SplitButtonAppearance = ExtractFromEnum<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
5
+ export type SplitButtonAppearance = ExtractFromEnum<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost | Appearance.OutlinedLight>;
6
6
  export type SplitButtonShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
7
7
  export type SplitButtonSize = ExtractFromEnum<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
8
8
  declare const SplitButton_base: {
package/lib/tag/tag.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { Appearance, Connotation, Shape } from '../enums.js';
2
2
  import { VividElement } from '../../shared/foundation/vivid-element/vivid-element';
3
3
  import type { ExtractFromEnum } from '../../shared/utils/enums';
4
4
  export type TagConnotation = ExtractFromEnum<Connotation, Connotation.Accent | Connotation.CTA>;
5
- export type TagAppearance = ExtractFromEnum<Appearance, Appearance.Subtle | Appearance.Duotone>;
5
+ export type TagAppearance = ExtractFromEnum<Appearance, Appearance.Subtle | Appearance.Duotone | Appearance.SubtleLight>;
6
6
  export type TagShape = ExtractFromEnum<Shape, Shape.Rounded | Shape.Pill>;
7
7
  declare const Tag_base: {
8
8
  new (...args: any[]): {
@@ -30,7 +30,7 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
30
30
  _isInternalValueUpdate: boolean;
31
31
  valueChanged: ((previous: string, next: string) => void) & ((_previous: string, _next: string) => void) & ((_previous: string, _next: string) => void);
32
32
  _updatePresentationValue: (() => void) & (() => void);
33
- _updateValueDueToUserInteraction(newValue: string): void;
33
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
34
34
  _onTextFieldChange: (() => void) & (() => void);
35
35
  _onTextFieldInput: ((event: Event) => void) & ((event: Event) => void);
36
36
  _isPresentationValueInvalid(): boolean;
@@ -798,7 +798,7 @@ declare const TimePicker_base: (abstract new (...args: any[]) => {
798
798
  _isInternalValueUpdate: boolean;
799
799
  valueChanged(previous: string, next: string): void;
800
800
  _updatePresentationValue(): void;
801
- _updateValueDueToUserInteraction(newValue: string): void;
801
+ _updateValueDueToUserInteraction(newValue: string, isIntermediateUpdate: boolean): void;
802
802
  _onTextFieldChange(): void;
803
803
  _onTextFieldInput(event: Event): void;
804
804
  _isPresentationValueInvalid(): boolean;