@box/blueprint-web 12.107.0 → 12.108.1
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.module.js +1 -1
- 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.d.ts +1 -1
- package/dist/lib-esm/badge/icon-badge.js +6 -1
- 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 +1084 -1078
- package/dist/lib-esm/input-chip/input-chip.module.js +1 -1
- 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-button/base-button.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/time-picker/time-picker.module.js +1 -1
- package/dist/lib-esm/toolbar/toolbar.module.js +1 -1
- package/dist/lib-esm/trigger-button/trigger-button.module.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/interactive-icon/interactive-icon.module.js +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../index.css';
|
|
2
|
-
var styles = {"accordionItem":"bp_accordion_module_accordionItem--
|
|
2
|
+
var styles = {"accordionItem":"bp_accordion_module_accordionItem--05c18","accordionContent":"bp_accordion_module_accordionContent--05c18","accordion":"bp_accordion_module_accordion--05c18","accordionContentWrapper":"bp_accordion_module_accordionContentWrapper--05c18","accordionInlineErrorWrapper":"bp_accordion_module_accordionInlineErrorWrapper--05c18","accordionFixedContent":"bp_accordion_module_accordionFixedContent--05c18","accordionHeader":"bp_accordion_module_accordionHeader--05c18","accordionHeaderTrigger":"bp_accordion_module_accordionHeaderTrigger--05c18","accordionStatus":"bp_accordion_module_accordionStatus--05c18","accordionIconWrapper":"bp_accordion_module_accordionIconWrapper--05c18","bgOnly":"bp_accordion_module_bgOnly--05c18","withIcon":"bp_accordion_module_withIcon--05c18","accordionTrigger":"bp_accordion_module_accordionTrigger--05c18","accordionTriggerIcon":"bp_accordion_module_accordionTriggerIcon--05c18"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -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--70be4","small":"bp_avatar_module_small--70be4","length-1":"bp_avatar_module_length-1--70be4","text":"bp_avatar_module_text--70be4","length-2":"bp_avatar_module_length-2--70be4","medium":"bp_avatar_module_medium--70be4","large":"bp_avatar_module_large--70be4","length-3":"bp_avatar_module_length-3--70be4","length-4":"bp_avatar_module_length-4--70be4","xlarge":"bp_avatar_module_xlarge--70be4","xxlarge":"bp_avatar_module_xxlarge--70be4","badge":"bp_avatar_module_badge--70be4","image":"bp_avatar_module_image--70be4","loading":"bp_avatar_module_loading--70be4","anonymousAvatar":"bp_avatar_module_anonymousAvatar--70be4","iconContainer":"bp_avatar_module_iconContainer--70be4"};
|
|
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--99ee9","badge":"bp_base_badge_module_badge--99ee9","smallSizeBadge":"bp_base_badge_module_smallSizeBadge--99ee9","mediumSizeBadge":"bp_base_badge_module_mediumSizeBadge--99ee9","largeSizeBadge":"bp_base_badge_module_largeSizeBadge--99ee9","xlargeSizeBadge":"bp_base_badge_module_xlargeSizeBadge--99ee9","xxlargeSizeBadge":"bp_base_badge_module_xxlargeSizeBadge--99ee9","iconBadge":"bp_base_badge_module_iconBadge--99ee9","interactiveWrapper":"bp_base_badge_module_interactiveWrapper--99ee9","statusBadge":"bp_base_badge_module_statusBadge--99ee9","numericBadge":"bp_base_badge_module_numericBadge--99ee9","numericBadgeSingleDigit":"bp_base_badge_module_numericBadgeSingleDigit--99ee9","numericBadgeMoreDigits":"bp_base_badge_module_numericBadgeMoreDigits--99ee9"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|
|
@@ -6,7 +6,7 @@ export interface TooltipConfig {
|
|
|
6
6
|
}
|
|
7
7
|
export interface IconBadgeProps extends BadgeProps {
|
|
8
8
|
/** The variant of the icon badge. */
|
|
9
|
-
variant: 'file-audio' | 'file-bookmark' | 'file-box-app' | 'file-code' | 'file-default' | 'file-drawing' | 'file-excel' | 'file-hub' | 'file-illustrator' | 'file-indesign' | 'file-numbers' | 'file-photoshop' | 'file-powerpoint' | 'file-presentation' | 'file-slides' | 'file-spreadsheet' | 'file-text' | 'file-three-d' | 'file-vector' | 'file-word' | 'file-zip' | 'file-pdf' | 'file-docs' | 'file-sheets' | 'file-image' | 'file-canvas' | 'file-pages' | 'file-keynote' | 'file-boxnote' | 'file-video' | 'folder-external' | 'folder-shared' | 'action-relay' | 'action-mention' | 'action-task' | 'action-taskapproval' | 'action-annotation' | 'action-performed-completed' | 'action-performed-rejected' | 'collaborator-external' | 'collaborator-admin' | 'collaborator-coadmin' | 'content-pin' | 'content-collection' | 'content-offline' | 'content-progress' | 'alert-error' | 'status-pending' | 'status-in-progress' | 'status-forwarded' | 'status-alert';
|
|
9
|
+
variant: 'file-audio' | 'file-bookmark' | 'file-box-app' | 'file-code' | 'file-default' | 'file-drawing' | 'file-excel' | 'file-hub' | 'file-illustrator' | 'file-indesign' | 'file-numbers' | 'file-photoshop' | 'file-powerpoint' | 'file-presentation' | 'file-slides' | 'file-spreadsheet' | 'file-text' | 'file-three-d' | 'file-vector' | 'file-word' | 'file-zip' | 'file-pdf' | 'file-docs' | 'file-sheets' | 'file-image' | 'file-canvas' | 'file-pages' | 'file-keynote' | 'file-boxnote' | 'file-video' | 'folder-external' | 'folder-shared' | 'action-relay' | 'action-mention' | 'action-task' | 'action-taskapproval' | 'action-annotation' | 'action-performed-completed' | 'action-performed-rejected' | 'collaborator-external' | 'collaborator-admin' | 'collaborator-coadmin' | 'content-pin' | 'content-collection' | 'content-offline' | 'content-progress' | 'content-syncing' | 'alert-error' | 'status-pending' | 'status-in-progress' | 'status-forwarded' | 'status-alert';
|
|
10
10
|
/** Whether to show the tooltip when hovering over the badge. */
|
|
11
11
|
showTooltipOnBadge?: boolean;
|
|
12
12
|
/** The configuration for the tooltip, required if showTooltipOnBadge is true. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { Alert, ArrowRight, Ellipsis, ClockBadge, Loader, CheckmarkUnderline, Arrow, Pin, Star, GlobeBadge, XMark, Checkmark, Annotation, ApprovalTask, Task, EllipsisBubble, Relay, FolderShared, FolderExternal, FileZip, FileWord, FileVideo, FileVector, FileThreeD, FileText, FileSpreadsheet, FileSlides, FileSheets, FilePresentation, FilePowerpoint, FilePhotoshop, FilePdf, FilePages, FileNumbers, FileKeynote, FileIndesign, FileImage, FileIllustrator, Hubs, FileExcel, FileDrawing, FileDocs, FileDefault, Code, FileCanvas, FileBoxNote, BoxApps, FileBookmark, FileAudio } from '@box/blueprint-web-assets/icons/Fill';
|
|
3
|
-
import { GrayWhite, SurfaceBadgeAlertSurface, SurfaceBadgeForwardSurface, SurfaceBadgeInprogressSurface, Orange100, SurfaceBadgeErrorSurface, SurfaceBadgeProgressSurface, SurfaceBadgeOfflineSurface, Gray80, SurfaceBadgeCollectionSurface, SurfaceBadgePinSurface, SurfaceBadgeCoadminSurface, SurfaceBadgeAdminSurface, SurfaceBadgeExternalSurface, SurfaceBadgeRejectedSurface, SurfaceBadgeCompletedSurface, SurfaceBadgeAnnotationSurface, SurfaceBadgeTaskapprovalSurface, SurfaceBadgeTaskSurface, SurfaceBadgeMentionSurface, SurfaceBadgeRelaySurface, SurfaceBadgeFoldersharedSurface, SurfaceBadgeFolderexternalSurface, SurfaceBadgeZipSurface, SurfaceBadgeWordSurface, SurfaceBadgeVideoSurface, SurfaceBadgeVectorSurface, SurfaceBadgeThreeDSurface, SurfaceBadgeTextSurface, SurfaceBadgeSpreadsheetSurface, GrayBlack, SurfaceBadgeSlidesSurface, SurfaceBadgeSheetsSurface, SurfaceBadgePresentationSurface, SurfaceBadgePowerpointSurface, IconIconPhotoshop, SurfaceBadgePhotoshopSurface, SurfaceBadgePdfSurface, SurfaceBadgePagesSurface, SurfaceBadgeNumbersSurface, SurfaceBadgeKeynoteSurface, IconIconIndesign, SurfaceBadgeIndesignSurface, SurfaceBadgeImageSurface, IconIconIllustrator, SurfaceBadgeIllustratorSurface, SurfaceBadgeHubsSurface, SurfaceBadgeExcelSurface, SurfaceBadgeDrawingSurface, SurfaceBadgeDocsSurface,
|
|
3
|
+
import { GrayWhite, SurfaceBadgeAlertSurface, SurfaceBadgeForwardSurface, SurfaceBadgeInprogressSurface, Orange100, SurfaceBadgeErrorSurface, SurfaceBadgeDefaultSurface, SurfaceBadgeProgressSurface, SurfaceBadgeOfflineSurface, Gray80, SurfaceBadgeCollectionSurface, SurfaceBadgePinSurface, SurfaceBadgeCoadminSurface, SurfaceBadgeAdminSurface, SurfaceBadgeExternalSurface, SurfaceBadgeRejectedSurface, SurfaceBadgeCompletedSurface, SurfaceBadgeAnnotationSurface, SurfaceBadgeTaskapprovalSurface, SurfaceBadgeTaskSurface, SurfaceBadgeMentionSurface, SurfaceBadgeRelaySurface, SurfaceBadgeFoldersharedSurface, SurfaceBadgeFolderexternalSurface, SurfaceBadgeZipSurface, SurfaceBadgeWordSurface, SurfaceBadgeVideoSurface, SurfaceBadgeVectorSurface, SurfaceBadgeThreeDSurface, SurfaceBadgeTextSurface, SurfaceBadgeSpreadsheetSurface, GrayBlack, SurfaceBadgeSlidesSurface, SurfaceBadgeSheetsSurface, SurfaceBadgePresentationSurface, SurfaceBadgePowerpointSurface, IconIconPhotoshop, SurfaceBadgePhotoshopSurface, SurfaceBadgePdfSurface, SurfaceBadgePagesSurface, SurfaceBadgeNumbersSurface, SurfaceBadgeKeynoteSurface, IconIconIndesign, SurfaceBadgeIndesignSurface, SurfaceBadgeImageSurface, IconIconIllustrator, SurfaceBadgeIllustratorSurface, SurfaceBadgeHubsSurface, SurfaceBadgeExcelSurface, SurfaceBadgeDrawingSurface, SurfaceBadgeDocsSurface, SurfaceBadgeCodeSurface, SurfaceBadgeCanvasSurface, Gray100, SurfaceBadgeBoxnoteSurface, SurfaceBadgeBoxappsSurface, SurfaceBadgeBookmarkSurface, SurfaceBadgeAudioSurface } from '@box/blueprint-web-assets/tokens/tokens';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import mapValues from 'lodash/mapValues';
|
|
6
6
|
import { createElement } from 'react';
|
|
@@ -243,6 +243,11 @@ const badgeVariantToIconProps = {
|
|
|
243
243
|
icon: Loader,
|
|
244
244
|
iconColor: GrayWhite
|
|
245
245
|
},
|
|
246
|
+
'content-syncing': {
|
|
247
|
+
backgroundColor: SurfaceBadgeDefaultSurface,
|
|
248
|
+
icon: Loader,
|
|
249
|
+
iconColor: GrayWhite
|
|
250
|
+
},
|
|
246
251
|
'alert-error': {
|
|
247
252
|
backgroundColor: SurfaceBadgeErrorSurface,
|
|
248
253
|
icon: Alert,
|
|
@@ -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--73128","card":"bp_card_tooltip_module_card--73128"};
|
|
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--c84a6","checkbox":"bp_checkbox_module_checkbox--c84a6","indicator":"bp_checkbox_module_indicator--c84a6","label":"bp_checkbox_module_label--c84a6","description":"bp_checkbox_module_description--c84a6","disabled":"bp_checkbox_module_disabled--c84a6"};
|
|
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--e5f62","label":"bp_combobox_module_label--e5f62","textInput":"bp_combobox_module_textInput--e5f62","popover":"bp_combobox_module_popover--e5f62","disabled":"bp_combobox_module_disabled--e5f62","hiddenLabel":"bp_combobox_module_hiddenLabel--e5f62","comboboxContainer":"bp_combobox_module_comboboxContainer--e5f62","withComboboxButtons":"bp_combobox_module_withComboboxButtons--e5f62","error":"bp_combobox_module_error--e5f62","textInputWrapper":"bp_combobox_module_textInputWrapper--e5f62","comboboxButtons":"bp_combobox_module_comboboxButtons--e5f62","withChips":"bp_combobox_module_withChips--e5f62","inlineError":"bp_combobox_module_inlineError--e5f62","option":"bp_combobox_module_option--e5f62","indicator":"bp_combobox_module_indicator--e5f62","indicatorIcon":"bp_combobox_module_indicatorIcon--e5f62","optionWithIndicator":"bp_combobox_module_optionWithIndicator--e5f62","loadingIndicator":"bp_combobox_module_loadingIndicator--e5f62"};
|
|
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--aee6f","trailing":"bp_combobox_group_module_trailing--aee6f","leading":"bp_combobox_group_module_leading--aee6f","label":"bp_combobox_group_module_label--aee6f","comboboxContainer":"bp_combobox_group_module_comboboxContainer--aee6f","comboboxGroupcontainer":"bp_combobox_group_module_comboboxGroupcontainer--aee6f","disabled":"bp_combobox_group_module_disabled--aee6f","errorCombobox":"bp_combobox_group_module_errorCombobox--aee6f","errorSelect":"bp_combobox_group_module_errorSelect--aee6f","selectHasFocus":"bp_combobox_group_module_selectHasFocus--aee6f","comboboxHasFocus":"bp_combobox_group_module_comboboxHasFocus--aee6f"};
|
|
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--953ef","ghostCard":"bp_content_card_module_ghostCard--953ef","cardContent":"bp_content_card_module_cardContent--953ef","cardTitle":"bp_content_card_module_cardTitle--953ef","cardTitleText":"bp_content_card_module_cardTitleText--953ef","cardBody":"bp_content_card_module_cardBody--953ef","cardBodyText":"bp_content_card_module_cardBodyText--953ef","cardIcon":"bp_content_card_module_cardIcon--953ef","cardBackground":"bp_content_card_module_cardBackground--953ef","image":"bp_content_card_module_image--953ef","iconGhost":"bp_content_card_module_iconGhost--953ef","titleGhost":"bp_content_card_module_titleGhost--953ef","bodyGhost":"bp_content_card_module_bodyGhost--953ef","pillGhostContainer":"bp_content_card_module_pillGhostContainer--953ef","pillGhost":"bp_content_card_module_pillGhost--953ef"};
|
|
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--612e2","childrenWrapper":"bp_sticky_cell_module_childrenWrapper--612e2","verticalBar":"bp_sticky_cell_module_verticalBar--612e2","isScrolledX":"bp_sticky_cell_module_isScrolledX--612e2","stickyCellBelow":"bp_sticky_cell_module_stickyCellBelow--612e2","stickyCellOuterLeft":"bp_sticky_cell_module_stickyCellOuterLeft--612e2"};
|
|
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--9d71d","isScrolledX":"bp_data_table_module_isScrolledX--9d71d","hideActionWrapperRight":"bp_data_table_module_hideActionWrapperRight--9d71d"};
|
|
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--749ef","label":"bp_date_picker_module_label--749ef","group":"bp_date_picker_module_group--749ef","disabled":"bp_date_picker_module_disabled--749ef","groupContainer":"bp_date_picker_module_groupContainer--749ef","error":"bp_date_picker_module_error--749ef","groupContainerInput":"bp_date_picker_module_groupContainerInput--749ef","groupContainerInputSegment":"bp_date_picker_module_groupContainerInputSegment--749ef","button":"bp_date_picker_module_button--749ef","clear":"bp_date_picker_module_clear--749ef","inlineError":"bp_date_picker_module_inlineError--749ef","datePickerPopoverContent":"bp_date_picker_module_datePickerPopoverContent--749ef"};
|
|
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--691b8","illustration":"bp_empty_state_module_illustration--691b8","body":"bp_empty_state_module_body--691b8","heading":"bp_empty_state_module_heading--691b8","button":"bp_empty_state_module_button--691b8","small":"bp_empty_state_module_small--691b8"};
|
|
3
3
|
|
|
4
4
|
export { styles as default };
|