@kroo-web/design-system 1.21.4 → 1.22.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/components/NumberField/numberField.stories.d.ts +1 -0
- package/dist/components/Typography/index.d.ts +0 -6
- package/dist/components/shared/FormField/index.d.ts +3 -2
- package/dist/index.js +4117 -4103
- package/dist/index.umd.cjs +19 -19
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -11,10 +11,4 @@ export type TTypographyProps<C extends React.ElementType = 'p'> = {
|
|
|
11
11
|
className?: string;
|
|
12
12
|
variant?: TTypographyVariants;
|
|
13
13
|
} & React.ComponentPropsWithoutRef<C>;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated This component is being retired in favor of strictly typed primitives.
|
|
16
|
-
*
|
|
17
|
-
* - For Headings (H1-H6), please use `<Heading />`.
|
|
18
|
-
* - For body text, labels, or spans, please use `<Text />`.
|
|
19
|
-
*/
|
|
20
14
|
export declare const Typography: <C extends React.ElementType = "p">({ as, children, className, variant, ...rest }: TTypographyProps<C>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,6 +6,7 @@ export type TFormFieldProps = {
|
|
|
6
6
|
helper?: ReactNode | string;
|
|
7
7
|
hideLabel?: boolean;
|
|
8
8
|
id: string;
|
|
9
|
-
label?: string;
|
|
9
|
+
label?: ReactNode | string;
|
|
10
|
+
noPadding?: boolean;
|
|
10
11
|
};
|
|
11
|
-
export declare const FormField: ({ children, error, helper, hideLabel, id, label }: TFormFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const FormField: ({ children, error, helper, hideLabel, id, label, noPadding }: TFormFieldProps) => import("react/jsx-runtime").JSX.Element;
|