@procore/core-react 12.51.0 → 12.52.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 (219) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +4 -4
  3. package/dist/Avatar/Avatar.styles.js +5 -5
  4. package/dist/AvatarStack/AvatarStack.styles.js +8 -8
  5. package/dist/Badge/Badge.styles.js +2 -2
  6. package/dist/BadgePill/BadgePill.styles.js +4 -4
  7. package/dist/Banner/Banner.d.ts +7 -5
  8. package/dist/Banner/Banner.js +146 -71
  9. package/dist/Banner/Banner.js.map +1 -1
  10. package/dist/Banner/Banner.styles.js +10 -10
  11. package/dist/Banner/Banner.types.d.ts +16 -0
  12. package/dist/Banner/Banner.types.js.map +1 -1
  13. package/dist/Box/Box.styles.js +1 -1
  14. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  15. package/dist/Button/Button.styles.js +5 -5
  16. package/dist/Calendar/Calendar.styles.js +9 -9
  17. package/dist/Card/Card.styles.js +1 -1
  18. package/dist/Checkbox/Checkbox.styles.js +6 -6
  19. package/dist/ContactItem/ContactItem.styles.js +5 -5
  20. package/dist/Content/Content.styles.js +2 -2
  21. package/dist/DateInput/DateInput.styles.js +6 -6
  22. package/dist/DetailPage/DetailPage.styles.js +7 -7
  23. package/dist/Dropdown/Dropdown.styles.js +3 -3
  24. package/dist/DropdownFlyout/DropdownFlyout.styles.js +6 -7
  25. package/dist/DropdownFlyout/DropdownFlyout.styles.js.map +1 -1
  26. package/dist/DropdownFlyout/useDropdownFlyoutOverlay.js +13 -1
  27. package/dist/DropdownFlyout/useDropdownFlyoutOverlay.js.map +1 -1
  28. package/dist/Dropzone/Dropzone.js +1 -1
  29. package/dist/Dropzone/Dropzone.styles.d.ts +2 -2
  30. package/dist/Dropzone/Dropzone.styles.js +9 -9
  31. package/dist/EmptyState/EmptyState.styles.js +6 -6
  32. package/dist/Field/Field.styles.js +3 -3
  33. package/dist/FileList/FileList.styles.js +3 -3
  34. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  35. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  36. package/dist/FileSelect/FileSelect.styles.js +2 -2
  37. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  38. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  39. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  40. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  41. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  42. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  43. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  44. package/dist/FileToken/FileToken.styles.js +6 -6
  45. package/dist/FilterToken/FilterToken.styles.js +5 -5
  46. package/dist/FlexList/FlexList.styles.js +1 -1
  47. package/dist/Form/Form.styles.js +13 -13
  48. package/dist/Form/StyledFormikForm.styles.js +2 -2
  49. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  50. package/dist/Grid/Grid.styles.js +2 -2
  51. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  52. package/dist/Input/Input.styles.js +1 -1
  53. package/dist/Link/Link.styles.js +1 -1
  54. package/dist/ListPage/ListPage.styles.js +8 -8
  55. package/dist/Loader/Loader.styles.js +2 -2
  56. package/dist/MenuImperative/MenuImperative.styles.js +11 -11
  57. package/dist/Modal/Modal.styles.js +13 -13
  58. package/dist/MultiSelect/MultiSelect.styles.js +8 -8
  59. package/dist/NextMenu/NextMenu.styles.js +3 -3
  60. package/dist/NextTile/NextTile.styles.js +5 -5
  61. package/dist/Notation/Notation.js +1 -1
  62. package/dist/NumberInput/NumberInput.styles.js +7 -7
  63. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  64. package/dist/Overlay/useOverlay.d.ts +2 -1
  65. package/dist/Overlay/useOverlay.js +4 -2
  66. package/dist/Overlay/useOverlay.js.map +1 -1
  67. package/dist/PageLayout/PageLayout.js +4 -2
  68. package/dist/PageLayout/PageLayout.js.map +1 -1
  69. package/dist/PageLayout/PageLayout.styles.d.ts +0 -1
  70. package/dist/PageLayout/PageLayout.styles.js +18 -19
  71. package/dist/PageLayout/PageLayout.styles.js.map +1 -1
  72. package/dist/PageLayout/PageLayout.types.d.ts +11 -3
  73. package/dist/PageLayout/PageLayout.types.js.map +1 -1
  74. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  75. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  76. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  77. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  78. package/dist/Pagination/Pagination.styles.js +5 -5
  79. package/dist/Panel/Panel.styles.js +11 -11
  80. package/dist/Pill/Pill.styles.js +3 -3
  81. package/dist/PillSelect/PillSelect.styles.js +4 -4
  82. package/dist/Popover/Popover.styles.js +2 -2
  83. package/dist/Portal/Portal.styles.js +1 -1
  84. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  85. package/dist/RadioButton/RadioButton.styles.js +3 -3
  86. package/dist/Required/Required.styles.js +3 -3
  87. package/dist/Search/Search.styles.js +5 -5
  88. package/dist/Section/Section.styles.js +7 -7
  89. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  90. package/dist/Select/Select.styles.js +8 -8
  91. package/dist/Semantic/Semantic.styles.js +9 -9
  92. package/dist/Slider/Slider.styles.js +5 -5
  93. package/dist/Spinner/Spinner.styles.js +7 -7
  94. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  95. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  96. package/dist/SuperSelect/SuperSelect.styles.js +40 -40
  97. package/dist/Switch/Switch.styles.js +4 -4
  98. package/dist/Table/Table.styles.js +29 -29
  99. package/dist/TableShelf/TableShelf.styles.js +5 -5
  100. package/dist/Tabs/Tabs.js +2 -1
  101. package/dist/Tabs/Tabs.js.map +1 -1
  102. package/dist/Tabs/Tabs.styles.d.ts +1 -0
  103. package/dist/Tabs/Tabs.styles.js +29 -26
  104. package/dist/Tabs/Tabs.styles.js.map +1 -1
  105. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  106. package/dist/TextArea/TextArea.styles.js +1 -1
  107. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  108. package/dist/Thumbnail/Thumbnail.js +99 -37
  109. package/dist/Thumbnail/Thumbnail.js.map +1 -1
  110. package/dist/Thumbnail/Thumbnail.styles.js +23 -23
  111. package/dist/Thumbnail/Thumbnail.styles.js.map +1 -1
  112. package/dist/Thumbnail/Thumbnail.types.d.ts +1 -0
  113. package/dist/Thumbnail/Thumbnail.types.js.map +1 -1
  114. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  115. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  116. package/dist/Tile/Tile.styles.js +8 -8
  117. package/dist/Title/Title.styles.js +7 -7
  118. package/dist/Toast/Toast.styles.js +3 -3
  119. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  120. package/dist/Token/Token.styles.js +5 -5
  121. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  122. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  123. package/dist/Tooltip/Tooltip.styles.js +3 -3
  124. package/dist/Tree/Tree.js +46 -21
  125. package/dist/Tree/Tree.js.map +1 -1
  126. package/dist/Tree/Tree.styles.d.ts +1 -0
  127. package/dist/Tree/Tree.styles.js +17 -14
  128. package/dist/Tree/Tree.styles.js.map +1 -1
  129. package/dist/Tree/Tree.types.d.ts +10 -0
  130. package/dist/Tree/Tree.types.js.map +1 -1
  131. package/dist/Typeahead/Typeahead.styles.js +4 -4
  132. package/dist/Typography/Typography.styles.js +1 -1
  133. package/dist/Typography/Typography.table.story.js +2 -2
  134. package/dist/_hooks/I18n.d.ts +12 -0
  135. package/dist/_locales/en.json +7 -1
  136. package/dist/_locales/pseudo.json +8 -2
  137. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  138. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  139. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +4 -4
  140. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  141. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  142. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  143. package/dist/_typedoc/Banner/Banner.types.json +37 -15
  144. package/dist/_typedoc/Box/Box.types.json +68 -68
  145. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +12 -12
  146. package/dist/_typedoc/Button/Button.types.json +14 -14
  147. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  148. package/dist/_typedoc/Card/Card.types.json +6 -6
  149. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  150. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  151. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  152. package/dist/_typedoc/DateSelect/DateSelect.types.json +14 -14
  153. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  154. package/dist/_typedoc/Dropdown/Dropdown.types.json +38 -38
  155. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +32 -32
  156. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  157. package/dist/_typedoc/EmptyState/EmptyState.types.json +18 -18
  158. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  159. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  160. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  161. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  162. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  163. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  164. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  165. package/dist/_typedoc/Form/Form.types.json +770 -770
  166. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  167. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  168. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +54 -54
  169. package/dist/_typedoc/Input/Input.types.json +2 -2
  170. package/dist/_typedoc/Link/Link.types.json +1 -1
  171. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  172. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  173. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +84 -84
  174. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  175. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  176. package/dist/_typedoc/NextTile/NextTile.types.json +33 -33
  177. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  178. package/dist/_typedoc/NumberInput/NumberInput.types.json +52 -52
  179. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  180. package/dist/_typedoc/PageLayout/PageLayout.types.json +58 -45
  181. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  182. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  183. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  184. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  185. package/dist/_typedoc/Popover/Popover.types.json +15 -15
  186. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  187. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  188. package/dist/_typedoc/Required/Required.types.json +5 -5
  189. package/dist/_typedoc/Search/Search.types.json +18 -18
  190. package/dist/_typedoc/Section/Section.types.json +15 -15
  191. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  192. package/dist/_typedoc/Select/Select.types.json +67 -67
  193. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  194. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  195. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  196. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  197. package/dist/_typedoc/Table/Table.types.json +105 -105
  198. package/dist/_typedoc/Tabs/Tabs.types.json +23 -23
  199. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  200. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  201. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  202. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  203. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  204. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  205. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  206. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  207. package/dist/_typedoc/Title/Title.types.json +1 -1
  208. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  209. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  210. package/dist/_typedoc/Token/Token.types.json +7 -7
  211. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  212. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
  213. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  214. package/dist/_typedoc/Tree/Tree.types.json +118 -88
  215. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  216. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  217. package/dist/_typedoc/_utils/types.json +3 -3
  218. package/dist/_typedoc/a11y-tips.json +1 -1
  219. package/package.json +1 -1
