@procore/core-react 12.20.1 → 12.20.3

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 (215) 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/Button/Button.types.d.ts +3 -3
  23. package/dist/Button/Button.types.js.map +1 -1
  24. package/dist/Calendar/Calendar.styles.js +8 -8
  25. package/dist/Card/Card.styles.js +1 -1
  26. package/dist/Checkbox/Checkbox.styles.js +6 -6
  27. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  28. package/dist/ContactItem/ContactItem.styles.js +5 -5
  29. package/dist/Content/Content.styles.js +2 -2
  30. package/dist/DateInput/DateInput.styles.js +6 -6
  31. package/dist/DetailPage/DetailPage.styles.js +7 -7
  32. package/dist/Dropdown/Dropdown.styles.js +3 -3
  33. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  34. package/dist/Dropzone/Dropzone.js +1 -1
  35. package/dist/Dropzone/Dropzone.styles.js +9 -9
  36. package/dist/EmptyState/EmptyState.styles.js +6 -6
  37. package/dist/Field/Field.styles.js +3 -3
  38. package/dist/FileList/FileList.styles.js +4 -4
  39. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  40. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  41. package/dist/FileSelect/FileSelect.styles.js +2 -2
  42. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  43. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  44. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  45. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  46. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  47. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  48. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  49. package/dist/FileToken/FileToken.styles.js +4 -4
  50. package/dist/FilterToken/FilterToken.styles.js +5 -5
  51. package/dist/FlexList/FlexList.styles.js +1 -1
  52. package/dist/Form/Form.d.ts +7 -0
  53. package/dist/Form/Form.js +8 -0
  54. package/dist/Form/Form.js.map +1 -1
  55. package/dist/Form/Form.styles.js +14 -14
  56. package/dist/Form/StyledFormikForm.styles.d.ts +1 -1
  57. package/dist/Form/StyledFormikForm.styles.js +2 -2
  58. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  59. package/dist/Grid/Grid.styles.js +2 -2
  60. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  61. package/dist/Input/Input.styles.js +1 -1
  62. package/dist/Link/Link.styles.js +1 -1
  63. package/dist/ListPage/ListPage.styles.js +8 -8
  64. package/dist/Loader/Loader.styles.js +2 -2
  65. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  66. package/dist/Modal/Modal.styles.js +13 -13
  67. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  68. package/dist/NextMenu/NextMenu.styles.js +3 -3
  69. package/dist/Notation/Notation.js +1 -1
  70. package/dist/NumberInput/NumberInput.styles.js +7 -7
  71. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  72. package/dist/OverlayTrigger/a11yPresets.d.ts +1 -1
  73. package/dist/PageLayout/PageLayout.js +6 -6
  74. package/dist/PageLayout/PageLayout.js.map +1 -1
  75. package/dist/PageLayout/PageLayout.styles.js +16 -16
  76. package/dist/PageLayout/PageLayout.types.d.ts +3 -3
  77. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  78. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  79. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  80. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  81. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  82. package/dist/Pagination/Pagination.styles.js +5 -5
  83. package/dist/Panel/Panel.styles.js +11 -11
  84. package/dist/Pill/Pill.styles.js +2 -2
  85. package/dist/PillSelect/PillSelect.styles.js +4 -4
  86. package/dist/Popover/Popover.styles.js +2 -2
  87. package/dist/Portal/Portal.styles.js +1 -1
  88. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  89. package/dist/RadioButton/RadioButton.styles.js +3 -3
  90. package/dist/Required/Required.styles.js +3 -3
  91. package/dist/Search/Search.styles.js +5 -5
  92. package/dist/Section/Section.styles.js +7 -7
  93. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  94. package/dist/Select/Select.styles.js +7 -7
  95. package/dist/Semantic/Semantic.styles.js +9 -9
  96. package/dist/Slider/Slider.styles.js +5 -5
  97. package/dist/Spinner/Spinner.styles.js +7 -7
  98. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  99. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  100. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  101. package/dist/Switch/Switch.styles.js +4 -4
  102. package/dist/Table/Table.styles.js +28 -28
  103. package/dist/TableShelf/TableShelf.styles.js +5 -5
  104. package/dist/Tabs/Tabs.styles.js +15 -15
  105. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  106. package/dist/TextArea/TextArea.styles.js +1 -1
  107. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  108. package/dist/Thumbnail/Thumbnail.hooks.d.ts +6 -6
  109. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  110. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  111. package/dist/TieredDropdown/TieredDropdown.js +1 -0
  112. package/dist/TieredDropdown/TieredDropdown.js.map +1 -1
  113. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  114. package/dist/Tile/Tile.styles.js +8 -8
  115. package/dist/Title/Title.styles.js +7 -7
  116. package/dist/Toast/Toast.styles.js +3 -3
  117. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  118. package/dist/Token/Token.styles.js +3 -3
  119. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  120. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  121. package/dist/Tooltip/Tooltip.styles.js +2 -2
  122. package/dist/Tree/Tree.styles.js +9 -9
  123. package/dist/Typeahead/Typeahead.styles.js +3 -3
  124. package/dist/Typography/Typography.styles.js +1 -1
  125. package/dist/Typography/Typography.table.story.js +2 -2
  126. package/dist/_hooks/I18n.d.ts +3 -14
  127. package/dist/_hooks/I18n.js +2 -0
  128. package/dist/_hooks/I18n.js.map +1 -1
  129. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +53 -0
  130. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  131. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  132. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  133. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  134. package/dist/_typedoc/Box/Box.types.json +68 -68
  135. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  136. package/dist/_typedoc/Button/Button.types.json +17 -21
  137. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  138. package/dist/_typedoc/Card/Card.types.json +6 -6
  139. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  140. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  141. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  142. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  143. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  144. package/dist/_typedoc/Dropdown/Dropdown.types.json +39 -41
  145. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  146. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  147. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  148. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  149. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  150. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  151. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  152. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  153. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  154. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  155. package/dist/_typedoc/Form/Form.types.json +741 -741
  156. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  157. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  158. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  159. package/dist/_typedoc/Input/Input.types.json +2 -2
  160. package/dist/_typedoc/Link/Link.types.json +4 -4
  161. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  162. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  163. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  164. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  165. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  166. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  167. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  168. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  169. package/dist/_typedoc/PageLayout/PageLayout.types.json +42 -42
  170. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  171. package/dist/_typedoc/Panel/Panel.types.json +30 -32
  172. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  173. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  174. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  175. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  176. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  177. package/dist/_typedoc/Required/Required.types.json +5 -5
  178. package/dist/_typedoc/Search/Search.types.json +19 -19
  179. package/dist/_typedoc/Section/Section.types.json +15 -15
  180. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  181. package/dist/_typedoc/Select/Select.types.json +60 -60
  182. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  183. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  184. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  185. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +12 -12
  186. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  187. package/dist/_typedoc/Table/Table.types.json +101 -101
  188. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  189. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  190. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  191. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  192. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  193. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  194. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  195. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  196. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  197. package/dist/_typedoc/Title/Title.types.json +1 -1
  198. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  199. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  200. package/dist/_typedoc/Token/Token.types.json +4 -4
  201. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  202. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  203. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  204. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  205. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  206. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  207. package/dist/_typedoc/_utils/types.json +3 -3
  208. package/dist/_typedoc/deprecations.json +1 -1
  209. package/dist/_utils/propsTypedoc.d.ts +1 -0
  210. package/dist/_utils/propsTypedoc.js +1 -0
  211. package/dist/_utils/propsTypedoc.js.map +1 -1
  212. package/dist/index.d.ts +1 -0
  213. package/dist/index.js +1 -0
  214. package/dist/index.js.map +1 -1
  215. package/package.json +2 -2
