@breadstone/mosaik-elements-foundation 0.0.211 → 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.
Files changed (150) hide show
  1. package/Controls/Components/Abstracts/CustomElement.js.map +1 -1
  2. package/Controls/Components/Overlays/Dialog/DialogService.d.ts +0 -22
  3. package/Controls/Components/Overlays/Dialog/DialogService.d.ts.map +1 -1
  4. package/Controls/Components/Overlays/Dialog/DialogService.js +2 -12
  5. package/Controls/Components/Overlays/Dialog/DialogService.js.map +1 -1
  6. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Cosmopolitan.d.ts.map +1 -1
  7. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Cosmopolitan.js +13 -0
  8. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Cosmopolitan.js.map +1 -1
  9. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Joy.d.ts.map +1 -1
  10. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Joy.js +13 -0
  11. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Joy.js.map +1 -1
  12. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Memphis.d.ts.map +1 -1
  13. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Memphis.js +13 -0
  14. package/Controls/Components/Overlays/Dialog/Themes/DialogElement.Memphis.js.map +1 -1
  15. package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.d.ts +119 -0
  16. package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.d.ts.map +1 -0
  17. package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.js +246 -0
  18. package/Controls/Components/Overlays/Dialog/behaviors/DialogStackBehavior.js.map +1 -0
  19. package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.d.ts +64 -0
  20. package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.d.ts.map +1 -0
  21. package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.js +15 -0
  22. package/Controls/Components/Overlays/Dialog/behaviors/IDialogStackBehaviorConfig.js.map +1 -0
  23. package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.d.ts +11 -0
  24. package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.d.ts.map +1 -0
  25. package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.js +14 -0
  26. package/Controls/Components/Overlays/Dialog/behaviors/withDialogStackBehavior.js.map +1 -0
  27. package/Controls/Components/Overlays/Drawer/DrawerActionsElement.d.ts +44 -0
  28. package/Controls/Components/Overlays/Drawer/DrawerActionsElement.d.ts.map +1 -0
  29. package/Controls/Components/Overlays/Drawer/DrawerActionsElement.js +71 -0
  30. package/Controls/Components/Overlays/Drawer/DrawerActionsElement.js.map +1 -0
  31. package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.d.ts +9 -0
  32. package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.d.ts.map +1 -0
  33. package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.js +36 -0
  34. package/Controls/Components/Overlays/Drawer/DrawerActionsElementTemplate.js.map +1 -0
  35. package/Controls/Components/Overlays/Drawer/DrawerElementTemplate.d.ts.map +1 -1
  36. package/Controls/Components/Overlays/Drawer/DrawerElementTemplate.js +6 -1
  37. package/Controls/Components/Overlays/Drawer/DrawerElementTemplate.js.map +1 -1
  38. package/Controls/Components/Overlays/Drawer/DrawerService.d.ts +0 -17
  39. package/Controls/Components/Overlays/Drawer/DrawerService.d.ts.map +1 -1
  40. package/Controls/Components/Overlays/Drawer/DrawerService.js +4 -16
  41. package/Controls/Components/Overlays/Drawer/DrawerService.js.map +1 -1
  42. package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.d.ts +9 -0
  43. package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.d.ts.map +1 -0
  44. package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.js +3 -0
  45. package/Controls/Components/Overlays/Drawer/IDrawerActionsElementProps.js.map +1 -0
  46. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.d.ts +6 -0
  47. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.d.ts.map +1 -0
  48. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.js +76 -0
  49. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Cosmopolitan.js.map +1 -0
  50. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.d.ts +6 -0
  51. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.d.ts.map +1 -0
  52. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.js +76 -0
  53. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Joy.js.map +1 -0
  54. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.d.ts +6 -0
  55. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.d.ts.map +1 -0
  56. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.js +76 -0
  57. package/Controls/Components/Overlays/Drawer/Themes/DrawerActionsElement.Memphis.js.map +1 -0
  58. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.d.ts.map +1 -1
  59. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.js +20 -0
  60. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Cosmopolitan.js.map +1 -1
  61. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.d.ts.map +1 -1
  62. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.js +20 -0
  63. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Joy.js.map +1 -1
  64. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.d.ts.map +1 -1
  65. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.js +20 -0
  66. package/Controls/Components/Overlays/Drawer/Themes/DrawerElement.Memphis.js.map +1 -1
  67. package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.d.ts +136 -0
  68. package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.d.ts.map +1 -0
  69. package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.js +309 -0
  70. package/Controls/Components/Overlays/Drawer/behaviors/DrawerStackBehavior.js.map +1 -0
  71. package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.d.ts +57 -0
  72. package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.d.ts.map +1 -0
  73. package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.js +14 -0
  74. package/Controls/Components/Overlays/Drawer/behaviors/IDrawerStackBehaviorConfig.js.map +1 -0
  75. package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.d.ts +11 -0
  76. package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.d.ts.map +1 -0
  77. package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.js +14 -0
  78. package/Controls/Components/Overlays/Drawer/behaviors/withDrawerStackBehavior.js.map +1 -0
  79. package/Controls/Components/Overlays/MessageBox/MessageBoxService.d.ts +0 -1
  80. package/Controls/Components/Overlays/MessageBox/MessageBoxService.d.ts.map +1 -1
  81. package/Controls/Components/Overlays/MessageBox/MessageBoxService.js +0 -5
  82. package/Controls/Components/Overlays/MessageBox/MessageBoxService.js.map +1 -1
  83. package/Controls/Components/Overlays/Sheet/SheetService.d.ts +0 -1
  84. package/Controls/Components/Overlays/Sheet/SheetService.d.ts.map +1 -1
  85. package/Controls/Components/Overlays/Sheet/SheetService.js +0 -5
  86. package/Controls/Components/Overlays/Sheet/SheetService.js.map +1 -1
  87. package/Controls/Components/Overlays/Toast/ToastElement.d.ts.map +1 -1
  88. package/Controls/Components/Overlays/Toast/ToastElement.js +8 -3
  89. package/Controls/Components/Overlays/Toast/ToastElement.js.map +1 -1
  90. package/Controls/Components/Overlays/Toast/ToastElementTemplate.js +1 -1
  91. package/Controls/Components/Overlays/Toast/ToastElementTemplate.js.map +1 -1
  92. package/Controls/Components/Overlays/Toast/ToastService.d.ts +0 -1
  93. package/Controls/Components/Overlays/Toast/ToastService.d.ts.map +1 -1
  94. package/Controls/Components/Overlays/Toast/ToastService.js +0 -5
  95. package/Controls/Components/Overlays/Toast/ToastService.js.map +1 -1
  96. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.d.ts +42 -0
  97. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.d.ts.map +1 -0
  98. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.js +3 -0
  99. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeEndEvent.js.map +1 -0
  100. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.d.ts +32 -0
  101. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.d.ts.map +1 -0
  102. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.js +3 -0
  103. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizeStartEvent.js.map +1 -0
  104. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.d.ts +50 -0
  105. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.d.ts.map +1 -0
  106. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.js +3 -0
  107. package/Controls/Components/Primitives/ResizeThumb/Events/ResizeThumbResizingEvent.js.map +1 -0
  108. package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts +40 -0
  109. package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.d.ts.map +1 -0
  110. package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.js +3 -0
  111. package/Controls/Components/Primitives/ResizeThumb/IResizeThumbElementProps.js.map +1 -0
  112. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.d.ts +251 -0
  113. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.d.ts.map +1 -0
  114. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.js +474 -0
  115. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElement.js.map +1 -0
  116. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.d.ts +9 -0
  117. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.d.ts.map +1 -0
  118. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js +14 -0
  119. package/Controls/Components/Primitives/ResizeThumb/ResizeThumbElementTemplate.js.map +1 -0
  120. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.d.ts +6 -0
  121. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.d.ts.map +1 -0
  122. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js +104 -0
  123. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Cosmopolitan.js.map +1 -0
  124. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.d.ts +6 -0
  125. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.d.ts.map +1 -0
  126. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js +142 -0
  127. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Joy.js.map +1 -0
  128. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.d.ts +6 -0
  129. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.d.ts.map +1 -0
  130. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js +104 -0
  131. package/Controls/Components/Primitives/ResizeThumb/Themes/ResizeThumbElement.Memphis.js.map +1 -0
  132. package/Controls/Components/Selectors/Abstracts/Selector/SelectorElement.d.ts.map +1 -1
  133. package/Controls/Controllers/ResizeThumbController.d.ts +349 -0
  134. package/Controls/Controllers/ResizeThumbController.d.ts.map +1 -0
  135. package/Controls/Controllers/ResizeThumbController.js +520 -0
  136. package/Controls/Controllers/ResizeThumbController.js.map +1 -0
  137. package/Controls/Types/ResizeDirection.d.ts +54 -0
  138. package/Controls/Types/ResizeDirection.d.ts.map +1 -0
  139. package/Controls/Types/ResizeDirection.js +60 -0
  140. package/Controls/Types/ResizeDirection.js.map +1 -0
  141. package/Dom/Interval.d.ts +16 -1
  142. package/Dom/Interval.d.ts.map +1 -1
  143. package/Dom/Interval.js +25 -2
  144. package/Dom/Interval.js.map +1 -1
  145. package/Index.d.ts +15 -6
  146. package/Index.d.ts.map +1 -1
  147. package/Index.js +10 -4
  148. package/Index.js.map +1 -1
  149. package/custom-elements.json +2071 -1156
  150. 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 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,6 @@
