@procore/core-react 11.25.1 → 11.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. package/babel.config.js +1 -1
  2. package/dist/Avatar/Avatar.styles.js +5 -5
  3. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  4. package/dist/Badge/Badge.styles.js +2 -2
  5. package/dist/Banner/Banner.styles.js +10 -10
  6. package/dist/Box/Box.styles.js +1 -1
  7. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  8. package/dist/Button/Button.styles.js +5 -5
  9. package/dist/Calendar/Calendar.styles.js +8 -8
  10. package/dist/Card/Card.styles.js +1 -1
  11. package/dist/Checkbox/Checkbox.styles.js +6 -6
  12. package/dist/ContactItem/ContactItem.styles.js +5 -5
  13. package/dist/Content/Content.styles.js +2 -2
  14. package/dist/DateInput/DateInput.styles.js +6 -6
  15. package/dist/DetailPage/DetailPage.styles.js +7 -7
  16. package/dist/Dropdown/Dropdown.styles.js +3 -3
  17. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  18. package/dist/Dropzone/Dropzone.js +1 -1
  19. package/dist/Dropzone/Dropzone.styles.js +9 -9
  20. package/dist/EmptyState/EmptyState.styles.js +6 -6
  21. package/dist/Field/Field.styles.js +3 -3
  22. package/dist/FileList/FileList.styles.js +4 -4
  23. package/dist/FileSelect/FileExplorer/FileExplorer.styles.js +9 -9
  24. package/dist/FileSelect/FileExplorer/FileExplorerSidebar.styles.js +3 -3
  25. package/dist/FileSelect/FileSelect.styles.js +2 -2
  26. package/dist/FileSelect/FileSelectDropzone/FileSelectDropzone.styles.js +3 -3
  27. package/dist/FileSelect/FileTokenList/FileTokenList.styles.js +2 -2
  28. package/dist/FileSelect/GridSource/GridSource.styles.js +6 -6
  29. package/dist/FileSelect/LocalSource/LocalSource.styles.js +4 -4
  30. package/dist/FileSelect/SourceItem/SourceItem.styles.js +3 -3
  31. package/dist/FileSelect/ThumbnailList/ThumbnailList.styles.js +6 -6
  32. package/dist/FileSelect/TreeSource/TreeSource.styles.js +1 -1
  33. package/dist/FileToken/FileToken.styles.js +4 -4
  34. package/dist/FilterToken/FilterToken.styles.js +2 -2
  35. package/dist/FlexList/FlexList.styles.js +1 -1
  36. package/dist/Form/Form.styles.js +16 -16
  37. package/dist/Grid/Grid.styles.js +2 -2
  38. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  39. package/dist/Input/Input.styles.js +1 -1
  40. package/dist/Link/Link.styles.js +1 -1
  41. package/dist/ListPage/ListPage.styles.js +8 -8
  42. package/dist/Loader/Loader.styles.js +2 -2
  43. package/dist/MenuImperative/MenuImperative.styles.js +10 -10
  44. package/dist/Modal/Modal.styles.js +13 -13
  45. package/dist/MultiSelect/MultiSelect.styles.js +6 -6
  46. package/dist/NextMenu/NextMenu.styles.js +3 -3
  47. package/dist/Notation/Notation.js +1 -1
  48. package/dist/NumberInput/NumberInput.styles.js +7 -7
  49. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  50. package/dist/PageLayout/PageLayout.styles.js +13 -13
  51. package/dist/Pagination/Pagination.styles.js +5 -5
  52. package/dist/Panel/Panel.styles.js +11 -11
  53. package/dist/Pill/Pill.styles.js +2 -2
  54. package/dist/PillSelect/PillSelect.styles.js +4 -4
  55. package/dist/Popover/Popover.styles.js +2 -2
  56. package/dist/Portal/Portal.styles.js +1 -1
  57. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  58. package/dist/RadioButton/RadioButton.styles.js +3 -3
  59. package/dist/Required/Required.styles.js +3 -3
  60. package/dist/Search/Search.styles.js +5 -5
  61. package/dist/Section/Section.styles.js +6 -6
  62. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  63. package/dist/Select/Select.styles.js +7 -7
  64. package/dist/Semantic/Semantic.d.ts +6 -1
  65. package/dist/Semantic/Semantic.js +7 -1
  66. package/dist/Semantic/Semantic.js.map +1 -1
  67. package/dist/Semantic/Semantic.styles.d.ts +14 -4
  68. package/dist/Semantic/Semantic.styles.js +20 -10
  69. package/dist/Semantic/Semantic.styles.js.map +1 -1
  70. package/dist/Semantic/index.d.ts +1 -1
  71. package/dist/Semantic/index.js +1 -1
  72. package/dist/Semantic/index.js.map +1 -1
  73. package/dist/Sidebar/Sidebar.styles.js +7 -7
  74. package/dist/Slider/Slider.styles.js +5 -5
  75. package/dist/Spinner/Spinner.styles.js +7 -7
  76. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  77. package/dist/SuperSelect/SuperSelect.styles.js +37 -37
  78. package/dist/Switch/Switch.styles.js +4 -4
  79. package/dist/Table/Table.styles.js +28 -28
  80. package/dist/TableShelf/TableShelf.styles.js +5 -5
  81. package/dist/Tabs/Tabs.styles.js +8 -8
  82. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  83. package/dist/TextArea/TextArea.styles.js +1 -1
  84. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  85. package/dist/Thumbnail/Thumbnail.styles.js +17 -17
  86. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  87. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  88. package/dist/Tile/Tile.styles.js +8 -8
  89. package/dist/Title/Title.styles.js +7 -7
  90. package/dist/Toast/Toast.styles.js +3 -3
  91. package/dist/ToggleButton/ToggleButton.styles.js +1 -1
  92. package/dist/Token/Token.styles.js +3 -3
  93. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  94. package/dist/Tooltip/Tooltip.styles.js +2 -2
  95. package/dist/Tree/Tree.styles.js +9 -9
  96. package/dist/Typeahead/Typeahead.styles.js +3 -3
  97. package/dist/Typography/Typography.styles.js +1 -1
  98. package/dist/Typography/Typography.table.story.js +2 -2
  99. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  100. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +23 -23
  101. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  102. package/dist/_typedoc/Banner/Banner.types.json +13 -13
  103. package/dist/_typedoc/Box/Box.types.json +68 -68
  104. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  105. package/dist/_typedoc/Button/Button.types.json +11 -11
  106. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  107. package/dist/_typedoc/Card/Card.types.json +6 -6
  108. package/dist/_typedoc/Checkbox/Checkbox.types.json +9 -9
  109. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  110. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  111. package/dist/_typedoc/DateSelect/DateSelect.types.json +13 -13
  112. package/dist/_typedoc/DetailPage/DetailPage.types.json +4 -4
  113. package/dist/_typedoc/Dropdown/Dropdown.types.json +37 -37
  114. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +29 -29
  115. package/dist/_typedoc/Dropzone/Dropzone.types.json +41 -41
  116. package/dist/_typedoc/EmptyState/EmptyState.types.json +14 -14
  117. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  118. package/dist/_typedoc/FileSelect/FileSelect.types.json +26 -26
  119. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  120. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  121. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  122. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  123. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  124. package/dist/_typedoc/Form/Form.types.json +726 -726
  125. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  126. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +52 -52
  127. package/dist/_typedoc/Input/Input.types.json +2 -2
  128. package/dist/_typedoc/Link/Link.types.json +4 -4
  129. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  130. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  131. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +74 -74
  132. package/dist/_typedoc/Modal/Modal.types.json +41 -41
  133. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +31 -31
  134. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  135. package/dist/_typedoc/NumberInput/NumberInput.types.json +38 -38
  136. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +31 -31
  137. package/dist/_typedoc/PageLayout/PageLayout.types.json +22 -22
  138. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  139. package/dist/_typedoc/Panel/Panel.types.json +27 -27
  140. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  141. package/dist/_typedoc/PillSelect/PillSelect.types.json +47 -47
  142. package/dist/_typedoc/Popover/Popover.types.json +14 -14
  143. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +6 -6
  144. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  145. package/dist/_typedoc/Required/Required.types.json +5 -5
  146. package/dist/_typedoc/Search/Search.types.json +18 -18
  147. package/dist/_typedoc/Section/Section.types.json +14 -14
  148. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +20 -20
  149. package/dist/_typedoc/Select/Select.types.json +57 -57
  150. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  151. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  152. package/dist/_typedoc/Switch/Switch.types.json +3 -3
  153. package/dist/_typedoc/Table/Table.types.json +97 -97
  154. package/dist/_typedoc/Tabs/Tabs.types.json +17 -17
  155. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +16 -16
  156. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  157. package/dist/_typedoc/TextEditor/TextEditor.types.json +9 -9
  158. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  159. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  160. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +42 -42
  161. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +28 -28
  162. package/dist/_typedoc/Tile/Tile.types.json +30 -30
  163. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  164. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +3 -3
  165. package/dist/_typedoc/Token/Token.types.json +4 -4
  166. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  167. package/dist/_typedoc/Tooltip/Tooltip.types.json +13 -13
  168. package/dist/_typedoc/Tree/Tree.types.json +86 -86
  169. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  170. package/dist/_typedoc/Typography/Typography.types.json +8 -8
  171. package/dist/_typedoc/_utils/types.json +3 -3
  172. package/dist/index.d.ts +1 -0
  173. package/dist/index.js +1 -0
  174. package/dist/index.js.map +1 -1
  175. package/package.json +2 -2
  176. package/tsconfig.prod.json +7 -1
  177. package/dist/FileSelect/SourceItem/SourceItem.test.js +0 -53
  178. package/dist/MultiSelect/MultiSelect.test.js +0 -250
  179. package/dist/OverlayTrigger/OverlayTrigger.test.js +0 -483
  180. package/dist/SuperSelect/SuperSelect.utils.test.js +0 -717
  181. package/dist/SuperSelect/useSuperSelect.test.js +0 -1284
  182. package/dist/_hooks/OverflowObserver/OverflowObserver.test.js +0 -110
  183. package/dist/_hooks/__tests__/Anchor.test.js +0 -109
  184. package/dist/_hooks/__tests__/BoundingRect.test.js +0 -85
  185. package/dist/_hooks/__tests__/Buffer.test.js +0 -76
  186. package/dist/_hooks/__tests__/DateTime.test.js +0 -136
  187. package/dist/_hooks/__tests__/DelayedCallback.test.js +0 -119
  188. package/dist/_hooks/__tests__/DelayedToggle.test.js +0 -50
  189. package/dist/_hooks/__tests__/Deprecation.test.js +0 -58
  190. package/dist/_hooks/__tests__/Event.test.js +0 -46
  191. package/dist/_hooks/__tests__/EventListener.test.js +0 -124
  192. package/dist/_hooks/__tests__/Hotkey.test.js +0 -18
  193. package/dist/_hooks/__tests__/InjectedScript.test.js +0 -80
  194. package/dist/_hooks/__tests__/ListNavigation.test.js +0 -101
  195. package/dist/_hooks/__tests__/TextEntry.test.js +0 -92
  196. package/dist/_hooks/__tests__/Timer.test.js +0 -60
  197. package/dist/_hooks/__tests__/Trigger.test.js +0 -52
  198. package/dist/_hooks/__tests__/Visibility.test.js +0 -86
  199. package/dist/_hooks/__tests__/ZIndex.test.js +0 -76
  200. package/dist/_utils/__tests__/CalendarHelpers.test.js +0 -64
  201. package/dist/_utils/__tests__/filename.test.js +0 -27
  202. package/dist/_utils/__tests__/getAnchorPosition.test.js +0 -250
  203. package/dist/_utils/__tests__/mergeRefs.test.js +0 -58
  204. package/dist/_utils/__tests__/slotify.test.js +0 -152
