@vonage/vivid 3.29.0 → 3.31.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 (87) hide show
  1. package/custom-elements.json +424 -2
  2. package/index.js +13 -12
  3. package/lib/components.d.ts +1 -0
  4. package/lib/icon/icon.d.ts +1 -1
  5. package/lib/nav-disclosure/nav-disclosure.d.ts +1 -0
  6. package/lib/pagination/definition.d.ts +1 -0
  7. package/lib/pagination/pagination.d.ts +3 -1
  8. package/lib/split-button/definition.d.ts +2 -0
  9. package/lib/split-button/index.d.ts +1 -0
  10. package/lib/split-button/split-button.d.ts +25 -0
  11. package/lib/split-button/split-button.template.d.ts +4 -0
  12. package/listbox/index.js +1 -1
  13. package/package.json +1 -1
  14. package/shared/definition.js +1 -1
  15. package/shared/definition10.js +1 -1
  16. package/shared/definition11.js +1 -1
  17. package/shared/definition12.js +1 -1
  18. package/shared/definition14.js +1 -1
  19. package/shared/definition15.js +1 -1
  20. package/shared/definition16.js +1 -1
  21. package/shared/definition17.js +1 -1
  22. package/shared/definition18.js +1 -1
  23. package/shared/definition19.js +1 -1
  24. package/shared/definition2.js +1 -1
  25. package/shared/definition21.js +1 -1
  26. package/shared/definition22.js +2 -2
  27. package/shared/definition23.js +1 -1
  28. package/shared/definition24.js +1 -1
  29. package/shared/definition25.js +1 -1
  30. package/shared/definition26.js +1 -1
  31. package/shared/definition27.js +1 -1
  32. package/shared/definition28.js +1 -1
  33. package/shared/definition30.js +1 -1
  34. package/shared/definition31.js +1 -1
  35. package/shared/definition33.js +9 -2
  36. package/shared/definition34.js +1 -1
  37. package/shared/definition35.js +1 -1
  38. package/shared/definition36.js +1 -1
  39. package/shared/definition37.js +16 -3
  40. package/shared/definition38.js +1 -1
  41. package/shared/definition39.js +1 -1
  42. package/shared/definition4.js +1 -1
  43. package/shared/definition40.js +1 -1
  44. package/shared/definition41.js +1 -1
  45. package/shared/definition42.js +1 -1
  46. package/shared/definition43.js +1 -1
  47. package/shared/definition44.js +91 -126
  48. package/shared/definition45.js +123 -49
  49. package/shared/definition46.js +56 -16
  50. package/shared/definition47.js +16 -483
  51. package/shared/definition48.js +476 -96
  52. package/shared/definition49.js +108 -16
  53. package/shared/definition5.js +1 -1
  54. package/shared/definition50.js +15 -270
  55. package/shared/definition51.js +245 -89
  56. package/shared/definition52.js +113 -120
  57. package/shared/definition53.js +91 -82
  58. package/shared/definition54.js +111 -65
  59. package/shared/definition55.js +64 -291
  60. package/shared/definition56.js +303 -0
  61. package/shared/definition6.js +1 -1
  62. package/shared/definition7.js +1 -1
  63. package/shared/definition9.js +1 -1
  64. package/shared/form-elements.js +1 -1
  65. package/shared/icon.js +1 -1
  66. package/shared/patterns/form-elements/form-elements.d.ts +4 -4
  67. package/shared/text-field.js +1 -1
  68. package/split-button/index.js +15 -0
  69. package/styles/core/all.css +1 -1
  70. package/styles/core/theme.css +1 -1
  71. package/styles/core/typography.css +1 -1
  72. package/styles/tokens/theme-dark.css +4 -4
  73. package/styles/tokens/theme-light.css +4 -4
  74. package/styles/tokens/vivid-2-compat.css +14 -0
  75. package/switch/index.js +1 -1
  76. package/tab/index.js +1 -1
  77. package/tab-panel/index.js +1 -1
  78. package/tabs/index.js +3 -3
  79. package/tag/index.js +1 -1
  80. package/tag-group/index.js +1 -1
  81. package/text-area/index.js +1 -1
  82. package/text-field/index.js +1 -1
  83. package/toggletip/index.js +1 -1
  84. package/tooltip/index.js +1 -1
  85. package/tree-item/index.js +1 -1
  86. package/tree-view/index.js +1 -1
  87. package/vivid.api.json +412 -0
