@sproutsocial/racine 11.2.0 → 11.3.0-beta.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 (185) hide show
  1. package/CHANGELOG.md +0 -6
  2. package/__flow__/Badge/index.js +32 -58
  3. package/__flow__/Badge/index.stories.js +42 -35
  4. package/__flow__/Badge/index.test.js +32 -34
  5. package/__flow__/Badge/styles.js +42 -22
  6. package/__flow__/Input/index.js +124 -66
  7. package/__flow__/Input/index.stories.js +33 -0
  8. package/__flow__/Input/index.test.js +224 -1
  9. package/__flow__/Input/styles.js +1 -1
  10. package/commonjs/Avatar/index.js +7 -4
  11. package/commonjs/Badge/index.js +39 -39
  12. package/commonjs/Badge/styles.js +32 -16
  13. package/commonjs/Banner/index.js +3 -1
  14. package/commonjs/Banner/styles.js +1 -1
  15. package/commonjs/Box/styles.js +1 -1
  16. package/commonjs/Breadcrumb/index.js +5 -2
  17. package/commonjs/Button/index.js +3 -1
  18. package/commonjs/Card/index.js +3 -1
  19. package/commonjs/Card/styles.js +3 -3
  20. package/commonjs/CharacterCounter/index.js +3 -1
  21. package/commonjs/CharacterCounter/styles.js +1 -1
  22. package/commonjs/ChartLegend/index.js +3 -1
  23. package/commonjs/ChartLegend/styles.js +3 -3
  24. package/commonjs/Checkbox/index.js +3 -1
  25. package/commonjs/Checkbox/styles.js +1 -1
  26. package/commonjs/Collapsible/index.js +5 -2
  27. package/commonjs/DatePicker/DateRangePicker.js +3 -1
  28. package/commonjs/DatePicker/SingleDatePicker.js +3 -1
  29. package/commonjs/DatePicker/StatefulDateRangePicker.js +3 -1
  30. package/commonjs/DatePicker/StatefulSingleDatePicker.js +3 -1
  31. package/commonjs/DatePicker/common.js +1 -1
  32. package/commonjs/DatePicker/styles.js +2 -6
  33. package/commonjs/Drawer/SlideTransition.js +3 -1
  34. package/commonjs/Drawer/index.js +9 -4
  35. package/commonjs/Drawer/styles.js +2 -2
  36. package/commonjs/EmptyState/index.js +3 -1
  37. package/commonjs/Fieldset/index.js +7 -3
  38. package/commonjs/FormField/index.js +3 -1
  39. package/commonjs/Icon/index.js +5 -2
  40. package/commonjs/Icon/styles.js +1 -1
  41. package/commonjs/Image/index.js +3 -1
  42. package/commonjs/Image/styles.js +1 -1
  43. package/commonjs/Indicator/index.js +3 -1
  44. package/commonjs/Input/index.js +69 -28
  45. package/commonjs/Input/styles.js +3 -3
  46. package/commonjs/KeyboardKey/index.js +3 -1
  47. package/commonjs/Label/index.js +4 -2
  48. package/commonjs/Link/index.js +3 -1
  49. package/commonjs/Link/styles.js +1 -1
  50. package/commonjs/Listbox/index.js +7 -4
  51. package/commonjs/Loader/index.js +3 -1
  52. package/commonjs/Loader/styles.js +2 -2
  53. package/commonjs/LoaderButton/index.js +3 -1
  54. package/commonjs/Menu/constants.js +1 -1
  55. package/commonjs/Menu/descendants.js +10 -7
  56. package/commonjs/Menu/hooks.js +1 -1
  57. package/commonjs/Menu/index.js +22 -16
  58. package/commonjs/Menu/styles.js +2 -2
  59. package/commonjs/Message/index.js +3 -1
  60. package/commonjs/Message/styles.js +1 -1
  61. package/commonjs/Modal/index.js +7 -3
  62. package/commonjs/Modal/styles.js +4 -6
  63. package/commonjs/Numeral/constants.js +1 -1
  64. package/commonjs/Numeral/index.js +3 -1
  65. package/commonjs/Numeral/styles.js +3 -3
  66. package/commonjs/OverflowList/styles.js +1 -1
  67. package/commonjs/Popout/index.js +7 -3
  68. package/commonjs/Popout/styles.js +1 -1
  69. package/commonjs/Radio/index.js +3 -1
  70. package/commonjs/Radio/styles.js +4 -4
  71. package/commonjs/SegmentedControl/index.js +5 -2
  72. package/commonjs/Select/index.js +3 -1
  73. package/commonjs/Stack/index.js +3 -1
  74. package/commonjs/Switch/index.js +3 -1
  75. package/commonjs/Switch/styles.js +1 -1
  76. package/commonjs/Table/index.js +10 -5
  77. package/commonjs/TableCell/index.js +3 -1
  78. package/commonjs/TableHeaderCell/index.js +3 -1
  79. package/commonjs/TableRowAccordion/index.js +3 -1
  80. package/commonjs/Tabs/index.js +5 -2
  81. package/commonjs/Tabs/styles.js +4 -4
  82. package/commonjs/Text/index.js +3 -1
  83. package/commonjs/Text/styles.js +1 -1
  84. package/commonjs/Textarea/index.js +3 -1
  85. package/commonjs/Toast/index.js +15 -15
  86. package/commonjs/Toast/styles.js +4 -7
  87. package/commonjs/ToggleHint/index.js +3 -1
  88. package/commonjs/Token/index.js +3 -1
  89. package/commonjs/Token/styles.js +1 -1
  90. package/commonjs/TokenInput/index.js +3 -1
  91. package/commonjs/Tooltip/index.js +5 -2
  92. package/commonjs/Tooltip/styles.js +1 -1
  93. package/commonjs/VisuallyHidden/index.js +1 -1
  94. package/commonjs/index.js +1 -1
  95. package/commonjs/themes/dark/decorative-palettes.js +1 -1
  96. package/commonjs/themes/dark/theme.js +1 -1
  97. package/commonjs/themes/light/decorative-palettes.js +1 -1
  98. package/commonjs/themes/light/theme.js +1 -1
  99. package/commonjs/utils/hooks.js +3 -2
  100. package/commonjs/utils/mixins.js +1 -1
  101. package/commonjs/utils/system-props.js +1 -1
  102. package/dist/themes/dark/dark.scss +5 -5
  103. package/dist/themes/light/light.scss +95 -95
  104. package/lib/Avatar/index.js +7 -4
  105. package/lib/Badge/index.js +40 -37
  106. package/lib/Badge/styles.js +28 -13
  107. package/lib/Banner/index.js +3 -1
  108. package/lib/Banner/styles.js +1 -1
  109. package/lib/Box/styles.js +1 -1
  110. package/lib/Breadcrumb/index.js +5 -2
  111. package/lib/Button/index.js +3 -1
  112. package/lib/Card/index.js +3 -1
  113. package/lib/Card/styles.js +2 -2
  114. package/lib/CharacterCounter/index.js +3 -1
  115. package/lib/CharacterCounter/styles.js +1 -1
  116. package/lib/ChartLegend/index.js +3 -1
  117. package/lib/ChartLegend/styles.js +3 -3
  118. package/lib/Checkbox/index.js +3 -1
  119. package/lib/Collapsible/index.js +5 -2
  120. package/lib/DatePicker/DateRangePicker.js +3 -1
  121. package/lib/DatePicker/SingleDatePicker.js +3 -1
  122. package/lib/DatePicker/StatefulDateRangePicker.js +3 -1
  123. package/lib/DatePicker/StatefulSingleDatePicker.js +3 -1
  124. package/lib/DatePicker/styles.js +2 -6
  125. package/lib/Drawer/SlideTransition.js +3 -1
  126. package/lib/Drawer/index.js +9 -4
  127. package/lib/Drawer/styles.js +2 -2
  128. package/lib/EmptyState/index.js +3 -1
  129. package/lib/Fieldset/index.js +7 -3
  130. package/lib/FormField/index.js +3 -1
  131. package/lib/Icon/index.js +5 -2
  132. package/lib/Icon/styles.js +1 -1
  133. package/lib/Image/index.js +3 -1
  134. package/lib/Image/styles.js +1 -1
  135. package/lib/Indicator/index.js +3 -1
  136. package/lib/Input/index.js +62 -27
  137. package/lib/Input/styles.js +3 -3
  138. package/lib/KeyboardKey/index.js +3 -1
  139. package/lib/Label/index.js +4 -2
  140. package/lib/Link/index.js +3 -1
  141. package/lib/Link/styles.js +1 -1
  142. package/lib/Listbox/index.js +6 -3
  143. package/lib/Loader/index.js +3 -1
  144. package/lib/Loader/styles.js +2 -2
  145. package/lib/LoaderButton/index.js +3 -1
  146. package/lib/Menu/descendants.js +5 -2
  147. package/lib/Menu/index.js +20 -16
  148. package/lib/Menu/styles.js +2 -2
  149. package/lib/Message/index.js +3 -1
  150. package/lib/Modal/index.js +7 -3
  151. package/lib/Modal/styles.js +3 -5
  152. package/lib/Numeral/index.js +3 -1
  153. package/lib/Numeral/styles.js +2 -2
  154. package/lib/OverflowList/styles.js +1 -1
  155. package/lib/Popout/index.js +7 -3
  156. package/lib/Popout/styles.js +1 -1
  157. package/lib/Radio/index.js +3 -1
  158. package/lib/Radio/styles.js +4 -4
  159. package/lib/SegmentedControl/index.js +5 -2
  160. package/lib/Select/index.js +3 -1
  161. package/lib/Stack/index.js +3 -1
  162. package/lib/Switch/index.js +3 -1
  163. package/lib/Switch/styles.js +1 -1
  164. package/lib/Table/index.js +9 -4
  165. package/lib/TableCell/index.js +3 -1
  166. package/lib/TableHeaderCell/index.js +3 -1
  167. package/lib/TableRowAccordion/index.js +3 -1
  168. package/lib/Tabs/index.js +5 -2
  169. package/lib/Tabs/styles.js +3 -3
  170. package/lib/Text/index.js +3 -1
  171. package/lib/Text/styles.js +1 -1
  172. package/lib/Textarea/index.js +3 -1
  173. package/lib/Toast/index.js +14 -14
  174. package/lib/Toast/styles.js +3 -7
  175. package/lib/ToggleHint/index.js +3 -1
  176. package/lib/Token/index.js +3 -1
  177. package/lib/Token/styles.js +1 -1
  178. package/lib/TokenInput/index.js +3 -1
  179. package/lib/Tooltip/index.js +5 -2
  180. package/lib/Tooltip/styles.js +1 -1
  181. package/lib/VisuallyHidden/index.js +1 -1
  182. package/package.json +1 -1
  183. package/__flow__/Badge/constants.js +0 -48
  184. package/commonjs/Badge/constants.js +0 -43
  185. package/lib/Badge/constants.js +0 -38
