@procore/core-react 12.21.0-cdn.2 → 12.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/dist/AnchorNavigation/AnchorNavigation.styles.js +3 -3
  2. package/dist/Avatar/Avatar.styles.js +5 -5
  3. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  4. package/dist/Badge/Badge.styles.js +2 -2
  5. package/dist/Banner/Banner.styles.js +10 -10
  6. package/dist/Box/Box.styles.js +1 -1
  7. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  8. package/dist/Button/Button.styles.js +5 -5
  9. package/dist/Calendar/Calendar.styles.js +8 -8
  10. package/dist/Card/Card.styles.js +1 -1
  11. package/dist/Checkbox/Checkbox.styles.js +6 -6
  12. package/dist/Checkbox/CheckboxTooltip.js +1 -1
  13. package/dist/ContactItem/ContactItem.styles.js +5 -5
  14. package/dist/Content/Content.styles.js +2 -2
  15. package/dist/DateInput/DateInput.styles.js +6 -6
  16. package/dist/DetailPage/DetailPage.styles.js +7 -7
  17. package/dist/Dropdown/Dropdown.styles.js +3 -3
  18. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  19. package/dist/Dropzone/Dropzone.js +1 -1
  20. package/dist/Dropzone/Dropzone.styles.js +9 -9
  21. package/dist/EmptyState/EmptyState.styles.js +6 -6
  22. package/dist/Field/Field.styles.js +3 -3
  23. package/dist/FileList/FileList.styles.js +4 -4
  24. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  25. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  26. package/dist/FileSelect/FileSelect.styles.js +2 -2
  27. package/dist/FileSelect/FileSelect.types.d.ts +4 -0
  28. package/dist/FileSelect/FileSelect.types.js.map +1 -1
  29. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  30. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  31. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  32. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  33. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  34. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  35. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  36. package/dist/FileToken/FileToken.styles.js +4 -4
  37. package/dist/FilterToken/FilterToken.styles.js +5 -5
  38. package/dist/FlexList/FlexList.styles.js +1 -1
  39. package/dist/Form/Form.styles.js +14 -14
  40. package/dist/Form/StyledFormikForm.styles.d.ts +1 -1
  41. package/dist/Form/StyledFormikForm.styles.js +2 -2
  42. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  43. package/dist/Grid/Grid.styles.js +2 -2
  44. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  45. package/dist/Input/Input.styles.js +1 -1
  46. package/dist/Link/Link.styles.js +1 -1
  47. package/dist/ListPage/ListPage.styles.js +8 -8
  48. package/dist/Loader/Loader.styles.js +2 -2
  49. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  50. package/dist/Modal/Modal.styles.js +13 -13
  51. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  52. package/dist/NextMenu/NextMenu.styles.js +3 -3
  53. package/dist/Notation/Notation.js +1 -1
  54. package/dist/NumberInput/NumberInput.styles.js +7 -7
  55. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  56. package/dist/PageLayout/PageLayout.styles.js +16 -16
  57. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  58. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  59. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  60. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  61. package/dist/Pagination/Pagination.styles.js +5 -5
  62. package/dist/Panel/Panel.js +2 -1
  63. package/dist/Panel/Panel.js.map +1 -1
  64. package/dist/Panel/Panel.styles.js +11 -11
  65. package/dist/Pill/Pill.styles.js +2 -2
  66. package/dist/PillSelect/PillSelect.styles.js +4 -4
  67. package/dist/Popover/Popover.styles.js +2 -2
  68. package/dist/Portal/Portal.styles.js +1 -1
  69. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  70. package/dist/RadioButton/RadioButton.js +1 -0
  71. package/dist/RadioButton/RadioButton.js.map +1 -1
  72. package/dist/RadioButton/RadioButton.styles.js +3 -3
  73. package/dist/Required/Required.styles.js +3 -3
  74. package/dist/Search/Search.styles.js +5 -5
  75. package/dist/Section/Section.styles.js +7 -7
  76. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  77. package/dist/Select/Select.styles.js +7 -7
  78. package/dist/Semantic/Semantic.styles.js +9 -9
  79. package/dist/Slider/Slider.styles.js +5 -5
  80. package/dist/Spinner/Spinner.styles.js +7 -7
  81. package/dist/SplitViewCard/SplitViewCard.context.d.ts +1 -1
  82. package/dist/SplitViewCard/SplitViewCard.context.js +14 -29
  83. package/dist/SplitViewCard/SplitViewCard.context.js.map +1 -1
  84. package/dist/SplitViewCard/SplitViewCard.js +16 -14
  85. package/dist/SplitViewCard/SplitViewCard.js.map +1 -1
  86. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  87. package/dist/SplitViewCard/SplitViewCard.types.d.ts +24 -16
  88. package/dist/SplitViewCard/SplitViewCard.types.js.map +1 -1
  89. package/dist/SplitViewCard/SplitViewCardInternal.context.d.ts +6 -0
  90. package/dist/SplitViewCard/SplitViewCardInternal.context.js +31 -0
  91. package/dist/SplitViewCard/SplitViewCardInternal.context.js.map +1 -0
  92. package/dist/SplitViewCard/index.d.ts +1 -0
  93. package/dist/SplitViewCard/index.js +1 -0
  94. package/dist/SplitViewCard/index.js.map +1 -1
  95. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  96. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  97. package/dist/Switch/Switch.styles.js +4 -4
  98. package/dist/Table/Table.styles.js +28 -28
  99. package/dist/TableShelf/TableShelf.styles.js +5 -5
  100. package/dist/Tabs/Tabs.styles.js +15 -15
  101. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  102. package/dist/TextArea/TextArea.styles.js +1 -1
  103. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  104. package/dist/Thumbnail/Thumbnail.hooks.d.ts +6 -6
  105. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  106. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  107. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  108. package/dist/Tile/Tile.styles.js +8 -8
  109. package/dist/Title/Title.styles.js +7 -7
  110. package/dist/Toast/Toast.styles.js +3 -3
  111. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  112. package/dist/Token/Token.styles.js +3 -3
  113. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  114. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  115. package/dist/Tooltip/Tooltip.styles.js +2 -2
  116. package/dist/Tree/Tree.styles.js +9 -9
  117. package/dist/Typeahead/Typeahead.styles.js +3 -3
  118. package/dist/Typography/Typography.styles.js +1 -1
  119. package/dist/Typography/Typography.table.story.js +2 -2
  120. package/dist/_hooks/I18n.d.ts +9 -29
  121. package/dist/_hooks/I18n.js +29 -46
  122. package/dist/_hooks/I18n.js.map +1 -1
  123. package/dist/_locales/it-IT.json +216 -216
  124. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +3 -3
  125. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  126. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +24 -24
  127. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  128. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  129. package/dist/_typedoc/Box/Box.types.json +68 -68
  130. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  131. package/dist/_typedoc/Button/Button.types.json +13 -13
  132. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  133. package/dist/_typedoc/Card/Card.types.json +6 -6
  134. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  135. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  136. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  137. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  138. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  139. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  140. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  141. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  142. package/dist/_typedoc/EmptyState/EmptyState.types.json +16 -16
  143. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  144. package/dist/_typedoc/FileSelect/FileSelect.types.json +36 -26
  145. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  146. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  147. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  148. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  149. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  150. package/dist/_typedoc/Form/Form.types.json +741 -741
  151. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  152. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  153. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  154. package/dist/_typedoc/Input/Input.types.json +2 -2
  155. package/dist/_typedoc/Link/Link.types.json +4 -4
  156. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  157. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  158. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  159. package/dist/_typedoc/Modal/Modal.types.json +46 -46
  160. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  161. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  162. package/dist/_typedoc/NumberInput/NumberInput.types.json +37 -37
  163. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  164. package/dist/_typedoc/PageLayout/PageLayout.types.json +29 -29
  165. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  166. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  167. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  168. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  169. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  170. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  171. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  172. package/dist/_typedoc/Required/Required.types.json +5 -5
  173. package/dist/_typedoc/Search/Search.types.json +19 -19
  174. package/dist/_typedoc/Section/Section.types.json +15 -15
  175. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  176. package/dist/_typedoc/Select/Select.types.json +60 -60
  177. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  178. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  179. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  180. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +50 -40
  181. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  182. package/dist/_typedoc/Table/Table.types.json +101 -101
  183. package/dist/_typedoc/Tabs/Tabs.types.json +20 -20
  184. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  185. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  186. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  187. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  188. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  189. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  190. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  191. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  192. package/dist/_typedoc/Title/Title.types.json +1 -1
  193. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  194. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  195. package/dist/_typedoc/Token/Token.types.json +4 -4
  196. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  197. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +7 -7
  198. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  199. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  200. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  201. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  202. package/dist/_typedoc/_utils/types.json +3 -3
  203. package/dist/_typedoc/deprecations.json +1 -1
  204. package/package.json +2 -3