@@ -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_1__sc-2d45b5-0"
8
+ componentId: "core-12_20_3__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_1__sc-2d45b5-1"
12
+ componentId: "core-12_20_3__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,7 +17,7 @@ export var StyledTreeRowContainer = /*#__PURE__*/styled(Typography).withConfig({
17
17
  }
18
18
  }).withConfig({
19
19
  displayName: "StyledTreeRowContainer",
20
- componentId: "core-12_20_1__sc-2d45b5-2"
20
+ componentId: "core-12_20_3__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;
@@ -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_1__sc-2d45b5-3"
38
+ componentId: "core-12_20_3__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_1__sc-2d45b5-4"
42
+ componentId: "core-12_20_3__sc-2d45b5-4"
43
43
  })(["outline:none;"]);
44
44
  var StyledIconBase = /*#__PURE__*/styled(Box).withConfig({
45
45
  displayName: "StyledIconBase",
46
- componentId: "core-12_20_1__sc-2d45b5-5"
46
+ componentId: "core-12_20_3__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_1__sc-2d45b5-6"
50
+ componentId: "core-12_20_3__sc-2d45b5-6"
51
51
  })([""]);
52
52
  export var StyledIconContainer = /*#__PURE__*/styled(StyledIconBase).withConfig({
53
53
  displayName: "StyledIconContainer",
54
- componentId: "core-12_20_1__sc-2d45b5-7"
54
+ componentId: "core-12_20_3__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_1__sc-2d45b5-8"
61
+ componentId: "core-12_20_3__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;
@@ -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_1__sc-gpc39h-0"
8
+ componentId: "core-12_20_3__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_1__sc-gpc39h-1"
12
+ componentId: "core-12_20_3__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_1__sc-gpc39h-2"
20
+ componentId: "core-12_20_3__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_1__sc-1c4583t-0"
38
+ componentId: "core-12_20_3__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_1__sc-p4v7d-0"
8
+ componentId: "core-12_20_3__sc-p4v7d-0"
9
9
  })([""]);
10
10
  var StyledTextCell = /*#__PURE__*/styled(Table.TextCell).withConfig({
11
11
  displayName: "StyledTextCell",
12
- componentId: "core-12_20_1__sc-p4v7d-1"
12
+ componentId: "core-12_20_3__sc-p4v7d-1"
13
13
  })(["", " color:", ";"], getTypographyIntent('body'), colors.blue50);
