@procore/core-react 11.29.0 → 11.31.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 (200) hide show
  1. package/dist/AnchorNavigation/AnchorNavigation.d.ts +9 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.js +50 -0
  3. package/dist/AnchorNavigation/AnchorNavigation.js.map +1 -0
  4. package/dist/AnchorNavigation/AnchorNavigation.styles.d.ts +7 -0
  5. package/dist/AnchorNavigation/AnchorNavigation.styles.js +29 -0
  6. package/dist/AnchorNavigation/AnchorNavigation.styles.js.map +1 -0
  7. package/dist/AnchorNavigation/index.d.ts +1 -0
  8. package/dist/AnchorNavigation/index.js +2 -0
  9. package/dist/AnchorNavigation/index.js.map +1 -0
  10. package/dist/Avatar/Avatar.styles.js +5 -5
  11. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  12. package/dist/Badge/Badge.styles.js +2 -2
  13. package/dist/Banner/Banner.styles.js +10 -10
  14. package/dist/Box/Box.styles.js +1 -1
  15. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  16. package/dist/Button/Button.styles.js +5 -5
  17. package/dist/Calendar/Calendar.styles.js +8 -8
  18. package/dist/Card/Card.styles.js +1 -1
  19. package/dist/Checkbox/Checkbox.styles.js +6 -6
  20. package/dist/ContactItem/ContactItem.styles.js +5 -5
  21. package/dist/Content/Content.styles.js +2 -2
  22. package/dist/DateInput/DateInput.js +0 -7
  23. package/dist/DateInput/DateInput.js.map +1 -1
  24. package/dist/DateInput/DateInput.styles.js +6 -6
  25. package/dist/DetailPage/DetailPage.styles.js +7 -7
  26. package/dist/Dropdown/Dropdown.styles.js +3 -3
  27. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  28. package/dist/Dropzone/Dropzone.js +1 -1
  29. package/dist/Dropzone/Dropzone.styles.js +9 -9
  30. package/dist/EmptyState/EmptyState.styles.js +6 -6
  31. package/dist/Field/Field.styles.js +3 -3
  32. package/dist/FileList/FileList.styles.js +4 -4
  33. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  34. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  35. package/dist/FileSelect/FileSelect.styles.js +2 -2
  36. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  37. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  38. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  39. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  40. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  41. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  42. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  43. package/dist/FileToken/FileToken.styles.js +4 -4
  44. package/dist/FilterToken/FilterToken.styles.js +2 -2
  45. package/dist/FlexList/FlexList.styles.js +1 -1
  46. package/dist/Form/Form.styles.js +16 -16
  47. package/dist/Grid/Grid.styles.js +2 -2
  48. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  49. package/dist/Input/Input.styles.js +1 -1
  50. package/dist/Link/Link.styles.js +1 -1
  51. package/dist/ListPage/ListPage.styles.js +8 -8
  52. package/dist/Loader/Loader.styles.js +2 -2
  53. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  54. package/dist/Modal/Modal.styles.js +13 -13
  55. package/dist/Modal/useInitializeModalFocus.js +1 -1
  56. package/dist/Modal/useInitializeModalFocus.js.map +1 -1
  57. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  58. package/dist/NextMenu/NextMenu.styles.js +3 -3
  59. package/dist/Notation/Notation.js +1 -1
  60. package/dist/NumberInput/NumberInput.styles.js +7 -7
  61. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  62. package/dist/PageLayout/PageLayout.styles.js +13 -13
  63. package/dist/Pagination/Pagination.styles.js +5 -5
  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.styles.js +3 -3
  71. package/dist/Required/Required.styles.js +3 -3
  72. package/dist/Search/Search.styles.js +5 -5
  73. package/dist/Section/Section.styles.js +6 -6
  74. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  75. package/dist/Select/Select.styles.js +7 -7
  76. package/dist/Semantic/Semantic.styles.js +9 -9
  77. package/dist/Sidebar/Sidebar.styles.js +7 -7
  78. package/dist/Slider/Slider.styles.js +5 -5
  79. package/dist/Spinner/Spinner.styles.js +7 -7
  80. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  81. package/dist/SuperSelect/SuperSelect.styles.d.ts +1 -0
  82. package/dist/SuperSelect/SuperSelect.styles.js +39 -38
  83. package/dist/SuperSelect/SuperSelect.styles.js.map +1 -1
  84. package/dist/SuperSelect/SuperSelect.types.d.ts +1 -0
  85. package/dist/SuperSelect/SuperSelect.types.js.map +1 -1
  86. package/dist/SuperSelect/useSuperSelect.d.ts +1 -1
  87. package/dist/SuperSelect/useSuperSelect.js +15 -6
  88. package/dist/SuperSelect/useSuperSelect.js.map +1 -1
  89. package/dist/Switch/Switch.styles.js +4 -4
  90. package/dist/Table/Table.styles.js +28 -28
  91. package/dist/TableShelf/TableShelf.styles.js +5 -5
  92. package/dist/Tabs/Tabs.styles.js +8 -8
  93. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  94. package/dist/TextArea/TextArea.styles.js +1 -1
  95. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  96. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  97. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  98. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  99. package/dist/Tile/Tile.styles.js +8 -8
  100. package/dist/Title/Title.styles.js +7 -7
  101. package/dist/Toast/Toast.styles.js +3 -3
  102. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  103. package/dist/Token/Token.styles.js +3 -3
  104. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  105. package/dist/Tooltip/Tooltip.styles.js +2 -2
  106. package/dist/Tree/Tree.styles.js +9 -9
  107. package/dist/Typeahead/Typeahead.styles.js +3 -3
  108. package/dist/Typography/Typography.styles.js +1 -1
  109. package/dist/Typography/Typography.table.story.js +2 -2
  110. package/dist/_hooks/I18n.d.ts +1 -36
  111. package/dist/_hooks/I18n.js +0 -6
  112. package/dist/_hooks/I18n.js.map +1 -1
  113. package/dist/_hooks/getI18nProviderLocale.d.ts +7 -0
  114. package/dist/_hooks/getI18nProviderLocale.js +28 -0
  115. package/dist/_hooks/getI18nProviderLocale.js.map +1 -0
  116. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  117. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
  118. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  119. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  120. package/dist/_typedoc/Box/Box.types.json +68 -68
  121. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  122. package/dist/_typedoc/Button/Button.types.json +12 -12
  123. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  124. package/dist/_typedoc/Card/Card.types.json +6 -6
  125. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  126. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  127. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  128. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  129. package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
  130. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  131. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  132. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  133. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  134. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  135. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  136. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  137. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  138. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  139. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  140. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  141. package/dist/_typedoc/Form/Form.types.json +726 -726
  142. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  143. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  144. package/dist/_typedoc/Input/Input.types.json +2 -2
  145. package/dist/_typedoc/Link/Link.types.json +4 -4
  146. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  147. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  148. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  149. package/dist/_typedoc/Modal/Modal.types.json +41 -41
  150. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  151. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  152. package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
  153. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  154. package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
  155. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  156. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  157. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  158. package/dist/_typedoc/PillSelect/PillSelect.types.json +47 -47
  159. package/dist/_typedoc/Popover/Popover.types.json +14 -14
  160. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  161. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  162. package/dist/_typedoc/Required/Required.types.json +5 -5
  163. package/dist/_typedoc/Search/Search.types.json +18 -18
  164. package/dist/_typedoc/Section/Section.types.json +14 -14
  165. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
  166. package/dist/_typedoc/Select/Select.types.json +57 -57
  167. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  168. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  169. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  170. package/dist/_typedoc/Table/Table.types.json +99 -99
  171. package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
  172. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
  173. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  174. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  175. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  176. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  177. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  178. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  179. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  180. package/dist/_typedoc/Title/Title.types.json +1 -1
  181. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  182. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
  183. package/dist/_typedoc/Token/Token.types.json +4 -4
  184. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  185. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  186. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  187. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  188. package/dist/_typedoc/Typography/Typography.types.json +8 -8
  189. package/dist/_typedoc/_utils/types.json +3 -3
  190. package/dist/_utils/CalendarHelpers.js +1 -4
  191. package/dist/_utils/CalendarHelpers.js.map +1 -1
  192. package/dist/_utils/TinyMCE.js +0 -3
  193. package/dist/_utils/TinyMCE.js.map +1 -1
  194. package/dist/index.d.ts +1 -0
  195. package/dist/index.js +1 -0
  196. package/dist/index.js.map +1 -1
  197. package/package.json +5 -5
  198. package/dist/_locales/en-US.json +0 -33
  199. package/dist/_locales/it-IT.json +0 -1
  200. package/dist/_locales/ko.json +0 -1