@@ -23,7 +23,7 @@ function applyStylesOnlyToIE11(styles) {
23
23
  }
24
24
  export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
25
25
  displayName: "StyledFormFieldMain",
26
- componentId: "core-12_51_0__sc-ncj3pf-0"
26
+ componentId: "core-12_52_0__sc-ncj3pf-0"
27
27
  })(["-ms-grid-row:2;grid-row:2;", " ", " ", ""], function (_ref) {
28
28
  var $colStart = _ref.$colStart,
29
29
  $colEnd = _ref.$colEnd,
@@ -35,15 +35,15 @@ export var StyledFormFieldMain = /*#__PURE__*/styled.div.withConfig({
35
35
  }, applyStylesOnlyToIE11("\n padding-left: ".concat(columnGutter, ";\n\n &:nth-child(2) {\n padding-left: 0;\n }\n ")));
36
36
  export var StyledLabel = /*#__PURE__*/styled(StyledLabelBase).withConfig({
37
37
  displayName: "StyledLabel",
38
- componentId: "core-12_51_0__sc-ncj3pf-1"
38
+ componentId: "core-12_52_0__sc-ncj3pf-1"
39
39
  })(["word-wrap:break-word;word-break:break-word;"]);
40
40
  export var StyledDescription = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledDescription",
42
- componentId: "core-12_51_0__sc-ncj3pf-2"
42
+ componentId: "core-12_52_0__sc-ncj3pf-2"
43
43
  })(["", " color:", ";word-wrap:break-word;word-break:break-word;"], getTypographyIntent('body'), colors.gray45);
