@lion/ui 0.18.0-menu-system.2 → 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.
- package/components/collapsible/test-suites/DisclosureMixin.suite.js +30 -0
- package/components/menu/src/InteractiveListMixin.js +57 -24
- package/components/menu/src/LionMenu.js +1 -1
- package/components/menu/src/LionToolbar.js +1 -1
- package/components/menu/src/MoreButtonMenuMixin.js +79 -92
- package/components/menu/src/MultiLevelListMixin.js +1 -1
- package/components/menu/src/utils/listItemInteractions.js +25 -6
- package/components/menu/test/lion-menu.test.js +2 -1
- package/components/menu/test-suites/InteractiveListMixin.suite.js +164 -2
- package/components/navigation-bar/src/LionNavigationBar.js +2 -2
- package/custom-elements.json +354 -54
- package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts +2 -0
- package/dist-types/components/collapsible/test-suites/DisclosureMixin.suite.d.ts.map +1 -0
- package/dist-types/components/menu/src/InteractiveListMixin.d.ts +11 -5
- package/dist-types/components/menu/src/InteractiveListMixin.d.ts.map +1 -1
- package/dist-types/components/menu/src/LionMenu.d.ts +4 -2
- package/dist-types/components/menu/src/LionMenu.d.ts.map +1 -1
- package/dist-types/components/menu/src/LionMenuOverlay.d.ts +8 -4
- package/dist-types/components/menu/src/LionMenuOverlay.d.ts.map +1 -1
- package/dist-types/components/menu/src/LionTree.d.ts +4 -2
- package/dist-types/components/menu/src/LionTree.d.ts.map +1 -1
- package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts +11 -2
- package/dist-types/components/menu/src/MoreButtonMenuMixin.d.ts.map +1 -1
- package/dist-types/components/menu/src/MultiLevelListMixin.d.ts +4 -2
- package/dist-types/components/menu/src/MultiLevelListMixin.d.ts.map +1 -1
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts +8 -2
- package/dist-types/components/menu/src/utils/listItemInteractions.d.ts.map +1 -1
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts +6 -5
- package/dist-types/components/menu/test-suites/InteractiveListMixin.suite.d.ts.map +1 -1
- package/dist-types/components/navigation-bar/src/LionNavigationBar.d.ts +4 -4
- package/dist-types/exports/menu-test-suites.d.ts +2 -0
- package/dist-types/exports/menu-test-suites.d.ts.map +1 -0
- package/dist-types/tsconfig.tsbuildinfo +1 -1
- package/docs/components/checkbox-group/overview.md +2 -2
- package/docs/components/collapsible/overview.md +1 -1
- package/docs/components/combobox/overview.md +1 -1
- package/docs/components/combobox/use-cases.md +1 -1
- package/docs/components/dialog/overview.md +1 -1
- package/docs/components/fieldset/overview.md +5 -5
- package/docs/components/form/overview.md +3 -3
- package/docs/components/form/use-cases.md +2 -2
- package/docs/components/icon/use-cases.md +1 -1
- package/docs/components/input/overview.md +1 -1
- package/docs/components/input-amount/overview.md +3 -3
- package/docs/components/input-date/overview.md +3 -3
- package/docs/components/input-datepicker/overview.md +5 -5
- package/docs/components/input-email/overview.md +2 -2
- package/docs/components/input-file/overview.md +1 -1
- package/docs/components/input-iban/overview.md +2 -2
- package/docs/components/input-range/overview.md +2 -2
- package/docs/components/input-stepper/overview.md +1 -1
- package/docs/components/input-tel/overview.md +1 -1
- package/docs/components/input-tel/use-cases.md +6 -6
- package/docs/components/input-tel-dropdown/overview.md +1 -1
- package/docs/components/listbox/use-cases.md +1 -1
- package/docs/components/menu/api-table.md +197 -192
- package/docs/components/menu/extensions.md +27 -0
- package/docs/components/menu/overview.md +39 -39
- package/docs/components/radio-group/overview.md +3 -3
- package/docs/components/select/use-cases.md +1 -1
- package/docs/components/select-rich/use-cases.md +2 -2
- package/docs/components/tabs/examples.md +1 -1
- package/docs/fundamentals/index.md +4 -4
- package/docs/fundamentals/node-tools/publish-docs/overview.md +3 -3
- package/docs/fundamentals/node-tools/rocket-preset-extend-lion-docs/overview.md +2 -2
- package/docs/fundamentals/rationales/accessibility.md +1 -1
- package/docs/fundamentals/systems/core/SlotMixin.md +1 -1
- package/docs/fundamentals/systems/core/overview.md +1 -1
- package/docs/fundamentals/systems/form/formatting-and-parsing.md +4 -4
- package/docs/fundamentals/systems/form/model-value.md +1 -1
- package/docs/fundamentals/systems/form/overview.md +28 -28
- package/docs/fundamentals/systems/form/validate.md +2 -2
- package/docs/fundamentals/systems/localize/overview.md +4 -4
- package/docs/fundamentals/systems/overlays/configuration.md +2 -2
- package/docs/fundamentals/systems/overlays/overview.md +5 -5
- package/docs/fundamentals/systems/overlays/use-cases.md +2 -2
- package/docs/fundamentals/tools/helpers/overview.md +1 -1
- package/docs/fundamentals/tools/singleton-manager/overview.md +4 -4
- package/docs/guides/how-to/create-a-custom-field.md +5 -5
- package/docs/guides/how-to/create-a-form.md +4 -4
- package/docs/guides/how-to/extend-a-native-input.md +2 -2
- package/docs/guides/how-to/index.md +1 -1
- package/docs/guides/index.md +8 -8
- package/docs/guides/principles/index.md +5 -5
- package/docs/guides/principles/styling.md +1 -1
- package/exports/menu-test-suites.js +2 -0
- package/menu-test-suites.js +2 -0
- package/package.json +1 -1
|
@@ -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():
|
|
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.
|
|
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,
|
|
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
|
|
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"}
|
|
@@ -57,6 +57,8 @@ export function OverlayWithListInvokerMixin(superclass: import('@open-wc/dedupe-
|
|
|
57
57
|
_onListKeyUp(ev: KeyboardEvent): void;
|
|
58
58
|
_onListKeyDown(ev: KeyboardEvent): void;
|
|
59
59
|
_onListFocusIn(ev: FocusEvent): void;
|
|
60
|
+
connectedCallback(): void;
|
|
61
|
+
disconnectedCallback(): void;
|
|
60
62
|
firstUpdated(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
61
63
|
"__#6@#identifyNewItemsAndInitListItems"(nodes: Node[]): void;
|
|
62
64
|
_setupList(): void;
|
|
@@ -71,12 +73,12 @@ export function OverlayWithListInvokerMixin(superclass: import('@open-wc/dedupe-
|
|
|
71
73
|
__getNextOption(currentIndex: number, offset: number): number;
|
|
72
74
|
_getNextEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
73
75
|
_getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
76
|
+
__syncCurrentPageWithLocationHref(location: Location): void;
|
|
77
|
+
_onPopState: () => void;
|
|
74
78
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
75
79
|
__childPart: any;
|
|
76
80
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
77
81
|
update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
78
|
-
connectedCallback: (() => void) & (() => void);
|
|
79
|
-
disconnectedCallback(): void;
|
|
80
82
|
__instanceProperties?: any;
|
|
81
83
|
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
82
84
|
__updatePromise: any;
|
|
@@ -531,6 +533,8 @@ declare const LionMenuOverlay_base: {
|
|
|
531
533
|
_onListKeyUp(ev: KeyboardEvent): void;
|
|
532
534
|
_onListKeyDown(ev: KeyboardEvent): void;
|
|
533
535
|
_onListFocusIn(ev: FocusEvent): void;
|
|
536
|
+
connectedCallback(): void;
|
|
537
|
+
disconnectedCallback(): void;
|
|
534
538
|
firstUpdated(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
535
539
|
"__#6@#identifyNewItemsAndInitListItems"(nodes: Node[]): void;
|
|
536
540
|
_setupList(): void;
|
|
@@ -545,12 +549,12 @@ declare const LionMenuOverlay_base: {
|
|
|
545
549
|
__getNextOption(currentIndex: number, offset: number): number;
|
|
546
550
|
_getNextEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
547
551
|
_getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
552
|
+
__syncCurrentPageWithLocationHref(location: Location): void;
|
|
553
|
+
_onPopState: () => void;
|
|
548
554
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
549
555
|
__childPart: any;
|
|
550
556
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
551
557
|
update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
552
|
-
connectedCallback: (() => void) & (() => void);
|
|
553
|
-
disconnectedCallback(): void;
|
|
554
558
|
__instanceProperties?: any;
|
|
555
559
|
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
556
560
|
__updatePromise: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionMenuOverlay.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionMenuOverlay.js"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,wDAFW,OAAO,uBAAuB,EAAE,WAAW,CAAC,OAAO,KAAK,EAAE,UAAU,CAAC;;;;QA0B5E;;WAEG;;QAWH;;WAEG;;QAWH;;WAEG;;QAMH;;WAEG
|
|
1
|
+
{"version":3,"file":"LionMenuOverlay.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionMenuOverlay.js"],"names":[],"mappings":"AASA;;;;;;;;GAQG;AACH,wDAFW,OAAO,uBAAuB,EAAE,WAAW,CAAC,OAAO,KAAK,EAAE,UAAU,CAAC;;;;QA0B5E;;WAEG;;QAWH;;WAEG;;QAWH;;WAEG;;QAMH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKJ;;;;;QAzCC;;WAEG;;QAWH;;WAEG;;QAWH;;WAEG;;QAMH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQP;IAaE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkCC;IAED;;OAEG;IACH;;OAEG;IACH,4BAYC;CACF"}
|
|
@@ -41,6 +41,8 @@ declare const LionTree_base: {
|
|
|
41
41
|
_onListClick(ev: MouseEvent): void;
|
|
42
42
|
_onListKeyUp(ev: KeyboardEvent): void;
|
|
43
43
|
_onListFocusIn(ev: FocusEvent): void;
|
|
44
|
+
connectedCallback(): void;
|
|
45
|
+
disconnectedCallback(): void;
|
|
44
46
|
firstUpdated(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
45
47
|
"__#6@#identifyNewItemsAndInitListItems"(nodes: Node[]): void;
|
|
46
48
|
_setupList(): void;
|
|
@@ -54,12 +56,12 @@ declare const LionTree_base: {
|
|
|
54
56
|
__getNextOption(currentIndex: number, offset: number): number;
|
|
55
57
|
_getNextEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
56
58
|
_getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
59
|
+
__syncCurrentPageWithLocationHref(location: Location): void;
|
|
60
|
+
_onPopState: () => void;
|
|
57
61
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
58
62
|
__childPart: any;
|
|
59
63
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
60
64
|
update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
61
|
-
connectedCallback: (() => void) & (() => void);
|
|
62
|
-
disconnectedCallback(): void;
|
|
63
65
|
__instanceProperties?: any;
|
|
64
66
|
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
65
67
|
__updatePromise: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LionTree.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionTree.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LionTree.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/LionTree.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CASI,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAJ1C;IAII,sCAAsC;IACtC,kBAAuB;IAGvB,iCAAiC;IACjC,2BAAiC;IAGnC;;OAEG;IACH,sCASC;IAiBD,mCAIC;CACF"}
|
|
@@ -20,11 +20,20 @@ export function MoreButtonMenuMixin(superclass: any): {
|
|
|
20
20
|
* @param {Node} listItem
|
|
21
21
|
*/
|
|
22
22
|
getListItemWithAdjacentNodes: (listItem: Node) => DocumentFragment;
|
|
23
|
-
|
|
23
|
+
/**
|
|
24
|
+
* @param {{ moreButtonMenuElement: HTMLButtonElement, listItem: HTMLElement }} opts
|
|
25
|
+
*/
|
|
26
|
+
moveItemToMoreButtonMenuFromMainMenu({ moreButtonMenuElement, listItem }: {
|
|
27
|
+
moreButtonMenuElement: HTMLButtonElement;
|
|
28
|
+
listItem: HTMLElement;
|
|
29
|
+
}): void;
|
|
24
30
|
moveAllItemsToMainMenuFromMoreButtonMenu(): void;
|
|
25
31
|
renderAllItemsInMainMenu(): void;
|
|
26
32
|
hideItemsOneByOneInMainMenuUntilTheyFit(): number;
|
|
27
|
-
|
|
33
|
+
/**
|
|
34
|
+
* @param {number} hiddenItemsCount
|
|
35
|
+
*/
|
|
36
|
+
moveHiddenItemsFromMainMenuToMoreButtonMenu(hiddenItemsCount: number): void;
|
|
28
37
|
};
|
|
29
38
|
[x: string]: any;
|
|
30
39
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoreButtonMenuMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/MoreButtonMenuMixin.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MoreButtonMenuMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/MoreButtonMenuMixin.js"],"names":[],"mappings":"AA8BO;;;;;;;;;;;;;;;;;;QAmJH;;WAEG;iDADQ,IAAI;QAmCf;;WAEG;kFADQ;YAAE,qBAAqB,EAAE,iBAAiB,CAAC;YAAC,QAAQ,EAAE,WAAW,CAAA;SAAE;;;;QAmC9E;;WAEG;sEADQ,MAAM;;;EAoClB"}
|
|
@@ -95,6 +95,8 @@ export function MultiLevelListMixin(superclass: any): {
|
|
|
95
95
|
_onListClick(ev: MouseEvent): void;
|
|
96
96
|
_onListKeyUp(ev: KeyboardEvent): void;
|
|
97
97
|
_onListFocusIn(ev: FocusEvent): void;
|
|
98
|
+
connectedCallback(): void;
|
|
99
|
+
disconnectedCallback(): void;
|
|
98
100
|
firstUpdated(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
99
101
|
"__#6@#identifyNewItemsAndInitListItems"(nodes: Node[]): void;
|
|
100
102
|
_setupList(): void;
|
|
@@ -108,12 +110,12 @@ export function MultiLevelListMixin(superclass: any): {
|
|
|
108
110
|
__getNextOption(currentIndex: number, offset: number): number;
|
|
109
111
|
_getNextEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
110
112
|
_getPreviousEnabledOption(currentIndex: number, offset?: number | undefined): number;
|
|
113
|
+
__syncCurrentPageWithLocationHref(location: Location): void;
|
|
114
|
+
_onPopState: () => void;
|
|
111
115
|
readonly renderOptions: import("lit-html").RenderOptions;
|
|
112
116
|
__childPart: any;
|
|
113
117
|
createRenderRoot(): HTMLElement | DocumentFragment;
|
|
114
118
|
update(changedProperties: import("lit").PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
|
|
115
|
-
connectedCallback: (() => void) & (() => void);
|
|
116
|
-
disconnectedCallback(): void;
|
|
117
119
|
__instanceProperties?: any;
|
|
118
120
|
readonly renderRoot: HTMLElement | DocumentFragment;
|
|
119
121
|
__updatePromise: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiLevelListMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/MultiLevelListMixin.js"],"names":[],"mappings":"AAMA;;;GAGG;AAEH;;;GAGG;AAEH;;;QAmBI;;WAEG;;QAMH;;;;WAIG;;QAQD;;;;WAIG;qBADO,WAAW;QAIrB;;WAEG;;QAEH;;;WAGG;oBADO,eAAe;QAIzB;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;qBADO,IAAI,WAAW,GAAC,QAAQ,EAAC,eAAe,CAAC;QAuDrD;;WAEG;;QAqBH;;;WAGG;;QAWH;;;WAGG
|
|
1
|
+
{"version":3,"file":"MultiLevelListMixin.d.ts","sourceRoot":"","sources":["../../../../components/menu/src/MultiLevelListMixin.js"],"names":[],"mappings":"AAMA;;;GAGG;AAEH;;;GAGG;AAEH;;;QAmBI;;WAEG;;QAMH;;;;WAIG;;QAQD;;;;WAIG;qBADO,WAAW;QAIrB;;WAEG;;QAEH;;;WAGG;oBADO,eAAe;QAIzB;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;;QAEH;;WAEG;qBADO,IAAI,WAAW,GAAC,QAAQ,EAAC,eAAe,CAAC;QAuDrD;;WAEG;;QAqBH;;;WAGG;;QAWH;;;WAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA/EH;;;OAGG;iCADQ,QAAQ,GAAC,WAAW;;;;;;;;;;;;;;;EAqKhC;uBAzQU,OAAO,2BAA2B,EAAE,QAAQ;8BAC5C,OAAO,uCAAuC,EAAE,mBAAmB"}
|
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
* Set of universal interactive list item state methods that are both compatible with
|
|
3
3
|
* 'smart' (LionOption) and 'regular' items
|
|
4
4
|
*/
|
|
5
|
+
/**
|
|
6
|
+
* @typedef {import('@lion/ui/checkbox-group.js').LionCheckboxIndeterminate} LionCheckboxIndeterminate
|
|
7
|
+
*/
|
|
5
8
|
/**
|
|
6
9
|
* @param {HTMLElement} item
|
|
7
10
|
*/
|
|
@@ -20,9 +23,11 @@ export function toggleDisabled(item: HTMLElement): void;
|
|
|
20
23
|
export function isChecked(item: HTMLElement): boolean;
|
|
21
24
|
/**
|
|
22
25
|
* @param {HTMLElement} item
|
|
23
|
-
* @param {
|
|
26
|
+
* @param {Object} [options]
|
|
27
|
+
* @param {boolean} [options.unset=false]
|
|
28
|
+
* @param {'page'|'mixed'} [options.text] - optional text to set for aria-checked/aria-selected/aria-current (e.g. "mixed")
|
|
24
29
|
*/
|
|
25
|
-
export function setChecked(item: HTMLElement,
|
|
30
|
+
export function setChecked(item: HTMLElement, unset?: boolean): void;
|
|
26
31
|
/**
|
|
27
32
|
* @param {HTMLElement} item
|
|
28
33
|
*/
|
|
@@ -39,4 +44,5 @@ export function setActive(item: HTMLElement, unset?: boolean): void;
|
|
|
39
44
|
* @param {HTMLElement} item
|
|
40
45
|
*/
|
|
41
46
|
export function getValue(item: HTMLElement): any;
|
|
47
|
+
export type LionCheckboxIndeterminate = import('@lion/ui/checkbox-group.js').LionCheckboxIndeterminate;
|
|
42
48
|
//# sourceMappingURL=listItemInteractions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listItemInteractions.d.ts","sourceRoot":"","sources":["../../../../../components/menu/src/utils/listItemInteractions.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,iCAFW,WAAW,WAIrB;AAED;;GAEG;AACH,kCAFW,WAAW,yBAUrB;AAED;;GAEG;AACH,qCAFW,WAAW,QAIrB;AAED;;GAEG;AACH,gCAFW,WAAW,WAIrB;AAED
|
|
1
|
+
{"version":3,"file":"listItemInteractions.d.ts","sourceRoot":"","sources":["../../../../../components/menu/src/utils/listItemInteractions.js"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AAEH;;GAEG;AACH,iCAFW,WAAW,WAIrB;AAED;;GAEG;AACH,kCAFW,WAAW,yBAUrB;AAED;;GAEG;AACH,qCAFW,WAAW,QAIrB;AAED;;GAEG;AACH,gCAFW,WAAW,WAIrB;AAED;;;;;GAKG;AACH,iCALW,WAAW,yBA2BrB;AAED;;GAEG;AACH,oCAFW,WAAW,QAIrB;AAED;;GAEG;AACH,+BAFW,WAAW,WAIrB;AAED;;GAEG;AACH,gCAFW,WAAW,yBAQrB;AAaD;;GAEG;AACH,+BAFW,WAAW,OAYrB;wCApHY,OAAO,4BAA4B,EAAE,yBAAyB"}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @typedef {Object} TestConfig
|
|
3
|
-
* @property {string} tagString
|
|
4
|
-
*/
|
|
5
1
|
/**
|
|
6
2
|
* @param {TestConfig} [customConfig]
|
|
7
3
|
*/
|
|
8
4
|
export function runInteractiveListMixinSuite(customConfig?: TestConfig | undefined): void;
|
|
5
|
+
export type InteractiveListItemRole = import('../types/InteractiveListMixinTypes.js').InteractiveListItemRole;
|
|
6
|
+
export type LionMenu = import('../src/LionMenu.js').LionMenu;
|
|
7
|
+
/**
|
|
8
|
+
* *
|
|
9
|
+
*/
|
|
10
|
+
export type TemplateResult = import('lit').TemplateResult;
|
|
9
11
|
export type TestConfig = {
|
|
10
12
|
tagString: string;
|
|
11
13
|
};
|
|
12
|
-
export type InteractiveListItemRole = import('../types/InteractiveListMixinTypes.js').InteractiveListItemRole;
|
|
13
14
|
//# sourceMappingURL=InteractiveListMixin.suite.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveListMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/menu/test-suites/InteractiveListMixin.suite.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InteractiveListMixin.suite.d.ts","sourceRoot":"","sources":["../../../../components/menu/test-suites/InteractiveListMixin.suite.js"],"names":[],"mappings":"AA+BA;;GAEG;AACH,0FA6QC;sCAxSY,OAAO,uCAAuC,EAAE,uBAAuB;uBAevE,OAAO,oBAAoB,EAAE,QAAQ;;;;6BACrC,OAAO,KAAK,EAAE,cAAc;;eAG3B,MAAM"}
|
|
@@ -66,7 +66,7 @@ export class LionNavigationBar extends LionNavigationBar_base {
|
|
|
66
66
|
isBar: boolean;
|
|
67
67
|
openableConfig: {
|
|
68
68
|
placementMode: string;
|
|
69
|
-
|
|
69
|
+
isActivated: boolean;
|
|
70
70
|
hidesOnOutsideClick: boolean;
|
|
71
71
|
inheritsReferenceWidth: string;
|
|
72
72
|
focusContentOnOpen?: undefined;
|
|
@@ -97,7 +97,7 @@ export class LionNavigationBar extends LionNavigationBar_base {
|
|
|
97
97
|
hasFullWidthFlyout: boolean;
|
|
98
98
|
openableConfig: {
|
|
99
99
|
placementMode: string;
|
|
100
|
-
|
|
100
|
+
isActivated: boolean;
|
|
101
101
|
inheritsReferenceWidth: string;
|
|
102
102
|
focusContentOnOpen: boolean;
|
|
103
103
|
hidesOnOutsideClick?: undefined;
|
|
@@ -138,7 +138,7 @@ export class LionNavigationBar extends LionNavigationBar_base {
|
|
|
138
138
|
isBar: boolean;
|
|
139
139
|
openableConfig: {
|
|
140
140
|
placementMode: string;
|
|
141
|
-
|
|
141
|
+
isActivated: boolean;
|
|
142
142
|
hidesOnOutsideClick: boolean;
|
|
143
143
|
inheritsReferenceWidth: string;
|
|
144
144
|
focusContentOnOpen?: undefined;
|
|
@@ -169,7 +169,7 @@ export class LionNavigationBar extends LionNavigationBar_base {
|
|
|
169
169
|
hasFullWidthFlyout: boolean;
|
|
170
170
|
openableConfig: {
|
|
171
171
|
placementMode: string;
|
|
172
|
-
|
|
172
|
+
isActivated: boolean;
|
|
173
173
|
inheritsReferenceWidth: string;
|
|
174
174
|
focusContentOnOpen: boolean;
|
|
175
175
|
hidesOnOutsideClick?: undefined;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu-test-suites.d.ts","sourceRoot":"","sources":["../../exports/menu-test-suites.js"],"names":[],"mappings":""}
|