@procore/core-react 12.20.0 → 12.20.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.
Files changed (211) hide show
  1. package/dist/AnchorNavigation/AnchorNavigation.d.ts +1 -7
  2. package/dist/AnchorNavigation/AnchorNavigation.js +8 -8
  3. package/dist/AnchorNavigation/AnchorNavigation.js.map +1 -1
  4. package/dist/AnchorNavigation/AnchorNavigation.styles.d.ts +2 -2
  5. package/dist/AnchorNavigation/AnchorNavigation.styles.js +11 -11
  6. package/dist/AnchorNavigation/AnchorNavigation.styles.js.map +1 -1
  7. package/dist/AnchorNavigation/AnchorNavigation.types.d.ts +22 -0
  8. package/dist/AnchorNavigation/AnchorNavigation.types.js.map +1 -1
  9. package/dist/AnchorNavigation/AnchorNavigationProvider.d.ts +4 -4
  10. package/dist/AnchorNavigation/AnchorNavigationProvider.js +11 -11
  11. package/dist/AnchorNavigation/AnchorNavigationProvider.js.map +1 -1
  12. package/dist/AnchorNavigation/index.d.ts +2 -1
  13. package/dist/AnchorNavigation/index.js +1 -1
  14. package/dist/AnchorNavigation/index.js.map +1 -1
  15. package/dist/Avatar/Avatar.styles.js +5 -5
  16. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  17. package/dist/Badge/Badge.styles.js +2 -2
  18. package/dist/Banner/Banner.styles.js +10 -10
  19. package/dist/Box/Box.styles.js +1 -1
  20. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  21. package/dist/Button/Button.styles.js +5 -5
  22. package/dist/Calendar/Calendar.styles.js +8 -8
  23. package/dist/Card/Card.styles.js +1 -1
  24. package/dist/Checkbox/Checkbox.styles.js +6 -6
  25. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  26. package/dist/ContactItem/ContactItem.styles.js +5 -5
  27. package/dist/Content/Content.styles.js +2 -2
  28. package/dist/DateInput/DateInput.styles.js +6 -6
  29. package/dist/DetailPage/DetailPage.styles.js +7 -7
  30. package/dist/Dropdown/Dropdown.styles.js +3 -3
  31. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  32. package/dist/Dropzone/Dropzone.js +1 -1
  33. package/dist/Dropzone/Dropzone.styles.js +9 -9
  34. package/dist/EmptyState/EmptyState.styles.js +6 -6
  35. package/dist/Field/Field.styles.js +3 -3
  36. package/dist/FileList/FileList.styles.js +4 -4
  37. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  38. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  39. package/dist/FileSelect/FileSelect.styles.js +2 -2
  40. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  41. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  42. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  43. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  44. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  45. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  46. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  47. package/dist/FileToken/FileToken.styles.js +4 -4
  48. package/dist/FilterToken/FilterToken.styles.js +5 -5
  49. package/dist/FlexList/FlexList.styles.js +1 -1
  50. package/dist/Form/Form.styles.js +14 -14
  51. package/dist/Form/StyledFormikForm.styles.d.ts +1 -1
  52. package/dist/Form/StyledFormikForm.styles.js +2 -2
  53. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  54. package/dist/Grid/Grid.styles.js +2 -2
  55. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  56. package/dist/Input/Input.styles.js +1 -1
  57. package/dist/Link/Link.styles.js +1 -1
  58. package/dist/ListPage/ListPage.styles.js +8 -8
  59. package/dist/Loader/Loader.styles.js +2 -2
  60. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  61. package/dist/Modal/Modal.styles.js +13 -13
  62. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  63. package/dist/NextMenu/NextMenu.styles.js +3 -3
  64. package/dist/Notation/Notation.js +1 -1
  65. package/dist/NumberInput/NumberInput.styles.js +7 -7
  66. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  67. package/dist/OverlayTrigger/a11yPresets.d.ts +2 -2
  68. package/dist/PageLayout/PageLayout.js +6 -6
  69. package/dist/PageLayout/PageLayout.js.map +1 -1
  70. package/dist/PageLayout/PageLayout.styles.js +16 -16
  71. package/dist/PageLayout/PageLayout.types.d.ts +3 -3
  72. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  73. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  74. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  75. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  76. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  77. package/dist/Pagination/Pagination.styles.js +5 -5
  78. package/dist/Panel/Panel.styles.js +11 -11
  79. package/dist/Pill/Pill.styles.js +2 -2
  80. package/dist/PillSelect/PillSelect.styles.js +4 -4
  81. package/dist/Popover/Popover.styles.js +2 -2
  82. package/dist/Portal/Portal.styles.js +1 -1
  83. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  84. package/dist/RadioButton/RadioButton.styles.js +3 -3
  85. package/dist/Required/Required.styles.js +3 -3
  86. package/dist/Search/Search.styles.js +5 -5
  87. package/dist/Section/Section.styles.js +7 -7
  88. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  89. package/dist/Select/Select.styles.js +7 -7
  90. package/dist/Semantic/Semantic.styles.js +9 -9
  91. package/dist/Slider/Slider.styles.js +5 -5
  92. package/dist/Spinner/Spinner.styles.js +7 -7
  93. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  94. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  95. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  96. package/dist/Switch/Switch.styles.js +4 -4
  97. package/dist/Table/Table.styles.js +28 -28
  98. package/dist/TableShelf/TableShelf.styles.js +5 -5
  99. package/dist/Tabs/Tabs.styles.js +15 -15
  100. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  101. package/dist/TextArea/TextArea.styles.js +1 -1
  102. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  103. package/dist/Thumbnail/Thumbnail.hooks.d.ts +10 -10
  104. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  105. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  106. package/dist/TieredDropdown/TieredDropdown.js +1 -0
  107. package/dist/TieredDropdown/TieredDropdown.js.map +1 -1
  108. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  109. package/dist/Tile/Tile.styles.js +8 -8
  110. package/dist/Title/Title.styles.js +7 -7
  111. package/dist/Toast/Toast.styles.js +3 -3
  112. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  113. package/dist/Token/Token.styles.js +3 -3
  114. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  115. package/dist/ToolLandingPage/ToolLandingPage.js +2 -5
  116. package/dist/ToolLandingPage/ToolLandingPage.js.map +1 -1
  117. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  118. package/dist/Tooltip/Tooltip.styles.js +2 -2
  119. package/dist/Tree/Tree.styles.js +10 -10
  120. package/dist/Tree/Tree.styles.js.map +1 -1
  121. package/dist/Typeahead/Typeahead.styles.js +3 -3
  122. package/dist/Typography/Typography.styles.js +1 -1
  123. package/dist/Typography/Typography.table.story.js +2 -2
  124. package/dist/_hooks/I18n.d.ts +69 -4
  125. package/dist/_hooks/I18n.js.map +1 -1
  126. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +53 -0
  127. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  128. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  129. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  130. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  131. package/dist/_typedoc/Box/Box.types.json +68 -68
  132. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  133. package/dist/_typedoc/Button/Button.types.json +13 -13
  134. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  135. package/dist/_typedoc/Card/Card.types.json +6 -6
  136. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  137. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  138. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  139. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  140. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  141. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  142. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  143. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  144. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  145. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  146. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  147. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  148. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  149. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  150. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  151. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  152. package/dist/_typedoc/Form/Form.types.json +741 -741
  153. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  154. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  155. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  156. package/dist/_typedoc/Input/Input.types.json +2 -2
  157. package/dist/_typedoc/Link/Link.types.json +4 -4
  158. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  159. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  160. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  161. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  162. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  163. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  164. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  165. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  166. package/dist/_typedoc/PageLayout/PageLayout.types.json +42 -42
  167. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  168. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  169. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  170. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  171. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  172. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  173. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  174. package/dist/_typedoc/Required/Required.types.json +5 -5
  175. package/dist/_typedoc/Search/Search.types.json +19 -19
  176. package/dist/_typedoc/Section/Section.types.json +15 -15
  177. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  178. package/dist/_typedoc/Select/Select.types.json +60 -60
  179. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  180. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  181. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  182. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
  183. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  184. package/dist/_typedoc/Table/Table.types.json +101 -101
  185. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  186. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  187. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  188. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  189. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  190. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  191. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  192. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  193. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  194. package/dist/_typedoc/Title/Title.types.json +1 -1
  195. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  196. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  197. package/dist/_typedoc/Token/Token.types.json +4 -4
  198. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  199. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  200. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  201. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  202. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  203. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  204. package/dist/_typedoc/_utils/types.json +3 -3
  205. package/dist/_utils/propsTypedoc.d.ts +1 -0
  206. package/dist/_utils/propsTypedoc.js +1 -0
  207. package/dist/_utils/propsTypedoc.js.map +1 -1
  208. package/dist/index.d.ts +1 -0
  209. package/dist/index.js +1 -0
  210. package/dist/index.js.map +1 -1
  211. package/package.json +2 -2
