@procore/core-react 12.9.0 → 12.11.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.js +7 -0
- package/dist/DateInput/DateInput.js.map +1 -1
- 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.styles.js +6 -6
- 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 +2 -2
- 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.d.ts +4 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.js +30 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.js.map +1 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.d.ts +3 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +20 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js.map +1 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.types.d.ts +37 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.types.js +2 -0
- package/dist/GhostPlaceholder/GhostPlaceholder.types.js.map +1 -0
- package/dist/GhostPlaceholder/index.d.ts +3 -0
- package/dist/GhostPlaceholder/index.js +3 -0
- package/dist/GhostPlaceholder/index.js.map +1 -0
- 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.styles.js +10 -10
- 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/OverlayTrigger.js +2 -2
- package/dist/OverlayTrigger/OverlayTrigger.js.map +1 -1
- package/dist/OverlayTrigger/OverlayTrigger.types.d.ts +5 -2
- package/dist/OverlayTrigger/OverlayTrigger.types.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- 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 +7 -2
- package/dist/Panel/Panel.js.map +1 -1
- 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.js +4 -1
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Select/Select.types.d.ts +9 -0
- package/dist/Select/Select.types.js.map +1 -1
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +10 -10
- package/dist/SplitViewCard/SplitViewCard.styles.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/Thumbnail/Thumbnail.hooks.d.ts +4 -2
- 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.d.ts +3 -1
- package/dist/ToolHeader/ToolHeader.js +3 -1
- package/dist/ToolHeader/ToolHeader.js.map +1 -1
- 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/_hooks/I18n.d.ts +9 -1
- package/dist/_hooks/I18n.js +10 -1
- package/dist/_hooks/I18n.js.map +1 -1
- package/dist/_hooks/getI18nProviderLocale.d.ts +6 -0
- package/dist/_hooks/getI18nProviderLocale.js +12 -2
- package/dist/_hooks/getI18nProviderLocale.js.map +1 -1
- package/dist/_locales/de-DE.json +2 -2
- package/dist/_locales/en-AU.json +1 -1
- package/dist/_locales/en-CA.json +1 -1
- package/dist/_locales/en-GB.json +1 -1
- package/dist/_locales/en.json +1 -1
- package/dist/_locales/es-ES.json +1 -1
- package/dist/_locales/es.json +1 -1
- package/dist/_locales/fr-CA.json +2 -2
- package/dist/_locales/fr-FR.json +2 -2
- package/dist/_locales/is-IS.json +1 -1
- package/dist/_locales/ja-JP.json +1 -1
- package/dist/_locales/pl-PL.json +3 -0
- package/dist/_locales/pseudo.json +1 -1
- package/dist/_locales/pt-BR.json +2 -2
- package/dist/_locales/th-TH.json +1 -1
- package/dist/_locales/zh-SG.json +1 -1
- package/dist/_styles/colors.d.ts +1 -2
- package/dist/_styles/colors.js.map +1 -1
- 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 +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 +39 -39
- 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 +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 +766 -726
- package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +140 -0
- 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.json +9 -0
- 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 +35 -35
- package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
- 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 +57 -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 +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
- package/dist/_typedoc/Select/Select.types.json +67 -57
- 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 +109 -99
- package/dist/_typedoc/Tabs/Tabs.types.json +19 -19
- 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.json +9 -0
- 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/_utils/CalendarHelpers.js +3 -2
- package/dist/_utils/CalendarHelpers.js.map +1 -1
- package/dist/_utils/TinyMCE.js +2 -1
- package/dist/_utils/TinyMCE.js.map +1 -1
- package/dist/_utils/propsTypedoc.d.ts +3 -0
- package/dist/_utils/propsTypedoc.js +3 -1
- package/dist/_utils/propsTypedoc.js.map +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 +3 -3
|
@@ -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_11_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_11_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_11_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_11_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_11_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_11_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_11_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_11_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_11_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_11_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_11_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_11_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_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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-12_11_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);
|
|
@@ -5,11 +5,11 @@ import { getEllipsis, getFocus } from '../_styles/mixins';
|
|
|
5
5
|
import { spacing } from '../_styles/spacing';
|
|
6
6
|
export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
|
|
7
7
|
displayName: "StyledLabel",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_11_0__sc-1l1h29r-0"
|
|
9
9
|
})(["", " ", " ", " flex:0 1 auto;"], getTypographyIntent('body'), getEllipsis, semiboldRules);
|
|
10
10
|
export var StyledFilterToken = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledFilterToken",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_11_0__sc-1l1h29r-1"
|
|
13
13
|
})(["align-items:center;background-color:", ";border-radius:4px;border:1px solid transparent;color:", ";cursor:default;display:inline-flex;height:36px;justify-content:space-between;line-height:1;max-width:360px;min-width:48px;padding:", "px ", "px;&:hover,&.hover{background-color:", ";}", ""], colors.blue96, colors.blue45, spacing.sm, spacing.md, colors.blue90, function (_ref) {
|
|
14
14
|
var _ref$$focused = _ref.$focused,
|
|
15
15
|
$focused = _ref$$focused === void 0 ? false : _ref$$focused;
|
|
@@ -3,7 +3,7 @@ import { StyledBox } from '../Box/Box.styles';
|
|
|
3
3
|
import { Flex } from '../Flex/Flex';
|
|
4
4
|
export var StyledFlex = /*#__PURE__*/styled(Flex).withConfig({
|
|
5
5
|
displayName: "StyledFlex",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-12_11_0__sc-1quvv61-0"
|
|
7
7
|
})(["> ", "{", "}"], StyledBox, function (_ref) {
|
|
8
8
|
var $direction = _ref.$direction;
|
|
9
9
|
if ($direction !== null && $direction !== void 0 && $direction.includes('reverse')) {
|
package/dist/Form/Form.styles.js
CHANGED
|
@@ -24,7 +24,7 @@ function applyStylesOnlyToIE11(styles) {
|
|
|
24
24
|
}
|
|
25
25
|
export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
|
|
26
26
|
displayName: "StyledFormFieldMain",
|
|
27
|
-
componentId: "core-
|
|
27
|
+
componentId: "core-12_11_0__sc-ncj3pf-0"
|
|
28
28
|
})(["-ms-grid-row:2;grid-row:2;", " ", " ", ""], function (_ref) {
|
|
29
29
|
var $colStart = _ref.$colStart,
|
|
30
30
|
$colEnd = _ref.$colEnd,
|
|
@@ -36,15 +36,15 @@ export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
|
|
|
36
36
|
}, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n ")));
|
|
37
37
|
export var StyledLabel = /*#__PURE__*/styled(Label).withConfig({
|
|
38
38
|
displayName: "StyledLabel",
|
|
39
|
-
componentId: "core-
|
|
39
|
+
componentId: "core-12_11_0__sc-ncj3pf-1"
|
|
40
40
|
})(["word-wrap:break-word;word-break:break-word;"]);
|
|
41
41
|
export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
|
|
42
42
|
displayName: "StyledDescription",
|
|
43
|
-
componentId: "core-
|
|
43
|
+
componentId: "core-12_11_0__sc-ncj3pf-2"
|
|
44
44
|
})(["", " color:", ";word-wrap:break-word;word-break:break-word;"], getTypographyIntent('body'), colors.gray45);
|
|
45
45
|
export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescription).withConfig({
|
|
46
46
|
displayName: "StyledCheckboxInlineDescription",
|
|
47
|
-
componentId: "core-
|
|
47
|
+
componentId: "core-12_11_0__sc-ncj3pf-3"
|
|
48
48
|
})(["margin-top:", "px;", ""], spacing.xs, function (_ref3) {
|
|
49
49
|
var $read = _ref3.$read;
|
|
50
50
|
if (!$read) {
|
|
@@ -53,7 +53,7 @@ export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescripti
|
|
|
53
53
|
});
|
|
54
54
|
export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withConfig({
|
|
55
55
|
displayName: "StyledFormFieldHeader",
|
|
56
|
-
componentId: "core-
|
|
56
|
+
componentId: "core-12_11_0__sc-ncj3pf-4"
|
|
57
57
|
})(["-ms-grid-row:1;grid-row:1;align-self:end;margin-bottom:", "px;", " ", " * + ", "{margin-top:", "px;}"], spacing.xs, function (_ref4) {
|
|
58
58
|
var $colStart = _ref4.$colStart,
|
|
59
59
|
$colEnd = _ref4.$colEnd,
|
|
@@ -62,7 +62,7 @@ export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withCo
|
|
|
62
62
|
}, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:first-child {\n padding-left: 0;\n }\n\n ").concat(StyledFormFieldMain, " {\n padding-left: ").concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n }\n ")), StyledDescription, spacing.xs);
|
|
63
63
|
export var StyledFormFieldRequiredMark = /*#__PURE__*/styled(Required).withConfig({
|
|
64
64
|
displayName: "StyledFormFieldRequiredMark",
|
|
65
|
-
componentId: "core-
|
|
65
|
+
componentId: "core-12_11_0__sc-ncj3pf-5"
|
|
66
66
|
})(["padding-left:", "px;vertical-align:top;"], spacing.xs);
|
|
67
67
|
export var dataQaFieldTooltipIcon = 'form-field-tooltip-icon';
|
|
68
68
|
export var StyledFormFieldTooltipIcon = /*#__PURE__*/styled(Help).attrs(function () {
|
|
@@ -71,19 +71,19 @@ export var StyledFormFieldTooltipIcon = /*#__PURE__*/styled(Help).attrs(function
|
|
|
71
71
|
};
|
|
72
72
|
}).withConfig({
|
|
73
73
|
displayName: "StyledFormFieldTooltipIcon",
|
|
74
|
-
componentId: "core-
|
|
74
|
+
componentId: "core-12_11_0__sc-ncj3pf-6"
|
|
75
75
|
})(["margin-left:", "px;color:", ";vertical-align:middle;&:focus-visible{border-radius:50%;", " outline-offset:0;}"], spacing.sm, colors.gray45, getGapOutlineFocus);
|
|
76
76
|
export var StyledFormFieldErrorIcon = /*#__PURE__*/styled(Error).withConfig({
|
|
77
77
|
displayName: "StyledFormFieldErrorIcon",
|
|
78
|
-
componentId: "core-
|
|
78
|
+
componentId: "core-12_11_0__sc-ncj3pf-7"
|
|
79
79
|
})(["vertical-align:sub;"]);
|
|
80
80
|
export var StyledFormFieldBanner = /*#__PURE__*/styled.div.withConfig({
|
|
81
81
|
displayName: "StyledFormFieldBanner",
|
|
82
|
-
componentId: "core-
|
|
82
|
+
componentId: "core-12_11_0__sc-ncj3pf-8"
|
|
83
83
|
})(["display:flex;align-items:flex-start;min-height:22px;margin-top:", "px;margin-bottom:2px;word-break:break-word;word-wrap:break-word;color:", ";", ""], spacing.xs, colors.red50, getTypographyIntent('body'));
|
|
84
84
|
export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
|
|
85
85
|
displayName: "StyledTraditionalFormColumn",
|
|
86
|
-
componentId: "core-
|
|
86
|
+
componentId: "core-12_11_0__sc-ncj3pf-9"
|
|
87
87
|
})(["padding:", ";align-self:center;height:100%;&:nth-child(1){-ms-grid-column:1;}&:nth-child(2){-ms-grid-column:2;}&:nth-child(3){-ms-grid-column:3;}&:nth-child(4){-ms-grid-column:4;}", " ", ""], traditionalPadding, function (_ref5) {
|
|
88
88
|
var _ref5$$fullWidth = _ref5.$fullWidth,
|
|
89
89
|
$fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
|
|
@@ -95,15 +95,15 @@ export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
|
|
|
95
95
|
});
|
|
96
96
|
export var StyledFormOutputTextArea = /*#__PURE__*/styled.span.withConfig({
|
|
97
97
|
displayName: "StyledFormOutputTextArea",
|
|
98
|
-
componentId: "core-
|
|
98
|
+
componentId: "core-12_11_0__sc-ncj3pf-10"
|
|
99
99
|
})(["white-space:pre-wrap;"]);
|
|
100
100
|
export var StyledFormOutputFiledset = /*#__PURE__*/styled.fieldset.withConfig({
|
|
101
101
|
displayName: "StyledFormOutputFiledset",
|
|
102
|
-
componentId: "core-
|
|
102
|
+
componentId: "core-12_11_0__sc-ncj3pf-11"
|
|
103
103
|
})(["border:none;padding:0;margin-top:", "px;"], spacing.xs);
|
|
104
104
|
export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
|
|
105
105
|
displayName: "StyledFormRow",
|
|
106
|
-
componentId: "core-
|
|
106
|
+
componentId: "core-12_11_0__sc-ncj3pf-12"
|
|
107
107
|
})(["", ""], function (_ref7) {
|
|
108
108
|
var _ref7$$traditional = _ref7.$traditional,
|
|
109
109
|
$traditional = _ref7$$traditional === void 0 ? false : _ref7$$traditional,
|
|
@@ -114,6 +114,6 @@ export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
114
114
|
export var formWrapper = /*#__PURE__*/css(["display:inherit;flex-direction:inherit;height:inherit;max-height:inherit;"]);
|
|
115
115
|
export var StyledForm = /*#__PURE__*/styled.div.withConfig({
|
|
116
116
|
displayName: "StyledForm",
|
|
117
|
-
componentId: "core-
|
|
117
|
+
componentId: "core-12_11_0__sc-ncj3pf-13"
|
|
118
118
|
})(["", ""], formWrapper);
|
|
119
119
|
//# sourceMappingURL=Form.styles.js.map
|
|
@@ -5,11 +5,11 @@ import { spacing } from '../_styles/spacing';
|
|
|
5
5
|
import { formWrapper } from './Form.styles';
|
|
6
6
|
export var StyledFormikForm = /*#__PURE__*/styled(FormikForm).withConfig({
|
|
7
7
|
displayName: "StyledFormikForm",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_11_0__sc-1ks7m0l-0"
|
|
9
9
|
})(["", ""], formWrapper);
|
|
10
10
|
export var StyledTraditionalFormLabel = /*#__PURE__*/styled(Typography).withConfig({
|
|
11
11
|
displayName: "StyledTraditionalFormLabel",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_11_0__sc-1ks7m0l-1"
|
|
13
13
|
})(["display:inline-block;word-break:break-word;word-wrap:break-word;", ""], function (_ref) {
|
|
14
14
|
var $view = _ref.$view;
|
|
15
15
|
return ['create', 'update'].includes($view) && css(["padding-top:", "px;"], spacing.sm);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var _excluded = ["shape", "small", "startGradientColor", "endGradientColor"];
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
|
+
import React from 'react';
|
|
6
|
+
import { colors } from '../_styles/colors';
|
|
7
|
+
import { PlaceholderItem, RoundPlaceholderItem } from './GhostPlaceholder.styles';
|
|
8
|
+
var GhostPlaceholder = /*#__PURE__*/React.memo(function (_ref) {
|
|
9
|
+
var shape = _ref.shape,
|
|
10
|
+
_ref$small = _ref.small,
|
|
11
|
+
small = _ref$small === void 0 ? false : _ref$small,
|
|
12
|
+
_ref$startGradientCol = _ref.startGradientColor,
|
|
13
|
+
startGradientColor = _ref$startGradientCol === void 0 ? colors.gray94 : _ref$startGradientCol,
|
|
14
|
+
_ref$endGradientColor = _ref.endGradientColor,
|
|
15
|
+
endGradientColor = _ref$endGradientColor === void 0 ? colors.gray20 : _ref$endGradientColor,
|
|
16
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
17
|
+
if (shape === 'round') {
|
|
18
|
+
return /*#__PURE__*/React.createElement(RoundPlaceholderItem, _extends({
|
|
19
|
+
$small: small,
|
|
20
|
+
$startGradientColor: startGradientColor,
|
|
21
|
+
$endGradientColor: endGradientColor
|
|
22
|
+
}, props));
|
|
23
|
+
}
|
|
24
|
+
return /*#__PURE__*/React.createElement(PlaceholderItem, _extends({
|
|
25
|
+
$startGradientColor: startGradientColor,
|
|
26
|
+
$endGradientColor: endGradientColor
|
|
27
|
+
}, props));
|
|
28
|
+
});
|
|
29
|
+
export default GhostPlaceholder;
|
|
30
|
+
//# sourceMappingURL=GhostPlaceholder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GhostPlaceholder.js","names":["React","colors","PlaceholderItem","RoundPlaceholderItem","GhostPlaceholder","memo","_ref","shape","_ref$small","small","_ref$startGradientCol","startGradientColor","gray94","_ref$endGradientColor","endGradientColor","gray20","props","_objectWithoutProperties","_excluded","createElement","_extends","$small","$startGradientColor","$endGradientColor"],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.tsx"],"sourcesContent":["import React from 'react'\nimport { colors } from '../_styles/colors'\nimport {\n PlaceholderItem,\n RoundPlaceholderItem,\n} from './GhostPlaceholder.styles'\nimport type { GhostPlaceholderProps } from './GhostPlaceholder.types'\n\nconst GhostPlaceholder: React.FC<GhostPlaceholderProps> = React.memo(\n ({\n shape,\n small = false,\n startGradientColor = colors.gray94,\n endGradientColor = colors.gray20,\n ...props\n }) => {\n if (shape === 'round') {\n return (\n <RoundPlaceholderItem\n $small={small}\n $startGradientColor={startGradientColor}\n $endGradientColor={endGradientColor}\n {...props}\n />\n )\n }\n return (\n <PlaceholderItem\n $startGradientColor={startGradientColor}\n $endGradientColor={endGradientColor}\n {...props}\n />\n )\n }\n)\n\nexport default GhostPlaceholder\n"],"mappings":";;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SACEC,eAAe,EACfC,oBAAoB,QACf,2BAA2B;AAGlC,IAAMC,gBAAiD,gBAAGJ,KAAK,CAACK,IAAI,CAClE,UAAAC,IAAA,EAMM;EAAA,IALJC,KAAK,GAAAD,IAAA,CAALC,KAAK;IAAAC,UAAA,GAAAF,IAAA,CACLG,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,KAAK,GAAAA,UAAA;IAAAE,qBAAA,GAAAJ,IAAA,CACbK,kBAAkB;IAAlBA,kBAAkB,GAAAD,qBAAA,cAAGT,MAAM,CAACW,MAAM,GAAAF,qBAAA;IAAAG,qBAAA,GAAAP,IAAA,CAClCQ,gBAAgB;IAAhBA,gBAAgB,GAAAD,qBAAA,cAAGZ,MAAM,CAACc,MAAM,GAAAF,qBAAA;IAC7BG,KAAK,GAAAC,wBAAA,CAAAX,IAAA,EAAAY,SAAA;EAER,IAAIX,KAAK,KAAK,OAAO,EAAE;IACrB,oBACEP,KAAA,CAAAmB,aAAA,CAAChB,oBAAoB,EAAAiB,QAAA;MACnBC,MAAM,EAAEZ,KAAM;MACda,mBAAmB,EAAEX,kBAAmB;MACxCY,iBAAiB,EAAET;IAAiB,GAChCE,KAAK,CACV,CAAC;EAEN;EACA,oBACEhB,KAAA,CAAAmB,aAAA,CAACjB,eAAe,EAAAkB,QAAA;IACdE,mBAAmB,EAAEX,kBAAmB;IACxCY,iBAAiB,EAAET;EAAiB,GAChCE,KAAK,CACV,CAAC;AAEN,CACF,CAAC;AAED,eAAeZ,gBAAgB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { PlaceholderItemProps, RoundPlaceholderItemProps } from './GhostPlaceholder.types';
|
|
2
|
+
export declare const PlaceholderItem: import("styled-components").StyledComponent<"div", any, PlaceholderItemProps, never>;
|
|
3
|
+
export declare const RoundPlaceholderItem: import("styled-components").StyledComponent<"div", any, PlaceholderItemProps & RoundPlaceholderItemProps, never>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import styled, { keyframes } from 'styled-components';
|
|
2
|
+
import { spacing } from '../_styles/spacing';
|
|
3
|
+
var shimmerAnimation = /*#__PURE__*/keyframes(["0%{background-position:-1000px 500px;}100%{background-position:1000px 500px;}"]);
|
|
4
|
+
export var PlaceholderItem = /*#__PURE__*/styled.div.withConfig({
|
|
5
|
+
displayName: "PlaceholderItem",
|
|
6
|
+
componentId: "core-12_11_0__sc-1nja302-0"
|
|
7
|
+
})(["width:100%;min-height:24px;padding:10px 0;animation:", " 3s ease-out infinite;background:radial-gradient( ellipse at center,", " 0%,", " 50% );background-size:2000px 2000px;border-radius:", "px;"], shimmerAnimation, function (props) {
|
|
8
|
+
return props.$startGradientColor;
|
|
9
|
+
}, function (props) {
|
|
10
|
+
return props.$endGradientColor;
|
|
11
|
+
}, spacing.sm);
|
|
12
|
+
export var RoundPlaceholderItem = /*#__PURE__*/styled(PlaceholderItem).withConfig({
|
|
13
|
+
displayName: "RoundPlaceholderItem",
|
|
14
|
+
componentId: "core-12_11_0__sc-1nja302-1"
|
|
15
|
+
})(["width:", ";height:", ";border-radius:50%;"], function (props) {
|
|
16
|
+
return props.$small ? '24px' : '40px';
|
|
17
|
+
}, function (props) {
|
|
18
|
+
return props.$small ? '24px' : '40px';
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=GhostPlaceholder.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GhostPlaceholder.styles.js","names":["styled","keyframes","spacing","shimmerAnimation","PlaceholderItem","div","withConfig","displayName","componentId","props","$startGradientColor","$endGradientColor","sm","RoundPlaceholderItem","$small"],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.styles.tsx"],"sourcesContent":["import styled, { keyframes } from 'styled-components'\nimport { spacing } from '../_styles/spacing'\nimport type {\n PlaceholderItemProps,\n RoundPlaceholderItemProps,\n} from './GhostPlaceholder.types'\n\nconst shimmerAnimation = keyframes`\n 0% {\n background-position: -1000px 500px;\n }\n 100% {\n background-position: 1000px 500px;\n }\n`\n\nexport const PlaceholderItem = styled.div<PlaceholderItemProps>`\n width: 100%;\n min-height: 24px;\n padding: 10px 0;\n\n animation: ${shimmerAnimation} 3s ease-out infinite;\n background: radial-gradient(\n ellipse at center,\n ${(props) => props.$startGradientColor} 0%,\n ${(props) => props.$endGradientColor} 50%\n );\n background-size: 2000px 2000px;\n border-radius: ${spacing.sm}px;\n`\n\nexport const RoundPlaceholderItem = styled(\n PlaceholderItem\n)<RoundPlaceholderItemProps>`\n width: ${(props) => (props.$small ? '24px' : '40px')};\n height: ${(props) => (props.$small ? '24px' : '40px')};\n border-radius: 50%;\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,SAAS,QAAQ,mBAAmB;AACrD,SAASC,OAAO,QAAQ,oBAAoB;AAM5C,IAAMC,gBAAgB,gBAAGF,SAAS,mFAOjC;AAED,OAAO,IAAMG,eAAe,gBAAGJ,MAAM,CAACK,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,2MAK1BL,gBAAgB,EAGzB,UAACM,KAAK;EAAA,OAAKA,KAAK,CAACC,mBAAmB;AAAA,GACpC,UAACD,KAAK;EAAA,OAAKA,KAAK,CAACE,iBAAiB;AAAA,GAGrBT,OAAO,CAACU,EAAE,CAC5B;AAED,OAAO,IAAMC,oBAAoB,gBAAGb,MAAM,CACxCI,eACF,CAAC,CAAAE,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kDACU,UAACC,KAAK;EAAA,OAAMA,KAAK,CAACK,MAAM,GAAG,MAAM,GAAG,MAAM;AAAA,CAAC,EAC1C,UAACL,KAAK;EAAA,OAAMA,KAAK,CAACK,MAAM,GAAG,MAAM,GAAG,MAAM;AAAA,CAAC,CAEtD"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ColorPaletteObject } from '../_styles/colors';
|
|
2
|
+
import type { Props } from '../_utils/types';
|
|
3
|
+
declare type Shape = 'default' | 'round';
|
|
4
|
+
export interface GhostPlaceholderProps extends Props {
|
|
5
|
+
/**
|
|
6
|
+
* Possible shapes are 'default' and 'round'
|
|
7
|
+
* @default 'default'
|
|
8
|
+
* @since 12.11.0
|
|
9
|
+
*/
|
|
10
|
+
shape?: Shape;
|
|
11
|
+
/**
|
|
12
|
+
* Will display smaller version of the placeholder instead of full width
|
|
13
|
+
* @default 'false'
|
|
14
|
+
* @since 12.11.0
|
|
15
|
+
*/
|
|
16
|
+
small?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The starting color of the gradient
|
|
19
|
+
* @default gray94
|
|
20
|
+
* @since 12.11.0
|
|
21
|
+
*/
|
|
22
|
+
startGradientColor?: ColorPaletteObject | string;
|
|
23
|
+
/**
|
|
24
|
+
* The ending color of the gradient
|
|
25
|
+
* @default gray20
|
|
26
|
+
* @since 12.11.0
|
|
27
|
+
*/
|
|
28
|
+
endGradientColor?: ColorPaletteObject | string;
|
|
29
|
+
}
|
|
30
|
+
export interface PlaceholderItemProps {
|
|
31
|
+
$startGradientColor?: GhostPlaceholderProps['startGradientColor'];
|
|
32
|
+
$endGradientColor?: GhostPlaceholderProps['endGradientColor'];
|
|
33
|
+
}
|
|
34
|
+
export interface RoundPlaceholderItemProps extends PlaceholderItemProps {
|
|
35
|
+
$small?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GhostPlaceholder.types.js","names":[],"sources":["../../src/GhostPlaceholder/GhostPlaceholder.types.tsx"],"sourcesContent":["import type { ColorPaletteObject } from '../_styles/colors'\nimport type { Props } from '../_utils/types'\n\ntype Shape = 'default' | 'round'\n\nexport interface GhostPlaceholderProps extends Props {\n /**\n * Possible shapes are 'default' and 'round'\n * @default 'default'\n * @since 12.11.0\n */\n shape?: Shape\n /**\n * Will display smaller version of the placeholder instead of full width\n * @default 'false'\n * @since 12.11.0\n */\n small?: boolean\n /**\n * The starting color of the gradient\n * @default gray94\n * @since 12.11.0\n */\n startGradientColor?: ColorPaletteObject | string\n /**\n * The ending color of the gradient\n * @default gray20\n * @since 12.11.0\n */\n endGradientColor?: ColorPaletteObject | string\n}\n\nexport interface PlaceholderItemProps {\n $startGradientColor?: GhostPlaceholderProps['startGradientColor']\n $endGradientColor?: GhostPlaceholderProps['endGradientColor']\n}\n\nexport interface RoundPlaceholderItemProps extends PlaceholderItemProps {\n $small?: boolean\n}\n"],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["GhostPlaceholder"],"sources":["../../src/GhostPlaceholder/index.ts"],"sourcesContent":["import GhostPlaceholder from './GhostPlaceholder'\nexport type { GhostPlaceholderProps } from './GhostPlaceholder.types'\nexport { GhostPlaceholder }\n"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,oBAAoB;AAEjD,SAASA,gBAAgB"}
|
package/dist/Grid/Grid.styles.js
CHANGED
|
@@ -75,7 +75,7 @@ var getRowGutterVertical = function getRowGutterVertical(gutterY, breakpoint) {
|
|
|
75
75
|
};
|
|
76
76
|
export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
|
|
77
77
|
displayName: "StyledGridRow",
|
|
78
|
-
componentId: "core-
|
|
78
|
+
componentId: "core-12_11_0__sc-8pinsp-0"
|
|
79
79
|
})(["", " display:flex;flex-wrap:wrap;"], function (_ref) {
|
|
80
80
|
var $gutterX = _ref.$gutterX,
|
|
81
81
|
$gutterY = _ref.$gutterY;
|
|
@@ -87,7 +87,7 @@ export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
|
|
|
87
87
|
});
|
|
88
88
|
export var StyledGridCol = /*#__PURE__*/styled.div.withConfig({
|
|
89
89
|
displayName: "StyledGridCol",
|
|
90
|
-
componentId: "core-
|
|
90
|
+
componentId: "core-12_11_0__sc-8pinsp-1"
|
|
91
91
|
})(["flex-shrink:0;width:100%;max-width:100%;", ""], function (_ref2) {
|
|
92
92
|
var $span = _ref2.$span,
|
|
93
93
|
$offset = _ref2.$offset,
|
|
@@ -3,7 +3,7 @@ import { MultiSelect } from '../MultiSelect/MultiSelect';
|
|
|
3
3
|
import { colors } from '../_styles/colors';
|
|
4
4
|
export var StyledGroupSelectOption = /*#__PURE__*/styled(MultiSelect.Option).withConfig({
|
|
5
5
|
displayName: "StyledGroupSelectOption",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-12_11_0__sc-u5gu8j-0"
|
|
7
7
|
})(["", ""], function (_ref) {
|
|
8
8
|
var disabled = _ref.disabled;
|
|
9
9
|
return disabled && css(["color:", ";cursor:not-allowed;a,a:hover{color:", ";text-decoration:none;}"], colors.gray70, colors.gray70);
|
|
@@ -16,6 +16,6 @@ export function getInputStyles(_ref) {
|
|
|
16
16
|
}
|
|
17
17
|
export var StyledInput = /*#__PURE__*/styled.input.withConfig({
|
|
18
18
|
displayName: "StyledInput",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_11_0__sc-12sjkxg-0"
|
|
20
20
|
})(["", " padding:0 ", "px;&::-ms-clear{display:none;}&[type='number']{-moz-appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}}"], getInputStyles, spacing.md);
|
|
21
21
|
//# sourceMappingURL=Input.styles.js.map
|
package/dist/Link/Link.styles.js
CHANGED
|
@@ -17,6 +17,6 @@ function getLinkColors(_ref) {
|
|
|
17
17
|
}
|
|
18
18
|
export var StyledLink = /*#__PURE__*/styled.a.withConfig({
|
|
19
19
|
displayName: "StyledLink",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_11_0__sc-jfowrl-0"
|
|
21
21
|
})(["text-decoration:underline;&:hover{cursor:pointer;text-decoration:underline;}", " &.focus,&:focus{", ";}", ""], focusable, getBorderRadius('md'), getLinkColors);
|
|
22
22
|
//# sourceMappingURL=Link.styles.js.map
|
|
@@ -3,19 +3,19 @@ import { colors } from '../_styles/colors';
|
|
|
3
3
|
import { spacing } from '../_styles/spacing';
|
|
4
4
|
export var StyledListPageMain = /*#__PURE__*/styled.div.withConfig({
|
|
5
5
|
displayName: "StyledListPageMain",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-12_11_0__sc-1eq7fzi-0"
|
|
7
7
|
})(["display:flex;flex:1 0 auto;flex-direction:column;min-width:0;padding:", "px ", "px;width:100%;"], spacing.lg, spacing.xl);
|
|
8
8
|
export var StyledListPageBanner = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledListPageBanner",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-12_11_0__sc-1eq7fzi-1"
|
|
11
11
|
})(["flex:0 0 auto;"]);
|
|
12
12
|
export var StyledListPageToolHeader = /*#__PURE__*/styled.div.withConfig({
|
|
13
13
|
displayName: "StyledListPageToolHeader",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-12_11_0__sc-1eq7fzi-2"
|
|
15
15
|
})(["flex:0 0 auto;padding-bottom:", "px;"], spacing.lg);
|
|
16
16
|
export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
displayName: "StyledListPageControl",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-12_11_0__sc-1eq7fzi-3"
|
|
19
19
|
})(["flex:", ";", " ", ""], function (_ref) {
|
|
20
20
|
var $block = _ref.$block;
|
|
21
21
|
return $block ? '1 0 auto' : '0 0 auto';
|
|
@@ -32,18 +32,18 @@ export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
|
|
|
32
32
|
});
|
|
33
33
|
export var StyledListPageContentControls = /*#__PURE__*/styled.div.withConfig({
|
|
34
34
|
displayName: "StyledListPageContentControls",
|
|
35
|
-
componentId: "core-
|
|
35
|
+
componentId: "core-12_11_0__sc-1eq7fzi-4"
|
|
36
36
|
})(["align-items:center;display:flex;flex:0 0 auto;justify-content:space-between;padding:", "px 0;", " + ", "{margin-left:", "px;}"], spacing.md, StyledListPageControl, StyledListPageControl, spacing.lg);
|
|
37
37
|
export var StyledListPageBody = /*#__PURE__*/styled.div.withConfig({
|
|
38
38
|
displayName: "StyledListPageBody",
|
|
39
|
-
componentId: "core-
|
|
39
|
+
componentId: "core-12_11_0__sc-1eq7fzi-5"
|
|
40
40
|
})(["display:flex;flex:1 0 auto;padding-top:", "px;"], spacing.md);
|
|
41
41
|
export var StyledListPageBodyContent = /*#__PURE__*/styled.div.withConfig({
|
|
42
42
|
displayName: "StyledListPageBodyContent",
|
|
43
|
-
componentId: "core-
|
|
43
|
+
componentId: "core-12_11_0__sc-1eq7fzi-6"
|
|
44
44
|
})(["flex:1 1 auto;"]);
|
|
45
45
|
export var StyledListPage = /*#__PURE__*/styled.div.withConfig({
|
|
46
46
|
displayName: "StyledListPage",
|
|
47
|
-
componentId: "core-
|
|
47
|
+
componentId: "core-12_11_0__sc-1eq7fzi-7"
|
|
48
48
|
})(["display:flex;flex-direction:row;height:100%;width:100%;", " + ", "{padding-top:", "px;}", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", ",", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", "{padding-top:0;}"], StyledListPageBanner, StyledListPageToolHeader, spacing.lg, StyledListPageContentControls, StyledListPageContentControls, colors.gray85, StyledListPageToolHeader, StyledListPageContentControls, StyledListPageToolHeader, StyledListPageBody, colors.gray85, StyledListPageContentControls, StyledListPageBody);
|
|
49
49
|
//# sourceMappingURL=ListPage.styles.js.map
|
|
@@ -7,11 +7,11 @@ export var loaderTransitionDuration = 250;
|
|
|
7
7
|
var movingStripes = /*#__PURE__*/keyframes(["from{background-position:", "px 0;}100%{background-position:0 ", "px;}"], backgroundSize, backgroundSize);
|
|
8
8
|
export var StyledLoader = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "StyledLoader",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-12_11_0__sc-wgvjj9-0"
|
|
11
11
|
})(["display:block;height:100%;left:0;min-width:12px;position:absolute;transition:width ", "ms ease-out;top:0;"], loaderTransitionDuration);
|
|
12
12
|
export var StyledGradient = /*#__PURE__*/styled.div.withConfig({
|
|
13
13
|
displayName: "StyledGradient",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-12_11_0__sc-wgvjj9-1"
|
|
15
15
|
})(["height:100%;", ""], function (_ref) {
|
|
16
16
|
var $animated = _ref.$animated;
|
|
17
17
|
return $animated ? css(["animation:", " 0.5s linear infinite;background-image:linear-gradient( 45deg,", " 26%,", " 25%,", " 51%,", " 50%,", " 76%,", " 75%,", " );background-size:", "px ", "px;"], movingStripes, color1, color2, color2, color1, color1, color2, color2, backgroundSize, backgroundSize) : css(["background-color:", ";"], colors.blue50);
|