@m4l/components 9.1.13 → 9.1.14

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.
@@ -32,26 +32,9 @@
32
32
  * - Selects `PaperComponent` for fullscreen and mobile views.
33
33
  * - Selects `DraggablePaperComponent` for non-mobile, non-fullscreen views.
34
34
  * - Dynamically updates the fullscreen mode when the `fullScreen` prop changes.
35
- *
36
- * ### Example Usage:
37
- * ```tsx
38
- * import { ModalDialog } from './ModalDialog';
39
- * import { useModal } from './hooks/useModal';
40
- *
41
- * const App = () => {
42
- * const { openModal } = useModal();
43
- *
44
- * return (
45
- * <div>
46
- * <button onClick={() => openModal({ fullScreen: false })}>Open Modal</button>
47
- * <ModalDialog />
48
- * </div>
49
- * );
50
- * };
51
- * ```
52
35
  * @author cesar - automatic
53
36
  * @createdAt 2024-11-28 08:35:15 - automatic
54
- * @updatedAt 2024-12-02 17:50:36 - automatic
37
+ * @updatedAt 2024-12-06 11:53:51 - automatic
55
38
  * @updatedUser cesar - automatic
56
39
  */
57
40
  export declare const ModalDialog: () => import("react/jsx-runtime").JSX.Element;