@@ -39,7 +39,7 @@ var getTileStyles = function getTileStyles(_ref) {
39
39
  };
40
40
  export var StyledLinkTile = /*#__PURE__*/styled.a.withConfig({
41
41
  displayName: "StyledLinkTile",
42
- componentId: "core-12_20_0__sc-8q9p0n-0"
42
+ componentId: "core-12_20_2__sc-8q9p0n-0"
43
43
  })(["", " text-decoration:none;color:inherit;"], function (_ref2) {
44
44
  var $orientation = _ref2.$orientation;
45
45
  return getTileStyles({
@@ -49,7 +49,7 @@ export var StyledLinkTile = /*#__PURE__*/styled.a.withConfig({
49
49
  });
50
50
  export var StyledSelectableTile = /*#__PURE__*/styled.div.withConfig({
51
51
  displayName: "StyledSelectableTile",
52
- componentId: "core-12_20_0__sc-8q9p0n-1"
52
+ componentId: "core-12_20_2__sc-8q9p0n-1"
53
53
  })(["", ""], function (_ref3) {
54
54
  var $orientation = _ref3.$orientation,
55
55
  $selected = _ref3.$selected,
@@ -65,7 +65,7 @@ export var StyledSelectableTile = /*#__PURE__*/styled.div.withConfig({
65
65
  });
66
66
  export var StyledInteractableTile = /*#__PURE__*/styled.div.withConfig({
67
67
  displayName: "StyledInteractableTile",
68
- componentId: "core-12_20_0__sc-8q9p0n-2"
68
+ componentId: "core-12_20_2__sc-8q9p0n-2"
69
69
  })(["", ""], function (_ref4) {
70
70
  var $orientation = _ref4.$orientation;
71
71
  return getTileStyles({
@@ -74,26 +74,26 @@ export var StyledInteractableTile = /*#__PURE__*/styled.div.withConfig({
74
74
  });
75
75
  export var StyledFooter = /*#__PURE__*/styled.div.withConfig({
76
76
  displayName: "StyledFooter",
77
- componentId: "core-12_20_0__sc-8q9p0n-3"
77
+ componentId: "core-12_20_2__sc-8q9p0n-3"
78
78
  })(["grid-area:footer;padding:", "px;> ", "{flex-wrap:wrap-reverse;}"], spacing.lg, StyledActions);
79
79
  export var StyledTileContent = /*#__PURE__*/styled(StyledContent).withConfig({
80
80
  displayName: "StyledTileContent",
81
- componentId: "core-12_20_0__sc-8q9p0n-4"
81
+ componentId: "core-12_20_2__sc-8q9p0n-4"
82
82
  })(["grid-column-start:hero-start;grid-column-end:body-end;padding:", "px;+ ", "{padding-top:0;}> ", ",> ", " > ", ",> ", "{grid-column-gap:", "px;}"], spacing.lg, StyledFooter, SFormRow, SForm, SFormRow, SFormRow, spacing.md);
83
83
  export var StyledHeroMedia = /*#__PURE__*/styled.figure.withConfig({
84
84
  displayName: "StyledHeroMedia",
85
- componentId: "core-12_20_0__sc-8q9p0n-5"
85
+ componentId: "core-12_20_2__sc-8q9p0n-5"
86
86
  })(["grid-area:hero;margin:0;position:relative;overflow:hidden;font-size:0;> *{font-size:initial;}+ ", "{grid-area:body;}> video{background-color:", ";}> img,> picture > img{object-fit:cover;}", ""], StyledTileContent, colors.black, function (_ref5) {
87
87
  var $orientation = _ref5.$orientation;
88
88
  return $orientation === 'landscape' && !isIE11() ? css(["border-top-left-radius:inherit;border-bottom-left-radius:inherit;> *,> picture > img{height:100%;width:100%;position:absolute;}@media ", "{> picture > img,> img{width:auto;left:50%;transform:translate(-50%,0);}}"], mediaIE11Hack) : css(["min-height:156px;max-height:567px;border-top-left-radius:inherit;border-top-right-radius:inherit;> *,> picture > img{min-height:inherit;max-height:inherit;height:auto;width:100%;}"]);
89
89
  });
90
90
  export var StyledHeroOverlay = /*#__PURE__*/styled.div.withConfig({
91
91
  displayName: "StyledHeroOverlay",
92
- componentId: "core-12_20_0__sc-8q9p0n-6"
92
+ componentId: "core-12_20_2__sc-8q9p0n-6"
93
93
  })(["position:absolute;width:100%;height:100%;top:0;left:0;z-index:1;"]);
94
94
  export var StyledHeroText = /*#__PURE__*/styled.div.withConfig({
95
95
  displayName: "StyledHeroText",
96
- componentId: "core-12_20_0__sc-8q9p0n-7"
96
+ componentId: "core-12_20_2__sc-8q9p0n-7"
97
97
  })(["grid-area:hero;+ ", "{grid-area:body;}padding:", "px;border-radius:inherit;", ""], StyledTileContent, spacing.lg, function (_ref6) {
98
98
  var $orientation = _ref6.$orientation;
99
99
  return $orientation === 'landscape' ? css(["display:flex;flex-direction:column;justify-content:center;padding-right:0;"]) : css(["padding-bottom:0;"]);
@@ -5,36 +5,36 @@ import { Typography } from '../Typography/Typography';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledTitle",
8
- componentId: "core-12_20_0__sc-1t2ye1d-0"
8
+ componentId: "core-12_20_2__sc-1t2ye1d-0"
9
9
  })(["display:flex;align-items:flex-start;"]);
10
10
  export var StyledAssets = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledAssets",
12
- componentId: "core-12_20_0__sc-1t2ye1d-1"
12
+ componentId: "core-12_20_2__sc-1t2ye1d-1"
13
13
  })(["margin-right:", "px;", ""], spacing.md, function (_ref) {
14
14
  var alignment = _ref.alignment;
15
15
  return css(["align-self:", ";"], alignment);
16
16
  });
17
17
  export var StyledTitleContent = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "StyledTitleContent",
19
- componentId: "core-12_20_0__sc-1t2ye1d-2"
19
+ componentId: "core-12_20_2__sc-1t2ye1d-2"
20
20
  })(["align-self:center;", ""], function (_ref2) {
21
21
  var $hasActions = _ref2.$hasActions;
22
22
  return $hasActions && css(["margin-right:", "px;"], spacing.lg);
23
23
  });
24
24
  export var StyledText = /*#__PURE__*/styled.span.withConfig({
25
25
  displayName: "StyledText",
26
- componentId: "core-12_20_0__sc-1t2ye1d-3"
26
+ componentId: "core-12_20_2__sc-1t2ye1d-3"
27
27
  })(["> h1,> h2,> h3{display:inline;}"]);
28
28
  export var StyledTitlePill = /*#__PURE__*/styled.span.withConfig({
29
29
  displayName: "StyledTitlePill",
30
- componentId: "core-12_20_0__sc-1t2ye1d-4"
30
+ componentId: "core-12_20_2__sc-1t2ye1d-4"
31
31
  })(["margin-left:", "px;", "{vertical-align:text-top;}"], spacing.sm, StyledPill);
32
32
  export var StyledTitleActions = /*#__PURE__*/styled(StyledActions).withConfig({
33
33
  displayName: "StyledTitleActions",
34
- componentId: "core-12_20_0__sc-1t2ye1d-5"
34
+ componentId: "core-12_20_2__sc-1t2ye1d-5"
35
35
  })(["margin-left:auto;"]);
36
36
  export var StyledSubtext = /*#__PURE__*/styled(Typography).withConfig({
37
37
  displayName: "StyledSubtext",
38
- componentId: "core-12_20_0__sc-1t2ye1d-6"
38
+ componentId: "core-12_20_2__sc-1t2ye1d-6"
39
39
  })(["display:block;"]);
40
40
  //# sourceMappingURL=Title.styles.js.map
@@ -7,7 +7,7 @@ import { getShadow } from '../_styles/shadows';
7
7
  import { spacing } from '../_styles/spacing';
8
8
  export var StyledToast = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledToast",
10
- componentId: "core-12_20_0__sc-1l6lk2n-0"
10
+ componentId: "core-12_20_2__sc-1l6lk2n-0"
11
11
  })(["", " align-items:center;background-color:", ";border-radius:", "px;color:", ";display:flex;min-height:48px;padding:", "px ", "px;width:550px;"], getShadow(4, 'bottom'), function (_ref) {
12
12
  var $variant = _ref.$variant;
13
13
  return $variant === 'success' ? colors.green30 : colors.red50;
@@ -16,13 +16,13 @@ export var StyledToast = /*#__PURE__*/styled.div.withConfig({
16
16
  // $legacy is direct string inside Toast. Next is with subcomponents
17
17
  export var StyledToastText = /*#__PURE__*/styled.span.withConfig({
18
18
  displayName: "StyledToastText",
19
- componentId: "core-12_20_0__sc-1l6lk2n-1"
19
+ componentId: "core-12_20_2__sc-1l6lk2n-1"
20
20
  })(["", " font-weight:", ";overflow:hidden;", ""], getTypographyIntent('body'), typographyWeights.semibold, function (_ref2) {
21
21
  var $legacy = _ref2.$legacy;
22
22
  return $legacy ? "margin-left: ".concat(spacing.lg, "px;") : "padding: 0 ".concat(spacing.lg, "px;");
23
23
  });
24
24
  export var StyledToastButton = /*#__PURE__*/styled(Button).withConfig({
25
25
  displayName: "StyledToastButton",
26
- componentId: "core-12_20_0__sc-1l6lk2n-2"
26
+ componentId: "core-12_20_2__sc-1l6lk2n-2"
27
27
  })(["line-height:0;color:", ";padding:0;margin-left:auto;"], colors.white);
28
28
  //# sourceMappingURL=Toast.styles.js.map
@@ -3,7 +3,7 @@ import { Button } from '../Button/Button';
3
3
  import { colors } from '../_styles/colors';
4
4
  export var StyledToggleButton = /*#__PURE__*/styled(Button).withConfig({
5
5
  displayName: "StyledToggleButton",
6
- componentId: "core-12_20_0__sc-1x59fxi-0"
6
+ componentId: "core-12_20_2__sc-1x59fxi-0"
7
7
  })(["", ""], function (_ref) {
8
8
  var $selected = _ref.$selected;
9
9
  return $selected && css(["background-color:", ";color:", ";[data-icon-prop='true']{color:", ";}&:hover{background-color:", ";color:", ";}&:focus{background-color:", ";color:", ";}&:disabled{background-color:", ";color:", ";[data-icon-prop='true']{color:", ";}circle{stroke:", ";}}"], colors.blue96, colors.blue45, colors.blue50, colors.blue90, colors.blue45, colors.blue96, colors.blue45, colors.blue96, colors.blue70, colors.blue70, colors.blue50);
@@ -6,15 +6,15 @@ import { getEllipsis, getFocus } from '../_styles/mixins';
6
6
  import { spacing } from '../_styles/spacing';
7
7
  export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
8
8
  displayName: "StyledLabel",
9
- componentId: "core-12_20_0__sc-zqi94b-0"
9
+ componentId: "core-12_20_2__sc-zqi94b-0"
10
10
  })(["", " ", " flex:0 1 auto;"], getTypographyIntent('body'), getEllipsis);
11
11
  export var StyledRemove = /*#__PURE__*/styled(Clear).withConfig({
12
12
  displayName: "StyledRemove",
13
- componentId: "core-12_20_0__sc-zqi94b-1"
13
+ componentId: "core-12_20_2__sc-zqi94b-1"
14
14
  })(["border-radius:100%;cursor:pointer;flex:0 0 auto;height:16px;margin:0 -", "px 0 ", "px;width:16px;&:hover{background:", ";color:", ";}"], spacing.sm, spacing.sm, colors.white, colors.blue40);
15
15
  export var StyledToken = /*#__PURE__*/styled.div.withConfig({
16
16
  displayName: "StyledToken",
17
- componentId: "core-12_20_0__sc-zqi94b-2"
17
+ componentId: "core-12_20_2__sc-zqi94b-2"
18
18
  })(["align-items:center;background-color:", ";border-radius:200px;border:1px solid transparent;color:", ";cursor:default;display:inline-flex;height:24px;line-height:1;max-width:360px;min-width:48px;padding:", "px ", "px;&:hover,&.hover{background-color:", ";}", " ", " ", ""], colors.blue50, colors.white, spacing.xs, spacing.md, colors.blue45, function (_ref) {
19
19
  var _ref$$focused = _ref.$focused,
20
20
  $focused = _ref$$focused === void 0 ? false : _ref$$focused,
@@ -5,7 +5,7 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledHeaderBadge = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledHeaderBadge",
8
- componentId: "core-12_20_0__sc-1jpjx47-0"
8
+ componentId: "core-12_20_2__sc-1jpjx47-0"
9
9
  })(["", " border-radius:10px;border-style:solid;border-width:1px;display:inline-block;margin-bottom:", "px;padding:1px ", "px;", ""], getTypographyIntent('small'), spacing.sm, spacing.sm, function (_ref) {
10
10
  var $variant = _ref.$variant;
11
11
  if ($variant) {
@@ -18,22 +18,22 @@ export var StyledHeaderBadge = /*#__PURE__*/styled.div.withConfig({
18
18
  // TODO in v12 remove cursor: pointer;
19
19
  export var StyledToolHeaderIconContainer = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledToolHeaderIconContainer",
21
- componentId: "core-12_20_0__sc-1jpjx47-1"
21
+ componentId: "core-12_20_2__sc-1jpjx47-1"
22
22
  })(["color:", ";cursor:pointer;display:inline-flex;flex:0 0 auto;"], colors.orange50);
23
23
  export var StyledHeaderTabs = /*#__PURE__*/styled.div.withConfig({
24
24
  displayName: "StyledHeaderTabs",
25
- componentId: "core-12_20_0__sc-1jpjx47-2"
25
+ componentId: "core-12_20_2__sc-1jpjx47-2"
26
26
  })(["align-self:flex-end;flex:1 1 auto;min-width:100px;overflow:hidden;"]);
27
27
  export var StyledHeaderActions = /*#__PURE__*/styled.div.withConfig({
28
28
  displayName: "StyledHeaderActions",
29
- componentId: "core-12_20_0__sc-1jpjx47-3"
29
+ componentId: "core-12_20_2__sc-1jpjx47-3"
30
30
  })(["flex:0 0 auto;margin-left:auto;padding-left:", "px;"], spacing.lg);
31
31
  export var StyledToolHeaderTitle = /*#__PURE__*/styled(H1).withConfig({
32
32
  displayName: "StyledToolHeaderTitle",
33
- componentId: "core-12_20_0__sc-1jpjx47-4"
33
+ componentId: "core-12_20_2__sc-1jpjx47-4"
34
34
  })(["margin-right:", "px;white-space:nowrap;"], spacing.xl);
35
35
  export var StyledToolHeader = /*#__PURE__*/styled.div.withConfig({
36
36
  displayName: "StyledToolHeader",
37
- componentId: "core-12_20_0__sc-1jpjx47-5"
37
+ componentId: "core-12_20_2__sc-1jpjx47-5"
38
38
  })(["align-items:center;display:flex;min-height:36px;width:100%;", " + ", ",a + ", ",button + ", "{margin-left:", "px;}"], StyledToolHeaderIconContainer, StyledToolHeaderTitle, StyledToolHeaderTitle, StyledToolHeaderTitle, spacing.lg);
39
39
  //# sourceMappingURL=ToolHeader.styles.js.map
@@ -11,7 +11,6 @@ import { DetailPage, DetailPageViewContext } from '../DetailPage';
11
11
  import { Page } from '../PageLayout';
12
12
  import { Tooltip } from '../Tooltip';
13
13
  import { useI18nContext } from '../_hooks/I18n';
14
- import { colors } from '../_styles/colors';
15
14
  import { addSubcomponents } from '../_utils/addSubcomponents';
16
15
  import { StyledTitleInner, StyledTitleOuter, StyledToolLandingPageBodyContent } from './ToolLandingPage.styles';
17
16
  export var ToolLandingPage_ = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
@@ -41,11 +40,9 @@ export var Title = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
41
40
  }, /*#__PURE__*/React.createElement(LinkButton, {
42
41
  "aria-label": i18n.t('core.toolHeader.settingsAction'),
43
42
  role: "link",
44
- icon: /*#__PURE__*/React.createElement(Cog, {
45
- color: colors.orange50
46
- }),
43
+ icon: /*#__PURE__*/React.createElement(Cog, null),
47
44
  href: settingsHref,
48
- variant: "tertiary"
45
+ variant: "secondary"
49
46
  })), /*#__PURE__*/React.createElement(StyledTitleInner, null, children));
50
47
  });
51
48
  export var Body = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
@@ -1 +1 @@
1
- {"version":3,"file":"ToolLandingPage.js","names":["Cog","React","LinkButton","DetailPage","DetailPageViewContext","Page","Tooltip","useI18nContext","colors","addSubcomponents","StyledTitleInner","StyledTitleOuter","StyledToolLandingPageBodyContent","ToolLandingPage_","forwardRef","_ref","ref","children","props","_objectWithoutProperties","_excluded","createElement","Provider","value","width","hasNavigation","_extends","Title","_ref2","settingsHref","_excluded2","i18n","overlay","t","trigger","role","icon","color","orange50","href","variant","Body","_ref3","_excluded3","ToolLandingPage","Main","Header","Banner","Tabs","Aside","displayName"],"sources":["../../src/ToolLandingPage/ToolLandingPage.tsx"],"sourcesContent":["import { Cog } from '@procore/core-icons/dist'\nimport React from 'react'\nimport { LinkButton } from '../Button'\nimport { DetailPage, DetailPageViewContext } from '../DetailPage'\nimport { Page } from '../PageLayout'\nimport { Tooltip } from '../Tooltip'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { colors } from '../_styles/colors'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { Props } from '../_utils/types'\nimport {\n StyledTitleInner,\n StyledTitleOuter,\n StyledToolLandingPageBodyContent,\n} from './ToolLandingPage.styles'\nimport type {\n ToolLandingPageProps,\n ToolLandingPageTitleProps,\n} from './ToolLandingPage.types'\n\nexport const ToolLandingPage_ = React.forwardRef<\n HTMLDivElement,\n ToolLandingPageProps\n>(({ children, ...props }, ref) => {\n return (\n <DetailPageViewContext.Provider\n value={{ width: 'xl', hasNavigation: false }}\n >\n <Page ref={ref} {...props} data-core-react=\"tool-landing-page\">\n {children}\n </Page>\n </DetailPageViewContext.Provider>\n )\n})\n\nexport const Title = React.forwardRef<\n HTMLDivElement,\n ToolLandingPageTitleProps\n>(({ children, settingsHref, ...props }, ref) => {\n const i18n = useI18nContext()\n\n return (\n <StyledTitleOuter ref={ref} {...props}>\n {settingsHref && (\n <Tooltip\n overlay={i18n.t('core.toolHeader.settingsAction')}\n trigger={['hover', 'focus']}\n >\n <LinkButton\n aria-label={i18n.t('core.toolHeader.settingsAction')}\n role=\"link\"\n icon={<Cog color={colors.orange50} />}\n href={settingsHref}\n variant=\"tertiary\"\n />\n </Tooltip>\n )}\n <StyledTitleInner>{children}</StyledTitleInner>\n </StyledTitleOuter>\n )\n})\n\nexport const Body = React.forwardRef<HTMLDivElement, Props>(\n ({ children, ...props }, ref) => (\n <DetailPage.Body ref={ref} {...props}>\n <StyledToolLandingPageBodyContent>\n {children}\n </StyledToolLandingPageBodyContent>\n </DetailPage.Body>\n )\n)\n\n/**\n * A list page is basically a copy of SettingsPage/DetailPage. However, it has some differences.\n * ToolLandingPage does not have Breadcrumbs, nested sections (although, we may need them in the future), and Footer.\n *\n * @since 12.9.0\n *\n * @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-toollandingpage--demo)\n *\n * @see [Design Guidelines](https://design.procore.com/tool-landing-layout)\n */\n\nexport const ToolLandingPage = addSubcomponents(\n {\n Main: Page.Main,\n Header: Page.Header,\n Banner: Page.Banner,\n Title,\n Tabs: Page.Tabs,\n Body,\n Aside: Page.Aside,\n },\n ToolLandingPage_\n)\n\nToolLandingPage_.displayName = 'ToolLandingPage'\n"],"mappings":";;;;;;AAAA,SAASA,GAAG,QAAQ,0BAA0B;AAC9C,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,QAAQ,WAAW;AACtC,SAASC,UAAU,EAAEC,qBAAqB,QAAQ,eAAe;AACjE,SAASC,IAAI,QAAQ,eAAe;AACpC,SAASC,OAAO,QAAQ,YAAY;AACpC,SAASC,cAAc,QAAQ,gBAAgB;AAC/C,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,gBAAgB,QAAQ,4BAA4B;AAE7D,SACEC,gBAAgB,EAChBC,gBAAgB,EAChBC,gCAAgC,QAC3B,0BAA0B;AAMjC,OAAO,IAAMC,gBAAgB,gBAAGZ,KAAK,CAACa,UAAU,CAG9C,UAAAC,IAAA,EAAyBC,GAAG,EAAK;EAAA,IAA9BC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IAAKC,KAAK,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EACrB,oBACEnB,KAAA,CAAAoB,aAAA,CAACjB,qBAAqB,CAACkB,QAAQ;IAC7BC,KAAK,EAAE;MAAEC,KAAK,EAAE,IAAI;MAAEC,aAAa,EAAE;IAAM;EAAE,gBAE7CxB,KAAA,CAAAoB,aAAA,CAAChB,IAAI,EAAAqB,QAAA;IAACV,GAAG,EAAEA;EAAI,GAAKE,KAAK;IAAE,mBAAgB;EAAmB,IAC3DD,QACG,CACwB,CAAC;AAErC,CAAC,C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,GAAKE,KAAK,gBAClCjB,KAAA,CAAAoB,aAAA,CAACT,gCAAgC,QAC9BK,QAC+B,CACnB,CAAC;AAAA,CAEtB,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAO,IAAM2B,eAAe,GAAGnC,gBAAgB,CAC7C;EACEoC,IAAI,EAAExC,IAAI,CAACwC,IAAI;EACfC,MAAM,EAAEzC,IAAI,CAACyC,MAAM;EACnBC,MAAM,EAAE1C,IAAI,CAAC0C,MAAM;EACnBpB,KAAK,EAALA,KAAK;EACLqB,IAAI,EAAE3C,IAAI,CAAC2C,IAAI;EACfP,IAAI,EAAJA,IAAI;EACJQ,KAAK,EAAE5C,IAAI,CAAC4C;AACd,CAAC,EACDpC,gBACF,CAAC;AAEDA,gBAAgB,CAACqC,WAAW,GAAG,iBAAiB"}
1
+ {"version":3,"file":"ToolLandingPage.js","names":["Cog","React","LinkButton","DetailPage","DetailPageViewContext","Page","Tooltip","useI18nContext","addSubcomponents","StyledTitleInner","StyledTitleOuter","StyledToolLandingPageBodyContent","ToolLandingPage_","forwardRef","_ref","ref","children","props","_objectWithoutProperties","_excluded","createElement","Provider","value","width","hasNavigation","_extends","Title","_ref2","settingsHref","_excluded2","i18n","overlay","t","trigger","role","icon","href","variant","Body","_ref3","_excluded3","ToolLandingPage","Main","Header","Banner","Tabs","Aside","displayName"],"sources":["../../src/ToolLandingPage/ToolLandingPage.tsx"],"sourcesContent":["import { Cog } from '@procore/core-icons/dist'\nimport React from 'react'\nimport { LinkButton } from '../Button'\nimport { DetailPage, DetailPageViewContext } from '../DetailPage'\nimport { Page } from '../PageLayout'\nimport { Tooltip } from '../Tooltip'\nimport { useI18nContext } from '../_hooks/I18n'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport type { Props } from '../_utils/types'\nimport {\n StyledTitleInner,\n StyledTitleOuter,\n StyledToolLandingPageBodyContent,\n} from './ToolLandingPage.styles'\nimport type {\n ToolLandingPageProps,\n ToolLandingPageTitleProps,\n} from './ToolLandingPage.types'\n\nexport const ToolLandingPage_ = React.forwardRef<\n HTMLDivElement,\n ToolLandingPageProps\n>(({ children, ...props }, ref) => {\n return (\n <DetailPageViewContext.Provider\n value={{ width: 'xl', hasNavigation: false }}\n >\n <Page ref={ref} {...props} data-core-react=\"tool-landing-page\">\n {children}\n </Page>\n </DetailPageViewContext.Provider>\n )\n})\n\nexport const Title = React.forwardRef<\n HTMLDivElement,\n ToolLandingPageTitleProps\n>(({ children, settingsHref, ...props }, ref) => {\n const i18n = useI18nContext()\n\n return (\n <StyledTitleOuter ref={ref} {...props}>\n {settingsHref && (\n <Tooltip\n overlay={i18n.t('core.toolHeader.settingsAction')}\n trigger={['hover', 'focus']}\n >\n <LinkButton\n aria-label={i18n.t('core.toolHeader.settingsAction')}\n role=\"link\"\n icon={<Cog />}\n href={settingsHref}\n variant=\"secondary\"\n />\n </Tooltip>\n )}\n <StyledTitleInner>{children}</StyledTitleInner>\n </StyledTitleOuter>\n )\n})\n\nexport const Body = React.forwardRef<HTMLDivElement, Props>(\n ({ children, ...props }, ref) => (\n <DetailPage.Body ref={ref} {...props}>\n <StyledToolLandingPageBodyContent>\n {children}\n </StyledToolLandingPageBodyContent>\n </DetailPage.Body>\n )\n)\n\n/**\n * A list page is basically a copy of SettingsPage/DetailPage. However, it has some differences.\n * ToolLandingPage does not have Breadcrumbs, nested sections (although, we may need them in the future), and Footer.\n *\n * @since 12.9.0\n *\n * @see [Storybook](https://stories.core.procore.com/?path=/story/core-react_demos-toollandingpage--demo)\n *\n * @see [Design Guidelines](https://design.procore.com/tool-landing-layout)\n */\n\nexport const ToolLandingPage = addSubcomponents(\n {\n Main: Page.Main,\n Header: Page.Header,\n Banner: Page.Banner,\n Title,\n Tabs: Page.Tabs,\n Body,\n Aside: Page.Aside,\n },\n ToolLandingPage_\n)\n\nToolLandingPage_.displayName = 'ToolLandingPage'\n"],"mappings":";;;;;;AAAA,SAASA,GAAG,QAAQ,0BAA0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ACDlC,gBACF,CAAC;AAEDA,gBAAgB,CAACmC,WAAW,GAAG,iBAAiB"}
@@ -3,14 +3,14 @@ import { Page } from '../PageLayout';
3
3
  import { spacing } from '../_styles/spacing';
4
4
  export var StyledTitleOuter = /*#__PURE__*/styled(Page.Title).withConfig({
5
5
  displayName: "StyledTitleOuter",
6
- componentId: "core-12_20_0__sc-wa8j06-0"
6
+ componentId: "core-12_20_2__sc-wa8j06-0"
7
7
  })(["align-items:center;display:flex;gap:", "px;"], spacing.md);
8
8
  export var StyledTitleInner = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledTitleInner",
10
- componentId: "core-12_20_0__sc-wa8j06-1"
10
+ componentId: "core-12_20_2__sc-wa8j06-1"
11
11
  })(["width:100%;"]);
12
12
  export var StyledToolLandingPageBodyContent = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledToolLandingPageBodyContent",
14
- componentId: "core-12_20_0__sc-wa8j06-2"
14
+ componentId: "core-12_20_2__sc-wa8j06-2"
15
15
  })(["> * + *{margin-top:", "px;}"], spacing.sm);
16
16
  //# sourceMappingURL=ToolLandingPage.styles.js.map
@@ -6,10 +6,10 @@ import { getShadow } from '../_styles/shadows';
6
6
  import { spacing } from '../_styles/spacing';
7
7
  export var StyledTooltip = /*#__PURE__*/styled.span.withConfig({
8
8
  displayName: "StyledTooltip",
9
- componentId: "core-12_20_0__sc-1fawsi4-0"
9
+ componentId: "core-12_20_2__sc-1fawsi4-0"
10
10
  })(["", " color:", ";max-width:200px;padding:", "px ", "px;position:relative;word-wrap:break-word;overflow-wrap:break-word;white-space:normal;"], getTypographyIntent('small'), colors.white, spacing.sm, spacing.md);
11
11
  export var StyledContainer = /*#__PURE__*/styled.span.withConfig({
12
12
  displayName: "StyledContainer",
13
- componentId: "core-12_20_0__sc-1fawsi4-1"
13
+ componentId: "core-12_20_2__sc-1fawsi4-1"
14
14
  })(["display:inline-flex;background-color:", ";border-radius:", "px;", " & + [data-overlay-arrow]{background:", ";}"], colors.gray15, borderRadius.md, getShadow(3, 'bottom'), colors.gray15);
15
15
  //# sourceMappingURL=Tooltip.styles.js.map
@@ -5,11 +5,11 @@ import { Typography } from '../Typography/Typography';
5
5
  import { colors } from '../_styles/colors';
6
6
  export var StyledFilenameCaption = /*#__PURE__*/styled(Typography).withConfig({
7
7
  displayName: "StyledFilenameCaption",
8
- componentId: "core-12_20_0__sc-2d45b5-0"
8
+ componentId: "core-12_20_2__sc-2d45b5-0"
9
9
  })(["display:flex;width:100%;"]);
10
10
  export var StyledTree = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledTree",
12
- componentId: "core-12_20_0__sc-2d45b5-1"
12
+ componentId: "core-12_20_2__sc-2d45b5-1"
13
13
  })(["width:100%;height:100%;min-height:36px;outline:none;overflow:auto;"]);
