@caseparts-org/caseblocks 0.0.140 → 0.0.141

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,11 +1,10 @@
1
1
  import { HideAtProps } from '../HideAt';
2
- type IconSet = "fa-kit" | "fa-solid" | "fa-regular" | "fa-light" | "fa-thin" | "fa-brands";
3
- type IconVariant = "fa-sharp" | "fa-duotone" | "fa-sharp-duotone";
4
- type IconColorToken = "inherit" | "default" | "default-inverted" | "secondary" | "warning" | "error-warning" | "success";
5
- interface IconProps extends React.HTMLAttributes<HTMLSpanElement>, HideAtProps {
2
+ export type IconSet = "fa-kit" | "fa-solid" | "fa-regular" | "fa-light" | "fa-thin" | "fa-brands";
3
+ export type IconVariant = "fa-sharp" | "fa-duotone" | "fa-sharp-duotone";
4
+ export type IconColorToken = "inherit" | "default" | "default-inverted" | "secondary" | "warning" | "error-warning" | "success";
5
+ export interface IconProps extends React.HTMLAttributes<HTMLSpanElement>, HideAtProps {
6
6
  iconKey: `${IconSet} ${string}` | `${IconVariant} ${IconSet} ${string}`;
7
7
  size?: "sm" | "md" | "lg";
8
8
  colorToken?: IconColorToken;
9
9
  }
10
10
  export declare function Icon({ iconKey, size, hideAt, className, colorToken, ...otherProps }: IconProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -6,6 +6,7 @@ export { Grid, Column } from './atoms/Grid/Grid';
6
6
  export type { GridProps, ColumnProps } from './atoms/Grid/Grid';
7
7
  export { Head } from './atoms/Root/Head';
8
8
  export { Icon } from './atoms/Icon/Icon';
9
+ export type { IconProps, IconColorToken, IconSet, IconVariant } from './atoms/Icon/Icon';
9
10
  export { Root } from './atoms/Root/Root';
10
11
  export { Separator } from './atoms/Separator/Separator';
11
12
  export type { SeparatorProps } from './atoms/Separator/Separator';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.140",
4
+ "version": "0.0.141",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",