@procore/core-react 12.40.0 → 12.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
- package/dist/Avatar/Avatar.styles.js +5 -5
- package/dist/AvatarStack/AvatarStack.d.ts +1 -1
- package/dist/AvatarStack/AvatarStack.js +29 -6
- package/dist/AvatarStack/AvatarStack.js.map +1 -1
- package/dist/AvatarStack/AvatarStack.styles.js +7 -7
- package/dist/AvatarStack/AvatarStack.types.d.ts +7 -0
- package/dist/AvatarStack/AvatarStack.types.js.map +1 -1
- package/dist/Badge/Badge.styles.js +2 -2
- package/dist/BadgePill/BadgePill.styles.js +4 -4
- 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 +9 -9
- package/dist/Card/Card.styles.js +1 -1
- package/dist/Checkbox/Checkbox.styles.js +6 -6
- package/dist/ContactItem/ContactItem.js +7 -3
- package/dist/ContactItem/ContactItem.js.map +1 -1
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/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 +10 -10
- package/dist/Dropzone/Dropzone.styles.js.map +1 -1
- package/dist/EmptyState/EmptyState.styles.js +6 -6
- package/dist/Field/Field.styles.js +3 -3
- package/dist/FileList/FileList.styles.js +3 -3
- package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
- package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
- package/dist/FileSelect/FileSelect.d.ts +8 -15
- package/dist/FileSelect/FileSelect.js +8 -15
- package/dist/FileSelect/FileSelect.js.map +1 -1
- package/dist/FileSelect/FileSelect.styles.js +2 -2
- package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
- package/dist/FileSelect/FileTokenList/FileTokenList.d.ts +8 -0
- package/dist/FileSelect/FileTokenList/FileTokenList.js +9 -0
- package/dist/FileSelect/FileTokenList/FileTokenList.js.map +1 -1
- 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 +6 -6
- package/dist/FilterToken/FilterToken.styles.js +5 -5
- package/dist/FlexList/FlexList.styles.js +1 -1
- package/dist/Form/Form.styles.js +13 -13
- package/dist/Form/StyledFormikForm.styles.js +2 -2
- package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
- package/dist/Grid/Grid.styles.js +2 -2
- package/dist/GroupSelect/GroupSelect.styles.js +1 -1
- package/dist/Input/Input.styles.js +1 -1
- package/dist/Link/Link.styles.js +1 -1
- package/dist/ListPage/ListPage.styles.js +8 -8
- package/dist/Loader/Loader.styles.js +2 -2
- package/dist/MenuImperative/MenuImperative.d.ts +1 -1
- package/dist/MenuImperative/MenuImperative.js +126 -34
- package/dist/MenuImperative/MenuImperative.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.styles.js +15 -15
- package/dist/MenuImperative/MenuImperative.styles.js.map +1 -1
- package/dist/MenuImperative/MenuImperative.types.d.ts +36 -0
- package/dist/MenuImperative/MenuImperative.types.js.map +1 -1
- package/dist/MenuImperative/sensors.d.ts +6 -3
- package/dist/MenuImperative/sensors.js +42 -34
- package/dist/MenuImperative/sensors.js.map +1 -1
- package/dist/Modal/Modal.d.ts +4 -0
- package/dist/Modal/Modal.js +23 -13
- package/dist/Modal/Modal.js.map +1 -1
- package/dist/Modal/Modal.styles.js +13 -13
- package/dist/Modal/Modal.types.d.ts +28 -5
- package/dist/Modal/Modal.types.js.map +1 -1
- package/dist/Modal/index.d.ts +1 -1
- package/dist/Modal/index.js.map +1 -1
- package/dist/MultiSelect/MultiSelect.styles.js +8 -8
- 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 +17 -24
- package/dist/OverlayTrigger/a11yPresets.js +29 -27
- package/dist/OverlayTrigger/a11yPresets.js.map +1 -1
- package/dist/PageLayout/PageLayout.styles.js +16 -16
- package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
- package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
- package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
- package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
- package/dist/Pagination/Pagination.styles.js +5 -5
- package/dist/Panel/Panel.styles.js +11 -11
- package/dist/Pill/Pill.styles.js +3 -3
- package/dist/PillSelect/PillSelect.d.ts +2 -1
- package/dist/PillSelect/PillSelect.js +59 -41
- package/dist/PillSelect/PillSelect.js.map +1 -1
- 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 +4 -4
- package/dist/ProgressBar/ProgressBar.styles.js.map +1 -1
- package/dist/RadioButton/RadioButton.styles.js +3 -3
- package/dist/Required/Required.styles.js +3 -3
- package/dist/Search/Search.styles.js +5 -5
- package/dist/Section/Section.js +0 -1
- package/dist/Section/Section.js.map +1 -1
- package/dist/Section/Section.styles.js +7 -7
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.d.ts +2 -0
- package/dist/Select/Select.js +108 -79
- package/dist/Select/Select.js.map +1 -1
- package/dist/Select/Select.styles.js +8 -8
- package/dist/Semantic/Semantic.styles.js +9 -9
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +38 -38
- package/dist/SuperSelect/useSuperSelect.js +2 -2
- package/dist/SuperSelect/useSuperSelect.js.map +1 -1
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +28 -28
- package/dist/Table/Table.types.d.ts +5 -2
- package/dist/Table/Table.types.js.map +1 -1
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +15 -15
- package/dist/Tearsheet/Tearsheet.js +1 -1
- package/dist/Tearsheet/Tearsheet.js.map +1 -1
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/Tearsheet/storybook/PageLayoutDemo.js +1 -0
- package/dist/Tearsheet/storybook/PageLayoutDemo.js.map +1 -1
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.js +126 -46
- package/dist/Thumbnail/Thumbnail.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/Thumbnail/Thumbnail.types.d.ts +12 -0
- package/dist/Thumbnail/Thumbnail.types.js.map +1 -1
- package/dist/Thumbnail/Thumbnail.utils.d.ts +2 -0
- package/dist/Thumbnail/Thumbnail.utils.js +6 -0
- package/dist/Thumbnail/Thumbnail.utils.js.map +1 -1
- package/dist/Thumbnail/ThumbnailCaption.js +45 -52
- package/dist/Thumbnail/ThumbnailCaption.js.map +1 -1
- 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 +3 -3
- package/dist/Tree/Tree.js +1 -1
- package/dist/Tree/Tree.styles.js +10 -10
- 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 +22 -153
- package/dist/_locales/de-DE.json +1 -10
- package/dist/_locales/en-AU.json +1 -10
- package/dist/_locales/en-CA.json +1 -10
- package/dist/_locales/en-GB.json +1 -10
- package/dist/_locales/en.json +13 -2
- package/dist/_locales/es-ES.json +1 -10
- package/dist/_locales/es.json +1 -10
- package/dist/_locales/fr-CA.json +1 -10
- package/dist/_locales/fr-FR.json +1 -10
- package/dist/_locales/is-IS.json +1 -10
- package/dist/_locales/it-IT.json +1 -10
- package/dist/_locales/ja-JP.json +1 -10
- package/dist/_locales/pl-PL.json +1 -10
- package/dist/_locales/pseudo.json +13 -2
- package/dist/_locales/pt-BR.json +1 -10
- package/dist/_locales/pt-PT.json +2 -11
- package/dist/_locales/th-TH.json +1 -10
- package/dist/_locales/zh-SG.json +1 -10
- package/dist/_locales/zh-TW.json +1 -10
- package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
- package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
- package/dist/_styles/colors.js +1 -3
- package/dist/_styles/colors.js.map +1 -1
- package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +34 -24
- package/dist/_typedoc/Badge/Badge.types.json +6 -6
- package/dist/_typedoc/Banner/Banner.types.json +15 -15
- 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 +13 -13
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +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 +31 -31
- package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
- package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.json +3 -3
- package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
- package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
- package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
- package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +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 +760 -760
- 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 +54 -54
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +1 -1
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +147 -77
- package/dist/_typedoc/Modal/Modal.types.json +96 -68
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
- package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +48 -48
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
- 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 +27 -27
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
- package/dist/_typedoc/Popover/Popover.types.json +15 -15
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +15 -15
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
- package/dist/_typedoc/Select/Select.types.json +67 -67
- package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
- package/dist/_typedoc/Table/Table.types.json +102 -102
- package/dist/_typedoc/Tabs/Tabs.types.json +21 -21
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
- package/dist/_typedoc/Tile/Tile.types.json +8 -8
- package/dist/_typedoc/Title/Title.types.json +1 -1
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
- package/dist/_typedoc/Token/Token.types.json +7 -7
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
- package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
- package/dist/_typedoc/Tree/Tree.types.json +88 -88
- 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/package.json +3 -3
|
@@ -8,37 +8,37 @@ var cellSize = 36; // TODO one-off size
|
|
|
8
8
|
|
|
9
9
|
export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledContainer",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_42_0__sc-1kkl86t-0"
|
|
12
12
|
})(["", ";display:inline-flex;flex-direction:column;padding:", "px ", "px ", "px;"], getTypographyIntent('small'), spacing.lg, spacing.md, spacing.md);
|
|
13
13
|
export var StyledPaginator = /*#__PURE__*/styled(Button).withConfig({
|
|
14
14
|
displayName: "StyledPaginator",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_42_0__sc-1kkl86t-1"
|
|
16
16
|
})(["flex:0 0 auto;"]);
|
|
17
17
|
export var StyledSelect = /*#__PURE__*/styled.div.withConfig({
|
|
18
18
|
displayName: "StyledSelect",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_42_0__sc-1kkl86t-2"
|
|
20
20
|
})(["display:inline-flex;flex:1 1 0;margin-left:", "px;> div{font-size:12px;}"], spacing.sm);
|
|
21
21
|
export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
|
|
22
22
|
displayName: "StyledNavigation",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_42_0__sc-1kkl86t-3"
|
|
24
24
|
})(["display:inline-flex;margin-bottom:", "px;", " + ", ",", " + ", "{margin-left:", "px;}"], spacing.sm, StyledPaginator, StyledSelect, StyledSelect, StyledPaginator, spacing.sm);
|
|
25
25
|
export var StyledCell = /*#__PURE__*/styled.div.withConfig({
|
|
26
26
|
displayName: "StyledCell",
|
|
27
|
-
componentId: "core-
|
|
27
|
+
componentId: "core-12_42_0__sc-1kkl86t-4"
|
|
28
28
|
})(["align-items:center;display:inline-flex;height:", "px;justify-content:center;width:", "px;"], cellSize, cellSize);
|
|
29
29
|
export var StyledDayHeaderCell = /*#__PURE__*/styled(StyledCell).withConfig({
|
|
30
30
|
displayName: "StyledDayHeaderCell",
|
|
31
|
-
componentId: "core-
|
|
31
|
+
componentId: "core-12_42_0__sc-1kkl86t-5"
|
|
32
32
|
})(["cursor:default;font-weight:", ";"], typographyWeights.semibold);
|
|
33
33
|
export var StyledCellButton = /*#__PURE__*/styled.button.attrs({
|
|
34
34
|
type: 'button'
|
|
35
35
|
}).withConfig({
|
|
36
36
|
displayName: "StyledCellButton",
|
|
37
|
-
componentId: "core-
|
|
37
|
+
componentId: "core-12_42_0__sc-1kkl86t-6"
|
|
38
38
|
})(["align-items:center;display:inline-flex;height:", "px;justify-content:center;width:", "px;cursor:pointer;border:none;background:none;padding:0;font:inherit;"], cellSize, cellSize);
|
|
39
39
|
export var StyledDayCell = /*#__PURE__*/styled(StyledCellButton).withConfig({
|
|
40
40
|
displayName: "StyledDayCell",
|
|
41
|
-
componentId: "core-
|
|
41
|
+
componentId: "core-12_42_0__sc-1kkl86t-7"
|
|
42
42
|
})(["", ""], function (_ref) {
|
|
43
43
|
var _ref$$disabled = _ref.$disabled,
|
|
44
44
|
$disabled = _ref$$disabled === void 0 ? false : _ref$$disabled,
|
|
@@ -61,6 +61,6 @@ export var StyledDayCell = /*#__PURE__*/styled(StyledCellButton).withConfig({
|
|
|
61
61
|
});
|
|
62
62
|
export var StyledWeekRow = /*#__PURE__*/styled.div.withConfig({
|
|
63
63
|
displayName: "StyledWeekRow",
|
|
64
|
-
componentId: "core-
|
|
64
|
+
componentId: "core-12_42_0__sc-1kkl86t-8"
|
|
65
65
|
})(["display:inline-flex;padding-bottom:2px;user-select:none;&:last-child{padding-bottom:0;}", "{&:first-child{border-top-left-radius:", "px;border-bottom-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;border-bottom-right-radius:", "px;}}"], StyledCell, borderRadius.md, borderRadius.md, borderRadius.md, borderRadius.md);
|
|
66
66
|
//# sourceMappingURL=Calendar.styles.js.map
|
package/dist/Card/Card.styles.js
CHANGED
|
@@ -4,7 +4,7 @@ import { colors } from '../_styles/colors';
|
|
|
4
4
|
import { getShadow } from '../_styles/shadows';
|
|
5
5
|
export var StyledCardContainer = /*#__PURE__*/styled.div.withConfig({
|
|
6
6
|
displayName: "StyledCardContainer",
|
|
7
|
-
componentId: "core-
|
|
7
|
+
componentId: "core-12_42_0__sc-2fii7b-0"
|
|
8
8
|
})(["background-color:", ";border-radius:", "px;transition:box-shadow 0.2s ease-in-out;", " ", ""], colors.white, borderRadius.md, function (_ref) {
|
|
9
9
|
var $level = _ref.$level,
|
|
10
10
|
$shadowStrength = _ref.$shadowStrength;
|
|
@@ -9,7 +9,7 @@ export var dataQa = {
|
|
|
9
9
|
export var checkboxSize = 20;
|
|
10
10
|
export var StyledCheckboxContainer = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledCheckboxContainer",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_42_0__sc-u63tye-0"
|
|
13
13
|
})(["color:", ";display:block;position:relative;& + &{margin-top:", "px;}"], colors.gray15, spacing.md);
|
|
14
14
|
function StyledIndeterminate() {
|
|
15
15
|
return css(["background-color:", ";content:'';height:2px;left:5px;position:absolute;top:9px;width:10px;border:none;"], colors.white);
|
|
@@ -48,18 +48,18 @@ function StyledFakeIndeterminate() {
|
|
|
48
48
|
}
|
|
49
49
|
export var StyledCheckboxLabelWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
50
50
|
displayName: "StyledCheckboxLabelWrapper",
|
|
51
|
-
componentId: "core-
|
|
51
|
+
componentId: "core-12_42_0__sc-u63tye-1"
|
|
52
52
|
})(["padding-left:", "px;min-height:", "px;position:relative;", ""], function (_ref) {
|
|
53
53
|
var $hasLabel = _ref.$hasLabel;
|
|
54
54
|
return $hasLabel ? checkboxSize + spacing.md : checkboxSize;
|
|
55
55
|
}, checkboxSize, getTypographyIntent('body'));
|
|
56
56
|
export var StyledCheckboxLabel = /*#__PURE__*/styled.label.withConfig({
|
|
57
57
|
displayName: "StyledCheckboxLabel",
|
|
58
|
-
componentId: "core-
|
|
58
|
+
componentId: "core-12_42_0__sc-u63tye-2"
|
|
59
59
|
})(["user-select:none;&:before{background-color:", ";border-radius:2px;border:2px solid ", ";content:'';display:inline-block;height:", "px;width:", "px;min-width:", "px;top:0;left:0;position:absolute;}"], colors.white, colors.gray70, checkboxSize, checkboxSize, checkboxSize);
|
|
60
60
|
export var StyledCheckboxInput = /*#__PURE__*/styled.input.withConfig({
|
|
61
61
|
displayName: "StyledCheckboxInput",
|
|
62
|
-
componentId: "core-
|
|
62
|
+
componentId: "core-12_42_0__sc-u63tye-3"
|
|
63
63
|
})(["left:0;opacity:0;position:absolute;top:0;&:disabled:checked + ", " > ", ":before{background-color:", ";border-color:", ";}&:disabled + ", " > ", ":before{background-color:", ";border-color:", ";}", " &:checked + ", " > ", "{&:before{background-color:", ";border-color:", ";color:", ";}&:after{", "}}&:focus:not(:disabled),&[data-qa=", "]:not(:disabled){+ ", " > ", ":before{", "}}", ""], StyledCheckboxLabelWrapper, StyledCheckboxLabel, colors.blue85, colors.blue85, StyledCheckboxLabelWrapper, StyledCheckboxLabel, function (_ref2) {
|
|
64
64
|
var $indeterminate = _ref2.$indeterminate;
|
|
65
65
|
return $indeterminate ? colors.gray85 : colors.white;
|
|
@@ -83,7 +83,7 @@ export var StyledCheckboxInput = /*#__PURE__*/styled.input.withConfig({
|
|
|
83
83
|
});
|
|
84
84
|
export var StyledFakeCheckboxLabel = /*#__PURE__*/styled.span.withConfig({
|
|
85
85
|
displayName: "StyledFakeCheckboxLabel",
|
|
86
|
-
componentId: "core-
|
|
86
|
+
componentId: "core-12_42_0__sc-u63tye-4"
|
|
87
87
|
})(["", " display:block;min-height:", "px;padding-left:", "px;position:relative;user-select:none;cursor:pointer;", ""], getTypographyIntent('body'), checkboxSize, function (_ref7) {
|
|
88
88
|
var children = _ref7.children;
|
|
89
89
|
return children ? checkboxSize + spacing.md : checkboxSize;
|
|
@@ -99,7 +99,7 @@ export var StyledFakeCheckboxLabel = /*#__PURE__*/styled.span.withConfig({
|
|
|
99
99
|
});
|
|
100
100
|
export var StyledFakeCheckboxInput = /*#__PURE__*/styled.div.withConfig({
|
|
101
101
|
displayName: "StyledFakeCheckboxInput",
|
|
102
|
-
componentId: "core-
|
|
102
|
+
componentId: "core-12_42_0__sc-u63tye-5"
|
|
103
103
|
})(["width:", "px;height:", "px;border-radius:2px;border:2px solid ", ";position:absolute;", " ", " ", " ", ""], checkboxSize, checkboxSize, colors.gray70, function (_ref9) {
|
|
104
104
|
var $checked = _ref9.$checked,
|
|
105
105
|
$disabled = _ref9.$disabled,
|
|
@@ -34,12 +34,16 @@ var ContactItem_ = /*#__PURE__*/React.forwardRef(function ContactItem(_ref, ref)
|
|
|
34
34
|
disabled: disabled
|
|
35
35
|
}, function () {
|
|
36
36
|
if (imageUrl) return /*#__PURE__*/React.createElement(Avatar.Portrait, {
|
|
37
|
-
imageUrl: imageUrl
|
|
37
|
+
imageUrl: imageUrl,
|
|
38
|
+
"aria-hidden": true
|
|
38
39
|
});
|
|
39
40
|
if (icon) return /*#__PURE__*/React.createElement(Avatar.Icon, {
|
|
40
|
-
icon: icon
|
|
41
|
+
icon: icon,
|
|
42
|
+
"aria-hidden": true
|
|
41
43
|
});
|
|
42
|
-
if (initials) return /*#__PURE__*/React.createElement(Avatar.Label,
|
|
44
|
+
if (initials) return /*#__PURE__*/React.createElement(Avatar.Label, {
|
|
45
|
+
"aria-hidden": true
|
|
46
|
+
}, initials);
|
|
43
47
|
}())), /*#__PURE__*/React.createElement(ContactItemTextWrapper, null, children));
|
|
44
48
|
});
|
|
45
49
|
var Title = /*#__PURE__*/React.forwardRef(function Title(_ref2, ref) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContactItem.js","names":["React","Avatar","addSubcomponents","ContactItemAvatar","ContactItemAvatarWrapper","ContactItemText","ContactItemTextWrapper","ContactItemWrapper","ContactItem_","forwardRef","ContactItem","_ref","ref","imageUrl","icon","initials","_ref$selected","selected","_ref$disabled","disabled","_ref$clickable","clickable","children","props","_objectWithoutProperties","_excluded","showAvatar","createElement","_extends","$selected","$disabled","$clickable","undefined","size","Portrait","Icon","Label","Title","_ref2","_excluded2","weight","color","Description","_ref3","_excluded3","displayName"],"sources":["../../src/ContactItem/ContactItem.tsx"],"sourcesContent":["import React from 'react'\nimport { Avatar } from '../Avatar/Avatar'\nimport type { TypographyProps } from '../Typography/Typography.types'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport {\n ContactItemAvatar,\n ContactItemAvatarWrapper,\n ContactItemText,\n ContactItemTextWrapper,\n ContactItemWrapper,\n} from './ContactItem.styles'\nimport type { ContactItemProps } from './ContactItem.types'\n\nconst ContactItem_ = React.forwardRef<HTMLDivElement, ContactItemProps>(\n function ContactItem(\n {\n imageUrl,\n icon,\n initials,\n selected = false,\n disabled = false,\n clickable = false,\n children,\n ...props\n },\n ref\n ) {\n const showAvatar = imageUrl || icon || initials\n\n return (\n <ContactItemWrapper\n $selected={selected}\n $disabled={disabled}\n $clickable={clickable}\n aria-disabled={disabled || undefined}\n aria-selected={selected || undefined}\n ref={ref}\n {...props}\n >\n {showAvatar && (\n <ContactItemAvatarWrapper>\n <ContactItemAvatar aria-hidden size=\"lg\" disabled={disabled}>\n {(() => {\n if (imageUrl)
|
|
1
|
+
{"version":3,"file":"ContactItem.js","names":["React","Avatar","addSubcomponents","ContactItemAvatar","ContactItemAvatarWrapper","ContactItemText","ContactItemTextWrapper","ContactItemWrapper","ContactItem_","forwardRef","ContactItem","_ref","ref","imageUrl","icon","initials","_ref$selected","selected","_ref$disabled","disabled","_ref$clickable","clickable","children","props","_objectWithoutProperties","_excluded","showAvatar","createElement","_extends","$selected","$disabled","$clickable","undefined","size","Portrait","Icon","Label","Title","_ref2","_excluded2","weight","color","Description","_ref3","_excluded3","displayName"],"sources":["../../src/ContactItem/ContactItem.tsx"],"sourcesContent":["import React from 'react'\nimport { Avatar } from '../Avatar/Avatar'\nimport type { TypographyProps } from '../Typography/Typography.types'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport {\n ContactItemAvatar,\n ContactItemAvatarWrapper,\n ContactItemText,\n ContactItemTextWrapper,\n ContactItemWrapper,\n} from './ContactItem.styles'\nimport type { ContactItemProps } from './ContactItem.types'\n\nconst ContactItem_ = React.forwardRef<HTMLDivElement, ContactItemProps>(\n function ContactItem(\n {\n imageUrl,\n icon,\n initials,\n selected = false,\n disabled = false,\n clickable = false,\n children,\n ...props\n },\n ref\n ) {\n const showAvatar = imageUrl || icon || initials\n\n return (\n <ContactItemWrapper\n $selected={selected}\n $disabled={disabled}\n $clickable={clickable}\n aria-disabled={disabled || undefined}\n aria-selected={selected || undefined}\n ref={ref}\n {...props}\n >\n {showAvatar && (\n <ContactItemAvatarWrapper>\n <ContactItemAvatar aria-hidden size=\"lg\" disabled={disabled}>\n {(() => {\n if (imageUrl)\n return <Avatar.Portrait imageUrl={imageUrl} aria-hidden />\n if (icon) return <Avatar.Icon icon={icon} aria-hidden />\n if (initials)\n return <Avatar.Label aria-hidden>{initials}</Avatar.Label>\n })()}\n </ContactItemAvatar>\n </ContactItemAvatarWrapper>\n )}\n <ContactItemTextWrapper>{children}</ContactItemTextWrapper>\n </ContactItemWrapper>\n )\n }\n)\n\nconst Title = React.forwardRef<\n HTMLSpanElement,\n React.HTMLAttributes<HTMLSpanElement> & TypographyProps\n>(function Title({ children, ...props }, ref) {\n return (\n <ContactItemText weight=\"bold\" color=\"gray15\" ref={ref} {...props}>\n {children}\n </ContactItemText>\n )\n})\n\nconst Description = React.forwardRef<\n HTMLSpanElement,\n React.HTMLAttributes<HTMLSpanElement> & TypographyProps\n>(function Description({ children, ...props }, ref) {\n return (\n <ContactItemText weight=\"regular\" color=\"gray45\" ref={ref} {...props}>\n {children}\n </ContactItemText>\n )\n})\n\nContactItem_.displayName = 'ContactItem'\n\nTitle.displayName = 'ContactItem.Title'\n\nDescription.displayName = 'ContactItem.Description'\n\n/**\n\n The contact item component is a more complex alternative to a standard line\n of text found in a list or form component. Use this component when you have\n a list or set of items that can benefit from an additional line of content or\n an avatar.\n\n @since 10.19.0\n\n @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-contact-item--demo)\n\n @see [Design Guidelines](https://design.procore.com/contact-item)\n\n*/\nexport const ContactItem = addSubcomponents(\n {\n Title,\n Description,\n },\n ContactItem_\n)\n"],"mappings":"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"}
|
|
@@ -7,23 +7,23 @@ import { getLineClamp } from '../_styles/mixins';
|
|
|
7
7
|
import { spacing } from '../_styles/spacing';
|
|
8
8
|
export var ContactItemAvatarWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
9
9
|
displayName: "ContactItemAvatarWrapper",
|
|
10
|
-
componentId: "core-
|
|
10
|
+
componentId: "core-12_42_0__sc-1c4z9pn-0"
|
|
11
11
|
})(["display:inline-flex;align-self:flex-start;"]);
|
|
12
12
|
export var ContactItemAvatar = /*#__PURE__*/styled(Avatar).withConfig({
|
|
13
13
|
displayName: "ContactItemAvatar",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-12_42_0__sc-1c4z9pn-1"
|
|
15
15
|
})(["cursor:inherit;font-weight:", ";"], typographyWeights.bold);
|
|
16
16
|
export var ContactItemTextWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
17
17
|
displayName: "ContactItemTextWrapper",
|
|
18
|
-
componentId: "core-
|
|
18
|
+
componentId: "core-12_42_0__sc-1c4z9pn-2"
|
|
19
19
|
})(["overflow:hidden;margin-left:", "px;"], spacing.sm);
|
|
20
20
|
export var ContactItemText = /*#__PURE__*/styled(Typography).withConfig({
|
|
21
21
|
displayName: "ContactItemText",
|
|
22
|
-
componentId: "core-
|
|
22
|
+
componentId: "core-12_42_0__sc-1c4z9pn-3"
|
|
23
23
|
})(["display:flex;", ""], getLineClamp());
|
|
24
24
|
export var ContactItemWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
25
25
|
displayName: "ContactItemWrapper",
|
|
26
|
-
componentId: "core-
|
|
26
|
+
componentId: "core-12_42_0__sc-1c4z9pn-4"
|
|
27
27
|
})(["display:flex;flex-direction:row;align-items:center;padding:", "px ", "px ", "px ", "px;", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, function (_ref) {
|
|
28
28
|
var $disabled = _ref.$disabled,
|
|
29
29
|
$clickable = _ref.$clickable;
|
|
@@ -5,10 +5,10 @@ import { mediaIE11Hack } from '../_styles/media';
|
|
|
5
5
|
import { spacing } from '../_styles/spacing';
|
|
6
6
|
export var StyledContent = /*#__PURE__*/styled(Box).withConfig({
|
|
7
7
|
displayName: "StyledContent",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_42_0__sc-10y57gh-0"
|
|
9
9
|
})(["> * + *,> * + h1,> * + h2,> * + h3,> * + h4,> * + p,> * + ul,> * + ol{margin-top:", "px;}> ", " + *{margin-top:0;}> ", ",> ", " > ", ",> ", "{", "{min-height:0;margin-bottom:", "px;}&:last-child ", "{margin-bottom:0;}}"], spacing.lg, StyledFormRow, StyledFormRow, StyledForm, StyledFormRow, StyledFormRow, StyledFormFieldBanner, spacing.md, StyledFormFieldBanner);
|
|
10
10
|
export var StyledActions = /*#__PURE__*/styled(Box).withConfig({
|
|
11
11
|
displayName: "StyledActions",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_42_0__sc-10y57gh-1"
|
|
13
13
|
})(["display:flex;justify-content:flex-end;gap:", "px;@media ", "{& > * + *{margin-left:", "px;}}"], spacing.sm, mediaIE11Hack, spacing.sm);
|
|
14
14
|
//# sourceMappingURL=Content.styles.js.map
|
|
@@ -10,15 +10,15 @@ var inputHeight = 36; // TODO one-off
|
|
|
10
10
|
var disabledCss = /*#__PURE__*/css(["background-color:", ";color:", ";border-width:1px;border-style:solid;border-color:", ";pointer-events:none;svg{color:", ";}"], colors.gray94, colors.gray45, colors.gray50, colors.gray45);
|
|
11
11
|
export var StyledCalendar = /*#__PURE__*/styled(Calendar).withConfig({
|
|
12
12
|
displayName: "StyledCalendar",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-12_42_0__sc-w10btf-0"
|
|
14
14
|
})(["color:", ";"], colors.gray45);
|
|
15
15
|
export var StyledDateSegmentsContainer = /*#__PURE__*/styled.div.withConfig({
|
|
16
16
|
displayName: "StyledDateSegmentsContainer",
|
|
17
|
-
componentId: "core-
|
|
17
|
+
componentId: "core-12_42_0__sc-w10btf-1"
|
|
18
18
|
})(["min-width:104px;display:flex;gap:", "px;"], spacing.xs);
|
|
19
19
|
export var StyledDateInputSegment = /*#__PURE__*/styled.div.withConfig({
|
|
20
20
|
displayName: "StyledDateInputSegment",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-12_42_0__sc-w10btf-2"
|
|
22
22
|
})(["", " outline:none;text-align:center;&:focus{background-color:", ";}&::selection{background-color:transparent;}&[data-placeholder='true']{color:", ";}"], getTypographyIntent('body'), colors.blue96, function (_ref) {
|
|
23
23
|
var $disabled = _ref.$disabled;
|
|
24
24
|
return $disabled ? colors.gray70 : colors.gray45;
|
|
@@ -29,15 +29,15 @@ export var StyledDateInputDelimiter = /*#__PURE__*/styled.span.attrs(function (p
|
|
|
29
29
|
};
|
|
30
30
|
}).withConfig({
|
|
31
31
|
displayName: "StyledDateInputDelimiter",
|
|
32
|
-
componentId: "core-
|
|
32
|
+
componentId: "core-12_42_0__sc-w10btf-3"
|
|
33
33
|
})(["", " user-select:none;"], getTypographyIntent('body'));
|
|
34
34
|
export var StyledDateInputIconContainer = /*#__PURE__*/styled.div.withConfig({
|
|
35
35
|
displayName: "StyledDateInputIconContainer",
|
|
36
|
-
componentId: "core-
|
|
36
|
+
componentId: "core-12_42_0__sc-w10btf-4"
|
|
37
37
|
})(["display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;margin:0 0 0 ", "px;height:24px;width:24px;"], spacing.xs);
|
|
38
38
|
export var StyledDateInput = /*#__PURE__*/styled.div.withConfig({
|
|
39
39
|
displayName: "StyledDateInput",
|
|
40
|
-
componentId: "core-
|
|
40
|
+
componentId: "core-12_42_0__sc-w10btf-5"
|
|
41
41
|
})(["align-items:center;border-color:", ";border-radius:4px;border-style:solid;border-width:1px;display:inline-flex;flex-direction:row;height:", "px;justify-content:center;padding:0 ", "px 0 ", "px;&::placeholder{color:", ";}", " &:focus-within,&[data-qa=", "]{", ";}&:disabled{", "}", " ", ""], colors.gray50, inputHeight, spacing.xs, spacing.sm, colors.gray45, function (_ref2) {
|
|
42
42
|
var $error = _ref2.$error;
|
|
43
43
|
return !$error && css(["&:hover,&[data-qa=", "]{border-color:", ";}"], dataQa.hovered, colors.gray20);
|
|
@@ -8,32 +8,32 @@ import { colors } from '../_styles/colors';
|
|
|
8
8
|
import { spacing } from '../_styles/spacing';
|
|
9
9
|
export var StyledDetailPage = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledDetailPage",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-12_42_0__sc-cytnlo-0"
|
|
12
12
|
})(["background-color:", ";height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;"], colors.gray96);
|
|
13
13
|
export var StyledDetailPageBody = /*#__PURE__*/styled.div.withConfig({
|
|
14
14
|
displayName: "StyledDetailPageBody",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-12_42_0__sc-cytnlo-1"
|
|
16
16
|
})(["padding-bottom:", "px;"], spacing.xl);
|
|
17
17
|
export var StyledDetailPageFooterNotation = /*#__PURE__*/styled.div.withConfig({
|
|
18
18
|
displayName: "StyledDetailPageFooterNotation",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-12_42_0__sc-cytnlo-2"
|
|
20
20
|
})(["flex-grow:1;z-index:1;"]);
|
|
21
21
|
export var StyledDetailPageFooter = /*#__PURE__*/styled(Page.Footer).withConfig({
|
|
22
22
|
displayName: "StyledDetailPageFooter",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-12_42_0__sc-cytnlo-3"
|
|
24
24
|
})(["display:flex;padding:", "px 0;background-color:", ";justify-content:center;"], spacing.lg, colors.white);
|
|
25
25
|
export var StyledDetailPageFooterActions = /*#__PURE__*/styled(Box).withConfig({
|
|
26
26
|
displayName: "StyledDetailPageFooterActions",
|
|
27
|
-
componentId: "core-
|
|
27
|
+
componentId: "core-12_42_0__sc-cytnlo-4"
|
|
28
28
|
})(["", ""], getActions());
|
|
29
29
|
var maxFooterContentWidth = 1920;
|
|
30
30
|
export var StyledDetailPageFooterContent = /*#__PURE__*/styled.div.withConfig({
|
|
31
31
|
displayName: "StyledDetailPageFooterContent",
|
|
32
|
-
componentId: "core-
|
|
32
|
+
componentId: "core-12_42_0__sc-cytnlo-5"
|
|
33
33
|
})(["width:100%;align-items:center;display:flex;justify-content:flex-end;padding:0 ", "px;max-width:", "px;"], spacing.xl, maxFooterContentWidth);
|
|
34
34
|
var detailPageCardBorderRadius = 8;
|
|
35
35
|
export var StyledDetailPageCard = /*#__PURE__*/styled(Card).withConfig({
|
|
36
36
|
displayName: "StyledDetailPageCard",
|
|
37
|
-
componentId: "core-
|
|
37
|
+
componentId: "core-12_42_0__sc-cytnlo-6"
|
|
38
38
|
})(["width:100%;border-radius:", "px;margin-top:", "px;margin-bottom:", "px;& + &{margin-top:", "px;}&:first-child{margin-top:0;}&:last-child{margin-bottom:", "px;}& > ", "{padding:", "px ", "px 0 ", "px;max-width:100%;&:empty{padding:0;}}& > ", " + ", " > ", "{border-top:0;}> .", ":first-child + .", ",> ", " + .", " + .", "{margin-top:", "px;}"], detailPageCardBorderRadius, spacing.lg, spacing.sm, spacing.sm, spacing.lg, StyledPageBanner, spacing.lg, spacing.lg, spacing.lg, StyledPageBanner, StyledSection, StyledSectionInner, sectionClassnames.levelAnonymous, sectionClassnames.level(2), StyledPageBanner, sectionClassnames.levelAnonymous, sectionClassnames.level(2), spacing.xxl * -1);
|
|
39
39
|
//# sourceMappingURL=DetailPage.styles.js.map
|
|
@@ -5,15 +5,15 @@ import { Card } from '../Card/Card';
|
|
|
5
5
|
import { Spinner } from '../Spinner/Spinner';
|
|
6
6
|
export var StyledDropdownMenu = /*#__PURE__*/styled(Card).withConfig({
|
|
7
7
|
displayName: "StyledDropdownMenu",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_42_0__sc-ufsy2q-0"
|
|
9
9
|
})(["display:flex;max-height:40vh;max-width:248px;min-width:inherit;"]);
|
|
10
10
|
export var StyledDropdownSpinner = /*#__PURE__*/styled(Spinner).withConfig({
|
|
11
11
|
displayName: "StyledDropdownSpinner",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_42_0__sc-ufsy2q-1"
|
|
13
13
|
})(["margin:0 6px;"]);
|
|
14
14
|
export var StyledDropdownButton = /*#__PURE__*/styled(Button).withConfig({
|
|
15
15
|
displayName: "StyledDropdownButton",
|
|
16
|
-
componentId: "core-
|
|
16
|
+
componentId: "core-12_42_0__sc-ufsy2q-2"
|
|
17
17
|
})(["pointer-events:", ";", ""], function (_ref) {
|
|
18
18
|
var disabled = _ref.disabled,
|
|
19
19
|
$loading = _ref.$loading;
|
|
@@ -6,18 +6,18 @@ import { getEllipsis } from '../_styles/mixins';
|
|
|
6
6
|
import { spacing } from '../_styles/spacing';
|
|
7
7
|
export var StyledDropdownFlyout = /*#__PURE__*/styled.div.withConfig({
|
|
8
8
|
displayName: "StyledDropdownFlyout",
|
|
9
|
-
componentId: "core-
|
|
9
|
+
componentId: "core-12_42_0__sc-1i79jsg-0"
|
|
10
10
|
})(["display:flex;flex-wrap:wrap;flex-direction:column;width:100%;max-height:855px;padding:", "px 0;"], spacing.sm);
|
|
11
11
|
export var StyledDropdownFlyoutItem = /*#__PURE__*/styled.div.withConfig({
|
|
12
12
|
displayName: "StyledDropdownFlyoutItem",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-12_42_0__sc-1i79jsg-1"
|
|
14
14
|
})(["display:flex;justify-content:space-between;cursor:pointer;width:100%;padding:", "px ", "px;color:", ";", " &[data-highlighted='true'],&:hover{background-color:", ";}"], spacing.xs, spacing.lg, colors.gray20, getTypographyIntent('body'), colors.gray96);
|
|
15
15
|
export var StyledDropdownFlyoutLabel = /*#__PURE__*/styled.span.withConfig({
|
|
16
16
|
displayName: "StyledDropdownFlyoutLabel",
|
|
17
|
-
componentId: "core-
|
|
17
|
+
componentId: "core-12_42_0__sc-1i79jsg-2"
|
|
18
18
|
})(["", ""], getEllipsis());
|
|
19
19
|
export var StyledDropdownFlyoutExpandIcon = /*#__PURE__*/styled.span.withConfig({
|
|
20
20
|
displayName: "StyledDropdownFlyoutExpandIcon",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-12_42_0__sc-1i79jsg-3"
|
|
22
22
|
})(["position:relative;display:inline-flex;align-self:center;flex-shrink:0;margin-left:", "px;white-space:nowrap;", ""], spacing.lg, arrowRight(4, 'black'));
|
|
23
23
|
//# sourceMappingURL=DropdownFlyout.styles.js.map
|
|
@@ -95,7 +95,7 @@ export function MultipleErrors(props) {
|
|
|
95
95
|
// make error banner accessible as a styled-components selector
|
|
96
96
|
export var DropzoneErrorBanner = /*#__PURE__*/styled(DropzoneErrorBannerBase).withConfig({
|
|
97
97
|
displayName: "DropzoneErrorBanner",
|
|
98
|
-
componentId: "core-
|
|
98
|
+
componentId: "core-12_42_0__sc-l4fojb-0"
|
|
99
99
|
})([""]);
|
|
100
100
|
function DropzoneContainer(_ref2) {
|
|
101
101
|
var active = _ref2.active,
|
|
@@ -9,15 +9,15 @@ import { colors } from '../_styles/colors';
|
|
|
9
9
|
import { spacing } from '../_styles/spacing';
|
|
10
10
|
export var StyledErrorBanner = /*#__PURE__*/styled(ErrorBannerBase).withConfig({
|
|
11
11
|
displayName: "StyledErrorBanner",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_42_0__sc-by95hy-0"
|
|
13
13
|
})(["margin-top:", "px;flex-shrink:0;"], spacing.lg);
|
|
14
14
|
export var StyledErrorBannerDetails = /*#__PURE__*/styled.ul.withConfig({
|
|
15
15
|
displayName: "StyledErrorBannerDetails",
|
|
16
|
-
componentId: "core-
|
|
16
|
+
componentId: "core-12_42_0__sc-by95hy-1"
|
|
17
17
|
})(["margin:", "px;padding:0;list-style-position:inside;list-style-type:disc;"], spacing.xs);
|
|
18
18
|
export var StyledDropzoneIcon = /*#__PURE__*/styled.div.withConfig({
|
|
19
19
|
displayName: "StyledDropzoneIcon",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_42_0__sc-by95hy-2"
|
|
21
21
|
})(["display:flex;justify-content:center;align-items:center;height:64px;color:", ";margin-bottom:", "px;transition:all 250ms ease-out;", " svg{width:auto;height:100%;}"], colors.gray45, spacing.lg, function (_ref) {
|
|
22
22
|
var $disabled = _ref.$disabled;
|
|
23
23
|
return $disabled && css(["height:72px;margin-bottom:", "px;"], spacing.sm);
|
|
@@ -26,7 +26,7 @@ var activeDropzone = /*#__PURE__*/css(["outline:none;border:2px dashed ", ";back
|
|
|
26
26
|
var disabledDropzone = /*#__PURE__*/css(["color:", ";border:2px dashed ", ";background-color:", ";cursor:not-allowed;& ", "{color:", ";transform:none;}"], colors.gray70, colors.gray85, colors.gray98, StyledDropzoneIcon, colors.gray85);
|
|
27
27
|
export var StyledDropzoneContainer = /*#__PURE__*/styled.div.withConfig({
|
|
28
28
|
displayName: "StyledDropzoneContainer",
|
|
29
|
-
componentId: "core-
|
|
29
|
+
componentId: "core-12_42_0__sc-by95hy-3"
|
|
30
30
|
})(["", " display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;width:100%;height:100%;min-height:92px;padding:", "px;color:", ";border:2px dashed ", ";background-color:", ";border-radius:", "px;text-align:center;letter-spacing:0.25px;transition:all 250ms ease-out;cursor:grab;", " ", " ", " ", ""], getTypographyIntent('body'), spacing.lg, colors.gray40, colors.gray70, colors.gray96, borderRadius.md, function (_ref2) {
|
|
31
31
|
var $disabled = _ref2.$disabled;
|
|
32
32
|
return !$disabled && css(["&:hover{", "}"], activeDropzone);
|
|
@@ -43,25 +43,25 @@ export var StyledDropzoneContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
43
43
|
});
|
|
44
44
|
export var StyledDropzoneMessage = /*#__PURE__*/styled.div.withConfig({
|
|
45
45
|
displayName: "StyledDropzoneMessage",
|
|
46
|
-
componentId: "core-
|
|
46
|
+
componentId: "core-12_42_0__sc-by95hy-4"
|
|
47
47
|
})(["user-select:none;"]);
|
|
48
48
|
export var StyledUploadButton = /*#__PURE__*/styled(Button).withConfig({
|
|
49
49
|
displayName: "StyledUploadButton",
|
|
50
|
-
componentId: "core-
|
|
51
|
-
})(["display:block;margin-left:auto;margin-right:auto;margin-bottom:", "px;"], spacing.sm);
|
|
50
|
+
componentId: "core-12_42_0__sc-by95hy-5"
|
|
51
|
+
})(["&&{display:block;margin-left:auto;margin-right:auto;margin-bottom:", "px;}"], spacing.sm);
|
|
52
52
|
export var StyledDropzoneCaption = /*#__PURE__*/styled.span.withConfig({
|
|
53
53
|
displayName: "StyledDropzoneCaption",
|
|
54
|
-
componentId: "core-
|
|
54
|
+
componentId: "core-12_42_0__sc-by95hy-6"
|
|
55
55
|
})(["color:", ";"], function (_ref6) {
|
|
56
56
|
var $error = _ref6.$error;
|
|
57
57
|
return $error && colors.gray15;
|
|
58
58
|
});
|
|
59
59
|
export var StyledDropzoneWrapper = /*#__PURE__*/styled(Flex).withConfig({
|
|
60
60
|
displayName: "StyledDropzoneWrapper",
|
|
61
|
-
componentId: "core-
|
|
61
|
+
componentId: "core-12_42_0__sc-by95hy-7"
|
|
62
62
|
})(["height:100%;"]);
|
|
63
63
|
export var StyledDropzoneFocusDetector = /*#__PURE__*/styled(Box).withConfig({
|
|
64
64
|
displayName: "StyledDropzoneFocusDetector",
|
|
65
|
-
componentId: "core-
|
|
65
|
+
componentId: "core-12_42_0__sc-by95hy-8"
|
|
66
66
|
})(["height:100%;"]);
|
|
67
67
|
//# sourceMappingURL=Dropzone.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropzone.styles.js","names":["styled","css","ErrorBanner","ErrorBannerBase","Box","Button","Flex","getTypographyIntent","borderRadius","colors","spacing","StyledErrorBanner","withConfig","displayName","componentId","lg","StyledErrorBannerDetails","ul","xs","StyledDropzoneIcon","div","gray45","_ref","$disabled","sm","activeDropzone","blue50","blue96","disabledDropzone","gray70","gray85","gray98","StyledDropzoneContainer","gray40","gray96","md","_ref2","_ref3","_ref4","_ref5","$active","StyledDropzoneMessage","StyledUploadButton","StyledDropzoneCaption","span","_ref6","$error","gray15","StyledDropzoneWrapper","StyledDropzoneFocusDetector"],"sources":["../../src/Dropzone/Dropzone.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { ErrorBanner as ErrorBannerBase } from '../Banner/Banner'\nimport { Box } from '../Box'\nimport { Button } from '../Button'\nimport { Flex } from '../Flex'\nimport { getTypographyIntent } from '../Typography'\nimport { borderRadius } from '../_styles/borderRadius'\nimport { colors } from '../_styles/colors'\nimport { spacing } from '../_styles/spacing'\n\nexport const StyledErrorBanner = styled(ErrorBannerBase)`\n margin-top: ${spacing.lg}px;\n flex-shrink: 0;\n`\nexport const StyledErrorBannerDetails = styled.ul`\n margin: ${spacing.xs}px;\n padding: 0;\n list-style-position: inside;\n list-style-type: disc;\n`\nexport const StyledDropzoneIcon = styled.div<{ $disabled: boolean }>`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 64px;\n color: ${colors.gray45};\n margin-bottom: ${spacing.lg}px;\n transition: all 250ms ease-out;\n\n ${({ $disabled }) =>\n $disabled &&\n css`\n height: 72px;\n margin-bottom: ${spacing.sm}px;\n `}\n\n svg {\n width: auto;\n height: 100%;\n }\n`\n\nconst activeDropzone = css`\n outline: none;\n border: 2px dashed ${colors.blue50};\n background-color: ${colors.blue96};\n\n & ${StyledDropzoneIcon} {\n color: ${colors.blue50};\n transform: scale(0.95);\n }\n`\n\nconst disabledDropzone = css`\n color: ${colors.gray70};\n border: 2px dashed ${colors.gray85};\n background-color: ${colors.gray98};\n cursor: not-allowed;\n\n & ${StyledDropzoneIcon} {\n color: ${colors.gray85};\n transform: none;\n }\n`\n\nexport const StyledDropzoneContainer = styled.div<{\n $active: boolean\n $disabled: boolean\n}>`\n ${getTypographyIntent('body')}\n\n display: inline-flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n min-height: 92px;\n padding: ${spacing.lg}px;\n color: ${colors.gray40};\n border: 2px dashed ${colors.gray70};\n background-color: ${colors.gray96};\n border-radius: ${borderRadius.md}px;\n text-align: center;\n letter-spacing: 0.25px;\n transition: all 250ms ease-out;\n cursor: grab;\n\n ${({ $disabled }) =>\n !$disabled &&\n css`\n &:hover {\n ${activeDropzone}\n }\n `}\n\n ${({ $disabled }) => $disabled && disabledDropzone}\n\n ${({ $disabled }) =>\n $disabled &&\n css`\n &:hover,\n &:focus {\n ${disabledDropzone}\n }\n `}\n\n ${({ $active, $disabled }) => $active && !$disabled && activeDropzone}\n`\n\nexport const StyledDropzoneMessage = styled.div`\n user-select: none;\n`\n\nexport const StyledUploadButton = styled(Button)`\n display: block;\n
|
|
1
|
+
{"version":3,"file":"Dropzone.styles.js","names":["styled","css","ErrorBanner","ErrorBannerBase","Box","Button","Flex","getTypographyIntent","borderRadius","colors","spacing","StyledErrorBanner","withConfig","displayName","componentId","lg","StyledErrorBannerDetails","ul","xs","StyledDropzoneIcon","div","gray45","_ref","$disabled","sm","activeDropzone","blue50","blue96","disabledDropzone","gray70","gray85","gray98","StyledDropzoneContainer","gray40","gray96","md","_ref2","_ref3","_ref4","_ref5","$active","StyledDropzoneMessage","StyledUploadButton","StyledDropzoneCaption","span","_ref6","$error","gray15","StyledDropzoneWrapper","StyledDropzoneFocusDetector"],"sources":["../../src/Dropzone/Dropzone.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { ErrorBanner as ErrorBannerBase } from '../Banner/Banner'\nimport { Box } from '../Box'\nimport { Button } from '../Button'\nimport { Flex } from '../Flex'\nimport { getTypographyIntent } from '../Typography'\nimport { borderRadius } from '../_styles/borderRadius'\nimport { colors } from '../_styles/colors'\nimport { spacing } from '../_styles/spacing'\n\nexport const StyledErrorBanner = styled(ErrorBannerBase)`\n margin-top: ${spacing.lg}px;\n flex-shrink: 0;\n`\nexport const StyledErrorBannerDetails = styled.ul`\n margin: ${spacing.xs}px;\n padding: 0;\n list-style-position: inside;\n list-style-type: disc;\n`\nexport const StyledDropzoneIcon = styled.div<{ $disabled: boolean }>`\n display: flex;\n justify-content: center;\n align-items: center;\n height: 64px;\n color: ${colors.gray45};\n margin-bottom: ${spacing.lg}px;\n transition: all 250ms ease-out;\n\n ${({ $disabled }) =>\n $disabled &&\n css`\n height: 72px;\n margin-bottom: ${spacing.sm}px;\n `}\n\n svg {\n width: auto;\n height: 100%;\n }\n`\n\nconst activeDropzone = css`\n outline: none;\n border: 2px dashed ${colors.blue50};\n background-color: ${colors.blue96};\n\n & ${StyledDropzoneIcon} {\n color: ${colors.blue50};\n transform: scale(0.95);\n }\n`\n\nconst disabledDropzone = css`\n color: ${colors.gray70};\n border: 2px dashed ${colors.gray85};\n background-color: ${colors.gray98};\n cursor: not-allowed;\n\n & ${StyledDropzoneIcon} {\n color: ${colors.gray85};\n transform: none;\n }\n`\n\nexport const StyledDropzoneContainer = styled.div<{\n $active: boolean\n $disabled: boolean\n}>`\n ${getTypographyIntent('body')}\n\n display: inline-flex;\n justify-content: center;\n align-items: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n min-height: 92px;\n padding: ${spacing.lg}px;\n color: ${colors.gray40};\n border: 2px dashed ${colors.gray70};\n background-color: ${colors.gray96};\n border-radius: ${borderRadius.md}px;\n text-align: center;\n letter-spacing: 0.25px;\n transition: all 250ms ease-out;\n cursor: grab;\n\n ${({ $disabled }) =>\n !$disabled &&\n css`\n &:hover {\n ${activeDropzone}\n }\n `}\n\n ${({ $disabled }) => $disabled && disabledDropzone}\n\n ${({ $disabled }) =>\n $disabled &&\n css`\n &:hover,\n &:focus {\n ${disabledDropzone}\n }\n `}\n\n ${({ $active, $disabled }) => $active && !$disabled && activeDropzone}\n`\n\nexport const StyledDropzoneMessage = styled.div`\n user-select: none;\n`\n\nexport const StyledUploadButton = styled(Button)`\n && {\n display: block;\n margin-left: auto;\n margin-right: auto;\n margin-bottom: ${spacing.sm}px;\n }\n`\n\nexport const StyledDropzoneCaption = styled.span<{ $error: boolean }>`\n color: ${({ $error }) => $error && colors.gray15};\n`\n\nexport const StyledDropzoneWrapper = styled(Flex)`\n height: 100%;\n`\n\nexport const StyledDropzoneFocusDetector = styled(Box)`\n height: 100%;\n`\n"],"mappings":"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"}
|
|
@@ -5,27 +5,27 @@ import { spacing } from '../_styles/spacing';
|
|
|
5
5
|
var emptyStateWidth = 312;
|
|
6
6
|
export var StyledSvg = /*#__PURE__*/styled.svg.withConfig({
|
|
7
7
|
displayName: "StyledSvg",
|
|
8
|
-
componentId: "core-
|
|
8
|
+
componentId: "core-12_42_0__sc-1xaoo8n-0"
|
|
9
9
|
})(["width:200px;height:200px;"]);
|
|
10
10
|
export var StyledImage = /*#__PURE__*/styled.div.withConfig({
|
|
11
11
|
displayName: "StyledImage",
|
|
12
|
-
componentId: "core-
|
|
12
|
+
componentId: "core-12_42_0__sc-1xaoo8n-1"
|
|
13
13
|
})([""]);
|
|
14
14
|
export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
|
|
15
15
|
displayName: "StyledTitle",
|
|
16
|
-
componentId: "core-
|
|
16
|
+
componentId: "core-12_42_0__sc-1xaoo8n-2"
|
|
17
17
|
})(["color:", ";max-width:", "px;width:100%;", ""], colors.gray15, emptyStateWidth, getTypographyIntent('h2'));
|
|
18
18
|
export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
|
|
19
19
|
displayName: "StyledDescription",
|
|
20
|
-
componentId: "core-
|
|
20
|
+
componentId: "core-12_42_0__sc-1xaoo8n-3"
|
|
21
21
|
})(["margin-top:", "px;color:", ";max-width:", "px;width:100%;", ""], spacing.lg, colors.gray45, emptyStateWidth, getTypographyIntent('body'));
|
|
22
22
|
export var StyledActions = /*#__PURE__*/styled.div.withConfig({
|
|
23
23
|
displayName: "StyledActions",
|
|
24
|
-
componentId: "core-
|
|
24
|
+
componentId: "core-12_42_0__sc-1xaoo8n-4"
|
|
25
25
|
})(["margin-top:", "px;"], spacing.xl);
|
|
26
26
|
export var StyledEmptyState = /*#__PURE__*/styled.div.withConfig({
|
|
27
27
|
displayName: "StyledEmptyState",
|
|
28
|
-
componentId: "core-
|
|
28
|
+
componentId: "core-12_42_0__sc-1xaoo8n-5"
|
|
29
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
30
|
var $isHorizontal = _ref.$isHorizontal;
|
|
31
31
|
return $isHorizontal ? 'flex-start' : 'center';
|
|
@@ -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_42_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_42_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_42_0__sc-1q3pe6s-2"
|
|
14
14
|
})(["> ", "{", "}"], StyledP, getSmallIconBodyTextRules);
|
|
15
15
|
//# sourceMappingURL=Field.styles.js.map
|
|
@@ -3,14 +3,14 @@ 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_42_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_42_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 StyledFileListItemDownloadIcon = /*#__PURE__*/styled(LinkButton).withConfig({
|
|
13
13
|
displayName: "StyledFileListItemDownloadIcon",
|
|
14
|
-
componentId: "core-
|
|
14
|
+
componentId: "core-12_42_0__sc-7gltjc-2"
|
|
15
15
|
})(["margin-left:", "px;align-self:flex-start;"], spacing.sm);
|
|
16
16
|
//# 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_42_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_42_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_42_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_42_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_42_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_42_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_42_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_42_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_42_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_42_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_42_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_42_0__sc-s03uiv-2"
|
|
15
15
|
})(["width:100%;padding-left:10px;&:focus{padding-left:9px;}"]);
|
|
16
16
|
//# sourceMappingURL=FileExplorerSidebar.styles.js.map
|