@umami/react-zen 0.99.0 → 0.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -3
- package/dist/index.js +11 -5
- package/dist/index.mjs +11 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ declare module '@umami/react-zen/Box' {
|
|
|
306
306
|
minHeight?: Responsive<string>;
|
|
307
307
|
maxHeight?: Responsive<string>;
|
|
308
308
|
position?: Responsive<Position>;
|
|
309
|
-
|
|
309
|
+
textAlign?: Responsive<TextAlign>;
|
|
310
310
|
top?: Responsive<Top>;
|
|
311
311
|
right?: Responsive<Right>;
|
|
312
312
|
bottom?: Responsive<Bottom>;
|
|
@@ -327,7 +327,7 @@ declare module '@umami/react-zen/Box' {
|
|
|
327
327
|
as?: string;
|
|
328
328
|
asChild?: boolean;
|
|
329
329
|
}
|
|
330
|
-
export function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position,
|
|
330
|
+
export function Box({ display, color, backgroundColor, hoverColor, hoverBackgroundColor, hoverBorderColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, width, minWidth, maxWidth, height, minHeight, maxHeight, position, textAlign, top, right, bottom, left, overflow, overflowX, overflowY, alignSelf, justifySelf, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, theme, as, asChild, className, style, children, ...props }: BoxProps): import("react").JSX.Element;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
declare module '@umami/react-zen/Breadcrumbs' {
|
|
@@ -504,12 +504,13 @@ declare module '@umami/react-zen/Grid' {
|
|
|
504
504
|
}
|
|
505
505
|
|
|
506
506
|
declare module '@umami/react-zen/Heading' {
|
|
507
|
-
import type { Responsive, FontSize, FontWeight, LetterSpacing } from '@/lib/types';
|
|
507
|
+
import type { Responsive, FontSize, FontWeight, LetterSpacing, TextAlign } from '@/lib/types';
|
|
508
508
|
import { BoxProps } from '@umami/react-zen/Box';
|
|
509
509
|
interface HeadingProps extends BoxProps {
|
|
510
510
|
size?: Responsive<FontSize>;
|
|
511
511
|
weight?: Responsive<FontWeight>;
|
|
512
512
|
spacing?: Responsive<LetterSpacing>;
|
|
513
|
+
align?: Responsive<TextAlign>;
|
|
513
514
|
}
|
|
514
515
|
function Heading({ size, weight, align, spacing, className, style, children, ...props }: HeadingProps): import("react").JSX.Element;
|
|
515
516
|
export { Heading };
|
package/dist/index.js
CHANGED
|
@@ -25234,6 +25234,10 @@ var excludedProps = [
|
|
|
25234
25234
|
"gridArea",
|
|
25235
25235
|
"gridRow",
|
|
25236
25236
|
"gridColumn",
|
|
25237
|
+
"top",
|
|
25238
|
+
"right",
|
|
25239
|
+
"bottom",
|
|
25240
|
+
"left",
|
|
25237
25241
|
"order"
|
|
25238
25242
|
];
|
|
25239
25243
|
function parseValue(name, value) {
|
|
@@ -25657,7 +25661,7 @@ function Box({
|
|
|
25657
25661
|
minHeight,
|
|
25658
25662
|
maxHeight,
|
|
25659
25663
|
position,
|
|
25660
|
-
|
|
25664
|
+
textAlign,
|
|
25661
25665
|
top,
|
|
25662
25666
|
right,
|
|
25663
25667
|
bottom,
|
|
@@ -25710,9 +25714,6 @@ function Box({
|
|
|
25710
25714
|
marginRight,
|
|
25711
25715
|
marginBottom,
|
|
25712
25716
|
marginLeft,
|
|
25713
|
-
overflow,
|
|
25714
|
-
overflowX,
|
|
25715
|
-
overflowY,
|
|
25716
25717
|
width,
|
|
25717
25718
|
minWidth,
|
|
25718
25719
|
maxWidth,
|
|
@@ -25720,11 +25721,16 @@ function Box({
|
|
|
25720
25721
|
minHeight,
|
|
25721
25722
|
maxHeight,
|
|
25722
25723
|
position,
|
|
25723
|
-
textAlign
|
|
25724
|
+
textAlign,
|
|
25724
25725
|
top,
|
|
25725
25726
|
right,
|
|
25726
25727
|
bottom,
|
|
25727
25728
|
left,
|
|
25729
|
+
overflow,
|
|
25730
|
+
overflowX,
|
|
25731
|
+
overflowY,
|
|
25732
|
+
alignSelf,
|
|
25733
|
+
justifySelf,
|
|
25728
25734
|
flexBasis,
|
|
25729
25735
|
flexGrow,
|
|
25730
25736
|
flexShrink,
|
package/dist/index.mjs
CHANGED
|
@@ -25123,6 +25123,10 @@ var excludedProps = [
|
|
|
25123
25123
|
"gridArea",
|
|
25124
25124
|
"gridRow",
|
|
25125
25125
|
"gridColumn",
|
|
25126
|
+
"top",
|
|
25127
|
+
"right",
|
|
25128
|
+
"bottom",
|
|
25129
|
+
"left",
|
|
25126
25130
|
"order"
|
|
25127
25131
|
];
|
|
25128
25132
|
function parseValue(name, value) {
|
|
@@ -25546,7 +25550,7 @@ function Box({
|
|
|
25546
25550
|
minHeight,
|
|
25547
25551
|
maxHeight,
|
|
25548
25552
|
position,
|
|
25549
|
-
|
|
25553
|
+
textAlign,
|
|
25550
25554
|
top,
|
|
25551
25555
|
right,
|
|
25552
25556
|
bottom,
|
|
@@ -25599,9 +25603,6 @@ function Box({
|
|
|
25599
25603
|
marginRight,
|
|
25600
25604
|
marginBottom,
|
|
25601
25605
|
marginLeft,
|
|
25602
|
-
overflow,
|
|
25603
|
-
overflowX,
|
|
25604
|
-
overflowY,
|
|
25605
25606
|
width,
|
|
25606
25607
|
minWidth,
|
|
25607
25608
|
maxWidth,
|
|
@@ -25609,11 +25610,16 @@ function Box({
|
|
|
25609
25610
|
minHeight,
|
|
25610
25611
|
maxHeight,
|
|
25611
25612
|
position,
|
|
25612
|
-
textAlign
|
|
25613
|
+
textAlign,
|
|
25613
25614
|
top,
|
|
25614
25615
|
right,
|
|
25615
25616
|
bottom,
|
|
25616
25617
|
left,
|
|
25618
|
+
overflow,
|
|
25619
|
+
overflowX,
|
|
25620
|
+
overflowY,
|
|
25621
|
+
alignSelf,
|
|
25622
|
+
justifySelf,
|
|
25617
25623
|
flexBasis,
|
|
25618
25624
|
flexGrow,
|
|
25619
25625
|
flexShrink,
|