@box/blueprint-web 12.7.1 → 12.8.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 +2 -2
- package/dist/lib-esm/avatar/avatar.module.js +1 -1
- package/dist/lib-esm/badge/base-badge.module.js +1 -1
- package/dist/lib-esm/badge/icon-badge.js +4 -5
- package/dist/lib-esm/card-tooltip/card-tooltip.module.js +1 -1
- package/dist/lib-esm/card-tooltip-v2/card-tooltip-v2.module.js +1 -1
- package/dist/lib-esm/checkbox/checkbox.module.js +1 -1
- package/dist/lib-esm/combobox/combobox.module.js +1 -1
- package/dist/lib-esm/combobox-group/combobox-group.module.js +1 -1
- package/dist/lib-esm/content-card/content-card.module.js +1 -1
- package/dist/lib-esm/data-table/cell/sticky-cell.module.js +1 -1
- package/dist/lib-esm/data-table/data-table.module.js +1 -1
- package/dist/lib-esm/date-picker/date-picker.module.js +1 -1
- package/dist/lib-esm/empty-state/empty-state.module.js +1 -1
- package/dist/lib-esm/index.css +616 -616
- package/dist/lib-esm/loading-indicator/loading-indicator.module.js +1 -1
- package/dist/lib-esm/modal/modal.module.js +1 -1
- package/dist/lib-esm/page-section/page-section.module.js +1 -1
- package/dist/lib-esm/password-input/password-input.module.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.module.js +1 -1
- package/dist/lib-esm/primitives/context-menu/context-menu.module.js +1 -1
- package/dist/lib-esm/primitives/dropdown-menu/dropdown-menu.module.js +1 -1
- package/dist/lib-esm/primitives/notification/notification.module.js +1 -1
- package/dist/lib-esm/primitives/popover/popover.module.js +1 -1
- package/dist/lib-esm/primitives/select-menu-grid/select-menu-grid-option.module.js +1 -1
- package/dist/lib-esm/primitives/tabs/tabs.module.js +1 -1
- package/dist/lib-esm/radio-group/radio-group.module.js +1 -1
- package/dist/lib-esm/select/select.module.js +1 -1
- package/dist/lib-esm/side-panel/side-panel.module.js +1 -1
- package/dist/lib-esm/switch/switch.module.js +1 -1
- package/dist/lib-esm/text/text.module.js +1 -1
- package/dist/lib-esm/text-area/text-area-autosize/text-area-autosize.module.js +1 -1
- package/dist/lib-esm/text-area/text-area.module.js +1 -1
- package/dist/lib-esm/text-button/text-button.module.js +1 -1
- package/dist/lib-esm/text-input/text-input.module.js +1 -1
- package/dist/lib-esm/toolbar/toolbar.module.js +1 -1
- package/dist/lib-esm/util-components/interactive-icon/interactive-icon.module.js +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { PointerChevron, Alert, ClockBadge } from '@box/blueprint-web-assets/icons/Fill';
|
|
3
|
-
import { SurfaceStatusSurfaceRed, SurfaceStatusSurfaceLightBlue, GrayWhite, SurfaceBadgeErrorSurface,
|
|
3
|
+
import { SurfaceStatusSurfaceRed, SurfaceStatusSurfaceLightBlue, GrayWhite, SurfaceBadgeErrorSurface, Orange100 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
4
4
|
import * as RadixAccordion from '@radix-ui/react-accordion';
|
|
5
5
|
import clsx from 'clsx';
|
|
6
6
|
import { createElement } from 'react';
|
|
@@ -19,7 +19,7 @@ const accordionIconVariantToIconProps = {
|
|
|
19
19
|
'status-pending': {
|
|
20
20
|
icon: ClockBadge,
|
|
21
21
|
iconColor: GrayWhite,
|
|
22
|
-
backgroundColor:
|
|
22
|
+
backgroundColor: Orange100
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"avatar":"bp_avatar_module_avatar--
|
|
2
|
+
var styles = {"avatar":"bp_avatar_module_avatar--616b1","text":"bp_avatar_module_text--616b1","small":"bp_avatar_module_small--616b1","length-1":"bp_avatar_module_length-1--616b1","length-2":"bp_avatar_module_length-2--616b1","medium":"bp_avatar_module_medium--616b1","large":"bp_avatar_module_large--616b1","length-3":"bp_avatar_module_length-3--616b1","length-4":"bp_avatar_module_length-4--616b1","xlarge":"bp_avatar_module_xlarge--616b1","xxlarge":"bp_avatar_module_xxlarge--616b1","badge":"bp_avatar_module_badge--616b1","image":"bp_avatar_module_image--616b1","loading":"bp_avatar_module_loading--616b1","anonymousAvatar":"bp_avatar_module_anonymousAvatar--616b1"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"badgeContainer":"bp_base_badge_module_badgeContainer--
|
|
2
|
+
var styles = {"badgeContainer":"bp_base_badge_module_badgeContainer--73265","badge":"bp_base_badge_module_badge--73265","smallSizeBadge":"bp_base_badge_module_smallSizeBadge--73265","mediumSizeBadge":"bp_base_badge_module_mediumSizeBadge--73265","largeSizeBadge":"bp_base_badge_module_largeSizeBadge--73265","xlargeSizeBadge":"bp_base_badge_module_xlargeSizeBadge--73265","xxlargeSizeBadge":"bp_base_badge_module_xxlargeSizeBadge--73265","iconBadge":"bp_base_badge_module_iconBadge--73265","interactiveWrapper":"bp_base_badge_module_interactiveWrapper--73265","statusBadge":"bp_base_badge_module_statusBadge--73265","numericBadge":"bp_base_badge_module_numericBadge--73265","numericBadgeSingleDigit":"bp_base_badge_module_numericBadgeSingleDigit--73265","numericBadgeMoreDigits":"bp_base_badge_module_numericBadgeMoreDigits--73265"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
|
-
import { FilePdf, FileDocs, FileSheets, FileImage, FileCanvas, FilePages, FileKeynote, FileBoxNote, FileVideo, FolderExternal, FolderShared, Relay, EllipsisBubble, Task, ApprovalTask, Annotation, Checkmark, XMark, GlobeBadge, Star, Pin, Arrow, CheckmarkUnderline, Loader, Alert } from '@box/blueprint-web-assets/icons/Fill';
|
|
3
|
-
import {
|
|
4
|
-
import { SurfaceBadgePdfSurface, GrayWhite, SurfaceBadgeDocsSurface, SurfaceBadgeSheetsSurface, SurfaceBadgeImageSurface, SurfaceBadgeCanvasSurface, SurfaceBadgePagesSurface, SurfaceBadgeKeynoteSurface, SurfaceBadgeBoxnoteSurface, Gray100, SurfaceBadgeVideoSurface, SurfaceBadgeFolderexternalSurface, SurfaceBadgeFoldersharedSurface, SurfaceBadgeRelaySurface, SurfaceBadgeMentionSurface, SurfaceBadgeTaskSurface, SurfaceBadgeTaskapprovalSurface, SurfaceBadgeAnnotationSurface, SurfaceBadgeCompletedSurface, SurfaceBadgeRejectedSurface, SurfaceBadgeExternalSurface, SurfaceBadgeAdminSurface, SurfaceBadgeCoadminSurface, SurfaceBadgePinSurface, Gray80, SurfaceBadgeCollectionSurface, SurfaceBadgeOfflineSurface, SurfaceBadgeProgressSurface, SurfaceBadgeErrorSurface, Yellorange50 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
2
|
+
import { FilePdf, FileDocs, FileSheets, FileImage, FileCanvas, FilePages, FileKeynote, FileBoxNote, FileVideo, FolderExternal, FolderShared, Relay, EllipsisBubble, Task, ApprovalTask, Annotation, Checkmark, XMark, GlobeBadge, Star, Pin, Arrow, CheckmarkUnderline, Loader, Alert, ClockBadge } from '@box/blueprint-web-assets/icons/Fill';
|
|
3
|
+
import { SurfaceBadgePdfSurface, GrayWhite, SurfaceBadgeDocsSurface, SurfaceBadgeSheetsSurface, SurfaceBadgeImageSurface, SurfaceBadgeCanvasSurface, SurfaceBadgePagesSurface, SurfaceBadgeKeynoteSurface, SurfaceBadgeBoxnoteSurface, Gray100, SurfaceBadgeVideoSurface, SurfaceBadgeFolderexternalSurface, SurfaceBadgeFoldersharedSurface, SurfaceBadgeRelaySurface, SurfaceBadgeMentionSurface, SurfaceBadgeTaskSurface, SurfaceBadgeTaskapprovalSurface, SurfaceBadgeAnnotationSurface, SurfaceBadgeCompletedSurface, SurfaceBadgeRejectedSurface, SurfaceBadgeExternalSurface, SurfaceBadgeAdminSurface, SurfaceBadgeCoadminSurface, SurfaceBadgePinSurface, Gray80, SurfaceBadgeCollectionSurface, SurfaceBadgeOfflineSurface, SurfaceBadgeProgressSurface, SurfaceBadgeErrorSurface, Orange100 } from '@box/blueprint-web-assets/tokens/tokens';
|
|
5
4
|
import clsx from 'clsx';
|
|
6
5
|
import mapValues from 'lodash/mapValues';
|
|
7
6
|
import { createElement } from 'react';
|
|
@@ -145,9 +144,9 @@ const badgeVariantToIconProps = {
|
|
|
145
144
|
iconColor: GrayWhite
|
|
146
145
|
},
|
|
147
146
|
'status-pending': {
|
|
148
|
-
backgroundColor:
|
|
147
|
+
backgroundColor: Orange100,
|
|
149
148
|
icon: ClockBadge,
|
|
150
|
-
iconColor:
|
|
149
|
+
iconColor: GrayWhite
|
|
151
150
|
}
|
|
152
151
|
};
|
|
153
152
|
const badgeSizeToIconSize = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"content":"bp_card_tooltip_module_content--
|
|
2
|
+
var styles = {"content":"bp_card_tooltip_module_content--a0918","card":"bp_card_tooltip_module_card--a0918","slideDownAndFade":"bp_card_tooltip_module_slideDownAndFade--a0918","slideLeftAndFade":"bp_card_tooltip_module_slideLeftAndFade--a0918","slideUpAndFade":"bp_card_tooltip_module_slideUpAndFade--a0918","slideRightAndFade":"bp_card_tooltip_module_slideRightAndFade--a0918"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"content":"bp_card_tooltip_v2_module_content--
|
|
2
|
+
var styles = {"content":"bp_card_tooltip_v2_module_content--509a6","slideDownAndFade":"bp_card_tooltip_v2_module_slideDownAndFade--509a6","slideLeftAndFade":"bp_card_tooltip_v2_module_slideLeftAndFade--509a6","slideUpAndFade":"bp_card_tooltip_v2_module_slideUpAndFade--509a6","slideRightAndFade":"bp_card_tooltip_v2_module_slideRightAndFade--509a6"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"option":"bp_checkbox_module_option--
|
|
2
|
+
var styles = {"option":"bp_checkbox_module_option--de6fa","checkbox":"bp_checkbox_module_checkbox--de6fa","indicator":"bp_checkbox_module_indicator--de6fa","label":"bp_checkbox_module_label--de6fa","description":"bp_checkbox_module_description--de6fa","disabled":"bp_checkbox_module_disabled--de6fa"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"container":"bp_combobox_module_container--
|
|
2
|
+
var styles = {"container":"bp_combobox_module_container--8650a","disabled":"bp_combobox_module_disabled--8650a","label":"bp_combobox_module_label--8650a","hiddenLabel":"bp_combobox_module_hiddenLabel--8650a","comboboxContainer":"bp_combobox_module_comboboxContainer--8650a","withComboboxButtons":"bp_combobox_module_withComboboxButtons--8650a","error":"bp_combobox_module_error--8650a","textInputWrapper":"bp_combobox_module_textInputWrapper--8650a","textInput":"bp_combobox_module_textInput--8650a","errorIcon":"bp_combobox_module_errorIcon--8650a","comboboxButtons":"bp_combobox_module_comboboxButtons--8650a","withChips":"bp_combobox_module_withChips--8650a","inlineError":"bp_combobox_module_inlineError--8650a","popover":"bp_combobox_module_popover--8650a","option":"bp_combobox_module_option--8650a","indicator":"bp_combobox_module_indicator--8650a","indicatorIcon":"bp_combobox_module_indicatorIcon--8650a","optionWithIndicator":"bp_combobox_module_optionWithIndicator--8650a","loadingIndicator":"bp_combobox_module_loadingIndicator--8650a","noResultOption":"bp_combobox_module_noResultOption--8650a"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"container":"bp_combobox_group_module_container--
|
|
2
|
+
var styles = {"container":"bp_combobox_group_module_container--c25d6","comboboxGroupcontainer":"bp_combobox_group_module_comboboxGroupcontainer--c25d6","disabled":"bp_combobox_group_module_disabled--c25d6","label":"bp_combobox_group_module_label--c25d6","trailing":"bp_combobox_group_module_trailing--c25d6","leading":"bp_combobox_group_module_leading--c25d6","errorCombobox":"bp_combobox_group_module_errorCombobox--c25d6","errorSelect":"bp_combobox_group_module_errorSelect--c25d6","selectHasFocus":"bp_combobox_group_module_selectHasFocus--c25d6","comboboxHasFocus":"bp_combobox_group_module_comboboxHasFocus--c25d6"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"card":"bp_content_card_module_card--
|
|
2
|
+
var styles = {"card":"bp_content_card_module_card--bdcd1","cardContent":"bp_content_card_module_cardContent--bdcd1","cardTitle":"bp_content_card_module_cardTitle--bdcd1","cardTitleText":"bp_content_card_module_cardTitleText--bdcd1","cardBody":"bp_content_card_module_cardBody--bdcd1","cardBodyText":"bp_content_card_module_cardBodyText--bdcd1","cardIcon":"bp_content_card_module_cardIcon--bdcd1","cardBackground":"bp_content_card_module_cardBackground--bdcd1","image":"bp_content_card_module_image--bdcd1","ghostCard":"bp_content_card_module_ghostCard--bdcd1","iconGhost":"bp_content_card_module_iconGhost--bdcd1","titleGhost":"bp_content_card_module_titleGhost--bdcd1","bodyGhost":"bp_content_card_module_bodyGhost--bdcd1","pillGhostContainer":"bp_content_card_module_pillGhostContainer--bdcd1","pillGhost":"bp_content_card_module_pillGhost--bdcd1"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../index.css';
|
|
2
|
-
var styles = {"stickyCell":"bp_sticky_cell_module_stickyCell--
|
|
2
|
+
var styles = {"stickyCell":"bp_sticky_cell_module_stickyCell--f0f19","childrenWrapper":"bp_sticky_cell_module_childrenWrapper--f0f19","verticalBar":"bp_sticky_cell_module_verticalBar--f0f19","isScrolledX":"bp_sticky_cell_module_isScrolledX--f0f19","stickyCellBelow":"bp_sticky_cell_module_stickyCellBelow--f0f19","stickyCellOuterLeft":"bp_sticky_cell_module_stickyCellOuterLeft--f0f19"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"dataTableWrapper":"bp_data_table_module_dataTableWrapper--
|
|
2
|
+
var styles = {"dataTableWrapper":"bp_data_table_module_dataTableWrapper--01d5c","isScrolledX":"bp_data_table_module_isScrolledX--01d5c","hideActionWrapperRight":"bp_data_table_module_hideActionWrapperRight--01d5c"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"datePicker":"bp_date_picker_module_datePicker--
|
|
2
|
+
var styles = {"datePicker":"bp_date_picker_module_datePicker--40d2d","disabled":"bp_date_picker_module_disabled--40d2d","label":"bp_date_picker_module_label--40d2d","group":"bp_date_picker_module_group--40d2d","groupContainer":"bp_date_picker_module_groupContainer--40d2d","error":"bp_date_picker_module_error--40d2d","groupContainerInput":"bp_date_picker_module_groupContainerInput--40d2d","groupContainerInputSegment":"bp_date_picker_module_groupContainerInputSegment--40d2d","button":"bp_date_picker_module_button--40d2d","clear":"bp_date_picker_module_clear--40d2d","inlineError":"bp_date_picker_module_inlineError--40d2d","datePickerPopoverContent":"bp_date_picker_module_datePickerPopoverContent--40d2d","slide":"bp_date_picker_module_slide--40d2d"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"emptyState":"bp_empty_state_module_emptyState--
|
|
2
|
+
var styles = {"emptyState":"bp_empty_state_module_emptyState--b2f75","illustration":"bp_empty_state_module_illustration--b2f75","body":"bp_empty_state_module_body--b2f75","heading":"bp_empty_state_module_heading--b2f75","button":"bp_empty_state_module_button--b2f75","small":"bp_empty_state_module_small--b2f75"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|