@box/blueprint-web 6.32.6 → 6.32.8

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.
@@ -25,7 +25,7 @@ const ActionableInlineNotice = /*#__PURE__*/forwardRef(function ActionableInline
25
25
  children: text
26
26
  })]
27
27
  })]
28
- }), jsx(BaseInlineNotice.Actions, {
28
+ }), !!children && jsx(BaseInlineNotice.Actions, {
29
29
  children: children
30
30
  })]
31
31
  });
@@ -8,8 +8,8 @@ export type ActionableInlineNoticeProps = {
8
8
  backgroundColor?: Extract<BaseInlineNoticeProps['backgroundColor'], 'backgroundBlue' | 'backgroundPurple'>;
9
9
  /** Text for the body of the inline notice */
10
10
  text: string;
11
- /** Children buttons for the inline notice CTA. Specify either PrimaryAction OR both TertiaryAction and PrimaryAction. */
12
- children: ReactElement<ButtonProps>;
11
+ /** Optional children buttons for the inline notice CTA. Specify either PrimaryAction OR both TertiaryAction and PrimaryAction. */
12
+ children?: ReactElement<ButtonProps>;
13
13
  /** Optional title for the inner text of the notice */
14
14
  title?: string;
15
15
  } & RequireAllOrNone<Icon, keyof Icon>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "6.32.6",
3
+ "version": "6.32.8",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@ariakit/react": "0.4.1",
25
25
  "@ariakit/react-core": "0.4.1",
26
- "@box/blueprint-web-assets": "^4.9.0",
26
+ "@box/blueprint-web-assets": "^4.9.1",
27
27
  "@internationalized/date": "^3.5.1",
28
28
  "@radix-ui/react-accordion": "^1.1.2",
29
29
  "@radix-ui/react-checkbox": "^1.0.4",
@@ -55,9 +55,9 @@
55
55
  "type-fest": "^3.2.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@box/storybook-utils": "^0.0.6"
58
+ "@box/storybook-utils": "^0.0.7"
59
59
  },
60
- "gitHead": "bc9d3343de0c33cef0ec7e0500d7085c0716baf0",
60
+ "gitHead": "f917b205298d014e867e93d5d0f28781d0af11af",
61
61
  "module": "lib-esm/index.js",
62
62
  "main": "lib-esm/index.js",
63
63
  "exports": {