14
14
  function BodyCell() {
15
15
  return /*#__PURE__*/React.createElement(StyledBodyCell, {
@@ -6006,23 +6006,12 @@ declare type PluralizationParams<T extends PluralizationForm> = {
6006
6006
  } : {})) & {
6007
6007
  [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K];
6008
6008
  };
6009
- declare type TypedTranslate<Translations> = {
6010
- <P extends DotNestedKeys<Translations>>(path: P, ...args: StringLiteralPathValue<Translations, P> extends PluralizationForm ? [PluralizationParams<StringLiteralPathValue<Translations, P>>] : StringLiteralPathValue<Translations, P> extends string ? [InterpolationParams<StringLiteralPathValue<Translations, P>>] : []): StringLiteralPathValue<Translations, P>;
6011
- };
6009
+ declare type InterpolationOrPluralizationParams<T> = T extends PluralizationForm ? [PluralizationParams<T>] : T extends string ? InterpolationParams<T> extends never ? [ExplicitTranslateOptions?] : [InterpolationParams<T>] : [ExplicitTranslateOptions?];
6010
+ declare type TypedTranslate<Translations> = <P extends DotNestedKeys<Translations>>(path: P, ...args: InterpolationOrPluralizationParams<StringLiteralPathValue<Translations, P>>) => StringLiteralPathValue<Translations, P>;
6012
6011
  declare type I18njsWithTypedTranslate<Translations> = Omit<I18njs, 't' | 'translate'> & {
6013
6012
  t: TypedTranslate<Translations>;
6014
6013
  translate: TypedTranslate<Translations>;
6015
6014
  };
6016
- /**
6017
- * Hook to access the I18n context.
6018
- *
6019
- * @template Translations - An optional generic to provide type safety for translations.
6020
- * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.
6021
- * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.
6022
- * If not specified, the default I18njs instance is returned.
6023
- *
6024
- * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,
6025
- * either with or without typed translations based on the provided generic.
6026
- */
6027
6015
  export declare function useI18nContext<Translations extends DeepStringRecord | undefined = undefined>(): Translations extends undefined ? I18njs : I18njsWithTypedTranslate<NonNullable<Translations>>;
6016
+ export declare function useI18nContext(): I18njs;
6028
6017
  export {};
@@ -123,6 +123,8 @@ export function I18nProvider(_ref3) {
123
123
 
124
124
  // always allowed values in the interpolation object (remove [key: string]: any in favor of our strong types)
125
125
 
126
+ // overload for when no generic is provided
127
+
126
128
  /**
127
129
  * Hook to access the I18n context.
128
130
  *
@@ -1 +1 @@
1
- {"version":3,"file":"I18n.js","names":["createI18njs","R","React","deDE","enAU","enCA","enGB","en","esES","es","frCA","frFR","isIS","jaJP","plPL","pseudo","ptBR","thTH","zhSG","OVERWRITE_LOCALE_MAP","coreTranslations","getValidLocale","_ref","locale","translations","FALLBACK_LOCALE_MAP","_objectSpread","getTranslationFallbacks","setTranslationFallbacks","I18n","locales","fallbacks","filter","concat","_toConsumableArray","useI18n","_ref2","_locale","_ref2$translations","_translations","mergeDeepLeft","I18nContext","createContext","I18nProvider","_ref3","children","props","_objectWithoutProperties","_excluded","createElement","Provider","value","useI18nContext","ctx","useContext"],"sources":["../../src/_hooks/I18n.tsx"],"sourcesContent":["import type { I18njs, I18njsConfig } from '@procore/core-i18n-js'\nimport { createI18njs } from '@procore/core-i18n-js'\nimport * as R from 'ramda'\nimport React from 'react'\nimport deDE from '../_locales/de-DE.json'\nimport enAU from '../_locales/en-AU.json'\nimport enCA from '../_locales/en-CA.json'\nimport enGB from '../_locales/en-GB.json'\nimport en from '../_locales/en.json'\nimport esES from '../_locales/es-ES.json'\nimport es from '../_locales/es.json'\nimport frCA from '../_locales/fr-CA.json'\nimport frFR from '../_locales/fr-FR.json'\nimport isIS from '../_locales/is-IS.json'\nimport jaJP from '../_locales/ja-JP.json'\nimport plPL from '../_locales/pl-PL.json'\nimport pseudo from '../_locales/pseudo.json'\nimport ptBR from '../_locales/pt-BR.json'\nimport thTH from '../_locales/th-TH.json'\nimport zhSG from '../_locales/zh-SG.json'\nimport { OVERWRITE_LOCALE_MAP } from './getI18nProviderLocale'\n\ntype I18nConfig = Omit<I18njsConfig, 'I18n'>\n\n/**\n * @deprecated this type will no longer be supported from core-i18n-js,\n * to have a type safe Locale use TmsSupportedLocale or AllLocales from [Globalization toolkit](https://github.com/procore/globalization-toolkit)\n * @deprecatedSince 12.10.0\n */\nexport type Locale =\n | 'de-DE'\n | 'en-AE'\n | 'en-AU'\n | 'en-CA'\n | 'en-GB'\n | 'en-SG'\n | 'en'\n | 'es-ES'\n | 'es'\n | 'fr-CA'\n | 'fr-FR'\n | 'is-IS'\n | 'ja-JP'\n | 'pt-BR'\n | 'th-TH'\n | 'zh-SG'\n | 'pseudo'\n | 'pl-PL'\n\n/* Set up i18n-js */\nexport const coreTranslations = {\n 'de-DE': deDE,\n en,\n 'en-AU': enAU,\n 'en-CA': enCA,\n 'en-GB': enGB,\n es,\n 'es-ES': esES,\n 'fr-CA': frCA,\n 'fr-FR': frFR,\n 'is-IS': isIS,\n 'ja-JP': jaJP,\n pseudo,\n 'pt-BR': ptBR,\n 'th-TH': thTH,\n 'zh-SG': zhSG,\n 'pl-PL': plPL,\n} as const\n\nfunction getValidLocale({ locale, translations }: I18njsConfig) {\n return locale\n}\n\nconst FALLBACK_LOCALE_MAP: Record<string, Locale> = {\n 'es-ES': 'es',\n 'fr-FR': 'fr-CA',\n ...OVERWRITE_LOCALE_MAP,\n}\n\nfunction getTranslationFallbacks(locale: string): Locale[] {\n if (FALLBACK_LOCALE_MAP[locale]) {\n return [FALLBACK_LOCALE_MAP[locale], 'en']\n }\n\n return ['en']\n}\n\nfunction setTranslationFallbacks(I18n: I18njs) {\n I18n.locales[I18n.locale] = function () {\n const fallbacks = getTranslationFallbacks(I18n.locale).filter(\n (locale) => locale !== I18n.locale\n )\n return [I18n.locale, ...fallbacks]\n }\n\n return I18n\n}\n\nexport function useI18n({\n locale: _locale,\n translations: _translations = {},\n}: I18njsConfig): I18njs {\n const translations = R.mergeDeepLeft(_translations, coreTranslations)\n const locale = getValidLocale({ locale: _locale, translations })\n const I18n = createI18njs({\n locale,\n translations,\n })\n return setTranslationFallbacks(I18n)\n}\n\nexport const I18nContext: React.Context<I18njs> = React.createContext(\n createI18njs({\n locale: 'en',\n translations: coreTranslations, // inject our translations\n })\n)\n\nexport function I18nProvider({\n children,\n ...props\n}: I18nConfig & { children: React.ReactNode }) {\n return (\n <I18nContext.Provider value={useI18n(props)}>\n {children}\n </I18nContext.Provider>\n )\n}\n\n// Base type of user provider translations type\ntype DeepStringRecord = {\n [key: string]: string | DeepStringRecord\n}\n\ntype PluralizationForm = {\n zero?: string\n one: string\n other: string\n}\n\n// Type to get nested key paths with dot notation\ntype DotPrefix<T extends string> = T extends '' ? '' : `.${T}`\ntype DotNestedKeys<T> = (\n T extends string\n ? ''\n : T extends DeepStringRecord\n ? {\n [K in keyof T]: K extends string\n ? T[K] extends PluralizationForm\n ? `${K}`\n : T[K] extends DeepStringRecord\n ? `${K}${DotPrefix<DotNestedKeys<T[K]>>}`\n : `${K}`\n : never\n }[keyof T]\n : ''\n) extends infer D\n ? Extract<D, string>\n : never\n\n// Type to get the literal string type from a path\ntype StringLiteralPathValue<\n T,\n P extends string\n> = P extends `${infer K}.${infer Rest}`\n ? K extends keyof T\n ? T[K] extends PluralizationForm\n ? T[K]\n : T[K] extends DeepStringRecord\n ? StringLiteralPathValue<T[K], Rest>\n : never\n : never\n : P extends keyof T\n ? T[P] extends PluralizationForm\n ? T[P]\n : T[P] extends string\n ? T[P]\n : never\n : never\n\n// Check if a string has any interpolation variables\ntype HasInterpolation<T extends string> =\n T extends `${string}%{${string}}${string}` ? true : false\n\n// Extract interpolation variables from a string\ntype ExtractInterpolationVars<T extends string> =\n T extends `${infer _Before}%{${infer Param}}${infer After}`\n ? Param | ExtractInterpolationVars<After>\n : never\n\n// always allowed values in the interpolation object (remove [key: string]: any in favor of our strong types)\ntype ExplicitTranslateOptions = {\n [K in keyof I18n.TranslateOptions as string extends K\n ? never\n : K]: I18n.TranslateOptions[K]\n}\n\ntype InterpolationParams<T extends string> = HasInterpolation<T> extends true\n ? {\n [K in ExtractInterpolationVars<T>]: string\n } & {\n [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K]\n }\n : never\n\ntype PluralizationParams<T extends PluralizationForm> = {\n count: number\n} & (\n | (T['zero'] extends string\n ? { count: 0 } & { [K in ExtractInterpolationVars<T['zero']>]: string }\n : {})\n | (T['one'] extends string\n ? { count: 1 } & { [K in ExtractInterpolationVars<T['one']>]: string }\n : {})\n | (T['other'] extends string\n ? { count: number } & {\n [K in ExtractInterpolationVars<T['other']>]: string\n }\n : {})\n) & {\n [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K]\n }\n\ntype TypedTranslate<Translations> = {\n <P extends DotNestedKeys<Translations>>(\n path: P,\n ...args: StringLiteralPathValue<Translations, P> extends PluralizationForm\n ? [PluralizationParams<StringLiteralPathValue<Translations, P>>]\n : StringLiteralPathValue<Translations, P> extends string\n ? [InterpolationParams<StringLiteralPathValue<Translations, P>>]\n : []\n ): StringLiteralPathValue<Translations, P>\n}\n\ntype I18njsWithTypedTranslate<Translations> = Omit<\n I18njs,\n 't' | 'translate'\n> & {\n t: TypedTranslate<Translations>\n translate: TypedTranslate<Translations>\n}\n\n/**\n * Hook to access the I18n context.\n *\n * @template Translations - An optional generic to provide type safety for translations.\n * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.\n * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.\n * If not specified, the default I18njs instance is returned.\n *\n * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,\n * either with or without typed translations based on the provided generic.\n */\nexport function useI18nContext<\n Translations extends DeepStringRecord | undefined = undefined\n>() {\n const ctx = React.useContext(I18nContext)\n\n if (!ctx) {\n // TODO investigate a way to do warnings that won't annoy people\n // we probably need to introduce a build system to have nice dev warnings\n // console.warn()\n }\n\n // Cast to typing if user has provided a type\n return ctx as Translations extends undefined\n ? I18njs\n : I18njsWithTypedTranslate<NonNullable<Translations>>\n}\n"],"mappings":"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"}
1
+ {"version":3,"file":"I18n.js","names":["createI18njs","R","React","deDE","enAU","enCA","enGB","en","esES","es","frCA","frFR","isIS","jaJP","plPL","pseudo","ptBR","thTH","zhSG","OVERWRITE_LOCALE_MAP","coreTranslations","getValidLocale","_ref","locale","translations","FALLBACK_LOCALE_MAP","_objectSpread","getTranslationFallbacks","setTranslationFallbacks","I18n","locales","fallbacks","filter","concat","_toConsumableArray","useI18n","_ref2","_locale","_ref2$translations","_translations","mergeDeepLeft","I18nContext","createContext","I18nProvider","_ref3","children","props","_objectWithoutProperties","_excluded","createElement","Provider","value","useI18nContext","ctx","useContext"],"sources":["../../src/_hooks/I18n.tsx"],"sourcesContent":["import type { I18njs, I18njsConfig } from '@procore/core-i18n-js'\nimport { createI18njs } from '@procore/core-i18n-js'\nimport * as R from 'ramda'\nimport React from 'react'\nimport deDE from '../_locales/de-DE.json'\nimport enAU from '../_locales/en-AU.json'\nimport enCA from '../_locales/en-CA.json'\nimport enGB from '../_locales/en-GB.json'\nimport en from '../_locales/en.json'\nimport esES from '../_locales/es-ES.json'\nimport es from '../_locales/es.json'\nimport frCA from '../_locales/fr-CA.json'\nimport frFR from '../_locales/fr-FR.json'\nimport isIS from '../_locales/is-IS.json'\nimport jaJP from '../_locales/ja-JP.json'\nimport plPL from '../_locales/pl-PL.json'\nimport pseudo from '../_locales/pseudo.json'\nimport ptBR from '../_locales/pt-BR.json'\nimport thTH from '../_locales/th-TH.json'\nimport zhSG from '../_locales/zh-SG.json'\nimport { OVERWRITE_LOCALE_MAP } from './getI18nProviderLocale'\n\ntype I18nConfig = Omit<I18njsConfig, 'I18n'>\n\n/**\n * @deprecated this type will no longer be supported from core-i18n-js,\n * to have a type safe Locale use TmsSupportedLocale or AllLocales from [Globalization toolkit](https://github.com/procore/globalization-toolkit)\n * @deprecatedSince 12.10.0\n */\nexport type Locale =\n | 'de-DE'\n | 'en-AE'\n | 'en-AU'\n | 'en-CA'\n | 'en-GB'\n | 'en-SG'\n | 'en'\n | 'es-ES'\n | 'es'\n | 'fr-CA'\n | 'fr-FR'\n | 'is-IS'\n | 'ja-JP'\n | 'pt-BR'\n | 'th-TH'\n | 'zh-SG'\n | 'pseudo'\n | 'pl-PL'\n\n/* Set up i18n-js */\nexport const coreTranslations = {\n 'de-DE': deDE,\n en,\n 'en-AU': enAU,\n 'en-CA': enCA,\n 'en-GB': enGB,\n es,\n 'es-ES': esES,\n 'fr-CA': frCA,\n 'fr-FR': frFR,\n 'is-IS': isIS,\n 'ja-JP': jaJP,\n pseudo,\n 'pt-BR': ptBR,\n 'th-TH': thTH,\n 'zh-SG': zhSG,\n 'pl-PL': plPL,\n} as const\n\nfunction getValidLocale({ locale, translations }: I18njsConfig) {\n return locale\n}\n\nconst FALLBACK_LOCALE_MAP: Record<string, Locale> = {\n 'es-ES': 'es',\n 'fr-FR': 'fr-CA',\n ...OVERWRITE_LOCALE_MAP,\n}\n\nfunction getTranslationFallbacks(locale: string): Locale[] {\n if (FALLBACK_LOCALE_MAP[locale]) {\n return [FALLBACK_LOCALE_MAP[locale], 'en']\n }\n\n return ['en']\n}\n\nfunction setTranslationFallbacks(I18n: I18njs) {\n I18n.locales[I18n.locale] = function () {\n const fallbacks = getTranslationFallbacks(I18n.locale).filter(\n (locale) => locale !== I18n.locale\n )\n return [I18n.locale, ...fallbacks]\n }\n\n return I18n\n}\n\nexport function useI18n({\n locale: _locale,\n translations: _translations = {},\n}: I18njsConfig): I18njs {\n const translations = R.mergeDeepLeft(_translations, coreTranslations)\n const locale = getValidLocale({ locale: _locale, translations })\n const I18n = createI18njs({\n locale,\n translations,\n })\n return setTranslationFallbacks(I18n)\n}\n\nexport const I18nContext: React.Context<I18njs> = React.createContext(\n createI18njs({\n locale: 'en',\n translations: coreTranslations, // inject our translations\n })\n)\n\nexport function I18nProvider({\n children,\n ...props\n}: I18nConfig & { children: React.ReactNode }) {\n return (\n <I18nContext.Provider value={useI18n(props)}>\n {children}\n </I18nContext.Provider>\n )\n}\n\n// Base type of user provider translations type\ntype DeepStringRecord = {\n [key: string]: string | DeepStringRecord\n}\n\ntype PluralizationForm = {\n zero?: string\n one: string\n other: string\n}\n\n// Type to get nested key paths with dot notation\ntype DotPrefix<T extends string> = T extends '' ? '' : `.${T}`\ntype DotNestedKeys<T> = (\n T extends string\n ? ''\n : T extends DeepStringRecord\n ? {\n [K in keyof T]: K extends string\n ? T[K] extends PluralizationForm\n ? `${K}`\n : T[K] extends DeepStringRecord\n ? `${K}${DotPrefix<DotNestedKeys<T[K]>>}`\n : `${K}`\n : never\n }[keyof T]\n : ''\n) extends infer D\n ? Extract<D, string>\n : never\n\n// Type to get the literal string type from a path\ntype StringLiteralPathValue<\n T,\n P extends string\n> = P extends `${infer K}.${infer Rest}`\n ? K extends keyof T\n ? T[K] extends PluralizationForm\n ? T[K]\n : T[K] extends DeepStringRecord\n ? StringLiteralPathValue<T[K], Rest>\n : never\n : never\n : P extends keyof T\n ? T[P] extends PluralizationForm\n ? T[P]\n : T[P] extends string\n ? T[P]\n : never\n : never\n\n// Check if a string has any interpolation variables\ntype HasInterpolation<T extends string> =\n T extends `${string}%{${string}}${string}` ? true : false\n\n// Extract interpolation variables from a string\ntype ExtractInterpolationVars<T extends string> =\n T extends `${infer _Before}%{${infer Param}}${infer After}`\n ? Param | ExtractInterpolationVars<After>\n : never\n\n// always allowed values in the interpolation object (remove [key: string]: any in favor of our strong types)\ntype ExplicitTranslateOptions = {\n [K in keyof I18n.TranslateOptions as string extends K\n ? never\n : K]: I18n.TranslateOptions[K]\n}\n\ntype InterpolationParams<T extends string> = HasInterpolation<T> extends true\n ? {\n [K in ExtractInterpolationVars<T>]: string\n } & {\n [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K]\n }\n : never\n\ntype PluralizationParams<T extends PluralizationForm> = {\n count: number\n} & (\n | (T['zero'] extends string\n ? { count: 0 } & { [K in ExtractInterpolationVars<T['zero']>]: string }\n : {})\n | (T['one'] extends string\n ? { count: 1 } & { [K in ExtractInterpolationVars<T['one']>]: string }\n : {})\n | (T['other'] extends string\n ? { count: number } & {\n [K in ExtractInterpolationVars<T['other']>]: string\n }\n : {})\n) & {\n [K in keyof ExplicitTranslateOptions]?: ExplicitTranslateOptions[K]\n }\n\ntype InterpolationOrPluralizationParams<T> = T extends PluralizationForm\n ? [PluralizationParams<T>]\n : T extends string\n ? InterpolationParams<T> extends never\n ? [ExplicitTranslateOptions?]\n : [InterpolationParams<T>]\n : [ExplicitTranslateOptions?]\n\ntype TypedTranslate<Translations> = <P extends DotNestedKeys<Translations>>(\n path: P,\n ...args: InterpolationOrPluralizationParams<\n StringLiteralPathValue<Translations, P>\n >\n) => StringLiteralPathValue<Translations, P>\n\ntype I18njsWithTypedTranslate<Translations> = Omit<\n I18njs,\n 't' | 'translate'\n> & {\n t: TypedTranslate<Translations>\n translate: TypedTranslate<Translations>\n}\n\nexport function useI18nContext<\n Translations extends DeepStringRecord | undefined = undefined\n>(): Translations extends undefined\n ? I18njs\n : I18njsWithTypedTranslate<NonNullable<Translations>>\n// overload for when no generic is provided\nexport function useI18nContext(): I18njs\n\n/**\n * Hook to access the I18n context.\n *\n * @template Translations - An optional generic to provide type safety for translations.\n * If specified, it enables typed access to the `t` and `translate` methods of the I18n instance.\n * These methods will have type safe access to both the tranlsation scope as well as the interpolation variables.\n * If not specified, the default I18njs instance is returned.\n *\n * @returns {I18njs | I18njsWithTypedTranslate<Translations>} The I18n context instance,\n * either with or without typed translations based on the provided generic.\n */\nexport function useI18nContext<\n Translations extends DeepStringRecord | undefined = undefined\n>() {\n const ctx = React.useContext(I18nContext)\n\n if (!ctx) {\n // TODO investigate a way to do warnings that won't annoy people\n // we probably need to introduce a build system to have nice dev warnings\n // console.warn()\n }\n\n // Cast to typing if user has provided a type\n return ctx as Translations extends undefined\n ? I18njs\n : I18njsWithTypedTranslate<NonNullable<Translations>>\n}\n"],"mappings":";;;;;;;;;;;;;;;AACA,SAASA,YAAY,QAAQ,uBAAuB;AACpD,OAAO,KAAKC,CAAC,MAAM,OAAO;AAC1B,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,EAAE,MAAM,qBAAqB;AACpC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,EAAE,MAAM,qBAAqB;AACpC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,MAAM,MAAM,yBAAyB;AAC5C,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,OAAOC,IAAI,MAAM,wBAAwB;AACzC,SAASC,oBAAoB,QAAQ,yBAAyB;;AAI9D;AACA;AACA;AACA;AACA;;AAqBA;AACA,OAAO,IAAMC,gBAAgB,GAAG;EAC9B,OAAO,EAAEjB,IAAI;EACbI,EAAE,EAAFA,EAAE;EACF,OAAO,EAAEH,IAAI;EACb,OAAO,EAAEC,IAAI;EACb,OAAO,EAAEC,IAAI;EACbG,EAAE,EAAFA,EAAE;EACF,OAAO,EAAED,IAAI;EACb,OAAO,EAAEE,IAAI;EACb,OAAO,EAAEC,IAAI;EACb,OAAO,EAAEC,IAAI;EACb,OAAO,EAAEC,IAAI;EACbE,MAAM,EAANA,MAAM;EACN,OAAO,EAAEC,IAAI;EACb,OAAO,EAAEC,IAAI;EACb,OAAO,EAAEC,IAAI;EACb,OAAO,EAAEJ;AACX,CAAU;AAEV,SAASO,cAAcA,CAAAC,IAAA,EAAyC;EAAA,IAAtCC,MAAM,GAAAD,IAAA,CAANC,MAAM;IAAEC,YAAY,GAAAF,IAAA,CAAZE,YAAY;EAC5C,OAAOD,MAAM;AACf;AAEA,IAAME,mBAA2C,GAAAC,aAAA;EAC/C,OAAO,EAAE,IAAI;EACb,OAAO,EAAE;AAAO,GACbP,oBAAoB,CACxB;AAED,SAASQ,uBAAuBA,CAACJ,MAAc,EAAY;EACzD,IAAIE,mBAAmB,CAACF,MAAM,CAAC,EAAE;IAC/B,OAAO,CAACE,mBAAmB,CAACF,MAAM,CAAC,EAAE,IAAI,CAAC;EAC5C;EAEA,OAAO,CAAC,IAAI,CAAC;AACf;AAEA,SAASK,uBAAuBA,CAACC,IAAY,EAAE;EAC7CA,IAAI,CAACC,OAAO,CAACD,IAAI,CAACN,MAAM,CAAC,GAAG,YAAY;IACtC,IAAMQ,SAAS,GAAGJ,uBAAuB,CAACE,IAAI,CAACN,MAAM,CAAC,CAACS,MAAM,CAC3D,UAACT,MAAM;MAAA,OAAKA,MAAM,KAAKM,IAAI,CAACN,MAAM;IAAA,CACpC,CAAC;IACD,QAAQM,IAAI,CAACN,MAAM,EAAAU,MAAA,CAAAC,kBAAA,CAAKH,SAAS;EACnC,CAAC;EAED,OAAOF,IAAI;AACb;AAEA,OAAO,SAASM,OAAOA,CAAAC,KAAA,EAGE;EAAA,IAFfC,OAAO,GAAAD,KAAA,CAAfb,MAAM;IAAAe,kBAAA,GAAAF,KAAA,CACNZ,YAAY;IAAEe,aAAa,GAAAD,kBAAA,cAAG,CAAC,CAAC,GAAAA,kBAAA;EAEhC,IAAMd,YAAY,GAAGvB,CAAC,CAACuC,aAAa,CAACD,aAAa,EAAEnB,gBAAgB,CAAC;EACrE,IAAMG,MAAM,GAAGF,cAAc,CAAC;IAAEE,MAAM,EAAEc,OAAO;IAAEb,YAAY,EAAZA;EAAa,CAAC,CAAC;EAChE,IAAMK,IAAI,GAAG7B,YAAY,CAAC;IACxBuB,MAAM,EAANA,MAAM;IACNC,YAAY,EAAZA;EACF,CAAC,CAAC;EACF,OAAOI,uBAAuB,CAACC,IAAI,CAAC;AACtC;AAEA,OAAO,IAAMY,WAAkC,gBAAGvC,KAAK,CAACwC,aAAa,CACnE1C,YAAY,CAAC;EACXuB,MAAM,EAAE,IAAI;EACZC,YAAY,EAAEJ,gBAAgB,CAAE;AAClC,CAAC,CACH,CAAC;;AAED,OAAO,SAASuB,YAAYA,CAAAC,KAAA,EAGmB;EAAA,IAF7CC,QAAQ,GAAAD,KAAA,CAARC,QAAQ;IACLC,KAAK,GAAAC,wBAAA,CAAAH,KAAA,EAAAI,SAAA;EAER,oBACE9C,KAAA,CAAA+C,aAAA,CAACR,WAAW,CAACS,QAAQ;IAACC,KAAK,EAAEhB,OAAO,CAACW,KAAK;EAAE,GACzCD,QACmB,CAAC;AAE3B;;AAEA;;AAWA;;AAoBA;;AAoBA;;AAIA;;AAMA;;AA6DA;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASO,cAAcA,CAAA,EAE1B;EACF,IAAMC,GAAG,GAAGnD,KAAK,CAACoD,UAAU,CAACb,WAAW,CAAC;EAEzC,IAAI,CAACY,GAAG,EAAE;IACR;IACA;IACA;EAAA;;EAGF;EACA,OAAOA,GAAG;AAGZ"}
@@ -0,0 +1,53 @@
1
+ {
2
+ "AnchorNavigationProps": {
3
+ "name": "AnchorNavigationProps",
4
+ "properties": [
5
+ {
6
+ "name": "sections",
7
+ "required": true,
8
+ "type": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">AnchorNavigationSection</a><span class=\"tsd-signature-symbol\">[]</span>",
9
+ "typeDetail": "<a class=\"tsd-signature-type\" data-tsd-kind=\"Type alias\">AnchorNavigationSection</a><span class=\"tsd-signature-symbol\">[]</span>",
10
+ "description": "An array of sections used in the anchor navigation.",
11
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>An array of sections used in the anchor navigation.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
12
+ "sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
13
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L15"
14
+ },
15
+ {
16
+ "name": "selected",
17
+ "required": true,
18
+ "type": "<span class=\"tsd-signature-type\">string</span>",
19
+ "typeDetail": "<span class=\"tsd-signature-type\">string</span>",
20
+ "description": "The ID of the currently selected section.",
21
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The ID of the currently selected section.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
22
+ "sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
23
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L20"
24
+ },
25
+ {
26
+ "name": "onSelect",
27
+ "required": true,
28
+ "type": "Function",
29
+ "typeDetail": "on<wbr/>Select<span class=\"tsd-signature-symbol\">(</span>id<span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">string</span><span class=\"tsd-signature-symbol\">)</span><span class=\"tsd-signature-symbol\">: </span><span class=\"tsd-signature-type\">void</span>",
30
+ "description": "Callback function to update the selected section ID.",
31
+ "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Callback function to update the selected section ID.</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>12.18.0</p>\n</dd></dl></div>",
32
+ "sourceFile": "packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx",
33
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/AnchorNavigation/AnchorNavigation.types.tsx#L25"
34
+ }
35
+ ],
36
+ "description": ""
37
+ },
38
+ "AnchorNavigationElementSection": {
39
+ "name": "AnchorNavigationElementSection",
40
+ "properties": [],
41
+ "description": ""
42
+ },
43
+ "AnchorNavigationSection": {
44
+ "name": "AnchorNavigationSection",
45
+ "properties": [],
46
+ "description": ""
47
+ },
48
+ "AnchorProps": {
49
+ "name": "AnchorProps",
50
+ "properties": [],
51
+ "description": ""
52
+ }
53
+ }
@@ -10,7 +10,7 @@
10
10
  "description": "",
11
11
  "descriptionHtml": "",
12
12
  "sourceFile": "packages/core-react/src/_utils/types.ts",
13
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L42"
13
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L42"
14
14
  },
15
15
  {
16
16
  "name": "className",
@@ -20,7 +20,7 @@
20
20
  "description": "Additional classNames",
21
21
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
22
22
  "sourceFile": "packages/core-react/src/_utils/types.ts",
23
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L47"
23
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L47"
24
24
  },
25
25
  {
26
26
  "name": "icon",
@@ -30,7 +30,7 @@
30
30
  "description": "The icon to display",
31
31
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The icon to display</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
32
32
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
33
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L100"
33
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L100"
34
34
  },
35
35
  {
36
36
  "name": "style",
@@ -40,7 +40,7 @@
40
40
  "description": "Additional CSS styles",
41
41
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
42
42
  "sourceFile": "packages/core-react/src/_utils/types.ts",
43
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L52"
43
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L52"
44
44
  }
45
45
  ],
46
46
  "description": ""
@@ -56,7 +56,7 @@
56
56
  "description": "",
57
57
  "descriptionHtml": "",
58
58
  "sourceFile": "packages/core-react/src/_utils/types.ts",
59
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L42"
59
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L42"
60
60
  },
61
61
  {
62
62
  "name": "className",
@@ -66,7 +66,7 @@
66
66
  "description": "Additional classNames",
67
67
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
68
68
  "sourceFile": "packages/core-react/src/_utils/types.ts",
69
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L47"
69
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L47"
70
70
  },
71
71
  {
72
72
  "name": "style",
@@ -76,7 +76,7 @@
76
76
  "description": "Additional CSS styles",
77
77
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
78
78
  "sourceFile": "packages/core-react/src/_utils/types.ts",
79
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L52"
79
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L52"
80
80
  }
81
81
  ],
82
82
  "description": ""
@@ -92,7 +92,7 @@
92
92
  "description": "",
93
93
  "descriptionHtml": "",
94
94
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
95
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L12"
95
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L12"
96
96
  },
97
97
  {
98
98
  "name": "img",
@@ -102,7 +102,7 @@
102
102
  "description": "",
103
103
  "descriptionHtml": "",
104
104
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
105
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L13"
105
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L13"
106
106
  },
107
107
  {
108
108
  "name": "link",
@@ -112,7 +112,7 @@
112
112
  "description": "",
113
113
  "descriptionHtml": "",
114
114
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
115
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L14"
115
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L14"
116
116
  }
117
117
  ],
118
118
  "description": ""
@@ -128,7 +128,7 @@
128
128
  "description": "",
129
129
  "descriptionHtml": "",
130
130
  "sourceFile": "packages/core-react/src/_utils/types.ts",
131
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L42"
131
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L42"
132
132
  },
133
133
  {
134
134
  "name": "className",
@@ -138,7 +138,7 @@
138
138
  "description": "Additional classNames",
139
139
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
140
140
  "sourceFile": "packages/core-react/src/_utils/types.ts",
141
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L47"
141
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L47"
142
142
  },
143
143
  {
144
144
  "name": "imageUrl",
@@ -148,7 +148,7 @@
148
148
  "description": "The Avatar rich media url",
149
149
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>The Avatar rich media url</p>\n</div><dl class=\"tsd-comment-tags\"><dt>since</dt><dd><p>10.19.0</p>\n</dd></dl></div>",
150
150
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
151
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L108"
151
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L108"
152
152
  },
