@procore/core-react 12.53.3 → 12.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +4 -4
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.js +2 -0
- package/dist/AvatarStack/AvatarStack.js.map +1 -1
- package/dist/AvatarStack/AvatarStack.styles.js +8 -8
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.styles.js +4 -4
- package/dist/Banner/Banner.d.ts +1 -0
- package/dist/Banner/Banner.js +31 -14
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Banner/Banner.styles.d.ts +10 -0
- package/dist/Banner/Banner.styles.js +29 -12
- package/dist/Banner/Banner.styles.js.map +1 -1
- package/dist/Banner/Banner.types.d.ts +1 -1
- package/dist/Banner/Banner.types.js.map +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/Banner/index.js +1 -1
- package/dist/Banner/index.js.map +1 -1
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +7 -6
- package/dist/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.js +97 -10
- package/dist/Calendar/Calendar.js.map +1 -1
- package/dist/Calendar/Calendar.styles.d.ts +3 -0
- package/dist/Calendar/Calendar.styles.js +13 -9
- package/dist/Calendar/Calendar.styles.js.map +1 -1
- package/dist/Calendar/Calendar.types.js.map +1 -1
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.js +1 -1
- package/dist/DateInput/DateInput.js.map +1 -1
- package/dist/DateInput/DateInput.styles.js +8 -8
- package/dist/DateInput/DateInput.styles.js.map +1 -1
- package/dist/DateSelect/DateSelect.js +60 -29
- package/dist/DateSelect/DateSelect.js.map +1 -1
- package/dist/DateSelect/DateSelect.types.d.ts +2 -2
- package/dist/DateSelect/DateSelect.types.js.map +1 -1
- package/dist/DetailPage/DetailPage.styles.js +11 -9
- package/dist/DetailPage/DetailPage.styles.js.map +1 -1
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.js +8 -0
- package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.js +3 -3
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +17 -14
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js.map +1 -1
- package/dist/FileSelect/FileExplorer/FileExplorerModal.js +4 -2
- package/dist/FileSelect/FileExplorer/FileExplorerModal.js.map +1 -1
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +5 -4
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js.map +1 -1
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
- package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
- package/dist/FileSelect/LocalSource/LocalSource.styles.js +6 -5
- package/dist/FileSelect/LocalSource/LocalSource.styles.js.map +1 -1
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +13 -11
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js.map +1 -1
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +6 -6
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.js +5 -0
- package/dist/Form/Form.js.map +1 -1
- package/dist/Form/Form.styles.js +13 -13
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +12 -11
- package/dist/ListPage/ListPage.styles.js.map +1 -1
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.styles.js +11 -11
- package/dist/Modal/Modal.js +0 -2
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/Modal/Modal.styles.js +44 -32
- package/dist/Modal/Modal.styles.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +3 -1
- package/dist/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.js +8 -8
- package/dist/MultiSelect/MultiSelect.types.d.ts +5 -0
- package/dist/MultiSelect/MultiSelect.types.js.map +1 -1
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/NextTile/NextTile.styles.js +5 -5
- package/dist/Notation/Notation.js +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js +12 -3
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.types.d.ts +14 -0
- package/dist/OverlayTrigger/OverlayTrigger.types.js.map +1 -1
- package/dist/OverlayTrigger/a11yPresets.d.ts +19 -3
- package/dist/OverlayTrigger/a11yPresets.js +16 -6
- package/dist/OverlayTrigger/a11yPresets.js.map +1 -1
- package/dist/PageLayout/PageLayout.js +15 -4
- package/dist/PageLayout/PageLayout.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.js +35 -34
- package/dist/PageLayout/PageLayout.styles.js.map +1 -1
- package/dist/PageLayout/PageLayout.types.d.ts +1 -0
- package/dist/PageLayout/PageLayout.types.js.map +1 -1
- package/dist/PageLayout/PageLayout.utils.d.ts +11 -0
- package/dist/PageLayout/PageLayout.utils.js +45 -0
- package/dist/PageLayout/PageLayout.utils.js.map +1 -1
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.js +2 -2
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.js.map +1 -1
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.d.ts +5 -0
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +9 -2
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js.map +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +17 -16
- package/dist/Panel/Panel.styles.js.map +1 -1
- package/dist/Pill/Pill.styles.js +3 -3
- package/dist/PillSelect/PillSelect.styles.js +5 -5
- package/dist/Popover/Popover.js +6 -1
- package/dist/Popover/Popover.js.map +1 -1
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.js +0 -1
- package/dist/Section/Section.js.map +1 -1
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.js +5 -2
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +8 -8
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +15 -13
- package/dist/SplitViewCard/SplitViewCard.styles.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.js +8 -0
- package/dist/SuperSelect/SuperSelect.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +40 -40
- package/dist/SuperSelect/SuperSelect.types.d.ts +7 -0
- package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
- package/dist/SuperSelect/useSuperSelect.d.ts +1 -1
- package/dist/SuperSelect/useSuperSelect.js +27 -6
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.js +63 -2
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/Table.styles.js +31 -30
- package/dist/Table/Table.styles.js.map +1 -1
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.js +11 -3
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Tabs/Tabs.styles.js +16 -16
- package/dist/Tearsheet/Tearsheet.js +59 -34
- package/dist/Tearsheet/Tearsheet.js.map +1 -1
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.styles.d.ts +1 -0
- package/dist/Thumbnail/Thumbnail.styles.js +22 -22
- package/dist/Thumbnail/Thumbnail.styles.js.map +1 -1
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/LeafSelectionTieredSelect.js +3 -1
- package/dist/TieredSelect/LeafSelectionTieredSelect.js.map +1 -1
- package/dist/TieredSelect/TierSelectionTieredSelect.js +3 -1
- package/dist/TieredSelect/TierSelectionTieredSelect.js.map +1 -1
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.js +11 -9
- package/dist/Title/Title.styles.js.map +1 -1
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +5 -5
- package/dist/ToolHeader/ToolHeader.styles.js +15 -10
- package/dist/ToolHeader/ToolHeader.styles.js.map +1 -1
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- package/dist/Tooltip/Tooltip.js +7 -1
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/Tooltip/Tooltip.styles.js +3 -3
- package/dist/Tree/Tree.js +1 -1
- package/dist/Tree/Tree.styles.js +10 -10
- package/dist/Typeahead/Typeahead.styles.js +4 -4
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_hooks/I18n.d.ts +33 -13
- package/dist/_hooks/I18n.js +2 -0
- package/dist/_hooks/I18n.js.map +1 -1
- package/dist/_locales/de-DE.json +1 -0
- package/dist/_locales/en-AU.json +1 -0
- package/dist/_locales/en-CA.json +1 -0
- package/dist/_locales/en-GB.json +1 -0
- package/dist/_locales/en.json +3 -1
- package/dist/_locales/es-ES.json +1 -0
- package/dist/_locales/es.json +1 -0
- package/dist/_locales/fr-CA.json +1 -0
- package/dist/_locales/fr-FR.json +1 -0
- package/dist/_locales/is-IS.json +1 -0
- package/dist/_locales/it-IT.json +1 -0
- package/dist/_locales/ja-JP.json +1 -0
- package/dist/_locales/nb-NO.json +2 -1
- package/dist/_locales/pl-PL.json +1 -0
- package/dist/_locales/pseudo.json +3 -1
- package/dist/_locales/pt-BR.json +1 -0
- package/dist/_locales/pt-PT.json +3 -2
- package/dist/_locales/th-TH.json +1 -0
- package/dist/_locales/zh-SG.json +1 -0
- package/dist/_locales/zh-TW.json +2 -1
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +5 -4
- package/dist/_storyHelpers_/components/StoryGrid.js.map +1 -1
- package/dist/_storyHelpers_/highZoom.d.ts +68 -0
- package/dist/_storyHelpers_/highZoom.js +72 -0
- package/dist/_storyHelpers_/highZoom.js.map +1 -0
- package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +7 -7
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +18 -18
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +12 -12
- package/dist/_typedoc/Button/Button.types.json +14 -14
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +45 -14
- package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
- package/dist/_typedoc/DetailPageTemplate/DetailPageTemplate.types.json +3 -3
- package/dist/_typedoc/Dropdown/Dropdown.types.json +38 -38
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +37 -37
- package/dist/_typedoc/Dropzone/Dropzone.types.json +50 -50
- package/dist/_typedoc/EmptyState/EmptyState.types.json +18 -18
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +17 -17
- package/dist/_typedoc/Flex/Flex.types.json +27 -27
- package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
- package/dist/_typedoc/Form/Form.types.json +875 -773
- package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +99 -79
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +1 -1
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +90 -90
- package/dist/_typedoc/Modal/Modal.types.json +48 -48
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +43 -33
- package/dist/_typedoc/NextTile/NextTile.types.json +33 -33
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +52 -52
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +44 -33
- package/dist/_typedoc/PageLayout/PageLayout.types.json +42 -42
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +28 -28
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
- package/dist/_typedoc/Popover/Popover.types.json +15 -15
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
- package/dist/_typedoc/Select/Select.types.json +67 -67
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- package/dist/_typedoc/SettingsPageTemplate/SettingsPageTemplate.types.json +3 -3
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
- package/dist/_typedoc/Table/Table.types.json +136 -105
- package/dist/_typedoc/Tabs/Tablist.types.json +10 -10
- package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
- package/dist/_typedoc/Tile/Tile.types.json +8 -8
- package/dist/_typedoc/Title/Title.types.json +1 -1
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
- package/dist/_typedoc/Token/Token.types.json +7 -7
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
- package/dist/_typedoc/ToolLandingPageTemplate/ToolLandingPageTemplate.types.json +2 -2
- package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
- package/dist/_typedoc/Tree/Tree.types.json +132 -132
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +9 -9
- package/dist/_typedoc/_utils/types.json +3 -3
- package/dist/_typedoc/a11y-tips.json +1 -1
- package/package.json +2 -2
- package/dist/_hooks/ScrollLock.d.ts +0 -1
- package/dist/_hooks/ScrollLock.js +0 -31
- package/dist/_hooks/ScrollLock.js.map +0 -1
|
@@ -13,7 +13,7 @@ export var contentHeight = modalBodyWidth - modalBodyBorderTopWidth - toolbarHei
|
|
|
13
13
|
// TODO Update box-shadow to use getShadow instead
|
|
14
14
|
export var StyledToolbar = /*#__PURE__*/styled.div.withConfig({
|
|
15
15
|
displayName: "StyledToolbar",
|
|
16
|
-
componentId: "core-
|
|
16
|
+
componentId: "core-12_54_0__sc-1sj6hvp-0"
|
|
17
17
|
})(["display:flex;align-items:center;flex-direction:row;width:100%;min-height:", "px;padding:16px 24px;", " ", " & > * + *{margin-left:", "px;}"], toolbarHeight, function (_ref) {
|
|
18
18
|
var $alignRight = _ref.$alignRight;
|
|
19
19
|
return css(["justify-content:", ";"], $alignRight ? 'flex-end' : 'space-between');
|
|
@@ -23,23 +23,23 @@ export var StyledToolbar = /*#__PURE__*/styled.div.withConfig({
|
|
|
23
23
|
}, spacing.sm);
|
|
24
24
|
export var StyledSearchWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
25
25
|
displayName: "StyledSearchWrapper",
|
|
26
|
-
componentId: "core-
|
|
26
|
+
componentId: "core-12_54_0__sc-1sj6hvp-1"
|
|
27
27
|
})(["width:286px;flex-shrink:1;min-width:180px;"]);
|
|
28
28
|
export var StyledEmptyStateWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
29
29
|
displayName: "StyledEmptyStateWrapper",
|
|
30
|
-
componentId: "core-
|
|
30
|
+
componentId: "core-12_54_0__sc-1sj6hvp-2"
|
|
31
31
|
})(["width:100%;height:100%;display:flex;justify-content:center;align-items:center;"]);
|
|
32
32
|
export var StyledEmptyState = /*#__PURE__*/styled(EmptyState).withConfig({
|
|
33
33
|
displayName: "StyledEmptyState",
|
|
34
|
-
componentId: "core-
|
|
34
|
+
componentId: "core-12_54_0__sc-1sj6hvp-3"
|
|
35
35
|
})(["margin-top:0;margin-bottom:0;img{width:160px;}"]);
|
|
36
36
|
export var StyledSpinnerWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
37
37
|
displayName: "StyledSpinnerWrapper",
|
|
38
|
-
componentId: "core-
|
|
38
|
+
componentId: "core-12_54_0__sc-1sj6hvp-4"
|
|
39
39
|
})(["height:", "px;width:100%;display:flex;align-items:center;justify-content:center;"], contentHeight);
|
|
40
40
|
export var StyledGrid = /*#__PURE__*/styled.div.withConfig({
|
|
41
41
|
displayName: "StyledGrid",
|
|
42
|
-
componentId: "core-
|
|
42
|
+
componentId: "core-12_54_0__sc-1sj6hvp-5"
|
|
43
43
|
})(["display:flex;flex-direction:column;", ""], function (_ref3) {
|
|
44
44
|
var $isEmpty = _ref3.$isEmpty;
|
|
45
45
|
return $isEmpty && 'height: 100%;';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { Dropzone, DropzoneErrorBanner } from '../../Dropzone/Dropzone';
|
|
3
|
+
import { mediaBreakpointsDown } from '../../PageLayout/PageLayout.utils';
|
|
3
4
|
import { colors } from '../../_styles/colors';
|
|
4
5
|
import { mediaIE11Hack } from '../../_styles/media';
|
|
5
6
|
import { spacing } from '../../_styles/spacing';
|
|
@@ -15,21 +16,21 @@ var dropzoneHeightWithIcon = 176;
|
|
|
15
16
|
var sourceWidth = 568;
|
|
16
17
|
export var StyledLocalSource = /*#__PURE__*/styled.div.withConfig({
|
|
17
18
|
displayName: "StyledLocalSource",
|
|
18
|
-
componentId: "core-
|
|
19
|
-
})(["display:flex;flex-grow:1;flex-direction:column;align-items:stretch;height:", "px;max-height:", "px;padding:", "px ", "px ", "px ", "px;overflow-y:hidden;"], contentHeight, contentHeight, spacing.xl, spacing.xl + spacing.lg, spacing.xl, spacing.xl);
|
|
19
|
+
componentId: "core-12_54_0__sc-psqe8z-0"
|
|
20
|
+
})(["display:flex;flex-grow:1;flex-direction:column;align-items:stretch;height:", "px;max-height:", "px;padding:", "px ", "px ", "px ", "px;overflow-y:hidden;@media ", "{padding-right:", "px;}"], contentHeight, contentHeight, spacing.xl, spacing.xl + spacing.lg, spacing.xl, spacing.xl, mediaBreakpointsDown.tabletMd, spacing.xl);
|
|
20
21
|
export var StyledDropzoneErrorBanner = /*#__PURE__*/styled(DropzoneErrorBanner).withConfig({
|
|
21
22
|
displayName: "StyledDropzoneErrorBanner",
|
|
22
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_54_0__sc-psqe8z-1"
|
|
23
24
|
})(["margin-top:", "px;margin-bottom:", "px;margin-right:2px;"], errorBannerMarginTop, errorBannerMarginBottom);
|
|
24
25
|
export var StyledDropzoneWrapper = /*#__PURE__*/styled(Dropzone).withConfig({
|
|
25
26
|
displayName: "StyledDropzoneWrapper",
|
|
26
|
-
componentId: "core-
|
|
27
|
+
componentId: "core-12_54_0__sc-psqe8z-2"
|
|
27
28
|
})(["display:flex;height:auto;min-height:", "px;> div:first-child{display:flex;height:auto;}> ", "{display:none;}@media ", "{width:", "px;> div:first-child{height:100%;}}"], function (_ref) {
|
|
28
29
|
var isIconVisible = _ref.isIconVisible;
|
|
29
30
|
return isIconVisible ? dropzoneHeightWithIcon : dropzoneHeight;
|
|
30
31
|
}, DropzoneErrorBanner, mediaIE11Hack, sourceWidth);
|
|
31
32
|
export var StyledThumbnailList = /*#__PURE__*/styled(ThumbnailList).withConfig({
|
|
32
33
|
displayName: "StyledThumbnailList",
|
|
33
|
-
componentId: "core-
|
|
34
|
+
componentId: "core-12_54_0__sc-psqe8z-3"
|
|
34
35
|
})(["margin-top:", "px;border:", "px solid ", ";"], listMarginTop, listBorderWidth, colors.gray85);
|
|
35
36
|
//# sourceMappingURL=LocalSource.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LocalSource.styles.js","names":["styled","Dropzone","DropzoneErrorBanner","colors","mediaIE11Hack","spacing","ThumbnailList","uploaderHeight","dropzoneHeight","errorBannerMarginTop","lg","errorBannerMarginBottom","listMarginTop","sm","listBorderWidth","contentHeight","xl","dropzoneHeightWithIcon","sourceWidth","StyledLocalSource","div","withConfig","displayName","componentId","StyledDropzoneErrorBanner","StyledDropzoneWrapper","_ref","isIconVisible","StyledThumbnailList","gray85"],"sources":["../../../src/FileSelect/LocalSource/LocalSource.styles.ts"],"sourcesContent":["import styled from 'styled-components'\nimport { Dropzone, DropzoneErrorBanner } from '../../Dropzone/Dropzone'\nimport { colors } from '../../_styles/colors'\nimport { mediaIE11Hack } from '../../_styles/media'\nimport { spacing } from '../../_styles/spacing'\nimport { ThumbnailList } from '../ThumbnailList/ThumbnailList'\n\nexport const uploaderHeight = 411\nexport const dropzoneHeight = 96\nexport const errorBannerMarginTop = spacing.lg\nexport const errorBannerMarginBottom = 3\nexport const listMarginTop = spacing.sm\nexport const listBorderWidth = 1\n\nconst contentHeight = uploaderHeight + 2 * spacing.xl\nconst dropzoneHeightWithIcon = 176\nconst sourceWidth = 568\n\nexport const StyledLocalSource = styled.div`\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n align-items: stretch;\n height: ${contentHeight}px;\n max-height: ${contentHeight}px;\n padding: ${spacing.xl}px ${spacing.xl + spacing.lg}px ${spacing.xl}px\n ${spacing.xl}px;\n overflow-y: hidden;\n`\n\nexport const StyledDropzoneErrorBanner = styled(DropzoneErrorBanner)`\n // Preserve element's shadows\n margin-top: ${errorBannerMarginTop}px;\n margin-bottom: ${errorBannerMarginBottom}px;\n margin-right: 2px;\n`\n\nexport const StyledDropzoneWrapper = styled(Dropzone)`\n display: flex;\n height: auto;\n min-height: ${({ isIconVisible }) =>\n isIconVisible ? dropzoneHeightWithIcon : dropzoneHeight}px;\n\n > div:first-child {\n display: flex;\n height: auto;\n }\n\n // hide the default error banner\n > ${DropzoneErrorBanner} {\n display: none;\n }\n\n @media ${mediaIE11Hack} {\n width: ${sourceWidth}px;\n\n > div:first-child {\n height: 100%;\n }\n }\n`\n\nexport const StyledThumbnailList = styled(ThumbnailList)`\n margin-top: ${listMarginTop}px;\n border: ${listBorderWidth}px solid ${colors.gray85};\n`\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AACtC,SAASC,QAAQ,EAAEC,mBAAmB,QAAQ,yBAAyB;AACvE,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,aAAa,QAAQ,qBAAqB;AACnD,SAASC,OAAO,QAAQ,uBAAuB;AAC/C,SAASC,aAAa,QAAQ,gCAAgC;AAE9D,OAAO,IAAMC,cAAc,GAAG,GAAG;AACjC,OAAO,IAAMC,cAAc,GAAG,EAAE;AAChC,OAAO,IAAMC,oBAAoB,GAAGJ,OAAO,CAACK,EAAE;AAC9C,OAAO,IAAMC,uBAAuB,GAAG,CAAC;AACxC,OAAO,IAAMC,aAAa,GAAGP,OAAO,CAACQ,EAAE;AACvC,OAAO,IAAMC,eAAe,GAAG,CAAC;AAEhC,IAAMC,aAAa,GAAGR,cAAc,GAAG,CAAC,GAAGF,OAAO,CAACW,EAAE;AACrD,IAAMC,sBAAsB,GAAG,GAAG;AAClC,IAAMC,WAAW,GAAG,GAAG;AAEvB,OAAO,IAAMC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"LocalSource.styles.js","names":["styled","Dropzone","DropzoneErrorBanner","mediaBreakpointsDown","colors","mediaIE11Hack","spacing","ThumbnailList","uploaderHeight","dropzoneHeight","errorBannerMarginTop","lg","errorBannerMarginBottom","listMarginTop","sm","listBorderWidth","contentHeight","xl","dropzoneHeightWithIcon","sourceWidth","StyledLocalSource","div","withConfig","displayName","componentId","tabletMd","StyledDropzoneErrorBanner","StyledDropzoneWrapper","_ref","isIconVisible","StyledThumbnailList","gray85"],"sources":["../../../src/FileSelect/LocalSource/LocalSource.styles.ts"],"sourcesContent":["import styled from 'styled-components'\nimport { Dropzone, DropzoneErrorBanner } from '../../Dropzone/Dropzone'\nimport { mediaBreakpointsDown } from '../../PageLayout/PageLayout.utils'\nimport { colors } from '../../_styles/colors'\nimport { mediaIE11Hack } from '../../_styles/media'\nimport { spacing } from '../../_styles/spacing'\nimport { ThumbnailList } from '../ThumbnailList/ThumbnailList'\n\nexport const uploaderHeight = 411\nexport const dropzoneHeight = 96\nexport const errorBannerMarginTop = spacing.lg\nexport const errorBannerMarginBottom = 3\nexport const listMarginTop = spacing.sm\nexport const listBorderWidth = 1\n\nconst contentHeight = uploaderHeight + 2 * spacing.xl\nconst dropzoneHeightWithIcon = 176\nconst sourceWidth = 568\n\nexport const StyledLocalSource = styled.div`\n display: flex;\n flex-grow: 1;\n flex-direction: column;\n align-items: stretch;\n height: ${contentHeight}px;\n max-height: ${contentHeight}px;\n padding: ${spacing.xl}px ${spacing.xl + spacing.lg}px ${spacing.xl}px\n ${spacing.xl}px;\n overflow-y: hidden;\n\n /* High zoom: even side padding */\n @media ${mediaBreakpointsDown.tabletMd} {\n padding-right: ${spacing.xl}px;\n }\n`\n\nexport const StyledDropzoneErrorBanner = styled(DropzoneErrorBanner)`\n // Preserve element's shadows\n margin-top: ${errorBannerMarginTop}px;\n margin-bottom: ${errorBannerMarginBottom}px;\n margin-right: 2px;\n`\n\nexport const StyledDropzoneWrapper = styled(Dropzone)`\n display: flex;\n height: auto;\n min-height: ${({ isIconVisible }) =>\n isIconVisible ? dropzoneHeightWithIcon : dropzoneHeight}px;\n\n > div:first-child {\n display: flex;\n height: auto;\n }\n\n // hide the default error banner\n > ${DropzoneErrorBanner} {\n display: none;\n }\n\n @media ${mediaIE11Hack} {\n width: ${sourceWidth}px;\n\n > div:first-child {\n height: 100%;\n }\n }\n`\n\nexport const StyledThumbnailList = styled(ThumbnailList)`\n margin-top: ${listMarginTop}px;\n border: ${listBorderWidth}px solid ${colors.gray85};\n`\n"],"mappings":"AAAA,OAAOA,MAAM,MAAM,mBAAmB;AACtC,SAASC,QAAQ,EAAEC,mBAAmB,QAAQ,yBAAyB;AACvE,SAASC,oBAAoB,QAAQ,mCAAmC;AACxE,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,aAAa,QAAQ,qBAAqB;AACnD,SAASC,OAAO,QAAQ,uBAAuB;AAC/C,SAASC,aAAa,QAAQ,gCAAgC;AAE9D,OAAO,IAAMC,cAAc,GAAG,GAAG;AACjC,OAAO,IAAMC,cAAc,GAAG,EAAE;AAChC,OAAO,IAAMC,oBAAoB,GAAGJ,OAAO,CAACK,EAAE;AAC9C,OAAO,IAAMC,uBAAuB,GAAG,CAAC;AACxC,OAAO,IAAMC,aAAa,GAAGP,OAAO,CAACQ,EAAE;AACvC,OAAO,IAAMC,eAAe,GAAG,CAAC;AAEhC,IAAMC,aAAa,GAAGR,cAAc,GAAG,CAAC,GAAGF,OAAO,CAACW,EAAE;AACrD,IAAMC,sBAAsB,GAAG,GAAG;AAClC,IAAMC,WAAW,GAAG,GAAG;AAEvB,OAAO,IAAMC,iBAAiB,gBAAGpB,MAAM,CAACqB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oMAK/BR,aAAa,EACTA,aAAa,EAChBV,OAAO,CAACW,EAAE,EAAMX,OAAO,CAACW,EAAE,GAAGX,OAAO,CAACK,EAAE,EAAML,OAAO,CAACW,EAAE,EAC9DX,OAAO,CAACW,EAAE,EAILd,oBAAoB,CAACsB,QAAQ,EACnBnB,OAAO,CAACW,EAAE,CAE9B;AAED,OAAO,IAAMS,yBAAyB,gBAAG1B,MAAM,CAACE,mBAAmB,CAAC,CAAAoB,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iEAEpDd,oBAAoB,EACjBE,uBAAuB,CAEzC;AAED,OAAO,IAAMe,qBAAqB,gBAAG3B,MAAM,CAACC,QAAQ,CAAC,CAAAqB,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8KAGrC,UAAAI,IAAA;EAAA,IAAGC,aAAa,GAAAD,IAAA,CAAbC,aAAa;EAAA,OAC5BA,aAAa,GAAGX,sBAAsB,GAAGT,cAAc;AAAA,GAQrDP,mBAAmB,EAIdG,aAAa,EACXc,WAAW,CAMvB;AAED,OAAO,IAAMW,mBAAmB,gBAAG9B,MAAM,CAACO,aAAa,CAAC,CAAAe,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oDACxCX,aAAa,EACjBE,eAAe,EAAYX,MAAM,CAAC2B,MAAM,CACnD","ignoreList":[]}
|
|
@@ -8,7 +8,7 @@ var sourceItemPadding = spacing.xl;
|
|
|
8
8
|
var focused = /*#__PURE__*/css(["", " padding:0 ", "px 0 ", "px;"], getFocus(), sourceItemPadding - 1, sourceItemPadding - 1);
|
|
9
9
|
export var StyledSourceItem = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledSourceItem",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_54_0__sc-plcozv-0"
|
|
12
12
|
})(["position:relative;display:flex;align-items:center;padding:0 ", "px 0 ", "px;color:", ";", " cursor:pointer;height:", "px;&:before{content:'';position:absolute;top:0;left:0;display:block;width:4px;height:100%;background-color:", ";transform:scaleX(0);transform-origin:center left;transition:transform 200ms ease-out;z-index:1;}", " ", " ", " ", " ", " &:focus{", "}"], sourceItemPadding, sourceItemPadding, colors.gray45, getTypographyIntent('body'), sourceItemHeight, colors.blue45, function (_ref) {
|
|
13
13
|
var selected = _ref.selected;
|
|
14
14
|
return selected && "\n font-weight: 700;\n background-color: ".concat(colors.blue96, ";\n color: ").concat(colors.blue45, ";\n\n ").concat(StyledIcon, " {\n color: ").concat(colors.blue50, ";\n }\n\n &:before {\n transform: scaleX(1);\n }\n ");
|
|
@@ -28,10 +28,10 @@ export var StyledSourceItem = /*#__PURE__*/styled.div.withConfig({
|
|
|
28
28
|
}, focused);
|
|
29
29
|
export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
|
|
30
30
|
displayName: "StyledIcon",
|
|
31
|
-
componentId: "core-
|
|
31
|
+
componentId: "core-12_54_0__sc-plcozv-1"
|
|
32
32
|
})(["display:flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;"]);
|
|
33
33
|
export var StyledLabel = /*#__PURE__*/styled.div.withConfig({
|
|
34
34
|
displayName: "StyledLabel",
|
|
35
|
-
componentId: "core-
|
|
35
|
+
componentId: "core-12_54_0__sc-plcozv-2"
|
|
36
36
|
})(["", ""], getEllipsis());
|
|
37
37
|
//# sourceMappingURL=SourceItem.styles.js.map
|
|
@@ -1,30 +1,32 @@
|
|
|
1
1
|
import { FixedSizeList as List } from 'react-window';
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { Button } from '../../Button/Button';
|
|
4
|
+
import { mediaWidthDown } from '../../PageLayout/PageLayout.utils';
|
|
4
5
|
import { Thumbnail } from '../../Thumbnail/Thumbnail';
|
|
6
|
+
import { StyledImageThumbnail, StyledMultilineCaption, StyledPlaceholderCaption, StyledPlaceholderThumbnail, StyledSingleLineCaption, StyledThumbnailCaptionStack, thumbnailSizeSm } from '../../Thumbnail/Thumbnail.styles';
|
|
5
7
|
import { getTypographyIntent } from '../../Typography/Typography.styles';
|
|
6
8
|
import { colors } from '../../_styles/colors';
|
|
7
9
|
import { spacing } from '../../_styles/spacing';
|
|
8
10
|
export var StyledThumbnailListContainer = /*#__PURE__*/styled.div.withConfig({
|
|
9
11
|
displayName: "StyledThumbnailListContainer",
|
|
10
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_54_0__sc-1fz4ynb-0"
|
|
11
13
|
})(["display:flex;flex-direction:column;align-items:stretch;outline:none;"]);
|
|
12
14
|
export var StyledThumbnailList = /*#__PURE__*/styled(List).withConfig({
|
|
13
15
|
displayName: "StyledThumbnailList",
|
|
14
|
-
componentId: "core-
|
|
16
|
+
componentId: "core-12_54_0__sc-1fz4ynb-1"
|
|
15
17
|
})(["outline:none;"]);
|
|
16
18
|
export var StyledThumbnail = /*#__PURE__*/styled(Thumbnail).withConfig({
|
|
17
19
|
displayName: "StyledThumbnail",
|
|
18
|
-
componentId: "core-
|
|
19
|
-
})(["flex-grow:1;justify-content:flex-start;"]);
|
|
20
|
+
componentId: "core-12_54_0__sc-1fz4ynb-2"
|
|
21
|
+
})(["flex-grow:1;justify-content:flex-start;@media ", "{align-items:flex-start;grid-column:1 / -1;grid-row:1;min-width:0;", ",", "{flex-shrink:0;}", ",", ",", ",", "{flex:1 1 auto;min-width:0;width:auto;}}"], mediaWidthDown.mobileSm, StyledImageThumbnail, StyledPlaceholderThumbnail, StyledSingleLineCaption, StyledMultilineCaption, StyledPlaceholderCaption, StyledThumbnailCaptionStack);
|
|
20
22
|
export var StyledProgress = /*#__PURE__*/styled.div.withConfig({
|
|
21
23
|
displayName: "StyledProgress",
|
|
22
|
-
componentId: "core-
|
|
23
|
-
})(["width:146px;padding:0 ", "px 0 ", "px;margin-left:auto;"], spacing.lg, spacing.xl);
|
|
24
|
+
componentId: "core-12_54_0__sc-1fz4ynb-3"
|
|
25
|
+
})(["width:146px;padding:0 ", "px 0 ", "px;margin-left:auto;@media ", "{align-content:center;align-self:end;display:grid;grid-column:2;grid-row:1;height:24px;margin:0;padding:0;width:auto;}"], spacing.lg, spacing.xl, mediaWidthDown.mobileSm);
|
|
24
26
|
export var StyledThumbnailListItem = /*#__PURE__*/styled.div.withConfig({
|
|
25
27
|
displayName: "StyledThumbnailListItem",
|
|
26
|
-
componentId: "core-
|
|
27
|
-
})(["display:flex;flex-grow:1;align-items:center;padding:", "px ", "px ", "px ", "px;", " ", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, getTypographyIntent('body'), function (_ref) {
|
|
28
|
+
componentId: "core-12_54_0__sc-1fz4ynb-4"
|
|
29
|
+
})(["display:flex;flex-grow:1;align-items:center;padding:", "px ", "px ", "px ", "px;", " @media ", "{column-gap:", "px;display:grid;grid-template-columns:", "px minmax(0,1fr) auto;}", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, getTypographyIntent('body'), mediaWidthDown.mobileSm, spacing.sm, thumbnailSizeSm, function (_ref) {
|
|
28
30
|
var error = _ref.error;
|
|
29
31
|
return !error && "\n &:hover {\n background-color: ".concat(colors.gray96, ";\n }\n ");
|
|
30
32
|
}, function (_ref2) {
|
|
@@ -33,10 +35,10 @@ export var StyledThumbnailListItem = /*#__PURE__*/styled.div.withConfig({
|
|
|
33
35
|
return focused && !error && "\n background-color: ".concat(colors.gray96, ";\n ");
|
|
34
36
|
}, function (_ref3) {
|
|
35
37
|
var error = _ref3.error;
|
|
36
|
-
return error && "\n background-color: ".concat(colors.red98, ";\n\n ").concat(StyledProgress, " {\n color: ").concat(colors.red50, ";\n }\n ");
|
|
38
|
+
return error && "\n background-color: ".concat(colors.red98, ";\n\n ").concat(StyledProgress, " {\n color: ").concat(colors.red50, ";\n }\n\n // 400% zoom: the error is already under the name\n @media ").concat(mediaWidthDown.mobileSm, " {\n ").concat(StyledProgress, " {\n display: none;\n }\n }\n ");
|
|
37
39
|
});
|
|
38
40
|
export var StyledDeleteIcon = /*#__PURE__*/styled(Button).withConfig({
|
|
39
41
|
displayName: "StyledDeleteIcon",
|
|
40
|
-
componentId: "core-
|
|
41
|
-
})([""]);
|
|
42
|
+
componentId: "core-12_54_0__sc-1fz4ynb-5"
|
|
43
|
+
})(["@media ", "{align-self:end;grid-column:3;grid-row:1;}"], mediaWidthDown.mobileSm);
|
|
42
44
|
//# sourceMappingURL=ThumbnailList.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThumbnailList.styles.js","names":["FixedSizeList","List","styled","Button","Thumbnail","getTypographyIntent","colors","spacing","StyledThumbnailListContainer","div","withConfig","displayName","componentId","StyledThumbnailList","StyledThumbnail","StyledProgress","lg","xl","StyledThumbnailListItem","sm","_ref","error","concat","gray96","_ref2","focused","_ref3","red98","red50","StyledDeleteIcon"],"sources":["../../../src/FileSelect/ThumbnailList/ThumbnailList.styles.ts"],"sourcesContent":["import { FixedSizeList as List } from 'react-window'\nimport styled from 'styled-components'\nimport { Button } from '../../Button/Button'\nimport { Thumbnail } from '../../Thumbnail/Thumbnail'\nimport { getTypographyIntent } from '../../Typography/Typography.styles'\nimport { colors } from '../../_styles/colors'\nimport { spacing } from '../../_styles/spacing'\n\nexport const StyledThumbnailListContainer = styled.div`\n display: flex;\n flex-direction: column;\n align-items: stretch;\n outline: none;\n`\n\nexport const StyledThumbnailList = styled(List)`\n outline: none;\n`\n\nexport const StyledThumbnail = styled(Thumbnail)`\n flex-grow: 1;\n justify-content: flex-start;\n`\n\nexport const StyledProgress = styled.div`\n width: 146px;\n padding: 0 ${spacing.lg}px 0 ${spacing.xl}px;\n margin-left: auto;\n`\n\nexport const StyledThumbnailListItem = styled.div<{\n focused: boolean\n error: boolean\n}>`\n display: flex;\n flex-grow: 1;\n align-items: center;\n padding: ${spacing.sm}px ${spacing.lg}px ${spacing.sm}px ${spacing.sm}px;\n ${getTypographyIntent('body')}\n\n ${({ error }) =>\n !error &&\n `\n &:hover {\n background-color: ${colors.gray96};\n }\n `}\n\n ${({ focused, error }) =>\n focused &&\n !error &&\n `\n background-color: ${colors.gray96};\n `}\n\n ${({ error }) =>\n error &&\n `\n background-color: ${colors.red98};\n\n ${StyledProgress} {\n color: ${colors.red50};\n }\n `}\n`\n\nexport const StyledDeleteIcon = styled(Button)
|
|
1
|
+
{"version":3,"file":"ThumbnailList.styles.js","names":["FixedSizeList","List","styled","Button","mediaWidthDown","Thumbnail","StyledImageThumbnail","StyledMultilineCaption","StyledPlaceholderCaption","StyledPlaceholderThumbnail","StyledSingleLineCaption","StyledThumbnailCaptionStack","thumbnailSizeSm","getTypographyIntent","colors","spacing","StyledThumbnailListContainer","div","withConfig","displayName","componentId","StyledThumbnailList","StyledThumbnail","mobileSm","StyledProgress","lg","xl","StyledThumbnailListItem","sm","_ref","error","concat","gray96","_ref2","focused","_ref3","red98","red50","StyledDeleteIcon"],"sources":["../../../src/FileSelect/ThumbnailList/ThumbnailList.styles.ts"],"sourcesContent":["import { FixedSizeList as List } from 'react-window'\nimport styled from 'styled-components'\nimport { Button } from '../../Button/Button'\nimport { mediaWidthDown } from '../../PageLayout/PageLayout.utils'\nimport { Thumbnail } from '../../Thumbnail/Thumbnail'\nimport {\n StyledImageThumbnail,\n StyledMultilineCaption,\n StyledPlaceholderCaption,\n StyledPlaceholderThumbnail,\n StyledSingleLineCaption,\n StyledThumbnailCaptionStack,\n thumbnailSizeSm,\n} from '../../Thumbnail/Thumbnail.styles'\nimport { getTypographyIntent } from '../../Typography/Typography.styles'\nimport { colors } from '../../_styles/colors'\nimport { spacing } from '../../_styles/spacing'\n\nexport const StyledThumbnailListContainer = styled.div`\n display: flex;\n flex-direction: column;\n align-items: stretch;\n outline: none;\n`\n\nexport const StyledThumbnailList = styled(List)`\n outline: none;\n`\n\nexport const StyledThumbnail = styled(Thumbnail)`\n flex-grow: 1;\n justify-content: flex-start;\n\n // 400% zoom: the whole row, name on its first line\n @media ${mediaWidthDown.mobileSm} {\n align-items: flex-start;\n grid-column: 1 / -1;\n grid-row: 1;\n min-width: 0;\n\n ${StyledImageThumbnail}, ${StyledPlaceholderThumbnail} {\n flex-shrink: 0;\n }\n\n ${StyledSingleLineCaption},\n ${StyledMultilineCaption},\n ${StyledPlaceholderCaption},\n ${StyledThumbnailCaptionStack} {\n flex: 1 1 auto;\n min-width: 0;\n width: auto;\n }\n }\n`\n\nexport const StyledProgress = styled.div`\n width: 146px;\n padding: 0 ${spacing.lg}px 0 ${spacing.xl}px;\n margin-left: auto;\n\n // 400% zoom: second line, under the name\n @media ${mediaWidthDown.mobileSm} {\n align-content: center;\n align-self: end;\n display: grid;\n grid-column: 2;\n grid-row: 1;\n height: 24px;\n margin: 0;\n padding: 0;\n width: auto;\n }\n`\n\nexport const StyledThumbnailListItem = styled.div<{\n focused: boolean\n error: boolean\n}>`\n display: flex;\n flex-grow: 1;\n align-items: center;\n padding: ${spacing.sm}px ${spacing.lg}px ${spacing.sm}px ${spacing.sm}px;\n ${getTypographyIntent('body')}\n\n // 400% zoom: name on the first line, progress and remove below it\n @media ${mediaWidthDown.mobileSm} {\n column-gap: ${spacing.sm}px;\n display: grid;\n grid-template-columns: ${thumbnailSizeSm}px minmax(0, 1fr) auto;\n }\n\n ${({ error }) =>\n !error &&\n `\n &:hover {\n background-color: ${colors.gray96};\n }\n `}\n\n ${({ focused, error }) =>\n focused &&\n !error &&\n `\n background-color: ${colors.gray96};\n `}\n\n ${({ error }) =>\n error &&\n `\n background-color: ${colors.red98};\n\n ${StyledProgress} {\n color: ${colors.red50};\n }\n\n // 400% zoom: the error is already under the name\n @media ${mediaWidthDown.mobileSm} {\n ${StyledProgress} {\n display: none;\n }\n }\n `}\n`\n\nexport const StyledDeleteIcon = styled(Button)`\n @media ${mediaWidthDown.mobileSm} {\n align-self: end;\n grid-column: 3;\n grid-row: 1;\n }\n`\n"],"mappings":"AAAA,SAASA,aAAa,IAAIC,IAAI,QAAQ,cAAc;AACpD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,MAAM,QAAQ,qBAAqB;AAC5C,SAASC,cAAc,QAAQ,mCAAmC;AAClE,SAASC,SAAS,QAAQ,2BAA2B;AACrD,SACEC,oBAAoB,EACpBC,sBAAsB,EACtBC,wBAAwB,EACxBC,0BAA0B,EAC1BC,uBAAuB,EACvBC,2BAA2B,EAC3BC,eAAe,QACV,kCAAkC;AACzC,SAASC,mBAAmB,QAAQ,oCAAoC;AACxE,SAASC,MAAM,QAAQ,sBAAsB;AAC7C,SAASC,OAAO,QAAQ,uBAAuB;AAE/C,OAAO,IAAMC,4BAA4B,gBAAGd,MAAM,CAACe,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,4EAKrD;AAED,OAAO,IAAMC,mBAAmB,gBAAGnB,MAAM,CAACD,IAAI,CAAC,CAAAiB,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qBAE9C;AAED,OAAO,IAAME,eAAe,gBAAGpB,MAAM,CAACG,SAAS,CAAC,CAAAa,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iNAKrChB,cAAc,CAACmB,QAAQ,EAM5BjB,oBAAoB,EAAKG,0BAA0B,EAInDC,uBAAuB,EACvBH,sBAAsB,EACtBC,wBAAwB,EACxBG,2BAA2B,CAMhC;AAED,OAAO,IAAMa,cAAc,gBAAGtB,MAAM,CAACe,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iMAEzBL,OAAO,CAACU,EAAE,EAAQV,OAAO,CAACW,EAAE,EAIhCtB,cAAc,CAACmB,QAAQ,CAWjC;AAED,OAAO,IAAMI,uBAAuB,gBAAGzB,MAAM,CAACe,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wMAOpCL,OAAO,CAACa,EAAE,EAAMb,OAAO,CAACU,EAAE,EAAMV,OAAO,CAACa,EAAE,EAAMb,OAAO,CAACa,EAAE,EACnEf,mBAAmB,CAAC,MAAM,CAAC,EAGpBT,cAAc,CAACmB,QAAQ,EAChBR,OAAO,CAACa,EAAE,EAEChB,eAAe,EAGxC,UAAAiB,IAAA;EAAA,IAAGC,KAAK,GAAAD,IAAA,CAALC,KAAK;EAAA,OACR,CAACA,KAAK,oDAAAC,MAAA,CAGkBjB,MAAM,CAACkB,MAAM,qBAEpC;AAAA,GAED,UAAAC,KAAA;EAAA,IAAGC,OAAO,GAAAD,KAAA,CAAPC,OAAO;IAAEJ,KAAK,GAAAG,KAAA,CAALH,KAAK;EAAA,OACjBI,OAAO,IACP,CAACJ,KAAK,iCAAAC,MAAA,CAEgBjB,MAAM,CAACkB,MAAM,YAClC;AAAA,GAED,UAAAG,KAAA;EAAA,IAAGL,KAAK,GAAAK,KAAA,CAALL,KAAK;EAAA,OACRA,KAAK,iCAAAC,MAAA,CAEiBjB,MAAM,CAACsB,KAAK,iBAAAL,MAAA,CAE9BP,cAAc,yBAAAO,MAAA,CACLjB,MAAM,CAACuB,KAAK,0FAAAN,MAAA,CAId3B,cAAc,CAACmB,QAAQ,kBAAAQ,MAAA,CAC5BP,cAAc,2DAInB;AAAA,EACJ;AAED,OAAO,IAAMc,gBAAgB,gBAAGpC,MAAM,CAACC,MAAM,CAAC,CAAAe,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8DACnChB,cAAc,CAACmB,QAAQ,CAKjC","ignoreList":[]}
|
|
@@ -2,6 +2,6 @@ import styled from 'styled-components';
|
|
|
2
2
|
import { modalBodyHeight } from '../FileExplorer/FileExplorer.styles';
|
|
3
3
|
export var StyledFileTreeSpinner = /*#__PURE__*/styled.div.withConfig({
|
|
4
4
|
displayName: "StyledFileTreeSpinner",
|
|
5
|
-
componentId: "core-
|
|
5
|
+
componentId: "core-12_54_0__sc-wwu3n8-0"
|
|
6
6
|
})(["display:flex;align-items:center;justify-content:center;height:", "px;"], modalBodyHeight);
|
|
7
7
|
//# sourceMappingURL=TreeSource.styles.js.map
|
|
@@ -8,19 +8,19 @@ export var pulseAnimationDuration = 600;
|
|
|
8
8
|
var focusPulse = /*#__PURE__*/keyframes(["0%{box-shadow:0 0 0 0 ", ",0 0 0 0 ", ",0 0 0 0 ", ";}25%{box-shadow:0 0 0 0 ", ",0 0 0 0 ", ",0 0 0 0 ", ";}50%{box-shadow:0 0 0 1px ", ",0 0 0 3px ", ",0 0 0 2px ", ";}100%{box-shadow:0 0 0 1.5px ", ",0 0 0 3px ", ",0 0 0 6px ", ";}"], colors.blue60, colors.blue90, colors.blue94, colors.blue60, colors.blue90, colors.blue94, colors.blue60, colors.blue90, colors.blue94, colors.blue60, colors.blue90, colors.blue94);
|
|
9
9
|
export var StyledFilenameShortcut = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledFilenameShortcut",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_54_0__sc-13jx4bx-0"
|
|
12
12
|
})(["display:flex;"]);
|
|
13
13
|
export var StyledFilename = /*#__PURE__*/styled.span.withConfig({
|
|
14
14
|
displayName: "StyledFilename",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_54_0__sc-13jx4bx-1"
|
|
16
16
|
})(["flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;"]);
|
|
17
17
|
export var StyledExtension = /*#__PURE__*/styled.span.withConfig({
|
|
18
18
|
displayName: "StyledExtension",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_54_0__sc-13jx4bx-2"
|
|
20
20
|
})(["flex-shrink:0;"]);
|
|
21
21
|
export var StyledFileToken = /*#__PURE__*/styled.div.withConfig({
|
|
22
22
|
displayName: "StyledFileToken",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_54_0__sc-13jx4bx-3"
|
|
24
24
|
})(["background-color:", ";border-radius:200px;max-width:100%;outline:none;overflow:hidden;position:relative;&:focus,&.focus{box-shadow:0 0 0 2px ", ";outline:none;", "{border-color:transparent;", "}}", "{background:none;color:", ";display:flex;user-select:none;", "{color:", ";}}", "{overflow:hidden;", "{border-radius:200px 0 0 200px;color:", ";padding-right:0;transition:color 0s linear,background-color 0s linear;user-select:none;", "{flex:0 0 auto;}}}", ""], colors.gray96, colors.blue40, StyledToken, function (_ref) {
|
|
25
25
|
var $progressComplete = _ref.$progressComplete;
|
|
26
26
|
return $progressComplete && css(["background-color:", ";"], colors.blue45);
|
|
@@ -37,10 +37,10 @@ export var StyledFileToken = /*#__PURE__*/styled.div.withConfig({
|
|
|
37
37
|
});
|
|
38
38
|
export var StyledErrorMessage = /*#__PURE__*/styled.span.withConfig({
|
|
39
39
|
displayName: "StyledErrorMessage",
|
|
40
|
-
componentId: "core-
|
|
40
|
+
componentId: "core-12_54_0__sc-13jx4bx-4"
|
|
41
41
|
})(["display:block;color:", ";margin-top:", "px;word-break:break-word;", ""], colors.red50, spacing.xs, getTypographyIntent('small'));
|
|
42
42
|
export var StyledFileTokenErrorContainer = /*#__PURE__*/styled.div.withConfig({
|
|
43
43
|
displayName: "StyledFileTokenErrorContainer",
|
|
44
|
-
componentId: "core-
|
|
44
|
+
componentId: "core-12_54_0__sc-13jx4bx-5"
|
|
45
45
|
})(["max-width:100%;outline:none;&:focus,&.focus{> ", "{box-shadow:0 0 0 2px ", ";outline:none;}}"], StyledFileToken, colors.blue40);
|
|
46
46
|
//# sourceMappingURL=FileToken.styles.js.map
|
|
@@ -6,11 +6,11 @@ import { getEllipsis, getFocus } from '../_styles/mixins';
|
|
|
6
6
|
import { spacing } from '../_styles/spacing';
|
|
7
7
|
export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
|
|
8
8
|
displayName: "StyledLabel",
|
|
9
|
-
componentId: "core-
|
|
9
|
+
componentId: "core-12_54_0__sc-1l1h29r-0"
|
|
10
10
|
})(["", " ", " ", " flex:0 1 auto;"], getTypographyIntent('body'), getEllipsis, semiboldRules);
|
|
11
11
|
export var StyledFilterToken = /*#__PURE__*/styled.div.withConfig({
|
|
12
12
|
displayName: "StyledFilterToken",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-12_54_0__sc-1l1h29r-1"
|
|
14
14
|
})(["align-items:center;background-color:", ";border-radius:4px;border:1px solid transparent;color:", ";cursor:default;display:inline-flex;height:36px;justify-content:space-between;line-height:1;max-width:360px;min-width:48px;padding:", "px ", "px;&:hover,&.hover{background-color:", ";}", ""], colors.blue96, colors.blue45, spacing.sm, spacing.md, colors.blue90, function (_ref) {
|
|
15
15
|
var _ref$$focused = _ref.$focused,
|
|
16
16
|
$focused = _ref$$focused === void 0 ? false : _ref$$focused;
|
|
@@ -18,17 +18,17 @@ export var StyledFilterToken = /*#__PURE__*/styled.div.withConfig({
|
|
|
18
18
|
});
|
|
19
19
|
export var StyledFilterRemoveButton = /*#__PURE__*/styled.button.withConfig({
|
|
20
20
|
displayName: "StyledFilterRemoveButton",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-12_54_0__sc-1l1h29r-2"
|
|
22
22
|
})(["", " ", ";background:transparent;color:", ";&:active,&:focus,&:hover{background:", ";color:", ";}&:disabled{pointer-events:none;user-select:none;}&:disabled,&[aria-disabled='true']{background:transparent;color:", ";}height:24px;margin:0 0 0 6px;padding:0 ", "px;[data-icon-prop='true']{pointer-events:none;height:16px;width:16px;}"], function (_ref2) {
|
|
23
23
|
var $disabled = _ref2.$disabled;
|
|
24
24
|
return getButtonStyles(false, $disabled, false, 'sm', 'tertiary');
|
|
25
25
|
}, getTypographyIntent('small'), colors.blue45, colors.white, colors.blue45, colors.blue45, spacing.xs);
|
|
26
26
|
export var StyledContent = /*#__PURE__*/styled.span.withConfig({
|
|
27
27
|
displayName: "StyledContent",
|
|
28
|
-
componentId: "core-
|
|
28
|
+
componentId: "core-12_54_0__sc-1l1h29r-3"
|
|
29
29
|
})(["align-items:center;display:flex;overflow:hidden;"]);
|
|
30
30
|
export var StyledContentLabel = /*#__PURE__*/styled.span.withConfig({
|
|
31
31
|
displayName: "StyledContentLabel",
|
|
32
|
-
componentId: "core-
|
|
32
|
+
componentId: "core-12_54_0__sc-1l1h29r-4"
|
|
33
33
|
})(["overflow:hidden;padding:0 6px;text-overflow:ellipsis;white-space:nowrap;& + span{padding-left:0;}"]);
|
|
34
34
|
//# sourceMappingURL=FilterToken.styles.js.map
|
|
@@ -3,7 +3,7 @@ import { StyledBox } from '../Box/Box.styles';
|
|
|
3
3
|
import { Flex } from '../Flex/Flex';
|
|
4
4
|
export var StyledFlex = /*#__PURE__*/styled(Flex).withConfig({
|
|
5
5
|
displayName: "StyledFlex",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-12_54_0__sc-1quvv61-0"
|
|
7
7
|
})(["> ", "{", "}"], StyledBox, function (_ref) {
|
|
8
8
|
var $direction = _ref.$direction;
|
|
9
9
|
if ($direction !== null && $direction !== void 0 && $direction.includes('reverse')) {
|
package/dist/Form/Form.js
CHANGED
|
@@ -1271,6 +1271,7 @@ export var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(_ref
|
|
|
1271
1271
|
};
|
|
1272
1272
|
return /*#__PURE__*/React.createElement(Select, _extends({
|
|
1273
1273
|
afterHide: afterHide,
|
|
1274
|
+
"aria-required": field.meta.required,
|
|
1274
1275
|
block: true,
|
|
1275
1276
|
disabled: field.meta.disabled,
|
|
1276
1277
|
error: field.meta.error,
|
|
@@ -1338,6 +1339,7 @@ export var PillSelectInput = /*#__PURE__*/React.forwardRef(function PillSelectIn
|
|
|
1338
1339
|
_onSelect && _onSelect(selection);
|
|
1339
1340
|
};
|
|
1340
1341
|
return /*#__PURE__*/React.createElement(PillSelect, _extends({
|
|
1342
|
+
"aria-required": field.meta.required,
|
|
1341
1343
|
block: true,
|
|
1342
1344
|
disabled: field.meta.disabled,
|
|
1343
1345
|
error: field.meta.error,
|
|
@@ -1399,6 +1401,7 @@ export var MultiSelectInput = /*#__PURE__*/React.forwardRef(function MultiSelect
|
|
|
1399
1401
|
_onChange && _onChange(value, e);
|
|
1400
1402
|
};
|
|
1401
1403
|
return /*#__PURE__*/React.createElement(MultiSelect, _extends({
|
|
1404
|
+
"aria-required": field.meta.required,
|
|
1402
1405
|
block: true,
|
|
1403
1406
|
disabled: field.meta.disabled,
|
|
1404
1407
|
error: field.meta.error,
|
|
@@ -1461,6 +1464,7 @@ export var GroupSelectInput = /*#__PURE__*/React.forwardRef(function GroupSelect
|
|
|
1461
1464
|
_onChange && _onChange(value, e);
|
|
1462
1465
|
};
|
|
1463
1466
|
return /*#__PURE__*/React.createElement(GroupSelect, _extends({
|
|
1467
|
+
"aria-required": field.meta.required,
|
|
1464
1468
|
block: true,
|
|
1465
1469
|
disabled: field.meta.disabled,
|
|
1466
1470
|
error: field.meta.error,
|
|
@@ -1530,6 +1534,7 @@ export var TieredSelectInput = /*#__PURE__*/React.forwardRef(function TieredSele
|
|
|
1530
1534
|
_onClear && _onClear(e);
|
|
1531
1535
|
};
|
|
1532
1536
|
return /*#__PURE__*/React.createElement(TieredSelect, _extends({
|
|
1537
|
+
"aria-required": field.meta.required,
|
|
1533
1538
|
block: true,
|
|
1534
1539
|
disabled: field.meta.disabled,
|
|
1535
1540
|
error: field.meta.error,
|