14
14
  export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
15
15
  shouldForwardProp: function shouldForwardProp(prop) {
@@ -17,11 +17,11 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
17
17
  }
18
18
  }).withConfig({
19
19
  displayName: "StyledTreeRowContainer",
20
- componentId: "core-12_20_0__sc-2d45b5-2"
20
+ componentId: "core-12_20_2__sc-2d45b5-2"
21
21
  })(["display:flex;align-items:center;height:36px;background:transparent;box-shadow:inset 4px 0px 0px transparent;cursor:default;outline:none;", " &:hover{background:", ";}", " ", ""], function (_ref) {
22
22
  var isSelectable = _ref.isSelectable,
23
23
  $isSelectable = _ref.$isSelectable;
24
- return isSelectable || $isSelectable ? 'cursor: pointer;' : '';
24
+ return isSelectable || $isSelectable ? 'cursor: pointer;' : "\n ".concat(StyledFilenameCaption, ",\n ").concat(StyledChevron, ",\n ").concat(StyledIconContainer, " {\n color: ").concat(colors.gray70, ";\n }\n ");
25
25
  }, colors.gray98, function (_ref2) {
26
26
  var isHighlighted = _ref2.isHighlighted,
27
27
  $isHighlighted = _ref2.$isHighlighted;
@@ -35,30 +35,30 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
35
35
  });