@@ -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-11_29_0__sc-1sj6hvp-0"
16
+ componentId: "core-11_31_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-11_29_0__sc-1sj6hvp-1"
26
+ componentId: "core-11_31_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-11_29_0__sc-1sj6hvp-2"
30
+ componentId: "core-11_31_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-11_29_0__sc-1sj6hvp-3"
34
+ componentId: "core-11_31_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-11_29_0__sc-1sj6hvp-4"
38
+ componentId: "core-11_31_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-11_29_0__sc-1sj6hvp-5"
42
+ componentId: "core-11_31_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-11_29_0__sc-psqe8z-0"
18
+ componentId: "core-11_31_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-11_29_0__sc-psqe8z-1"
22
+ componentId: "core-11_31_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-11_29_0__sc-psqe8z-2"
26
+ componentId: "core-11_31_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-11_29_0__sc-psqe8z-3"
33
+ componentId: "core-11_31_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-11_29_0__sc-plcozv-0"
11
+ componentId: "core-11_31_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-11_29_0__sc-plcozv-1"
31
+ componentId: "core-11_31_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-11_29_0__sc-plcozv-2"
35
+ componentId: "core-11_31_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-11_29_0__sc-1fz4ynb-0"
10
+ componentId: "core-11_31_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-11_29_0__sc-1fz4ynb-1"
14
+ componentId: "core-11_31_0__sc-1fz4ynb-1"
15
15
  })(["outline:none;"]);
16
16
  export var StyledThumbnail = /*#__PURE__*/styled(Thumbnail).withConfig({
17
17
  displayName: "StyledThumbnail",
18
- componentId: "core-11_29_0__sc-1fz4ynb-2"
18
+ componentId: "core-11_31_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-11_29_0__sc-1fz4ynb-3"
22
+ componentId: "core-11_31_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-11_29_0__sc-1fz4ynb-4"
26
+ componentId: "core-11_31_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-11_29_0__sc-1fz4ynb-5"
40
+ componentId: "core-11_31_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-11_29_0__sc-wwu3n8-0"
5
+ componentId: "core-11_31_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-11_29_0__sc-13jx4bx-0"
9
+ componentId: "core-11_31_0__sc-13jx4bx-0"
10
10
  })(["display:flex;"]);
11
11
  export var StyledFilename = /*#__PURE__*/styled.span.withConfig({
12
12
  displayName: "StyledFilename",
13
- componentId: "core-11_29_0__sc-13jx4bx-1"
13
+ componentId: "core-11_31_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-11_29_0__sc-13jx4bx-2"
17
+ componentId: "core-11_31_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-11_29_0__sc-13jx4bx-3"
21
+ componentId: "core-11_31_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);
@@ -5,11 +5,11 @@ import { getEllipsis, getFocus } from '../_styles/mixins';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
7
7
  displayName: "StyledLabel",
8
- componentId: "core-11_29_0__sc-1l1h29r-0"
8
+ componentId: "core-11_31_0__sc-1l1h29r-0"
9
9
  })(["", " ", " ", " flex:0 1 auto;"], getTypographyIntent('body'), getEllipsis, semiboldRules);
10
10
  export var StyledFilterToken = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledFilterToken",
12
- componentId: "core-11_29_0__sc-1l1h29r-1"
12
+ componentId: "core-11_31_0__sc-1l1h29r-1"
13
13
  })(["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) {
14
14
  var _ref$$focused = _ref.$focused,
15
15
  $focused = _ref$$focused === void 0 ? false : _ref$$focused;
@@ -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-11_29_0__sc-1quvv61-0"
6
+ componentId: "core-11_31_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')) {
@@ -26,7 +26,7 @@ function applyStylesOnlyToIE11(styles) {
26
26
  }
27
27
  export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
28
28
  displayName: "StyledFormFieldMain",
29
- componentId: "core-11_29_0__sc-ncj3pf-0"
29
+ componentId: "core-11_31_0__sc-ncj3pf-0"
30
30
  })(["-ms-grid-row:2;grid-row:2;", " ", " ", ""], function (_ref) {
31
31
  var $colStart = _ref.$colStart,
32
32
  $colEnd = _ref.$colEnd,
@@ -38,15 +38,15 @@ export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
38
38
  }, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n ")));
39
39
  export var StyledLabel = /*#__PURE__*/styled(Label).withConfig({
40
40
  displayName: "StyledLabel",
41
- componentId: "core-11_29_0__sc-ncj3pf-1"
41
+ componentId: "core-11_31_0__sc-ncj3pf-1"
42
42
  })(["word-wrap:break-word;word-break:break-word;"]);
43
43
  export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
44
44
  displayName: "StyledDescription",
45
- componentId: "core-11_29_0__sc-ncj3pf-2"
45
+ componentId: "core-11_31_0__sc-ncj3pf-2"
46
46
  })(["", " color:", ";word-wrap:break-word;word-break:break-word;"], getTypographyIntent('body'), colors.gray45);
