@procore/core-react 12.43.0 → 12.44.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.
Files changed (192) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +4 -4
  3. package/dist/AnchorNavigation/AnchorNavigationProvider.js +11 -0
  4. package/dist/AnchorNavigation/AnchorNavigationProvider.js.map +1 -1
  5. package/dist/Avatar/Avatar.styles.js +5 -5
  6. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  7. package/dist/Badge/Badge.styles.js +2 -2
  8. package/dist/BadgePill/BadgePill.styles.js +4 -4
  9. package/dist/Banner/Banner.styles.js +10 -10
  10. package/dist/Box/Box.styles.js +1 -1
  11. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  12. package/dist/Button/Button.styles.js +5 -5
  13. package/dist/Calendar/Calendar.styles.js +9 -9
  14. package/dist/Card/Card.styles.js +1 -1
  15. package/dist/Checkbox/Checkbox.styles.js +6 -6
  16. package/dist/ContactItem/ContactItem.styles.js +5 -5
  17. package/dist/Content/Content.styles.js +2 -2
  18. package/dist/DateInput/DateInput.styles.js +6 -6
  19. package/dist/DetailPage/DetailPage.styles.js +7 -7
  20. package/dist/Dropdown/Dropdown.styles.js +3 -3
  21. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  22. package/dist/Dropzone/Dropzone.js +1 -1
  23. package/dist/Dropzone/Dropzone.styles.js +9 -9
  24. package/dist/EmptyState/EmptyState.styles.js +6 -6
  25. package/dist/Field/Field.styles.js +3 -3
  26. package/dist/FileList/FileList.styles.js +3 -3
  27. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  28. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  29. package/dist/FileSelect/FileSelect.styles.js +2 -2
  30. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  31. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  32. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  33. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  34. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  35. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  36. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  37. package/dist/FileToken/FileToken.styles.js +6 -6
  38. package/dist/FilterToken/FilterToken.styles.js +5 -5
  39. package/dist/FlexList/FlexList.styles.js +1 -1
  40. package/dist/Form/Form.styles.js +13 -13
  41. package/dist/Form/StyledFormikForm.styles.js +2 -2
  42. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  43. package/dist/Grid/Grid.styles.js +2 -2
  44. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  45. package/dist/Input/Input.styles.js +1 -1
  46. package/dist/Link/Link.styles.js +1 -1
  47. package/dist/ListPage/ListPage.styles.js +8 -8
  48. package/dist/Loader/Loader.styles.js +2 -2
  49. package/dist/MenuImperative/MenuImperative.styles.js +11 -11
  50. package/dist/Modal/Modal.styles.js +13 -13
  51. package/dist/MultiSelect/MultiSelect.styles.js +8 -8
  52. package/dist/NextMenu/NextMenu.styles.js +3 -3
  53. package/dist/Notation/Notation.js +1 -1
  54. package/dist/NumberInput/NumberInput.styles.js +7 -7
  55. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  56. package/dist/PageLayout/PageLayout.styles.js +16 -16
  57. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  58. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  59. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  60. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  61. package/dist/Pagination/Pagination.styles.js +5 -5
  62. package/dist/Panel/Panel.styles.js +11 -11
  63. package/dist/Pill/Pill.styles.js +3 -3
  64. package/dist/PillSelect/PillSelect.styles.js +4 -4
  65. package/dist/Popover/Popover.styles.js +2 -2
  66. package/dist/Portal/Portal.styles.js +1 -1
  67. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  68. package/dist/RadioButton/RadioButton.styles.js +3 -3
  69. package/dist/Required/Required.styles.js +3 -3
  70. package/dist/Search/Search.styles.js +5 -5
  71. package/dist/Section/Section.styles.js +7 -7
  72. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  73. package/dist/Select/Select.styles.js +8 -8
  74. package/dist/Semantic/Semantic.styles.js +9 -9
  75. package/dist/Slider/Slider.styles.js +5 -5
  76. package/dist/Spinner/Spinner.js +3 -1
  77. package/dist/Spinner/Spinner.js.map +1 -1
  78. package/dist/Spinner/Spinner.styles.js +7 -7
  79. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  80. package/dist/SuperSelect/SuperSelect.components.js +8 -1
  81. package/dist/SuperSelect/SuperSelect.components.js.map +1 -1
  82. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  83. package/dist/SuperSelect/SuperSelect.styles.js +39 -39
  84. package/dist/Switch/Switch.styles.js +4 -4
  85. package/dist/Table/Table.js +2 -2
  86. package/dist/Table/Table.js.map +1 -1
  87. package/dist/Table/Table.styles.d.ts +1 -8
  88. package/dist/Table/Table.styles.js +74 -81
  89. package/dist/Table/Table.styles.js.map +1 -1
  90. package/dist/TableShelf/TableShelf.styles.js +5 -5
  91. package/dist/Tabs/Tabs.styles.js +15 -15
  92. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  93. package/dist/TextArea/TextArea.styles.js +1 -1
  94. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  95. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  96. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  97. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  98. package/dist/Tile/Tile.styles.js +8 -8
  99. package/dist/Title/Title.styles.js +7 -7
  100. package/dist/Toast/Toast.styles.js +3 -3
  101. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  102. package/dist/Token/Token.styles.js +3 -3
  103. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  104. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  105. package/dist/Tooltip/Tooltip.styles.js +3 -3
  106. package/dist/Tree/Tree.js +1 -1
  107. package/dist/Tree/Tree.styles.js +10 -10
  108. package/dist/Typeahead/Typeahead.styles.js +3 -3
  109. package/dist/Typography/Typography.styles.js +1 -1
  110. package/dist/Typography/Typography.table.story.js +2 -2
  111. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  112. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  113. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +4 -4
  114. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  115. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  116. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  117. package/dist/_typedoc/Banner/Banner.types.json +15 -15
  118. package/dist/_typedoc/Box/Box.types.json +68 -68
  119. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  120. package/dist/_typedoc/Button/Button.types.json +13 -13
  121. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  122. package/dist/_typedoc/Card/Card.types.json +6 -6
  123. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  124. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  125. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  126. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  127. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  128. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  129. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
  130. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  131. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  132. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  133. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  134. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  135. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  136. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  137. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  138. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  139. package/dist/_typedoc/Form/Form.types.json +760 -760
  140. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  141. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  142. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +54 -54
  143. package/dist/_typedoc/Input/Input.types.json +2 -2
  144. package/dist/_typedoc/Link/Link.types.json +1 -1
  145. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  146. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  147. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +84 -84
  148. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  149. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  150. package/dist/_typedoc/NextTile/NextTile.types.json +32 -32
  151. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  152. package/dist/_typedoc/NumberInput/NumberInput.types.json +48 -48
  153. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  154. package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
  155. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  156. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  157. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  158. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  159. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  160. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  161. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  162. package/dist/_typedoc/Required/Required.types.json +5 -5
  163. package/dist/_typedoc/Search/Search.types.json +18 -18
  164. package/dist/_typedoc/Section/Section.types.json +15 -15
  165. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  166. package/dist/_typedoc/Select/Select.types.json +67 -67
  167. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  168. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  169. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  170. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  171. package/dist/_typedoc/Table/Table.types.json +102 -102
  172. package/dist/_typedoc/Tabs/Tabs.types.json +21 -21
  173. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  174. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  175. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  176. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  177. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  178. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  179. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  180. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  181. package/dist/_typedoc/Title/Title.types.json +1 -1
  182. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  183. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  184. package/dist/_typedoc/Token/Token.types.json +7 -7
  185. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  186. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
  187. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  188. package/dist/_typedoc/Tree/Tree.types.json +88 -88
  189. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  190. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  191. package/dist/_typedoc/_utils/types.json +3 -3
  192. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons';
