box-ui-elements 14.0.0 → 14.1.0-beta.11
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/CONTRIBUTING.md +1 -1
- package/dist/explorer.css +1 -1
- package/dist/explorer.js +15 -15
- package/dist/openwith.css +1 -1
- package/dist/openwith.js +7 -7
- package/dist/picker.css +1 -1
- package/dist/picker.js +12 -12
- package/dist/preview.css +1 -1
- package/dist/preview.js +13 -13
- package/dist/sharing.css +1 -1
- package/dist/sharing.js +11 -11
- package/dist/sidebar.css +1 -1
- package/dist/sidebar.js +13 -13
- package/dist/uploader.css +1 -1
- package/dist/uploader.js +13 -13
- package/es/components/badge/Badge.scss +1 -1
- package/es/components/button/Button.js +13 -4
- package/es/components/button/Button.js.flow +4 -0
- package/es/components/button/Button.js.map +1 -1
- package/es/components/button/Button.stories.js +64 -4
- package/es/components/button/Button.stories.js.map +1 -1
- package/es/components/button-group/ButtonGroup.scss +5 -5
- package/es/components/button-group/ButtonGroup.stories.js +1 -1
- package/es/components/button-group/ButtonGroup.stories.js.map +1 -1
- package/es/components/date-picker/_pikaday.scss +2 -1
- package/es/components/draft-js-editor/DraftJSEditor.scss +1 -1
- package/es/components/error-mask/ErrorMask.scss +1 -1
- package/es/components/flyout/Flyout.scss +1 -1
- package/es/components/footer-indicator/FooterIndicator.scss +1 -1
- package/es/components/form-elements/draft-js-mention-selector/MentionSelector.scss +10 -1
- package/es/components/guide-tooltip/GuideTooltip.js +5 -2
- package/es/components/guide-tooltip/GuideTooltip.js.flow +3 -0
- package/es/components/guide-tooltip/GuideTooltip.js.map +1 -1
- package/es/components/guide-tooltip/GuideTooltip.scss +14 -1
- package/es/components/hotkeys/HotkeyHelpModal.scss +1 -1
- package/es/components/link/LinkButton.js +6 -2
- package/es/components/link/LinkButton.js.map +1 -1
- package/es/components/link/LinkPrimaryButton.js.map +1 -1
- package/es/components/link/stories/LinkButton.stories.js +12 -1
- package/es/components/link/stories/LinkButton.stories.js.map +1 -1
- package/es/components/link/stories/LinkPrimaryButton.stories.js +12 -1
- package/es/components/link/stories/LinkPrimaryButton.stories.js.map +1 -1
- package/es/components/loading-indicator/Crawler.scss +1 -1
- package/es/components/modal/Modal.scss +5 -2
- package/es/components/modal/ModalDialog.js +1 -1
- package/es/components/modal/ModalDialog.js.flow +1 -1
- package/es/components/modal/ModalDialog.js.map +1 -1
- package/es/components/notification/Notification.js +11 -16
- package/es/components/notification/Notification.js.flow +11 -13
- package/es/components/notification/Notification.js.map +1 -1
- package/es/components/notification/Notification.scss +17 -12
- package/es/components/pill-selector-dropdown/PillSelector.scss +1 -1
- package/es/components/plain-button/PlainButton.stories.js +32 -1
- package/es/components/plain-button/PlainButton.stories.js.map +1 -1
- package/es/components/primary-button/PrimaryButton.stories.js +1 -1
- package/es/components/primary-button/PrimaryButton.stories.js.map +1 -1
- package/es/components/select-field/SelectField.scss +3 -0
- package/es/components/selector-dropdown/SelectorDropdown.scss +5 -0
- package/es/components/selector-dropdown/SelectorDropdown.stories.js +15 -0
- package/es/components/selector-dropdown/SelectorDropdown.stories.js.flow +16 -0
- package/es/components/selector-dropdown/SelectorDropdown.stories.js.map +1 -0
- package/es/components/tab-view/Tabs.scss +1 -0
- package/es/components/text-area/TextArea.js +3 -1
- package/es/components/text-area/TextArea.js.flow +4 -0
- package/es/components/text-area/TextArea.js.map +1 -1
- package/es/components/text-input/TextInput.js +3 -1
- package/es/components/text-input/TextInput.js.flow +10 -1
- package/es/components/text-input/TextInput.js.map +1 -1
- package/es/components/thumbnail-card/ThumbnailCard.scss +1 -1
- package/es/components/tooltip/Tooltip.scss +3 -3
- package/es/elements/common/messages.js +8 -0
- package/es/elements/common/messages.js.flow +10 -0
- package/es/elements/common/messages.js.map +1 -1
- package/es/elements/common/modal.scss +4 -1
- package/es/elements/content-explorer/ShareDialog.scss +2 -2
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js +2 -3
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.flow +3 -2
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.map +1 -1
- package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.scss +0 -15
- package/es/elements/content-sidebar/activity-feed/version/Version.scss +1 -1
- package/es/elements/content-sidebar/additional-tabs/AdditionalTabsLoading.scss +1 -1
- package/es/elements/content-sidebar/skills/faces/Faces.scss +1 -1
- package/es/elements/content-sidebar/skills/keywords/Keywords.scss +1 -1
- package/es/elements/content-sidebar/skills/timeline/Timeline.scss +1 -1
- package/es/elements/content-sidebar/skills/timeline/Timeslice.scss +1 -1
- package/es/elements/content-sidebar/skills/transcript/Transcript.scss +1 -1
- package/es/elements/content-sidebar/versions/VersionsItemBadge.scss +1 -1
- package/es/elements/content-uploader/ContentUploader.js +11 -9
- package/es/elements/content-uploader/ContentUploader.js.flow +10 -7
- package/es/elements/content-uploader/ContentUploader.js.map +1 -1
- package/es/elements/content-uploader/Footer.scss +5 -0
- package/es/elements/content-uploader/ItemAction.js +19 -6
- package/es/elements/content-uploader/ItemAction.js.flow +34 -3
- package/es/elements/content-uploader/ItemAction.js.map +1 -1
- package/es/elements/content-uploader/ItemList.js +5 -4
- package/es/elements/content-uploader/ItemList.js.flow +11 -4
- package/es/elements/content-uploader/ItemList.js.map +1 -1
- package/es/elements/content-uploader/UploadsManager.js +8 -6
- package/es/elements/content-uploader/UploadsManager.js.flow +8 -5
- package/es/elements/content-uploader/UploadsManager.js.map +1 -1
- package/es/elements/content-uploader/actionCellRenderer.js +3 -2
- package/es/elements/content-uploader/actionCellRenderer.js.flow +9 -2
- package/es/elements/content-uploader/actionCellRenderer.js.map +1 -1
- package/es/elements/content-uploader/progressCellRenderer.js +7 -3
- package/es/elements/content-uploader/progressCellRenderer.js.flow +6 -3
- package/es/elements/content-uploader/progressCellRenderer.js.map +1 -1
- package/es/features/collaborator-avatars/CollaboratorList.scss +1 -1
- package/es/features/collapsible-sidebar/CollapsibleSidebarLogo.js +3 -3
- package/es/features/collapsible-sidebar/CollapsibleSidebarLogo.js.flow +3 -3
- package/es/features/collapsible-sidebar/CollapsibleSidebarLogo.js.map +1 -1
- package/es/features/content-explorer/content-explorer/ContentExplorer.scss +5 -0
- package/es/features/content-explorer/item-list/ItemList.scss +1 -1
- package/es/features/left-sidebar/styles/LeftSidebarDropWrapper.scss +1 -1
- package/es/features/left-sidebar/styles/LeftSidebarLinkCallout.scss +2 -2
- package/es/features/message-preview-content/styles/PreviewErrorNotification.scss +1 -1
- package/es/features/metadata-based-view/MetadataBasedItemList.scss +1 -1
- package/es/features/metadata-instance-editor/CascadePolicy.scss +2 -2
- package/es/features/metadata-instance-editor/CustomInstanceNewField.scss +1 -1
- package/es/features/metadata-instance-editor/Instance.scss +1 -1
- package/es/features/metadata-instance-editor/TemplateDropdown.scss +4 -4
- package/es/features/query-bar/styles/Condition.scss +4 -4
- package/es/features/query-bar/styles/QueryBarButtons.scss +1 -1
- package/es/features/quick-search/QuickSearch.scss +1 -4
- package/es/features/quick-search/QuickSearchMessage.scss +1 -0
- package/es/features/security/_mixins.scss +1 -1
- package/es/icon/fill/LightningBolt16.js +30 -0
- package/es/icon/fill/LightningBolt16.js.flow +28 -0
- package/es/icon/fill/LightningBolt16.js.map +1 -0
- package/es/icon/fill/LightningBolt16.stories.js +13 -0
- package/es/icon/fill/LightningBolt16.stories.js.map +1 -0
- package/es/icon/line/GenericCopy16.js +30 -0
- package/es/icon/line/GenericCopy16.js.flow +25 -0
- package/es/icon/line/GenericCopy16.js.map +1 -0
- package/es/icon/line/GenericCopy16.stories.js +13 -0
- package/es/icon/line/GenericCopy16.stories.js.map +1 -0
- package/es/src/components/button/Button.d.ts +4 -0
- package/es/src/components/button/Button.stories.d.ts +4 -0
- package/es/src/components/context-menu/__tests__/ContextMenu.stories.test.d.ts +0 -1
- package/es/src/components/date-picker/__tests__/DatePicker.stories.test.d.ts +0 -1
- package/es/src/components/footer-indicator/__tests__/FooterIndicator.stories.test.d.ts +0 -1
- package/es/src/components/guide-tooltip/GuideTooltip.d.ts +3 -1
- package/es/src/components/link/LinkButton.d.ts +2 -1
- package/es/src/components/link/LinkPrimaryButton.d.ts +2 -4
- package/es/src/components/link/stories/LinkButton.stories.d.ts +2 -1
- package/es/src/components/link/stories/LinkPrimaryButton.stories.d.ts +1 -0
- package/es/src/components/plain-button/PlainButton.stories.d.ts +1 -0
- package/es/src/icon/fill/LightningBolt16.d.ts +13 -0
- package/es/src/icon/fill/LightningBolt16.stories.d.ts +9 -0
- package/es/src/icon/line/GenericCopy16.d.ts +13 -0
- package/es/src/icon/line/GenericCopy16.stories.d.ts +9 -0
- package/es/src/styles/variables.d.ts +9 -1
- package/es/styles/_inputs.scss +1 -1
- package/es/styles/_variables.scss +2 -0
- package/es/styles/common/_buttons.scss +61 -11
- package/es/styles/common/_forms.scss +1 -1
- package/es/styles/common/_inline-notifications.scss +3 -1
- package/es/styles/common/_pills.scss +1 -1
- package/es/styles/constants/_buttons.scss +6 -0
- package/es/styles/constants/_layout.scss +3 -1
- package/es/styles/constants/_typography.scss +9 -1
- package/es/styles/mixins/_buttons.scss +15 -0
- package/es/styles/mixins/_overlay.scss +2 -2
- package/es/styles/variables.js +17 -1
- package/es/styles/variables.js.flow +9 -1
- package/es/styles/variables.js.map +1 -1
- package/es/utils/createTheme.stories.js +8 -8
- package/es/utils/createTheme.stories.js.flow +5 -5
- package/es/utils/createTheme.stories.js.map +1 -1
- package/i18n/bn-IN.js +2 -0
- package/i18n/bn-IN.properties +4 -0
- package/i18n/da-DK.js +2 -0
- package/i18n/da-DK.properties +4 -0
- package/i18n/de-DE.js +2 -0
- package/i18n/de-DE.properties +4 -0
- package/i18n/en-AU.js +2 -0
- package/i18n/en-AU.properties +4 -0
- package/i18n/en-CA.js +2 -0
- package/i18n/en-CA.properties +4 -0
- package/i18n/en-GB.js +2 -0
- package/i18n/en-GB.properties +4 -0
- package/i18n/en-US.js +2 -0
- package/i18n/en-US.properties +4 -0
- package/i18n/en-x-pseudo.js +2 -0
- package/i18n/es-419.js +2 -0
- package/i18n/es-419.properties +4 -0
- package/i18n/es-ES.js +2 -0
- package/i18n/es-ES.properties +4 -0
- package/i18n/fi-FI.js +2 -0
- package/i18n/fi-FI.properties +4 -0
- package/i18n/fr-CA.js +2 -0
- package/i18n/fr-CA.properties +4 -0
- package/i18n/fr-FR.js +2 -0
- package/i18n/fr-FR.properties +4 -0
- package/i18n/hi-IN.js +2 -0
- package/i18n/hi-IN.properties +4 -0
- package/i18n/it-IT.js +2 -0
- package/i18n/it-IT.properties +4 -0
- package/i18n/ja-JP.js +5 -3
- package/i18n/ja-JP.properties +7 -3
- package/i18n/ko-KR.js +2 -0
- package/i18n/ko-KR.properties +4 -0
- package/i18n/nb-NO.js +2 -0
- package/i18n/nb-NO.properties +4 -0
- package/i18n/nl-NL.js +2 -0
- package/i18n/nl-NL.properties +4 -0
- package/i18n/pl-PL.js +2 -0
- package/i18n/pl-PL.properties +4 -0
- package/i18n/pt-BR.js +2 -0
- package/i18n/pt-BR.properties +4 -0
- package/i18n/ru-RU.js +2 -0
- package/i18n/ru-RU.properties +4 -0
- package/i18n/sv-SE.js +2 -0
- package/i18n/sv-SE.properties +4 -0
- package/i18n/tr-TR.js +2 -0
- package/i18n/tr-TR.properties +4 -0
- package/i18n/zh-CN.js +2 -0
- package/i18n/zh-CN.properties +4 -0
- package/i18n/zh-TW.js +2 -0
- package/i18n/zh-TW.properties +4 -0
- package/package.json +1 -1
- package/src/components/avatar/__tests__/__image_snapshots__/avatar-stories-test-tsx-components-avatar-avatar-looks-visually-correct-when-using-story-components-avatar-large-1-snap.png +0 -0
- package/src/components/avatar/__tests__/__image_snapshots__/avatar-stories-test-tsx-components-avatar-avatar-looks-visually-correct-when-using-story-components-avatar-regular-1-snap.png +0 -0
- package/src/components/avatar/__tests__/__image_snapshots__/avatar-stories-test-tsx-components-avatar-avatar-looks-visually-correct-when-using-story-components-avatar-small-1-snap.png +0 -0
- package/src/components/avatar/__tests__/__image_snapshots__/avatar-stories-test-tsx-components-avatar-avatar-looks-visually-correct-when-using-story-components-avatar-with-multiple-avatars-1-snap.png +0 -0
- package/src/components/avatar/__tests__/__image_snapshots__/avatar-stories-test-tsx-components-avatar-avatar-looks-visually-correct-when-using-story-components-avatar-with-url-fallback-to-initials-1-snap.png +0 -0
- package/src/components/badge/Badge.scss +1 -1
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-alert-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-beta-badge-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-error-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-highlight-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-info-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-regular-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-success-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-trial-badge-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-upgrade-badge-1-snap.png +0 -0
- package/src/components/badge/__tests__/__image_snapshots__/badge-stories-test-tsx-components-badge-badge-looks-visually-correct-when-using-story-components-badge-warning-1-snap.png +0 -0
- package/src/components/breadcrumb/__tests__/__image_snapshots__/breadcrumb-stories-test-js-components-breadcrumb-breadcrumb-looks-visually-correct-when-using-story-components-breadcrumb-regular-1-snap.png +0 -0
- package/src/components/breadcrumb/__tests__/__image_snapshots__/breadcrumb-stories-test-js-components-breadcrumb-breadcrumb-looks-visually-correct-when-using-story-components-breadcrumb-with-multiple-crumbs-1-snap.png +0 -0
- package/src/components/button/Button.js.flow +4 -0
- package/src/components/button/Button.stories.tsx +72 -12
- package/src/components/button/Button.tsx +29 -2
- package/src/components/button/__tests__/Button.stories.test.tsx +10 -7
- package/src/components/button/__tests__/Button.test.tsx +31 -0
- package/src/components/button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-buttons-button-disabled-1-snap.png +0 -0
- package/src/components/button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-buttons-button-icon-and-text-button-1-snap.png +0 -0
- package/src/components/button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-buttons-button-icon-button-1-snap.png +0 -0
- package/src/components/button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-buttons-button-large-1-snap.png +0 -0
- package/src/components/button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-buttons-button-regular-1-snap.png +0 -0
- package/src/components/button/__tests__/__snapshots__/Button.test.tsx.snap +22 -0
- package/src/components/button-group/ButtonGroup.scss +5 -5
- package/src/components/button-group/ButtonGroup.stories.tsx +1 -1
- package/src/components/category-selector/__tests__/__image_snapshots__/category-selector-stories-test-tsx-components-category-selector-category-selector-looks-visually-correct-when-using-story-components-categoryselector-basic-1-snap.png +0 -0
- package/src/components/category-selector/__tests__/__image_snapshots__/category-selector-stories-test-tsx-components-category-selector-category-selector-looks-visually-correct-when-using-story-components-categoryselector-with-dropdown-1-snap.png +0 -0
- package/src/components/checkbox/__tests__/__image_snapshots__/checkbox-stories-test-tsx-components-checkbox-checkbox-looks-visually-correct-when-using-story-components-checkbox-basic-1-snap.png +0 -0
- package/src/components/checkbox/__tests__/__image_snapshots__/checkbox-stories-test-tsx-components-checkbox-checkbox-looks-visually-correct-when-using-story-components-checkbox-controlled-1-snap.png +0 -0
- package/src/components/checkbox/__tests__/__image_snapshots__/checkbox-stories-test-tsx-components-checkbox-checkbox-looks-visually-correct-when-using-story-components-checkbox-disabled-1-snap.png +0 -0
- package/src/components/checkbox/__tests__/__image_snapshots__/checkbox-stories-test-tsx-components-checkbox-checkbox-looks-visually-correct-when-using-story-components-checkbox-with-subsection-1-snap.png +0 -0
- package/src/components/checkbox/__tests__/__image_snapshots__/checkbox-stories-test-tsx-components-checkbox-checkbox-looks-visually-correct-when-using-story-components-checkbox-with-tooltip-1-snap.png +0 -0
- package/src/components/collapsible/__tests__/__image_snapshots__/collapsible-stories-test-tsx-components-collapsible-collapsible-collapses-content-for-story-components-collapsible-with-border-1-snap.png +0 -0
- package/src/components/collapsible/__tests__/__image_snapshots__/collapsible-stories-test-tsx-components-collapsible-collapsible-collapses-content-for-story-components-collapsible-with-button-in-header-1-snap.png +0 -0
- package/src/components/collapsible/__tests__/__image_snapshots__/collapsible-stories-test-tsx-components-collapsible-collapsible-collapses-content-for-story-components-collapsible-without-border-1-snap.png +0 -0
- package/src/components/collapsible/__tests__/__image_snapshots__/collapsible-stories-test-tsx-components-collapsible-collapsible-looks-visually-correct-when-using-story-components-collapsible-with-border-1-snap.png +0 -0
- package/src/components/collapsible/__tests__/__image_snapshots__/collapsible-stories-test-tsx-components-collapsible-collapsible-looks-visually-correct-when-using-story-components-collapsible-with-button-in-header-1-snap.png +0 -0
- package/src/components/collapsible/__tests__/__image_snapshots__/collapsible-stories-test-tsx-components-collapsible-collapsible-looks-visually-correct-when-using-story-components-collapsible-without-border-1-snap.png +0 -0
- package/src/components/context-menu/__tests__/ContextMenu.stories.test.tsx +1 -6
- package/src/components/context-menu/__tests__/__image_snapshots__/context-menu-stories-test-tsx-components-context-menu-context-menu-looks-visually-correct-when-right-clicking-on-story-components-contextmenu-basic-1-snap.png +0 -0
- package/src/components/context-menu/__tests__/__image_snapshots__/context-menu-stories-test-tsx-components-context-menu-context-menu-looks-visually-correct-when-right-clicking-on-story-components-contextmenu-with-submenu-1-snap.png +0 -0
- package/src/components/context-menu/__tests__/__image_snapshots__/context-menu-stories-test-tsx-components-context-menu-context-menu-looks-visually-correct-when-using-story-components-contextmenu-basic-1-snap.png +0 -0
- package/src/components/context-menu/__tests__/__image_snapshots__/context-menu-stories-test-tsx-components-context-menu-context-menu-looks-visually-correct-when-using-story-components-contextmenu-with-submenu-1-snap.png +0 -0
- package/src/components/count-badge/__tests__/__image_snapshots__/count-badge-stories-test-tsx-components-count-badge-count-badge-looks-visually-correct-when-using-story-components-countbadge-with-html-symbol-1-1-snap.png +0 -0
- package/src/components/count-badge/__tests__/__image_snapshots__/count-badge-stories-test-tsx-components-count-badge-count-badge-looks-visually-correct-when-using-story-components-countbadge-with-html-symbol-2-1-snap.png +0 -0
- package/src/components/count-badge/__tests__/__image_snapshots__/count-badge-stories-test-tsx-components-count-badge-count-badge-looks-visually-correct-when-using-story-components-countbadge-without-animation-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/DatePicker.stories.test.tsx +2 -10
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-allows-editing-in-story-components-datepicker-manually-editable-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-allows-keyboard-selection-in-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-closes-calendar-and-clears-date-for-components-datepicker-basic-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-basic-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-custom-error-tooltip-position-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-disabled-with-error-message-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-manually-editable-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-description-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-limited-date-range-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-looks-visually-correct-when-using-story-components-datepicker-with-range-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-reflects-changes-in-components-datepicker-always-visible-with-custom-input-field-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-shows-calendar-and-date-for-components-datepicker-basic-1-snap.png +0 -0
- package/src/components/date-picker/__tests__/__image_snapshots__/date-picker-stories-test-tsx-components-date-picker-date-picker-shows-limited-range-in-components-datepicker-with-limited-date-range-1-snap.png +0 -0
- package/src/components/date-picker/_pikaday.scss +2 -1
- package/src/components/draft-js-editor/DraftJSEditor.scss +1 -1
- package/src/components/draft-js-editor/__tests__/__image_snapshots__/draft-js-editor-stories-test-js-components-draft-js-editor-draft-js-editor-looks-visually-correct-when-typing-1-snap.png +0 -0
- package/src/components/draft-js-editor/__tests__/__image_snapshots__/draft-js-editor-stories-test-js-components-draft-js-editor-draft-js-editor-looks-visually-correct-when-using-story-components-draftjseditor-basic-1-snap.png +0 -0
- package/src/components/draggable-list/__tests__/__image_snapshots__/draggable-list-stories-test-tsx-components-draggable-list-draggable-list-looks-correct-when-using-story-components-draggablelist-example-1-snap.png +0 -0
- package/src/components/dropdown-menu/__tests__/__image_snapshots__/dropdown-menu-stories-test-js-components-dropdown-menu-dropdown-menu-looks-visually-correct-when-button-is-clicked-in-story-components-dropdownmenu-basic-1-snap.png +0 -0
- package/src/components/dropdown-menu/__tests__/__image_snapshots__/dropdown-menu-stories-test-js-components-dropdown-menu-dropdown-menu-looks-visually-correct-when-button-is-clicked-in-story-components-dropdownmenu-with-link-menu-1-snap.png +0 -0
- package/src/components/dropdown-menu/__tests__/__image_snapshots__/dropdown-menu-stories-test-js-components-dropdown-menu-dropdown-menu-looks-visually-correct-when-using-story-components-dropdownmenu-with-link-menu-1-snap.png +0 -0
- package/src/components/error-mask/ErrorMask.scss +1 -1
- package/src/components/error-mask/__tests__/__image_snapshots__/error-mask-stories-test-tsx-components-error-mask-error-mask-looks-visually-correct-when-using-story-s-1-snap.png +0 -0
- package/src/components/fieldset/__tests__/__image_snapshots__/fieldset-stories-test-tsx-components-fieldset-fieldset-looks-visually-correct-when-using-story-components-fieldset-basic-1-snap.png +0 -0
- package/src/components/flyout/Flyout.scss +1 -1
- package/src/components/footer-indicator/FooterIndicator.scss +1 -1
- package/src/components/footer-indicator/__tests__/FooterIndicator.stories.test.tsx +1 -6
- package/src/components/footer-indicator/__tests__/__image_snapshots__/footer-indicator-stories-test-tsx-components-footer-indicator-footer-indicator-displays-tooltip-on-hover-for-story-components-footerindicator-regular-1-snap.png +0 -0
- package/src/components/footer-indicator/__tests__/__image_snapshots__/footer-indicator-stories-test-tsx-components-footer-indicator-footer-indicator-displays-tooltip-on-hover-for-story-components-footerindicator-with-truncated-text-1-snap.png +0 -0
- package/src/components/footer-indicator/__tests__/__image_snapshots__/footer-indicator-stories-test-tsx-components-footer-indicator-footer-indicator-looks-visually-correct-when-using-story-components-footerindicator-regular-1-snap.png +0 -0
- package/src/components/footer-indicator/__tests__/__image_snapshots__/footer-indicator-stories-test-tsx-components-footer-indicator-footer-indicator-looks-visually-correct-when-using-story-components-footerindicator-with-truncated-text-1-snap.png +0 -0
- package/src/components/form-elements/draft-js-mention-selector/MentionSelector.scss +10 -1
- package/src/components/form-elements/form/__tests__/__image_snapshots__/form-stories-test-js-components-form-elements-form-form-does-not-show-a-custom-validation-error-1-snap.png +0 -0
- package/src/components/form-elements/form/__tests__/__image_snapshots__/form-stories-test-js-components-form-elements-form-form-does-not-show-an-email-validation-error-1-snap.png +0 -0
- package/src/components/form-elements/form/__tests__/__image_snapshots__/form-stories-test-js-components-form-elements-form-form-looks-visually-correct-when-using-story-components-form-elements-form-basic-1-snap.png +0 -0
- package/src/components/form-elements/form/__tests__/__image_snapshots__/form-stories-test-js-components-form-elements-form-form-shows-a-custom-validation-error-1-snap.png +0 -0
- package/src/components/form-elements/form/__tests__/__image_snapshots__/form-stories-test-js-components-form-elements-form-form-shows-a-required-field-error-1-snap.png +0 -0
- package/src/components/form-elements/form/__tests__/__image_snapshots__/form-stories-test-js-components-form-elements-form-form-shows-an-email-validation-error-1-snap.png +0 -0
- package/src/components/form-elements/text-area/__tests__/__image_snapshots__/text-area-stories-test-js-components-form-elements-text-area-text-area-looks-visually-correct-when-using-story-components-form-elements-textarea-basic-1-snap.png +0 -0
- package/src/components/form-elements/text-area/__tests__/__image_snapshots__/text-area-stories-test-js-components-form-elements-text-area-text-area-looks-visually-correct-when-using-story-components-form-elements-textarea-with-validation-1-snap.png +0 -0
- package/src/components/form-elements/text-area/__tests__/__image_snapshots__/text-area-stories-test-js-components-form-elements-text-area-text-area-shows-text-after-typing-1-snap.png +0 -0
- package/src/components/form-elements/text-area/__tests__/__image_snapshots__/text-area-stories-test-js-components-form-elements-text-area-text-area-validates-text-when-given-input-abcde-1-snap.png +0 -0
- package/src/components/form-elements/text-area/__tests__/__image_snapshots__/text-area-stories-test-js-components-form-elements-text-area-text-area-validates-text-when-given-input-www-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-displays-abcde-when-given-abcde-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-displays-abcde-when-given-abcdef-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-does-not-show-a-custom-validation-error-for-box-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-does-not-show-a-url-validation-error-for-http-www-box-com-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-does-not-show-a-url-validation-error-for-https-www-box-com-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-basic-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-disabled-input-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-url-input-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-with-custom-validation-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-with-hidden-label-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-with-maximum-length-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-with-minimum-length-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-looks-visually-correct-when-using-story-components-form-elements-textinput-with-tooltip-on-hover-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-shows-a-custom-validation-error-for-notbox-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-shows-a-url-validation-error-for-www-box-com-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-shows-a-url-validation-error-for-zyxwv-1-snap.png +0 -0
- package/src/components/form-elements/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-form-elements-text-input-text-input-shows-min-length-error-for-a-1-snap.png +0 -0
- package/src/components/ghost/__tests__/__image_snapshots__/ghost-stories-test-tsx-components-ghost-ghost-looks-visually-correct-when-using-story-components-ghost-regular-1-snap.png +0 -0
- package/src/components/guide-tooltip/GuideTooltip.js.flow +3 -0
- package/src/components/guide-tooltip/GuideTooltip.scss +14 -1
- package/src/components/guide-tooltip/GuideTooltip.tsx +4 -0
- package/src/components/guide-tooltip/__tests__/GuideTooltip.test.js +61 -7
- package/src/components/header/__tests__/__image_snapshots__/header-stories-test-tsx-components-header-header-looks-visually-correct-when-using-story-components-header-regular-1-snap.png +0 -0
- package/src/components/hotkeys/HotkeyHelpModal.scss +1 -1
- package/src/components/image-tooltip/__tests__/__image_snapshots__/image-tooltip-stories-test-tsx-components-image-tooltip-image-tooltip-looks-visually-correct-when-using-story-components-imagetooltip-basic-1-snap.png +0 -0
- package/src/components/label/__tests__/__image_snapshots__/label-stories-test-tsx-components-label-label-looks-visually-correct-when-using-story-components-label-basic-1-snap.png +0 -0
- package/src/components/label/__tests__/__image_snapshots__/label-stories-test-tsx-components-label-label-looks-visually-correct-when-using-story-components-label-with-info-tooltip-1-snap.png +0 -0
- package/src/components/label/__tests__/__image_snapshots__/label-stories-test-tsx-components-label-label-looks-visually-correct-when-using-story-components-label-with-optional-text-1-snap.png +0 -0
- package/src/components/link/LinkButton.tsx +4 -2
- package/src/components/link/LinkPrimaryButton.tsx +2 -4
- package/src/components/link/__tests__/Link.test.tsx +15 -0
- package/src/components/link/__tests__/LinkButton.stories.test.tsx +8 -7
- package/src/components/link/__tests__/LinkPrimaryButton.stories.test.tsx +1 -0
- package/src/components/link/__tests__/__image_snapshots__/link-button-stories-test-tsx-components-link-link-button-looks-visually-correct-when-using-story-components-links-linkbutton-basic-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-button-stories-test-tsx-components-link-link-button-looks-visually-correct-when-using-story-components-links-linkbutton-large-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-button-stories-test-tsx-components-link-link-button-looks-visually-correct-when-using-story-components-links-linkbutton-with-custom-component-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-group-stories-test-tsx-components-link-link-group-looks-visually-correct-when-using-story-components-links-linkgroup-basic-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-primary-button-stories-test-tsx-components-link-link-primary-button-looks-visually-correct-when-using-story-components-links-linkprimarybutton-basic-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-primary-button-stories-test-tsx-components-link-link-primary-button-looks-visually-correct-when-using-story-components-links-linkprimarybutton-large-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-primary-button-stories-test-tsx-components-link-link-primary-button-looks-visually-correct-when-using-story-components-links-linkprimarybutton-with-custom-component-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-stories-test-tsx-components-link-link-looks-visually-correct-when-using-story-components-links-link-basic-1-snap.png +0 -0
- package/src/components/link/__tests__/__image_snapshots__/link-stories-test-tsx-components-link-link-looks-visually-correct-when-using-story-components-links-link-with-custom-component-1-snap.png +0 -0
- package/src/components/link/stories/LinkButton.stories.tsx +15 -1
- package/src/components/link/stories/LinkPrimaryButton.stories.tsx +13 -1
- package/src/components/loading-indicator/Crawler.scss +1 -1
- package/src/components/media/__tests__/__image_snapshots__/media-stories-test-tsx-components-media-media-looks-visually-correct-when-using-story-components-media-media-example-1-snap.png +0 -0
- package/src/components/media/__tests__/__image_snapshots__/media-stories-test-tsx-components-media-media-looks-visually-correct-when-using-story-components-media-media-with-form-elements-1-snap.png +0 -0
- package/src/components/media/__tests__/__image_snapshots__/media-stories-test-tsx-components-media-media-looks-visually-correct-when-using-story-components-media-media-with-nested-components-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/menu-stories-test-tsx-components-menu-menu-displays-a-submenu-on-hover-in-story-components-menu-with-submenu-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/menu-stories-test-tsx-components-menu-menu-displays-a-submenu-on-hover-in-story-components-menu-with-submenu-flip-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/menu-stories-test-tsx-components-menu-menu-looks-visually-correct-when-using-story-components-menu-with-child-on-resize-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/menu-stories-test-tsx-components-menu-menu-looks-visually-correct-when-using-story-components-menu-with-select-menu-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/menu-stories-test-tsx-components-menu-menu-looks-visually-correct-when-using-story-components-menu-with-submenu-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/menu-stories-test-tsx-components-menu-menu-looks-visually-correct-when-using-story-components-menu-with-submenu-flip-1-snap.png +0 -0
- package/src/components/menu/__tests__/__image_snapshots__/select-menu-link-item-stories-test-tsx-components-menu-select-menu-link-item-looks-visually-correct-when-using-story-components-selectmenulinkitem-basic-1-snap.png +0 -0
- package/src/components/modal/Modal.scss +5 -2
- package/src/components/modal/ModalDialog.js +1 -1
- package/src/components/modal/__tests__/__image_snapshots__/modal-actions-stories-test-js-components-modal-modal-actions-looks-visually-correct-when-using-story-components-modalactions-basic-1-snap.png +0 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-dialog-stories-test-js-components-modal-modal-dialog-looks-visually-correct-when-using-story-components-modaldialog-basic-1-snap.png +0 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-when-button-is-clicked-in-story-components-modal-basic-1-snap.png +0 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-when-button-is-clicked-in-story-components-modal-with-custom-backdrop-click-handler-1-snap.png +0 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-when-using-story-components-modal-basic-1-snap.png +0 -0
- package/src/components/modal/__tests__/__image_snapshots__/modal-stories-test-js-components-modal-modal-looks-visually-correct-when-using-story-components-modal-with-custom-backdrop-click-handler-1-snap.png +0 -0
- package/src/components/notification/Notification.js +11 -13
- package/src/components/notification/Notification.scss +17 -12
- package/src/components/notification/__tests__/Notification.test.js +9 -9
- package/src/components/notification/__tests__/__image_snapshots__/notification-stories-test-js-components-notification-notification-looks-visually-correct-when-using-story-components-notifications-notification-basic-1-snap.png +0 -0
- package/src/components/notification/__tests__/__image_snapshots__/notification-stories-test-js-components-notification-notification-looks-visually-correct-when-using-story-components-notifications-notification-error-1-snap.png +0 -0
- package/src/components/notification/__tests__/__image_snapshots__/notification-stories-test-js-components-notification-notification-looks-visually-correct-when-using-story-components-notifications-notification-info-1-snap.png +0 -0
- package/src/components/notification/__tests__/__image_snapshots__/notification-stories-test-js-components-notification-notification-looks-visually-correct-when-using-story-components-notifications-notification-warn-1-snap.png +0 -0
- package/src/components/notification/__tests__/__image_snapshots__/notifications-wrapper-stories-test-js-components-notification-notifications-wrapper-looks-visually-correct-when-using-story-components-notifications-notificationswrapper-example-1-snap.png +0 -0
- package/src/components/notification/__tests__/__image_snapshots__/notifications-wrapper-stories-test-js-components-notification-notifications-wrapper-shows-a-persistent-notification-1-snap.png +0 -0
- package/src/components/notification/__tests__/__image_snapshots__/notifications-wrapper-stories-test-js-components-notification-notifications-wrapper-shows-a-timed-notification-1-snap.png +0 -0
- package/src/components/nudge/__tests__/__image_snapshots__/nudge-stories-test-tsx-components-nudge-nudge-looks-visually-correct-when-using-story-components-nudge-regular-1-snap.png +0 -0
- package/src/components/pill-selector-dropdown/PillSelector.scss +1 -1
- package/src/components/pill-selector-dropdown/__tests__/__image_snapshots__/pill-selector-dropdown-stories-test-js-components-pill-selector-dropdown-pill-selector-dropdown-looks-visually-correct-when-typing-1-snap.png +0 -0
- package/src/components/pill-selector-dropdown/__tests__/__image_snapshots__/pill-selector-dropdown-stories-test-js-components-pill-selector-dropdown-pill-selector-dropdown-looks-visually-correct-when-using-story-components-pillselectordropdown-custom-pill-styles-1-snap.png +0 -0
- package/src/components/pill-selector-dropdown/__tests__/__image_snapshots__/pill-selector-dropdown-stories-test-js-components-pill-selector-dropdown-pill-selector-dropdown-looks-visually-correct-when-using-story-components-pillselectordropdown-empty-1-snap.png +0 -0
- package/src/components/pill-selector-dropdown/__tests__/__image_snapshots__/pill-selector-dropdown-stories-test-js-components-pill-selector-dropdown-pill-selector-dropdown-looks-visually-correct-when-using-story-components-pillselectordropdown-show-avatars-1-snap.png +0 -0
- package/src/components/pill-selector-dropdown/__tests__/__image_snapshots__/pill-selector-dropdown-stories-test-js-components-pill-selector-dropdown-pill-selector-dropdown-looks-visually-correct-when-using-story-components-pillselectordropdown-show-rounded-pills-1-snap.png +0 -0
- package/src/components/pill-selector-dropdown/__tests__/__image_snapshots__/pill-selector-dropdown-stories-test-js-components-pill-selector-dropdown-pill-selector-dropdown-looks-visually-correct-when-using-story-components-pillselectordropdown-with-pills-1-snap.png +0 -0
- package/src/components/plain-button/PlainButton.stories.tsx +96 -1
- package/src/components/plain-button/__tests__/PlainButton.stories.test.tsx +1 -1
- package/src/components/{button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-button-disabled-1-snap.png → plain-button/__tests__/__image_snapshots__/plain-button-stories-test-tsx-components-plain-button-plain-button-looks-visually-correct-when-using-story-components-buttons-plainbutton-disabled-1-snap.png} +0 -0
- package/src/components/{button/__tests__/__image_snapshots__/button-stories-test-tsx-components-button-button-looks-visually-correct-when-using-story-components-button-regular-1-snap.png → plain-button/__tests__/__image_snapshots__/plain-button-stories-test-tsx-components-plain-button-plain-button-looks-visually-correct-when-using-story-components-buttons-plainbutton-regular-1-snap.png} +0 -0
- package/src/components/primary-button/PrimaryButton.stories.tsx +1 -1
- package/src/components/primary-button/__tests__/PrimaryButton.stories.test.tsx +1 -1
- package/src/components/primary-button/__tests__/__image_snapshots__/primary-button-stories-test-tsx-components-primary-button-primary-button-looks-visually-correct-when-using-story-components-buttons-primarybutton-disabled-1-snap.png +0 -0
- package/src/components/primary-button/__tests__/__image_snapshots__/primary-button-stories-test-tsx-components-primary-button-primary-button-looks-visually-correct-when-using-story-components-buttons-primarybutton-regular-1-snap.png +0 -0
- package/src/components/radio/__tests__/RadioGroup.stories.test.tsx +1 -1
- package/src/components/radio/__tests__/__image_snapshots__/radio-button-stories-test-tsx-components-radio-radio-button-looks-visually-correct-when-using-story-components-radio-radiobutton-basic-1-snap.png +0 -0
- package/src/components/radio/__tests__/__image_snapshots__/radio-button-stories-test-tsx-components-radio-radio-button-looks-visually-correct-when-using-story-components-radio-radiobutton-disabled-1-snap.png +0 -0
- package/src/components/radio/__tests__/__image_snapshots__/radio-group-stories-test-tsx-components-radio-radio-button-looks-visually-correct-when-using-story-components-radio-radiogroup-basic-1-snap.png +0 -0
- package/src/components/radio/__tests__/__image_snapshots__/radio-group-stories-test-tsx-components-radio-radio-button-selects-a-radio-button-1-snap.png +0 -0
- package/src/components/section/__tests__/__image_snapshots__/section-stories-test-tsx-components-section-section-looks-visually-correct-when-using-story-components-section-basic-1-snap.png +0 -0
- package/src/components/select/__tests__/__image_snapshots__/select-stories-test-js-components-select-select-looks-visually-correct-when-using-story-components-select-basic-1-snap.png +0 -0
- package/src/components/select/__tests__/__image_snapshots__/select-stories-test-js-components-select-select-looks-visually-correct-when-using-story-components-select-disabled-1-snap.png +0 -0
- package/src/components/select/__tests__/__image_snapshots__/select-stories-test-js-components-select-select-looks-visually-correct-when-using-story-components-select-with-error-message-1-snap.png +0 -0
- package/src/components/select/__tests__/__image_snapshots__/select-stories-test-js-components-select-select-looks-visually-correct-when-using-story-components-select-with-error-outline-1-snap.png +0 -0
- package/src/components/select-button/__tests__/__image_snapshots__/select-button-stories-test-js-components-select-button-select-button-looks-visually-correct-when-using-story-components-selectbutton-disabled-1-snap.png +0 -0
- package/src/components/select-button/__tests__/__image_snapshots__/select-button-stories-test-js-components-select-button-select-button-looks-visually-correct-when-using-story-components-selectbutton-regular-1-snap.png +0 -0
- package/src/components/select-button/__tests__/__image_snapshots__/select-button-stories-test-js-components-select-button-select-button-looks-visually-correct-when-using-story-components-selectbutton-with-error-1-snap.png +0 -0
- package/src/components/select-field/SelectField.scss +3 -0
- package/src/components/select-field/SingleSelectField.md +31 -0
- package/src/components/selector-dropdown/SelectorDropdown.scss +5 -0
- package/src/components/selector-dropdown/SelectorDropdown.stories.js +16 -0
- package/src/components/selector-dropdown/{README.md → SelectorDropdown.stories.md} +0 -9
- package/src/components/selector-dropdown/__tests__/SelectorDropdown.stories.test.js +6 -0
- package/src/components/selector-dropdown/__tests__/__image_snapshots__/selector-dropdown-stories-test-js-components-select-select-looks-visually-correct-when-using-story-components-selectordropdown-basic-1-snap.png +0 -0
- package/src/components/sidebar-toggle-button/__tests__/__image_snapshots__/sidebar-toggle-button-stories-test-js-components-sidebar-toggle-button-sidebar-toggle-button-looks-visually-correct-when-using-story-components-sidebartogglebutton-closed-1-snap.png +0 -0
- package/src/components/tab-view/Tabs.scss +1 -0
- package/src/components/tab-view/__tests__/__image_snapshots__/tab-view-stories-test-js-components-tab-view-tab-view-looks-visually-correct-when-using-story-components-tabview-basic-1-snap.png +0 -0
- package/src/components/tab-view/__tests__/__image_snapshots__/tab-view-stories-test-js-components-tab-view-tab-view-looks-visually-correct-when-using-story-components-tabview-dynamic-1-snap.png +0 -0
- package/src/components/tab-view/__tests__/__image_snapshots__/tab-view-stories-test-js-components-tab-view-tab-view-looks-visually-correct-when-using-story-components-tabview-dynamic-with-links-1-snap.png +0 -0
- package/src/components/tab-view/__tests__/__image_snapshots__/tab-view-stories-test-js-components-tab-view-tab-view-looks-visually-correct-when-using-story-components-tabview-with-callback-1-snap.png +0 -0
- package/src/components/tab-view/__tests__/__image_snapshots__/tab-view-stories-test-js-components-tab-view-tab-view-looks-visually-correct-when-using-story-components-tabview-with-link-1-snap.png +0 -0
- package/src/components/tab-view/__tests__/__image_snapshots__/tab-view-stories-test-js-components-tab-view-tab-view-shows-new-content-after-clicking-on-a-new-tab-1-snap.png +0 -0
- package/src/components/text-area/TextArea.js +4 -0
- package/src/components/text-area/__tests__/TextArea.test.js +11 -0
- package/src/components/text-area/__tests__/__snapshots__/TextArea.test.js.snap +8 -8
- package/src/components/text-input/TextInput.js +10 -1
- package/src/components/text-input/__tests__/TextInput.test.js +11 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-clears-required-tooltip-after-entering-text-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-basic-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-error-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-required-with-on-change-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-valid-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-with-description-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-with-long-breakable-strings-1-snap.png +0 -0
- package/src/components/text-input/__tests__/__image_snapshots__/text-input-stories-test-js-components-text-input-text-input-looks-visually-correct-when-using-story-components-textinput-with-long-unbreakable-strings-1-snap.png +0 -0
- package/src/components/text-input-with-copy-button/__tests__/__image_snapshots__/text-input-with-copy-button-stories-test-js-components-text-input-with-copy-button-text-input-with-copy-button-looks-visually-correct-when-using-story-components-textinputwithcopybutton-example-1-snap.png +0 -0
- package/src/components/text-input-with-copy-button/__tests__/__image_snapshots__/text-input-with-copy-button-stories-test-js-components-text-input-with-copy-button-text-input-with-copy-button-updates-copy-button-on-click-1-snap.png +0 -0
- package/src/components/thumbnail-card/ThumbnailCard.scss +1 -1
- package/src/components/thumbnail-card/__tests__/__image_snapshots__/thumbnail-card-stories-test-js-components-thumbnail-card-thumbnail-card-looks-visually-correct-when-using-story-components-thumbnailcard-basic-1-snap.png +0 -0
- package/src/components/thumbnail-card/__tests__/__image_snapshots__/thumbnail-card-stories-test-js-components-thumbnail-card-thumbnail-card-looks-visually-correct-when-using-story-components-thumbnailcard-highlight-on-hover-1-snap.png +0 -0
- package/src/components/thumbnail-card/__tests__/__image_snapshots__/thumbnail-card-stories-test-js-components-thumbnail-card-thumbnail-card-should-show-a-blue-border-when-the-card-is-hovered-1-snap.png +0 -0
- package/src/components/thumbnail-card/__tests__/__image_snapshots__/thumbnail-card-stories-test-js-components-thumbnail-card-thumbnail-card-should-show-an-orange-border-when-the-card-is-hovered-and-focused-1-snap.png +0 -0
- package/src/components/time-input/__tests__/TimeInput.stories.test.tsx +7 -11
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-looks-correct-when-using-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-looks-correct-when-using-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-sets-a-valid-date-based-on-input-after-blur-for-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-sets-a-valid-date-based-on-input-after-blur-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-sets-a-valid-date-based-on-input-after-change-for-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-sets-a-valid-date-based-on-input-after-change-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-an-error-for-empty-input-after-blur-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-an-error-for-empty-input-after-change-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-an-error-for-invalid-input-after-blur-for-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-an-error-for-invalid-input-after-blur-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-an-error-for-invalid-input-after-change-for-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-an-error-for-invalid-input-after-change-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-default-time-for-empty-input-after-blur-for-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-default-time-for-empty-input-after-change-for-story-components-timeinput-optional-1-snap.png +0 -0
- package/src/components/time-input/__tests__/__image_snapshots__/time-input-stories-test-tsx-components-time-input-time-input-shows-default-time-for-empty-input-after-change-for-story-components-timeinput-required-1-snap.png +0 -0
- package/src/components/toggle/__tests__/__image_snapshots__/toggle-stories-test-js-components-toggle-toggle-looks-visually-correct-when-using-story-components-toggle-basic-1-snap.png +0 -0
- package/src/components/toggle/__tests__/__image_snapshots__/toggle-stories-test-js-components-toggle-toggle-looks-visually-correct-when-using-story-components-toggle-controlled-1-snap.png +0 -0
- package/src/components/toggle/__tests__/__image_snapshots__/toggle-stories-test-js-components-toggle-toggle-looks-visually-correct-when-using-story-components-toggle-disabled-1-snap.png +0 -0
- package/src/components/toggle/__tests__/__image_snapshots__/toggle-stories-test-js-components-toggle-toggle-looks-visually-correct-when-using-story-components-toggle-right-aligned-1-snap.png +0 -0
- package/src/components/tooltip/Tooltip.scss +3 -3
- package/src/components/tooltip/__tests__/Tooltip.stories.test.tsx +1 -1
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-attached-to-disabled-button-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-is-shown-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-positioning-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-themes-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-with-close-button-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-with-disabled-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-with-long-text-1-snap.png +0 -0
- package/src/components/tooltip/__tests__/__image_snapshots__/tooltip-stories-test-tsx-components-tooltip-tooltip-looks-visually-correct-when-using-story-components-tooltip-with-offset-1-snap.png +0 -0
- package/src/elements/common/messages.js +10 -0
- package/src/elements/common/modal.scss +4 -1
- package/src/elements/content-explorer/ShareDialog.scss +2 -2
- package/src/elements/content-explorer/__tests__/__image_snapshots__/share-dialog-stories-test-js-elements-content-explorer-share-dialog-looks-visually-correct-when-using-story-elements-contentexplorer-sharedialog-share-dialog-1-snap.png +0 -0
- package/src/elements/content-sidebar/activity-feed/task-form/TaskForm.js +3 -2
- package/src/elements/content-sidebar/activity-feed/task-form/TaskForm.scss +0 -15
- package/src/elements/content-sidebar/activity-feed/task-form/__tests__/TaskForm.test.js +2 -2
- package/src/elements/content-sidebar/activity-feed/task-form/__tests__/__snapshots__/TaskForm.test.js.snap +1 -151
- package/src/elements/content-sidebar/activity-feed/version/Version.scss +1 -1
- package/src/elements/content-sidebar/additional-tabs/AdditionalTabsLoading.scss +1 -1
- package/src/elements/content-sidebar/skills/faces/Faces.scss +1 -1
- package/src/elements/content-sidebar/skills/keywords/Keywords.scss +1 -1
- package/src/elements/content-sidebar/skills/timeline/Timeline.scss +1 -1
- package/src/elements/content-sidebar/skills/timeline/Timeslice.scss +1 -1
- package/src/elements/content-sidebar/skills/transcript/Transcript.scss +1 -1
- package/src/elements/content-sidebar/versions/VersionsItemBadge.scss +1 -1
- package/src/elements/content-uploader/ContentUploader.js +10 -7
- package/src/elements/content-uploader/Footer.scss +5 -0
- package/src/elements/content-uploader/ItemAction.js +34 -3
- package/src/elements/content-uploader/ItemList.js +11 -4
- package/src/elements/content-uploader/UploadsManager.js +8 -5
- package/src/elements/content-uploader/__tests__/ItemAction.test.js +19 -1
- package/src/elements/content-uploader/__tests__/ItemList.test.js +45 -0
- package/src/elements/content-uploader/actionCellRenderer.js +9 -2
- package/src/elements/content-uploader/progressCellRenderer.js +6 -3
- package/src/features/collaborator-avatars/CollaboratorList.scss +1 -1
- package/src/features/collapsible-sidebar/CollapsibleSidebarLogo.js +3 -3
- package/src/features/collapsible-sidebar/__tests__/__snapshots__/CollapsibleSidebarLogo.test.js.snap +7 -7
- package/src/features/content-explorer/content-explorer/ContentExplorer.scss +5 -0
- package/src/features/content-explorer/item-list/ItemList.scss +1 -1
- package/src/features/left-sidebar/styles/LeftSidebarDropWrapper.scss +1 -1
- package/src/features/left-sidebar/styles/LeftSidebarLinkCallout.scss +2 -2
- package/src/features/message-preview-content/styles/PreviewErrorNotification.scss +1 -1
- package/src/features/metadata-based-view/MetadataBasedItemList.scss +1 -1
- package/src/features/metadata-instance-editor/CascadePolicy.scss +2 -2
- package/src/features/metadata-instance-editor/CustomInstanceNewField.scss +1 -1
- package/src/features/metadata-instance-editor/Instance.scss +1 -1
- package/src/features/metadata-instance-editor/TemplateDropdown.scss +4 -4
- package/src/features/query-bar/styles/Condition.scss +4 -4
- package/src/features/query-bar/styles/QueryBarButtons.scss +1 -1
- package/src/features/quick-search/QuickSearch.scss +1 -4
- package/src/features/quick-search/QuickSearchMessage.scss +1 -0
- package/src/features/sandbox-banner/__tests__/__image_snapshots__/sandbox-banner-stories-test-tsx-features-sandbox-banner-sandbox-banner-looks-visually-correct-when-using-story-features-sandboxbanner-basic-1-snap.png +0 -0
- package/src/features/sandbox-banner/__tests__/__image_snapshots__/sandbox-banner-stories-test-tsx-features-sandbox-banner-sandbox-banner-should-show-a-tooltip-when-the-banner-is-hovered-1-snap.png +0 -0
- package/src/features/security/_mixins.scss +1 -1
- package/src/features/shared-link-modal/__tests__/__image_snapshots__/shared-link-modal-stories-test-js-features-shared-link-modal-shared-link-modal-looks-visually-correct-when-button-is-clicked-1-snap.png +0 -0
- package/src/features/shared-link-modal/__tests__/__image_snapshots__/shared-link-modal-stories-test-js-features-shared-link-modal-shared-link-modal-looks-visually-correct-when-using-story-features-sharedlinkmodal-basic-1-snap.png +0 -0
- package/src/features/shared-link-modal/__tests__/__image_snapshots__/shared-link-stories-test-js-features-shared-link-modal-shared-link-looks-visually-correct-when-button-is-clicked-1-snap.png +0 -0
- package/src/features/shared-link-modal/__tests__/__image_snapshots__/shared-link-stories-test-js-features-shared-link-modal-shared-link-looks-visually-correct-when-using-story-features-sharedlink-basic-1-snap.png +0 -0
- package/src/features/shared-link-settings-modal/__tests__/__image_snapshots__/shared-link-settings-modal-stories-test-js-features-shared-link-settings-modal-shared-link-settings-modal-looks-visually-correct-when-button-is-clicked-1-snap.png +0 -0
- package/src/features/shared-link-settings-modal/__tests__/__image_snapshots__/shared-link-settings-modal-stories-test-js-features-shared-link-settings-modal-shared-link-settings-modal-looks-visually-correct-when-using-story-features-sharedlinksettingsmodal-basic-1-snap.png +0 -0
- package/src/features/unified-share-modal/__tests__/__image_snapshots__/unified-share-modal-stories-test-js-features-unified-share-modal-unified-share-modal-features-unifiedsharemodal-with-form-only-looks-visually-correct-1-snap.png +0 -0
- package/src/features/unified-share-modal/__tests__/__image_snapshots__/unified-share-modal-stories-test-js-features-unified-share-modal-unified-share-modal-features-unifiedsharemodal-with-form-only-looks-visually-correct-when-adding-emails-1-snap.png +0 -0
- package/src/features/unified-share-modal/__tests__/__image_snapshots__/unified-share-modal-stories-test-js-features-unified-share-modal-unified-share-modal-looks-visually-correct-when-button-is-clicked-in-story-features-unifiedsharemodal-basic-1-snap.png +0 -0
- package/src/features/unified-share-modal/__tests__/__image_snapshots__/unified-share-modal-stories-test-js-features-unified-share-modal-unified-share-modal-looks-visually-correct-when-button-is-clicked-in-story-features-unifiedsharemodal-with-autofocused-shared-link-1-snap.png +0 -0
- package/src/features/unified-share-modal/__tests__/__image_snapshots__/unified-share-modal-stories-test-js-features-unified-share-modal-unified-share-modal-looks-visually-correct-when-button-is-clicked-in-story-features-unifiedsharemodal-with-shared-link-1-snap.png +0 -0
- package/src/icon/fill/LightningBolt16.js.flow +28 -0
- package/src/icon/fill/LightningBolt16.stories.tsx +13 -0
- package/src/icon/fill/LightningBolt16.tsx +26 -0
- package/src/icon/line/GenericCopy16.js.flow +25 -0
- package/src/icon/line/GenericCopy16.stories.tsx +13 -0
- package/src/icon/line/GenericCopy16.tsx +23 -0
- package/src/styles/_inputs.scss +1 -1
- package/src/styles/_variables.scss +2 -0
- package/src/styles/common/_buttons.scss +61 -11
- package/src/styles/common/_forms.scss +1 -1
- package/src/styles/common/_inline-notifications.scss +3 -1
- package/src/styles/common/_pills.scss +1 -1
- package/src/styles/constants/_buttons.scss +6 -0
- package/src/styles/constants/_layout.scss +3 -1
- package/src/styles/constants/_typography.scss +9 -1
- package/src/styles/mixins/_buttons.scss +15 -0
- package/src/styles/mixins/_overlay.scss +2 -2
- package/src/styles/variables.js +9 -1
- package/src/styles/variables.json +9 -1
- package/src/styles/variables.ts +9 -1
- package/src/utils/createTheme.stories.js +5 -5
- package/src/components/guide-tooltip/__tests__/__snapshots__/GuideTooltip.test.js.snap +0 -142
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
/* eslint-disable react/jsx-sort-props */
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import * as vars from '../../styles/variables';
|
|
6
|
+
import AccessibleSVG from '../../components/accessible-svg/AccessibleSVG';
|
|
7
|
+
/**
|
|
8
|
+
* This is an auto-generated component and should not be edited
|
|
9
|
+
* manually in contributor pull requests.
|
|
10
|
+
*
|
|
11
|
+
* If you have problems with this component:
|
|
12
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
|
|
13
|
+
*
|
|
14
|
+
* If there are missing features in this component:
|
|
15
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
var LightningBolt16 = function LightningBolt16(props) {
|
|
19
|
+
return React.createElement(AccessibleSVG, _extends({
|
|
20
|
+
width: 16,
|
|
21
|
+
height: 16,
|
|
22
|
+
viewBox: "0 0 16 16"
|
|
23
|
+
}, props), React.createElement("path", {
|
|
24
|
+
fill: vars.bdlGray50,
|
|
25
|
+
d: "M11.503 1a.496.496 0 01.447.712L9.302 6.998h2.193a.5.5 0 01.423.766L6.91 14.792a.5.5 0 01-.902-.365L6.836 9H4.493a.496.496 0 01-.483-.602l1.516-7A.495.495 0 016.008 1h5.495z"
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default LightningBolt16;
|
|
30
|
+
//# sourceMappingURL=LightningBolt16.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// @flow
|
|
2
|
+
/* eslint-disable react/jsx-sort-props */
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as vars from '../../styles/variables';
|
|
5
|
+
import AccessibleSVG from '../../icons/accessible-svg';
|
|
6
|
+
import type { Icon } from '../../icons/flowTypes';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* This is an auto-generated component and should not be edited
|
|
10
|
+
* manually in contributor pull requests.
|
|
11
|
+
*
|
|
12
|
+
* If you have problems with this component:
|
|
13
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
|
|
14
|
+
*
|
|
15
|
+
* If there are missing features in this component:
|
|
16
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
const LightningBolt16 = (props: Icon) => (
|
|
20
|
+
<AccessibleSVG width={16} height={16} viewBox="0 0 16 16" {...props}>
|
|
21
|
+
<path
|
|
22
|
+
fill={vars.bdlGray50}
|
|
23
|
+
d="M11.503 1a.496.496 0 01.447.712L9.302 6.998h2.193a.5.5 0 01.423.766L6.91 14.792a.5.5 0 01-.902-.365L6.836 9H4.493a.496.496 0 01-.483-.602l1.516-7A.495.495 0 016.008 1h5.495z"
|
|
24
|
+
/>
|
|
25
|
+
</AccessibleSVG>
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
export default LightningBolt16;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/icon/fill/LightningBolt16.tsx"],"names":["React","vars","AccessibleSVG","LightningBolt16","props","bdlGray50"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,eAAe,GAAG,SAAlBA,eAAkB,CAACC,KAAD;AAAA,SACpB,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AACI,IAAA,IAAI,EAAEH,IAAI,CAACI,SADf;AAEI,IAAA,CAAC,EAAC;AAFN,IADJ,CADoB;AAAA,CAAxB;;AASA,eAAeF,eAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst LightningBolt16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path\n fill={vars.bdlGray50}\n d=\"M11.503 1a.496.496 0 01.447.712L9.302 6.998h2.193a.5.5 0 01.423.766L6.91 14.792a.5.5 0 01-.902-.365L6.836 9H4.493a.496.496 0 01-.483-.602l1.516-7A.495.495 0 016.008 1h5.495z\"\n />\n </AccessibleSVG>\n);\n\nexport default LightningBolt16;\n"],"file":"LightningBolt16.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import LightningBolt16 from './LightningBolt16';
|
|
3
|
+
export var lightningBolt16 = function lightningBolt16() {
|
|
4
|
+
return React.createElement(LightningBolt16, null);
|
|
5
|
+
};
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Icon|Fill|LightningBolt16',
|
|
8
|
+
component: LightningBolt16,
|
|
9
|
+
parameters: {
|
|
10
|
+
notes: "`import LightningBolt16 from 'box-ui-elements/es/icon/fill/LightningBolt16';`"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=LightningBolt16.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/icon/fill/LightningBolt16.stories.tsx"],"names":["React","LightningBolt16","lightningBolt16","title","component","parameters","notes"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,eAAP,MAA4B,mBAA5B;AAEA,OAAO,IAAMC,eAAe,GAAG,SAAlBA,eAAkB;AAAA,SAAM,oBAAC,eAAD,OAAN;AAAA,CAAxB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,2BADI;AAEXC,EAAAA,SAAS,EAAEH,eAFA;AAGXI,EAAAA,UAAU,EAAE;AACRC,IAAAA,KAAK,EAAE;AADC;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport LightningBolt16 from './LightningBolt16';\n\nexport const lightningBolt16 = () => <LightningBolt16 />;\n\nexport default {\n title: 'Icon|Fill|LightningBolt16',\n component: LightningBolt16,\n parameters: {\n notes: \"`import LightningBolt16 from 'box-ui-elements/es/icon/fill/LightningBolt16';`\",\n },\n};\n"],"file":"LightningBolt16.stories.js"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
|
|
3
|
+
/* eslint-disable react/jsx-sort-props */
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import * as vars from '../../styles/variables';
|
|
6
|
+
import AccessibleSVG from '../../components/accessible-svg/AccessibleSVG';
|
|
7
|
+
/**
|
|
8
|
+
* This is an auto-generated component and should not be edited
|
|
9
|
+
* manually in contributor pull requests.
|
|
10
|
+
*
|
|
11
|
+
* If you have problems with this component:
|
|
12
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
|
|
13
|
+
*
|
|
14
|
+
* If there are missing features in this component:
|
|
15
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
var GenericCopy16 = function GenericCopy16(props) {
|
|
19
|
+
return React.createElement(AccessibleSVG, _extends({
|
|
20
|
+
width: 16,
|
|
21
|
+
height: 16,
|
|
22
|
+
viewBox: "0 0 16 16"
|
|
23
|
+
}, props), React.createElement("path", {
|
|
24
|
+
fill: vars.bdlGray,
|
|
25
|
+
d: "M13 3c.557 0 .942.345.994.875L14 4v11H4V3h9zm0 1H5v10h8V4zm-2-3v1H3v10H2V1h9z"
|
|
26
|
+
}));
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default GenericCopy16;
|
|
30
|
+
//# sourceMappingURL=GenericCopy16.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @flow
|
|
2
|
+
/* eslint-disable react/jsx-sort-props */
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import * as vars from '../../styles/variables';
|
|
5
|
+
import AccessibleSVG from '../../icons/accessible-svg';
|
|
6
|
+
import type { Icon } from '../../icons/flowTypes';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* This is an auto-generated component and should not be edited
|
|
10
|
+
* manually in contributor pull requests.
|
|
11
|
+
*
|
|
12
|
+
* If you have problems with this component:
|
|
13
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
|
|
14
|
+
*
|
|
15
|
+
* If there are missing features in this component:
|
|
16
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
const GenericCopy16 = (props: Icon) => (
|
|
20
|
+
<AccessibleSVG width={16} height={16} viewBox="0 0 16 16" {...props}>
|
|
21
|
+
<path fill={vars.bdlGray} d="M13 3c.557 0 .942.345.994.875L14 4v11H4V3h9zm0 1H5v10h8V4zm-2-3v1H3v10H2V1h9z" />
|
|
22
|
+
</AccessibleSVG>
|
|
23
|
+
);
|
|
24
|
+
|
|
25
|
+
export default GenericCopy16;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/icon/line/GenericCopy16.tsx"],"names":["React","vars","AccessibleSVG","GenericCopy16","props","bdlGray"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AACA,OAAO,KAAKC,IAAZ,MAAsB,wBAAtB;AACA,OAAOC,aAAP,MAAwC,+CAAxC;AAEA;;;;;;;;;;;AAWA,IAAMC,aAAa,GAAG,SAAhBA,aAAgB,CAACC,KAAD;AAAA,SAClB,oBAAC,aAAD;AAAe,IAAA,KAAK,EAAE,EAAtB;AAA0B,IAAA,MAAM,EAAE,EAAlC;AAAsC,IAAA,OAAO,EAAC;AAA9C,KAA8DA,KAA9D,GACI;AAAM,IAAA,IAAI,EAAEH,IAAI,CAACI,OAAjB;AAA0B,IAAA,CAAC,EAAC;AAA5B,IADJ,CADkB;AAAA,CAAtB;;AAMA,eAAeF,aAAf","sourcesContent":["/* eslint-disable react/jsx-sort-props */\nimport * as React from 'react';\nimport * as vars from '../../styles/variables';\nimport AccessibleSVG, { SVGProps } from '../../components/accessible-svg/AccessibleSVG';\n\n/**\n * This is an auto-generated component and should not be edited\n * manually in contributor pull requests.\n *\n * If you have problems with this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md\n *\n * If there are missing features in this component:\n * - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md\n */\n\nconst GenericCopy16 = (props: SVGProps) => (\n <AccessibleSVG width={16} height={16} viewBox=\"0 0 16 16\" {...props}>\n <path fill={vars.bdlGray} d=\"M13 3c.557 0 .942.345.994.875L14 4v11H4V3h9zm0 1H5v10h8V4zm-2-3v1H3v10H2V1h9z\" />\n </AccessibleSVG>\n);\n\nexport default GenericCopy16;\n"],"file":"GenericCopy16.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import GenericCopy16 from './GenericCopy16';
|
|
3
|
+
export var genericCopy16 = function genericCopy16() {
|
|
4
|
+
return React.createElement(GenericCopy16, null);
|
|
5
|
+
};
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Icon|Line|GenericCopy16',
|
|
8
|
+
component: GenericCopy16,
|
|
9
|
+
parameters: {
|
|
10
|
+
notes: "`import GenericCopy16 from 'box-ui-elements/es/icon/line/GenericCopy16';`"
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=GenericCopy16.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/icon/line/GenericCopy16.stories.tsx"],"names":["React","GenericCopy16","genericCopy16","title","component","parameters","notes"],"mappings":"AAAA,OAAO,KAAKA,KAAZ,MAAuB,OAAvB;AAEA,OAAOC,aAAP,MAA0B,iBAA1B;AAEA,OAAO,IAAMC,aAAa,GAAG,SAAhBA,aAAgB;AAAA,SAAM,oBAAC,aAAD,OAAN;AAAA,CAAtB;AAEP,eAAe;AACXC,EAAAA,KAAK,EAAE,yBADI;AAEXC,EAAAA,SAAS,EAAEH,aAFA;AAGXI,EAAAA,UAAU,EAAE;AACRC,IAAAA,KAAK,EAAE;AADC;AAHD,CAAf","sourcesContent":["import * as React from 'react';\n\nimport GenericCopy16 from './GenericCopy16';\n\nexport const genericCopy16 = () => <GenericCopy16 />;\n\nexport default {\n title: 'Icon|Line|GenericCopy16',\n component: GenericCopy16,\n parameters: {\n notes: \"`import GenericCopy16 from 'box-ui-elements/es/icon/line/GenericCopy16';`\",\n },\n};\n"],"file":"GenericCopy16.stories.js"}
|
|
@@ -9,6 +9,8 @@ export interface ButtonProps {
|
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
/** Custom class for the button */
|
|
11
11
|
className: string;
|
|
12
|
+
/** icon component, can be paired with children (text) or on its own */
|
|
13
|
+
icon?: React.ReactElement;
|
|
12
14
|
/** whether the button is disabled or not */
|
|
13
15
|
isDisabled?: boolean;
|
|
14
16
|
/** whether the button is loading or not */
|
|
@@ -19,6 +21,8 @@ export interface ButtonProps {
|
|
|
19
21
|
onClick?: Function;
|
|
20
22
|
/** to set buttons inner ref */
|
|
21
23
|
setRef?: Function;
|
|
24
|
+
/** size of the button */
|
|
25
|
+
size?: 'large';
|
|
22
26
|
/** whether to show a radar */
|
|
23
27
|
showRadar: boolean;
|
|
24
28
|
/** type for the button */
|
|
@@ -3,6 +3,10 @@ export declare const regular: () => JSX.Element;
|
|
|
3
3
|
export declare const loading: () => JSX.Element;
|
|
4
4
|
export declare const disabled: () => JSX.Element;
|
|
5
5
|
export declare const withRadar: () => JSX.Element;
|
|
6
|
+
export declare const large: () => JSX.Element;
|
|
7
|
+
export declare const iconButton: () => JSX.Element;
|
|
8
|
+
export declare const iconAndTextButton: () => JSX.Element;
|
|
9
|
+
export declare const fixingMargins: () => JSX.Element;
|
|
6
10
|
declare const _default: {
|
|
7
11
|
title: string;
|
|
8
12
|
component: typeof Button;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -8,10 +8,12 @@ declare type Props = TooltipProps & {
|
|
|
8
8
|
title?: React.ReactNode;
|
|
9
9
|
/** 32px x 32px */
|
|
10
10
|
icon?: React.ReactNode;
|
|
11
|
+
/** A React component representing the image */
|
|
12
|
+
image?: React.ReactNode;
|
|
11
13
|
/** displays guide progress e.g. 1 of 4 */
|
|
12
14
|
steps?: [number, number];
|
|
13
15
|
primaryButtonProps?: JSX.LibraryManagedAttributes<typeof Button, Button['props']>;
|
|
14
16
|
secondaryButtonProps?: JSX.LibraryManagedAttributes<typeof Button, Button['props']>;
|
|
15
17
|
};
|
|
16
|
-
declare function GuideTooltip({ body, children, className, icon, isShown, primaryButtonProps, steps, secondaryButtonProps, showCloseButton, title, ...rest }: Props): JSX.Element;
|
|
18
|
+
declare function GuideTooltip({ body, children, className, icon, image, isShown, primaryButtonProps, steps, secondaryButtonProps, showCloseButton, title, ...rest }: Props): JSX.Element;
|
|
17
19
|
export default GuideTooltip;
|
|
@@ -3,6 +3,7 @@ import { LinkBaseProps } from './LinkBase';
|
|
|
3
3
|
export interface LinkButtonProps extends LinkBaseProps {
|
|
4
4
|
children: React.ReactChild;
|
|
5
5
|
className?: string;
|
|
6
|
+
size?: 'large';
|
|
6
7
|
}
|
|
7
|
-
declare const LinkButton: ({ className, ...rest }: LinkButtonProps) => JSX.Element;
|
|
8
|
+
declare const LinkButton: ({ className, size, ...rest }: LinkButtonProps) => JSX.Element;
|
|
8
9
|
export default LinkButton;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export interface LinkPrimaryButtonProps extends LinkBaseProps {
|
|
4
|
-
children: React.ReactChild;
|
|
1
|
+
import { LinkButtonProps } from './LinkButton';
|
|
2
|
+
export interface LinkPrimaryButtonProps extends LinkButtonProps {
|
|
5
3
|
className?: string;
|
|
6
4
|
}
|
|
7
5
|
declare const LinkPrimaryButton: ({ className, ...rest }: LinkPrimaryButtonProps) => JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export declare const basic: () => JSX.Element;
|
|
2
|
+
export declare const large: () => JSX.Element;
|
|
2
3
|
export declare const withCustomComponent: () => JSX.Element;
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
|
-
component: ({ className, ...rest }: import("../LinkButton").LinkButtonProps) => JSX.Element;
|
|
6
|
+
component: ({ className, size, ...rest }: import("../LinkButton").LinkButtonProps) => JSX.Element;
|
|
6
7
|
parameters: {
|
|
7
8
|
notes: string;
|
|
8
9
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const regular: () => JSX.Element;
|
|
2
2
|
export declare const disabled: () => JSX.Element;
|
|
3
|
+
export declare const fixingMargins: () => JSX.Element;
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
component: ({ children, className, getDOMRef, isDisabled, type, ...rest }: import("./PlainButton").PlainButtonProps) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SVGProps } from '../../components/accessible-svg/AccessibleSVG';
|
|
2
|
+
/**
|
|
3
|
+
* This is an auto-generated component and should not be edited
|
|
4
|
+
* manually in contributor pull requests.
|
|
5
|
+
*
|
|
6
|
+
* If you have problems with this component:
|
|
7
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
|
|
8
|
+
*
|
|
9
|
+
* If there are missing features in this component:
|
|
10
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
|
|
11
|
+
*/
|
|
12
|
+
declare const LightningBolt16: (props: SVGProps) => JSX.Element;
|
|
13
|
+
export default LightningBolt16;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const lightningBolt16: () => JSX.Element;
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("../../components/accessible-svg/AccessibleSVG").SVGProps) => JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
notes: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { SVGProps } from '../../components/accessible-svg/AccessibleSVG';
|
|
2
|
+
/**
|
|
3
|
+
* This is an auto-generated component and should not be edited
|
|
4
|
+
* manually in contributor pull requests.
|
|
5
|
+
*
|
|
6
|
+
* If you have problems with this component:
|
|
7
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Bug_report.md
|
|
8
|
+
*
|
|
9
|
+
* If there are missing features in this component:
|
|
10
|
+
* - https://github.com/box/box-ui-elements/issues/new?template=Feature_request.md
|
|
11
|
+
*/
|
|
12
|
+
declare const GenericCopy16: (props: SVGProps) => JSX.Element;
|
|
13
|
+
export default GenericCopy16;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const genericCopy16: () => JSX.Element;
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: (props: import("../../components/accessible-svg/AccessibleSVG").SVGProps) => JSX.Element;
|
|
5
|
+
parameters: {
|
|
6
|
+
notes: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -85,8 +85,16 @@ export declare const notificationsWrapperZIndex = "180";
|
|
|
85
85
|
export declare const overlayZIndex = "190";
|
|
86
86
|
export declare const tooltipZIndex = "190";
|
|
87
87
|
export declare const bdlBorderRadiusSize = "4px";
|
|
88
|
-
export declare const
|
|
88
|
+
export declare const bdlBorderRadiusSizeMed = "6px";
|
|
89
|
+
export declare const bdlBorderRadiusSizeLarge = "8px";
|
|
90
|
+
export declare const bdlBorderRadiusSizeXlarge = "12px";
|
|
89
91
|
export declare const bdlGridUnit = "4px";
|
|
90
92
|
export declare const bdlGridUnitPx = "4";
|
|
93
|
+
export declare const bdlBtnBorderWidth = "1px";
|
|
94
|
+
export declare const bdlBtnHeight = "32px";
|
|
95
|
+
export declare const bdlBtnHeightLarge = "40px";
|
|
96
|
+
export declare const bdlBtnIconSize = "20px";
|
|
97
|
+
export declare const bdlBtnTextIconSize = "16px";
|
|
98
|
+
export declare const bdlBtnPaddingHorizontal = "16px";
|
|
91
99
|
export declare const bdlTransitionDurationBase = "0.15s";
|
|
92
100
|
export declare const bdlTimingFunction: string[];
|
package/es/styles/_inputs.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
padding: 7px;
|
|
5
5
|
color: $bdl-gray;
|
|
6
6
|
border: 1px solid $bdl-gray-20;
|
|
7
|
-
border-radius:
|
|
7
|
+
border-radius: $bdl-border-radius-size-med;
|
|
8
8
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .1);
|
|
9
9
|
transition: border-color linear .15s, box-shadow linear .1s;
|
|
10
10
|
-webkit-font-smoothing: antialiased;
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
@import './constants/animation';
|
|
5
5
|
@import './constants/typography';
|
|
6
6
|
@import './constants/themes';
|
|
7
|
+
@import './constants/buttons';
|
|
7
8
|
@import './deprecated'; // <<< Deprecated
|
|
8
9
|
|
|
9
10
|
// Mixins
|
|
10
11
|
@import './mixins/animation';
|
|
11
12
|
@import './mixins/layout';
|
|
12
13
|
@import './mixins/typography';
|
|
14
|
+
@import './mixins/buttons';
|
|
@@ -1,17 +1,24 @@
|
|
|
1
|
+
@import '../constants/typography';
|
|
2
|
+
@import '../constants/layout';
|
|
3
|
+
@import '../constants/buttons';
|
|
4
|
+
@import '../mixins/buttons';
|
|
5
|
+
|
|
1
6
|
/**************************************
|
|
2
7
|
* Buttons
|
|
3
8
|
**************************************/
|
|
4
9
|
|
|
5
10
|
.btn {
|
|
11
|
+
$bdl-btn-padding-vertical: 10px; // @deprecated Use flexbox or line-height instead in future implementation
|
|
12
|
+
|
|
6
13
|
position: relative;
|
|
7
14
|
display: inline-block;
|
|
8
15
|
box-sizing: border-box;
|
|
9
|
-
margin: 5px;
|
|
10
|
-
padding:
|
|
16
|
+
margin: 5px; // This causes problems for composition (breaking change needed to fix)
|
|
17
|
+
padding: $bdl-btn-padding-vertical $bdl-btn-padding-horizontal;
|
|
11
18
|
color: $bdl-gray-80;
|
|
12
|
-
font-weight:
|
|
13
|
-
font-size:
|
|
14
|
-
line-height:
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
font-size: $bdl-fontSize;
|
|
21
|
+
line-height: $bdl-btn-height - 2 * $bdl-btn-border-width - 2 * $bdl-btn-padding-vertical;
|
|
15
22
|
letter-spacing: .035em;
|
|
16
23
|
white-space: nowrap;
|
|
17
24
|
text-align: center;
|
|
@@ -19,10 +26,10 @@
|
|
|
19
26
|
text-shadow: none;
|
|
20
27
|
vertical-align: top;
|
|
21
28
|
background-color: $white;
|
|
22
|
-
border:
|
|
29
|
+
border-color: $bdl-gray-30;
|
|
23
30
|
border-style: solid;
|
|
24
|
-
border-width:
|
|
25
|
-
border-radius:
|
|
31
|
+
border-width: $bdl-btn-border-width;
|
|
32
|
+
border-radius: $bdl-border-radius-size-med;
|
|
26
33
|
cursor: pointer;
|
|
27
34
|
-webkit-transition: border-color linear .15s, box-shadow linear .15s, background-color linear .15s;
|
|
28
35
|
transition: background-color .05s ease-in-out, border-color .05s ease-in-out;
|
|
@@ -30,6 +37,45 @@
|
|
|
30
37
|
zoom: 1;
|
|
31
38
|
-webkit-font-smoothing: antialiased;
|
|
32
39
|
|
|
40
|
+
&.bdl-btn--large {
|
|
41
|
+
@include bdl-Button--large;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.bdl-has-icon {
|
|
45
|
+
// Buttons with icons use flexbox to align content instead of line-height/padding
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
height: $bdl-btn-height;
|
|
50
|
+
padding: 0; // Content provides padding
|
|
51
|
+
line-height: 0;
|
|
52
|
+
|
|
53
|
+
.btn-content {
|
|
54
|
+
margin-left: $bdl-btn-padding-horizontal;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.bdl-btn-icon {
|
|
58
|
+
// Icon without text:
|
|
59
|
+
margin: ($bdl-btn-height - $bdl-btn-icon-size) / 2 - $bdl-btn-border-width;
|
|
60
|
+
|
|
61
|
+
// Icon with text:
|
|
62
|
+
& + .btn-content {
|
|
63
|
+
// Buttons with icons have a smaller margin on the icon side for optical alignment:
|
|
64
|
+
margin-right: $bdl-grid-unit * 3;
|
|
65
|
+
// Spacing between button and text:
|
|
66
|
+
margin-left: $bdl-grid-unit * 2;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&.bdl-btn--large {
|
|
71
|
+
height: $bdl-btn-height-large;
|
|
72
|
+
|
|
73
|
+
.bdl-btn-icon {
|
|
74
|
+
margin: ($bdl-btn-height-large - $bdl-btn-icon-size) / 2 - $bdl-btn-border-width;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
33
79
|
&:active,
|
|
34
80
|
&:hover,
|
|
35
81
|
&:focus {
|
|
@@ -62,7 +108,8 @@
|
|
|
62
108
|
}
|
|
63
109
|
|
|
64
110
|
&.is-loading {
|
|
65
|
-
.btn-content
|
|
111
|
+
.btn-content,
|
|
112
|
+
.bdl-btn-icon {
|
|
66
113
|
visibility: hidden;
|
|
67
114
|
}
|
|
68
115
|
|
|
@@ -85,6 +132,8 @@
|
|
|
85
132
|
}
|
|
86
133
|
}
|
|
87
134
|
|
|
135
|
+
// TODO: :hover/:active should inherit styles instead of specifying
|
|
136
|
+
// This would be a breaking change to fix
|
|
88
137
|
.btn-plain,
|
|
89
138
|
.btn-plain:hover,
|
|
90
139
|
.btn-plain:active {
|
|
@@ -122,7 +171,7 @@ button svg {
|
|
|
122
171
|
&:not(.is-disabled) {
|
|
123
172
|
&:focus {
|
|
124
173
|
background-color: lighten($primary-color, 8%);
|
|
125
|
-
border:
|
|
174
|
+
border: $bdl-btn-border-width solid $primary-color;
|
|
126
175
|
box-shadow: inset 0 0 0 1px fade-out($white, .2), 0 1px 2px fade-out($black, .9);
|
|
127
176
|
}
|
|
128
177
|
|
|
@@ -139,7 +188,8 @@ button svg {
|
|
|
139
188
|
}
|
|
140
189
|
|
|
141
190
|
&.is-loading {
|
|
142
|
-
.btn-content
|
|
191
|
+
.btn-content,
|
|
192
|
+
.bdl-btn-icon {
|
|
143
193
|
background-color: $bdl-gray-30;
|
|
144
194
|
}
|
|
145
195
|
}
|
|
@@ -210,7 +210,7 @@ textarea {
|
|
|
210
210
|
.select-container .select-button {
|
|
211
211
|
background-color: $white;
|
|
212
212
|
border: 1px solid $bdl-gray-20;
|
|
213
|
-
border-radius:
|
|
213
|
+
border-radius: $bdl-border-radius-size-med;
|
|
214
214
|
box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .05);
|
|
215
215
|
-webkit-transition: border-color linear .15s, box-shadow linear .1s;
|
|
216
216
|
transition: border-color linear .15s, box-shadow linear .1s;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import '../variables';
|
|
2
|
+
|
|
1
3
|
/**************************************
|
|
2
4
|
* Inline Notifications
|
|
3
5
|
**************************************/
|
|
@@ -7,7 +9,7 @@
|
|
|
7
9
|
margin: 10px 0;
|
|
8
10
|
padding: 14px 10px;
|
|
9
11
|
color: $bdl-gray;
|
|
10
|
-
border-radius:
|
|
12
|
+
border-radius: $bdl-border-radius-size-med;
|
|
11
13
|
|
|
12
14
|
&.inline-alert-visible {
|
|
13
15
|
display: block;
|
|
@@ -7,7 +7,9 @@ $tooltip-z-index: 190 !default;
|
|
|
7
7
|
|
|
8
8
|
// Borders
|
|
9
9
|
$bdl-border-radius-size: 4px;
|
|
10
|
-
$bdl-border-radius-
|
|
10
|
+
$bdl-border-radius-size-med: $bdl-border-radius-size * 1.5;
|
|
11
|
+
$bdl-border-radius-size-large: $bdl-border-radius-size * 2;
|
|
12
|
+
$bdl-border-radius-size-xlarge: $bdl-border-radius-size * 3;
|
|
11
13
|
|
|
12
14
|
// Spacing
|
|
13
15
|
$bdl-grid-unit: 4px !default;
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
$bdl-line-height: 20px;
|
|
2
2
|
|
|
3
|
-
//
|
|
3
|
+
// Font sizes
|
|
4
4
|
$bdl-fontSize: 13px;
|
|
5
5
|
$bdl-fontSize-minimum: 11px;
|
|
6
6
|
$bdl-fontSize--dejaBlue: 14px;
|
|
7
|
+
|
|
8
|
+
// "--dejaBlue" size will become default at some point
|
|
9
|
+
// Migration Steps:
|
|
10
|
+
// 1. New or restyled code should use --dejaBlue variable
|
|
11
|
+
// 2. Find any hardcoded font sizes and change to use variables
|
|
12
|
+
// 3. Once most components are DJB styled, change bdl-fontSize to 14px
|
|
13
|
+
// 4. Fix any issues with components due to change of base variable
|
|
14
|
+
// 5. Replace all references to $bdl-fontSize--dejaBlue with $bdl-fontSize and delete --dejaBlue
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
@import '../constants/buttons';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Mixin for PlainButton to handle overriding margins for the hover/active states.
|
|
5
|
+
*/
|
|
1
6
|
@mixin bdl-Button-margins($margin) {
|
|
2
7
|
margin: $margin;
|
|
3
8
|
|
|
@@ -6,3 +11,13 @@
|
|
|
6
11
|
margin: $margin;
|
|
7
12
|
}
|
|
8
13
|
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Mixin to create large buttons. Should not often be needed directly,
|
|
17
|
+
* use the size="large" prop on the Button component instead.
|
|
18
|
+
*/
|
|
19
|
+
@mixin bdl-Button--large {
|
|
20
|
+
padding: 0 $bdl-btn-padding-horizontal;
|
|
21
|
+
font-size: $bdl-fontSize--dejaBlue;
|
|
22
|
+
line-height: $bdl-btn-height-large - 2 * $bdl-btn-border-width;
|
|
23
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
@mixin bdl-Overlay-listItemContainer {
|
|
9
9
|
padding: ($bdl-grid-unit * 2) ($bdl-grid-unit * 12) ($bdl-grid-unit * 2) ($bdl-grid-unit * 2);
|
|
10
|
-
border-radius: $bdl-border-radius-size
|
|
10
|
+
border-radius: $bdl-border-radius-size-large;
|
|
11
11
|
cursor: pointer;
|
|
12
12
|
|
|
13
13
|
&.is-active {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
padding: $bdl-grid-unit * 3;
|
|
30
30
|
background-color: $white;
|
|
31
31
|
border: 1px solid $bdl-gray-10;
|
|
32
|
-
border-radius: $bdl-border-radius-size
|
|
32
|
+
border-radius: $bdl-border-radius-size-large;
|
|
33
33
|
|
|
34
34
|
@include bdl-Overlay-containerShadow;
|
|
35
35
|
}
|
package/es/styles/variables.js
CHANGED
|
@@ -173,12 +173,28 @@ export var tooltipZIndex = '190'; // tooltip-z-index
|
|
|
173
173
|
|
|
174
174
|
export var bdlBorderRadiusSize = '4px'; // bdl-border-radius-size
|
|
175
175
|
|
|
176
|
-
export var
|
|
176
|
+
export var bdlBorderRadiusSizeMed = '6px'; // bdl-border-radius-size-med
|
|
177
|
+
|
|
178
|
+
export var bdlBorderRadiusSizeLarge = '8px'; // bdl-border-radius-size-large
|
|
179
|
+
|
|
180
|
+
export var bdlBorderRadiusSizeXlarge = '12px'; // bdl-border-radius-size-xlarge
|
|
177
181
|
|
|
178
182
|
export var bdlGridUnit = '4px'; // bdl-grid-unit
|
|
179
183
|
|
|
180
184
|
export var bdlGridUnitPx = '4'; // bdl-grid-unit-px
|
|
181
185
|
|
|
186
|
+
export var bdlBtnBorderWidth = '1px'; // bdl-btn-border-width
|
|
187
|
+
|
|
188
|
+
export var bdlBtnHeight = '32px'; // bdl-btn-height
|
|
189
|
+
|
|
190
|
+
export var bdlBtnHeightLarge = '40px'; // bdl-btn-height-large
|
|
191
|
+
|
|
192
|
+
export var bdlBtnIconSize = '20px'; // bdl-btn-icon-size
|
|
193
|
+
|
|
194
|
+
export var bdlBtnTextIconSize = '16px'; // bdl-btn-text-icon-size
|
|
195
|
+
|
|
196
|
+
export var bdlBtnPaddingHorizontal = '16px'; // bdl-btn-padding-horizontal
|
|
197
|
+
|
|
182
198
|
export var bdlTransitionDurationBase = '0.15s'; // bdl-transitionDurationBase
|
|
183
199
|
|
|
184
200
|
export var bdlTimingFunction = ['cubic-bezier(0', '0', '0.6', '1)']; // bdl-timingFunction
|