@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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.226.0",
4
+ "version": "2.228.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -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
- /** @internal Gets all slotted menu items, ignoring dividers, headers, and other elements. */
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[];
@@ -189,6 +189,7 @@ export default class Cx3dViewer extends CortexElement {
189
189
  private handleMouseDown;
190
190
  private handleMouseUp;
191
191
  private handleKeydown;
192
+ private handleClick;
192
193
  handleFullscreenChange(): void;
193
194
  handleShowInspectorChange(): void;
194
195
  /**
@@ -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
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.226.0",
4
+ "version": "2.228.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {