@fluentui/web-components 3.0.0-beta.2 → 3.0.0-beta.4

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 (38) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/dist/dts/index.d.ts +1 -0
  3. package/dist/dts/menu/define.d.ts +1 -0
  4. package/dist/dts/menu/index.d.ts +4 -0
  5. package/dist/dts/menu/menu.d.ts +194 -0
  6. package/dist/dts/menu/menu.definition.d.ts +9 -0
  7. package/dist/dts/menu/menu.styles.d.ts +4 -0
  8. package/dist/dts/menu/menu.template.d.ts +4 -0
  9. package/dist/esm/index.js +1 -0
  10. package/dist/esm/index.js.map +1 -1
  11. package/dist/esm/menu/define.js +4 -0
  12. package/dist/esm/menu/define.js.map +1 -0
  13. package/dist/esm/menu/index.js +5 -0
  14. package/dist/esm/menu/index.js.map +1 -0
  15. package/dist/esm/menu/menu.definition.js +17 -0
  16. package/dist/esm/menu/menu.definition.js.map +1 -0
  17. package/dist/esm/menu/menu.js +413 -0
  18. package/dist/esm/menu/menu.js.map +1 -0
  19. package/dist/esm/menu/menu.styles.js +17 -0
  20. package/dist/esm/menu/menu.styles.js.map +1 -0
  21. package/dist/esm/menu/menu.template.js +24 -0
  22. package/dist/esm/menu/menu.template.js.map +1 -0
  23. package/dist/esm/switch/switch.styles.js +3 -2
  24. package/dist/esm/switch/switch.styles.js.map +1 -1
  25. package/dist/fluent-web-components.api.json +1081 -0
  26. package/dist/storybook/{651.e36cf1e8.iframe.bundle.js → 677.939f187f.iframe.bundle.js} +5 -5
  27. package/dist/storybook/{651.e36cf1e8.iframe.bundle.js.map → 677.939f187f.iframe.bundle.js.map} +1 -1
  28. package/dist/storybook/iframe.html +1 -1
  29. package/dist/storybook/main.c98b42a5.iframe.bundle.js +2 -0
  30. package/dist/storybook/main.c98b42a5.iframe.bundle.js.LICENSE.txt +1 -0
  31. package/dist/storybook/project.json +1 -1
  32. package/dist/web-components.d.ts +209 -0
  33. package/dist/web-components.js +559 -223
  34. package/dist/web-components.min.js +67 -66
  35. package/docs/api-report.md +40 -0
  36. package/package.json +5 -1
  37. package/dist/storybook/main.696937e6.iframe.bundle.js +0 -1
  38. /package/dist/storybook/{651.e36cf1e8.iframe.bundle.js.LICENSE.txt → 677.939f187f.iframe.bundle.js.LICENSE.txt} +0 -0
@@ -13105,6 +13105,984 @@
13105
13105
  "endIndex": 2
13106
13106
  }
13107
13107
  },