153
153
  {
154
154
  "name": "style",
@@ -158,7 +158,7 @@
158
158
  "description": "Additional CSS styles",
159
159
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
160
160
  "sourceFile": "packages/core-react/src/_utils/types.ts",
161
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L52"
161
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L52"
162
162
  }
163
163
  ],
164
164
  "description": ""
@@ -174,7 +174,7 @@
174
174
  "description": "",
175
175
  "descriptionHtml": "",
176
176
  "sourceFile": "packages/core-react/src/_utils/types.ts",
177
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L42"
177
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L42"
178
178
  },
179
179
  {
180
180
  "name": "className",
@@ -184,7 +184,7 @@
184
184
  "description": "Additional classNames",
185
185
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional classNames</p>\n</div></div>",
186
186
  "sourceFile": "packages/core-react/src/_utils/types.ts",
187
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L47"
187
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L47"
188
188
  },
189
189
  {
190
190
  "name": "clickable",
@@ -197,7 +197,7 @@
197
197
  "deprecated": "Reviewing for removal from system, prefer accessible `role=\"link\"` or `role=\"button\"` for interactive UI.",
198
198
  "deprecatedSince": "TBD",
199
199
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
200
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L34"
200
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L34"
201
201
  },
202
202
  {
203
203
  "name": "disabled",
@@ -208,7 +208,7 @@
208
208
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Sets the Avatar&#39;s disabled state</p>\n</div><dl class=\"tsd-comment-tags\"><dt>defaultvalue</dt><dd><p>false</p>\n</dd></dl></div>",
209
209
  "defaultValue": "false\n",
210
210
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
211
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L40"
211
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L40"
212
212
  },