@@ -15,6 +15,10 @@ var _Text = _interopRequireDefault(require("../Text"));
15
15
 
16
16
  var _styles = require("./styles");
17
17
 
18
+ var _excluded = ["title", "subtitle", "children", "bordered"],
19
+ _excluded2 = ["children"],
20
+ _excluded3 = ["appElementSelector", "children", "isOpen", "label", "onClose", "closeButtonLabel", "width", "zIndex"];
21
+
18
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
23
 
20
24
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -32,7 +36,7 @@ var ModalHeader = function ModalHeader(props) {
32
36
  subtitle = props.subtitle,
33
37
  children = props.children,
34
38
  bordered = props.bordered,
35
- rest = _objectWithoutPropertiesLoose(props, ["title", "subtitle", "children", "bordered"]);
39
+ rest = _objectWithoutPropertiesLoose(props, _excluded);
36
40
 
37
41
  return (
38
42
  /*#__PURE__*/
@@ -87,7 +91,7 @@ ModalFooter.defaultProps = {
87
91
  var ModalContent = /*#__PURE__*/React.forwardRef( // $FlowIssue - upgrade v0.112.0
88
92
  function (_ref, ref) {
89
93
  var children = _ref.children,
90
- rest = _objectWithoutPropertiesLoose(_ref, ["children"]);
94
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded2);
91
95
 
92
96
  var _useContext2 = (0, React.useContext)(ModalContext),
93
97
  label = _useContext2.label;
@@ -111,7 +115,7 @@ var Modal = function Modal(props) {
111
115
  closeButtonLabel = props.closeButtonLabel,
112
116
  width = props.width,
113
117
  zIndex = props.zIndex,
114
- rest = _objectWithoutPropertiesLoose(props, ["appElementSelector", "children", "isOpen", "label", "onClose", "closeButtonLabel", "width", "zIndex"]);
118
+ rest = _objectWithoutPropertiesLoose(props, _excluded3);
115
119
 
116
120
  var isCloseable = Boolean(onClose);
117
121
  var appElement = appElementSelector && document ? document.querySelector(appElementSelector) : null;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.Footer = exports.Header = exports.HeaderContainer = exports.Content = exports.Container = exports.Body = void 0;
4
+ exports.HeaderContainer = exports.Header = exports.Footer = exports.Content = exports.Container = exports.Body = void 0;
5
5
 
6
6
  var _react = _interopRequireDefault(require("react"));
7
7
 
@@ -15,7 +15,7 @@ var _Box = _interopRequireDefault(require("../Box"));
15
15
 
16
16
  var _systemProps = require("../utils/system-props");
17
17
 
18
- var _templateObject;
18
+ var _excluded = ["className"];
19
19
 
20
20
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
21
21
 
@@ -23,8 +23,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
23
23
 
24
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
25
25
 
26
- function _taggedTemplateLiteralLoose(strings, raw) { if (!raw) { raw = strings.slice(0); } strings.raw = raw; return strings; }
27
-
28
26
  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); }
29
27
 
30
28
  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; }
@@ -34,7 +32,7 @@ var BODY_PADDING = "64px";
34
32
 
35
33
  function ReactModalAdapter(_ref) {
36
34
  var className = _ref.className,
37
- props = _objectWithoutPropertiesLoose(_ref, ["className"]);
35
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
38
36
 
39
37
  // We want to create *__Content and *__Overlay class names on the subcomponents.
40
38
  // Because `className` could be a space-separated list of class names, we make
@@ -53,7 +51,7 @@ function ReactModalAdapter(_ref) {
53
51
  }, props));
54
52
  }
