design-zystem 1.0.461 → 1.0.462
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/index.d.mts +2 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.js +3 -1
- package/dist/ui/index.mjs +3 -1
- package/package.json +1 -1
package/dist/ui/index.d.mts
CHANGED
|
@@ -41,6 +41,8 @@ interface LayoutProps extends HTMLAttributes<HTMLDivElement>, Omit<VariantProps<
|
|
|
41
41
|
maxWidth?: string;
|
|
42
42
|
/** Hauteur explicite (`"320px"`) — pour une zone de taille fixe (aperçu, recadrage). */
|
|
43
43
|
height?: string;
|
|
44
|
+
/** Hauteur minimale (`"262px"`) — la zone grandit avec son contenu sans descendre en dessous. */
|
|
45
|
+
minHeight?: string;
|
|
44
46
|
/** Raccourci CSS `flex` (ex. `1`, `2`, `"1 1 0%"`) — pour répartir l'espace entre plusieurs `Layout` côte à côte dans un `Layout row` parent. */
|
|
45
47
|
flex?: number | string;
|
|
46
48
|
}
|
package/dist/ui/index.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ interface LayoutProps extends HTMLAttributes<HTMLDivElement>, Omit<VariantProps<
|
|
|
41
41
|
maxWidth?: string;
|
|
42
42
|
/** Hauteur explicite (`"320px"`) — pour une zone de taille fixe (aperçu, recadrage). */
|
|
43
43
|
height?: string;
|
|
44
|
+
/** Hauteur minimale (`"262px"`) — la zone grandit avec son contenu sans descendre en dessous. */
|
|
45
|
+
minHeight?: string;
|
|
44
46
|
/** Raccourci CSS `flex` (ex. `1`, `2`, `"1 1 0%"`) — pour répartir l'espace entre plusieurs `Layout` côte à côte dans un `Layout row` parent. */
|
|
45
47
|
flex?: number | string;
|
|
46
48
|
}
|
package/dist/ui/index.js
CHANGED
|
@@ -462,6 +462,7 @@ var Layout = (0, import_react.forwardRef)(
|
|
|
462
462
|
width,
|
|
463
463
|
maxWidth,
|
|
464
464
|
height,
|
|
465
|
+
minHeight,
|
|
465
466
|
flex,
|
|
466
467
|
className,
|
|
467
468
|
style
|
|
@@ -485,6 +486,7 @@ var Layout = (0, import_react.forwardRef)(
|
|
|
485
486
|
"width",
|
|
486
487
|
"maxWidth",
|
|
487
488
|
"height",
|
|
489
|
+
"minHeight",
|
|
488
490
|
"flex",
|
|
489
491
|
"className",
|
|
490
492
|
"style"
|
|
@@ -514,7 +516,7 @@ var Layout = (0, import_react.forwardRef)(
|
|
|
514
516
|
}),
|
|
515
517
|
className
|
|
516
518
|
),
|
|
517
|
-
style: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, width ? { width } : {}), maxWidth ? { maxWidth } : {}), height ? { height } : {}), flex !== void 0 ? { flex } : {}), style)
|
|
519
|
+
style: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, width ? { width } : {}), maxWidth ? { maxWidth } : {}), height ? { height } : {}), minHeight ? { minHeight } : {}), flex !== void 0 ? { flex } : {}), style)
|
|
518
520
|
}, props)
|
|
519
521
|
);
|
|
520
522
|
}
|
package/dist/ui/index.mjs
CHANGED
|
@@ -231,6 +231,7 @@ var Layout = forwardRef(
|
|
|
231
231
|
width,
|
|
232
232
|
maxWidth,
|
|
233
233
|
height,
|
|
234
|
+
minHeight,
|
|
234
235
|
flex,
|
|
235
236
|
className,
|
|
236
237
|
style
|
|
@@ -254,6 +255,7 @@ var Layout = forwardRef(
|
|
|
254
255
|
"width",
|
|
255
256
|
"maxWidth",
|
|
256
257
|
"height",
|
|
258
|
+
"minHeight",
|
|
257
259
|
"flex",
|
|
258
260
|
"className",
|
|
259
261
|
"style"
|
|
@@ -283,7 +285,7 @@ var Layout = forwardRef(
|
|
|
283
285
|
}),
|
|
284
286
|
className
|
|
285
287
|
),
|
|
286
|
-
style: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, width ? { width } : {}), maxWidth ? { maxWidth } : {}), height ? { height } : {}), flex !== void 0 ? { flex } : {}), style)
|
|
288
|
+
style: __spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues(__spreadValues({}, width ? { width } : {}), maxWidth ? { maxWidth } : {}), height ? { height } : {}), minHeight ? { minHeight } : {}), flex !== void 0 ? { flex } : {}), style)
|
|
287
289
|
}, props)
|
|
288
290
|
);
|
|
289
291
|
}
|