@@ -27,22 +27,22 @@ export function getSearchInputStyles() {
27
27
  }
28
28
  export var StyledInput = /*#__PURE__*/styled.input.withConfig({
29
29
  displayName: "StyledInput",
30
- componentId: "core-11_25_1__sc-3j8khv-0"
30
+ componentId: "core-11_25_2__sc-3j8khv-0"
31
31
  })(["", ""], getSearchInputStyles);
32
32
  var StyledButton = /*#__PURE__*/styled(Button).withConfig({
33
33
  displayName: "StyledButton",
34
- componentId: "core-11_25_1__sc-3j8khv-1"
34
+ componentId: "core-11_25_2__sc-3j8khv-1"
35
35
  })(["position:absolute;top:", "px;"], buttonTop);
36
36
  export var StyledSearchButton = /*#__PURE__*/styled(StyledButton).withConfig({
37
37
  displayName: "StyledSearchButton",
38
- componentId: "core-11_25_1__sc-3j8khv-2"
38
+ componentId: "core-11_25_2__sc-3j8khv-2"
39
39
  })([""]);
40
40
  export var StyledClearButton = /*#__PURE__*/styled(StyledButton).withConfig({
41
41
  displayName: "StyledClearButton",
42
- componentId: "core-11_25_1__sc-3j8khv-3"
42
+ componentId: "core-11_25_2__sc-3j8khv-3"
43
43
  })([""]);
44
44
  export var StyledSearch = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledSearch",
