@lion/ui 0.18.0-menu-system.4 → 0.18.0-menu-system.5

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 (81) hide show
  1. package/components/collapsible/test-suites/DisclosureMixin.suite.js +30 -0
  2. package/components/menu/src/InteractiveListMixin.js +56 -23
  3. package/components/menu/src/LionMenu.js +1 -1
  4. package/components/menu/src/LionToolbar.js +1 -1
  5. package/components/menu/src/utils/listItemInteractions.js +25 -6
  6. package/components/menu/test/lion-menu.test.js +2 -1
  7. package/components/menu/test-suites/InteractiveListMixin.suite.js +164 -2
  8. package/custom-elements.json +263 -19
  9. package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts +2 -0
  10. package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts.map +1 -0
  11. package/dist-types/components/menu/src/InteractiveListMixin.d.ts +11 -5
  12. package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +1 -1
  13. package/dist-types/components/menu/src/LionMenu.d.ts +4 -2
  14. package/dist-types/components/menu/src/LionMenu.d.ts.map +1 -1
  15. package/dist-types/components/menu/src/LionMenuOverlay.d.ts +8 -4
  16. package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +1 -1
  17. package/dist-types/components/menu/src/LionTree.d.ts +4 -2
  18. package/dist-types/components/menu/src/LionTree.d.ts.map +1 -1
  19. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +4 -2
  20. package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +1 -1
  21. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +8 -2
  22. package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +1 -1
  23. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +6 -5
  24. package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +1 -1
  25. package/dist-types/exports/menu-test-suites.d.ts +2 -0
  26. package/dist-types/exports/menu-test-suites.d.ts.map +1 -0
  27. package/dist-types/tsconfig.tsbuildinfo +1 -1
  28. package/docs/components/checkbox-group/overview.md +2 -2
  29. package/docs/components/collapsible/overview.md +1 -1
  30. package/docs/components/combobox/overview.md +1 -1
  31. package/docs/components/combobox/use-cases.md +1 -1
  32. package/docs/components/dialog/overview.md +1 -1
  33. package/docs/components/fieldset/overview.md +5 -5
  34. package/docs/components/form/overview.md +3 -3
  35. package/docs/components/form/use-cases.md +2 -2
  36. package/docs/components/icon/use-cases.md +1 -1
  37. package/docs/components/input/overview.md +1 -1
  38. package/docs/components/input-amount/overview.md +3 -3
  39. package/docs/components/input-date/overview.md +3 -3
  40. package/docs/components/input-datepicker/overview.md +5 -5
  41. package/docs/components/input-email/overview.md +2 -2
  42. package/docs/components/input-file/overview.md +1 -1
  43. package/docs/components/input-iban/overview.md +2 -2
  44. package/docs/components/input-range/overview.md +2 -2
  45. package/docs/components/input-stepper/overview.md +1 -1
  46. package/docs/components/input-tel/overview.md +1 -1
  47. package/docs/components/input-tel/use-cases.md +6 -6
  48. package/docs/components/input-tel-dropdown/overview.md +1 -1
  49. package/docs/components/listbox/use-cases.md +1 -1
  50. package/docs/components/menu/api-table.md +197 -192
  51. package/docs/components/menu/overview.md +39 -39
  52. package/docs/components/radio-group/overview.md +3 -3
  53. package/docs/components/select/use-cases.md +1 -1
  54. package/docs/components/select-rich/use-cases.md +2 -2
  55. package/docs/components/tabs/examples.md +1 -1
  56. package/docs/fundamentals/index.md +4 -4
  57. package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
  58. package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
  59. package/docs/fundamentals/rationales/accessibility.md +1 -1
  60. package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
  61. package/docs/fundamentals/systems/core/overview.md +1 -1
  62. package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
  63. package/docs/fundamentals/systems/form/model-value.md +1 -1
  64. package/docs/fundamentals/systems/form/overview.md +28 -28
  65. package/docs/fundamentals/systems/form/validate.md +2 -2
  66. package/docs/fundamentals/systems/localize/overview.md +4 -4
  67. package/docs/fundamentals/systems/overlays/configuration.md +2 -2
  68. package/docs/fundamentals/systems/overlays/overview.md +5 -5
  69. package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
  70. package/docs/fundamentals/tools/helpers/overview.md +1 -1
  71. package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
  72. package/docs/guides/how-to/create-a-custom-field.md +5 -5
  73. package/docs/guides/how-to/create-a-form.md +4 -4
  74. package/docs/guides/how-to/extend-a-native-input.md +2 -2
  75. package/docs/guides/how-to/index.md +1 -1
  76. package/docs/guides/index.md +8 -8
  77. package/docs/guides/principles/index.md +5 -5
  78. package/docs/guides/principles/styling.md +1 -1
  79. package/exports/menu-test-suites.js +2 -0
  80. package/menu-test-suites.js +2 -0
  81. package/package.json +1 -1
