@orangelogic/design-system 2.110.0 → 2.111.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.110.0",
4
+ "version": "2.111.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -40,6 +40,7 @@ export default class CxViewAndSort extends CortexElement {
40
40
  private readonly localize;
41
41
  dropdown: CxDropdown;
42
42
  items: MenuData;
43
+ flattenSubmenu: boolean;
43
44
  label: string;
44
45
  triggerButtonVariant: ButtonVariant;
45
46
  triggerButtonSize: ButtonSize;
@@ -24,6 +24,7 @@ export default class CxTemplateSwitcher extends CortexElement {
24
24
  'cx-view-and-sort': typeof CxViewAndSort;
25
25
  };
26
26
  private readonly localize;
27
+ private readonly hasSlotController;
27
28
  viewAndSort: CxViewAndSort;
28
29
  data: TemplateSwitcherProps;
29
30
  forcedSortOrder: boolean | null;
@@ -31,6 +32,11 @@ export default class CxTemplateSwitcher extends CortexElement {
31
32
  label: string;
32
33
  triggerButtonVariant: ButtonVariant;
33
34
  triggerButtonSize: ButtonSize;
35
+ /**
36
+ * When present, items with submenus are rendered inline — no hover required.
37
+
38
+ */
39
+ flattenSubmenu: boolean;
34
40
  private _loading;
35
41
  private _menu;
36
42
  get menu(): MenuData;
@@ -8946,6 +8946,10 @@
8946
8946
  *
8947
8947
  */
8948
8948
  triggerButtonSize?: 'custom' | 'large' | 'medium' | 'small' | 'x-large';
8949
+ /**
8950
+ * When present, items with submenus are rendered inline — no hover required.
8951
+ */
8952
+ flattenSubmenu?: boolean;
8949
8953
  /**
8950
8954
  * Make localization attributes reactive eslint-disable-next-line lit/no-native-attributes
8951
8955
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.110.0",
4
+ "version": "2.111.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {