@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
@@ -5,15 +5,15 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledH1 = /*#__PURE__*/styled.h1.withConfig({
7
7
  displayName: "StyledH1",
8
- componentId: "core-11_29_0__sc-172j5qh-0"
8
+ componentId: "core-11_31_0__sc-172j5qh-0"
9
9
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h1'));
10
10
  export var StyledH2 = /*#__PURE__*/styled.h2.withConfig({
11
11
  displayName: "StyledH2",
12
- componentId: "core-11_29_0__sc-172j5qh-1"
12
+ componentId: "core-11_31_0__sc-172j5qh-1"
13
13
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h2'));
14
14
  export var StyledH3 = /*#__PURE__*/styled.h3.withConfig({
15
15
  displayName: "StyledH3",
16
- componentId: "core-11_29_0__sc-172j5qh-2"
16
+ componentId: "core-11_31_0__sc-172j5qh-2"
17
17
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h3'));
18
18
  var topMarginRules = function topMarginRules() {
19
19
  return css(["& + &,p + &,ol + &,ul + &{margin-top:", "px;}"], spacing.lg);
@@ -28,11 +28,11 @@ export function getSmallIconBodyTextRules() {
28
28
  }
29
29
  export var StyledP = /*#__PURE__*/styled.p.withConfig({
30
30
  displayName: "StyledP",
31
- componentId: "core-11_29_0__sc-172j5qh-3"
31
+ componentId: "core-11_31_0__sc-172j5qh-3"
32
32
  })(["color:", ";", " ", " ", ""], colors.gray15, getTypographyIntent('body'), topMarginRules, semiboldRules);
33
33
  export var StyledUL = /*#__PURE__*/styled.ul.withConfig({
34
34
  displayName: "StyledUL",
35
- componentId: "core-11_29_0__sc-172j5qh-4"
35
+ componentId: "core-11_31_0__sc-172j5qh-4"
36
36
  })(["color:", ";margin:0;padding:0;", " ", " padding-left:", "px;list-style-type:", ";"], colors.gray15, getTypographyIntent('body'), topMarginRules, spacing.lg, function (props) {
37
37
  return props.listStyleType || 'disc';
38
38
  });
@@ -40,7 +40,7 @@ export var StyledOL = /*#__PURE__*/styled(StyledUL).attrs({
40
40
  as: 'ol'
41
41
  }).withConfig({
42
42
  displayName: "StyledOL",
43
- componentId: "core-11_29_0__sc-172j5qh-5"
43
+ componentId: "core-11_31_0__sc-172j5qh-5"
44
44
  })(["list-style-type:", ";"], function (props) {
45
45
  return props.listStyleType || 'decimal';
46
46
  });
@@ -52,7 +52,7 @@ function enforceLabelTypography(props) {
52
52
  }
53
53
  export var StyledLabel = /*#__PURE__*/styled(StyledTypography).attrs(enforceLabelTypography).withConfig({
54
54
  displayName: "StyledLabel",
55
- componentId: "core-11_29_0__sc-172j5qh-6"
55
+ componentId: "core-11_31_0__sc-172j5qh-6"
56
56
  })(["", " ", " > ", "{margin-left:", "px;vertical-align:top;}"], function (_ref) {
57
57
  var _ref$block = _ref.block,
58
58
  block = _ref$block === void 0 ? false : _ref$block;
@@ -70,7 +70,7 @@ export function getUnstyledButton() {
70
70
  */
71
71
  export var StyledUnstyledButton = /*#__PURE__*/styled.button.withConfig({
72
72
  displayName: "StyledUnstyledButton",
73
- componentId: "core-11_29_0__sc-172j5qh-7"
73
+ componentId: "core-11_31_0__sc-172j5qh-7"
74
74
  })(["", ""], getUnstyledButton);
75
75
 
76
76
  /**
@@ -78,6 +78,6 @@ export var StyledUnstyledButton = /*#__PURE__*/styled.button.withConfig({
78
78
  */
79
79
  export var StyledAnchor = /*#__PURE__*/styled.a.withConfig({
80
80
  displayName: "StyledAnchor",
81
- componentId: "core-11_29_0__sc-172j5qh-8"
81
+ componentId: "core-11_31_0__sc-172j5qh-8"
82
82
  })([""]);
83
83
  //# sourceMappingURL=Semantic.styles.js.map
@@ -4,31 +4,31 @@ import { colors } from '../_styles/colors';
4
4
  import { spacing } from '../_styles/spacing';
5
5
  export var StyledSidebar = /*#__PURE__*/styled.div.withConfig({
6
6
  displayName: "StyledSidebar",
7
- componentId: "core-11_29_0__sc-60uplo-0"
7
+ componentId: "core-11_31_0__sc-60uplo-0"
8
8
  })(["background-color:", ";padding:", "px 0;position:relative;"], colors.gray96, spacing.lg);
9
9
  export var StyledSidebarButton = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledSidebarButton",
11
- componentId: "core-11_29_0__sc-60uplo-1"
11
+ componentId: "core-11_31_0__sc-60uplo-1"
12
12
  })(["padding:0 ", "px;& + &{padding-top:", "px;}"], spacing.lg, spacing.sm);
13
13
  export var StyledSidebarDivider = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "StyledSidebarDivider",
15
- componentId: "core-11_29_0__sc-60uplo-2"
15
+ componentId: "core-11_31_0__sc-60uplo-2"
16
16
  })(["margin:", "px;border-bottom:1px solid ", ";height:1px;"], spacing.xl, colors.gray90);
17
17
  export var StyledSidebarHeader = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "StyledSidebarHeader",
19
- componentId: "core-11_29_0__sc-60uplo-3"
19
+ componentId: "core-11_31_0__sc-60uplo-3"
20
20
  })(["align-items:center;display:flex;justify-content:space-between;padding:0 ", "px ", "px;"], spacing.xl, spacing.md);
21
21
  export var StyledSidebarHeaderAction = /*#__PURE__*/styled.a.withConfig({
22
22
  displayName: "StyledSidebarHeaderAction",
23
- componentId: "core-11_29_0__sc-60uplo-4"
23
+ componentId: "core-11_31_0__sc-60uplo-4"
24
24
  })(["", " color:", ";cursor:pointer;"], getTypographyIntent('small'), colors.orange50);
25
25
  export var StyledSidebarMenu = /*#__PURE__*/styled.ol.withConfig({
26
26
  displayName: "StyledSidebarMenu",
27
- componentId: "core-11_29_0__sc-60uplo-5"
27
+ componentId: "core-11_31_0__sc-60uplo-5"
28
28
  })(["list-style:none;margin:0;padding:0;"]);
29
29
  export var StyledSidebarMenuItem = /*#__PURE__*/styled.li.withConfig({
30
30
  displayName: "StyledSidebarMenuItem",
31
- componentId: "core-11_29_0__sc-60uplo-6"
31
+ componentId: "core-11_31_0__sc-60uplo-6"
32
32
  })(["", " align-items:center;color:", ";cursor:pointer;display:flex;position:relative;padding:", "px ", "px;transition:all 0.2s ease-in-out;&::after{background-color:transparent;content:'';height:100%;left:0;position:absolute;top:0;transition:all 0.2s ease-in-out;width:5px;}&:hover{background-color:", ";color:", ";&::after{background-color:", ";}}", " &:active{&::after{background-color:", ";}}"], getTypographyIntent('small'), colors.gray50, spacing.sm, spacing.xl, colors.gray90, colors.gray15, colors.orange50, function (_ref) {
33
33
  var $active = _ref.$active;
34
34
  if ($active) {
@@ -21,13 +21,13 @@ var getTrackBackgroundDisabled = function getTrackBackgroundDisabled(percent) {
21
21
  var getThumbDisabledStyles = /*#__PURE__*/css(["cursor:not-allowed;border:2px solid ", ";"], colors.blue85);
22
22
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledContainer",
24
- componentId: "core-11_29_0__sc-12icguw-0"
24
+ componentId: "core-11_31_0__sc-12icguw-0"
25
25
  })(["position:relative;", ";"], function (props) {
26
26
  return props.showLabel && 'padding-bottom: 10px';
27
27
  });
28
28
  export var StyledSlider = /*#__PURE__*/styled.input.withConfig({
29
29
  displayName: "StyledSlider",
30
- componentId: "core-11_29_0__sc-12icguw-1"
30
+ componentId: "core-11_31_0__sc-12icguw-1"
31
31
  })(["-webkit-appearance:none;margin:0;padding-top:5px;padding-bottom:5px;width:100%;border:1px solid transparent;background-color:transparent;font-size:12px;&:focus{outline:none;", ";padding-top:5px;padding-bottom:5px;border-radius:2px;}&::-webkit-slider-runnable-track{", " ", "}&:disabled::-webkit-slider-runnable-track{cursor:not-allowed;", "}&::-webkit-slider-thumb{", " -webkit-appearance:none;margin-top:-5px;}&:disabled::-webkit-slider-thumb{", "}&::-moz-range-track{", " ", "}&:disabled::-moz-range-track{cursor:not-allowed;", "}&::-moz-range-thumb{", " height:12px;width:12px;}&:disabled::-moz-range-thumb{", "}&::-ms-track{", " height:", "px;color:transparent;", "}&:disabled::-ms-track{cursor:not-allowed;", "}&::-ms-fill-lower{background:", ";border:0px solid ", ";border-radius:2px;box-shadow:1px 1px 1px ", ";}&::-ms-fill-upper{background:", ";border:0px solid ", ";border-radius:2px;box-shadow:1px 1px 1px ", ";}&::-ms-thumb{", "}&:disabled::-ms-thumb{", "}&:focus::-ms-fill-lower{background:", ";}&:focus::-ms-fill-upper{background:", ";}"], function (props) {
32
32
  return props.isDragging ? "border: 1px solid transparent" : "border: 1px solid ".concat(colors.blue40);
33
33
  }, getTrackStyles, function (props) {
@@ -45,14 +45,14 @@ export var StyledSlider = /*#__PURE__*/styled.input.withConfig({
45
45
  }, colors.blue50, colors.black, colors.black, colors.gray70, colors.black, colors.black, getThumbStyles, getThumbDisabledStyles, colors.blue50, colors.gray70);
46
46
  export var StyledIncrementOverlay = /*#__PURE__*/styled.div.withConfig({
47
47
  displayName: "StyledIncrementOverlay",
48
- componentId: "core-11_29_0__sc-12icguw-2"
48
+ componentId: "core-11_31_0__sc-12icguw-2"
49
49
  })(["position:relative;width:0;&::before{content:'';height:", "px;width:2px;background-color:white;display:block;}z-index:2;"], TRACK_HEIGHT);
50
50
  export var StyledIncrementContainer = /*#__PURE__*/styled.div.withConfig({
51
51
  displayName: "StyledIncrementContainer",
52
- componentId: "core-11_29_0__sc-12icguw-3"
52
+ componentId: "core-11_31_0__sc-12icguw-3"
53
53
  })(["position:absolute;display:flex;justify-content:space-between;top:6px;", " left:5px;right:5px;> :first-child{visibility:hidden;}> :last-child{visibility:hidden;}"], applyStylesOnlyToFF("\n top: 12px;\n "));
54
54
  export var StyledLabel = /*#__PURE__*/styled(Typography).withConfig({
55
55
  displayName: "StyledLabel",
56
- componentId: "core-11_29_0__sc-12icguw-4"
56
+ componentId: "core-11_31_0__sc-12icguw-4"
57
57
  })(["visibility:visible;position:absolute;left:50%;transform:translateX(-50%);margin-top:8px;"]);
58
58
  //# sourceMappingURL=Slider.styles.js.map
@@ -10,7 +10,7 @@ var zOverlay = 2;
10
10
  var dash = /*#__PURE__*/keyframes(["0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}"]);
11
11
  export var StyledCircle = /*#__PURE__*/styled.circle.withConfig({
12
12
  displayName: "StyledCircle",
13
- componentId: "core-11_29_0__sc-1igww3-0"
13
+ componentId: "core-11_31_0__sc-1igww3-0"
14
14
  })(["animation:", " ", "ms ease-in-out ", "ms infinite;stroke-linecap:round;"], dash, duration, function (p) {
15
15
  var animationDelay = -(p.mountTime % duration);
16
16
  return animationDelay;
@@ -43,16 +43,16 @@ function getStrokeColor(_ref2) {
43
43
  }
44
44
  export var StyledSpinnerContainer = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledSpinnerContainer",
46
- componentId: "core-11_29_0__sc-1igww3-1"
46
+ componentId: "core-11_31_0__sc-1igww3-1"
47
47
  })(["border-radius:100%;box-sizing:border-box;display:block;flex-shrink:0;position:relative;", " ", "{", "}"], getHeightWidthStroke, StyledCircle, getStrokeColor);
48
48
  export var StyledSpinnerOverlayLabel = /*#__PURE__*/styled.span.withConfig({
49
49
  displayName: "StyledSpinnerOverlayLabel",
50
- componentId: "core-11_29_0__sc-1igww3-2"
50
+ componentId: "core-11_31_0__sc-1igww3-2"
51
51
  })(["", " color:", ";display:block;min-height:20px;padding-top:", "px;text-align:center;text-transform:uppercase;transition:opacity ", ";"], getTypographyIntent('body'), colors.gray15, spacing.md, transition);
52
52
  var rotate = /*#__PURE__*/keyframes(["to{transform:rotate(360deg);}"]);
53
53
  export var StyledSpinnerSVG = /*#__PURE__*/styled.svg.withConfig({
54
54
  displayName: "StyledSpinnerSVG",
55
- componentId: "core-11_29_0__sc-1igww3-3"
55
+ componentId: "core-11_31_0__sc-1igww3-3"
56
56
  })(["animation:", " ", "ms linear ", "ms infinite;fill:none;height:100%;left:0;margin:auto;position:absolute;right:0;top:0;width:100%;z-index:2;"], rotate, duration - durationOffset, function (p) {
57
57
  var animationDelay = -(p.mountTime % (duration - durationOffset));
58
58
  return animationDelay;
@@ -60,15 +60,15 @@ export var StyledSpinnerSVG = /*#__PURE__*/styled.svg.withConfig({
60
60
  var startsWithNoInteraction = /*#__PURE__*/css(["opacity:0;pointer-events:none;transition:opacity ", ";"], transition);
61
61
  export var StyledSpinnerOverlay = /*#__PURE__*/styled.div.withConfig({
62
62
  displayName: "StyledSpinnerOverlay",
63
- componentId: "core-11_29_0__sc-1igww3-4"
63
+ componentId: "core-11_31_0__sc-1igww3-4"
64
64
  })(["", " background-color:", ";bottom:0;left:0;position:absolute;right:0;top:0;z-index:", ";"], startsWithNoInteraction, colors.white, zOverlay);
65
65
  export var StyledSpinnerContainerWithLabel = /*#__PURE__*/styled.div.withConfig({
66
66
  displayName: "StyledSpinnerContainerWithLabel",
67
- componentId: "core-11_29_0__sc-1igww3-5"
67
+ componentId: "core-11_31_0__sc-1igww3-5"
68
68
  })(["", " align-items:center;display:flex;flex-direction:column;height:100%;max-height:400px;justify-content:center;position:absolute;top:0;width:100%;z-index:", ";"], startsWithNoInteraction, zContainer);
69
69
  export var StyledSpinnerOverlayContainer = /*#__PURE__*/styled.div.withConfig({
70
70
  displayName: "StyledSpinnerOverlayContainer",
71
- componentId: "core-11_29_0__sc-1igww3-6"
71
+ componentId: "core-11_31_0__sc-1igww3-6"
72
72
  })(["min-height:150px;position:relative;", " ", ""], function (_ref3) {
73
73
  var $loading = _ref3.$loading;
74
74
  if ($loading) {
@@ -3,6 +3,6 @@ import { Popover } from '../Popover';
3
3
  import { spacing } from '../_styles/spacing';
4
4
  export var StyledFilterPresetPopoverContent = /*#__PURE__*/styled(Popover.Content).withConfig({
5
5
  displayName: "StyledFilterPresetPopoverContent",
6
- componentId: "core-11_29_0__sc-y5qv7b-0"
6
+ componentId: "core-11_31_0__sc-y5qv7b-0"
7
7
  })(["padding:", "px ", "px;"], spacing.sm, spacing.lg);
8
8
  //# sourceMappingURL=SuperSelect.presets.styles.js.map
@@ -3,6 +3,7 @@ export declare const dataQa: {
3
3
  focused: string;
4
4
  hovered: string;
5
5
  };
6
+ export declare const extendedSelectMenuWidth = 360;
6
7
  export declare const PillSelectOptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
7
8
  export declare const PillSelectLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("..").PillProps & import("react").RefAttributes<HTMLSpanElement>>, any, {}, never>;
8
9
  export declare const PillSelectLabelWrapper: import("styled-components").StyledComponent<"div", any, {
@@ -19,42 +19,43 @@ export var dataQa = {
19
19
  var optionMinHeight = 32;
20
20
  var checkedIconPlaceholderWidth = 32;
21
21
  var styledSelectButtonDefaultWidth = 248;
22
+ export var extendedSelectMenuWidth = 360;
22
23
  export var PillSelectOptionWrapper = /*#__PURE__*/styled.div.withConfig({
23
24
  displayName: "PillSelectOptionWrapper",
24
- componentId: "core-11_29_0__sc-1uf5708-0"
25
+ componentId: "core-11_31_0__sc-1uf5708-0"
25
26
  })(["display:flex;align-items:center;justify-content:space-between;padding:", "px ", "px;"], spacing.xs, spacing.lg);
26
27
  export var PillSelectLabel = /*#__PURE__*/styled(Pill).withConfig({
27
28
  displayName: "PillSelectLabel",
28
- componentId: "core-11_29_0__sc-1uf5708-1"
29
+ componentId: "core-11_31_0__sc-1uf5708-1"
29
30
  })(["", ""], getEllipsis);
30
31
  export var PillSelectLabelWrapper = /*#__PURE__*/styled.div.withConfig({
31
32
  displayName: "PillSelectLabelWrapper",
32
- componentId: "core-11_29_0__sc-1uf5708-2"
33
+ componentId: "core-11_31_0__sc-1uf5708-2"
33
34
  })(["display:flex;max-width:100%;pointer-events:auto;", ""], function (_ref) {
34
35
  var disabled = _ref.disabled;
35
36
  return disabled && css(["pointer-events:none;"]);
36
37
  });
37
38
  export var StyledCheckboxContainer = /*#__PURE__*/styled.div.withConfig({
38
39
  displayName: "StyledCheckboxContainer",
39
- componentId: "core-11_29_0__sc-1uf5708-3"
40
+ componentId: "core-11_31_0__sc-1uf5708-3"
40
41
  })(["padding-left:", "px;"], spacing.lg);
41
42
  export var StyledCheckmarkContainer = /*#__PURE__*/styled.div.withConfig({
42
43
  displayName: "StyledCheckmarkContainer",
43
- componentId: "core-11_29_0__sc-1uf5708-4"
44
+ componentId: "core-11_31_0__sc-1uf5708-4"
44
45
  })(["align-items:center;color:", ";display:inline-flex;flex-shrink:0;padding:0 ", "px 0 ", "px;"], colors.blue50, spacing.lg, spacing.sm);
45
46
 
46
47
  // Do not merge with StyledMenu, needed for max-height working in IE
47
48
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
48
49
  displayName: "StyledWrapper",
49
- componentId: "core-11_29_0__sc-1uf5708-5"
50
+ componentId: "core-11_31_0__sc-1uf5708-5"
50
51
  })(["display:flex;max-height:inherit;min-width:inherit;outline:none;width:inherit;"]);
51
52
  export var StyledMenu = /*#__PURE__*/styled.div.withConfig({
52
53
  displayName: "StyledMenu",
53
- componentId: "core-11_29_0__sc-1uf5708-6"
54
+ componentId: "core-11_31_0__sc-1uf5708-6"
54
55
  })(["display:flex;flex-direction:column;outline:0;width:100%;"]);
55
56
  export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
56
57
  displayName: "StyledOptions",
57
- componentId: "core-11_29_0__sc-1uf5708-7"
58
+ componentId: "core-11_31_0__sc-1uf5708-7"
58
59
  })(["flex-basis:auto;flex-grow:1;flex-shrink:1;min-height:", "px;", ";padding:", "px 0;position:relative;overflow:hidden;&:focus{", " margin:-1px;}"], optionMinHeight, function (_ref2) {
59
60
  var _ref2$$scrollable = _ref2.$scrollable,
60
61
  $scrollable = _ref2$$scrollable === void 0 ? true : _ref2$$scrollable;
@@ -62,53 +63,53 @@ export var StyledOptions = /*#__PURE__*/styled.div.withConfig({
62
63
  }, spacing.sm, getFocus());
63
64
  export var StyledItemContent = /*#__PURE__*/styled.div.withConfig({
64
65
  displayName: "StyledItemContent",
65
- componentId: "core-11_29_0__sc-1uf5708-8"
66
+ componentId: "core-11_31_0__sc-1uf5708-8"
66
67
  })(["display:flex;flex-direction:row;align-items:center;"]);
67
68
  export var StyledOptionGroupLabel = /*#__PURE__*/styled.div.withConfig({
68
69
  displayName: "StyledOptionGroupLabel",
69
- componentId: "core-11_29_0__sc-1uf5708-9"
70
+ componentId: "core-11_31_0__sc-1uf5708-9"
70
71
  })(["padding:", "px 0 ", "px ", "px;"], spacing.md, spacing.xs, spacing.lg);
71
72
  export var StyledItemLabel = /*#__PURE__*/styled.div.withConfig({
72
73
  displayName: "StyledItemLabel",
73
- componentId: "core-11_29_0__sc-1uf5708-10"
74
+ componentId: "core-11_31_0__sc-1uf5708-10"
74
75
  })(["", ""], function (_ref3) {
75
76
  var $draggable = _ref3.$draggable;
76
- return css(["padding:", "px ", "px;"], spacing.xs, $draggable ? 0 : spacing.lg);
77
+ return css(["padding:", "px ", "px;overflow-wrap:anywhere;"], spacing.xs, $draggable ? 0 : spacing.lg);
77
78
  });
78
79
  export var StyledDraggableWrapper = /*#__PURE__*/styled.div.withConfig({
79
80
  displayName: "StyledDraggableWrapper",
80
- componentId: "core-11_29_0__sc-1uf5708-11"
81
+ componentId: "core-11_31_0__sc-1uf5708-11"
81
82
  })(["display:flex;width:100%;align-items:center;"]);
82
83
  export var StyledGrip = /*#__PURE__*/styled.div.withConfig({
83
84
  displayName: "StyledGrip",
84
- componentId: "core-11_29_0__sc-1uf5708-12"
85
+ componentId: "core-11_31_0__sc-1uf5708-12"
85
86
  })(["padding:0 2px;height:24px;visibility:hidden;"]);
86
87
  export var StyledFooter = /*#__PURE__*/styled(Box).withConfig({
87
88
  displayName: "StyledFooter",
88
- componentId: "core-11_29_0__sc-1uf5708-13"
89
+ componentId: "core-11_31_0__sc-1uf5708-13"
89
90
  })(["border-top:1px solid ", ";"], colors.gray85);
90
91
  export var StyledHeader = /*#__PURE__*/styled.div.withConfig({
91
92
  displayName: "StyledHeader",
92
- componentId: "core-11_29_0__sc-1uf5708-14"
93
+ componentId: "core-11_31_0__sc-1uf5708-14"
93
94
  })([""]);
94
95
  export var StyledEmptyMessage = /*#__PURE__*/styled.div.withConfig({
95
96
  displayName: "StyledEmptyMessage",
96
- componentId: "core-11_29_0__sc-1uf5708-15"
97
+ componentId: "core-11_31_0__sc-1uf5708-15"
97
98
  })(["", ";padding:", "px ", "px;color:", ";"], getTypographyIntent('body'), spacing.md, spacing.lg, colors.gray45);
98
99
  export var StyledSearchContainer = /*#__PURE__*/styled.div.withConfig({
99
100
  displayName: "StyledSearchContainer",
100
- componentId: "core-11_29_0__sc-1uf5708-16"
101
+ componentId: "core-11_31_0__sc-1uf5708-16"
101
102
  })(["padding:", "px ", "px ", "px;", " > *{pointer-events:none;}"], spacing.lg, spacing.lg, spacing.sm, StyledButton);
102
103
  export var StyledGroup = /*#__PURE__*/styled.div.withConfig({
103
104
  displayName: "StyledGroup",
104
- componentId: "core-11_29_0__sc-1uf5708-17"
105
+ componentId: "core-11_31_0__sc-1uf5708-17"
105
106
  })(["", " color:", ";cursor:", ";font-weight:", ";padding:", "px ", "px;&:not(:first-child){padding-top:", "px;}&&{padding:0;}", "{padding:", "px ", " px;}&:not(:first-child){", "{padding-top:", " px;}}"], getTypographyIntent('body'), colors.gray15, function (_ref4) {
106
107
  var $clickable = _ref4.$clickable;
107
108
  return $clickable ? 'pointer' : 'default';
108
109
  }, typographyWeights.semibold, spacing.xs, spacing.lg, spacing.md + spacing.xs, StyledOptionGroupLabel, spacing.xs, spacing.lg, StyledOptionGroupLabel, spacing.md + spacing.xs);
109
110
  export var StyledItem = /*#__PURE__*/styled.div.withConfig({
110
111
  displayName: "StyledItem",
111
- componentId: "core-11_29_0__sc-1uf5708-18"
112
+ componentId: "core-11_31_0__sc-1uf5708-18"
112
113
  })(["", ";align-items:center;cursor:pointer;list-style-type:none;display:flex;padding:0;", " ", " ", " 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 (_ref5) {
113
114
  var $emptyMinHeight = _ref5.$emptyMinHeight;
114
115
  return css(["&:empty{min-height:", "px;}"], $emptyMinHeight);
@@ -146,50 +147,50 @@ export var StyledItem = /*#__PURE__*/styled.div.withConfig({
146
147
  });
147
148
  export var StyledDroppable = /*#__PURE__*/styled.div.withConfig({
148
149
  displayName: "StyledDroppable",
149
- componentId: "core-11_29_0__sc-1uf5708-19"
150
+ componentId: "core-11_31_0__sc-1uf5708-19"
150
151
  })(["", ",", "{padding-left:28px;}"], StyledGroup, StyledItem);
151
152
  export var StyledSelectMenu = /*#__PURE__*/styled(Card).withConfig({
152
153
  displayName: "StyledSelectMenu",
153
- componentId: "core-11_29_0__sc-1uf5708-20"
154
+ componentId: "core-11_31_0__sc-1uf5708-20"
154
155
  })(["display:flex;max-height:40vh;max-width:", "px;min-width:inherit;"], styledSelectButtonDefaultWidth);
155
156
  export var StyledLabel = /*#__PURE__*/styled.div.withConfig({
156
157
  displayName: "StyledLabel",
157
- componentId: "core-11_29_0__sc-1uf5708-21"
158
+ componentId: "core-11_31_0__sc-1uf5708-21"
158
159
  })(["", " flex-grow:1;margin-right:", "px;outline:none;pointer-events:", ";user-select:none;"], getEllipsis(), spacing.sm, function (_ref12) {
159
160
  var $hoverable = _ref12.$hoverable;
160
161
  return $hoverable ? 'initial' : 'none';
161
162
  });
162
163
  export var StyledIndicators = /*#__PURE__*/styled.div.withConfig({
163
164
  displayName: "StyledIndicators",
164
- componentId: "core-11_29_0__sc-1uf5708-22"
165
+ componentId: "core-11_31_0__sc-1uf5708-22"
165
166
  })(["align-items:center;align-self:flex-start;display:flex;height:34px;justify-content:flex-end;margin-left:", "px;min-width:40px;width:40px;"], spacing.xs);
166
167
  export var StyledClearIcon = /*#__PURE__*/styled(Button).withConfig({
167
168
  displayName: "StyledClearIcon",
168
- componentId: "core-11_29_0__sc-1uf5708-23"
169
+ componentId: "core-11_31_0__sc-1uf5708-23"
169
170
  })([""]);
170
171
  export var StyledSpinner = /*#__PURE__*/styled.div.withConfig({
171
172
  displayName: "StyledSpinner",
172
- componentId: "core-11_29_0__sc-1uf5708-24"
173
+ componentId: "core-11_31_0__sc-1uf5708-24"
173
174
  })(["align-items:center;display:flex;flex:0 0 auto;justify-content:center;line-height:0;"]);
174
175
  export var StyledArrowContainer = /*#__PURE__*/styled.div.withConfig({
175
176
  displayName: "StyledArrowContainer",
176
- componentId: "core-11_29_0__sc-1uf5708-25"
177
+ componentId: "core-11_31_0__sc-1uf5708-25"
177
178
  })(["align-items:center;display:inline-flex;height:16px;justify-content:flex-end;margin-left:", "px;width:8px;"], spacing.sm);
178
179
  export var StyledArrow = /*#__PURE__*/styled.span.withConfig({
179
180
  displayName: "StyledArrow",
180
- componentId: "core-11_29_0__sc-1uf5708-26"
181
+ componentId: "core-11_31_0__sc-1uf5708-26"
181
182
  })(["display:inline-flex;svg{fill:", ";}"], colors.gray45);
182
183
  export var StyledArrowOutline = /*#__PURE__*/styled.polygon.withConfig({
183
184
  displayName: "StyledArrowOutline",
184
- componentId: "core-11_29_0__sc-1uf5708-27"
185
+ componentId: "core-11_31_0__sc-1uf5708-27"
185
186
  })([""]);
186
187
  export var StyledArrowFill = /*#__PURE__*/styled.polygon.withConfig({
187
188
  displayName: "StyledArrowFill",
188
- componentId: "core-11_29_0__sc-1uf5708-28"
189
+ componentId: "core-11_31_0__sc-1uf5708-28"
189
190
  })([""]);
190
191
  export var StyledTrigger = /*#__PURE__*/styled.div.withConfig({
191
192
  displayName: "StyledTrigger",
192
- componentId: "core-11_29_0__sc-1uf5708-29"
193
+ componentId: "core-11_31_0__sc-1uf5708-29"
193
194
  })(["", " align-items:center;background-color:", ";border-color:", ";border-radius:", "px;border-style:solid;border-width:1px;color:", ";cursor:pointer;display:inline-flex;height:36px;min-height:36px;outline:none;padding:0 ", "px;position:relative;white-space:nowrap;width:", ";&::placeholder{border-color:", ";}&:hover,&:active,&[data-qa=", "]{background-color:", ";border-color:", ";color:", ";}&:focus,&[data-qa=", "]{", " ", "{stroke:", ";}}", " ", " ", " ", " ", " ", " ", "}"], getTypographyIntent('body'), colors.white, colors.gray70, borderRadius.md, colors.gray15, spacing.md, function (_ref13) {
194
195
  var $block = _ref13.$block;
195
196
  return $block ? '100%' : "".concat(styledSelectButtonDefaultWidth, "px");
@@ -224,31 +225,31 @@ export var StyledTrigger = /*#__PURE__*/styled.div.withConfig({
224
225
  });
225
226
  export var StyledOverlay = /*#__PURE__*/styled(Card).withConfig({
226
227
  displayName: "StyledOverlay",
227
- componentId: "core-11_29_0__sc-1uf5708-30"
228
+ componentId: "core-11_31_0__sc-1uf5708-30"
228
229
  })(["display:flex;flex-direction:column;"]);
229
230
  export var StyledVirtuoso = /*#__PURE__*/styled(Virtuoso).withConfig({
230
231
  displayName: "StyledVirtuoso",
231
- componentId: "core-11_29_0__sc-1uf5708-31"
232
+ componentId: "core-11_31_0__sc-1uf5708-31"
232
233
  })(["flex:1 1 auto;"]);
233
234
  export var StyledEllipses = /*#__PURE__*/styled.div.withConfig({
234
235
  displayName: "StyledEllipses",
235
- componentId: "core-11_29_0__sc-1uf5708-32"
236
+ componentId: "core-11_31_0__sc-1uf5708-32"
236
237
  })(["", " display:inline-flex;> div{display:inline-flex;width:100%;}"], getEllipsis());
237
238
  export var StyledMultiValueContainer = /*#__PURE__*/styled.div.withConfig({
238
239
  displayName: "StyledMultiValueContainer",
239
- componentId: "core-11_29_0__sc-1uf5708-33"
240
+ componentId: "core-11_31_0__sc-1uf5708-33"
240
241
  })(["display:flex;flex-wrap:wrap;margin-bottom:2px;margin-right:", "px;margin-top:2px;min-width:0;width:100%;"], spacing.xs);
241
242
  export var StyledMultiValue = /*#__PURE__*/styled.div.withConfig({
242
243
  displayName: "StyledMultiValue",
243
- componentId: "core-11_29_0__sc-1uf5708-34"
244
+ componentId: "core-11_31_0__sc-1uf5708-34"
244
245
  })(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:0 1 auto;> div{max-width:178px;width:100%;}"], spacing.xs);
245
246
  export var StyledMultiInputContainer = /*#__PURE__*/styled.div.withConfig({
246
247
  displayName: "StyledMultiInputContainer",
247
- componentId: "core-11_29_0__sc-1uf5708-35"
248
+ componentId: "core-11_31_0__sc-1uf5708-35"
248
249
  })(["margin-bottom:2px;margin-right:", "px;margin-top:2px;flex:1;max-width:100%;min-width:24px;"], spacing.xs);
249
250
  export var StyledMultiInput = /*#__PURE__*/styled.input.withConfig({
250
251
  displayName: "StyledMultiInput",
251
- componentId: "core-11_29_0__sc-1uf5708-36"
252
+ componentId: "core-11_31_0__sc-1uf5708-36"
252
253
  })(["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 (_ref21) {
253
254
  var $isNavigatingTokens = _ref21.$isNavigatingTokens;
254
255
  return $isNavigatingTokens && css(["color:transparent;"]);
@@ -1 +1 @@
1
- {"version":3,"file":"SuperSelect.styles.js","names":["Virtuoso","styled","css","Box","Button","StyledButton","Card","StyledCheckboxLabel","Pill","StyledCircle","getTypographyIntent","typographyWeights","borderRadius","colors","getEllipsis","getFocus","spacing","dataQa","focused","hovered","optionMinHeight","checkedIconPlaceholderWidth","styledSelectButtonDefaultWidth","PillSelectOptionWrapper","div","withConfig","displayName","componentId","xs","lg","PillSelectLabel","PillSelectLabelWrapper","_ref","disabled","StyledCheckboxContainer","StyledCheckmarkContainer","blue50","sm","StyledWrapper","StyledMenu","StyledOptions","_ref2","_ref2$$scrollable","$scrollable","StyledItemContent","StyledOptionGroupLabel","md","StyledItemLabel","_ref3","$draggable","StyledDraggableWrapper","StyledGrip","StyledFooter","gray85","StyledHeader","StyledEmptyMessage","gray45","StyledSearchContainer","StyledGroup","gray15","_ref4","$clickable","semibold","StyledItem","_ref5","$emptyMinHeight","_ref6","$isDraggingOver","$highlighted","_ref7","$disabled","$isDraggingDisabled","gray96","_ref8","concat","_ref9","$selected","_ref10","$isDraggable","_ref11","$isDragging","StyledDroppable","StyledSelectMenu","StyledLabel","_ref12","$hoverable","StyledIndicators","StyledClearIcon","StyledSpinner","StyledArrowContainer","StyledArrow","span","StyledArrowOutline","polygon","StyledArrowFill","StyledTrigger","white","gray70","_ref13","$block","_ref14","_ref14$$placeholder","$placeholder","_ref15","gray94","_ref16","$error","red50","_ref17","$hasClearIcon","_ref18","$multiple","_ref19","$open","_ref20","_ref20$$placeholder","StyledOverlay","StyledVirtuoso","StyledEllipses","StyledMultiValueContainer","StyledMultiValue","StyledMultiInputContainer","StyledMultiInput","input","_ref21","$isNavigatingTokens"],"sources":["../../src/SuperSelect/SuperSelect.styles.ts"],"sourcesContent":["import { Virtuoso } from 'react-virtuoso'\nimport styled, { css } from 'styled-components'\nimport { Box } from '../Box/Box'\nimport { Button } from '../Button'\nimport { StyledButton } from '../Button/Button.styles'\nimport { Card } from '../Card/Card'\nimport { StyledCheckboxLabel } from '../Checkbox/Checkbox.styles'\nimport { Pill } from '../Pill/Pill'\nimport { StyledCircle } from '../Spinner/Spinner.styles'\nimport {\n getTypographyIntent,\n typographyWeights,\n} from '../Typography/Typography.styles'\nimport { borderRadius } from '../_styles/borderRadius'\nimport { colors } from '../_styles/colors'\nimport { getEllipsis, getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\n\nexport const dataQa = {\n focused: 'core-select-focused',\n hovered: 'core-select-hovered',\n}\n\nconst optionMinHeight = 32\n\nconst checkedIconPlaceholderWidth = 32\n\nconst styledSelectButtonDefaultWidth = 248\n\nexport const PillSelectOptionWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ${spacing.xs}px ${spacing.lg}px;\n`\n\nexport const PillSelectLabel = styled(Pill)`\n ${getEllipsis}\n`\n\nexport const PillSelectLabelWrapper = styled.div<{ disabled?: boolean }>`\n display: flex;\n max-width: 100%;\n pointer-events: auto;\n\n ${({ disabled }) =>\n disabled &&\n css`\n pointer-events: none;\n `}\n`\n\nexport const StyledCheckboxContainer = styled.div`\n padding-left: ${spacing.lg}px;\n`\n\nexport const StyledCheckmarkContainer = styled.div`\n align-items: center;\n color: ${colors.blue50};\n display: inline-flex;\n flex-shrink: 0;\n padding: 0 ${spacing.lg}px 0 ${spacing.sm}px;\n`\n\n// Do not merge with StyledMenu, needed for max-height working in IE\nexport const StyledWrapper = styled.div`\n display: flex;\n max-height: inherit;\n min-width: inherit;\n outline: none;\n width: inherit;\n`\n\nexport const StyledMenu = styled.div`\n display: flex;\n flex-direction: column;\n outline: 0;\n width: 100%;\n`\n\nexport const StyledOptions = styled.div<{ $scrollable?: boolean }>`\n flex-basis: auto;\n flex-grow: 1;\n flex-shrink: 1;\n min-height: ${optionMinHeight}px;\n ${({ $scrollable = true }) => $scrollable && `overflow-y: auto`};\n padding: ${spacing.sm}px 0;\n position: relative;\n overflow: hidden;\n\n &:focus {\n ${getFocus()}\n margin: -1px;\n }\n`\n\nexport const StyledItemContent = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n`\n\nexport const StyledOptionGroupLabel = styled.div`\n padding: ${spacing.md}px 0 ${spacing.xs}px ${spacing.lg}px;\n`\n\nexport const StyledItemLabel = styled.div<{\n $draggable?: boolean\n $selectionStyle?: 'highlight' | 'checkbox' | 'checkmark'\n}>`\n ${({ $draggable }) => {\n return css`\n padding: ${spacing.xs}px ${$draggable ? 0 : spacing.lg}px;\n `\n }}\n`\n\nexport const StyledDraggableWrapper = styled.div`\n display: flex;\n width: 100%;\n align-items: center;\n`\n\nexport const StyledGrip = styled.div`\n padding: 0 2px;\n height: 24px;\n visibility: hidden;\n`\n\nexport const StyledFooter = styled(Box)`\n border-top: 1px solid ${colors.gray85};\n`\n\nexport const StyledHeader = styled.div``\n\nexport const StyledEmptyMessage = styled.div`\n ${getTypographyIntent('body')};\n\n padding: ${spacing.md}px ${spacing.lg}px;\n color: ${colors.gray45};\n`\n\nexport const StyledSearchContainer = styled.div`\n padding: ${spacing.lg}px ${spacing.lg}px ${spacing.sm}px;\n\n ${StyledButton} > * {\n pointer-events: none;\n }\n`\n\nexport const StyledGroup = styled.div<{ $clickable?: boolean }>`\n ${getTypographyIntent('body')}\n\n color: ${colors.gray15};\n cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};\n font-weight: ${typographyWeights.semibold};\n padding: ${spacing.xs}px ${spacing.lg}px;\n\n &:not(:first-child) {\n padding-top: ${spacing.md + spacing.xs}px;\n }\n\n && {\n padding: 0;\n }\n\n ${StyledOptionGroupLabel} {\n padding: ${spacing.xs}px ${spacing.lg} px;\n }\n\n &:not(:first-child) {\n ${StyledOptionGroupLabel} {\n padding-top: ${spacing.md + spacing.xs} px;\n }\n }\n`\n\nexport const StyledItem = styled.div<{\n $disabled?: boolean\n $selected?: boolean\n $highlighted?: boolean\n $isDraggable?: boolean\n $isDragging?: boolean\n $emptyMinHeight?: number\n $isDraggingOver?: boolean\n $isDraggingDisabled?: boolean\n}>`\n ${getTypographyIntent('body')};\n\n align-items: center;\n cursor: pointer;\n list-style-type: none;\n display: flex;\n padding: 0;\n\n ${({ $emptyMinHeight }) => {\n return css`\n &:empty {\n min-height: ${$emptyMinHeight}px;\n }\n `\n }}\n\n ${({ $isDraggingOver, $highlighted }) => {\n return (\n $isDraggingOver &&\n $highlighted &&\n css`\n background-color: initial;\n `\n )\n }}\n\n ${({ $isDraggingOver, $disabled, $isDraggingDisabled }) => {\n return (\n ($isDraggingOver || $disabled || $isDraggingDisabled) &&\n css`\n &:hover {\n ${StyledGrip} {\n visibility: hidden;\n }\n }\n `\n )\n }}\n\n a {\n // We decided to use a negative margin trick here to allow us to continue\n // to use listNavigation without having to rewrite a bunch of code in js\n color: ${colors.gray15};\n display: block;\n margin: -${spacing.xs}px -${spacing.lg}px;\n padding: ${spacing.xs}px ${spacing.lg}px;\n text-decoration: none;\n\n &:hover {\n color: ${colors.gray15};\n text-decoration: none;\n }\n }\n\n &[data-highlighted='true'] {\n background-color: ${colors.gray96};\n }\n\n ${({ $highlighted }) => $highlighted && `background-color: ${colors.gray96};`}\n\n &:hover,\n &:active {\n ${StyledGrip} {\n visibility: visible;\n }\n }\n\n ${StyledCheckboxLabel} {\n color: inherit;\n cursor: pointer;\n }\n\n ${({ $disabled, $selected }) => {\n if ($disabled) {\n return css`\n &,\n ${StyledCheckboxLabel} {\n color: ${colors.gray85};\n cursor: default;\n }\n `\n } else if ($selected) {\n return css`\n color: ${colors.blue50};\n font-weight: 700;\n\n a,\n a:hover {\n color: ${colors.blue50};\n text-decoration: none;\n }\n\n &[data-highlighted='true'] {\n background-color: ${colors.gray96};\n }\n `\n }\n\n return css`\n color: ${colors.gray15};\n\n &[data-highlighted='true'] {\n background-color: ${colors.gray96};\n }\n `\n }}\n\n ${({ $isDraggable }) => {\n if ($isDraggable) {\n return css`\n ${StyledCheckboxLabel} {\n cursor: grab;\n\n // The unchecked and checked icons\n &:before,\n &:after {\n cursor: pointer;\n }\n }\n\n &&& {\n padding-left: 0;\n }\n `\n }\n }}\n\n ${({ $isDragging }) => {\n if ($isDragging) {\n return css`\n background-color: ${colors.gray96};\n\n ${StyledGrip} {\n visibility: visible;\n }\n `\n }\n }}\n`\n\nexport const StyledDroppable = styled.div`\n ${StyledGroup}, ${StyledItem} {\n padding-left: 28px;\n }\n`\n\nexport const StyledSelectMenu = styled(Card)`\n display: flex;\n max-height: 40vh;\n max-width: ${styledSelectButtonDefaultWidth}px;\n min-width: inherit;\n`\n\nexport const StyledLabel = styled.div<{ $hoverable: boolean }>`\n ${getEllipsis()}\n flex-grow: 1;\n margin-right: ${spacing.sm}px;\n outline: none;\n pointer-events: ${({ $hoverable }) => ($hoverable ? 'initial' : 'none')};\n user-select: none;\n`\n\nexport const StyledIndicators = styled.div`\n align-items: center;\n align-self: flex-start;\n display: flex;\n height: 34px;\n justify-content: flex-end;\n margin-left: ${spacing.xs}px;\n min-width: 40px;\n width: 40px;\n`\n\nexport const StyledClearIcon = styled(Button)``\n\nexport const StyledSpinner = styled.div`\n align-items: center;\n display: flex;\n flex: 0 0 auto;\n justify-content: center;\n line-height: 0;\n`\n\nexport const StyledArrowContainer = styled.div`\n align-items: center;\n display: inline-flex;\n height: 16px;\n justify-content: flex-end;\n margin-left: ${spacing.sm}px;\n width: 8px;\n`\n\nexport const StyledArrow = styled.span`\n display: inline-flex;\n\n svg {\n fill: ${colors.gray45};\n }\n`\n\nexport const StyledArrowOutline = styled.polygon``\n\nexport const StyledArrowFill = styled.polygon``\n\nexport const StyledTrigger = styled.div<{\n $block?: boolean\n $disabled?: boolean\n $error?: boolean\n $hasClearIcon?: boolean\n $loading?: boolean\n $multiple?: boolean\n $open?: boolean\n $placeholder?: boolean\n}>`\n ${getTypographyIntent('body')}\n\n align-items: center;\n background-color: ${colors.white};\n border-color: ${colors.gray70};\n border-radius: ${borderRadius.md}px;\n border-style: solid;\n border-width: 1px;\n color: ${colors.gray15};\n cursor: pointer;\n display: inline-flex;\n height: 36px;\n min-height: 36px;\n outline: none;\n padding: 0 ${spacing.md}px;\n position: relative;\n white-space: nowrap;\n width: ${({ $block }) =>\n $block ? '100%' : `${styledSelectButtonDefaultWidth}px`};\n\n &::placeholder {\n border-color: ${colors.gray45};\n }\n\n &:hover,\n &:active,\n &[data-qa=${dataQa.hovered}] {\n background-color: ${colors.white};\n border-color: ${colors.gray45};\n color: ${colors.gray15};\n }\n\n &:focus,\n &[data-qa=${dataQa.focused}] {\n ${getFocus()}\n\n ${StyledCircle} {\n stroke: ${colors.blue50};\n }\n }\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledLabel} {\n color: ${colors.gray45};\n }\n `}\n\n ${({ $disabled }) =>\n $disabled &&\n css`\n background-color: ${colors.gray94};\n border-color: ${colors.gray70};\n color: ${colors.gray45};\n cursor: default;\n pointer-events: none;\n\n ${StyledLabel} {\n color: ${colors.gray70};\n }\n\n ${StyledArrow} {\n svg {\n fill: ${colors.gray70};\n }\n }\n `}\n\n ${({ $error, $disabled }) => {\n if ($error && !$disabled) {\n return css`\n &,\n &:hover {\n border-color: ${colors.red50};\n border-color: var(--core-input-error-border-color, ${colors.red50});\n }\n &:hover:focus {\n ${getFocus()}\n }\n `\n }\n }}\n\n ${({ $hasClearIcon }) => css`\n ${StyledClearIcon} {\n opacity: ${$hasClearIcon ? 1 : 0};\n }\n `}\n\n ${({ $multiple }) =>\n $multiple &&\n css`\n height: auto;\n\n &:focus-within {\n ${getFocus()}\n }\n `}\n\n ${({ $open, $hasClearIcon }) =>\n $open &&\n $hasClearIcon &&\n css`\n ${StyledClearIcon} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n\n ${({ $open, $placeholder = false }) =>\n $open &&\n $placeholder &&\n css`\n ${StyledLabel} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n }\n`\n\nexport const StyledOverlay = styled(Card)`\n display: flex;\n flex-direction: column;\n`\n\nexport const StyledVirtuoso = styled(Virtuoso)`\n flex: 1 1 auto;\n`\n\nexport const StyledEllipses = styled.div`\n ${getEllipsis()}\n display: inline-flex;\n\n > div {\n display: inline-flex;\n width: 100%;\n }\n`\n\nexport const StyledMultiValueContainer = styled.div`\n display: flex;\n flex-wrap: wrap;\n margin-bottom: 2px;\n margin-right: ${spacing.xs}px;\n margin-top: 2px;\n min-width: 0;\n width: 100%;\n`\n\nexport const StyledMultiValue = styled.div`\n margin-bottom: 2px;\n margin-right: ${spacing.xs}px;\n margin-top: 2px;\n flex: 0 1 auto;\n\n > div {\n max-width: 178px;\n width: 100%;\n }\n`\n\nexport const StyledMultiInputContainer = styled.div`\n margin-bottom: 2px;\n margin-right: ${spacing.xs}px;\n margin-top: 2px;\n flex: 1;\n max-width: 100%;\n min-width: 24px;\n`\n\nexport const StyledMultiInput = styled.input<{\n $isNavigatingTokens?: boolean\n}>`\n background-color: transparent;\n border-width: 0;\n font-family: inherit;\n padding: 0;\n height: 24px;\n width: 100%;\n\n ${getTypographyIntent('body')}\n\n ${({ $isNavigatingTokens }) =>\n $isNavigatingTokens &&\n css`\n color: transparent;\n `}\n\n &::-ms-clear {\n display: none;\n }\n\n &:focus {\n box-shadow: none;\n outline: none;\n }\n\n &::placeholder {\n color: ${colors.gray45};\n }\n`\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAgB;AACzC,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,GAAG,QAAQ,YAAY;AAChC,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,mBAAmB,QAAQ,6BAA6B;AACjE,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,YAAY,QAAQ,2BAA2B;AACxD,SACEC,mBAAmB,EACnBC,iBAAiB,QACZ,iCAAiC;AACxC,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,WAAW,EAAEC,QAAQ,QAAQ,mBAAmB;AACzD,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,OAAO,IAAMC,MAAM,GAAG;EACpBC,OAAO,EAAE,qBAAqB;EAC9BC,OAAO,EAAE;AACX,CAAC;AAED,IAAMC,eAAe,GAAG,EAAE;AAE1B,IAAMC,2BAA2B,GAAG,EAAE;AAEtC,IAAMC,8BAA8B,GAAG,GAAG;AAE1C,OAAO,IAAMC,uBAAuB,gBAAGtB,MAAM,CAACuB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,6FAIpCX,OAAO,CAACY,EAAE,EAAMZ,OAAO,CAACa,EAAE,CACtC;AAED,OAAO,IAAMC,eAAe,gBAAG7B,MAAM,CAACO,IAAI,CAAC,CAAAiB,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aACvCb,WAAW,CACd;AAED,OAAO,IAAMiB,sBAAsB,gBAAG9B,MAAM,CAACuB,GAAG,CAAAC,U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M,CAACD,QAAQ,CAAC,CAAAyB,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,sBAE7C;AAED,OAAO,IAAM2F,cAAc,gBAAGrH,MAAM,CAACuB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,wEACpCb,WAAW,CAAC,CAAC,CAOhB;AAED,OAAO,IAAMyG,yBAAyB,gBAAGtH,MAAM,CAACuB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,iHAIjCX,OAAO,CAACY,EAAE,CAI3B;AAED,OAAO,IAAM4F,gBAAgB,gBAAGvH,MAAM,CAACuB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,8GAExBX,OAAO,CAACY,EAAE,CAQ3B;AAED,OAAO,IAAM6F,yBAAyB,gBAAGxH,MAAM,CAACuB,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,mGAEjCX,OAAO,CAACY,EAAE,CAK3B;AAED,OAAO,IAAM8F,gBAAgB,gBAAGzH,MAAM,CAAC0H,KAAK,CAAAlG,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,gNAUxCjB,mBAAmB,CAAC,MAAM,CAAC,EAE3B,UAAAkH,MAAA;EAAA,IAAGC,mBAAmB,GAAAD,MAAA,CAAnBC,mBAAmB;EAAA,OACtBA,mBAAmB,IACnB3H,GAAG,wBAEF;AAAA,GAYQW,MAAM,CAAC2C,MAAM,CAEzB"}
1
+ {"version":3,"file":"SuperSelect.styles.js","names":["Virtuoso","styled","css","Box","Button","StyledButton","Card","StyledCheckboxLabel","Pill","StyledCircle","getTypographyIntent","typographyWeights","borderRadius","colors","getEllipsis","getFocus","spacing","dataQa","focused","hovered","optionMinHeight","checkedIconPlaceholderWidth","styledSelectButtonDefaultWidth","extendedSelectMenuWidth","PillSelectOptionWrapper","div","withConfig","displayName","componentId","xs","lg","PillSelectLabel","PillSelectLabelWrapper","_ref","disabled","StyledCheckboxContainer","StyledCheckmarkContainer","blue50","sm","StyledWrapper","StyledMenu","StyledOptions","_ref2","_ref2$$scrollable","$scrollable","StyledItemContent","StyledOptionGroupLabel","md","StyledItemLabel","_ref3","$draggable","StyledDraggableWrapper","StyledGrip","StyledFooter","gray85","StyledHeader","StyledEmptyMessage","gray45","StyledSearchContainer","StyledGroup","gray15","_ref4","$clickable","semibold","StyledItem","_ref5","$emptyMinHeight","_ref6","$isDraggingOver","$highlighted","_ref7","$disabled","$isDraggingDisabled","gray96","_ref8","concat","_ref9","$selected","_ref10","$isDraggable","_ref11","$isDragging","StyledDroppable","StyledSelectMenu","StyledLabel","_ref12","$hoverable","StyledIndicators","StyledClearIcon","StyledSpinner","StyledArrowContainer","StyledArrow","span","StyledArrowOutline","polygon","StyledArrowFill","StyledTrigger","white","gray70","_ref13","$block","_ref14","_ref14$$placeholder","$placeholder","_ref15","gray94","_ref16","$error","red50","_ref17","$hasClearIcon","_ref18","$multiple","_ref19","$open","_ref20","_ref20$$placeholder","StyledOverlay","StyledVirtuoso","StyledEllipses","StyledMultiValueContainer","StyledMultiValue","StyledMultiInputContainer","StyledMultiInput","input","_ref21","$isNavigatingTokens"],"sources":["../../src/SuperSelect/SuperSelect.styles.ts"],"sourcesContent":["import { Virtuoso } from 'react-virtuoso'\nimport styled, { css } from 'styled-components'\nimport { Box } from '../Box/Box'\nimport { Button } from '../Button'\nimport { StyledButton } from '../Button/Button.styles'\nimport { Card } from '../Card/Card'\nimport { StyledCheckboxLabel } from '../Checkbox/Checkbox.styles'\nimport { Pill } from '../Pill/Pill'\nimport { StyledCircle } from '../Spinner/Spinner.styles'\nimport {\n getTypographyIntent,\n typographyWeights,\n} from '../Typography/Typography.styles'\nimport { borderRadius } from '../_styles/borderRadius'\nimport { colors } from '../_styles/colors'\nimport { getEllipsis, getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\n\nexport const dataQa = {\n focused: 'core-select-focused',\n hovered: 'core-select-hovered',\n}\n\nconst optionMinHeight = 32\n\nconst checkedIconPlaceholderWidth = 32\n\nconst styledSelectButtonDefaultWidth = 248\n\nexport const extendedSelectMenuWidth = 360\n\nexport const PillSelectOptionWrapper = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ${spacing.xs}px ${spacing.lg}px;\n`\n\nexport const PillSelectLabel = styled(Pill)`\n ${getEllipsis}\n`\n\nexport const PillSelectLabelWrapper = styled.div<{ disabled?: boolean }>`\n display: flex;\n max-width: 100%;\n pointer-events: auto;\n\n ${({ disabled }) =>\n disabled &&\n css`\n pointer-events: none;\n `}\n`\n\nexport const StyledCheckboxContainer = styled.div`\n padding-left: ${spacing.lg}px;\n`\n\nexport const StyledCheckmarkContainer = styled.div`\n align-items: center;\n color: ${colors.blue50};\n display: inline-flex;\n flex-shrink: 0;\n padding: 0 ${spacing.lg}px 0 ${spacing.sm}px;\n`\n\n// Do not merge with StyledMenu, needed for max-height working in IE\nexport const StyledWrapper = styled.div`\n display: flex;\n max-height: inherit;\n min-width: inherit;\n outline: none;\n width: inherit;\n`\n\nexport const StyledMenu = styled.div`\n display: flex;\n flex-direction: column;\n outline: 0;\n width: 100%;\n`\n\nexport const StyledOptions = styled.div<{ $scrollable?: boolean }>`\n flex-basis: auto;\n flex-grow: 1;\n flex-shrink: 1;\n min-height: ${optionMinHeight}px;\n ${({ $scrollable = true }) => $scrollable && `overflow-y: auto`};\n padding: ${spacing.sm}px 0;\n position: relative;\n overflow: hidden;\n\n &:focus {\n ${getFocus()}\n margin: -1px;\n }\n`\n\nexport const StyledItemContent = styled.div`\n display: flex;\n flex-direction: row;\n align-items: center;\n`\n\nexport const StyledOptionGroupLabel = styled.div`\n padding: ${spacing.md}px 0 ${spacing.xs}px ${spacing.lg}px;\n`\n\nexport const StyledItemLabel = styled.div<{\n $draggable?: boolean\n $selectionStyle?: 'highlight' | 'checkbox' | 'checkmark'\n}>`\n ${({ $draggable }) => {\n return css`\n padding: ${spacing.xs}px ${$draggable ? 0 : spacing.lg}px;\n overflow-wrap: anywhere;\n `\n }}\n`\n\nexport const StyledDraggableWrapper = styled.div`\n display: flex;\n width: 100%;\n align-items: center;\n`\n\nexport const StyledGrip = styled.div`\n padding: 0 2px;\n height: 24px;\n visibility: hidden;\n`\n\nexport const StyledFooter = styled(Box)`\n border-top: 1px solid ${colors.gray85};\n`\n\nexport const StyledHeader = styled.div``\n\nexport const StyledEmptyMessage = styled.div`\n ${getTypographyIntent('body')};\n\n padding: ${spacing.md}px ${spacing.lg}px;\n color: ${colors.gray45};\n`\n\nexport const StyledSearchContainer = styled.div`\n padding: ${spacing.lg}px ${spacing.lg}px ${spacing.sm}px;\n\n ${StyledButton} > * {\n pointer-events: none;\n }\n`\n\nexport const StyledGroup = styled.div<{ $clickable?: boolean }>`\n ${getTypographyIntent('body')}\n\n color: ${colors.gray15};\n cursor: ${({ $clickable }) => ($clickable ? 'pointer' : 'default')};\n font-weight: ${typographyWeights.semibold};\n padding: ${spacing.xs}px ${spacing.lg}px;\n\n &:not(:first-child) {\n padding-top: ${spacing.md + spacing.xs}px;\n }\n\n && {\n padding: 0;\n }\n\n ${StyledOptionGroupLabel} {\n padding: ${spacing.xs}px ${spacing.lg} px;\n }\n\n &:not(:first-child) {\n ${StyledOptionGroupLabel} {\n padding-top: ${spacing.md + spacing.xs} px;\n }\n }\n`\n\nexport const StyledItem = styled.div<{\n $disabled?: boolean\n $selected?: boolean\n $highlighted?: boolean\n $isDraggable?: boolean\n $isDragging?: boolean\n $emptyMinHeight?: number\n $isDraggingOver?: boolean\n $isDraggingDisabled?: boolean\n}>`\n ${getTypographyIntent('body')};\n\n align-items: center;\n cursor: pointer;\n list-style-type: none;\n display: flex;\n padding: 0;\n\n ${({ $emptyMinHeight }) => {\n return css`\n &:empty {\n min-height: ${$emptyMinHeight}px;\n }\n `\n }}\n\n ${({ $isDraggingOver, $highlighted }) => {\n return (\n $isDraggingOver &&\n $highlighted &&\n css`\n background-color: initial;\n `\n )\n }}\n\n ${({ $isDraggingOver, $disabled, $isDraggingDisabled }) => {\n return (\n ($isDraggingOver || $disabled || $isDraggingDisabled) &&\n css`\n &:hover {\n ${StyledGrip} {\n visibility: hidden;\n }\n }\n `\n )\n }}\n\n a {\n // We decided to use a negative margin trick here to allow us to continue\n // to use listNavigation without having to rewrite a bunch of code in js\n color: ${colors.gray15};\n display: block;\n margin: -${spacing.xs}px -${spacing.lg}px;\n padding: ${spacing.xs}px ${spacing.lg}px;\n text-decoration: none;\n\n &:hover {\n color: ${colors.gray15};\n text-decoration: none;\n }\n }\n\n &[data-highlighted='true'] {\n background-color: ${colors.gray96};\n }\n\n ${({ $highlighted }) => $highlighted && `background-color: ${colors.gray96};`}\n\n &:hover,\n &:active {\n ${StyledGrip} {\n visibility: visible;\n }\n }\n\n ${StyledCheckboxLabel} {\n color: inherit;\n cursor: pointer;\n }\n\n ${({ $disabled, $selected }) => {\n if ($disabled) {\n return css`\n &,\n ${StyledCheckboxLabel} {\n color: ${colors.gray85};\n cursor: default;\n }\n `\n } else if ($selected) {\n return css`\n color: ${colors.blue50};\n font-weight: 700;\n\n a,\n a:hover {\n color: ${colors.blue50};\n text-decoration: none;\n }\n\n &[data-highlighted='true'] {\n background-color: ${colors.gray96};\n }\n `\n }\n\n return css`\n color: ${colors.gray15};\n\n &[data-highlighted='true'] {\n background-color: ${colors.gray96};\n }\n `\n }}\n\n ${({ $isDraggable }) => {\n if ($isDraggable) {\n return css`\n ${StyledCheckboxLabel} {\n cursor: grab;\n\n // The unchecked and checked icons\n &:before,\n &:after {\n cursor: pointer;\n }\n }\n\n &&& {\n padding-left: 0;\n }\n `\n }\n }}\n\n ${({ $isDragging }) => {\n if ($isDragging) {\n return css`\n background-color: ${colors.gray96};\n\n ${StyledGrip} {\n visibility: visible;\n }\n `\n }\n }}\n`\n\nexport const StyledDroppable = styled.div`\n ${StyledGroup}, ${StyledItem} {\n padding-left: 28px;\n }\n`\n\nexport const StyledSelectMenu = styled(Card)`\n display: flex;\n max-height: 40vh;\n max-width: ${styledSelectButtonDefaultWidth}px;\n min-width: inherit;\n`\n\nexport const StyledLabel = styled.div<{ $hoverable: boolean }>`\n ${getEllipsis()}\n flex-grow: 1;\n margin-right: ${spacing.sm}px;\n outline: none;\n pointer-events: ${({ $hoverable }) => ($hoverable ? 'initial' : 'none')};\n user-select: none;\n`\n\nexport const StyledIndicators = styled.div`\n align-items: center;\n align-self: flex-start;\n display: flex;\n height: 34px;\n justify-content: flex-end;\n margin-left: ${spacing.xs}px;\n min-width: 40px;\n width: 40px;\n`\n\nexport const StyledClearIcon = styled(Button)``\n\nexport const StyledSpinner = styled.div`\n align-items: center;\n display: flex;\n flex: 0 0 auto;\n justify-content: center;\n line-height: 0;\n`\n\nexport const StyledArrowContainer = styled.div`\n align-items: center;\n display: inline-flex;\n height: 16px;\n justify-content: flex-end;\n margin-left: ${spacing.sm}px;\n width: 8px;\n`\n\nexport const StyledArrow = styled.span`\n display: inline-flex;\n\n svg {\n fill: ${colors.gray45};\n }\n`\n\nexport const StyledArrowOutline = styled.polygon``\n\nexport const StyledArrowFill = styled.polygon``\n\nexport const StyledTrigger = styled.div<{\n $block?: boolean\n $disabled?: boolean\n $error?: boolean\n $hasClearIcon?: boolean\n $loading?: boolean\n $multiple?: boolean\n $open?: boolean\n $placeholder?: boolean\n}>`\n ${getTypographyIntent('body')}\n\n align-items: center;\n background-color: ${colors.white};\n border-color: ${colors.gray70};\n border-radius: ${borderRadius.md}px;\n border-style: solid;\n border-width: 1px;\n color: ${colors.gray15};\n cursor: pointer;\n display: inline-flex;\n height: 36px;\n min-height: 36px;\n outline: none;\n padding: 0 ${spacing.md}px;\n position: relative;\n white-space: nowrap;\n width: ${({ $block }) =>\n $block ? '100%' : `${styledSelectButtonDefaultWidth}px`};\n\n &::placeholder {\n border-color: ${colors.gray45};\n }\n\n &:hover,\n &:active,\n &[data-qa=${dataQa.hovered}] {\n background-color: ${colors.white};\n border-color: ${colors.gray45};\n color: ${colors.gray15};\n }\n\n &:focus,\n &[data-qa=${dataQa.focused}] {\n ${getFocus()}\n\n ${StyledCircle} {\n stroke: ${colors.blue50};\n }\n }\n\n ${({ $placeholder = false }) =>\n $placeholder &&\n css`\n ${StyledLabel} {\n color: ${colors.gray45};\n }\n `}\n\n ${({ $disabled }) =>\n $disabled &&\n css`\n background-color: ${colors.gray94};\n border-color: ${colors.gray70};\n color: ${colors.gray45};\n cursor: default;\n pointer-events: none;\n\n ${StyledLabel} {\n color: ${colors.gray70};\n }\n\n ${StyledArrow} {\n svg {\n fill: ${colors.gray70};\n }\n }\n `}\n\n ${({ $error, $disabled }) => {\n if ($error && !$disabled) {\n return css`\n &,\n &:hover {\n border-color: ${colors.red50};\n border-color: var(--core-input-error-border-color, ${colors.red50});\n }\n &:hover:focus {\n ${getFocus()}\n }\n `\n }\n }}\n\n ${({ $hasClearIcon }) => css`\n ${StyledClearIcon} {\n opacity: ${$hasClearIcon ? 1 : 0};\n }\n `}\n\n ${({ $multiple }) =>\n $multiple &&\n css`\n height: auto;\n\n &:focus-within {\n ${getFocus()}\n }\n `}\n\n ${({ $open, $hasClearIcon }) =>\n $open &&\n $hasClearIcon &&\n css`\n ${StyledClearIcon} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n\n ${({ $open, $placeholder = false }) =>\n $open &&\n $placeholder &&\n css`\n ${StyledLabel} {\n opacity: 1;\n pointer-events: all;\n }\n `}\n }\n`\n\nexport const StyledOverlay = styled(Card)`\n display: flex;\n flex-direction: column;\n`\n\nexport const StyledVirtuoso = styled(Virtuoso)`\n flex: 1 1 auto;\n`\n\nexport const StyledEllipses = styled.div`\n ${getEllipsis()}\n display: inline-flex;\n\n > div {\n display: inline-flex;\n width: 100%;\n }\n`\n\nexport const StyledMultiValueContainer = styled.div`\n display: flex;\n flex-wrap: wrap;\n margin-bottom: 2px;\n margin-right: ${spacing.xs}px;\n margin-top: 2px;\n min-width: 0;\n width: 100%;\n`\n\nexport const StyledMultiValue = styled.div`\n margin-bottom: 2px;\n margin-right: ${spacing.xs}px;\n margin-top: 2px;\n flex: 0 1 auto;\n\n > div {\n max-width: 178px;\n width: 100%;\n }\n`\n\nexport const StyledMultiInputContainer = styled.div`\n margin-bottom: 2px;\n margin-right: ${spacing.xs}px;\n margin-top: 2px;\n flex: 1;\n max-width: 100%;\n min-width: 24px;\n`\n\nexport const StyledMultiInput = styled.input<{\n $isNavigatingTokens?: boolean\n}>`\n background-color: transparent;\n border-width: 0;\n font-family: inherit;\n padding: 0;\n height: 24px;\n width: 100%;\n\n ${getTypographyIntent('body')}\n\n ${({ $isNavigatingTokens }) =>\n $isNavigatingTokens &&\n css`\n color: transparent;\n `}\n\n &::-ms-clear {\n display: none;\n }\n\n &:focus {\n box-shadow: none;\n outline: none;\n }\n\n &::placeholder {\n color: ${colors.gray45};\n }\n`\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,gBAAgB;AACzC,OAAOC,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,GAAG,QAAQ,YAAY;AAChC,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,mBAAmB,QAAQ,6BAA6B;AACjE,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,YAAY,QAAQ,2BAA2B;AACxD,SACEC,mBAAmB,EACnBC,iBAAiB,QACZ,iCAAiC;AACxC,SAASC,YAAY,QAAQ,yBAAyB;AACtD,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,WAAW,EAAEC,QAAQ,QAAQ,mBAAmB;AACzD,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,OAAO,IAAMC,MAAM,GAAG;EACpBC,OAAO,EAAE,qBAAqB;EAC9BC,OAAO,EAAE;AACX,CAAC;AAED,IAAMC,eAAe,GAAG,EAAE;AAE1B,IAAMC,2BAA2B,GAAG,EAAE;AAEtC,IAAMC,8BAA8B,GAAG,GAAG;AAE1C,OAAO,IAAMC,uBAAuB,GAAG,GAA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AAA,GAYQW,MAAM,CAAC4C,MAAM,CAEzB"}
@@ -57,6 +57,7 @@ export interface SuperSelectConfig {
57
57
  sort?: boolean;
58
58
  tabIndex?: number;
59
59
  value?: SuperSelectValue;
60
+ overlayMatchesTriggerWidth?: boolean;
60
61
  }
61
62
  export declare type SuperSelectProps = SuperSelectConfig;
62
63
  export declare type SuperSelectApi = ReturnType<typeof useSuperSelect>;
@@ -1 +1 @@
1
- {"version":3,"file":"SuperSelect.types.js","names":[],"sources":["../../src/SuperSelect/SuperSelect.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { DivAttributes } from '../_utils/types'\nimport type * as defaultComponents from './SuperSelect.components'\nimport type { isOptgroupSymbol } from './SuperSelect.constants'\nimport type { useSuperSelect } from './useSuperSelect'\n\nexport interface TokenNavigationProps {\n activeIndex?: number | null\n enabled?: boolean\n onChange?: (value: SuperSelectValue) => void\n onNavigate?: (index: number | null) => void\n value?: SuperSelectValue\n}\n\nexport interface KeyboardSelectionProps {\n enabled?: boolean\n onSelect?: () => void\n}\n\nexport type SuperSelectValuePrimitive = boolean | string | number\n\nexport type SuperSelectValue =\n | SuperSelectValuePrimitive\n | Array<SuperSelectValuePrimitive>\n | null\n\nexport type SuperSelectOption = any\n\nexport type SuperSelectPreset = '' | 'pill' | 'filter' | 'contacts'\n\nexport interface SuperSelectPresetProps {\n filter?: {\n filterName?: string\n }\n pill?: {}\n contacts?: {}\n ''?: {}\n}\n\nexport interface SuperSelectConfig {\n block?: boolean\n components?: Partial<typeof defaultComponents>\n defaultValue?: SuperSelectValue\n disabled?: boolean\n draggable?: boolean\n emptyMessage?: string\n error?: boolean\n footer?: React.ReactElement\n getOptionGroup?: (option: SuperSelectOption) => string\n getOptionIsBatch?: (option: SuperSelectOption) => boolean\n getOptionIsDisabled?: (option: SuperSelectOption) => boolean\n getOptionLabel?: (option: SuperSelectOption) => string\n getOptionValue?: (option: SuperSelectOption) => SuperSelectValuePrimitive\n header?: React.ReactElement\n loading?: boolean\n multiple?: boolean\n onChange?: (value: SuperSelectValue) => void\n onManualSort?: (options: SuperSelectOption[]) => void\n onScrollBottom?: () => void\n onOpenChange?: (open: boolean) => void\n options?: SuperSelectOption[]\n placeholder?: string\n preset?: SuperSelectPreset\n presetProps?: SuperSelectPresetProps\n search?: boolean\n selectionStyle?: 'highlight' | 'checkbox' | 'checkmark'\n setOptionGroup?: (\n option: SuperSelectOption,\n group: string\n ) => SuperSelectOption\n sort?: boolean\n tabIndex?: number\n value?: SuperSelectValue\n}\n\nexport type SuperSelectProps = SuperSelectConfig\n\nexport type SuperSelectApi = ReturnType<typeof useSuperSelect>\n\nexport interface SuperSelectTriggerProps {\n block?: boolean\n disabled?: boolean\n error?: boolean\n loading?: boolean\n placeholder?: string\n search?: boolean\n tabIndex?: number\n}\n\nexport interface SuperSelectOptgroup {\n label: string\n id: string\n [isOptgroupSymbol]: true\n}\n\nexport interface SuperSelectMenuItemProps extends DivAttributes {\n isDragging?: boolean\n // data attributes are passed by Virtuoso\n 'data-known-size'?: number\n 'data-index': number\n}\n"],"mappings":""}
1
+ {"version":3,"file":"SuperSelect.types.js","names":[],"sources":["../../src/SuperSelect/SuperSelect.types.ts"],"sourcesContent":["import type React from 'react'\nimport type { DivAttributes } from '../_utils/types'\nimport type * as defaultComponents from './SuperSelect.components'\nimport type { isOptgroupSymbol } from './SuperSelect.constants'\nimport type { useSuperSelect } from './useSuperSelect'\n\nexport interface TokenNavigationProps {\n activeIndex?: number | null\n enabled?: boolean\n onChange?: (value: SuperSelectValue) => void\n onNavigate?: (index: number | null) => void\n value?: SuperSelectValue\n}\n\nexport interface KeyboardSelectionProps {\n enabled?: boolean\n onSelect?: () => void\n}\n\nexport type SuperSelectValuePrimitive = boolean | string | number\n\nexport type SuperSelectValue =\n | SuperSelectValuePrimitive\n | Array<SuperSelectValuePrimitive>\n | null\n\nexport type SuperSelectOption = any\n\nexport type SuperSelectPreset = '' | 'pill' | 'filter' | 'contacts'\n\nexport interface SuperSelectPresetProps {\n filter?: {\n filterName?: string\n }\n pill?: {}\n contacts?: {}\n ''?: {}\n}\n\nexport interface SuperSelectConfig {\n block?: boolean\n components?: Partial<typeof defaultComponents>\n defaultValue?: SuperSelectValue\n disabled?: boolean\n draggable?: boolean\n emptyMessage?: string\n error?: boolean\n footer?: React.ReactElement\n getOptionGroup?: (option: SuperSelectOption) => string\n getOptionIsBatch?: (option: SuperSelectOption) => boolean\n getOptionIsDisabled?: (option: SuperSelectOption) => boolean\n getOptionLabel?: (option: SuperSelectOption) => string\n getOptionValue?: (option: SuperSelectOption) => SuperSelectValuePrimitive\n header?: React.ReactElement\n loading?: boolean\n multiple?: boolean\n onChange?: (value: SuperSelectValue) => void\n onManualSort?: (options: SuperSelectOption[]) => void\n onScrollBottom?: () => void\n onOpenChange?: (open: boolean) => void\n options?: SuperSelectOption[]\n placeholder?: string\n preset?: SuperSelectPreset\n presetProps?: SuperSelectPresetProps\n search?: boolean\n selectionStyle?: 'highlight' | 'checkbox' | 'checkmark'\n setOptionGroup?: (\n option: SuperSelectOption,\n group: string\n ) => SuperSelectOption\n sort?: boolean\n tabIndex?: number\n value?: SuperSelectValue\n overlayMatchesTriggerWidth?: boolean\n}\n\nexport type SuperSelectProps = SuperSelectConfig\n\nexport type SuperSelectApi = ReturnType<typeof useSuperSelect>\n\nexport interface SuperSelectTriggerProps {\n block?: boolean\n disabled?: boolean\n error?: boolean\n loading?: boolean\n placeholder?: string\n search?: boolean\n tabIndex?: number\n}\n\nexport interface SuperSelectOptgroup {\n label: string\n id: string\n [isOptgroupSymbol]: true\n}\n\nexport interface SuperSelectMenuItemProps extends DivAttributes {\n isDragging?: boolean\n // data attributes are passed by Virtuoso\n 'data-known-size'?: number\n 'data-index': number\n}\n"],"mappings":""}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { VirtuosoHandle, VirtuosoProps } from 'react-virtuoso';
3
3
  import type { SuperSelectConfig, SuperSelectOption, SuperSelectValue, SuperSelectValuePrimitive } from './SuperSelect.types';
4
- export declare function useSuperSelect({ block, components: customComponents, defaultValue, disabled, draggable, emptyMessage, error, footer, getOptionGroup, getOptionIsBatch, getOptionIsDisabled, getOptionLabel, getOptionValue, onScrollBottom, onOpenChange, header, loading, multiple, onChange, onManualSort, options: sourceOptions, placeholder, preset, presetProps, search, selectionStyle, setOptionGroup, sort, tabIndex, value: value_, }: SuperSelectConfig): {
4
+ export declare function useSuperSelect({ block, components: customComponents, defaultValue, disabled, draggable, emptyMessage, error, footer, getOptionGroup, getOptionIsBatch, getOptionIsDisabled, getOptionLabel, getOptionValue, onScrollBottom, onOpenChange, header, loading, multiple, onChange, onManualSort, options: sourceOptions, placeholder, preset, presetProps, search, selectionStyle, setOptionGroup, sort, tabIndex, value: value_, overlayMatchesTriggerWidth, }: SuperSelectConfig): {
5
5
  config: {
6
6
  block: boolean;
7
7
  disabled: boolean;