47
47
  export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescription).withConfig({
48
48
  displayName: "StyledCheckboxInlineDescription",
49
- componentId: "core-11_29_0__sc-ncj3pf-3"
49
+ componentId: "core-11_31_0__sc-ncj3pf-3"
50
50
  })(["margin-top:", "px;", ""], spacing.xs, function (_ref3) {
51
51
  var $read = _ref3.$read;
52
52
  if (!$read) {
@@ -55,7 +55,7 @@ export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescripti
55
55
  });
56
56
  export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withConfig({
57
57
  displayName: "StyledFormFieldHeader",
58
- componentId: "core-11_29_0__sc-ncj3pf-4"
58
+ componentId: "core-11_31_0__sc-ncj3pf-4"
59
59
  })(["-ms-grid-row:1;grid-row:1;align-self:end;margin-bottom:", "px;", " ", " * + ", "{margin-top:", "px;}"], spacing.xs, function (_ref4) {
60
60
  var $colStart = _ref4.$colStart,
61
61
  $colEnd = _ref4.$colEnd,
@@ -64,7 +64,7 @@ export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withCo
64
64
  }, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:first-child {\n padding-left: 0;\n }\n\n ").concat(StyledFormFieldMain, " {\n padding-left: ").concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n }\n ")), StyledDescription, spacing.xs);
65
65
  export var StyledFormFieldRequiredMark = /*#__PURE__*/styled(Required).withConfig({
66
66
  displayName: "StyledFormFieldRequiredMark",
67
- componentId: "core-11_29_0__sc-ncj3pf-5"
67
+ componentId: "core-11_31_0__sc-ncj3pf-5"
68
68
  })(["padding-left:", "px;vertical-align:top;"], spacing.xs);
69
69
  export var dataQaFieldTooltipIcon = 'form-field-tooltip-icon';
70
70
  export var StyledFormFieldTooltipIcon = /*#__PURE__*/styled(Help).attrs(function () {
@@ -73,19 +73,19 @@ export var StyledFormFieldTooltipIcon = /*#__PURE__*/styled(Help).attrs(function
73
73
  };
74
74
  }).withConfig({
75
75
  displayName: "StyledFormFieldTooltipIcon",
76
- componentId: "core-11_29_0__sc-ncj3pf-6"
76
+ componentId: "core-11_31_0__sc-ncj3pf-6"
77
77
  })(["margin-left:", "px;color:", ";vertical-align:middle;&:focus-visible{border-radius:50%;", " outline-offset:0;}"], spacing.sm, colors.gray45, getGapOutlineFocus);
78
78
  export var StyledFormFieldErrorIcon = /*#__PURE__*/styled(Error).withConfig({
79
79
  displayName: "StyledFormFieldErrorIcon",
80
- componentId: "core-11_29_0__sc-ncj3pf-7"
80
+ componentId: "core-11_31_0__sc-ncj3pf-7"
81
81
  })(["vertical-align:sub;"]);
82
82
  export var StyledFormFieldBanner = /*#__PURE__*/styled.div.withConfig({
83
83
  displayName: "StyledFormFieldBanner",
84
- componentId: "core-11_29_0__sc-ncj3pf-8"
84
+ componentId: "core-11_31_0__sc-ncj3pf-8"
85
85
  })(["display:flex;align-items:flex-start;min-height:22px;margin-top:", "px;margin-bottom:2px;word-break:break-word;word-wrap:break-word;color:", ";", ""], spacing.xs, colors.red50, getTypographyIntent('body'));
86
86
  export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
87
87
  displayName: "StyledTraditionalFormColumn",
88
- componentId: "core-11_29_0__sc-ncj3pf-9"
88
+ componentId: "core-11_31_0__sc-ncj3pf-9"
89
89
  })(["padding:", ";align-self:center;height:100%;&:nth-child(1){-ms-grid-column:1;}&:nth-child(2){-ms-grid-column:2;}&:nth-child(3){-ms-grid-column:3;}&:nth-child(4){-ms-grid-column:4;}", " ", ""], traditionalPadding, function (_ref5) {
90
90
  var _ref5$$fullWidth = _ref5.$fullWidth,
91
91
  $fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
@@ -97,22 +97,22 @@ export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
97
97
  });
98
98
  export var StyledTraditionalFormLabel = /*#__PURE__*/styled(Typography).withConfig({
99
99
  displayName: "StyledTraditionalFormLabel",
100
- componentId: "core-11_29_0__sc-ncj3pf-10"
100
+ componentId: "core-11_31_0__sc-ncj3pf-10"
101
101
  })(["display:inline-block;word-break:break-word;word-wrap:break-word;", ""], function (_ref7) {
102
102
  var $view = _ref7.$view;
103
103
  return ['create', 'update'].includes($view) && css(["padding-top:", "px;"], spacing.sm);
104
104
  });
105
105
  export var StyledFormOutputTextArea = /*#__PURE__*/styled.span.withConfig({
106
106
  displayName: "StyledFormOutputTextArea",
107
- componentId: "core-11_29_0__sc-ncj3pf-11"
107
+ componentId: "core-11_31_0__sc-ncj3pf-11"
108
108
  })(["white-space:pre-wrap;"]);
109
109
  export var StyledFormOutputFiledset = /*#__PURE__*/styled.fieldset.withConfig({
110
110
  displayName: "StyledFormOutputFiledset",
111
- componentId: "core-11_29_0__sc-ncj3pf-12"
111
+ componentId: "core-11_31_0__sc-ncj3pf-12"
112
112
  })(["border:none;padding:0;margin-top:", "px;"], spacing.xs);
113
113
  export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
114
114
  displayName: "StyledFormRow",
