@vonage/vivid 3.44.0 → 3.45.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 (84) hide show
  1. package/README.md +399 -165
  2. package/appearance-ui/index.js +1 -1
  3. package/custom-elements.json +122 -247
  4. package/index.js +2 -1
  5. package/lib/alert/alert.d.ts +2 -0
  6. package/lib/data-grid/data-grid-cell.d.ts +1 -0
  7. package/lib/data-grid/data-grid.d.ts +2 -0
  8. package/lib/enums.d.ts +3 -0
  9. package/lib/menu/menu.d.ts +5 -5
  10. package/lib/popup/popup.d.ts +2 -2
  11. package/lib/select/select.d.ts +0 -3
  12. package/lib/tabs/tabs.d.ts +3 -1
  13. package/lib/toggletip/toggletip.d.ts +4 -4
  14. package/lib/tooltip/tooltip.d.ts +4 -5
  15. package/listbox/index.js +1 -1
  16. package/menu/index.js +1 -0
  17. package/menu-item/index.js +1 -0
  18. package/package.json +1 -1
  19. package/shared/anchored.js +76 -0
  20. package/shared/definition.js +1 -1
  21. package/shared/definition11.js +1 -1
  22. package/shared/definition12.js +1 -1
  23. package/shared/definition13.js +1 -1
  24. package/shared/definition14.js +1 -1
  25. package/shared/definition15.js +1 -1
  26. package/shared/definition16.js +1 -1
  27. package/shared/definition17.js +96 -44
  28. package/shared/definition2.js +1 -1
  29. package/shared/definition20.js +1 -1
  30. package/shared/definition21.js +1 -1
  31. package/shared/definition22.js +1 -1
  32. package/shared/definition23.js +1 -1
  33. package/shared/definition24.js +1 -1
  34. package/shared/definition25.js +1 -1
  35. package/shared/definition28.js +37 -46
  36. package/shared/definition29.js +2 -2
  37. package/shared/definition3.js +1 -1
  38. package/shared/definition30.js +1 -1
  39. package/shared/definition31.js +1 -1
  40. package/shared/definition33.js +1 -1
  41. package/shared/definition34.js +1 -1
  42. package/shared/definition35.js +1 -1
  43. package/shared/definition36.js +1 -1
  44. package/shared/definition37.js +1 -1
  45. package/shared/definition38.js +1 -1
  46. package/shared/definition39.js +1 -1
  47. package/shared/definition4.js +10 -6
  48. package/shared/definition40.js +1 -1
  49. package/shared/definition41.js +6 -4
  50. package/shared/definition42.js +1 -1
  51. package/shared/definition43.js +1 -1
  52. package/shared/definition44.js +1 -1
  53. package/shared/definition45.js +10 -6
  54. package/shared/definition46.js +1 -1
  55. package/shared/definition48.js +1 -1
  56. package/shared/definition49.js +8 -3
  57. package/shared/definition5.js +1 -1
  58. package/shared/definition51.js +1 -1
  59. package/shared/definition52.js +1 -1
  60. package/shared/definition54.js +37 -45
  61. package/shared/definition55.js +42 -58
  62. package/shared/definition56.js +1 -1
  63. package/shared/definition58.js +1 -1
  64. package/shared/definition6.js +1 -1
  65. package/shared/definition60.js +108 -12
  66. package/shared/definition7.js +1 -1
  67. package/shared/definition8.js +2 -3
  68. package/shared/definition9.js +1 -1
  69. package/shared/enums.js +5 -1
  70. package/shared/form-associated.js +1 -0
  71. package/shared/index2.js +1 -1
  72. package/shared/patterns/anchored.d.ts +22 -0
  73. package/shared/presentationDate.js +1 -1
  74. package/shared/text-field.js +1 -1
  75. package/style.css +124 -92
  76. package/styles/core/all.css +1 -1
  77. package/styles/core/theme.css +1 -1
  78. package/styles/core/typography.css +1 -1
  79. package/styles/tokens/theme-dark.css +4 -4
  80. package/styles/tokens/theme-light.css +4 -4
  81. package/styles/tokens/vivid-2-compat.css +1 -1
  82. package/toggletip/index.js +1 -0
  83. package/tooltip/index.js +1 -0
  84. package/vivid.api.json +38 -0
