@breadstone/mosaik-elements-foundation 0.0.210 → 0.0.212
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/Controls/Components/Abstracts/CustomElement.js.map +1 -1
- package/Controls/Components/Overlays/Dialog/DialogService.d.ts +0 -22
- package/Controls/Components/Overlays/Dialog/DialogService.d.ts.map +1 -1
- package/Controls/Components/Overlays/Dialog/DialogService.js +2 -12
- package/Controls/Components/Overlays/Dialog/DialogService.js.map +1 -1
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Cosmopolitan.js +13 -0
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Joy.js +13 -0
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Joy.js.map +1 -1
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Memphis.js +13 -0
- package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Memphis.js.map +1 -1
- package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.d.ts +119 -0
- package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.d.ts.map +1 -0
- package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.js +246 -0
- package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.js.map +1 -0
- package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.d.ts +64 -0
- package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.d.ts.map +1 -0
- package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.js +15 -0
- package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.js.map +1 -0
- package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.d.ts +11 -0
- package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.d.ts.map +1 -0
- package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.js +14 -0
- package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElement.d.ts +44 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElement.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElement.js +71 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElement.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.d.ts +9 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.js +36 -0
- package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/DrawerContainerElementTemplate.d.ts +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContainerElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContainerElementTemplate.js +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContainerElementTemplate.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContentElementTemplate.d.ts +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContentElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContentElementTemplate.js +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerContentElementTemplate.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerElementTemplate.js +6 -1
- package/Controls/Components/Overlays/Drawer/DrawerElementTemplate.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerFooterElementTemplate.d.ts +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerFooterElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerFooterElementTemplate.js +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerFooterElementTemplate.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerService.d.ts +0 -17
- package/Controls/Components/Overlays/Drawer/DrawerService.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/DrawerService.js +4 -16
- package/Controls/Components/Overlays/Drawer/DrawerService.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.d.ts +9 -0
- package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.js +3 -0
- package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.js +76 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.d.ts +6 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.js +76 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.d.ts +6 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.js +76 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.js +1 -0
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.js +6 -5
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.js +6 -5
- package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.js +20 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.js +20 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.js +20 -1
- package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.js.map +1 -1
- package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.d.ts +136 -0
- package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.js +309 -0
- package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.d.ts +57 -0
- package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.js +14 -0
- package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.js.map +1 -0
- package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.d.ts +11 -0
- package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.d.ts.map +1 -0
- package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.js +14 -0
- package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.js.map +1 -0
- package/Controls/Components/Overlays/MessageBox/MessageBoxService.d.ts +0 -1
- package/Controls/Components/Overlays/MessageBox/MessageBoxService.d.ts.map +1 -1
- package/Controls/Components/Overlays/MessageBox/MessageBoxService.js +0 -5
- package/Controls/Components/Overlays/MessageBox/MessageBoxService.js.map +1 -1
- package/Controls/Components/Overlays/Sheet/SheetService.d.ts +0 -1
- package/Controls/Components/Overlays/Sheet/SheetService.d.ts.map +1 -1
- package/Controls/Components/Overlays/Sheet/SheetService.js +0 -5
- package/Controls/Components/Overlays/Sheet/SheetService.js.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastElement.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastElement.js +8 -3
- package/Controls/Components/Overlays/Toast/ToastElement.js.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastElementTemplate.js +1 -1
- package/Controls/Components/Overlays/Toast/ToastElementTemplate.js.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastService.d.ts +0 -1
- package/Controls/Components/Overlays/Toast/ToastService.d.ts.map +1 -1
- package/Controls/Components/Overlays/Toast/ToastService.js +0 -5
- package/Controls/Components/Overlays/Toast/ToastService.js.map +1 -1
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.d.ts +42 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.js +3 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.d.ts +32 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.js +3 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.d.ts +50 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.js +3 -0
- package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts +40 -0
- package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.js +3 -0
- package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.d.ts +251 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.js +474 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.d.ts +9 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js +14 -0
- package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.d.ts +6 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js +104 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.d.ts +6 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js +142 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.d.ts +6 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.d.ts.map +1 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js +104 -0
- package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js.map +1 -0
- package/Controls/Components/Selectors/Abstracts/Selector/SelectorElement.d.ts.map +1 -1
- package/Controls/Controllers/ResizeThumbController.d.ts +349 -0
- package/Controls/Controllers/ResizeThumbController.d.ts.map +1 -0
- package/Controls/Controllers/ResizeThumbController.js +520 -0
- package/Controls/Controllers/ResizeThumbController.js.map +1 -0
- package/Controls/Types/ResizeDirection.d.ts +54 -0
- package/Controls/Types/ResizeDirection.d.ts.map +1 -0
- package/Controls/Types/ResizeDirection.js +60 -0
- package/Controls/Types/ResizeDirection.js.map +1 -0
- package/Dom/Interval.d.ts +16 -1
- package/Dom/Interval.d.ts.map +1 -1
- package/Dom/Interval.js +25 -2
- package/Dom/Interval.js.map +1 -1
- package/Index.d.ts +15 -6
- package/Index.d.ts.map +1 -1
- package/Index.js +10 -4
- package/Index.js.map +1 -1
- package/Routing/PathToRegexp.d.ts +1 -1
- package/custom-elements.json +2071 -1156
- package/package.json +3 -3
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
// ------------------------------------------------------------------------------
|
|
7
|
+
// #region Imports
|
|
8
|
+
import { css } from '../../../../../Dom/Css';
|
|
9
|
+
// #endregion
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export function drawerActionsElementCosmopolitanStyle() {
|
|
14
|
+
return css `
|
|
15
|
+
:host {
|
|
16
|
+
--drawer-actions-font-family: unset;
|
|
17
|
+
--drawer-actions-font-letter-spacing: unset;
|
|
18
|
+
--drawer-actions-font-line-height: unset;
|
|
19
|
+
--drawer-actions-font-size: unset;
|
|
20
|
+
--drawer-actions-font-text-decoration: unset;
|
|
21
|
+
--drawer-actions-font-text-transform: unset;
|
|
22
|
+
--drawer-actions-font-weight: unset;
|
|
23
|
+
--drawer-actions-gap: unset;
|
|
24
|
+
--drawer-actions-padding-bottom: unset;
|
|
25
|
+
--drawer-actions-padding-left: unset;
|
|
26
|
+
--drawer-actions-padding-right: unset;
|
|
27
|
+
--drawer-actions-padding-top: unset;
|
|
28
|
+
--drawer-actions-transition-duration: unset;
|
|
29
|
+
--drawer-actions-transition-mode: unset;
|
|
30
|
+
--drawer-actions-transition-property: unset;
|
|
31
|
+
--drawer-actions-translate: unset;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
35
|
+
:host {
|
|
36
|
+
transition-duration: .01ms;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host {
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
display: block;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host *, :host :before, :host :after {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
background-repeat: no-repeat;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host :before, :host :after {
|
|
52
|
+
text-decoration: inherit;
|
|
53
|
+
vertical-align: inherit;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([hidden]) {
|
|
57
|
+
display: none !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host {
|
|
61
|
+
padding: var(--drawer-actions-padding-top) var(--drawer-actions-padding-right) var(--drawer-actions-padding-bottom) var(--drawer-actions-padding-left);
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
align-items: center;
|
|
64
|
+
gap: var(--drawer-actions-gap);
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
display: flex;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host [part="innerStack"] {
|
|
71
|
+
--stack-gap: var(--drawer-actions-gap);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=DrawerActionsElement.Cosmopolitan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerActionsElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qCAAqC;IACjD,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4DT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerActionsElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,SAAS,CA8DxD"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
// ------------------------------------------------------------------------------
|
|
7
|
+
// #region Imports
|
|
8
|
+
import { css } from '../../../../../Dom/Css';
|
|
9
|
+
// #endregion
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export function drawerActionsElementJoyStyle() {
|
|
14
|
+
return css `
|
|
15
|
+
:host {
|
|
16
|
+
--drawer-actions-font-family: unset;
|
|
17
|
+
--drawer-actions-font-letter-spacing: unset;
|
|
18
|
+
--drawer-actions-font-line-height: unset;
|
|
19
|
+
--drawer-actions-font-size: unset;
|
|
20
|
+
--drawer-actions-font-text-decoration: unset;
|
|
21
|
+
--drawer-actions-font-text-transform: unset;
|
|
22
|
+
--drawer-actions-font-weight: unset;
|
|
23
|
+
--drawer-actions-gap: var(--joy-layout-space);
|
|
24
|
+
--drawer-actions-padding-bottom: calc(var(--joy-layout-space) * 2);
|
|
25
|
+
--drawer-actions-padding-left: calc(var(--joy-layout-space) * 2);
|
|
26
|
+
--drawer-actions-padding-right: calc(var(--joy-layout-space) * 2);
|
|
27
|
+
--drawer-actions-padding-top: calc(var(--joy-layout-space) * 2);
|
|
28
|
+
--drawer-actions-transition-duration: unset;
|
|
29
|
+
--drawer-actions-transition-mode: unset;
|
|
30
|
+
--drawer-actions-transition-property: unset;
|
|
31
|
+
--drawer-actions-translate: unset;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
35
|
+
:host {
|
|
36
|
+
transition-duration: .01ms;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host {
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
display: block;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host *, :host :before, :host :after {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
background-repeat: no-repeat;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host :before, :host :after {
|
|
52
|
+
text-decoration: inherit;
|
|
53
|
+
vertical-align: inherit;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([hidden]) {
|
|
57
|
+
display: none !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host {
|
|
61
|
+
padding: var(--drawer-actions-padding-top) var(--drawer-actions-padding-right) var(--drawer-actions-padding-bottom) var(--drawer-actions-padding-left);
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
align-items: center;
|
|
64
|
+
gap: var(--drawer-actions-gap);
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
display: flex;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host [part="innerStack"] {
|
|
71
|
+
--stack-gap: var(--drawer-actions-gap);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=DrawerActionsElement.Joy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerActionsElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,4BAA4B;IACxC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4DT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerActionsElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,SAAS,CA8D5D"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// ------------------------------------------------------------------------------
|
|
2
|
+
// <auto-generated>
|
|
3
|
+
// This code was generated by a tool.
|
|
4
|
+
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
+
// </auto-generated>
|
|
6
|
+
// ------------------------------------------------------------------------------
|
|
7
|
+
// #region Imports
|
|
8
|
+
import { css } from '../../../../../Dom/Css';
|
|
9
|
+
// #endregion
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export function drawerActionsElementMemphisStyle() {
|
|
14
|
+
return css `
|
|
15
|
+
:host {
|
|
16
|
+
--drawer-actions-font-family: unset;
|
|
17
|
+
--drawer-actions-font-letter-spacing: unset;
|
|
18
|
+
--drawer-actions-font-line-height: unset;
|
|
19
|
+
--drawer-actions-font-size: unset;
|
|
20
|
+
--drawer-actions-font-text-decoration: unset;
|
|
21
|
+
--drawer-actions-font-text-transform: unset;
|
|
22
|
+
--drawer-actions-font-weight: unset;
|
|
23
|
+
--drawer-actions-gap: var(--memphis-layout-space);
|
|
24
|
+
--drawer-actions-padding-bottom: calc(var(--memphis-layout-space) * 2);
|
|
25
|
+
--drawer-actions-padding-left: calc(var(--memphis-layout-space) * 2);
|
|
26
|
+
--drawer-actions-padding-right: calc(var(--memphis-layout-space) * 2);
|
|
27
|
+
--drawer-actions-padding-top: calc(var(--memphis-layout-space) * 2);
|
|
28
|
+
--drawer-actions-transition-duration: unset;
|
|
29
|
+
--drawer-actions-transition-mode: unset;
|
|
30
|
+
--drawer-actions-transition-property: unset;
|
|
31
|
+
--drawer-actions-translate: unset;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@media screen and (prefers-reduced-motion: reduce) {
|
|
35
|
+
:host {
|
|
36
|
+
transition-duration: .01ms;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:host {
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
display: block;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
:host *, :host :before, :host :after {
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
background-repeat: no-repeat;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:host :before, :host :after {
|
|
52
|
+
text-decoration: inherit;
|
|
53
|
+
vertical-align: inherit;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
:host([hidden]) {
|
|
57
|
+
display: none !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:host {
|
|
61
|
+
padding: var(--drawer-actions-padding-top) var(--drawer-actions-padding-right) var(--drawer-actions-padding-bottom) var(--drawer-actions-padding-left);
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
align-items: center;
|
|
64
|
+
gap: var(--drawer-actions-gap);
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
display: flex;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host [part="innerStack"] {
|
|
71
|
+
--stack-gap: var(--drawer-actions-gap);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
`;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=DrawerActionsElement.Memphis.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerActionsElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,gCAAgC;IAC5C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA4DT,CAAC;AACN,CAAC"}
|
package/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContentElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,qCAAqC,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"DrawerContentElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,qCAAqC,IAAI,SAAS,CA4DjE"}
|
|
@@ -60,6 +60,7 @@ export function drawerContentElementCosmopolitanStyle() {
|
|
|
60
60
|
:host {
|
|
61
61
|
z-index: 1;
|
|
62
62
|
height: 100%;
|
|
63
|
+
padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
|
|
63
64
|
transition-property: transform, margin-left, margin-right;
|
|
64
65
|
transition-duration: .4s;
|
|
65
66
|
transition-timing-function: cubic-bezier(.25, .8, .25, 1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContentElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qCAAqC;IACjD,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"DrawerContentElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qCAAqC;IACjD,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0DT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContentElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"DrawerContentElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,4BAA4B,IAAI,SAAS,CA4DxD"}
|
|
@@ -20,11 +20,11 @@ export function drawerContentElementJoyStyle() {
|
|
|
20
20
|
--drawer-content-font-text-decoration: unset;
|
|
21
21
|
--drawer-content-font-text-transform: unset;
|
|
22
22
|
--drawer-content-font-weight: unset;
|
|
23
|
-
--drawer-content-gap:
|
|
24
|
-
--drawer-content-padding-bottom:
|
|
25
|
-
--drawer-content-padding-left:
|
|
26
|
-
--drawer-content-padding-right:
|
|
27
|
-
--drawer-content-padding-top:
|
|
23
|
+
--drawer-content-gap: var(--joy-layout-space);
|
|
24
|
+
--drawer-content-padding-bottom: calc(var(--joy-layout-space) * 2);
|
|
25
|
+
--drawer-content-padding-left: calc(var(--joy-layout-space) * 2);
|
|
26
|
+
--drawer-content-padding-right: calc(var(--joy-layout-space) * 2);
|
|
27
|
+
--drawer-content-padding-top: calc(var(--joy-layout-space) * 2);
|
|
28
28
|
--drawer-content-transition-duration: unset;
|
|
29
29
|
--drawer-content-transition-mode: unset;
|
|
30
30
|
--drawer-content-transition-property: unset;
|
|
@@ -60,6 +60,7 @@ export function drawerContentElementJoyStyle() {
|
|
|
60
60
|
:host {
|
|
61
61
|
z-index: 1;
|
|
62
62
|
height: 100%;
|
|
63
|
+
padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
|
|
63
64
|
transition-property: transform, margin-left, margin-right;
|
|
64
65
|
transition-duration: .4s;
|
|
65
66
|
transition-timing-function: cubic-bezier(.25, .8, .25, 1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContentElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,4BAA4B;IACxC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"DrawerContentElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,4BAA4B;IACxC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0DT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContentElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"DrawerContentElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,gCAAgC,IAAI,SAAS,CA4D5D"}
|
|
@@ -20,11 +20,11 @@ export function drawerContentElementMemphisStyle() {
|
|
|
20
20
|
--drawer-content-font-text-decoration: unset;
|
|
21
21
|
--drawer-content-font-text-transform: unset;
|
|
22
22
|
--drawer-content-font-weight: unset;
|
|
23
|
-
--drawer-content-gap:
|
|
24
|
-
--drawer-content-padding-bottom:
|
|
25
|
-
--drawer-content-padding-left:
|
|
26
|
-
--drawer-content-padding-right:
|
|
27
|
-
--drawer-content-padding-top:
|
|
23
|
+
--drawer-content-gap: var(--memphis-layout-space);
|
|
24
|
+
--drawer-content-padding-bottom: calc(var(--memphis-layout-space) * 2);
|
|
25
|
+
--drawer-content-padding-left: calc(var(--memphis-layout-space) * 2);
|
|
26
|
+
--drawer-content-padding-right: calc(var(--memphis-layout-space) * 2);
|
|
27
|
+
--drawer-content-padding-top: calc(var(--memphis-layout-space) * 2);
|
|
28
28
|
--drawer-content-transition-duration: unset;
|
|
29
29
|
--drawer-content-transition-mode: unset;
|
|
30
30
|
--drawer-content-transition-property: unset;
|
|
@@ -60,6 +60,7 @@ export function drawerContentElementMemphisStyle() {
|
|
|
60
60
|
:host {
|
|
61
61
|
z-index: 1;
|
|
62
62
|
height: 100%;
|
|
63
|
+
padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
|
|
63
64
|
transition-property: transform, margin-left, margin-right;
|
|
64
65
|
transition-duration: .4s;
|
|
65
66
|
transition-timing-function: cubic-bezier(.25, .8, .25, 1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerContentElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,gCAAgC;IAC5C,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"DrawerContentElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,gCAAgC;IAC5C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA0DT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"DrawerElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,8BAA8B,IAAI,SAAS,CAsL1D"}
|
|
@@ -92,10 +92,10 @@ export function drawerElementCosmopolitanStyle() {
|
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
display: flex;
|
|
94
94
|
position: absolute;
|
|
95
|
+
overflow: hidden;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
:host [part="root"] [part="heading"], :host [part="root"] [part="main"] {
|
|
98
|
-
display: flex;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -172,6 +172,25 @@ export function drawerElementCosmopolitanStyle() {
|
|
|
172
172
|
margin-bottom: -40px;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
:host([data-stack-level]) {
|
|
176
|
+
z-index: var(--drawer-z-index, 1);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:host([data-stack-level]:not([data-stack-level="0"])):before {
|
|
180
|
+
content: "";
|
|
181
|
+
top: var(--drawer-stack-indicator-offset, 0);
|
|
182
|
+
left: var(--drawer-stack-indicator-offset, 0);
|
|
183
|
+
right: calc(-1 * var(--drawer-stack-indicator-offset, 0));
|
|
184
|
+
bottom: calc(-1 * var(--drawer-stack-indicator-offset, 0));
|
|
185
|
+
pointer-events: none;
|
|
186
|
+
position: absolute;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host(.mosaik-drawer-stacked) [part="root"] {
|
|
190
|
+
pointer-events: none;
|
|
191
|
+
filter: brightness(.95);
|
|
192
|
+
}
|
|
193
|
+
|
|
175
194
|
`;
|
|
176
195
|
}
|
|
177
196
|
//# sourceMappingURL=DrawerElement.Cosmopolitan.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,8BAA8B;IAC1C,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"DrawerElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,8BAA8B;IAC1C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoLT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"DrawerElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,qBAAqB,IAAI,SAAS,CAsLjD"}
|
|
@@ -92,10 +92,10 @@ export function drawerElementJoyStyle() {
|
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
display: flex;
|
|
94
94
|
position: absolute;
|
|
95
|
+
overflow: hidden;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
:host [part="root"] [part="heading"], :host [part="root"] [part="main"] {
|
|
98
|
-
display: flex;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -172,6 +172,25 @@ export function drawerElementJoyStyle() {
|
|
|
172
172
|
margin-bottom: -40px;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
:host([data-stack-level]) {
|
|
176
|
+
z-index: var(--drawer-z-index, 1);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:host([data-stack-level]:not([data-stack-level="0"])):before {
|
|
180
|
+
content: "";
|
|
181
|
+
top: var(--drawer-stack-indicator-offset, 0);
|
|
182
|
+
left: var(--drawer-stack-indicator-offset, 0);
|
|
183
|
+
right: calc(-1 * var(--drawer-stack-indicator-offset, 0));
|
|
184
|
+
bottom: calc(-1 * var(--drawer-stack-indicator-offset, 0));
|
|
185
|
+
pointer-events: none;
|
|
186
|
+
position: absolute;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host(.mosaik-drawer-stacked) [part="root"] {
|
|
190
|
+
pointer-events: none;
|
|
191
|
+
filter: brightness(.95);
|
|
192
|
+
}
|
|
193
|
+
|
|
175
194
|
`;
|
|
176
195
|
}
|
|
177
196
|
//# sourceMappingURL=DrawerElement.Joy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACjC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"DrawerElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,qBAAqB;IACjC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoLT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"DrawerElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,CA0LrD"}
|
|
@@ -92,10 +92,10 @@ export function drawerElementMemphisStyle() {
|
|
|
92
92
|
flex-direction: column;
|
|
93
93
|
display: flex;
|
|
94
94
|
position: absolute;
|
|
95
|
+
overflow: hidden;
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
:host [part="root"] [part="heading"], :host [part="root"] [part="main"] {
|
|
98
|
-
display: flex;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -172,6 +172,25 @@ export function drawerElementMemphisStyle() {
|
|
|
172
172
|
margin-bottom: -40px;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
+
:host([data-stack-level]) {
|
|
176
|
+
z-index: var(--drawer-z-index, 1);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
:host([data-stack-level]:not([data-stack-level="0"])):before {
|
|
180
|
+
content: "";
|
|
181
|
+
top: var(--drawer-stack-indicator-offset, 0);
|
|
182
|
+
left: var(--drawer-stack-indicator-offset, 0);
|
|
183
|
+
right: calc(-1 * var(--drawer-stack-indicator-offset, 0));
|
|
184
|
+
bottom: calc(-1 * var(--drawer-stack-indicator-offset, 0));
|
|
185
|
+
pointer-events: none;
|
|
186
|
+
position: absolute;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
:host(.mosaik-drawer-stacked) [part="root"] {
|
|
190
|
+
pointer-events: none;
|
|
191
|
+
filter: brightness(.95);
|
|
192
|
+
}
|
|
193
|
+
|
|
175
194
|
:host [part="root"]:after {
|
|
176
195
|
width: var(--drawer-border-width);
|
|
177
196
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"DrawerElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwLT,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { IOverlayBehavior } from '../../Abstracts/IOverlayBehavior';
|
|
2
|
+
import type { IDrawerRef, IDrawerOptions } from '../DrawerService';
|
|
3
|
+
import { type IDrawerStackBehaviorConfig } from './IDrawerStackBehaviorConfig';
|
|
4
|
+
/**
|
|
5
|
+
* Behavior that manages a stack of drawers with decreasing widths.
|
|
6
|
+
* Each drawer in the stack is offset from the previous one, creating
|
|
7
|
+
* a cascading visual effect.
|
|
8
|
+
*
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export declare class DrawerStackBehavior implements IOverlayBehavior<IDrawerRef, IDrawerOptions> {
|
|
12
|
+
private readonly _config;
|
|
13
|
+
private readonly _stack;
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a new instance of the `DrawerStackBehavior` class.
|
|
16
|
+
*
|
|
17
|
+
* @public
|
|
18
|
+
* @param config - Optional configuration for stack behavior.
|
|
19
|
+
*/
|
|
20
|
+
constructor(config?: Partial<IDrawerStackBehaviorConfig>);
|
|
21
|
+
/**
|
|
22
|
+
* Returns the current number of drawers in the stack.
|
|
23
|
+
*
|
|
24
|
+
* @public
|
|
25
|
+
* @readonly
|
|
26
|
+
*/
|
|
27
|
+
get stackSize(): number;
|
|
28
|
+
/**
|
|
29
|
+
* Returns the current stack configuration.
|
|
30
|
+
*
|
|
31
|
+
* @public
|
|
32
|
+
* @readonly
|
|
33
|
+
*/
|
|
34
|
+
get config(): Readonly<IDrawerStackBehaviorConfig>;
|
|
35
|
+
/**
|
|
36
|
+
* Returns an array of all drawer references in stack order (oldest first).
|
|
37
|
+
*
|
|
38
|
+
* @public
|
|
39
|
+
* @readonly
|
|
40
|
+
*/
|
|
41
|
+
get stack(): ReadonlyArray<IDrawerRef>;
|
|
42
|
+
/**
|
|
43
|
+
* Configures the drawer options before opening.
|
|
44
|
+
* Calculates the appropriate width based on stack position.
|
|
45
|
+
*
|
|
46
|
+
* @public
|
|
47
|
+
* @param options - The drawer options to configure.
|
|
48
|
+
*/
|
|
49
|
+
configure(_options: Partial<IDrawerOptions>): void;
|
|
50
|
+
/**
|
|
51
|
+
* Attaches a drawer to the stack and applies stack styling.
|
|
52
|
+
*
|
|
53
|
+
* @public
|
|
54
|
+
* @param ref - The drawer reference to attach.
|
|
55
|
+
*/
|
|
56
|
+
attach(ref: IDrawerRef): void;
|
|
57
|
+
/**
|
|
58
|
+
* Detaches a drawer from the stack.
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
* @param ref - The drawer reference to detach.
|
|
62
|
+
*/
|
|
63
|
+
detach(ref: IDrawerRef): void;
|
|
64
|
+
/**
|
|
65
|
+
* Disposes of all resources and clears the stack.
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
dispose(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Calculates the width for a drawer at a specific stack level.
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
* @param stackLevel - The zero-based index of the drawer in the stack.
|
|
75
|
+
* @param baseWidthOverride - Optional override for the base width.
|
|
76
|
+
* @returns The calculated CSS width string.
|
|
77
|
+
*/
|
|
78
|
+
calculateWidth(stackLevel: number, baseWidthOverride?: string): string;
|
|
79
|
+
/**
|
|
80
|
+
* Applies the stacked CSS class to all drawers except the topmost one.
|
|
81
|
+
*
|
|
82
|
+
* @private
|
|
83
|
+
*/
|
|
84
|
+
private applyStackedClasses;
|
|
85
|
+
/**
|
|
86
|
+
* Recalculates and applies widths for all remaining drawers in the stack.
|
|
87
|
+
* After a drawer is closed, we need to restore each drawer to its original width
|
|
88
|
+
* (which may have been grown when larger drawers were opened on top).
|
|
89
|
+
*
|
|
90
|
+
* @private
|
|
91
|
+
*/
|
|
92
|
+
private recalculateStackWidths;
|
|
93
|
+
/**
|
|
94
|
+
* Converts a CssLength to a string representation.
|
|
95
|
+
* If the value is a number, it's treated as pixels and not suitable for percentage-based calculations.
|
|
96
|
+
*
|
|
97
|
+
* @private
|
|
98
|
+
* @param value - The CssLength value to convert.
|
|
99
|
+
* @returns The string representation, or undefined if it's a number (pixels).
|
|
100
|
+
*/
|
|
101
|
+
private cssLengthToString;
|
|
102
|
+
/**
|
|
103
|
+
* Parses a percentage-based width string into a numeric value.
|
|
104
|
+
*
|
|
105
|
+
* @private
|
|
106
|
+
* @param width - The CSS width string (e.g. "50%").
|
|
107
|
+
* @returns The numeric percentage value, or null if not a percentage.
|
|
108
|
+
*/
|
|
109
|
+
private parseWidthToPercentage;
|
|
110
|
+
/**
|
|
111
|
+
* Grows smaller drawers in the stack to match the size of a newly opened larger drawer.
|
|
112
|
+
* Each existing drawer gets the new base width plus an offset based on its distance from the top.
|
|
113
|
+
*
|
|
114
|
+
* @private
|
|
115
|
+
* @param newDrawerBaseWidth - The base width of the newly opened drawer.
|
|
116
|
+
*/
|
|
117
|
+
private growSmallerDrawersToMatchLargest;
|
|
118
|
+
/**
|
|
119
|
+
* Calculates the z-index for a drawer at a specific stack level.
|
|
120
|
+
*
|
|
121
|
+
* @private
|
|
122
|
+
* @param stackLevel - The zero-based index of the drawer in the stack.
|
|
123
|
+
* @returns The calculated z-index value.
|
|
124
|
+
*/
|
|
125
|
+
private calculateZIndex;
|
|
126
|
+
/**
|
|
127
|
+
* Applies stack-related styles to a drawer element.
|
|
128
|
+
*
|
|
129
|
+
* @private
|
|
130
|
+
* @param ref - The drawer reference.
|
|
131
|
+
* @param stackLevel - The stack level for this drawer.
|
|
132
|
+
* @param computedWidth - The computed width for this drawer.
|
|
133
|
+
*/
|
|
134
|
+
private applyStackStyles;
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=DrawerStackBehavior.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DrawerStackBehavior.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,KAAK,0BAA0B,EAAwC,MAAM,8BAA8B,CAAC;AAYrH;;;;;;GAMG;AACH,qBAAa,mBAAoB,YAAW,gBAAgB,CAAC,UAAU,EAAE,cAAc,CAAC;IAIpF,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA6B;IACrD,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAM3C;;;;;OAKG;gBACgB,MAAM,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC;IAY/D;;;;;OAKG;IACH,IAAW,SAAS,IAAI,MAAM,CAE7B;IAED;;;;;OAKG;IACH,IAAW,MAAM,IAAI,QAAQ,CAAC,0BAA0B,CAAC,CAExD;IAED;;;;;OAKG;IACH,IAAW,KAAK,IAAI,aAAa,CAAC,UAAU,CAAC,CAE5C;IAMD;;;;;;OAMG;IACI,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI;IAOzD;;;;;OAKG;IACI,MAAM,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI;IAcpC;;;;;OAKG;IACI,MAAM,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI;IAapC;;;;OAIG;IACI,OAAO,IAAI,IAAI;IAItB;;;;;;;OAOG;IACI,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,MAAM;IAkB7E;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAa3B;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IA0C9B;;;;;;;OAOG;IACH,OAAO,CAAC,iBAAiB;IAczB;;;;;;OAMG;IACH,OAAO,CAAC,sBAAsB;IAa9B;;;;;;OAMG;IACH,OAAO,CAAC,gCAAgC;IAgCxC;;;;;;OAMG;IACH,OAAO,CAAC,eAAe;IAMvB;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;CAsB3B"}
|