@@ -1743,6 +1743,21 @@
1743
1743
  }
1744
1744
  ]
1745
1745
  },
1746
+ {
1747
+ "kind": "javascript-module",
1748
+ "path": "exports/menu-test-suites.js",
1749
+ "declarations": [],
1750
+ "exports": [
1751
+ {
1752
+ "kind": "js",
1753
+ "name": "runInteractiveListMixinSuite",
1754
+ "declaration": {
1755
+ "name": "runInteractiveListMixinSuite",
1756
+ "module": "../components/menu/test-suites/InteractiveListMixin.suite.js"
1757
+ }
1758
+ }
1759
+ ]
1760
+ },
1746
1761
  {
1747
1762
  "kind": "javascript-module",
1748
1763
  "path": "exports/menu.js",
@@ -122975,6 +122990,35 @@
122975
122990
  }
122976
122991
  ]
122977
122992
  },
122993
+ {
122994
+ "kind": "javascript-module",
122995
+ "path": "components/menu/test-suites/InteractiveListMixin.suite.js",
122996
+ "declarations": [
122997
+ {
122998
+ "kind": "function",
122999
+ "name": "runInteractiveListMixinSuite",
123000
+ "parameters": [
123001
+ {
123002
+ "name": "customConfig",
123003
+ "optional": true,
123004
+ "type": {
123005
+ "text": "TestConfig"
123006
+ }
123007
+ }
123008
+ ]
123009
+ }
123010
+ ],
123011
+ "exports": [
123012
+ {
123013
+ "kind": "js",
123014
+ "name": "runInteractiveListMixinSuite",
123015
+ "declaration": {
123016
+ "name": "runInteractiveListMixinSuite",
123017
+ "module": "components/menu/test-suites/InteractiveListMixin.suite.js"
123018
+ }
123019
+ }
123020
+ ]
123021
+ },
122978
123022
  {
122979
123023
  "kind": "javascript-module",
122980
123024
  "path": "components/menu/src/LionMenu.js",
@@ -123351,7 +123395,7 @@
123351
123395
  "type": {
123352
123396
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
123353
123397
  },
123354
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
123398
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
123355
123399
  "default": "'roving-tabindex'",
123356
123400
  "attribute": "_activeMode",
123357
123401
  "inheritedFrom": {
@@ -123646,6 +123690,15 @@
123646
123690
  },
123647
123691
  "privacy": "protected"
123648
123692
  },
123693
+ {
123694
+ "kind": "field",
123695
+ "name": "_onPopState",
123696
+ "privacy": "protected",
123697
+ "inheritedFrom": {
123698
+ "name": "InteractiveListMixin",
123699
+ "module": "components/menu/src/InteractiveListMixin.js"
123700
+ }
123701
+ },
123649
123702
  {
123650
123703
  "kind": "field",
123651
123704
  "name": "_scrollTargetNode",
@@ -123754,6 +123807,23 @@
123754
123807
  },
123755
123808
  "privacy": "private"
123756
123809
  },
123810
+ {
123811
+ "kind": "method",
123812
+ "name": "__syncCurrentPageWithLocationHref",
123813
+ "parameters": [
123814
+ {
123815
+ "name": "location",
123816
+ "type": {
123817
+ "text": "Location"
123818
+ }
123819
+ }
123820
+ ],
123821
+ "inheritedFrom": {
123822
+ "name": "InteractiveListMixin",
123823
+ "module": "components/menu/src/InteractiveListMixin.js"
123824
+ },
123825
+ "privacy": "private"
123826
+ },
123757
123827
  {
123758
123828
  "kind": "field",
123759
123829
  "name": "__typedChars",
@@ -123915,7 +123985,7 @@
123915
123985
  "type": {
123916
123986
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
123917
123987
  },
123918
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
123988
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
123919
123989
  "default": "'activedescendant'",
123920
123990
  "fieldName": "_activeMode",
123921
123991
  "inheritedFrom": {
@@ -124668,6 +124738,31 @@
124668
124738
  "module": "components/menu/src/InteractiveListMixin.js"
124669
124739
  }
124670
124740
  },
