@kroo-web/design-system 1.1.98 → 1.1.100
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/cjs/index.js +6 -6
- package/dist/cjs/src/components/Callout/index.d.ts +1 -1
- package/dist/cjs/src/components/DatePicker/index.d.ts +1 -0
- package/dist/esm/index.js +10 -10
- package/dist/esm/src/components/Callout/index.d.ts +1 -1
- package/dist/esm/src/components/DatePicker/index.d.ts +1 -0
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { TTypographyProps } from '../Typography';
|
|
3
3
|
export type TCalloutRootProps = {
|
|
4
|
-
type?: 'primary' | 'warning' | 'error' | 'positive';
|
|
4
|
+
type?: 'primary' | 'secondary' | 'warning' | 'error' | 'positive';
|
|
5
5
|
};
|
|
6
6
|
export type TCalloutTextProps = TTypographyProps<'p'>;
|
|
7
7
|
export declare const Callout: {
|
package/dist/types.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ type TTypographyProps<C extends React$1.ElementType = 'p'> = {
|
|
|
76
76
|
declare const Typography: <C extends React$1.ElementType = "p">({ as, variant, children, className, ...rest }: TTypographyProps<C>) => React$1.JSX.Element;
|
|
77
77
|
|
|
78
78
|
type TCalloutRootProps = {
|
|
79
|
-
type?: 'primary' | 'warning' | 'error' | 'positive';
|
|
79
|
+
type?: 'primary' | 'secondary' | 'warning' | 'error' | 'positive';
|
|
80
80
|
};
|
|
81
81
|
type TCalloutTextProps = TTypographyProps<'p'>;
|
|
82
82
|
declare const Callout: {
|
|
@@ -154,6 +154,7 @@ type TDatePicker<T extends FieldValues> = {
|
|
|
154
154
|
};
|
|
155
155
|
min?: string;
|
|
156
156
|
max?: string;
|
|
157
|
+
disabled?: boolean;
|
|
157
158
|
};
|
|
158
159
|
declare const DatePicker: <T extends FieldValues>(props: TDatePicker<T>) => React$1.JSX.Element;
|
|
159
160
|
|
package/package.json
CHANGED