@umami/react-zen 0.72.0 → 0.74.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.css +763 -748
- package/dist/index.d.ts +10 -23
- package/dist/index.js +282 -306
- package/dist/index.mjs +253 -277
- package/package.json +1 -1
- package/styles.css +763 -748
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare module '@umami/react-zen' {
|
|
|
26
26
|
export { Accordion, AccordionItem } from '@umami/react-zen/Accordion';
|
|
27
27
|
export { AlertBanner } from '@umami/react-zen/AlertBanner';
|
|
28
28
|
export { AlertDialog } from '@umami/react-zen/AlertDialog';
|
|
29
|
-
export { Block } from '@umami/react-zen/Block';
|
|
30
29
|
export { Blockquote } from '@umami/react-zen/Blockquote';
|
|
31
30
|
export { Box } from '@umami/react-zen/Box';
|
|
32
31
|
export { Breadcrumbs, Breadcrumb } from '@umami/react-zen/Breadcrumbs';
|
|
@@ -262,14 +261,6 @@ declare module '@umami/react-zen/AlertDialog' {
|
|
|
262
261
|
export type { AlertDialogProps };
|
|
263
262
|
}
|
|
264
263
|
|
|
265
|
-
declare module '@umami/react-zen/Block' {
|
|
266
|
-
import { HTMLAttributes } from 'react';
|
|
267
|
-
export interface BlockProps extends HTMLAttributes<HTMLDivElement> {
|
|
268
|
-
asChild?: boolean;
|
|
269
|
-
}
|
|
270
|
-
export function Block({ asChild, className, children, ...props }: BlockProps): import("react").JSX.Element;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
264
|
declare module '@umami/react-zen/Blockquote' {
|
|
274
265
|
import { HTMLAttributes } from 'react';
|
|
275
266
|
import { FontWeight, Responsive, TextWrap } from '@/lib/types';
|
|
@@ -283,28 +274,24 @@ declare module '@umami/react-zen/Blockquote' {
|
|
|
283
274
|
|
|
284
275
|
declare module '@umami/react-zen/Box' {
|
|
285
276
|
import { HTMLAttributes } from 'react';
|
|
286
|
-
import { BackgroundColor, BorderColor, BorderRadius, BoxShadow, Spacing, Responsive, Position, Display, TextAlign, FlexGrow, FlexShrink, Top, Right, Bottom, Left, Overflow, AlignSelf, JustifySelf, FontColor, FontSize, FontWeight } from '@/lib/types';
|
|
277
|
+
import { BackgroundColor, BorderColor, BorderPosition, BorderRadius, BoxShadow, Spacing, Responsive, Position, Display, TextAlign, FlexGrow, FlexShrink, Top, Right, Bottom, Left, Overflow, AlignSelf, JustifySelf, FontColor, FontSize, FontWeight, Padding } from '@/lib/types';
|
|
287
278
|
interface BoxProps extends HTMLAttributes<HTMLElement> {
|
|
288
279
|
display?: Responsive<Display>;
|
|
289
280
|
color?: FontColor;
|
|
290
281
|
backgroundColor?: BackgroundColor;
|
|
291
282
|
fontSize?: Responsive<FontSize>;
|
|
292
283
|
fontWeight?: Responsive<FontWeight>;
|
|
293
|
-
border?: Responsive<
|
|
284
|
+
border?: Responsive<BorderPosition>;
|
|
294
285
|
borderColor?: BorderColor;
|
|
295
286
|
borderRadius?: Responsive<BorderRadius>;
|
|
296
|
-
borderTop?: Responsive<boolean>;
|
|
297
|
-
borderRight?: Responsive<boolean>;
|
|
298
|
-
borderBottom?: Responsive<boolean>;
|
|
299
|
-
borderLeft?: Responsive<boolean>;
|
|
300
287
|
shadow?: Responsive<BoxShadow>;
|
|
301
|
-
padding?: Responsive<
|
|
302
|
-
paddingX?: Responsive<
|
|
303
|
-
paddingY?: Responsive<
|
|
304
|
-
paddingTop?: Responsive<
|
|
305
|
-
paddingRight?: Responsive<
|
|
306
|
-
paddingBottom?: Responsive<
|
|
307
|
-
paddingLeft?: Responsive<
|
|
288
|
+
padding?: Responsive<Padding>;
|
|
289
|
+
paddingX?: Responsive<Padding>;
|
|
290
|
+
paddingY?: Responsive<Padding>;
|
|
291
|
+
paddingTop?: Responsive<Padding>;
|
|
292
|
+
paddingRight?: Responsive<Padding>;
|
|
293
|
+
paddingBottom?: Responsive<Padding>;
|
|
294
|
+
paddingLeft?: Responsive<Padding>;
|
|
308
295
|
margin?: Responsive<Spacing>;
|
|
309
296
|
marginX?: Responsive<Spacing>;
|
|
310
297
|
marginY?: Responsive<Spacing>;
|
|
@@ -339,7 +326,7 @@ declare module '@umami/react-zen/Box' {
|
|
|
339
326
|
as?: string;
|
|
340
327
|
asChild?: boolean;
|
|
341
328
|
}
|
|
342
|
-
function Box({ display, color, backgroundColor, fontSize, fontWeight, border, borderColor, borderRadius,
|
|
329
|
+
function Box({ display, color, backgroundColor, fontSize, fontWeight, border, borderColor, borderRadius, shadow, padding, paddingX, paddingY, paddingTop, paddingRight, paddingBottom, paddingLeft, margin, marginX, marginY, marginTop, marginRight, marginBottom, marginLeft, overflow, overflowX, overflowY, width, minWidth, maxWidth, height, minHeight, maxHeight, position, align, top, right, bottom, left, flexBasis, flexGrow, flexShrink, gridArea, gridRow, gridColumn, order, as, asChild, className, style, children, ...props }: BoxProps): import("react").JSX.Element;
|
|
343
330
|
export { Box };
|
|
344
331
|
export type { BoxProps };
|
|
345
332
|
}
|