@@ -555,6 +555,15 @@
555
555
  "description": "alert connotation",
556
556
  "privacy": "public"
557
557
  },
558
+ {
559
+ "kind": "field",
560
+ "name": "strategy",
561
+ "type": {
562
+ "text": "AlertStrategy | undefined"
563
+ },
564
+ "description": "alert state",
565
+ "privacy": "public"
566
+ },
558
567
  {
559
568
  "kind": "field",
560
569
  "name": "open",
@@ -683,6 +692,14 @@
683
692
  "description": "alert connotation",
684
693
  "fieldName": "connotation"
685
694
  },
695
+ {
696
+ "name": "strategy",
697
+ "type": {
698
+ "text": "AlertStrategy | undefined"
699
+ },
700
+ "description": "alert state",
701
+ "fieldName": "strategy"
702
+ },
686
703
  {
687
704
  "type": {
688
705
  "text": "boolean"
@@ -4037,6 +4054,10 @@
4037
4054
  }
4038
4055
  ]
4039
4056
  },
4057
+ {
4058
+ "kind": "method",
4059
+ "name": "#getColumnDataKey"
4060
+ },
4040
4061
  {
4041
4062
  "kind": "field",
4042
4063
  "name": "updateCellStyle"
@@ -4046,6 +4067,10 @@
4046
4067
  {
4047
4068
  "description": "Event that fires when a sortable column header is clicked",
4048
4069
  "name": "sort"
4070
+ },
4071
+ {
4072
+ "description": "Event that fires when a cell is clicked",
4073
+ "name": "cell-click"
4049
4074
  }
4050
4075
  ],
4051
4076
  "attributes": [
@@ -4155,6 +4180,12 @@
4155
4180
  "privacy": "public"
4156
4181
  }
4157
4182
  ],
4183
+ "events": [
4184
+ {
4185
+ "description": "Event that fires when a cell is clicked",
4186
+ "name": "cell-click"
4187
+ }
4188
+ ],
4158
4189
  "attributes": [
4159
4190
  {
4160
4191
  "name": "aria-selected",
@@ -4381,6 +4412,15 @@
4381
4412
  "name": "#handleRowSelection",
4382
4413
  "privacy": "private"
4383
4414
  },
4415
+ {
4416
+ "kind": "field",
4417
+ "name": "#changeHandler",
4418
+ "privacy": "private",
4419
+ "type": {
4420
+ "text": "object"
4421
+ },
4422
+ "default": "{\n\t\thandleChange(dataGrid: DataGrid, propertyName: string) {\n\t\t\tif (propertyName === 'columnDefinitions') {\n\t\t\t\tif (dataGrid.$fastController.isConnected) {\n\t\t\t\t\t(dataGrid as any).toggleGeneratedHeader();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}"
4423
+ },
4384
4424
  {
4385
4425
  "kind": "field",
4386
4426
  "name": "#setSelectedState",
@@ -4408,6 +4448,16 @@
4408
4448
  }
4409
4449
  }
4410
4450
  ]
4451
+ },
4452
+ {
4453
+ "kind": "field",
4454
+ "name": "toggleGeneratedHeader"
4455
+ }
4456
+ ],
4457
+ "events": [
4458
+ {
4459
+ "description": "Event that fires when a cell is clicked",
4460
+ "name": "cell-click"
4411
4461
  }
4412
4462
  ],
4413
4463
  "attributes": [
@@ -7360,28 +7410,6 @@
7360
7410
  },
7361
7411
  "default": "null"
7362
7412
  },