55
53
 
56
- var Body = (0, _styledComponents.createGlobalStyle)(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n .ReactModal__Body--open {\n overflow: hidden;\n }\n"]))); // eslint-disable-next-line prettier/prettier
54
+ var Body = (0, _styledComponents.createGlobalStyle)([".ReactModal__Body--open{overflow:hidden;}"]); // eslint-disable-next-line prettier/prettier
57
55
 
58
56
  exports.Body = Body;
59
57
  var Container = (0, _styledComponents.default)(ReactModalAdapter).withConfig({
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.DefaultPrecisions = exports.ABBREV_PRECISION = exports.MAX_PRECISION = exports.COMPARE_OBJECTS = exports.MEMO_CACHE_SIZE = exports.DEFAULT_THRESHOLD = void 0;
4
+ exports.MEMO_CACHE_SIZE = exports.MAX_PRECISION = exports.DefaultPrecisions = exports.DEFAULT_THRESHOLD = exports.COMPARE_OBJECTS = exports.ABBREV_PRECISION = void 0;
5
5
  var DEFAULT_THRESHOLD = 10000;
6
6
  exports.DEFAULT_THRESHOLD = DEFAULT_THRESHOLD;
7
7
  var MEMO_CACHE_SIZE = 10;
@@ -15,6 +15,8 @@ var _constants = require("./constants");
15
15
 
16
16
  var _constants2 = require("../utils/constants");
17
17
 
18
+ var _excluded = ["number", "locale", "format", "currency", "abbreviate", "precision", "qa"];
19
+
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
21
 
20
22
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -98,7 +100,7 @@ var normalizeArgs = function normalizeArgs(props) {
98
100
  abbreviate = _props$abbreviate === void 0 ? true : _props$abbreviate,
99
101
  precision = props.precision,
100
102
  qa = props.qa,
101
- rest = _objectWithoutPropertiesLoose(props, ["number", "locale", "format", "currency", "abbreviate", "precision", "qa"]);
103
+ rest = _objectWithoutPropertiesLoose(props, _excluded);
102
104
 
103
105
  var threshold = getThreshold(abbreviate);
104
106
 
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.AbbrContainer = exports.Container = void 0;
4
+ exports.Container = exports.AbbrContainer = void 0;
5
5
 
6
6
  var _styledComponents = _interopRequireDefault(require("styled-components"));
7
7
 
@@ -11,12 +11,12 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
11
11
 
12
12
  var Container = (0, _styledComponents.default)(_Text.default).withConfig({
13
13
  displayName: "styles__Container",
14
- componentId: "o79gt9-0"
14
+ componentId: "sc-o79gt9-0"
15
15
  })(["font-variant-numeric:tabular-nums;"]);
16
16
  exports.Container = Container;
17
17
  var AbbrContainer = (0, _styledComponents.default)(_Text.default).withConfig({
18
18
  displayName: "styles__AbbrContainer",
19
- componentId: "o79gt9-1"
19
+ componentId: "sc-o79gt9-1"
20
20
  })(["font-variant-numeric:tabular-nums;border-bottom:1px dotted ", ";"], function (props) {
21
21
  return props.theme.colors.container.border.base;
22
22
  });
@@ -21,7 +21,7 @@ var Container = (0, _styledComponents.default)(function (props) {
21
21
  return /*#__PURE__*/React.createElement(_reactVirtualized.List, props);
22
22
  }).withConfig({
23
23
  displayName: "styles__Container",
24
- componentId: "ugoond-0"
24
+ componentId: "sc-ugoond-0"
25
25
  })(["box-sizing:border-box;font-family:", ";", " ", " ", " ", " ", " ", ""], function (_ref) {
26
26
  var theme = _ref.theme;
27
27
  return theme.fontFamily;
@@ -22,6 +22,10 @@ var _hooks = require("../utils/hooks");
22
22
 
23
23
  var _reactFocusLock = _interopRequireDefault(require("react-focus-lock"));
24
24
 
25
+ var _excluded = ["isOpen", "setIsOpen", "content", "children", "placement", "fullWidth", "zIndex", "focusOnContent", "onOpen", "onClose", "qa", "popperProps", "scheduleUpdateRef", "appendToBody", "focusLockProps"],
26
+ _excluded2 = ["autoFocus", "returnFocus"],
27
+ _excluded3 = ["children"];
28
+
25
29
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
26
30
 
27
31
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -94,7 +98,7 @@ function Popout(_ref) {
94
98
  appendToBody = _ref$appendToBody === void 0 ? true : _ref$appendToBody,
95
99
  _ref$focusLockProps = _ref.focusLockProps,
96
100
  focusLockProps = _ref$focusLockProps === void 0 ? {} : _ref$focusLockProps,
97
- rest = _objectWithoutPropertiesLoose(_ref, ["isOpen", "setIsOpen", "content", "children", "placement", "fullWidth", "zIndex", "focusOnContent", "onOpen", "onClose", "qa", "popperProps", "scheduleUpdateRef", "appendToBody", "focusLockProps"]);
101
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
98
102
 
99
103
  var PopoutComponentWrapper = appendToBody ? _Portal.default : React.Fragment;
100
104
 
@@ -124,7 +128,7 @@ function Popout(_ref) {
124
128
  autoFocus = _focusLockProps$autoF === void 0 ? true : _focusLockProps$autoF,
125
129
  _focusLockProps$retur = focusLockProps.returnFocus,
126
130
  returnFocus = _focusLockProps$retur === void 0 ? true : _focusLockProps$retur,
127
- restFocusLockProps = _objectWithoutPropertiesLoose(focusLockProps, ["autoFocus", "returnFocus"]);
131
+ restFocusLockProps = _objectWithoutPropertiesLoose(focusLockProps, _excluded2);
128
132
 
129
133
  var isInvalidContent = content === null || content === undefined; // Callbacks for showing, hiding, and toggling visibility of the popout
130
134
  // (Not used when isOpen is passed explicitly)
@@ -282,7 +286,7 @@ function Popout(_ref) {
282
286
 
283
287
  var PopoutContent = function PopoutContent(_ref4) {
284
288
  var children = _ref4.children,
285
- rest = _objectWithoutPropertiesLoose(_ref4, ["children"]);
289
+ rest = _objectWithoutPropertiesLoose(_ref4, _excluded3);
286
290
 
287
291
  return /*#__PURE__*/React.createElement(_Box.default, _extends({
288
292
  bg: "container.background.base",
@@ -12,7 +12,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
12
12
  // eslint-disable-next-line prettier/prettier
13
13
  var TargetWrapper = _styledComponents.default.div.withConfig({
14
14
  displayName: "styles__TargetWrapper",
15
- componentId: "qo3sn-0"
15
+ componentId: "sc-qo3sn-0"
16
16
  })(["display:inline-block;", " ", ""], _systemProps.COMMON, _systemProps.LAYOUT);
17
17
 
18
18
  exports.TargetWrapper = TargetWrapper;
@@ -7,6 +7,8 @@ var React = _interopRequireWildcard(require("react"));
7
7
 
8
8
  var _styles = _interopRequireWildcard(require("./styles"));
9
9
 
10
+ var _excluded = ["id", "value", "name", "label", "checked", "disabled", "onChange", "onFocus", "onBlur", "ariaLabel", "qa"];
11
+
10
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
13
 
12
14
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -73,7 +75,7 @@ var Radio = /*#__PURE__*/function (_React$Component) {
73
75
  ariaLabel = _this$props.ariaLabel,
74
76
  _this$props$qa = _this$props.qa,
75
77
  qa = _this$props$qa === void 0 ? {} : _this$props$qa,
76
- rest = _objectWithoutPropertiesLoose(_this$props, ["id", "value", "name", "label", "checked", "disabled", "onChange", "onFocus", "onBlur", "ariaLabel", "qa"]);
78
+ rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
77
79
 
78
80
  return (
79
81
  /*#__PURE__*/
@@ -19,14 +19,14 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
19
19
 
20
20
  var Container = _styledComponents.default.span.withConfig({
21
21
  displayName: "styles__Container",
22
- componentId: "uyr445-0"
22
+ componentId: "sc-uyr445-0"
23
23
  })(["display:inline-flex;align-items:center;box-sizing:border-box;", ""], _systemProps.COMMON);
24
24
 
25
25
  Container.displayName = "Radio";
26
26
 
27
27
  var Input = _styledComponents.default.input.withConfig({
28
28
  displayName: "styles__Input",
29
- componentId: "uyr445-1"
29
+ componentId: "sc-uyr445-1"
30
30
  })(["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) {
31
31
  return props.disabled ? "not-allowed" : "pointer";
32
32
  }, function (props) {
@@ -48,7 +48,7 @@ Input.displayName = "Input"; // eslint-disable-next-line prettier/prettier
48
48
 
49
49
  var InputWrapper = _styledComponents.default.span.withConfig({
50
50
  displayName: "styles__InputWrapper",
51
- componentId: "uyr445-2"
51
+ componentId: "sc-uyr445-2"
52
52
  })(["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) {
53
53
  return props.theme.space[400];
54
54
  }, function (props) {
@@ -73,7 +73,7 @@ exports.InputWrapper = InputWrapper;
73
73
  InputWrapper.displayName = "InputWrapper";
74
74
  var LabelText = (0, _styledComponents.default)(_Text.default).withConfig({
75
75
  displayName: "styles__LabelText",
76
- componentId: "uyr445-3"
76
+ componentId: "sc-uyr445-3"
77
77
  })(["margin-left:", ";font-size:", ";line-height:1;cursor:", ";color:", ";", ""], function (props) {
78
78
  return props.theme.space[300];
79
79
  }, function (props) {
@@ -9,6 +9,9 @@ var _styles = require("./styles");
9
9
 
10
10
  var _Box = _interopRequireDefault(require("../Box"));
11
11
 
12
+ var _excluded = ["value", "children"],
13
+ _excluded2 = ["selectedValue", "label", "onChange", "children"];
14
+
12
15
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
16
 
14
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -26,7 +29,7 @@ var SegmentedControlContext = /*#__PURE__*/React.createContext(null);
26
29
  var SegmentedControlItem = function SegmentedControlItem(_ref) {
27
30
  var value = _ref.value,
28
31
  children = _ref.children,
29
- rest = _objectWithoutPropertiesLoose(_ref, ["value", "children"]);
32
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
30
33
 
31
34
  var context = (0, React.useContext)(SegmentedControlContext);
32
35
 
@@ -68,7 +71,7 @@ var SegmentedControl = function SegmentedControl(_ref2) {
68
71
  label = _ref2.label,
69
72
  onChange = _ref2.onChange,
70
73
  children = _ref2.children,
71
- rest = _objectWithoutPropertiesLoose(_ref2, ["selectedValue", "label", "onChange", "children"]);
74
+ rest = _objectWithoutPropertiesLoose(_ref2, _excluded2);
72
75
 
73
76
  var _useState2 = (0, React.useState)("Racine-segmented-control-" + nameCounter++),
74
77
  name = _useState2[0];
@@ -9,6 +9,8 @@ var _styles = _interopRequireWildcard(require("./styles"));
9
9
 
10
10
  var _Icon = _interopRequireDefault(require("../Icon"));
11
11
 
12
+ var _excluded = ["id", "name", "children", "defaultValue", "value", "required", "isInvalid", "autoFocus", "disabled", "onChange", "ariaLabel", "ariaDescribedby", "size", "qa", "inputProps"];
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
15
 
14
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -67,7 +69,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
67
69
  qa = _this$props$qa === void 0 ? {} : _this$props$qa,
68
70
  _this$props$inputProp = _this$props.inputProps,
69
71
  inputProps = _this$props$inputProp === void 0 ? {} : _this$props$inputProp,
70
- rest = _objectWithoutPropertiesLoose(_this$props, ["id", "name", "children", "defaultValue", "value", "required", "isInvalid", "autoFocus", "disabled", "onChange", "ariaLabel", "ariaDescribedby", "size", "qa", "inputProps"]);
72
+ rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
71
73
 
72
74
  return (
73
75
  /*#__PURE__*/
@@ -9,6 +9,8 @@ var _Box = _interopRequireDefault(require("../Box"));
9
9
 
10
10
  var _responsiveProps = require("../utils/responsiveProps");
11
11
 
12
+ var _excluded = ["children", "space", "align", "direction"];
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
15
 
14
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -64,7 +66,7 @@ var Stack = function Stack(_ref) {
64
66
  align = _ref$align === void 0 ? "left" : _ref$align,
65
67
  _ref$direction = _ref.direction,
66
68
  direction = _ref$direction === void 0 ? "vertical" : _ref$direction,
67
- rest = _objectWithoutPropertiesLoose(_ref, ["children", "space", "align", "direction"]);
69
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
68
70
 
69
71
  var stackItems = React.Children.toArray(children);
70
72
  var responsiveAlignment = (0, _responsiveProps.normalizeResponsiveProp)(align);
@@ -11,6 +11,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
11
11
 
12
12
  var _VisuallyHidden = require("../VisuallyHidden");
13
13
 
14
+ var _excluded = ["checked", "disabled", "name", "a11yLabels", "onClick", "qa"];
15
+
14
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
17
 
16
18
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -65,7 +67,7 @@ var Switch = /*#__PURE__*/function (_React$Component) {
65
67
  onClick = _this$props2.onClick,
66
68
  _this$props2$qa = _this$props2.qa,
67
69
  qa = _this$props2$qa === void 0 ? {} : _this$props2$qa,
68
- rest = _objectWithoutPropertiesLoose(_this$props2, ["checked", "disabled", "name", "a11yLabels", "onClick", "qa"]);
70
+ rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);
69
71
 
70
72
  return /*#__PURE__*/React.createElement(_styles.default, _extends({
71
73
  role: "button",
@@ -20,7 +20,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
20
20
  // eslint-disable-next-line prettier/prettier
21
21
  var Container = _styledComponents.default.button.withConfig({
22
22
  displayName: "styles__Container",
23
- componentId: "x5lhuq-0"
23
+ componentId: "sc-x5lhuq-0"
24
24
  })(["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) {
25
25
  return props.theme.space[100];
26
26
  }, function (props) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.default = exports.TableRow = exports.TableBody = exports.TableHead = exports.Table = void 0;
4
+ exports.default = exports.TableRow = exports.TableHead = exports.TableBody = exports.Table = void 0;
5
5
 
6
6
  var React = _interopRequireWildcard(require("react"));
7
7
 
@@ -11,6 +11,11 @@ var _TableHeaderCell = _interopRequireDefault(require("../TableHeaderCell"));
11
11
 
12
12
  var _styles = _interopRequireDefault(require("./styles"));
13
13
 
14
+ var _excluded = ["head", "rows", "onSort", "sortId", "sortDirection", "rowRender", "children"],
15
+ _excluded2 = ["children"],
16
+ _excluded3 = ["children"],
17
+ _excluded4 = ["children"];
18
+
14
19
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
20
 
16
21
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -46,7 +51,7 @@ var Table = function Table(_ref) {
46
51
  sortDirection = _ref.sortDirection,
47
52
  rowRender = _ref.rowRender,
48
53
  children = _ref.children,
49
- rest = _objectWithoutPropertiesLoose(_ref, ["head", "rows", "onSort", "sortId", "sortDirection", "rowRender", "children"]);
54
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
50
55
 
51
56
  if (children) {
52
57
  return /*#__PURE__*/React.createElement(_styles.default, _extends({}, rest, {
@@ -74,7 +79,7 @@ exports.Table = Table;
74
79
 
75
80
  var TableHead = function TableHead(_ref2) {
76
81
  var children = _ref2.children,
77
- props = _objectWithoutPropertiesLoose(_ref2, ["children"]);
82
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
78
83
 
79
84
  return /*#__PURE__*/React.createElement("thead", props, children);
80
85
  };
@@ -83,7 +88,7 @@ exports.TableHead = TableHead;
83
88
 
84
89
  var TableBody = function TableBody(_ref3) {
85
90
  var children = _ref3.children,
86
- props = _objectWithoutPropertiesLoose(_ref3, ["children"]);
91
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded3);
87
92
 
88
93
  return /*#__PURE__*/React.createElement("tbody", props, children);
89
94
  };
@@ -92,7 +97,7 @@ exports.TableBody = TableBody;
92
97
 
93
98
  var TableRow = function TableRow(_ref4) {
94
99
  var children = _ref4.children,
95
- props = _objectWithoutPropertiesLoose(_ref4, ["children"]);
100
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded4);
96
101
 
97
102
  return /*#__PURE__*/React.createElement("tr", props, children);
98
103
  };
@@ -7,6 +7,8 @@ var React = _interopRequireWildcard(require("react"));
7
7
 
8
8
  var _styles = _interopRequireDefault(require("./styles"));
9
9
 
10
+ var _excluded = ["id", "content", "colSpan", "width", "align", "children"];
11
+
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
13
 
12
14
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -41,7 +43,7 @@ var TableCell = /*#__PURE__*/function (_React$Component) {
41
43
  width = _this$props.width,
42
44
  align = _this$props.align,
43
45
  children = _this$props.children,
44
- rest = _objectWithoutPropertiesLoose(_this$props, ["id", "content", "colSpan", "width", "align", "children"]);
46
+ rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
45
47
 
46
48
  return /*#__PURE__*/React.createElement(_styles.default, _extends({}, rest, {
47
49
  alignment: align || "left",
@@ -9,6 +9,8 @@ var _styles = _interopRequireWildcard(require("./styles"));
9
9
 
10
10
  var _Icon = _interopRequireDefault(require("../Icon/"));
11
11
 
12
+ var _excluded = ["id", "content", "colSpan", "width", "align", "isSortable", "shouldTruncate", "onSort", "sortId", "sortDirection", "children", "onClick"];
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
15
 
14
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -95,7 +97,7 @@ var TableHeaderCell = /*#__PURE__*/function (_React$Component) {
95
97
  sortDirection = _this$props2.sortDirection,
96
98
  children = _this$props2.children,
97
99
  onClick = _this$props2.onClick,
98
- rest = _objectWithoutPropertiesLoose(_this$props2, ["id", "content", "colSpan", "width", "align", "isSortable", "shouldTruncate", "onSort", "sortId", "sortDirection", "children", "onClick"]);
100
+ rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);
99
101
 
100
102
  return /*#__PURE__*/React.createElement(_styles.default, _extends({}, rest, {
101
103
  key: id,
@@ -11,6 +11,8 @@ var _Icon = _interopRequireDefault(require("../Icon"));
11
11
 
12
12
  var _TableCell = _interopRequireDefault(require("../TableCell"));
13
13
 
14
+ var _excluded = ["id", "cells", "detail", "onToggle", "isExpanded"];
15
+
14
16
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15
17
 
16
18
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -63,7 +65,7 @@ var TableRowAccordion = /*#__PURE__*/function (_React$Component) {
63
65
  detail = _this$props2.detail,
64
66
  onToggle = _this$props2.onToggle,
65
67
  isExpanded = _this$props2.isExpanded,
66
- rest = _objectWithoutPropertiesLoose(_this$props2, ["id", "cells", "detail", "onToggle", "isExpanded"]);
68
+ rest = _objectWithoutPropertiesLoose(_this$props2, _excluded);
67
69
 
68
70
  return /*#__PURE__*/React.createElement(_styles.default, _extends({}, rest, {
69
71
  "data-qa-table-row-accordion": isExpanded,
@@ -7,6 +7,9 @@ var React = _interopRequireWildcard(require("react"));
7
7
 
8
8
  var _styles = _interopRequireWildcard(require("./styles"));
9
9
 
10
+ var _excluded = ["children", "id"],
11
+ _excluded2 = ["children", "qa"];
12
+
10
13
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
14
 
12
15
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -57,7 +60,7 @@ var TabItemButton = /*#__PURE__*/function (_React$Component) {
57
60
  var _this$props = this.props,
58
61
  children = _this$props.children,
59
62
  id = _this$props.id,
60
- rest = _objectWithoutPropertiesLoose(_this$props, ["children", "id"]);
63
+ rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
61
64
 
62
65
  var _this$context = this.context,
63
66
  selectedId = _this$context.selectedId,
@@ -194,7 +197,7 @@ var Tabs = /*#__PURE__*/function (_React$Component2) {
194
197
  var _this$props2 = this.props,
195
198
  children = _this$props2.children,
196
199
  qa = _this$props2.qa,
197
- rest = _objectWithoutPropertiesLoose(_this$props2, ["children", "qa"]);
200
+ rest = _objectWithoutPropertiesLoose(_this$props2, _excluded2);
198
201
 
199
202
  return (
200
203
  /*#__PURE__*/
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.default = exports.TabButton = exports.TabItem = void 0;
4
+ exports.default = exports.TabItem = exports.TabButton = void 0;
5
5
 
6
6
  var _styledComponents = _interopRequireWildcard(require("styled-components"));
7
7
 
@@ -17,7 +17,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
17
17
 
18
18
  var Container = _styledComponents.default.ul.withConfig({
19
19
  displayName: "styles__Container",
20
- componentId: "vnjuiu-0"
20
+ componentId: "sc-vnjuiu-0"
21
21
  })(["display:", ";justify-content:space-between;margin:0;padding:0;list-style:none;border-bottom:", " ", ";", ""], function (props) {
22
22
  return props.fullWidth ? "flex" : "inline-flex";
23
23
  }, function (props) {
@@ -28,7 +28,7 @@ var Container = _styledComponents.default.ul.withConfig({
28
28
 
29
29
  var TabItem = _styledComponents.default.li.withConfig({
30
30
  displayName: "styles__TabItem",
31
- componentId: "vnjuiu-1"
31
+ componentId: "sc-vnjuiu-1"
32
32
  })(["margin-bottom:-1px;", ";&:not(:last-child){", ";}", ";&:hover{", ";}"], function (props) {
33
33
  return props.fullWidth && (0, _styledComponents.css)(["flex-grow:1;"]);
34
34
  }, function (props) {
@@ -49,7 +49,7 @@ var TabItem = _styledComponents.default.li.withConfig({
49
49
  exports.TabItem = TabItem;
50
50
  var TabButton = (0, _styledComponents.default)(_Button.default).withConfig({
51
51
  displayName: "styles__TabButton",
52
- componentId: "vnjuiu-2"
52
+ componentId: "sc-vnjuiu-2"
53
53
  })(["padding:", ";color:", ";width:100%;", ";&:hover{", ";}&:active{transform:none;}"], function (props) {
54
54
  return props.theme.space[350] + " 0";
55
55
  }, function (props) {
@@ -9,6 +9,8 @@ var _styles = _interopRequireDefault(require("./styles"));
9
9
 
10
10
  var _styledComponents = _interopRequireDefault(require("styled-components"));
11
11
 
12
+ var _excluded = ["fontSize", "children", "qa"];
13
+
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
15
 
14
16
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -86,7 +88,7 @@ var Text = function Text(_ref) {
86
88
  var fontSize = _ref.fontSize,
87
89
  children = _ref.children,
88
90
  qa = _ref.qa,
89
- rest = _objectWithoutPropertiesLoose(_ref, ["fontSize", "children", "qa"]);
91
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded);
90
92
 
91
93
  var qaText = typeof children === "string" ? children : undefined;
92
94
  return (
@@ -13,7 +13,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
13
13
 
14
14
  var Container = _styledComponents.default.span.withConfig({
15
15
  displayName: "styles__Container",
16
- componentId: "mmg963-0"
16
+ componentId: "sc-mmg963-0"
17
17
  })(["margin:0;padding-left:0;padding-right:0;font-family:", ";font-style:", ";", " ", " ", " ", " ", ""], function (props) {
18
18
  return props.theme.fontFamily;
19
19
  }, function (props) {
@@ -7,6 +7,8 @@ var React = _interopRequireWildcard(require("react"));
7
7
 
8
8
  var _styles = _interopRequireWildcard(require("./styles"));
9
9
 
10
+ 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"];
11
+
10
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
11
13
 
12
14
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -95,7 +97,7 @@ var Textarea = /*#__PURE__*/function (_React$Component) {
95
97
  qa = _this$props$qa === void 0 ? {} : _this$props$qa,
96
98
  _this$props$inputProp = _this$props.inputProps,
97
99
  inputProps = _this$props$inputProp === void 0 ? {} : _this$props$inputProp,
98
- 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"]);
100
+ rest = _objectWithoutPropertiesLoose(_this$props, _excluded);
99
101
 
100
102
  return /*#__PURE__*/React.createElement(_styles.default, _extends({
101
103
  hasBeforeElement: !!elemBefore,
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  exports.__esModule = true;
4
- exports.toast = toast;
5
4
  exports.default = void 0;
5
+ exports.toast = toast;
6
6
 
7
7
  var _styledComponents = _interopRequireDefault(require("styled-components"));
8
8
 
@@ -82,26 +82,14 @@ function toast(options) {
82
82
  });
83
83
  }
84
84
 
85
- var _StyledBox = (0, _styledComponents.default)(_Box.default).withConfig({
86
- displayName: "Toast___StyledBox",
87
- componentId: "sc-1vii3dq-0"
88
- })(["", ""], function (p) {
89
- return p._css;
90
- });
91
-
92
85
  var IconBox = function IconBox(props) {
93
86
  return /*#__PURE__*/React.createElement(_StyledBox, _extends({
94
87
  display: "inline-block"
95
88
  }, props, {
96
- _css: "line-height: 1;"
89
+ $_css: "line-height: 1;"
97
90
  }));
98
91
  };
99
92
 
100
- var _StyledBox2 = (0, _styledComponents.default)(_Box.default).withConfig({
101
- displayName: "Toast___StyledBox2",
102
- componentId: "sc-1vii3dq-1"
103
- })(["transform:translateY(1px);"]);
104
-
105
93
  var Toast = function Toast(_ref) {
106
94
  var content = _ref.content,
107
95
  theme = _ref.theme,
@@ -140,4 +128,16 @@ var Toast = function Toast(_ref) {
140
128
  };
141
129
 
142
130
  var _default = ToastContainer;
143
- exports.default = _default;
131
+ exports.default = _default;
132
+
133
+ var _StyledBox = (0, _styledComponents.default)(_Box.default).withConfig({
134
+ displayName: "Toast___StyledBox",
135
+ componentId: "sc-1vii3dq-0"
136
+ })(["", ""], function (p) {
137
+ return p.$_css;
138
+ });
139
+
140
+ var _StyledBox2 = (0, _styledComponents.default)(_Box.default).withConfig({
141
+ displayName: "Toast___StyledBox2",
142
+ componentId: "sc-1vii3dq-1"
143
+ })(["transform:translateY(1px);"]);