36
36
  export var StyledTreeRowContent = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledTreeRowContent",
38
- componentId: "core-12_20_0__sc-2d45b5-3"
38
+ componentId: "core-12_20_2__sc-2d45b5-3"
39
39
  })(["display:flex;align-items:center;"]);
40
40
  export var StyledTreeRowWrapper = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledTreeRowWrapper",
42
- componentId: "core-12_20_0__sc-2d45b5-4"
42
+ componentId: "core-12_20_2__sc-2d45b5-4"
43
43
  })(["outline:none;"]);
44
44
  var StyledIconBase = /*#__PURE__*/styled(Box).withConfig({
45
45
  displayName: "StyledIconBase",
46
- componentId: "core-12_20_0__sc-2d45b5-5"
46
+ componentId: "core-12_20_2__sc-2d45b5-5"
47
47
  })(["display:flex;justify-content:center;align-items:center;width:24px;height:24px;min-width:24px;min-height:24px;"]);
48
48
  export var StyledChevronContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
49
49
  displayName: "StyledChevronContainer",
50
- componentId: "core-12_20_0__sc-2d45b5-6"
50
+ componentId: "core-12_20_2__sc-2d45b5-6"
51
51
  })([""]);
52
52
  export var StyledIconContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
53
53
  displayName: "StyledIconContainer",