13108
+ {
13109
+ "kind": "Class",
13110
+ "canonicalReference": "@fluentui/web-components!Menu:class",
13111
+ "docComment": "/**\n * The Menu class represents a menu component.\n *\n * @public\n */\n",
13112
+ "excerptTokens": [
13113
+ {
13114
+ "kind": "Content",
13115
+ "text": "export declare class Menu extends "
13116
+ },
13117
+ {
13118
+ "kind": "Reference",
13119
+ "text": "FASTElement",
13120
+ "canonicalReference": "@microsoft/fast-element!FASTElement:interface"
13121
+ },
13122
+ {
13123
+ "kind": "Content",
13124
+ "text": " "
13125
+ }
13126
+ ],
13127
+ "releaseTag": "Public",
13128
+ "name": "Menu",
13129
+ "preserveMemberOrder": false,
13130
+ "members": [
13131
+ {
13132
+ "kind": "Property",
13133
+ "canonicalReference": "@fluentui/web-components!Menu#cleanup:member",
13134
+ "docComment": "/**\n * Holds a reference to a function that is used to cleanup resources.\n *\n * @public\n */\n",
13135
+ "excerptTokens": [
13136
+ {
13137
+ "kind": "Content",
13138
+ "text": "cleanup?: "
13139
+ },
13140
+ {
13141
+ "kind": "Content",
13142
+ "text": "() => void"
13143
+ },
13144
+ {
13145
+ "kind": "Content",
13146
+ "text": ";"
13147
+ }
13148
+ ],
13149
+ "isReadonly": false,
13150
+ "isOptional": true,
13151
+ "releaseTag": "Public",
13152
+ "name": "cleanup",
13153
+ "propertyTypeTokenRange": {
13154
+ "startIndex": 1,
13155
+ "endIndex": 2
13156
+ },
13157
+ "isStatic": false,
13158
+ "isProtected": false
13159
+ },
13160
+ {
13161
+ "kind": "Property",
13162
+ "canonicalReference": "@fluentui/web-components!Menu#closeMenu:member",
13163
+ "docComment": "/**\n * Closes the menu.\n *\n * @public\n */\n",
13164
+ "excerptTokens": [
13165
+ {
13166
+ "kind": "Content",
13167
+ "text": "closeMenu: "
13168
+ },
13169
+ {
13170
+ "kind": "Content",
13171
+ "text": "() => void"
13172
+ },
13173
+ {
13174
+ "kind": "Content",
13175
+ "text": ";"
13176
+ }
13177
+ ],
13178
+ "isReadonly": false,
13179
+ "isOptional": false,
13180
+ "releaseTag": "Public",
13181
+ "name": "closeMenu",
13182
+ "propertyTypeTokenRange": {
13183
+ "startIndex": 1,
13184
+ "endIndex": 2
13185
+ },
13186
+ "isStatic": false,
13187
+ "isProtected": false
13188
+ },
13189
+ {
13190
+ "kind": "Property",
13191
+ "canonicalReference": "@fluentui/web-components!Menu#closeOnScroll:member",
13192
+ "docComment": "/**\n * Determines if the menu should close on scroll.\n *\n * @public\n */\n",
13193
+ "excerptTokens": [
13194
+ {
13195
+ "kind": "Content",
13196
+ "text": "closeOnScroll?: "
13197
+ },
13198
+ {
13199
+ "kind": "Content",
13200
+ "text": "boolean"
13201
+ },
13202
+ {
13203
+ "kind": "Content",
13204
+ "text": ";"
13205
+ }
13206
+ ],
13207
+ "isReadonly": false,
13208
+ "isOptional": true,
13209
+ "releaseTag": "Public",
13210
+ "name": "closeOnScroll",
13211
+ "propertyTypeTokenRange": {
13212
+ "startIndex": 1,
13213
+ "endIndex": 2
13214
+ },
13215
+ "isStatic": false,
13216
+ "isProtected": false
13217
+ },
13218
+ {
13219
+ "kind": "Method",
13220
+ "canonicalReference": "@fluentui/web-components!Menu#closeOnScrollChanged:member(1)",
13221
+ "docComment": "/**\n * Called whenever the 'closeOnScroll' property changes. Adds or removes a 'closeOnScroll' event listener to the trigger based on the new value.\n *\n * @param oldValue - The previous value of 'closeOnScroll'.\n *\n * @param newValue - The new value of 'closeOnScroll'.\n *\n * @public\n */\n",
13222
+ "excerptTokens": [
13223
+ {
13224
+ "kind": "Content",
13225
+ "text": "closeOnScrollChanged(oldValue: "
13226
+ },
13227
+ {
13228
+ "kind": "Content",
13229
+ "text": "boolean"
13230
+ },
13231
+ {
13232
+ "kind": "Content",
13233
+ "text": ", newValue: "
13234
+ },
13235
+ {
13236
+ "kind": "Content",
13237
+ "text": "boolean"
13238
+ },
13239
+ {
13240
+ "kind": "Content",
13241
+ "text": "): "
13242
+ },
13243
+ {
13244
+ "kind": "Content",
13245
+ "text": "void"
13246
+ },
13247
+ {
13248
+ "kind": "Content",
13249
+ "text": ";"
13250
+ }
13251
+ ],
13252
+ "isStatic": false,
13253
+ "returnTypeTokenRange": {
13254
+ "startIndex": 5,
13255
+ "endIndex": 6
13256
+ },
13257
+ "releaseTag": "Public",
13258
+ "isProtected": false,
13259
+ "overloadIndex": 1,
13260
+ "parameters": [
13261
+ {
13262
+ "parameterName": "oldValue",
13263
+ "parameterTypeTokenRange": {
13264
+ "startIndex": 1,
13265
+ "endIndex": 2
13266
+ },
13267
+ "isOptional": false
13268
+ },
13269
+ {
13270
+ "parameterName": "newValue",
13271
+ "parameterTypeTokenRange": {
13272
+ "startIndex": 3,
13273
+ "endIndex": 4
13274
+ },
13275
+ "isOptional": false
13276
+ }
13277
+ ],
13278
+ "isOptional": false,
13279
+ "name": "closeOnScrollChanged"
13280
+ },
13281
+ {
13282
+ "kind": "Method",
13283
+ "canonicalReference": "@fluentui/web-components!Menu#connectedCallback:member(1)",
13284
+ "docComment": "/**\n * Called when the element is connected to the DOM. Sets up the component.\n *\n * @public\n */\n",
13285
+ "excerptTokens": [
13286
+ {
13287
+ "kind": "Content",
13288
+ "text": "connectedCallback(): "
13289
+ },
13290
+ {
13291
+ "kind": "Content",
13292
+ "text": "void"
13293
+ },
13294
+ {
13295
+ "kind": "Content",
13296
+ "text": ";"
13297
+ }
13298
+ ],
13299
+ "isStatic": false,
13300
+ "returnTypeTokenRange": {
13301
+ "startIndex": 1,
13302
+ "endIndex": 2
13303
+ },
13304
+ "releaseTag": "Public",
13305
+ "isProtected": false,
13306
+ "overloadIndex": 1,
13307
+ "parameters": [],
13308
+ "isOptional": false,
13309
+ "name": "connectedCallback"
13310
+ },
13311
+ {
13312
+ "kind": "Method",
13313
+ "canonicalReference": "@fluentui/web-components!Menu#disconnectedCallback:member(1)",
13314
+ "docComment": "/**\n * Called when the element is disconnected from the DOM. Removes event listeners.\n *\n * @public\n */\n",
13315
+ "excerptTokens": [
13316
+ {
13317
+ "kind": "Content",
13318
+ "text": "disconnectedCallback(): "
13319
+ },
13320
+ {
13321
+ "kind": "Content",
13322
+ "text": "void"
13323
+ },
13324
+ {
13325
+ "kind": "Content",
13326
+ "text": ";"
13327
+ }
13328
+ ],
13329
+ "isStatic": false,
13330
+ "returnTypeTokenRange": {
13331
+ "startIndex": 1,
13332
+ "endIndex": 2
13333
+ },
13334
+ "releaseTag": "Public",
13335
+ "isProtected": false,
13336
+ "overloadIndex": 1,
13337
+ "parameters": [],
13338
+ "isOptional": false,
13339
+ "name": "disconnectedCallback"
13340
+ },
13341
+ {
13342
+ "kind": "Method",
13343
+ "canonicalReference": "@fluentui/web-components!Menu#focusMenuList:member(1)",
13344
+ "docComment": "/**\n * Focuses on the menu list.\n *\n * @public\n */\n",
13345
+ "excerptTokens": [
13346
+ {
13347
+ "kind": "Content",
13348
+ "text": "focusMenuList(): "
13349
+ },
13350
+ {
13351
+ "kind": "Content",
13352
+ "text": "void"
13353
+ },
13354
+ {
13355
+ "kind": "Content",
13356
+ "text": ";"
13357
+ }
13358
+ ],
13359
+ "isStatic": false,
13360
+ "returnTypeTokenRange": {
13361
+ "startIndex": 1,
13362
+ "endIndex": 2
13363
+ },
13364
+ "releaseTag": "Public",
13365
+ "isProtected": false,
13366
+ "overloadIndex": 1,
13367
+ "parameters": [],
13368
+ "isOptional": false,
13369
+ "name": "focusMenuList"
13370
+ },
13371
+ {
13372
+ "kind": "Method",
13373
+ "canonicalReference": "@fluentui/web-components!Menu#focusTrigger:member(1)",
13374
+ "docComment": "/**\n * Focuses on the menu trigger.\n *\n * @public\n */\n",
13375
+ "excerptTokens": [
13376
+ {
13377
+ "kind": "Content",
13378
+ "text": "focusTrigger(): "
13379
+ },
13380
+ {
13381
+ "kind": "Content",
13382
+ "text": "void"
13383
+ },
13384
+ {
13385
+ "kind": "Content",
13386
+ "text": ";"
13387
+ }
13388
+ ],
13389
+ "isStatic": false,
13390
+ "returnTypeTokenRange": {
13391
+ "startIndex": 1,
13392
+ "endIndex": 2
13393
+ },
13394
+ "releaseTag": "Public",
13395
+ "isProtected": false,
13396
+ "overloadIndex": 1,
13397
+ "parameters": [],
13398
+ "isOptional": false,
13399
+ "name": "focusTrigger"
13400
+ },
13401
+ {
13402
+ "kind": "Method",
13403
+ "canonicalReference": "@fluentui/web-components!Menu#handleMenuKeydown:member(1)",
13404
+ "docComment": "/**\n * Handles keyboard interaction for the menu. Closes the menu and focuses on the trigger when the Escape key is pressed. Closes the menu when the Tab key is pressed.\n *\n * @param e - the keyboard event\n *\n * @public\n */\n",
13405
+ "excerptTokens": [
13406
+ {
13407
+ "kind": "Content",
13408
+ "text": "handleMenuKeydown(e: "
13409
+ },
13410
+ {
13411
+ "kind": "Reference",
13412
+ "text": "KeyboardEvent",
13413
+ "canonicalReference": "!KeyboardEvent:interface"
13414
+ },
13415
+ {
13416
+ "kind": "Content",
13417
+ "text": "): "
13418
+ },
13419
+ {
13420
+ "kind": "Content",
13421
+ "text": "boolean | void"
13422
+ },
13423
+ {
13424
+ "kind": "Content",
13425
+ "text": ";"
13426
+ }
13427
+ ],
13428
+ "isStatic": false,
13429
+ "returnTypeTokenRange": {
13430
+ "startIndex": 3,
13431
+ "endIndex": 4
13432
+ },
13433
+ "releaseTag": "Public",
13434
+ "isProtected": false,
13435
+ "overloadIndex": 1,
13436
+ "parameters": [
13437
+ {
13438
+ "parameterName": "e",
13439
+ "parameterTypeTokenRange": {
13440
+ "startIndex": 1,
13441
+ "endIndex": 2
13442
+ },
13443
+ "isOptional": false
13444
+ }
13445
+ ],
13446
+ "isOptional": false,
13447
+ "name": "handleMenuKeydown"
13448
+ },
13449
+ {
13450
+ "kind": "Property",
13451
+ "canonicalReference": "@fluentui/web-components!Menu#handleTriggerKeydown:member",
13452
+ "docComment": "/**\n * Handles keyboard interaction for the trigger. Toggles the menu when the Space or Enter key is pressed. If the menu is open, focuses on the menu list.\n *\n * @param e - the keyboard event\n *\n * @public\n */\n",
13453
+ "excerptTokens": [
13454
+ {
13455
+ "kind": "Content",
13456
+ "text": "handleTriggerKeydown: "
13457
+ },
13458
+ {
13459
+ "kind": "Content",
13460
+ "text": "(e: "
13461
+ },
13462
+ {
13463
+ "kind": "Reference",
13464
+ "text": "KeyboardEvent",
13465
+ "canonicalReference": "!KeyboardEvent:interface"
13466
+ },
13467
+ {
13468
+ "kind": "Content",
13469
+ "text": ") => boolean | void"
13470
+ },
13471
+ {
13472
+ "kind": "Content",
13473
+ "text": ";"
13474
+ }
13475
+ ],
13476
+ "isReadonly": false,
13477
+ "isOptional": false,
13478
+ "releaseTag": "Public",
13479
+ "name": "handleTriggerKeydown",
13480
+ "propertyTypeTokenRange": {
13481
+ "startIndex": 1,
13482
+ "endIndex": 4
13483
+ },
13484
+ "isStatic": false,
13485
+ "isProtected": false
13486
+ },
13487
+ {
13488
+ "kind": "Property",
13489
+ "canonicalReference": "@fluentui/web-components!Menu#open:member",
13490
+ "docComment": "/**\n * Defines whether the menu is open or not.\n *\n * @public\n */\n",
13491
+ "excerptTokens": [
13492
+ {
13493
+ "kind": "Content",
13494
+ "text": "open: "
13495
+ },
13496
+ {
13497
+ "kind": "Content",
13498
+ "text": "boolean"
13499
+ },
13500
+ {
13501
+ "kind": "Content",
13502
+ "text": ";"
13503
+ }
13504
+ ],
13505
+ "isReadonly": false,
13506
+ "isOptional": false,
13507
+ "releaseTag": "Public",
13508
+ "name": "open",
13509
+ "propertyTypeTokenRange": {
13510
+ "startIndex": 1,
13511
+ "endIndex": 2
13512
+ },
13513
+ "isStatic": false,
13514
+ "isProtected": false
13515
+ },
13516
+ {
13517
+ "kind": "Method",
13518
+ "canonicalReference": "@fluentui/web-components!Menu#openChanged:member(1)",
13519
+ "docComment": "/**\n * Called whenever the open state changes. Updates the 'aria-expanded' attribute and sets the positioning of the menu. Sets menu list position emits openChanged event\n *\n * @param oldValue - The previous value of 'open'.\n *\n * @param newValue - The new value of 'open'.\n *\n * @public\n */\n",
13520
+ "excerptTokens": [
13521
+ {
13522
+ "kind": "Content",
13523
+ "text": "openChanged(oldValue: "
13524
+ },
13525
+ {
13526
+ "kind": "Content",
13527
+ "text": "boolean"
13528
+ },
13529
+ {
13530
+ "kind": "Content",
13531
+ "text": ", newValue: "
13532
+ },
13533
+ {
13534
+ "kind": "Content",
13535
+ "text": "boolean"
13536
+ },
13537
+ {
13538
+ "kind": "Content",
13539
+ "text": "): "
13540
+ },
13541
+ {
13542
+ "kind": "Content",
13543
+ "text": "void"
13544
+ },
13545
+ {
13546
+ "kind": "Content",
13547
+ "text": ";"
13548
+ }
13549
+ ],
13550
+ "isStatic": false,
13551
+ "returnTypeTokenRange": {
13552
+ "startIndex": 5,
13553
+ "endIndex": 6
13554
+ },
13555
+ "releaseTag": "Public",
13556
+ "isProtected": false,
13557
+ "overloadIndex": 1,
13558
+ "parameters": [
13559
+ {
13560
+ "parameterName": "oldValue",
13561
+ "parameterTypeTokenRange": {
13562
+ "startIndex": 1,
13563
+ "endIndex": 2
13564
+ },
13565
+ "isOptional": false
13566
+ },
13567
+ {
13568
+ "parameterName": "newValue",
13569
+ "parameterTypeTokenRange": {
13570
+ "startIndex": 3,
13571
+ "endIndex": 4
13572
+ },
13573
+ "isOptional": false
13574
+ }
13575
+ ],
13576
+ "isOptional": false,
13577
+ "name": "openChanged"
13578
+ },
13579
+ {
13580
+ "kind": "Property",
13581
+ "canonicalReference": "@fluentui/web-components!Menu#openMenu:member",
13582
+ "docComment": "/**\n * Opens the menu.\n *\n * @public\n */\n",
13583
+ "excerptTokens": [
13584
+ {
13585
+ "kind": "Content",
13586
+ "text": "openMenu: "
13587
+ },
13588
+ {
13589
+ "kind": "Content",
13590
+ "text": "(e?: "
13591
+ },
13592
+ {
13593
+ "kind": "Reference",
13594
+ "text": "Event",
13595
+ "canonicalReference": "!Event:interface"
13596
+ },
13597
+ {
13598
+ "kind": "Content",
13599
+ "text": ") => void"
13600
+ },
13601
+ {
13602
+ "kind": "Content",
13603
+ "text": ";"
13604
+ }
13605
+ ],
13606
+ "isReadonly": false,
13607
+ "isOptional": false,
13608
+ "releaseTag": "Public",
13609
+ "name": "openMenu",
13610
+ "propertyTypeTokenRange": {
13611
+ "startIndex": 1,
13612
+ "endIndex": 4
13613
+ },
13614
+ "isStatic": false,
13615
+ "isProtected": false
13616
+ },
13617
+ {
13618
+ "kind": "Property",
13619
+ "canonicalReference": "@fluentui/web-components!Menu#openOnContext:member",
13620
+ "docComment": "/**\n * Determines if the menu should open on right click.\n *\n * @public\n */\n",
13621
+ "excerptTokens": [
13622
+ {
13623
+ "kind": "Content",
13624
+ "text": "openOnContext?: "
13625
+ },
13626
+ {
13627
+ "kind": "Content",
13628
+ "text": "boolean"
13629
+ },
13630
+ {
13631
+ "kind": "Content",
13632
+ "text": ";"
13633
+ }
13634
+ ],
13635
+ "isReadonly": false,
13636
+ "isOptional": true,
13637
+ "releaseTag": "Public",
13638
+ "name": "openOnContext",
13639
+ "propertyTypeTokenRange": {
13640
+ "startIndex": 1,
13641
+ "endIndex": 2
13642
+ },
13643
+ "isStatic": false,
13644
+ "isProtected": false
13645
+ },
13646
+ {
13647
+ "kind": "Method",
13648
+ "canonicalReference": "@fluentui/web-components!Menu#openOnContextChanged:member(1)",
13649
+ "docComment": "/**\n * Called whenever the 'openOnContext' property changes. Adds or removes a 'contextmenu' event listener to the trigger based on the new value.\n *\n * @param oldValue - The previous value of 'openOnContext'.\n *\n * @param newValue - The new value of 'openOnContext'.\n *\n * @public\n */\n",
13650
+ "excerptTokens": [
13651
+ {
13652
+ "kind": "Content",
13653
+ "text": "openOnContextChanged(oldValue: "
13654
+ },
13655
+ {
13656
+ "kind": "Content",
13657
+ "text": "boolean"
13658
+ },
13659
+ {
13660
+ "kind": "Content",
13661
+ "text": ", newValue: "
13662
+ },
13663
+ {
13664
+ "kind": "Content",
13665
+ "text": "boolean"
13666
+ },
13667
+ {
13668
+ "kind": "Content",
13669
+ "text": "): "
13670
+ },
13671
+ {
13672
+ "kind": "Content",
13673
+ "text": "void"
13674
+ },
13675
+ {
13676
+ "kind": "Content",
13677
+ "text": ";"
13678
+ }
13679
+ ],
13680
+ "isStatic": false,
13681
+ "returnTypeTokenRange": {
13682
+ "startIndex": 5,
13683
+ "endIndex": 6
13684
+ },
13685
+ "releaseTag": "Public",
13686
+ "isProtected": false,
13687
+ "overloadIndex": 1,
13688
+ "parameters": [
13689
+ {
13690
+ "parameterName": "oldValue",
13691
+ "parameterTypeTokenRange": {
13692
+ "startIndex": 1,
13693
+ "endIndex": 2
13694
+ },
13695
+ "isOptional": false
13696
+ },
13697
+ {
13698
+ "parameterName": "newValue",
13699
+ "parameterTypeTokenRange": {
13700
+ "startIndex": 3,
13701
+ "endIndex": 4
13702
+ },
13703
+ "isOptional": false
13704
+ }
13705
+ ],
13706
+ "isOptional": false,
13707
+ "name": "openOnContextChanged"
13708
+ },
13709
+ {
13710
+ "kind": "Property",
13711
+ "canonicalReference": "@fluentui/web-components!Menu#openOnHover:member",
13712
+ "docComment": "/**\n * Determines if the menu should open on hover.\n *\n * @public\n */\n",
13713
+ "excerptTokens": [
13714
+ {
13715
+ "kind": "Content",
13716
+ "text": "openOnHover?: "
13717
+ },
13718
+ {
13719
+ "kind": "Content",
13720
+ "text": "boolean"
13721
+ },
13722
+ {
13723
+ "kind": "Content",
13724
+ "text": ";"
13725
+ }
13726
+ ],
13727
+ "isReadonly": false,
13728
+ "isOptional": true,
13729
+ "releaseTag": "Public",
13730
+ "name": "openOnHover",
13731
+ "propertyTypeTokenRange": {
13732
+ "startIndex": 1,
13733
+ "endIndex": 2
13734
+ },
13735
+ "isStatic": false,
13736
+ "isProtected": false
13737
+ },
13738
+ {
13739
+ "kind": "Method",
13740
+ "canonicalReference": "@fluentui/web-components!Menu#openOnHoverChanged:member(1)",
13741
+ "docComment": "/**\n * Called whenever the 'openOnHover' property changes. Adds or removes a 'mouseover' event listener to the trigger based on the new value.\n *\n * @param oldValue - The previous value of 'openOnHover'.\n *\n * @param newValue - The new value of 'openOnHover'.\n *\n * @public\n */\n",
13742
+ "excerptTokens": [
13743
+ {
13744
+ "kind": "Content",
13745
+ "text": "openOnHoverChanged(oldValue: "
13746
+ },
13747
+ {
13748
+ "kind": "Content",
13749
+ "text": "boolean"
13750
+ },
13751
+ {
13752
+ "kind": "Content",
13753
+ "text": ", newValue: "
13754
+ },
13755
+ {
13756
+ "kind": "Content",
13757
+ "text": "boolean"
13758
+ },
13759
+ {
13760
+ "kind": "Content",
13761
+ "text": "): "
13762
+ },
13763
+ {
13764
+ "kind": "Content",
13765
+ "text": "void"
13766
+ },
13767
+ {
13768
+ "kind": "Content",
13769
+ "text": ";"
13770
+ }
13771
+ ],
13772
+ "isStatic": false,
13773
+ "returnTypeTokenRange": {
13774
+ "startIndex": 5,
13775
+ "endIndex": 6
13776
+ },
13777
+ "releaseTag": "Public",
13778
+ "isProtected": false,
13779
+ "overloadIndex": 1,
13780
+ "parameters": [
13781
+ {
13782
+ "parameterName": "oldValue",
13783
+ "parameterTypeTokenRange": {
13784
+ "startIndex": 1,
13785
+ "endIndex": 2
13786
+ },
13787
+ "isOptional": false
13788
+ },
13789
+ {
13790
+ "parameterName": "newValue",
13791
+ "parameterTypeTokenRange": {
13792
+ "startIndex": 3,
13793
+ "endIndex": 4
13794
+ },
13795
+ "isOptional": false
13796
+ }
13797
+ ],
13798
+ "isOptional": false,
13799
+ "name": "openOnHoverChanged"
13800
+ },
13801
+ {
13802
+ "kind": "Property",
13803
+ "canonicalReference": "@fluentui/web-components!Menu#persistOnItemClick:member",
13804
+ "docComment": "/**\n * Determines if the menu open state should persis on click of menu item\n *\n * @public\n */\n",
13805
+ "excerptTokens": [
13806
+ {
13807
+ "kind": "Content",
13808
+ "text": "persistOnItemClick?: "
13809
+ },
13810
+ {
13811
+ "kind": "Content",
13812
+ "text": "boolean"
13813
+ },
13814
+ {
13815
+ "kind": "Content",
13816
+ "text": ";"
13817
+ }
13818
+ ],
13819
+ "isReadonly": false,
13820
+ "isOptional": true,
13821
+ "releaseTag": "Public",
13822
+ "name": "persistOnItemClick",
13823
+ "propertyTypeTokenRange": {
13824
+ "startIndex": 1,
13825
+ "endIndex": 2
13826
+ },
13827
+ "isStatic": false,
13828
+ "isProtected": false
13829
+ },
13830
+ {
13831
+ "kind": "Method",
13832
+ "canonicalReference": "@fluentui/web-components!Menu#persistOnItemClickChanged:member(1)",
13833
+ "docComment": "/**\n * Called whenever the 'persistOnItemClick' property changes. Adds or removes a 'click' event listener to the menu list based on the new value.\n *\n * @param oldValue - The previous value of 'persistOnItemClick'.\n *\n * @param newValue - The new value of 'persistOnItemClick'.\n *\n * @public\n */\n",
13834
+ "excerptTokens": [
13835
+ {
13836
+ "kind": "Content",
13837
+ "text": "persistOnItemClickChanged(oldValue: "
13838
+ },
13839
+ {
13840
+ "kind": "Content",
13841
+ "text": "boolean"
13842
+ },
13843
+ {
13844
+ "kind": "Content",
13845
+ "text": ", newValue: "
13846
+ },
13847
+ {
13848
+ "kind": "Content",
13849
+ "text": "boolean"
13850
+ },
13851
+ {
13852
+ "kind": "Content",
13853
+ "text": "): "
13854
+ },
13855
+ {
13856
+ "kind": "Content",
13857
+ "text": "void"
13858
+ },
13859
+ {
13860
+ "kind": "Content",
13861
+ "text": ";"
13862
+ }
13863
+ ],
13864
+ "isStatic": false,
13865
+ "returnTypeTokenRange": {
13866
+ "startIndex": 5,
13867
+ "endIndex": 6
13868
+ },
13869
+ "releaseTag": "Public",
13870
+ "isProtected": false,
13871
+ "overloadIndex": 1,
13872
+ "parameters": [
13873
+ {
13874
+ "parameterName": "oldValue",
13875
+ "parameterTypeTokenRange": {
13876
+ "startIndex": 1,
13877
+ "endIndex": 2
13878
+ },
13879
+ "isOptional": false
13880
+ },
13881
+ {
13882
+ "parameterName": "newValue",
13883
+ "parameterTypeTokenRange": {
13884
+ "startIndex": 3,
13885
+ "endIndex": 4
13886
+ },
13887
+ "isOptional": false
13888
+ }
13889
+ ],
13890
+ "isOptional": false,
13891
+ "name": "persistOnItemClickChanged"
13892
+ },
13893
+ {
13894
+ "kind": "Method",
13895
+ "canonicalReference": "@fluentui/web-components!Menu#setComponent:member(1)",
13896
+ "docComment": "/**\n * Sets the component. Sets the trigger and menu list elements and adds event listeners.\n *\n * @public\n */\n",
13897
+ "excerptTokens": [
13898
+ {
13899
+ "kind": "Content",
13900
+ "text": "setComponent(): "
13901
+ },
13902
+ {
13903
+ "kind": "Content",
13904
+ "text": "void"
13905
+ },
13906
+ {
13907
+ "kind": "Content",
13908
+ "text": ";"
13909
+ }
13910
+ ],
13911
+ "isStatic": false,
13912
+ "returnTypeTokenRange": {
13913
+ "startIndex": 1,
13914
+ "endIndex": 2
13915
+ },
13916
+ "releaseTag": "Public",
13917
+ "isProtected": false,
13918
+ "overloadIndex": 1,
13919
+ "parameters": [],
13920
+ "isOptional": false,
13921
+ "name": "setComponent"
13922
+ },
13923
+ {
13924
+ "kind": "Method",
13925
+ "canonicalReference": "@fluentui/web-components!Menu#setPositioning:member(1)",
13926
+ "docComment": "/**\n * Sets the positioning of the menu. @protected\n */\n",
13927
+ "excerptTokens": [
13928
+ {
13929
+ "kind": "Content",
13930
+ "text": "protected setPositioning(): "
13931
+ },
13932
+ {
13933
+ "kind": "Content",
13934
+ "text": "void"
13935
+ },
13936
+ {
13937
+ "kind": "Content",
13938
+ "text": ";"
13939
+ }
13940
+ ],
13941
+ "isStatic": false,
13942
+ "returnTypeTokenRange": {
13943
+ "startIndex": 1,
13944
+ "endIndex": 2
13945
+ },
13946
+ "releaseTag": "Public",
13947
+ "isProtected": true,
13948
+ "overloadIndex": 1,
13949
+ "parameters": [],
13950
+ "isOptional": false,
13951
+ "name": "setPositioning"
13952
+ },
13953
+ {
13954
+ "kind": "Property",
13955
+ "canonicalReference": "@fluentui/web-components!Menu#setPositioningTask:member",
13956
+ "docComment": "/**\n * The task to set the positioning of the menu. @protected\n */\n",
13957
+ "excerptTokens": [
13958
+ {
13959
+ "kind": "Content",
13960
+ "text": "protected setPositioningTask: "
13961
+ },
13962
+ {
13963
+ "kind": "Content",
13964
+ "text": "() => void"
13965
+ },
13966
+ {
13967
+ "kind": "Content",
13968
+ "text": ";"
13969
+ }
13970
+ ],
13971
+ "isReadonly": false,
13972
+ "isOptional": false,
13973
+ "releaseTag": "Public",
13974
+ "name": "setPositioningTask",
13975
+ "propertyTypeTokenRange": {
13976
+ "startIndex": 1,
13977
+ "endIndex": 2
13978
+ },
13979
+ "isStatic": false,
13980
+ "isProtected": true
13981
+ },
13982
+ {
13983
+ "kind": "Property",
13984
+ "canonicalReference": "@fluentui/web-components!Menu#slottedMenuList:member",
13985
+ "docComment": "/**\n * Holds the slotted menu list.\n *\n * @public\n */\n",
13986
+ "excerptTokens": [
13987
+ {
13988
+ "kind": "Content",
13989
+ "text": "slottedMenuList: "
13990
+ },
13991
+ {
13992
+ "kind": "Reference",
13993
+ "text": "MenuList",
13994
+ "canonicalReference": "@fluentui/web-components!MenuList:class"
13995
+ },
13996
+ {
13997
+ "kind": "Content",
13998
+ "text": "[]"
13999
+ },
14000
+ {
14001
+ "kind": "Content",
14002
+ "text": ";"
14003
+ }
14004
+ ],
14005
+ "isReadonly": false,
14006
+ "isOptional": false,
14007
+ "releaseTag": "Public",
14008
+ "name": "slottedMenuList",
14009
+ "propertyTypeTokenRange": {
14010
+ "startIndex": 1,
14011
+ "endIndex": 3
14012
+ },
14013
+ "isStatic": false,
14014
+ "isProtected": false
14015
+ },
14016
+ {
14017
+ "kind": "Property",
14018
+ "canonicalReference": "@fluentui/web-components!Menu#slottedTriggers:member",
14019
+ "docComment": "/**\n * Holds the slotted triggers.\n *\n * @public\n */\n",
14020
+ "excerptTokens": [
14021
+ {
14022
+ "kind": "Content",
14023
+ "text": "slottedTriggers: "
14024
+ },
14025
+ {
14026
+ "kind": "Reference",
14027
+ "text": "HTMLElement",
14028
+ "canonicalReference": "!HTMLElement:interface"
14029
+ },
14030
+ {
14031
+ "kind": "Content",
14032
+ "text": "[]"
14033
+ },
14034
+ {
14035
+ "kind": "Content",
14036
+ "text": ";"
14037
+ }
14038
+ ],
14039
+ "isReadonly": false,
14040
+ "isOptional": false,
14041
+ "releaseTag": "Public",
14042
+ "name": "slottedTriggers",
14043
+ "propertyTypeTokenRange": {
14044
+ "startIndex": 1,
14045
+ "endIndex": 3
14046
+ },
14047
+ "isStatic": false,
14048
+ "isProtected": false
14049
+ },
14050
+ {
14051
+ "kind": "Property",
14052
+ "canonicalReference": "@fluentui/web-components!Menu#toggleMenu:member",
14053
+ "docComment": "/**\n * Toggles the open state of the menu.\n *\n * @public\n */\n",
14054
+ "excerptTokens": [
14055
+ {
14056
+ "kind": "Content",
14057
+ "text": "toggleMenu: "
14058
+ },
14059
+ {
14060
+ "kind": "Content",
14061
+ "text": "() => void"
14062
+ },
14063
+ {
14064
+ "kind": "Content",
14065
+ "text": ";"
14066
+ }
14067
+ ],
14068
+ "isReadonly": false,
14069
+ "isOptional": false,
14070
+ "releaseTag": "Public",
14071
+ "name": "toggleMenu",
14072
+ "propertyTypeTokenRange": {
14073
+ "startIndex": 1,
14074
+ "endIndex": 2
14075
+ },
14076
+ "isStatic": false,
14077
+ "isProtected": false
14078
+ }
14079
+ ],
14080
+ "extendsTokenRange": {
14081
+ "startIndex": 1,
14082
+ "endIndex": 2
14083
+ },
14084
+ "implementsTokenRanges": []
14085
+ },
13108
14086
  {
13109
14087
  "kind": "Class",
13110
14088
  "canonicalReference": "@fluentui/web-components!MenuButton:class",
@@ -13393,6 +14371,46 @@
13393
14371
  "endIndex": 5
13394
14372
  }