44
44
  export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescription).withConfig({
45
45
  displayName: "StyledCheckboxInlineDescription",
46
- componentId: "core-12_51_0__sc-ncj3pf-3"
46
+ componentId: "core-12_52_0__sc-ncj3pf-3"
47
47
  })(["margin-top:", "px;", ""], spacing.xs, function (_ref3) {
48
48
  var $read = _ref3.$read;
49
49
  if (!$read) {
@@ -52,7 +52,7 @@ export var StyledCheckboxInlineDescription = /*#__PURE__*/styled(StyledDescripti
52
52
  });
53
53
  export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withConfig({
54
54
  displayName: "StyledFormFieldHeader",
55
- componentId: "core-12_51_0__sc-ncj3pf-4"
55
+ componentId: "core-12_52_0__sc-ncj3pf-4"
56
56
  })(["-ms-grid-row:1;grid-row:1;align-self:end;margin-bottom:", "px;", " ", " * + ", "{margin-top:", "px;}"], spacing.xs, function (_ref4) {
57
57
  var $colStart = _ref4.$colStart,
58
58
  $colEnd = _ref4.$colEnd,
@@ -61,20 +61,20 @@ export var StyledFormFieldHeader = /*#__PURE__*/styled(StyledFieldHeader).withCo
61
61
  }, 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);
62
62
  export var StyledFormFieldRequiredMark = /*#__PURE__*/styled(Required).withConfig({
63
63
  displayName: "StyledFormFieldRequiredMark",
64
- componentId: "core-12_51_0__sc-ncj3pf-5"
64
+ componentId: "core-12_52_0__sc-ncj3pf-5"
65
65
  })(["padding-left:", "px;vertical-align:top;"], spacing.xs);
66
66
  export var StyledFormFieldErrorIcon = /*#__PURE__*/styled(Error).withConfig({
67
67
  displayName: "StyledFormFieldErrorIcon",
68
- componentId: "core-12_51_0__sc-ncj3pf-6"
68
+ componentId: "core-12_52_0__sc-ncj3pf-6"
69
69
  })(["vertical-align:sub;"]);
70
70
  export var StyledFormFieldBanner = /*#__PURE__*/styled.div.withConfig({
71
71
  displayName: "StyledFormFieldBanner",
72
- componentId: "core-12_51_0__sc-ncj3pf-7"
72
+ componentId: "core-12_52_0__sc-ncj3pf-7"
73
73
  })(["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'));
74
74
  /** @deprecated The traditional field layout is deprecated */
75
75
  export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
76
76
  displayName: "StyledTraditionalFormColumn",
77
- componentId: "core-12_51_0__sc-ncj3pf-8"
77
+ componentId: "core-12_52_0__sc-ncj3pf-8"
78
78
  })(["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) {
79
79
  var _ref5$$fullWidth = _ref5.$fullWidth,
80
80
  $fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
@@ -86,15 +86,15 @@ export var StyledTraditionalFormColumn = /*#__PURE__*/styled.div.withConfig({
86
86
  });
87
87
  export var StyledFormOutputTextArea = /*#__PURE__*/styled.span.withConfig({
88
88
  displayName: "StyledFormOutputTextArea",
89
- componentId: "core-12_51_0__sc-ncj3pf-9"
89
+ componentId: "core-12_52_0__sc-ncj3pf-9"
90
90
  })(["white-space:pre-wrap;"]);
91
91
  export var StyledFormOutputFiledset = /*#__PURE__*/styled.fieldset.withConfig({
92
92
  displayName: "StyledFormOutputFiledset",
93
- componentId: "core-12_51_0__sc-ncj3pf-10"
93
+ componentId: "core-12_52_0__sc-ncj3pf-10"
94
94
  })(["border:none;padding:0;margin-top:", "px;"], spacing.xs);
95
95
  export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
96
96
  displayName: "StyledFormRow",
97
- componentId: "core-12_51_0__sc-ncj3pf-11"
97
+ componentId: "core-12_52_0__sc-ncj3pf-11"
98
98
  })(["", ""], function (_ref7) {
99
99
  var _ref7$$traditional = _ref7.$traditional,
100
100
  $traditional = _ref7$$traditional === void 0 ? false : _ref7$$traditional,
@@ -105,6 +105,6 @@ export var StyledFormRow = /*#__PURE__*/styled.div.withConfig({
105
105
  export var formWrapper = /*#__PURE__*/css(["display:inherit;flex-direction:inherit;height:inherit;max-height:inherit;"]);
106
106
  export var StyledForm = /*#__PURE__*/styled.div.withConfig({
107
107
  displayName: "StyledForm",
108
- componentId: "core-12_51_0__sc-ncj3pf-12"
108
+ componentId: "core-12_52_0__sc-ncj3pf-12"
109
109
  })(["", ""], formWrapper);
110
110
  //# sourceMappingURL=Form.styles.js.map
@@ -5,13 +5,13 @@ import { spacing } from '../_styles/spacing';
5
5
  import { formWrapper } from './Form.styles';
6
6
  export var StyledFormikForm = /*#__PURE__*/styled(FormikForm).withConfig({
7
7
  displayName: "StyledFormikForm",
8
- componentId: "core-12_51_0__sc-1ks7m0l-0"
8
+ componentId: "core-12_52_0__sc-1ks7m0l-0"
9
9
  })(["", ""], formWrapper);
10
10
 
11
11
  /** @deprecated The traditional field layout is deprecated */
12
12
  export var StyledTraditionalFormLabel = /*#__PURE__*/styled(Typography).withConfig({
13
13
  displayName: "StyledTraditionalFormLabel",
14
- componentId: "core-12_51_0__sc-1ks7m0l-1"
14
+ componentId: "core-12_52_0__sc-1ks7m0l-1"
15
15
  })(["display:inline-block;word-break:break-word;word-wrap:break-word;", ""], function (_ref) {
16
16
  var $view = _ref.$view;
17
17
  return ['create', 'update'].includes($view) && css(["padding-top:", "px;"], spacing.sm);
@@ -3,7 +3,7 @@ import { spacing } from '../_styles/spacing';
3
3
  var shimmerAnimation = /*#__PURE__*/keyframes(["0%{background-position:-1000px 500px;}100%{background-position:1000px 500px;}"]);
4
4
  export var PlaceholderItem = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "PlaceholderItem",
6
- componentId: "core-12_51_0__sc-1nja302-0"
6
+ componentId: "core-12_52_0__sc-1nja302-0"
7
7
  })(["width:100%;min-height:24px;padding:10px 0;animation:", " 3s ease-out infinite;background:radial-gradient( ellipse at center,", " 0%,", " 50% );background-size:2000px 2000px;border-radius:", "px;@media (prefers-reduced-motion:reduce){animation:none;}"], shimmerAnimation, function (props) {
8
8
  return props.$startGradientColor;
9
9
  }, function (props) {
@@ -11,7 +11,7 @@ export var PlaceholderItem = /*#__PURE__*/styled.div.withConfig({
11
11
  }, spacing.sm);
12
12
  export var RoundPlaceholderItem = /*#__PURE__*/styled(PlaceholderItem).withConfig({
13
13
  displayName: "RoundPlaceholderItem",
14
- componentId: "core-12_51_0__sc-1nja302-1"
14
+ componentId: "core-12_52_0__sc-1nja302-1"
15
15
  })(["width:", ";height:", ";border-radius:50%;"], function (props) {
16
16
  return props.$small ? '24px' : '40px';
17
17
  }, function (props) {
@@ -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-12_51_0__sc-8pinsp-0"
78
+ componentId: "core-12_52_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-12_51_0__sc-8pinsp-1"
90
+ componentId: "core-12_52_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-12_51_0__sc-u5gu8j-0"
6
+ componentId: "core-12_52_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-12_51_0__sc-12sjkxg-0"
19
+ componentId: "core-12_52_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-12_51_0__sc-jfowrl-0"
20
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-0"
6
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-1"
10
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-2"
14
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-3"
18
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-4"
35
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-5"
39
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-6"
43
+ componentId: "core-12_52_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-12_51_0__sc-1eq7fzi-7"
47
+ componentId: "core-12_52_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-12_51_0__sc-wgvjj9-0"
10
+ componentId: "core-12_52_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-12_51_0__sc-wgvjj9-1"
14
+ componentId: "core-12_52_0__sc-wgvjj9-1"
15
15
  })(["height:100%;", ""], function (_ref) {
16
16
  var $animated = _ref.$animated;
17
17
  return $animated ? css(["@media (prefers-reduced-motion:no-preference){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-12_51_0__sc-z984sz-0"
14
+ componentId: "core-12_52_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-12_51_0__sc-z984sz-1"
18
+ componentId: "core-12_52_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-12_51_0__sc-z984sz-2"
22
+ componentId: "core-12_52_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;}ol&{padding:", "px 0;list-style-type:none;margin:0;}"], optionMinHeight, function (_ref) {
24
24
  var _ref$$scrollable = _ref.$scrollable,
25
25
  $scrollable = _ref$$scrollable === void 0 ? true : _ref$$scrollable;
@@ -27,27 +27,27 @@ export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
27
27
  }, spacing.sm, getFocus(), spacing.sm);
28
28
  export var StyledGrip = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledGrip",
30
- componentId: "core-12_51_0__sc-z984sz-3"
30
+ componentId: "core-12_52_0__sc-z984sz-3"
31
31
  })(["padding:0 2px;height:24px;"]);
32
32
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledHeader",
34
- componentId: "core-12_51_0__sc-z984sz-4"
34
+ componentId: "core-12_52_0__sc-z984sz-4"
35
35
  })([""]);
36
36
  export var StyledSearch = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSearch",
38
- componentId: "core-12_51_0__sc-z984sz-5"
38
+ componentId: "core-12_52_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-12_51_0__sc-z984sz-6"
42
+ componentId: "core-12_52_0__sc-z984sz-6"
43
43
  })(["&:not(:first-child){margin-top:", "px;}"], spacing.md);
44
44
  export var StyledGroupLabel = /*#__PURE__*/styled.span.withConfig({
45
45
  displayName: "StyledGroupLabel",
46
- componentId: "core-12_51_0__sc-z984sz-7"
46
+ componentId: "core-12_52_0__sc-z984sz-7"
47
47
  })(["", " display:block;color:", ";font-weight:", ";padding:", "px ", "px;cursor:default;"], getTypographyIntent('body'), colors.gray15, typographyWeights.semibold, spacing.xs, spacing.lg);
48
48
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledItem",
50
- componentId: "core-12_51_0__sc-z984sz-8"
50
+ componentId: "core-12_52_0__sc-z984sz-8"
51
51
  })(["", ";", " 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:", ";}&[data-focus-visible='true']{box-shadow:inset 0 0 0 2px ", ";}", " ", " ", "{color:inherit;cursor:pointer;}", " ", " ", ""], getTypographyIntent('body'), function (_ref2) {
52
52
  var as = _ref2.as;
53
53
  return as === 'a' && css(["display:block;text-decoration:none;"]);
@@ -79,10 +79,10 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
79
79
  });
80
80
  export var StyledDroppable = /*#__PURE__*/styled.div.withConfig({
81
81
  displayName: "StyledDroppable",
82
- componentId: "core-12_51_0__sc-z984sz-9"
82
+ componentId: "core-12_52_0__sc-z984sz-9"
83
83
  })(["", ",", "{padding-left:28px;}"], StyledGroup, StyledItem);
84
84
  export var StyledFooter = /*#__PURE__*/styled(Box).withConfig({
85
85
  displayName: "StyledFooter",
86
- componentId: "core-12_51_0__sc-z984sz-10"
86
+ componentId: "core-12_52_0__sc-z984sz-10"
87
87
  })(["border-top:1px solid ", ";border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;"], colors.gray85);
88
88
  //# sourceMappingURL=MenuImperative.styles.js.map
@@ -33,15 +33,15 @@ var screenWidthPixelBreakpoints = {
33
33
  };
34
34
  export var StyledModal = /*#__PURE__*/styled.div.withConfig({
35
35
  displayName: "StyledModal",
36
- componentId: "core-12_51_0__sc-1ijdug2-0"
36
+ componentId: "core-12_52_0__sc-1ijdug2-0"
37
37
  })(["display:flex;height:100vh;position:absolute;opacity:0;transition:0.3s opacity ease;width:100vw;z-index:0;pointer-events:none;&.", "{opacity:1;pointer-events:auto;}&.", "{opacity:0;pointer-events:none;}"], fadeInClassName, fadeOutClassName);
38
38
  export var StyledModalButtons = /*#__PURE__*/styled.div.withConfig({
39
39
  displayName: "StyledModalButtons",
40
- componentId: "core-12_51_0__sc-1ijdug2-1"
40
+ componentId: "core-12_52_0__sc-1ijdug2-1"
41
41
  })(["display:flex;flex:0 0 auto;margin-left:", "px;> * + *{margin-left:", "px;}"], spacing.lg, spacing.sm);
42
42
  export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
43
43
  displayName: "StyledModalContainer",
44
- componentId: "core-12_51_0__sc-1ijdug2-2"
44
+ componentId: "core-12_52_0__sc-1ijdug2-2"
45
45
  })(["display:flex;flex-direction:row;position:absolute;z-index:2;", " ", " ", ""], function (_ref) {
46
46
  var $compact = _ref.$compact;
47
47
  if (!$compact) {
@@ -65,11 +65,11 @@ export var StyledModalContainer = /*#__PURE__*/styled(Card).withConfig({
65
65
  });
66
66
  export var StyledModalFooter = /*#__PURE__*/styled.div.withConfig({
67
67
  displayName: "StyledModalFooter",
68
- componentId: "core-12_51_0__sc-1ijdug2-3"
68
+ componentId: "core-12_52_0__sc-1ijdug2-3"
69
69
  })(["align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;padding:", "px;"], spacing.lg);
70
70
  export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
71
71
  displayName: "StyledModalBody",
72
- componentId: "core-12_51_0__sc-1ijdug2-4"
72
+ componentId: "core-12_52_0__sc-1ijdug2-4"
73
73
  })(["", " &:focus-visible{", "}box-sizing:border-box;color:", ";display:flex;flex-direction:column;overflow:auto;", " ", " > ", "{padding-left:0;padding-right:0;&:first-child > ", "{padding-top:0;}}> ", "{margin-bottom:", "px;}", ""], getTypographyIntent('body'), getFocusInset(), colors.gray15, function (_ref4) {
74
74
  var $noSideSpacing = _ref4.$noSideSpacing;
75
75
  return css(["padding:", "px ", "px;"], spacing.lg, $noSideSpacing ? 0 : spacing.lg);
@@ -85,7 +85,7 @@ export var StyledModalBody = /*#__PURE__*/styled.div.withConfig({
85
85
  });
86
86
  export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
87
87
  displayName: "StyledModalContent",
88
- componentId: "core-12_51_0__sc-1ijdug2-5"
88
+ componentId: "core-12_52_0__sc-1ijdug2-5"
89
89
  })(["display:flex;flex-direction:column;max-height:90vh;overflow:hidden;width:100%;", ""], function (_ref7) {
90
90
  var _ref7$$compact = _ref7.$compact,
91
91
  $compact = _ref7$$compact === void 0 ? false : _ref7$$compact;
@@ -96,11 +96,11 @@ export var StyledModalContent = /*#__PURE__*/styled.div.withConfig({
96
96
  });
97
97
  export var StyledModalFooterNotation = /*#__PURE__*/styled(Typography).withConfig({
98
98
  displayName: "StyledModalFooterNotation",
99
- componentId: "core-12_51_0__sc-1ijdug2-6"
99
+ componentId: "core-12_52_0__sc-1ijdug2-6"
100
100
  })(["flex-grow:1;"]);
101
101
  export var StyledModalHeader = /*#__PURE__*/styled.div.withConfig({
102
102
  displayName: "StyledModalHeader",
103
- componentId: "core-12_51_0__sc-1ijdug2-7"
103
+ componentId: "core-12_52_0__sc-1ijdug2-7"
104
104
  })(["align-items:flex-start;color:", ";display:flex;flex:0 0 auto;position:relative;", " padding:", "px"], colors.gray10, function (_ref8) {
105
105
  var $compact = _ref8.$compact,
106
106
  $isBodyScrolled = _ref8.$isBodyScrolled;
@@ -111,7 +111,7 @@ export var StyledModalHeader = /*#__PURE__*/styled.div.withConfig({
111
111
  }, spacing.lg);
112
112
  export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
113
113
  displayName: "StyledModalHeading",
114
- componentId: "core-12_51_0__sc-1ijdug2-8"
114
+ componentId: "core-12_52_0__sc-1ijdug2-8"
115
115
  })(["", " align-items:center;display:flex;flex:1 1 auto;min-height:36px;padding-right:", "px;", ""], function (_ref9) {
116
116
  var $compact = _ref9.$compact;
117
117
  return getTypographyIntent($compact ? 'h3' : 'h2');
@@ -127,18 +127,18 @@ export var StyledModalHeading = /*#__PURE__*/styled.div.withConfig({
127
127
  });
128
128
  export var StyledModalCancel = /*#__PURE__*/styled.div.withConfig({
129
129
  displayName: "StyledModalCancel",
130
- componentId: "core-12_51_0__sc-1ijdug2-9"
130
+ componentId: "core-12_52_0__sc-1ijdug2-9"
131
131
  })(["flex:0 0 auto;"]);
132
132
  export var StyledModalScrim = /*#__PURE__*/styled.div.withConfig({
133
133
  displayName: "StyledModalScrim",
134
- componentId: "core-12_51_0__sc-1ijdug2-10"
134
+ componentId: "core-12_52_0__sc-1ijdug2-10"
135
135
  })(["background:hsla(200,8%,10%,0.6);height:100vh;left:0;position:absolute;top:0;width:100vw;z-index:1;"]);
136
136
  export var StyledModalWarningIcon = /*#__PURE__*/styled(Warning).withConfig({
137
137
  displayName: "StyledModalWarningIcon",
138
- componentId: "core-12_51_0__sc-1ijdug2-11"
138
+ componentId: "core-12_52_0__sc-1ijdug2-11"
139
139
  })(["color:", ";margin-right:", "px;"], colors.yellow40, spacing.sm);
140
140
  export var StyledModalFooterSummary = /*#__PURE__*/styled.div.withConfig({
141
141
  displayName: "StyledModalFooterSummary",
142
- componentId: "core-12_51_0__sc-1ijdug2-12"
142
+ componentId: "core-12_52_0__sc-1ijdug2-12"
143
143
  })(["", " background-color:", ";border-bottom:1px solid ", ";border-top:1px solid ", ";color:", ";flex:1 1 100%;font-style:italic;margin:-", "px -", "px ", "px;padding:", "px;"], getTypographyIntent('small'), colors.gray98, colors.gray85, colors.gray85, colors.gray15, spacing.lg, spacing.lg, spacing.lg, spacing.lg);
144
144
  //# sourceMappingURL=Modal.styles.js.map
@@ -8,34 +8,34 @@ import { getFocus } from '../_styles/mixins';
8
8
  import { spacing } from '../_styles/spacing';
9
9
  export var StyledMultiSelectInner = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledMultiSelectInner",
11
- componentId: "core-12_51_0__sc-s9ym9q-0"
11
+ componentId: "core-12_52_0__sc-s9ym9q-0"
12
12
  })(["display:flex;flex-wrap:wrap;margin-bottom:2px;margin-left:", "px;margin-right:", "px;margin-top:2px;min-width:0;width:100%;"], spacing.md, spacing.xs);
13
13
  export var StyledMultiSelectValues = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "StyledMultiSelectValues",
15
- componentId: "core-12_51_0__sc-s9ym9q-1"
15
+ componentId: "core-12_52_0__sc-s9ym9q-1"
16
16
  })(["display:contents;"]);
17
17
  export var StyledMultiSelectToken = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "StyledMultiSelectToken",
19
- componentId: "core-12_51_0__sc-s9ym9q-2"
19
+ componentId: "core-12_52_0__sc-s9ym9q-2"
20
20
  })(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:0 1 auto;> div{max-width:178px;width:100%;}"], spacing.xs);
21
21
  export var StyledMultiSelectSearchInput = /*#__PURE__*/styled.input.withConfig({
22
22
  displayName: "StyledMultiSelectSearchInput",
23
- componentId: "core-12_51_0__sc-s9ym9q-3"
23
+ componentId: "core-12_52_0__sc-s9ym9q-3"
24
24
  })(["background-color:transparent;border-width:0;font-family:inherit;padding:0;height:24px;width:100%;", " ", " &::-ms-clear{display:none;}&:focus{box-shadow:none;outline:none;}&::placeholder{color:", ";}"], getTypographyIntent('body'), function (_ref) {
25
25
  var $isNavigatingTokens = _ref.$isNavigatingTokens;
26
26
  return $isNavigatingTokens && css(["color:transparent;"]);
27
27
  }, colors.gray45);
28
28
  export var StyledMultiSelectSearch = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledMultiSelectSearch",
30
- componentId: "core-12_51_0__sc-s9ym9q-4"
30
+ componentId: "core-12_52_0__sc-s9ym9q-4"
31
31
  })(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:1;max-width:100%;min-width:24px;"], spacing.xs);
32
32
  export var StyledMultiSelectSearchIcon = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledMultiSelectSearchIcon",
34
- componentId: "core-12_51_0__sc-s9ym9q-5"
34
+ componentId: "core-12_52_0__sc-s9ym9q-5"
35
35
  })(["align-items:center;align-self:flex-start;display:flex;height:34px;justify-content:flex-end;margin-left:", "px;margin-right:", "px;min-width:40px;width:40px;"], spacing.xs, spacing.md);