54
- componentId: "core-12_20_0__sc-2d45b5-7"
54
+ componentId: "core-12_20_2__sc-2d45b5-7"
55
55
  })(["color:", ";"], function (_ref4) {
56
56
  var $isSelected = _ref4.$isSelected;
57
57
  return $isSelected ? colors.blue45 : colors.gray40;
58
58
  });
59
59
  export var StyledChevron = /*#__PURE__*/styled(ChevronRight).withConfig({
60
60
  displayName: "StyledChevron",
61
- componentId: "core-12_20_0__sc-2d45b5-8"
61
+ componentId: "core-12_20_2__sc-2d45b5-8"
62
62
  })(["transform:rotate(", "deg);transition:transform 150ms ease-out;"], function (_ref5) {
63
63
  var $isExpanded = _ref5.$isExpanded;
64
64
  return $isExpanded ? 90 : 0;
@@ -1 +1 @@
1
- {"version":3,"file":"Tree.styles.js","names":["ChevronRight","styled","Box","Typography","colors","StyledFilenameCaption","withConfig","displayName","componentId","StyledTree","div","StyledTreeRowContainer","shouldForwardProp","prop","includes","_ref","isSelectable","$isSelectable","gray98","_ref2","isHighlighted","$isHighlighted","concat","_ref3","isSelected","$isSelected","blue96","blue50","blue40","blue94","blue45","StyledTreeRowContent","StyledTreeRowWrapper","StyledIconBase","StyledChevronContainer","StyledIconContainer","_ref4","gray40","StyledChevron","_ref5","$isExpanded"],"sources":["../../src/Tree/Tree.styles.ts"],"sourcesContent":["import { ChevronRight } from '@procore/core-icons'\nimport styled from 'styled-components'\nimport { Box } from '../Box/Box'\nimport { Typography } from '../Typography/Typography'\nimport { colors } from '../_styles/colors'\n\nexport const StyledFilenameCaption = styled(Typography)`\n display: flex;\n width: 100%;\n`\n\nexport const StyledTree = styled.div`\n width: 100%;\n height: 100%;\n min-height: 36px;\n outline: none;\n overflow: auto;\n`\n\nexport const StyledTreeRowContainer = styled(Typography).withConfig({\n shouldForwardProp: (prop) =>\n !['isHighlighted', 'isSelectable', 'isSelected'].includes(prop),\n})<{\n /** @deprecated Use $isHighlighted instead */\n isHighlighted?: boolean\n $isHighlighted?: boolean\n /** @deprecated Use $isSelectable instead */\n isSelectable?: boolean\n $isSelectable?: boolean\n /** @deprecated Use $isSelected instead */\n isSelected?: boolean\n $isSelected?: boolean\n}>`\n display: flex;\n align-items: center;\n height: 36px;\n background: transparent;\n box-shadow: inset 4px 0px 0px transparent;\n cursor: default;\n outline: none;\n\n ${({ isSelectable, $isSelectable }) =>\n isSelectable || $isSelectable ? 'cursor: pointer;' : ''}\n\n &:hover {\n background: ${colors.gray98};\n }\n\n ${({ isHighlighted, $isHighlighted }) =>\n isHighlighted || $isHighlighted ? `background: ${colors.gray98};` : ''}\n\n ${({ isSelected, $isSelected, isHighlighted, $isHighlighted }) =>\n (isSelected || $isSelected) &&\n `\n background: ${colors.blue96};\n box-shadow: inset 4px 0px 0px ${colors.blue50};\n\n ${StyledFilenameCaption} {\n color: ${colors.blue40};\n font-weight: 600;\n }\n\n &:hover {\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n }\n\n ${\n (isHighlighted || $isHighlighted) &&\n `\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n `\n }\n `}\n`\n\nexport const StyledTreeRowContent = styled.div`\n display: flex;\n align-items: center;\n`\n\nexport const StyledTreeRowWrapper = styled.div`\n outline: none;\n`\n\nconst StyledIconBase = styled(Box)`\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 24px;\n height: 24px;\n min-width: 24px;\n min-height: 24px;\n`\n\nexport const StyledChevronContainer = styled(StyledIconBase)``\n\nexport const StyledIconContainer = styled(StyledIconBase)<{\n $isSelected?: boolean\n}>`\n color: ${({ $isSelected }) => ($isSelected ? colors.blue45 : colors.gray40)};\n`\n\nexport const StyledChevron = styled(ChevronRight)<{\n $isExpanded?: boolean\n}>`\n transform: rotate(${({ $isExpanded }) => ($isExpanded ? 90 : 0)}deg);\n transition: transform 150ms ease-out;\n`\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,mBAAmB;AAE1C,OAAO,IAAMC,qBAAqB,gBAAGJ,MAAM,CAACE,UAAU,CAAC,CAAAG,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,gCAGtD;AAED,OAAO,IAAMC,UAAU,gBAAGR,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,0EAMnC;AAED,OAAO,IAAMG,sBAAsB,gBAAGV,MAAM,CAACE,UAAU,CAAC,CAACG,UAAU,CAAC;EAClEM,iBAAiB,EAAE,SAAnBA,iBAAiBA,CAAGC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BAEzB,WAEJ;AAAA,EACJ;AAED,OAAO,IAAMC,oBAAoB,gBAAG9B,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wCAG7C;AAED,OAAO,IAAMwB,oBAAoB,gBAAG/B,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qBAE7C;AAED,IAAMyB,cAAc,gBAAGhC,MAAM,CAACC,GAAG,CAAC,CAAAI,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qHASjC;AAED,OAAO,IAAM0B,sBAAsB,gBAAGjC,MAAM,CAACgC,cAAc,CAAC,CAAA3B,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,QAAE;AAE9D,OAAO,IAAM2B,mBAAmB,gBAAGlC,MAAM,CAACgC,cAAc,CAAC,CAAA3B,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oBAG9C,UAAA4B,KAAA;EAAA,IAAGX,WAAW,GAAAW,KAAA,CAAXX,WAAW;EAAA,OAAQA,WAAW,GAAGrB,MAAM,CAAC0B,MAAM,GAAG1B,MAAM,CAACiC,MAAM;AAAA,CAAC,CAC5E;AAED,OAAO,IAAMC,aAAa,gBAAGrC,MAAM,CAACD,YAAY,CAAC,CAAAM,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,uEAG3B,UAAA+B,KAAA;EAAA,IAAGC,WAAW,GAAAD,KAAA,CAAXC,WAAW;EAAA,OAAQA,WAAW,GAAG,EAAE,GAAG,CAAC;AAAA,CAAC,CAEhE"}
1
+ {"version":3,"file":"Tree.styles.js","names":["ChevronRight","styled","Box","Typography","colors","StyledFilenameCaption","withConfig","displayName","componentId","StyledTree","div","StyledTreeRowContainer","shouldForwardProp","prop","includes","_ref","isSelectable","$isSelectable","concat","StyledChevron","StyledIconContainer","gray70","gray98","_ref2","isHighlighted","$isHighlighted","_ref3","isSelected","$isSelected","blue96","blue50","blue40","blue94","blue45","StyledTreeRowContent","StyledTreeRowWrapper","StyledIconBase","StyledChevronContainer","_ref4","gray40","_ref5","$isExpanded"],"sources":["../../src/Tree/Tree.styles.ts"],"sourcesContent":["import { ChevronRight } from '@procore/core-icons'\nimport styled from 'styled-components'\nimport { Box } from '../Box/Box'\nimport { Typography } from '../Typography/Typography'\nimport { colors } from '../_styles/colors'\n\nexport const StyledFilenameCaption = styled(Typography)`\n display: flex;\n width: 100%;\n`\n\nexport const StyledTree = styled.div`\n width: 100%;\n height: 100%;\n min-height: 36px;\n outline: none;\n overflow: auto;\n`\n\nexport const StyledTreeRowContainer = styled(Typography).withConfig({\n shouldForwardProp: (prop) =>\n !['isHighlighted', 'isSelectable', 'isSelected'].includes(prop),\n})<{\n /** @deprecated Use $isHighlighted instead */\n isHighlighted?: boolean\n $isHighlighted?: boolean\n /** @deprecated Use $isSelectable instead */\n isSelectable?: boolean\n $isSelectable?: boolean\n /** @deprecated Use $isSelected instead */\n isSelected?: boolean\n $isSelected?: boolean\n}>`\n display: flex;\n align-items: center;\n height: 36px;\n background: transparent;\n box-shadow: inset 4px 0px 0px transparent;\n cursor: default;\n outline: none;\n\n ${({ isSelectable, $isSelectable }) =>\n isSelectable || $isSelectable\n ? 'cursor: pointer;'\n : `\n ${StyledFilenameCaption},\n ${StyledChevron},\n ${StyledIconContainer} {\n color: ${colors.gray70};\n }\n `}\n\n &:hover {\n background: ${colors.gray98};\n }\n\n ${({ isHighlighted, $isHighlighted }) =>\n isHighlighted || $isHighlighted ? `background: ${colors.gray98};` : ''}\n\n ${({ isSelected, $isSelected, isHighlighted, $isHighlighted }) =>\n (isSelected || $isSelected) &&\n `\n background: ${colors.blue96};\n box-shadow: inset 4px 0px 0px ${colors.blue50};\n\n ${StyledFilenameCaption} {\n color: ${colors.blue40};\n font-weight: 600;\n }\n\n &:hover {\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n }\n\n ${\n (isHighlighted || $isHighlighted) &&\n `\n background-color: ${colors.blue94};\n ${StyledFilenameCaption} {\n color: ${colors.blue45};\n }\n `\n }\n `}\n`\n\nexport const StyledTreeRowContent = styled.div`\n display: flex;\n align-items: center;\n`\n\nexport const StyledTreeRowWrapper = styled.div`\n outline: none;\n`\n\nconst StyledIconBase = styled(Box)`\n display: flex;\n justify-content: center;\n align-items: center;\n\n width: 24px;\n height: 24px;\n min-width: 24px;\n min-height: 24px;\n`\n\nexport const StyledChevronContainer = styled(StyledIconBase)``\n\nexport const StyledIconContainer = styled(StyledIconBase)<{\n $isSelected?: boolean\n}>`\n color: ${({ $isSelected }) => ($isSelected ? colors.blue45 : colors.gray40)};\n`\n\nexport const StyledChevron = styled(ChevronRight)<{\n $isExpanded?: boolean\n}>`\n transform: rotate(${({ $isExpanded }) => ($isExpanded ? 90 : 0)}deg);\n transition: transform 150ms ease-out;\n`\n"],"mappings":"AAAA,SAASA,YAAY,QAAQ,qBAAqB;AAClD,OAAOC,MAAM,MAAM,mBAAmB;AACtC,SAASC,GAAG,QAAQ,YAAY;AAChC,SAASC,UAAU,QAAQ,0BAA0B;AACrD,SAASC,MAAM,QAAQ,mBAAmB;AAE1C,OAAO,IAAMC,qBAAqB,gBAAGJ,MAAM,CAACE,UAAU,CAAC,CAAAG,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,gCAGtD;AAED,OAAO,IAAMC,UAAU,gBAAGR,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,0EAMnC;AAED,OAAO,IAAMG,sBAAsB,gBAAGV,MAAM,CAACE,UAAU,CAAC,CAACG,UAAU,CAAC;EAClEM,iBAAiB,EAAE,SAAnBA,iBAAiBA,CAAGC,IAAI;IAAA,OACtB,CAAC,CAAC,eAAe,EAAE,cAAc,EAAE,YAAY,CAAC,CAACC,QAAQ,CAACD,IAAI,CAAC;EAAA;AACnE,CAAC,CAAC,CAAAP,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wLAmBE,UAAAO,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ACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wCAG7C;AAED,OAAO,IAAM2B,oBAAoB,gBAAGlC,MAAM,CAACS,GAAG,CAAAJ,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qBAE7C;AAED,IAAM4B,cAAc,gBAAGnC,MAAM,CAACC,GAAG,CAAC,CAAAI,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,qHASjC;AAED,OAAO,IAAM6B,sBAAsB,gBAAGpC,MAAM,CAACmC,cAAc,CAAC,CAAA9B,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,QAAE;AAE9D,OAAO,IAAMY,mBAAmB,gBAAGnB,MAAM,CAACmC,cAAc,CAAC,CAAA9B,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,oBAG9C,UAAA8B,KAAA;EAAA,IAAGV,WAAW,GAAAU,KAAA,CAAXV,WAAW;EAAA,OAAQA,WAAW,GAAGxB,MAAM,CAAC6B,MAAM,GAAG7B,MAAM,CAACmC,MAAM;AAAA,CAAC,CAC5E;AAED,OAAO,IAAMpB,aAAa,gBAAGlB,MAAM,CAACD,YAAY,CAAC,CAAAM,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,uEAG3B,UAAAgC,KAAA;EAAA,IAAGC,WAAW,GAAAD,KAAA,CAAXC,WAAW;EAAA,OAAQA,WAAW,GAAG,EAAE,GAAG,CAAC;AAAA,CAAC,CAEhE"}
@@ -5,11 +5,11 @@ import { spacing } from '../_styles/spacing';
5
5
  var inputHeight = 36;
6
6
  export var StyledInput = /*#__PURE__*/styled.input.withConfig({
7
7
  displayName: "StyledInput",
8
- componentId: "core-12_20_0__sc-gpc39h-0"
8
+ componentId: "core-12_20_2__sc-gpc39h-0"
9
9
  })(["", " padding-right:", "px;"], getSearchInputStyles(), spacing.xxl);
10
10
  export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledIcon",
12
- componentId: "core-12_20_0__sc-gpc39h-1"
12
+ componentId: "core-12_20_2__sc-gpc39h-1"
13
13
  })(["align-items:center;color:", ";display:flex;height:", "px;justify-content:center;pointer-events:", ";position:absolute;right:0;top:0;width:", "px;"], function (p) {
14
14
  return p.disabled ? colors.gray70 : colors.gray45;
15
15
  }, inputHeight, function (p) {
@@ -17,6 +17,6 @@ export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
17
17
  }, inputHeight);
18
18
  export var StyledTypeahead = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledTypeahead",
20
- componentId: "core-12_20_0__sc-gpc39h-2"
20
+ componentId: "core-12_20_2__sc-gpc39h-2"
21
21
  })(["position:relative;width:100%;"]);