@@ -3,12 +3,14 @@ const windowBaseStyles = {
3
3
  * Styles for the window base wrapper component.
4
4
  * @author cesar - automatic
5
5
  * @createdAt 2024-11-15 18:08:44 - automatic
6
- * @updatedAt 2024-12-05 07:49:28 - automatic
6
+ * @updatedAt 2024-12-06 14:42:54 - automatic
7
7
  * @updatedUser cesar - automatic
8
8
  */
9
9
  wrapperWindowBase: ({ theme, ownerState }) => ({
10
10
  height: "100%",
11
11
  width: "100%",
12
+ display: "flex",
13
+ flexDirection: "column",
12
14
  borderRadius: theme.vars.size.borderRadius.r1,
13
15
  ...ownerState?.windowBaseVariant === "outlined" && {
14
16
  border: theme.vars.size.borderStroke.container,
@@ -25,17 +27,18 @@ const windowBaseStyles = {
25
27
  * Styles for the content of the window base component.
26
28
  * @author cesar - automatic
27
29
  * @createdAt 2024-11-15 18:08:44 - automatic
28
- * @updatedAt 2024-12-05 07:49:28 - automatic
30
+ * @updatedAt 2024-12-06 14:42:54 - automatic
29
31
  * @updatedUser cesar - automatic
30
32
  */
31
33
  contentWindowBase: ({ theme }) => ({
32
- padding: theme.vars.size.baseSpacings.sp3
34
+ padding: theme.vars.size.baseSpacings.sp3,
35
+ overflow: "auto"
33
36
  }),
34
37
  /**
35
38
  * Styles for the header of the window base component.
36
39
  * @author cesar - automatic
37
40
  * @createdAt 2024-11-15 18:08:44 - automatic
38
- * @updatedAt 2024-12-05 07:49:28 - automatic
41
+ * @updatedAt 2024-12-06 14:42:54 - automatic
39
42
  * @updatedUser cesar - automatic
40
43
  */
41
44
  headerWindowComponent: ({ theme, ownerState }) => ({
@@ -71,7 +74,7 @@ const windowBaseStyles = {
71
74
  * Styles for the content of the header of the window base component.
72
75
  * @author cesar - automatic
73
76
  * @createdAt 2024-11-15 18:08:44 - automatic
74
- * @updatedAt 2024-12-05 07:49:28 - automatic
77
+ * @updatedAt 2024-12-06 14:42:54 - automatic
75
78
  * @updatedUser cesar - automatic
76
79
  */
77
80
  headerContentWindowBase: ({ theme }) => ({
@@ -86,7 +89,7 @@ const windowBaseStyles = {
86
89
  * Styles for the title of the header of the window base component.
87
90
  * @author cesar - automatic
88
91
  * @createdAt 2024-11-15 18:08:44 - automatic
89
- * @updatedAt 2024-12-05 07:49:28 - automatic
92
+ * @updatedAt 2024-12-06 14:42:54 - automatic
90
93
  * @updatedUser cesar - automatic
91
94
  */
92
95
  headerTitleWindowBase: ({ theme }) => ({
@@ -98,7 +101,7 @@ const windowBaseStyles = {
98
101
  * Styles for the subtitle container of the header of the window base component.
99
102
  * @author cesar - automatic
100
103
  * @createdAt 2024-11-15 18:08:44 - automatic
101
- * @updatedAt 2024-12-05 07:49:28 - automatic
104
+ * @updatedAt 2024-12-06 14:42:54 - automatic
102
105
  * @updatedUser cesar - automatic
103
106
  */
104
107
  subtitleContainer: ({ theme }) => ({
@@ -113,7 +116,7 @@ const windowBaseStyles = {
113
116
  * @returns An object containing the styles for the dot window base component.
114
117
  * @author cesar - automatic
115
118
  * @createdAt 2024-11-22 19:40:23 - automatic
116
- * @updatedAt 2024-12-05 07:49:28 - automatic
119
+ * @updatedAt 2024-12-06 14:42:54 - automatic
117
120
  * @updatedUser cesar - automatic
118
121
  */
119
122
  pointWindowBase: ({ theme, ownerState }) => ({
@@ -140,7 +143,7 @@ const windowBaseStyles = {
140
143
  * Styles for the subtitle of the header of the window base component.
141
144
  * @author cesar - automatic
142
145
  * @createdAt 2024-11-15 18:08:44 - automatic
143
- * @updatedAt 2024-12-05 07:49:28 - automatic
146
+ * @updatedAt 2024-12-06 14:42:54 - automatic
144
147
  * @updatedUser cesar - automatic
145
148
  */
146
149
  headerSubTitleWindowBase: ({ theme }) => ({
@@ -152,7 +155,7 @@ const windowBaseStyles = {
152
155
  * Styles for the icon of the header of the window base component.
153
156
  * @author cesar - automatic
154
157
  * @createdAt 2024-11-18 08:11:19 - automatic
155
- * @updatedAt 2024-12-05 07:49:28 - automatic
158
+ * @updatedAt 2024-12-06 14:42:54 - automatic
156
159
  * @updatedUser cesar - automatic
157
160
  */
158
161
  headerIconWindowBase: ({ theme }) => ({
@@ -166,7 +169,7 @@ const windowBaseStyles = {
166
169
  * Styles for the icons wrapper of the window base component.
167
170
  * @author cesar - automatic
168
171
  * @createdAt 2024-11-18 08:11:19 - automatic
169
- * @updatedAt 2024-12-05 07:49:28 - automatic
172
+ * @updatedAt 2024-12-06 14:42:54 - automatic
170
173
  * @updatedUser cesar - automatic
171
174
  */
172
175
  iconsWrapperWindowBase: () => ({
@@ -177,7 +180,7 @@ const windowBaseStyles = {
177
180
  * Styles for the dot icon of the window base component.
178
181
  * @author cesar - automatic
179
182
  * @createdAt 2024-11-22 19:40:23 - automatic
180
- * @updatedAt 2024-12-05 07:49:28 - automatic
183
+ * @updatedAt 2024-12-06 14:42:54 - automatic
181
184
  * @updatedUser cesar - automatic
182
185
  */
183
186
  pointIcon: ({ theme, ownerState }) => ({
@@ -202,7 +205,7 @@ const windowBaseStyles = {
202
205
  * Styles for the menu actions of the window base component.
203
206
  * @author cesar - automatic
204
207
  * @createdAt 2024-12-05 07:49:27 - automatic
205
- * @updatedAt 2024-12-05 07:49:28 - automatic
208
+ * @updatedAt 2024-12-06 14:42:54 - automatic
206
209
  * @updatedUser cesar - automatic
207
210
  */
208
211
  menuActionsWindowBase: () => ({
@@ -3,7 +3,7 @@ const dialogStyles = {
3
3
  * Dialog Root style
4
4
  * @author cesar - automatic
5
5
  * @createdAt 2024-11-24 15:58:24 - automatic
6
- * @updatedAt 2024-12-02 17:50:36 - automatic
6
+ * @updatedAt 2024-12-05 17:01:44 - automatic
7
7
  * @updatedUser cesar - automatic
8
8
  */
9
9
  dialogRoot: ({ theme }) => ({
@@ -17,7 +17,8 @@ const dialogStyles = {
17
17
  margin: 0,
18
18
  display: "flex",
19
19
  alignItems: "center",
20
- justifyContent: "center"
20
+ justifyContent: "center",
21
+ overflow: "unset"
21
22
  }
22
23
  })
23
24
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/components",
3
- "version": "9.1.13",
3
+ "version": "9.1.14",
4
4
  "license": "UNLICENSED",
5
5
  "lint-staged": {
6
6
  "*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
@@ -31,7 +31,7 @@ import { StoryFn, StoryContext } from '@storybook/react';
31
31
  * @returns JSX.Element - The decorated story with modal integration.
32
32
  * @author cesar - automatic
33
33
  * @createdAt 2024-11-26 12:39:40 - automatic
34
- * @updatedAt 2024-12-02 17:50:36 - automatic
34
+ * @updatedAt 2024-12-06 11:53:51 - automatic
35
35
  * @updatedUser cesar - automatic
36
36
  */
37
- export declare const WithExtendedContainer: (MyStory: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element;
37
+ export declare const WithExtendedContainer: (_: StoryFn, context: StoryContext) => import("react/jsx-runtime").JSX.Element;