1
+ import { type CSSResult } from '../../../../../Dom/Css';
2
+ /**
3
+ * @public
4
+ */
5
+ export declare function drawerActionsElementMemphisStyle(): CSSResult;
6
+ //# sourceMappingURL=DrawerActionsElement.Memphis.d.ts.map
@@ -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"}
@@ -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,CAkK1D"}
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,6 +92,7 @@ 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"] {
@@ -171,6 +172,25 @@ export function drawerElementCosmopolitanStyle() {
171
172
  margin-bottom: -40px;
172
173
  }
173
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
+
174
194
  `;
175
195
  }
176
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgKT,CAAC;AACN,CAAC"}
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,CAkKjD"}
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,6 +92,7 @@ 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"] {
@@ -171,6 +172,25 @@ export function drawerElementJoyStyle() {
171
172
  margin-bottom: -40px;
172
173
  }
173
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
+
174
194
  `;
175
195
  }
176
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgKT,CAAC;AACN,CAAC"}
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,CAsKrD"}
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,6 +92,7 @@ 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"] {
@@ -171,6 +172,25 @@ export function drawerElementMemphisStyle() {
171
172
  margin-bottom: -40px;
172
173
  }
173
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
+
174
194
  :host [part="root"]:after {
175
195
  width: var(--drawer-border-width);
176
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoKT,CAAC;AACN,CAAC"}
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"}