115
- componentId: "core-11_29_0__sc-ncj3pf-13"
115
+ componentId: "core-11_31_0__sc-ncj3pf-13"
116
116
  })(["", ""], function (_ref8) {
117
117
  var _ref8$$traditional = _ref8.$traditional,
118
118
  $traditional = _ref8$$traditional === void 0 ? false : _ref8$$traditional,
@@ -123,10 +123,10 @@ export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
123
123
  var formWrapper = /*#__PURE__*/css(["display:inherit;flex-direction:inherit;height:inherit;max-height:inherit;"]);
124
124
  export var StyledFormikForm = /*#__PURE__*/styled(FormikForm).withConfig({
125
125
  displayName: "StyledFormikForm",
126
- componentId: "core-11_29_0__sc-ncj3pf-14"
126
+ componentId: "core-11_31_0__sc-ncj3pf-14"
127
127
  })(["", ""], formWrapper);
128
128
  export var StyledForm = /*#__PURE__*/styled.div.withConfig({
129
129
  displayName: "StyledForm",
130
- componentId: "core-11_29_0__sc-ncj3pf-15"
130
+ componentId: "core-11_31_0__sc-ncj3pf-15"
131
131
  })(["", ""], formWrapper);
132
132
  //# sourceMappingURL=Form.styles.js.map
@@ -75,7 +75,7 @@ var getRowGutterVertical = function getRowGutterVertical(gutterY, breakpoint) {
75
75
  };
76
76
  export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
77
77
  displayName: "StyledGridRow",
78
- componentId: "core-11_29_0__sc-8pinsp-0"
78
+ componentId: "core-11_31_0__sc-8pinsp-0"
79
79
  })(["", " display:flex;flex-wrap:wrap;"], function (_ref) {
80
80
  var $gutterX = _ref.$gutterX,
81
81
  $gutterY = _ref.$gutterY;
@@ -87,7 +87,7 @@ export var StyledGridRow = /*#__PURE__*/styled.div.withConfig({
87
87
  });
88
88
  export var StyledGridCol = /*#__PURE__*/styled.div.withConfig({
89
89
  displayName: "StyledGridCol",
90
- componentId: "core-11_29_0__sc-8pinsp-1"
90
+ componentId: "core-11_31_0__sc-8pinsp-1"
91
91
  })(["flex-shrink:0;width:100%;max-width:100%;", ""], function (_ref2) {
92
92
  var $span = _ref2.$span,
93
93
  $offset = _ref2.$offset,
@@ -3,7 +3,7 @@ import { MultiSelect } from '../MultiSelect/MultiSelect';
3
3
  import { colors } from '../_styles/colors';
4
4
  export var StyledGroupSelectOption = /*#__PURE__*/styled(MultiSelect.Option).withConfig({
5
5
  displayName: "StyledGroupSelectOption",
6
- componentId: "core-11_29_0__sc-u5gu8j-0"
6
+ componentId: "core-11_31_0__sc-u5gu8j-0"
7
7
  })(["", ""], function (_ref) {
8
8
  var disabled = _ref.disabled;
9
9
  return disabled && css(["color:", ";cursor:not-allowed;a,a:hover{color:", ";text-decoration:none;}"], colors.gray70, colors.gray70);
@@ -16,6 +16,6 @@ export function getInputStyles(_ref) {
16
16
  }
17
17
  export var StyledInput = /*#__PURE__*/styled.input.withConfig({
18
18
  displayName: "StyledInput",
19
- componentId: "core-11_29_0__sc-12sjkxg-0"
19
+ componentId: "core-11_31_0__sc-12sjkxg-0"
20
20
  })(["", " padding:0 ", "px;&::-ms-clear{display:none;}&[type='number']{-moz-appearance:textfield;&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}}"], getInputStyles, spacing.md);
21
21
  //# sourceMappingURL=Input.styles.js.map
@@ -17,6 +17,6 @@ function getLinkColors(_ref) {
17
17
  }
18
18
  export var StyledLink = /*#__PURE__*/styled.a.withConfig({
19
19
  displayName: "StyledLink",
20
- componentId: "core-11_29_0__sc-jfowrl-0"
20
+ componentId: "core-11_31_0__sc-jfowrl-0"
21
21
  })(["text-decoration:underline;&:hover{cursor:pointer;text-decoration:underline;}", " &.focus,&:focus{", ";}", ""], focusable, getBorderRadius('md'), getLinkColors);
22
22
  //# sourceMappingURL=Link.styles.js.map
@@ -3,19 +3,19 @@ import { colors } from '../_styles/colors';
3
3
  import { spacing } from '../_styles/spacing';
4
4
  export var StyledListPageMain = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "StyledListPageMain",
6
- componentId: "core-11_29_0__sc-1eq7fzi-0"
6
+ componentId: "core-11_31_0__sc-1eq7fzi-0"
7
7
  })(["display:flex;flex:1 0 auto;flex-direction:column;min-width:0;padding:", "px ", "px;width:100%;"], spacing.lg, spacing.xl);
8
8
  export var StyledListPageBanner = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledListPageBanner",
10
- componentId: "core-11_29_0__sc-1eq7fzi-1"
10
+ componentId: "core-11_31_0__sc-1eq7fzi-1"
11
11
  })(["flex:0 0 auto;"]);
12
12
  export var StyledListPageToolHeader = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledListPageToolHeader",
14
- componentId: "core-11_29_0__sc-1eq7fzi-2"
14
+ componentId: "core-11_31_0__sc-1eq7fzi-2"
15
15
  })(["flex:0 0 auto;padding-bottom:", "px;"], spacing.lg);
16
16
  export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledListPageControl",
