@umami/react-zen 0.71.0 → 0.73.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 +754 -748
- package/dist/index.d.ts +9 -18
- package/dist/index.js +294 -301
- package/dist/index.mjs +266 -273
- package/package.json +1 -1
- package/styles.css +754 -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,7 +274,7 @@ 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, 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;
|
|
@@ -298,13 +289,13 @@ declare module '@umami/react-zen/Box' {
|
|
|
298
289
|
borderBottom?: Responsive<boolean>;
|
|
299
290
|
borderLeft?: Responsive<boolean>;
|
|
300
291
|
shadow?: Responsive<BoxShadow>;
|
|
301
|
-
padding?: Responsive<
|
|
302
|
-
paddingX?: Responsive<
|
|
303
|
-
paddingY?: Responsive<
|
|
304
|
-
paddingTop?: Responsive<
|
|
305
|
-
paddingRight?: Responsive<
|
|
306
|
-
paddingBottom?: Responsive<
|
|
307
|
-
paddingLeft?: Responsive<
|
|
292
|
+
padding?: Responsive<Padding>;
|
|
293
|
+
paddingX?: Responsive<Padding>;
|
|
294
|
+
paddingY?: Responsive<Padding>;
|
|
295
|
+
paddingTop?: Responsive<Padding>;
|
|
296
|
+
paddingRight?: Responsive<Padding>;
|
|
297
|
+
paddingBottom?: Responsive<Padding>;
|
|
298
|
+
paddingLeft?: Responsive<Padding>;
|
|
308
299
|
margin?: Responsive<Spacing>;
|
|
309
300
|
marginX?: Responsive<Spacing>;
|
|
310
301
|
marginY?: Responsive<Spacing>;
|
|
@@ -632,7 +623,7 @@ declare module '@umami/react-zen/List' {
|
|
|
632
623
|
separatorProperty?: string;
|
|
633
624
|
}
|
|
634
625
|
export function List({ items, idProperty, labelProperty, separatorProperty, className, children, ...props }: ListProps): import("react").JSX.Element;
|
|
635
|
-
export function ListItem({ children, className, ...props }: ListBoxItemProps<any>): import("react").JSX.Element;
|
|
626
|
+
export function ListItem({ id, children, className, ...props }: ListBoxItemProps<any>): import("react").JSX.Element;
|
|
636
627
|
export function ListSeparator({ className, ...props }: SeparatorProps): import("react").JSX.Element;
|
|
637
628
|
export function ListSection({ title, className, children, ...props }: ListBoxSectionProps<any> & {
|
|
638
629
|
title?: string;
|