@procore/core-react 12.48.0 → 12.48.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 (216) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/AnchorNavigation/AnchorNavigation.styles.js +4 -4
  3. package/dist/Avatar/Avatar.styles.js +5 -5
  4. package/dist/AvatarStack/AvatarStack.styles.js +7 -7
  5. package/dist/Badge/Badge.d.ts +19 -0
  6. package/dist/Badge/Badge.js +20 -0
  7. package/dist/Badge/Badge.js.map +1 -1
  8. package/dist/Badge/Badge.styles.js +2 -2
  9. package/dist/BadgePill/BadgePill.styles.js +4 -4
  10. package/dist/Banner/Banner.styles.js +10 -10
  11. package/dist/Box/Box.styles.js +1 -1
  12. package/dist/Breadcrumbs/Breadcrumbs.styles.js +4 -4
  13. package/dist/Button/Button.styles.js +5 -5
  14. package/dist/Calendar/Calendar.styles.js +9 -9
  15. package/dist/Card/Card.styles.js +1 -1
  16. package/dist/Checkbox/Checkbox.styles.js +7 -7
  17. package/dist/Checkbox/Checkbox.styles.js.map +1 -1
  18. package/dist/ContactItem/ContactItem.styles.js +5 -5
  19. package/dist/Content/Content.styles.js +2 -2
  20. package/dist/DateInput/DateInput.styles.js +6 -6
  21. package/dist/DetailPage/DetailPage.styles.js +7 -7
  22. package/dist/Dropdown/Dropdown.styles.js +3 -3
  23. package/dist/DropdownFlyout/DropdownFlyout.styles.js +4 -4
  24. package/dist/Dropzone/Dropzone.js +1 -1
  25. package/dist/Dropzone/Dropzone.styles.js +9 -9
  26. package/dist/EmptyState/EmptyState.styles.js +6 -6
  27. package/dist/Field/Field.styles.js +3 -3
  28. package/dist/FileList/FileList.js +4 -0
  29. package/dist/FileList/FileList.js.map +1 -1
  30. package/dist/FileList/FileList.styles.js +3 -3
  31. package/dist/FileList/storybook/fileListMockData.js +14 -14
  32. package/dist/FileList/storybook/fileListMockData.js.map +1 -1
  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 +6 -6
  44. package/dist/FilterToken/FilterToken.styles.js +5 -5
  45. package/dist/FlexList/FlexList.styles.js +1 -1
  46. package/dist/Form/Form.styles.js +13 -13
  47. package/dist/Form/StyledFormikForm.styles.js +2 -2
  48. package/dist/GhostPlaceholder/GhostPlaceholder.styles.js +2 -2
  49. package/dist/Grid/Grid.styles.js +2 -2
  50. package/dist/GroupSelect/GroupSelect.styles.js +1 -1
  51. package/dist/Input/Input.styles.js +1 -1
  52. package/dist/Link/Link.styles.js +1 -1
  53. package/dist/ListPage/ListPage.d.ts +25 -1
  54. package/dist/ListPage/ListPage.js +25 -1
  55. package/dist/ListPage/ListPage.js.map +1 -1
  56. package/dist/ListPage/ListPage.styles.js +8 -8
  57. package/dist/Loader/Loader.styles.js +2 -2
  58. package/dist/MenuImperative/MenuImperative.styles.js +11 -11
  59. package/dist/Modal/Modal.styles.js +13 -13
  60. package/dist/MultiSelect/MultiSelect.styles.js +8 -8
  61. package/dist/NextMenu/NextMenu.styles.js +3 -3
  62. package/dist/NextTile/NextTile.styles.js +5 -5
  63. package/dist/Notation/Notation.js +1 -1
  64. package/dist/NumberInput/NumberInput.styles.js +7 -7
  65. package/dist/Overlay/OverlayArrow.styles.js +1 -1
  66. package/dist/PageLayout/PageLayout.styles.js +16 -16
  67. package/dist/PageTemplate/PageFooterTemplate/PageFooterTemplate.styles.js +1 -1
  68. package/dist/PageTemplate/PageHeaderTemplate/PageHeaderTemplate.styles.js +3 -3
  69. package/dist/PageTemplate/PagePaneTemplate/PagePaneTemplate.styles.js +2 -2
  70. package/dist/PageTemplate/PageTemplate/PageTemplate.styles.js +3 -3
  71. package/dist/Pagination/Pagination.js +2 -1
  72. package/dist/Pagination/Pagination.js.map +1 -1
  73. package/dist/Pagination/Pagination.styles.js +5 -5
  74. package/dist/Pagination/PaginationSelect.js +15 -2
  75. package/dist/Pagination/PaginationSelect.js.map +1 -1
  76. package/dist/Panel/Panel.styles.js +11 -11
  77. package/dist/Pill/Pill.styles.js +3 -3
  78. package/dist/PillSelect/PillSelect.styles.js +4 -4
  79. package/dist/Popover/Popover.js +2 -3
  80. package/dist/Popover/Popover.js.map +1 -1
  81. package/dist/Popover/Popover.styles.js +2 -2
  82. package/dist/Popover/Popover.types.d.ts +4 -3
  83. package/dist/Popover/Popover.types.js.map +1 -1
  84. package/dist/Portal/Portal.styles.js +1 -1
  85. package/dist/ProgressBar/ProgressBar.styles.js +2 -2
  86. package/dist/RadioButton/RadioButton.styles.js +3 -3
  87. package/dist/Required/Required.styles.js +3 -3
  88. package/dist/Search/Search.styles.js +5 -5
  89. package/dist/Section/Section.styles.js +7 -7
  90. package/dist/SegmentedController/SegmentedController.styles.js +4 -4
  91. package/dist/Select/Select.styles.js +8 -8
  92. package/dist/Semantic/Semantic.styles.js +9 -9
  93. package/dist/Slider/Slider.styles.js +5 -5
  94. package/dist/Spinner/Spinner.styles.js +8 -8
  95. package/dist/Spinner/Spinner.styles.js.map +1 -1
  96. package/dist/SplitViewCard/SplitViewCard.styles.js +8 -8
  97. package/dist/SuperSelect/SuperSelect.presets.styles.js +1 -1
  98. package/dist/SuperSelect/SuperSelect.styles.js +40 -40
  99. package/dist/Switch/Switch.styles.js +5 -5
  100. package/dist/Switch/Switch.styles.js.map +1 -1
  101. package/dist/Table/Table.styles.js +29 -29
  102. package/dist/TableShelf/TableShelf.styles.js +5 -5
  103. package/dist/Tabs/Tabs.styles.js +16 -16
  104. package/dist/Tearsheet/Tearsheet.styles.js +5 -5
  105. package/dist/TextArea/TextArea.styles.js +1 -1
  106. package/dist/TextEditorOutput/TextEditorOutput.styles.js +1 -1
  107. package/dist/Thumbnail/Thumbnail.styles.js +21 -21
  108. package/dist/ThumbnailGrid/ThumbnailGrid.styles.js +7 -7
  109. package/dist/TieredSelect/TieredSelect.styles.js +9 -9
  110. package/dist/Tile/Tile.styles.js +8 -8
  111. package/dist/Title/Title.styles.js +7 -7
  112. package/dist/Toast/Toast.styles.js +3 -3
  113. package/dist/ToggleButton/ToggleButton.styles.js +5 -3
  114. package/dist/ToggleButton/ToggleButton.styles.js.map +1 -1
  115. package/dist/Token/Token.styles.js +5 -5
  116. package/dist/ToolHeader/ToolHeader.d.ts +34 -5
  117. package/dist/ToolHeader/ToolHeader.js +34 -5
  118. package/dist/ToolHeader/ToolHeader.js.map +1 -1
  119. package/dist/ToolHeader/ToolHeader.styles.js +6 -6
  120. package/dist/ToolLandingPage/ToolLandingPage.styles.js +3 -3
  121. package/dist/Tooltip/Tooltip.styles.js +3 -3
  122. package/dist/Tree/Tree.js +1 -1
  123. package/dist/Tree/Tree.styles.js +10 -10
  124. package/dist/Typeahead/Typeahead.styles.js +3 -3
  125. package/dist/Typography/Typography.styles.js +1 -1
  126. package/dist/Typography/Typography.table.story.js +2 -2
  127. package/dist/_storyHelpers_/components/Deprecation.styles.js +1 -1
  128. package/dist/_storyHelpers_/components/StoryGrid.js +3 -3
  129. package/dist/_typedoc/AnchorNavigation/AnchorNavigation.types.json +4 -4
  130. package/dist/_typedoc/Avatar/Avatar.types.json +20 -20
  131. package/dist/_typedoc/AvatarStack/AvatarStack.types.json +25 -25
  132. package/dist/_typedoc/Badge/Badge.json +9 -0
  133. package/dist/_typedoc/Badge/Badge.types.json +6 -6
  134. package/dist/_typedoc/Banner/Banner.types.json +15 -15
  135. package/dist/_typedoc/Box/Box.types.json +68 -68
  136. package/dist/_typedoc/Breadcrumbs/Breadcrumbs.types.json +10 -10
  137. package/dist/_typedoc/Button/Button.types.json +14 -14
  138. package/dist/_typedoc/Calendar/Calendar.types.json +80 -80
  139. package/dist/_typedoc/Card/Card.types.json +6 -6
  140. package/dist/_typedoc/Checkbox/Checkbox.types.json +8 -8
  141. package/dist/_typedoc/ContactItem/ContactItem.types.json +9 -9
  142. package/dist/_typedoc/DateInput/DateInput.types.json +35 -35
  143. package/dist/_typedoc/DateSelect/DateSelect.types.json +14 -14
  144. package/dist/_typedoc/DetailPage/DetailPage.types.json +5 -5
  145. package/dist/_typedoc/Dropdown/Dropdown.types.json +38 -38
  146. package/dist/_typedoc/DropdownFlyout/DropdownFlyout.types.json +31 -31
  147. package/dist/_typedoc/Dropzone/Dropzone.types.json +44 -44
  148. package/dist/_typedoc/EmptyState/EmptyState.types.json +18 -18
  149. package/dist/_typedoc/FileList/FileList.types.json +9 -9
  150. package/dist/_typedoc/FileSelect/FileSelect.types.json +27 -27
  151. package/dist/_typedoc/FileSelect/GridSource/GridSource.types.json +20 -20
  152. package/dist/_typedoc/FileSelect/LocalSource/LocalSource.types.json +14 -14
  153. package/dist/_typedoc/FileSelect/TreeSource/TreeSource.types.json +9 -9
  154. package/dist/_typedoc/Flex/Flex.types.json +27 -27
  155. package/dist/_typedoc/FlexList/FlexList.types.json +30 -30
  156. package/dist/_typedoc/Form/Form.types.json +762 -762
  157. package/dist/_typedoc/GhostPlaceholder/GhostPlaceholder.types.json +12 -12
  158. package/dist/_typedoc/Grid/Grid.types.json +8 -8
  159. package/dist/_typedoc/GroupSelect/GroupSelect.types.json +54 -54
  160. package/dist/_typedoc/Input/Input.types.json +2 -2
  161. package/dist/_typedoc/Link/Link.types.json +1 -1
  162. package/dist/_typedoc/ListPage/ListPage.json +2 -2
  163. package/dist/_typedoc/ListPage/ListPage.types.json +13 -13
  164. package/dist/_typedoc/Menu/Menu.types.json +62 -62
  165. package/dist/_typedoc/MenuImperative/MenuImperative.types.json +84 -84
  166. package/dist/_typedoc/Modal/Modal.types.json +48 -48
  167. package/dist/_typedoc/MultiSelect/MultiSelect.types.json +33 -33
  168. package/dist/_typedoc/NextTile/NextTile.types.json +33 -33
  169. package/dist/_typedoc/Notation/Notation.types.json +4 -4
  170. package/dist/_typedoc/NumberInput/NumberInput.types.json +48 -48
  171. package/dist/_typedoc/OverlayTrigger/OverlayTrigger.types.json +33 -33
  172. package/dist/_typedoc/PageLayout/PageLayout.types.json +28 -28
  173. package/dist/_typedoc/Pagination/Pagination.types.json +7 -7
  174. package/dist/_typedoc/Panel/Panel.types.json +28 -28
  175. package/dist/_typedoc/Pill/Pill.types.json +2 -2
  176. package/dist/_typedoc/PillSelect/PillSelect.types.json +49 -49
  177. package/dist/_typedoc/Popover/Popover.types.json +19 -19
  178. package/dist/_typedoc/ProgressBar/ProgressBar.types.json +7 -7
  179. package/dist/_typedoc/RadioButton/RadioButton.types.json +6 -6
  180. package/dist/_typedoc/Required/Required.types.json +5 -5
  181. package/dist/_typedoc/Search/Search.types.json +18 -18
  182. package/dist/_typedoc/Section/Section.types.json +15 -15
  183. package/dist/_typedoc/SegmentedController/SegmentedController.types.json +21 -21
  184. package/dist/_typedoc/Select/Select.types.json +67 -67
  185. package/dist/_typedoc/SettingsPage/SettingsPage.types.json +10 -10
  186. package/dist/_typedoc/Slider/Slider.types.json +6 -6
  187. package/dist/_typedoc/Spinner/Spinner.types.json +9 -9
  188. package/dist/_typedoc/SplitViewCard/SplitViewCard.types.json +14 -14
  189. package/dist/_typedoc/Table/Table.types.json +105 -105
  190. package/dist/_typedoc/Tabs/Tabs.types.json +21 -21
  191. package/dist/_typedoc/Tearsheet/Tearsheet.types.json +17 -17
  192. package/dist/_typedoc/TextArea/TextArea.types.json +3 -3
  193. package/dist/_typedoc/TextEditor/TextEditor.types.json +11 -11
  194. package/dist/_typedoc/TextEditorOutput/TextEditorOutput.types.json +4 -4
  195. package/dist/_typedoc/Thumbnail/Thumbnail.types.json +19 -19
  196. package/dist/_typedoc/TieredDropdown/TieredDropdown.types.json +43 -43
  197. package/dist/_typedoc/TieredSelect/TieredSelect.types.json +29 -29
  198. package/dist/_typedoc/Tile/Tile.types.json +8 -8
  199. package/dist/_typedoc/Title/Title.types.json +1 -1
  200. package/dist/_typedoc/Toast/Toast.types.json +4 -4
  201. package/dist/_typedoc/ToggleButton/ToggleButton.types.json +4 -4
  202. package/dist/_typedoc/Token/Token.types.json +7 -7
  203. package/dist/_typedoc/ToolHeader/ToolHeader.json +2 -2
  204. package/dist/_typedoc/ToolHeader/ToolHeader.types.json +10 -10
  205. package/dist/_typedoc/ToolLandingPage/ToolLandingPage.types.json +8 -8
  206. package/dist/_typedoc/Tooltip/Tooltip.types.json +15 -15
  207. package/dist/_typedoc/Tree/Tree.types.json +88 -88
  208. package/dist/_typedoc/Typeahead/Typeahead.types.json +2 -2
  209. package/dist/_typedoc/Typography/Typography.types.json +9 -9
  210. package/dist/_typedoc/_utils/types.json +3 -3
  211. package/dist/_typedoc/a11y-tips.json +1 -1
  212. package/dist/_typedoc/deprecations.json +1 -1
  213. package/dist/_utils/propsTypedoc.d.ts +1 -0
  214. package/dist/_utils/propsTypedoc.js +1 -0
  215. package/dist/_utils/propsTypedoc.js.map +1 -1
  216. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Change Log