@@ -4926,7 +4926,7 @@
4926
4926
  "type": {
4927
4927
  "text": "string"
4928
4928
  },
4929
- "default": "'4.2.2'"
4929
+ "default": "'4.2.3'"
4930
4930
  },
4931
4931
  {
4932
4932
  "kind": "class",
@@ -5966,6 +5966,10 @@
5966
5966
  "name": "--vvd-nav-disclosure-accent-primary-text",
5967
5967
  "default": "var(--vvd-color-canvas)"
5968
5968
  },
5969
+ {
5970
+ "name": "--vvd-nav-disclosure-accent-primary-increment",
5971
+ "default": "var(--vvd-color-neutral-800)"
5972
+ },
5969
5973
  {
5970
5974
  "name": "--vvd-nav-disclosure-accent-faint",
5971
5975
  "default": "var(--vvd-color-neutral-50)"
@@ -6012,6 +6016,14 @@
6012
6016
  "description": "Indicates whether the nav-disclosure is open",
6013
6017
  "privacy": "public"
6014
6018
  },
6019
+ {
6020
+ "kind": "field",
6021
+ "name": "ariaCurrent",
6022
+ "type": {
6023
+ "text": "string | null"
6024
+ },
6025
+ "default": "null"
6026
+ },
6015
6027
  {
6016
6028
  "kind": "field",
6017
6029
  "name": "#onToggle",
@@ -6039,6 +6051,14 @@
6039
6051
  "default": "false",
6040
6052
  "description": "Indicates whether the nav-disclosure is open",
6041
6053
  "fieldName": "open"
6054
+ },
6055
+ {
6056
+ "name": "aria-current",
6057
+ "type": {
6058
+ "text": "string | null"
6059
+ },
6060
+ "default": "null",
6061
+ "fieldName": "ariaCurrent"
6042
6062
  }
6043
6063
  ],
6044
6064
  "superclass": {
@@ -6744,6 +6764,22 @@
6744
6764
  }
6745
6765
  ],
6746
6766
  "exports": [
6767
+ {
6768
+ "kind": "js",
6769
+ "name": "PaginationShape",
6770
+ "declaration": {
6771
+ "name": "PaginationShape",
6772
+ "module": "./pagination"
6773
+ }
6774
+ },
6775
+ {
6776
+ "kind": "js",
6777
+ "name": "PaginationSize",
6778
+ "declaration": {
6779
+ "name": "PaginationSize",
6780
+ "module": "./pagination"
6781
+ }
6782
+ },
6747
6783
  {
6748
6784
  "kind": "js",
6749
6785
  "name": "paginationDefinition",
@@ -6776,7 +6812,18 @@
6776
6812
  "name": "size",
6777
6813
  "type": {
6778
6814
  "text": "PaginationSize | undefined"
6779
- }
6815
+ },
6816
+ "description": "The size the pagination should have.",
6817
+ "privacy": "public"
6818
+ },
6819
+ {
6820
+ "kind": "field",
6821
+ "name": "shape",
6822
+ "type": {
6823
+ "text": "PaginationShape | undefined"
6824
+ },
6825
+ "description": "The shape the pagination should have.",
6826
+ "privacy": "public"
6780
6827
  },
6781
6828
  {
6782
6829
  "kind": "field",
@@ -6889,8 +6936,17 @@
6889
6936
  "type": {
6890
6937
  "text": "PaginationSize | undefined"
6891
6938
  },
6939
+ "description": "The size the pagination should have.",
6892
6940
  "fieldName": "size"
6893
6941
  },