@@ -9,15 +9,15 @@ import { colors } from '../_styles/colors';
9
9
  import { spacing } from '../_styles/spacing';
10
10
  export var StyledErrorBanner = /*#__PURE__*/styled(ErrorBannerBase).withConfig({
11
11
  displayName: "StyledErrorBanner",
12
- componentId: "core-12_21_0-cdn_2__sc-by95hy-0"
12
+ componentId: "core-12_21_0__sc-by95hy-0"
13
13
  })(["margin-top:", "px;flex-shrink:0;"], spacing.lg);
14
14
  export var StyledErrorBannerDetails = /*#__PURE__*/styled.ul.withConfig({
15
15
  displayName: "StyledErrorBannerDetails",
16
- componentId: "core-12_21_0-cdn_2__sc-by95hy-1"
16
+ componentId: "core-12_21_0__sc-by95hy-1"
17
17
  })(["margin:", "px;padding:0;list-style-position:inside;list-style-type:disc;"], spacing.xs);
18
18
  export var StyledDropzoneIcon = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledDropzoneIcon",
20
- componentId: "core-12_21_0-cdn_2__sc-by95hy-2"
20
+ componentId: "core-12_21_0__sc-by95hy-2"
21
21
  })(["display:flex;justify-content:center;align-items:center;height:64px;color:", ";margin-bottom:", "px;transition:all 250ms ease-out;", " svg{width:auto;height:100%;}"], colors.gray45, spacing.lg, function (_ref) {
22
22
  var disabled = _ref.disabled;
23
23
  return disabled && css(["height:72px;margin-bottom:", "px;"], spacing.sm);
@@ -26,7 +26,7 @@ var activeDropzone = /*#__PURE__*/css(["outline:none;border:2px dashed ", ";back
26
26
  var disabledDropzone = /*#__PURE__*/css(["color:", ";border:2px dashed ", ";background-color:", ";cursor:not-allowed;& ", "{color:", ";transform:none;}"], colors.gray70, colors.gray85, colors.gray98, StyledDropzoneIcon, colors.gray85);
27
27
  export var StyledDropzoneContainer = /*#__PURE__*/styled.div.withConfig({
28
28
  displayName: "StyledDropzoneContainer",
29
- componentId: "core-12_21_0-cdn_2__sc-by95hy-3"
29
+ componentId: "core-12_21_0__sc-by95hy-3"
30
30
  })(["", " display:inline-flex;justify-content:center;align-items:center;box-sizing:border-box;width:100%;height:100%;min-height:92px;padding:", "px;color:", ";border:2px dashed ", ";background-color:", ";border-radius:", "px;text-align:center;letter-spacing:0.25px;transition:all 250ms ease-out;cursor:grab;", " ", " ", " ", ""], getTypographyIntent('body'), spacing.lg, colors.gray40, colors.gray70, colors.gray96, borderRadius.md, function (_ref2) {
31
31
  var disabled = _ref2.disabled;
32
32
  return !disabled && css(["&:hover{", "}"], activeDropzone);
@@ -43,25 +43,25 @@ export var StyledDropzoneContainer = /*#__PURE__*/styled.div.withConfig({
43
43
  });
44
44
  export var StyledDropzoneMessage = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledDropzoneMessage",
46
- componentId: "core-12_21_0-cdn_2__sc-by95hy-4"
46
+ componentId: "core-12_21_0__sc-by95hy-4"
47
47
  })(["user-select:none;"]);
48
48
  export var StyledUploadButton = /*#__PURE__*/styled(Button).withConfig({
49
49
  displayName: "StyledUploadButton",
50
- componentId: "core-12_21_0-cdn_2__sc-by95hy-5"
50
+ componentId: "core-12_21_0__sc-by95hy-5"
51
51
  })(["display:block;margin-left:auto;margin-right:auto;margin-bottom:", "px;"], spacing.sm);
52
52
  export var StyledDropzoneCaption = /*#__PURE__*/styled.span.withConfig({
53
53
  displayName: "StyledDropzoneCaption",
54
- componentId: "core-12_21_0-cdn_2__sc-by95hy-6"
54
+ componentId: "core-12_21_0__sc-by95hy-6"
55
55
  })(["color:", ";"], function (_ref6) {
56
56
  var error = _ref6.error;
57
57
  return error && colors.gray15;
58
58
  });
59
59
  export var StyledDropzoneWrapper = /*#__PURE__*/styled(Flex).withConfig({
60
60
  displayName: "StyledDropzoneWrapper",
61
- componentId: "core-12_21_0-cdn_2__sc-by95hy-7"
61
+ componentId: "core-12_21_0__sc-by95hy-7"
62
62
  })(["height:100%;"]);
63
63
  export var StyledDropzoneFocusDetector = /*#__PURE__*/styled(Box).withConfig({
64
64
  displayName: "StyledDropzoneFocusDetector",
65
- componentId: "core-12_21_0-cdn_2__sc-by95hy-8"
65
+ componentId: "core-12_21_0__sc-by95hy-8"
66
66
  })(["height:100%;"]);
67
67
  //# sourceMappingURL=Dropzone.styles.js.map
@@ -5,27 +5,27 @@ import { spacing } from '../_styles/spacing';
5
5
  var emptyStateWidth = 312;
6
6
  export var StyledSvg = /*#__PURE__*/styled.svg.withConfig({
7
7
  displayName: "StyledSvg",
8
- componentId: "core-12_21_0-cdn_2__sc-1xaoo8n-0"
8
+ componentId: "core-12_21_0__sc-1xaoo8n-0"
9
9
  })(["width:200px;height:200px;"]);
10
10
  export var StyledImage = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledImage",
12
- componentId: "core-12_21_0-cdn_2__sc-1xaoo8n-1"
12
+ componentId: "core-12_21_0__sc-1xaoo8n-1"
13
13
  })([""]);
14
14
  export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
15
15
  displayName: "StyledTitle",
16
- componentId: "core-12_21_0-cdn_2__sc-1xaoo8n-2"
16
+ componentId: "core-12_21_0__sc-1xaoo8n-2"
17
17
  })(["color:", ";max-width:", "px;width:100%;", ""], colors.gray15, emptyStateWidth, getTypographyIntent('h2'));
18
18
  export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledDescription",
20
- componentId: "core-12_21_0-cdn_2__sc-1xaoo8n-3"
20
+ componentId: "core-12_21_0__sc-1xaoo8n-3"
21
21
  })(["margin-top:", "px;color:", ";max-width:", "px;width:100%;", ""], spacing.lg, colors.gray45, emptyStateWidth, getTypographyIntent('body'));
22
22
  export var StyledActions = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledActions",
24
- componentId: "core-12_21_0-cdn_2__sc-1xaoo8n-4"
24
+ componentId: "core-12_21_0__sc-1xaoo8n-4"
25
25
  })(["margin-top:", "px;"], spacing.xl);
26
26
  export var StyledEmptyState = /*#__PURE__*/styled.div.withConfig({
27
27
  displayName: "StyledEmptyState",
28
- componentId: "core-12_21_0-cdn_2__sc-1xaoo8n-5"
28
+ componentId: "core-12_21_0__sc-1xaoo8n-5"
29
29
  })(["display:flex;justify-content:center;align-items:", ";gap:", "px;flex-direction:", ";margin-top:", "px;margin-bottom:", "px;", "{> img{max-width:200px;}}", " ", "}"], function (_ref) {
30
30
  var $isHorizontal = _ref.$isHorizontal;
31
31
  return $isHorizontal ? 'flex-start' : 'center';
@@ -2,14 +2,14 @@ import styled from 'styled-components';
2
2
  import { getSmallIconBodyTextRules, StyledP } from '../Semantic/Semantic.styles';
3
3
  export var StyledField = /*#__PURE__*/styled.div.withConfig({
4
4
  displayName: "StyledField",
5
- componentId: "core-12_21_0-cdn_2__sc-1q3pe6s-0"
5
+ componentId: "core-12_21_0__sc-1q3pe6s-0"
6
6
  })(["> ", "{", "}"], StyledP, getSmallIconBodyTextRules);
7
7
  export var StyledFieldHeader = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "StyledFieldHeader",
9
- componentId: "core-12_21_0-cdn_2__sc-1q3pe6s-1"
9
+ componentId: "core-12_21_0__sc-1q3pe6s-1"
10
10
  })(["", " > ", "{", "}"], getSmallIconBodyTextRules, StyledP, getSmallIconBodyTextRules);
11
11
  export var StyledFieldFooter = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "StyledFieldFooter",
13
- componentId: "core-12_21_0-cdn_2__sc-1q3pe6s-2"
13
+ componentId: "core-12_21_0__sc-1q3pe6s-2"
14
14
  })(["> ", "{", "}"], StyledP, getSmallIconBodyTextRules);
15
15
  //# sourceMappingURL=Field.styles.js.map
@@ -3,18 +3,18 @@ import { LinkButton } from '../Button/Button';
3
3
  import { spacing } from '../_styles/spacing';
4
4
  export var StyledFileListDownloadAll = /*#__PURE__*/styled(LinkButton).withConfig({
5
5
  displayName: "StyledFileListDownloadAll",
6
- componentId: "core-12_21_0-cdn_2__sc-7gltjc-0"
6
+ componentId: "core-12_21_0__sc-7gltjc-0"
7
7
  })(["margin-bottom:", "px;"], spacing.xs);
8
8
  export var StyledFileListItem = /*#__PURE__*/styled.li.withConfig({
9
9
  displayName: "StyledFileListItem",
10
- componentId: "core-12_21_0-cdn_2__sc-7gltjc-1"
10
+ componentId: "core-12_21_0__sc-7gltjc-1"
11
11
  })(["display:flex;align-items:center;margin-bottom:", "px;word-break:break-word;&:last-child{margin-bottom:0;}"], spacing.xs);
12
12
  export var StyledFileListItemTextInactive = /*#__PURE__*/styled.span.withConfig({
13
13
  displayName: "StyledFileListItemTextInactive",
14
- componentId: "core-12_21_0-cdn_2__sc-7gltjc-2"
14
+ componentId: "core-12_21_0__sc-7gltjc-2"
15
15
  })(["cursor:pointer;"]);
16
16
  export var StyledFileListItemDownloadIcon = /*#__PURE__*/styled(LinkButton).withConfig({
17
17
  displayName: "StyledFileListItemDownloadIcon",
18
- componentId: "core-12_21_0-cdn_2__sc-7gltjc-3"
18
+ componentId: "core-12_21_0__sc-7gltjc-3"
19
19
  })(["margin-left:", "px;align-self:flex-start;"], spacing.sm);
20
20
  //# sourceMappingURL=FileList.styles.js.map
@@ -12,40 +12,40 @@ var modalContainerMaxHeight = 996;
12
12
  var modalContainerMargin = 80;
13
13
  export var StyledModalOverlay = /*#__PURE__*/styled(Modal.Overlay).withConfig({
14
14
  displayName: "StyledModalOverlay",
15
- componentId: "core-12_21_0-cdn_2__sc-343gts-0"
15
+ componentId: "core-12_21_0__sc-343gts-0"
16
16
  })(["opacity:0;pointer-events:none;transition:opacity 0.3s linear;visibility:hidden;", ""], function (props) {
17
17
  return props.$open && "\n opacity: 1;\n pointer-events: all;\n visibility: visible;\n ";
18
18
  });
19
19
  export var StyledModalContainer = /*#__PURE__*/styled(Modal.Container).withConfig({
20
20
  displayName: "StyledModalContainer",
21
- componentId: "core-12_21_0-cdn_2__sc-343gts-1"
21
+ componentId: "core-12_21_0__sc-343gts-1"
22
22
  })(["width:calc(100% - ", "px);height:calc(100% - ", "px);top:calc(50vh - ", "px);left:calc(50vw - ", "px);margin:", "px;min-width:", "px;min-height:", "px;max-width:", "px;max-height:", "px;"], modalContainerMargin * 2, modalContainerMargin * 2, modalContainerMargin, modalContainerMargin, modalContainerMargin, modalContainerMinWidth, modalContainerMinHeight, modalContainerMaxWidth, modalContainerMaxHeight);
23
23
  export var StyledModalBody = /*#__PURE__*/styled(Modal.Body).withConfig({
24
24
  displayName: "StyledModalBody",
25
- componentId: "core-12_21_0-cdn_2__sc-343gts-2"
25
+ componentId: "core-12_21_0__sc-343gts-2"
26
26
  })(["min-height:", "px;height:100%;margin:0;max-width:none;padding:0;border-bottom:1px solid ", ";"], modalBodyMinHeight, colors.gray85);
27
27
  export var StyledModalInnerBody = /*#__PURE__*/styled.div.withConfig({
28
28
  displayName: "StyledModalInnerBody",
29
- componentId: "core-12_21_0-cdn_2__sc-343gts-3"
29
+ componentId: "core-12_21_0__sc-343gts-3"
30
30
  })(["display:flex;flex-direction:row;height:100%;overflow:hidden;"]);
31
31
  export var StyledModalHeader = /*#__PURE__*/styled(Modal.Header).withConfig({
32
32
  displayName: "StyledModalHeader",
33
- componentId: "core-12_21_0-cdn_2__sc-343gts-4"
33
+ componentId: "core-12_21_0__sc-343gts-4"
34
34
  })(["border-bottom:1px solid ", ";"], colors.gray85);
35
35
  export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
36
36
  displayName: "StyledModalContent",
37
- componentId: "core-12_21_0-cdn_2__sc-343gts-5"
37
+ componentId: "core-12_21_0__sc-343gts-5"
38
38
  })(["display:flex;width:100%;height:100%;overflow-y:auto;outline:none;"]);
39
39
  export var StyledSource = /*#__PURE__*/styled.div.withConfig({
40
40
  displayName: "StyledSource",
41
- componentId: "core-12_21_0-cdn_2__sc-343gts-6"
41
+ componentId: "core-12_21_0__sc-343gts-6"
42
42
  })(["width:100%;height:100%;"]);
43
43
  export var StyledAttachButton = /*#__PURE__*/styled.div.withConfig({
44
44
  displayName: "StyledAttachButton",
45
- componentId: "core-12_21_0-cdn_2__sc-343gts-7"
45
+ componentId: "core-12_21_0__sc-343gts-7"
46
46
  })(["margin-left:", "px;"], spacing.md);
47
47
  export var StyledFileTreeSpinner = /*#__PURE__*/styled.div.withConfig({
48
48
  displayName: "StyledFileTreeSpinner",
49
- componentId: "core-12_21_0-cdn_2__sc-343gts-8"
49
+ componentId: "core-12_21_0__sc-343gts-8"
50
50
  })(["display:flex;align-items:center;justify-content:center;height:100%;"]);
51
51
  //# sourceMappingURL=FileExplorer.styles.js.map
@@ -3,14 +3,14 @@ import { colors } from '../../_styles/colors';
3
3
  import { SourceItem } from '../SourceItem/SourceItem';
4
4
  export var StyledSidebar = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "StyledSidebar",
6
- componentId: "core-12_21_0-cdn_2__sc-s03uiv-0"
6
+ componentId: "core-12_21_0__sc-s03uiv-0"
7
7
  })(["display:flex;flex-shrink:0;width:300px;border-right:1px solid ", ";"], colors.gray85);
8
8
  export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledNavigation",
10
- componentId: "core-12_21_0-cdn_2__sc-s03uiv-1"
10
+ componentId: "core-12_21_0__sc-s03uiv-1"
11
11
  })(["display:flex;flex-direction:column;width:100%;&:focus{outline:none;}"]);
12
12
  export var StyledSourceItem = /*#__PURE__*/styled(SourceItem).withConfig({
13
13
  displayName: "StyledSourceItem",
14
- componentId: "core-12_21_0-cdn_2__sc-s03uiv-2"
14
+ componentId: "core-12_21_0__sc-s03uiv-2"
15
15
  })(["width:100%;padding-left:10px;&:focus{padding-left:9px;}"]);
16
16
  //# sourceMappingURL=FileExplorerSidebar.styles.js.map
@@ -3,10 +3,10 @@ import { spacing } from '../_styles/spacing';
3
3
  import { FileTokenList } from './FileTokenList';
4
4
  export var StyledFileTokenList = /*#__PURE__*/styled(FileTokenList).withConfig({
5
5
  displayName: "StyledFileTokenList",
6
- componentId: "core-12_21_0-cdn_2__sc-1r3srjk-0"
6
+ componentId: "core-12_21_0__sc-1r3srjk-0"
7
7
  })(["margin-top:", "px;"], spacing.md);
8
8
  export var StyledFileSelect = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledFileSelect",
10
- componentId: "core-12_21_0-cdn_2__sc-1r3srjk-1"
10
+ componentId: "core-12_21_0__sc-1r3srjk-1"
11
11
  })(["display:flex;flex-direction:column;"]);
12
12
  //# sourceMappingURL=FileSelect.styles.js.map
@@ -150,6 +150,10 @@ export interface QaTags {
150
150
  * @since 10.19.0
151
151
  */
152
152
  attachButton?: string;
153
+ /**
154
+ * @since 12.20.4
155
+ */
156
+ cancelButton?: string;
153
157
  /**
154
158
  * @since 10.19.0
155
159
  */
@@ -1 +1 @@
1
- {"version":3,"file":"FileSelect.types.js","names":[],"sources":["../../src/FileSelect/FileSelect.types.ts"],"sourcesContent":["import type { Method } from 'axios'\nimport type { DropzoneContentProps } from '../Dropzone/Dropzone.types'\nimport type { UNSAFE_UploadFile } from '../_hooks/useFileUploader'\nimport type { DivAttributes } from '../_utils/types'\nimport type { LocalSourceProps } from './LocalSource/LocalSource.types'\nimport type { ThumbnailListItem } from './ThumbnailList/ThumbnailList.types'\n\nexport type FileSelectValue = FileSelectValueEntry[]\n\nexport interface FileSelectSource {\n /**\n * @since 10.19.0\n */\n sourceId: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n title: string\n /**\n * @since 10.19.0\n */\n icon: React.ReactNode\n /**\n * @since 10.19.0\n */\n hasError: boolean\n /**\n * @since 10.19.0\n */\n isUploading: boolean\n /**\n * @since 10.19.0\n */\n value: SourceValueEntry[]\n}\n\nexport type ValueId = string | number\n\nexport interface FileSelectValueEntry {\n /**\n * @since 10.19.0\n */\n id: ValueId\n /**\n * @since 10.19.0\n */\n name: string\n /**\n * @since 10.19.0\n */\n src?: File | string\n /**\n * @since 10.19.0\n */\n error?: string\n /**\n * @since 10.19.0\n */\n\n origin?: unknown\n /**\n * @since 10.19.0\n */\n response?: unknown\n /**\n * @since 10.19.0\n */\n sourceId?: string\n}\n\nexport type SetFileSelectValue = React.Dispatch<\n React.SetStateAction<FileSelectValue>\n>\n\nexport interface FileSelectRef {\n /**\n * @since 10.19.0\n */\n setValue: SetFileSelectValue\n /**\n * @since 10.19.0\n */\n open: (sourceId: FileSelectSourceIdType) => void\n /**\n * @since 10.19.0\n */\n rootEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 10.19.0\n */\n modalEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 11.1.0\n */\n resetSources: () => void\n}\n\nexport interface FileSelectContextApi {\n /**\n * @since 10.19.0\n */\n register: (\n sourceId: FileSelectSourceIdType,\n source: Partial<Pick<FileSelectSource, 'title' | 'icon'>>\n ) => () => void\n /**\n * @since 10.19.0\n */\n currentSource: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n isModalOpen: boolean\n /**\n * @since 10.19.0\n */\n onChange: (\n sourceId: FileSelectSourceIdType,\n value: SourceValueEntry[]\n ) => void\n /**\n * @since 10.19.0\n */\n onResetValue: (listener: () => void) => () => void\n /**\n * @since 10.19.0\n */\n setIsUploading: (\n sourceId: FileSelectSourceIdType,\n isUploading: boolean\n ) => void\n /**\n * @since 10.19.0\n */\n setHasError: (sourceId: FileSelectSourceIdType, isError: boolean) => void\n /**\n * @since 10.19.0\n */\n maxFileNumber: number\n}\n\nexport interface DropzoneContentRendererProps {\n /**\n * Enable/disable the dropzone\n * @since 10.19.0\n */\n disabled: DropzoneContentProps['disabled']\n /**\n * @since 10.19.0\n */\n errorMessage?: DropzoneContentProps['errorMessage']\n /**\n * @since 10.19.0\n */\n openLocalFiles: () => void\n /**\n * @since 10.19.0\n */\n openFileExplorer: () => void\n}\n\nexport type FileSelectSourceIdType = string\n\nexport type SourceValueEntry = any\n\nexport interface QaTags {\n /**\n * @since 10.19.0\n */\n localSource?: LocalSourceProps['qa']\n /**\n * @since 10.19.0\n */\n attachButton?: string\n /**\n * @since 10.19.0\n */\n removeEntry?: string\n}\n\nexport interface FileSelectProps\n extends Omit<DivAttributes, 'onError' | 'onProgress'> {\n /**\n * To be called every time when the files are uploaded directly or\n * attached via file explorer. The input data should be appended to the\n * current value. Files with upload errors are omitted.\n * @since 10.19.0\n */\n onAdd?: (value: FileSelectValue) => void\n\n /**\n * To be called whenever the file is removed by user from the primary token\n * list. Removed item should be deleted from the current value by `id` key\n * @since 10.19.0\n */\n onRemove?: (valueEntry: FileSelectValueEntry) => void\n\n /**\n * To be called whenever the upload progress is changed\n * @since 10.19.0\n */\n onProgress?: (fileId: ValueId, progress: number) => void\n\n /**\n * Optional async function that is invoked when selecting or dropping in a\n * local file. If you want to restrict certain uploads, you can use this\n * callback. Returning true continues the upload, while false will prevent\n * upload.\n * @since 10.19.0\n */\n beforeLocalFileUpload?: (files: ThumbnailListItem[]) => Promise<boolean>\n\n /**\n * To be called whenever upload state is changed\n * @since 10.19.0\n */\n onUploadStateChange?: (isPendingUpload: boolean) => void\n\n /**\n * To be called whenever an upload error occurs\n * @since 10.19.0\n */\n onError?: (fileId: ValueId, error: unknown) => void\n\n /**\n * To be called when attached file receives a click\n * @since 10.19.0\n */\n onFileTokenClick?: (file: FileSelectValueEntry) => void\n\n /**\n * An optional content renderer for the dropzone. Accepts\n * `{ openLocalFiles, openFileExplorer, disabled, errorMessage }` as a single argument,\n * allowing to control the dropzone and display different content depending\n * on dropzone state\n * @since 10.19.0\n */\n dropzoneContentRenderer?: (\n dropzoneProps: DropzoneContentRendererProps\n ) => React.ReactNode\n\n /**\n * Hide dropzone and render only default \"Attach File(s)\" button.\n * @default false\n * @since 10.19.0\n */\n hideDropzone?: boolean\n\n /**\n * Hide local files source in file explorer modal\n * @since 10.19.0\n */\n hideLocalSource?: boolean\n\n /**\n * Customize the token label for a given source value. By default,\n * `sourceValueEntry.name` is returned.\n * @since 10.19.0\n */\n getTokenLabel?: (sourceId: string, sourceValueEntry: unknown) => string\n\n localSourceDropzoneContentRenderer?: (\n dropzoneProps: DropzoneContentProps\n ) => React.ReactNode\n\n /**\n * A function returning an upload URL for a given file. An\n * alternative to `uploadFile` which allows manual control of\n * the network request for file upload.\n * @since 10.19.0\n */\n getEndpoint?: (file: File) => string\n\n /**\n * A function returning an upload HTTP method for a given file.\n * Returns `POST` by default.\n * @since 10.19.0\n */\n getMethod?: (file: File) => Method\n\n /**\n * A function returning an upload payload `FormData` key\n * for a given file. Returns `file` by default.\n * @since 10.19.0\n */\n getPayloadKey?: (file: File) => string\n\n /**\n * A function returning an upload payload `FormData`\n * object for a given file. When defined, `getPayloadKey` is\n * ignored.\n * @since 10.19.0\n */\n getPayload?: (file: File) => FormData\n\n /**\n * A function returning an upload request headers. Returns empty\n * object by default.\n * @since 10.19.0\n */\n getHeaders?: (file: File) => Record<string, string>\n\n /**\n * A function for manually controlling the network request for file\n * upload. An alternative to using `getEndpoint` which handles\n * the network request itself.\n * @since 10.19.0\n */\n uploadFile?: UNSAFE_UploadFile\n\n /**\n * Maximum number of files that can be selected\n * @since 10.19.0\n */\n maxFileNumber?: number\n\n /**\n * Maximum file size (in bytes)\n * @since 10.19.0\n */\n maxFileSize?: number\n\n /**\n * Minimum file size (in bytes)\n * @since 10.19.0\n */\n minFileSize?: number\n\n /**\n * Set accepted file types. Accepts everything if left undefined\n * @since 10.19.0\n */\n accept?: string | string[]\n\n /**\n * A callback to be invoked after the file explorer modal closes\n * @since 11.1.0\n */\n afterHide?: (reason: 'cancel' | 'submit') => void\n\n /**\n * @ignore\n * @since 10.19.0\n */\n qa?: QaTags\n}\n"],"mappings":""}
1
+ {"version":3,"file":"FileSelect.types.js","names":[],"sources":["../../src/FileSelect/FileSelect.types.ts"],"sourcesContent":["import type { Method } from 'axios'\nimport type { DropzoneContentProps } from '../Dropzone/Dropzone.types'\nimport type { UNSAFE_UploadFile } from '../_hooks/useFileUploader'\nimport type { DivAttributes } from '../_utils/types'\nimport type { LocalSourceProps } from './LocalSource/LocalSource.types'\nimport type { ThumbnailListItem } from './ThumbnailList/ThumbnailList.types'\n\nexport type FileSelectValue = FileSelectValueEntry[]\n\nexport interface FileSelectSource {\n /**\n * @since 10.19.0\n */\n sourceId: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n title: string\n /**\n * @since 10.19.0\n */\n icon: React.ReactNode\n /**\n * @since 10.19.0\n */\n hasError: boolean\n /**\n * @since 10.19.0\n */\n isUploading: boolean\n /**\n * @since 10.19.0\n */\n value: SourceValueEntry[]\n}\n\nexport type ValueId = string | number\n\nexport interface FileSelectValueEntry {\n /**\n * @since 10.19.0\n */\n id: ValueId\n /**\n * @since 10.19.0\n */\n name: string\n /**\n * @since 10.19.0\n */\n src?: File | string\n /**\n * @since 10.19.0\n */\n error?: string\n /**\n * @since 10.19.0\n */\n\n origin?: unknown\n /**\n * @since 10.19.0\n */\n response?: unknown\n /**\n * @since 10.19.0\n */\n sourceId?: string\n}\n\nexport type SetFileSelectValue = React.Dispatch<\n React.SetStateAction<FileSelectValue>\n>\n\nexport interface FileSelectRef {\n /**\n * @since 10.19.0\n */\n setValue: SetFileSelectValue\n /**\n * @since 10.19.0\n */\n open: (sourceId: FileSelectSourceIdType) => void\n /**\n * @since 10.19.0\n */\n rootEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 10.19.0\n */\n modalEl: React.RefObject<HTMLDivElement | null>\n /**\n * @since 11.1.0\n */\n resetSources: () => void\n}\n\nexport interface FileSelectContextApi {\n /**\n * @since 10.19.0\n */\n register: (\n sourceId: FileSelectSourceIdType,\n source: Partial<Pick<FileSelectSource, 'title' | 'icon'>>\n ) => () => void\n /**\n * @since 10.19.0\n */\n currentSource: FileSelectSourceIdType\n /**\n * @since 10.19.0\n */\n isModalOpen: boolean\n /**\n * @since 10.19.0\n */\n onChange: (\n sourceId: FileSelectSourceIdType,\n value: SourceValueEntry[]\n ) => void\n /**\n * @since 10.19.0\n */\n onResetValue: (listener: () => void) => () => void\n /**\n * @since 10.19.0\n */\n setIsUploading: (\n sourceId: FileSelectSourceIdType,\n isUploading: boolean\n ) => void\n /**\n * @since 10.19.0\n */\n setHasError: (sourceId: FileSelectSourceIdType, isError: boolean) => void\n /**\n * @since 10.19.0\n */\n maxFileNumber: number\n}\n\nexport interface DropzoneContentRendererProps {\n /**\n * Enable/disable the dropzone\n * @since 10.19.0\n */\n disabled: DropzoneContentProps['disabled']\n /**\n * @since 10.19.0\n */\n errorMessage?: DropzoneContentProps['errorMessage']\n /**\n * @since 10.19.0\n */\n openLocalFiles: () => void\n /**\n * @since 10.19.0\n */\n openFileExplorer: () => void\n}\n\nexport type FileSelectSourceIdType = string\n\nexport type SourceValueEntry = any\n\nexport interface QaTags {\n /**\n * @since 10.19.0\n */\n localSource?: LocalSourceProps['qa']\n /**\n * @since 10.19.0\n */\n attachButton?: string\n /**\n * @since 12.20.4\n */\n cancelButton?: string\n /**\n * @since 10.19.0\n */\n removeEntry?: string\n}\n\nexport interface FileSelectProps\n extends Omit<DivAttributes, 'onError' | 'onProgress'> {\n /**\n * To be called every time when the files are uploaded directly or\n * attached via file explorer. The input data should be appended to the\n * current value. Files with upload errors are omitted.\n * @since 10.19.0\n */\n onAdd?: (value: FileSelectValue) => void\n\n /**\n * To be called whenever the file is removed by user from the primary token\n * list. Removed item should be deleted from the current value by `id` key\n * @since 10.19.0\n */\n onRemove?: (valueEntry: FileSelectValueEntry) => void\n\n /**\n * To be called whenever the upload progress is changed\n * @since 10.19.0\n */\n onProgress?: (fileId: ValueId, progress: number) => void\n\n /**\n * Optional async function that is invoked when selecting or dropping in a\n * local file. If you want to restrict certain uploads, you can use this\n * callback. Returning true continues the upload, while false will prevent\n * upload.\n * @since 10.19.0\n */\n beforeLocalFileUpload?: (files: ThumbnailListItem[]) => Promise<boolean>\n\n /**\n * To be called whenever upload state is changed\n * @since 10.19.0\n */\n onUploadStateChange?: (isPendingUpload: boolean) => void\n\n /**\n * To be called whenever an upload error occurs\n * @since 10.19.0\n */\n onError?: (fileId: ValueId, error: unknown) => void\n\n /**\n * To be called when attached file receives a click\n * @since 10.19.0\n */\n onFileTokenClick?: (file: FileSelectValueEntry) => void\n\n /**\n * An optional content renderer for the dropzone. Accepts\n * `{ openLocalFiles, openFileExplorer, disabled, errorMessage }` as a single argument,\n * allowing to control the dropzone and display different content depending\n * on dropzone state\n * @since 10.19.0\n */\n dropzoneContentRenderer?: (\n dropzoneProps: DropzoneContentRendererProps\n ) => React.ReactNode\n\n /**\n * Hide dropzone and render only default \"Attach File(s)\" button.\n * @default false\n * @since 10.19.0\n */\n hideDropzone?: boolean\n\n /**\n * Hide local files source in file explorer modal\n * @since 10.19.0\n */\n hideLocalSource?: boolean\n\n /**\n * Customize the token label for a given source value. By default,\n * `sourceValueEntry.name` is returned.\n * @since 10.19.0\n */\n getTokenLabel?: (sourceId: string, sourceValueEntry: unknown) => string\n\n localSourceDropzoneContentRenderer?: (\n dropzoneProps: DropzoneContentProps\n ) => React.ReactNode\n\n /**\n * A function returning an upload URL for a given file. An\n * alternative to `uploadFile` which allows manual control of\n * the network request for file upload.\n * @since 10.19.0\n */\n getEndpoint?: (file: File) => string\n\n /**\n * A function returning an upload HTTP method for a given file.\n * Returns `POST` by default.\n * @since 10.19.0\n */\n getMethod?: (file: File) => Method\n\n /**\n * A function returning an upload payload `FormData` key\n * for a given file. Returns `file` by default.\n * @since 10.19.0\n */\n getPayloadKey?: (file: File) => string\n\n /**\n * A function returning an upload payload `FormData`\n * object for a given file. When defined, `getPayloadKey` is\n * ignored.\n * @since 10.19.0\n */\n getPayload?: (file: File) => FormData\n\n /**\n * A function returning an upload request headers. Returns empty\n * object by default.\n * @since 10.19.0\n */\n getHeaders?: (file: File) => Record<string, string>\n\n /**\n * A function for manually controlling the network request for file\n * upload. An alternative to using `getEndpoint` which handles\n * the network request itself.\n * @since 10.19.0\n */\n uploadFile?: UNSAFE_UploadFile\n\n /**\n * Maximum number of files that can be selected\n * @since 10.19.0\n */\n maxFileNumber?: number\n\n /**\n * Maximum file size (in bytes)\n * @since 10.19.0\n */\n maxFileSize?: number\n\n /**\n * Minimum file size (in bytes)\n * @since 10.19.0\n */\n minFileSize?: number\n\n /**\n * Set accepted file types. Accepts everything if left undefined\n * @since 10.19.0\n */\n accept?: string | string[]\n\n /**\n * A callback to be invoked after the file explorer modal closes\n * @since 11.1.0\n */\n afterHide?: (reason: 'cancel' | 'submit') => void\n\n /**\n * @ignore\n * @since 10.19.0\n */\n qa?: QaTags\n}\n"],"mappings":""}
@@ -5,20 +5,20 @@ import { spacing } from '../../_styles/spacing';
5
5
  export var dropzoneContainerAttr = 'data-dropzone-container';
6
6
  export var StyledDropzone = /*#__PURE__*/styled(Dropzone).withConfig({
7
7
  displayName: "StyledDropzone",
8
- componentId: "core-12_21_0-cdn_2__sc-ueh7d7-0"
8
+ componentId: "core-12_21_0__sc-ueh7d7-0"
9
9
  })(["", ""], function (_ref) {
10
10
  var hidden = _ref.hidden;
11
11
  return hidden && "\n [".concat(dropzoneContainerAttr, "] {\n align-self: flex-start;\n margin-bottom: ").concat(spacing.xs, "px;\n\n &,\n &:hover {\n width: auto;\n min-height: auto;\n border: none;\n padding: 0;\n background: transparent;\n cursor: default;\n }\n }\n \n ");
12
12
  });
13
13
  export var StyledDropzoneMessage = /*#__PURE__*/styled.span.withConfig({
14
14
  displayName: "StyledDropzoneMessage",
15
- componentId: "core-12_21_0-cdn_2__sc-ueh7d7-1"
15
+ componentId: "core-12_21_0__sc-ueh7d7-1"
16
16
  })(["", ""], function (_ref2) {
17
17
  var error = _ref2.error;
18
18
  return error && "\n color: ".concat(colors.gray15, ";\n ");
19
19
  });
20
20
  export var StyledUploadButtonWrapper = /*#__PURE__*/styled.div.withConfig({
21
21
  displayName: "StyledUploadButtonWrapper",
22
- componentId: "core-12_21_0-cdn_2__sc-ueh7d7-2"
22
+ componentId: "core-12_21_0__sc-ueh7d7-2"
23
23
  })(["display:block;margin-left:auto;margin-right:auto;margin-bottom:", "px;"], spacing.sm);
24
24
  //# sourceMappingURL=FileSelectDropzone.styles.js.map
@@ -3,10 +3,10 @@ import { FileToken } from '../../FileToken/FileToken';
3
3
  import { spacing } from '../../_styles/spacing';
4
4
  export var StyledTokenList = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "StyledTokenList",
6
- componentId: "core-12_21_0-cdn_2__sc-u9tli5-0"
6
+ componentId: "core-12_21_0__sc-u9tli5-0"
7
7
  })(["display:flex;flex-wrap:wrap;"]);
8
8
  export var StyledFileToken = /*#__PURE__*/styled(FileToken).withConfig({
9
9
  displayName: "StyledFileToken",
10
- componentId: "core-12_21_0-cdn_2__sc-u9tli5-1"
10
+ componentId: "core-12_21_0__sc-u9tli5-1"
11
11
  })(["margin-bottom:", "px;margin-right:", "px;"], spacing.sm, spacing.sm);
12
12
  //# sourceMappingURL=FileTokenList.styles.js.map
@@ -13,7 +13,7 @@ export var contentHeight = modalBodyWidth - modalBodyBorderTopWidth - toolbarHei
13
13
  // TODO Update box-shadow to use getShadow instead
14
14
  export var StyledToolbar = /*#__PURE__*/styled.div.withConfig({
15
15
  displayName: "StyledToolbar",
16
- componentId: "core-12_21_0-cdn_2__sc-1sj6hvp-0"
16
+ componentId: "core-12_21_0__sc-1sj6hvp-0"
17
17
  })(["display:flex;align-items:center;flex-direction:row;width:100%;min-height:", "px;padding:16px 24px;", " ", " & > * + *{margin-left:", "px;}"], toolbarHeight, function (_ref) {
18
18
  var $alignRight = _ref.$alignRight;
19
19
  return css(["justify-content:", ";"], $alignRight ? 'flex-end' : 'space-between');
@@ -23,23 +23,23 @@ export var StyledToolbar = /*#__PURE__*/styled.div.withConfig({
23
23
  }, spacing.sm);
24
24
  export var StyledSearchWrapper = /*#__PURE__*/styled.div.withConfig({
25
25
  displayName: "StyledSearchWrapper",
26
- componentId: "core-12_21_0-cdn_2__sc-1sj6hvp-1"
26
+ componentId: "core-12_21_0__sc-1sj6hvp-1"
27
27
  })(["width:286px;flex-shrink:1;min-width:180px;"]);
28
28
  export var StyledEmptyStateWrapper = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledEmptyStateWrapper",
30
- componentId: "core-12_21_0-cdn_2__sc-1sj6hvp-2"
30
+ componentId: "core-12_21_0__sc-1sj6hvp-2"
31
31
  })(["width:100%;height:100%;display:flex;justify-content:center;align-items:center;"]);
32
32
  export var StyledEmptyState = /*#__PURE__*/styled(EmptyState).withConfig({
33
33
  displayName: "StyledEmptyState",
34
- componentId: "core-12_21_0-cdn_2__sc-1sj6hvp-3"
34
+ componentId: "core-12_21_0__sc-1sj6hvp-3"
35
35
  })(["margin-top:0;margin-bottom:0;img{width:160px;}"]);
36
36
  export var StyledSpinnerWrapper = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSpinnerWrapper",
38
- componentId: "core-12_21_0-cdn_2__sc-1sj6hvp-4"
38
+ componentId: "core-12_21_0__sc-1sj6hvp-4"
39
39
  })(["height:", "px;width:100%;display:flex;align-items:center;justify-content:center;"], contentHeight);
40
40
  export var StyledGrid = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledGrid",
42
- componentId: "core-12_21_0-cdn_2__sc-1sj6hvp-5"
42
+ componentId: "core-12_21_0__sc-1sj6hvp-5"
43
43
  })(["display:flex;flex-direction:column;", ""], function (_ref3) {
44
44
  var $isEmpty = _ref3.$isEmpty;
45
45
  return $isEmpty && 'height: 100%;';
@@ -15,21 +15,21 @@ var dropzoneHeightWithIcon = 176;
15
15
  var sourceWidth = 568;
16
16
  export var StyledLocalSource = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledLocalSource",
18
- componentId: "core-12_21_0-cdn_2__sc-psqe8z-0"
18
+ componentId: "core-12_21_0__sc-psqe8z-0"
19
19
  })(["display:flex;flex-grow:1;flex-direction:column;align-items:stretch;height:", "px;max-height:", "px;padding:", "px ", "px ", "px ", "px;overflow-y:hidden;"], contentHeight, contentHeight, spacing.xl, spacing.xl + spacing.lg, spacing.xl, spacing.xl);
20
20
  export var StyledDropzoneErrorBanner = /*#__PURE__*/styled(DropzoneErrorBanner).withConfig({
21
21
  displayName: "StyledDropzoneErrorBanner",
22
- componentId: "core-12_21_0-cdn_2__sc-psqe8z-1"
22
+ componentId: "core-12_21_0__sc-psqe8z-1"
23
23
  })(["margin-top:", "px;margin-bottom:", "px;margin-right:2px;"], errorBannerMarginTop, errorBannerMarginBottom);
24
24
  export var StyledDropzoneWrapper = /*#__PURE__*/styled(Dropzone).withConfig({
25
25
  displayName: "StyledDropzoneWrapper",
26
- componentId: "core-12_21_0-cdn_2__sc-psqe8z-2"
26
+ componentId: "core-12_21_0__sc-psqe8z-2"
27
27
  })(["display:flex;height:auto;min-height:", "px;> div:first-child{display:flex;height:auto;}> ", "{display:none;}@media ", "{width:", "px;> div:first-child{height:100%;}}"], function (_ref) {
28
28
  var isIconVisible = _ref.isIconVisible;
29
29
  return isIconVisible ? dropzoneHeightWithIcon : dropzoneHeight;
30
30
  }, DropzoneErrorBanner, mediaIE11Hack, sourceWidth);
31
31
  export var StyledThumbnailList = /*#__PURE__*/styled(ThumbnailList).withConfig({
32
32
  displayName: "StyledThumbnailList",
33
- componentId: "core-12_21_0-cdn_2__sc-psqe8z-3"
33
+ componentId: "core-12_21_0__sc-psqe8z-3"
34
34
  })(["margin-top:", "px;border:", "px solid ", ";"], listMarginTop, listBorderWidth, colors.gray85);
35
35
  //# sourceMappingURL=LocalSource.styles.js.map
@@ -8,7 +8,7 @@ var sourceItemPadding = spacing.xl;
8
8
  var focused = /*#__PURE__*/css(["", " padding:0 ", "px 0 ", "px;"], getFocus(), sourceItemPadding - 1, sourceItemPadding - 1);
9
9
  export var StyledSourceItem = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledSourceItem",
11
- componentId: "core-12_21_0-cdn_2__sc-plcozv-0"
11
+ componentId: "core-12_21_0__sc-plcozv-0"
12
12
  })(["position:relative;display:flex;align-items:center;padding:0 ", "px 0 ", "px;color:", ";", " cursor:pointer;height:", "px;&:before{content:'';position:absolute;top:0;left:0;display:block;width:4px;height:100%;background-color:", ";transform:scaleX(0);transform-origin:center left;transition:transform 200ms ease-out;z-index:1;}", " ", " ", " ", " ", " &:focus{", "}"], sourceItemPadding, sourceItemPadding, colors.gray45, getTypographyIntent('body'), sourceItemHeight, colors.blue45, function (_ref) {
13
13
  var selected = _ref.selected;
14
14
  return selected && "\n font-weight: 700;\n background-color: ".concat(colors.blue96, ";\n color: ").concat(colors.blue45, ";\n\n ").concat(StyledIcon, " {\n color: ").concat(colors.blue50, ";\n }\n\n &:before {\n transform: scaleX(1);\n }\n ");
@@ -28,10 +28,10 @@ export var StyledSourceItem = /*#__PURE__*/styled.div.withConfig({
28
28
  }, focused);
29
29
  export var StyledIcon = /*#__PURE__*/styled.div.withConfig({
30
30
  displayName: "StyledIcon",
31
- componentId: "core-12_21_0-cdn_2__sc-plcozv-1"
31
+ componentId: "core-12_21_0__sc-plcozv-1"
32
32
  })(["display:flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;"]);
33
33
  export var StyledLabel = /*#__PURE__*/styled.div.withConfig({
34
34
  displayName: "StyledLabel",
35
- componentId: "core-12_21_0-cdn_2__sc-plcozv-2"
35
+ componentId: "core-12_21_0__sc-plcozv-2"
36
36
  })(["", ""], getEllipsis());
37
37
  //# sourceMappingURL=SourceItem.styles.js.map
@@ -7,23 +7,23 @@ import { colors } from '../../_styles/colors';
7
7
  import { spacing } from '../../_styles/spacing';
8
8
  export var StyledThumbnailListContainer = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledThumbnailListContainer",
10
- componentId: "core-12_21_0-cdn_2__sc-1fz4ynb-0"
10
+ componentId: "core-12_21_0__sc-1fz4ynb-0"
11
11
  })(["display:flex;flex-direction:column;align-items:stretch;outline:none;"]);
12
12
  export var StyledThumbnailList = /*#__PURE__*/styled(List).withConfig({
13
13
  displayName: "StyledThumbnailList",
14
- componentId: "core-12_21_0-cdn_2__sc-1fz4ynb-1"
14
+ componentId: "core-12_21_0__sc-1fz4ynb-1"
15
15
  })(["outline:none;"]);
16
16
  export var StyledThumbnail = /*#__PURE__*/styled(Thumbnail).withConfig({
17
17
  displayName: "StyledThumbnail",
18
- componentId: "core-12_21_0-cdn_2__sc-1fz4ynb-2"
18
+ componentId: "core-12_21_0__sc-1fz4ynb-2"
19
19
  })(["flex-grow:1;justify-content:flex-start;"]);
20
20
  export var StyledProgress = /*#__PURE__*/styled.div.withConfig({
21
21
  displayName: "StyledProgress",
22
- componentId: "core-12_21_0-cdn_2__sc-1fz4ynb-3"
22
+ componentId: "core-12_21_0__sc-1fz4ynb-3"
23
23
  })(["width:146px;padding:0 ", "px 0 ", "px;margin-left:auto;"], spacing.lg, spacing.xl);