2
2
 
3
+ ## 12.48.2
4
+
5
+ ### Patch Changes
6
+
7
+ - fb530a8: Updated Checkbox border color from `gray70` to `gray50` to have sufficient contrast
8
+ - b4352e3: Updated Switcher background color from `gray70` to `gray50` to have sufficient contrast
9
+
10
+ ## 12.48.1
11
+
12
+ ### Patch Changes
13
+
14
+ - c50454b: `Pagination` adding `aria-live="polite"` and `aria-atomic="true"` so screen readers announce the updated range when the page changes.
15
+ - e453bd7: Close `Pagination` dropdown on blur
16
+ - 9bc1a2d: `FileList` download links now include the HTML `download` attribute so clicking the per-item download icon (and the "Download All" button) saves the file instead of opening it in the same tab. Note: browsers still ignore `download` on cross-origin URLs unless the server sends `Content-Disposition: attachment`. Fix incorrect role and make it `role="link"`
17
+ - 935ca17: Darken default `Spinner` variant color from `gray60` to `gray50`
18
+ - b66f590: `ToggleButton` add focus outline and selected state border ring
19
+ - a5c30a5: `Popover` default `restoreFocusOnHide` to `true` when `role="dialog"` so focus returns to the trigger on dismiss (WCAG 2.4.3)
20
+
3
21
  ## 12.48.0
4
22
 
5
23
  ### Minor Changes
@@ -5,15 +5,15 @@ import { getEllipsis } from '../_styles/mixins';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledAnchorNavigationLandmark = /*#__PURE__*/styled.nav.withConfig({
7
7
  displayName: "StyledAnchorNavigationLandmark",
8
- componentId: "core-12_48_0__sc-aacdj4-0"
8
+ componentId: "core-12_48_2__sc-aacdj4-0"
9
9
  })([""]);
10
10
  export var StyledAnchorNavigation = /*#__PURE__*/styled.ul.withConfig({
11
11
  displayName: "StyledAnchorNavigation",
12
- componentId: "core-12_48_0__sc-aacdj4-1"
12
+ componentId: "core-12_48_2__sc-aacdj4-1"
13
13
  })(["max-width:200px;margin:0;padding-inline-start:0;"]);