6942
+ {
6943
+ "name": "shape",
6944
+ "type": {
6945
+ "text": "PaginationShape | undefined"
6946
+ },
6947
+ "description": "The shape the pagination should have.",
6948
+ "fieldName": "shape"
6949
+ },
6894
6950
  {
6895
6951
  "name": "nav-icons",
6896
6952
  "type": {
@@ -8269,6 +8325,372 @@
8269
8325
  }
8270
8326
  ]
8271
8327
  },
8328
+ {
8329
+ "kind": "javascript-module",
8330
+ "path": "libs/components/src/lib/split-button/definition.ts",
8331
+ "declarations": [
8332
+ {
8333
+ "kind": "variable",
8334
+ "name": "registerSplitButton",
8335
+ "description": "Registers the button elements with the design system.",
8336
+ "parameters": [
8337
+ {
8338
+ "description": "the prefix to use for the component name",
8339
+ "name": "prefix"
8340
+ }
8341
+ ]
8342
+ }
8343
+ ],
8344
+ "exports": [
8345
+ {
8346
+ "kind": "js",
8347
+ "name": "SplitButtonAppearance",
8348
+ "declaration": {
8349
+ "name": "SplitButtonAppearance",
8350
+ "module": "./split-button"
8351
+ }
8352
+ },
8353
+ {
8354
+ "kind": "js",
8355
+ "name": "SplitButtonConnotation",
8356
+ "declaration": {
8357
+ "name": "SplitButtonConnotation",
8358
+ "module": "./split-button"
8359
+ }
8360
+ },
8361
+ {
8362
+ "kind": "js",
8363
+ "name": "SplitButtonShape",
8364
+ "declaration": {
8365
+ "name": "SplitButtonShape",
8366
+ "module": "./split-button"
8367
+ }
8368
+ },
8369
+ {
8370
+ "kind": "js",
8371
+ "name": "SplitButtonSize",
8372
+ "declaration": {
8373
+ "name": "SplitButtonSize",
8374
+ "module": "./split-button"
8375
+ }
8376
+ },
8377
+ {
8378
+ "kind": "js",
8379
+ "name": "registerSplitButton",
8380
+ "declaration": {
8381
+ "name": "registerSplitButton",
8382
+ "module": "libs/components/src/lib/split-button/definition.ts"
8383
+ }
8384
+ }
8385
+ ]
8386
+ },
8387
+ {
8388
+ "kind": "javascript-module",
8389
+ "path": "libs/components/src/lib/split-button/split-button.ts",
8390
+ "declarations": [
8391
+ {
8392
+ "kind": "class",
8393
+ "description": "Base class for split button",
8394
+ "name": "SplitButton",
8395
+ "cssProperties": [
8396
+ {
8397
+ "name": "--vvd-split-button-cta-primary",
8398
+ "default": "var(--vvd-color-cta-500)"
8399
+ },
8400
+ {
8401
+ "name": "--vvd-split-button-cta-primary-text",
8402
+ "default": "var(--vvd-color-canvas)"
8403
+ },
8404
+ {
8405
+ "name": "--vvd-split-button-cta-primary-increment",
8406
+ "default": "var(--vvd-color-cta-600)"
8407
+ },
8408
+ {
8409
+ "name": "--vvd-split-button-cta-contrast",
8410
+ "default": "var(--vvd-color-cta-800)"
8411
+ },
8412
+ {
8413
+ "name": "--vvd-split-button-cta-fierce",
8414
+ "default": "var(--vvd-color-cta-700)"
8415
+ },
8416
+ {
8417
+ "name": "--vvd-split-button-cta-firm",
8418
+ "default": "var(--vvd-color-cta-600)"
8419
+ },
8420
+ {
8421
+ "name": "--vvd-split-button-cta-soft",
8422
+ "default": "var(--vvd-color-cta-100)"
8423
+ },
8424
+ {
8425
+ "name": "--vvd-split-button-cta-faint",
8426
+ "default": "var(--vvd-color-cta-50)"
8427
+ },
8428
+ {
8429
+ "name": "--vvd-split-button-accent-primary",
8430
+ "default": "var(--vvd-color-canvas-text)"
8431
+ },
8432
+ {
8433
+ "name": "--vvd-split-button-accent-primary-text",
8434
+ "default": "var(--vvd-color-canvas)"
8435
+ },
8436
+ {
8437
+ "name": "--vvd-split-button-accent-primary-increment",
8438
+ "default": "var(--vvd-color-neutral-800)"
8439
+ },
8440
+ {
8441
+ "name": "--vvd-split-button-accent-contrast",
8442
+ "default": "var(--vvd-color-neutral-800)"
8443
+ },
8444
+ {
8445
+ "name": "--vvd-split-button-accent-fierce",
8446
+ "default": "var(--vvd-color-neutral-700)"
8447
+ },
8448
+ {
8449
+ "name": "--vvd-split-button-accent-firm",
8450
+ "default": "var(--vvd-color-canvas-text)"
8451
+ },
8452
+ {
8453
+ "name": "--vvd-split-button-accent-soft",
8454
+ "default": "var(--vvd-color-neutral-100)"
8455
+ },
8456
+ {
8457
+ "name": "--vvd-split-button-accent-faint",
8458
+ "default": "var(--vvd-color-neutral-50)"
8459
+ }
8460
+ ],
8461
+ "slots": [
8462
+ {
8463
+ "description": "Default slot.",
8464
+ "name": ""
8465
+ }
8466
+ ],
8467
+ "members": [
8468
+ {
8469
+ "kind": "field",
8470
+ "name": "_action",
8471
+ "type": {
8472
+ "text": "HTMLButtonElement"
8473
+ },
8474
+ "description": "Action HTML button element",
8475
+ "privacy": "public"
8476
+ },
8477
+ {
8478
+ "kind": "field",
8479
+ "name": "action",
8480
+ "type": {
8481
+ "text": "HTMLButtonElement"
8482
+ },
8483
+ "readonly": true
8484
+ },
8485
+ {
8486
+ "kind": "field",
8487
+ "name": "_indicator",
8488
+ "type": {
8489
+ "text": "HTMLButtonElement"
8490
+ },
8491
+ "description": "Indicator HTML button element",
8492
+ "privacy": "public"
8493
+ },
8494
+ {
8495
+ "kind": "field",
8496
+ "name": "indicator",
8497
+ "type": {
8498
+ "text": "HTMLButtonElement"
8499
+ },
8500
+ "readonly": true
8501
+ },
8502
+ {
8503
+ "kind": "field",
8504
+ "name": "connotation",
8505
+ "type": {
8506
+ "text": "SplitButtonConnotation | undefined"
8507
+ },
8508
+ "description": "The connotation the split button should have.",
8509
+ "privacy": "public"
8510
+ },
8511
+ {
8512
+ "kind": "field",
8513
+ "name": "shape",
8514
+ "type": {
8515
+ "text": "SplitButtonShape | undefined"
8516
+ },
8517
+ "description": "The shape the split button should have.",
8518
+ "privacy": "public"
8519
+ },
8520
+ {
8521
+ "kind": "field",
8522
+ "name": "appearance",
8523
+ "type": {
8524
+ "text": "SplitButtonAppearance | undefined"
8525
+ },
8526
+ "description": "The appearance the split button should have.",
8527
+ "privacy": "public"
8528
+ },
8529
+ {
8530
+ "kind": "field",
8531
+ "name": "size",
8532
+ "type": {
8533
+ "text": "SplitButtonSize | undefined"
8534
+ },
8535
+ "description": "The size the split button should have.",
8536
+ "privacy": "public"
8537
+ },
8538
+ {
8539
+ "kind": "field",
8540
+ "name": "label",
8541
+ "type": {
8542
+ "text": "string | undefined"
8543
+ },
8544
+ "description": "Indicates the split button's label.",
8545
+ "privacy": "public"
8546
+ },
8547
+ {
8548
+ "kind": "field",
8549
+ "name": "icon",
8550
+ "type": {
8551
+ "text": "string | undefined"
8552
+ },
8553
+ "description": "Indicates the split button's icon.",
8554
+ "privacy": "public"
8555
+ },
8556
+ {
8557
+ "kind": "field",
8558
+ "name": "splitIndicator",
8559
+ "type": {
8560
+ "text": "string"
8561
+ },
8562
+ "default": "'chevron-down-line'",
8563
+ "description": "Indicates the split button's icon indicator.",
8564
+ "privacy": "public"
8565
+ },
8566
+ {
8567
+ "kind": "field",
8568
+ "name": "disabled",
8569
+ "type": {
8570
+ "text": "boolean"
8571
+ },
8572
+ "default": "false",
8573
+ "description": "Indicates if the button is disabled.",
8574
+ "privacy": "public"
8575
+ },
8576
+ {
8577
+ "kind": "field",
8578
+ "name": "ariaLabel",
8579
+ "type": {
8580
+ "text": "string | null"
8581
+ },
8582
+ "default": "null"
8583
+ },
8584
+ {
8585
+ "kind": "field",
8586
+ "name": "ariaExpanded",
8587
+ "type": {
8588
+ "text": "string | null"
8589
+ },
8590
+ "default": "null"
8591
+ }
8592
+ ],
8593
+ "attributes": [
8594
+ {
8595
+ "name": "connotation",
8596
+ "type": {
8597
+ "text": "SplitButtonConnotation | undefined"
8598
+ },
8599
+ "description": "The connotation the split button should have.",
8600
+ "fieldName": "connotation"
8601
+ },
8602
+ {
8603
+ "name": "shape",
8604
+ "type": {
8605
+ "text": "SplitButtonShape | undefined"
8606
+ },
8607
+ "description": "The shape the split button should have.",
8608
+ "fieldName": "shape"
8609
+ },
8610
+ {
8611
+ "name": "appearance",
8612
+ "type": {
8613
+ "text": "SplitButtonAppearance | undefined"
8614
+ },
8615
+ "description": "The appearance the split button should have.",
8616
+ "fieldName": "appearance"
8617
+ },
8618
+ {
8619
+ "name": "size",
8620
+ "type": {
8621
+ "text": "SplitButtonSize | undefined"
8622
+ },
8623
+ "description": "The size the split button should have.",
8624
+ "fieldName": "size"
8625
+ },
8626
+ {
8627
+ "name": "label",
8628
+ "type": {
8629
+ "text": "string | undefined"
8630
+ },
8631
+ "description": "Indicates the split button's label.",
8632
+ "fieldName": "label"
8633
+ },
8634
+ {
8635
+ "name": "icon",
8636
+ "type": {
8637
+ "text": "string | undefined"
8638
+ },
8639
+ "description": "Indicates the split button's icon.",
8640
+ "fieldName": "icon"
8641
+ },
8642
+ {
8643
+ "name": "split-indicator",
8644
+ "type": {
8645
+ "text": "string"
8646
+ },
8647
+ "default": "'chevron-down-line'",
8648
+ "description": "Indicates the split button's icon indicator.",
8649
+ "fieldName": "splitIndicator"
8650
+ },
8651
+ {
8652
+ "name": "disabled",
8653
+ "type": {
8654
+ "text": "boolean"
8655
+ },
8656
+ "default": "false",
8657
+ "description": "Indicates if the button is disabled.",
8658
+ "fieldName": "disabled"
8659
+ },
8660
+ {
8661
+ "name": "aria-label",
8662
+ "type": {
8663
+ "text": "string | null"
8664
+ },
8665
+ "default": "null",
8666
+ "fieldName": "ariaLabel"
8667
+ },
8668
+ {
8669
+ "name": "aria-expanded",
8670
+ "type": {
8671
+ "text": "string | null"
8672
+ },
8673
+ "default": "null",
8674
+ "fieldName": "ariaExpanded"
8675
+ }
8676
+ ],
8677
+ "superclass": {
8678
+ "name": "FoundationElement",
8679
+ "package": "@microsoft/fast-foundation"
8680
+ }
8681
+ }
8682
+ ],
8683
+ "exports": [
8684
+ {
8685
+ "kind": "js",
8686
+ "name": "SplitButton",
8687
+ "declaration": {
8688
+ "name": "SplitButton",
8689
+ "module": "libs/components/src/lib/split-button/split-button.ts"
8690
+ }
8691
+ }
8692
+ ]
8693
+ },
8272
8694
  {
8273
8695
  "kind": "javascript-module",
8274
8696
  "path": "libs/components/src/lib/switch/definition.ts",
package/index.js CHANGED
@@ -37,18 +37,19 @@ export { a as radioGroupDefinition, b as radioGroupRegistries, r as registerRadi
37
37
  export { r as registerSelect, s as selectDefinition, a as selectRegistries } from './shared/definition41.js';
38
38
  export { r as registerSideDrawer, s as sideDrawerDefinition, a as sideDrawerRegistries } from './shared/definition42.js';
39
39
  export { r as registerSlider, s as sliderDefinition, a as sliderRegistries } from './shared/definition43.js';
40
- export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition44.js';
41
- export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition51.js';
42
- export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition50.js';
43
- export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/definition52.js';
44
- export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition53.js';
45
- export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition47.js';
46
- export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/definition45.js';
47
- export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/definition46.js';
48
- export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition55.js';
49
- export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition54.js';
50
- export { r as registerTag, t as tagDefinition } from './shared/definition48.js';
51
- export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition49.js';
40
+ export { r as registerSplitButton, s as splitButtonDefinition, a as splitButtonRegistries } from './shared/definition44.js';
41
+ export { r as registerSwitch, s as switchDefinition, a as switchRegistries } from './shared/definition45.js';
42
+ export { r as registerTextField, t as textFieldDefinition, a as textFieldRegistries } from './shared/definition52.js';
43
+ export { r as registerTextArea, t as textAreaDefinition, a as textAreaRegistries } from './shared/definition51.js';
44
+ export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistries } from './shared/definition53.js';
45
+ export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition54.js';
46
+ export { r as registerTabs, t as tabsDefinition, a as tabsRegistries } from './shared/definition48.js';
47
+ export { r as registerTab, a as tabDefinition, t as tabRegistries } from './shared/definition46.js';
48
+ export { r as registerTabPanel, a as tabPanelDefinition, t as tabPanelRegistries } from './shared/definition47.js';
49
+ export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition56.js';
50
+ export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition55.js';
51
+ export { r as registerTag, t as tagDefinition } from './shared/definition49.js';
52
+ export { r as registerTagGroup, t as tagGroupDefinition, a as tagGroupRegistries } from './shared/definition50.js';
52
53
  export { f as filePickerDefinition, a as filePickerRegistries, r as registerFilePicker } from './shared/definition27.js';
53
54
  export { j as designSystem, r as registerFactory } from './shared/index.js';
54
55
  import './shared/key-codes.js';
@@ -37,6 +37,7 @@ export * from './radio-group/definition';
37
37
  export * from './select/definition';
38
38
  export * from './side-drawer/definition';
39
39
  export * from './slider/definition';
40
+ export * from './split-button/definition';
40
41
  export * from './switch/definition';
41
42
  export * from './text-field/definition';
42
43
  export * from './text-area/definition';
@@ -1,6 +1,6 @@
1
1
  import { FoundationElement } from '@microsoft/fast-foundation';
2
2
  import type { Connotation } from '../enums';
3
- export declare const ICON_SET_VERSION = "4.2.2";
3
+ export declare const ICON_SET_VERSION = "4.2.3";
4
4
  export type IconConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA | Connotation.Announcement | Connotation.Success | Connotation.Alert | Connotation.Information>;
5
5
  export declare class Icon extends FoundationElement {
6
6
  connotation?: IconConnotation;
@@ -5,6 +5,7 @@ export declare class NavDisclosure extends FoundationElement {
5
5
  details: HTMLDetailsElement;
6
6
  label?: string;
7
7
  open: boolean;
8
+ ariaCurrent: string | null;
8
9
  }
9
10
  export interface NavDisclosure extends AffixIcon {
10
11
  }
@@ -1,3 +1,4 @@
1
1
  import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
2
+ export type { PaginationShape, PaginationSize } from './pagination';
2
3
  export declare const paginationDefinition: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
3
4
  export declare const registerPagination: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
@@ -1,9 +1,11 @@
1
1
  import { FoundationElement } from '@microsoft/fast-foundation';
2
- import type { Size } from '../enums';
2
+ import type { Shape, Size } from '../enums';
3
3
  import type { Button } from '../button/button';
4
4
  export type PaginationSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal>;
5
+ export type PaginationShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
5
6
  export declare class Pagination extends FoundationElement {
6
7
  size?: PaginationSize;
8
+ shape?: PaginationShape;
7
9
  paginationButtons?: Button[];
8
10
  prevButton?: Button;
9
11
  nextButton?: Button;
@@ -0,0 +1,2 @@
1
+ export type { SplitButtonAppearance, SplitButtonConnotation, SplitButtonShape, SplitButtonSize } from './split-button';
2
+ export declare const registerSplitButton: (prefix?: string) => import("@microsoft/fast-foundation").DesignSystem;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import { FoundationElement } from '@microsoft/fast-foundation';
2
+ import type { Appearance, Connotation, Shape, Size } from '../enums.js';
3
+ import { AffixIcon } from '../../shared/patterns/affix';
4
+ export type SplitButtonConnotation = Extract<Connotation, Connotation.Accent | Connotation.CTA>;
5
+ export type SplitButtonAppearance = Extract<Appearance, Appearance.Filled | Appearance.Outlined | Appearance.Ghost>;
6
+ export type SplitButtonShape = Extract<Shape, Shape.Rounded | Shape.Pill>;
7
+ export type SplitButtonSize = Extract<Size, Size.SuperCondensed | Size.Condensed | Size.Normal | Size.Expanded>;
8
+ export declare class SplitButton extends FoundationElement {
9
+ _action: HTMLButtonElement;
10
+ get action(): HTMLButtonElement;
11
+ _indicator: HTMLButtonElement;
12
+ get indicator(): HTMLButtonElement;
13
+ connotation?: SplitButtonConnotation;
14
+ shape?: SplitButtonShape;
15
+ appearance?: SplitButtonAppearance;
16
+ size?: SplitButtonSize;
17
+ label?: string;
18
+ icon?: string;
19
+ splitIndicator: string;
20
+ disabled: boolean;
21
+ ariaLabel: string | null;
22
+ ariaExpanded: string | null;
23
+ }
24
+ export interface SplitButton extends AffixIcon {
25
+ }
@@ -0,0 +1,4 @@
1
+ import type { ViewTemplate } from '@microsoft/fast-element';
2
+ import type { ElementDefinitionContext, FoundationElementDefinition } from '@microsoft/fast-foundation';
3
+ import type { SplitButton } from './split-button';
4
+ export declare const SplitButtonTemplate: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ViewTemplate<SplitButton>;
package/listbox/index.js CHANGED
@@ -57,7 +57,7 @@ const ListboxTemplate = context => {
57
57
  `;
58
58
  };
59
59
 
60
- var css_248z = "/**\n * Do not edit directly\n * Generated on Wed, 09 Aug 2023 13:23:44 GMT\n */\n:host {\n display: block;\n inline-size: fit-content;\n}\n\n:host(:focus-within) {\n outline: none;\n}\n\n.base {\n position: relative;\n display: flex;\n flex-direction: column;\n padding: 4px;\n background-color: var(--_appearance-color-fill);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n contain: paint;\n gap: 4px;\n}\n.base {\n /* @cssprop [--vvd-listbox-accent-backdrop=var(--vvd-color-canvas)] */\n --_connotation-color-backdrop: var(--vvd-listbox-accent-backdrop, var(--vvd-color-canvas));\n /* @cssprop [--vvd-listbox-accent-intermediate=var(--vvd-color-neutral-500)] */\n --_connotation-color-intermediate: var(--vvd-listbox-accent-intermediate, var(--vvd-color-neutral-500));\n /* @cssprop [--vvd-listbox-accent-primary=var(--vvd-color-canvas-text)] */\n --_connotation-color-primary: var(--vvd-listbox-accent-primary, var(--vvd-color-canvas-text));\n /* @cssprop [--vvd-listbox-accent-soft=var(--vvd-color-neutral-100)] */\n --_connotation-color-soft: var(--vvd-listbox-accent-soft, var(--vvd-color-neutral-100));\n}\n.base {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-intermediate);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: var(--vvd-color-neutral-100);\n --_appearance-color-outline: var(--vvd-color-neutral-300);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n\n.focus-indicator {\n pointer-events: none;\n}\n:host(:not(:focus-within)) .focus-indicator {\n display: none;\n}\n\n.base.disabled ::slotted([role=option]) {\n --_option-appearance-color-text: var(--_appearance-color-outline);\n cursor: not-allowed;\n pointer-events: none;\n}";
60
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Thu, 17 Aug 2023 11:13:18 GMT\n */\n:host {\n display: block;\n inline-size: fit-content;\n}\n\n:host(:focus-within) {\n outline: none;\n}\n\n.base {\n position: relative;\n display: flex;\n flex-direction: column;\n padding: 4px;\n background-color: var(--_appearance-color-fill);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n contain: paint;\n gap: 4px;\n}\n.base {\n /* @cssprop [--vvd-listbox-accent-backdrop=var(--vvd-color-canvas)] */\n --_connotation-color-backdrop: var(--vvd-listbox-accent-backdrop, var(--vvd-color-canvas));\n /* @cssprop [--vvd-listbox-accent-intermediate=var(--vvd-color-neutral-500)] */\n --_connotation-color-intermediate: var(--vvd-listbox-accent-intermediate, var(--vvd-color-neutral-500));\n /* @cssprop [--vvd-listbox-accent-primary=var(--vvd-color-canvas-text)] */\n --_connotation-color-primary: var(--vvd-listbox-accent-primary, var(--vvd-color-canvas-text));\n /* @cssprop [--vvd-listbox-accent-soft=var(--vvd-color-neutral-100)] */\n --_connotation-color-soft: var(--vvd-listbox-accent-soft, var(--vvd-color-neutral-100));\n}\n.base {\n --_appearance-color-text: var(--vvd-color-canvas-text);\n --_appearance-color-fill: var(--_connotation-color-backdrop);\n --_appearance-color-outline: var(--_connotation-color-intermediate);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: var(--vvd-color-neutral-100);\n --_appearance-color-outline: var(--vvd-color-neutral-300);\n}\n.base:where(:disabled, .disabled).appearance-ghost {\n --_appearance-color-text: var(--vvd-color-neutral-300);\n --_appearance-color-fill: transparent;\n --_appearance-color-outline: transparent;\n}\n\n.focus-indicator {\n pointer-events: none;\n}\n:host(:not(:focus-within)) .focus-indicator {\n display: none;\n}\n\n.base.disabled ::slotted([role=option]) {\n --_option-appearance-color-text: var(--_appearance-color-outline);\n cursor: not-allowed;\n pointer-events: none;\n}";
61
61
 
62
62
  const listboxDefinition = Listbox.compose({
63
63
  baseName: 'listbox',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonage/vivid",
3
- "version": "3.29.0",
3
+ "version": "3.31.0",
4
4
  "type": "module",
5
5
  "module": "./index.js",
6
6
  "main": "./index.js",
@@ -187,7 +187,7 @@ __decorate([
187
187
  observable
188
188
  ], Accordion$1.prototype, "accordionItems", void 0);
189
189
 
190
- var css_248z = "/**\n * Do not edit directly\n * Generated on Wed, 09 Aug 2023 13:23:44 GMT\n */\n.base {\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n}\n\n::slotted(:not(:only-of-type)) {\n border-bottom: 1px solid var(--vvd-color-neutral-200);\n}";
190
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Thu, 17 Aug 2023 11:13:18 GMT\n */\n.base {\n display: flex;\n box-sizing: border-box;\n flex-direction: column;\n}\n\n::slotted(:not(:only-of-type)) {\n border-bottom: 1px solid var(--vvd-color-neutral-200);\n}";
191
191
 
192
192
  class Accordion extends Accordion$1 {
193
193
  constructor() {