1
+ import { ArrowUp, ChevronRight } from '@procore/core-icons';
2
2
  import styled, { css } from 'styled-components';
3
3
  import { Button } from '../Button';
4
4
  import { Card } from '../Card';
@@ -48,130 +48,123 @@ var tableCellInputErrorBorder = "1px solid ".concat(colors.red50);
48
48
  var tableRowBorderBottom = /*#__PURE__*/css(["border-bottom:", ";&:last-child{border-bottom:0;}"], tableBorder);
49
49
  export var StyledTableHeaderCellSortableContainer = /*#__PURE__*/styled.div.withConfig({
50
50
  displayName: "StyledTableHeaderCellSortableContainer",
51
- componentId: "core-12_43_0__sc-9c7xd-0"
51
+ componentId: "core-12_44_0__sc-9c7xd-0"
52
52
  })([""]);
53
53
  export var StyledTableHeaderCellLabel = /*#__PURE__*/styled.div.withConfig({
54
54
  displayName: "StyledTableHeaderCellLabel",
55
- componentId: "core-12_43_0__sc-9c7xd-1"
55
+ componentId: "core-12_44_0__sc-9c7xd-1"
56
56
  })(["display:inline-block;flex:1 1 auto;position:relative;"]);
57
57
  export var StyledCheckbox = /*#__PURE__*/styled(Checkbox).withConfig({
58
58
  displayName: "StyledCheckbox",
59
- componentId: "core-12_43_0__sc-9c7xd-2"
59
+ componentId: "core-12_44_0__sc-9c7xd-2"
60
60
  })([""]);
61
61
  export var StyledTableBodyCell = /*#__PURE__*/styled.td.withConfig({
62
62
  displayName: "StyledTableBodyCell",
63
- componentId: "core-12_43_0__sc-9c7xd-3"
63
+ componentId: "core-12_44_0__sc-9c7xd-3"
64
64
  })(["position:relative;vertical-align:middle;", ""], function (_ref) {
65
65
  var $snugfit = _ref.$snugfit;
66
66
  return $snugfit && css(["white-space:nowrap;width:0.1%;"]);
67
67
  });