46
- componentId: "core-11_25_1__sc-3j8khv-4"
46
+ componentId: "core-11_25_2__sc-3j8khv-4"
47
47
  })(["position:relative;width:100%;", "{padding-right:", "px;}", "{right:", "px;}", "{right:", "px;}"], StyledInput, inputRight, StyledSearchButton, searchRight, StyledClearButton, clearRight);
48
48
  //# sourceMappingURL=Search.styles.js.map
@@ -5,11 +5,11 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledSectionInner = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledSectionInner",
8
- componentId: "core-11_25_1__sc-1lxbrwv-0"
8
+ componentId: "core-11_25_2__sc-1lxbrwv-0"
9
9
  })([""]);
10
10
  export var StyledSectionCollapseHeading = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledSectionCollapseHeading",
12
- componentId: "core-11_25_1__sc-1lxbrwv-1"
12
+ componentId: "core-11_25_2__sc-1lxbrwv-1"
13
13
  })(["align-self:flex-start;margin-right:", "px;"], spacing.sm);
14
14
  export var sectionClassnames = {
15
15
  divide: 'section--divide',
@@ -20,11 +20,11 @@ export var sectionClassnames = {
20
20
  };
21
21
  export var StyledSection = /*#__PURE__*/styled.div.withConfig({
22
22
  displayName: "StyledSection",
23
- componentId: "core-11_25_1__sc-1lxbrwv-2"
23
+ componentId: "core-11_25_2__sc-1lxbrwv-2"
24
24
  })(["padding-left:", "px;padding-right:", "px;padding-bottom:", "px;& > ", "{padding-top:", "px;}&.", "{& > ", "{border-top:1px solid ", ";}}&:first-child > ", "{border-top:0;}& &{padding-left:0;padding-right:0;&:first-child > ", "{border-top:1px solid ", ";}&:last-child{padding-bottom:0;}}", ":last-of-type{margin-bottom:", "px;}", " + &&&{padding-top:", "px;}"], spacing.xl, spacing.xl, spacing.xl, StyledSectionInner, spacing.xl, sectionClassnames.divide, StyledSectionInner, colors.gray85, StyledSectionInner, StyledSectionInner, colors.gray85, StyledFormRow, spacing.xl * -1, StyledFormRow, spacing.xs);
25
25
  export var StyledSectionContentRegion = /*#__PURE__*/styled.div.withConfig({
26
26
  displayName: "StyledSectionContentRegion",
27
- componentId: "core-11_25_1__sc-1lxbrwv-3"
27
+ componentId: "core-11_25_2__sc-1lxbrwv-3"
28
28
  })(["padding-top:20px;padding-bottom:", "px;", " ", " & > :not(", ") + ", "{padding-top:", "px;}", " ", " &:last-of-type{padding-bottom:0;}"], spacing.sm, function (_ref) {
29
29
  var $closed = _ref.$closed;
30
30
  return $closed && css(["padding-top:0;padding-bottom:0;"]);
@@ -34,10 +34,10 @@ export var StyledSectionContentRegion = /*#__PURE__*/styled.div.withConfig({
34
34
  }, StyledSection, StyledSection, spacing.xl, StyledSection, StyledSection);
35
35
  export var StyledSectionHeader = /*#__PURE__*/styled.div.withConfig({
36
36
  displayName: "StyledSectionHeader",
37
- componentId: "core-11_25_1__sc-1lxbrwv-4"
37
+ componentId: "core-11_25_2__sc-1lxbrwv-4"
38
38
  })(["align-items:center;display:flex;min-height:36px;word-break:break-word;"]);
39
39
  export var StyledTitle = /*#__PURE__*/styled(Title).withConfig({
40
40
  displayName: "StyledTitle",
41
- componentId: "core-11_25_1__sc-1lxbrwv-5"
41
+ componentId: "core-11_25_2__sc-1lxbrwv-5"
42
42
  })(["width:100%;"]);
43
43
  //# sourceMappingURL=Section.styles.js.map
@@ -5,7 +5,7 @@ import { colors } from '../_styles/colors';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
7
7
  displayName: "StyledContainer",
8
- componentId: "core-11_25_1__sc-ocai3-0"
8
+ componentId: "core-11_25_2__sc-ocai3-0"
9
9
  })(["align-items:center;display:", ";height:36px;justify-content:center;width:", ";"], function (_ref) {
10
10
  var block = _ref.block;
11
11
  return block ? 'flex' : 'inline-flex';
@@ -15,7 +15,7 @@ export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
15
15
  });
16
16
  export var StyledSegment = /*#__PURE__*/styled.label.withConfig({
17
17
  displayName: "StyledSegment",
18
- componentId: "core-11_25_1__sc-ocai3-1"
18
+ componentId: "core-11_25_2__sc-ocai3-1"
19
19
  })(["align-items:center;border-radius:0;border:1px solid ", ";cursor:pointer;display:flex;flex:1 1 auto;height:100%;justify-content:center;min-width:0;outline:0;padding:0 ", "px;position:relative;background-color:", ";color:", ";&:hover{background-color:", ";border-color:", ";color:", ";}", " ", ";"], colors.gray85, spacing.md, colors.white, colors.gray45, colors.gray94, colors.gray85, colors.gray45, function (_ref3) {
20
20
  var _ref3$$focused = _ref3.$focused,
21
21
  $focused = _ref3$$focused === void 0 ? false : _ref3$$focused;
@@ -37,10 +37,10 @@ export var StyledSegment = /*#__PURE__*/styled.label.withConfig({
37
37
  });
38
38
  export var StyledSegmentDisabledInteractiveWrapper = /*#__PURE__*/styled.div.withConfig({
39
39
  displayName: "StyledSegmentDisabledInteractiveWrapper",
40
- componentId: "core-11_25_1__sc-ocai3-2"
40
+ componentId: "core-11_25_2__sc-ocai3-2"
41
41
  })(["display:flex;flex:1 1 auto;min-width:0;height:100%;margin-right:-1px;&:first-child ", "{border-bottom-left-radius:", "px;border-top-left-radius:", "px;}&:last-child ", "{border-bottom-right-radius:", "px;border-top-right-radius:", "px;}"], StyledSegment, borderRadius.md, borderRadius.md, StyledSegment, borderRadius.md, borderRadius.md);
42
42
  export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
43
43
  displayName: "StyledLabel",
44
- componentId: "core-11_25_1__sc-ocai3-3"
44
+ componentId: "core-11_25_2__sc-ocai3-3"
45
45
  })(["", ";display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"], getTypographyIntent('body'));
46
46
  //# sourceMappingURL=SegmentedController.styles.js.map
@@ -16,34 +16,34 @@ export var tableSelectClassName = 'select--table';
16
16
  var styledSelectButtonDefaultWidth = 248;
17
17
  export var StyledSelectMenu = /*#__PURE__*/styled(Card).withConfig({
18
18
  displayName: "StyledSelectMenu",
19
- componentId: "core-11_25_1__sc-mr8gwe-0"
19
+ componentId: "core-11_25_2__sc-mr8gwe-0"
20
20
  })(["display:flex;max-height:40vh;max-width:", "px;min-width:inherit;"], styledSelectButtonDefaultWidth);
21
21
  export var StyledSelectButtonLabel = /*#__PURE__*/styled.div.withConfig({
22
22
  displayName: "StyledSelectButtonLabel",
23
- componentId: "core-11_25_1__sc-mr8gwe-1"
23
+ componentId: "core-11_25_2__sc-mr8gwe-1"
24
24
  })(["", " flex-grow:1;margin-right:", "px;outline:none;pointer-events:", ";user-select:none;"], getEllipsis(), spacing.sm, function (_ref) {
25
25
  var $hoverable = _ref.$hoverable;
26
26
  return $hoverable ? 'initial' : 'none';
27
27
  });
28
28
  export var StyledSelectSpinner = /*#__PURE__*/styled.div.withConfig({
29
29
  displayName: "StyledSelectSpinner",
30
- componentId: "core-11_25_1__sc-mr8gwe-2"
30
+ componentId: "core-11_25_2__sc-mr8gwe-2"
31
31
  })(["align-items:center;display:flex;flex:0 0 auto;justify-content:center;line-height:0;"]);
32
32
  export var StyledSelectArrowContainer = /*#__PURE__*/styled.div.withConfig({
33
33
  displayName: "StyledSelectArrowContainer",
34
- componentId: "core-11_25_1__sc-mr8gwe-3"
34
+ componentId: "core-11_25_2__sc-mr8gwe-3"
35
35
  })(["align-items:center;display:inline-flex;height:16px;justify-content:flex-end;margin-left:", "px;width:8px;"], spacing.sm);
36
36
  export var StyledSelectArrow = /*#__PURE__*/styled.div.withConfig({
37
37
  displayName: "StyledSelectArrow",
38
- componentId: "core-11_25_1__sc-mr8gwe-4"
38
+ componentId: "core-11_25_2__sc-mr8gwe-4"
39
39
  })(["position:relative;", ""], arrowDown(4, 'gray45'));
40
40
  export var StyledSelectClearIcon = /*#__PURE__*/styled(Button).withConfig({
41
41
  displayName: "StyledSelectClearIcon",
42
- componentId: "core-11_25_1__sc-mr8gwe-5"
42
+ componentId: "core-11_25_2__sc-mr8gwe-5"
43
43
  })([""]);
44
44
  export var StyledSelectButton = /*#__PURE__*/styled.div.withConfig({
45
45
  displayName: "StyledSelectButton",
46
- componentId: "core-11_25_1__sc-mr8gwe-6"
46
+ componentId: "core-11_25_2__sc-mr8gwe-6"
47
47
  })(["", " 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,&:focus,&[data-qa=", "]{", " ", "{stroke:", ";}}", " ", " ", " ", " ", " &.", "{", " ", " ", "}"], getTypographyIntent('body'), colors.white, colors.gray70, borderRadius.md, colors.gray15, spacing.md, function (_ref2) {
48
48
  var $block = _ref2.$block;
49
49
  return $block ? '100%' : "".concat(styledSelectButtonDefaultWidth, "px");
@@ -12,7 +12,12 @@ export declare const H6: React.ForwardRefExoticComponent<HeadingProps & React.Re
12
12
  */
13
13
  export declare function getHeadingComponent(level: string | number): React.ForwardRefExoticComponent<HeadingProps>;
14
14
  export declare const P: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
15
- export declare const UL: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLUListElement> & React.RefAttributes<HTMLUListElement>>;
15
+ export declare const UL: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLOListElement | HTMLUListElement> & {
16
+ listStyleType?: string | undefined;
17
+ } & React.RefAttributes<HTMLUListElement>>;
18
+ export declare const OL: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLOListElement | HTMLUListElement> & {
19
+ listStyleType?: string | undefined;
20
+ } & React.RefAttributes<HTMLOListElement>>;
16
21
  export declare const Label: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLLabelElement> & {
17
22
  htmlFor?: string | undefined;
18
23
  block?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
2
  import React from 'react';
3
- import { StyledH1, StyledH2, StyledH3, StyledLabel, StyledP, StyledUL } from './Semantic.styles';
3
+ import { StyledH1, StyledH2, StyledH3, StyledLabel, StyledOL, StyledP, StyledUL } from './Semantic.styles';
4
4
  export var H1 = /*#__PURE__*/React.forwardRef(function H1(props, ref) {
5
5
  return /*#__PURE__*/React.createElement(StyledH1, _extends({}, props, {
6
6
  ref: ref
@@ -75,6 +75,11 @@ export var UL = /*#__PURE__*/React.forwardRef(function UL(props, ref) {
75
75
  ref: ref
76
76
  }));
77
77
  });
78
+ export var OL = /*#__PURE__*/React.forwardRef(function OL(props, ref) {
79
+ return /*#__PURE__*/React.createElement(StyledOL, _extends({}, props, {
80
+ ref: ref
81
+ }));
82
+ });
78
83
  export var Label = /*#__PURE__*/React.forwardRef(function Label(props, ref) {
79
84
  return /*#__PURE__*/React.createElement(StyledLabel, _extends({}, props, {
80
85
  ref: ref
@@ -85,5 +90,6 @@ H2.displayName = 'H2';
85
90
  H3.displayName = 'H3';
86
91
  P.displayName = 'P';
87
92
  UL.displayName = 'UL';
93
+ OL.displayName = 'OL';
88
94
  Label.displayName = 'Label';
89
95
  //# sourceMappingURL=Semantic.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Semantic.js","names":["React","StyledH1","StyledH2","StyledH3","StyledLabel","StyledP","StyledUL","H1","forwardRef","props","ref","createElement","_extends","H2","H3","H4","as","H5","style","fontSize","H6","UnknownHeading","levelToComponent","getHeadingComponent","level","String","P","UL","Label","displayName"],"sources":["../../src/Semantic/Semantic.tsx"],"sourcesContent":["import React from 'react'\nimport {\n StyledH1,\n StyledH2,\n StyledH3,\n StyledLabel,\n StyledP,\n StyledUL,\n} from './Semantic.styles'\nimport type { HeadingProps } from './Semantic.types'\n\nexport const H1 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H1(props, ref) {\n return <StyledH1 {...props} ref={ref} />\n }\n)\n\nexport const H2 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H2(props, ref) {\n return <StyledH2 {...props} ref={ref} />\n }\n)\n\nexport const H3 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H3(props, ref) {\n return <StyledH3 {...props} ref={ref} />\n }\n)\n\nexport const H4 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H4(props, ref) {\n return <H3 as=\"h4\" {...props} ref={ref} />\n }\n)\n\nexport const H5 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H5(props, ref) {\n return <H3 as=\"h5\" style={{ fontSize: '90%' }} {...props} ref={ref} />\n }\n)\n\nexport const H6 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H6(props, ref) {\n return <H3 as=\"h6\" style={{ fontSize: '85%' }} {...props} ref={ref} />\n }\n)\n\nconst UnknownHeading = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function UnknownHeading(props, ref) {\n return <strong {...props} ref={ref} />\n }\n)\n\nconst levelToComponent = {\n '1': H1,\n '2': H2,\n '3': H3,\n '4': H4,\n '5': H5,\n '6': H6,\n}\n\n/**\n * @param level 1 - 6\n * @returns H1 - H6 component\n */\nexport function getHeadingComponent(\n level: string | number\n): React.ForwardRefExoticComponent<HeadingProps> {\n // @ts-ignore\n return levelToComponent[String(level)] || UnknownHeading\n}\n\nexport const P = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(function P(props, ref) {\n return <StyledP {...props} ref={ref} />\n})\n\nexport const UL = React.forwardRef<\n HTMLUListElement,\n React.HTMLAttributes<HTMLUListElement>\n>(function UL(props, ref) {\n return <StyledUL {...props} ref={ref} />\n})\n\nexport const Label = React.forwardRef<\n HTMLLabelElement,\n React.HTMLAttributes<HTMLLabelElement> & { htmlFor?: string; block?: boolean }\n>(function Label(props, ref) {\n return <StyledLabel {...props} ref={ref} />\n})\n\nH1.displayName = 'H1'\n\nH2.displayName = 'H2'\n\nH3.displayName = 'H3'\n\nP.displayName = 'P'\n\nUL.displayName = 'UL'\n\nLabel.displayName = 'Label'\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SACEC,QAAQ,EACRC,QAAQ,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CAGhC,SAASmB,EAAEA,CAAClB,KAAK,EAAEC,GAAG,EAAE;EACxB,oBAAOV,KAAA,CAAAW,aAAA,CAACL,QAAQ,EAAAM,QAAA,KAAKH,KAAK;IAAEC,GAAG,EAAEA;EAAI,EAAE,CAAC;AAC1C,CAAC,CAAC;AAEF,OAAO,IAAMkB,KAAK,gBAAG5B,KAAK,CAACQ,UAAU,CAGnC,SAASoB,KAAKA,CAACnB,KAAK,EAAEC,GAAG,EAAE;EAC3B,oBAAOV,KAAA,CAAAW,aAAA,CAACP,WAAW,EAAAQ,QAAA,KAAKH,KAAK;IAAEC,GAAG,EAAEA;EAAI,EAAE,CAAC;AAC7C,CAAC,CAAC;AAEFH,EAAE,CAACsB,WAAW,GAAG,IAAI;AAErBhB,EAAE,CAACgB,WAAW,GAAG,IAAI;AAErBf,EAAE,CAACe,WAAW,GAAG,IAAI;AAErBH,CAAC,CAACG,WAAW,GAAG,GAAG;AAEnBF,EAAE,CAACE,WAAW,GAAG,IAAI;AAErBD,KAAK,CAACC,WAAW,GAAG,OAAO"}
1
+ {"version":3,"file":"Semantic.js","names":["React","StyledH1","StyledH2","StyledH3","StyledLabel","StyledOL","StyledP","StyledUL","H1","forwardRef","props","ref","createElement","_extends","H2","H3","H4","as","H5","style","fontSize","H6","UnknownHeading","levelToComponent","getHeadingComponent","level","String","P","UL","OL","Label","displayName"],"sources":["../../src/Semantic/Semantic.tsx"],"sourcesContent":["import React from 'react'\nimport type { StyledListProps } from './Semantic.styles'\nimport {\n StyledH1,\n StyledH2,\n StyledH3,\n StyledLabel,\n StyledOL,\n StyledP,\n StyledUL,\n} from './Semantic.styles'\nimport type { HeadingProps } from './Semantic.types'\n\nexport const H1 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H1(props, ref) {\n return <StyledH1 {...props} ref={ref} />\n }\n)\n\nexport const H2 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H2(props, ref) {\n return <StyledH2 {...props} ref={ref} />\n }\n)\n\nexport const H3 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H3(props, ref) {\n return <StyledH3 {...props} ref={ref} />\n }\n)\n\nexport const H4 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H4(props, ref) {\n return <H3 as=\"h4\" {...props} ref={ref} />\n }\n)\n\nexport const H5 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H5(props, ref) {\n return <H3 as=\"h5\" style={{ fontSize: '90%' }} {...props} ref={ref} />\n }\n)\n\nexport const H6 = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function H6(props, ref) {\n return <H3 as=\"h6\" style={{ fontSize: '85%' }} {...props} ref={ref} />\n }\n)\n\nconst UnknownHeading = React.forwardRef<HTMLHeadingElement, HeadingProps>(\n function UnknownHeading(props, ref) {\n return <strong {...props} ref={ref} />\n }\n)\n\nconst levelToComponent = {\n '1': H1,\n '2': H2,\n '3': H3,\n '4': H4,\n '5': H5,\n '6': H6,\n}\n\n/**\n * @param level 1 - 6\n * @returns H1 - H6 component\n */\nexport function getHeadingComponent(\n level: string | number\n): React.ForwardRefExoticComponent<HeadingProps> {\n // @ts-ignore\n return levelToComponent[String(level)] || UnknownHeading\n}\n\nexport const P = React.forwardRef<\n HTMLParagraphElement,\n React.HTMLAttributes<HTMLParagraphElement>\n>(function P(props, ref) {\n return <StyledP {...props} ref={ref} />\n})\n\nexport const UL = React.forwardRef<HTMLUListElement, StyledListProps>(\n function UL(props, ref) {\n return <StyledUL {...props} ref={ref} />\n }\n)\n\nexport const OL = React.forwardRef<HTMLOListElement, StyledListProps>(\n function OL(props, ref) {\n return <StyledOL {...props} ref={ref} />\n }\n)\n\nexport const Label = React.forwardRef<\n HTMLLabelElement,\n React.HTMLAttributes<HTMLLabelElement> & { htmlFor?: string; block?: boolean }\n>(function Label(props, ref) {\n return <StyledLabel {...props} ref={ref} />\n})\n\nH1.displayName = 'H1'\n\nH2.displayName = 'H2'\n\nH3.displayName = 'H3'\n\nP.displayName = 'P'\n\nUL.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,QAAA,KAAKH,KAAK;IAAEC,GAAG,EAAEA;EAAI,EAAE,CAAC;AACzC,CAAC,CAAC;AAEF,OAAO,IAAMiB,EAAE,gBAAG5B,KAAK,CAACS,UAAU,CAChC,SAASmB,EAAEA,CAAClB,KAAK,EAAEC,GAAG,EAAE;EACtB,oBAAOX,KAAA,CAAAY,aAAA,CAACL,QAAQ,EAAAM,QAAA,KAAKH,KAAK;IAAEC,GAAG,EAAEA;EAAI,EAAE,CAAC;AAC1C,CACF,CAAC;AAED,OAAO,IAAMkB,EAAE,gBAAG7B,KAAK,CAACS,UAAU,CAChC,SAASoB,EAAEA,CAACnB,KAAK,EAAEC,GAAG,EAAE;EACtB,oBAAOX,KAAA,CAAAY,aAAA,CAACP,QAAQ,EAAAQ,QAAA,KAAKH,KAAK;IAAEC,GAAG,EAAEA;EAAI,EAAE,CAAC;AAC1C,CACF,CAAC;AAED,OAAO,IAAMmB,KAAK,gBAAG9B,KAAK,CAACS,UAAU,CAGnC,SAASqB,KAAKA,CAACpB,KAAK,EAAEC,GAAG,EAAE;EAC3B,oBAAOX,KAAA,CAAAY,aAAA,CAACR,WAAW,EAAAS,QAAA,KAAKH,KAAK;IAAEC,GAAG,EAAEA;EAAI,EAAE,CAAC;AAC7C,CAAC,CAAC;AAEFH,EAAE,CAACuB,WAAW,GAAG,IAAI;AAErBjB,EAAE,CAACiB,WAAW,GAAG,IAAI;AAErBhB,EAAE,CAACgB,WAAW,GAAG,IAAI;AAErBJ,CAAC,CAACI,WAAW,GAAG,GAAG;AAEnBH,EAAE,CAACG,WAAW,GAAG,IAAI;AAErBF,EAAE,CAACE,WAAW,GAAG,IAAI;AAErBD,KAAK,CAACC,WAAW,GAAG,OAAO"}
@@ -1,14 +1,24 @@
1
- /// <reference types="react" />
1
+ import type React from 'react';
2
2
  import type { TypographyProps } from '../Typography';
3
+ export declare type StyledListProps = React.HTMLAttributes<HTMLUListElement | HTMLOListElement> & {
4
+ listStyleType?: string;
5
+ };
3
6
  export declare const StyledH1: import("styled-components").StyledComponent<"h1", any, {}, never>;
4
7
  export declare const StyledH2: import("styled-components").StyledComponent<"h2", any, {}, never>;
5
8
  export declare const StyledH3: import("styled-components").StyledComponent<"h3", any, {}, never>;
6
9
  /** Small icons align with font and line height */
7
10
  export declare function getSmallIconBodyTextRules(): import("styled-components").FlattenSimpleInterpolation;
8
11
  export declare const StyledP: import("styled-components").StyledComponent<"p", any, {}, never>;
9
- export declare const StyledUL: import("styled-components").StyledComponent<"ul", any, {}, never>;
10
- export declare const StyledLabel: import("styled-components").StyledComponent<"span", any, import("../Typography/Typography.styles").StyledTypographyProps & Partial<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
11
- ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
12
+ export declare const StyledUL: import("styled-components").StyledComponent<"ul", any, React.HTMLAttributes<HTMLOListElement | HTMLUListElement> & {
13
+ listStyleType?: string | undefined;
14
+ }, never>;
15
+ export declare const StyledOL: import("styled-components").StyledComponent<"ul", any, React.HTMLAttributes<HTMLOListElement | HTMLUListElement> & {
16
+ listStyleType?: string | undefined;
17
+ } & {
18
+ as: string;
19
+ }, "as">;
20
+ export declare const StyledLabel: import("styled-components").StyledComponent<"span", any, import("../Typography/Typography.styles").StyledTypographyProps & Partial<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
21
+ ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
12
22
  } & TypographyProps> & {
13
23
  [others: string]: any;
14
24
  }, string | number>;
@@ -5,18 +5,18 @@ 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_25_1__sc-172j5qh-0"
8
+ componentId: "core-11_25_2__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_25_1__sc-172j5qh-1"
12
+ componentId: "core-11_25_2__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_25_1__sc-172j5qh-2"
16
+ componentId: "core-11_25_2__sc-172j5qh-2"
17
17
  })(["color:", ";", " margin:0;"], colors.gray15, getTypographyIntent('h3'));
18
18
  var topMarginRules = function topMarginRules() {
19
- return css(["& + &,p + &,ul + &{margin-top:", "px;}"], spacing.lg);
19
+ return css(["& + &,p + &,ol + &,ul + &{margin-top:", "px;}"], spacing.lg);
20
20
  };
21
21
 
22
22
  // Should this be on Typography? body | label
@@ -28,12 +28,22 @@ export function getSmallIconBodyTextRules() {
28
28
  }
29
29
  export var StyledP = /*#__PURE__*/styled.p.withConfig({
30
30
  displayName: "StyledP",
31
- componentId: "core-11_25_1__sc-172j5qh-3"
31
+ componentId: "core-11_25_2__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_25_1__sc-172j5qh-4"
36
- })(["color:", ";margin:0;padding:0;", " ", " padding-left:", "px;& > li{list-style-type:disc;}"], colors.gray15, getTypographyIntent('body'), topMarginRules, spacing.lg);
35
+ componentId: "core-11_25_2__sc-172j5qh-4"
36
+ })(["color:", ";margin:0;padding:0;", " ", " padding-left:", "px;list-style-type:", ";"], colors.gray15, getTypographyIntent('body'), topMarginRules, spacing.lg, function (props) {
37
+ return props.listStyleType || 'disc';
38
+ });
39
+ export var StyledOL = /*#__PURE__*/styled(StyledUL).attrs({
40
+ as: 'ol'
41
+ }).withConfig({
42
+ displayName: "StyledOL",
43
+ componentId: "core-11_25_2__sc-172j5qh-5"
44
+ })(["list-style-type:", ";"], function (props) {
45
+ return props.listStyleType || 'decimal';
46
+ });
37
47
  function enforceLabelTypography(props) {
38
48
  return {
39
49
  as: props.as || 'label',
@@ -42,7 +52,7 @@ function enforceLabelTypography(props) {
42
52
  }
43
53
  export var StyledLabel = /*#__PURE__*/styled(StyledTypography).attrs(enforceLabelTypography).withConfig({
44
54
  displayName: "StyledLabel",
45
- componentId: "core-11_25_1__sc-172j5qh-5"
55
+ componentId: "core-11_25_2__sc-172j5qh-6"
46
56
  })(["", " ", " > ", "{margin-left:", "px;vertical-align:top;}"], function (_ref) {
47
57
  var _ref$block = _ref.block,
48
58
  block = _ref$block === void 0 ? false : _ref$block;
@@ -60,7 +70,7 @@ export function getUnstyledButton() {
60
70
  */
61
71
  export var StyledUnstyledButton = /*#__PURE__*/styled.button.withConfig({
62
72
  displayName: "StyledUnstyledButton",
63
- componentId: "core-11_25_1__sc-172j5qh-6"
73
+ componentId: "core-11_25_2__sc-172j5qh-7"
64
74
  })(["", ""], getUnstyledButton);
65
75
 
66
76
  /**
@@ -68,6 +78,6 @@ export var StyledUnstyledButton = /*#__PURE__*/styled.button.withConfig({
68
78
  */
69
79
  export var StyledAnchor = /*#__PURE__*/styled.a.withConfig({
70
80
  displayName: "StyledAnchor",
71
- componentId: "core-11_25_1__sc-172j5qh-7"
81
+ componentId: "core-11_25_2__sc-172j5qh-8"
72
82
  })([""]);
73
83
  //# sourceMappingURL=Semantic.styles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Semantic.styles.js","names":["styled","css","StyledRequiredContainer","getTypographyIntent","semiboldRules","StyledTypography","colors","spacing","StyledH1","h1","withConfig","displayName","componentId","gray15","StyledH2","h2","StyledH3","h3","topMarginRules","lg","getSmallIconBodyTextRules","space","xs","spaceWhenTouch","sm","StyledP","p","StyledUL","ul","enforceLabelTypography","props","as","intent","StyledLabel","attrs","_ref","_ref$block","block","getUnstyledButton","StyledUnstyledButton","button","StyledAnchor","a"],"sources":["../../src/Semantic/Semantic.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { StyledRequiredContainer } from '../Required/Required.styles'\nimport type { TypographyProps } from '../Typography'\nimport {\n getTypographyIntent,\n semiboldRules,\n StyledTypography,\n} from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { spacing } from '../_styles/spacing'\n\nexport const StyledH1 = styled.h1`\n color: ${colors.gray15};\n ${getTypographyIntent('h1')}\n margin: 0;\n`\nexport const StyledH2 = styled.h2`\n color: ${colors.gray15};\n ${getTypographyIntent('h2')}\n margin: 0;\n`\nexport const StyledH3 = styled.h3`\n color: ${colors.gray15};\n ${getTypographyIntent('h3')}\n margin: 0;\n`\n\nconst topMarginRules = () => {\n return css`\n & + &,\n p + &,\n ul + & {\n margin-top: ${spacing.lg}px;\n }\n `\n}\n\n// Should this be on Typography? body | label\n/** Small icons align with font and line height */\nexport function getSmallIconBodyTextRules() {\n const space = spacing.xs\n const spaceWhenTouch = spacing.sm\n\n return css`\n & > [data-qa^='ci'] {\n height: 16px;\n width: 16px;\n vertical-align: middle;\n margin-left: ${space}px;\n\n &[tabindex='0'] {\n margin-left: ${spaceWhenTouch}px;\n }\n\n &:first-child {\n margin-left: 0;\n margin-right: ${space}px;\n vertical-align: sub;\n\n &[tabindex='0'] {\n margin-right: ${spaceWhenTouch}px;\n }\n }\n }\n `\n}\n\nexport const StyledP = styled.p`\n color: ${colors.gray15};\n ${getTypographyIntent('body')}\n ${topMarginRules}\n ${semiboldRules}\n`\nexport const StyledUL = styled.ul`\n color: ${colors.gray15};\n margin: 0;\n padding: 0;\n ${getTypographyIntent('body')}\n ${topMarginRules}\n\n padding-left: ${spacing.lg}px;\n\n & > li {\n list-style-type: disc;\n }\n`\n\nfunction enforceLabelTypography(props: TypographyProps) {\n return {\n as: props.as || 'label',\n intent: 'label',\n }\n}\n\nexport const StyledLabel = styled(StyledTypography).attrs(\n enforceLabelTypography\n)`\n ${({ block = false }) => block && `display: block;`}\n ${getSmallIconBodyTextRules}\n\n > ${StyledRequiredContainer} {\n margin-left: ${spacing.xs}px;\n vertical-align: top;\n }\n`\n\n/**\n * An unstyled `button`, browser reset\n */\nexport function getUnstyledButton() {\n return css`\n border: none;\n background: none;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n padding: 0;\n text-transform: none;\n -webkit-appearance: button;\n `\n}\n/**\n * An unstyled `button`, browser reset\n */\nexport const StyledUnstyledButton = styled.button`\n ${getUnstyledButton}\n`\n\n/**\n * An a styled component a\n */\nexport const StyledAnchor = styled.a``\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,uBAAuB,QAAQ,6BAA6B;AAErE,SACEC,mBAAmB,EACnBC,aAAa,EACbC,gBAAgB,QACX,iCAAiC;AACxC,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,OAAO,IAAMC,QAAQ,gBAAGR,MAAM,CAACS,EAAE,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kCACtBN,MAAM,CAACO,MAAM,EACpBV,mBAAmB,CAAC,IAAI,CAAC,CAE5B;AACD,OAAO,IAAMW,QAAQ,gBAAGd,MAAM,CAACe,EAAE,CAAAL,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kCACtBN,MAAM,CAACO,MAAM,EACpBV,mBAAmB,CAAC,IAAI,CAAC,CAE5B;AACD,OAAO,IAAMa,QAAQ,gBAAGhB,MAAM,CAACiB,EAAE,CAAAP,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,kCACtBN,MAAM,CAACO,MAAM,EACpBV,mBAAmB,CAAC,IAAI,CAAC,CAE5B;AAED,IAAMe,cAAc,GAAG,SAAjBA,cAAcA,CAAA,EAAS;EAC3B,O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;EAClC,OAAOrC,GAAG;AAWZ;AACA;AACA;AACA;AACA,OAAO,IAAMsC,oBAAoB,gBAAGvC,MAAM,CAACwC,MAAM,CAAA9B,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,aAC7C0B,iBAAiB,CACpB;;AAED;AACA;AACA;AACA,OAAO,IAAMG,YAAY,gBAAGzC,MAAM,CAAC0C,CAAC,CAAAhC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,QAAE"}
1
+ {"version":3,"file":"Semantic.styles.js","names":["styled","css","StyledRequiredContainer","getTypographyIntent","semiboldRules","StyledTypography","colors","spacing","StyledH1","h1","withConfig","displayName","componentId","gray15","StyledH2","h2","StyledH3","h3","topMarginRules","lg","getSmallIconBodyTextRules","space","xs","spaceWhenTouch","sm","StyledP","p","StyledUL","ul","props","listStyleType","StyledOL","attrs","as","enforceLabelTypography","intent","StyledLabel","_ref","_ref$block","block","getUnstyledButton","StyledUnstyledButton","button","StyledAnchor","a"],"sources":["../../src/Semantic/Semantic.styles.ts"],"sourcesContent":["import type React from 'react'\nimport styled, { css } from 'styled-components'\nimport { StyledRequiredContainer } from '../Required/Required.styles'\nimport type { TypographyProps } from '../Typography'\nimport {\n getTypographyIntent,\n semiboldRules,\n StyledTypography,\n} from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { spacing } from '../_styles/spacing'\n\nexport type StyledListProps = React.HTMLAttributes<\n HTMLUListElement | HTMLOListElement\n> & {\n listStyleType?: string\n}\n\nexport const StyledH1 = styled.h1`\n color: ${colors.gray15};\n ${getTypographyIntent('h1')}\n margin: 0;\n`\nexport const StyledH2 = styled.h2`\n color: ${colors.gray15};\n ${getTypographyIntent('h2')}\n margin: 0;\n`\nexport const StyledH3 = styled.h3`\n color: ${colors.gray15};\n ${getTypographyIntent('h3')}\n margin: 0;\n`\n\nconst topMarginRules = () => {\n return css`\n & + &,\n p + &,\n ol + &,\n ul + & {\n margin-top: ${spacing.lg}px;\n }\n `\n}\n\n// Should this be on Typography? body | label\n/** Small icons align with font and line height */\nexport function getSmallIconBodyTextRules() {\n const space = spacing.xs\n const spaceWhenTouch = spacing.sm\n\n return css`\n & > [data-qa^='ci'] {\n height: 16px;\n width: 16px;\n vertical-align: middle;\n margin-left: ${space}px;\n\n &[tabindex='0'] {\n margin-left: ${spaceWhenTouch}px;\n }\n\n &:first-child {\n margin-left: 0;\n margin-right: ${space}px;\n vertical-align: sub;\n\n &[tabindex='0'] {\n margin-right: ${spaceWhenTouch}px;\n }\n }\n }\n `\n}\n\nexport const StyledP = styled.p`\n color: ${colors.gray15};\n ${getTypographyIntent('body')}\n ${topMarginRules}\n ${semiboldRules}\n`\n\nexport const StyledUL = styled.ul<StyledListProps>`\n color: ${colors.gray15};\n margin: 0;\n padding: 0;\n ${getTypographyIntent('body')}\n ${topMarginRules}\n padding-left: ${spacing.lg}px;\n list-style-type: ${(props) => props.listStyleType || 'disc'};\n`\n\nexport const StyledOL = styled(StyledUL).attrs({ as: 'ol' })<StyledListProps>`\n list-style-type: ${(props) => props.listStyleType || 'decimal'};\n`\n\nfunction enforceLabelTypography(props: TypographyProps) {\n return {\n as: props.as || 'label',\n intent: 'label',\n }\n}\n\nexport const StyledLabel = styled(StyledTypography).attrs(\n enforceLabelTypography\n)`\n ${({ block = false }) => block && `display: block;`}\n ${getSmallIconBodyTextRules}\n\n > ${StyledRequiredContainer} {\n margin-left: ${spacing.xs}px;\n vertical-align: top;\n }\n`\n\n/**\n * An unstyled `button`, browser reset\n */\nexport function getUnstyledButton() {\n return css`\n border: none;\n background: none;\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n padding: 0;\n text-transform: none;\n -webkit-appearance: button;\n `\n}\n/**\n * An unstyled `button`, browser reset\n */\nexport const StyledUnstyledButton = styled.button`\n ${getUnstyledButton}\n`\n\n/**\n * An a styled component a\n */\nexport const StyledAnchor = styled.a``\n"],"mappings":"AACA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;A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O,IAAMG,YAAY,gBAAG3C,MAAM,CAAC4C,CAAC,CAAAlC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,QAAE"}
@@ -1 +1 @@
1
- export { H1, H2, H3, Label, P, UL } from './Semantic';
1
+ export { H1, H2, H3, Label, OL, P, UL } from './Semantic';
@@ -1,2 +1,2 @@
1
- export { H1, H2, H3, Label, P, UL } from './Semantic';
1
+ export { H1, H2, H3, Label, OL, P, UL } from './Semantic';
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["H1","H2","H3","Label","P","UL"],"sources":["../../src/Semantic/index.ts"],"sourcesContent":["export { H1, H2, H3, Label, P, UL } from './Semantic'\n"],"mappings":"AAAA,SAASA,EAAE,EAAEC,EAAE,EAAEC,EAAE,EAAEC,KAAK,EAAEC,CAAC,EAAEC,EAAE,QAAQ,YAAY"}
1
+ {"version":3,"file":"index.js","names":["H1","H2","H3","Label","OL","P","UL"],"sources":["../../src/Semantic/index.ts"],"sourcesContent":["export { H1, H2, H3, Label, OL, P, UL } from './Semantic'\n"],"mappings":"AAAA,SAASA,EAAE,EAAEC,EAAE,EAAEC,EAAE,EAAEC,KAAK,EAAEC,EAAE,EAAEC,CAAC,EAAEC,EAAE,QAAQ,YAAY"}
@@ -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_25_1__sc-60uplo-0"
7
+ componentId: "core-11_25_2__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_25_1__sc-60uplo-1"
11
+ componentId: "core-11_25_2__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_25_1__sc-60uplo-2"
15
+ componentId: "core-11_25_2__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_25_1__sc-60uplo-3"
19
+ componentId: "core-11_25_2__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_25_1__sc-60uplo-4"
23
+ componentId: "core-11_25_2__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_25_1__sc-60uplo-5"
27
+ componentId: "core-11_25_2__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_25_1__sc-60uplo-6"
31
+ componentId: "core-11_25_2__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_25_1__sc-12icguw-0"
24
+ componentId: "core-11_25_2__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_25_1__sc-12icguw-1"
30
+ componentId: "core-11_25_2__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_25_1__sc-12icguw-2"
48
+ componentId: "core-11_25_2__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_25_1__sc-12icguw-3"
52
+ componentId: "core-11_25_2__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_25_1__sc-12icguw-4"
56
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-0"
13
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-1"
46
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-2"
50
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-3"
55
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-4"
63
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-5"
67
+ componentId: "core-11_25_2__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_25_1__sc-1igww3-6"
71
+ componentId: "core-11_25_2__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_25_1__sc-y5qv7b-0"
6
+ componentId: "core-11_25_2__sc-y5qv7b-0"
7
7
  })(["padding:", "px ", "px;"], spacing.sm, spacing.lg);
8
8
  //# sourceMappingURL=SuperSelect.presets.styles.js.map