@sproutsocial/racine 11.3.0-beta.2 → 11.3.0-text-highlight.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/__flow__/Input/index.js +67 -126
  3. package/__flow__/Input/index.stories.js +0 -33
  4. package/__flow__/Input/index.test.js +1 -199
  5. package/__flow__/Input/styles.js +1 -1
  6. package/__flow__/themes/dark/theme.js +1 -0
  7. package/__flow__/themes/light/theme.js +1 -0
  8. package/__flow__/types/theme.colors.flow.js +1 -0
  9. package/commonjs/Avatar/index.js +4 -7
  10. package/commonjs/Badge/index.js +1 -3
  11. package/commonjs/Badge/styles.js +1 -1
  12. package/commonjs/Banner/index.js +1 -3
  13. package/commonjs/Banner/styles.js +1 -1
  14. package/commonjs/Box/styles.js +1 -1
  15. package/commonjs/Breadcrumb/index.js +2 -5
  16. package/commonjs/Button/index.js +1 -3
  17. package/commonjs/Card/index.js +1 -3
  18. package/commonjs/Card/styles.js +3 -3
  19. package/commonjs/CharacterCounter/index.js +1 -3
  20. package/commonjs/CharacterCounter/styles.js +1 -1
  21. package/commonjs/ChartLegend/index.js +1 -3
  22. package/commonjs/ChartLegend/styles.js +3 -3
  23. package/commonjs/Checkbox/index.js +1 -3
  24. package/commonjs/Checkbox/styles.js +1 -1
  25. package/commonjs/Collapsible/index.js +2 -5
  26. package/commonjs/DatePicker/DateRangePicker.js +1 -3
  27. package/commonjs/DatePicker/SingleDatePicker.js +1 -3
  28. package/commonjs/DatePicker/StatefulDateRangePicker.js +1 -3
  29. package/commonjs/DatePicker/StatefulSingleDatePicker.js +1 -3
  30. package/commonjs/DatePicker/common.js +1 -1
  31. package/commonjs/DatePicker/styles.js +6 -2
  32. package/commonjs/Drawer/SlideTransition.js +1 -3
  33. package/commonjs/Drawer/index.js +4 -9
  34. package/commonjs/Drawer/styles.js +2 -2
  35. package/commonjs/EmptyState/index.js +1 -3
  36. package/commonjs/Fieldset/index.js +3 -7
  37. package/commonjs/FormField/index.js +1 -3
  38. package/commonjs/Icon/index.js +2 -5
  39. package/commonjs/Icon/styles.js +1 -1
  40. package/commonjs/Image/index.js +1 -3
  41. package/commonjs/Image/styles.js +1 -1
  42. package/commonjs/Indicator/index.js +1 -3
  43. package/commonjs/Input/index.js +29 -80
  44. package/commonjs/Input/styles.js +3 -3
  45. package/commonjs/KeyboardKey/index.js +1 -3
  46. package/commonjs/Label/index.js +2 -4
  47. package/commonjs/Link/index.js +1 -3
  48. package/commonjs/Link/styles.js +1 -1
  49. package/commonjs/Listbox/index.js +4 -7
  50. package/commonjs/Loader/index.js +1 -3
  51. package/commonjs/Loader/styles.js +2 -2
  52. package/commonjs/LoaderButton/index.js +1 -3
  53. package/commonjs/Menu/constants.js +1 -1
  54. package/commonjs/Menu/descendants.js +7 -10
  55. package/commonjs/Menu/hooks.js +1 -1
  56. package/commonjs/Menu/index.js +16 -22
  57. package/commonjs/Menu/styles.js +2 -2
  58. package/commonjs/Message/index.js +1 -3
  59. package/commonjs/Message/styles.js +1 -1
  60. package/commonjs/Modal/index.js +3 -7
  61. package/commonjs/Modal/styles.js +6 -4
  62. package/commonjs/Numeral/constants.js +1 -1
  63. package/commonjs/Numeral/index.js +1 -3
  64. package/commonjs/Numeral/styles.js +3 -3
  65. package/commonjs/OverflowList/styles.js +1 -1
  66. package/commonjs/Popout/index.js +3 -7
  67. package/commonjs/Popout/styles.js +1 -1
  68. package/commonjs/Radio/index.js +1 -3
  69. package/commonjs/Radio/styles.js +4 -4
  70. package/commonjs/SegmentedControl/index.js +2 -5
  71. package/commonjs/Select/index.js +1 -3
  72. package/commonjs/Stack/index.js +1 -3
  73. package/commonjs/Switch/index.js +1 -3
  74. package/commonjs/Switch/styles.js +1 -1
  75. package/commonjs/Table/index.js +5 -10
  76. package/commonjs/TableCell/index.js +1 -3
  77. package/commonjs/TableHeaderCell/index.js +1 -3
  78. package/commonjs/TableRowAccordion/index.js +1 -3
  79. package/commonjs/Tabs/index.js +2 -5
  80. package/commonjs/Tabs/styles.js +4 -4
  81. package/commonjs/Text/index.js +1 -3
  82. package/commonjs/Text/styles.js +1 -1
  83. package/commonjs/Textarea/index.js +1 -3
  84. package/commonjs/Toast/index.js +15 -15
  85. package/commonjs/Toast/styles.js +7 -4
  86. package/commonjs/ToggleHint/index.js +1 -3
  87. package/commonjs/Token/index.js +1 -3
  88. package/commonjs/Token/styles.js +1 -1
  89. package/commonjs/TokenInput/index.js +1 -3
  90. package/commonjs/Tooltip/index.js +2 -5
  91. package/commonjs/Tooltip/styles.js +1 -1
  92. package/commonjs/VisuallyHidden/index.js +1 -1
  93. package/commonjs/index.js +1 -1
  94. package/commonjs/themes/dark/decorative-palettes.js +1 -1
  95. package/commonjs/themes/dark/theme.js +3 -2
  96. package/commonjs/themes/light/decorative-palettes.js +1 -1
  97. package/commonjs/themes/light/theme.js +3 -2
  98. package/commonjs/utils/hooks.js +2 -3
  99. package/commonjs/utils/mixins.js +1 -1
  100. package/commonjs/utils/system-props.js +1 -1
  101. package/dist/themes/dark/dark.scss +7 -6
  102. package/dist/themes/light/light.scss +97 -96
  103. package/lib/Avatar/index.js +4 -7
  104. package/lib/Badge/index.js +1 -3
  105. package/lib/Badge/styles.js +1 -1
  106. package/lib/Banner/index.js +1 -3
  107. package/lib/Banner/styles.js +1 -1
  108. package/lib/Box/styles.js +1 -1
  109. package/lib/Breadcrumb/index.js +2 -5
  110. package/lib/Button/index.js +1 -3
  111. package/lib/Card/index.js +1 -3
  112. package/lib/Card/styles.js +2 -2
  113. package/lib/CharacterCounter/index.js +1 -3
  114. package/lib/CharacterCounter/styles.js +1 -1
  115. package/lib/ChartLegend/index.js +1 -3
  116. package/lib/ChartLegend/styles.js +3 -3
  117. package/lib/Checkbox/index.js +1 -3
  118. package/lib/Collapsible/index.js +2 -5
  119. package/lib/DatePicker/DateRangePicker.js +1 -3
  120. package/lib/DatePicker/SingleDatePicker.js +1 -3
  121. package/lib/DatePicker/StatefulDateRangePicker.js +1 -3
  122. package/lib/DatePicker/StatefulSingleDatePicker.js +1 -3
  123. package/lib/DatePicker/styles.js +6 -2
  124. package/lib/Drawer/SlideTransition.js +1 -3
  125. package/lib/Drawer/index.js +4 -9
  126. package/lib/Drawer/styles.js +2 -2
  127. package/lib/EmptyState/index.js +1 -3
  128. package/lib/Fieldset/index.js +3 -7
  129. package/lib/FormField/index.js +1 -3
  130. package/lib/Icon/index.js +2 -5
  131. package/lib/Icon/styles.js +1 -1
  132. package/lib/Image/index.js +1 -3
  133. package/lib/Image/styles.js +1 -1
  134. package/lib/Indicator/index.js +1 -3
  135. package/lib/Input/index.js +28 -73
  136. package/lib/Input/styles.js +3 -3
  137. package/lib/KeyboardKey/index.js +1 -3
  138. package/lib/Label/index.js +2 -4
  139. package/lib/Link/index.js +1 -3
  140. package/lib/Link/styles.js +1 -1
  141. package/lib/Listbox/index.js +3 -6
  142. package/lib/Loader/index.js +1 -3
  143. package/lib/Loader/styles.js +2 -2
  144. package/lib/LoaderButton/index.js +1 -3
  145. package/lib/Menu/descendants.js +2 -5
  146. package/lib/Menu/index.js +16 -20
  147. package/lib/Menu/styles.js +2 -2
  148. package/lib/Message/index.js +1 -3
  149. package/lib/Modal/index.js +3 -7
  150. package/lib/Modal/styles.js +5 -3
  151. package/lib/Numeral/index.js +1 -3
  152. package/lib/Numeral/styles.js +2 -2
  153. package/lib/OverflowList/styles.js +1 -1
  154. package/lib/Popout/index.js +3 -7
  155. package/lib/Popout/styles.js +1 -1
  156. package/lib/Radio/index.js +1 -3
  157. package/lib/Radio/styles.js +4 -4
  158. package/lib/SegmentedControl/index.js +2 -5
  159. package/lib/Select/index.js +1 -3
  160. package/lib/Stack/index.js +1 -3
  161. package/lib/Switch/index.js +1 -3
  162. package/lib/Switch/styles.js +1 -1
  163. package/lib/Table/index.js +4 -9
  164. package/lib/TableCell/index.js +1 -3
  165. package/lib/TableHeaderCell/index.js +1 -3
  166. package/lib/TableRowAccordion/index.js +1 -3
  167. package/lib/Tabs/index.js +2 -5
  168. package/lib/Tabs/styles.js +3 -3
  169. package/lib/Text/index.js +1 -3
  170. package/lib/Text/styles.js +1 -1
  171. package/lib/Textarea/index.js +1 -3
  172. package/lib/Toast/index.js +14 -14
  173. package/lib/Toast/styles.js +7 -3
  174. package/lib/ToggleHint/index.js +1 -3
  175. package/lib/Token/index.js +1 -3
  176. package/lib/Token/styles.js +1 -1
  177. package/lib/TokenInput/index.js +1 -3
  178. package/lib/Tooltip/index.js +2 -5
  179. package/lib/Tooltip/styles.js +1 -1
  180. package/lib/VisuallyHidden/index.js +1 -1
  181. package/lib/themes/dark/theme.js +2 -1
  182. package/lib/themes/light/theme.js +2 -1
  183. package/package.json +1 -1
  184. package/bin/buildNpm.js +0 -58
