@abgov/react-components 4.17.0-alpha.37 → 4.17.0-alpha.38

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,8 +1,10 @@
1
1
  import { Margins } from "../../common/styling";
2
2
  export type GoAChipVariant = "filter";
3
+ export type GoAChipTheme = "outline" | "filled" | "sharp";
3
4
  interface WCProps extends Margins {
4
5
  ref: React.RefObject<HTMLElement>;
5
6
  leadingicon: string;
7
+ icontheme: GoAChipTheme;
6
8
  error: boolean;
7
9
  deletable: boolean;
8
10
  content: string;
@@ -19,10 +21,11 @@ export interface GoAChipProps extends Margins {
19
21
  onClick?: () => void;
20
22
  deletable?: boolean;
21
23
  leadingIcon?: string;
24
+ iconTheme?: GoAChipTheme;
22
25
  error?: boolean;
23
26
  content: string;
24
27
  variant?: GoAChipVariant;
25
28
  testId?: string;
26
29
  }
27
- export declare const GoAChip: ({ leadingIcon, deletable, error, variant, content, onClick, mt, mr, mb, ml, testId, }: GoAChipProps) => import("react/jsx-runtime").JSX.Element;
30
+ export declare const GoAChip: ({ leadingIcon, iconTheme, deletable, error, variant, content, onClick, mt, mr, mb, ml, testId, }: GoAChipProps) => import("react/jsx-runtime").JSX.Element;
28
31
  export default GoAChip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.17.0-alpha.37",
3
+ "version": "4.17.0-alpha.38",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"