@box/blueprint-web 17.6.0 → 17.7.0
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.
- package/dist/lib-esm/card-tooltip/card-tooltip.js +0 -1
- package/dist/lib-esm/card-tooltip/card-tooltip.module.js +1 -1
- package/dist/lib-esm/components.css +195 -286
- package/dist/lib-esm/index.css +195 -286
- package/dist/lib-esm/modal/modal-close.js +1 -3
- package/dist/lib-esm/modal/modal-content.js +0 -1
- package/dist/lib-esm/modal/modal.module.js +1 -1
- package/dist/lib-esm/primitives/popover/popover-content-container.js +0 -1
- package/dist/lib-esm/primitives/popover/popover.module.js +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import '@box/blueprint-web-assets/icons/Fill';
|
|
3
2
|
import { XMark } from '@box/blueprint-web-assets/icons/Medium';
|
|
4
3
|
import * as RadixDialog from '@radix-ui/react-dialog';
|
|
5
4
|
import clsx from 'clsx';
|
|
@@ -22,7 +21,6 @@ const ModalClose = /*#__PURE__*/forwardRef(({
|
|
|
22
21
|
variant = 'default',
|
|
23
22
|
...rest
|
|
24
23
|
}, forwardedRef) => {
|
|
25
|
-
const defaultIcon = XMark ;
|
|
26
24
|
// Change IconButton size for Mobile (only when IconButton size is large)
|
|
27
25
|
// TODO: change to media query tokens
|
|
28
26
|
const breakpoint = 459;
|
|
@@ -38,7 +36,7 @@ const ModalClose = /*#__PURE__*/forwardRef(({
|
|
|
38
36
|
className: clsx(styles.close, {
|
|
39
37
|
[styles.onColor]: variant === 'onColor' && !isMobile
|
|
40
38
|
}, className),
|
|
41
|
-
icon: icon ||
|
|
39
|
+
icon: icon || XMark,
|
|
42
40
|
size: size,
|
|
43
41
|
...finalProps
|
|
44
42
|
})
|
|
@@ -28,7 +28,6 @@ const ModalContent = /*#__PURE__*/forwardRef(({
|
|
|
28
28
|
children: jsx(RadixDialog.Overlay, {
|
|
29
29
|
className: styles.overlay,
|
|
30
30
|
"data-bp-animated": isAnimationEnabled ? 'true' : 'false',
|
|
31
|
-
"data-modern": 'true' ,
|
|
32
31
|
children: jsx(RadixDialog.Content, {
|
|
33
32
|
...props,
|
|
34
33
|
ref: forwardedRef,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"overlay":"bp_modal_module_overlay--
|
|
2
|
+
var styles = {"overlay":"bp_modal_module_overlay--97741","headerDividerLine":"bp_modal_module_headerDividerLine--97741","footerDividerLine":"bp_modal_module_footerDividerLine--97741","content":"bp_modal_module_content--97741","smallSizeModal":"bp_modal_module_smallSizeModal--97741","mediumSizeModal":"bp_modal_module_mediumSizeModal--97741","largeSizeModal":"bp_modal_module_largeSizeModal--97741","xlargeSizeModal":"bp_modal_module_xlargeSizeModal--97741","loadingContainerActive":"bp_modal_module_loadingContainerActive--97741","popup_bounce_in":"bp_modal_module_popup_bounce_in--97741","bpModalEnter":"bp_modal_module_bpModalEnter--97741","bpModalExit":"bp_modal_module_bpModalExit--97741","scrollableContainer":"bp_modal_module_scrollableContainer--97741","close":"bp_modal_module_close--97741","onColor":"bp_modal_module_onColor--97741","backButton":"bp_modal_module_backButton--97741","modalHeader":"bp_modal_module_modalHeader--97741","modalTitle":"bp_modal_module_modalTitle--97741","body":"bp_modal_module_body--97741","footer":"bp_modal_module_footer--97741","footerButton":"bp_modal_module_footerButton--97741","loadingContainer":"bp_modal_module_loadingContainer--97741","loading":"bp_modal_module_loading--97741","loadingOverlay":"bp_modal_module_loadingOverlay--97741","loadingContent":"bp_modal_module_loadingContent--97741","loadingContentVisible":"bp_modal_module_loadingContentVisible--97741"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -64,7 +64,6 @@ const PopoverContentContainer = /*#__PURE__*/forwardRef((props, forwardedRef) =>
|
|
|
64
64
|
[styles.accessibilitySmallBreakpoint]: accessibilitySmallBreakpoint
|
|
65
65
|
}, className),
|
|
66
66
|
collisionPadding: collisionPadding,
|
|
67
|
-
"data-modern": 'true' ,
|
|
68
67
|
"data-bp-animated": isAnimationEnabled ? 'true' : 'false',
|
|
69
68
|
onOpenAutoFocus: handleOpenAutoFocus,
|
|
70
69
|
children: jsx(PopoverOverflowContext.Provider, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"popoverContentContainer":"bp_popover_module_popoverContentContainer--
|
|
2
|
+
var styles = {"popoverContentContainer":"bp_popover_module_popoverContentContainer--6fc5b","accessibilitySmallBreakpoint":"bp_popover_module_accessibilitySmallBreakpoint--6fc5b","popoverCard":"bp_popover_module_popoverCard--6fc5b","popoverScrollContainer":"bp_popover_module_popoverScrollContainer--6fc5b","popoverMainContent":"bp_popover_module_popoverMainContent--6fc5b","popoverMainContentOuterContainer":"bp_popover_module_popoverMainContentOuterContainer--6fc5b","popoverMainContentInnerContainerPadding":"bp_popover_module_popoverMainContentInnerContainerPadding--6fc5b","popoverFooter":"bp_popover_module_popoverFooter--6fc5b","popoverFooterTopBorder":"bp_popover_module_popoverFooterTopBorder--6fc5b"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@box/blueprint-web",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"publishConfig": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@ariakit/react": "0.4.21",
|
|
57
57
|
"@ariakit/react-core": "0.4.21",
|
|
58
|
-
"@box/blueprint-web-assets": "^5.9.
|
|
58
|
+
"@box/blueprint-web-assets": "^5.9.11",
|
|
59
59
|
"@internationalized/date": "^3.12.0",
|
|
60
60
|
"@radix-ui/react-accordion": "1.1.2",
|
|
61
61
|
"@radix-ui/react-checkbox": "1.0.4",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@box/box-test-client": "^3.2.7",
|
|
88
88
|
"@box/playwright-utils": "^2.8.5",
|
|
89
|
-
"@box/storybook-utils": "^1.2.
|
|
89
|
+
"@box/storybook-utils": "^1.2.42",
|
|
90
90
|
"@figma/code-connect": "1.4.4",
|
|
91
91
|
"@playwright/test": "1.46.1",
|
|
92
92
|
"@types/js-yaml": "^4.0.9",
|