@abgov/react-components 8.0.0-dev.3 → 8.0.0-dev.4

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.
@@ -3,6 +3,7 @@ import { DataAttributes, GoabFilterChipTheme, GoabIconType, Margins } from '@abg
3
3
  interface WCProps extends Margins {
4
4
  icontheme: GoabFilterChipTheme;
5
5
  error?: string;
6
+ removable?: string;
6
7
  content?: string;
7
8
  arialabel?: string;
8
9
  secondarytext?: string;
@@ -27,6 +28,8 @@ export interface GoabFilterChipProps extends Margins, DataAttributes {
27
28
  iconTheme?: GoabFilterChipTheme;
28
29
  /** Shows an error state. */
29
30
  error?: boolean;
31
+ /** Sets the chip's removability and visibility of the close button. @default true */
32
+ removable?: boolean;
30
33
  /** Secondary text displayed in a smaller size before the main content. */
31
34
  secondaryText?: string;
32
35
  /** Icon displayed at the start of the chip. */
@@ -37,5 +40,5 @@ export interface GoabFilterChipProps extends Margins, DataAttributes {
37
40
  onClick?: () => void;
38
41
  }
39
42
  /** Allow the user to enter information, filter content, and make selections. */
40
- export declare const GoabFilterChip: ({ content, iconTheme, error, onClick, ...rest }: GoabFilterChipProps) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const GoabFilterChip: ({ content, iconTheme, error, removable, onClick, ...rest }: GoabFilterChipProps) => import("react/jsx-runtime").JSX.Element;
41
44
  export default GoabFilterChip;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "8.0.0-dev.3",
3
+ "version": "8.0.0-dev.4",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"