@jobber/components 6.33.0 → 6.33.2

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.
@@ -4,23 +4,26 @@ import { BannerType } from "./Banner.types";
4
4
  import { ButtonProps } from "../Button";
5
5
  interface BannerProps {
6
6
  readonly children: ReactNode;
7
+ /**
8
+ * Sets the status-based theme of the Banner
9
+ */
7
10
  readonly type: BannerType;
8
11
  /**
9
- * The default cta variation should be a 'work' variation. If the banner
10
- * 'type' is set to 'notice' we change the cta variation to 'learning'
12
+ * Accepts props for Button. Default action uses a 'subtle' Button
11
13
  */
12
14
  readonly primaryAction?: ButtonProps;
13
15
  /**
16
+ * Set to false to hide the dismiss button
14
17
  * @default true
15
18
  */
16
19
  readonly dismissible?: boolean;
17
20
  /**
18
- * Adds an icon to the left of the banner content
21
+ * Use to override the default status Icon
19
22
  */
20
23
  readonly icon?: IconNames;
21
24
  onDismiss?(): void;
22
25
  /**
23
- * When provided, the banner's visibility is controlled by this value.
26
+ * When provided, Banner's visibility is controlled by this value
24
27
  * @default undefined
25
28
  */
26
29
  readonly controlledVisiblity?: boolean;
@@ -109,9 +109,6 @@ DataList.EmptyState = DataListEmptyState.DataListEmptyState;
109
109
  DataList.Filters = DataListFilters.DataListFilters;
110
110
  /**
111
111
  * Enables the search functionality of the DataList.
112
- *
113
- * Since the debounce is implemented within the component, it can only be an
114
- * uncontrolled component. Thus the lack of a `value` prop.
115
112
  */
116
113
  DataList.Search = DataListSearch.DataListSearch;
117
114
  /**
@@ -107,9 +107,6 @@ DataList.EmptyState = DataListEmptyState;
107
107
  DataList.Filters = DataListFilters;
108
108
  /**
109
109
  * Enables the search functionality of the DataList.
110
- *
111
- * Since the debounce is implemented within the component, it can only be an
112
- * uncontrolled component. Thus the lack of a `value` prop.
113
110
  */
114
111
  DataList.Search = DataListSearch;
115
112
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.33.0",
3
+ "version": "6.33.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -490,5 +490,5 @@
490
490
  "> 1%",
491
491
  "IE 10"
492
492
  ],
493
- "gitHead": "7bd069382ee7b6ad7b80e54457eab37016902192"
493
+ "gitHead": "a3c251ebc7f44b9352c96f24cce62ffe97bb5535"
494
494
  }