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
|
@@ -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/src/styles/variables.js
CHANGED
|
@@ -89,8 +89,16 @@ export const notificationsWrapperZIndex = "180"; // notifications-wrapper-z-inde
|
|
|
89
89
|
export const overlayZIndex = "190"; // overlay-z-index
|
|
90
90
|
export const tooltipZIndex = "190"; // tooltip-z-index
|
|
91
91
|
export const bdlBorderRadiusSize = "4px"; // bdl-border-radius-size
|
|
92
|
-
export const
|
|
92
|
+
export const bdlBorderRadiusSizeMed = "6px"; // bdl-border-radius-size-med
|
|
93
|
+
export const bdlBorderRadiusSizeLarge = "8px"; // bdl-border-radius-size-large
|
|
94
|
+
export const bdlBorderRadiusSizeXlarge = "12px"; // bdl-border-radius-size-xlarge
|
|
93
95
|
export const bdlGridUnit = "4px"; // bdl-grid-unit
|
|
94
96
|
export const bdlGridUnitPx = "4"; // bdl-grid-unit-px
|
|
97
|
+
export const bdlBtnBorderWidth = "1px"; // bdl-btn-border-width
|
|
98
|
+
export const bdlBtnHeight = "32px"; // bdl-btn-height
|
|
99
|
+
export const bdlBtnHeightLarge = "40px"; // bdl-btn-height-large
|
|
100
|
+
export const bdlBtnIconSize = "20px"; // bdl-btn-icon-size
|
|
101
|
+
export const bdlBtnTextIconSize = "16px"; // bdl-btn-text-icon-size
|
|
102
|
+
export const bdlBtnPaddingHorizontal = "16px"; // bdl-btn-padding-horizontal
|
|
95
103
|
export const bdlTransitionDurationBase = "0.15s"; // bdl-transitionDurationBase
|
|
96
104
|
export const bdlTimingFunction = ["cubic-bezier(0","0","0.6","1)"]; // bdl-timingFunction
|
|
@@ -96,9 +96,17 @@
|
|
|
96
96
|
"overlay-z-index": "190",
|
|
97
97
|
"tooltip-z-index": "190",
|
|
98
98
|
"bdl-border-radius-size": "4px",
|
|
99
|
-
"bdl-border-radius-
|
|
99
|
+
"bdl-border-radius-size-med": "6px",
|
|
100
|
+
"bdl-border-radius-size-large": "8px",
|
|
101
|
+
"bdl-border-radius-size-xlarge": "12px",
|
|
100
102
|
"bdl-grid-unit": "4px",
|
|
101
103
|
"bdl-grid-unit-px": "4",
|
|
104
|
+
"bdl-btn-border-width": "1px",
|
|
105
|
+
"bdl-btn-height": "32px",
|
|
106
|
+
"bdl-btn-height-large": "40px",
|
|
107
|
+
"bdl-btn-icon-size": "20px",
|
|
108
|
+
"bdl-btn-text-icon-size": "16px",
|
|
109
|
+
"bdl-btn-padding-horizontal": "16px",
|
|
102
110
|
"bdl-transitionDurationBase": "0.15s",
|
|
103
111
|
"bdl-timingFunction": ["cubic-bezier(0", "0", "0.6", "1)"]
|
|
104
112
|
}
|
package/src/styles/variables.ts
CHANGED
|
@@ -96,8 +96,16 @@ export const notificationsWrapperZIndex = '180'; // notifications-wrapper-z-inde
|
|
|
96
96
|
export const overlayZIndex = '190'; // overlay-z-index
|
|
97
97
|
export const tooltipZIndex = '190'; // tooltip-z-index
|
|
98
98
|
export const bdlBorderRadiusSize = '4px'; // bdl-border-radius-size
|
|
99
|
-
export const
|
|
99
|
+
export const bdlBorderRadiusSizeMed = '6px'; // bdl-border-radius-size-med
|
|
100
|
+
export const bdlBorderRadiusSizeLarge = '8px'; // bdl-border-radius-size-large
|
|
101
|
+
export const bdlBorderRadiusSizeXlarge = '12px'; // bdl-border-radius-size-xlarge
|
|
100
102
|
export const bdlGridUnit = '4px'; // bdl-grid-unit
|
|
101
103
|
export const bdlGridUnitPx = '4'; // bdl-grid-unit-px
|
|
104
|
+
export const bdlBtnBorderWidth = '1px'; // bdl-btn-border-width
|
|
105
|
+
export const bdlBtnHeight = '32px'; // bdl-btn-height
|
|
106
|
+
export const bdlBtnHeightLarge = '40px'; // bdl-btn-height-large
|
|
107
|
+
export const bdlBtnIconSize = '20px'; // bdl-btn-icon-size
|
|
108
|
+
export const bdlBtnTextIconSize = '16px'; // bdl-btn-text-icon-size
|
|
109
|
+
export const bdlBtnPaddingHorizontal = '16px'; // bdl-btn-padding-horizontal
|
|
102
110
|
export const bdlTransitionDurationBase = '0.15s'; // bdl-transitionDurationBase
|
|
103
111
|
export const bdlTimingFunction = ['cubic-bezier(0', '0', '0.6', '1)']; // bdl-timingFunction
|
|
@@ -24,7 +24,7 @@ const Swatch = styled.div`
|
|
|
24
24
|
border: 1px solid ${vars.bdlGray30};
|
|
25
25
|
height: 1em;
|
|
26
26
|
width: 1em;
|
|
27
|
-
border-radius:
|
|
27
|
+
border-radius: ${vars.bdlBorderRadiusSize};
|
|
28
28
|
`;
|
|
29
29
|
|
|
30
30
|
const BaseButton = styled(BoxButton)`
|
|
@@ -33,7 +33,7 @@ const BaseButton = styled(BoxButton)`
|
|
|
33
33
|
color: ${props => props.theme.base.buttonForeground};
|
|
34
34
|
|
|
35
35
|
font-weight: bold;
|
|
36
|
-
border-radius:
|
|
36
|
+
border-radius: ${vars.bdlBorderRadiusSizeMed};
|
|
37
37
|
font-size: ${vars.bdlFontSizeDejaBlue};
|
|
38
38
|
|
|
39
39
|
.btn:not(.is-disabled)&:hover {
|
|
@@ -52,7 +52,7 @@ const PrimaryButton = styled(BoxButton)`
|
|
|
52
52
|
color: ${props => props.theme.primary.buttonForeground};
|
|
53
53
|
|
|
54
54
|
font-weight: bold;
|
|
55
|
-
border-radius:
|
|
55
|
+
border-radius: ${vars.bdlBorderRadiusSizeMed};
|
|
56
56
|
font-size: ${vars.bdlFontSizeDejaBlue};
|
|
57
57
|
|
|
58
58
|
.btn:not(.is-disabled)&:hover {
|
|
@@ -69,7 +69,7 @@ const ThemeDemo = styled.div`
|
|
|
69
69
|
width: 200px;
|
|
70
70
|
min-height: 500px;
|
|
71
71
|
padding: 8px;
|
|
72
|
-
border-radius:
|
|
72
|
+
border-radius: ${vars.bdlBorderRadiusSize};
|
|
73
73
|
display: flex;
|
|
74
74
|
flex-direction: column;
|
|
75
75
|
color: ${p => p.theme.primary.foreground};
|
|
@@ -82,7 +82,7 @@ const ThemeDemoMenuItem = styled.div`
|
|
|
82
82
|
cursor: pointer;
|
|
83
83
|
padding: 8px 12px;
|
|
84
84
|
margin: 2px 4px;
|
|
85
|
-
border-radius:
|
|
85
|
+
border-radius: ${vars.bdlBorderRadiusSizeLarge};
|
|
86
86
|
font-weight: bold;
|
|
87
87
|
transition: 0.15s;
|
|
88
88
|
border: 1px solid;
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`components/guide-tooltip/GuideTooltip should render with all options 1`] = `
|
|
4
|
-
<Tooltip
|
|
5
|
-
className="bdl-GuideTooltip "
|
|
6
|
-
constrainToScrollParent={false}
|
|
7
|
-
constrainToWindow={true}
|
|
8
|
-
isDisabled={false}
|
|
9
|
-
isShown={true}
|
|
10
|
-
position="top-center"
|
|
11
|
-
showCloseButton={true}
|
|
12
|
-
text={
|
|
13
|
-
<React.Fragment>
|
|
14
|
-
<div
|
|
15
|
-
className="bdl-GuideTooltip-icon"
|
|
16
|
-
>
|
|
17
|
-
<FolderShared32 />
|
|
18
|
-
</div>
|
|
19
|
-
<div
|
|
20
|
-
className="bdl-GuideTooltip-right"
|
|
21
|
-
>
|
|
22
|
-
<div
|
|
23
|
-
className="bdl-GuideTooltip-title"
|
|
24
|
-
>
|
|
25
|
-
<div>
|
|
26
|
-
title
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<div
|
|
30
|
-
className="bdl-GuideTooltip-body"
|
|
31
|
-
>
|
|
32
|
-
<div>
|
|
33
|
-
body
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
<div
|
|
37
|
-
className="bdl-GuideTooltip-bottom"
|
|
38
|
-
>
|
|
39
|
-
<div
|
|
40
|
-
className="bdl-GuideTooltip-navigation"
|
|
41
|
-
>
|
|
42
|
-
<Button
|
|
43
|
-
className="bdl-GuideTooltip-previousButton"
|
|
44
|
-
isLoading={false}
|
|
45
|
-
showRadar={false}
|
|
46
|
-
type="submit"
|
|
47
|
-
>
|
|
48
|
-
Previous
|
|
49
|
-
</Button>
|
|
50
|
-
<Button
|
|
51
|
-
className="bdl-GuideTooltip-nextButton"
|
|
52
|
-
isLoading={false}
|
|
53
|
-
showRadar={false}
|
|
54
|
-
type="submit"
|
|
55
|
-
>
|
|
56
|
-
Next
|
|
57
|
-
</Button>
|
|
58
|
-
</div>
|
|
59
|
-
<div
|
|
60
|
-
className="bdl-GuideTooltip-steps"
|
|
61
|
-
>
|
|
62
|
-
<FormattedMessage
|
|
63
|
-
defaultMessage="{currentStepIndex} of {totalNumSteps}"
|
|
64
|
-
id="boxui.core.guidetooltip.navigation"
|
|
65
|
-
values={
|
|
66
|
-
Object {
|
|
67
|
-
"currentStepIndex": 1,
|
|
68
|
-
"totalNumSteps": 3,
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
/>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</React.Fragment>
|
|
76
|
-
}
|
|
77
|
-
theme="callout"
|
|
78
|
-
/>
|
|
79
|
-
`;
|
|
80
|
-
|
|
81
|
-
exports[`components/guide-tooltip/GuideTooltip should render with just body 1`] = `
|
|
82
|
-
<Tooltip
|
|
83
|
-
className="bdl-GuideTooltip "
|
|
84
|
-
constrainToScrollParent={false}
|
|
85
|
-
constrainToWindow={true}
|
|
86
|
-
isDisabled={false}
|
|
87
|
-
isShown={true}
|
|
88
|
-
position="top-center"
|
|
89
|
-
showCloseButton={true}
|
|
90
|
-
text={
|
|
91
|
-
<React.Fragment>
|
|
92
|
-
<div
|
|
93
|
-
className="bdl-GuideTooltip-right"
|
|
94
|
-
>
|
|
95
|
-
<div
|
|
96
|
-
className="bdl-GuideTooltip-body"
|
|
97
|
-
>
|
|
98
|
-
<div>
|
|
99
|
-
body
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
</div>
|
|
103
|
-
</React.Fragment>
|
|
104
|
-
}
|
|
105
|
-
theme="callout"
|
|
106
|
-
/>
|
|
107
|
-
`;
|
|
108
|
-
|
|
109
|
-
exports[`components/guide-tooltip/GuideTooltip should render with title and body 1`] = `
|
|
110
|
-
<Tooltip
|
|
111
|
-
className="bdl-GuideTooltip "
|
|
112
|
-
constrainToScrollParent={false}
|
|
113
|
-
constrainToWindow={true}
|
|
114
|
-
isDisabled={false}
|
|
115
|
-
isShown={true}
|
|
116
|
-
position="top-center"
|
|
117
|
-
showCloseButton={true}
|
|
118
|
-
text={
|
|
119
|
-
<React.Fragment>
|
|
120
|
-
<div
|
|
121
|
-
className="bdl-GuideTooltip-right"
|
|
122
|
-
>
|
|
123
|
-
<div
|
|
124
|
-
className="bdl-GuideTooltip-title"
|
|
125
|
-
>
|
|
126
|
-
<div>
|
|
127
|
-
title
|
|
128
|
-
</div>
|
|
129
|
-
</div>
|
|
130
|
-
<div
|
|
131
|
-
className="bdl-GuideTooltip-body"
|
|
132
|
-
>
|
|
133
|
-
<div>
|
|
134
|
-
body
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
</div>
|
|
138
|
-
</React.Fragment>
|
|
139
|
-
}
|
|
140
|
-
theme="callout"
|
|
141
|
-
/>
|
|
142
|
-
`;
|