@procore/core-react 11.26.1 → 11.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar/Avatar.d.ts +1 -1
- package/dist/Avatar/Avatar.js +1 -1
- package/dist/Avatar/Avatar.js.map +1 -1
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/Banner/Banner.js +1 -1
- package/dist/Banner/Banner.js.map +1 -1
- package/dist/Banner/Banner.styles.js +10 -10
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Button/Button.js +3 -3
- package/dist/Button/Button.js.map +1 -1
- package/dist/Button/Button.styles.js +6 -6
- package/dist/Button/Button.styles.js.map +1 -1
- package/dist/Button/Button.types.d.ts +5 -0
- package/dist/Button/Button.types.js.map +1 -1
- package/dist/Calendar/Calendar.styles.js +8 -8
- package/dist/Card/Card.d.ts +1 -1
- package/dist/Card/Card.js +1 -1
- package/dist/Card/Card.js.map +1 -1
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.d.ts +1 -1
- package/dist/Checkbox/Checkbox.js +1 -1
- package/dist/Checkbox/Checkbox.js.map +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ContactItem/ContactItem.js +1 -1
- package/dist/ContactItem/ContactItem.js.map +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DateSelect/DateSelect.d.ts +1 -1
- package/dist/DateSelect/DateSelect.js +1 -1
- package/dist/DateSelect/DateSelect.js.map +1 -1
- package/dist/DetailPage/DetailPage.d.ts +1 -1
- package/dist/DetailPage/DetailPage.js +1 -1
- package/dist/DetailPage/DetailPage.js.map +1 -1
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.js +1 -1
- package/dist/Dropdown/Dropdown.js.map +1 -1
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.d.ts +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.js +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.js.map +1 -1
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +2 -2
- package/dist/Dropzone/Dropzone.js.map +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.js +1 -1
- package/dist/EmptyState/EmptyState.js.map +1 -1
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.d.ts +1 -1
- package/dist/FileList/FileList.js +1 -1
- package/dist/FileList/FileList.js.map +1 -1
- package/dist/FileList/FileList.styles.js +4 -4
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelect.types.d.ts +1 -1
- package/dist/FileSelect/FileSelect.types.js.map +1 -1
- 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 +4 -4
- package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
- package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
- package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
- package/dist/FileToken/FileToken.styles.js +4 -4
- package/dist/FilterToken/FilterToken.styles.js +2 -2
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.styles.js +16 -16
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.d.ts +1 -1
- package/dist/GroupSelect/GroupSelect.js +1 -1
- package/dist/GroupSelect/GroupSelect.js.map +1 -1
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.d.ts +1 -1
- package/dist/Input/Input.js +1 -1
- package/dist/Input/Input.js.map +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.d.ts +1 -1
- package/dist/Link/Link.js +1 -1
- package/dist/Link/Link.js.map +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu/Menu.js +1 -1
- package/dist/Menu/Menu.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.js +1 -1
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.js +13 -13
- package/dist/MenuImperative/MenuImperative.styles.js.map +1 -1
- package/dist/Modal/Modal.js +1 -1
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.js +1 -1
- package/dist/MultiSelect/MultiSelect.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextMenu/NextMenu.d.ts +1 -1
- package/dist/NextMenu/NextMenu.js +1 -1
- package/dist/NextMenu/NextMenu.js.map +1 -1
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- package/dist/Notation/Notation.d.ts +1 -1
- package/dist/Notation/Notation.js +2 -2
- package/dist/Notation/Notation.js.map +1 -1
- package/dist/NumberInput/NumberInput.d.ts +1 -1
- package/dist/NumberInput/NumberInput.js +1 -1
- package/dist/NumberInput/NumberInput.js.map +1 -1
- package/dist/NumberInput/NumberInput.styles.js +7 -7
- package/dist/Overlay/OverlayArrow.styles.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.d.ts +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.js +13 -13
- package/dist/Pagination/Pagination.d.ts +1 -1
- package/dist/Pagination/Pagination.js +1 -1
- package/dist/Pagination/Pagination.js.map +1 -1
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.js +1 -1
- package/dist/Panel/Panel.js.map +1 -1
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.d.ts +1 -1
- package/dist/Pill/Pill.js +1 -1
- package/dist/Pill/Pill.js.map +1 -1
- package/dist/Pill/Pill.styles.js +2 -2
- package/dist/PillSelect/PillSelect.d.ts +1 -1
- package/dist/PillSelect/PillSelect.js +1 -1
- package/dist/PillSelect/PillSelect.js.map +1 -1
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- package/dist/Popover/Popover.d.ts +1 -1
- package/dist/Popover/Popover.js +1 -1
- package/dist/Popover/Popover.js.map +1 -1
- package/dist/Popover/Popover.styles.js +2 -2
- package/dist/Portal/Portal.d.ts +1 -1
- package/dist/Portal/Portal.js +1 -1
- package/dist/Portal/Portal.js.map +1 -1
- package/dist/Portal/Portal.styles.js +1 -1
- package/dist/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/ProgressBar/ProgressBar.js +1 -1
- package/dist/ProgressBar/ProgressBar.js.map +1 -1
- package/dist/ProgressBar/ProgressBar.styles.js +2 -2
- package/dist/RadioButton/RadioButton.d.ts +1 -1
- package/dist/RadioButton/RadioButton.js +1 -1
- package/dist/RadioButton/RadioButton.js.map +1 -1
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.d.ts +1 -1
- package/dist/Required/Required.js +1 -1
- package/dist/Required/Required.js.map +1 -1
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.d.ts +1 -1
- package/dist/Search/Search.js +1 -1
- package/dist/Search/Search.js.map +1 -1
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.styles.js +6 -6
- package/dist/SegmentedController/SegmentedController.d.ts +1 -1
- package/dist/SegmentedController/SegmentedController.js +1 -1
- package/dist/SegmentedController/SegmentedController.js.map +1 -1
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.js +1 -1
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Sidebar/Sidebar.styles.js +7 -7
- package/dist/Slider/Slider.d.ts +1 -1
- package/dist/Slider/Slider.js +1 -1
- package/dist/Slider/Slider.js.map +1 -1
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.d.ts +1 -1
- package/dist/Spinner/Spinner.js +1 -1
- package/dist/Spinner/Spinner.js.map +1 -1
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/Switch/Switch.d.ts +1 -1
- package/dist/Switch/Switch.js +1 -1
- package/dist/Switch/Switch.js.map +1 -1
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Table/Table.js +1 -1
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tabs/Tabs.js +1 -1
- package/dist/Tabs/Tabs.js.map +1 -1
- package/dist/Tabs/Tabs.styles.js +8 -8
- package/dist/Tearsheet/Tearsheet.d.ts +1 -1
- package/dist/Tearsheet/Tearsheet.js +1 -1
- package/dist/Tearsheet/Tearsheet.js.map +1 -1
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.d.ts +1 -1
- package/dist/TextArea/TextArea.js +1 -1
- package/dist/TextArea/TextArea.js.map +1 -1
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditor/TextEditor.d.ts +1 -1
- package/dist/TextEditor/TextEditor.js +1 -1
- package/dist/TextEditor/TextEditor.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.d.ts +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.js.map +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.js +1 -1
- package/dist/Thumbnail/Thumbnail.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.d.ts +1 -1
- package/dist/TieredSelect/TieredSelect.js +1 -1
- package/dist/TieredSelect/TieredSelect.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 +7 -7
- package/dist/Toast/Toast.d.ts +1 -1
- package/dist/Toast/Toast.js +1 -1
- package/dist/Toast/Toast.js.map +1 -1
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/ToggleButton/ToggleButton.js +1 -1
- package/dist/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.d.ts +1 -1
- package/dist/Token/Token.js +1 -1
- package/dist/Token/Token.js.map +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/Tooltip/Tooltip.js +1 -1
- package/dist/Tooltip/Tooltip.js.map +1 -1
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.d.ts +1 -1
- package/dist/Tree/Tree.js +1 -1
- package/dist/Tree/Tree.js.map +1 -1
- package/dist/Tree/Tree.styles.js +9 -9
- package/dist/Typeahead/Typeahead.d.ts +1 -1
- package/dist/Typeahead/Typeahead.js +1 -1
- package/dist/Typeahead/Typeahead.js.map +1 -1
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.d.ts +1 -1
- package/dist/Typography/Typography.js +1 -1
- package/dist/Typography/Typography.js.map +1 -1
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +13 -13
- package/dist/_typedoc/Box/Box.types.json +68 -68
- package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
- package/dist/_typedoc/Button/Button.types.json +21 -11
- 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 +9 -9
- 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 +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
- package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
- package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
- package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +28 -28
- 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 +9 -9
- 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 +726 -726
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +4 -4
- 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 +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +41 -41
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
- package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +27 -27
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +47 -47
- package/dist/_typedoc/Popover/Popover.types.json +14 -14
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
- 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 +14 -14
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
- package/dist/_typedoc/Select/Select.types.json +57 -57
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +97 -97
- package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
- 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 +42 -42
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
- package/dist/_typedoc/Tile/Tile.types.json +30 -30
- 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 +3 -3
- package/dist/_typedoc/Token/Token.types.json +4 -4
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +86 -86
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +8 -8
- package/dist/_typedoc/_utils/types.json +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.js","names":["React","addSubcomponents","StyledActions","StyledDescription","StyledEmptyState","StyledImage","StyledSvg","StyledTitle","Image","forwardRef","_ref","ref","children","src","alt","props","_objectWithoutProperties","_excluded","createElement","_extends","Title","_ref2","_excluded2","Description","_ref3","_excluded3","Actions","_ref4","_excluded4","NoResults","width","height","viewBox","fill","xmlns","d","NoItems","NoItemsWithoutCreatePermissions","fillRule","clipRule","RecycleBin","EmptyState_","EmptyState","_ref5","_ref5$compact","compact","title","_excluded5","displayName"],"sources":["../../src/EmptyState/EmptyState.tsx"],"sourcesContent":["import React from 'react'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { DivAttributes, ImgAttributes, Props } from '../_utils/types'\nimport {\n StyledActions,\n StyledDescription,\n StyledEmptyState,\n StyledImage,\n StyledSvg,\n StyledTitle,\n} from './EmptyState.styles'\nimport type { EmptyStateImageProps, EmptyStateProps } from './EmptyState.types'\n\nconst Image = React.forwardRef<\n HTMLDivElement,\n ImgAttributes & DivAttributes & EmptyStateImageProps\n>(function Image({ children, src, alt, ...props }, ref) {\n return (\n <StyledImage aria-hidden={true} ref={ref} {...props}>\n {src ? <img alt={alt} src={src} /> : children}\n </StyledImage>\n )\n})\n\nconst Title = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Title({ children, ...props }, ref) {\n return (\n <StyledTitle {...props} ref={ref}>\n {children}\n </StyledTitle>\n )\n }\n)\n\nconst Description = React.forwardRef<\n HTMLDivElement,\n { as?: 'p' | 'div' } & DivAttributes & Props\n>(function Description({ children, ...props }, ref) {\n return (\n <StyledDescription {...props} ref={ref}>\n {children}\n </StyledDescription>\n )\n})\n\nconst Actions = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Actions({ children, ...props }, ref) {\n return (\n <StyledActions {...props} ref={ref}>\n {children}\n </StyledActions>\n )\n }\n)\n\n// preset images\n\nconst NoResults = React.forwardRef<HTMLDivElement, Props>(function NoResults(\n props,\n ref\n) {\n return (\n <Image aria-hidden={true} {...props} ref={ref}>\n <StyledSvg\n width=\"200\"\n height=\"200\"\n viewBox=\"0 0 200 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M72.94 132.45H25.97V54.5H0V143.5H79.13C76.58 140.15 74.49 136.43 72.94 132.45Z\"\n fill=\"#D6DADC\"\n />\n <path d=\"M141 30.5V41H25.86V119.5H13V30.5H141Z\" fill=\"#1952B3\" />\n <path d=\"M150 133H26V41H150V73.85V88.6V133Z\" fill=\"white\" />\n <path\n d=\"M117.5 152C142.629 152 163 131.629 163 106.5C163 81.3711 142.629 61 117.5 61C92.371 61 72 81.3711 72 106.5C72 131.629 92.371 152 117.5 152Z\"\n fill=\"white\"\n />\n <path\n d=\"M97.75 65.5H36.5V90.5H74.9C79.03 79.52 87.27 70.56 97.75 65.5Z\"\n fill=\"#F3F4F6\"\n />\n <path\n d=\"M72 106.5C72 103.06 72.39 99.72 73.12 96.5H36.5V121.5H74.54C72.9 116.8 72 111.76 72 106.5Z\"\n fill=\"#F3F4F6\"\n />\n <path d=\"M39.96 47.93H36.85V51.04H39.96V47.93Z\" fill=\"#232729\" />\n <path d=\"M45.4 47.93H42.29V51.04H45.4V47.93Z\" fill=\"#232729\" />\n <path d=\"M50.85 47.93H47.74V51.04H50.85V47.93Z\" fill=\"#232729\" />\n <path\n d=\"M157.59 138.1L155.4 140.29L151.7 136.59C158.77 128.56 163.07 118.05 163.07 106.54C163.07 96.64 159.89 87.48 154.5 80V39H153.5H146.5H106.5V41H25.5V133H80.5C88.77 144.54 102.28 152.08 117.53 152.08C128.76 152.08 139.05 147.98 147 141.22L150.74 144.96L148.55 147.15L183.74 182.34L192.79 173.29L157.59 138.1ZM148.74 73.43C148.72 73.41 148.69 73.38 148.67 73.36C148.7 73.38 148.72 73.41 148.74 73.43ZM29.5 129V58H139.5V54H29.5V45H106.5V47H146.5V71.43C138.62 64.92 128.52 61 117.53 61C92.42 61 71.99 81.43 71.99 106.54C71.99 114.7 74.16 122.37 77.94 129H29.5ZM117.53 145.41C96.1 145.41 78.66 127.97 78.66 106.54C78.66 85.11 96.1 67.67 117.53 67.67C138.96 67.67 156.4 85.1 156.4 106.54C156.4 127.98 138.96 145.41 117.53 145.41Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M183.73 182.33L148.54 147.14L150.73 144.95L146.99 141.21C139.04 147.98 128.75 152.07 117.52 152.07C92.41 152.07 71.98 131.64 71.98 106.53C71.98 104.73 72.1 102.96 72.3 101.22C70.71 105.85 69.83 110.81 69.83 115.97C69.83 141.08 90.26 161.51 115.37 161.51C126.6 161.51 136.89 157.41 144.84 150.65L148.58 154.39L146.39 156.58L181.58 191.77L190.63 182.72L186.98 179.07L183.73 182.33Z\"\n fill=\"#D6DADC\"\n />\n <path\n d=\"M127.4 88.15C125.04 86.17 121.71 85.18 117.42 85.18C113.11 85.18 109.76 86.25 107.37 88.4C104.98 90.55 103.77 93.55 103.73 97.4H113.49C113.53 95.96 113.9 94.81 114.62 93.96C115.33 93.11 116.27 92.69 117.42 92.69C119.92 92.69 121.18 94.14 121.18 97.05C121.18 98.24 120.81 99.34 120.07 100.33C119.33 101.32 118.25 102.41 116.82 103.61C115.4 104.8 114.37 106.21 113.73 107.84C113.1 109.47 112.78 111.69 112.78 114.5H121.04C121.08 113.04 121.28 111.83 121.65 110.88C122.01 109.93 122.67 109 123.61 108.09L126.93 105C128.34 103.63 129.36 102.29 129.99 100.98C130.63 99.67 130.94 98.22 130.94 96.62C130.93 92.96 129.76 90.14 127.4 88.15Z\"\n fill=\"#FF5200\"\n />\n <path\n d=\"M117 120.12C115.46 120.12 114.17 120.58 113.14 121.49C112.11 122.4 111.59 123.57 111.59 125C111.59 126.43 112.11 127.6 113.14 128.51C114.17 129.43 115.46 129.88 117 129.88C118.54 129.88 119.83 129.42 120.86 128.51C121.89 127.6 122.41 126.42 122.41 125C122.41 123.57 121.89 122.4 120.86 121.49C119.83 120.57 118.54 120.12 117 120.12Z\"\n fill=\"#FF5200\"\n />\n <path\n d=\"M141.314 19.1213L139.192 17L132.121 24.0711L134.243 26.1924L141.314 19.1213Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M100.071 26.1213L102.192 24L95.1213 16.9289L93 19.0503L100.071 26.1213Z\"\n fill=\"#232729\"\n />\n <path d=\"M119.192 9H116.192V20H119.192V9Z\" fill=\"#232729\" />\n <path\n d=\"M93 180.071L95.1213 182.192L102.192 175.121L100.071 173L93 180.071Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M134.243 173.071L132.121 175.192L139.192 182.263L141.314 180.142L134.243 173.071Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M115.121 190.192L118.121 190.192L118.121 179.192L115.121 179.192L115.121 190.192Z\"\n fill=\"#232729\"\n />\n </StyledSvg>\n </Image>\n )\n})\n\nconst NoItems = React.forwardRef<HTMLDivElement, Props>(function NoItems(\n props,\n ref\n) {\n return (\n <Image {...props} ref={ref}>\n <StyledSvg\n width=\"200\"\n height=\"200\"\n viewBox=\"0 0 200 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M186 63V140H43V177H200V63H186Z\" fill=\"#D6DADC\" />\n <path d=\"M170.5 45H13.5V159H170.5V45Z\" fill=\"white\" />\n <path d=\"M29.5 26V45H170.5V140H186.5V26H29.5Z\" fill=\"#1952B3\" />\n <path\n d=\"M175 155V42H167H121.5V44H15H11V84H15V64H161V60H15V48H121.5V50H167V155H31V163H175V155Z\"\n fill=\"#232729\"\n />\n <path d=\"M28 52H24V56H28V52Z\" fill=\"#232729\" />\n <path d=\"M35 52H31V56H35V52Z\" fill=\"#232729\" />\n <path d=\"M42 52H38V56H42V52Z\" fill=\"#232729\" />\n <path d=\"M120 76H30V106H120V76Z\" fill=\"#F3F4F6\" />\n <path d=\"M153.5 76H126.5V142H153.5V76Z\" fill=\"#F3F4F6\" />\n <path d=\"M120 112H30V142H120V112Z\" fill=\"#F3F4F6\" />\n <path\n d=\"M44 120.77H26.23V103H17.77V120.77H0V129.23H17.77V147H26.23V129.23H44V120.77Z\"\n fill=\"#FF5100\"\n />\n <path\n d=\"M60.0711 146.314L62.1924 144.192L55.1213 137.121L53 139.243L60.0711 146.314Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M53.0711 105.071L55.1924 107.192L62.2634 100.121L60.1421 98L53.0711 105.071Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M70.1924 124.192V121.192H59.1924V124.192H70.1924Z\"\n fill=\"#232729\"\n />\n </StyledSvg>\n </Image>\n )\n})\n\nconst NoItemsWithoutCreatePermissions = React.forwardRef<HTMLDivElement, Props>(\n function NoItemsWithoutCreatePermissions(props, ref) {\n return (\n <Image {...props} ref={ref}>\n <StyledSvg\n width=\"213\"\n height=\"200\"\n viewBox=\"0 0 213 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M199 63v77H56v37h157V63h-14z\" fill=\"#D6DADC\" />\n <path d=\"M183.5 45h-157v114h157V45z\" fill=\"#fff\" />\n <path d=\"M42.5 26v19h141v95h16V26h-157z\" fill=\"#1952B3\" />\n <path\n d=\"M41 52h-4v4h4v-4zM48 52h-4v4h4v-4zM55 52h-4v4h4v-4z\"\n fill=\"#FF5100\"\n />\n <path\n d=\"M133 76H43v30h90V76zM166.5 76h-27v66h27V76zM133 112H43v30h90v-30z\"\n fill=\"#F4F5F6\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M188 42v121H44v-2H24V44h110.5v-2H188zM28 157V64h146v-4H28V48h106.5v2H180v105H44v2H28z\"\n fill=\"#000\"\n />\n <path\n d=\"M10.121 103L8 105.121l7.071 7.071 2.121-2.121-7.07-7.071zM17.121 144.243L15 142.121l-7.071 7.071 2.121 2.122 7.071-7.071zM0 125.121v3h11v-3H0z\"\n fill=\"#232729\"\n />\n </StyledSvg>\n </Image>\n )\n }\n)\n\nconst RecycleBin = React.forwardRef<HTMLDivElement, Props>(function RecycleBin(\n props,\n ref\n) {\n return (\n <Image {...props} ref={ref}>\n <StyledSvg\n width=\"200\"\n height=\"200\"\n viewBox=\"0 0 200 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M189 200H12L22 175.024H179L189 200Z\" fill=\"#D6DADC\" />\n <path d=\"M23 65.1297L41 44.1499V65.1297H23Z\" fill=\"#232729\" />\n <path d=\"M179 65.1297L161 44.1499V65.1297H179Z\" fill=\"#232729\" />\n <path\n d=\"M87.7199 38.7052L85.0639 34.1595H41V37.3964V38.7052V41.3726V124.073H161V38.7052H87.7199Z\"\n fill=\"#1952B3\"\n />\n <path\n d=\"M86.17 53.204L83.2 48.1461H34V51.7404V53.204V56.1611V148.05H168V53.204H86.17Z\"\n fill=\"#D6DADC\"\n />\n <path d=\"M179 65.1297H23V175.024H179V65.1297Z\" fill=\"white\" />\n <path\n d=\"M175 69.1259V171.028H27V69.1259H175ZM179 65.1297H23V175.024H179V65.1297Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M80 177.022H21V97.099H28.9878V169.03H80V177.022Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M114.5 97.099H86.5C82.91 97.099 80 94.1918 80 90.6052V89.6062C80 86.0197 82.91 83.1125 86.5 83.1125H114.5C118.09 83.1125 121 86.0197 121 89.6062V90.6052C121 94.1918 118.09 97.099 114.5 97.099Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M142 154.044H60V108.088H142V154.044ZM64 150.004H138V112.128H64V150.004Z\"\n fill=\"#FF5200\"\n />\n <path d=\"M130 120.077H72V124.073H130V120.077Z\" fill=\"#D6DADC\" />\n <path d=\"M130 129.068H72V133.064H130V129.068Z\" fill=\"#D6DADC\" />\n <path d=\"M105.5 138.06H72V142.056H105.5V138.06Z\" fill=\"#D6DADC\" />\n <path\n d=\"M123.314 10.1116L121.192 7.99231L114.121 15.0566L116.243 17.1759L123.314 10.1116Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M82.0711 17.1049L84.1924 14.9856L77.1213 7.92131L75 10.0406L82.0711 17.1049Z\"\n fill=\"#232729\"\n />\n <path d=\"M101.192 0H98.1924V10.9894H101.192V0Z\" fill=\"#232729\" />\n </StyledSvg>\n </Image>\n )\n})\n\n/**\n\n We place empty states on pages where nothing has been created yet.\n They tell the user what they need to know about the page and how to get\n started creating or using the page’s main features.\n\n @since 10.19.0\n\n @see [Storybook](https://procore.github.io/core/core-react/latest/?path=/story/demos-emptystate--demo)\n\n @see [Design Guidelines](https://design.procore.com/empty-state)\n\n */\nconst EmptyState_ = React.forwardRef<\n HTMLDivElement,\n DivAttributes & EmptyStateProps\n>(function EmptyState({ children, compact = false, title, ...props }, ref) {\n return (\n <StyledEmptyState compact={compact} {...props} ref={ref}>\n {children}\n </StyledEmptyState>\n )\n})\n\nEmptyState_.displayName = 'EmptyState'\n\nActions.displayName = 'EmptyState.Actions'\n\nDescription.displayName = 'EmptyState.Description'\n\nImage.displayName = 'EmptyState.Image'\n\nNoItems.displayName = 'EmptyState.NoResults'\n\nNoItemsWithoutCreatePermissions.displayName =\n 'EmptyState.NoItemsWithoutCreatePermissions'\n\nNoResults.displayName = 'EmptyState.NoResults'\n\nRecycleBin.displayName = 'EmptyState.RecyleBin'\n\nTitle.displayName = 'EmptyState.Title'\n\nexport const EmptyState = addSubcomponents(\n {\n Actions,\n Description,\n Image,\n NoItems,\n NoItemsWithoutCreatePermissions,\n NoResults,\n RecycleBin,\n Title,\n },\n EmptyState_\n)\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,aAAa,EACbC,iBAAiB,EACjBC,gBAAgB,EAChBC,WAAW,EACXC,SAAS,EACTC,WAAW,QACN,qBAAqB;AAG5B,IAAMC,KAAK,gBAAGR,KAAK,CAACS,UAAU,CAG5B,SAASD,KAAKA,CAAAE,IAAA,EAAmCC,GAAG,EAAE;EAAA,IAArCC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;IAAEC,GAAG,GAAAJ,IAAA,CAAHI,GAAG;IAAKC,KAAK,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA;EAC7C,oBACEjB,KAAA,CAAAkB,aAAA,CAACb,WAAW,EAAAc,QAAA;IAAC,eAAa,IAAK;IAACR,GAAG,EAAEA;EAAI,GAAKI,KAAK,GAChDF,GAAG,gBAAGb,KAAA,CAAAkB,aAAA;IAAKJ,GAAG,EAAEA,GAAI;IAACD,GAAG,EAAEA;EAAI,CAAE,CAAC,GAAGD,QAC1B,CAAC;AAElB,CAAC,CAAC;AAEF,IAAMQ,KAAK,gBAAGpB,KAAK,CAACS,UAAU,CAC5B,S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Z,OAAO,CAACY,WAAW,GAAG,sBAAsB;AAE5CX,+BAA+B,CAACW,WAAW,GACzC,4CAA4C;AAE9CnB,SAAS,CAACmB,WAAW,GAAG,sBAAsB;AAE9CR,UAAU,CAACQ,WAAW,GAAG,sBAAsB;AAE/C5B,KAAK,CAAC4B,WAAW,GAAG,kBAAkB;AAEtC,OAAO,IAAMN,UAAU,GAAGzC,gBAAgB,CACxC;EACEyB,OAAO,EAAPA,OAAO;EACPH,WAAW,EAAXA,WAAW;EACXf,KAAK,EAALA,KAAK;EACL4B,OAAO,EAAPA,OAAO;EACPC,+BAA+B,EAA/BA,+BAA+B;EAC/BR,SAAS,EAATA,SAAS;EACTW,UAAU,EAAVA,UAAU;EACVpB,KAAK,EAALA;AACF,CAAC,EACDqB,WACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"EmptyState.js","names":["React","addSubcomponents","StyledActions","StyledDescription","StyledEmptyState","StyledImage","StyledSvg","StyledTitle","Image","forwardRef","_ref","ref","children","src","alt","props","_objectWithoutProperties","_excluded","createElement","_extends","Title","_ref2","_excluded2","Description","_ref3","_excluded3","Actions","_ref4","_excluded4","NoResults","width","height","viewBox","fill","xmlns","d","NoItems","NoItemsWithoutCreatePermissions","fillRule","clipRule","RecycleBin","EmptyState_","EmptyState","_ref5","_ref5$compact","compact","title","_excluded5","displayName"],"sources":["../../src/EmptyState/EmptyState.tsx"],"sourcesContent":["import React from 'react'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { DivAttributes, ImgAttributes, Props } from '../_utils/types'\nimport {\n StyledActions,\n StyledDescription,\n StyledEmptyState,\n StyledImage,\n StyledSvg,\n StyledTitle,\n} from './EmptyState.styles'\nimport type { EmptyStateImageProps, EmptyStateProps } from './EmptyState.types'\n\nconst Image = React.forwardRef<\n HTMLDivElement,\n ImgAttributes & DivAttributes & EmptyStateImageProps\n>(function Image({ children, src, alt, ...props }, ref) {\n return (\n <StyledImage aria-hidden={true} ref={ref} {...props}>\n {src ? <img alt={alt} src={src} /> : children}\n </StyledImage>\n )\n})\n\nconst Title = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Title({ children, ...props }, ref) {\n return (\n <StyledTitle {...props} ref={ref}>\n {children}\n </StyledTitle>\n )\n }\n)\n\nconst Description = React.forwardRef<\n HTMLDivElement,\n { as?: 'p' | 'div' } & DivAttributes & Props\n>(function Description({ children, ...props }, ref) {\n return (\n <StyledDescription {...props} ref={ref}>\n {children}\n </StyledDescription>\n )\n})\n\nconst Actions = React.forwardRef<HTMLDivElement, DivAttributes & Props>(\n function Actions({ children, ...props }, ref) {\n return (\n <StyledActions {...props} ref={ref}>\n {children}\n </StyledActions>\n )\n }\n)\n\n// preset images\n\nconst NoResults = React.forwardRef<HTMLDivElement, Props>(function NoResults(\n props,\n ref\n) {\n return (\n <Image aria-hidden={true} {...props} ref={ref}>\n <StyledSvg\n width=\"200\"\n height=\"200\"\n viewBox=\"0 0 200 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n d=\"M72.94 132.45H25.97V54.5H0V143.5H79.13C76.58 140.15 74.49 136.43 72.94 132.45Z\"\n fill=\"#D6DADC\"\n />\n <path d=\"M141 30.5V41H25.86V119.5H13V30.5H141Z\" fill=\"#1952B3\" />\n <path d=\"M150 133H26V41H150V73.85V88.6V133Z\" fill=\"white\" />\n <path\n d=\"M117.5 152C142.629 152 163 131.629 163 106.5C163 81.3711 142.629 61 117.5 61C92.371 61 72 81.3711 72 106.5C72 131.629 92.371 152 117.5 152Z\"\n fill=\"white\"\n />\n <path\n d=\"M97.75 65.5H36.5V90.5H74.9C79.03 79.52 87.27 70.56 97.75 65.5Z\"\n fill=\"#F3F4F6\"\n />\n <path\n d=\"M72 106.5C72 103.06 72.39 99.72 73.12 96.5H36.5V121.5H74.54C72.9 116.8 72 111.76 72 106.5Z\"\n fill=\"#F3F4F6\"\n />\n <path d=\"M39.96 47.93H36.85V51.04H39.96V47.93Z\" fill=\"#232729\" />\n <path d=\"M45.4 47.93H42.29V51.04H45.4V47.93Z\" fill=\"#232729\" />\n <path d=\"M50.85 47.93H47.74V51.04H50.85V47.93Z\" fill=\"#232729\" />\n <path\n d=\"M157.59 138.1L155.4 140.29L151.7 136.59C158.77 128.56 163.07 118.05 163.07 106.54C163.07 96.64 159.89 87.48 154.5 80V39H153.5H146.5H106.5V41H25.5V133H80.5C88.77 144.54 102.28 152.08 117.53 152.08C128.76 152.08 139.05 147.98 147 141.22L150.74 144.96L148.55 147.15L183.74 182.34L192.79 173.29L157.59 138.1ZM148.74 73.43C148.72 73.41 148.69 73.38 148.67 73.36C148.7 73.38 148.72 73.41 148.74 73.43ZM29.5 129V58H139.5V54H29.5V45H106.5V47H146.5V71.43C138.62 64.92 128.52 61 117.53 61C92.42 61 71.99 81.43 71.99 106.54C71.99 114.7 74.16 122.37 77.94 129H29.5ZM117.53 145.41C96.1 145.41 78.66 127.97 78.66 106.54C78.66 85.11 96.1 67.67 117.53 67.67C138.96 67.67 156.4 85.1 156.4 106.54C156.4 127.98 138.96 145.41 117.53 145.41Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M183.73 182.33L148.54 147.14L150.73 144.95L146.99 141.21C139.04 147.98 128.75 152.07 117.52 152.07C92.41 152.07 71.98 131.64 71.98 106.53C71.98 104.73 72.1 102.96 72.3 101.22C70.71 105.85 69.83 110.81 69.83 115.97C69.83 141.08 90.26 161.51 115.37 161.51C126.6 161.51 136.89 157.41 144.84 150.65L148.58 154.39L146.39 156.58L181.58 191.77L190.63 182.72L186.98 179.07L183.73 182.33Z\"\n fill=\"#D6DADC\"\n />\n <path\n d=\"M127.4 88.15C125.04 86.17 121.71 85.18 117.42 85.18C113.11 85.18 109.76 86.25 107.37 88.4C104.98 90.55 103.77 93.55 103.73 97.4H113.49C113.53 95.96 113.9 94.81 114.62 93.96C115.33 93.11 116.27 92.69 117.42 92.69C119.92 92.69 121.18 94.14 121.18 97.05C121.18 98.24 120.81 99.34 120.07 100.33C119.33 101.32 118.25 102.41 116.82 103.61C115.4 104.8 114.37 106.21 113.73 107.84C113.1 109.47 112.78 111.69 112.78 114.5H121.04C121.08 113.04 121.28 111.83 121.65 110.88C122.01 109.93 122.67 109 123.61 108.09L126.93 105C128.34 103.63 129.36 102.29 129.99 100.98C130.63 99.67 130.94 98.22 130.94 96.62C130.93 92.96 129.76 90.14 127.4 88.15Z\"\n fill=\"#FF5200\"\n />\n <path\n d=\"M117 120.12C115.46 120.12 114.17 120.58 113.14 121.49C112.11 122.4 111.59 123.57 111.59 125C111.59 126.43 112.11 127.6 113.14 128.51C114.17 129.43 115.46 129.88 117 129.88C118.54 129.88 119.83 129.42 120.86 128.51C121.89 127.6 122.41 126.42 122.41 125C122.41 123.57 121.89 122.4 120.86 121.49C119.83 120.57 118.54 120.12 117 120.12Z\"\n fill=\"#FF5200\"\n />\n <path\n d=\"M141.314 19.1213L139.192 17L132.121 24.0711L134.243 26.1924L141.314 19.1213Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M100.071 26.1213L102.192 24L95.1213 16.9289L93 19.0503L100.071 26.1213Z\"\n fill=\"#232729\"\n />\n <path d=\"M119.192 9H116.192V20H119.192V9Z\" fill=\"#232729\" />\n <path\n d=\"M93 180.071L95.1213 182.192L102.192 175.121L100.071 173L93 180.071Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M134.243 173.071L132.121 175.192L139.192 182.263L141.314 180.142L134.243 173.071Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M115.121 190.192L118.121 190.192L118.121 179.192L115.121 179.192L115.121 190.192Z\"\n fill=\"#232729\"\n />\n </StyledSvg>\n </Image>\n )\n})\n\nconst NoItems = React.forwardRef<HTMLDivElement, Props>(function NoItems(\n props,\n ref\n) {\n return (\n <Image {...props} ref={ref}>\n <StyledSvg\n width=\"200\"\n height=\"200\"\n viewBox=\"0 0 200 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M186 63V140H43V177H200V63H186Z\" fill=\"#D6DADC\" />\n <path d=\"M170.5 45H13.5V159H170.5V45Z\" fill=\"white\" />\n <path d=\"M29.5 26V45H170.5V140H186.5V26H29.5Z\" fill=\"#1952B3\" />\n <path\n d=\"M175 155V42H167H121.5V44H15H11V84H15V64H161V60H15V48H121.5V50H167V155H31V163H175V155Z\"\n fill=\"#232729\"\n />\n <path d=\"M28 52H24V56H28V52Z\" fill=\"#232729\" />\n <path d=\"M35 52H31V56H35V52Z\" fill=\"#232729\" />\n <path d=\"M42 52H38V56H42V52Z\" fill=\"#232729\" />\n <path d=\"M120 76H30V106H120V76Z\" fill=\"#F3F4F6\" />\n <path d=\"M153.5 76H126.5V142H153.5V76Z\" fill=\"#F3F4F6\" />\n <path d=\"M120 112H30V142H120V112Z\" fill=\"#F3F4F6\" />\n <path\n d=\"M44 120.77H26.23V103H17.77V120.77H0V129.23H17.77V147H26.23V129.23H44V120.77Z\"\n fill=\"#FF5100\"\n />\n <path\n d=\"M60.0711 146.314L62.1924 144.192L55.1213 137.121L53 139.243L60.0711 146.314Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M53.0711 105.071L55.1924 107.192L62.2634 100.121L60.1421 98L53.0711 105.071Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M70.1924 124.192V121.192H59.1924V124.192H70.1924Z\"\n fill=\"#232729\"\n />\n </StyledSvg>\n </Image>\n )\n})\n\nconst NoItemsWithoutCreatePermissions = React.forwardRef<HTMLDivElement, Props>(\n function NoItemsWithoutCreatePermissions(props, ref) {\n return (\n <Image {...props} ref={ref}>\n <StyledSvg\n width=\"213\"\n height=\"200\"\n viewBox=\"0 0 213 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M199 63v77H56v37h157V63h-14z\" fill=\"#D6DADC\" />\n <path d=\"M183.5 45h-157v114h157V45z\" fill=\"#fff\" />\n <path d=\"M42.5 26v19h141v95h16V26h-157z\" fill=\"#1952B3\" />\n <path\n d=\"M41 52h-4v4h4v-4zM48 52h-4v4h4v-4zM55 52h-4v4h4v-4z\"\n fill=\"#FF5100\"\n />\n <path\n d=\"M133 76H43v30h90V76zM166.5 76h-27v66h27V76zM133 112H43v30h90v-30z\"\n fill=\"#F4F5F6\"\n />\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M188 42v121H44v-2H24V44h110.5v-2H188zM28 157V64h146v-4H28V48h106.5v2H180v105H44v2H28z\"\n fill=\"#000\"\n />\n <path\n d=\"M10.121 103L8 105.121l7.071 7.071 2.121-2.121-7.07-7.071zM17.121 144.243L15 142.121l-7.071 7.071 2.121 2.122 7.071-7.071zM0 125.121v3h11v-3H0z\"\n fill=\"#232729\"\n />\n </StyledSvg>\n </Image>\n )\n }\n)\n\nconst RecycleBin = React.forwardRef<HTMLDivElement, Props>(function RecycleBin(\n props,\n ref\n) {\n return (\n <Image {...props} ref={ref}>\n <StyledSvg\n width=\"200\"\n height=\"200\"\n viewBox=\"0 0 200 200\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M189 200H12L22 175.024H179L189 200Z\" fill=\"#D6DADC\" />\n <path d=\"M23 65.1297L41 44.1499V65.1297H23Z\" fill=\"#232729\" />\n <path d=\"M179 65.1297L161 44.1499V65.1297H179Z\" fill=\"#232729\" />\n <path\n d=\"M87.7199 38.7052L85.0639 34.1595H41V37.3964V38.7052V41.3726V124.073H161V38.7052H87.7199Z\"\n fill=\"#1952B3\"\n />\n <path\n d=\"M86.17 53.204L83.2 48.1461H34V51.7404V53.204V56.1611V148.05H168V53.204H86.17Z\"\n fill=\"#D6DADC\"\n />\n <path d=\"M179 65.1297H23V175.024H179V65.1297Z\" fill=\"white\" />\n <path\n d=\"M175 69.1259V171.028H27V69.1259H175ZM179 65.1297H23V175.024H179V65.1297Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M80 177.022H21V97.099H28.9878V169.03H80V177.022Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M114.5 97.099H86.5C82.91 97.099 80 94.1918 80 90.6052V89.6062C80 86.0197 82.91 83.1125 86.5 83.1125H114.5C118.09 83.1125 121 86.0197 121 89.6062V90.6052C121 94.1918 118.09 97.099 114.5 97.099Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M142 154.044H60V108.088H142V154.044ZM64 150.004H138V112.128H64V150.004Z\"\n fill=\"#FF5200\"\n />\n <path d=\"M130 120.077H72V124.073H130V120.077Z\" fill=\"#D6DADC\" />\n <path d=\"M130 129.068H72V133.064H130V129.068Z\" fill=\"#D6DADC\" />\n <path d=\"M105.5 138.06H72V142.056H105.5V138.06Z\" fill=\"#D6DADC\" />\n <path\n d=\"M123.314 10.1116L121.192 7.99231L114.121 15.0566L116.243 17.1759L123.314 10.1116Z\"\n fill=\"#232729\"\n />\n <path\n d=\"M82.0711 17.1049L84.1924 14.9856L77.1213 7.92131L75 10.0406L82.0711 17.1049Z\"\n fill=\"#232729\"\n />\n <path d=\"M101.192 0H98.1924V10.9894H101.192V0Z\" fill=\"#232729\" />\n </StyledSvg>\n </Image>\n )\n})\n\n/**\n\n We place empty states on pages where nothing has been created yet.\n They tell the user what they need to know about the page and how to get\n started creating or using the page’s main features.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-emptystate--demo)\n\n @see [Design Guidelines](https://design.procore.com/empty-state)\n\n */\nconst EmptyState_ = React.forwardRef<\n HTMLDivElement,\n DivAttributes & EmptyStateProps\n>(function EmptyState({ children, compact = false, title, ...props }, ref) {\n return (\n <StyledEmptyState compact={compact} {...props} ref={ref}>\n {children}\n </StyledEmptyState>\n )\n})\n\nEmptyState_.displayName = 'EmptyState'\n\nActions.displayName = 'EmptyState.Actions'\n\nDescription.displayName = 'EmptyState.Description'\n\nImage.displayName = 'EmptyState.Image'\n\nNoItems.displayName = 'EmptyState.NoResults'\n\nNoItemsWithoutCreatePermissions.displayName =\n 'EmptyState.NoItemsWithoutCreatePermissions'\n\nNoResults.displayName = 'EmptyState.NoResults'\n\nRecycleBin.displayName = 'EmptyState.RecyleBin'\n\nTitle.displayName = 'EmptyState.Title'\n\nexport const EmptyState = addSubcomponents(\n {\n Actions,\n Description,\n Image,\n NoItems,\n NoItemsWithoutCreatePermissions,\n NoResults,\n RecycleBin,\n Title,\n },\n EmptyState_\n)\n"],"mappings":";;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,aAAa,EACbC,iBAAiB,EACjBC,gBAAgB,EAChBC,WAAW,EACXC,SAAS,EACTC,WAAW,QACN,qBAAqB;AAG5B,IAAMC,KAAK,gBAAGR,KAAK,CAACS,UAAU,CAG5B,SAASD,KAAKA,CAAAE,IAAA,EAAmCC,GAAG,EAAE;EAAA,IAArCC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;IAAEC,GAAG,GAAAJ,IAAA,CAAHI,GAAG;IAAKC,KAAK,GAAAC,wBAAA,CAAAN,IAAA,EAAAO,SAAA;EAC7C,oBACEjB,KAAA,CAAAkB,aAAA,CAACb,WAAW,EAAAc,QAAA;IAAC,eAAa,IAAK;IAACR,GAAG,EAAEA;EAAI,GAAKI,KAAK,GAChDF,GAAG,gBAAGb,KAAA,CAAAkB,aAAA;IAAKJ,GAAG,EAAEA,GAAI;IAACD,GAAG,EAAEA;EAAI,CAAE,CAAC,GAAGD,QAC1B,CAAC;AAElB,CAAC,CAAC;AAEF,IAAMQ,KAAK,gBAAGpB,KAAK,CAACS,UAAU,CAC5B,SAASW,KAAKA,CAAAC,KAAA,EAAyBV,GAAG,EAAE;EAAA,IAA3BC,QAAQ,GAAAS,KAAA,CAART,QAAQ;IAAKG,KAAK,GAAAC,wBAAA,CAAAK,KAAA,EAAAC,UAAA;EACjC,oBACEtB,KAAA,CAAAkB,aAAA,CAACX,WAAW,EAAAY,QAAA,KAAKJ,KAAK;IAAEJ,GAAG,EAAEA;EAAI,IAC9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ACxC;EACEyB,OAAO,EAAPA,OAAO;EACPH,WAAW,EAAXA,WAAW;EACXf,KAAK,EAALA,KAAK;EACL4B,OAAO,EAAPA,OAAO;EACPC,+BAA+B,EAA/BA,+BAA+B;EAC/BR,SAAS,EAATA,SAAS;EACTW,UAAU,EAAVA,UAAU;EACVpB,KAAK,EAALA;AACF,CAAC,EACDqB,WACF,CAAC"}
|
|
@@ -6,27 +6,27 @@ var emptyStateWidth = 440;
|
|
|
6
6
|
var emptyStateWidthCompact = 352;
|
|
7
7
|
export var StyledSvg = /*#__PURE__*/styled.svg.withConfig({
|
|
8
8
|
displayName: "StyledSvg",
|
|
9
|
-
componentId: "core-
|
|
9
|
+
componentId: "core-11_27_0__sc-1xaoo8n-0"
|
|
10
10
|
})(["width:200px;height:200px;"]);
|
|
11
11
|
export var StyledImage = /*#__PURE__*/styled.div.withConfig({
|
|
12
12
|
displayName: "StyledImage",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-11_27_0__sc-1xaoo8n-1"
|
|
14
14
|
})([""]);
|
|
15
15
|
export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
|
|
16
16
|
displayName: "StyledTitle",
|
|
17
|
-
componentId: "core-
|
|
17
|
+
componentId: "core-11_27_0__sc-1xaoo8n-2"
|
|
18
18
|
})(["margin-top:", "px;text-align:center;color:", ";width:", "px;", ""], spacing.xl, colors.gray15, emptyStateWidth, getTypographyIntent('h2'));
|
|
19
19
|
export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
|
|
20
20
|
displayName: "StyledDescription",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-11_27_0__sc-1xaoo8n-3"
|
|
22
22
|
})(["margin-top:", "px;text-align:center;color:", ";width:", "px;", ""], spacing.lg, colors.gray45, emptyStateWidth, getTypographyIntent('h3'));
|
|
23
23
|
export var StyledActions = /*#__PURE__*/styled.div.withConfig({
|
|
24
24
|
displayName: "StyledActions",
|
|
25
|
-
componentId: "core-
|
|
25
|
+
componentId: "core-11_27_0__sc-1xaoo8n-4"
|
|
26
26
|
})(["margin-top:", "px;"], spacing.xl);
|
|
27
27
|
export var StyledEmptyState = /*#__PURE__*/styled.div.withConfig({
|
|
28
28
|
displayName: "StyledEmptyState",
|
|
29
|
-
componentId: "core-
|
|
29
|
+
componentId: "core-11_27_0__sc-1xaoo8n-5"
|
|
30
30
|
})(["display:flex;justify-content:center;align-items:center;flex-direction:column;margin-top:", "px;margin-bottom:", "px;", "{> img{max-width:200px;}}", "}"], function (_ref) {
|
|
31
31
|
var compact = _ref.compact;
|
|
32
32
|
return compact ? 0 : 96;
|
|
@@ -2,14 +2,14 @@ import styled from 'styled-components';
|
|
|
2
2
|
import { getSmallIconBodyTextRules, StyledP } from '../Semantic/Semantic.styles';
|
|
3
3
|
export var StyledField = /*#__PURE__*/styled.div.withConfig({
|
|
4
4
|
displayName: "StyledField",
|
|
5
|
-
componentId: "core-
|
|
5
|
+
componentId: "core-11_27_0__sc-1q3pe6s-0"
|
|
6
6
|
})(["> ", "{", "}"], StyledP, getSmallIconBodyTextRules);
|
|
7
7
|
export var StyledFieldHeader = /*#__PURE__*/styled.div.withConfig({
|
|
8
8
|
displayName: "StyledFieldHeader",
|
|
9
|
-
componentId: "core-
|
|
9
|
+
componentId: "core-11_27_0__sc-1q3pe6s-1"
|
|
10
10
|
})(["", " > ", "{", "}"], getSmallIconBodyTextRules, StyledP, getSmallIconBodyTextRules);
|
|
11
11
|
export var StyledFieldFooter = /*#__PURE__*/styled.div.withConfig({
|
|
12
12
|
displayName: "StyledFieldFooter",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-11_27_0__sc-1q3pe6s-2"
|
|
14
14
|
})(["> ", "{", "}"], StyledP, getSmallIconBodyTextRules);
|
|
15
15
|
//# sourceMappingURL=Field.styles.js.map
|
|
@@ -5,7 +5,7 @@ import type { FileListItemProps, FileListProps } from './FileList.types';
|
|
|
5
5
|
|
|
6
6
|
@since 10.19.0
|
|
7
7
|
|
|
8
|
-
@see [Storybook](https://procore.
|
|
8
|
+
@see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-filelist--demo)
|
|
9
9
|
|
|
10
10
|
@see [Design Guidelines](https://design.procore.com/file-list)
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ import { StyledFileListDownloadAll, StyledFileListItem, StyledFileListItemDownlo
|
|
|
15
15
|
|
|
16
16
|
@since 10.19.0
|
|
17
17
|
|
|
18
|
-
@see [Storybook](https://procore.
|
|
18
|
+
@see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-filelist--demo)
|
|
19
19
|
|
|
20
20
|
@see [Design Guidelines](https://design.procore.com/file-list)
|
|
21
21
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileList.js","names":["Archive","Download","React","Box","Link","Tooltip","Typography","useI18nContext","StyledFileListDownloadAll","StyledFileListItem","StyledFileListItemDownloadIcon","StyledFileListItemTextInactive","defaultGetViewUrl","item","viewUrl","defaultGetDownloadUrl","downloadUrl","defaultGetName","name","FileList","forwardRef","_ref","ref","items","downloadAllUrl","_ref$getDownloadUrl","getDownloadUrl","_ref$getViewUrl","getViewUrl","_ref$getName","getName","qa","props","_objectWithoutProperties","_excluded","I18n","length","isDownloadAllVisible","createElement","_extends","variant","size","icon","href","tabIndex","t","as","map","i","_qa$item","Item","call","key","concat","_ref2","_excluded2","intent","weight","target","overlay","color"],"sources":["../../src/FileList/FileList.tsx"],"sourcesContent":["import { Archive, Download } from '@procore/core-icons/dist'\nimport React from 'react'\nimport { Box } from '../Box/Box'\nimport { Link } from '../Link/Link'\nimport { Tooltip } from '../Tooltip/Tooltip'\nimport { Typography } from '../Typography/Typography'\nimport { useI18nContext } from '../_hooks/I18n'\nimport type { DivAttributes } from '../_utils/types'\nimport {\n StyledFileListDownloadAll,\n StyledFileListItem,\n StyledFileListItemDownloadIcon,\n StyledFileListItemTextInactive,\n} from './FileList.styles'\nimport type { FileListItemProps, FileListProps } from './FileList.types'\n\n/**\n\n @since 10.19.0\n\n @see [Storybook](https://procore.
|
|
1
|
+
{"version":3,"file":"FileList.js","names":["Archive","Download","React","Box","Link","Tooltip","Typography","useI18nContext","StyledFileListDownloadAll","StyledFileListItem","StyledFileListItemDownloadIcon","StyledFileListItemTextInactive","defaultGetViewUrl","item","viewUrl","defaultGetDownloadUrl","downloadUrl","defaultGetName","name","FileList","forwardRef","_ref","ref","items","downloadAllUrl","_ref$getDownloadUrl","getDownloadUrl","_ref$getViewUrl","getViewUrl","_ref$getName","getName","qa","props","_objectWithoutProperties","_excluded","I18n","length","isDownloadAllVisible","createElement","_extends","variant","size","icon","href","tabIndex","t","as","map","i","_qa$item","Item","call","key","concat","_ref2","_excluded2","intent","weight","target","overlay","color"],"sources":["../../src/FileList/FileList.tsx"],"sourcesContent":["import { Archive, Download } from '@procore/core-icons/dist'\nimport React from 'react'\nimport { Box } from '../Box/Box'\nimport { Link } from '../Link/Link'\nimport { Tooltip } from '../Tooltip/Tooltip'\nimport { Typography } from '../Typography/Typography'\nimport { useI18nContext } from '../_hooks/I18n'\nimport type { DivAttributes } from '../_utils/types'\nimport {\n StyledFileListDownloadAll,\n StyledFileListItem,\n StyledFileListItemDownloadIcon,\n StyledFileListItemTextInactive,\n} from './FileList.styles'\nimport type { FileListItemProps, FileListProps } from './FileList.types'\n\n/**\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-filelist--demo)\n\n @see [Design Guidelines](https://design.procore.com/file-list)\n\n */\n\nexport const defaultGetViewUrl = (item: FileListItemProps) => {\n return item.viewUrl\n}\n\nexport const defaultGetDownloadUrl = (item: FileListItemProps) => {\n return item.downloadUrl\n}\n\nexport const defaultGetName = (item: FileListItemProps) => {\n return item.name\n}\n\nexport const FileList = React.forwardRef<\n HTMLDivElement,\n FileListProps & DivAttributes\n>(function FileList(\n {\n items,\n downloadAllUrl,\n getDownloadUrl = defaultGetDownloadUrl,\n getViewUrl = defaultGetViewUrl,\n getName = defaultGetName,\n qa,\n ...props\n },\n ref\n) {\n const I18n = useI18nContext()\n const { length } = items\n\n const isDownloadAllVisible = length > 1 && downloadAllUrl\n\n if (length === 0) {\n return null\n }\n\n return (\n <Box ref={ref} {...props}>\n {isDownloadAllVisible && (\n <StyledFileListDownloadAll\n variant=\"tertiary\"\n size=\"sm\"\n icon={<Archive />}\n href={downloadAllUrl}\n tabIndex={0}\n >\n {I18n.t('core.fileList.downloadAll')}\n </StyledFileListDownloadAll>\n )}\n <Box as=\"ul\">\n {items.map((item, i) => {\n const name = getName(item)\n const downloadUrl = getDownloadUrl(item)\n return (\n <Item\n name={name}\n downloadUrl={getDownloadUrl(item)}\n viewUrl={getViewUrl(item)}\n data-qa={qa?.item?.(item)}\n key={`${name}-${downloadUrl}`}\n />\n )\n })}\n </Box>\n </Box>\n )\n})\n\nexport function Item({\n name,\n viewUrl,\n downloadUrl,\n ...props\n}: FileListItemProps) {\n const I18n = useI18nContext()\n\n return (\n <StyledFileListItem {...props}>\n {viewUrl ? (\n <Typography intent=\"body\" weight=\"semibold\">\n <Link href={viewUrl} target=\"_blank\" tabIndex={0}>\n {name}\n </Link>\n </Typography>\n ) : (\n <Tooltip overlay={I18n.t('core.fileList.noPreview')}>\n <Typography intent=\"body\" color=\"gray15\">\n <StyledFileListItemTextInactive tabIndex={0}>\n {name}\n </StyledFileListItemTextInactive>\n </Typography>\n </Tooltip>\n )}\n {downloadUrl && (\n <Tooltip overlay={I18n.t('core.fileList.download')}>\n <StyledFileListItemDownloadIcon\n aria-label={I18n.t('core.fileList.download')}\n href={downloadUrl}\n icon={<Download size=\"sm\" />}\n size=\"sm\"\n variant=\"tertiary\"\n />\n </Tooltip>\n )}\n </StyledFileListItem>\n )\n}\n"],"mappings":";;;;;AAAA,SAASA,OAAO,EAAEC,QAAQ,QAAQ,0BAA0B;AAC5D,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,GAAG,QAAQ,YAAY;AAChC,SAASC,IAAI,QAAQ,cAAc;AACnC,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7BA,IAAI,EAAC,IAAI;IACTD,OAAO,EAAC;EAAU,CACnB,CACM,CAEO,CAAC;AAEzB"}
|
|
@@ -3,18 +3,18 @@ import { LinkButton } from '../Button/Button';
|
|
|
3
3
|
import { spacing } from '../_styles/spacing';
|
|
4
4
|
export var StyledFileListDownloadAll = /*#__PURE__*/styled(LinkButton).withConfig({
|
|
5
5
|
displayName: "StyledFileListDownloadAll",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_27_0__sc-7gltjc-0"
|
|
7
7
|
})(["margin-bottom:", "px;"], spacing.xs);
|
|
8
8
|
export var StyledFileListItem = /*#__PURE__*/styled.li.withConfig({
|
|
9
9
|
displayName: "StyledFileListItem",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_27_0__sc-7gltjc-1"
|
|
11
11
|
})(["display:flex;align-items:center;margin-bottom:", "px;word-break:break-word;&:last-child{margin-bottom:0;}"], spacing.xs);
|
|
12
12
|
export var StyledFileListItemTextInactive = /*#__PURE__*/styled.span.withConfig({
|
|
13
13
|
displayName: "StyledFileListItemTextInactive",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-11_27_0__sc-7gltjc-2"
|
|
15
15
|
})(["cursor:pointer;"]);
|
|
16
16
|
export var StyledFileListItemDownloadIcon = /*#__PURE__*/styled(LinkButton).withConfig({
|
|
17
17
|
displayName: "StyledFileListItemDownloadIcon",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-11_27_0__sc-7gltjc-3"
|
|
19
19
|
})(["margin-left:", "px;align-self:flex-start;"], spacing.sm);
|
|
20
20
|
//# sourceMappingURL=FileList.styles.js.map
|
|
@@ -12,40 +12,40 @@ var modalContainerMaxHeight = 996;
|
|
|
12
12
|
var modalContainerMargin = 80;
|
|
13
13
|
export var StyledModalOverlay = /*#__PURE__*/styled(Modal.Overlay).withConfig({
|
|
14
14
|
displayName: "StyledModalOverlay",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-11_27_0__sc-343gts-0"
|
|
16
16
|
})(["opacity:0;pointer-events:none;transition:opacity 0.3s linear;visibility:hidden;", ""], function (props) {
|
|
17
17
|
return props.$open && "\n opacity: 1;\n pointer-events: all;\n visibility: visible;\n ";
|
|
18
18
|
});
|
|
19
19
|
export var StyledModalContainer = /*#__PURE__*/styled(Modal.Container).withConfig({
|
|
20
20
|
displayName: "StyledModalContainer",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-11_27_0__sc-343gts-1"
|
|
22
22
|
})(["width:calc(100% - ", "px);height:calc(100% - ", "px);top:calc(50vh - ", "px);left:calc(50vw - ", "px);margin:", "px;min-width:", "px;min-height:", "px;max-width:", "px;max-height:", "px;"], modalContainerMargin * 2, modalContainerMargin * 2, modalContainerMargin, modalContainerMargin, modalContainerMargin, modalContainerMinWidth, modalContainerMinHeight, modalContainerMaxWidth, modalContainerMaxHeight);
|
|
23
23
|
export var StyledModalBody = /*#__PURE__*/styled(Modal.Body).withConfig({
|
|
24
24
|
displayName: "StyledModalBody",
|
|
25
|
-
componentId: "core-
|
|
25
|
+
componentId: "core-11_27_0__sc-343gts-2"
|
|
26
26
|
})(["min-height:", "px;height:100%;margin:0;max-width:none;padding:0;border-bottom:1px solid ", ";"], modalBodyMinHeight, colors.gray85);
|
|
27
27
|
export var StyledModalInnerBody = /*#__PURE__*/styled.div.withConfig({
|
|
28
28
|
displayName: "StyledModalInnerBody",
|
|
29
|
-
componentId: "core-
|
|
29
|
+
componentId: "core-11_27_0__sc-343gts-3"
|
|
30
30
|
})(["display:flex;flex-direction:row;height:100%;overflow:hidden;"]);
|
|
31
31
|
export var StyledModalHeader = /*#__PURE__*/styled(Modal.Header).withConfig({
|
|
32
32
|
displayName: "StyledModalHeader",
|
|
33
|
-
componentId: "core-
|
|
33
|
+
componentId: "core-11_27_0__sc-343gts-4"
|
|
34
34
|
})(["border-bottom:1px solid ", ";"], colors.gray85);
|
|
35
35
|
export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
|
|
36
36
|
displayName: "StyledModalContent",
|
|
37
|
-
componentId: "core-
|
|
37
|
+
componentId: "core-11_27_0__sc-343gts-5"
|
|
38
38
|
})(["display:flex;width:100%;height:100%;overflow-y:auto;outline:none;"]);
|
|
39
39
|
export var StyledSource = /*#__PURE__*/styled.div.withConfig({
|
|
40
40
|
displayName: "StyledSource",
|
|
41
|
-
componentId: "core-
|
|
41
|
+
componentId: "core-11_27_0__sc-343gts-6"
|
|
42
42
|
})(["width:100%;height:100%;"]);
|
|
43
43
|
export var StyledAttachButton = /*#__PURE__*/styled.div.withConfig({
|
|
44
44
|
displayName: "StyledAttachButton",
|
|
45
|
-
componentId: "core-
|
|
45
|
+
componentId: "core-11_27_0__sc-343gts-7"
|
|
46
46
|
})(["margin-left:", "px;"], spacing.md);
|
|
47
47
|
export var StyledFileTreeSpinner = /*#__PURE__*/styled.div.withConfig({
|
|
48
48
|
displayName: "StyledFileTreeSpinner",
|
|
49
|
-
componentId: "core-
|
|
49
|
+
componentId: "core-11_27_0__sc-343gts-8"
|
|
50
50
|
})(["display:flex;align-items:center;justify-content:center;height:100%;"]);
|
|
51
51
|
//# sourceMappingURL=FileExplorer.styles.js.map
|
|
@@ -3,14 +3,14 @@ import { colors } from '../../_styles/colors';
|
|
|
3
3
|
import { SourceItem } from '../SourceItem/SourceItem';
|
|
4
4
|
export var StyledSidebar = /*#__PURE__*/styled.div.withConfig({
|
|
5
5
|
displayName: "StyledSidebar",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_27_0__sc-s03uiv-0"
|
|
7
7
|
})(["display:flex;flex-shrink:0;width:300px;border-right:1px solid ", ";"], colors.gray85);
|
|
8
8
|
export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledNavigation",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_27_0__sc-s03uiv-1"
|
|
11
11
|
})(["display:flex;flex-direction:column;width:100%;&:focus{outline:none;}"]);
|
|
12
12
|
export var StyledSourceItem = /*#__PURE__*/styled(SourceItem).withConfig({
|
|
13
13
|
displayName: "StyledSourceItem",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-11_27_0__sc-s03uiv-2"
|
|
15
15
|
})(["width:100%;padding-left:10px;&:focus{padding-left:9px;}"]);
|
|
16
16
|
//# sourceMappingURL=FileExplorerSidebar.styles.js.map
|
|
@@ -3,10 +3,10 @@ import { spacing } from '../_styles/spacing';
|
|
|
3
3
|
import { FileTokenList } from './FileTokenList';
|
|
4
4
|
export var StyledFileTokenList = /*#__PURE__*/styled(FileTokenList).withConfig({
|
|
5
5
|
displayName: "StyledFileTokenList",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_27_0__sc-1r3srjk-0"
|
|
7
7
|
})(["margin-top:", "px;"], spacing.md);
|
|
8
8
|
export var StyledFileSelect = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledFileSelect",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_27_0__sc-1r3srjk-1"
|
|
11
11
|
})(["display:flex;flex-direction:column;"]);
|
|
12
12
|
//# sourceMappingURL=FileSelect.styles.js.map
|
|
@@ -199,7 +199,7 @@ export interface FileSelectProps extends Omit<DivAttributes, 'onError' | 'onProg
|
|
|
199
199
|
onFileTokenClick?: (file: FileSelectValueEntry) => void;
|
|
200
200
|
/**
|
|
201
201
|
* An optional content renderer for the dropzone. Accepts
|
|
202
|
-
* `{
|
|
202
|
+
* `{ openLocalFiles, openFileExplorer, disabled, errorMessage }` as a single argument,
|
|
203
203
|
* allowing to control the dropzone and display different content depending
|
|
204
204
|
* on dropzone state
|
|
205
205
|
* @since 10.19.0
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileSelect.types.js","names":[],"sources":["../../src/FileSelect/FileSelect.types.ts"],"sourcesContent":["import type { Method } from 'axios'\nimport type { DropzoneContentProps } from '../Dropzone/Dropzone.types'\nimport type { UNSAFE_UploadFile } from '../_hooks/useFileUploader'\nimport type { DivAttributes } from '../_utils/types'\nimport type { LocalSourceProps } from './LocalSource/LocalSource.types'\nimport type { ThumbnailListItem } from './ThumbnailList/ThumbnailList.types'\n\nexport type FileSelectValue = FileSelectValueEntry[]\n\nexport interface FileSelectSource {\n /**\n * @since 10.19.0\n */\n sourceId: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n title: string\n /**\n * @since 10.19.0\n */\n icon: React.ReactNode\n /**\n * @since 10.19.0\n */\n hasError: boolean\n /**\n * @since 10.19.0\n */\n isUploading: boolean\n /**\n * @since 10.19.0\n */\n value: SourceValueEntry[]\n}\n\nexport type ValueId = string | number\n\nexport interface FileSelectValueEntry {\n /**\n * @since 10.19.0\n */\n id: ValueId\n /**\n * @since 10.19.0\n */\n name: string\n /**\n * @since 10.19.0\n */\n src?: File | string\n /**\n * @since 10.19.0\n */\n error?: string\n /**\n * @since 10.19.0\n */\n\n origin?: unknown\n /**\n * @since 10.19.0\n */\n response?: unknown\n /**\n * @since 10.19.0\n */\n sourceId?: string\n}\n\nexport type SetFileSelectValue = React.Dispatch<\n React.SetStateAction<FileSelectValue>\n>\n\nexport interface FileSelectRef {\n /**\n * @since 10.19.0\n */\n setValue: SetFileSelectValue\n /**\n * @since 10.19.0\n */\n open: (sourceId: FileSelectSourceIdType) => void\n /**\n * @since 10.19.0\n */\n rootEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 10.19.0\n */\n modalEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 11.1.0\n */\n resetSources: () => void\n}\n\nexport interface FileSelectContextApi {\n /**\n * @since 10.19.0\n */\n register: (\n sourceId: FileSelectSourceIdType,\n source: Partial<Pick<FileSelectSource, 'title' | 'icon'>>\n ) => () => void\n /**\n * @since 10.19.0\n */\n currentSource: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n isModalOpen: boolean\n /**\n * @since 10.19.0\n */\n onChange: (\n sourceId: FileSelectSourceIdType,\n value: SourceValueEntry[]\n ) => void\n /**\n * @since 10.19.0\n */\n onResetValue: (listener: () => void) => () => void\n /**\n * @since 10.19.0\n */\n setIsUploading: (\n sourceId: FileSelectSourceIdType,\n isUploading: boolean\n ) => void\n /**\n * @since 10.19.0\n */\n setHasError: (sourceId: FileSelectSourceIdType, isError: boolean) => void\n /**\n * @since 10.19.0\n */\n maxFileNumber: number\n}\n\nexport interface DropzoneContentRendererProps {\n /**\n * Enable/disable the dropzone\n * @since 10.19.0\n */\n disabled: DropzoneContentProps['disabled']\n /**\n * @since 10.19.0\n */\n errorMessage?: DropzoneContentProps['errorMessage']\n /**\n * @since 10.19.0\n */\n openLocalFiles: () => void\n /**\n * @since 10.19.0\n */\n openFileExplorer: () => void\n}\n\nexport type FileSelectSourceIdType = string\n\nexport type SourceValueEntry = any\n\nexport interface QaTags {\n /**\n * @since 10.19.0\n */\n localSource?: LocalSourceProps['qa']\n /**\n * @since 10.19.0\n */\n attachButton?: string\n /**\n * @since 10.19.0\n */\n removeEntry?: string\n}\n\nexport interface FileSelectProps\n extends Omit<DivAttributes, 'onError' | 'onProgress'> {\n /**\n * To be called every time when the files are uploaded directly or\n * attached via file explorer. The input data should be appended to the\n * current value. Files with upload errors are omitted.\n * @since 10.19.0\n */\n onAdd?: (value: FileSelectValue) => void\n\n /**\n * To be called whenever the file is removed by user from the primary token\n * list. Removed item should be deleted from the current value by `id` key\n * @since 10.19.0\n */\n onRemove?: (valueEntry: FileSelectValueEntry) => void\n\n /**\n * To be called whenever the upload progress is changed\n * @since 10.19.0\n */\n onProgress?: (fileId: ValueId, progress: number) => void\n\n /**\n * Optional async function that is invoked when selecting or dropping in a\n * local file. If you want to restrict certain uploads, you can use this\n * callback. Returning true continues the upload, while false will prevent\n * upload.\n * @since 10.19.0\n */\n beforeLocalFileUpload?: (files: ThumbnailListItem[]) => Promise<boolean>\n\n /**\n * To be called whenever upload state is changed\n * @since 10.19.0\n */\n onUploadStateChange?: (isPendingUpload: boolean) => void\n\n /**\n * To be called whenever an upload error occurs\n * @since 10.19.0\n */\n onError?: (fileId: ValueId, error: unknown) => void\n\n /**\n * To be called when attached file receives a click\n * @since 10.19.0\n */\n onFileTokenClick?: (file: FileSelectValueEntry) => void\n\n /**\n * An optional content renderer for the dropzone. Accepts\n * `{
|
|
1
|
+
{"version":3,"file":"FileSelect.types.js","names":[],"sources":["../../src/FileSelect/FileSelect.types.ts"],"sourcesContent":["import type { Method } from 'axios'\nimport type { DropzoneContentProps } from '../Dropzone/Dropzone.types'\nimport type { UNSAFE_UploadFile } from '../_hooks/useFileUploader'\nimport type { DivAttributes } from '../_utils/types'\nimport type { LocalSourceProps } from './LocalSource/LocalSource.types'\nimport type { ThumbnailListItem } from './ThumbnailList/ThumbnailList.types'\n\nexport type FileSelectValue = FileSelectValueEntry[]\n\nexport interface FileSelectSource {\n /**\n * @since 10.19.0\n */\n sourceId: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n title: string\n /**\n * @since 10.19.0\n */\n icon: React.ReactNode\n /**\n * @since 10.19.0\n */\n hasError: boolean\n /**\n * @since 10.19.0\n */\n isUploading: boolean\n /**\n * @since 10.19.0\n */\n value: SourceValueEntry[]\n}\n\nexport type ValueId = string | number\n\nexport interface FileSelectValueEntry {\n /**\n * @since 10.19.0\n */\n id: ValueId\n /**\n * @since 10.19.0\n */\n name: string\n /**\n * @since 10.19.0\n */\n src?: File | string\n /**\n * @since 10.19.0\n */\n error?: string\n /**\n * @since 10.19.0\n */\n\n origin?: unknown\n /**\n * @since 10.19.0\n */\n response?: unknown\n /**\n * @since 10.19.0\n */\n sourceId?: string\n}\n\nexport type SetFileSelectValue = React.Dispatch<\n React.SetStateAction<FileSelectValue>\n>\n\nexport interface FileSelectRef {\n /**\n * @since 10.19.0\n */\n setValue: SetFileSelectValue\n /**\n * @since 10.19.0\n */\n open: (sourceId: FileSelectSourceIdType) => void\n /**\n * @since 10.19.0\n */\n rootEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 10.19.0\n */\n modalEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 11.1.0\n */\n resetSources: () => void\n}\n\nexport interface FileSelectContextApi {\n /**\n * @since 10.19.0\n */\n register: (\n sourceId: FileSelectSourceIdType,\n source: Partial<Pick<FileSelectSource, 'title' | 'icon'>>\n ) => () => void\n /**\n * @since 10.19.0\n */\n currentSource: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n isModalOpen: boolean\n /**\n * @since 10.19.0\n */\n onChange: (\n sourceId: FileSelectSourceIdType,\n value: SourceValueEntry[]\n ) => void\n /**\n * @since 10.19.0\n */\n onResetValue: (listener: () => void) => () => void\n /**\n * @since 10.19.0\n */\n setIsUploading: (\n sourceId: FileSelectSourceIdType,\n isUploading: boolean\n ) => void\n /**\n * @since 10.19.0\n */\n setHasError: (sourceId: FileSelectSourceIdType, isError: boolean) => void\n /**\n * @since 10.19.0\n */\n maxFileNumber: number\n}\n\nexport interface DropzoneContentRendererProps {\n /**\n * Enable/disable the dropzone\n * @since 10.19.0\n */\n disabled: DropzoneContentProps['disabled']\n /**\n * @since 10.19.0\n */\n errorMessage?: DropzoneContentProps['errorMessage']\n /**\n * @since 10.19.0\n */\n openLocalFiles: () => void\n /**\n * @since 10.19.0\n */\n openFileExplorer: () => void\n}\n\nexport type FileSelectSourceIdType = string\n\nexport type SourceValueEntry = any\n\nexport interface QaTags {\n /**\n * @since 10.19.0\n */\n localSource?: LocalSourceProps['qa']\n /**\n * @since 10.19.0\n */\n attachButton?: string\n /**\n * @since 10.19.0\n */\n removeEntry?: string\n}\n\nexport interface FileSelectProps\n extends Omit<DivAttributes, 'onError' | 'onProgress'> {\n /**\n * To be called every time when the files are uploaded directly or\n * attached via file explorer. The input data should be appended to the\n * current value. Files with upload errors are omitted.\n * @since 10.19.0\n */\n onAdd?: (value: FileSelectValue) => void\n\n /**\n * To be called whenever the file is removed by user from the primary token\n * list. Removed item should be deleted from the current value by `id` key\n * @since 10.19.0\n */\n onRemove?: (valueEntry: FileSelectValueEntry) => void\n\n /**\n * To be called whenever the upload progress is changed\n * @since 10.19.0\n */\n onProgress?: (fileId: ValueId, progress: number) => void\n\n /**\n * Optional async function that is invoked when selecting or dropping in a\n * local file. If you want to restrict certain uploads, you can use this\n * callback. Returning true continues the upload, while false will prevent\n * upload.\n * @since 10.19.0\n */\n beforeLocalFileUpload?: (files: ThumbnailListItem[]) => Promise<boolean>\n\n /**\n * To be called whenever upload state is changed\n * @since 10.19.0\n */\n onUploadStateChange?: (isPendingUpload: boolean) => void\n\n /**\n * To be called whenever an upload error occurs\n * @since 10.19.0\n */\n onError?: (fileId: ValueId, error: unknown) => void\n\n /**\n * To be called when attached file receives a click\n * @since 10.19.0\n */\n onFileTokenClick?: (file: FileSelectValueEntry) => void\n\n /**\n * An optional content renderer for the dropzone. Accepts\n * `{ openLocalFiles, openFileExplorer, disabled, errorMessage }` as a single argument,\n * allowing to control the dropzone and display different content depending\n * on dropzone state\n * @since 10.19.0\n */\n dropzoneContentRenderer?: (\n dropzoneProps: DropzoneContentRendererProps\n ) => React.ReactNode\n\n /**\n * Hide dropzone and render only default \"Attach File(s)\" button.\n * @default false\n * @since 10.19.0\n */\n hideDropzone?: boolean\n\n /**\n * Hide local files source in file explorer modal\n * @since 10.19.0\n */\n hideLocalSource?: boolean\n\n /**\n * Customize the token label for a given source value. By default,\n * `sourceValueEntry.name` is returned.\n * @since 10.19.0\n */\n getTokenLabel?: (sourceId: string, sourceValueEntry: unknown) => string\n\n localSourceDropzoneContentRenderer?: (\n dropzoneProps: DropzoneContentProps\n ) => React.ReactNode\n\n /**\n * A function returning an upload URL for a given file. An\n * alternative to `uploadFile` which allows manual control of\n * the network request for file upload.\n * @since 10.19.0\n */\n getEndpoint?: (file: File) => string\n\n /**\n * A function returning an upload HTTP method for a given file.\n * Returns `POST` by default.\n * @since 10.19.0\n */\n getMethod?: (file: File) => Method\n\n /**\n * A function returning an upload payload `FormData` key\n * for a given file. Returns `file` by default.\n * @since 10.19.0\n */\n getPayloadKey?: (file: File) => string\n\n /**\n * A function returning an upload payload `FormData`\n * object for a given file. When defined, `getPayloadKey` is\n * ignored.\n * @since 10.19.0\n */\n getPayload?: (file: File) => FormData\n\n /**\n * A function returning an upload request headers. Returns empty\n * object by default.\n * @since 10.19.0\n */\n getHeaders?: (file: File) => Record<string, string>\n\n /**\n * A function for manually controlling the network request for file\n * upload. An alternative to using `getEndpoint` which handles\n * the network request itself.\n * @since 10.19.0\n */\n uploadFile?: UNSAFE_UploadFile\n\n /**\n * Maximum number of files that can be selected\n * @since 10.19.0\n */\n maxFileNumber?: number\n\n /**\n * Maximum file size (in bytes)\n * @since 10.19.0\n */\n maxFileSize?: number\n\n /**\n * Minimum file size (in bytes)\n * @since 10.19.0\n */\n minFileSize?: number\n\n /**\n * Set accepted file types. Accepts everything if left undefined\n * @since 10.19.0\n */\n accept?: string | string[]\n\n /**\n * A callback to be invoked after the file explorer modal closes\n * @since 11.1.0\n */\n afterHide?: (reason: 'cancel' | 'submit') => void\n\n /**\n * @ignore\n * @since 10.19.0\n */\n qa?: QaTags\n}\n"],"mappings":""}
|
|
@@ -5,20 +5,20 @@ import { spacing } from '../../_styles/spacing';
|
|
|
5
5
|
export var dropzoneContainerAttr = 'data-dropzone-container';
|
|
6
6
|
export var StyledDropzone = /*#__PURE__*/styled(Dropzone).withConfig({
|
|
7
7
|
displayName: "StyledDropzone",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-11_27_0__sc-ueh7d7-0"
|
|
9
9
|
})(["", ""], function (_ref) {
|
|
10
10
|
var hidden = _ref.hidden;
|
|
11
11
|
return hidden && "\n [".concat(dropzoneContainerAttr, "] {\n align-self: flex-start;\n margin-bottom: ").concat(spacing.xs, "px;\n\n &,\n &:hover {\n width: auto;\n min-height: auto;\n border: none;\n padding: 0;\n background: transparent;\n cursor: default;\n }\n }\n \n ");
|
|
12
12
|
});
|
|
13
13
|
export var StyledDropzoneMessage = /*#__PURE__*/styled.span.withConfig({
|
|
14
14
|
displayName: "StyledDropzoneMessage",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-11_27_0__sc-ueh7d7-1"
|
|
16
16
|
})(["", ""], function (_ref2) {
|
|
17
17
|
var error = _ref2.error;
|
|
18
18
|
return error && "\n color: ".concat(colors.gray15, ";\n ");
|
|
19
19
|
});
|
|
20
20
|
export var StyledUploadButtonWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
21
21
|
displayName: "StyledUploadButtonWrapper",
|
|
22
|
-
componentId: "core-
|
|
22
|
+
componentId: "core-11_27_0__sc-ueh7d7-2"
|
|
23
23
|
})(["display:block;margin-left:auto;margin-right:auto;margin-bottom:", "px;"], spacing.sm);
|
|
24
24
|
//# sourceMappingURL=FileSelectDropzone.styles.js.map
|
|
@@ -3,10 +3,10 @@ import { FileToken } from '../../FileToken/FileToken';
|
|
|
3
3
|
import { spacing } from '../../_styles/spacing';
|
|
4
4
|
export var StyledTokenList = /*#__PURE__*/styled.div.withConfig({
|
|
5
5
|
displayName: "StyledTokenList",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_27_0__sc-u9tli5-0"
|
|
7
7
|
})(["display:flex;flex-wrap:wrap;"]);
|
|
8
8
|
export var StyledFileToken = /*#__PURE__*/styled(FileToken).withConfig({
|
|
9
9
|
displayName: "StyledFileToken",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_27_0__sc-u9tli5-1"
|
|
11
11
|
})(["margin-bottom:", "px;margin-right:", "px;"], spacing.sm, spacing.sm);
|
|
12
12
|
//# sourceMappingURL=FileTokenList.styles.js.map
|
|
@@ -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-11_27_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-11_27_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-11_27_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-11_27_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-11_27_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-11_27_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%;';
|
|
@@ -15,21 +15,21 @@ var dropzoneHeightWithIcon = 176;
|
|
|
15
15
|
var sourceWidth = 568;
|
|
16
16
|
export var StyledLocalSource = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
displayName: "StyledLocalSource",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-11_27_0__sc-psqe8z-0"
|
|
19
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);
|
|
20
20
|
export var StyledDropzoneErrorBanner = /*#__PURE__*/styled(DropzoneErrorBanner).withConfig({
|
|
21
21
|
displayName: "StyledDropzoneErrorBanner",
|
|
22
|
-
componentId: "core-
|
|
22
|
+
componentId: "core-11_27_0__sc-psqe8z-1"
|
|
23
23
|
})(["margin-top:", "px;margin-bottom:", "px;margin-right:2px;"], errorBannerMarginTop, errorBannerMarginBottom);
|
|
24
24
|
export var StyledDropzoneWrapper = /*#__PURE__*/styled(Dropzone).withConfig({
|
|
25
25
|
displayName: "StyledDropzoneWrapper",
|
|
26
|
-
componentId: "core-
|
|
26
|
+
componentId: "core-11_27_0__sc-psqe8z-2"
|
|
27
27
|
})(["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
28
|
var isIconVisible = _ref.isIconVisible;
|
|
29
29
|
return isIconVisible ? dropzoneHeightWithIcon : dropzoneHeight;
|
|
30
30
|
}, DropzoneErrorBanner, mediaIE11Hack, sourceWidth);
|
|
31
31
|
export var StyledThumbnailList = /*#__PURE__*/styled(ThumbnailList).withConfig({
|
|
32
32
|
displayName: "StyledThumbnailList",
|
|
33
|
-
componentId: "core-
|
|
33
|
+
componentId: "core-11_27_0__sc-psqe8z-3"
|
|
34
34
|
})(["margin-top:", "px;border:", "px solid ", ";"], listMarginTop, listBorderWidth, colors.gray85);
|
|
35
35
|
//# sourceMappingURL=LocalSource.styles.js.map
|
|
@@ -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-11_27_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-11_27_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-11_27_0__sc-plcozv-2"
|
|
36
36
|
})(["", ""], getEllipsis());
|
|
37
37
|
//# sourceMappingURL=SourceItem.styles.js.map
|
|
@@ -7,23 +7,23 @@ import { colors } from '../../_styles/colors';
|
|
|
7
7
|
import { spacing } from '../../_styles/spacing';
|
|
8
8
|
export var StyledThumbnailListContainer = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledThumbnailListContainer",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-11_27_0__sc-1fz4ynb-0"
|
|
11
11
|
})(["display:flex;flex-direction:column;align-items:stretch;outline:none;"]);
|
|
12
12
|
export var StyledThumbnailList = /*#__PURE__*/styled(List).withConfig({
|
|
13
13
|
displayName: "StyledThumbnailList",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-11_27_0__sc-1fz4ynb-1"
|
|
15
15
|
})(["outline:none;"]);
|
|
16
16
|
export var StyledThumbnail = /*#__PURE__*/styled(Thumbnail).withConfig({
|
|
17
17
|
displayName: "StyledThumbnail",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-11_27_0__sc-1fz4ynb-2"
|
|
19
19
|
})(["flex-grow:1;justify-content:flex-start;"]);
|
|
20
20
|
export var StyledProgress = /*#__PURE__*/styled.div.withConfig({
|
|
21
21
|
displayName: "StyledProgress",
|
|
22
|
-
componentId: "core-
|
|
22
|
+
componentId: "core-11_27_0__sc-1fz4ynb-3"
|
|
23
23
|
})(["width:146px;padding:0 ", "px 0 ", "px;margin-left:auto;"], spacing.lg, spacing.xl);
|
|
24
24
|
export var StyledThumbnailListItem = /*#__PURE__*/styled.div.withConfig({
|
|
25
25
|
displayName: "StyledThumbnailListItem",
|
|
26
|
-
componentId: "core-
|
|
26
|
+
componentId: "core-11_27_0__sc-1fz4ynb-4"
|
|
27
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
28
|
var error = _ref.error;
|
|
29
29
|
return !error && "\n &:hover {\n background-color: ".concat(colors.gray96, ";\n }\n ");
|
|
@@ -37,6 +37,6 @@ export var StyledThumbnailListItem = /*#__PURE__*/styled.div.withConfig({
|
|
|
37
37
|
});
|
|
38
38
|
export var StyledDeleteIcon = /*#__PURE__*/styled(Button).withConfig({
|
|
39
39
|
displayName: "StyledDeleteIcon",
|
|
40
|
-
componentId: "core-
|
|
40
|
+
componentId: "core-11_27_0__sc-1fz4ynb-5"
|
|
41
41
|
})([""]);
|
|
42
42
|
//# sourceMappingURL=ThumbnailList.styles.js.map
|
|
@@ -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-11_27_0__sc-wwu3n8-0"
|
|
6
6
|
})(["display:flex;align-items:center;justify-content:center;height:", "px;"], modalBodyHeight);
|
|
7
7
|
//# sourceMappingURL=TreeSource.styles.js.map
|
|
@@ -6,19 +6,19 @@ export var pulseAnimationDuration = 600;
|
|
|
6
6
|
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);
|
|
7
7
|
export var StyledFilenameShortcut = /*#__PURE__*/styled.div.withConfig({
|
|
8
8
|
displayName: "StyledFilenameShortcut",
|
|
9
|
-
componentId: "core-
|
|
9
|
+
componentId: "core-11_27_0__sc-13jx4bx-0"
|
|
10
10
|
})(["display:flex;"]);
|
|
11
11
|
export var StyledFilename = /*#__PURE__*/styled.span.withConfig({
|
|
12
12
|
displayName: "StyledFilename",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-11_27_0__sc-13jx4bx-1"
|
|
14
14
|
})(["flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;"]);
|
|
15
15
|
export var StyledExtension = /*#__PURE__*/styled.span.withConfig({
|
|
16
16
|
displayName: "StyledExtension",
|
|
17
|
-
componentId: "core-
|
|
17
|
+
componentId: "core-11_27_0__sc-13jx4bx-2"
|
|
18
18
|
})(["flex-shrink:0;"]);
|
|
19
19
|
export var StyledFileToken = /*#__PURE__*/styled.div.withConfig({
|
|
20
20
|
displayName: "StyledFileToken",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-11_27_0__sc-13jx4bx-3"
|
|
22
22
|
})(["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;}", "{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) {
|
|
23
23
|
var $progressComplete = _ref.$progressComplete;
|
|
24
24
|
return $progressComplete && css(["background-color:", ";"], colors.blue45);
|