124741
+ {
124742
+ "kind": "method",
124743
+ "name": "__syncCurrentPageWithLocationHref",
124744
+ "parameters": [
124745
+ {
124746
+ "name": "location",
124747
+ "type": {
124748
+ "text": "Location"
124749
+ }
124750
+ }
124751
+ ],
124752
+ "inheritedFrom": {
124753
+ "name": "InteractiveListMixin",
124754
+ "module": "components/menu/src/InteractiveListMixin.js"
124755
+ }
124756
+ },
124757
+ {
124758
+ "kind": "field",
124759
+ "name": "_onPopState",
124760
+ "privacy": "protected",
124761
+ "inheritedFrom": {
124762
+ "name": "InteractiveListMixin",
124763
+ "module": "components/menu/src/InteractiveListMixin.js"
124764
+ }
124765
+ },
124671
124766
  {
124672
124767
  "kind": "field",
124673
124768
  "name": "orientation",
@@ -124747,7 +124842,7 @@
124747
124842
  "type": {
124748
124843
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
124749
124844
  },
124750
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
124845
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
124751
124846
  "default": "'activedescendant'",
124752
124847
  "attribute": "_activeMode",
124753
124848
  "inheritedFrom": {
@@ -125437,7 +125532,7 @@
125437
125532
  "type": {
125438
125533
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
125439
125534
  },
125440
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
125535
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
125441
125536
  "default": "'activedescendant'",
125442
125537
  "fieldName": "_activeMode",
125443
125538
  "inheritedFrom": {
@@ -125944,7 +126039,7 @@
125944
126039
  "type": {
125945
126040
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
125946
126041
  },
125947
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
126042
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
125948
126043
  "default": "'activedescendant'",
125949
126044
  "attribute": "_activeMode",
125950
126045
  "inheritedFrom": {
@@ -126327,6 +126422,15 @@
126327
126422
  },
126328
126423
  "privacy": "protected"
126329
126424
  },
126425
+ {
126426
+ "kind": "field",
126427
+ "name": "_onPopState",
126428
+ "privacy": "protected",
126429
+ "inheritedFrom": {
126430
+ "name": "LionMenu",
126431
+ "module": "components/menu/src/LionMenu.js"
126432
+ }
126433
+ },
126330
126434
  {
126331
126435
  "kind": "field",
126332
126436
  "name": "_overlayBackdropNode",
@@ -126550,6 +126654,23 @@
126550
126654
  "module": "components/overlays/src/OverlayMixin.js"
126551
126655
  }
126552
126656
  },
126657
+ {
126658
+ "kind": "method",
126659
+ "name": "__syncCurrentPageWithLocationHref",
126660
+ "parameters": [
126661
+ {
126662
+ "name": "location",
126663
+ "type": {
126664
+ "text": "Location"
126665
+ }
126666
+ }
126667
+ ],
126668
+ "inheritedFrom": {
126669
+ "name": "LionMenu",
126670
+ "module": "components/menu/src/LionMenu.js"
126671
+ },
126672
+ "privacy": "private"
126673
+ },
126553
126674
  {
126554
126675
  "kind": "method",
126555
126676
  "name": "__syncToOverlayController",
@@ -126706,7 +126827,7 @@
126706
126827
  "type": {
126707
126828
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
126708
126829
  },
126709
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
126830
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
126710
126831
  "default": "'activedescendant'",
126711
126832
  "fieldName": "_activeMode",
126712
126833
  "inheritedFrom": {
@@ -127165,7 +127286,7 @@
127165
127286
  "type": {
127166
127287
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
127167
127288
  },
127168
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
127289
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
127169
127290
  "default": "'roving-tabindex'",
127170
127291
  "attribute": "_activeMode",
127171
127292
  "inheritedFrom": {
@@ -127460,6 +127581,15 @@
127460
127581
  },
127461
127582
  "privacy": "protected"
127462
127583
  },
127584
+ {
127585
+ "kind": "field",
127586
+ "name": "_onPopState",
127587
+ "privacy": "protected",
127588
+ "inheritedFrom": {
127589
+ "name": "InteractiveListMixin",
127590
+ "module": "components/menu/src/InteractiveListMixin.js"
127591
+ }
127592
+ },
127463
127593
  {
127464
127594
  "kind": "field",
127465
127595
  "name": "_scrollTargetNode",
@@ -127573,6 +127703,23 @@
127573
127703
  "name": "__setAriaLevelForListItems",
127574
127704
  "privacy": "private"
127575
127705
  },
127706
+ {
127707
+ "kind": "method",
127708
+ "name": "__syncCurrentPageWithLocationHref",
127709
+ "parameters": [
127710
+ {
127711
+ "name": "location",
127712
+ "type": {
127713
+ "text": "Location"
127714
+ }
127715
+ }
127716
+ ],
127717
+ "inheritedFrom": {
127718
+ "name": "InteractiveListMixin",
127719
+ "module": "components/menu/src/InteractiveListMixin.js"
127720
+ },
127721
+ "privacy": "private"
127722
+ },
127576
127723
  {
127577
127724
  "kind": "field",
127578
127725
  "name": "__typedChars",
@@ -127737,7 +127884,7 @@
127737
127884
  "type": {
127738
127885
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
127739
127886
  },
127740
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
127887
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
127741
127888
  "default": "'activedescendant'",
127742
127889
  "fieldName": "_activeMode",
127743
127890
  "inheritedFrom": {
@@ -128143,7 +128290,7 @@
128143
128290
  "type": {
128144
128291
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
128145
128292
  },
128146
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
128293
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
128147
128294
  "default": "'roving-tabindex'",
128148
128295
  "attribute": "_activeMode",
128149
128296
  "inheritedFrom": {
@@ -128438,6 +128585,15 @@
128438
128585
  },
128439
128586
  "privacy": "protected"
128440
128587
  },
128588
+ {
128589
+ "kind": "field",
128590
+ "name": "_onPopState",
128591
+ "privacy": "protected",
128592
+ "inheritedFrom": {
128593
+ "name": "LionMenu",
128594
+ "module": "components/menu/src/LionMenu.js"
128595
+ }
128596
+ },
128441
128597
  {
128442
128598
  "kind": "field",
128443
128599
  "name": "_scrollTargetNode",
@@ -128546,6 +128702,23 @@
128546
128702
  },
128547
128703
  "privacy": "private"
128548
128704
  },
128705
+ {
128706
+ "kind": "method",
128707
+ "name": "__syncCurrentPageWithLocationHref",
128708
+ "parameters": [
128709
+ {
128710
+ "name": "location",
128711
+ "type": {
128712
+ "text": "Location"
128713
+ }
128714
+ }
128715
+ ],
128716
+ "inheritedFrom": {
128717
+ "name": "LionMenu",
128718
+ "module": "components/menu/src/LionMenu.js"
128719
+ },
128720
+ "privacy": "private"
128721
+ },
128549
128722
  {
128550
128723
  "kind": "field",
128551
128724
  "name": "__typedChars",
@@ -128704,7 +128877,7 @@
128704
128877
  "type": {
128705
128878
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
128706
128879
  },
128707
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
128880
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
128708
128881
  "default": "'activedescendant'",
128709
128882
  "fieldName": "_activeMode",
128710
128883
  "inheritedFrom": {
@@ -129145,6 +129318,23 @@
129145
129318
  }
129146
129319
  ]
129147
129320
  },
129321
+ {
129322
+ "kind": "method",
129323
+ "name": "__syncCurrentPageWithLocationHref",
129324
+ "parameters": [
129325
+ {
129326
+ "name": "location",
129327
+ "type": {
129328
+ "text": "Location"
129329
+ }
129330
+ }
129331
+ ]
129332
+ },
129333
+ {
129334
+ "kind": "field",
129335
+ "name": "_onPopState",
129336
+ "privacy": "protected"
129337
+ },
129148
129338
  {
129149
129339
  "kind": "field",
129150
129340
  "name": "orientation",
@@ -129204,7 +129394,7 @@
129204
129394
  "type": {
129205
129395
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
129206
129396
  },
129207
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
129397
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
129208
129398
  "default": "'activedescendant'",
129209
129399
  "attribute": "_activeMode"
129210
129400
  },
@@ -129791,7 +129981,7 @@
129791
129981
  "type": {
129792
129982
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
129793
129983
  },
129794
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
129984
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
129795
129985
  "default": "'activedescendant'",
129796
129986
  "fieldName": "_activeMode"
129797
129987
  },
