@pk-design/react-tailwind 1.4.0 → 1.4.1

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,5 +1,5 @@
1
1
  export type BannerType = 'info' | 'error' | 'success' | 'warning';
2
- export type IconSize = 5 | 6 | 7 | 8 | 9 | 10;
2
+ export type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
3
3
  export interface BannerProps {
4
4
  /**
5
5
  * Defines banner type
@@ -9,6 +9,7 @@ export interface BannerProps {
9
9
  children: any;
10
10
  /**
11
11
  * Controls the icon size
12
+ * @default "sm"
12
13
  */
13
14
  iconSize?: IconSize;
14
15
  }
@@ -36,7 +36,7 @@ export interface TableBodyProps {
36
36
  /** Number of shimmer rows to show when loading */
37
37
  rowSize?: number;
38
38
  /** Actual table rows */
39
- children: ReactNode;
39
+ children?: ReactNode;
40
40
  }
41
41
  /**
42
42
  * <TableFoot /> — table footer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pk-design/react-tailwind",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "main": "dist/react-tailwind.cjs.js",
5
5
  "module": "dist/react-tailwind.es.js",
6
6
  "types": "dist/types/index.d.ts",