24
24
  export var StyledThumbnailListItem = /*#__PURE__*/styled.div.withConfig({
25
25
  displayName: "StyledThumbnailListItem",
26
- componentId: "core-12_21_0-cdn_2__sc-1fz4ynb-4"
26
+ componentId: "core-12_21_0__sc-1fz4ynb-4"
27
27
  })(["display:flex;flex-grow:1;align-items:center;padding:", "px ", "px ", "px ", "px;", " ", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, getTypographyIntent('body'), function (_ref) {
28
28
  var error = _ref.error;
29
29
  return !error && "\n &:hover {\n background-color: ".concat(colors.gray96, ";\n }\n ");
@@ -37,6 +37,6 @@ export var StyledThumbnailListItem = /*#__PURE__*/styled.div.withConfig({
37
37
  });
38
38
  export var StyledDeleteIcon = /*#__PURE__*/styled(Button).withConfig({
39
39
  displayName: "StyledDeleteIcon",
40
- componentId: "core-12_21_0-cdn_2__sc-1fz4ynb-5"
40
+ componentId: "core-12_21_0__sc-1fz4ynb-5"
41
41
  })([""]);
42
42
  //# sourceMappingURL=ThumbnailList.styles.js.map
@@ -2,6 +2,6 @@ import styled from 'styled-components';
2
2
  import { modalBodyHeight } from '../FileExplorer/FileExplorer.styles';
3
3
  export var StyledFileTreeSpinner = /*#__PURE__*/styled.div.withConfig({
4
4
  displayName: "StyledFileTreeSpinner",
5
- componentId: "core-12_21_0-cdn_2__sc-wwu3n8-0"
5
+ componentId: "core-12_21_0__sc-wwu3n8-0"
6
6
  })(["display:flex;align-items:center;justify-content:center;height:", "px;"], modalBodyHeight);
7
7
  //# sourceMappingURL=TreeSource.styles.js.map
@@ -6,19 +6,19 @@ export var pulseAnimationDuration = 600;
6
6
  var focusPulse = /*#__PURE__*/keyframes(["0%{box-shadow:0 0 0 0 ", ",0 0 0 0 ", ",0 0 0 0 ", ";}25%{box-shadow:0 0 0 0 ", ",0 0 0 0 ", ",0 0 0 0 ", ";}50%{box-shadow:0 0 0 1px ", ",0 0 0 3px ", ",0 0 0 2px ", ";}100%{box-shadow:0 0 0 1.5px ", ",0 0 0 3px ", ",0 0 0 6px ", ";}"], colors.blue60, colors.blue90, colors.blue94, colors.blue60, colors.blue90, colors.blue94, colors.blue60, colors.blue90, colors.blue94, colors.blue60, colors.blue90, colors.blue94);
7
7
  export var StyledFilenameShortcut = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "StyledFilenameShortcut",
9
- componentId: "core-12_21_0-cdn_2__sc-13jx4bx-0"
9
+ componentId: "core-12_21_0__sc-13jx4bx-0"
10
10
  })(["display:flex;"]);
11
11
  export var StyledFilename = /*#__PURE__*/styled.span.withConfig({
12
12
  displayName: "StyledFilename",
13
- componentId: "core-12_21_0-cdn_2__sc-13jx4bx-1"
13
+ componentId: "core-12_21_0__sc-13jx4bx-1"
14
14
  })(["flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;"]);
15
15
  export var StyledExtension = /*#__PURE__*/styled.span.withConfig({
16
16
  displayName: "StyledExtension",
17
- componentId: "core-12_21_0-cdn_2__sc-13jx4bx-2"
17
+ componentId: "core-12_21_0__sc-13jx4bx-2"
18
18
  })(["flex-shrink:0;"]);
19
19
  export var StyledFileToken = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledFileToken",
21
- componentId: "core-12_21_0-cdn_2__sc-13jx4bx-3"
21
+ componentId: "core-12_21_0__sc-13jx4bx-3"
22
22
  })(["background-color:", ";border-radius:200px;max-width:100%;outline:none;overflow:hidden;position:relative;&:focus,&.focus{box-shadow:0 0 0 2px ", ";outline:none;", "{border-color:transparent;", "}}", "{background:none;color:", ";display:flex;user-select:none;}", "{overflow:hidden;", "{border-radius:200px 0 0 200px;color:", ";padding-right:0;transition:color 0s linear,background-color 0s linear;user-select:none;", "{flex:0 0 auto;}}}", ""], colors.gray96, colors.blue40, StyledToken, function (_ref) {
23
23
  var $progressComplete = _ref.$progressComplete;
24
24
  return $progressComplete && css(["background-color:", ";"], colors.blue45);
@@ -6,11 +6,11 @@ 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_21_0-cdn_2__sc-1l1h29r-0"
9
+ componentId: "core-12_21_0__sc-1l1h29r-0"
10
10
  })(["", " ", " ", " flex:0 1 auto;"], getTypographyIntent('body'), getEllipsis, semiboldRules);
11
11
  export var StyledFilterToken = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "StyledFilterToken",
13
- componentId: "core-12_21_0-cdn_2__sc-1l1h29r-1"
13
+ componentId: "core-12_21_0__sc-1l1h29r-1"
14
14
  })(["align-items:center;background-color:", ";border-radius:4px;border:1px solid transparent;color:", ";cursor:default;display:inline-flex;height:36px;justify-content:space-between;line-height:1;max-width:360px;min-width:48px;padding:", "px ", "px;&:hover,&.hover{background-color:", ";}", ""], colors.blue96, colors.blue45, spacing.sm, spacing.md, colors.blue90, function (_ref) {
15
15
  var _ref$$focused = _ref.$focused,
16
16
  $focused = _ref$$focused === void 0 ? false : _ref$$focused;
@@ -18,17 +18,17 @@ export var StyledFilterToken = /*#__PURE__*/styled.div.withConfig({
18
18
  });
19
19
  export var StyledFilterRemoveButton = /*#__PURE__*/styled.button.withConfig({
20
20
  displayName: "StyledFilterRemoveButton",
21
- componentId: "core-12_21_0-cdn_2__sc-1l1h29r-2"
21
+ componentId: "core-12_21_0__sc-1l1h29r-2"
22
22
  })(["", " ", ";background:transparent;color:", ";&:active,&:focus,&:hover{background:", ";color:", ";}&:disabled{pointer-events:none;user-select:none;}&:disabled,&[aria-disabled='true']{background:transparent;color:", ";}height:24px;margin:0 0 0 6px;padding:0 ", "px;[data-icon-prop='true']{pointer-events:none;height:16px;width:16px;}"], function (_ref2) {
23
23
  var $disabled = _ref2.$disabled;
24
24
  return getButtonStyles(false, $disabled, false, 'sm', 'tertiary');
25
25
  }, getTypographyIntent('small'), colors.blue45, colors.white, colors.blue45, colors.blue45, spacing.xs);
26
26
  export var StyledContent = /*#__PURE__*/styled.span.withConfig({
27
27
  displayName: "StyledContent",
28
- componentId: "core-12_21_0-cdn_2__sc-1l1h29r-3"
28
+ componentId: "core-12_21_0__sc-1l1h29r-3"
29
29
  })(["align-items:center;display:flex;overflow:hidden;"]);
30
30
  export var StyledContentLabel = /*#__PURE__*/styled.span.withConfig({
31
31
  displayName: "StyledContentLabel",
32
- componentId: "core-12_21_0-cdn_2__sc-1l1h29r-4"
32
+ componentId: "core-12_21_0__sc-1l1h29r-4"
33
33
  })(["overflow:hidden;padding:0 6px;text-overflow:ellipsis;white-space:nowrap;& + span{padding-left:0;}"]);
34
34
  //# sourceMappingURL=FilterToken.styles.js.map
@@ -3,7 +3,7 @@ import { StyledBox } from '../Box/Box.styles';
3
3
  import { Flex } from '../Flex/Flex';
4
4
  export var StyledFlex = /*#__PURE__*/styled(Flex).withConfig({
5
5
  displayName: "StyledFlex",
6
- componentId: "core-12_21_0-cdn_2__sc-1quvv61-0"
6
+ componentId: "core-12_21_0__sc-1quvv61-0"
7
7
  })(["> ", "{", "}"], StyledBox, function (_ref) {
8
8
  var $direction = _ref.$direction;
9
9
  if ($direction !== null && $direction !== void 0 && $direction.includes('reverse')) {