36
36
  export var StyledMultiSelectClearIcon = /*#__PURE__*/styled(Button).withConfig({
37
37
  displayName: "StyledMultiSelectClearIcon",
38
- componentId: "core-12_51_0__sc-s9ym9q-6"
38
+ componentId: "core-12_52_0__sc-s9ym9q-6"
39
39
  })(["", " ", "{pointer-events:none;}"], function (_ref2) {
40
40
  var $show = _ref2.$show;
41
41
  return css(["opacity:", ";"], $show ? 1 : 0);
@@ -45,7 +45,7 @@ export var StyledMultiSelectArrow = StyledSelectArrow;
45
45
  export var StyledMultiSelectMenu = StyledSelectMenu;
46
46
  export var StyledMultiSelectButton = /*#__PURE__*/styled(StyledSelectButton).withConfig({
47
47
  displayName: "StyledMultiSelectButton",
48
- componentId: "core-12_51_0__sc-s9ym9q-7"
48
+ componentId: "core-12_52_0__sc-s9ym9q-7"
49
49
  })(["height:auto;padding:0;white-space:normal;&:focus-within{", "}", ""], getFocus(), function (_ref3) {
50
50
  var $emptyValue = _ref3.$emptyValue;
51
51
  return $emptyValue && css(["", "{cursor:pointer;}"], StyledMultiSelectSearchInput);
@@ -6,14 +6,14 @@ export var optionMinHeight = 32;
6
6
  export var defaultMenuHeight = 64;
7
7
  export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
8
8
  displayName: "StyledOptions",
9
- componentId: "core-12_51_0__sc-3o6zya-0"
9
+ componentId: "core-12_52_0__sc-3o6zya-0"
10
10
  })([""]);
11
11
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
12
12
  displayName: "StyledItem",
13
- componentId: "core-12_51_0__sc-3o6zya-1"
13
+ componentId: "core-12_52_0__sc-3o6zya-1"
14
14
  })(["", ";padding:", "px ", "px;cursor:pointer;list-style-type:none;"], getTypographyIntent('body'), spacing.xs, spacing.md);