@@ -130359,7 +130549,7 @@
130359
130549
  "type": {
130360
130550
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
130361
130551
  },
130362
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
130552
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
130363
130553
  "default": "'activedescendant'",
130364
130554
  "attribute": "_activeMode",
130365
130555
  "inheritedFrom": {
@@ -130742,6 +130932,15 @@
130742
130932
  },
130743
130933
  "privacy": "protected"
130744
130934
  },
130935
+ {
130936
+ "kind": "field",
130937
+ "name": "_onPopState",
130938
+ "privacy": "protected",
130939
+ "inheritedFrom": {
130940
+ "name": "LionMenu",
130941
+ "module": "components/menu/src/LionMenu.js"
130942
+ }
130943
+ },
130745
130944
  {
130746
130945
  "kind": "field",
130747
130946
  "name": "_overlayBackdropNode",
@@ -130974,6 +131173,23 @@
130974
131173
  "module": "components/overlays/src/OverlayMixin.js"
130975
131174
  }
130976
131175
  },
131176
+ {
131177
+ "kind": "method",
131178
+ "name": "__syncCurrentPageWithLocationHref",
131179
+ "parameters": [
131180
+ {
131181
+ "name": "location",
131182
+ "type": {
131183
+ "text": "Location"
131184
+ }
131185
+ }
131186
+ ],
131187
+ "inheritedFrom": {
131188
+ "name": "LionMenu",
131189
+ "module": "components/menu/src/LionMenu.js"
131190
+ },
131191
+ "privacy": "private"
131192
+ },
130977
131193
  {
130978
131194
  "kind": "method",
130979
131195
  "name": "__syncToOverlayController",
@@ -131127,7 +131343,7 @@
131127
131343
  "type": {
131128
131344
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
131129
131345
  },
131130
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
131346
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
131131
131347
  "default": "'activedescendant'",
131132
131348
  "fieldName": "_activeMode",
131133
131349
  "inheritedFrom": {
@@ -163225,7 +163441,7 @@
163225
163441
  "type": {
163226
163442
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
163227
163443
  },
163228
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
163444
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
163229
163445
  "default": "'roving-tabindex'",
163230
163446
  "attribute": "_activeMode",
163231
163447
  "inheritedFrom": {
@@ -163602,6 +163818,31 @@
163602
163818
  "module": "components/menu/src/InteractiveListMixin.js"
163603
163819
  }
163604
163820
  },
163821
+ {
163822
+ "kind": "method",
163823
+ "name": "__syncCurrentPageWithLocationHref",
163824
+ "parameters": [
163825
+ {
163826
+ "name": "location",
163827
+ "type": {
163828
+ "text": "Location"
163829
+ }
163830
+ }
163831
+ ],
163832
+ "inheritedFrom": {
163833
+ "name": "InteractiveListMixin",
163834
+ "module": "components/menu/src/InteractiveListMixin.js"
163835
+ }
163836
+ },
163837
+ {
163838
+ "kind": "field",
163839
+ "name": "_onPopState",
163840
+ "privacy": "protected",
163841
+ "inheritedFrom": {
163842
+ "name": "InteractiveListMixin",
163843
+ "module": "components/menu/src/InteractiveListMixin.js"
163844
+ }
163845
+ },
163605
163846
  {
163606
163847
  "kind": "field",
163607
163848
  "name": "orientation",
@@ -164333,7 +164574,7 @@
164333
164574
  "type": {
164334
164575
  "text": "'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'"
164335
164576
  },
164336
- "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop. Also we apply aria-current",
164577
+ "description": "Whenever possible (for [role=\"listbox|menu\"], usually with one level) we use an\n[active descendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant).\nFor [role=toolbar], we use a [roving tabindex](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_roving_tabindex)\nOther examples:\n- [role=\"menubar\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)\n- [role=\"tree\"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)\nFor disclosure menus, we need keyboard navigation, but treat every list item\n(more precisely its anchor child) as a tab stop.",
164337
164578
  "default": "'activedescendant'",
164338
164579
  "fieldName": "_activeMode",
164339
164580
  "inheritedFrom": {
@@ -164450,11 +164691,14 @@
164450
164691
  }
164451
164692
  },
164452
164693
  {
164453
- "name": "shouldSet",
164454
- "default": "true",
164694
+ "name": "unset",
164695
+ "default": "false"
164696
+ },
164697
+ {
164698
+ "name": "options",
164455
164699
  "optional": true,
164456
164700
  "type": {
164457
- "text": "boolean"
164701
+ "text": "@param {boolean} [options.unset=false]\n * @param {'page'|'mixed'} [options.text] - optional text to set for aria-checked/aria-selected/aria-current (e.g. \"mixed\")\n "
164458
164702
  }
164459
164703
  }
164460
164704
  ]
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DisclosureMixin.suite.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisclosureMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/collapsible/test-suites/DisclosureMixin.suite.js"],"names":[],"mappings":""}
@@ -17,7 +17,7 @@ export class LionItem extends LitElement {
17
17
  /** @type {any} */
18
18
  static get properties(): any;
19
19
  static styles: import("lit").CSSResult[];
20
- get _invokerNode(): Element | undefined;
20
+ get _invokerNode(): HTMLElement | undefined;
21
21
  /** @type {InteractiveListItemRole |''} */
22
22
  type: InteractiveListItemRole | '';
23
23
  _computedType: string | undefined;
@@ -109,7 +109,7 @@ export function InteractiveListMixin(superclass: import('@open-wc/dedupe-mixin')
109
109
  * - [role="menubar"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/menubar/menubar-1/menubar-1.html)
110
110
  * - [role="tree"](https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-1/treeview-1b.html)
111
111
  * For disclosure menus, we need keyboard navigation, but treat every list item
112
- * (more precisely its anchor child) as a tab stop. Also we apply aria-current
112
+ * (more precisely its anchor child) as a tab stop.
113
113
  * @type {'activedescendant'|'roving-tabindex'|'tabbable-disclosure'|'none'}
114
114
  */
115
115
  _activeMode: 'activedescendant' | 'roving-tabindex' | 'tabbable-disclosure' | 'none';
@@ -165,6 +165,8 @@ export function InteractiveListMixin(superclass: import('@open-wc/dedupe-mixin')
165
165
  * @param {FocusEvent} ev
166
166
  */
167
167
  _onListFocusIn(ev: FocusEvent): void;
168
+ connectedCallback(): void;
169
+ disconnectedCallback(): void;
168
170
  /**
169
171
  * @param {import('lit').PropertyValues } changedProperties
170
172
  */
@@ -212,12 +214,16 @@ export function InteractiveListMixin(superclass: import('@open-wc/dedupe-mixin')
212
214
  * @param {number} [offset=-1]
213
215
  */
214
216
  _getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
217
+ /**
218
+ * @param {Location} location
219
+ */
220
+ __syncCurrentPageWithLocationHref(location: Location): void;
221
+ /** @protected */
222
+ _onPopState: () => void;
215
223
  readonly renderOptions: import("lit-html").RenderOptions;
216
224
  __childPart: any;
217
225
  createRenderRoot(): HTMLElement | DocumentFragment;
218
226
  update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
219
- connectedCallback: (() => void) & (() => void);
220
- disconnectedCallback(): void;
221
227
  __instanceProperties?: any;
222
228
  readonly renderRoot: HTMLElement | DocumentFragment;
223
229
  __updatePromise: any;
@@ -232,7 +238,7 @@ export function InteractiveListMixin(superclass: import('@open-wc/dedupe-mixin')
232
238
  removeController(controller: import("lit").ReactiveController): void;
233
239
  __saveInstanceProperties: any;
234
240
  enableUpdating(_requestedUpdate: boolean): void;
235
- attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
241
+ attributeChangedCallback(name: string, _old: string | null, value: string | null): void; /** @type {HTMLElement} */
236
242
  __propertyToAttribute: any;
237
243
  requestUpdate(name?: PropertyKey | undefined, oldValue?: unknown, options?: import("lit").PropertyDeclaration<unknown, unknown> | undefined, useNewValue?: boolean | undefined, newValue?: unknown): void;
238
244
  __enqueueUpdate: any;
@@ -1 +1 @@
1
- {"version":3,"file":"InteractiveListMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/InteractiveListMixin.js"],"names":[],"mappings":"AAuCA;;;;;;;;;;;;;;GAcG;AACH;IACE,kBAAkB;IAClB,6BAEC;IAyBD,yCAME;IA7BF,wCAEC;IAIC,0CAA0C;IAC1C,MADW,uBAAuB,GAAE,EAAE,CACxB;IAOZ,kCAA4C;IAiBhD,+CAKC;CACF;AAED;CAKC;AAGD;;;;;;;;;;;;;;;;;;GAkBG;AACH,iDAFW,OAAO,uBAAuB,EAAE,WAAW,CAAC,OAAO,KAAK,EAAE,UAAU,CAAC;;;;;;QAkE5E;;;;WAIG;;;QASH;;;WAGG;;QAQH;;;;WAIG;;QAMH;;;;WAIG;;;;;QA+EH;;WAEG;;QAkBH;;;WAGG;;QAgBH;;;WAGG;;;;;;QAeD;;;;WAIG;qBADO,OAAO;QAIjB;;;;;;;;;;WAUG;qBADO,kBAAkB,GAAC,iBAAiB,GAAC,qBAAqB,GAAC,MAAM;QAI3E;;;;;WAKG;2BADO,OAAO;QAIjB;;;WAGG;mBADO,MAAM,GAAC,SAAS,GAAC,SAAS,GAAC,MAAM,GAAC,SAAS;QAIrD;;WAEG;qBADO,WAAW,EAAE;QAIvB;;;;;WAKG;+BADO,OAAO;QAIjB;;;WAGG;gCADO,MAAM;QAIhB;;WAEG;sBADO,MAAM,EAAE;QA+SpB;;;WAGG;yBADQ,UAAU;QAerB;;;WAGG;yBADQ,aAAa;QAxKxB;;;WAGG;2BADQ,aAAa;QA2HxB;;;WAGG;2BADQ,UAAU;QA/QrB;;WAEG;wCADQ,OAAO,KAAK,EAAE,cAAc;QAOvC;;WAEG;wDADQ,IAAI,EAAE;;QAmHjB;;;WAGG;iCADQ,QAAQ,EAAE,GAAC,WAAW,EAAE;QAgFnC;;;WAGG;0CAFQ,aAAa,GACX,OAAO;;QAiCpB;;;WAGG;gDADQ;YAAC,KAAK,EAAE,MAAM,EAAE,CAAC;YAAC,IAAI,EAAE,WAAW,CAAA;SAAC;QAQ/C;;WAEG;4CADQ,aAAa;QAgFxB;;;WAGG;sCAFQ,MAAM,UACN,MAAM;QAyBjB;;;WAGG;4CAFQ,MAAM;QAOjB;;;WAGG;gDAFQ,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA3pBjB,kBAAkB;YAAP,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiqBf;sCA/wBU,OAAO,uCAAuC,EAAE,uBAAuB"}
1
+ {"version":3,"file":"InteractiveListMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/InteractiveListMixin.js"],"names":[],"mappings":"AAuCA;;;;;;;;;;;;;;GAcG;AACH;IACE,kBAAkB;IAClB,6BAIC;IAQD,yCAME;IAZF,4CAIC;IAYC,0CAA0C;IAC1C,MADW,uBAAuB,GAAE,EAAE,CACxB;IAOZ,kCAA4C;IAShD,+CAKC;CACF;AAED;CAKC;AAGD;;;;;;;;;;;;;;;;;;GAkBG;AACH,iDAFW,OAAO,uBAAuB,EAAE,WAAW,CAAC,OAAO,KAAK,EAAE,UAAU,CAAC;;;;;;QAkE5E;;;;WAIG;;;QASH;;;WAGG;;QAQH;;;;WAIG;;QAMH;;;;WAIG;;;;;QA+EH;;WAEG;;QAkBH;;;WAGG;;QAeH;;;WAGG;;;;;;QAeD;;;;WAIG;qBADO,OAAO;QAIjB;;;;;;;;;;WAUG;qBADO,kBAAkB,GAAC,iBAAiB,GAAC,qBAAqB,GAAC,MAAM;QAI3E;;;;;WAKG;2BADO,OAAO;QAIjB;;;WAGG;mBADO,MAAM,GAAC,SAAS,GAAC,SAAS,GAAC,MAAM,GAAC,SAAS;QAIrD;;WAEG;qBADO,WAAW,EAAE;QAIvB;;;;;WAKG;+BADO,OAAO;QAIjB;;;WAGG;gCADO,MAAM;QAIhB;;WAEG;sBADO,MAAM,EAAE;QAyTpB;;;WAGG;yBADQ,UAAU;QAerB;;;WAGG;yBADQ,aAAa;QAhKxB;;;WAGG;2BADQ,aAAa;QA2HxB;;;WAGG;2BADQ,UAAU;;;QAvRrB;;WAEG;wCADQ,OAAO,KAAK,EAAE,cAAc;QAOvC;;WAEG;wDADQ,IAAI,EAAE;;QAkHjB;;;WAGG;iCADQ,QAAQ,EAAE,GAAC,WAAW,EAAE;QAyFnC;;;WAGG;0CAFQ,aAAa,GACX,OAAO;;QAiCpB;;;WAGG;gDADQ;YAAC,KAAK,EAAE,MAAM,EAAE,CAAC;YAAC,IAAI,EAAE,WAAW,CAAA;SAAC;QAQ/C;;WAEG;4CADQ,aAAa;QAwExB;;;WAGG;sCAFQ,MAAM,UACN,MAAM;QAyBjB;;;WAGG;4CAFQ,MAAM;QAOjB;;;WAGG;gDAFQ,MAAM;QAOjB;;WAEG;oDADQ,QAAQ;QAcnB,iBAAiB;;;;;;;;;;;;;;;;;;;;iGA5Gf,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA9kB5B,kBAAkB;YAAP,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8rBf;sCAhzBU,OAAO,uCAAuC,EAAE,uBAAuB"}
@@ -98,6 +98,8 @@ declare const LionMenu_base: {
98
98
  _onListClick(ev: MouseEvent): void;
99
99
  _onListKeyUp(ev: KeyboardEvent): void;
100
100
  _onListFocusIn(ev: FocusEvent): void;
101
+ connectedCallback(): void;
102
+ disconnectedCallback(): void;
101
103
  firstUpdated(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
102
104
  "__#6@#identifyNewItemsAndInitListItems"(nodes: Node[]): void;
103
105
  _setupList(): void;
@@ -111,12 +113,12 @@ declare const LionMenu_base: {
111
113
  __getNextOption(currentIndex: number, offset: number): number;
112
114
  _getNextEnabledOption(currentIndex: number, offset?: number | undefined): number;
113
115
  _getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
116
+ __syncCurrentPageWithLocationHref(location: Location): void;
117
+ _onPopState: () => void;
114
118
  readonly renderOptions: import("lit-html").RenderOptions;
115
119
  __childPart: any;
116
120
  createRenderRoot(): HTMLElement | DocumentFragment;
117
121
  update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
118
- connectedCallback: (() => void) & (() => void);
119
- disconnectedCallback(): void;
120
122
  __instanceProperties?: any;
121
123
  readonly renderRoot: HTMLElement | DocumentFragment;
122
124
  __updatePromise: any;
@@ -1 +1 @@
1
- {"version":3,"file":"LionMenu.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionMenu.js"],"names":[],"mappings":";;;;;;;;;QAqFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwDG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxDH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAEH;IACE;QAEI;;WAEG;;;;MAGN;IAmDC,aAAgB;IAGhB,sCAAsC;IACtC,kBAAuB;IAGvB,iCAAiC;IACjC,2BAAiC;CAuCpC"}
1
+ {"version":3,"file":"LionMenu.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionMenu.js"],"names":[],"mappings":";;;;;;;;;QAqFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwDG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAxDH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AAEH;IACE;QAEI;;WAEG;;;;MAGN;IAmDC,aAAgB;IAGhB,sCAAsC;IACtC,kBAAuB;IAGvB,iCAAiC;IACjC,2BAAiC;CAuCpC"}