7363
- {
7364
- "kind": "field",
7365
- "name": "#observer",
7366
- "privacy": "private",
7367
- "type": {
7368
- "text": "MutationObserver | undefined"
7369
- }
7370
- },
7371
- {
7372
- "kind": "field",
7373
- "name": "#anchorEl",
7374
- "privacy": "private",
7375
- "type": {
7376
- "text": "HTMLElement | null"
7377
- },
7378
- "default": "null"
7379
- },
7380
- {
7381
- "kind": "field",
7382
- "name": "#observeMissingAnchor",
7383
- "privacy": "private"
7384
- },
7385
7413
  {
7386
7414
  "kind": "field",
7387
7415
  "name": "placement",
@@ -7392,39 +7420,6 @@
7392
7420
  "description": "placement of the menu",
7393
7421
  "privacy": "public"
7394
7422
  },
7395
- {
7396
- "kind": "field",
7397
- "name": "anchor",
7398
- "type": {
7399
- "text": "AnchorType"
7400
- },
7401
- "default": "''",
7402
- "description": "id or direct reference to the menu's anchor element",
7403
- "privacy": "public"
7404
- },
7405
- {
7406
- "kind": "method",
7407
- "name": "anchorChanged",
7408
- "return": {
7409
- "type": {
7410
- "text": "void"
7411
- }
7412
- },
7413
- "parameters": [
7414
- {
7415
- "name": "_",
7416
- "type": {
7417
- "text": "AnchorType"
7418
- }
7419
- },
7420
- {
7421
- "name": "newValue",
7422
- "type": {
7423
- "text": "AnchorType"
7424
- }
7425
- }
7426
- ]
7427
- },
7428
7423
  {
7429
7424
  "kind": "field",
7430
7425
  "name": "autoDismiss",
@@ -7438,20 +7433,10 @@
7438
7433
  {
7439
7434
  "kind": "method",
7440
7435
  "name": "autoDismissChanged",
7441
- "return": {
7442
- "type": {
7443
- "text": "void"
7444
- }
7445
- },
7446
7436
  "parameters": [
7447
7437
  {
7448
7438
  "name": "oldValue",
7449
- "type": {
7450
- "text": "boolean"
7451
- }
7452
- },
7453
- {
7454
- "name": "newValue",
7439
+ "optional": true,
7455
7440
  "type": {
7456
7441
  "text": "boolean"
7457
7442
  }
@@ -7503,6 +7488,18 @@
7503
7488
  }
7504
7489
  ]
7505
7490
  },
7491
+ {
7492
+ "kind": "method",
7493
+ "name": "#updateAnchor",
7494
+ "parameters": [
7495
+ {
7496
+ "name": "a",
7497
+ "type": {
7498
+ "text": "HTMLElement"
7499
+ }
7500
+ }
7501
+ ]
7502
+ },
7506
7503
  {
7507
7504
  "kind": "method",
7508
7505
  "name": "#cleanupAnchor",
@@ -7520,6 +7517,11 @@
7520
7517
  "name": "#openIfClosed",
7521
7518
  "privacy": "private"
7522
7519
  },
7520
+ {
7521
+ "kind": "field",
7522
+ "name": "#updateClickOutsideListener",
7523
+ "privacy": "private"
7524
+ },
7523
7525
  {
7524
7526
  "kind": "field",
7525
7527
  "name": "#closeOnClickOutside",
@@ -7564,14 +7566,6 @@
7564
7566
  "description": "placement of the menu",
7565
7567
  "fieldName": "placement"
7566
7568
  },
7567
- {
7568
- "type": {
7569
- "text": "AnchorType"
7570
- },
7571
- "default": "''",
7572
- "description": "id or direct reference to the menu's anchor element",
7573
- "fieldName": "anchor"
7574
- },
7575
7569
  {
7576
7570
  "name": "auto-dismiss",
7577
7571
  "type": {
@@ -9242,11 +9236,15 @@
9242
9236
  "kind": "field",
9243
9237
  "name": "anchor",
9244
9238
  "type": {
9245
- "text": "string | HTMLElement | undefined"
9239
+ "text": "HTMLElement | undefined"
9246
9240
  },
9247
- "description": "ID reference to element in the popup’s owner document or HTMLElement.",
9241
+ "description": "The element to anchor the popup to.",
9248
9242
  "privacy": "public"
9249
9243
  },
9244
+ {
9245
+ "kind": "method",
9246
+ "name": "#updateAutoUpdate"
9247
+ },
9250
9248
  {
9251
9249
  "kind": "method",
9252
9250
  "name": "updatePosition",
@@ -9294,7 +9292,6 @@
9294
9292
  "type": {
9295
9293
  "text": "HTMLElement | null"
9296
9294
  },
9297
- "description": "Gets the anchor element by id",
9298
9295
  "readonly": true
9299
9296
  },
9300
9297
  {
@@ -9363,14 +9360,6 @@
9363
9360
  "default": "'fixed'",
9364
9361
  "description": "the strategy of the popup",
9365
9362
  "fieldName": "strategy"
9366
- },
9367
- {
9368
- "name": "anchor",
9369
- "type": {
9370
- "text": "string | HTMLElement | undefined"
9371
- },
9372
- "description": "ID reference to element in the popup’s owner document or HTMLElement.",
9373
- "fieldName": "anchor"
9374
9363
  }
9375
9364
  ],
9376
9365
  "superclass": {
@@ -10106,20 +10095,6 @@
10106
10095
  }
10107
10096
  ],