18
- componentId: "core-11_29_0__sc-1eq7fzi-3"
18
+ componentId: "core-11_31_0__sc-1eq7fzi-3"
19
19
  })(["flex:", ";", " ", ""], function (_ref) {
20
20
  var $block = _ref.$block;
21
21
  return $block ? '1 0 auto' : '0 0 auto';
@@ -32,18 +32,18 @@ export var StyledListPageControl = /*#__PURE__*/styled.div.withConfig({
32
32
  });
33
33
  export var StyledListPageContentControls = /*#__PURE__*/styled.div.withConfig({
34
34
  displayName: "StyledListPageContentControls",
35
- componentId: "core-11_29_0__sc-1eq7fzi-4"
35
+ componentId: "core-11_31_0__sc-1eq7fzi-4"
36
36
  })(["align-items:center;display:flex;flex:0 0 auto;justify-content:space-between;padding:", "px 0;", " + ", "{margin-left:", "px;}"], spacing.md, StyledListPageControl, StyledListPageControl, spacing.lg);
37
37
  export var StyledListPageBody = /*#__PURE__*/styled.div.withConfig({
38
38
  displayName: "StyledListPageBody",
39
- componentId: "core-11_29_0__sc-1eq7fzi-5"
39
+ componentId: "core-11_31_0__sc-1eq7fzi-5"
40
40
  })(["display:flex;flex:1 0 auto;padding-top:", "px;"], spacing.md);
41
41
  export var StyledListPageBodyContent = /*#__PURE__*/styled.div.withConfig({
42
42
  displayName: "StyledListPageBodyContent",
43
- componentId: "core-11_29_0__sc-1eq7fzi-6"
43
+ componentId: "core-11_31_0__sc-1eq7fzi-6"
44
44
  })(["flex:1 1 auto;"]);
45
45
  export var StyledListPage = /*#__PURE__*/styled.div.withConfig({
46
46
  displayName: "StyledListPage",
47
- componentId: "core-11_29_0__sc-1eq7fzi-7"
47
+ componentId: "core-11_31_0__sc-1eq7fzi-7"
48
48
  })(["display:flex;flex-direction:row;height:100%;width:100%;", " + ", "{padding-top:", "px;}", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", ",", " + ", "{border-top-color:", ";border-top-style:solid;border-top-width:1px;}", " + ", "{padding-top:0;}"], StyledListPageBanner, StyledListPageToolHeader, spacing.lg, StyledListPageContentControls, StyledListPageContentControls, colors.gray85, StyledListPageToolHeader, StyledListPageContentControls, StyledListPageToolHeader, StyledListPageBody, colors.gray85, StyledListPageContentControls, StyledListPageBody);
49
49
  //# sourceMappingURL=ListPage.styles.js.map
@@ -7,11 +7,11 @@ export var loaderTransitionDuration = 250;
7
7
  var movingStripes = /*#__PURE__*/keyframes(["from{background-position:", "px 0;}100%{background-position:0 ", "px;}"], backgroundSize, backgroundSize);
8
8
  export var StyledLoader = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledLoader",
10
- componentId: "core-11_29_0__sc-wgvjj9-0"
10
+ componentId: "core-11_31_0__sc-wgvjj9-0"
11
11
  })(["display:block;height:100%;left:0;min-width:12px;position:absolute;transition:width ", "ms ease-out;top:0;"], loaderTransitionDuration);
12
12
  export var StyledGradient = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledGradient",
14
- componentId: "core-11_29_0__sc-wgvjj9-1"
14
+ componentId: "core-11_31_0__sc-wgvjj9-1"
15
15
  })(["height:100%;", ""], function (_ref) {
16
16
  var $animated = _ref.$animated;
17
17
  return $animated ? css(["animation:", " 0.5s linear infinite;background-image:linear-gradient( 45deg,", " 26%,", " 25%,", " 51%,", " 50%,", " 76%,", " 75%,", " );background-size:", "px ", "px;"], movingStripes, color1, color2, color2, color1, color1, color2, color2, backgroundSize, backgroundSize) : css(["background-color:", ";"], colors.blue50);
@@ -11,15 +11,15 @@ var optionMinHeight = 32;
11
11
  // Do not merge with StyledMenu, needed for max-height working in IE
12
12
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
13
13
  displayName: "StyledWrapper",
14
- componentId: "core-11_29_0__sc-z984sz-0"
14
+ componentId: "core-11_31_0__sc-z984sz-0"
15
15
  })(["border-radius:inherit;display:flex;max-height:inherit;min-width:inherit;outline:none;width:inherit;"]);
16
16
  export var StyledMenu = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "StyledMenu",
18
- componentId: "core-11_29_0__sc-z984sz-1"
18
+ componentId: "core-11_31_0__sc-z984sz-1"
19
19
  })(["border-radius:inherit;display:flex;flex-direction:column;outline:0;width:100%;"]);
20
20
  export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
21
21
  displayName: "StyledOptions",
22
- componentId: "core-11_29_0__sc-z984sz-2"
22
+ componentId: "core-11_31_0__sc-z984sz-2"
23
23
  })(["flex-basis:auto;flex-grow:1;flex-shrink:1;min-height:", "px;", ";padding:", "px 0;position:relative;&:focus-visible{", " margin:-1px;}"], optionMinHeight, function (_ref) {
24
24
  var _ref$$scrollable = _ref.$scrollable,
25
25
  $scrollable = _ref$$scrollable === void 0 ? true : _ref$$scrollable;
@@ -27,26 +27,26 @@ export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
27
27
  }, spacing.sm, getFocus());
28
28
  export var StyledGrip = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledGrip",
30
- componentId: "core-11_29_0__sc-z984sz-3"
30
+ componentId: "core-11_31_0__sc-z984sz-3"
31
31
  })(["padding:0 2px;height:24px;visibility:hidden;"]);
32
32
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledHeader",
34
- componentId: "core-11_29_0__sc-z984sz-4"
34
+ componentId: "core-11_31_0__sc-z984sz-4"
35
35
  })([""]);
36
36
  export var StyledSearch = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSearch",
38
- componentId: "core-11_29_0__sc-z984sz-5"
38
+ componentId: "core-11_31_0__sc-z984sz-5"
39
39
  })(["padding:", "px ", "px ", "px;", " > *{pointer-events:none;}"], spacing.lg, spacing.lg, spacing.sm, StyledButton);
40
40
  export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledGroup",
42
- componentId: "core-11_29_0__sc-z984sz-6"
42
+ componentId: "core-11_31_0__sc-z984sz-6"
43
43
  })(["", " color:", ";cursor:", ";font-weight:", ";padding:", "px ", "px;&:not(:first-child){padding-top:", "px;}"], getTypographyIntent('body'), colors.gray15, function (_ref2) {
44
44
  var $clickable = _ref2.$clickable;
45
45
  return $clickable ? 'pointer' : 'default';
46
46
  }, typographyWeights.semibold, spacing.xs, spacing.lg, spacing.md + spacing.xs);
47
47
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
48
48
  displayName: "StyledItem",
49
- componentId: "core-11_29_0__sc-z984sz-7"
49
+ componentId: "core-11_31_0__sc-z984sz-7"
50
50
  })(["", ";", " cursor:pointer;list-style-type:none;padding:", "px ", "px;a{color:", ";display:block;margin:-", "px -", "px;padding:", "px ", "px;text-decoration:none;&:hover{color:", ";text-decoration:none;}}&[data-highlighted='true']{background-color:", ";}", " &:hover,&:active{", "{visibility:visible;}}", "{color:inherit;cursor:pointer;}", " ", " ", ""], getTypographyIntent('body'), function (_ref3) {
51
51
  var as = _ref3.as;
52
52
  return as === 'a' && css(["display:block;text-decoration:none;"]);
@@ -75,10 +75,10 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
75
75
  });
76
76
  export var StyledDroppable = /*#__PURE__*/styled.div.withConfig({
77
77
  displayName: "StyledDroppable",
78
- componentId: "core-11_29_0__sc-z984sz-8"
78
+ componentId: "core-11_31_0__sc-z984sz-8"
79
79
  })(["", ",", "{padding-left:28px;}"], StyledGroup, StyledItem);
80
80
  export var StyledFooter = /*#__PURE__*/styled(Box).withConfig({
81
81
  displayName: "StyledFooter",
82
- componentId: "core-11_29_0__sc-z984sz-9"
82
+ componentId: "core-11_31_0__sc-z984sz-9"
83
83
  })(["border-top:1px solid ", ";border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;"], colors.gray85);
84
84
  //# sourceMappingURL=MenuImperative.styles.js.map
@@ -18,15 +18,15 @@ export var modalPixelWidths = {
18
18
  };
19
19
  export var StyledModal = /*#__PURE__*/styled.div.withConfig({
20
20
  displayName: "StyledModal",
21
- componentId: "core-11_29_0__sc-1ijdug2-0"
21
+ componentId: "core-11_31_0__sc-1ijdug2-0"
22
22
  })(["display:flex;height:100vh;position:absolute;opacity:0;transition:0.3s opacity ease;width:100vw;z-index:0;&.", "{opacity:1;}&.", "{opacity:0;}"], fadeInClassName, fadeOutClassName);
23
23
  export var StyledModalButtons = /*#__PURE__*/styled.div.withConfig({
24
24
  displayName: "StyledModalButtons",
25
- componentId: "core-11_29_0__sc-1ijdug2-1"
25
+ componentId: "core-11_31_0__sc-1ijdug2-1"
26
26
  })(["display:flex;flex:0 0 auto;margin-left:", "px;> * + *{margin-left:", "px;}"], spacing.lg, spacing.sm);
27
27
  export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
28
28
  displayName: "StyledModalContainer",
29
- componentId: "core-11_29_0__sc-1ijdug2-2"
29
+ componentId: "core-11_31_0__sc-1ijdug2-2"
30
30
  })(["display:flex;flex-direction:row;position:absolute;z-index:2;", " ", ""], function (_ref) {
31
31
  var $placement = _ref.$placement;
32
32
  if ($placement === 'top') {
@@ -44,11 +44,11 @@ export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
44
44
  });
45
45
  export var StyledModalFooter = /*#__PURE__*/styled.div.withConfig({
46
46
  displayName: "StyledModalFooter",
47
- componentId: "core-11_29_0__sc-1ijdug2-3"
47
+ componentId: "core-11_31_0__sc-1ijdug2-3"
48
48
  })(["align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;padding:", "px ", "px ", "px;"], spacing.xl, spacing.xxl, spacing.xxl);
49
49
  export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
50
50
  displayName: "StyledModalBody",
51
- componentId: "core-11_29_0__sc-1ijdug2-4"
51
+ componentId: "core-11_31_0__sc-1ijdug2-4"
52
52
  })(["", " box-sizing:border-box;color:", ";display:flex;flex-direction:column;max-width:", ";overflow:auto;", " > ", "{padding-left:0;padding-right:0;&:first-child > ", "{padding-top:0;}}", ""], getTypographyIntent('body'), colors.gray15, modalMaxWidth, function (_ref3) {
53
53
  var noSideSpacing = _ref3.noSideSpacing;
54
54
  return css(["padding:", "px ", "px;"], spacing.xl, noSideSpacing ? 0 : spacing.xxl);
@@ -58,37 +58,37 @@ export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
58
58
  });
59
59
  export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
60
60
  displayName: "StyledModalContent",
61
- componentId: "core-11_29_0__sc-1ijdug2-5"
61
+ componentId: "core-11_31_0__sc-1ijdug2-5"
62
62
  })(["display:flex;flex-direction:column;max-height:90vh;overflow:hidden;width:100%;"]);
63
63
  export var StyledModalFooterNotation = /*#__PURE__*/styled(Typography).withConfig({
64
64
  displayName: "StyledModalFooterNotation",
65
- componentId: "core-11_29_0__sc-1ijdug2-6"
65
+ componentId: "core-11_31_0__sc-1ijdug2-6"
66
66
  })(["flex-grow:1;"]);
67
67
  export var StyledModalHeader = /*#__PURE__*/styled.div.withConfig({
68
68
  displayName: "StyledModalHeader",
69
- componentId: "core-11_29_0__sc-1ijdug2-7"
69
+ componentId: "core-11_31_0__sc-1ijdug2-7"
70
70
  })(["align-items:flex-start;color:", ";display:flex;flex:0 0 auto;padding:", "px ", "px;position:relative;", ""], colors.gray10, spacing.xl, spacing.xxl, function (_ref5) {
71
71
  var $isBodyScrolled = _ref5.$isBodyScrolled;
72
72
  return css(["border-bottom:1px solid ", ";"], $isBodyScrolled ? colors.gray85 : 'transparent');
73
73
  });
74
74
  export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
75
75
  displayName: "StyledModalHeading",
76
- componentId: "core-11_29_0__sc-1ijdug2-8"
76
+ componentId: "core-11_31_0__sc-1ijdug2-8"
77
77
  })(["", " align-items:center;display:flex;flex:1 1 auto;min-height:36px;padding-right:", "px;"], getTypographyIntent('h2'), spacing.lg);
78
78
  export var StyledModalCancel = /*#__PURE__*/styled.div.withConfig({
79
79
  displayName: "StyledModalCancel",
80
- componentId: "core-11_29_0__sc-1ijdug2-9"
80
+ componentId: "core-11_31_0__sc-1ijdug2-9"
81
81
  })(["flex:0 0 auto;"]);