68
68
  export var StyledTableHeaderCell = /*#__PURE__*/styled.th.withConfig({
69
69
  displayName: "StyledTableHeaderCell",
70
- componentId: "core-12_43_0__sc-9c7xd-4"
71
- })(["", " 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) {
70
+ componentId: "core-12_44_0__sc-9c7xd-4"
71
+ })(["", " 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) {
72
72
  var $sortable = _ref2.$sortable;
73
- 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
+ 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:", ";}"], spacing.lg, StyledTableHeaderCellSortIcon, tableSortFontColor, tableHeaderBgColorHover);
74
74
  }, function (_ref3) {
75
75
  var $sortOrder = _ref3.$sortOrder;
76
- return ($sortOrder === 'asc' || $sortOrder === 'desc') && css(["background-color:", ";color:", ";&::before,&::after,", ",", "{opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
76
+ return ($sortOrder === 'asc' || $sortOrder === 'desc') && css(["background-color:", ";color:", ";", "{color:", ";opacity:1;}"], tableHeaderBgColorActive, tableHeaderFontColorActive, StyledTableHeaderCellSortIcon, tableSortFontColorActive);
77
77
  }, function (_ref4) {
78
78
  var $sortOrder = _ref4.$sortOrder;
79
- return $sortOrder === 'asc' && css(["", ",&::before{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorActive, StyledTableHeaderCellSortIconDesc, tableSortFontColorHover);
79
+ return $sortOrder === 'desc' && css(["", "{transform:scaleY(-1);}"], StyledTableHeaderCellSortIcon);
80
80
  }, function (_ref5) {
81
- var $sortOrder = _ref5.$sortOrder;
82
- return $sortOrder === 'desc' && css(["", ",&::after{color:", ";}&:hover{", ",&::before{color:", ";}", ",&::after{color:", ";}}"], StyledTableHeaderCellSortIconDesc, tableSortFontColorActive, StyledTableHeaderCellSortIconAsc, tableSortFontColorHover, StyledTableHeaderCellSortIconDesc, tableSortFontColorActive);
83
- }, function (_ref6) {
84
- var $snugfit = _ref6.$snugfit;
81
+ var $snugfit = _ref5.$snugfit;
85
82
  return $snugfit && css(["width:0.1%;"]);
86
83
  });
87
84
  export var StyledTableHeaderCellIconWrapper = /*#__PURE__*/styled.div.withConfig({
88
85
  displayName: "StyledTableHeaderCellIconWrapper",
89
- componentId: "core-12_43_0__sc-9c7xd-5"
86
+ componentId: "core-12_44_0__sc-9c7xd-5"
90
87
  })(["height:20px;line-height:20px;padding:0 ", "px 0 ", "px;width:20px;"], spacing.lg, spacing.sm);
91
- export var StyledTableHeaderCellSortIconAsc = /*#__PURE__*/styled(CaretUp).withConfig({
92
- displayName: "StyledTableHeaderCellSortIconAsc",
93
- componentId: "core-12_43_0__sc-9c7xd-6"
94
- })(["margin-top:-", "px;"], spacing.sm);
95
- export var StyledTableHeaderCellSortIconDesc = /*#__PURE__*/styled(CaretDown).withConfig({
96
- displayName: "StyledTableHeaderCellSortIconDesc",
97
- componentId: "core-12_43_0__sc-9c7xd-7"
98
- })([""]);
88
+ export var StyledTableHeaderCellSortIcon = /*#__PURE__*/styled(ArrowUp).withConfig({
89
+ displayName: "StyledTableHeaderCellSortIcon",
90
+ componentId: "core-12_44_0__sc-9c7xd-6"
91
+ })(["height:16px;width:16px;"]);
99
92
  export var StyledHead = /*#__PURE__*/styled.thead.withConfig({
100
93
  displayName: "StyledHead",
101
- componentId: "core-12_43_0__sc-9c7xd-8"
102
- })(["background-color:", ";transition:background-color 0.2s ease-in-out;", " &:hover{", "{", ",", "{&::after,q &::before{opacity:1;}}}}"], tableHeaderBgColor, tableRowBorderBottom, StyledTableHeaderCell, StyledTableHeaderCellSortIconAsc, StyledTableHeaderCellSortIconDesc);
94
+ componentId: "core-12_44_0__sc-9c7xd-7"
95
+ })(["background-color:", ";transition:background-color 0.2s ease-in-out;", ""], tableHeaderBgColor, tableRowBorderBottom);
103
96
  export var StyledCaratWrapper = /*#__PURE__*/styled(Button).withConfig({
104
97
  displayName: "StyledCaratWrapper",
105
- componentId: "core-12_43_0__sc-9c7xd-9"
98
+ componentId: "core-12_44_0__sc-9c7xd-8"
106
99
  })([""]);
107
100
  export var StyledCarat = /*#__PURE__*/styled(ChevronRight).withConfig({
108
101
  displayName: "StyledCarat",
109
- componentId: "core-12_43_0__sc-9c7xd-10"
110
- })(["", ""], function (_ref7) {
111
- var $expanded = _ref7.$expanded;
102
+ componentId: "core-12_44_0__sc-9c7xd-9"
103
+ })(["", ""], function (_ref6) {
104
+ var $expanded = _ref6.$expanded;
112
105
  return $expanded && css(["transform:rotate(90deg);"]);
113
106
  });
114
107
  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
108
  export var StyledTableCellSelect = /*#__PURE__*/styled(Select).withConfig({
116
109
  displayName: "StyledTableCellSelect",
117
- componentId: "core-12_43_0__sc-9c7xd-11"
118
- })(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus,", ":focus-within &{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", " ", "{white-space:normal;}", ",& + ", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, StyledSelectButtonWrapper, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref8) {
119
- var $hasClearIcon = _ref8.$hasClearIcon;
110
+ componentId: "core-12_44_0__sc-9c7xd-10"
111
+ })(["", ";background-color:transparent;border-color:transparent;height:auto;&:hover{background-color:transparent;}&:active:hover{border-color:", ";}&:focus,", ":focus-within &{background-color:", ";cursor:pointer;", " ", "{white-space:nowrap;}", "{opacity:1;pointer-events:all;}", " ", "}", " ", "{white-space:normal;}", ",& + ", "{opacity:0;pointer-events:none;}", " ", ""], cellInputCSS, colors.gray85, StyledSelectButtonWrapper, colors.white, getFocus(), StyledSelectButtonLabel, StyledSelectArrow, function (_ref7) {
112
+ var $hasClearIcon = _ref7.$hasClearIcon;
120
113
  return $hasClearIcon && css(["& + ", "{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
121
- }, function (_ref9) {
122
- var _ref9$$placeholder = _ref9.$placeholder,
123
- $placeholder = _ref9$$placeholder === void 0 ? false : _ref9$$placeholder;
114
+ }, function (_ref8) {
115
+ var _ref8$$placeholder = _ref8.$placeholder,
116
+ $placeholder = _ref8$$placeholder === void 0 ? false : _ref8$$placeholder;
124
117
  return $placeholder && css(["", "{opacity:1;pointer-events:all;}"], StyledSelectButtonLabel);
125
- }, function (_ref0) {
126
- var $hasClearIcon = _ref0.$hasClearIcon;
118
+ }, function (_ref9) {
119
+ var $hasClearIcon = _ref9.$hasClearIcon;
127
120
  return $hasClearIcon && css(["& + ", ":focus{opacity:1;pointer-events:all;}"], StyledSelectClearIcon);
128
- }, StyledSelectButtonLabel, StyledSelectArrow, StyledSelectClearIcon, function (_ref1) {
129
- var _ref1$$placeholder = _ref1.$placeholder,
130
- $placeholder = _ref1$$placeholder === void 0 ? false : _ref1$$placeholder;
121
+ }, StyledSelectButtonLabel, StyledSelectArrow, StyledSelectClearIcon, function (_ref0) {
122
+ var _ref0$$placeholder = _ref0.$placeholder,
123
+ $placeholder = _ref0$$placeholder === void 0 ? false : _ref0$$placeholder;
131
124
  return $placeholder && css(["", "{opacity:0;pointer-events:none;}"], StyledSelectButtonLabel);
132
- }, function (_ref10) {
133
- var loading = _ref10.loading;
125
+ }, function (_ref1) {
126
+ var loading = _ref1.loading;
134
127
  return loading && css(["background-color:", ";border-color:", ";", "{white-space:nowrap;}"], colors.white, colors.gray85, StyledSelectButtonLabel);
135
128
  });
136
129
  export var StyledTableCellInput = /*#__PURE__*/styled(Input).withConfig({
137
130
  displayName: "StyledTableCellInput",
138
- componentId: "core-12_43_0__sc-9c7xd-12"
131
+ componentId: "core-12_44_0__sc-9c7xd-11"
139
132
  })(["", ""], cellInputCSS);
140
133
  export var StyledTableCellDateInput = /*#__PURE__*/styled(DateSelect).withConfig({
141
134
  displayName: "StyledTableCellDateInput",
142
- componentId: "core-12_43_0__sc-9c7xd-13"
143
- })(["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 (_ref11) {
144
- var error = _ref11.error;
135
+ componentId: "core-12_44_0__sc-9c7xd-12"
136
+ })(["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 (_ref10) {
137
+ var error = _ref10.error;
145
138
  return error && css(["border-color:", ";"], colors.red50);
146
139
  }, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment, StyledDateInputIconContainer, StyledDateInputDelimiter, StyledDateInputSegment);
147
140
  export var StyledTableCellTextArea = /*#__PURE__*/styled(TextArea).withConfig({
148
141
  displayName: "StyledTableCellTextArea",
149
- componentId: "core-12_43_0__sc-9c7xd-14"
150
- })(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref12) {
151
- var $resizable = _ref12.$resizable;
142
+ componentId: "core-12_44_0__sc-9c7xd-13"
143
+ })(["", " &&{height:", "px;min-height:", "px;overflow:hidden;padding-top:", "px;resize:none;width:100%;", "}"], cellInputCSS, spacing.xxl, spacing.xxl, spacing.xs, function (_ref11) {
144
+ var $resizable = _ref11.$resizable;
152
145
  return $resizable && css(["&:focus{min-height:64px;overflow:auto;resize:vertical;}"]);
153
146
  });
154
147
  export var StyledTableCellText = /*#__PURE__*/styled.div.withConfig({
155
148
  displayName: "StyledTableCellText",
156
- componentId: "core-12_43_0__sc-9c7xd-15"
157
- })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref13) {
158
- var $percent = _ref13.$percent,
159
- $currency = _ref13.$currency;
149
+ componentId: "core-12_44_0__sc-9c7xd-14"
150
+ })(["margin:", "px;display:flex;color:", ";", ""], spacing.lg, tableCellTextColor, function (_ref12) {
151
+ var $percent = _ref12.$percent,
152
+ $currency = _ref12.$currency;
160
153
  return ($percent || $currency) && css(["justify-content:flex-end;"]);
161
154
  });
