@orangelogic/design-system 2.226.0 → 2.228.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/components/dropdown.js +62 -63
- package/library/components/menu.js +124 -114
- package/library/components/types.js +2029 -2017
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +0 -1
- package/library/packages/atoms/src/components/menu/menu.d.ts +4 -3
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +1 -0
- package/library/packages/react-web-component.d.ts +0 -4
- package/library/react-web-component.d.ts +0 -4
- package/package.json +1 -1
package/library/package.json
CHANGED
|
@@ -111,7 +111,6 @@ export default class CxDropdown extends CortexElement {
|
|
|
111
111
|
private handleKeyDown;
|
|
112
112
|
private handleDocumentKeyDown;
|
|
113
113
|
private handleDocumentMouseDown;
|
|
114
|
-
private handleDocumentFocusIn;
|
|
115
114
|
private handlePanelSelect;
|
|
116
115
|
handleTriggerClick(): Promise<void>;
|
|
117
116
|
handleTriggerKeyDown(event: KeyboardEvent): void;
|
|
@@ -24,6 +24,7 @@ export default class CxMenu extends CortexElement {
|
|
|
24
24
|
static styles: CSSResultGroup;
|
|
25
25
|
private readonly localize;
|
|
26
26
|
defaultSlot: HTMLSlotElement;
|
|
27
|
+
backSlot: HTMLSlotElement | null;
|
|
27
28
|
horizontal: boolean;
|
|
28
29
|
/** The menu's variant */
|
|
29
30
|
variant: MenuMode.Default | MenuMode.Multiple;
|
|
@@ -39,8 +40,6 @@ export default class CxMenu extends CortexElement {
|
|
|
39
40
|
bubbleKeyDown: boolean;
|
|
40
41
|
/** Override the default keydown navigation behavior of the dropdown menu. */
|
|
41
42
|
ignoredKeys: string[];
|
|
42
|
-
/** @deprecated Only stops ArrowUp/ArrowDown wrapping now; Tab is no longer intercepted. */
|
|
43
|
-
disabledTabLoop: boolean;
|
|
44
43
|
/** When true, checkbox items don't toggle off when already checked (same as each item's own `no-uncheck`). */
|
|
45
44
|
noUncheck: boolean;
|
|
46
45
|
resizeObserver: ResizeObserver | null;
|
|
@@ -58,7 +57,9 @@ export default class CxMenu extends CortexElement {
|
|
|
58
57
|
private setRovingTabIndex;
|
|
59
58
|
private isMenuSection;
|
|
60
59
|
private isMenuItem;
|
|
61
|
-
/**
|
|
60
|
+
/** Focuses a panel's tab stop, so focus doesn't stay behind in the panel that is being hidden. */
|
|
61
|
+
private focusPanelTabStop;
|
|
62
|
+
/** @internal Gets all menu items, back button first, ignoring dividers, headers, and other elements. */
|
|
62
63
|
getAllItems(): CxMenuItem[];
|
|
63
64
|
/** @internal Gets all slotted submenus, used for 'multiple' variant */
|
|
64
65
|
getAllSubMenus(): CxMenu[];
|
|
@@ -5006,10 +5006,6 @@ interface CxMenuAttributes extends HTMLAttributes<CxMenu> {
|
|
|
5006
5006
|
* Override the default keydown navigation behavior of the dropdown menu.
|
|
5007
5007
|
*/
|
|
5008
5008
|
ignoredKeys?: string[];
|
|
5009
|
-
/**
|
|
5010
|
-
*
|
|
5011
|
-
*/
|
|
5012
|
-
disabledTabLoop?: boolean;
|
|
5013
5009
|
/**
|
|
5014
5010
|
* When true, checkbox items in this menu do not toggle off when already activated while checked—the same behavior as setting `no-uncheck` on each checkbox item.
|
|
5015
5011
|
*/
|
|
@@ -865,10 +865,6 @@
|
|
|
865
865
|
* Override the default keydown navigation behavior of the dropdown menu.
|
|
866
866
|
*/
|
|
867
867
|
ignoredKeys?: string[];
|
|
868
|
-
/**
|
|
869
|
-
* @deprecated Only stops ArrowUp/ArrowDown wrapping now; Tab is no longer intercepted.
|
|
870
|
-
*/
|
|
871
|
-
disabledTabLoop?: boolean;
|
|
872
868
|
/**
|
|
873
869
|
* When true, checkbox items don't toggle off when already checked (same as each item's own `no-uncheck`).
|
|
874
870
|
*/
|