@deckai/deck-ui 0.0.28 → 0.0.31
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/components/Badge.d.cts +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Carousel.cjs +1 -1
- package/dist/components/Carousel.cjs.map +1 -1
- package/dist/components/Carousel.d.cts +9 -0
- package/dist/components/Carousel.d.ts +9 -0
- package/dist/components/Carousel.js +1 -1
- package/dist/components/Carousel.js.map +1 -1
- package/dist/components/Input.d.cts +1 -1
- package/dist/components/Input.d.ts +1 -1
- package/dist/components/OrderCard.cjs +8 -0
- package/dist/components/OrderCard.cjs.map +1 -0
- package/dist/components/OrderCard.d.cts +18 -0
- package/dist/components/OrderCard.d.ts +18 -0
- package/dist/components/OrderCard.js +8 -0
- package/dist/components/OrderCard.js.map +1 -0
- package/dist/components/OrderProgress.cjs +8 -0
- package/dist/components/OrderProgress.cjs.map +1 -0
- package/dist/components/OrderProgress.d.cts +15 -0
- package/dist/components/OrderProgress.d.ts +15 -0
- package/dist/components/OrderProgress.js +8 -0
- package/dist/components/OrderProgress.js.map +1 -0
- package/dist/components/OrderSummary.cjs +8 -0
- package/dist/components/OrderSummary.cjs.map +1 -0
- package/dist/components/OrderSummary.d.cts +18 -0
- package/dist/components/OrderSummary.d.ts +18 -0
- package/dist/components/OrderSummary.js +8 -0
- package/dist/components/OrderSummary.js.map +1 -0
- package/dist/components/ReviewCard.cjs +6 -6
- package/dist/components/ReviewCard.cjs.map +1 -1
- package/dist/components/ReviewCard.js +6 -6
- package/dist/components/ReviewCard.js.map +1 -1
- package/dist/components/Text.d.cts +1 -1
- package/dist/components/Text.d.ts +1 -1
- package/dist/components/Toast.d.cts +1 -1
- package/dist/components/Toast.d.ts +1 -1
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/styles/styles.css +1 -1
- package/package.json +2 -2
|
@@ -37,6 +37,6 @@ type TextProps<T extends TextElement = "p"> = {
|
|
|
37
37
|
children: React__default.ReactNode;
|
|
38
38
|
weight?: Weight;
|
|
39
39
|
} & HTMLPropsMap[T];
|
|
40
|
-
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<
|
|
40
|
+
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<HTMLElement | HTMLSpanElement | HTMLAnchorElement | HTMLHeadingElement | HTMLLabelElement | HTMLParagraphElement | HTMLQuoteElement | HTMLPreElement>>;
|
|
41
41
|
|
|
42
42
|
export { type ResponsiveVariant, Text, type TextProps };
|
|
@@ -37,6 +37,6 @@ type TextProps<T extends TextElement = "p"> = {
|
|
|
37
37
|
children: React__default.ReactNode;
|
|
38
38
|
weight?: Weight;
|
|
39
39
|
} & HTMLPropsMap[T];
|
|
40
|
-
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<
|
|
40
|
+
declare const Text: React__default.ForwardRefExoticComponent<TextProps<TextElement> & React__default.RefAttributes<HTMLElement | HTMLSpanElement | HTMLAnchorElement | HTMLHeadingElement | HTMLLabelElement | HTMLParagraphElement | HTMLQuoteElement | HTMLPreElement>>;
|
|
41
41
|
|
|
42
42
|
export { type ResponsiveVariant, Text, type TextProps };
|
|
@@ -38,7 +38,7 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastPr
|
|
|
38
38
|
/** Secondary action button configuration */
|
|
39
39
|
secondaryAction?: ToastAction | undefined;
|
|
40
40
|
/** Optional variant to change the visual style */
|
|
41
|
-
variant?: "
|
|
41
|
+
variant?: "error" | "default" | "success" | "warning" | undefined;
|
|
42
42
|
/** Whether to allow dismissing by clicking outside */
|
|
43
43
|
allowOutsideClick?: boolean | undefined;
|
|
44
44
|
/** Optional className for custom styling */
|
|
@@ -38,7 +38,7 @@ declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitive.ToastPr
|
|
|
38
38
|
/** Secondary action button configuration */
|
|
39
39
|
secondaryAction?: ToastAction | undefined;
|
|
40
40
|
/** Optional variant to change the visual style */
|
|
41
|
-
variant?: "
|
|
41
|
+
variant?: "error" | "default" | "success" | "warning" | undefined;
|
|
42
42
|
/** Whether to allow dismissing by clicking outside */
|
|
43
43
|
allowOutsideClick?: boolean | undefined;
|
|
44
44
|
/** Optional className for custom styling */
|