162
155
  export var StyledIconCell = /*#__PURE__*/styled.div.withConfig({
163
156
  displayName: "StyledIconCell",
164
- componentId: "core-12_43_0__sc-9c7xd-16"
157
+ componentId: "core-12_44_0__sc-9c7xd-15"
165
158
  })(["display:flex;color:", ";"], tableCellIconColor);
166
159
  export var StyledSelectCellWrapper = /*#__PURE__*/styled.div.withConfig({
167
160
  displayName: "StyledSelectCellWrapper",
168
- componentId: "core-12_43_0__sc-9c7xd-17"
161
+ componentId: "core-12_44_0__sc-9c7xd-16"
169
162
  })(["display:flex;flex-direction:column;"]);
170
163
  export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
171
164
  displayName: "StyledTableInlineEditErrorBox",
172
- componentId: "core-12_43_0__sc-9c7xd-18"
173
- })(["", " 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 (_ref14) {
174
- var $size = _ref14.$size;
165
+ componentId: "core-12_44_0__sc-9c7xd-17"
166
+ })(["", " 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 (_ref13) {
167
+ var $size = _ref13.$size;
175
168
  var sizes = {
176
169
  xs: 36,
177
170
  sm: 48,
@@ -187,12 +180,12 @@ export var StyledTableInlineEditErrorBox = /*#__PURE__*/styled.div.withConfig({
187
180
  });
188
181
  export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
189
182
  displayName: "StyledTableInlineEditContainer",
190
- componentId: "core-12_43_0__sc-9c7xd-19"
191
- })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref15) {
192
- var $error = _ref15.$error;
183
+ componentId: "core-12_44_0__sc-9c7xd-18"
184
+ })(["background-color:", ";margin:", "px ", "px;position:relative;", " ", ""], tableBgColor, spacing.sm, spacing.xs, function (_ref14) {
185
+ var $error = _ref14.$error;
193
186
  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);
194
- }, function (_ref16) {
195
- var $size = _ref16.$size;
187
+ }, function (_ref15) {
188
+ var $size = _ref15.$size;
196
189
  var sizes = {
197
190
  xs: 36,
198
191
  sm: 48,
@@ -211,28 +204,28 @@ export var StyledTableInlineEditContainer = /*#__PURE__*/styled.div.withConfig({
211
204
  });
212
205
  export var StyledTableBodyRow = /*#__PURE__*/styled.tr.withConfig({
213
206
  displayName: "StyledTableBodyRow",
214
- componentId: "core-12_43_0__sc-9c7xd-20"
215
- })(["", " ", " &: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 (_ref17) {
216
- var $overdue = _ref17.$overdue;
207
+ componentId: "core-12_44_0__sc-9c7xd-19"
208
+ })(["", " ", " &: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 (_ref16) {
209
+ var $overdue = _ref16.$overdue;
217
210
  return $overdue && css(["", ",", ",", ",", ",", "{color:", ";}"], StyledTableCellText, StyledTableCellSelect, StyledTableCellInput, StyledTableCellDateInput, StyledTableCellTextArea, colors.red50);
218
211
  }, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, StyledTableInlineEditContainer, tableCellInputRowHoverBgColor, tableCellInputHoverBgColor, StyledTableInlineEditContainer, tableCellInputErrorBgColor, tableCellInputErrorBgColor, StyledTableCellInput, StyledTableCellSelect, StyledTableCellTextArea, tableCellInputErrorBorder, tableCellInputFocusBorder);
219
212
  export var StyledTableGroupRowContent = /*#__PURE__*/styled.div.withConfig({
220
213
  displayName: "StyledTableGroupRowContent",
221
- componentId: "core-12_43_0__sc-9c7xd-21"
214
+ componentId: "core-12_44_0__sc-9c7xd-20"
222
215
  })([""]);
223
216
  export var StyledTableGroupRowHeader = /*#__PURE__*/styled.div.withConfig({
224
217
  displayName: "StyledTableGroupRowHeader",
225
- componentId: "core-12_43_0__sc-9c7xd-22"
218
+ componentId: "core-12_44_0__sc-9c7xd-21"
226
219
  })([""]);
227
220
  export var StyledTableGroupRowTitle = /*#__PURE__*/styled.span.withConfig({
228
221
  displayName: "StyledTableGroupRowTitle",
229
- componentId: "core-12_43_0__sc-9c7xd-23"
222
+ componentId: "core-12_44_0__sc-9c7xd-22"
230
223
  })([""]);
231
224
  export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
232
225
  displayName: "StyledTableGroupRow",
233
- componentId: "core-12_43_0__sc-9c7xd-24"
234
- })(["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 (_ref18) {
235
- var $depth = _ref18.$depth;
226
+ componentId: "core-12_44_0__sc-9c7xd-23"
227
+ })(["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 (_ref17) {
228
+ var $depth = _ref17.$depth;
236
229
  if (typeof $depth !== 'number') {
237
230
  return '';
238
231
  }
@@ -240,25 +233,25 @@ export var StyledTableGroupRow = /*#__PURE__*/styled.tr.withConfig({
240
233
  });
241
234
  export var StyledTableWrapper = /*#__PURE__*/styled(Card).withConfig({
242
235
  displayName: "StyledTableWrapper",
243
- componentId: "core-12_43_0__sc-9c7xd-25"
244
- })(["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 (_ref19) {
245
- var $withShelf = _ref19.$withShelf;
236
+ componentId: "core-12_44_0__sc-9c7xd-24"
237
+ })(["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 (_ref18) {
238
+ var $withShelf = _ref18.$withShelf;
246
239
  return $withShelf && css(["position:relative;height:100%;"]);
247
240
  });
248
241
  var BodyRow = StyledTableBodyRow;
249
242
  var GroupRow = StyledTableGroupRow;
250
243
  export var StyledTable = /*#__PURE__*/styled.table.withConfig({
251
244
  displayName: "StyledTable",
252
- componentId: "core-12_43_0__sc-9c7xd-26"
253
- })(["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 (_ref20) {
254
- var $fixed = _ref20.$fixed;
245
+ componentId: "core-12_44_0__sc-9c7xd-25"
246
+ })(["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 (_ref19) {
247
+ var $fixed = _ref19.$fixed;
255
248
  return $fixed && css(["table-layout:fixed;"]);
256
- }, function (_ref21) {
257
- var $inline = _ref21.$inline;
249
+ }, function (_ref20) {
250
+ var $inline = _ref20.$inline;
258
251
  return $inline && css(["border-top:1px solid ", ";border-bottom:1px solid ", ";"], colors.gray85, colors.gray85);
259
252
  }, 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);
260
253
  export var StyledLoadingContainer = /*#__PURE__*/styled.div.withConfig({
261
254
  displayName: "StyledLoadingContainer",
262
- componentId: "core-12_43_0__sc-9c7xd-27"
255
+ componentId: "core-12_44_0__sc-9c7xd-26"
263
256
  })(["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);
264
257
  //# sourceMappingURL=Table.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.styles.js","names":["CaretDown","CaretUp","ChevronRight","styled","css","Button","Card","Checkbox","StyledDateInputDelimiter","StyledDateInputIconContainer","StyledDateInputSegment","DateSelect","Input","Select","StyledSelectArrow","StyledSelectButtonLabel","StyledSelectButtonWrapper","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","gray50","tableSortFontColorHover","gray40","tableSortFontColorActive","blue50","tableCellTextColor","tableCellIconColor","gray45","tableCellInputPlaceholderColor","gray70","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","StyledCarat","_ref7","$expanded","cellInputCSS","blue40","StyledTableCellSelect","_ref8","$hasClearIcon","_ref9","_ref9$$placeholder","$placeholder","_ref0","_ref1","_ref1$$placeholder","_ref10","loading","StyledTableCellInput","StyledTableCellDateInput","_ref11","error","StyledTableCellTextArea","xxl","xs","_ref12","$resizable","StyledTableCellText","_ref13","$percent","$currency","StyledIconCell","StyledSelectCellWrapper","StyledTableInlineEditErrorBox","_ref14","$size","sizes","block","StyledTableInlineEditContainer","_ref15","$error","_ref16","StyledTableBodyRow","tr","_ref17","$overdue","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","span","StyledTableGroupRow","_ref18","$depth","StyledTableWrapper","_ref19","$withShelf","BodyRow","GroupRow","StyledTable","table","_ref20","$fixed","_ref21","$inline","StyledLoadingContainer"],"sources":["../../src/Table/Table.styles.ts"],"sourcesContent":["import { CaretDown, CaretUp, ChevronRight } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Button } from '../Button'\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 StyledSelectButtonWrapper,\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 type { 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.gray50\nconst tableSortFontColorHover = colors.gray40\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 q &::before {\n opacity: 1;\n }\n }\n }\n }\n`\n\nexport const StyledCaratWrapper = styled(Button)``\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 ${StyledSelectButtonWrapper}:focus-within & {\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 ${({ $hasClearIcon }) =>\n $hasClearIcon &&\n css`\n & + ${StyledSelectClearIcon}:focus {\n opacity: 1;\n pointer-events: all;\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,MAAM,QAAQ,WAAW;AAClC,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,yBAAyB,EACzBC,qBAAqB,QAChB,yBAAyB;AAChC,SAASC,QAAQ,QAAQ,aAAa;AACtC,SACEC,mBAAmB,EACnBC,iBAAiB,QACZ,iCAAiC;AACxC,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,QAAQ,QAAQ,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AA8B,GAClDF,4BAA4B,CAGjC;AAED,OAAO,IAAMoI,sBAAsB,gBAAGpK,MAAM,CAAC4E,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8JAGhC7D,MAAM,CAACmB,MAAM,CAQ5B"}
1
+ {"version":3,"file":"Table.styles.js","names":["ArrowUp","ChevronRight","styled","css","Button","Card","Checkbox","StyledDateInputDelimiter","StyledDateInputIconContainer","StyledDateInputSegment","DateSelect","Input","Select","StyledSelectArrow","StyledSelectButtonLabel","StyledSelectButtonWrapper","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","gray50","tableSortFontColorHover","gray40","tableSortFontColorActive","blue50","tableCellTextColor","tableCellIconColor","gray45","tableCellInputPlaceholderColor","gray70","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","StyledTableHeaderCellSortIcon","_ref3","$sortOrder","_ref4","_ref5","StyledTableHeaderCellIconWrapper","sm","StyledHead","thead","StyledCaratWrapper","StyledCarat","_ref6","$expanded","cellInputCSS","blue40","StyledTableCellSelect","_ref7","$hasClearIcon","_ref8","_ref8$$placeholder","$placeholder","_ref9","_ref0","_ref0$$placeholder","_ref1","loading","StyledTableCellInput","StyledTableCellDateInput","_ref10","error","StyledTableCellTextArea","xxl","xs","_ref11","$resizable","StyledTableCellText","_ref12","$percent","$currency","StyledIconCell","StyledSelectCellWrapper","StyledTableInlineEditErrorBox","_ref13","$size","sizes","block","StyledTableInlineEditContainer","_ref14","$error","_ref15","StyledTableBodyRow","tr","_ref16","$overdue","StyledTableGroupRowContent","StyledTableGroupRowHeader","StyledTableGroupRowTitle","span","StyledTableGroupRow","_ref17","$depth","StyledTableWrapper","_ref18","$withShelf","BodyRow","GroupRow","StyledTable","table","_ref19","$fixed","_ref20","$inline","StyledLoadingContainer"],"sources":["../../src/Table/Table.styles.ts"],"sourcesContent":["import { ArrowUp, ChevronRight } from '@procore/core-icons'\nimport styled, { css } from 'styled-components'\nimport { Button } from '../Button'\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 StyledSelectButtonWrapper,\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 type { 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.gray50\nconst tableSortFontColorHover = colors.gray40\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 ${StyledTableHeaderCellSortIcon} {\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 `}\n\n ${({ $sortOrder }) =>\n ($sortOrder === 'asc' || $sortOrder === 'desc') &&\n css`\n background-color: ${tableHeaderBgColorActive};\n color: ${tableHeaderFontColorActive};\n\n ${StyledTableHeaderCellSortIcon} {\n color: ${tableSortFontColorActive};\n opacity: 1;\n }\n `}\n\n ${({ $sortOrder }) =>\n $sortOrder === 'desc' &&\n css`\n ${StyledTableHeaderCellSortIcon} {\n transform: scaleY(-1);\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 StyledTableHeaderCellSortIcon = styled(ArrowUp)`\n height: 16px;\n width: 16px;\n`\n\nexport const StyledHead = styled.thead`\n background-color: ${tableHeaderBgColor};\n transition: background-color 0.2s ease-in-out;\n ${tableRowBorderBottom}\n`\n\nexport const StyledCaratWrapper = styled(Button)``\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 ${StyledSelectButtonWrapper}:focus-within & {\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 ${({ $hasClearIcon }) =>\n $hasClearIcon &&\n css`\n & + ${StyledSelectClearIcon}:focus {\n opacity: 1;\n pointer-events: all;\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,OAAO,EAAEC,YAAY,QAAQ,qBAAqB;AAC3D,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,IAAI,QAAQ,S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8JAGhC7D,MAAM,CAACmB,MAAM,CAQ5B"}
@@ -4,22 +4,22 @@ import { spacing } from '../_styles/spacing';
4
4
  var tableShelfShadow = '-4px 0px 5px 0px rgba(112, 112, 112, 0.1)';
5
5
  export var StyledShelf = /*#__PURE__*/styled.div.withConfig({
6
6
  displayName: "StyledShelf",
7
- componentId: "core-12_43_0__sc-a6498a-0"
7
+ componentId: "core-12_44_0__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-12_43_0__sc-a6498a-1"
11
+ componentId: "core-12_44_0__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-12_43_0__sc-a6498a-2"
15
+ componentId: "core-12_44_0__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-12_43_0__sc-a6498a-3"
19
+ componentId: "core-12_44_0__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-12_43_0__sc-a6498a-4"
23
+ componentId: "core-12_44_0__sc-a6498a-4"
24
24
  })(["padding:", "px;line-height:13px;"], spacing.lg);
25
25
  //# sourceMappingURL=TableShelf.styles.js.map
@@ -17,17 +17,17 @@ var borderRadius = /*#__PURE__*/css(["border-radius:", "px ", "px 0 0;"], spacin
17
17
  */
18
18
  var StyledTabBase = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledTabBase",
20
- componentId: "core-12_43_0__sc-17s58xs-0"
20
+ componentId: "core-12_44_0__sc-17s58xs-0"
21
21
  })(["align-items:center;box-sizing:border-box;cursor:pointer;display:inline-flex;flex:0 0 auto;justify-content:center;position:relative;white-space:nowrap;text-decoration:none;background-color:transparent;border:none;font-family:inherit;padding:0;"]);
22
22
  var StyledTabInnerBase = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledTabInnerBase",
24
- componentId: "core-12_43_0__sc-17s58xs-1"
24
+ componentId: "core-12_44_0__sc-17s58xs-1"
25
25
  })(["align-self:baseline;box-sizing:border-box;&,> a{display:flex;text-decoration:none;width:100%;}"]);
26
26
 
27
27
  // This so that it can be visible/hidden via CSS down below
28
28
  var StyledDropdownTabBase = /*#__PURE__*/styled(StyledTabBase).withConfig({
29
29
  displayName: "StyledDropdownTabBase",
30
- componentId: "core-12_43_0__sc-17s58xs-2"
30
+ componentId: "core-12_44_0__sc-17s58xs-2"
31
31
  })(["", ""], hiddenTab);
32
32
 
33
33
  //// END BASE LAYOUT COMPONENTS FOR TABS ////
@@ -50,11 +50,11 @@ function getTabStyle() {
50
50
  }
51
51
  var StyledTab = /*#__PURE__*/styled(StyledTabBase).withConfig({
52
52
  displayName: "StyledTab",
53
- componentId: "core-12_43_0__sc-17s58xs-3"
53
+ componentId: "core-12_44_0__sc-17s58xs-3"
54
54
  })(["", ""], getTabStyle);
55
55
  var StyledTabInner = /*#__PURE__*/styled(StyledTabInnerBase).withConfig({
56
56
  displayName: "StyledTabInner",
57
- componentId: "core-12_43_0__sc-17s58xs-4"
57
+ componentId: "core-12_44_0__sc-17s58xs-4"
58
58
  })(["", " padding:0 ", "px;font-weight:", ";&,> a{", ";color:", ";height:23px;}& a:focus-visible{outline:2px solid ", ";outline-offset:-1px;border-radius:", "px;}", ""], getTypographyIntent('body'), spacing.xs, function (_ref3) {
59
59
  var $selected = _ref3.$selected;
60
60
  return $selected ? 600 : 400;
@@ -67,15 +67,15 @@ var StyledTabInner = /*#__PURE__*/styled(StyledTabInnerBase).withConfig({
67
67
  });
68
68
  var StyledDropdownTab = /*#__PURE__*/styled(StyledDropdownTabBase).withConfig({
69
69
  displayName: "StyledDropdownTab",
70
- componentId: "core-12_43_0__sc-17s58xs-5"
70
+ componentId: "core-12_44_0__sc-17s58xs-5"
71
71
  })(["", ""], getTabStyle);
72
72
  var StyledDropdownTabInner = /*#__PURE__*/styled(StyledTabInner).withConfig({
73
73
  displayName: "StyledDropdownTabInner",
74
- componentId: "core-12_43_0__sc-17s58xs-6"
74
+ componentId: "core-12_44_0__sc-17s58xs-6"
75
75
  })(["align-items:center;cursor:pointer;display:inline-flex;"]);
76
76
  var StyledLink = /*#__PURE__*/styled.span.withConfig({
77
77
  displayName: "StyledLink",
78
- componentId: "core-12_43_0__sc-17s58xs-7"
78
+ componentId: "core-12_44_0__sc-17s58xs-7"
79
79
  })(["align-items:center;display:flex;height:23px;", ";box-sizing:border-box;"], borderRadius);
80
80
 
81
81
  //// END TRADITIONAL DESIGN SYSTEM TAB STYLES ////
@@ -92,34 +92,34 @@ function getHelixHeaderTabStyles() {
92
92
  }
93
93
  var StyledGlobalNavigationTab = /*#__PURE__*/styled(StyledTabBase).withConfig({
94
94
  displayName: "StyledGlobalNavigationTab",
95
- componentId: "core-12_43_0__sc-17s58xs-8"
95
+ componentId: "core-12_44_0__sc-17s58xs-8"
96
96
  })(["", ""], getHelixHeaderTabStyles);
97
97
  var StyledGlobalNavigationDropdownTab = /*#__PURE__*/styled(StyledDropdownTabBase).withConfig({
98
98
  displayName: "StyledGlobalNavigationDropdownTab",
99
- componentId: "core-12_43_0__sc-17s58xs-9"
99
+ componentId: "core-12_44_0__sc-17s58xs-9"
100
100
  })(["", ""], getHelixHeaderTabStyles);
101
101
  var StyledGlobalNavigationDropdownTabInner = /*#__PURE__*/styled(StyledTabInnerBase).withConfig({
102
102
  displayName: "StyledGlobalNavigationDropdownTabInner",
103
- componentId: "core-12_43_0__sc-17s58xs-10"
103
+ componentId: "core-12_44_0__sc-17s58xs-10"
104
104
  })(["align-items:center;cursor:pointer;display:inline-flex;"]);
105
105
  var StyledGlobalNavigationLink = /*#__PURE__*/styled.span.withConfig({
106
106
  displayName: "StyledGlobalNavigationLink",
107
- componentId: "core-12_43_0__sc-17s58xs-11"
107
+ componentId: "core-12_44_0__sc-17s58xs-11"
108
108
  })(["padding-left:6px;padding-right:6px;"]);
109
109
 
110
110
  //// END HELIX GLOBAL NAVIGATION TAB STYLES ////
111
111
 
112
112
  export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
113
113
  displayName: "StyledOverlay",
114
- componentId: "core-12_43_0__sc-17s58xs-12"
114
+ componentId: "core-12_44_0__sc-17s58xs-12"
115
115
  })(["max-height:40vh;", "{padding:0;display:flex;justify-content:center;a{margin:unset;padding:unset;&:focus-visible{outline-offset:1px;}}}", "{padding:0;display:flex;}", "{padding:2px 16px 4px 16px;}", ",", "{color:", ";border-radius:0;display:flex;width:100%;background:inherit;font-weight:inherit;font-size:inherit;padding:0;}[data-selected='true']{", ",", "{border-bottom-color:transparent;color:", ";}}"], StyledItem, StyledLink, StyledTabInnerBase, StyledLink, StyledTabBase, colors.gray15, StyledLink, StyledTabBase, colors.blue50);
116
116
  export var StyledTabList = /*#__PURE__*/styled.div.withConfig({
117
117
  displayName: "StyledTabList",
118
- componentId: "core-12_43_0__sc-17s58xs-13"
118
+ componentId: "core-12_44_0__sc-17s58xs-13"
119
119
  })(["display:flex;width:100%;"]);
120
120
  export var StyledTabs = /*#__PURE__*/styled.div.withConfig({
121
121
  displayName: "StyledTabs",
122
- componentId: "core-12_43_0__sc-17s58xs-14"
122
+ componentId: "core-12_44_0__sc-17s58xs-14"
123
123
  })(["background-color:", ";display:flex;overflow:hidden;width:100%;", "{&:nth-child(1n + ", "){&:not(", "){", "}}}", ""], function (_ref6) {
124
124
  var $dark = _ref6.$dark;
125
125
  return $dark && colors.gray15;