@procore/core-react 11.7.0-rc.6 → 11.7.0-rc.7

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 (92) hide show
  1. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.d.ts +6 -2
  2. package/dist/Thumbnail/Thumbnail.d.ts +11 -5
  3. package/dist/Thumbnail/Thumbnail.hooks.d.ts +1241 -0
  4. package/dist/Thumbnail/Thumbnail.hooks.js +57 -0
  5. package/dist/Thumbnail/Thumbnail.hooks.js.map +1 -0
  6. package/dist/Thumbnail/Thumbnail.js +163 -37
  7. package/dist/Thumbnail/Thumbnail.js.map +1 -1
  8. package/dist/Thumbnail/Thumbnail.styles.d.ts +7 -2
  9. package/dist/Thumbnail/Thumbnail.styles.js +17 -12
  10. package/dist/Thumbnail/Thumbnail.styles.js.map +1 -1
  11. package/dist/Thumbnail/Thumbnail.types.d.ts +60 -18
  12. package/dist/Thumbnail/Thumbnail.utils.d.ts +1 -1
  13. package/dist/Thumbnail/Thumbnail.utils.js.map +1 -1
  14. package/dist/Thumbnail/ThumbnailPreview.js +4 -3
  15. package/dist/Thumbnail/ThumbnailPreview.js.map +1 -1
  16. package/dist/ThumbnailGrid/ThumbnailGrid.js +21 -12
  17. package/dist/ThumbnailGrid/ThumbnailGrid.js.map +1 -1
  18. package/dist/ThumbnailGrid/ThumbnailGrid.styles.d.ts +6 -2
  19. package/dist/ThumbnailGrid/ThumbnailGrid.types.d.ts +4 -4
  20. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  21. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +22 -22
  22. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  23. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  24. package/dist/_typedoc/Box/Box.types.json +68 -68
  25. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  26. package/dist/_typedoc/Button/Button.types.json +11 -11
  27. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  28. package/dist/_typedoc/Card/Card.types.json +6 -6
  29. package/dist/_typedoc/Checkbox/Checkbox.types.json +7 -7
  30. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  31. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  32. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  33. package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
  34. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  35. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  36. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  37. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  38. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  39. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  40. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  41. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  42. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  43. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  44. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  45. package/dist/_typedoc/Form/Form.types.json +694 -694
  46. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  47. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  48. package/dist/_typedoc/Input/Input.types.json +2 -2
  49. package/dist/_typedoc/Link/Link.types.json +4 -4
  50. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  51. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  52. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +71 -71
  53. package/dist/_typedoc/Modal/Modal.types.json +28 -28
  54. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  55. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  56. package/dist/_typedoc/NumberInput/NumberInput.types.json +43 -43
  57. package/dist/_typedoc/PageLayout/PageLayout.types.json +7 -7
  58. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  59. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  60. package/dist/_typedoc/Pill/Pill.types.json +1 -1
  61. package/dist/_typedoc/PillSelect/PillSelect.types.json +46 -46
  62. package/dist/_typedoc/Popover/Popover.types.json +10 -10
  63. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +5 -5
  64. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  65. package/dist/_typedoc/Required/Required.types.json +5 -5
  66. package/dist/_typedoc/Search/Search.types.json +18 -18
  67. package/dist/_typedoc/Section/Section.types.json +14 -14
  68. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
  69. package/dist/_typedoc/Select/Select.types.json +31 -31
  70. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  71. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  72. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  73. package/dist/_typedoc/Table/Table.types.json +94 -94
  74. package/dist/_typedoc/Tabs/Tabs.types.json +15 -15
  75. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +10 -10
  76. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  77. package/dist/_typedoc/TextEditor/TextEditor.types.json +7 -7
  78. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +3 -3
  79. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +1 -284
  80. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  81. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  82. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  83. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  84. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
  85. package/dist/_typedoc/Token/Token.types.json +4 -4
  86. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  87. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  88. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  89. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  90. package/dist/_typedoc/Typography/Typography.types.json +8 -8
  91. package/dist/_typedoc/_utils/types.json +3 -3
  92. package/package.json +2 -2
@@ -2,8 +2,12 @@
2
2
  import { FixedSizeList as List } from 'react-window';
3
3
  export declare const StyledThumbnailListContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const StyledThumbnailList: import("styled-components").StyledComponent<typeof List, any, {}, never>;
5
- export declare const StyledThumbnail: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../..").ThumbnailProps & import("../../_utils/types").DivAttributes & import("react").RefAttributes<HTMLDivElement>> & {
6
- Placeholder: import("react").ForwardRefExoticComponent<import("../../Thumbnail/Thumbnail.types").PlaceholderProps & import("../../_utils/types").DivAttributes & import("react").RefAttributes<HTMLDivElement>>;
5
+ export declare const StyledThumbnail: import("styled-components").StyledComponent<(<Role extends import("../../Thumbnail/Thumbnail.types").ThumbnailRoles>(props: import("../..").ThumbnailProps<Role> | (import("../../Thumbnail/Thumbnail.types").BaseThumbnailProps & {
6
+ ref?: import("../../Thumbnail/Thumbnail.types").ThumbnailRef<Role> | undefined;
7
+ })) => JSX.Element) & {
8
+ Placeholder: <Role_1 extends import("../../Thumbnail/Thumbnail.types").ThumbnailRoles>(props: import("../../Thumbnail/Thumbnail.types").PlaceholderProps<Role_1> | (import("../../Thumbnail/Thumbnail.types").BasePlaceholderProps & {
9
+ ref?: import("../../Thumbnail/Thumbnail.types").ThumbnailRef<Role_1> | undefined;
10
+ })) => JSX.Element;
7
11
  }, any, {}, never>;
8
12
  export declare const StyledProgress: import("styled-components").StyledComponent<"div", any, {}, never>;
9
13
  export declare const StyledThumbnailListItem: import("styled-components").StyledComponent<"div", any, {
@@ -1,6 +1,12 @@
1
- import React from 'react';
2
- import { DivAttributes } from '../_utils/types';
3
- import { PlaceholderProps, ThumbnailProps } from './Thumbnail.types';
4
- export declare const Thumbnail: React.ForwardRefExoticComponent<ThumbnailProps & DivAttributes & React.RefAttributes<HTMLDivElement>> & {
5
- Placeholder: React.ForwardRefExoticComponent<PlaceholderProps & DivAttributes & React.RefAttributes<HTMLDivElement>>;
1
+ /// <reference types="react" />
2
+ import { BasePlaceholderProps, BaseThumbnailProps, PlaceholderProps, ThumbnailProps, ThumbnailRef, ThumbnailRoles, ThumbnailRoleType } from './Thumbnail.types';
3
+ declare function PlaceholderInner(props: PlaceholderProps<ThumbnailRoleType>, ref: ThumbnailRef<ThumbnailRoleType>): JSX.Element;
4
+ declare function ThumbnailInner(props: ThumbnailProps<ThumbnailRoleType>, ref: ThumbnailRef<ThumbnailRoleType>): JSX.Element;
5
+ export declare const Thumbnail: (<Role extends ThumbnailRoles>(props: ThumbnailProps<Role> | (BaseThumbnailProps & {
6
+ ref?: ThumbnailRef<Role> | undefined;
7
+ })) => ReturnType<typeof ThumbnailInner>) & {
8
+ Placeholder: <Role_1 extends ThumbnailRoles>(props: PlaceholderProps<Role_1> | (BasePlaceholderProps & {
9
+ ref?: ThumbnailRef<Role_1> | undefined;
10
+ })) => ReturnType<typeof PlaceholderInner>;
6
11
  };
12
+ export {};