@box/blueprint-web 12.88.1 → 12.89.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/accordion/accordion.js +3 -3
- package/dist/lib-esm/accordion/accordion.module.js +1 -1
- package/dist/lib-esm/avatar/avatar.js +5 -0
- package/dist/lib-esm/avatar/avatar.module.js +1 -1
- package/dist/lib-esm/card/card.js +1 -1
- package/dist/lib-esm/card-tooltip-v2/card-tooltip-v2.js +1 -1
- package/dist/lib-esm/card-tooltip-v2/card-tooltip-v2.module.js +1 -1
- package/dist/lib-esm/checkbox/checkbox-item.js +1 -1
- package/dist/lib-esm/checkbox/checkbox.module.js +1 -1
- package/dist/lib-esm/collapsible/collapsible-section.js +1 -1
- package/dist/lib-esm/combobox/combobox.js +2 -2
- package/dist/lib-esm/combobox/combobox.module.js +1 -1
- package/dist/lib-esm/combobox-group/combobox-group.js +1 -1
- package/dist/lib-esm/combobox-group/combobox-group.module.js +1 -1
- package/dist/lib-esm/content-card/content-card.js +2 -2
- package/dist/lib-esm/date-picker/date-picker.js +1 -1
- package/dist/lib-esm/date-picker/date-picker.module.js +1 -1
- package/dist/lib-esm/icon-dual-state-button/icon-dual-state-button.js +1 -1
- package/dist/lib-esm/icon-dual-state-button/icon-dual-state-button.module.js +1 -1
- package/dist/lib-esm/icon-toggle-button/icon-toggle-button.js +1 -1
- package/dist/lib-esm/icon-toggle-button/icon-toggle-button.module.js +1 -1
- package/dist/lib-esm/index.css +2309 -1552
- package/dist/lib-esm/inline-table/inline-table.js +1 -1
- package/dist/lib-esm/inline-table/inline-table.module.js +1 -1
- package/dist/lib-esm/input-chip/input-chip.js +1 -1
- package/dist/lib-esm/input-chip/input-chip.module.js +1 -1
- package/dist/lib-esm/list-item/main.module.js +1 -1
- package/dist/lib-esm/list-item/table-header-default.js +5 -0
- package/dist/lib-esm/loading-indicator/loading-indicator.js +1 -1
- package/dist/lib-esm/modal/modal-content.js +1 -1
- package/dist/lib-esm/navigation-menu/navigation-menu-content.js +1 -1
- package/dist/lib-esm/navigation-menu/navigation-menu-link.js +3 -1
- package/dist/lib-esm/navigation-menu/navigation-menu.module.js +1 -1
- package/dist/lib-esm/page/page-root.js +1 -1
- package/dist/lib-esm/primitives/base-button/base-button.js +1 -1
- package/dist/lib-esm/primitives/base-button/base-button.module.js +1 -1
- package/dist/lib-esm/primitives/base-inline-notice/base-inline-notice.js +1 -1
- package/dist/lib-esm/primitives/base-inline-notice/base-inline-notice.module.js +1 -1
- package/dist/lib-esm/primitives/base-text-input/base-text-input.js +1 -1
- package/dist/lib-esm/primitives/base-text-input/base-text-input.module.js +1 -1
- package/dist/lib-esm/primitives/calendar/calendar.js +1 -1
- package/dist/lib-esm/primitives/calendar/calendar.module.js +1 -1
- package/dist/lib-esm/primitives/chips/chip.js +1 -1
- package/dist/lib-esm/primitives/chips/chip.module.js +1 -1
- package/dist/lib-esm/primitives/chips/chips-group.js +1 -1
- package/dist/lib-esm/primitives/context-menu/context-menu-menu-content.js +2 -2
- package/dist/lib-esm/primitives/context-menu/context-menu-menu-header.js +1 -1
- package/dist/lib-esm/primitives/context-menu/context-menu-sub-menu-content.js +2 -2
- package/dist/lib-esm/primitives/dropdown-menu/dropdown-menu-content.js +2 -2
- package/dist/lib-esm/primitives/dropdown-menu/dropdown-menu-sub-menu-content.js +2 -2
- package/dist/lib-esm/primitives/dropdown-menu/dropdown-menu.module.js +1 -1
- package/dist/lib-esm/primitives/icon-button/icon-button.js +1 -1
- package/dist/lib-esm/primitives/inline-error/inline-error.js +1 -1
- package/dist/lib-esm/primitives/inline-error/inline-error.module.js +1 -1
- package/dist/lib-esm/primitives/link/link.js +5 -0
- package/dist/lib-esm/primitives/link/link.module.js +1 -1
- package/dist/lib-esm/primitives/notification/notification.module.js +1 -1
- package/dist/lib-esm/primitives/notification/private-notification-element.js +1 -1
- package/dist/lib-esm/primitives/popover/popover-content-container.js +1 -1
- package/dist/lib-esm/primitives/select-menu-grid/select-menu-grid-option.js +2 -2
- package/dist/lib-esm/primitives/tabs/tab-list.js +2 -2
- package/dist/lib-esm/primitives/tabs/tabs.module.js +1 -1
- package/dist/lib-esm/radio-group/radio-group.js +5 -0
- package/dist/lib-esm/radio-group/radio-group.module.js +1 -1
- package/dist/lib-esm/radio-tiles/radio-tiles-option.js +1 -1
- package/dist/lib-esm/radio-tiles/radio-tiles.js +1 -1
- package/dist/lib-esm/search-input/search-input-controlled/search-input-controlled.js +1 -1
- package/dist/lib-esm/search-input/search-input.js +1 -1
- package/dist/lib-esm/search-input/search.module.js +1 -1
- package/dist/lib-esm/select/select.js +2 -2
- package/dist/lib-esm/select/select.module.js +1 -1
- package/dist/lib-esm/side-panel/side-panel-content.js +2 -2
- package/dist/lib-esm/side-panel/side-panel-overlay.js +1 -1
- package/dist/lib-esm/small-list-item/small-list.js +1 -1
- package/dist/lib-esm/split-button/split-button.js +2 -2
- package/dist/lib-esm/status/status.js +1 -1
- package/dist/lib-esm/status/status.module.js +1 -1
- package/dist/lib-esm/switch/switch-item.js +1 -1
- package/dist/lib-esm/switch/switch.module.js +1 -1
- package/dist/lib-esm/text/text.js +6 -1
- package/dist/lib-esm/text/text.module.js +1 -1
- package/dist/lib-esm/text-area/text-area-autosize/text-area-autosize.js +4 -3
- package/dist/lib-esm/text-area/text-area-autosize/text-area-autosize.module.js +1 -1
- package/dist/lib-esm/text-area/text-area.js +1 -1
- package/dist/lib-esm/text-area/text-area.module.js +1 -1
- package/dist/lib-esm/text-button/text-button.js +1 -1
- package/dist/lib-esm/text-button/text-button.module.js +1 -1
- package/dist/lib-esm/text-toggle-button/text-toggle-button.js +1 -1
- package/dist/lib-esm/text-toggle-button/text-toggle-button.module.js +1 -1
- package/dist/lib-esm/time-picker/time-picker.js +1 -1
- package/dist/lib-esm/time-picker/time-picker.module.js +1 -1
- package/dist/lib-esm/toolbar/toolbar-button.js +2 -2
- package/dist/lib-esm/toolbar/toolbar-root.js +2 -2
- package/dist/lib-esm/toolbar/toolbar-text-toggle-item.js +1 -1
- package/dist/lib-esm/toolbar/toolbar-toggle-group.js +1 -1
- package/dist/lib-esm/toolbar/toolbar-toggle-item.js +1 -1
- package/dist/lib-esm/toolbar/toolbar.module.js +1 -1
- package/dist/lib-esm/tooltip/tooltip.js +1 -1
- package/dist/lib-esm/tooltip/tooltip.module.js +1 -1
- package/dist/lib-esm/trigger-button/trigger-button.js +1 -1
- package/dist/lib-esm/util-components/base-grid-list-item/base-grid-list-item.module.js +1 -1
- package/dist/lib-esm/util-components/base-grid-list-item/base-grid-list.js +1 -1
- package/dist/lib-esm/util-components/base-grid-list-item/utils/rac-tooltip.js +1 -1
- package/dist/lib-esm/util-components/legend/legend.js +8 -2
- package/dist/lib-esm/util-components/legend/legend.module.js +1 -1
- package/dist/lib-esm/util-components/list-checkbox/list-checkbox.js +1 -1
- package/dist/lib-esm/util-components/menu-item-sections/menu-item-sections.js +2 -2
- package/dist/lib-esm/util-components/menu-item-sections/menu-item-sections.module.js +1 -1
- package/dist/lib-esm/util-components/text-with-info-badge/text-with-info-badge.js +1 -1
- package/dist/lib-esm/util-components/text-with-info-badge/text-with-info-badge.module.js +1 -1
- package/package.json +3 -3
|
@@ -16,7 +16,7 @@ const Table = /*#__PURE__*/React__default.forwardRef((props, ref) => {
|
|
|
16
16
|
} = useBlueprintModernization();
|
|
17
17
|
return jsx("table", {
|
|
18
18
|
className: clsx(hideBorder && styles.borderHidden, fullSpan && styles.fullSpan, styles.inlineTable, className),
|
|
19
|
-
"data-modern": enableModernizedComponents,
|
|
19
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
20
20
|
...rest,
|
|
21
21
|
ref: ref
|
|
22
22
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"inlineTable":"bp_inline_table_module_inlineTable--
|
|
2
|
+
var styles = {"inlineTable":"bp_inline_table_module_inlineTable--b87c9","borderHidden":"bp_inline_table_module_borderHidden--b87c9","fullSpan":"bp_inline_table_module_fullSpan--b87c9","actionCell":"bp_inline_table_module_actionCell--b87c9"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -66,7 +66,7 @@ const InputChip = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
66
66
|
ref: ref,
|
|
67
67
|
"aria-invalid": hasError,
|
|
68
68
|
className: containerClassName,
|
|
69
|
-
"data-modern": enableModernizedComponents,
|
|
69
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
70
70
|
onKeyDown: handleKeyDown,
|
|
71
71
|
type: "button",
|
|
72
72
|
children: [avatar, jsx(Text, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"container":"bp_input_chip_module_container--
|
|
2
|
+
var styles = {"container":"bp_input_chip_module_container--d4532","avatarContainer":"bp_input_chip_module_avatarContainer--d4532","deleteButton":"bp_input_chip_module_deleteButton--d4532","noDeleteButton":"bp_input_chip_module_noDeleteButton--d4532","error":"bp_input_chip_module_error--d4532","deleteIcon":"bp_input_chip_module_deleteIcon--d4532","label":"bp_input_chip_module_label--d4532","variable":"bp_input_chip_module_variable--d4532","avatar":"bp_input_chip_module_avatar--d4532","modern":"bp_input_chip_module_modern--d4532"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"tableSortingContainer":"bp_main_module_tableSortingContainer--
|
|
2
|
+
var styles = {"tableSortingContainer":"bp_main_module_tableSortingContainer--1dedf","resizableTableContainer":"bp_main_module_resizableTableContainer--1dedf","resizableTable":"bp_main_module_resizableTable--1dedf","tableHeader":"bp_main_module_tableHeader--1dedf","column":"bp_main_module_column--1dedf","columnNameWrapper":"bp_main_module_columnNameWrapper--1dedf","columnName":"bp_main_module_columnName--1dedf","focusVisible":"bp_main_module_focusVisible--1dedf","rotateArrow":"bp_main_module_rotateArrow--1dedf","sorted":"bp_main_module_sorted--1dedf","sortingFlexWrapper":"bp_main_module_sortingFlexWrapper--1dedf","columnResizer":"bp_main_module_columnResizer--1dedf","dropdownHeaderContainer":"bp_main_module_dropdownHeaderContainer--1dedf","droppableColumn":"bp_main_module_droppableColumn--1dedf","actionColumn":"bp_main_module_actionColumn--1dedf","hiddenColumn":"bp_main_module_hiddenColumn--1dedf","tableBody":"bp_main_module_tableBody--1dedf","row":"bp_main_module_row--1dedf","cell":"bp_main_module_cell--1dedf","actionsWrapper":"bp_main_module_actionsWrapper--1dedf","actionChildren":"bp_main_module_actionChildren--1dedf","actions":"bp_main_module_actions--1dedf","isCellHidden":"bp_main_module_isCellHidden--1dedf","dropIndicator":"bp_main_module_dropIndicator--1dedf"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { forwardRef } from 'react';
|
|
4
4
|
import { TableHeader } from 'react-aria-components';
|
|
5
|
+
import { useBlueprintModernization } from '../blueprint-modernization-context/useBlueprintModernization.js';
|
|
5
6
|
import styles from './main.module.js';
|
|
6
7
|
|
|
7
8
|
const TableHeaderInner = (props, ref) => {
|
|
@@ -11,10 +12,14 @@ const TableHeaderInner = (props, ref) => {
|
|
|
11
12
|
className,
|
|
12
13
|
...rest
|
|
13
14
|
} = props;
|
|
15
|
+
const {
|
|
16
|
+
enableModernizedComponents
|
|
17
|
+
} = useBlueprintModernization();
|
|
14
18
|
return jsx(TableHeader, {
|
|
15
19
|
...rest,
|
|
16
20
|
ref: ref,
|
|
17
21
|
className: clsx(styles.tableHeader, className),
|
|
22
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
18
23
|
children: children
|
|
19
24
|
});
|
|
20
25
|
};
|
|
@@ -21,7 +21,7 @@ function LoadingIndicator(props) {
|
|
|
21
21
|
"aria-label": ariaLabel,
|
|
22
22
|
"aria-live": ariaLive,
|
|
23
23
|
className: clsx(styles.crawler, styles[variant], styles[size], className),
|
|
24
|
-
"data-modern": enableModernizedComponents,
|
|
24
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
25
25
|
role: "status",
|
|
26
26
|
children: [jsx("div", {
|
|
27
27
|
className: styles.segment
|
|
@@ -24,7 +24,7 @@ const ModalContent = /*#__PURE__*/forwardRef(({
|
|
|
24
24
|
container: container,
|
|
25
25
|
children: jsx(RadixDialog.Overlay, {
|
|
26
26
|
className: styles.overlay,
|
|
27
|
-
"data-modern": enableModernizedComponents,
|
|
27
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
28
28
|
children: jsx(RadixDialog.Content, {
|
|
29
29
|
...props,
|
|
30
30
|
ref: forwardedRef,
|
|
@@ -17,7 +17,7 @@ const NavigationMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
17
17
|
return jsx(DropdownMenu.Content, {
|
|
18
18
|
...rest,
|
|
19
19
|
ref: forwardedRef,
|
|
20
|
-
"data-modern": enableModernizedComponents,
|
|
20
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
21
21
|
children: children
|
|
22
22
|
});
|
|
23
23
|
});
|
|
@@ -20,7 +20,9 @@ const NavigationMenuLink = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
20
20
|
...rest,
|
|
21
21
|
ref: forwardedRef,
|
|
22
22
|
className: clsx([styles.link, styles.ellipsis]),
|
|
23
|
-
"data-modern": enableModernizedComponents,
|
|
23
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
24
|
+
inheritFont: true,
|
|
25
|
+
variant: "standalone",
|
|
24
26
|
children: children
|
|
25
27
|
});
|
|
26
28
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"link":"bp_navigation_menu_module_link--
|
|
2
|
+
var styles = {"link":"bp_navigation_menu_module_link--2d929","ellipsis":"bp_navigation_menu_module_ellipsis--2d929","navigationMenuSeparator":"bp_navigation_menu_module_navigationMenuSeparator--2d929"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -62,7 +62,7 @@ const PageLayout = /*#__PURE__*/forwardRef(({
|
|
|
62
62
|
[styles.pageNavigationXXLargeCollapsed]: xxLargeBreakpointActive && !navigationExpanded,
|
|
63
63
|
[styles.pageMediumOrLessViewport]: breakpoint <= Breakpoint.Medium
|
|
64
64
|
}, className),
|
|
65
|
-
"data-modern": enableModernizedComponents,
|
|
65
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
66
66
|
children: [Slots.Navigation, Slots.GlobalHeader, jsxs("div", {
|
|
67
67
|
// hide fixed focus trap region problem and overlaying content on the navigation
|
|
68
68
|
className: clsx(styles.pageMain, {
|
|
@@ -55,7 +55,7 @@ const BaseButton = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
55
55
|
[styles.isTextWithIconButton]: buttonType === 'text-with-icon',
|
|
56
56
|
[styles.hide]: loading
|
|
57
57
|
}, className),
|
|
58
|
-
"data-modern": enableModernizedComponents,
|
|
58
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
59
59
|
children: jsxs(BaseButtonContext.Provider, {
|
|
60
60
|
value: context,
|
|
61
61
|
children: [children, loading && loadingAriaLabel ? jsx(LoadingIndicator, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"button":"bp_base_button_module_button--
|
|
2
|
+
var styles = {"button":"bp_base_button_module_button--77636","primary":"bp_base_button_module_primary--77636","secondary":"bp_base_button_module_secondary--77636","tertiary":"bp_base_button_module_tertiary--77636","outline":"bp_base_button_module_outline--77636","small":"bp_base_button_module_small--77636","isIconButton":"bp_base_button_module_isIconButton--77636","isTextWithIconButton":"bp_base_button_module_isTextWithIconButton--77636","large":"bp_base_button_module_large--77636","icon":"bp_base_button_module_icon--77636","hide":"bp_base_button_module_hide--77636"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -18,7 +18,7 @@ const BaseInlineNotice = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
18
18
|
...rest,
|
|
19
19
|
ref: forwardedRef,
|
|
20
20
|
className: clsx(styles.noticeWrapper, styles[backgroundColor], className),
|
|
21
|
-
"data-modern": enableModernizedComponents,
|
|
21
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
22
22
|
children: children
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"noticeWrapper":"bp_base_inline_notice_module_noticeWrapper--
|
|
2
|
+
var styles = {"noticeWrapper":"bp_base_inline_notice_module_noticeWrapper--1c117","content":"bp_base_inline_notice_module_content--1c117","title":"bp_base_inline_notice_module_title--1c117","actions":"bp_base_inline_notice_module_actions--1c117","backgroundYellow":"bp_base_inline_notice_module_backgroundYellow--1c117","backgroundBlue":"bp_base_inline_notice_module_backgroundBlue--1c117","backgroundRed":"bp_base_inline_notice_module_backgroundRed--1c117","backgroundGreen":"bp_base_inline_notice_module_backgroundGreen--1c117","backgroundPurple":"bp_base_inline_notice_module_backgroundPurple--1c117","actionButtonTertiary":"bp_base_inline_notice_module_actionButtonTertiary--1c117","actionButtonPrimary":"bp_base_inline_notice_module_actionButtonPrimary--1c117","contentContainer":"bp_base_inline_notice_module_contentContainer--1c117","icon":"bp_base_inline_notice_module_icon--1c117"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -72,7 +72,7 @@ const BaseTextInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
72
72
|
[styles.disabled]: disabled,
|
|
73
73
|
[styles.error]: shouldMarkError
|
|
74
74
|
}, className),
|
|
75
|
-
"data-modern": enableModernizedComponents,
|
|
75
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
76
76
|
children: [jsx(Label, {
|
|
77
77
|
className: clsx([styles.label], {
|
|
78
78
|
[styles.hidden]: hideLabel
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"textInputContainerOuter":"bp_base_text_input_module_textInputContainerOuter--
|
|
2
|
+
var styles = {"textInputContainerOuter":"bp_base_text_input_module_textInputContainerOuter--074f0","label":"bp_base_text_input_module_label--074f0","textInputContainer":"bp_base_text_input_module_textInputContainer--074f0","textInput":"bp_base_text_input_module_textInput--074f0","hidden":"bp_base_text_input_module_hidden--074f0","error":"bp_base_text_input_module_error--074f0","readOnly":"bp_base_text_input_module_readOnly--074f0","endIcon":"bp_base_text_input_module_endIcon--074f0","startIcon":"bp_base_text_input_module_startIcon--074f0","disabled":"bp_base_text_input_module_disabled--074f0","inlineError":"bp_base_text_input_module_inlineError--074f0","subtext":"bp_base_text_input_module_subtext--074f0"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -73,7 +73,7 @@ const Calendar = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
73
73
|
ref: forwardedRef,
|
|
74
74
|
"aria-label": calendarAriaLabel,
|
|
75
75
|
className: clsx(styles.calendar, className),
|
|
76
|
-
"data-modern": enableModernizedComponents,
|
|
76
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
77
77
|
children: [jsxs("header", {
|
|
78
78
|
className: styles.calendarHeader,
|
|
79
79
|
children: [jsx(Button, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"calendar":"bp_calendar_module_calendar--
|
|
2
|
+
var styles = {"calendar":"bp_calendar_module_calendar--85b9e","calendarHeaderCell":"bp_calendar_module_calendarHeaderCell--85b9e","calendarHeaderHeading":"bp_calendar_module_calendarHeaderHeading--85b9e","calendarCell":"bp_calendar_module_calendarCell--85b9e","today":"bp_calendar_module_today--85b9e","calendarHeader":"bp_calendar_module_calendarHeader--85b9e","calendarHeaderButton":"bp_calendar_module_calendarHeaderButton--85b9e","calendarGrid":"bp_calendar_module_calendarGrid--85b9e"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -18,7 +18,7 @@ const Chip = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
18
18
|
...rest,
|
|
19
19
|
ref: forwardedRef,
|
|
20
20
|
className: clsx(styles.chip, className),
|
|
21
|
-
"data-modern": enableModernizedComponents,
|
|
21
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
22
22
|
children: children
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"chip":"bp_chip_module_chip--
|
|
2
|
+
var styles = {"chip":"bp_chip_module_chip--26e20","chipButton":"bp_chip_module_chipButton--26e20","multiSelectChip":"bp_chip_module_multiSelectChip--26e20","chipStatus":"bp_chip_module_chipStatus--26e20","labelText":"bp_chip_module_labelText--26e20","singleSelectChip":"bp_chip_module_singleSelectChip--26e20","chipsGroup":"bp_chip_module_chipsGroup--26e20"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -19,7 +19,7 @@ const ChipsGroup = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
19
19
|
...rest,
|
|
20
20
|
ref: forwardedRef,
|
|
21
21
|
className: clsx([styles.chipsGroup, className]),
|
|
22
|
-
"data-modern": enableModernizedComponents,
|
|
22
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
23
23
|
children: children
|
|
24
24
|
});
|
|
25
25
|
});
|
|
@@ -51,7 +51,7 @@ const ContextMenuMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef) =>
|
|
|
51
51
|
ref: forwardedRef,
|
|
52
52
|
className: clsx(styles.menuBlock, className),
|
|
53
53
|
"data-menu-fullscreen": true,
|
|
54
|
-
"data-modern": enableModernizedComponents,
|
|
54
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
55
55
|
children: [Header, jsx("div", {
|
|
56
56
|
className: styles.fullScreenContent,
|
|
57
57
|
children: OtherChildren
|
|
@@ -65,7 +65,7 @@ const ContextMenuMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef) =>
|
|
|
65
65
|
...rest,
|
|
66
66
|
ref: forwardedRef,
|
|
67
67
|
className: clsx(styles.menuBlock, className),
|
|
68
|
-
"data-modern": enableModernizedComponents,
|
|
68
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
69
69
|
children: children
|
|
70
70
|
})
|
|
71
71
|
});
|
|
@@ -62,7 +62,7 @@ const MenuHeaderPrimitive = ({
|
|
|
62
62
|
return jsx("div", {
|
|
63
63
|
...rest,
|
|
64
64
|
className: clsx(styles.menuHeader, className),
|
|
65
|
-
"data-modern": enableModernizedComponents,
|
|
65
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
66
66
|
role: "presentation",
|
|
67
67
|
children: children
|
|
68
68
|
});
|
|
@@ -40,7 +40,7 @@ const ContextMenuSubMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef)
|
|
|
40
40
|
alignOffset: alignOffsetPx,
|
|
41
41
|
className: clsx(styles.menuBlock, className),
|
|
42
42
|
"data-menu-fullscreen": true,
|
|
43
|
-
"data-modern": enableModernizedComponents,
|
|
43
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
44
44
|
// Prevents submenu from closing, when detects focus outside submenu in fullscreen mode,
|
|
45
45
|
// while mouse is moving over submenu.
|
|
46
46
|
onFocusOutside: preventDefault,
|
|
@@ -59,7 +59,7 @@ const ContextMenuSubMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef)
|
|
|
59
59
|
ref: forwardedRef,
|
|
60
60
|
alignOffset: alignOffsetPx,
|
|
61
61
|
className: clsx(styles.menuBlock, className),
|
|
62
|
-
"data-modern": enableModernizedComponents,
|
|
62
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
63
63
|
sideOffset: sideOffsetPx,
|
|
64
64
|
children: children
|
|
65
65
|
})
|
|
@@ -56,7 +56,7 @@ const DropdownMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
56
56
|
ref: forwardedRef,
|
|
57
57
|
className: clsx(styles.content, className),
|
|
58
58
|
"data-menu-fullscreen": true,
|
|
59
|
-
"data-modern": enableModernizedComponents,
|
|
59
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
60
60
|
children: [Header, jsx("div", {
|
|
61
61
|
className: styles.fullScreenContent,
|
|
62
62
|
children: OtherChildren
|
|
@@ -73,7 +73,7 @@ const DropdownMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
73
73
|
ref: forwardedRef,
|
|
74
74
|
className: clsx(styles.content, className),
|
|
75
75
|
collisionPadding: collisionPadding,
|
|
76
|
-
"data-modern": enableModernizedComponents,
|
|
76
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
77
77
|
sideOffset: SIDE_OFFSET,
|
|
78
78
|
children: children
|
|
79
79
|
})
|
|
@@ -41,7 +41,7 @@ const DropdownMenuSubMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef)
|
|
|
41
41
|
ref: forwardedRef,
|
|
42
42
|
className: clsx(styles.content, className),
|
|
43
43
|
"data-menu-fullscreen": true,
|
|
44
|
-
"data-modern": enableModernizedComponents,
|
|
44
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
45
45
|
// Prevents submenu from closing, when detects focus outside submenu in fullscreen mode,
|
|
46
46
|
// while mouse is moving over submenu.
|
|
47
47
|
onFocusOutside: preventDefault,
|
|
@@ -61,7 +61,7 @@ const DropdownMenuSubMenuContent = /*#__PURE__*/forwardRef((props, forwardedRef)
|
|
|
61
61
|
ref: forwardedRef,
|
|
62
62
|
className: clsx(styles.content, className),
|
|
63
63
|
collisionPadding: collisionPadding,
|
|
64
|
-
"data-modern": enableModernizedComponents,
|
|
64
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
65
65
|
sideOffset: SIDE_OFFSET,
|
|
66
66
|
children: children
|
|
67
67
|
})
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"content":"bp_dropdown_menu_module_content--
|
|
2
|
+
var styles = {"content":"bp_dropdown_menu_module_content--d8a8d","fullScreenContent":"bp_dropdown_menu_module_fullScreenContent--d8a8d","subheader":"bp_dropdown_menu_module_subheader--d8a8d","uppercased":"bp_dropdown_menu_module_uppercased--d8a8d","dropdownMenuItemSeparator":"bp_dropdown_menu_module_dropdownMenuItemSeparator--d8a8d","ellipsis":"bp_dropdown_menu_module_ellipsis--d8a8d","checkmark":"bp_dropdown_menu_module_checkmark--d8a8d","item":"bp_dropdown_menu_module_item--d8a8d","subMenuTrigger":"bp_dropdown_menu_module_subMenuTrigger--d8a8d","radioItem":"bp_dropdown_menu_module_radioItem--d8a8d","radioItemMediumSpacing":"bp_dropdown_menu_module_radioItemMediumSpacing--d8a8d","checkboxItem":"bp_dropdown_menu_module_checkboxItem--d8a8d","checkboxItemMediumSpacing":"bp_dropdown_menu_module_checkboxItemMediumSpacing--d8a8d","mediumItemLayout":"bp_dropdown_menu_module_mediumItemLayout--d8a8d","startElement":"bp_dropdown_menu_module_startElement--d8a8d","menuItemMainContent":"bp_dropdown_menu_module_menuItemMainContent--d8a8d","endElement":"bp_dropdown_menu_module_endElement--d8a8d","menuHeader":"bp_dropdown_menu_module_menuHeader--d8a8d","headerTextContent":"bp_dropdown_menu_module_headerTextContent--d8a8d","submenuCloseButton":"bp_dropdown_menu_module_submenuCloseButton--d8a8d","menuCloseButton":"bp_dropdown_menu_module_menuCloseButton--d8a8d"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -21,7 +21,7 @@ const IconButton = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
21
21
|
...rest,
|
|
22
22
|
ref: forwardedRef,
|
|
23
23
|
className: clsx(styles.iconButton, styles[variant], sizeStyles, props.className),
|
|
24
|
-
"data-modern": enableModernizedComponents,
|
|
24
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
25
25
|
children: /*#__PURE__*/createElement(icon, {
|
|
26
26
|
className: styles.icon,
|
|
27
27
|
height: iconSizeMap[size],
|
|
@@ -23,7 +23,7 @@ const InlineError = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23
23
|
className: clsx([className, styles.inlineError, {
|
|
24
24
|
[styles.empty]: !children
|
|
25
25
|
}]),
|
|
26
|
-
"data-modern": enableModernizedComponents,
|
|
26
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
27
27
|
children: children && (!enableModernizedComponents ? jsxs(Fragment, {
|
|
28
28
|
children: [jsx(AlertBadge, {
|
|
29
29
|
className: styles.errorIcon,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"inlineError":"bp_inline_error_module_inlineError--
|
|
2
|
+
var styles = {"inlineError":"bp_inline_error_module_inlineError--e67e4","empty":"bp_inline_error_module_empty--e67e4","errorIcon":"bp_inline_error_module_errorIcon--e67e4"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -2,6 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { ArrowUpRightSquareAlt } from '@box/blueprint-web-assets/icons/Line';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
+
import { useBlueprintModernization } from '../../blueprint-modernization-context/useBlueprintModernization.js';
|
|
5
6
|
import styles from './link.module.js';
|
|
6
7
|
|
|
7
8
|
const LinkDefaultAsElement = 'a';
|
|
@@ -15,6 +16,9 @@ const Link = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
15
16
|
isExternal = false,
|
|
16
17
|
...rest
|
|
17
18
|
} = props;
|
|
19
|
+
const {
|
|
20
|
+
enableModernizedComponents
|
|
21
|
+
} = useBlueprintModernization();
|
|
18
22
|
return jsxs(Component, {
|
|
19
23
|
...rest,
|
|
20
24
|
ref: forwardedRef,
|
|
@@ -23,6 +27,7 @@ const Link = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
23
27
|
}, styles[variant], {
|
|
24
28
|
[styles.hasIcon]: isExternal
|
|
25
29
|
}]),
|
|
30
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
26
31
|
children: [children, isExternal && jsx(ArrowUpRightSquareAlt, {
|
|
27
32
|
"aria-hidden": true,
|
|
28
33
|
className: styles.icon
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"link":"bp_link_module_link--
|
|
2
|
+
var styles = {"link":"bp_link_module_link--4d0e2","inheritFont":"bp_link_module_inheritFont--4d0e2","standalone":"bp_link_module_standalone--4d0e2","hasIcon":"bp_link_module_hasIcon--4d0e2","icon":"bp_link_module_icon--4d0e2"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"viewport":"bp_notification_module_viewport--
|
|
2
|
+
var styles = {"viewport":"bp_notification_module_viewport--e32c6","root":"bp_notification_module_root--e32c6","text":"bp_notification_module_text--e32c6","info":"bp_notification_module_info--e32c6","success":"bp_notification_module_success--e32c6","warning":"bp_notification_module_warning--e32c6","error":"bp_notification_module_error--e32c6","container":"bp_notification_module_container--e32c6","mobileContainer":"bp_notification_module_mobileContainer--e32c6","withButtons":"bp_notification_module_withButtons--e32c6","typeIconContainer":"bp_notification_module_typeIconContainer--e32c6","typeIcon":"bp_notification_module_typeIcon--e32c6","contentButtonSection":"bp_notification_module_contentButtonSection--e32c6","contentButtons":"bp_notification_module_contentButtons--e32c6","closeButtonSection":"bp_notification_module_closeButtonSection--e32c6","closeButton":"bp_notification_module_closeButton--e32c6"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -94,7 +94,7 @@ function PrivateNotificationElement(props) {
|
|
|
94
94
|
return jsx(Toast.Root, {
|
|
95
95
|
...rest,
|
|
96
96
|
className: clsx(styles.root, styles[variant]),
|
|
97
|
-
"data-modern": enableModernizedComponents,
|
|
97
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
98
98
|
onOpenChange: onClose,
|
|
99
99
|
open: open,
|
|
100
100
|
type: sensitivity,
|
|
@@ -60,7 +60,7 @@ const PopoverContentContainer = /*#__PURE__*/forwardRef((props, forwardedRef) =>
|
|
|
60
60
|
[styles.accessibilitySmallBreakpoint]: accessibilitySmallBreakpoint
|
|
61
61
|
}, className),
|
|
62
62
|
collisionPadding: collisionPadding,
|
|
63
|
-
"data-modern": enableModernizedComponents,
|
|
63
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
64
64
|
onOpenAutoFocus: handleOpenAutoFocus,
|
|
65
65
|
children: jsx(Card, {
|
|
66
66
|
className: styles.popoverCard,
|
|
@@ -60,7 +60,7 @@ const SelectMenuGridOption = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
60
60
|
[styles.active]: isButtonActive,
|
|
61
61
|
[styles.dragging]: isButtonDragged
|
|
62
62
|
}),
|
|
63
|
-
"data-modern": enableModernizedComponents,
|
|
63
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
64
64
|
disabled: isButtonDisabled,
|
|
65
65
|
children: [variant === 'colorCircle' && jsx(ColorSwatch, {
|
|
66
66
|
color: color || '',
|
|
@@ -78,7 +78,7 @@ const SelectMenuGridOption = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
78
78
|
[styles.withLabel]: isWithLabel,
|
|
79
79
|
[styles['withLabel--default']]: isWithLabel && props.size === 'default'
|
|
80
80
|
}),
|
|
81
|
-
"data-modern": enableModernizedComponents,
|
|
81
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
82
82
|
role: "gridcell",
|
|
83
83
|
children: [shouldShowTooltip && jsx(Tooltip, {
|
|
84
84
|
__checkInteractivity: false,
|
|
@@ -22,12 +22,12 @@ const TabList = /*#__PURE__*/forwardRef(function TabList(props, ref) {
|
|
|
22
22
|
}
|
|
23
23
|
return jsx("div", {
|
|
24
24
|
className: clsx(styles.tabsListContainer, containerClassname),
|
|
25
|
-
"data-modern": enableModernizedComponents,
|
|
25
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
26
26
|
children: jsx(TabList$1, {
|
|
27
27
|
...rest,
|
|
28
28
|
ref: ref,
|
|
29
29
|
className: clsx(variant === 'contentSwitcher' ? styles.contentSwitchTabList : styles.tabList, className),
|
|
30
|
-
"data-modern": enableModernizedComponents,
|
|
30
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
31
31
|
store: tab
|
|
32
32
|
})
|
|
33
33
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"hiddenWidthSetter":"bp_tabs_module_hiddenWidthSetter--
|
|
2
|
+
var styles = {"hiddenWidthSetter":"bp_tabs_module_hiddenWidthSetter--f97e9","contentSwitchTabList":"bp_tabs_module_contentSwitchTabList--f97e9","contentSwitchTab":"bp_tabs_module_contentSwitchTab--f97e9","tabsListContainer":"bp_tabs_module_tabsListContainer--f97e9","tab":"bp_tabs_module_tab--f97e9","tabList":"bp_tabs_module_tabList--f97e9","tabSeparator":"bp_tabs_module_tabSeparator--f97e9"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import * as RadixRadioGroup from '@radix-ui/react-radio-group';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
|
+
import { useBlueprintModernization } from '../blueprint-modernization-context/useBlueprintModernization.js';
|
|
5
6
|
import styles from './radio-group.module.js';
|
|
6
7
|
|
|
7
8
|
const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
@@ -16,12 +17,16 @@ const RadioGroup = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
16
17
|
orientation,
|
|
17
18
|
...rest
|
|
18
19
|
} = props;
|
|
20
|
+
const {
|
|
21
|
+
enableModernizedComponents
|
|
22
|
+
} = useBlueprintModernization();
|
|
19
23
|
return jsx(RadixRadioGroup.Root, {
|
|
20
24
|
...rest,
|
|
21
25
|
ref: ref,
|
|
22
26
|
className: clsx([styles.root], {
|
|
23
27
|
[styles.horizontal]: orientation === 'horizontal'
|
|
24
28
|
}, className),
|
|
29
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
25
30
|
defaultValue: defaultValue,
|
|
26
31
|
loop: loop,
|
|
27
32
|
name: name,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"root":"bp_radio_group_module_root--
|
|
2
|
+
var styles = {"root":"bp_radio_group_module_root--4aadd","horizontal":"bp_radio_group_module_horizontal--4aadd","radioOption":"bp_radio_group_module_radioOption--4aadd","label":"bp_radio_group_module_label--4aadd","description":"bp_radio_group_module_description--4aadd","disabled":"bp_radio_group_module_disabled--4aadd","radioButton":"bp_radio_group_module_radioButton--4aadd","indicator":"bp_radio_group_module_indicator--4aadd"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -53,7 +53,7 @@ const RadioTilesOption = function RadioTilesOption({
|
|
|
53
53
|
...wrapperProps,
|
|
54
54
|
children: jsx("div", {
|
|
55
55
|
className: radioTileClassNames,
|
|
56
|
-
"data-modern": enableModernizedComponents,
|
|
56
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
57
57
|
children: jsxs("label", {
|
|
58
58
|
className: clsx({
|
|
59
59
|
[styles.iconOnly]: !label,
|
|
@@ -40,7 +40,7 @@ const RadioTilesRoot = ({
|
|
|
40
40
|
"aria-label": ariaLabel,
|
|
41
41
|
"aria-labelledby": ariaLabelledBy,
|
|
42
42
|
className: containerClassNames,
|
|
43
|
-
"data-modern": enableModernizedComponents,
|
|
43
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
44
44
|
role: "radiogroup",
|
|
45
45
|
style: containerStyles,
|
|
46
46
|
children: children
|
|
@@ -78,7 +78,7 @@ const SearchInputControlled = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
78
78
|
}), [startIcon, isGlobal]);
|
|
79
79
|
return jsxs("div", {
|
|
80
80
|
className: clsx(styles.search, disabled && styles.disabled, className),
|
|
81
|
-
"data-modern": enableModernizedComponents,
|
|
81
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
82
82
|
children: [startIcon ? CustomStartIconComponent : jsx(Search, {
|
|
83
83
|
"aria-hidden": "true",
|
|
84
84
|
className: clsx(styles.searchIcon, isGlobal && styles.global),
|
|
@@ -74,7 +74,7 @@ const SearchInput = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
74
74
|
const showActionButton = Children.count(children) > 0;
|
|
75
75
|
return jsxs("div", {
|
|
76
76
|
className: clsx(styles.search, disabled && styles.disabled, className),
|
|
77
|
-
"data-modern": enableModernizedComponents,
|
|
77
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
78
78
|
children: [jsx(Search, {
|
|
79
79
|
"aria-hidden": "true",
|
|
80
80
|
className: clsx(styles.searchIcon, isGlobal && styles.global),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"search":"bp_search_module_search--
|
|
2
|
+
var styles = {"search":"bp_search_module_search--f2fca","searchInput":"bp_search_module_searchInput--f2fca","disabled":"bp_search_module_disabled--f2fca","searchIcon":"bp_search_module_searchIcon--f2fca","global":"bp_search_module_global--f2fca","firefoxDefaultOpacityFix":"bp_search_module_firefoxDefaultOpacityFix--f2fca","withoutActionButton":"bp_search_module_withoutActionButton--f2fca","withActionButton":"bp_search_module_withActionButton--f2fca","clearSearchIcon":"bp_search_module_clearSearchIcon--f2fca","actionButton":"bp_search_module_actionButton--f2fca"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -89,7 +89,7 @@ const Root = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
89
89
|
className: clsx(styles.container, {
|
|
90
90
|
[styles.disabled]: disabled
|
|
91
91
|
}, className),
|
|
92
|
-
"data-modern": enableModernizedComponents,
|
|
92
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
93
93
|
children: [jsx(Label, {
|
|
94
94
|
className: styles.label,
|
|
95
95
|
hideLabel: hideLabel
|
|
@@ -143,7 +143,7 @@ const Content = /*#__PURE__*/forwardRef((props, forwardedRef) => {
|
|
|
143
143
|
...contentProps,
|
|
144
144
|
ref: forwardedRef,
|
|
145
145
|
className: clsx(styles.content, className),
|
|
146
|
-
"data-modern": enableModernizedComponents,
|
|
146
|
+
"data-modern": enableModernizedComponents ? 'true' : 'false',
|
|
147
147
|
position: "popper",
|
|
148
148
|
sideOffset: 8,
|
|
149
149
|
children: jsx(ScrollArea.Root, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"container":"bp_select_module_container--
|
|
2
|
+
var styles = {"container":"bp_select_module_container--9c1ba","label":"bp_select_module_label--9c1ba","triggerBtn":"bp_select_module_triggerBtn--9c1ba","disabled":"bp_select_module_disabled--9c1ba","readonly":"bp_select_module_readonly--9c1ba","error":"bp_select_module_error--9c1ba","iconWrapper":"bp_select_module_iconWrapper--9c1ba","iconCaret":"bp_select_module_iconCaret--9c1ba","iconPencilCrossed":"bp_select_module_iconPencilCrossed--9c1ba","icon":"bp_select_module_icon--9c1ba","content":"bp_select_module_content--9c1ba","viewport":"bp_select_module_viewport--9c1ba","option":"bp_select_module_option--9c1ba","secondaryText":"bp_select_module_secondaryText--9c1ba","indicator":"bp_select_module_indicator--9c1ba","separator":"bp_select_module_separator--9c1ba"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|