@takecasper/acuity-design-system 1.6.1 → 1.7.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/README.md +13 -0
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +9 -4
- package/dist/index.es.js +725 -695
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,13 @@ declare interface CardProps {
|
|
|
42
42
|
footerContent?: React.ReactNode;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export declare const Checkbox: ({ id, label, name, checked, disabled, indeterminate, ...props }: CheckboxProps) => JSX_2.Element;
|
|
46
|
+
|
|
47
|
+
declare interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
48
|
+
label?: string;
|
|
49
|
+
indeterminate?: boolean;
|
|
50
|
+
}
|
|
51
|
+
|
|
45
52
|
export declare const Heading: ({ size, className, text, descriptionTop, descriptionBottom, hasHorizontalRule, hasMarginBottom, headingTag, ...props }: HeadingProps) => JSX_2.Element;
|
|
46
53
|
|
|
47
54
|
declare interface HeadingProps extends VariantProps<typeof headingVariants> {
|
|
@@ -56,7 +63,7 @@ declare interface HeadingProps extends VariantProps<typeof headingVariants> {
|
|
|
56
63
|
}
|
|
57
64
|
|
|
58
65
|
declare const headingVariants: (props?: ({
|
|
59
|
-
size?: "
|
|
66
|
+
size?: "large" | "small" | "medium" | "extra-large" | null | undefined;
|
|
60
67
|
} & ClassProp) | undefined) => string;
|
|
61
68
|
|
|
62
69
|
export declare const Icon: ({ size, name, hasIndicator, className, altText }: IconProps) => JSX_2.Element;
|
|
@@ -73,14 +80,12 @@ declare interface IconProps extends React.SVGAttributes<HTMLOrSVGImageElement> {
|
|
|
73
80
|
altText?: string;
|
|
74
81
|
}
|
|
75
82
|
|
|
76
|
-
export declare const Radio: ({ label, name, id, disabled,
|
|
83
|
+
export declare const Radio: ({ label, name, id, disabled, ...props }: RadioProps) => JSX_2.Element;
|
|
77
84
|
|
|
78
85
|
declare interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
79
86
|
label?: string;
|
|
80
87
|
name: string;
|
|
81
88
|
id: string;
|
|
82
|
-
defaultChecked?: boolean;
|
|
83
|
-
handleChange?: () => void;
|
|
84
89
|
}
|
|
85
90
|
|
|
86
91
|
export { }
|