22
22
  //# sourceMappingURL=Typeahead.styles.js.map
@@ -35,7 +35,7 @@ export var semiboldRules = function semiboldRules() {
35
35
  };
36
36
  export var StyledTypography = /*#__PURE__*/styled.span.withConfig({
37
37
  displayName: "StyledTypography",
38
- componentId: "core-12_20_0__sc-1c4583t-0"
38
+ componentId: "core-12_20_2__sc-1c4583t-0"
39
39
  })(["", " color:", ";font-style:", ";font-weight:", ";", " ", " em,i{font-style:italic;}"], function (_ref) {
40
40
  var _ref$$intent = _ref.$intent,
41
41
  $intent = _ref$$intent === void 0 ? 'body' : _ref$$intent;
@@ -5,11 +5,11 @@ import { colors } from '../_styles/colors';
5
5
  import { getTypographyIntent } from './Typography.styles';
6
6
  var StyledBodyCell = /*#__PURE__*/styled(Table.BodyCell).withConfig({
7
7
  displayName: "StyledBodyCell",
8
- componentId: "core-12_20_0__sc-p4v7d-0"
8
+ componentId: "core-12_20_2__sc-p4v7d-0"
9
9
  })([""]);
10
10
  var StyledTextCell = /*#__PURE__*/styled(Table.TextCell).withConfig({
11
11
  displayName: "StyledTextCell",
12
- componentId: "core-12_20_0__sc-p4v7d-1"
12
+ componentId: "core-12_20_2__sc-p4v7d-1"
13
13
  })(["", " color:", ";"], getTypographyIntent('body'), colors.blue50);
14
14
  function BodyCell() {
15
15
  return /*#__PURE__*/React.createElement(StyledBodyCell, {
@@ -927,6 +927,17 @@ export declare const coreTranslations: {
927
927
  };
928
928
  dropzone: {
929
929
  uploadFiles: {
930
+ /**
931
+ * Hook to access the I18n context.
932
+ *
933
+ * @template Translations - An optional generic to provide type safety for translations.
934
+ * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
935
+ * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
936
+ * If not specified, the default I18njs instance is returned.
937
+ *
938
+ * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,
939
+ * either with or without typed translations based on the provided generic.
940
+ */
930
941
  one: string;
931
942
  other: string;
932
943
  };
@@ -1671,6 +1682,17 @@ export declare const coreTranslations: {
1671
1682
  };
1672
1683
  dropzone: {
1673
1684
  uploadFiles: {
1685
+ /**
1686
+ * Hook to access the I18n context.
1687
+ *
1688
+ * @template Translations - An optional generic to provide type safety for translations.
1689
+ * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
1690
+ * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
1691
+ * If not specified, the default I18njs instance is returned.
1692
+ *
1693
+ * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,
1694
+ * either with or without typed translations based on the provided generic.
1695
+ */
1674
1696
  one: string;
1675
1697
  other: string;
1676
1698
  };
@@ -3135,6 +3157,17 @@ export declare const coreTranslations: {
3135
3157
  ariaLabel: {
3136
3158
  withValue: {
3137
3159
  month: string;
3160
+ /**
3161
+ * Hook to access the I18n context.
3162
+ *
3163
+ * @template Translations - An optional generic to provide type safety for translations.
3164
+ * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
3165
+ * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
3166
+ * If not specified, the default I18njs instance is returned.
3167
+ *
3168
+ * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,
3169
+ * either with or without typed translations based on the provided generic.
3170
+ */
3138
3171
  day: string;
3139
3172
  year: string;
3140
3173
  };
@@ -4628,6 +4661,17 @@ export declare const coreTranslations: {
4628
4661
  };
4629
4662
  withoutValue: {
4630
4663
  month: string;
4664
+ /**
4665
+ * Hook to access the I18n context.
4666
+ *
4667
+ * @template Translations - An optional generic to provide type safety for translations.
4668
+ * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
4669
+ * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
4670
+ * If not specified, the default I18njs instance is returned.
4671
+ *
4672
+ * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,
4673
+ * either with or without typed translations based on the provided generic.
4674
+ */
4631
4675
  day: string;
4632
4676
  year: string;
4633
4677
  };
@@ -5969,11 +6013,16 @@ export declare function I18nProvider({ children, ...props }: I18nConfig & {
5969
6013
  declare type DeepStringRecord = {
5970
6014
  [key: string]: string | DeepStringRecord;
5971
6015
  };
6016
+ declare type PluralizationForm = {
6017
+ zero?: string;
6018
+ one: string;
6019
+ other: string;
6020
+ };
5972
6021
  declare type DotPrefix<T extends string> = T extends '' ? '' : `.${T}`;
5973
6022
  declare type DotNestedKeys<T> = (T extends string ? '' : T extends DeepStringRecord ? {
5974
- [K in keyof T]: K extends string ? T[K] extends DeepStringRecord ? `${K}${DotPrefix<DotNestedKeys<T[K]>>}` : `${K}` : never;
6023
+ [K in keyof T]: K extends string ? T[K] extends PluralizationForm ? `${K}` : T[K] extends DeepStringRecord ? `${K}${DotPrefix<DotNestedKeys<T[K]>>}` : `${K}` : never;
5975
6024
  }[keyof T] : '') extends infer D ? Extract<D, string> : never;
5976
- declare type StringLiteralPathValue<T, P extends string> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? T[K] extends DeepStringRecord ? StringLiteralPathValue<T[K], Rest> : never : never : P extends keyof T ? T[P] extends string ? T[P] : never : never;
6025
+ declare type StringLiteralPathValue<T, P extends string> = P extends `${infer K}.${infer Rest}` ? K extends keyof T ? T[K] extends PluralizationForm ? T[K] : T[K] extends DeepStringRecord ? StringLiteralPathValue<T[K], Rest> : never : never : P extends keyof T ? T[P] extends PluralizationForm ? T[P] : T[P] extends string ? T[P] : never : never;
5977
6026
  declare type HasInterpolation<T extends string> = T extends `${string}%{${string}}${string}` ? true : false;
5978
6027
  declare type ExtractInterpolationVars<T extends string> = T extends `${infer _Before}%{${infer Param}}${infer After}` ? Param | ExtractInterpolationVars<After> : never;
5979
6028
  declare type ExplicitTranslateOptions = {
@@ -5984,9 +6033,25 @@ declare type InterpolationParams<T extends string> = HasInterpolation<T> extends
5984
6033
  } & {
5985
6034
  [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K];
5986
6035
  } : never;
5987
- declare type TypedTranslate<Translations> = {
5988
- <P extends DotNestedKeys<Translations>>(path: P, ...args: StringLiteralPathValue<Translations, P> extends string ? HasInterpolation<StringLiteralPathValue<Translations, P>> extends true ? [InterpolationParams<StringLiteralPathValue<Translations, P>>] : [] : []): StringLiteralPathValue<Translations, P>;
6036
+ declare type PluralizationParams<T extends PluralizationForm> = {
6037
+ count: number;
6038
+ } & ((T['zero'] extends string ? {
6039
+ count: 0;
6040
+ } & {
6041
+ [K in ExtractInterpolationVars<T['zero']>]: string;
6042
+ } : {}) | (T['one'] extends string ? {
6043
+ count: 1;
6044
+ } & {
6045
+ [K in ExtractInterpolationVars<T['one']>]: string;
6046
+ } : {}) | (T['other'] extends string ? {
6047
+ count: number;
6048
+ } & {
6049
+ [K in ExtractInterpolationVars<T['other']>]: string;
6050
+ } : {})) & {
6051
+ [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K];
5989
6052
  };
6053
+ declare type InterpolationOrPluralizationParams<T> = T extends PluralizationForm ? [PluralizationParams<T>] : T extends string ? InterpolationParams<T> extends never ? [ExplicitTranslateOptions?] : [InterpolationParams<T>] : [ExplicitTranslateOptions?];
6054
+ declare type TypedTranslate<Translations> = <P extends DotNestedKeys<Translations>>(path: P, ...args: InterpolationOrPluralizationParams<StringLiteralPathValue<Translations, P>>) => StringLiteralPathValue<Translations, P>;
5990
6055
  declare type I18njsWithTypedTranslate<Translations> = Omit<I18njs, 't' | 'translate'> & {
5991
6056
  t: TypedTranslate<Translations>;
5992
6057
  translate: TypedTranslate<Translations>;