@jobber/components 6.33.0 → 6.33.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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components",
3
- "version": "6.33.0",
3
+ "version": "6.33.1",
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": "5b2c31720c4de0974f637d8ab9df1705e3a3204b"
494
494
  }