15
15
  export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
16
16
  displayName: "StyledGroup",
17
- componentId: "core-12_51_0__sc-3o6zya-2"
17
+ componentId: "core-12_52_0__sc-3o6zya-2"
18
18
  })(["", ";padding:", "px ", "px ", "px;font-weight:", ";background:white;list-style-type:none;"], getTypographyIntent('body'), spacing.md, spacing.md, spacing.xs, typographyWeights.semibold);
19
19
  //# sourceMappingURL=NextMenu.styles.js.map
@@ -75,26 +75,26 @@ function selectableTileFocusWithinOutlineCss() {
75
75
  }
76
76
  export var StyledNextTileInertContent = /*#__PURE__*/styled.div.withConfig({
77
77
  displayName: "StyledNextTileInertContent",
78
- componentId: "core-12_51_0__sc-17bbrfw-0"
78
+ componentId: "core-12_52_0__sc-17bbrfw-0"
79
79
  })(["display:contents;color:", ";& *{color:inherit;}"], disabledText);
80
80
  export var StyledNextTileFocusTarget = /*#__PURE__*/styled.div.withConfig({
81
81
  displayName: "StyledNextTileFocusTarget",
82
- componentId: "core-12_51_0__sc-17bbrfw-1"
82
+ componentId: "core-12_52_0__sc-17bbrfw-1"
83
83
  })(["border-radius:inherit;min-height:0;outline:none;"]);
