@sula-tech/webcomponents 0.25.0 → 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 +2 -2
- 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-icon/sula-icon.css +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-CkBDMANF.js → p-0Fu7X8Ko.js} +3 -3
- package/dist/components/{p-CkBDMANF.js.map → p-0Fu7X8Ko.js.map} +1 -1
- package/dist/components/{p-CNJmyTBM.js → p-6BsVErKp.js} +3 -3
- package/dist/components/{p-CNJmyTBM.js.map → p-6BsVErKp.js.map} +1 -1
- package/dist/components/{p-CqrWuXvX.js → p-C0jaJr-I.js} +3 -3
- package/dist/components/{p-CqrWuXvX.js.map → p-C0jaJr-I.js.map} +1 -1
- package/dist/components/{p-DOhCUb27.js → p-CRJeD_Ch.js} +3 -3
- package/dist/components/{p-DOhCUb27.js.map → p-CRJeD_Ch.js.map} +1 -1
- package/dist/components/{p-BSlKsiiN.js → p-CvCiJEK7.js} +5 -5
- package/dist/components/{p-BSlKsiiN.js.map → p-CvCiJEK7.js.map} +1 -1
- package/dist/components/{p-Ckrg2kct.js → p-Cwj-T_a3.js} +3 -3
- package/dist/components/{p-Ckrg2kct.js.map → p-Cwj-T_a3.js.map} +1 -1
- package/dist/components/{p-Chv1iPo7.js → p-DPBeKst1.js} +4 -4
- package/dist/components/{p-Chv1iPo7.js.map → p-DPBeKst1.js.map} +1 -1
- package/dist/components/{p-ej3XWtzq.js → p-Dj-BkOJM.js} +3 -3
- package/dist/components/{p-ej3XWtzq.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-menu-select-list.js +1 -1
- package/dist/components/sula-menu.js +1 -1
- package/dist/components/sula-modal.js +2 -2
- 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 +2 -2
- 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-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 +19 -29
- package/dist/webcomponents/p-235dcb90.entry.js +880 -0
- package/dist/webcomponents/p-235dcb90.entry.js.map +1 -0
- package/dist/webcomponents/{p-28e25fac.entry.js → p-40f33932.entry.js} +3 -3
- 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 +4 -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-28e25fac.entry.js.map → p-40f33932.entry.js.map} +0 -0
- /package/dist/webcomponents/{p-88e5171a.entry.js.map → p-7e31b463.entry.js.map} +0 -0
|
@@ -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;
|
|
@@ -1013,10 +1013,10 @@ export namespace Components {
|
|
|
1013
1013
|
"trigger": SulaTooltipTrigger;
|
|
1014
1014
|
}
|
|
1015
1015
|
/**
|
|
1016
|
-
* Navigation menu that
|
|
1017
|
-
*
|
|
1018
|
-
*
|
|
1019
|
-
* @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.
|
|
1020
1020
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
1021
1021
|
*/
|
|
1022
1022
|
interface SulaWorkbenchMenu {
|
|
@@ -1031,14 +1031,9 @@ export namespace Components {
|
|
|
1031
1031
|
*/
|
|
1032
1032
|
"density": SulaMenuDensity;
|
|
1033
1033
|
/**
|
|
1034
|
-
* 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.
|
|
1035
1035
|
*/
|
|
1036
1036
|
"drillPath"?: string[];
|
|
1037
|
-
/**
|
|
1038
|
-
* 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.
|
|
1039
|
-
* @default 3
|
|
1040
|
-
*/
|
|
1041
|
-
"drilldownLevel": number;
|
|
1042
1037
|
/**
|
|
1043
1038
|
* Menu image
|
|
1044
1039
|
* @default ''
|
|
@@ -1682,10 +1677,10 @@ declare global {
|
|
|
1682
1677
|
"menuToggled": boolean;
|
|
1683
1678
|
}
|
|
1684
1679
|
/**
|
|
1685
|
-
* Navigation menu that
|
|
1686
|
-
*
|
|
1687
|
-
*
|
|
1688
|
-
* @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.
|
|
1689
1684
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
1690
1685
|
*/
|
|
1691
1686
|
interface HTMLSulaWorkbenchMenuElement extends Components.SulaWorkbenchMenu, HTMLStencilElement {
|
|
@@ -2924,10 +2919,10 @@ declare namespace LocalJSX {
|
|
|
2924
2919
|
"trigger"?: SulaTooltipTrigger;
|
|
2925
2920
|
}
|
|
2926
2921
|
/**
|
|
2927
|
-
* Navigation menu that
|
|
2928
|
-
*
|
|
2929
|
-
*
|
|
2930
|
-
* @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.
|
|
2931
2926
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
2932
2927
|
*/
|
|
2933
2928
|
interface SulaWorkbenchMenu {
|
|
@@ -2942,14 +2937,9 @@ declare namespace LocalJSX {
|
|
|
2942
2937
|
*/
|
|
2943
2938
|
"density"?: SulaMenuDensity;
|
|
2944
2939
|
/**
|
|
2945
|
-
* 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.
|
|
2946
2941
|
*/
|
|
2947
2942
|
"drillPath"?: string[];
|
|
2948
|
-
/**
|
|
2949
|
-
* 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.
|
|
2950
|
-
* @default 3
|
|
2951
|
-
*/
|
|
2952
|
-
"drilldownLevel"?: number;
|
|
2953
2943
|
/**
|
|
2954
2944
|
* Menu image
|
|
2955
2945
|
* @default ''
|
|
@@ -2971,7 +2961,7 @@ declare namespace LocalJSX {
|
|
|
2971
2961
|
*/
|
|
2972
2962
|
"menuTitle"?: string;
|
|
2973
2963
|
/**
|
|
2974
|
-
* Emitted when any item is
|
|
2964
|
+
* Emitted when any item is clickede
|
|
2975
2965
|
*/
|
|
2976
2966
|
"onItemClicked"?: (event: SulaWorkbenchMenuCustomEvent<SulaWorkbenchMenuItem>) => void;
|
|
2977
2967
|
/**
|
|
@@ -3109,10 +3099,10 @@ declare module "@stencil/core" {
|
|
|
3109
3099
|
"sula-toggle": LocalJSX.SulaToggle & JSXBase.HTMLAttributes<HTMLSulaToggleElement>;
|
|
3110
3100
|
"sula-tooltip": LocalJSX.SulaTooltip & JSXBase.HTMLAttributes<HTMLSulaTooltipElement>;
|
|
3111
3101
|
/**
|
|
3112
|
-
* Navigation menu that
|
|
3113
|
-
*
|
|
3114
|
-
*
|
|
3115
|
-
* @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.
|
|
3116
3106
|
* @cssprop --sula-menu-collapsed-width - Width of the collapsed menu. Defaults to 88px.
|
|
3117
3107
|
*/
|
|
3118
3108
|
"sula-workbench-menu": LocalJSX.SulaWorkbenchMenu & JSXBase.HTMLAttributes<HTMLSulaWorkbenchMenuElement>;
|