213
213
  {
214
214
  "name": "size",
@@ -221,7 +221,7 @@
221
221
  "deprecated": "\n\nSize \"xl\" and \"sm\" have been deprecated and will be removed in a future version.\nPlease use \"lg\" instead of \"xl\".\n\n**Before**\n\n`<Avatar size=\"xl\" />`\n\n**After**\n\n`<Avatar size=\"lg\" />`\n",
222
222
  "deprecatedSince": "10.20.0",
223
223
  "sourceFile": "packages/core-react/src/Avatar/Avatar.types.ts",
224
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/Avatar/Avatar.types.ts#L62"
224
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/Avatar/Avatar.types.ts#L62"
225
225
  },
226
226
  {
227
227
  "name": "style",
@@ -231,7 +231,7 @@
231
231
  "description": "Additional CSS styles",
232
232
  "descriptionHtml": "<div class=\"tsd-comment tsd-typography\"><div class=\"lead\">\n<p>Additional CSS styles</p>\n</div></div>",
233
233
  "sourceFile": "packages/core-react/src/_utils/types.ts",
234
- "sourceUrl": "https://github.com/procore/core/blob/313b844/packages/core-react/src/_utils/types.ts#L52"
234
+ "sourceUrl": "https://github.com/procore/core/blob/a9a6598/packages/core-react/src/_utils/types.ts#L52"
235
235
  }
236
236
  ],
237
237
  "description": ""