@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.
@@ -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: {
@@ -9,5 +9,6 @@ export type TDatePicker<T extends FieldValues> = {
9
9
  };
10
10
  min?: string;
11
11
  max?: string;
12
+ disabled?: boolean;
12
13
  };
13
14
  export declare const DatePicker: <T extends FieldValues>(props: TDatePicker<T>) => React.JSX.Element;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kroo-web/design-system",
3
- "version": "1.1.98",
3
+ "version": "1.1.100",
4
4
  "description": "Web design system for Kroo including the components for the marketing site and the product side.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",