@box/blueprint-web 6.27.0 → 6.27.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.
@@ -1,5 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import * as RadixDialog from '@radix-ui/react-dialog';
3
+ import clsx from 'clsx';
3
4
  import { forwardRef } from 'react';
4
5
  import styles from './modal.module.js';
5
6
 
@@ -10,6 +11,7 @@ const ModalContent = /*#__PURE__*/forwardRef(({
10
11
  asChild = false,
11
12
  children,
12
13
  container,
14
+ className,
13
15
  ...props
14
16
  }, forwardedRef) => jsx(RadixDialog.Portal, {
15
17
  container: container,
@@ -19,7 +21,7 @@ const ModalContent = /*#__PURE__*/forwardRef(({
19
21
  ...props,
20
22
  ref: forwardedRef,
21
23
  asChild: asChild,
22
- className: styles.content,
24
+ className: clsx(styles.content, className),
23
25
  children: children
24
26
  })
25
27
  })
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { type FocusTrapProps } from './types';
2
3
  export declare const FocusTrap: ({ containerRef, children, customInitialFocus }: FocusTrapProps) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/blueprint-web",
3
- "version": "6.27.0",
3
+ "version": "6.27.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -57,7 +57,7 @@
57
57
  "devDependencies": {
58
58
  "@box/storybook-utils": "^0.0.6"
59
59
  },
60
- "gitHead": "365af60fdb1d77011f2266c6dbdcc1a3142fa22d",
60
+ "gitHead": "5de470d874d7906f2b3d9b72077fb92d479f199c",
61
61
  "module": "lib-esm/index.js",
62
62
  "main": "lib-esm/index.js",
63
63
  "exports": {