10108
10097
  "members": [
10109
- {
10110
- "kind": "field",
10111
- "name": "_popup",
10112
- "type": {
10113
- "text": "Popup"
10114
- }
10115
- },
10116
- {
10117
- "kind": "field",
10118
- "name": "_anchor",
10119
- "type": {
10120
- "text": "HTMLElement"
10121
- }
10122
- },
10123
10098
  {
10124
10099
  "kind": "field",
10125
10100
  "name": "appearance",
@@ -11852,6 +11827,15 @@
11852
11827
  "description": "The connotation the tabs should have.",
11853
11828
  "privacy": "public"
11854
11829
  },
11830
+ {
11831
+ "kind": "field",
11832
+ "name": "gutters",
11833
+ "type": {
11834
+ "text": "Gutters | undefined"
11835
+ },
11836
+ "description": "sets the initial preferred margin from predefined available options",
11837
+ "privacy": "public"
11838
+ },
11855
11839
  {
11856
11840
  "kind": "method",
11857
11841
  "name": "connotationChanged"
@@ -11945,6 +11929,14 @@
11945
11929
  },
11946
11930
  "description": "The connotation the tabs should have.",
11947
11931
  "fieldName": "connotation"
11932
+ },
11933
+ {
11934
+ "name": "gutters",
11935
+ "type": {
11936
+ "text": "Gutters | undefined"
11937
+ },
11938
+ "description": "sets the initial preferred margin from predefined available options",
11939
+ "fieldName": "gutters"
11948
11940
  }
11949
11941
  ],
11950
11942
  "superclass": {
@@ -12951,28 +12943,6 @@
12951
12943
  }
12952
12944
  ],
