@procore/core-react 11.23.1 → 11.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Avatar/Avatar.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 +5 -5
- package/dist/ContactItem/ContactItem.styles.js +5 -5
- package/dist/Content/Content.styles.js +2 -2
- package/dist/DateInput/DateInput.styles.js +6 -6
- package/dist/DetailPage/DetailPage.styles.js +7 -7
- package/dist/Dropdown/Dropdown.styles.js +3 -3
- package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
- package/dist/Dropzone/Dropzone.js +1 -1
- package/dist/Dropzone/Dropzone.styles.js +9 -9
- package/dist/EmptyState/EmptyState.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 +15 -15
- 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 +14 -14
- package/dist/Modal/Modal.styles.js.map +1 -1
- 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/PageLayout/PageLayout.styles.js +13 -13
- 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/Pill/Pill.styles.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 +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 +6 -6
- package/dist/SegmentedController/SegmentedController.styles.js +4 -4
- package/dist/Select/Select.styles.js +7 -7
- package/dist/Semantic/Semantic.styles.js +8 -8
- package/dist/Sidebar/Sidebar.styles.js +7 -7
- package/dist/Slider/Slider.styles.js +5 -5
- package/dist/Spinner/Spinner.styles.js +7 -7
- package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
- package/dist/SuperSelect/SuperSelect.styles.js +37 -37
- package/dist/Switch/Switch.styles.js +4 -4
- package/dist/Table/Table.styles.js +43 -44
- package/dist/Table/Table.styles.js.map +1 -1
- package/dist/TableShelf/TableShelf.styles.js +5 -5
- package/dist/Tabs/Tabs.styles.js +8 -8
- package/dist/Tearsheet/Tearsheet.styles.js +5 -5
- package/dist/TextArea/TextArea.styles.js +1 -1
- package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
- package/dist/Thumbnail/Thumbnail.styles.js +17 -17
- package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
- package/dist/TieredSelect/TieredSelect.styles.js +9 -9
- package/dist/Tile/Tile.styles.js +8 -8
- package/dist/Title/Title.styles.js +7 -7
- package/dist/Toast/Toast.styles.js +3 -3
- package/dist/ToggleButton/ToggleButton.styles.js +1 -1
- package/dist/Token/Token.styles.js +3 -3
- package/dist/ToolHeader/ToolHeader.styles.js +6 -6
- package/dist/Tooltip/Tooltip.styles.js +2 -2
- package/dist/Tree/Tree.styles.js +10 -10
- package/dist/Tree/Tree.styles.js.map +1 -1
- package/dist/Typeahead/Typeahead.styles.js +3 -3
- package/dist/Typography/Typography.styles.js +1 -1
- package/dist/Typography/Typography.table.story.js +2 -2
- package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
- package/dist/_typedoc/AvatarStack/AvatarStack.types.json +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 +11 -11
- package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
- package/dist/_typedoc/Card/Card.types.json +6 -6
- package/dist/_typedoc/Checkbox/Checkbox.types.json +7 -7
- package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
- package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
- package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
- package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
- package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
- package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
- package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
- package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
- package/dist/_typedoc/FileList/FileList.types.json +9 -9
- package/dist/_typedoc/FileSelect/FileSelect.types.json +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 +698 -698
- package/dist/_typedoc/Grid/Grid.types.json +8 -8
- package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
- package/dist/_typedoc/Input/Input.types.json +2 -2
- package/dist/_typedoc/Link/Link.types.json +4 -4
- package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
- package/dist/_typedoc/Menu/Menu.types.json +62 -62
- package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
- package/dist/_typedoc/Modal/Modal.types.json +41 -41
- package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
- package/dist/_typedoc/Notation/Notation.types.json +4 -4
- package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
- package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +30 -30
- package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
- package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
- package/dist/_typedoc/Panel/Panel.types.json +27 -27
- package/dist/_typedoc/Pill/Pill.types.json +2 -2
- package/dist/_typedoc/PillSelect/PillSelect.types.json +46 -46
- package/dist/_typedoc/Popover/Popover.types.json +14 -14
- package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
- package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
- package/dist/_typedoc/Required/Required.types.json +5 -5
- package/dist/_typedoc/Search/Search.types.json +18 -18
- package/dist/_typedoc/Section/Section.types.json +14 -14
- package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
- package/dist/_typedoc/Select/Select.types.json +55 -55
- package/dist/_typedoc/Slider/Slider.types.json +6 -6
- package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
- package/dist/_typedoc/Switch/Switch.types.json +3 -3
- package/dist/_typedoc/Table/Table.types.json +96 -96
- package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
- package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
- package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
- package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
- package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
- package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
- package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
- package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
- package/dist/_typedoc/Tile/Tile.types.json +30 -30
- package/dist/_typedoc/Toast/Toast.types.json +4 -4
- package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
- package/dist/_typedoc/Token/Token.types.json +4 -4
- package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
- package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
- package/dist/_typedoc/Tree/Tree.types.json +86 -86
- package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
- package/dist/_typedoc/Typography/Typography.types.json +8 -8
- package/dist/_typedoc/_utils/types.json +3 -3
- package/package.json +3 -3
|
@@ -8,19 +8,19 @@ var trackWidth = 36;
|
|
|
8
8
|
var toggleSize = 16;
|
|
9
9
|
export var StyledTrack = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledTrack",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-11_23_2__sc-mwn4kg-0"
|
|
12
12
|
})(["background-color:", ";border-radius:", "px;height:", "px;width:", "px;position:relative;transition:0.2s;"], colors.gray70, trackHeight, trackHeight, trackWidth);
|
|
13
13
|
export var StyledToggle = /*#__PURE__*/styled.span.withConfig({
|
|
14
14
|
displayName: "StyledToggle",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-11_23_2__sc-mwn4kg-1"
|
|
16
16
|
})(["background-color:", ";border-radius:50%;bottom:2px;height:", "px;left:2px;position:absolute;transition:all 0.2s;width:", "px;"], colors.white, toggleSize, toggleSize);
|
|
17
17
|
export var StyledSwitchLabel = /*#__PURE__*/styled.span.withConfig({
|
|
18
18
|
displayName: "StyledSwitchLabel",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-11_23_2__sc-mwn4kg-2"
|
|
20
20
|
})(["", " padding-left:", "px;user-select:none;"], getTypographyIntent('body'), spacing.md);
|
|
21
21
|
export var StyledSwitchContainer = /*#__PURE__*/styled.label.withConfig({
|
|
22
22
|
displayName: "StyledSwitchContainer",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-11_23_2__sc-mwn4kg-3"
|
|
24
24
|
})(["cursor:pointer;display:grid;grid-template-columns:", "px 1fr;& + &{margin-top:", "px;}", " ", " ", ""], trackWidth, spacing.md, function (_ref) {
|
|
25
25
|
var $checked = _ref.$checked;
|
|
26
26
|
return $checked && css(["", "{background-color:", ";", "{transform:translateX(", "px);}}"], StyledTrack, colors.blue50, StyledToggle, spacing.lg);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
import { Card } from '../Card';
|
|
4
4
|
import { Checkbox } from '../Checkbox';
|
|
@@ -45,68 +45,67 @@ var tableCellInputFocusBorder = "1px solid ".concat(colors.blue50);
|
|
|
45
45
|
var tableCellInputErrorBgColor = colors.red98;
|
|
46
46
|
var tableCellInputErrorBorder = "1px solid ".concat(colors.red50);
|
|
47
47
|
var tableRowBorderBottom = /*#__PURE__*/css(["border-bottom:", ";&:last-child{border-bottom:0;}"], tableBorder);
|
|
48
|
-
export var
|
|
49
|
-
displayName: "
|
|
50
|
-
componentId: "core-
|
|
48
|
+
export var StyledTableHeaderCellSortableContainer = /*#__PURE__*/styled.div.withConfig({
|
|
49
|
+
displayName: "StyledTableHeaderCellSortableContainer",
|
|
50
|
+
componentId: "core-11_23_2__sc-9c7xd-0"
|
|
51
51
|
})([""]);
|
|
52
52
|
export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
|
|
53
53
|
displayName: "StyledTableHeaderCellLabel",
|
|
54
|
-
componentId: "core-
|
|
54
|
+
componentId: "core-11_23_2__sc-9c7xd-1"
|
|
55
55
|
})(["display:inline-block;flex:1 1 auto;position:relative;"]);
|
|
56
56
|
export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
|
|
57
57
|
displayName: "StyledCheckbox",
|
|
58
|
-
componentId: "core-
|
|
58
|
+
componentId: "core-11_23_2__sc-9c7xd-2"
|
|
59
59
|
})([""]);
|
|
60
60
|
export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
|
|
61
61
|
displayName: "StyledTableBodyCell",
|
|
62
|
-
componentId: "core-
|
|
62
|
+
componentId: "core-11_23_2__sc-9c7xd-3"
|
|
63
63
|
})(["position:relative;vertical-align:middle;", ""], function (_ref) {
|
|
64
64
|
var $snugfit = _ref.$snugfit;
|
|
65
65
|
return $snugfit && css(["white-space:nowrap;width:0.1%;"]);
|
|
66
66
|
});
|
|
67
67
|
export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
|
|
68
68
|
displayName: "StyledTableHeaderCell",
|
|
69
|
-
componentId: "core-
|
|
70
|
-
})(["", " font-weight:", ";border-right:", ";color:", ";height:", "px;padding:", "px;position:relative;text-align:left;transition:background-color 0.2s ease-in-out;&:last-child{border-right:0;}", "{display:flex;align-items:center;}", "
|
|
69
|
+
componentId: "core-11_23_2__sc-9c7xd-4"
|
|
70
|
+
})(["", " font-weight:", ";border-right:", ";color:", ";height:", "px;padding:", "px;position:relative;text-align:left;transition:background-color 0.2s ease-in-out;&:last-child{border-right:0;}", "{display:flex;align-items:center;}", "{", "{min-height:14px;}}", " ", " ", " ", " ", ""], getTypographyIntent('small'), tableHeaderFontWeight, tableHeaderBorderRight, tableHeaderFontColor, tableHeaderHeight, tableHeaderPadding, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellSortableContainer, StyledTableHeaderCellLabel, function (_ref2) {
|
|
71
71
|
var $sortable = _ref2.$sortable;
|
|
72
72
|
return $sortable && css(["cursor:pointer;padding:", "px;", ",", "{color:", ";opacity:0;transition:all 0.15s ease-in-out;position:absolute;}::before,::after{font-size:16px;}&:hover{background-color:", ";", "{color:", ";}}"], spacing.lg, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc, tableSortFontColor, tableHeaderBgColorHover, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover);
|
|
73
73
|
}, function (_ref3) {
|
|
74
|
-
var $
|
|
75
|
-
return ($
|
|
74
|
+
var $sortOrder = _ref3.$sortOrder;
|
|
75
|
+
return ($sortOrder === 'asc' || $sortOrder === 'desc') && css(["background-color:", ";color:", ";&::before,&::after,", ",", "{opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
|
|
76
76
|
}, function (_ref4) {
|
|
77
|
-
var $
|
|
78
|
-
return $
|
|
77
|
+
var $sortOrder = _ref4.$sortOrder;
|
|
78
|
+
return $sortOrder === 'asc' && css(["", ",&::before{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconDesc, tableSortFontColorHover);
|
|
79
79
|
}, function (_ref5) {
|
|
80
|
-
var $
|
|
81
|
-
return $
|
|
80
|
+
var $sortOrder = _ref5.$sortOrder;
|
|
81
|
+
return $sortOrder === 'desc' && css(["", ",&::after{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconDesc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover, StyledTableHeaderCellSortIconDesc, tableSortFontColorActive);
|
|
82
82
|
}, function (_ref6) {
|
|
83
|
-
var $
|
|
84
|
-
|
|
85
|
-
return ($variant === 'snugfit' || $snugfit) && css(["width:0.1%;"]);
|
|
83
|
+
var $snugfit = _ref6.$snugfit;
|
|
84
|
+
return $snugfit && css(["width:0.1%;"]);
|
|
86
85
|
});
|
|
87
86
|
export var StyledTableHeaderCellIconWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
88
87
|
displayName: "StyledTableHeaderCellIconWrapper",
|
|
89
|
-
componentId: "core-
|
|
88
|
+
componentId: "core-11_23_2__sc-9c7xd-5"
|
|
90
89
|
})(["height:20px;line-height:20px;padding:0 ", "px 0 ", "px;width:20px;"], spacing.lg, spacing.sm);
|
|
91
|
-
export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(
|
|
90
|
+
export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(CaretUp).withConfig({
|
|
92
91
|
displayName: "StyledTableHeaderCellSortIconAsc",
|
|
93
|
-
componentId: "core-
|
|
94
|
-
})([""]);
|
|
95
|
-
export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(
|
|
92
|
+
componentId: "core-11_23_2__sc-9c7xd-6"
|
|
93
|
+
})(["margin-top:-", "px;"], spacing.sm);
|
|
94
|
+
export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(CaretDown).withConfig({
|
|
96
95
|
displayName: "StyledTableHeaderCellSortIconDesc",
|
|
97
|
-
componentId: "core-
|
|
96
|
+
componentId: "core-11_23_2__sc-9c7xd-7"
|
|
98
97
|
})([""]);
|
|
99
98
|
export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
|
|
100
99
|
displayName: "StyledHead",
|
|
101
|
-
componentId: "core-
|
|
100
|
+
componentId: "core-11_23_2__sc-9c7xd-8"
|
|
102
101
|
})(["background-color:", ";transition:background-color 0.2s ease-in-out;", " &:hover{", "{", ",", "{&::after,&::before{opacity:1;}}}}"], tableHeaderBgColor, tableRowBorderBottom, StyledTableHeaderCell, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
|
|
103
102
|
export var StyledCaratWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
104
103
|
displayName: "StyledCaratWrapper",
|
|
105
|
-
componentId: "core-
|
|
104
|
+
componentId: "core-11_23_2__sc-9c7xd-9"
|
|
106
105
|
})(["font-size:16px;color:", ";padding-right:", "px;transition:all 0.2s ease-in-out;& + ", "{margin:0 ", "px;}"], colors.gray70, spacing.xs, StyledCheckbox, spacing.xs);
|
|
107
106
|
export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
108
107
|
displayName: "StyledCarat",
|
|
109
|
-
componentId: "core-
|
|
108
|
+
componentId: "core-11_23_2__sc-9c7xd-10"
|
|
110
109
|
})(["", ""], function (_ref7) {
|
|
111
110
|
var $expanded = _ref7.$expanded;
|
|
112
111
|
return $expanded && css(["transform:rotate(90deg);"]);
|
|
@@ -114,7 +113,7 @@ export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
|
|
|
114
113
|
var cellInputCSS = /*#__PURE__*/css(["background-color:rgba(255,255,255,0);&&&{border:", ";border-radius:4px;width:100%;&::placeholder{color:", ";}&::-ms-clear{display:none;}&:hover{border-color:transparent;}&:focus{background-color:", ";border-style:solid;border-width:1px;border-color:", ";box-shadow:0 0 0 1px ", ";outline:none;}&:disabled{border:", ";color:", ";}}"], tableCellInputBorder, tableCellInputPlaceholderColor, colors.white, colors.blue40, colors.blue40, tableCellInputBorder, colors.gray70);
|
|
115
114
|
export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
|
|
116
115
|
displayName: "StyledTableCellSelect",
|
|
117
|
-
componentId: "core-
|
|
116
|
+
componentId: "core-11_23_2__sc-9c7xd-11"
|
|
118
117
|
})(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", "{white-space:normal;}", ",", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref8) {
|
|
119
118
|
var $hasClearIcon = _ref8.$hasClearIcon;
|
|
120
119
|
return $hasClearIcon && css(["", "{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
|
|
@@ -132,25 +131,25 @@ export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
|
|
|
132
131
|
});
|
|
133
132
|
export var StyledTableCellInput = /*#__PURE__*/styled(Input).withConfig({
|
|
134
133
|
displayName: "StyledTableCellInput",
|
|
135
|
-
componentId: "core-
|
|
134
|
+
componentId: "core-11_23_2__sc-9c7xd-12"
|
|
136
135
|
})(["", ""], cellInputCSS);
|
|
137
136
|
export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
|
|
138
137
|
displayName: "StyledTableCellDateInput",
|
|
139
|
-
componentId: "core-
|
|
138
|
+
componentId: "core-11_23_2__sc-9c7xd-13"
|
|
140
139
|
})(["background-color:transparent;border-color:transparent;&:active:hover{border-color:", ";}&&&:focus-within{", ";background-color:", ";}", " ", "{opacity:0;}", "{&[data-qa-table-visible='false']{opacity:0;}}", "{&[data-placeholder='true']{opacity:0;}}&:focus-within{", "{opacity:1;}", "{&[data-qa-table-visible='false']{opacity:1;}}", "{&[data-placeholder='true']{opacity:1;}}}"], colors.gray45, getFocus(), colors.white, function (_ref12) {
|
|
141
140
|
var error = _ref12.error;
|
|
142
141
|
return error && css(["border-color:", ";"], colors.red50);
|
|
143
142
|
}, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment);
|
|
144
143
|
export var StyledTableCellTextArea = /*#__PURE__*/styled(TextArea).withConfig({
|
|
145
144
|
displayName: "StyledTableCellTextArea",
|
|
146
|
-
componentId: "core-
|
|
145
|
+
componentId: "core-11_23_2__sc-9c7xd-14"
|
|
147
146
|
})(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref13) {
|
|
148
147
|
var $resizable = _ref13.$resizable;
|
|
149
148
|
return $resizable && css(["&:focus{min-height:64px;overflow:auto;resize:vertical;}"]);
|
|
150
149
|
});
|
|
151
150
|
export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
|
|
152
151
|
displayName: "StyledTableCellText",
|
|
153
|
-
componentId: "core-
|
|
152
|
+
componentId: "core-11_23_2__sc-9c7xd-15"
|
|
154
153
|
})(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref14) {
|
|
155
154
|
var $percent = _ref14.$percent,
|
|
156
155
|
$currency = _ref14.$currency;
|
|
@@ -158,15 +157,15 @@ export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
|
|
|
158
157
|
});
|
|
159
158
|
export var StyledIconCell = /*#__PURE__*/styled.div.withConfig({
|
|
160
159
|
displayName: "StyledIconCell",
|
|
161
|
-
componentId: "core-
|
|
160
|
+
componentId: "core-11_23_2__sc-9c7xd-16"
|
|
162
161
|
})(["display:flex;color:", ";"], tableCellIconColor);
|
|
163
162
|
export var StyledSelectCellWrapper = /*#__PURE__*/styled.div.withConfig({
|
|
164
163
|
displayName: "StyledSelectCellWrapper",
|
|
165
|
-
componentId: "core-
|
|
164
|
+
componentId: "core-11_23_2__sc-9c7xd-17"
|
|
166
165
|
})(["display:flex;flex-direction:column;"]);
|
|
167
166
|
export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
|
|
168
167
|
displayName: "StyledTableInlineEditErrorBox",
|
|
169
|
-
componentId: "core-
|
|
168
|
+
componentId: "core-11_23_2__sc-9c7xd-18"
|
|
170
169
|
})(["", " color:", ";font-style:italic;background:", ";border-radius:0 2px 2px 2px;box-shadow:0 1px 2px rgba(0,0,0,0.2),0 1px 3px rgba(0,0,0,0.1);padding:6px ", "px;position:absolute;max-width:160px;z-index:1;", ""], getTypographyIntent('small'), colors.white, colors.red50, spacing.md, function (_ref15) {
|
|
171
170
|
var $size = _ref15.$size;
|
|
172
171
|
var sizes = {
|
|
@@ -184,7 +183,7 @@ export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
|
|
|
184
183
|
});
|
|
185
184
|
export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
|
|
186
185
|
displayName: "StyledTableInlineEditContainer",
|
|
187
|
-
componentId: "core-
|
|
186
|
+
componentId: "core-11_23_2__sc-9c7xd-19"
|
|
188
187
|
})(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref16) {
|
|
189
188
|
var $error = _ref16.$error;
|
|
190
189
|
return $error && css(["position:static;background-color:", ";", ",", ",", ",", "{border:", ";border-radius:4px 4px 0 0;border-bottom:none;&:hover{border-bottom:none;}&:focus{background-color:", ";border:", ";border-bottom:none;}}"], tableCellInputErrorBgColor, StyledTableCellDateInput, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBgColor, tableCellInputFocusBorder);
|
|
@@ -208,26 +207,26 @@ export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
208
207
|
});
|
|
209
208
|
export var StyledTableBodyRow = /*#__PURE__*/styled.tr.withConfig({
|
|
210
209
|
displayName: "StyledTableBodyRow",
|
|
211
|
-
componentId: "core-
|
|
210
|
+
componentId: "core-11_23_2__sc-9c7xd-20"
|
|
212
211
|
})(["", " ", " &:focus-within{", "{background-color:", ";&.disabled{background-color:transparent;}}", ".error{background-color:", ";}}&:hover{", "{background-color:", ";cursor:pointer;&:hover{background-color:", ";}&.disabled{&,&:hover{background-color:transparent;cursor:default;}}}", ".error{background-color:", ";&:hover{background-color:", ";}", ",", ",", "{border:", ";border-bottom:none;&:hover{border-bottom:none;}&:focus{border:", ";border-bottom:none;}}}}"], tableRowBorderBottom, function (_ref18) {
|
|
213
212
|
var $overdue = _ref18.$overdue;
|
|
214
213
|
return $overdue && css(["", ",", ",", ",", ",", "{color:", ";}"], StyledTableCellText, StyledTableCellSelect, StyledTableCellInput, StyledTableCellDateInput, StyledTableCellTextArea, colors.red50);
|
|
215
214
|
}, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, tableCellInputHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, tableCellInputErrorBgColor, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBorder);
|
|
216
215
|
export var StyledTableGroupRowContent = /*#__PURE__*/styled.div.withConfig({
|
|
217
216
|
displayName: "StyledTableGroupRowContent",
|
|
218
|
-
componentId: "core-
|
|
217
|
+
componentId: "core-11_23_2__sc-9c7xd-21"
|
|
219
218
|
})([""]);
|
|
220
219
|
export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
|
|
221
220
|
displayName: "StyledTableGroupRowHeader",
|
|
222
|
-
componentId: "core-
|
|
221
|
+
componentId: "core-11_23_2__sc-9c7xd-22"
|
|
223
222
|
})([""]);
|
|
224
223
|
export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
|
|
225
224
|
displayName: "StyledTableGroupRowTitle",
|
|
226
|
-
componentId: "core-
|
|
225
|
+
componentId: "core-11_23_2__sc-9c7xd-23"
|
|
227
226
|
})([""]);
|
|
228
227
|
export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
|
|
229
228
|
displayName: "StyledTableGroupRow",
|
|
230
|
-
componentId: "core-
|
|
229
|
+
componentId: "core-11_23_2__sc-9c7xd-24"
|
|
231
230
|
})(["background-color:", ";", " ", "{margin-left:", "px;padding:", "px 0;display:flex;flex-direction:row;}", "{display:flex;align-items:center;}", "{font-weight:", ";padding-left:", "px;}", ""], tableGroupRowBgColor, tableRowBorderBottom, StyledTableGroupRowContent, spacing.lg, spacing.lg, StyledTableGroupRowHeader, StyledTableGroupRowTitle, tableHeaderFontWeight, spacing.lg, function (_ref19) {
|
|
232
231
|
var $depth = _ref19.$depth;
|
|
233
232
|
if (typeof $depth !== 'number') {
|
|
@@ -237,7 +236,7 @@ export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
|
|
|
237
236
|
});
|
|
238
237
|
export var StyledTableWrapper = /*#__PURE__*/styled(Card).withConfig({
|
|
239
238
|
displayName: "StyledTableWrapper",
|
|
240
|
-
componentId: "core-
|
|
239
|
+
componentId: "core-11_23_2__sc-9c7xd-25"
|
|
241
240
|
})(["border-radius:", "px;border:", ";", ",tbody{&:first-child{tr:first-child{", ",td{&:first-child{border-top-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;}}}}&:last-child{tr:last-child{", ",td{&:first-child{border-bottom-left-radius:", "px;}&:last-child{border-bottom-right-radius:", "px;}}}}}", ""], tableBorderRadius, tableBorder, StyledHead, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, StyledTableHeaderCell, tableBorderRadius, tableBorderRadius, function (_ref20) {
|
|
242
241
|
var $withShelf = _ref20.$withShelf;
|
|
243
242
|
return $withShelf && css(["position:relative;height:100%;"]);
|
|
@@ -246,7 +245,7 @@ var BodyRow = StyledTableBodyRow;
|
|
|
246
245
|
var GroupRow = StyledTableGroupRow;
|
|
247
246
|
export var StyledTable = /*#__PURE__*/styled.table.withConfig({
|
|
248
247
|
displayName: "StyledTable",
|
|
249
|
-
componentId: "core-
|
|
248
|
+
componentId: "core-11_23_2__sc-9c7xd-26"
|
|
250
249
|
})(["background-color:", ";border-collapse:collapse;border-radius:", "px;", " width:100%;td:first-child ", "{padding-left:", "px;}", " ", " + ", "{margin-left:", "px;padding-left:0;}", " ", " ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " > td{padding-left:", "px;}", " + ", " + ", " + ", " + ", " > td{padding-left:", "px;}", " ~ ", "{", "{padding-left:0;margin:0 ", "px;}& > td:first-child{padding-left:", "px;}}", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}", " + ", " + ", " + ", " + ", " ~ ", "{& > td:first-child{padding-left:", "px;}}"], tableBgColor, tableBorderRadius, getTypographyIntent('body'), StyledCheckbox, spacing.lg, StyledTableGroupRow, StyledCaratWrapper, StyledCheckbox, spacing.xs, function (_ref21) {
|
|
251
250
|
var $fixed = _ref21.$fixed;
|
|
252
251
|
return $fixed && css(["table-layout:fixed;"]);
|
|
@@ -256,6 +255,6 @@ export var StyledTable = /*#__PURE__*/styled.table.withConfig({
|
|
|
256
255
|
}, GroupRow, GroupRow, tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, 2 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, 3 * tableGroupHeaderRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, 4 * tableGroupHeaderRowIndentation, GroupRow, BodyRow, StyledCheckbox, spacing.xs, tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, BodyRow, 2 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, BodyRow, 3 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 4 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation, GroupRow, GroupRow, GroupRow, GroupRow, GroupRow, BodyRow, 5 * tableGroupHeaderRowIndentation + tableGroupBodyRowIndentation);
|
|
257
256
|
export var StyledLoadingContainer = /*#__PURE__*/styled.div.withConfig({
|
|
258
257
|
displayName: "StyledLoadingContainer",
|
|
259
|
-
componentId: "core-
|
|
258
|
+
componentId: "core-11_23_2__sc-9c7xd-27"
|
|
260
259
|
})(["cursor:default;align-items:center;background:", ";display:flex;height:100%;justify-content:center;opacity:0.9;position:absolute;width:100%;z-index:2;"], colors.gray96);
|
|
261
260
|
//# sourceMappingURL=Table.styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.styles.js","names":["ArrowDown","ArrowUp","ChevronRight","styled","css","Card","Checkbox","StyledDateInputDelimiter","StyledDateInputIconContainer","StyledDateInputSegment","DateSelect","Input","Select","StyledSelectArrow","StyledSelectButtonLabel","StyledSelectClearIcon","TextArea","getTypographyIntent","typographyWeights","colors","getFocus","spacing","tableBgColor","white","tableBorderRadius","tableBorderStyle","tableBorderWidth","tableBorderColor","gray85","tableBorder","concat","tableGroupRowBgColor","gray98","tableGroupBodyRowIndentation","md","tableGroupHeaderRowIndentation","xl","tableHeaderBgColor","gray96","tableHeaderBgColorHover","gray94","tableHeaderBgColorActive","tableHeaderBorderColor","gray90","tableHeaderBorderRight","tableHeaderFontColor","gray30","tableHeaderFontColorActive","gray15","tableHeaderFontWeight","semibold","tableHeaderHeight","tableHeaderPadding","lg","tableSortFontColor","gray70","tableSortFontColorHover","gray45","tableSortFontColorActive","blue50","tableCellTextColor","tableCellIconColor","tableCellInputPlaceholderColor","tableCellInputBorder","tableCellInputRowHoverBgColor","tableCellInputFocusBgColor","tableCellInputHoverBgColor","blue94","tableCellInputFocusBorder","tableCellInputErrorBgColor","red98","tableCellInputErrorBorder","red50","tableRowBorderBottom","StyledTableHeaderCellContainer","div","withConfig","displayName","componentId","StyledTableHeaderCellLabel","StyledCheckbox","StyledTableBodyCell","td","_ref","$snugfit","StyledTableHeaderCell","th","_ref2","$sortable","StyledTableHeaderCellSortIconAsc","StyledTableHeaderCellSortIconDesc","_ref3","$variant","_ref4","_ref5","_ref6","StyledTableHeaderCellIconWrapper","sm","StyledHead","thead","StyledCaratWrapper","xs","StyledCarat","_ref7","$expanded","cellInputCSS","blue40","StyledTableCellSelect","_ref8","$hasClearIcon","_ref9","_ref9$$placeholder","$placeholder","_ref10","_ref10$$placeholder","_ref11","loading","StyledTableCellInput","StyledTableCellDateInput","_ref12","error","StyledTableCellTextArea","xxl","_ref13","$resizable","StyledTableCellText","_ref14","$percent","$currency","StyledIconCell","StyledSelectCellWrapper","StyledTableInlineEditErrorBox","_ref15","$size","sizes","block","StyledTableInlineEditContainer","_ref16","$error","_ref17","StyledTableBodyRow","tr","_ref18","$overdue","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","span","StyledTableGroupRow","_ref19","$depth","StyledTableWrapper","_ref20","$withShelf","BodyRow","GroupRow","StyledTable","table","_ref21","$fixed","_ref22","$inline","StyledLoadingContainer"],"sources":["../../src/Table/Table.styles.tsx"],"sourcesContent":["import { ArrowDown, ArrowUp, ChevronRight } from '@procore/core-icons/dist'\nimport styled, { css } from 'styled-components'\nimport { Card } from '../Card'\nimport { Checkbox } from '../Checkbox'\nimport {\n StyledDateInputDelimiter,\n StyledDateInputIconContainer,\n StyledDateInputSegment,\n} from '../DateInput/DateInput.styles'\nimport { DateSelect } from '../DateSelect'\nimport { Input } from '../Input'\nimport { Select } from '../Select'\nimport {\n StyledSelectArrow,\n StyledSelectButtonLabel,\n StyledSelectClearIcon,\n} from '../Select/Select.styles'\nimport { TextArea } from '../TextArea'\nimport {\n getTypographyIntent,\n typographyWeights,\n} from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\nimport { InputCellSize, TableCellVariant } from './Table.types'\n\nconst tableBgColor = colors.white\nconst tableBorderRadius = 4\nconst tableBorderStyle = 'solid'\nconst tableBorderWidth = 1\nconst tableBorderColor = colors.gray85\nconst tableBorder = `${tableBorderWidth}px ${tableBorderStyle} ${tableBorderColor}`\n\nconst tableGroupRowBgColor = colors.gray98\nconst tableGroupBodyRowIndentation = spacing.md\nconst tableGroupHeaderRowIndentation = spacing.xl\n\nconst tableHeaderBgColor = colors.gray96\nconst tableHeaderBgColorHover = colors.gray94\nconst tableHeaderBgColorActive = colors.gray94\nconst tableHeaderBorderColor = colors.gray90\nconst tableHeaderBorderRight = `${tableBorderWidth}px ${tableBorderStyle} ${tableHeaderBorderColor}`\n\nconst tableHeaderFontColor = colors.gray30\nconst tableHeaderFontColorActive = colors.gray15\nconst tableHeaderFontWeight = typographyWeights.semibold\nconst tableHeaderHeight = 48\nconst tableHeaderPadding = spacing.lg\n\nconst tableSortFontColor = colors.gray70\nconst tableSortFontColorHover = colors.gray45\nconst tableSortFontColorActive = colors.blue50\n\nconst tableCellTextColor = colors.gray15\nconst tableCellIconColor = colors.gray45\nconst tableCellInputPlaceholderColor = colors.gray70\nconst tableCellInputBorder = '1px solid transparent'\nconst tableCellInputRowHoverBgColor = colors.gray96\nconst tableCellInputFocusBgColor = colors.white\nconst tableCellInputHoverBgColor = colors.blue94\nconst tableCellInputFocusBorder = `1px solid ${colors.blue50}`\nconst tableCellInputErrorBgColor = colors.red98\nconst tableCellInputErrorBorder = `1px solid ${colors.red50}`\n\nconst tableRowBorderBottom = css`\n border-bottom: ${tableBorder};\n\n &:last-child {\n border-bottom: 0;\n }\n`\n\nexport const StyledTableHeaderCellContainer = styled.div``\n\nexport const StyledTableHeaderCellLabel = styled.div`\n display: inline-block;\n flex: 1 1 auto;\n position: relative;\n`\n\nexport const StyledCheckbox = styled(Checkbox)``\n\nexport const StyledTableBodyCell = styled.td<{ $snugfit: boolean }>`\n position: relative;\n vertical-align: middle;\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n white-space: nowrap;\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCell = styled.th<{\n $sortable: boolean\n $variant: TableCellVariant\n $snugfit: boolean\n}>`\n ${getTypographyIntent('small')}\n font-weight: ${tableHeaderFontWeight};\n border-right: ${tableHeaderBorderRight};\n color: ${tableHeaderFontColor};\n height: ${tableHeaderHeight}px;\n padding: ${tableHeaderPadding}px;\n position: relative;\n text-align: left;\n transition: background-color 0.2s ease-in-out;\n\n &:last-child {\n border-right: 0;\n }\n\n ${StyledTableHeaderCellContainer} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableHeaderCellContainer} ${StyledTableHeaderCellLabel} {\n min-height: 14px;\n }\n\n ${({ $sortable }) =>\n $sortable &&\n css`\n cursor: pointer;\n padding: ${spacing.lg}px;\n\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n color: ${tableSortFontColor};\n opacity: 0;\n transition: all 0.15s ease-in-out;\n position: absolute;\n }\n\n ::before,\n ::after {\n font-size: 16px;\n }\n\n &:hover {\n background-color: ${tableHeaderBgColorHover};\n\n ${StyledTableHeaderCellSortIconAsc} {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $variant }) =>\n ($variant === 'asc' || $variant === 'desc') &&\n css`\n background-color: ${tableHeaderBgColorActive};\n color: ${tableHeaderFontColorActive};\n\n &::before,\n &::after,\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n opacity: 1;\n }\n `}\n\n ${({ $variant }) =>\n $variant === 'asc' &&\n css`\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $variant }) =>\n $variant === 'desc' &&\n css`\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorHover};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n }\n `}\n\n ${({ $variant, $snugfit }) =>\n ($variant === 'snugfit' || $snugfit) &&\n css`\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCellIconWrapper = styled.div`\n height: 20px;\n line-height: 20px;\n padding: 0 ${spacing.lg}px 0 ${spacing.sm}px;\n width: 20px;\n`\n\nexport const StyledTableHeaderCellSortIconAsc = styled(ArrowUp)``\n\nexport const StyledTableHeaderCellSortIconDesc = styled(ArrowDown)``\n\nexport const StyledHead = styled.thead`\n background-color: ${tableHeaderBgColor};\n transition: background-color 0.2s ease-in-out;\n ${tableRowBorderBottom}\n\n &:hover {\n ${StyledTableHeaderCell} {\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n &::after,\n &::before {\n opacity: 1;\n }\n }\n }\n }\n`\n\nexport const StyledCaratWrapper = styled.div`\n font-size: 16px;\n color: ${colors.gray70};\n padding-right: ${spacing.xs}px;\n transition: all 0.2s ease-in-out;\n\n & + ${StyledCheckbox} {\n margin: 0 ${spacing.xs}px;\n }\n`\n\nexport const StyledCarat = styled(ChevronRight)<{ $expanded: boolean }>`\n ${({ $expanded }) =>\n $expanded &&\n css`\n transform: rotate(90deg);\n `}\n`\n\nconst cellInputCSS = css`\n // Define particular color, simply not to rely on browser's choice of transparent value\n // https://stackoverflow.com/questions/46309641/what-happens-in-safari-with-the-transparent-color\n background-color: rgba(255, 255, 255, 0);\n\n &&& {\n border: ${tableCellInputBorder};\n border-radius: 4px;\n width: 100%;\n\n &::placeholder {\n color: ${tableCellInputPlaceholderColor};\n }\n\n &::-ms-clear {\n display: none;\n }\n\n &:hover {\n border-color: transparent;\n }\n\n &:focus {\n /**\n focus background overrides everything, so it is the only cell-defined background style.\n the rest come from StyledInlineEditContainer\n */\n background-color: ${colors.white};\n border-style: solid;\n border-width: 1px;\n border-color: ${colors.blue40};\n box-shadow: 0 0 0 1px ${colors.blue40};\n outline: none;\n }\n\n &:disabled {\n border: ${tableCellInputBorder};\n color: ${colors.gray70};\n }\n }\n`\n\nexport const StyledTableCellSelect = styled(Select)<{\n $hasClearIcon: boolean\n $placeholder: boolean\n}>`\n ${cellInputCSS};\n\n background-color: transparent;\n border-color: transparent;\n height: auto;\n\n &:hover {\n background-color: transparent;\n }\n\n &:active:hover {\n border-color: ${colors.gray85};\n }\n\n &:focus {\n background-color: ${colors.white};\n cursor: pointer;\n ${getFocus()}\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n\n ${StyledSelectArrow} {\n opacity: 1;\n pointer-events: all;\n }\n\n ${({ $hasClearIcon }) =>\n $hasClearIcon &&\n css`\n ${StyledSelectClearIcon} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n }\n\n ${StyledSelectButtonLabel} {\n white-space: normal;\n }\n\n ${StyledSelectArrow}, ${StyledSelectClearIcon} {\n opacity: 0;\n pointer-events: none;\n }\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 0;\n pointer-events: none;\n }\n `}\n\n ${({ loading }) =>\n loading &&\n css`\n background-color: ${colors.white};\n border-color: ${colors.gray85};\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n `}\n`\nexport const StyledTableCellInput = styled(Input)`\n ${cellInputCSS}\n`\nexport const StyledTableCellDateInput = styled(DateSelect)`\n background-color: transparent;\n border-color: transparent;\n\n &:active:hover {\n border-color: ${colors.gray45};\n }\n\n // increase specificity to avoid border re-style\n &&&:focus-within {\n ${getFocus()};\n background-color: ${colors.white};\n }\n\n ${({ error }) =>\n error &&\n css`\n border-color: ${colors.red50};\n `}\n\n ${StyledDateInputIconContainer} {\n opacity: 0;\n }\n\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 0;\n }\n }\n\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 0;\n }\n }\n\n &:focus-within {\n ${StyledDateInputIconContainer} {\n opacity: 1;\n }\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 1;\n }\n }\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 1;\n }\n }\n }\n`\n\nexport const StyledTableCellTextArea = styled(TextArea)<{\n $resizable: boolean\n}>`\n ${cellInputCSS}\n && {\n height: ${spacing.xxl}px;\n min-height: ${spacing.xxl}px;\n overflow: hidden;\n padding-top: ${spacing.xs}px;\n resize: none;\n width: 100%;\n\n ${({ $resizable }) =>\n $resizable &&\n css`\n &:focus {\n min-height: 64px;\n overflow: auto;\n resize: vertical;\n }\n `}\n }\n`\n\nexport const StyledTableCellText = styled.div<{\n $percent?: boolean\n $currency?: boolean\n}>`\n margin: ${spacing.lg}px;\n display: flex;\n color: ${tableCellTextColor};\n\n ${({ $percent, $currency }) =>\n ($percent || $currency) &&\n css`\n justify-content: flex-end;\n `}\n`\n\nexport const StyledIconCell = styled.div`\n display: flex;\n color: ${tableCellIconColor};\n`\n\nexport const StyledSelectCellWrapper = styled.div`\n display: flex;\n flex-direction: column;\n`\n\nexport const StyledTableInlineEditErrorBox = styled.div<{\n $size?: InputCellSize\n}>`\n ${getTypographyIntent('small')}\n color: ${colors.white};\n font-style: italic;\n background: ${colors.red50};\n border-radius: 0 2px 2px 2px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);\n padding: 6px ${spacing.md}px;\n position: absolute;\n max-width: 160px;\n z-index: 1;\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n min-width: ${sizes[$size]}px;\n `\n }}\n`\n\ninterface StyledTableInlineEditContainerProps {\n $disabled?: boolean\n $error?: boolean\n $size: InputCellSize\n}\n\nexport const StyledTableInlineEditContainer = styled.div<StyledTableInlineEditContainerProps>`\n background-color: ${tableBgColor};\n margin: ${spacing.sm}px ${spacing.xs}px;\n position: relative;\n\n ${({ $error }) =>\n $error &&\n css`\n position: static;\n background-color: ${tableCellInputErrorBgColor};\n\n ${StyledTableCellDateInput},\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-radius: 4px 4px 0 0;\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n background-color: ${tableCellInputFocusBgColor};\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n `}\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if ($size === 'block') {\n return css`\n position: relative;\n\n ${StyledTableInlineEditErrorBox} {\n width: 100%;\n max-width: 100%;\n }\n `\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n width: ${sizes[$size]}px;\n `\n }}\n`\n\nexport const StyledTableBodyRow = styled.tr<{\n $overdue: boolean\n}>`\n ${tableRowBorderBottom}\n\n ${({ $overdue }) =>\n $overdue &&\n css`\n ${StyledTableCellText},\n ${StyledTableCellSelect},\n ${StyledTableCellInput},\n ${StyledTableCellDateInput},\n ${StyledTableCellTextArea} {\n color: ${colors.red50};\n }\n `}\n\n &:focus-within {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n\n &.disabled {\n background-color: transparent;\n }\n }\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n }\n }\n\n &:hover {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n cursor: pointer;\n\n &:hover {\n background-color: ${tableCellInputHoverBgColor};\n }\n\n &.disabled {\n &,\n &:hover {\n background-color: transparent;\n cursor: default;\n }\n }\n }\n\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n\n &:hover {\n background-color: ${tableCellInputErrorBgColor};\n }\n\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n }\n }\n`\n\nexport const StyledTableGroupRowContent = styled.div``\n\nexport const StyledTableGroupRowHeader = styled.div``\n\nexport const StyledTableGroupRowTitle = styled.span``\n\nexport const StyledTableGroupRow = styled.tr<{ $depth?: number | boolean }>`\n background-color: ${tableGroupRowBgColor};\n ${tableRowBorderBottom}\n\n ${StyledTableGroupRowContent} {\n margin-left: ${spacing.lg}px;\n padding: ${spacing.lg}px 0;\n display: flex;\n flex-direction: row;\n }\n\n ${StyledTableGroupRowHeader} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableGroupRowTitle} {\n font-weight: ${tableHeaderFontWeight};\n padding-left: ${spacing.lg}px;\n }\n\n ${({ $depth }) => {\n if (typeof $depth !== 'number') {\n return ''\n }\n\n return css`\n > td {\n padding-left: ${$depth * tableGroupHeaderRowIndentation}px !important;\n }\n\n ~ ${StyledTableBodyRow} {\n > td:first-child {\n padding-left: ${($depth + 1) * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px !important;\n }\n }\n `\n }}\n`\n\nexport const StyledTableWrapper = styled(Card)<{ $withShelf: boolean }>`\n border-radius: ${tableBorderRadius}px;\n border: ${tableBorder};\n\n ${StyledHead}, tbody {\n &:first-child {\n tr:first-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-top-left-radius: ${tableBorderRadius}px;\n }\n\n &:last-child {\n border-top-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n\n &:last-child {\n tr:last-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-bottom-left-radius: ${tableBorderRadius}px;\n }\n &:last-child {\n border-bottom-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n }\n\n ${({ $withShelf }) =>\n $withShelf &&\n css`\n position: relative;\n height: 100%;\n `}\n`\n\nconst BodyRow = StyledTableBodyRow\n\nconst GroupRow = StyledTableGroupRow\n\nexport const StyledTable = styled.table<{ $inline?: boolean; $fixed: boolean }>`\n background-color: ${tableBgColor};\n border-collapse: collapse;\n border-radius: ${tableBorderRadius}px;\n ${getTypographyIntent('body')}\n width: 100%;\n\n td:first-child ${StyledCheckbox} {\n padding-left: ${spacing.lg}px;\n }\n\n ${StyledTableGroupRow} ${StyledCaratWrapper} + ${StyledCheckbox} {\n margin-left: ${spacing.xs}px;\n padding-left: 0;\n }\n\n ${({ $fixed }) =>\n $fixed &&\n css`\n table-layout: fixed;\n `}\n\n ${({ $inline }) =>\n $inline &&\n css`\n border-top: 1px solid ${colors.gray85};\n border-bottom: 1px solid ${colors.gray85};\n `}\n\n ${GroupRow} + ${GroupRow} > td {\n padding-left: ${tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${2 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${3 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${4 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} ~ ${BodyRow} {\n ${StyledCheckbox} {\n padding-left: 0;\n margin: 0 ${spacing.xs}px;\n }\n\n & > td:first-child {\n padding-left: ${tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${2 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${3 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${4 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${5 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n`\n\nexport const StyledLoadingContainer = styled.div`\n cursor: default;\n align-items: center;\n background: ${colors.gray96};\n display: flex;\n height: 100%;\n justify-content: center;\n opacity: 0.9;\n position: absolute;\n width: 100%;\n z-index: 2;\n`\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,YAAY,QAAQ,0BAA0B;AAC3E,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,wBAAwB,EACxBC,4BAA4B,EAC5BC,sBAAsB,QACjB,+BAA+B;AACtC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,KAAK,QAAQ,UAAU;AAChC,SAASC,MAAM,QAAQ,WAAW;AAClC,SACEC,iBAAiB,EACjBC,uBAAuB,EACvBC,qBAAqB,QAChB,yBAAyB;AAChC,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,mBAAmB,EACnBC,iBAAiB,QACZ,iCAAiC;AACxC,SAASC,MAAM,QAAQ,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C,GAAGvH,8BAA8B,GAClDF,4BAA4B,CAGjC;AAED,OAAO,IAAMiI,sBAAsB,gBAAG/J,MAAM,CAACwE,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8JAGhC3D,MAAM,CAACmB,MAAM,CAQ5B"}
|
|
1
|
+
{"version":3,"file":"Table.styles.js","names":["CaretDown","CaretUp","ChevronRight","styled","css","Card","Checkbox","StyledDateInputDelimiter","StyledDateInputIconContainer","StyledDateInputSegment","DateSelect","Input","Select","StyledSelectArrow","StyledSelectButtonLabel","StyledSelectClearIcon","TextArea","getTypographyIntent","typographyWeights","colors","getFocus","spacing","tableBgColor","white","tableBorderRadius","tableBorderStyle","tableBorderWidth","tableBorderColor","gray85","tableBorder","concat","tableGroupRowBgColor","gray98","tableGroupBodyRowIndentation","md","tableGroupHeaderRowIndentation","xl","tableHeaderBgColor","gray96","tableHeaderBgColorHover","gray94","tableHeaderBgColorActive","tableHeaderBorderColor","gray90","tableHeaderBorderRight","tableHeaderFontColor","gray30","tableHeaderFontColorActive","gray15","tableHeaderFontWeight","semibold","tableHeaderHeight","tableHeaderPadding","lg","tableSortFontColor","gray70","tableSortFontColorHover","gray45","tableSortFontColorActive","blue50","tableCellTextColor","tableCellIconColor","tableCellInputPlaceholderColor","tableCellInputBorder","tableCellInputRowHoverBgColor","tableCellInputFocusBgColor","tableCellInputHoverBgColor","blue94","tableCellInputFocusBorder","tableCellInputErrorBgColor","red98","tableCellInputErrorBorder","red50","tableRowBorderBottom","StyledTableHeaderCellSortableContainer","div","withConfig","displayName","componentId","StyledTableHeaderCellLabel","StyledCheckbox","StyledTableBodyCell","td","_ref","$snugfit","StyledTableHeaderCell","th","_ref2","$sortable","StyledTableHeaderCellSortIconAsc","StyledTableHeaderCellSortIconDesc","_ref3","$sortOrder","_ref4","_ref5","_ref6","StyledTableHeaderCellIconWrapper","sm","StyledHead","thead","StyledCaratWrapper","xs","StyledCarat","_ref7","$expanded","cellInputCSS","blue40","StyledTableCellSelect","_ref8","$hasClearIcon","_ref9","_ref9$$placeholder","$placeholder","_ref10","_ref10$$placeholder","_ref11","loading","StyledTableCellInput","StyledTableCellDateInput","_ref12","error","StyledTableCellTextArea","xxl","_ref13","$resizable","StyledTableCellText","_ref14","$percent","$currency","StyledIconCell","StyledSelectCellWrapper","StyledTableInlineEditErrorBox","_ref15","$size","sizes","block","StyledTableInlineEditContainer","_ref16","$error","_ref17","StyledTableBodyRow","tr","_ref18","$overdue","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","span","StyledTableGroupRow","_ref19","$depth","StyledTableWrapper","_ref20","$withShelf","BodyRow","GroupRow","StyledTable","table","_ref21","$fixed","_ref22","$inline","StyledLoadingContainer"],"sources":["../../src/Table/Table.styles.ts"],"sourcesContent":["import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Card } from '../Card'\nimport { Checkbox } from '../Checkbox'\nimport {\n StyledDateInputDelimiter,\n StyledDateInputIconContainer,\n StyledDateInputSegment,\n} from '../DateInput/DateInput.styles'\nimport { DateSelect } from '../DateSelect'\nimport { Input } from '../Input'\nimport { Select } from '../Select'\nimport {\n StyledSelectArrow,\n StyledSelectButtonLabel,\n StyledSelectClearIcon,\n} from '../Select/Select.styles'\nimport { TextArea } from '../TextArea'\nimport {\n getTypographyIntent,\n typographyWeights,\n} from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\nimport { InputCellSize, TableColumnSortOrder } from './Table.types'\n\nconst tableBgColor = colors.white\nconst tableBorderRadius = 4\nconst tableBorderStyle = 'solid'\nconst tableBorderWidth = 1\nconst tableBorderColor = colors.gray85\nconst tableBorder = `${tableBorderWidth}px ${tableBorderStyle} ${tableBorderColor}`\n\nconst tableGroupRowBgColor = colors.gray98\nconst tableGroupBodyRowIndentation = spacing.md\nconst tableGroupHeaderRowIndentation = spacing.xl\n\nconst tableHeaderBgColor = colors.gray96\nconst tableHeaderBgColorHover = colors.gray94\nconst tableHeaderBgColorActive = colors.gray94\nconst tableHeaderBorderColor = colors.gray90\nconst tableHeaderBorderRight = `${tableBorderWidth}px ${tableBorderStyle} ${tableHeaderBorderColor}`\n\nconst tableHeaderFontColor = colors.gray30\nconst tableHeaderFontColorActive = colors.gray15\nconst tableHeaderFontWeight = typographyWeights.semibold\nconst tableHeaderHeight = 48\nconst tableHeaderPadding = spacing.lg\n\nconst tableSortFontColor = colors.gray70\nconst tableSortFontColorHover = colors.gray45\nconst tableSortFontColorActive = colors.blue50\n\nconst tableCellTextColor = colors.gray15\nconst tableCellIconColor = colors.gray45\nconst tableCellInputPlaceholderColor = colors.gray70\nconst tableCellInputBorder = '1px solid transparent'\nconst tableCellInputRowHoverBgColor = colors.gray96\nconst tableCellInputFocusBgColor = colors.white\nconst tableCellInputHoverBgColor = colors.blue94\nconst tableCellInputFocusBorder = `1px solid ${colors.blue50}`\nconst tableCellInputErrorBgColor = colors.red98\nconst tableCellInputErrorBorder = `1px solid ${colors.red50}`\n\nconst tableRowBorderBottom = css`\n border-bottom: ${tableBorder};\n\n &:last-child {\n border-bottom: 0;\n }\n`\n\nexport const StyledTableHeaderCellSortableContainer = styled.div``\n\nexport const StyledTableHeaderCellLabel = styled.div`\n display: inline-block;\n flex: 1 1 auto;\n position: relative;\n`\n\nexport const StyledCheckbox = styled(Checkbox)``\n\nexport const StyledTableBodyCell = styled.td<{ $snugfit: boolean }>`\n position: relative;\n vertical-align: middle;\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n white-space: nowrap;\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCell = styled.th<{\n $sortable: boolean\n $snugfit: boolean\n $sortOrder?: TableColumnSortOrder\n}>`\n ${getTypographyIntent('small')}\n font-weight: ${tableHeaderFontWeight};\n border-right: ${tableHeaderBorderRight};\n color: ${tableHeaderFontColor};\n height: ${tableHeaderHeight}px;\n padding: ${tableHeaderPadding}px;\n position: relative;\n text-align: left;\n transition: background-color 0.2s ease-in-out;\n\n &:last-child {\n border-right: 0;\n }\n\n ${StyledTableHeaderCellSortableContainer} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableHeaderCellSortableContainer} {\n ${StyledTableHeaderCellLabel} {\n min-height: 14px;\n }\n }\n\n ${({ $sortable }) =>\n $sortable &&\n css`\n cursor: pointer;\n padding: ${spacing.lg}px;\n\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n color: ${tableSortFontColor};\n opacity: 0;\n transition: all 0.15s ease-in-out;\n position: absolute;\n }\n\n ::before,\n ::after {\n font-size: 16px;\n }\n\n &:hover {\n background-color: ${tableHeaderBgColorHover};\n\n ${StyledTableHeaderCellSortIconAsc} {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $sortOrder }) =>\n ($sortOrder === 'asc' || $sortOrder === 'desc') &&\n css`\n background-color: ${tableHeaderBgColorActive};\n color: ${tableHeaderFontColorActive};\n\n &::before,\n &::after,\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n opacity: 1;\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'asc' &&\n css`\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorActive};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorHover};\n }\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'desc' &&\n css`\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n\n &:hover {\n ${StyledTableHeaderCellSortIconAsc},\n &::before {\n color: ${tableSortFontColorHover};\n }\n ${StyledTableHeaderCellSortIconDesc},\n &::after {\n color: ${tableSortFontColorActive};\n }\n }\n `}\n\n ${({ $snugfit }) =>\n $snugfit &&\n css`\n width: 0.1%;\n `}\n`\n\nexport const StyledTableHeaderCellIconWrapper = styled.div`\n height: 20px;\n line-height: 20px;\n padding: 0 ${spacing.lg}px 0 ${spacing.sm}px;\n width: 20px;\n`\n\nexport const StyledTableHeaderCellSortIconAsc = styled(CaretUp)`\n margin-top: -${spacing.sm}px;\n`\n\nexport const StyledTableHeaderCellSortIconDesc = styled(CaretDown)``\n\nexport const StyledHead = styled.thead`\n background-color: ${tableHeaderBgColor};\n transition: background-color 0.2s ease-in-out;\n ${tableRowBorderBottom}\n\n &:hover {\n ${StyledTableHeaderCell} {\n ${StyledTableHeaderCellSortIconAsc},\n ${StyledTableHeaderCellSortIconDesc} {\n &::after,\n &::before {\n opacity: 1;\n }\n }\n }\n }\n`\n\nexport const StyledCaratWrapper = styled.div`\n font-size: 16px;\n color: ${colors.gray70};\n padding-right: ${spacing.xs}px;\n transition: all 0.2s ease-in-out;\n\n & + ${StyledCheckbox} {\n margin: 0 ${spacing.xs}px;\n }\n`\n\nexport const StyledCarat = styled(ChevronRight)<{ $expanded: boolean }>`\n ${({ $expanded }) =>\n $expanded &&\n css`\n transform: rotate(90deg);\n `}\n`\n\nconst cellInputCSS = css`\n // Define particular color, simply not to rely on browser's choice of transparent value\n // https://stackoverflow.com/questions/46309641/what-happens-in-safari-with-the-transparent-color\n background-color: rgba(255, 255, 255, 0);\n\n &&& {\n border: ${tableCellInputBorder};\n border-radius: 4px;\n width: 100%;\n\n &::placeholder {\n color: ${tableCellInputPlaceholderColor};\n }\n\n &::-ms-clear {\n display: none;\n }\n\n &:hover {\n border-color: transparent;\n }\n\n &:focus {\n /**\n focus background overrides everything, so it is the only cell-defined background style.\n the rest come from StyledInlineEditContainer\n */\n background-color: ${colors.white};\n border-style: solid;\n border-width: 1px;\n border-color: ${colors.blue40};\n box-shadow: 0 0 0 1px ${colors.blue40};\n outline: none;\n }\n\n &:disabled {\n border: ${tableCellInputBorder};\n color: ${colors.gray70};\n }\n }\n`\n\nexport const StyledTableCellSelect = styled(Select)<{\n $hasClearIcon: boolean\n $placeholder: boolean\n}>`\n ${cellInputCSS};\n\n background-color: transparent;\n border-color: transparent;\n height: auto;\n\n &:hover {\n background-color: transparent;\n }\n\n &:active:hover {\n border-color: ${colors.gray85};\n }\n\n &:focus {\n background-color: ${colors.white};\n cursor: pointer;\n ${getFocus()}\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n\n ${StyledSelectArrow} {\n opacity: 1;\n pointer-events: all;\n }\n\n ${({ $hasClearIcon }) =>\n $hasClearIcon &&\n css`\n ${StyledSelectClearIcon} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n }\n\n ${StyledSelectButtonLabel} {\n white-space: normal;\n }\n\n ${StyledSelectArrow}, ${StyledSelectClearIcon} {\n opacity: 0;\n pointer-events: none;\n }\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledSelectButtonLabel} {\n opacity: 0;\n pointer-events: none;\n }\n `}\n\n ${({ loading }) =>\n loading &&\n css`\n background-color: ${colors.white};\n border-color: ${colors.gray85};\n\n ${StyledSelectButtonLabel} {\n white-space: nowrap;\n }\n `}\n`\nexport const StyledTableCellInput = styled(Input)`\n ${cellInputCSS}\n`\nexport const StyledTableCellDateInput = styled(DateSelect)`\n background-color: transparent;\n border-color: transparent;\n\n &:active:hover {\n border-color: ${colors.gray45};\n }\n\n // increase specificity to avoid border re-style\n &&&:focus-within {\n ${getFocus()};\n background-color: ${colors.white};\n }\n\n ${({ error }) =>\n error &&\n css`\n border-color: ${colors.red50};\n `}\n\n ${StyledDateInputIconContainer} {\n opacity: 0;\n }\n\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 0;\n }\n }\n\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 0;\n }\n }\n\n &:focus-within {\n ${StyledDateInputIconContainer} {\n opacity: 1;\n }\n ${StyledDateInputDelimiter} {\n &[data-qa-table-visible='false'] {\n opacity: 1;\n }\n }\n ${StyledDateInputSegment} {\n &[data-placeholder='true'] {\n opacity: 1;\n }\n }\n }\n`\n\nexport const StyledTableCellTextArea = styled(TextArea)<{\n $resizable: boolean\n}>`\n ${cellInputCSS}\n && {\n height: ${spacing.xxl}px;\n min-height: ${spacing.xxl}px;\n overflow: hidden;\n padding-top: ${spacing.xs}px;\n resize: none;\n width: 100%;\n\n ${({ $resizable }) =>\n $resizable &&\n css`\n &:focus {\n min-height: 64px;\n overflow: auto;\n resize: vertical;\n }\n `}\n }\n`\n\nexport const StyledTableCellText = styled.div<{\n $percent?: boolean\n $currency?: boolean\n}>`\n margin: ${spacing.lg}px;\n display: flex;\n color: ${tableCellTextColor};\n\n ${({ $percent, $currency }) =>\n ($percent || $currency) &&\n css`\n justify-content: flex-end;\n `}\n`\n\nexport const StyledIconCell = styled.div`\n display: flex;\n color: ${tableCellIconColor};\n`\n\nexport const StyledSelectCellWrapper = styled.div`\n display: flex;\n flex-direction: column;\n`\n\nexport const StyledTableInlineEditErrorBox = styled.div<{\n $size?: InputCellSize\n}>`\n ${getTypographyIntent('small')}\n color: ${colors.white};\n font-style: italic;\n background: ${colors.red50};\n border-radius: 0 2px 2px 2px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);\n padding: 6px ${spacing.md}px;\n position: absolute;\n max-width: 160px;\n z-index: 1;\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n min-width: ${sizes[$size]}px;\n `\n }}\n`\n\ninterface StyledTableInlineEditContainerProps {\n $disabled?: boolean\n $error?: boolean\n $size: InputCellSize\n}\n\nexport const StyledTableInlineEditContainer = styled.div<StyledTableInlineEditContainerProps>`\n background-color: ${tableBgColor};\n margin: ${spacing.sm}px ${spacing.xs}px;\n position: relative;\n\n ${({ $error }) =>\n $error &&\n css`\n position: static;\n background-color: ${tableCellInputErrorBgColor};\n\n ${StyledTableCellDateInput},\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-radius: 4px 4px 0 0;\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n background-color: ${tableCellInputFocusBgColor};\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n `}\n\n ${({ $size }) => {\n const sizes: Record<InputCellSize, number | null> = {\n xs: 36,\n sm: 48,\n md: 80,\n lg: 112,\n block: null,\n xl: null,\n }\n\n if ($size === 'block') {\n return css`\n position: relative;\n\n ${StyledTableInlineEditErrorBox} {\n width: 100%;\n max-width: 100%;\n }\n `\n }\n\n if (!$size || !sizes[$size]) {\n return ''\n }\n\n return css`\n width: ${sizes[$size]}px;\n `\n }}\n`\n\nexport const StyledTableBodyRow = styled.tr<{\n $overdue: boolean\n}>`\n ${tableRowBorderBottom}\n\n ${({ $overdue }) =>\n $overdue &&\n css`\n ${StyledTableCellText},\n ${StyledTableCellSelect},\n ${StyledTableCellInput},\n ${StyledTableCellDateInput},\n ${StyledTableCellTextArea} {\n color: ${colors.red50};\n }\n `}\n\n &:focus-within {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n\n &.disabled {\n background-color: transparent;\n }\n }\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n }\n }\n\n &:hover {\n ${StyledTableInlineEditContainer} {\n background-color: ${tableCellInputRowHoverBgColor};\n cursor: pointer;\n\n &:hover {\n background-color: ${tableCellInputHoverBgColor};\n }\n\n &.disabled {\n &,\n &:hover {\n background-color: transparent;\n cursor: default;\n }\n }\n }\n\n ${StyledTableInlineEditContainer}.error {\n background-color: ${tableCellInputErrorBgColor};\n\n &:hover {\n background-color: ${tableCellInputErrorBgColor};\n }\n\n ${StyledTableCellInput},\n ${StyledTableCellSelect},\n ${StyledTableCellTextArea} {\n border: ${tableCellInputErrorBorder};\n border-bottom: none;\n\n &:hover {\n border-bottom: none;\n }\n\n &:focus {\n border: ${tableCellInputFocusBorder};\n border-bottom: none;\n }\n }\n }\n }\n`\n\nexport const StyledTableGroupRowContent = styled.div``\n\nexport const StyledTableGroupRowHeader = styled.div``\n\nexport const StyledTableGroupRowTitle = styled.span``\n\nexport const StyledTableGroupRow = styled.tr<{ $depth?: number | boolean }>`\n background-color: ${tableGroupRowBgColor};\n ${tableRowBorderBottom}\n\n ${StyledTableGroupRowContent} {\n margin-left: ${spacing.lg}px;\n padding: ${spacing.lg}px 0;\n display: flex;\n flex-direction: row;\n }\n\n ${StyledTableGroupRowHeader} {\n display: flex;\n align-items: center;\n }\n\n ${StyledTableGroupRowTitle} {\n font-weight: ${tableHeaderFontWeight};\n padding-left: ${spacing.lg}px;\n }\n\n ${({ $depth }) => {\n if (typeof $depth !== 'number') {\n return ''\n }\n\n return css`\n > td {\n padding-left: ${$depth * tableGroupHeaderRowIndentation}px !important;\n }\n\n ~ ${StyledTableBodyRow} {\n > td:first-child {\n padding-left: ${($depth + 1) * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px !important;\n }\n }\n `\n }}\n`\n\nexport const StyledTableWrapper = styled(Card)<{ $withShelf: boolean }>`\n border-radius: ${tableBorderRadius}px;\n border: ${tableBorder};\n\n ${StyledHead}, tbody {\n &:first-child {\n tr:first-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-top-left-radius: ${tableBorderRadius}px;\n }\n\n &:last-child {\n border-top-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n\n &:last-child {\n tr:last-child {\n ${StyledTableHeaderCell}, td {\n &:first-child {\n border-bottom-left-radius: ${tableBorderRadius}px;\n }\n &:last-child {\n border-bottom-right-radius: ${tableBorderRadius}px;\n }\n }\n }\n }\n }\n\n ${({ $withShelf }) =>\n $withShelf &&\n css`\n position: relative;\n height: 100%;\n `}\n`\n\nconst BodyRow = StyledTableBodyRow\n\nconst GroupRow = StyledTableGroupRow\n\nexport const StyledTable = styled.table<{ $inline?: boolean; $fixed: boolean }>`\n background-color: ${tableBgColor};\n border-collapse: collapse;\n border-radius: ${tableBorderRadius}px;\n ${getTypographyIntent('body')}\n width: 100%;\n\n td:first-child ${StyledCheckbox} {\n padding-left: ${spacing.lg}px;\n }\n\n ${StyledTableGroupRow} ${StyledCaratWrapper} + ${StyledCheckbox} {\n margin-left: ${spacing.xs}px;\n padding-left: 0;\n }\n\n ${({ $fixed }) =>\n $fixed &&\n css`\n table-layout: fixed;\n `}\n\n ${({ $inline }) =>\n $inline &&\n css`\n border-top: 1px solid ${colors.gray85};\n border-bottom: 1px solid ${colors.gray85};\n `}\n\n ${GroupRow} + ${GroupRow} > td {\n padding-left: ${tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${2 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${3 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} > td {\n padding-left: ${4 * tableGroupHeaderRowIndentation}px;\n }\n\n ${GroupRow} ~ ${BodyRow} {\n ${StyledCheckbox} {\n padding-left: 0;\n margin: 0 ${spacing.xs}px;\n }\n\n & > td:first-child {\n padding-left: ${tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${2 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${3 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${4 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n\n ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} + ${GroupRow} ~ ${BodyRow} {\n & > td:first-child {\n padding-left: ${5 * tableGroupHeaderRowIndentation +\n tableGroupBodyRowIndentation}px;\n }\n }\n`\n\nexport const StyledLoadingContainer = styled.div`\n cursor: default;\n align-items: center;\n background: ${colors.gray96};\n display: flex;\n height: 100%;\n justify-content: center;\n opacity: 0.9;\n position: absolute;\n width: 100%;\n z-index: 2;\n`\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,OAAO,EAAEC,YAAY,QAAQ,qBAAqB;AACtE,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,IAAI,QAAQ,SAAS;AAC9B,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,wBAAwB,EACxBC,4BAA4B,EAC5BC,sBAAsB,QACjB,+BAA+B;AACtC,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,KAAK,QAAQ,UAAU;AAChC,SAASC,MAAM,QAAQ,WAAW;AAClC,SACEC,iBAAiB,EACjBC,uBAAuB,EACvBC,qBAAqB,QAChB,yBAAyB;AAChC,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,mBAAmB,EACnBC,iBAAiB,QACZ,iCAAiC;AACxC,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;AAG5C,IAAMC,YAAY,GAAGH,MAAM,CAACI,KAAK;AACjC,IAAMC,iBAAiB,GAAG,CAAC;AAC3B,IAAMC,gBAAgB,GAAG,OAAO;AAChC,IAAMC,gBAAgB,GAAG,CAAC;AAC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 112, 0.1)';
|
|
5
5
|
export var StyledShelf = /*#__PURE__*/styled.div.withConfig({
|
|
6
6
|
displayName: "StyledShelf",
|
|
7
|
-
componentId: "core-
|
|
7
|
+
componentId: "core-11_23_2__sc-a6498a-0"
|
|
8
8
|
})(["position:absolute;right:0;top:0;bottom:0;box-shadow:", ";background-color:", ";"], tableShelfShadow, colors.white);
|
|
9
9
|
export var StyledHead = /*#__PURE__*/styled.div.withConfig({
|
|
10
10
|
displayName: "StyledHead",
|
|
11
|
-
componentId: "core-
|
|
11
|
+
componentId: "core-11_23_2__sc-a6498a-1"
|
|
12
12
|
})(["background-color:", ";transition:background-color 0.2s ease-in-out;"], colors.gray96);
|
|
13
13
|
export var StyledBodyRow = /*#__PURE__*/styled.div.withConfig({
|
|
14
14
|
displayName: "StyledBodyRow",
|
|
15
|
-
componentId: "core-
|
|
15
|
+
componentId: "core-11_23_2__sc-a6498a-2"
|
|
16
16
|
})(["border-top:1px solid ", ";transition:background-color 0.2s ease-in-out;"], colors.gray85);
|
|
17
17
|
export var StyledHeadCell = /*#__PURE__*/styled.div.withConfig({
|
|
18
18
|
displayName: "StyledHeadCell",
|
|
19
|
-
componentId: "core-
|
|
19
|
+
componentId: "core-11_23_2__sc-a6498a-3"
|
|
20
20
|
})(["text-align:left;padding:", "px;line-height:13px;"], spacing.lg);
|
|
21
21
|
export var StyledBodyCell = /*#__PURE__*/styled.div.withConfig({
|
|
22
22
|
displayName: "StyledBodyCell",
|
|
23
|
-
componentId: "core-
|
|
23
|
+
componentId: "core-11_23_2__sc-a6498a-4"
|
|
24
24
|
})(["padding:", "px;line-height:13px;"], spacing.lg);
|
|
25
25
|
//# sourceMappingURL=TableShelf.styles.js.map
|
package/dist/Tabs/Tabs.styles.js
CHANGED
|
@@ -10,15 +10,15 @@ var hiddenTab = /*#__PURE__*/css(["pointer-events:none;position:absolute;visibil
|
|
|
10
10
|
var visible = /*#__PURE__*/css(["pointer-events:all;position:relative;visibility:visible;"]);
|
|
11
11
|
export var StyledLink = /*#__PURE__*/styled.span.withConfig({
|
|
12
12
|
displayName: "StyledLink",
|
|
13
|
-
componentId: "core-
|
|
13
|
+
componentId: "core-11_23_2__sc-17s58xs-0"
|
|
14
14
|
})(["align-items:center;border-bottom-style:solid;border-bottom-color:transparent;border-bottom-width:2px;display:inline-flex;height:26px;justify-content:center;"]);
|
|
15
15
|
export var StyledTab = /*#__PURE__*/styled.div.withConfig({
|
|
16
16
|
displayName: "StyledTab",
|
|
17
|
-
componentId: "core-
|
|
17
|
+
componentId: "core-11_23_2__sc-17s58xs-1"
|
|
18
18
|
})(["align-items:center;cursor:pointer;display:inline-flex;flex:0 0 auto;justify-content:center;padding:0 ", "px;position:relative;white-space:nowrap;a&{text-decoration:none;}button&{background-color:transparent;border:none;font-family:inherit;}&:first-child{padding-left:0;}&:last-child{padding-right:0;}&:not(:last-child){&:focus{outline:none;", "{box-shadow:inset 0 0 0 1px ", ";}}}"], tabGap, StyledLink, colors.blue40);
|
|
19
19
|
export var StyledTabInner = /*#__PURE__*/styled.div.withConfig({
|
|
20
20
|
displayName: "StyledTabInner",
|
|
21
|
-
componentId: "core-
|
|
21
|
+
componentId: "core-11_23_2__sc-17s58xs-2"
|
|
22
22
|
})(["", " > a{text-decoration:none;", "}", ""], getTypographyIntent('body'), focusable, function (_ref) {
|
|
23
23
|
var active = _ref.active,
|
|
24
24
|
dark = _ref.dark;
|
|
@@ -38,23 +38,23 @@ export var StyledTabInner = /*#__PURE__*/styled.div.withConfig({
|
|
|
38
38
|
});
|
|
39
39
|
export var StyledDropdownTab = /*#__PURE__*/styled(StyledTab).withConfig({
|
|
40
40
|
displayName: "StyledDropdownTab",
|
|
41
|
-
componentId: "core-
|
|
41
|
+
componentId: "core-11_23_2__sc-17s58xs-3"
|
|
42
42
|
})(["cursor:pointer;", " ", " ", " margin-left:", "px;", "{margin-right:", "px;}"], getUnstyledButton, focusable, hiddenTab, tabGap, StyledLink, spacing.xs);
|
|
43
43
|
export var StyledDropdownTabInner = /*#__PURE__*/styled(StyledTabInner).withConfig({
|
|
44
44
|
displayName: "StyledDropdownTabInner",
|
|
45
|
-
componentId: "core-
|
|
45
|
+
componentId: "core-11_23_2__sc-17s58xs-4"
|
|
46
46
|
})(["align-items:center;cursor:pointer;display:inline-flex;"]);
|
|
47
47
|
export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
|
|
48
48
|
displayName: "StyledOverlay",
|
|
49
|
-
componentId: "core-
|
|
49
|
+
componentId: "core-11_23_2__sc-17s58xs-5"
|
|
50
50
|
})(["max-height:40vh;", "{color:", ";}", "{margin:-", "px -", "px;padding:", "px ", "px;}[data-selected='true']{", ",", " > a{color:", ";font-weight:", ";}}", "{border:0;height:auto;}"], StyledTabInner, colors.gray45, StyledTab, spacing.sm, spacing.lg, spacing.sm, spacing.lg, StyledTabInner, StyledTabInner, colors.blue50, typographyWeights.semibold, StyledLink);
|
|
51
51
|
export var StyledTabList = /*#__PURE__*/styled.div.withConfig({
|
|
52
52
|
displayName: "StyledTabList",
|
|
53
|
-
componentId: "core-
|
|
53
|
+
componentId: "core-11_23_2__sc-17s58xs-6"
|
|
54
54
|
})(["display:flex;width:100%;"]);
|
|
55
55
|
export var StyledTabs = /*#__PURE__*/styled.nav.withConfig({
|
|
56
56
|
displayName: "StyledTabs",
|
|
57
|
-
componentId: "core-
|
|
57
|
+
componentId: "core-11_23_2__sc-17s58xs-7"
|
|
58
58
|
})(["background-color:", ";display:flex;overflow:hidden;width:100%;", "{&:nth-child(1n + ", "){&:not(", "){", "}}}", ""], function (_ref2) {
|
|
59
59
|
var dark = _ref2.dark;
|
|
60
60
|
return dark && colors.gray15;
|
|
@@ -47,7 +47,7 @@ var getSlideOutAnimation = function getSlideOutAnimation($placement) {
|
|
|
47
47
|
};
|
|
48
48
|
export var StyledTearsheetContent = /*#__PURE__*/styled.div.withConfig({
|
|
49
49
|
displayName: "StyledTearsheetContent",
|
|
50
|
-
componentId: "core-
|
|
50
|
+
componentId: "core-11_23_2__sc-ljrxoq-0"
|
|
51
51
|
})(["display:flex;z-index:2;width:100%;", " ", " ", " ", ""], function (_ref) {
|
|
52
52
|
var $open = _ref.$open,
|
|
53
53
|
$placement = _ref.$placement;
|
|
@@ -67,7 +67,7 @@ export var StyledTearsheetContent = /*#__PURE__*/styled.div.withConfig({
|
|
|
67
67
|
export var minScrimSize = spacing.xxl * 3;
|
|
68
68
|
export var StyledTearsheetBody = /*#__PURE__*/styled.div.withConfig({
|
|
69
69
|
displayName: "StyledTearsheetBody",
|
|
70
|
-
componentId: "core-
|
|
70
|
+
componentId: "core-11_23_2__sc-ljrxoq-1"
|
|
71
71
|
})(["display:flex;overflow-y:auto;flex-direction:column;background-color:", ";", " ", "}"], colors.white, function (_ref5) {
|
|
72
72
|
var $placement = _ref5.$placement,
|
|
73
73
|
$stretch = _ref5.$stretch;
|
|
@@ -87,7 +87,7 @@ var zoomIn = /*#__PURE__*/keyframes(["from{transform:scale(0);}to{transform:scal
|
|
|
87
87
|
var zoomOut = /*#__PURE__*/keyframes(["from{transform:scale(1);}to{transform:scale(0);}"]);
|
|
88
88
|
export var StyledScrimContainer = /*#__PURE__*/styled.div.withConfig({
|
|
89
89
|
displayName: "StyledScrimContainer",
|
|
90
|
-
componentId: "core-
|
|
90
|
+
componentId: "core-11_23_2__sc-ljrxoq-2"
|
|
91
91
|
})(["", ""], function (_ref7) {
|
|
92
92
|
var $placement = _ref7.$placement;
|
|
93
93
|
var minSizeProp = ['top', 'bottom'].includes($placement) ? 'min-height' : 'min-width';
|
|
@@ -95,7 +95,7 @@ export var StyledScrimContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
95
95
|
});
|
|
96
96
|
export var StyledButtonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
97
97
|
displayName: "StyledButtonContainer",
|
|
98
|
-
componentId: "core-
|
|
98
|
+
componentId: "core-11_23_2__sc-ljrxoq-3"
|
|
99
99
|
})(["", ""], function (_ref8) {
|
|
100
100
|
var $placement = _ref8.$placement;
|
|
101
101
|
switch ($placement) {
|
|
@@ -110,7 +110,7 @@ export var StyledButtonContainer = /*#__PURE__*/styled.div.withConfig({
|
|
|
110
110
|
});
|
|
111
111
|
export var StyledButtonCard = /*#__PURE__*/styled(Card).withConfig({
|
|
112
112
|
displayName: "StyledButtonCard",
|
|
113
|
-
componentId: "core-
|
|
113
|
+
componentId: "core-11_23_2__sc-ljrxoq-4"
|
|
114
114
|
})(["display:inline-flex;margin:", "px;", " ", " ", ""], spacing.xl, function (_ref9) {
|
|
115
115
|
var $open = _ref9.$open;
|
|
116
116
|
return $open ? css(["transform:scale(1);"]) : css(["transform:scale(0);"]);
|
|
@@ -3,7 +3,7 @@ import { getInputStyles } from '../Input/Input.styles';
|
|
|
3
3
|
import { spacing } from '../_styles/spacing';
|
|
4
4
|
export var StyledTextArea = /*#__PURE__*/styled.textarea.withConfig({
|
|
5
5
|
displayName: "StyledTextArea",
|
|
6
|
-
componentId: "core-
|
|
6
|
+
componentId: "core-11_23_2__sc-u5mow1-0"
|
|
7
7
|
})(["", " min-height:64px;padding:", "px ", "px;resize:", ";"], getInputStyles, spacing.sm, spacing.md, function (_ref) {
|
|
8
8
|
var _ref$resize = _ref.resize,
|
|
9
9
|
resize = _ref$resize === void 0 ? 'both' : _ref$resize;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
export var StyledEditor = /*#__PURE__*/styled.div.withConfig({
|
|
3
3
|
displayName: "StyledEditor",
|
|
4
|
-
componentId: "core-
|
|
4
|
+
componentId: "core-11_23_2__sc-1lje1b0-0"
|
|
5
5
|
})(["> .tox-tinymce{border:none;}"]);
|
|
6
6
|
//# sourceMappingURL=TextEditorOutput.styles.js.map
|