14
14
  export var StyledAnchorSection = /*#__PURE__*/styled.li.withConfig({
15
15
  displayName: "StyledAnchorSection",
16
- componentId: "core-12_48_0__sc-aacdj4-2"
16
+ componentId: "core-12_48_2__sc-aacdj4-2"
17
17
  })(["display:flex;cursor:pointer;border-left:", "px solid ", ";background-color:", ";border-top-right-radius:4px;border-bottom-right-radius:4px;:hover{border-left:", "px solid ", ";background-color:", ";}"], spacing.xs, function (_ref) {
18
18
  var $selected = _ref.$selected;
19
19
  return $selected ? colors.gray15 : colors.gray90;
@@ -26,7 +26,7 @@ export var StyledAnchorSection = /*#__PURE__*/styled.li.withConfig({
26
26
  }, colors.gray90);
27
27
  export var StyledAnchor = /*#__PURE__*/styled.a.withConfig({
28
28
  displayName: "StyledAnchor",
29
- componentId: "core-12_48_0__sc-aacdj4-3"
29
+ componentId: "core-12_48_2__sc-aacdj4-3"
30
30
  })(["box-sizing:border-box;display:block;flex:1;min-width:0;width:100%;padding:6px ", "px;color:inherit;text-decoration:none;&:visited{color:inherit;}", " ", ";", " :focus-visible{box-shadow:inset 0 0 0 2px ", ";outline:none;}"], spacing.sm, getTypographyIntent('body'), function (_ref4) {
31
31
  var $selected = _ref4.$selected;
32
32
  return $selected ? css(["font-weight:600;"]) : '';
@@ -28,26 +28,26 @@ var iconSize = {
28
28
  };
29
29
  export var StyledAvatarOverlay = /*#__PURE__*/styled.div.withConfig({
30
30
  displayName: "StyledAvatarOverlay",
31
- componentId: "core-12_48_0__sc-7q2ydl-0"
31
+ componentId: "core-12_48_2__sc-7q2ydl-0"
32
32
  })(["width:100%;height:100%;position:absolute;top:0;left:0;border-radius:100%;opacity:0;"]);
33
33
  export var StyledIconContainer = /*#__PURE__*/styled.div.withConfig({
34
34
  displayName: "StyledIconContainer",
35
- componentId: "core-12_48_0__sc-7q2ydl-1"
35
+ componentId: "core-12_48_2__sc-7q2ydl-1"
36
36
  })(["display:inline-flex;"]);
37
37
  export var StyledLabelContainer = /*#__PURE__*/styled.div.withConfig({
38
38
  displayName: "StyledLabelContainer",
39
- componentId: "core-12_48_0__sc-7q2ydl-2"
39
+ componentId: "core-12_48_2__sc-7q2ydl-2"
40
40
  })(["text-transform:uppercase;"]);
41
41
  export var StyledPortraitContainer = /*#__PURE__*/styled.div.withConfig({
42
42
  displayName: "StyledPortraitContainer",
43
- componentId: "core-12_48_0__sc-7q2ydl-3"
43
+ componentId: "core-12_48_2__sc-7q2ydl-3"
44
44
  })(["background-color:", ";background-position:center;background-repeat:no-repeat;background-size:cover;height:100%;width:100%;", ""], colors.white, function (_ref) {
45
45
  var $imageUrl = _ref.$imageUrl;
46
46
  return css(["background-image:url(", ");"], $imageUrl);
47
47
  });
48
48
  export var StyledAvatarContainer = /*#__PURE__*/styled.div.withConfig({
49
49
  displayName: "StyledAvatarContainer",
50
- componentId: "core-12_48_0__sc-7q2ydl-4"
50
+ componentId: "core-12_48_2__sc-7q2ydl-4"
51
51
  })(["display:inline-flex;justify-content:center;align-items:center;border-radius:100%;overflow:hidden;position:relative;cursor:default;color:", ";background-color:", ";text-decoration:none;a:has(> &){text-decoration:none;}&:focus{", "}a:focus:has(> &){", " border-radius:100%;}", " ", ";"], colors.white, colors.gray30, getGapOutlineFocus('outside'), getGapOutlineFocus('outside'), function (_ref2) {
52
52
  var _ref2$$size = _ref2.$size,
53
53
  $size = _ref2$$size === void 0 ? 'md' : _ref2$$size;
@@ -7,32 +7,32 @@ import { spacing } from '../_styles/spacing';
7
7
  var maxModalWidth = 528;
8
8
  var StyledBaseAvatar = /*#__PURE__*/styled(Avatar).withConfig({
9
9
  displayName: "StyledBaseAvatar",
10
- componentId: "core-12_48_0__sc-ft72hu-0"
10
+ componentId: "core-12_48_2__sc-ft72hu-0"
11
11
  })(["border-color:", ";border-style:solid;border-width:1px;&:hover{z-index:1;}"], colors.white);
12
12
  export var StyledAvatar = /*#__PURE__*/styled(StyledBaseAvatar).withConfig({
13
13
  displayName: "StyledAvatar",
14
- componentId: "core-12_48_0__sc-ft72hu-1"
14
+ componentId: "core-12_48_2__sc-ft72hu-1"
15
15
  })(["background-color:", ";"], function (props) {
16
16
  return colors[props.$color];
17
17
  });
18
18
  export var StyledContactItems = /*#__PURE__*/styled.div.withConfig({
19
19
  displayName: "StyledContactItems",
20
- componentId: "core-12_48_0__sc-ft72hu-2"
20
+ componentId: "core-12_48_2__sc-ft72hu-2"
21
21
  })(["padding-top:", "px;padding-bottom:", "px;padding-left:", "px;"], spacing.sm, spacing.sm, spacing.xs);
22
22
  export var StyledWrapper = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledWrapper",
24
- componentId: "core-12_48_0__sc-ft72hu-3"
24
+ componentId: "core-12_48_2__sc-ft72hu-3"
25
25
  })(["display:flex;", " + ", "{margin-left:-", "px;}"], StyledAvatar, StyledAvatar, spacing.sm);
26
26
  export var StyledViewAllWrapper = /*#__PURE__*/styled.div.withConfig({
27
27
  displayName: "StyledViewAllWrapper",
28
- componentId: "core-12_48_0__sc-ft72hu-4"
28
+ componentId: "core-12_48_2__sc-ft72hu-4"
29
29
  })(["display:flex;margin-left:", "px;margin-bottom:", "px;"], spacing.md, spacing.lg);
30
30
  export var StyledModalBody = /*#__PURE__*/styled(Modal.Body).withConfig({
31
31
  displayName: "StyledModalBody",
32
- componentId: "core-12_48_0__sc-ft72hu-5"
32
+ componentId: "core-12_48_2__sc-ft72hu-5"
33
33
  })(["max-width:", "px;"], maxModalWidth);
34
34
  export var StyledContactItem = /*#__PURE__*/styled(ContactItem).withConfig({
35
35
  displayName: "StyledContactItem",
36
- componentId: "core-12_48_0__sc-ft72hu-6"
36
+ componentId: "core-12_48_2__sc-ft72hu-6"
37
37
  })(["flex-shrink:0;"]);
38
38
  //# sourceMappingURL=AvatarStack.styles.js.map
@@ -1,5 +1,24 @@
1
1
  import React from 'react';
2
2
  import type { BadgeLabelProps, BadgeProps } from './Badge.types';
3
+ /**
4
+ * @deprecated Overlay status badges are replaced by inline `Pill` for clearer hierarchy and consistent design-system styling.
5
+ *
6
+ * BEFORE
7
+ * ```tsx
8
+ * <Badge>
9
+ * <span>Label Example</span>
10
+ * <Badge.Label>New</Badge.Label>
11
+ * </Badge>
12
+ * ```
13
+ *
14
+ * AFTER
15
+ * ```tsx
16
+ * <span>Label Example</span>
17
+ * <Pill color="blue">New</Pill>
18
+ * ```
19
+ *
20
+ * @deprecatedSince 11.0.0
21
+ */
3
22
  export declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLDivElement>> & {
4
23
  Label: React.ForwardRefExoticComponent<BadgeLabelProps & React.RefAttributes<HTMLSpanElement>>;
5
24
  };
@@ -14,6 +14,26 @@ var Label = /*#__PURE__*/React.forwardRef(function (props, ref) {
14
14
  });
15
15
  Badge_.displayName = 'Badge';
16
16
  Label.displayName = 'Badge.Label';
17
+
18
+ /**
19
+ * @deprecated Overlay status badges are replaced by inline `Pill` for clearer hierarchy and consistent design-system styling.
20
+ *
21
+ * BEFORE
22
+ * ```tsx
23
+ * <Badge>
24
+ * <span>Label Example</span>
25
+ * <Badge.Label>New</Badge.Label>
26
+ * </Badge>
27
+ * ```
28
+ *
29
+ * AFTER
30
+ * ```tsx
31
+ * <span>Label Example</span>
32
+ * <Pill color="blue">New</Pill>
33
+ * ```
34
+ *
35
+ * @deprecatedSince 11.0.0
36
+ */
17
37
  export var Badge = addSubcomponents({
18
38
  Label: Label
19
39
  }, Badge_);
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.js","names":["React","addSubcomponents","StyledBadge","StyledBadgeLabel","Badge_","forwardRef","props","ref","createElement","_extends","Label","displayName","Badge"],"sources":["../../src/Badge/Badge.tsx"],"sourcesContent":["import React from 'react'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { StyledBadge, StyledBadgeLabel } from './Badge.styles'\nimport type { BadgeLabelProps, BadgeProps } from './Badge.types'\n\nconst Badge_ = React.forwardRef<HTMLDivElement, BadgeProps>((props, ref) => {\n return <StyledBadge ref={ref} {...props} />\n})\n\nconst Label = React.forwardRef<HTMLSpanElement, BadgeLabelProps>(\n (props, ref) => {\n return <StyledBadgeLabel ref={ref} {...props} />\n }\n)\n\nBadge_.displayName = 'Badge'\n\nLabel.displayName = 'Badge.Label'\n\nexport const Badge = addSubcomponents(\n {\n Label,\n },\n Badge_\n)\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,gBAAgB;AAG9D,IAAMC,MAAM,gBAAGJ,KAAK,CAACK,UAAU,CAA6B,UAACC,KAAK,EAAEC,GAAG,EAAK;EAC1E,oBAAOP,KAAA,CAAAQ,aAAA,CAACN,WAAW,EAAAO,QAAA;IAACF,GAAG,EAAEA;EAAI,GAAKD,KAAK,CAAG,CAAC;AAC7C,CAAC,CAAC;AAEF,IAAMI,KAAK,gBAAGV,KAAK,CAACK,UAAU,CAC5B,UAACC,KAAK,EAAEC,GAAG,EAAK;EACd,oBAAOP,KAAA,CAAAQ,aAAA,CAACL,gBAAgB,EAAAM,QAAA;IAACF,GAAG,EAAEA;EAAI,GAAKD,KAAK,CAAG,CAAC;AAClD,CACF,CAAC;AAEDF,MAAM,CAACO,WAAW,GAAG,OAAO;AAE5BD,KAAK,CAACC,WAAW,GAAG,aAAa;AAEjC,OAAO,IAAMC,KAAK,GAAGX,gBAAgB,CACnC;EACES,KAAK,EAALA;AACF,CAAC,EACDN,MACF,CAAC"}
1
+ {"version":3,"file":"Badge.js","names":["React","addSubcomponents","StyledBadge","StyledBadgeLabel","Badge_","forwardRef","props","ref","createElement","_extends","Label","displayName","Badge"],"sources":["../../src/Badge/Badge.tsx"],"sourcesContent":["import React from 'react'\nimport { addSubcomponents } from '../_utils/addSubcomponents'\nimport { StyledBadge, StyledBadgeLabel } from './Badge.styles'\nimport type { BadgeLabelProps, BadgeProps } from './Badge.types'\n\nconst Badge_ = React.forwardRef<HTMLDivElement, BadgeProps>((props, ref) => {\n return <StyledBadge ref={ref} {...props} />\n})\n\nconst Label = React.forwardRef<HTMLSpanElement, BadgeLabelProps>(\n (props, ref) => {\n return <StyledBadgeLabel ref={ref} {...props} />\n }\n)\n\nBadge_.displayName = 'Badge'\n\nLabel.displayName = 'Badge.Label'\n\n/**\n * @deprecated Overlay status badges are replaced by inline `Pill` for clearer hierarchy and consistent design-system styling.\n *\n * BEFORE\n * ```tsx\n * <Badge>\n * <span>Label Example</span>\n * <Badge.Label>New</Badge.Label>\n * </Badge>\n * ```\n *\n * AFTER\n * ```tsx\n * <span>Label Example</span>\n * <Pill color=\"blue\">New</Pill>\n * ```\n *\n * @deprecatedSince 11.0.0\n */\nexport const Badge = addSubcomponents(\n {\n Label,\n },\n Badge_\n)\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,gBAAgB,QAAQ,4BAA4B;AAC7D,SAASC,WAAW,EAAEC,gBAAgB,QAAQ,gBAAgB;AAG9D,IAAMC,MAAM,gBAAGJ,KAAK,CAACK,UAAU,CAA6B,UAACC,KAAK,EAAEC,GAAG,EAAK;EAC1E,oBAAOP,KAAA,CAAAQ,aAAA,CAACN,WAAW,EAAAO,QAAA;IAACF,GAAG,EAAEA;EAAI,GAAKD,KAAK,CAAG,CAAC;AAC7C,CAAC,CAAC;AAEF,IAAMI,KAAK,gBAAGV,KAAK,CAACK,UAAU,CAC5B,UAACC,KAAK,EAAEC,GAAG,EAAK;EACd,oBAAOP,KAAA,CAAAQ,aAAA,CAACL,gBAAgB,EAAAM,QAAA;IAACF,GAAG,EAAEA;EAAI,GAAKD,KAAK,CAAG,CAAC;AAClD,CACF,CAAC;AAEDF,MAAM,CAACO,WAAW,GAAG,OAAO;AAE5BD,KAAK,CAACC,WAAW,GAAG,aAAa;;AAEjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,IAAMC,KAAK,GAAGX,gBAAgB,CACnC;EACES,KAAK,EAALA;AACF,CAAC,EACDN,MACF,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import styled from 'styled-components';
2
2
  export var StyledBadge = /*#__PURE__*/styled.div.withConfig({
3
3
  displayName: "StyledBadge",
4
- componentId: "core-12_48_0__sc-rpertu-0"
4
+ componentId: "core-12_48_2__sc-rpertu-0"
5
5
  })(["display:inline-block;position:relative;"]);
6
6
  export var StyledBadgeLabel = /*#__PURE__*/styled.span.withConfig({
7
7
  displayName: "StyledBadgeLabel",
8
- componentId: "core-12_48_0__sc-rpertu-1"
8
+ componentId: "core-12_48_2__sc-rpertu-1"
9
9
  })(["bottom:100%;position:absolute;right:0;transform:translateX(50%) translateY(50%);"]);
10
10
  //# sourceMappingURL=Badge.styles.js.map
@@ -3,11 +3,11 @@ import { getTypographyIntent } from '../Typography';
3
3
  import { colors } from '../_styles/colors';
4
4
  export var StyledBadgeContainer = /*#__PURE__*/styled.div.withConfig({
5
5
  displayName: "StyledBadgeContainer",
6
- componentId: "core-12_48_0__sc-s2n9gd-0"
6
+ componentId: "core-12_48_2__sc-s2n9gd-0"
7
7
  })(["display:inline-flex;position:relative;"]);
8
8
  export var StyledBadgeContent = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "StyledBadgeContent",
10
- componentId: "core-12_48_0__sc-s2n9gd-1"
10
+ componentId: "core-12_48_2__sc-s2n9gd-1"
11
11
  })(["position:relative;", " ", " pointer-events:none;user-select:none;"], function (_ref) {
12
12
  var $overlapping = _ref.$overlapping,
13
13
  _ref$$xOffset = _ref.$xOffset,
@@ -20,13 +20,13 @@ export var StyledBadgeContent = /*#__PURE__*/styled.div.withConfig({
20
20
  });
21
21
  export var StyledBadgeDotIndicator = /*#__PURE__*/styled.div.withConfig({
22
22
  displayName: "StyledBadgeDotIndicator",
23
- componentId: "core-12_48_0__sc-s2n9gd-2"
23
+ componentId: "core-12_48_2__sc-s2n9gd-2"
24
24
  })(["width:6px;height:6px;border-radius:50%;background-color:", ";"], colors.orange50);
25
25
  var oneDigitStyles = "\n border-radius: 50%;\n padding: 2px;\n min-width: 21.5px;\n min-height: 21.5px;\n";
26
26
  var multiDigitStyles = "\n border-radius: 10px;\n padding: 2px 8px;\n";
27
27
  export var StyledBadgeCounter = /*#__PURE__*/styled.div.withConfig({
28
28
  displayName: "StyledBadgeCounter",
29
- componentId: "core-12_48_0__sc-s2n9gd-3"
29
+ componentId: "core-12_48_2__sc-s2n9gd-3"
30
30
  })(["display:inline-flex;justify-content:center;align-items:center;color:", ";background-color:", ";", " ", ""], colors.white, colors.orange50, getTypographyIntent('small'), function (props) {
31
31
  return props.$oneDigit ? oneDigitStyles : multiDigitStyles;
32
32
  });
@@ -39,7 +39,7 @@ var expandContent = function expandContent(maxHeight) {
39
39
  };
40
40
  export var StyledBannerContainer = /*#__PURE__*/styled.div.withConfig({
41
41
  displayName: "StyledBannerContainer",
42
- componentId: "core-12_48_0__sc-149wm7c-0"
42
+ componentId: "core-12_48_2__sc-149wm7c-0"
43
43
  })(["align-items:center;border-left:", "px solid;border-radius:", "px;color:", ";display:flex;justify-content:space-between;min-height:52px;padding:0 ", "px;", " ", " ", ""], bannerLeft, borderRadius.md, colors.gray15, spacing.lg, bannerShadow, function (_ref) {
44
44
  var $variant = _ref.$variant;
45
45
  var _bannerVariantColors$ = bannerVariantColors[$variant],
@@ -52,15 +52,15 @@ export var StyledBannerContainer = /*#__PURE__*/styled.div.withConfig({
52
52
  });
53
53
  export var StyledContent = /*#__PURE__*/styled.div.withConfig({
54
54
  displayName: "StyledContent",
55
- componentId: "core-12_48_0__sc-149wm7c-1"
55
+ componentId: "core-12_48_2__sc-149wm7c-1"
56
56
  })(["align-self:center;margin:", "px ", "px ", "px 0;width:100%;"], spacing.sm, spacing.lg, spacing.sm);
57
57
  export var StyledExpandableContentContainer = /*#__PURE__*/styled(Flex).withConfig({
58
58
  displayName: "StyledExpandableContentContainer",
59
- componentId: "core-12_48_0__sc-149wm7c-2"
59
+ componentId: "core-12_48_2__sc-149wm7c-2"
60
60
  })(["color:", ";min-height:52px;padding:0 ", "px;position:relative;z-index:1;", ""], colors.gray15, spacing.lg, bannerShadow);
61
61
  export var StyledExpandableContent = /*#__PURE__*/styled(Flex).withConfig({
62
62
  displayName: "StyledExpandableContent",
63
- componentId: "core-12_48_0__sc-149wm7c-3"
63
+ componentId: "core-12_48_2__sc-149wm7c-3"
64
64
  })(["animation-duration:450ms;animation-fill-mode:forwards;animation-timing-function:ease-out;background-color:", ";box-sizing:border-box;font-size:14px;font-weight:500;letter-spacing:0.25px;line-height:20px;overflow-y:auto;padding:0 ", "px;position:relative;z-index:0;", " ", ""], colors.white, spacing.xl * 2 + spacing.sm, function (_ref3) {
65
65
  var $isOverflowingY = _ref3.$isOverflowingY;
66
66
  return $isOverflowingY && focusable;
@@ -70,23 +70,23 @@ export var StyledExpandableContent = /*#__PURE__*/styled(Flex).withConfig({
70
70
  });
71
71
  export var StyledTitle = /*#__PURE__*/styled.div.withConfig({
72
72
  displayName: "StyledTitle",
73
- componentId: "core-12_48_0__sc-149wm7c-4"
73
+ componentId: "core-12_48_2__sc-149wm7c-4"
74
74
  })(["", " color:", ";font-weight:", ";"], getTypographyIntent('body'), colors.gray15, typographyWeights.semibold);
75
75
  export var StyledBody = /*#__PURE__*/styled.div.withConfig({
76
76
  displayName: "StyledBody",
77
- componentId: "core-12_48_0__sc-149wm7c-5"
77
+ componentId: "core-12_48_2__sc-149wm7c-5"
78
78
  })(["", " color:", ";"], getTypographyIntent('body'), colors.gray15);
79
79
  export var StyledIconContainer = /*#__PURE__*/styled.div.withConfig({
80
80
  displayName: "StyledIconContainer",
81
- componentId: "core-12_48_0__sc-149wm7c-6"
81
+ componentId: "core-12_48_2__sc-149wm7c-6"
82
82
  })(["flex:0 0 auto;margin:", "px 0;"], spacing.lg);
83
83
  export var StyledActionsTrigger = /*#__PURE__*/styled(DropdownButton).withConfig({
84
84
  displayName: "StyledActionsTrigger",
85
- componentId: "core-12_48_0__sc-149wm7c-7"
85
+ componentId: "core-12_48_2__sc-149wm7c-7"
86
86
  })(["flex-shrink:0;& + ", ",& + ", "{margin-left:-", "px;}"], StyledButton, StyledLinkButton, spacing.sm);
87
87
  export var StyledAction = /*#__PURE__*/styled.div.withConfig({
88
88
  displayName: "StyledAction",
89
- componentId: "core-12_48_0__sc-149wm7c-8"
89
+ componentId: "core-12_48_2__sc-149wm7c-8"
90
90
  })(["margin:", "px 0 ", "px -", "px;& + ", ",& + ", ",& + ", "{margin-left:-", "px;}", ",", "{background:rgba(0,0,0,0.05);color:", ";&:hover{background:", ";color:", ";}}"], spacing.sm, spacing.sm, spacing.sm, StyledButton, StyledLinkButton, StyledActionsTrigger, spacing.sm, StyledButton, StyledLinkButton, colors.gray15, colors.gray85, colors.gray15);
91
91
  function getMiniBannerIconColor(_ref5) {
92
92
  var variant = _ref5.variant;
@@ -94,6 +94,6 @@ function getMiniBannerIconColor(_ref5) {
94
94
  }
95
95
  export var StyledMiniBannerContainer = /*#__PURE__*/styled.div.withConfig({
96
96
  displayName: "StyledMiniBannerContainer",
97
- componentId: "core-12_48_0__sc-149wm7c-9"
97
+ componentId: "core-12_48_2__sc-149wm7c-9"
98
98
  })(["align-items:center;background-color:", ";display:flex;justify-content:space-between;padding:0 ", "px;", " ", " & ", "{margin:", "px;}"], colors.gray96, spacing.md, getTypographyIntent('small'), getMiniBannerIconColor, StyledContent, spacing.sm);
99
99
  //# sourceMappingURL=Banner.styles.js.map
@@ -21,7 +21,7 @@ function sizeToPx(size) {
21
21
  }
22
22
  export var StyledBox = /*#__PURE__*/styled.div.withConfig({
23
23
  displayName: "StyledBox",
24
- componentId: "core-12_48_0__sc-fgsy0p-0"
24
+ componentId: "core-12_48_2__sc-fgsy0p-0"
25
25
  })(["", " ", ""], function (_ref) {
26
26
  var as = _ref.as;
27
27
  if (as === 'ol' || as === 'ul') {
@@ -4,19 +4,19 @@ import { colors } from '../_styles/colors';
4
4
  import { spacing } from '../_styles/spacing';
5
5
  export var StyledContainer = /*#__PURE__*/styled.nav.withConfig({
6
6
  displayName: "StyledContainer",
7
- componentId: "core-12_48_0__sc-1q6nqfz-0"
7
+ componentId: "core-12_48_2__sc-1q6nqfz-0"
8
8
  })(["color:", ";display:flex;align-items:center;a,a:hover{display:inline-flex;text-decoration:none;}"], colors.gray50);
9
9
  export var StyledList = /*#__PURE__*/styled.ol.withConfig({
10
10
  displayName: "StyledList",
11
- componentId: "core-12_48_0__sc-1q6nqfz-1"
11
+ componentId: "core-12_48_2__sc-1q6nqfz-1"
12
12
  })(["display:flex;margin:0;padding-left:0;"]);
13
13
  export var StyledSeparator = /*#__PURE__*/styled.div.withConfig({
14
14
  displayName: "StyledSeparator",
15
- componentId: "core-12_48_0__sc-1q6nqfz-2"
15
+ componentId: "core-12_48_2__sc-1q6nqfz-2"
16
16
  })(["align-items:center;display:inline-flex;justify-content:center;margin:0px ", "px;"], spacing.xs);
17
17
  export var StyledCrumb = /*#__PURE__*/styled.li.withConfig({
18
18
  displayName: "StyledCrumb",
19
- componentId: "core-12_48_0__sc-1q6nqfz-3"
19
+ componentId: "core-12_48_2__sc-1q6nqfz-3"
20
20
  })(["", " align-items:center;color:", ";display:inline-flex;min-height:24px;text-decoration:none;&:hover{cursor:", ";text-decoration:", ";}> a{color:", ";", "}", ""], getTypographyIntent('body'), colors.gray45, function (_ref) {
21
21
  var active = _ref.active;
22
22
  return active ? 'default' : 'pointer';
@@ -93,11 +93,11 @@ function getColors(loading, variant) {
93
93
  }
94
94
  export var StyledContent = /*#__PURE__*/styled.span.withConfig({
95
95
  displayName: "StyledContent",
96
- componentId: "core-12_48_0__sc-c5bhwh-0"
96
+ componentId: "core-12_48_2__sc-c5bhwh-0"
97
97
  })(["align-items:center;display:flex;overflow:hidden;"]);
98
98
  export var StyledSpinner = /*#__PURE__*/styled(Spinner).withConfig({
99
99
  displayName: "StyledSpinner",
100
- componentId: "core-12_48_0__sc-c5bhwh-1"
100
+ componentId: "core-12_48_2__sc-c5bhwh-1"
101
101
  })(["box-sizing:border-box;display:none;position:absolute;transform:translateZ(0);@media ", "{left:50%;top:50%;", "}"], mediaIE11Hack, function (_ref) {
102
102
  var size = _ref.size;
103
103
  var margin = -1 * (spinnerDimensions[size !== null && size !== void 0 ? size : defaultSpinnerSize] / 2);
@@ -105,14 +105,14 @@ export var StyledSpinner = /*#__PURE__*/styled(Spinner).withConfig({
105
105
  });
106
106
  export var StyledLabel = /*#__PURE__*/styled.span.withConfig({
107
107
  displayName: "StyledLabel",
108
- componentId: "core-12_48_0__sc-c5bhwh-2"
108
+ componentId: "core-12_48_2__sc-c5bhwh-2"
109
109
  })(["overflow:hidden;padding:0 6px;text-overflow:ellipsis;white-space:nowrap;& + span{padding-left:0;}"]);
110
110
  export function getButtonStyles(block, disabled, loading, size, variant) {
111
111
  return css(["", " ", " ", " ", " align-items:center;border-radius:", "px;border:0;box-sizing:border-box;cursor:pointer;display:inline-flex;flex-direction:row;flex-shrink:0;font-family:inherit;font-weight:", ";height:", "px;justify-content:center;margin:0;overflow:hidden;padding:0 ", "px;position:relative;pointer-events:", ";text-overflow:ellipsis;user-select:", ";vertical-align:middle;white-space:nowrap;width:", ";[data-icon-prop='true']{pointer-events:none;height:", "px;width:", "px;}", ""], getTypographyIntent(typographySizes[size]), focusable, variant === 'UNSAFE_helixNav' && css(["&.focus,&:focus{outline:none;box-shadow:0 0 0 2px ", ";}"], colors.blue70), getColors(loading, variant), borderRadius.md, typographyWeights.semibold, heights[size], paddingX[size], disabled || loading ? 'none' : 'inherit', disabled || loading ? 'none' : 'inherit', block && '100%', size === 'sm' ? 16 : 24, size === 'sm' ? 16 : 24, loading && css(["", "{pointer-events:none;visibility:hidden;}", "{display:block;}"], StyledContent, StyledSpinner));
112
112
  }
113
113
  export var StyledButton = /*#__PURE__*/styled.button.withConfig({
114
114
  displayName: "StyledButton",
115
- componentId: "core-12_48_0__sc-c5bhwh-3"
115
+ componentId: "core-12_48_2__sc-c5bhwh-3"
116
116
  })(["", ""], function (_ref2) {
117
117
  var $block = _ref2.$block,
118
118
  disabled = _ref2.disabled,
@@ -123,7 +123,7 @@ export var StyledButton = /*#__PURE__*/styled.button.withConfig({
123
123
  });
124
124
  export var StyledLinkButton = /*#__PURE__*/styled.a.withConfig({
125
125
  displayName: "StyledLinkButton",
126
- componentId: "core-12_48_0__sc-c5bhwh-4"
126
+ componentId: "core-12_48_2__sc-c5bhwh-4"
127
127
  })(["&,&:hover{text-decoration:none;}", ""], function (_ref3) {
128
128
  var $block = _ref3.$block,
129
129
  $disabled = _ref3.$disabled,
@@ -8,37 +8,37 @@ var cellSize = 36; // TODO one-off size
8
8
 
9
9
  export var StyledContainer = /*#__PURE__*/styled.div.withConfig({
10
10
  displayName: "StyledContainer",
11
- componentId: "core-12_48_0__sc-1kkl86t-0"
11
+ componentId: "core-12_48_2__sc-1kkl86t-0"
12
12
  })(["", ";display:inline-flex;flex-direction:column;padding:", "px ", "px ", "px;"], getTypographyIntent('small'), spacing.lg, spacing.md, spacing.md);
13
13
  export var StyledPaginator = /*#__PURE__*/styled(Button).withConfig({
14
14
  displayName: "StyledPaginator",
15
- componentId: "core-12_48_0__sc-1kkl86t-1"
15
+ componentId: "core-12_48_2__sc-1kkl86t-1"
16
16
  })(["flex:0 0 auto;"]);
17
17
  export var StyledSelect = /*#__PURE__*/styled.div.withConfig({
18
18
  displayName: "StyledSelect",
19
- componentId: "core-12_48_0__sc-1kkl86t-2"
19
+ componentId: "core-12_48_2__sc-1kkl86t-2"
20
20
  })(["display:inline-flex;flex:1 1 0;margin-left:", "px;> div{font-size:12px;}"], spacing.sm);
21
21
  export var StyledNavigation = /*#__PURE__*/styled.div.withConfig({
22
22
  displayName: "StyledNavigation",
23
- componentId: "core-12_48_0__sc-1kkl86t-3"
23
+ componentId: "core-12_48_2__sc-1kkl86t-3"
24
24
  })(["display:inline-flex;margin-bottom:", "px;", " + ", ",", " + ", "{margin-left:", "px;}"], spacing.sm, StyledPaginator, StyledSelect, StyledSelect, StyledPaginator, spacing.sm);
25
25
  export var StyledCell = /*#__PURE__*/styled.div.withConfig({
26
26
  displayName: "StyledCell",
27
- componentId: "core-12_48_0__sc-1kkl86t-4"
27
+ componentId: "core-12_48_2__sc-1kkl86t-4"
28
28
  })(["align-items:center;display:inline-flex;height:", "px;justify-content:center;width:", "px;"], cellSize, cellSize);
29
29
  export var StyledDayHeaderCell = /*#__PURE__*/styled(StyledCell).withConfig({
30
30
  displayName: "StyledDayHeaderCell",
31
- componentId: "core-12_48_0__sc-1kkl86t-5"
31
+ componentId: "core-12_48_2__sc-1kkl86t-5"
32
32
  })(["cursor:default;font-weight:", ";"], typographyWeights.semibold);
33
33
  export var StyledCellButton = /*#__PURE__*/styled.button.attrs({
34
34
  type: 'button'
35
35
  }).withConfig({
36
36
  displayName: "StyledCellButton",
37
- componentId: "core-12_48_0__sc-1kkl86t-6"
37
+ componentId: "core-12_48_2__sc-1kkl86t-6"
38
38
  })(["align-items:center;display:inline-flex;height:", "px;justify-content:center;width:", "px;cursor:pointer;border:none;background:none;padding:0;font:inherit;color:inherit;"], cellSize, cellSize);
39
39
  export var StyledDayCell = /*#__PURE__*/styled(StyledCellButton).withConfig({
40
40
  displayName: "StyledDayCell",
41
- componentId: "core-12_48_0__sc-1kkl86t-7"
41
+ componentId: "core-12_48_2__sc-1kkl86t-7"
42
42
  })(["", ""], function (_ref) {
43
43
  var _ref$$disabled = _ref.$disabled,
44
44
  $disabled = _ref$$disabled === void 0 ? false : _ref$$disabled,
@@ -61,6 +61,6 @@ export var StyledDayCell = /*#__PURE__*/styled(StyledCellButton).withConfig({
61
61
  });
62
62
  export var StyledWeekRow = /*#__PURE__*/styled.div.withConfig({
63
63
  displayName: "StyledWeekRow",
64
- componentId: "core-12_48_0__sc-1kkl86t-8"
64
+ componentId: "core-12_48_2__sc-1kkl86t-8"
65
65
  })(["display:inline-flex;padding-bottom:2px;user-select:none;&:last-child{padding-bottom:0;}", "{&:first-child{border-top-left-radius:", "px;border-bottom-left-radius:", "px;}&:last-child{border-top-right-radius:", "px;border-bottom-right-radius:", "px;}}"], StyledCell, borderRadius.md, borderRadius.md, borderRadius.md, borderRadius.md);
66
66
  //# sourceMappingURL=Calendar.styles.js.map
@@ -4,7 +4,7 @@ import { colors } from '../_styles/colors';
4
4
  import { getShadow } from '../_styles/shadows';
5
5
  export var StyledCardContainer = /*#__PURE__*/styled.div.withConfig({
6
6
  displayName: "StyledCardContainer",
7
- componentId: "core-12_48_0__sc-2fii7b-0"
7
+ componentId: "core-12_48_2__sc-2fii7b-0"
8
8
  })(["background-color:", ";border-radius:", "px;transition:box-shadow 0.2s ease-in-out;", " ", ""], colors.white, borderRadius.md, function (_ref) {
9
9
  var $level = _ref.$level,
10
10
  $shadowStrength = _ref.$shadowStrength;
@@ -9,7 +9,7 @@ export var dataQa = {
9
9
  export var checkboxSize = 20;
10
10
  export var StyledCheckboxContainer = /*#__PURE__*/styled.div.withConfig({
11
11
  displayName: "StyledCheckboxContainer",
12
- componentId: "core-12_48_0__sc-u63tye-0"
12
+ componentId: "core-12_48_2__sc-u63tye-0"
13
13
  })(["color:", ";display:block;position:relative;& + &{margin-top:", "px;}"], colors.gray15, spacing.md);
14
14
  function StyledIndeterminate() {
15
15
  return css(["background-color:", ";content:'';height:2px;left:5px;position:absolute;top:9px;width:10px;border:none;"], colors.white);
@@ -48,18 +48,18 @@ function StyledFakeIndeterminate() {
48
48
  }
49
49
  export var StyledCheckboxLabelWrapper = /*#__PURE__*/styled.div.withConfig({
50
50
  displayName: "StyledCheckboxLabelWrapper",
51
- componentId: "core-12_48_0__sc-u63tye-1"
51
+ componentId: "core-12_48_2__sc-u63tye-1"
52
52
  })(["padding-left:", "px;min-height:", "px;position:relative;", ""], function (_ref) {
53
53
  var $hasLabel = _ref.$hasLabel;
54
54
  return $hasLabel ? checkboxSize + spacing.md : checkboxSize;
55
55
  }, checkboxSize, getTypographyIntent('body'));
56
56
  export var StyledCheckboxLabel = /*#__PURE__*/styled.label.withConfig({
57
57
  displayName: "StyledCheckboxLabel",
58
- componentId: "core-12_48_0__sc-u63tye-2"
59
- })(["user-select:none;&:before{background-color:", ";border-radius:2px;border:2px solid ", ";content:'';display:inline-block;height:", "px;width:", "px;min-width:", "px;top:0;left:0;position:absolute;}"], colors.white, colors.gray70, checkboxSize, checkboxSize, checkboxSize);
58
+ componentId: "core-12_48_2__sc-u63tye-2"
59
+ })(["user-select:none;&:before{background-color:", ";border-radius:2px;border:2px solid ", ";content:'';display:inline-block;height:", "px;width:", "px;min-width:", "px;top:0;left:0;position:absolute;}"], colors.white, colors.gray50, checkboxSize, checkboxSize, checkboxSize);
60
60
  export var StyledCheckboxInput = /*#__PURE__*/styled.input.withConfig({
61
61
  displayName: "StyledCheckboxInput",
62
- componentId: "core-12_48_0__sc-u63tye-3"
62
+ componentId: "core-12_48_2__sc-u63tye-3"
63
63
  })(["left:0;opacity:0;position:absolute;top:0;&:disabled:checked + ", " > ", ":before{background-color:", ";border-color:", ";}&:disabled + ", " > ", ":before{background-color:", ";border-color:", ";}", " &:checked + ", " > ", "{&:before{background-color:", ";border-color:", ";color:", ";}&:after{", "}}&:focus:not(:disabled),&[data-qa=", "]:not(:disabled){+ ", " > ", ":before{", "}}", ""], StyledCheckboxLabelWrapper, StyledCheckboxLabel, colors.blue85, colors.blue85, StyledCheckboxLabelWrapper, StyledCheckboxLabel, function (_ref2) {
64
64
  var $indeterminate = _ref2.$indeterminate;
65
65
  return $indeterminate ? colors.gray85 : colors.white;
@@ -83,7 +83,7 @@ export var StyledCheckboxInput = /*#__PURE__*/styled.input.withConfig({
83
83
  });
84
84
  export var StyledFakeCheckboxLabel = /*#__PURE__*/styled.span.withConfig({
85
85
  displayName: "StyledFakeCheckboxLabel",
86
- componentId: "core-12_48_0__sc-u63tye-4"
86
+ componentId: "core-12_48_2__sc-u63tye-4"
87
87
  })(["", " display:block;min-height:", "px;padding-left:", "px;position:relative;user-select:none;cursor:pointer;", ""], getTypographyIntent('body'), checkboxSize, function (_ref7) {
88
88
  var children = _ref7.children;
89
89
  return children ? checkboxSize + spacing.md : checkboxSize;
@@ -99,7 +99,7 @@ export var StyledFakeCheckboxLabel = /*#__PURE__*/styled.span.withConfig({
99
99
  });
100
100
  export var StyledFakeCheckboxInput = /*#__PURE__*/styled.div.withConfig({
101
101
  displayName: "StyledFakeCheckboxInput",
102
- componentId: "core-12_48_0__sc-u63tye-5"
102
+ componentId: "core-12_48_2__sc-u63tye-5"
103
103
  })(["width:", "px;height:", "px;border-radius:2px;border:2px solid ", ";position:absolute;", " ", " ", " ", ""], checkboxSize, checkboxSize, colors.gray70, function (_ref9) {
104
104
  var $checked = _ref9.$checked,
105
105
  $disabled = _ref9.$disabled,
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.styles.js","names":["styled","css","getTypographyIntent","colors","getFocus","spacing","dataQa","focused","checkboxSize","StyledCheckboxContainer","div","withConfig","displayName","componentId","gray15","md","StyledIndeterminate","white","StyledChecked","StyledFakeChecked","$disabled","arguments","length","undefined","$error","red85","blue85","red50","blue50","StyledFakeIndeterminate","gray85","StyledCheckboxLabelWrapper","_ref","$hasLabel","StyledCheckboxLabel","label","gray70","StyledCheckboxInput","input","_ref2","$indeterminate","_ref3","_ref4","_ref5","_ref6","StyledFakeCheckboxLabel","span","_ref7","children","_ref8","$checked","gray50","StyledFakeCheckboxInput","_ref9","_ref0","_ref1","_ref10"],"sources":["../../src/Checkbox/Checkbox.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { getTypographyIntent } from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\n\nexport const dataQa = {\n focused: 'core-checkbox-focused',\n}\n\nexport const checkboxSize = 20\n\nexport const StyledCheckboxContainer = styled.div`\n color: ${colors.gray15};\n display: block;\n position: relative;\n\n & + & {\n margin-top: ${spacing.md}px;\n }\n`\n\nfunction StyledIndeterminate() {\n return css`\n background-color: ${colors.white};\n content: '';\n height: 2px;\n left: 5px;\n position: absolute;\n top: 9px;\n width: 10px;\n border: none;\n `\n}\n\nfunction StyledChecked() {\n return css`\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MzMuNzkyIDcwNGwtMTc3Ljc5Mi0xNzIuNDE2IDY4LjkyOC01OS45NjggMTA4Ljg2NCAxMDUuNiAyNjUuMjgtMjU3LjIxNiA2OC45MjggNTkuOTY4eiI+PC9wYXRoPjwvc3ZnPg==');\n content: '';\n border: none;\n height: 20px;\n width: 20px;\n top: 0;\n left: 0;\n position: absolute;\n `\n}\n\nfunction StyledFakeChecked($disabled = false, $error = false) {\n return css`\n ${StyledChecked()};\n\n ${() => {\n if ($disabled && $error) {\n return css`\n background-color: ${colors.red85};\n `\n }\n if ($disabled) {\n return css`\n background-color: ${colors.blue85};\n `\n }\n if ($error) {\n return css`\n background-color: ${colors.red50};\n `\n }\n return css`\n background-color: ${colors.blue50};\n `\n }}\n `\n}\n\nfunction StyledFakeIndeterminate($disabled = false, $error = false) {\n return css`\n border: none;\n\n &:before {\n ${StyledIndeterminate()};\n }\n\n ${() => {\n if ($disabled) {\n return css`\n background-color: ${colors.gray85};\n `\n }\n if ($error) {\n return css`\n background-color: ${colors.red50};\n `\n }\n return css`\n background-color: ${colors.blue50};\n `\n }}\n `\n}\n\nexport const StyledCheckboxLabelWrapper = styled.div<{ $hasLabel: boolean }>`\n padding-left: ${({ $hasLabel }) =>\n $hasLabel ? checkboxSize + spacing.md : checkboxSize}px;\n min-height: ${checkboxSize}px;\n position: relative;\n ${getTypographyIntent('body')}\n`\n\nexport const StyledCheckboxLabel = styled.label`\n user-select: none;\n\n &:before {\n background-color: ${colors.white};\n border-radius: 2px;\n border: 2px solid ${colors.gray70};\n content: '';\n display: inline-block;\n height: ${checkboxSize}px;\n width: ${checkboxSize}px;\n min-width: ${checkboxSize}px;\n top: 0;\n left: 0;\n position: absolute;\n }\n`\n\nexport const StyledCheckboxInput = styled.input<{\n $error: boolean\n $indeterminate: boolean\n}>`\n left: 0;\n opacity: 0;\n position: absolute;\n top: 0;\n\n &:disabled:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before {\n background-color: ${colors.blue85};\n border-color: ${colors.blue85};\n }\n\n &:disabled + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel}:before {\n background-color: ${({ $indeterminate }) =>\n $indeterminate ? colors.gray85 : colors.white};\n border-color: ${colors.gray85};\n }\n\n ${({ $error }) => {\n if ($error) {\n return css`\n & + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel}:before {\n border-color: ${colors.red50};\n }\n\n &:disabled:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before {\n background-color: ${colors.gray85};\n border-color: ${colors.gray85};\n }\n `\n }\n }}\n\n &:checked + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel} {\n &:before {\n background-color: ${({ $error }) =>\n $error ? colors.red50 : colors.blue50};\n border-color: ${({ $error }) => ($error ? colors.red50 : colors.blue50)};\n color: ${colors.white};\n }\n\n &:after {\n ${StyledChecked()}\n }\n }\n\n &:focus:not(:disabled),\n &[data-qa=${dataQa.focused}]:not(:disabled) {\n + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel}:before {\n ${getFocus()}\n }\n }\n\n ${({ $indeterminate, $error }) => {\n if ($indeterminate) {\n return css`\n &\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before,\n &:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before {\n background-color: ${$error ? colors.red50 : colors.blue50};\n border-color: ${$error ? colors.red50 : colors.blue50};\n color: ${colors.white};\n }\n\n &\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:after,\n &:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:after {\n ${StyledIndeterminate()}\n }\n `\n }\n }}\n`\n\nexport const StyledFakeCheckboxLabel = styled.span<{\n $checked: boolean\n $disabled: boolean\n}>`\n ${getTypographyIntent('body')}\n\n display: block;\n min-height: ${checkboxSize}px;\n padding-left: ${({ children }) =>\n children ? checkboxSize + spacing.md : checkboxSize}px;\n position: relative;\n user-select: none;\n cursor: pointer;\n\n ${({ $checked, $disabled }) => {\n if ($checked && $disabled) {\n return css`\n color: ${colors.gray50};\n `\n }\n if ($disabled) {\n return css`\n color: ${colors.gray85};\n `\n }\n }}\n`\n\nexport const StyledFakeCheckboxInput = styled.div<{\n $checked: boolean\n $error: boolean\n $disabled: boolean\n $indeterminate: boolean\n}>`\n width: ${checkboxSize}px;\n height: ${checkboxSize}px;\n border-radius: 2px;\n border: 2px solid ${colors.gray70};\n position: absolute;\n\n ${({ $checked, $disabled, $error }) => {\n if ($checked) {\n return StyledFakeChecked($disabled, $error)\n }\n }}\n\n ${({ $indeterminate, $disabled, $error }) => {\n if ($indeterminate) {\n return StyledFakeIndeterminate($disabled, $error)\n }\n }}\n\n ${({ $error }) => {\n if ($error) {\n return css`\n border-color: ${colors.red50};\n `\n }\n }}\n\n ${({ $disabled }) => {\n if ($disabled) {\n return css`\n border-color: ${colors.gray85};\n `\n }\n }}\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,OAAO,IAAMC,MAAM,GAAG;EACpBC,OAAO,EAAE;AACX,CAAC;AAED,OAAO,IAAMC,YAAY,GAAG,EAAE;AAE9B,OAAO,IAAMC,uBAAuB,gBAAGT,MAAM,CAACU,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,6EACtCV,MAAM,CAACW,MAAM,EAKNT,OAAO,CAACU,EAAE,CAE3B;AAED,SAASC,mBAAmBA,CAAA,EAAG;EAC7B,OAAOf,GAAG,6GACYE,MAAM,CAACc,KAAK;AASpC;AAEA,SAASC,aAAaA,CAAA,EAAG;EACvB,OAAOjB,GAAG;AAUZ;AAEA,SAASkB,iBAAiBA,CAAA,EAAoC;EAAA,IAAnCC,SAAS,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAAA,IAAEG,MAAM,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAC1D,OAAOpB,GAAG,gBACNiB,aAAa,CAAC,CAAC,EAEf,YAAM;I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A;EAAAC,WAAA;AAAA,iHAMtCL,YAAY,EACXA,YAAY,EAEFL,MAAM,CAACiC,MAAM,EAG/B,UAAAiB,KAAA,EAAqC;EAAA,IAAlCH,QAAQ,GAAAG,KAAA,CAARH,QAAQ;IAAE9B,SAAS,GAAAiC,KAAA,CAATjC,SAAS;IAAEI,MAAM,GAAA6B,KAAA,CAAN7B,MAAM;EAC9B,IAAI0B,QAAQ,EAAE;IACZ,OAAO/B,iBAAiB,CAACC,SAAS,EAAEI,MAAM,CAAC;EAC7C;AACF,CAAC,EAEC,UAAA8B,KAAA,EAA2C;EAAA,IAAxCd,cAAc,GAAAc,KAAA,CAAdd,cAAc;IAAEpB,SAAS,GAAAkC,KAAA,CAATlC,SAAS;IAAEI,MAAM,GAAA8B,KAAA,CAAN9B,MAAM;EACpC,IAAIgB,cAAc,EAAE;IAClB,OAAOX,uBAAuB,CAACT,SAAS,EAAEI,MAAM,CAAC;EACnD;AACF,CAAC,EAEC,UAAA+B,KAAA,EAAgB;EAAA,IAAb/B,MAAM,GAAA+B,KAAA,CAAN/B,MAAM;EACT,IAAIA,MAAM,EAAE;IACV,OAAOvB,GAAG,yBACQE,MAAM,CAACwB,KAAK;EAEhC;AACF,CAAC,EAEC,UAAA6B,MAAA,EAAmB;EAAA,IAAhBpC,SAAS,GAAAoC,MAAA,CAATpC,SAAS;EACZ,IAAIA,SAAS,EAAE;IACb,OAAOnB,GAAG,yBACQE,MAAM,CAAC2B,MAAM;EAEjC;AACF,CAAC,CACF"}
1
+ {"version":3,"file":"Checkbox.styles.js","names":["styled","css","getTypographyIntent","colors","getFocus","spacing","dataQa","focused","checkboxSize","StyledCheckboxContainer","div","withConfig","displayName","componentId","gray15","md","StyledIndeterminate","white","StyledChecked","StyledFakeChecked","$disabled","arguments","length","undefined","$error","red85","blue85","red50","blue50","StyledFakeIndeterminate","gray85","StyledCheckboxLabelWrapper","_ref","$hasLabel","StyledCheckboxLabel","label","gray50","StyledCheckboxInput","input","_ref2","$indeterminate","_ref3","_ref4","_ref5","_ref6","StyledFakeCheckboxLabel","span","_ref7","children","_ref8","$checked","StyledFakeCheckboxInput","gray70","_ref9","_ref0","_ref1","_ref10"],"sources":["../../src/Checkbox/Checkbox.styles.ts"],"sourcesContent":["import styled, { css } from 'styled-components'\nimport { getTypographyIntent } from '../Typography/Typography.styles'\nimport { colors } from '../_styles/colors'\nimport { getFocus } from '../_styles/mixins'\nimport { spacing } from '../_styles/spacing'\n\nexport const dataQa = {\n focused: 'core-checkbox-focused',\n}\n\nexport const checkboxSize = 20\n\nexport const StyledCheckboxContainer = styled.div`\n color: ${colors.gray15};\n display: block;\n position: relative;\n\n & + & {\n margin-top: ${spacing.md}px;\n }\n`\n\nfunction StyledIndeterminate() {\n return css`\n background-color: ${colors.white};\n content: '';\n height: 2px;\n left: 5px;\n position: absolute;\n top: 9px;\n width: 10px;\n border: none;\n `\n}\n\nfunction StyledChecked() {\n return css`\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCI+PHBhdGggZmlsbD0id2hpdGUiIGQ9Ik00MzMuNzkyIDcwNGwtMTc3Ljc5Mi0xNzIuNDE2IDY4LjkyOC01OS45NjggMTA4Ljg2NCAxMDUuNiAyNjUuMjgtMjU3LjIxNiA2OC45MjggNTkuOTY4eiI+PC9wYXRoPjwvc3ZnPg==');\n content: '';\n border: none;\n height: 20px;\n width: 20px;\n top: 0;\n left: 0;\n position: absolute;\n `\n}\n\nfunction StyledFakeChecked($disabled = false, $error = false) {\n return css`\n ${StyledChecked()};\n\n ${() => {\n if ($disabled && $error) {\n return css`\n background-color: ${colors.red85};\n `\n }\n if ($disabled) {\n return css`\n background-color: ${colors.blue85};\n `\n }\n if ($error) {\n return css`\n background-color: ${colors.red50};\n `\n }\n return css`\n background-color: ${colors.blue50};\n `\n }}\n `\n}\n\nfunction StyledFakeIndeterminate($disabled = false, $error = false) {\n return css`\n border: none;\n\n &:before {\n ${StyledIndeterminate()};\n }\n\n ${() => {\n if ($disabled) {\n return css`\n background-color: ${colors.gray85};\n `\n }\n if ($error) {\n return css`\n background-color: ${colors.red50};\n `\n }\n return css`\n background-color: ${colors.blue50};\n `\n }}\n `\n}\n\nexport const StyledCheckboxLabelWrapper = styled.div<{ $hasLabel: boolean }>`\n padding-left: ${({ $hasLabel }) =>\n $hasLabel ? checkboxSize + spacing.md : checkboxSize}px;\n min-height: ${checkboxSize}px;\n position: relative;\n ${getTypographyIntent('body')}\n`\n\nexport const StyledCheckboxLabel = styled.label`\n user-select: none;\n\n &:before {\n background-color: ${colors.white};\n border-radius: 2px;\n border: 2px solid ${colors.gray50};\n content: '';\n display: inline-block;\n height: ${checkboxSize}px;\n width: ${checkboxSize}px;\n min-width: ${checkboxSize}px;\n top: 0;\n left: 0;\n position: absolute;\n }\n`\n\nexport const StyledCheckboxInput = styled.input<{\n $error: boolean\n $indeterminate: boolean\n}>`\n left: 0;\n opacity: 0;\n position: absolute;\n top: 0;\n\n &:disabled:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before {\n background-color: ${colors.blue85};\n border-color: ${colors.blue85};\n }\n\n &:disabled + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel}:before {\n background-color: ${({ $indeterminate }) =>\n $indeterminate ? colors.gray85 : colors.white};\n border-color: ${colors.gray85};\n }\n\n ${({ $error }) => {\n if ($error) {\n return css`\n & + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel}:before {\n border-color: ${colors.red50};\n }\n\n &:disabled:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before {\n background-color: ${colors.gray85};\n border-color: ${colors.gray85};\n }\n `\n }\n }}\n\n &:checked + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel} {\n &:before {\n background-color: ${({ $error }) =>\n $error ? colors.red50 : colors.blue50};\n border-color: ${({ $error }) => ($error ? colors.red50 : colors.blue50)};\n color: ${colors.white};\n }\n\n &:after {\n ${StyledChecked()}\n }\n }\n\n &:focus:not(:disabled),\n &[data-qa=${dataQa.focused}]:not(:disabled) {\n + ${StyledCheckboxLabelWrapper} > ${StyledCheckboxLabel}:before {\n ${getFocus()}\n }\n }\n\n ${({ $indeterminate, $error }) => {\n if ($indeterminate) {\n return css`\n &\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before,\n &:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:before {\n background-color: ${$error ? colors.red50 : colors.blue50};\n border-color: ${$error ? colors.red50 : colors.blue50};\n color: ${colors.white};\n }\n\n &\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:after,\n &:checked\n + ${StyledCheckboxLabelWrapper}\n > ${StyledCheckboxLabel}:after {\n ${StyledIndeterminate()}\n }\n `\n }\n }}\n`\n\nexport const StyledFakeCheckboxLabel = styled.span<{\n $checked: boolean\n $disabled: boolean\n}>`\n ${getTypographyIntent('body')}\n\n display: block;\n min-height: ${checkboxSize}px;\n padding-left: ${({ children }) =>\n children ? checkboxSize + spacing.md : checkboxSize}px;\n position: relative;\n user-select: none;\n cursor: pointer;\n\n ${({ $checked, $disabled }) => {\n if ($checked && $disabled) {\n return css`\n color: ${colors.gray50};\n `\n }\n if ($disabled) {\n return css`\n color: ${colors.gray85};\n `\n }\n }}\n`\n\nexport const StyledFakeCheckboxInput = styled.div<{\n $checked: boolean\n $error: boolean\n $disabled: boolean\n $indeterminate: boolean\n}>`\n width: ${checkboxSize}px;\n height: ${checkboxSize}px;\n border-radius: 2px;\n border: 2px solid ${colors.gray70};\n position: absolute;\n\n ${({ $checked, $disabled, $error }) => {\n if ($checked) {\n return StyledFakeChecked($disabled, $error)\n }\n }}\n\n ${({ $indeterminate, $disabled, $error }) => {\n if ($indeterminate) {\n return StyledFakeIndeterminate($disabled, $error)\n }\n }}\n\n ${({ $error }) => {\n if ($error) {\n return css`\n border-color: ${colors.red50};\n `\n }\n }}\n\n ${({ $disabled }) => {\n if ($disabled) {\n return css`\n border-color: ${colors.gray85};\n `\n }\n }}\n`\n"],"mappings":"AAAA,OAAOA,MAAM,IAAIC,GAAG,QAAQ,mBAAmB;AAC/C,SAASC,mBAAmB,QAAQ,iCAAiC;AACrE,SAASC,MAAM,QAAQ,mBAAmB;AAC1C,SAASC,QAAQ,QAAQ,mBAAmB;AAC5C,SAASC,OAAO,QAAQ,oBAAoB;AAE5C,OAAO,IAAMC,MAAM,GAAG;EACpBC,OAAO,EAAE;AACX,CAAC;AAED,OAAO,IAAMC,YAAY,GAAG,EAAE;AAE9B,OAAO,IAAMC,uBAAuB,gBAAGT,MAAM,CAACU,GAAG,CAAAC,UAAA;EAAAC,WAAA;EAAAC,WAAA;AAAA,6EACtCV,MAAM,CAACW,MAAM,EAKNT,OAAO,CAACU,EAAE,CAE3B;AAED,SAASC,mBAAmBA,CAAA,EAAG;EAC7B,OAAOf,GAAG,6GACYE,MAAM,CAACc,KAAK;AASpC;AAEA,SAASC,aAAaA,CAAA,EAAG;EACvB,OAAOjB,GAAG;AAUZ;AAEA,SAASkB,iBAAiBA,CAAA,EAAoC;EAAA,IAAnCC,SAAS,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAAA,IAAEG,MAAM,GAAAH,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,KAAK;EAC1D,OAAOpB,GAAG,gBACNiB,aAAa,CAAC,CAAC,EAEf,YAAM;IACN,IAAIE,SAAS,IAAII,MAAM,EAAE;MACvB,OAAOvB,GAAG,6BACYE,MAAM,CAACsB,KAAK;IAEpC;IACA,IAAIL,SAAS,EAAE;MACb,OAAOnB,GAAG,6BACYE,MAAM,CAACuB,MAAM;IAErC;IACA,IAAIF,MAAM,EAAE;MACV,OAAOvB,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AAM,GAAA6B,KAAA,CAAN7B,MAAM;EAC9B,IAAI0B,QAAQ,EAAE;IACZ,OAAO/B,iBAAiB,CAACC,SAAS,EAAEI,MAAM,CAAC;EAC7C;AACF,CAAC,EAEC,UAAA8B,KAAA,EAA2C;EAAA,IAAxCd,cAAc,GAAAc,KAAA,CAAdd,cAAc;IAAEpB,SAAS,GAAAkC,KAAA,CAATlC,SAAS;IAAEI,MAAM,GAAA8B,KAAA,CAAN9B,MAAM;EACpC,IAAIgB,cAAc,EAAE;IAClB,OAAOX,uBAAuB,CAACT,SAAS,EAAEI,MAAM,CAAC;EACnD;AACF,CAAC,EAEC,UAAA+B,KAAA,EAAgB;EAAA,IAAb/B,MAAM,GAAA+B,KAAA,CAAN/B,MAAM;EACT,IAAIA,MAAM,EAAE;IACV,OAAOvB,GAAG,yBACQE,MAAM,CAACwB,KAAK;EAEhC;AACF,CAAC,EAEC,UAAA6B,MAAA,EAAmB;EAAA,IAAhBpC,SAAS,GAAAoC,MAAA,CAATpC,SAAS;EACZ,IAAIA,SAAS,EAAE;IACb,OAAOnB,GAAG,yBACQE,MAAM,CAAC2B,MAAM;EAEjC;AACF,CAAC,CACF"}
@@ -7,23 +7,23 @@ import { getLineClamp } from '../_styles/mixins';
7
7
  import { spacing } from '../_styles/spacing';
8
8
  export var ContactItemAvatarWrapper = /*#__PURE__*/styled.div.withConfig({
9
9
  displayName: "ContactItemAvatarWrapper",
10
- componentId: "core-12_48_0__sc-1c4z9pn-0"
10
+ componentId: "core-12_48_2__sc-1c4z9pn-0"
11
11
  })(["display:inline-flex;align-self:flex-start;"]);
12
12
  export var ContactItemAvatar = /*#__PURE__*/styled(Avatar).withConfig({
13
13
  displayName: "ContactItemAvatar",
14
- componentId: "core-12_48_0__sc-1c4z9pn-1"
14
+ componentId: "core-12_48_2__sc-1c4z9pn-1"
15
15
  })(["cursor:inherit;font-weight:", ";"], typographyWeights.bold);
16
16
  export var ContactItemTextWrapper = /*#__PURE__*/styled.div.withConfig({
17
17
  displayName: "ContactItemTextWrapper",
18
- componentId: "core-12_48_0__sc-1c4z9pn-2"
18
+ componentId: "core-12_48_2__sc-1c4z9pn-2"
19
19
  })(["overflow:hidden;margin-left:", "px;"], spacing.sm);
20
20
  export var ContactItemText = /*#__PURE__*/styled(Typography).withConfig({
21
21
  displayName: "ContactItemText",
22
- componentId: "core-12_48_0__sc-1c4z9pn-3"
22
+ componentId: "core-12_48_2__sc-1c4z9pn-3"
23
23
  })(["display:flex;", ""], getLineClamp());
24
24
  export var ContactItemWrapper = /*#__PURE__*/styled.div.withConfig({
25
25
  displayName: "ContactItemWrapper",
26
- componentId: "core-12_48_0__sc-1c4z9pn-4"
26
+ componentId: "core-12_48_2__sc-1c4z9pn-4"
27
27
  })(["display:flex;flex-direction:row;align-items:center;padding:", "px ", "px ", "px ", "px;", " ", " ", ""], spacing.sm, spacing.lg, spacing.sm, spacing.sm, function (_ref) {
28
28
  var $disabled = _ref.$disabled,
29
29
  $clickable = _ref.$clickable;
@@ -5,10 +5,10 @@ import { mediaIE11Hack } from '../_styles/media';
5
5
  import { spacing } from '../_styles/spacing';
6
6
  export var StyledContent = /*#__PURE__*/styled(Box).withConfig({
7
7
  displayName: "StyledContent",
8
- componentId: "core-12_48_0__sc-10y57gh-0"
8
+ componentId: "core-12_48_2__sc-10y57gh-0"
9
9
  })(["> * + *,> * + h1,> * + h2,> * + h3,> * + h4,> * + p,> * + ul,> * + ol{margin-top:", "px;}> ", " + *{margin-top:0;}> ", ",> ", " > ", ",> ", "{", "{min-height:0;margin-bottom:", "px;}&:last-child ", "{margin-bottom:0;}}"], spacing.lg, StyledFormRow, StyledFormRow, StyledForm, StyledFormRow, StyledFormRow, StyledFormFieldBanner, spacing.md, StyledFormFieldBanner);
10
10
  export var StyledActions = /*#__PURE__*/styled(Box).withConfig({
11
11
  displayName: "StyledActions",
12
- componentId: "core-12_48_0__sc-10y57gh-1"
12
+ componentId: "core-12_48_2__sc-10y57gh-1"
13
13
  })(["display:flex;justify-content:flex-end;gap:", "px;@media ", "{& > * + *{margin-left:", "px;}}"], spacing.sm, mediaIE11Hack, spacing.sm);
14
14
  //# sourceMappingURL=Content.styles.js.map