12953
12945
  "members": [
12954
- {
12955
- "kind": "field",
12956
- "name": "#observer",
12957
- "privacy": "private",
12958
- "type": {
12959
- "text": "MutationObserver | undefined"
12960
- }
12961
- },
12962
- {
12963
- "kind": "field",
12964
- "name": "#anchorEl",
12965
- "privacy": "private",
12966
- "type": {
12967
- "text": "HTMLElement | null"
12968
- },
12969
- "default": "null"
12970
- },
12971
- {
12972
- "kind": "field",
12973
- "name": "#observeMissingAnchor",
12974
- "privacy": "private"
12975
- },
12976
12946
  {
12977
12947
  "kind": "field",
12978
12948
  "name": "#ANCHOR_ARIA_LABEL_SUFFIX",
@@ -13011,34 +12981,6 @@
13011
12981
  "description": "placement of the toggletip",
13012
12982
  "privacy": "public"
13013
12983
  },
13014
- {
13015
- "kind": "field",
13016
- "name": "anchor",
13017
- "type": {
13018
- "text": "AnchorType"
13019
- },
13020
- "default": "''",
13021
- "description": "id or direct reference to the toggletip's anchor element",
13022
- "privacy": "public"
13023
- },
13024
- {
13025
- "kind": "method",
13026
- "name": "anchorChanged",
13027
- "parameters": [
13028
- {
13029
- "name": "_",
13030
- "type": {
13031
- "text": "AnchorType"
13032
- }
13033
- },
13034
- {
13035
- "name": "newValue",
13036
- "type": {
13037
- "text": "AnchorType"
13038
- }
13039
- }
13040
- ]
13041
- },
13042
12984
  {
13043
12985
  "kind": "field",
13044
12986
  "name": "open",
@@ -13084,6 +13026,18 @@
13084
13026
  }
13085
13027
  ]
13086
13028
  },
13029
+ {
13030
+ "kind": "method",
13031
+ "name": "#updateAnchor",
13032
+ "parameters": [
13033
+ {
13034
+ "name": "a",
13035
+ "type": {
13036
+ "text": "HTMLElement"
13037
+ }
13038
+ }
13039
+ ]
13040
+ },
13087
13041
  {
13088
13042
  "kind": "method",
13089
13043
  "name": "#cleanupAnchor",
@@ -13101,6 +13055,10 @@
13101
13055
  "name": "#openIfClosed",
13102
13056
  "privacy": "private"
13103
13057
  },
13058
+ {
13059
+ "kind": "method",
13060
+ "name": "#updateListeners"
13061
+ },
13104
13062
  {
13105
13063
  "kind": "field",
13106
13064
  "name": "#closeOnClickOutside",
@@ -13137,14 +13095,6 @@
13137
13095
  "description": "placement of the toggletip",
13138
13096
  "fieldName": "placement"
13139
13097
  },