13395
14373
  },
14374
+ {
14375
+ "kind": "Variable",
14376
+ "canonicalReference": "@fluentui/web-components!MenuDefinition:var",
14377
+ "docComment": "/**\n * The Fluent Menu Element.\n *\n * @remarks\n *\n * HTML Element: <fluent-menu>\n *\n * @public\n */\n",
14378
+ "excerptTokens": [
14379
+ {
14380
+ "kind": "Content",
14381
+ "text": "definition: "
14382
+ },
14383
+ {
14384
+ "kind": "Content",
14385
+ "text": "import(\"@microsoft/fast-element\")."
14386
+ },
14387
+ {
14388
+ "kind": "Reference",
14389
+ "text": "FASTElementDefinition",
14390
+ "canonicalReference": "@microsoft/fast-element!FASTElementDefinition:class"
14391
+ },
14392
+ {
14393
+ "kind": "Content",
14394
+ "text": "<typeof "
14395
+ },
14396
+ {
14397
+ "kind": "Reference",
14398
+ "text": "Menu",
14399
+ "canonicalReference": "@fluentui/web-components!Menu:class"
14400
+ },
14401
+ {
14402
+ "kind": "Content",
14403
+ "text": ">"
14404
+ }
14405
+ ],
14406
+ "isReadonly": true,
14407
+ "releaseTag": "Public",
14408
+ "name": "MenuDefinition",
14409
+ "variableTypeTokenRange": {
14410
+ "startIndex": 1,
14411
+ "endIndex": 6
14412
+ }
14413
+ },
13396
14414
  {
13397
14415
  "kind": "Class",
13398
14416
  "canonicalReference": "@fluentui/web-components!MenuItem:class",
@@ -13713,6 +14731,69 @@
13713
14731
  "endIndex": 5
13714
14732
  }
