@procore/core-react 12.17.7 → 12.18.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/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- 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.styles.js +10 -10
- package/dist/Box/Box.styles.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
- package/dist/Button/Button.styles.js +5 -5
- package/dist/Calendar/Calendar.styles.js +8 -8
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/Checkbox/CheckboxTooltip.js +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/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- 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.js +22 -3
- package/dist/EmptyState/EmptyState.js.map +1 -1
- package/dist/EmptyState/EmptyState.styles.d.ts +3 -0
- package/dist/EmptyState/EmptyState.styles.js +28 -19
- package/dist/EmptyState/EmptyState.styles.js.map +1 -1
- package/dist/EmptyState/EmptyState.types.d.ts +17 -0
- package/dist/EmptyState/EmptyState.types.js +7 -1
- package/dist/EmptyState/EmptyState.types.js.map +1 -1
- package/dist/Field/Field.styles.js +3 -3
- 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/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 +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.styles.js +14 -14
- 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 +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.js +3 -6
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.js +10 -10
- package/dist/MenuImperative/sensors.d.ts +0 -1
- package/dist/MenuImperative/sensors.js +1 -1
- package/dist/MenuImperative/sensors.js.map +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/MultiSelect/MultiSelect.styles.js +6 -6
- package/dist/NextMenu/NextMenu.styles.js +3 -3
- 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/a11yPresets.d.ts +5 -0
- package/dist/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
- package/dist/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- package/dist/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +2 -2
- package/dist/PillSelect/PillSelect.styles.js +4 -4
- 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.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.js +52 -28
- package/dist/Spinner/Spinner.js.map +1 -1
- package/dist/Spinner/Spinner.styles.d.ts +1 -0
- package/dist/Spinner/Spinner.styles.js +17 -13
- package/dist/Spinner/Spinner.styles.js.map +1 -1
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.components.js +1 -1
- package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.js +1 -1
- package/dist/SuperSelect/SuperSelect.js.map +1 -1
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +15 -15
- 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/TextInput/TextInput.d.ts +11 -0
- package/dist/TextInput/TextInput.js +15 -0
- package/dist/TextInput/TextInput.js.map +1 -0
- package/dist/TextInput/index.d.ts +2 -0
- package/dist/TextInput/index.js +2 -0
- package/dist/TextInput/index.js.map +1 -0
- package/dist/Thumbnail/Thumbnail.hooks.d.ts +20 -0
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- 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.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.styles.js +9 -9
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- 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 +24 -24
- 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 +12 -12
- 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 +5 -5
- 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 +43 -15
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
- 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 +741 -741
- 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 +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 +46 -46
- 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 +37 -37
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
- package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
- 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 +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 +19 -19
- 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 +60 -60
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- 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 +12 -12
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +101 -101
- 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 +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 +4 -4
- package/dist/_typedoc/Token/Token.types.json +4 -4
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
- 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 +9 -9
- package/dist/_typedoc/_utils/types.json +3 -3
- package/dist/_typedoc/deprecations.json +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -5
|
@@ -2,11 +2,12 @@ var _excluded = ["children", "src", "alt"],
|
|
|
2
2
|
_excluded2 = ["children"],
|
|
3
3
|
_excluded3 = ["children"],
|
|
4
4
|
_excluded4 = ["children"],
|
|
5
|
-
_excluded5 = ["children", "compact", "title"];
|
|
5
|
+
_excluded5 = ["children", "compact", "isHorizontal", "size", "title"];
|
|
6
6
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
7
7
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
8
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
9
9
|
import React from 'react';
|
|
10
|
+
import { Box } from '../Box';
|
|
10
11
|
import { addSubcomponents } from '../_utils/addSubcomponents';
|
|
11
12
|
import { StyledActions, StyledDescription, StyledEmptyState, StyledImage, StyledSvg, StyledTitle } from './EmptyState.styles';
|
|
12
13
|
var Image = /*#__PURE__*/React.forwardRef(function Image(_ref, ref) {
|
|
@@ -266,13 +267,31 @@ var EmptyState_ = /*#__PURE__*/React.forwardRef(function EmptyState(_ref5, ref)
|
|
|
266
267
|
var children = _ref5.children,
|
|
267
268
|
_ref5$compact = _ref5.compact,
|
|
268
269
|
compact = _ref5$compact === void 0 ? false : _ref5$compact,
|
|
270
|
+
isHorizontal = _ref5.isHorizontal,
|
|
271
|
+
size = _ref5.size,
|
|
269
272
|
title = _ref5.title,
|
|
270
273
|
props = _objectWithoutProperties(_ref5, _excluded5);
|
|
274
|
+
var image = null;
|
|
275
|
+
var content = [];
|
|
276
|
+
var presetImages = [NoResults, NoItems, NoItemsWithoutCreatePermissions, RecycleBin];
|
|
277
|
+
React.Children.forEach(children, function (child) {
|
|
278
|
+
if (! /*#__PURE__*/React.isValidElement(child)) return;
|
|
279
|
+
if (child.type === Image || presetImages.includes(child.type)) {
|
|
280
|
+
image = child;
|
|
281
|
+
} else {
|
|
282
|
+
content.push(child);
|
|
283
|
+
}
|
|
284
|
+
});
|
|
271
285
|
return /*#__PURE__*/React.createElement(StyledEmptyState, _extends({
|
|
272
|
-
$compact: compact
|
|
286
|
+
$compact: compact,
|
|
287
|
+
$isHorizontal: isHorizontal,
|
|
288
|
+
$size: size
|
|
273
289
|
}, props, {
|
|
274
290
|
ref: ref
|
|
275
|
-
}),
|
|
291
|
+
}), content ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Box, null, image), /*#__PURE__*/React.createElement(Box, {
|
|
292
|
+
alignItems: isHorizontal ? 'flex-start' : 'center',
|
|
293
|
+
textAlign: isHorizontal ? 'left' : 'center'
|
|
294
|
+
}, content)) : children);
|
|
276
295
|
});
|
|
277
296
|
EmptyState_.displayName = 'EmptyState';
|
|
278
297
|
Actions.displayName = 'EmptyState.Actions';
|
|
@@ -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","$compact","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\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\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*/\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,EAA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wBAAwB;AAElDzC,KAAK,CAACyC,WAAW,GAAG,kBAAkB;AAEtCb,OAAO,CAACa,WAAW,GAAG,sBAAsB;AAE5CZ,+BAA+B,CAACY,WAAW,GACzC,4CAA4C;AAE9CpB,SAAS,CAACoB,WAAW,GAAG,sBAAsB;AAE9CT,UAAU,CAACS,WAAW,GAAG,sBAAsB;AAE/C7B,KAAK,CAAC6B,WAAW,GAAG,kBAAkB;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMP,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","Box","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","isHorizontal","size","title","_excluded5","image","content","presetImages","Children","forEach","child","isValidElement","type","includes","push","$compact","$isHorizontal","$size","Fragment","alignItems","textAlign","displayName"],"sources":["../../src/EmptyState/EmptyState.tsx"],"sourcesContent":["import React from 'react'\nimport { Box } from '../Box'\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\nconst EmptyState_ = React.forwardRef<\n HTMLDivElement,\n DivAttributes & EmptyStateProps\n>(function EmptyState(\n { children, compact = false, isHorizontal, size, title, ...props },\n ref\n) {\n let image: React.ReactElement | null = null\n let content: React.ReactElement[] = []\n const presetImages: React.ReactNode[] = [\n NoResults,\n NoItems,\n NoItemsWithoutCreatePermissions,\n RecycleBin,\n ]\n\n React.Children.forEach(children, (child) => {\n if (!React.isValidElement(child)) return\n if (child.type === Image || presetImages.includes(child.type)) {\n image = child\n } else {\n content.push(child)\n }\n })\n\n return (\n <StyledEmptyState\n $compact={compact}\n $isHorizontal={isHorizontal}\n $size={size}\n {...props}\n ref={ref}\n >\n {content ? (\n <>\n <Box>{image}</Box>\n <Box\n alignItems={isHorizontal ? 'flex-start' : 'center'}\n textAlign={isHorizontal ? 'left' : 'center'}\n >\n {content}\n </Box>\n </>\n ) : (\n children\n )}\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\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*/\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,GAAG,QAAQ,QAAQ;AAC5B,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,aAAa,EACbC,iBAAiB,EACjBC,gBAAgB,EAChBC,WAAW,EACXC,SAAS,EACTC,WAAW,QACN,qBAAqB;AAG5B,IAAMC,KAAK,gBAAGT,KAAK,CAACU,UAAU,CAG5B,SAASD,KAAKA,CAAAE,IAAA,EAAmCC,GAAG,EAAE;EAAA,IAArCC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAEC,GAAG,GAAAH,IAAA,CAAHG,GAAG;I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,WAAW,CAAC2C,WAAW,GAAG,wBAAwB;AAElD1D,KAAK,CAAC0D,WAAW,GAAG,kBAAkB;AAEtC9B,OAAO,CAAC8B,WAAW,GAAG,sBAAsB;AAE5C7B,+BAA+B,CAAC6B,WAAW,GACzC,4CAA4C;AAE9CrC,SAAS,CAACqC,WAAW,GAAG,sBAAsB;AAE9C1B,UAAU,CAAC0B,WAAW,GAAG,sBAAsB;AAE/C9C,KAAK,CAAC8C,WAAW,GAAG,kBAAkB;;AAEtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMxB,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,3 +1,4 @@
|
|
|
1
|
+
import type { EmptyStateSize } from './EmptyState.types';
|
|
1
2
|
export declare const StyledSvg: import("styled-components").StyledComponent<"svg", any, {}, never>;
|
|
2
3
|
export declare const StyledImage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
4
|
export declare const StyledTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -5,4 +6,6 @@ export declare const StyledDescription: import("styled-components").StyledCompon
|
|
|
5
6
|
export declare const StyledActions: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
7
|
export declare const StyledEmptyState: import("styled-components").StyledComponent<"div", any, {
|
|
7
8
|
$compact: boolean;
|
|
9
|
+
$isHorizontal?: boolean | undefined;
|
|
10
|
+
$size?: EmptyStateSize | undefined;
|
|
8
11
|
}, never>;
|
|
@@ -1,41 +1,50 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
|
-
import { getTypographyIntent } from '../Typography
|
|
2
|
+
import { getTypographyIntent } from '../Typography';
|
|
3
3
|
import { colors } from '../_styles/colors';
|
|
4
4
|
import { spacing } from '../_styles/spacing';
|
|
5
|
-
var emptyStateWidth =
|
|
6
|
-
var emptyStateWidthCompact = 352;
|
|
5
|
+
var emptyStateWidth = 312;
|
|
7
6
|
export var StyledSvg = /*#__PURE__*/styled.svg.withConfig({
|
|
8
7
|
displayName: "StyledSvg",
|
|
9
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_18_0__sc-1xaoo8n-0"
|
|
10
9
|
})(["width:200px;height:200px;"]);
|
|
11
10
|
export var StyledImage = /*#__PURE__*/styled.div.withConfig({
|
|
12
11
|
displayName: "StyledImage",
|
|
13
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_18_0__sc-1xaoo8n-1"
|
|
14
13
|
})([""]);
|
|
15
14
|
export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
|
|
16
15
|
displayName: "StyledTitle",
|
|
17
|
-
componentId: "core-
|
|
18
|
-
})(["
|
|
16
|
+
componentId: "core-12_18_0__sc-1xaoo8n-2"
|
|
17
|
+
})(["color:", ";max-width:", "px;width:100%;", ""], colors.gray15, emptyStateWidth, getTypographyIntent('h2'));
|
|
19
18
|
export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
|
|
20
19
|
displayName: "StyledDescription",
|
|
21
|
-
componentId: "core-
|
|
22
|
-
})(["margin-top:", "px;
|
|
20
|
+
componentId: "core-12_18_0__sc-1xaoo8n-3"
|
|
21
|
+
})(["margin-top:", "px;color:", ";max-width:", "px;width:100%;", ""], spacing.lg, colors.gray45, emptyStateWidth, getTypographyIntent('body'));
|
|
23
22
|
export var StyledActions = /*#__PURE__*/styled.div.withConfig({
|
|
24
23
|
displayName: "StyledActions",
|
|
25
|
-
componentId: "core-
|
|
24
|
+
componentId: "core-12_18_0__sc-1xaoo8n-4"
|
|
26
25
|
})(["margin-top:", "px;"], spacing.xl);
|
|
27
26
|
export var StyledEmptyState = /*#__PURE__*/styled.div.withConfig({
|
|
28
27
|
displayName: "StyledEmptyState",
|
|
29
|
-
componentId: "core-
|
|
30
|
-
})(["display:flex;justify-content:center;align-items:
|
|
31
|
-
var $
|
|
28
|
+
componentId: "core-12_18_0__sc-1xaoo8n-5"
|
|
29
|
+
})(["display:flex;justify-content:center;align-items:", ";gap:", "px;flex-direction:", ";margin-top:", "px;margin-bottom:", "px;", "{> img{max-width:200px;}}", " ", "}"], function (_ref) {
|
|
30
|
+
var $isHorizontal = _ref.$isHorizontal;
|
|
31
|
+
return $isHorizontal ? 'flex-start' : 'center';
|
|
32
|
+
}, spacing.xl, function (_ref2) {
|
|
33
|
+
var $isHorizontal = _ref2.$isHorizontal;
|
|
34
|
+
return $isHorizontal ? 'row' : 'column';
|
|
35
|
+
}, function (_ref3) {
|
|
36
|
+
var $compact = _ref3.$compact;
|
|
32
37
|
return $compact ? 0 : 96;
|
|
33
|
-
}, function (
|
|
34
|
-
var $compact =
|
|
38
|
+
}, function (_ref4) {
|
|
39
|
+
var $compact = _ref4.$compact;
|
|
35
40
|
return $compact ? 0 : 64;
|
|
36
|
-
}, StyledImage, function (
|
|
37
|
-
var
|
|
38
|
-
$compact =
|
|
39
|
-
|
|
41
|
+
}, StyledImage, function (_ref5) {
|
|
42
|
+
var _ref5$$compact = _ref5.$compact,
|
|
43
|
+
$compact = _ref5$$compact === void 0 ? false : _ref5$$compact,
|
|
44
|
+
$size = _ref5.$size;
|
|
45
|
+
return ($compact || $size === 'md') && css(["", "{> img{max-width:120px;}}", "{width:120px;height:120px;}"], StyledImage, StyledSvg);
|
|
46
|
+
}, function (_ref6) {
|
|
47
|
+
var $size = _ref6.$size;
|
|
48
|
+
return $size === 'sm' && css(["gap:", "px;", "{> img{max-width:96px;}}", "{width:96px;height:96px;}", "{", "}"], spacing.lg, StyledImage, StyledSvg, StyledTitle, getTypographyIntent('h3'));
|
|
40
49
|
});
|
|
41
50
|
//# sourceMappingURL=EmptyState.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.styles.js","names":["styled","css","getTypographyIntent","colors","spacing","emptyStateWidth","
|
|
1
|
+
{"version":3,"file":"EmptyState.styles.js","names":["styled","css","getTypographyIntent","colors","spacing","emptyStateWidth","StyledSvg","svg","withConfig","displayName","componentId","StyledImage","div","StyledTitle","gray15","StyledDescription","lg","gray45","StyledActions","xl","StyledEmptyState","_ref","$isHorizontal","_ref2","_ref3","$compact","_ref4","_ref5","_ref5$$compact","$size","_ref6"],"sources":["../../src/EmptyState/EmptyState.styles.tsx"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { getTypographyIntent } from '../Typography'\nimport { colors } from '../_styles/colors'\nimport { spacing } from '../_styles/spacing'\nimport type { EmptyStateSize } from './EmptyState.types'\n\nconst emptyStateWidth = 312\n\nexport const StyledSvg = styled.svg`\n width: 200px;\n height: 200px;\n`\n\nexport const StyledImage = styled.div``\n\nexport const StyledTitle = styled.div`\n color: ${colors.gray15};\n max-width: ${emptyStateWidth}px;\n width: 100%;\n ${getTypographyIntent('h2')}\n`\n\nexport const StyledDescription = styled.div`\n margin-top: ${spacing.lg}px;\n color: ${colors.gray45};\n max-width: ${emptyStateWidth}px;\n width: 100%;\n ${getTypographyIntent('body')}\n`\n\nexport const StyledActions = styled.div`\n margin-top: ${spacing.xl}px;\n`\n\nexport const StyledEmptyState = styled.div<{\n $compact: boolean\n $isHorizontal?: boolean\n $size?: EmptyStateSize\n}>`\n display: flex;\n justify-content: center;\n align-items: ${({ $isHorizontal }) =>\n $isHorizontal ? 'flex-start' : 'center'};\n gap: ${spacing.xl}px;\n flex-direction: ${({ $isHorizontal }) => ($isHorizontal ? 'row' : 'column')};\n margin-top: ${({ $compact }) => ($compact ? 0 : 96)}px;\n margin-bottom: ${({ $compact }) => ($compact ? 0 : 64)}px;\n\n ${StyledImage} {\n > img {\n max-width: 200px;\n }\n }\n\n ${({ $compact = false, $size }) =>\n ($compact || $size === 'md') &&\n css`\n ${StyledImage} {\n > img {\n max-width: 120px;\n }\n }\n\n ${StyledSvg} {\n width: 120px;\n height: 120px;\n }\n `}\n\n ${({ $size }) =>\n $size === 'sm' &&\n css`\n gap: ${spacing.lg}px;\n\n ${StyledImage} {\n > img {\n max-width: 96px;\n }\n }\n\n ${StyledSvg} {\n width: 96px;\n height: 96px;\n }\n\n ${StyledTitle} {\n ${getTypographyIntent('h3')}\n }\n `}\n}\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,mBAAmB,QAAQ,eAAe;AACnD,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,OAAO,QAAQ,oBAAoB;AAG5C,IAAMC,eAAe,GAAG,GAAG;AAE3B,OAAO,IAAMC,SAAS,gBAAGN,MAAM,CAACO,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iCAGlC;AAED,OAAO,IAAMC,WAAW,gBAAGX,MAAM,CAACY,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,QAAE;AAEvC,OAAO,IAAMG,WAAW,gBAAGb,MAAM,CAACY,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oDAC1BP,MAAM,CAACW,MAAM,EACTT,eAAe,EAE1BH,mBAAmB,CAAC,IAAI,CAAC,CAC5B;AAED,OAAO,IAAMa,iBAAiB,gBAAGf,MAAM,CAACY,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,sEAC3BN,OAAO,CAACY,EAAE,EACfb,MAAM,CAACc,MAAM,EACTZ,eAAe,EAE1BH,mBAAmB,CAAC,MAAM,CAAC,CAC9B;AAED,OAAO,IAAMgB,aAAa,gBAAGlB,MAAM,CAACY,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,2BACvBN,OAAO,CAACe,EAAE,CACzB;AAED,OAAO,IAAMC,gB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leBin';
|
|
3
|
+
export declare const emptyState: Record<EmptyStateStatus, string>;
|
|
4
|
+
export declare type EmptyStateSize = 'sm' | 'md' | 'lg';
|
|
2
5
|
export interface EmptyStateProps extends Props {
|
|
3
6
|
/**
|
|
4
7
|
* Render the EmptyState in compact mode
|
|
5
8
|
* @since 10.19.0
|
|
9
|
+
* @deprecatedSince 12.18.0
|
|
10
|
+
* @deprecated compact has been deprecated and will be removed in a future version
|
|
6
11
|
*/
|
|
7
12
|
compact?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the EmptyState's elements layout
|
|
15
|
+
* @since 12.18.0
|
|
16
|
+
*/
|
|
17
|
+
isHorizontal?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Sets the EmptyState's size
|
|
20
|
+
* @defaultValue lg
|
|
21
|
+
* @since 12.18.0
|
|
22
|
+
*/
|
|
23
|
+
size?: EmptyStateSize;
|
|
8
24
|
}
|
|
9
25
|
export interface EmptyStateActionsProps extends Props {
|
|
10
26
|
}
|
|
@@ -18,3 +34,4 @@ export interface EmptyStateImageProps {
|
|
|
18
34
|
}
|
|
19
35
|
export interface EmptyStateTitleProps extends Props {
|
|
20
36
|
}
|
|
37
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.types.js","names":[],"sources":["../../src/EmptyState/EmptyState.types.ts"],"sourcesContent":["import type { Props } from '../_utils/types'\n\nexport interface EmptyStateProps extends Props {\n /**\n * Render the EmptyState in compact mode\n * @since 10.19.0\n */\n compact?: boolean\n}\n\nexport interface EmptyStateActionsProps extends Props {}\n\nexport interface EmptyStateDescriptionsProps extends Props {}\n\nexport interface EmptyStateImageProps {\n /**\n * @since 10.19.0\n */\n src?: string\n}\n\nexport interface EmptyStateTitleProps extends Props {}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"EmptyState.types.js","names":["emptyState","noItems","imageChild","noItemsNoPermissions","noResults","recycleBin"],"sources":["../../src/EmptyState/EmptyState.types.ts"],"sourcesContent":["import type { Props } from '../_utils/types'\n\ntype EmptyStateStatus =\n | 'noItems'\n | 'imageChild'\n | 'noItemsNoPermissions'\n | 'noResults'\n | 'recycleBin'\n\nexport const emptyState: Record<EmptyStateStatus, string> = {\n noItems: 'No Items',\n imageChild: 'Image Child',\n noItemsNoPermissions: 'No Items, No Create Permissions',\n noResults: 'No Results',\n recycleBin: 'Recycle Bin',\n}\n\nexport type EmptyStateSize = 'sm' | 'md' | 'lg'\n\nexport interface EmptyStateProps extends Props {\n /**\n * Render the EmptyState in compact mode\n * @since 10.19.0\n * @deprecatedSince 12.18.0\n * @deprecated compact has been deprecated and will be removed in a future version\n */\n compact?: boolean\n /**\n * Sets the EmptyState's elements layout\n * @since 12.18.0\n */\n isHorizontal?: boolean\n /**\n * Sets the EmptyState's size\n * @defaultValue lg\n * @since 12.18.0\n */\n size?: EmptyStateSize\n}\n\nexport interface EmptyStateActionsProps extends Props {}\n\nexport interface EmptyStateDescriptionsProps extends Props {}\n\nexport interface EmptyStateImageProps {\n /**\n * @since 10.19.0\n */\n src?: string\n}\n\nexport interface EmptyStateTitleProps extends Props {}\n"],"mappings":"AASA,OAAO,IAAMA,UAA4C,GAAG;EAC1DC,OAAO,EAAE,UAAU;EACnBC,UAAU,EAAE,aAAa;EACzBC,oBAAoB,EAAE,iCAAiC;EACvDC,SAAS,EAAE,YAAY;EACvBC,UAAU,EAAE;AACd,CAAC"}
|
|
@@ -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-12_18_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-12_18_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-12_18_0__sc-1q3pe6s-2"
|
|
14
14
|
})(["> ", "{", "}"], StyledP, getSmallIconBodyTextRules);
|
|
15
15
|
//# sourceMappingURL=Field.styles.js.map
|
|
@@ -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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_0__sc-1r3srjk-1"
|
|
11
11
|
})(["display:flex;flex-direction:column;"]);
|
|
12
12
|
//# sourceMappingURL=FileSelect.styles.js.map
|
|
@@ -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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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_18_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_18_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_18_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_18_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_18_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-12_18_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-12_18_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-12_18_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-12_18_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-12_18_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_18_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_18_0__sc-plcozv-2"
|
|
36
36
|
})(["", ""], getEllipsis());
|
|
37
37
|
//# sourceMappingURL=SourceItem.styles.js.map
|