@@ -1,7 +1,3 @@
1
- var _excluded = ["isOpen", "setIsOpen", "content", "children", "placement", "fullWidth", "zIndex", "focusOnContent", "onOpen", "onClose", "qa", "popperProps", "scheduleUpdateRef", "appendToBody", "focusLockProps"],
2
- _excluded2 = ["autoFocus", "returnFocus"],
3
- _excluded3 = ["children"];
4
-
5
1
  function _extends() { _extends = Object.assign || 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); }
6
2
 
7
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -75,7 +71,7 @@ export default function Popout(_ref) {
75
71
  appendToBody = _ref$appendToBody === void 0 ? true : _ref$appendToBody,
76
72
  _ref$focusLockProps = _ref.focusLockProps,
77
73
  focusLockProps = _ref$focusLockProps === void 0 ? {} : _ref$focusLockProps,
78
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
74
+ rest = _objectWithoutPropertiesLoose(_ref, ["isOpen", "setIsOpen", "content", "children", "placement", "fullWidth", "zIndex", "focusOnContent", "onOpen", "onClose", "qa", "popperProps", "scheduleUpdateRef", "appendToBody", "focusLockProps"]);
79
75
 
80
76
  var PopoutComponentWrapper = appendToBody ? Portal : React.Fragment;
81
77
 
@@ -105,7 +101,7 @@ export default function Popout(_ref) {
105
101
  autoFocus = _focusLockProps$autoF === void 0 ? true : _focusLockProps$autoF,
106
102
  _focusLockProps$retur = focusLockProps.returnFocus,
107
103
  returnFocus = _focusLockProps$retur === void 0 ? true : _focusLockProps$retur,
108
- restFocusLockProps = _objectWithoutPropertiesLoose(focusLockProps, _excluded2);
104
+ restFocusLockProps = _objectWithoutPropertiesLoose(focusLockProps, ["autoFocus", "returnFocus"]);
109
105
 
110
106
  var isInvalidContent = content === null || content === undefined; // Callbacks for showing, hiding, and toggling visibility of the popout
111
107
  // (Not used when isOpen is passed explicitly)
@@ -263,7 +259,7 @@ export default function Popout(_ref) {
263
259
 
264
260
  var PopoutContent = function PopoutContent(_ref4) {
265
261
  var children = _ref4.children,
266
- rest = _objectWithoutPropertiesLoose(_ref4, _excluded3);
262
+ rest = _objectWithoutPropertiesLoose(_ref4, ["children"]);
267
263
 
268
264
  return /*#__PURE__*/React.createElement(Box, _extends({
269
265
  bg: "container.background.base",
@@ -3,5 +3,5 @@ import { COMMON, LAYOUT } from "../utils/system-props";
3
3
  // eslint-disable-next-line prettier/prettier
4
4
  export var TargetWrapper = styled.div.withConfig({
5
5
  displayName: "styles__TargetWrapper",
6
- componentId: "sc-qo3sn-0"
6
+ componentId: "qo3sn-0"
7
7
  })(["display:inline-block;", " ", ""], COMMON, LAYOUT);
@@ -1,5 +1,3 @@
1
- var _excluded = ["id", "value", "name", "label", "checked", "disabled", "onChange", "onFocus", "onBlur", "ariaLabel", "qa"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -65,7 +63,7 @@ var Radio = /*#__PURE__*/function (_React$Component) {
65
63
  ariaLabel = _this$props.ariaLabel,
66
64
  _this$props$qa = _this$props.qa,
67
65
  qa = _this$props$qa === void 0 ? {} : _this$props$qa,
68
- rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
66
+ rest = _objectWithoutPropertiesLoose(_this$props, ["id", "value", "name", "label", "checked", "disabled", "onChange", "onFocus", "onBlur", "ariaLabel", "qa"]);
69
67
 
70
68
  return (
71
69
  /*#__PURE__*/
@@ -4,12 +4,12 @@ import { focusRing, disabled } from "../utils/mixins";
4
4
  import Text from "../Text/";
5
5
  var Container = styled.span.withConfig({
6
6
  displayName: "styles__Container",
7
- componentId: "sc-uyr445-0"
7
+ componentId: "uyr445-0"
8
8
  })(["display:inline-flex;align-items:center;box-sizing:border-box;", ""], COMMON);
9
9
  Container.displayName = "Radio";
10
10
  export var Input = styled.input.withConfig({
11
11
  displayName: "styles__Input",
12
- componentId: "sc-uyr445-1"
12
+ componentId: "uyr445-1"
13
13
  })(["box-sizing:border-box;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;appearance:none;cursor:", ";border:1px solid ", ";border-radius:50%;background-color:", ";transition:border-color ", " ", ",background-color ", " ", ";&:focus{", "}"], function (props) {
14
14
  return props.disabled ? "not-allowed" : "pointer";
15
15
  }, function (props) {
@@ -29,7 +29,7 @@ Input.displayName = "Input"; // eslint-disable-next-line prettier/prettier
29
29
 
30
30
  export var InputWrapper = styled.span.withConfig({
31
31
  displayName: "styles__InputWrapper",
32
- componentId: "sc-uyr445-2"
32
+ componentId: "uyr445-2"
33
33
  })(["position:relative;width:", ";height:", ";cursor:", ";", " &:before{content:\"\";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:6px;height:6px;border-radius:50%;opacity:0;transition:opacity ", " ", ";z-index:1;pointer-events:none;cursor:", ";}", " ", ""], function (props) {
34
34
  return props.theme.space[400];
35
35
  }, function (props) {
@@ -52,7 +52,7 @@ export var InputWrapper = styled.span.withConfig({
52
52
  InputWrapper.displayName = "InputWrapper";
53
53
  export var LabelText = styled(Text).withConfig({
54
54
  displayName: "styles__LabelText",
55
- componentId: "sc-uyr445-3"
55
+ componentId: "uyr445-3"
56
56
  })(["margin-left:", ";font-size:", ";line-height:1;cursor:", ";color:", ";", ""], function (props) {
57
57
  return props.theme.space[300];
58
58
  }, function (props) {
@@ -1,6 +1,3 @@
1
- var _excluded = ["value", "children"],
2
- _excluded2 = ["selectedValue", "label", "onChange", "children"];
3
-
4
1
  function _extends() { _extends = Object.assign || 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); }
5
2
 
6
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -16,7 +13,7 @@ var SegmentedControlContext = /*#__PURE__*/React.createContext(null);
16
13
  var SegmentedControlItem = function SegmentedControlItem(_ref) {
17
14
  var value = _ref.value,
18
15
  children = _ref.children,
19
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
16
+ rest = _objectWithoutPropertiesLoose(_ref, ["value", "children"]);
20
17
 
21
18
  var context = useContext(SegmentedControlContext);
22
19
 
@@ -58,7 +55,7 @@ var SegmentedControl = function SegmentedControl(_ref2) {
58
55
  label = _ref2.label,
59
56
  onChange = _ref2.onChange,
60
57
  children = _ref2.children,
61
- rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
58
+ rest = _objectWithoutPropertiesLoose(_ref2, ["selectedValue", "label", "onChange", "children"]);
62
59
 
63
60
  var _useState2 = useState("Racine-segmented-control-" + nameCounter++),
64
61
  name = _useState2[0];
@@ -1,5 +1,3 @@
1
- var _excluded = ["id", "name", "children", "defaultValue", "value", "required", "isInvalid", "autoFocus", "disabled", "onChange", "ariaLabel", "ariaDescribedby", "size", "qa", "inputProps"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -56,7 +54,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
56
54
  qa = _this$props$qa === void 0 ? {} : _this$props$qa,
57
55
  _this$props$inputProp = _this$props.inputProps,
58
56
  inputProps = _this$props$inputProp === void 0 ? {} : _this$props$inputProp,
59
- rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
57
+ rest = _objectWithoutPropertiesLoose(_this$props, ["id", "name", "children", "defaultValue", "value", "required", "isInvalid", "autoFocus", "disabled", "onChange", "ariaLabel", "ariaDescribedby", "size", "qa", "inputProps"]);
60
58
 
61
59
  return (
62
60
  /*#__PURE__*/
@@ -1,5 +1,3 @@
1
- var _excluded = ["children", "space", "align", "direction"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -53,7 +51,7 @@ var Stack = function Stack(_ref) {
53
51
  align = _ref$align === void 0 ? "left" : _ref$align,
54
52
  _ref$direction = _ref.direction,
55
53
  direction = _ref$direction === void 0 ? "vertical" : _ref$direction,
56
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
54
+ rest = _objectWithoutPropertiesLoose(_ref, ["children", "space", "align", "direction"]);
57
55
 
58
56
  var stackItems = Children.toArray(children);
59
57
  var responsiveAlignment = normalizeResponsiveProp(align);
@@ -1,5 +1,3 @@
1
- var _excluded = ["checked", "disabled", "name", "a11yLabels", "onClick", "qa"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -53,7 +51,7 @@ var Switch = /*#__PURE__*/function (_React$Component) {
53
51
  onClick = _this$props2.onClick,
54
52
  _this$props2$qa = _this$props2.qa,
55
53
  qa = _this$props2$qa === void 0 ? {} : _this$props2$qa,
56
- rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);
54
+ rest = _objectWithoutPropertiesLoose(_this$props2, ["checked", "disabled", "name", "a11yLabels", "onClick", "qa"]);
57
55
 
58
56
  return /*#__PURE__*/React.createElement(Container, _extends({
59
57
  role: "button",
@@ -5,7 +5,7 @@ import Icon from "../Icon/styles";
5
5
  // eslint-disable-next-line prettier/prettier
6
6
  var Container = styled.button.withConfig({
7
7
  displayName: "styles__Container",
8
- componentId: "sc-x5lhuq-0"
8
+ componentId: "x5lhuq-0"
9
9
  })(["position:relative;display:inline-block;width:36px;height:22px;margin:0;padding:", " ", ";vertical-align:middle;appearance:none;background-color:", ";border-radius:11px;outline:none;cursor:pointer;transition:background-color ", " ", ";border:1px solid ", ";white-space:nowrap;overflow:hidden;&::after{position:absolute;top:50%;left:0;width:14px;height:14px;background-color:", ";opacity:0.64;border-radius:50%;content:\"\";transition:transform ", " ", ";transform:translate(4px,-50%);}&:focus{", "}", " ", " ", ""], function (props) {
10
10
  return props.theme.space[100];
11
11
  }, function (props) {
@@ -1,8 +1,3 @@
1
- var _excluded = ["head", "rows", "onSort", "sortId", "sortDirection", "rowRender", "children"],
2
- _excluded2 = ["children"],
3
- _excluded3 = ["children"],
4
- _excluded4 = ["children"];
5
-
6
1
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
7
2
 
8
3
  function _extends() { _extends = Object.assign || 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); }
@@ -37,7 +32,7 @@ export var Table = function Table(_ref) {
37
32
  sortDirection = _ref.sortDirection,
38
33
  rowRender = _ref.rowRender,
39
34
  children = _ref.children,
40
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
35
+ rest = _objectWithoutPropertiesLoose(_ref, ["head", "rows", "onSort", "sortId", "sortDirection", "rowRender", "children"]);
41
36
 
42
37
  if (children) {
43
38
  return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
@@ -62,19 +57,19 @@ export var Table = function Table(_ref) {
62
57
  };
63
58
  export var TableHead = function TableHead(_ref2) {
64
59
  var children = _ref2.children,
65
- props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
60
+ props = _objectWithoutPropertiesLoose(_ref2, ["children"]);
66
61
 
67
62
  return /*#__PURE__*/React.createElement("thead", props, children);
68
63
  };
69
64
  export var TableBody = function TableBody(_ref3) {
70
65
  var children = _ref3.children,
71
- props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
66
+ props = _objectWithoutPropertiesLoose(_ref3, ["children"]);
72
67
 
73
68
  return /*#__PURE__*/React.createElement("tbody", props, children);
74
69
  };
75
70
  export var TableRow = function TableRow(_ref4) {
76
71
  var children = _ref4.children,
77
- props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
72
+ props = _objectWithoutPropertiesLoose(_ref4, ["children"]);
78
73
 
79
74
  return /*#__PURE__*/React.createElement("tr", props, children);
80
75
  };
@@ -1,5 +1,3 @@
1
- var _excluded = ["id", "content", "colSpan", "width", "align", "children"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -31,7 +29,7 @@ var TableCell = /*#__PURE__*/function (_React$Component) {
31
29
  width = _this$props.width,
32
30
  align = _this$props.align,
33
31
  children = _this$props.children,
34
- rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
32
+ rest = _objectWithoutPropertiesLoose(_this$props, ["id", "content", "colSpan", "width", "align", "children"]);
35
33
 
36
34
  return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
37
35
  alignment: align || "left",
@@ -1,5 +1,3 @@
1
- var _excluded = ["id", "content", "colSpan", "width", "align", "isSortable", "shouldTruncate", "onSort", "sortId", "sortDirection", "children", "onClick"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -82,7 +80,7 @@ var TableHeaderCell = /*#__PURE__*/function (_React$Component) {
82
80
  sortDirection = _this$props2.sortDirection,
83
81
  children = _this$props2.children,
84
82
  onClick = _this$props2.onClick,
85
- rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);
83
+ rest = _objectWithoutPropertiesLoose(_this$props2, ["id", "content", "colSpan", "width", "align", "isSortable", "shouldTruncate", "onSort", "sortId", "sortDirection", "children", "onClick"]);
86
84
 
87
85
  return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
88
86
  key: id,
@@ -1,5 +1,3 @@
1
- var _excluded = ["id", "cells", "detail", "onToggle", "isExpanded"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -51,7 +49,7 @@ var TableRowAccordion = /*#__PURE__*/function (_React$Component) {
51
49
  detail = _this$props2.detail,
52
50
  onToggle = _this$props2.onToggle,
53
51
  isExpanded = _this$props2.isExpanded,
54
- rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);
52
+ rest = _objectWithoutPropertiesLoose(_this$props2, ["id", "cells", "detail", "onToggle", "isExpanded"]);
55
53
 
56
54
  return /*#__PURE__*/React.createElement(Container, _extends({}, rest, {
57
55
  "data-qa-table-row-accordion": isExpanded,
package/lib/Tabs/index.js CHANGED
@@ -1,6 +1,3 @@
1
- var _excluded = ["children", "id"],
2
- _excluded2 = ["children", "qa"];
3
-
4
1
  function _extends() { _extends = Object.assign || 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); }
5
2
 
6
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -49,7 +46,7 @@ var TabItemButton = /*#__PURE__*/function (_React$Component) {
49
46
  var _this$props = this.props,
50
47
  children = _this$props.children,
51
48
  id = _this$props.id,
52
- rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
49
+ rest = _objectWithoutPropertiesLoose(_this$props, ["children", "id"]);
53
50
 
54
51
  var _this$context = this.context,
55
52
  selectedId = _this$context.selectedId,
@@ -186,7 +183,7 @@ var Tabs = /*#__PURE__*/function (_React$Component2) {
186
183
  var _this$props2 = this.props,
187
184
  children = _this$props2.children,
188
185
  qa = _this$props2.qa,
189
- rest = _objectWithoutPropertiesLoose(_this$props2, _excluded2);
186
+ rest = _objectWithoutPropertiesLoose(_this$props2, ["children", "qa"]);
190
187
 
191
188
  return (
192
189
  /*#__PURE__*/
@@ -3,7 +3,7 @@ import { COMMON } from "../utils/system-props";
3
3
  import Button from "../Button";
4
4
  var Container = styled.ul.withConfig({
5
5
  displayName: "styles__Container",
6
- componentId: "sc-vnjuiu-0"
6
+ componentId: "vnjuiu-0"
7
7
  })(["display:", ";justify-content:space-between;margin:0;padding:0;list-style:none;border-bottom:", " ", ";", ""], function (props) {
8
8
  return props.fullWidth ? "flex" : "inline-flex";
9
9
  }, function (props) {
@@ -13,7 +13,7 @@ var Container = styled.ul.withConfig({
13
13
  }, COMMON);
14
14
  export var TabItem = styled.li.withConfig({
15
15
  displayName: "styles__TabItem",
16
- componentId: "sc-vnjuiu-1"
16
+ componentId: "vnjuiu-1"
17
17
  })(["margin-bottom:-1px;", ";&:not(:last-child){", ";}", ";&:hover{", ";}"], function (props) {
18
18
  return props.fullWidth && css(["flex-grow:1;"]);
19
19
  }, function (props) {
@@ -32,7 +32,7 @@ export var TabItem = styled.li.withConfig({
32
32
 
33
33
  export var TabButton = styled(Button).withConfig({
34
34
  displayName: "styles__TabButton",
35
- componentId: "sc-vnjuiu-2"
35
+ componentId: "vnjuiu-2"
36
36
  })(["padding:", ";color:", ";width:100%;", ";&:hover{", ";}&:active{transform:none;}"], function (props) {
37
37
  return props.theme.space[350] + " 0";
38
38
  }, function (props) {
package/lib/Text/index.js CHANGED
@@ -1,5 +1,3 @@
1
- var _excluded = ["fontSize", "children", "qa"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -74,7 +72,7 @@ var Text = function Text(_ref) {
74
72
  var fontSize = _ref.fontSize,
75
73
  children = _ref.children,
76
74
  qa = _ref.qa,
77
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
75
+ rest = _objectWithoutPropertiesLoose(_ref, ["fontSize", "children", "qa"]);
78
76
 
79
77
  var qaText = typeof children === "string" ? children : undefined;
80
78
  return (
@@ -2,7 +2,7 @@ import styled, { css } from "styled-components";
2
2
  import { COMMON, LAYOUT, TYPOGRAPHY } from "../utils/system-props";
3
3
  var Container = styled.span.withConfig({
4
4
  displayName: "styles__Container",
5
- componentId: "sc-mmg963-0"
5
+ componentId: "mmg963-0"
6
6
  })(["margin:0;padding-left:0;padding-right:0;font-family:", ";font-style:", ";", " ", " ", " ", " ", ""], function (props) {
7
7
  return props.theme.fontFamily;
8
8
  }, function (props) {
@@ -1,5 +1,3 @@
1
- var _excluded = ["autoFocus", "disabled", "readOnly", "isInvalid", "id", "name", "placeholder", "value", "enableSpellcheck", "enableResize", "required", "rows", "elemBefore", "elemAfter", "maxLength", "ariaLabel", "ariaDescribedby", "innerRef", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "qa", "inputProps"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -87,7 +85,7 @@ var Textarea = /*#__PURE__*/function (_React$Component) {
87
85
  qa = _this$props$qa === void 0 ? {} : _this$props$qa,
88
86
  _this$props$inputProp = _this$props.inputProps,
89
87
  inputProps = _this$props$inputProp === void 0 ? {} : _this$props$inputProp,
90
- rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
88
+ rest = _objectWithoutPropertiesLoose(_this$props, ["autoFocus", "disabled", "readOnly", "isInvalid", "id", "name", "placeholder", "value", "enableSpellcheck", "enableResize", "required", "rows", "elemBefore", "elemAfter", "maxLength", "ariaLabel", "ariaDescribedby", "innerRef", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "qa", "inputProps"]);
91
89
 
92
90
  return /*#__PURE__*/React.createElement(Container, _extends({
93
91
  hasBeforeElement: !!elemBefore,
@@ -63,14 +63,26 @@ export function toast(options) {
63
63
  });
64
64
  }
65
65
 
66
+ var _StyledBox = _styled(Box).withConfig({
67
+ displayName: "Toast___StyledBox",
68
+ componentId: "sc-1vii3dq-0"
69
+ })(["", ""], function (p) {
70
+ return p._css;
71
+ });
72
+
66
73
  var IconBox = function IconBox(props) {
67
74
  return /*#__PURE__*/React.createElement(_StyledBox, _extends({
68
75
  display: "inline-block"
69
76
  }, props, {
70
- $_css: "line-height: 1;"
77
+ _css: "line-height: 1;"
71
78
  }));
72
79
  };
73
80
 
81
+ var _StyledBox2 = _styled(Box).withConfig({
82
+ displayName: "Toast___StyledBox2",
83
+ componentId: "sc-1vii3dq-1"
84
+ })(["transform:translateY(1px);"]);
85
+
74
86
  var Toast = function Toast(_ref) {
75
87
  var content = _ref.content,
76
88
  theme = _ref.theme,
@@ -108,16 +120,4 @@ var Toast = function Toast(_ref) {
108
120
  }))));
109
121
  };
110
122
 
111
- export default ToastContainer;
112
-
113
- var _StyledBox = _styled(Box).withConfig({
114
- displayName: "Toast___StyledBox",
115
- componentId: "sc-1vii3dq-0"
116
- })(["", ""], function (p) {
117
- return p.$_css;
118
- });
119
-
120
- var _StyledBox2 = _styled(Box).withConfig({
121
- displayName: "Toast___StyledBox2",
122
- componentId: "sc-1vii3dq-1"
123
- })(["transform:translateY(1px);"]);
123
+ export default ToastContainer;
@@ -1,3 +1,7 @@
1
+ var _templateObject;
2
+
3
+ function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
4
+
1
5
  import styled, { createGlobalStyle } from "styled-components";
2
6
  import Box from "../Box";
3
7
  import Icon from "../Icon"; // $FlowIssue
@@ -5,7 +9,7 @@ import Icon from "../Icon"; // $FlowIssue
5
9
  import toastStyles from "!!raw-loader!react-toastify/dist/ReactToastify.css";
6
10
  var Container = styled(Box).withConfig({
7
11
  displayName: "styles__Container",
8
- componentId: "sc-wp5x29-0"
12
+ componentId: "wp5x29-0"
9
13
  })(["display:flex;align-items:center;font-family:", ";", " position:relative;background:", ";border-left:2px solid ", ";"], function (p) {
10
14
  return p.theme.fontFamily;
11
15
  }, function (p) {
@@ -17,13 +21,13 @@ var Container = styled(Box).withConfig({
17
21
  });
18
22
  export var CustomIcon = styled(Icon).withConfig({
19
23
  displayName: "styles__CustomIcon",
20
- componentId: "sc-wp5x29-1"
24
+ componentId: "wp5x29-1"
21
25
  })(["margin-right:", ";transform:translateY(4px);color:", ";"], function (props) {
22
26
  return props.theme.space[400];
23
27
  }, function (p) {
24
28
  return p.customColor ? undefined : p.theme.colors.icon[p.type];
25
29
  });
26
- export var GlobalToastStyles = createGlobalStyle(["", " .Toastify__toast:last-of-type{margin-bottom:0;}.Toastify-container-overrides{padding:0;width:360px;}.Toastify-toast-overrides{padding:0;min-height:0;border-radius:2px;}.Toastify__toast-container--bottom-right{bottom:", ";right:", ";}@media only screen and (max-width:480px){.Toastify-container-overrides{min-width:initial;}}"], toastStyles, function (p) {
30
+ export var GlobalToastStyles = createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\t", "\n\n\t.Toastify__toast:last-of-type {\n\t\tmargin-bottom: 0;\n\t}\n\n\t.Toastify-container-overrides {\n\t\tpadding: 0;\n\t\twidth: 360px;\n\t}\n\n\t.Toastify-toast-overrides {\n\t\tpadding: 0;\n\t\tmin-height: 0;\n\t\tborder-radius: 2px;\n\t}\n\n\t.Toastify__toast-container--bottom-right {\n\t\tbottom: ", ";\n\t\tright: ", ";\n\t}\n\n\t/* Override React Toastify's mobile width styles */\n\t@media only screen and (max-width: 480px) {\n\t\t.Toastify-container-overrides {\n\t\t\tmin-width: initial;\n\t\t}\n\t}\n"])), toastStyles, function (p) {
27
31
  return p.theme.space[400];
28
32
  }, function (p) {
29
33
  return p.theme.space[400];
@@ -1,5 +1,3 @@
1
- var _excluded = ["icon", "isOpen", "openString", "closeString", "qa", "className"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -52,7 +50,7 @@ var ToggleHint = /*#__PURE__*/function (_React$Component) {
52
50
  closeString = _this$props.closeString,
53
51
  qa = _this$props.qa,
54
52
  className = _this$props.className,
55
- rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
53
+ rest = _objectWithoutPropertiesLoose(_this$props, ["icon", "isOpen", "openString", "closeString", "qa", "className"]);
56
54
 
57
55
  return /*#__PURE__*/React.createElement(Container, _extends({
58
56
  icon: icon,
@@ -1,5 +1,3 @@
1
- var _excluded = ["children", "closeable", "onClick", "qa", "valid", "disabled", "palette"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -22,7 +20,7 @@ var Token = function Token(_ref) {
22
20
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
23
21
  _ref$palette = _ref.palette,
24
22
  palette = _ref$palette === void 0 ? "neutral" : _ref$palette,
25
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
23
+ rest = _objectWithoutPropertiesLoose(_ref, ["children", "closeable", "onClick", "qa", "valid", "disabled", "palette"]);
26
24
 
27
25
  var textContainer = useTextContent("");
28
26
  return /*#__PURE__*/React.createElement(Container, _extends({
@@ -3,7 +3,7 @@ import { COMMON } from "../utils/system-props";
3
3
  import { focusRing } from "../utils/mixins";
4
4
  var Container = styled.button.withConfig({
5
5
  displayName: "styles__Container",
6
- componentId: "sc-nyn5zy-0"
6
+ componentId: "nyn5zy-0"
7
7
  })(["position:relative;display:inline-block;margin:0;line-height:1;vertical-align:middle;outline:none;", " &:focus{", "}", " ", " ", " ", " ", ""], function (_ref) {
8
8
  var theme = _ref.theme;
9
9
  return css(["", " font-family:", ";font-weight:", ";border:1px solid ", ";border-radius:", ";color:", ";background:", ";padding:", " ", ";transition:all ", " ", ";"], theme.typography[200], theme.fontFamily, theme.fontWeights.normal, theme.colors.container.border.base, theme.radii[500], theme.colors.text.body, theme.colors.container.background.base, theme.space[200], theme.space[300], theme.duration.fast, theme.easing.ease_inout);
@@ -1,5 +1,3 @@
1
- var _excluded = ["autoFocus", "autocomplete", "disabled", "isInvalid", "hasWarning", "id", "name", "placeholder", "required", "value", "elemBefore", "elemAfter", "maxLength", "ariaDescribedby", "ariaLabel", "innerRef", "onAddToken", "onRemoveToken", "onChangeTokens", "onClickToken", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onPaste", "inputProps", "qa", "tokens"];
2
-
3
1
  function _extends() { _extends = Object.assign || 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); }
4
2
 
5
3
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -266,7 +264,7 @@ var TokenInput = /*#__PURE__*/function (_React$Component) {
266
264
  _this$props5$qa = _this$props5.qa,
267
265
  qa = _this$props5$qa === void 0 ? {} : _this$props5$qa,
268
266
  tokens = _this$props5.tokens,
269
- rest = _objectWithoutPropertiesLoose(_this$props5, _excluded);
267
+ rest = _objectWithoutPropertiesLoose(_this$props5, ["autoFocus", "autocomplete", "disabled", "isInvalid", "hasWarning", "id", "name", "placeholder", "required", "value", "elemBefore", "elemAfter", "maxLength", "ariaDescribedby", "ariaLabel", "innerRef", "onAddToken", "onRemoveToken", "onChangeTokens", "onClickToken", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onPaste", "inputProps", "qa", "tokens"]);
270
268
 
271
269
  var state = this.state;
272
270
  return /*#__PURE__*/React.createElement(Container, _extends({
@@ -1,6 +1,3 @@
1
- var _excluded = ["content", "children", "enterDelay", "placement", "appearance", "zIndex", "qa", "popoutProps", "truncated"],
2
- _excluded2 = ["appearance", "children"];
3
-
4
1
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
5
2
 
6
3
  function _extends() { _extends = Object.assign || 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); }
@@ -37,7 +34,7 @@ var Tooltip = function Tooltip(_ref) {
37
34
  popoutProps = _ref.popoutProps,
38
35
  _ref$truncated = _ref.truncated,
39
36
  truncated = _ref$truncated === void 0 ? false : _ref$truncated,
40
- rest = _objectWithoutPropertiesLoose(_ref, _excluded);
37
+ rest = _objectWithoutPropertiesLoose(_ref, ["content", "children", "enterDelay", "placement", "appearance", "zIndex", "qa", "popoutProps", "truncated"]);
41
38
 
42
39
  var _useState = useState(false),
43
40
  shouldShow = _useState[0],
@@ -111,7 +108,7 @@ var Content = function Content(_ref2) {
111
108
  var _ref2$appearance = _ref2.appearance,
112
109
  appearance = _ref2$appearance === void 0 ? "pill" : _ref2$appearance,
113
110
  children = _ref2.children,
114
- rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
111
+ rest = _objectWithoutPropertiesLoose(_ref2, ["appearance", "children"]);
115
112
 
116
113
  return /*#__PURE__*/React.createElement(TooltipContent, _extends({
117
114
  appearance: appearance,
@@ -3,7 +3,7 @@ import Box from "../Box";
3
3
  // eslint-disable-next-line prettier/prettier
4
4
  export var TooltipContent = styled(Box).withConfig({
5
5
  displayName: "styles__TooltipContent",
6
- componentId: "sc-t1xjnk-0"
6
+ componentId: "t1xjnk-0"
7
7
  })(["font-family:", ";", " text-align:", ";"], function (props) {
8
8
  return props.theme.fontFamily;
9
9
  }, function (props) {
@@ -2,5 +2,5 @@ import { visuallyHidden } from "../utils/mixins";
2
2
  import styled from "styled-components";
3
3
  export var VisuallyHidden = styled.span.withConfig({
4
4
  displayName: "VisuallyHidden",
5
- componentId: "sc-rxkbyc-0"
5
+ componentId: "rxkbyc-0"
6
6
  })(["", ""], visuallyHidden);
@@ -159,7 +159,8 @@ var colors = _extends({}, lightTheme.colors, {
159
159
  subtext: COLORS.COLOR_NEUTRAL_300,
160
160
  body: COLORS.COLOR_NEUTRAL_100,
161
161
  inverse: COLORS.COLOR_NEUTRAL_900,
162
- error: COLORS.COLOR_RED_400
162
+ error: COLORS.COLOR_RED_400,
163
+ highlight: COLORS.COLOR_YELLOW_900
163
164
  },
164
165
  icon: {
165
166
  base: COLORS.COLOR_NEUTRAL_100,
@@ -157,7 +157,8 @@ var colors = _extends({
157
157
  subtext: COLORS.COLOR_NEUTRAL_700,
158
158
  body: COLORS.COLOR_NEUTRAL_800,
159
159
  inverse: COLORS.COLOR_NEUTRAL_0,
160
- error: COLORS.COLOR_RED_800
160
+ error: COLORS.COLOR_RED_800,
161
+ highlight: COLORS.COLOR_YELLOW_200
161
162
  },
162
163
  icon: {
163
164
  base: COLORS.COLOR_NEUTRAL_800,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sproutsocial/racine",
3
- "version": "11.3.0-beta.2",
3
+ "version": "11.3.0-text-highlight.0",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "__flow__",