13715
14733
  },
14734
+ {
14735
+ "kind": "Variable",
14736
+ "canonicalReference": "@fluentui/web-components!MenuStyles:var",
14737
+ "docComment": "/**\n * Menu styles\n *\n * @public\n */\n",
14738
+ "excerptTokens": [
14739
+ {
14740
+ "kind": "Content",
14741
+ "text": "styles: "
14742
+ },
14743
+ {
14744
+ "kind": "Content",
14745
+ "text": "import(\"@microsoft/fast-element\")."
14746
+ },
14747
+ {
14748
+ "kind": "Reference",
14749
+ "text": "ElementStyles",
14750
+ "canonicalReference": "@microsoft/fast-element!ElementStyles:class"
14751
+ }
14752
+ ],
14753
+ "isReadonly": true,
14754
+ "releaseTag": "Public",
14755
+ "name": "MenuStyles",
14756
+ "variableTypeTokenRange": {
14757
+ "startIndex": 1,
14758
+ "endIndex": 3
14759
+ }
14760
+ },
14761
+ {
14762
+ "kind": "Variable",
14763
+ "canonicalReference": "@fluentui/web-components!MenuTemplate:var",
14764
+ "docComment": "",
14765
+ "excerptTokens": [
14766
+ {
14767
+ "kind": "Content",
14768
+ "text": "template: "
14769
+ },
14770
+ {
14771
+ "kind": "Reference",
14772
+ "text": "ElementViewTemplate",
14773
+ "canonicalReference": "@microsoft/fast-element!ElementViewTemplate:interface"
14774
+ },
14775
+ {
14776
+ "kind": "Content",
14777
+ "text": "<"
14778
+ },
14779
+ {
14780
+ "kind": "Reference",
14781
+ "text": "Menu",
14782
+ "canonicalReference": "@fluentui/web-components!Menu:class"
14783
+ },
14784
+ {
14785
+ "kind": "Content",
14786
+ "text": ">"
14787
+ }
14788
+ ],
14789
+ "isReadonly": true,
14790
+ "releaseTag": "Public",
14791
+ "name": "MenuTemplate",
14792
+ "variableTypeTokenRange": {
14793
+ "startIndex": 1,
14794
+ "endIndex": 5
14795
+ }
14796
+ },
13716
14797
  {
13717
14798
  "kind": "Class",
13718
14799
  "canonicalReference": "@fluentui/web-components!ProgressBar_2:class",