84
84
  export var StyledNextInteractableTile = /*#__PURE__*/styled(StyledInteractableTile).withConfig({
85
85
  displayName: "StyledNextInteractableTile",
86
- componentId: "core-12_51_0__sc-17bbrfw-2"
86
+ componentId: "core-12_52_0__sc-17bbrfw-2"
87
87
  })(["border:", ";position:relative;", ""], nextTileNeutralBorder, function (_ref5) {
88
88
  var $disabled = _ref5.$disabled;
89
89
  return $disabled && css(["&&{border-color:", ";cursor:not-allowed;pointer-events:none;}&&:focus{border:1px solid ", ";box-shadow:none;outline:none;}", ""], colors.gray85, colors.gray85, disabledInteractableStyles);
90
90
  });
91
91
  export var StyledNextLinkTile = /*#__PURE__*/styled(StyledLinkTile).withConfig({
92
92
  displayName: "StyledNextLinkTile",
93
- componentId: "core-12_51_0__sc-17bbrfw-3"
93
+ componentId: "core-12_52_0__sc-17bbrfw-3"
94
94
  })(["border:", ";position:relative;", ""], nextTileNeutralBorder, nextTileLinkLikeFocusStyles);
95
95
  export var StyledNextSelectableTile = /*#__PURE__*/styled(StyledSelectableTile).withConfig({
96
96
  displayName: "StyledNextSelectableTile",
97
- componentId: "core-12_51_0__sc-17bbrfw-4"
97
+ componentId: "core-12_52_0__sc-17bbrfw-4"
98
98
  })(["position:relative;", " ", " ", " ", " ", " &:focus{", " outline:none;}", " ", ""], function (p) {
99
99
  return nextTileSelectableBorderStyles(p);
100
100
  }, function (_ref6) {
@@ -14,7 +14,7 @@ var variantColorMap = {
14
14
  };
15
15
  var StyledNotation = /*#__PURE__*/styled.i.withConfig({
16
16
  displayName: "StyledNotation",
17
- componentId: "core-12_51_0__sc-160q1m6-0"
17
+ componentId: "core-12_52_0__sc-160q1m6-0"
18
18
  })(["", " color:", ";font-style:italic;"], getTypographyIntent('small'), function (_ref) {
19
19
  var $variant = _ref.$variant;
20
20
  return $variant ? colors[variantColorMap[$variant]] : colors.gray15;
@@ -12,37 +12,37 @@ var inputBgColor = colors.white;
12
12
  var inputBorder = "".concat(colors.gray50, " solid 1px");
13
13
  var StyledRootAddon = /*#__PURE__*/styled.span.withConfig({
14
14
  displayName: "StyledRootAddon",
15
- componentId: "core-12_51_0__sc-1782nvg-0"
15
+ componentId: "core-12_52_0__sc-1782nvg-0"
16
16
  })(["display:inline-flex;align-items:center;height:100%;position:absolute;top:0;color:", ";", ";"], function (_ref) {
17
17
  var disabled = _ref.disabled;
18
18
  return disabled ? colors.gray70 : colors.gray45;
19
19
  }, getTypographyIntent('body'));
20
20
  export var StyledPrefix = /*#__PURE__*/styled(StyledRootAddon).withConfig({
21
21
  displayName: "StyledPrefix",
22
- componentId: "core-12_51_0__sc-1782nvg-1"
22
+ componentId: "core-12_52_0__sc-1782nvg-1"
23
23
  })(["left:", "px;"], spacing.md);
24
24
  export var StyledSuffix = /*#__PURE__*/styled(StyledRootAddon).withConfig({
25
25
  displayName: "StyledSuffix",
26
- componentId: "core-12_51_0__sc-1782nvg-2"
26
+ componentId: "core-12_52_0__sc-1782nvg-2"
27
27
  })(["right:", "px;"], function (_ref2) {
28
28
  var $withIncrementer = _ref2.$withIncrementer;
29
29
  return $withIncrementer ? spacing.md + incrementerWidth : spacing.md;
30
30
  });
31
31
  export var StyledIncrementerWrapper = /*#__PURE__*/styled.div.withConfig({
32
32
  displayName: "StyledIncrementerWrapper",
33
- componentId: "core-12_51_0__sc-1782nvg-3"
33
+ componentId: "core-12_52_0__sc-1782nvg-3"
34
34
  })(["display:flex;flex-direction:column;position:absolute;top:1px;right:1px;height:100%;"]);
35
35
  export var StyledIncrementerButton = /*#__PURE__*/styled.button.withConfig({
36
36
  displayName: "StyledIncrementerButton",
37
- componentId: "core-12_51_0__sc-1782nvg-4"
37
+ componentId: "core-12_52_0__sc-1782nvg-4"
38
38
  })(["display:inline-flex;justify-content:center;align-items:center;width:", "px;height:calc(50% - 1px);border:none;border-radius:0px;outline:none;background-color:", ";padding:0;cursor:pointer;&:first-child,&:last-child{border-left:", ";&:disabled{border-color:", ";background-color:", ";}}&:first-child{border-top-right-radius:2px;}&:last-child{border-top:", ";border-bottom-right-radius:2px;}svg{fill:", ";}&:hover{svg{fill:", ";}}&:disabled{cursor:default;svg{fill:", ";}}"], incrementerWidth, inputBgColor, inputBorder, colors.gray50, colors.gray94, inputBorder, colors.gray45, colors.gray10, colors.gray70);
39
39
  export var StyledInput = /*#__PURE__*/styled(Input).withConfig({
40
40
  displayName: "StyledInput",
41
- componentId: "core-12_51_0__sc-1782nvg-5"
41
+ componentId: "core-12_52_0__sc-1782nvg-5"
42
42
  })([""]);
43
43
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
44
44
  displayName: "StyledWrapper",
45
- componentId: "core-12_51_0__sc-1782nvg-6"
45
+ componentId: "core-12_52_0__sc-1782nvg-6"
46
46
  })(["position:relative;", ""], function (_ref3) {
47
47
  var $hasIncrementer = _ref3.$hasIncrementer;
48
48
  return $hasIncrementer && css(["", "{padding-right:", "px;}"], StyledInput, spacing.md + incrementerWidth);
@@ -2,6 +2,6 @@ import styled from 'styled-components';
2
2
  export var arrowSize = 8;
3
3
  export var StyledArrow = /*#__PURE__*/styled.div.withConfig({
4
4
  displayName: "StyledArrow",
5
- componentId: "core-12_51_0__sc-1epxw7u-0"
5
+ componentId: "core-12_52_0__sc-1epxw7u-0"
6
6
  })(["position:absolute;background:inherit;width:", "px;height:", "px;transform:rotate(45deg);"], arrowSize, arrowSize);
7
7
  //# sourceMappingURL=OverlayArrow.styles.js.map
@@ -6,9 +6,10 @@ export declare type OverlayRefType = (node: HTMLElement | null) => void;
6
6
  export declare type ReferenceRefType = (node: ReferenceType | null) => void;
7
7
  export declare type OverlayMiddleware = Middleware;
8
8
  export declare type OverlayPlacement = FloatingPlacement;
9
- export declare function useOverlay({ placement, middleware, }: {
9
+ export declare function useOverlay({ placement, middleware, width, }: {
10
10
  placement: Placement;
11
11
  middleware?: Middleware[];
12
+ width?: 'fit-content' | 'max-content';
12
13
  }): {
13
14
  isPositioned: boolean;
14
15
  overlayRef: (node: HTMLElement | null) => void;
@@ -2,7 +2,9 @@ import { autoUpdate, useFloating } from '@floating-ui/react-dom';
2
2
  import { getPlacement } from '../_utils/placement';
3
3
  export function useOverlay(_ref) {
4
4
  var placement = _ref.placement,
5
- middleware = _ref.middleware;
5
+ middleware = _ref.middleware,
6
+ _ref$width = _ref.width,
7
+ width = _ref$width === void 0 ? 'max-content' : _ref$width;
6
8
  var _useFloating = useFloating({
7
9
  strategy: 'fixed',
8
10
  whileElementsMounted: autoUpdate,
@@ -24,7 +26,7 @@ export function useOverlay(_ref) {
24
26
  left: "".concat(x, "px"),
25
27
  top: "".concat(y, "px"),
26
28
  position: strategy,
27
- width: 'max-content'
29
+ width: width
28
30
  },
29
31
  overlayRef: overlayRef,
30
32
  referenceRef: referenceRef,
@@ -1 +1 @@
1
- {"version":3,"file":"useOverlay.js","names":["autoUpdate","useFloating","getPlacement","useOverlay","_ref","placement","middleware","_useFloating","strategy","whileElementsMounted","isPositioned","middlewareData","currentPlacement","_useFloating$refs","refs","referenceRef","setReference","overlayRef","setFloating","x","y","overlayStyle","left","concat","top","position","width"],"sources":["../../src/Overlay/useOverlay.ts"],"sourcesContent":["import type {\n Middleware,\n MiddlewareData,\n offset,\n Placement as FloatingPlacement,\n ReferenceType,\n} from '@floating-ui/react-dom'\nimport { autoUpdate, useFloating } from '@floating-ui/react-dom'\nimport type { CSSProperties } from 'react'\nimport type { Placement } from '../_utils/placement'\nimport { getPlacement } from '../_utils/placement'\n\nexport type OverlayOffsetValue = Parameters<typeof offset>[0]\n\nexport type OverlayRefType = (node: HTMLElement | null) => void\n\nexport type ReferenceRefType = (node: ReferenceType | null) => void\n\nexport type OverlayMiddleware = Middleware\n\nexport type OverlayPlacement = FloatingPlacement\n\nexport function useOverlay({\n placement,\n middleware,\n}: {\n placement: Placement\n middleware?: Middleware[]\n}): {\n isPositioned: boolean\n overlayRef: (node: HTMLElement | null) => void\n referenceRef: (node: ReferenceType | null) => void\n /** Dimensions of the floating element should not change before and after being positioned\n * https://floating-ui.com/docs/computeposition#initial-layout\n * https://github.com/floating-ui/floating-ui/issues/1740 */\n overlayStyle: CSSProperties\n middlewareData: MiddlewareData\n placement: OverlayPlacement\n} {\n const {\n isPositioned,\n middlewareData,\n placement: currentPlacement,\n refs: { setReference: referenceRef, setFloating: overlayRef },\n x,\n y,\n strategy,\n } = useFloating({\n strategy: 'fixed',\n whileElementsMounted: autoUpdate,\n placement: getPlacement(placement),\n middleware,\n })\n\n return {\n isPositioned,\n overlayStyle: {\n left: `${x}px`,\n top: `${y}px`,\n position: strategy,\n width: 'max-content',\n },\n overlayRef,\n referenceRef,\n middlewareData,\n placement: currentPlacement,\n }\n}\n"],"mappings":"AAOA,SAASA,UAAU,EAAEC,WAAW,QAAQ,wBAAwB;AAGhE,SAASC,YAAY,QAAQ,qBAAqB;AAYlD,OAAO,SAASC,UAAUA,CAAAC,IAAA,EAgBxB;EAAA,IAfAC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,UAAU,GAAAF,IAAA,CAAVE,UAAU;EAeV,IAAAC,YAAA,GAQIN,WAAW,CAAC;MACdO,QAAQ,EAAE,OAAO;MACjBC,oBAAoB,EAAET,UAAU;MAChCK,SAAS,EAAEH,YAAY,CAACG,SAAS,CAAC;MAClCC,UAAU,EAAVA;IACF,CAAC,CAAC;IAZAI,YAAY,GAAAH,YAAA,CAAZG,YAAY;IACZC,cAAc,GAAAJ,YAAA,CAAdI,cAAc;IACHC,gBAAgB,GAAAL,YAAA,CAA3BF,SAAS;IAAAQ,iBAAA,GAAAN,YAAA,CACTO,IAAI;IAAkBC,YAAY,GAAAF,iBAAA,CAA1BG,YAAY;IAA6BC,UAAU,GAAAJ,iBAAA,CAAvBK,WAAW;IAC/CC,CAAC,GAAAZ,YAAA,CAADY,CAAC;IACDC,CAAC,GAAAb,YAAA,CAADa,CAAC;IACDZ,QAAQ,GAAAD,YAAA,CAARC,QAAQ;EAQV,OAAO;IACLE,YAAY,EAAZA,YAAY;IACZW,YAAY,EAAE;MACZC,IAAI,KAAAC,MAAA,CAAKJ,CAAC,OAAI;MACdK,GAAG,KAAAD,MAAA,CAAKH,CAAC,OAAI;MACbK,QAAQ,EAAEjB,QAAQ;MAClBkB,KAAK,EAAE;IACT,CAAC;IACDT,UAAU,EAAVA,UAAU;IACVF,YAAY,EAAZA,YAAY;IACZJ,cAAc,EAAdA,cAAc;IACdN,SAAS,EAAEO;EACb,CAAC;AACH"}
1
+ {"version":3,"file":"useOverlay.js","names":["autoUpdate","useFloating","getPlacement","useOverlay","_ref","placement","middleware","_ref$width","width","_useFloating","strategy","whileElementsMounted","isPositioned","middlewareData","currentPlacement","_useFloating$refs","refs","referenceRef","setReference","overlayRef","setFloating","x","y","overlayStyle","left","concat","top","position"],"sources":["../../src/Overlay/useOverlay.ts"],"sourcesContent":["import type {\n Middleware,\n MiddlewareData,\n offset,\n Placement as FloatingPlacement,\n ReferenceType,\n} from '@floating-ui/react-dom'\nimport { autoUpdate, useFloating } from '@floating-ui/react-dom'\nimport type { CSSProperties } from 'react'\nimport type { Placement } from '../_utils/placement'\nimport { getPlacement } from '../_utils/placement'\n\nexport type OverlayOffsetValue = Parameters<typeof offset>[0]\n\nexport type OverlayRefType = (node: HTMLElement | null) => void\n\nexport type ReferenceRefType = (node: ReferenceType | null) => void\n\nexport type OverlayMiddleware = Middleware\n\nexport type OverlayPlacement = FloatingPlacement\n\nexport function useOverlay({\n placement,\n middleware,\n width = 'max-content',\n}: {\n placement: Placement\n middleware?: Middleware[]\n width?: 'fit-content' | 'max-content'\n}): {\n isPositioned: boolean\n overlayRef: (node: HTMLElement | null) => void\n referenceRef: (node: ReferenceType | null) => void\n /** Dimensions of the floating element should not change before and after being positioned\n * https://floating-ui.com/docs/computeposition#initial-layout\n * https://github.com/floating-ui/floating-ui/issues/1740 */\n overlayStyle: CSSProperties\n middlewareData: MiddlewareData\n placement: OverlayPlacement\n} {\n const {\n isPositioned,\n middlewareData,\n placement: currentPlacement,\n refs: { setReference: referenceRef, setFloating: overlayRef },\n x,\n y,\n strategy,\n } = useFloating({\n strategy: 'fixed',\n whileElementsMounted: autoUpdate,\n placement: getPlacement(placement),\n middleware,\n })\n\n return {\n isPositioned,\n overlayStyle: {\n left: `${x}px`,\n top: `${y}px`,\n position: strategy,\n width,\n },\n overlayRef,\n referenceRef,\n middlewareData,\n placement: currentPlacement,\n }\n}\n"],"mappings":"AAOA,SAASA,UAAU,EAAEC,WAAW,QAAQ,wBAAwB;AAGhE,SAASC,YAAY,QAAQ,qBAAqB;AAYlD,OAAO,SAASC,UAAUA,CAAAC,IAAA,EAkBxB;EAAA,IAjBAC,SAAS,GAAAD,IAAA,CAATC,SAAS;IACTC,UAAU,GAAAF,IAAA,CAAVE,UAAU;IAAAC,UAAA,GAAAH,IAAA,CACVI,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,aAAa,GAAAA,UAAA;EAgBrB,IAAAE,YAAA,GAQIR,WAAW,CAAC;MACdS,QAAQ,EAAE,OAAO;MACjBC,oBAAoB,EAAEX,UAAU;MAChCK,SAAS,EAAEH,YAAY,CAACG,SAAS,CAAC;MAClCC,UAAU,EAAVA;IACF,CAAC,CAAC;IAZAM,YAAY,GAAAH,YAAA,CAAZG,YAAY;IACZC,cAAc,GAAAJ,YAAA,CAAdI,cAAc;IACHC,gBAAgB,GAAAL,YAAA,CAA3BJ,SAAS;IAAAU,iBAAA,GAAAN,YAAA,CACTO,IAAI;IAAkBC,YAAY,GAAAF,iBAAA,CAA1BG,YAAY;IAA6BC,UAAU,GAAAJ,iBAAA,CAAvBK,WAAW;IAC/CC,CAAC,GAAAZ,YAAA,CAADY,CAAC;IACDC,CAAC,GAAAb,YAAA,CAADa,CAAC;IACDZ,QAAQ,GAAAD,YAAA,CAARC,QAAQ;EAQV,OAAO;IACLE,YAAY,EAAZA,YAAY;IACZW,YAAY,EAAE;MACZC,IAAI,KAAAC,MAAA,CAAKJ,CAAC,OAAI;MACdK,GAAG,KAAAD,MAAA,CAAKH,CAAC,OAAI;MACbK,QAAQ,EAAEjB,QAAQ;MAClBF,KAAK,EAALA;IACF,CAAC;IACDW,UAAU,EAAVA,UAAU;IACVF,YAAY,EAAZA,YAAY;IACZJ,cAAc,EAAdA,cAAc;IACdR,SAAS,EAAES;EACb,CAAC;AACH"}