82
82
  export var StyledModalScrim = /*#__PURE__*/styled.div.withConfig({
83
83
  displayName: "StyledModalScrim",
84
- componentId: "core-11_29_0__sc-1ijdug2-10"
84
+ componentId: "core-11_31_0__sc-1ijdug2-10"
85
85
  })(["background:hsla(200,8%,10%,0.6);height:100vh;left:0;position:absolute;top:0;width:100vw;z-index:1;"]);
86
86
  export var StyledModalWarningIcon = /*#__PURE__*/styled(Warning).withConfig({
87
87
  displayName: "StyledModalWarningIcon",
88
- componentId: "core-11_29_0__sc-1ijdug2-11"
88
+ componentId: "core-11_31_0__sc-1ijdug2-11"
89
89
  })(["color:", ";margin-right:", "px;"], colors.yellow40, spacing.sm);
90
90
  export var StyledModalFooterSummary = /*#__PURE__*/styled.div.withConfig({
91
91
  displayName: "StyledModalFooterSummary",
92
- componentId: "core-11_29_0__sc-1ijdug2-12"
92
+ componentId: "core-11_31_0__sc-1ijdug2-12"
93
93
  })(["", " border-top:1px solid ", ";border-bottom:1px solid ", ";padding:", "px ", "px;color:", ";font-style:italic;background-color:", ";margin:-", "px -", "px ", "px -", "px;flex:1 1 100%;"], getTypographyIntent('small'), colors.gray85, colors.gray85, spacing.md, spacing.xxl, colors.gray15, colors.gray98, spacing.xl, spacing.xxl, spacing.xl, spacing.xxl);
94
94
  //# sourceMappingURL=Modal.styles.js.map
@@ -24,7 +24,7 @@ export function useInitializeModalFocus(_ref) {
24
24
  }
25
25
  // if there is a footer section the focus on the left most interactive element