13140
- {
13141
- "type": {
13142
- "text": "AnchorType"
13143
- },
13144
- "default": "''",
13145
- "description": "id or direct reference to the toggletip's anchor element",
13146
- "fieldName": "anchor"
13147
- },
13148
13098
  {
13149
13099
  "type": {
13150
13100
  "text": "boolean"
@@ -13220,15 +13170,6 @@
13220
13170
  "description": "Base class for tooltip",
13221
13171
  "name": "Tooltip",
13222
13172
  "members": [
13223
- {
13224
- "kind": "field",
13225
- "name": "#anchorEl",
13226
- "privacy": "private",
13227
- "type": {
13228
- "text": "HTMLElement | null"
13229
- },
13230
- "default": "null"
13231
- },
13232
13173
  {
13233
13174
  "kind": "field",
13234
13175
  "name": "text",
@@ -13253,70 +13194,29 @@
13253
13194
  },
13254
13195
  "default": "false"
13255
13196
  },
13256
- {
13257
- "kind": "field",
13258
- "name": "anchor",
13259
- "type": {
13260
- "text": "anchorType | undefined"
13261
- }
13262
- },
13263
- {
13264
- "kind": "field",
13265
- "name": "#observer",
13266
- "privacy": "private",
13267
- "type": {
13268
- "text": "MutationObserver | undefined"
13269
- }
13270
- },
13271
13197
  {
13272
13198
  "kind": "method",
13273
- "name": "anchorChanged",
13199
+ "name": "#setupAnchor",
13274
13200
  "parameters": [
13275
13201
  {
13276
- "name": "_",
13277
- "type": {
13278
- "text": "anchorType"
13279
- }
13280
- },
13281
- {
13282
- "name": "newValue",
13202
+ "name": "a",
13283
13203
  "type": {
13284
- "text": "anchorType"
13204
+ "text": "HTMLElement"
13285
13205
  }
13286
13206
  }
13287
13207
  ]
13288
13208
  },
13289
- {
13290
- "kind": "field",
13291
- "name": "#observeMissingAnchor",
13292
- "privacy": "private"
13293
- },
13294
- {
13295
- "kind": "method",
13296
- "name": "#anchorUpdated",
13297
- "return": {
13298
- "type": {
13299
- "text": "void"
13300
- }
13301
- }
13302
- },
13303
13209
  {
13304
13210
  "kind": "method",
13305
- "name": "#addEventListener",
13306
- "return": {
13307
- "type": {
13308
- "text": "void"
13309
- }
13310
- }
13311
- },
13312
- {
13313
- "kind": "method",
13314
- "name": "#removeEventListener",
13315
- "return": {
13316
- "type": {
13317
- "text": "void"
13211
+ "name": "#cleanupAnchor",
13212
+ "parameters": [
13213
+ {
13214
+ "name": "a",
13215
+ "type": {
13216
+ "text": "HTMLElement"
13217
+ }
13318
13218
  }
13319
- }
13219
+ ]
13320
13220
  },
13321
13221
  {
13322
13222
  "kind": "field",
@@ -13328,33 +13228,14 @@
13328
13228
  "name": "#hide",
13329
13229
  "privacy": "private"
13330
13230
  },
13231
+ {
13232
+ "kind": "method",
13233
+ "name": "#updateListeners"
13234
+ },
13331
13235
  {
13332
13236
  "kind": "field",
13333
13237
  "name": "#closeOnEscape",
13334
13238
  "privacy": "private"
13335
- },
13336
- {
13337
- "kind": "method",
13338
- "name": "openChanged",
13339
- "return": {
13340
- "type": {
13341
- "text": "void"
13342
- }
13343
- },
13344
- "parameters": [
13345
- {
13346
- "name": "_",
13347
- "type": {
13348
- "text": "boolean"
13349
- }
13350
- },
13351
- {
13352
- "name": "newValue",
13353
- "type": {
13354
- "text": "boolean"
13355
- }
13356
- }
13357
- ]
13358
13239
  }
13359
13240
  ],
13360
13241
  "attributes": [
@@ -13378,12 +13259,6 @@
13378
13259
  },
13379
13260
  "default": "false",
13380
13261
  "fieldName": "open"
13381
- },
13382
- {
13383
- "type": {
13384
- "text": "anchorType | undefined"
13385
- },
13386
- "fieldName": "anchor"
13387
13262
  }
13388
13263
  ],
