@sula-tech/webcomponents 0.24.1 → 0.26.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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/sula-avatar_32.cjs.entry.js +47 -16
- package/dist/cjs/sula-avatar_32.cjs.entry.js.map +1 -1
- package/dist/cjs/sula-profile-menu.cjs.entry.js +1 -1
- package/dist/cjs/sula-profile-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/sula-profile-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/sula-workbench-menu.cjs.entry.js +98 -59
- package/dist/cjs/sula-workbench-menu.cjs.entry.js.map +1 -1
- package/dist/cjs/sula-workbench-menu.entry.cjs.js.map +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/sula-button/sula-button.css +1 -1
- package/dist/collection/components/sula-icon/sula-icon.css +1 -1
- package/dist/collection/components/sula-loader/sula-loader.css +1 -1
- package/dist/collection/components/sula-modal/sula-modal.css +1 -1
- package/dist/collection/components/sula-modal/sula-modal.js +142 -11
- package/dist/collection/components/sula-modal/sula-modal.js.map +1 -1
- package/dist/collection/components/sula-modal/sula-modal.stories.js +48 -0
- package/dist/collection/components/sula-modal/sula-modal.stories.js.map +1 -1
- package/dist/collection/components/sula-profile-menu/sula-profile-menu.css +1 -1
- package/dist/collection/components/sula-switch/sula-switch.css +1 -1
- package/dist/collection/components/sula-workbench-menu/sula-workbench-menu.css +1 -1
- package/dist/collection/components/sula-workbench-menu/sula-workbench-menu.js +104 -84
- package/dist/collection/components/sula-workbench-menu/sula-workbench-menu.js.map +1 -1
- package/dist/collection/components/sula-workbench-menu/sula-workbench-menu.stories.js +182 -103
- package/dist/collection/components/sula-workbench-menu/sula-workbench-menu.stories.js.map +1 -1
- package/dist/components/{p-CGpfhGAG.js → p-0Fu7X8Ko.js} +3 -3
- package/dist/components/{p-CGpfhGAG.js.map → p-0Fu7X8Ko.js.map} +1 -1
- package/dist/components/{p-DK8hW-Cd.js → p-6BsVErKp.js} +3 -3
- package/dist/components/{p-DK8hW-Cd.js.map → p-6BsVErKp.js.map} +1 -1
- package/dist/components/{p-BORy1230.js → p-BlRYoc3b.js} +3 -3
- package/dist/components/{p-BORy1230.js.map → p-BlRYoc3b.js.map} +1 -1
- package/dist/components/{p-GEr9Dmhq.js → p-C0jaJr-I.js} +3 -3
- package/dist/components/{p-GEr9Dmhq.js.map → p-C0jaJr-I.js.map} +1 -1
- package/dist/components/{p-DwZCdDhF.js → p-CRJeD_Ch.js} +3 -3
- package/dist/components/{p-DwZCdDhF.js.map → p-CRJeD_Ch.js.map} +1 -1
- package/dist/components/{p-KitH8bea.js → p-CvCiJEK7.js} +5 -5
- package/dist/components/{p-KitH8bea.js.map → p-CvCiJEK7.js.map} +1 -1
- package/dist/components/{p-CWTfj4TV.js → p-Cwj-T_a3.js} +3 -3
- package/dist/components/{p-CWTfj4TV.js.map → p-Cwj-T_a3.js.map} +1 -1
- package/dist/components/{p-B_WIoxzn.js → p-DPBeKst1.js} +4 -4
- package/dist/components/{p-B_WIoxzn.js.map → p-DPBeKst1.js.map} +1 -1
- package/dist/components/{p-BssyNhpP.js → p-Dj-BkOJM.js} +5 -5
- package/dist/components/{p-BssyNhpP.js.map → p-Dj-BkOJM.js.map} +1 -1
- package/dist/components/{p-DEhN6ZhJ.js → p-KIC3LfH4.js} +3 -3
- package/dist/components/{p-DEhN6ZhJ.js.map → p-KIC3LfH4.js.map} +1 -1
- package/dist/components/sula-avatar.js +1 -1
- package/dist/components/sula-badge.js +1 -1
- package/dist/components/sula-breadcrumb.js +1 -1
- package/dist/components/sula-button.js +1 -1
- package/dist/components/sula-calendar.js +2 -2
- package/dist/components/sula-checkbox.js +1 -1
- package/dist/components/sula-chip.js +2 -2
- package/dist/components/sula-dropdown.js +1 -1
- package/dist/components/sula-icon-picker.js +4 -4
- package/dist/components/sula-icon.js +1 -1
- package/dist/components/sula-loader.js +1 -1
- package/dist/components/sula-menu-select-list.js +1 -1
- package/dist/components/sula-menu.js +1 -1
- package/dist/components/sula-modal.js +51 -15
- package/dist/components/sula-modal.js.map +1 -1
- package/dist/components/sula-profile-menu.js +1 -1
- package/dist/components/sula-progress-bar.js +1 -1
- package/dist/components/sula-search-bar.js +1 -1
- package/dist/components/sula-segmented-control.js +1 -1
- package/dist/components/sula-switch.js +1 -1
- package/dist/components/sula-tag.js +1 -1
- package/dist/components/sula-textfield.js +1 -1
- package/dist/components/sula-tiles.js +1 -1
- package/dist/components/sula-timeline-list.js +1 -1
- package/dist/components/sula-toast-stack.js +2 -2
- package/dist/components/sula-toast.js +1 -1
- package/dist/components/sula-toggle.js +1 -1
- package/dist/components/sula-tooltip.js +1 -1
- package/dist/components/sula-workbench-menu.js +102 -63
- package/dist/components/sula-workbench-menu.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/sula-avatar_32.entry.js +47 -16
- package/dist/esm/sula-avatar_32.entry.js.map +1 -1
- package/dist/esm/sula-profile-menu.entry.js +1 -1
- package/dist/esm/sula-profile-menu.entry.js.map +1 -1
- package/dist/esm/sula-workbench-menu.entry.js +98 -59
- package/dist/esm/sula-workbench-menu.entry.js.map +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/types/components/sula-modal/sula-modal.d.ts +21 -0
- package/dist/types/components/sula-modal/sula-modal.stories.d.ts +22 -0
- package/dist/types/components/sula-workbench-menu/sula-workbench-menu.d.ts +15 -13
- package/dist/types/components/sula-workbench-menu/sula-workbench-menu.stories.d.ts +14 -30
- package/dist/types/components.d.ts +69 -29
- package/dist/webcomponents/p-235dcb90.entry.js +880 -0
- package/dist/webcomponents/p-235dcb90.entry.js.map +1 -0
- package/dist/webcomponents/{p-907588e9.entry.js → p-40f33932.entry.js} +53 -20
- package/dist/webcomponents/p-40f33932.entry.js.map +1 -0
- package/dist/webcomponents/{p-88e5171a.entry.js → p-7e31b463.entry.js} +2 -2
- package/dist/webcomponents/sula-profile-menu.entry.esm.js.map +1 -1
- package/dist/webcomponents/sula-workbench-menu.entry.esm.js.map +1 -1
- package/dist/webcomponents/webcomponents.esm.js +9 -4
- package/package.json +1 -1
- package/dist/webcomponents/p-50ad82d0.entry.js +0 -827
- package/dist/webcomponents/p-50ad82d0.entry.js.map +0 -1
- package/dist/webcomponents/p-907588e9.entry.js.map +0 -1
- /package/dist/webcomponents/{p-88e5171a.entry.js.map → p-7e31b463.entry.js.map} +0 -0
|
@@ -8,9 +8,9 @@ type CrumbMenuState = {
|
|
|
8
8
|
top: number;
|
|
9
9
|
};
|
|
10
10
|
/**
|
|
11
|
-
* Navigation menu that
|
|
12
|
-
*
|
|
13
|
-
*
|
|
11
|
+
* Navigation menu that expands in place, as in `sula-menu`, while the tree has up to 3 levels.
|
|
12
|
+
* When any visible item reaches a 4th level, every item with children opens a single-level
|
|
13
|
+
* drill-down panel with a breadcrumb trail instead.
|
|
14
14
|
*
|
|
15
15
|
* @part shell - Main visual container of the menu.
|
|
16
16
|
* @part title - Menu title, or the current level title while drilled in.
|
|
@@ -19,7 +19,7 @@ type CrumbMenuState = {
|
|
|
19
19
|
* @part toggle-label - Label of the collapse/expand control.
|
|
20
20
|
* @slot profile-content - Extra content rendered inside the profile popover.
|
|
21
21
|
* @part profile-popover - Popover opened from the user area.
|
|
22
|
-
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to
|
|
22
|
+
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to 300px.
|
|
23
23
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
24
24
|
*/
|
|
25
25
|
export declare class SulaWorkbenchMenu {
|
|
@@ -46,13 +46,9 @@ export declare class SulaWorkbenchMenu {
|
|
|
46
46
|
*/
|
|
47
47
|
labelOverflow: SulaMenuLabelOverflow;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
|
|
52
|
-
drilldownLevel: number;
|
|
53
|
-
/**
|
|
54
|
-
* Controls the drill-down from the host: ids from the root to the item whose children are shown.
|
|
55
|
-
* An empty array shows the tree (leaves the drill-down). Leave it undefined to let only user clicks navigate.
|
|
49
|
+
* Controls the navigation from the host: ids from the root to the item whose children are shown.
|
|
50
|
+
* In drill-down mode an empty array goes back to the root; in inline mode the items on the path are expanded.
|
|
51
|
+
* Leave it undefined to let only user clicks navigate.
|
|
56
52
|
*/
|
|
57
53
|
drillPath?: string[];
|
|
58
54
|
/**
|
|
@@ -76,7 +72,7 @@ export declare class SulaWorkbenchMenu {
|
|
|
76
72
|
*/
|
|
77
73
|
itemSelected: EventEmitter<SulaWorkbenchMenuItem>;
|
|
78
74
|
/**
|
|
79
|
-
* Emitted when any item is
|
|
75
|
+
* Emitted when any item is clickede
|
|
80
76
|
*/
|
|
81
77
|
itemClicked: EventEmitter<SulaWorkbenchMenuItem>;
|
|
82
78
|
/**
|
|
@@ -103,6 +99,7 @@ export declare class SulaWorkbenchMenu {
|
|
|
103
99
|
menuToggled: EventEmitter<boolean>;
|
|
104
100
|
collapsed: boolean;
|
|
105
101
|
previewExpanded: boolean;
|
|
102
|
+
drillMode: boolean;
|
|
106
103
|
stack: SulaWorkbenchMenuItem[];
|
|
107
104
|
direction: SulaWorkbenchMenuDirection;
|
|
108
105
|
selectedPath: SulaWorkbenchMenuPath;
|
|
@@ -113,13 +110,18 @@ export declare class SulaWorkbenchMenu {
|
|
|
113
110
|
private shellEl?;
|
|
114
111
|
private userInfoEl?;
|
|
115
112
|
private profileEl?;
|
|
113
|
+
private profileOriginEl?;
|
|
116
114
|
private hovering;
|
|
115
|
+
private expandedPath?;
|
|
117
116
|
private get normalizedWidth();
|
|
118
117
|
private get hostStyleVariables();
|
|
119
118
|
componentWillLoad(): void;
|
|
120
119
|
syncWithItems(items: SulaWorkbenchMenuItem[]): void;
|
|
121
120
|
syncDrillPath(path?: string[]): void;
|
|
122
121
|
private applyDrillPath;
|
|
122
|
+
private expandInline;
|
|
123
|
+
private markExpanded;
|
|
124
|
+
private maxDepth;
|
|
123
125
|
componentDidRender(): void;
|
|
124
126
|
onDocumentClick(event: MouseEvent): void;
|
|
125
127
|
onDocumentKeydown(event: KeyboardEvent): void;
|
|
@@ -166,6 +168,7 @@ export declare class SulaWorkbenchMenu {
|
|
|
166
168
|
private renderCrumbDropdown;
|
|
167
169
|
private renderDrillHeader;
|
|
168
170
|
private renderDrillRow;
|
|
171
|
+
private renderDrillLayers;
|
|
169
172
|
private renderDrillPanel;
|
|
170
173
|
private getMainIconClass;
|
|
171
174
|
private getMainCaretClass;
|
|
@@ -175,7 +178,6 @@ export declare class SulaWorkbenchMenu {
|
|
|
175
178
|
private renderIconSlot;
|
|
176
179
|
private renderMainRow;
|
|
177
180
|
private renderSubRow;
|
|
178
|
-
private depthOf;
|
|
179
181
|
private renderInlineList;
|
|
180
182
|
render(): any;
|
|
181
183
|
}
|
|
@@ -3,9 +3,9 @@ import { SulaProfileMenuItem } from '../sula-profile-menu/model/sula-profile-men
|
|
|
3
3
|
import { SulaWorkbenchMenuItem, SulaWorkbenchMenuUser } from './model/sula-workbench-menu.model';
|
|
4
4
|
type StoryArgs = {
|
|
5
5
|
menuTitle: string;
|
|
6
|
+
image?: string;
|
|
6
7
|
density: SulaMenuDensity;
|
|
7
8
|
labelOverflow: SulaMenuLabelOverflow;
|
|
8
|
-
drilldownLevel: number;
|
|
9
9
|
drillPath?: string[];
|
|
10
10
|
items: SulaWorkbenchMenuItem[];
|
|
11
11
|
user: SulaWorkbenchMenuUser;
|
|
@@ -27,6 +27,10 @@ declare const _default: {
|
|
|
27
27
|
defaultValue: string;
|
|
28
28
|
description: string;
|
|
29
29
|
};
|
|
30
|
+
image: {
|
|
31
|
+
control: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
30
34
|
density: {
|
|
31
35
|
control: {
|
|
32
36
|
type: string;
|
|
@@ -41,13 +45,6 @@ declare const _default: {
|
|
|
41
45
|
options: SulaMenuLabelOverflow[];
|
|
42
46
|
description: string;
|
|
43
47
|
};
|
|
44
|
-
drilldownLevel: {
|
|
45
|
-
control: {
|
|
46
|
-
type: string;
|
|
47
|
-
min: number;
|
|
48
|
-
};
|
|
49
|
-
description: string;
|
|
50
|
-
};
|
|
51
48
|
drillPath: {
|
|
52
49
|
control: string;
|
|
53
50
|
description: string;
|
|
@@ -110,7 +107,6 @@ export declare const WithProfileMenu: {
|
|
|
110
107
|
menuTitle: string;
|
|
111
108
|
density: SulaMenuDensity;
|
|
112
109
|
labelOverflow: SulaMenuLabelOverflow;
|
|
113
|
-
drilldownLevel: number;
|
|
114
110
|
items: SulaWorkbenchMenuItem[];
|
|
115
111
|
user: {
|
|
116
112
|
name: string;
|
|
@@ -133,7 +129,6 @@ export declare const ControlledDrillPath: {
|
|
|
133
129
|
menuTitle: string;
|
|
134
130
|
density: SulaMenuDensity;
|
|
135
131
|
labelOverflow: SulaMenuLabelOverflow;
|
|
136
|
-
drilldownLevel: number;
|
|
137
132
|
items: SulaWorkbenchMenuItem[];
|
|
138
133
|
user: SulaWorkbenchMenuUser;
|
|
139
134
|
};
|
|
@@ -146,23 +141,12 @@ export declare const ControlledDrillPath: {
|
|
|
146
141
|
};
|
|
147
142
|
};
|
|
148
143
|
export declare const InlineOnly: any;
|
|
149
|
-
export declare const
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
};
|
|
159
|
-
export declare const ComparisonDrilldownFourthLevel: {
|
|
160
|
-
(): HTMLDivElement;
|
|
161
|
-
parameters: {
|
|
162
|
-
docs: {
|
|
163
|
-
description: {
|
|
164
|
-
story: string;
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
};
|
|
144
|
+
export declare const InlineWithExpandedPath: any;
|
|
145
|
+
export declare const FourthLevelBreadcrumb: any;
|
|
146
|
+
export declare const WithBrandImage: any;
|
|
147
|
+
export declare const LongLabels: any;
|
|
148
|
+
export declare const LongLabelsTruncate: any;
|
|
149
|
+
export declare const CompactDensity: any;
|
|
150
|
+
export declare const ComfortableDensity: any;
|
|
151
|
+
export declare const HiddenAndDisabledItems: any;
|
|
152
|
+
export declare const WithoutUser: any;
|
|
@@ -503,11 +503,21 @@ export namespace Components {
|
|
|
503
503
|
* @default ''
|
|
504
504
|
*/
|
|
505
505
|
"modalTitle": string;
|
|
506
|
+
/**
|
|
507
|
+
* Modal width on desktop (any CSS value, e.g. `900px`). Empty keeps the type default
|
|
508
|
+
* @default ''
|
|
509
|
+
*/
|
|
510
|
+
"modalWidth": string;
|
|
506
511
|
/**
|
|
507
512
|
* Is modal opened
|
|
508
513
|
* @default false
|
|
509
514
|
*/
|
|
510
515
|
"opened": boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Disable the primary button
|
|
518
|
+
* @default false
|
|
519
|
+
*/
|
|
520
|
+
"primaryButtonDisabled": boolean;
|
|
511
521
|
/**
|
|
512
522
|
* Primary button text
|
|
513
523
|
* @default ''
|
|
@@ -518,11 +528,26 @@ export namespace Components {
|
|
|
518
528
|
* @default ''
|
|
519
529
|
*/
|
|
520
530
|
"promoImage": string;
|
|
531
|
+
/**
|
|
532
|
+
* Disable the secondary button
|
|
533
|
+
* @default false
|
|
534
|
+
*/
|
|
535
|
+
"secondaryButtonDisabled": boolean;
|
|
521
536
|
/**
|
|
522
537
|
* Secondary button text
|
|
523
538
|
* @default ''
|
|
524
539
|
*/
|
|
525
540
|
"secondaryButtonText": string;
|
|
541
|
+
/**
|
|
542
|
+
* Let the modal grow with its content (no slot scroll); the overlay scrolls instead when it exceeds the viewport
|
|
543
|
+
* @default false
|
|
544
|
+
*/
|
|
545
|
+
"slotAutoHeight": boolean;
|
|
546
|
+
/**
|
|
547
|
+
* Max height of the slot area (any CSS value, e.g. `60vh`). Empty keeps the type default
|
|
548
|
+
* @default ''
|
|
549
|
+
*/
|
|
550
|
+
"slotMaxHeight": string;
|
|
526
551
|
/**
|
|
527
552
|
* Slot overflow behavior
|
|
528
553
|
* @default SulaModalSlotOverflow.Auto
|
|
@@ -988,10 +1013,10 @@ export namespace Components {
|
|
|
988
1013
|
"trigger": SulaTooltipTrigger;
|
|
989
1014
|
}
|
|
990
1015
|
/**
|
|
991
|
-
* Navigation menu that
|
|
992
|
-
*
|
|
993
|
-
*
|
|
994
|
-
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to
|
|
1016
|
+
* Navigation menu that expands in place, as in `sula-menu`, while the tree has up to 3 levels.
|
|
1017
|
+
* When any visible item reaches a 4th level, every item with children opens a single-level
|
|
1018
|
+
* drill-down panel with a breadcrumb trail instead.
|
|
1019
|
+
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to 300px.
|
|
995
1020
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
996
1021
|
*/
|
|
997
1022
|
interface SulaWorkbenchMenu {
|
|
@@ -1006,14 +1031,9 @@ export namespace Components {
|
|
|
1006
1031
|
*/
|
|
1007
1032
|
"density": SulaMenuDensity;
|
|
1008
1033
|
/**
|
|
1009
|
-
* Controls the
|
|
1034
|
+
* Controls the navigation from the host: ids from the root to the item whose children are shown. In drill-down mode an empty array goes back to the root; in inline mode the items on the path are expanded. Leave it undefined to let only user clicks navigate.
|
|
1010
1035
|
*/
|
|
1011
1036
|
"drillPath"?: string[];
|
|
1012
|
-
/**
|
|
1013
|
-
* Depth (1-based) from which items with children open a drill-down panel instead of expanding in place. With the default of 3, the first two levels expand inline and deeper branches drill down.
|
|
1014
|
-
* @default 3
|
|
1015
|
-
*/
|
|
1016
|
-
"drilldownLevel": number;
|
|
1017
1037
|
/**
|
|
1018
1038
|
* Menu image
|
|
1019
1039
|
* @default ''
|
|
@@ -1657,10 +1677,10 @@ declare global {
|
|
|
1657
1677
|
"menuToggled": boolean;
|
|
1658
1678
|
}
|
|
1659
1679
|
/**
|
|
1660
|
-
* Navigation menu that
|
|
1661
|
-
*
|
|
1662
|
-
*
|
|
1663
|
-
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to
|
|
1680
|
+
* Navigation menu that expands in place, as in `sula-menu`, while the tree has up to 3 levels.
|
|
1681
|
+
* When any visible item reaches a 4th level, every item with children opens a single-level
|
|
1682
|
+
* drill-down panel with a breadcrumb trail instead.
|
|
1683
|
+
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to 300px.
|
|
1664
1684
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
1665
1685
|
*/
|
|
1666
1686
|
interface HTMLSulaWorkbenchMenuElement extends Components.SulaWorkbenchMenu, HTMLStencilElement {
|
|
@@ -2259,6 +2279,11 @@ declare namespace LocalJSX {
|
|
|
2259
2279
|
* @default ''
|
|
2260
2280
|
*/
|
|
2261
2281
|
"modalTitle"?: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* Modal width on desktop (any CSS value, e.g. `900px`). Empty keeps the type default
|
|
2284
|
+
* @default ''
|
|
2285
|
+
*/
|
|
2286
|
+
"modalWidth"?: string;
|
|
2262
2287
|
/**
|
|
2263
2288
|
* Event emitted when the modal is closed
|
|
2264
2289
|
*/
|
|
@@ -2276,6 +2301,11 @@ declare namespace LocalJSX {
|
|
|
2276
2301
|
* @default false
|
|
2277
2302
|
*/
|
|
2278
2303
|
"opened"?: boolean;
|
|
2304
|
+
/**
|
|
2305
|
+
* Disable the primary button
|
|
2306
|
+
* @default false
|
|
2307
|
+
*/
|
|
2308
|
+
"primaryButtonDisabled"?: boolean;
|
|
2279
2309
|
/**
|
|
2280
2310
|
* Primary button text
|
|
2281
2311
|
* @default ''
|
|
@@ -2286,11 +2316,26 @@ declare namespace LocalJSX {
|
|
|
2286
2316
|
* @default ''
|
|
2287
2317
|
*/
|
|
2288
2318
|
"promoImage"?: string;
|
|
2319
|
+
/**
|
|
2320
|
+
* Disable the secondary button
|
|
2321
|
+
* @default false
|
|
2322
|
+
*/
|
|
2323
|
+
"secondaryButtonDisabled"?: boolean;
|
|
2289
2324
|
/**
|
|
2290
2325
|
* Secondary button text
|
|
2291
2326
|
* @default ''
|
|
2292
2327
|
*/
|
|
2293
2328
|
"secondaryButtonText"?: string;
|
|
2329
|
+
/**
|
|
2330
|
+
* Let the modal grow with its content (no slot scroll); the overlay scrolls instead when it exceeds the viewport
|
|
2331
|
+
* @default false
|
|
2332
|
+
*/
|
|
2333
|
+
"slotAutoHeight"?: boolean;
|
|
2334
|
+
/**
|
|
2335
|
+
* Max height of the slot area (any CSS value, e.g. `60vh`). Empty keeps the type default
|
|
2336
|
+
* @default ''
|
|
2337
|
+
*/
|
|
2338
|
+
"slotMaxHeight"?: string;
|
|
2294
2339
|
/**
|
|
2295
2340
|
* Slot overflow behavior
|
|
2296
2341
|
* @default SulaModalSlotOverflow.Auto
|
|
@@ -2874,10 +2919,10 @@ declare namespace LocalJSX {
|
|
|
2874
2919
|
"trigger"?: SulaTooltipTrigger;
|
|
2875
2920
|
}
|
|
2876
2921
|
/**
|
|
2877
|
-
* Navigation menu that
|
|
2878
|
-
*
|
|
2879
|
-
*
|
|
2880
|
-
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to
|
|
2922
|
+
* Navigation menu that expands in place, as in `sula-menu`, while the tree has up to 3 levels.
|
|
2923
|
+
* When any visible item reaches a 4th level, every item with children opens a single-level
|
|
2924
|
+
* drill-down panel with a breadcrumb trail instead.
|
|
2925
|
+
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to 300px.
|
|
2881
2926
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
2882
2927
|
*/
|
|
2883
2928
|
interface SulaWorkbenchMenu {
|
|
@@ -2892,14 +2937,9 @@ declare namespace LocalJSX {
|
|
|
2892
2937
|
*/
|
|
2893
2938
|
"density"?: SulaMenuDensity;
|
|
2894
2939
|
/**
|
|
2895
|
-
* Controls the
|
|
2940
|
+
* Controls the navigation from the host: ids from the root to the item whose children are shown. In drill-down mode an empty array goes back to the root; in inline mode the items on the path are expanded. Leave it undefined to let only user clicks navigate.
|
|
2896
2941
|
*/
|
|
2897
2942
|
"drillPath"?: string[];
|
|
2898
|
-
/**
|
|
2899
|
-
* Depth (1-based) from which items with children open a drill-down panel instead of expanding in place. With the default of 3, the first two levels expand inline and deeper branches drill down.
|
|
2900
|
-
* @default 3
|
|
2901
|
-
*/
|
|
2902
|
-
"drilldownLevel"?: number;
|
|
2903
2943
|
/**
|
|
2904
2944
|
* Menu image
|
|
2905
2945
|
* @default ''
|
|
@@ -2921,7 +2961,7 @@ declare namespace LocalJSX {
|
|
|
2921
2961
|
*/
|
|
2922
2962
|
"menuTitle"?: string;
|
|
2923
2963
|
/**
|
|
2924
|
-
* Emitted when any item is
|
|
2964
|
+
* Emitted when any item is clickede
|
|
2925
2965
|
*/
|
|
2926
2966
|
"onItemClicked"?: (event: SulaWorkbenchMenuCustomEvent<SulaWorkbenchMenuItem>) => void;
|
|
2927
2967
|
/**
|
|
@@ -3059,10 +3099,10 @@ declare module "@stencil/core" {
|
|
|
3059
3099
|
"sula-toggle": LocalJSX.SulaToggle & JSXBase.HTMLAttributes<HTMLSulaToggleElement>;
|
|
3060
3100
|
"sula-tooltip": LocalJSX.SulaTooltip & JSXBase.HTMLAttributes<HTMLSulaTooltipElement>;
|
|
3061
3101
|
/**
|
|
3062
|
-
* Navigation menu that
|
|
3063
|
-
*
|
|
3064
|
-
*
|
|
3065
|
-
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to
|
|
3102
|
+
* Navigation menu that expands in place, as in `sula-menu`, while the tree has up to 3 levels.
|
|
3103
|
+
* When any visible item reaches a 4th level, every item with children opens a single-level
|
|
3104
|
+
* drill-down panel with a breadcrumb trail instead.
|
|
3105
|
+
* @cssprop --sula-menu-width - Width of the expanded menu. Defaults to 300px.
|
|
3066
3106
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
3067
3107
|
*/
|
|
3068
3108
|
"sula-workbench-menu": LocalJSX.SulaWorkbenchMenu & JSXBase.HTMLAttributes<HTMLSulaWorkbenchMenuElement>;
|