26
26
  } else if ((_childrenRegistryStat6 = childrenRegistryStatus.closeableButtons) !== null && _childrenRegistryStat6 !== void 0 && _childrenRegistryStat6.current) {
27
- focusManager.focusNext({
27
+ focusManager === null || focusManager === void 0 ? void 0 : focusManager.focusNext({
28
28
  from: closeButtonElement !== null && closeButtonElement !== void 0 ? closeButtonElement : undefined
29
29
  });
30
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"useInitializeModalFocus.js","names":["useFocusManager","useEffect","useModalChildRegistryContext","useInitializeModalFocus","_ref","modalContainerRef","hasOnClose","focusManager","childrenRegistryStatus","_modalContainerRef$cu","_childrenRegistryStat","_childrenRegistryStat2","_childrenRegistryStat3","_childrenRegistryStat6","closeButtonElement","current","querySelector","anyFocusedItem","body","_childrenRegistryStat4","_childrenRegistryStat5","focus","closeableButtons","focusNext","from","undefined"],"sources":["../../src/Modal/useInitializeModalFocus.ts"],"sourcesContent":["import { useFocusManager } from '@react-aria/focus'\nimport { useEffect } from 'react'\nimport { useModalChildRegistryContext } from './ChildRegistry.context'\n\ninterface InitializeModalFocusProps {\n modalContainerRef: React.RefObject<HTMLDivElement>\n hasOnClose: boolean\n}\n\nexport function useInitializeModalFocus({\n modalContainerRef,\n hasOnClose,\n}: InitializeModalFocusProps) {\n const focusManager = useFocusManager()\n const childrenRegistryStatus = useModalChildRegistryContext()\n\n useEffect(() => {\n // the same reason that Modal has a FocusScope with autoFocus={!!onClose}\n if (!hasOnClose) return\n const closeButtonElement = modalContainerRef?.current?.querySelector(\n '[data-internal=\"close-button\"]'\n )\n const anyFocusedItem =\n childrenRegistryStatus.body?.current?.querySelector(':focus')\n\n if (closeButtonElement == null) {\n // if no focus header button is represented then no need to change focus on next elements\n return\n }\n if (childrenRegistryStatus.body?.current) {\n // if nothing has been focused within body then focus in the scrollable body\n if (anyFocusedItem == null) {\n childrenRegistryStatus.body?.current?.focus()\n }\n // if there is a footer section the focus on the left most interactive element\n } else if (childrenRegistryStatus.closeableButtons?.current) {\n focusManager.focusNext({\n from: closeButtonElement ?? undefined,\n })\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [childrenRegistryStatus])\n}\n"],"mappings":"AAAA,SAASA,eAAe,QAAQ,mBAAmB;AACnD,SAASC,SAAS,QAAQ,OAAO;AACjC,SAASC,4BAA4B,QAAQ,yBAAyB;AAOtE,OAAO,SAASC,uBAAuBA,CAAAC,IAAA,EAGT;EAAA,IAF5BC,iBAAiB,GAAAD,IAAA,CAAjBC,iBAAiB;IACjBC,UAAU,GAAAF,IAAA,CAAVE,UAAU;EAEV,IAAMC,YAAY,GAAGP,eAAe,CAAC,CAAC;EACtC,IAAMQ,sBAAsB,GAAGN,4BAA4B,CAAC,CAAC;EAE7DD,SAAS,CAAC,YAAM;IAAA,IAAAQ,qBAAA,EAAAC,qBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA;IACd;IACA,IAAI,CAACP,UAAU,EAAE;IACjB,IAAMQ,kBAAkB,GAAGT,iBAAiB,aAAjBA,iBAAiB,wBAAAI,qBAAA,GAAjBJ,iBAAiB,CAAEU,OAAO,cAAAN,qBAAA,uBAA1BA,qBAAA,CAA4BO,aAAa,CAClE,gCACF,CAAC;IACD,IAAMC,cAAc,IAAAP,qBAAA,GAClBF,sBAAsB,CAACU,IAAI,cAAAR,qBAAA,wBAAAC,sBAAA,GAA3BD,qBAAA,CAA6BK,OAAO,cAAAJ,sBAAA,uBAApCA,sBAAA,CAAsCK,aAAa,CAAC,QAAQ,CAAC;IAE/D,IAAIF,kBAAkB,IAAI,IAAI,EAAE;MAC9B;MACA;IACF;IACA,KAAAF,sBAAA,GAAIJ,sBAAsB,CAACU,IAAI,cAAAN,sBAAA,eAA3BA,sBAAA,CAA6BG,OAAO,EAAE;MACxC;MACA,IAAIE,cAAc,IAAI,IAAI,EAAE;QAAA,IAAAE,sBAAA,EAAAC,sBAAA;QAC1B,CAAAD,sBAAA,GAAAX,sBAAsB,CAACU,IAAI,cAAAC,sBAAA,wBAAAC,sBAAA,GAA3BD,sBAAA,CAA6BJ,OAAO,cAAAK,sBAAA,uBAApCA,sBAAA,CAAsCC,KAAK,CAAC,CAAC;MAC/C;MACA;IACF,CAAC,MAAM,KAAAR,sBAAA,GAAIL,sBAAsB,CAACc,gBAAgB,cAAAT,sBAAA,eAAvCA,sBAAA,CAAyCE,OAAO,EAAE;MAC3DR,YAAY,CAACgB,SAAS,CAAC;QACrBC,IAAI,EAAEV,kBAAkB,aAAlBA,kBAAkB,cAAlBA,kBAAkB,GAAIW;MAC9B,CAAC,CAAC;IACJ;;IAEA;EACF,CAAC,EAAE,CAACjB,sBAAsB,CAAC,CAAC;AAC9B"}
1
+ {"version":3,"file":"useInitializeModalFocus.js","names":["useFocusManager","useEffect","useModalChildRegistryContext","useInitializeModalFocus","_ref","modalContainerRef","hasOnClose","focusManager","childrenRegistryStatus","_modalContainerRef$cu","_childrenRegistryStat","_childrenRegistryStat2","_childrenRegistryStat3","_childrenRegistryStat6","closeButtonElement","current","querySelector","anyFocusedItem","body","_childrenRegistryStat4","_childrenRegistryStat5","focus","closeableButtons","focusNext","from","undefined"],"sources":["../../src/Modal/useInitializeModalFocus.ts"],"sourcesContent":["import { useFocusManager } from '@react-aria/focus'\nimport { useEffect } from 'react'\nimport { useModalChildRegistryContext } from './ChildRegistry.context'\n\ninterface InitializeModalFocusProps {\n modalContainerRef: React.RefObject<HTMLDivElement>\n hasOnClose: boolean\n}\n\nexport function useInitializeModalFocus({\n modalContainerRef,\n hasOnClose,\n}: InitializeModalFocusProps) {\n const focusManager = useFocusManager()\n const childrenRegistryStatus = useModalChildRegistryContext()\n\n useEffect(() => {\n // the same reason that Modal has a FocusScope with autoFocus={!!onClose}\n if (!hasOnClose) return\n const closeButtonElement = modalContainerRef?.current?.querySelector(\n '[data-internal=\"close-button\"]'\n )\n const anyFocusedItem =\n childrenRegistryStatus.body?.current?.querySelector(':focus')\n\n if (closeButtonElement == null) {\n // if no focus header button is represented then no need to change focus on next elements\n return\n }\n if (childrenRegistryStatus.body?.current) {\n // if nothing has been focused within body then focus in the scrollable body\n if (anyFocusedItem == null) {\n childrenRegistryStatus.body?.current?.focus()\n }\n // if there is a footer section the focus on the left most interactive element\n } else if (childrenRegistryStatus.closeableButtons?.current) {\n focusManager?.focusNext({\n from: closeButtonElement ?? undefined,\n })\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [childrenRegistryStatus])\n}\n"],"mappings":"AAAA,SAASA,eAAe,QAAQ,mBAAmB;AACnD,SAASC,SAAS,QAAQ,OAAO;AACjC,SAASC,4BAA4B,QAAQ,yBAAyB;AAOtE,OAAO,SAASC,uBAAuBA,CAAAC,IAAA,EAGT;EAAA,IAF5BC,iBAAiB,GAAAD,IAAA,CAAjBC,iBAAiB;IACjBC,UAAU,GAAAF,IAAA,CAAVE,UAAU;EAEV,IAAMC,YAAY,GAAGP,eAAe,CAAC,CAAC;EACtC,IAAMQ,sBAAsB,GAAGN,4BAA4B,CAAC,CAAC;EAE7DD,SAAS,CAAC,YAAM;IAAA,IAAAQ,qBAAA,EAAAC,qBAAA,EAAAC,sBAAA,EAAAC,sBAAA,EAAAC,sBAAA;IACd;IACA,IAAI,CAACP,UAAU,EAAE;IACjB,IAAMQ,kBAAkB,GAAGT,iBAAiB,aAAjBA,iBAAiB,wBAAAI,qBAAA,GAAjBJ,iBAAiB,CAAEU,OAAO,cAAAN,qBAAA,uBAA1BA,qBAAA,CAA4BO,aAAa,CAClE,gCACF,CAAC;IACD,IAAMC,cAAc,IAAAP,qBAAA,GAClBF,sBAAsB,CAACU,IAAI,cAAAR,qBAAA,wBAAAC,sBAAA,GAA3BD,qBAAA,CAA6BK,OAAO,cAAAJ,sBAAA,uBAApCA,sBAAA,CAAsCK,aAAa,CAAC,QAAQ,CAAC;IAE/D,IAAIF,kBAAkB,IAAI,IAAI,EAAE;MAC9B;MACA;IACF;IACA,KAAAF,sBAAA,GAAIJ,sBAAsB,CAACU,IAAI,cAAAN,sBAAA,eAA3BA,sBAAA,CAA6BG,OAAO,EAAE;MACxC;MACA,IAAIE,cAAc,IAAI,IAAI,EAAE;QAAA,IAAAE,sBAAA,EAAAC,sBAAA;QAC1B,CAAAD,sBAAA,GAAAX,sBAAsB,CAACU,IAAI,cAAAC,sBAAA,wBAAAC,sBAAA,GAA3BD,sBAAA,CAA6BJ,OAAO,cAAAK,sBAAA,uBAApCA,sBAAA,CAAsCC,KAAK,CAAC,CAAC;MAC/C;MACA;IACF,CAAC,MAAM,KAAAR,sBAAA,GAAIL,sBAAsB,CAACc,gBAAgB,cAAAT,sBAAA,eAAvCA,sBAAA,CAAyCE,OAAO,EAAE;MAC3DR,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEgB,SAAS,CAAC;QACtBC,IAAI,EAAEV,kBAAkB,aAAlBA,kBAAkB,cAAlBA,kBAAkB,GAAIW;MAC9B,CAAC,CAAC;IACJ;;IAEA;EACF,CAAC,EAAE,CAACjB,sBAAsB,CAAC,CAAC;AAC9B"}