13389
13264
  "superclass": {
package/index.js CHANGED
@@ -55,7 +55,7 @@ export { r as registerToggletip, t as toggletipDefinition, a as toggletipRegistr
55
55
  export { r as registerTooltip, t as tooltipDefinition, a as tooltipRegistries } from './shared/definition55.js';
56
56
  export { r as registerTreeItem, t as treeItemDefinition, a as treeItemRegistries } from './shared/definition56.js';
57
57
  export { r as registerTreeView, t as treeViewDefinition, a as treeViewRegistries } from './shared/definition57.js';
58
- export { A as Appearance, c as AriaLive, C as Connotation, a as ConnotationDecorative, L as LayoutSize, P as Position, R as Role, S as Shape, b as Size } from './shared/enums.js';
58
+ export { A as Appearance, c as AriaLive, C as Connotation, a as ConnotationDecorative, L as LayoutSize, P as Position, R as Role, S as Shape, b as Size, T as TabsSize } from './shared/enums.js';
59
59
  export { d as designSystem, r as registerFactory } from './shared/index.js';
60
60
  export { s as setLocale } from './shared/index2.js';
61
61
  import './shared/definition58.js';
@@ -92,6 +92,7 @@ import './shared/children.js';
92
92
  import './shared/presentationDate.js';
93
93
  import './shared/aria.js';
94
94
  import './shared/direction.js';
95
+ import './shared/anchored.js';
95
96
  import './shared/dom.js';
96
97
  import './shared/text-anchor.js';
97
98
  import './shared/text-field2.js';
@@ -4,6 +4,7 @@ import { Localized } from '../../shared/patterns';
4
4
  import { AffixIcon } from '../../shared/patterns/affix';
5
5
  export type AlertConnotation = Connotation.Accent | Connotation.Information | Connotation.Success | Connotation.Warning | Connotation.Alert;
6
6
  export type AlertPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
7
+ export type AlertStrategy = 'fixed' | 'static';
7
8
  export declare class Alert extends FoundationElement {
8
9
  #private;
9
10
  dismissButtonAriaLabel: string | null;
@@ -14,6 +15,7 @@ export declare class Alert extends FoundationElement {
14
15
  icon?: string;
15
16
  timeoutms: number;
16
17
  connotation?: AlertConnotation;
18
+ strategy?: AlertStrategy;
17
19
  open: boolean;
18
20
  openChanged(oldValue: boolean, newValue: boolean): void;
19
21
  connectedCallback(): void;
@@ -8,6 +8,7 @@ declare interface DataGridCellExtension {
8
8
  columnDefinition: ColumnDefinitionExtended | null;
9
9
  }
10
10
  export declare class DataGridCell extends FoundationDataGridCell {
11
+ #private;
11
12
  ariaSelected: string | null;
12
13
  ariaSort: string | null;
13
14
  ariaSelectedChanged(_: string | null, selectedState: string | null): void;
@@ -13,6 +13,8 @@ export declare class DataGrid extends FoundationDataGrid {
13
13
  selectionMode?: DataGridSelectionMode;
14
14
  selectionModeChanged(oldValue: DataGridSelectionMode): void;
15
15
  constructor();
16
+ connectedCallback(): void;
17
+ disconnectedCallback(): void;
16
18
  static generateColumns(rowData: any): {
17
19
  columnDataKey: string;
18
20
  gridColumn: string;
package/lib/enums.d.ts CHANGED
@@ -44,6 +44,9 @@ export declare enum LayoutSize {
44
44
  Medium = "medium",
45
45
  Large = "large"
46
46
  }
47
+ export declare enum TabsSize {
48
+ Small = "small"
49
+ }
47
50
  export declare enum Position {
48
51
  Top = "TOP",
49
52
  Bottom = "BOTTOM",
@@ -1,18 +1,18 @@
1
1
  import { Menu as FastMenu } from '@microsoft/fast-foundation';
2
2
  import type { Placement } from '@floating-ui/dom';
3
- type AnchorType = string | HTMLElement;
3
+ import { type Anchored } from '../../shared/patterns/anchored';
4
4
  export declare class Menu extends FastMenu {
5
5
  #private;
6
6
  ariaLabel: string | null;
7
7
  placement?: Placement;
8
- anchor: AnchorType;
9
- anchorChanged(_: AnchorType, newValue: AnchorType): void;
10
8
  autoDismiss: boolean;
11
- autoDismissChanged(oldValue: boolean, newValue: boolean): void;
9
+ autoDismissChanged(oldValue?: boolean): void;
12
10
  open: boolean;
13
11
  openChanged(_: boolean, newValue: boolean): void;
14
12
  constructor();
13
+ connectedCallback(): void;
15
14
  disconnectedCallback(): void;
16
15
  actionItemsSlottedContent?: HTMLElement[];
17
16
  }
18
- export {};
17
+ export interface Menu extends Anchored {
18
+ }
@@ -11,9 +11,9 @@ export declare class Popup extends FoundationElement {
11
11
  alternate: boolean;
12
12
  placement?: Placement;
13
13
  strategy?: Strategy;
14
- anchor?: string | HTMLElement;
14
+ anchor?: HTMLElement;
15
+ connectedCallback(): void;
15
16
  disconnectedCallback(): void;
16
- attributeChangedCallback(name: string, oldValue: string, newValue: string): void;
17
17
  updatePosition(): Promise<void>;
18
18
  get anchorEl(): HTMLElement | null;
19
19
  show(): void;