@semcore/button 16.0.13-prerelease.9 → 16.1.0-prerelease.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 (44) hide show
  1. package/CHANGELOG.md +3 -3
  2. package/lib/cjs/component/AbstractButton/AbstractButton.js +165 -100
  3. package/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -1
  4. package/lib/cjs/component/AbstractButton/AbstractButton.type.js.map +1 -1
  5. package/lib/cjs/component/AbstractButton/SpinButton.js +10 -9
  6. package/lib/cjs/component/AbstractButton/SpinButton.js.map +1 -1
  7. package/lib/cjs/component/Button/Button.js +63 -54
  8. package/lib/cjs/component/Button/Button.js.map +1 -1
  9. package/lib/cjs/component/Button/Button.type.js.map +1 -1
  10. package/lib/cjs/component/Button/button.shadow.css +79 -79
  11. package/lib/cjs/component/ButtonLink/ButtonLink.js +59 -51
  12. package/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -1
  13. package/lib/cjs/component/ButtonLink/buttonLink.shadow.css +13 -13
  14. package/lib/cjs/index.js +7 -7
  15. package/lib/cjs/index.js.map +1 -1
  16. package/lib/es6/component/AbstractButton/AbstractButton.js +164 -97
  17. package/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -1
  18. package/lib/es6/component/AbstractButton/AbstractButton.type.js.map +1 -1
  19. package/lib/es6/component/AbstractButton/SpinButton.js +7 -6
  20. package/lib/es6/component/AbstractButton/SpinButton.js.map +1 -1
  21. package/lib/es6/component/Button/Button.js +56 -47
  22. package/lib/es6/component/Button/Button.js.map +1 -1
  23. package/lib/es6/component/Button/Button.type.js.map +1 -1
  24. package/lib/es6/component/Button/button.shadow.css +79 -79
  25. package/lib/es6/component/ButtonLink/ButtonLink.js +52 -44
  26. package/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -1
  27. package/lib/es6/component/ButtonLink/buttonLink.shadow.css +13 -13
  28. package/lib/esm/component/AbstractButton/AbstractButton.mjs +136 -98
  29. package/lib/esm/component/AbstractButton/SpinButton.mjs +6 -6
  30. package/lib/esm/component/Button/Button.mjs +56 -47
  31. package/lib/esm/component/Button/button.shadow.css +79 -79
  32. package/lib/esm/component/ButtonLink/ButtonLink.mjs +50 -44
  33. package/lib/esm/component/ButtonLink/buttonLink.shadow.css +13 -13
  34. package/lib/types/component/AbstractButton/AbstractButton.d.ts +6 -5
  35. package/lib/types/component/AbstractButton/AbstractButton.type.d.ts +4 -2
  36. package/lib/types/component/Button/Button.type.d.ts +18 -2
  37. package/package.json +9 -6
  38. package/src/component/AbstractButton/AbstractButton.tsx +77 -58
  39. package/src/component/AbstractButton/AbstractButton.type.ts +4 -2
  40. package/src/component/Button/Button.tsx +1 -1
  41. package/src/component/Button/Button.type.ts +14 -1
  42. package/src/component/Button/button.shadow.css +79 -79
  43. package/src/component/ButtonLink/ButtonLink.tsx +1 -1
  44. package/src/component/ButtonLink/buttonLink.shadow.css +13 -13
@@ -1,117 +1,155 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _callSuper from "@babel/runtime/helpers/esm/callSuper";
5
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
1
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
- import { Component, CORE_INSTANCE, sstyled, assignProps } from "@semcore/core";
3
- import { NeighborLocation, Box, Hint } from "@semcore/base-components";
7
+ import { sstyled, assignProps, CORE_INSTANCE, Component } from "@semcore/core";
4
8
  import addonTextChildren from "@semcore/core/lib/utils/addonTextChildren";
5
9
  import hasLabels from "@semcore/core/lib/utils/hasLabels";
6
10
  import logger from "@semcore/core/lib/utils/logger";
11
+ import { Box } from "@semcore/flex-box";
12
+ import NeighborLocation from "@semcore/neighbor-location";
13
+ import { Hint } from "@semcore/tooltip";
7
14
  import React from "react";
8
15
  import SpinButton from "./SpinButton.mjs";
9
- const MAP_USE_DEFAULT_THEME = {
16
+ var MAP_USE_DEFAULT_THEME = {
10
17
  primary: "info",
11
18
  secondary: "muted",
12
19
  tertiary: "info"
13
20
  };
14
- class AbstractButton extends Component {
15
- constructor(...args) {
16
- super(...args);
17
- _defineProperty(this, "containerRef", /* @__PURE__ */ React.createRef());
18
- _defineProperty(this, "state", {
21
+ var AbstractButton = /* @__PURE__ */ (function(_Component) {
22
+ function AbstractButton2() {
23
+ var _this;
24
+ _classCallCheck(this, AbstractButton2);
25
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
26
+ args[_key] = arguments[_key];
27
+ }
28
+ _this = _callSuper(this, AbstractButton2, [].concat(args));
29
+ _defineProperty(_this, "containerRef", /* @__PURE__ */ React.createRef());
30
+ _defineProperty(_this, "state", {
19
31
  ariaLabelledByContent: null
20
32
  });
33
+ return _this;
21
34
  }
22
- getTextProps() {
23
- const {
24
- size
25
- } = this.asProps;
26
- return {
27
- size
28
- };
29
- }
30
- getAddonProps() {
31
- const {
32
- size
33
- } = this.asProps;
34
- return {
35
- size
36
- };
37
- }
38
- componentDidMount() {
39
- if (process.env.NODE_ENV !== "production") {
40
- logger.warn(this.containerRef.current && !hasLabels(this.containerRef.current) && !this.asProps.title, `'title' or 'aria-label' or 'aria-labelledby' are required props for buttons without text content`, this.asProps["data-ui-name"] || AbstractButton.displayName);
41
- logger.warn(this.asProps.theme === "warning", "Warning theme is deprecated and will be removed in the next major release.", this.asProps["data-ui-name"] || AbstractButton.displayName);
35
+ _inherits(AbstractButton2, _Component);
36
+ return _createClass(AbstractButton2, [{
37
+ key: "getTextProps",
38
+ value: function getTextProps() {
39
+ var size = this.asProps.size;
40
+ return {
41
+ size
42
+ };
43
+ }
44
+ }, {
45
+ key: "getAddonProps",
46
+ value: function getAddonProps() {
47
+ var size = this.asProps.size;
48
+ return {
49
+ size
50
+ };
51
+ }
52
+ }, {
53
+ key: "componentDidMount",
54
+ value: function componentDidMount() {
55
+ var _this2 = this;
56
+ if (process.env.NODE_ENV !== "production") {
57
+ logger.warn(this.containerRef.current && !hasLabels(this.containerRef.current) && !this.asProps.title, "'title' or 'aria-label' or 'aria-labelledby' are required props for buttons without text content", this.asProps["data-ui-name"] || AbstractButton2.displayName);
58
+ logger.warn(this.asProps.theme === "warning", "Warning theme is deprecated and will be removed in the next major release.", this.asProps["data-ui-name"] || AbstractButton2.displayName);
59
+ }
60
+ var ariaLabelledby = this.asProps["aria-labelledby"];
61
+ if (ariaLabelledby) {
62
+ setTimeout(function() {
63
+ var _document$getElementB, _document$getElementB2;
64
+ _this2.setState({
65
+ ariaLabelledByContent: (_document$getElementB = (_document$getElementB2 = document.getElementById(ariaLabelledby)) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2.textContent) !== null && _document$getElementB !== void 0 ? _document$getElementB : ""
66
+ });
67
+ }, 0);
68
+ }
42
69
  }
43
- const ariaLabelledby = this.asProps["aria-labelledby"];
44
- if (ariaLabelledby) {
45
- setTimeout(() => {
46
- var _a;
47
- this.setState({
48
- ariaLabelledByContent: ((_a = document.getElementById(ariaLabelledby)) == null ? void 0 : _a.textContent) ?? ""
70
+ }, {
71
+ key: "renderButton",
72
+ value: function renderButton(_ref6) {
73
+ var _ref = this.asProps, _ref3;
74
+ var buttonProps = _ref6.buttonProps, children = _ref6.children;
75
+ var _this$asProps = this.asProps, styles = _this$asProps.styles, theme = _this$asProps.theme;
76
+ var SButton = Box;
77
+ return _ref3 = sstyled(styles), /* @__PURE__ */ React.createElement(SButton, _ref3.cn("SButton", _objectSpread({}, assignProps(_objectSpread({
78
+ "invertOutline": theme === "invert"
79
+ }, buttonProps), _ref))), children);
80
+ }
81
+ }, {
82
+ key: "renderButtonWithHint",
83
+ value: function renderButtonWithHint(_ref7) {
84
+ var _ref2 = this.asProps, _ref4;
85
+ var buttonProps = _ref7.buttonProps, children = _ref7.children, hintProps = _ref7.hintProps;
86
+ var _this$asProps2 = this.asProps, styles = _this$asProps2.styles, theme = _this$asProps2.theme;
87
+ var SButton = Hint;
88
+ return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(SButton, _ref4.cn("SButton", _objectSpread({}, assignProps(_objectSpread(_objectSpread(_objectSpread({
89
+ "invertOutline": theme === "invert"
90
+ }, buttonProps), hintProps), {}, {
91
+ "ignorePortalsStacking": true
92
+ }), _ref2))), children);
93
+ }
94
+ }, {
95
+ key: "render",
96
+ value: function render() {
97
+ var _ref8, _ref9, _this3 = this;
98
+ var _this$asProps3 = this.asProps, styles = _this$asProps3.styles, use = _this$asProps3.use, _this$asProps3$theme = _this$asProps3.theme, theme = _this$asProps3$theme === void 0 ? typeof use === "string" && MAP_USE_DEFAULT_THEME[use] : _this$asProps3$theme, loading = _this$asProps3.loading, _this$asProps3$disabl = _this$asProps3.disabled, disabled = _this$asProps3$disabl === void 0 ? loading : _this$asProps3$disabl, size = _this$asProps3.size, neighborLocation = _this$asProps3.neighborLocation, hasChildren = _this$asProps3.children, title = _this$asProps3.title, ariaLabel = _this$asProps3["aria-label"], Children = _this$asProps3.Children, AddonLeft = _this$asProps3.addonLeft, AddonRight = _this$asProps3.addonRight, hintPlacement = _this$asProps3.hintPlacement;
99
+ var Button = this[CORE_INSTANCE];
100
+ var useTheme = use && theme ? "".concat(use, "-").concat(theme) : false;
101
+ var SInner = Box;
102
+ var SSpin = Box;
103
+ var buttonAriaLabel = (_ref8 = (_ref9 = title !== null && title !== void 0 ? title : ariaLabel) !== null && _ref9 !== void 0 ? _ref9 : this.state.ariaLabelledByContent) !== null && _ref8 !== void 0 ? _ref8 : "";
104
+ var buttonProps = {
105
+ "type": "button",
106
+ "tag": "button",
107
+ disabled,
108
+ "use:theme": useTheme,
109
+ "ref": this.containerRef,
110
+ "text-color": this.getTextColor(),
111
+ "aria-busy": loading,
112
+ "__excludeProps": ["title"],
113
+ "tabIndex": 0
114
+ };
115
+ var hintProps = {
116
+ title: buttonAriaLabel,
117
+ timeout: [250, 50],
118
+ placement: hintPlacement,
119
+ theme: theme === "invert" ? "invert" : void 0,
120
+ __excludeProps: []
121
+ };
122
+ return /* @__PURE__ */ React.createElement(NeighborLocation.Detect, {
123
+ neighborLocation
124
+ }, function(neighborLocation2) {
125
+ var _ref5;
126
+ var children = (_ref5 = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SInner, _ref5.cn("SInner", {
127
+ "tag": "span",
128
+ "loading": loading,
129
+ "data-ui-name": "".concat(_this3.asProps["data-ui-name"], ".InnerWrapper")
130
+ }), AddonLeft ? /* @__PURE__ */ React.createElement(Button.Addon, null, /* @__PURE__ */ React.createElement(AddonLeft, _ref5.cn("AddonLeft", {}))) : null, addonTextChildren(Children, Button.Text, Button.Addon), AddonRight ? /* @__PURE__ */ React.createElement(Button.Addon, null, /* @__PURE__ */ React.createElement(AddonRight, _ref5.cn("AddonRight", {}))) : null), loading && /* @__PURE__ */ React.createElement(SSpin, _ref5.cn("SSpin", {
131
+ "tag": "span"
132
+ }), /* @__PURE__ */ React.createElement(SpinButton, _ref5.cn("SpinButton", {
133
+ "centered": true,
134
+ "size": size,
135
+ "theme": useTheme
136
+ })))));
137
+ buttonProps.neighborLocation = neighborLocation2;
138
+ if (hasChildren === void 0 || title) {
139
+ return _this3.renderButtonWithHint({
140
+ buttonProps,
141
+ hintProps,
142
+ children
143
+ });
144
+ }
145
+ return _this3.renderButton({
146
+ buttonProps,
147
+ children
49
148
  });
50
- }, 0);
149
+ });
51
150
  }
52
- }
53
- render() {
54
- var _ref = this.asProps;
55
- const {
56
- styles,
57
- use,
58
- theme = typeof use === "string" && MAP_USE_DEFAULT_THEME[use],
59
- loading,
60
- disabled = loading,
61
- size,
62
- neighborLocation,
63
- children,
64
- title,
65
- ["aria-label"]: ariaLabel,
66
- Children,
67
- addonLeft: AddonLeft,
68
- addonRight: AddonRight,
69
- hintPlacement
70
- } = this.asProps;
71
- const SButton = Box;
72
- const Button = this[CORE_INSTANCE];
73
- const useTheme = use && theme ? `${use}-${theme}` : false;
74
- const SInner = Box;
75
- const SSpin = Box;
76
- const buttonAriaLabel = title ?? ariaLabel ?? this.state.ariaLabelledByContent ?? "";
77
- const showHint = children === void 0 || title;
78
- return /* @__PURE__ */ React.createElement(NeighborLocation.Detect, {
79
- neighborLocation
80
- }, (neighborLocation2) => {
81
- var _ref2;
82
- return _ref2 = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SButton, _ref2.cn("SButton", {
83
- ...assignProps({
84
- "invertOutline": theme === "invert",
85
- "type": "button",
86
- "tag": "button",
87
- "tabIndex": 0,
88
- "disabled": disabled,
89
- "use:theme": useTheme,
90
- "ref": this.containerRef,
91
- "text-color": this.getTextColor(),
92
- "aria-busy": loading,
93
- "__excludeProps": ["title"],
94
- "aria-label": showHint ? buttonAriaLabel : void 0,
95
- "neighborLocation": neighborLocation2
96
- }, _ref)
97
- }), /* @__PURE__ */ React.createElement(SInner, _ref2.cn("SInner", {
98
- "tag": "span",
99
- "loading": loading,
100
- "data-ui-name": `${this.asProps["data-ui-name"]}.InnerWrapper`
101
- }), AddonLeft ? /* @__PURE__ */ React.createElement(Button.Addon, null, /* @__PURE__ */ React.createElement(AddonLeft, _ref2.cn("AddonLeft", {}))) : null, addonTextChildren(Children, Button.Text, Button.Addon), AddonRight ? /* @__PURE__ */ React.createElement(Button.Addon, null, /* @__PURE__ */ React.createElement(AddonRight, _ref2.cn("AddonRight", {}))) : null), loading && /* @__PURE__ */ React.createElement(SSpin, _ref2.cn("SSpin", {
102
- "tag": "span"
103
- }), /* @__PURE__ */ React.createElement(SpinButton, _ref2.cn("SpinButton", {
104
- "centered": true,
105
- "size": size,
106
- "theme": useTheme
107
- })))), showHint && /* @__PURE__ */ React.createElement(Hint, _ref2.cn("Hint", {
108
- "triggerRef": this.containerRef,
109
- "timeout": [250, 50],
110
- "placement": hintPlacement
111
- }), buttonAriaLabel));
112
- });
113
- }
114
- }
151
+ }]);
152
+ })(Component);
115
153
  _defineProperty(AbstractButton, "displayName", "AbstractButton");
116
154
  export {
117
155
  AbstractButton,
@@ -1,17 +1,17 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
2
3
  import Spin from "@semcore/spin";
3
4
  import React from "react";
4
- const SPIN_SIZE_MAP = {
5
+ var _excluded = ["theme", "size"];
6
+ var SPIN_SIZE_MAP = {
5
7
  xl: "m",
6
8
  l: "s",
7
9
  m: "xs",
8
10
  s: "xxs"
9
11
  };
10
- function SpinButton({
11
- theme,
12
- size,
13
- ...others
14
- }) {
12
+ function SpinButton(_ref) {
13
+ _ref.theme;
14
+ var size = _ref.size, others = _objectWithoutProperties(_ref, _excluded);
15
15
  return /* @__PURE__ */ React.createElement(Spin, _extends({
16
16
  size: typeof size === "string" ? SPIN_SIZE_MAP[size] : size,
17
17
  theme: "currentColor"
@@ -1,51 +1,64 @@
1
+ import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
2
+ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/esm/createClass";
4
+ import _callSuper from "@babel/runtime/helpers/esm/callSuper";
5
+ import _inherits from "@babel/runtime/helpers/esm/inherits";
1
6
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
2
7
  import { createComponent, sstyled, assignProps } from "@semcore/core";
3
- import { Box } from "@semcore/base-components";
8
+ import { Box } from "@semcore/flex-box";
4
9
  import React from "react";
5
10
  import { AbstractButton } from "../AbstractButton/AbstractButton.mjs";
6
11
  /*!__reshadow-styles__:"./button.shadow.css"*/
7
- const style = (
12
+ var style = (
8
13
  /*__reshadow_css_start__*/
9
14
  (sstyled.insert(
10
15
  /*__inner_css_start__*/
11
- '.___SButton_se7i8_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:inherit;line-height:normal;-webkit-text-decoration:none;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-webkit-user-select:none;-moz-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:var(--intergalactic-medium, 500);color:var(--intergalactic-text-secondary, #6c6e79);min-width:-moz-fit-content;min-width:fit-content}.___SButton_se7i8_gg_::-moz-focus-inner{padding:0;border:0}.___SButton_se7i8_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SButton_se7i8_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___SButton_se7i8_gg_.__disabled_se7i8_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none;box-shadow:none;z-index:0}.___SButton_se7i8_gg_._size_s_se7i8_gg_{width:var(--intergalactic-form-control-s, 20px);height:var(--intergalactic-form-control-s, 20px);border-radius:var(--intergalactic-addon-rounded, 4px)}.___SButton_se7i8_gg_._size_m_se7i8_gg_{height:var(--intergalactic-form-control-m, 28px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-200, 14px)}.___SButton_se7i8_gg_._size_l_se7i8_gg_{height:var(--intergalactic-form-control-l, 40px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-300, 16px)}.___SButton_se7i8_gg_._theme_primary-info_se7i8_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-info, #008ff8)}@media (hover:hover){.___SButton_se7i8_gg_._theme_primary-info_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-info-hover, #006dca)}}.___SButton_se7i8_gg_._theme_primary-info_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-info_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-info-active, #044792)}.___SButton_se7i8_gg_._theme_primary-success_se7i8_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-success, #009f81)}@media (hover:hover){.___SButton_se7i8_gg_._theme_primary-success_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-success-hover, #007c65)}}.___SButton_se7i8_gg_._theme_primary-success_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-success_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-success-active, #055345)}.___SButton_se7i8_gg_._theme_primary-brand_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-warning_se7i8_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-brand, #ff642d)}@media (hover:hover){.___SButton_se7i8_gg_._theme_primary-brand_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-brand-hover, #c33909)}}.___SButton_se7i8_gg_._theme_primary-brand_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-brand_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-brand-active, #8b1500)}@media (hover:hover){.___SButton_se7i8_gg_._theme_primary-warning_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-brand-hover, #c33909)}}.___SButton_se7i8_gg_._theme_primary-warning_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-warning_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-brand-active, #8b1500)}.___SButton_se7i8_gg_._theme_primary-danger_se7i8_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-critical, #ff4953)}@media (hover:hover){.___SButton_se7i8_gg_._theme_primary-danger_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-critical-hover, #d1002f)}}.___SButton_se7i8_gg_._theme_primary-danger_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-danger_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-primary-critical-active, #8e0016)}.___SButton_se7i8_gg_._theme_primary-invert_se7i8_gg_{color:var(--intergalactic-text-primary, #191b23);background-color:var(--intergalactic-control-primary-invert, #ffffff)}@media (hover:hover){.___SButton_se7i8_gg_._theme_primary-invert_se7i8_gg_:hover{color:var(--intergalactic-text-primary, #191b23);background-color:var(--intergalactic-control-primary-invert-hover, #f4f5f9)}}.___SButton_se7i8_gg_._theme_primary-invert_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_primary-invert_se7i8_gg_:active{color:var(--intergalactic-text-primary, #191b23);background-color:var(--intergalactic-control-primary-invert-active, #e0e1e9)}.___SButton_se7i8_gg_._theme_secondary-muted_se7i8_gg_{color:var(--intergalactic-text-secondary, #6c6e79);border-color:var(--intergalactic-border-primary, #c4c7cf);background-color:var(--intergalactic-control-secondary-neutral, rgba(138, 142, 155, 0.1))}@media (hover:hover){.___SButton_se7i8_gg_._theme_secondary-muted_se7i8_gg_:hover{background-color:var(--intergalactic-control-secondary-neutral-hover,\n rgba(138, 142, 155, 0.2));color:var(--intergalactic-text-primary, #191b23)}}.___SButton_se7i8_gg_._theme_secondary-muted_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_secondary-muted_se7i8_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active,\n rgba(138, 142, 155, 0.3));color:var(--intergalactic-text-primary, #191b23)}.___SButton_se7i8_gg_._theme_secondary-info_se7i8_gg_{background-color:var(--intergalactic-control-secondary-info, rgba(0, 143, 248, 0.1));color:var(--intergalactic-text-link, #006dca);border-color:var(--intergalactic-control-primary-info, #008ff8)}@media (hover:hover){.___SButton_se7i8_gg_._theme_secondary-info_se7i8_gg_:hover{color:var(--intergalactic-text-link, #006dca);background-color:var(--intergalactic-control-secondary-info-hover, rgba(0, 143, 248, 0.2))}}.___SButton_se7i8_gg_._theme_secondary-info_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_secondary-info_se7i8_gg_:active{color:var(--intergalactic-text-link, #006dca);background-color:var(--intergalactic-control-secondary-info-active, rgba(0, 143, 248, 0.3))}.___SButton_se7i8_gg_._theme_secondary-invert_se7i8_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);border-color:var(--intergalactic-border-primary-invert, #ffffff);background-color:var(--intergalactic-control-secondary-invert, rgba(255, 255, 255, 0.05))}@media (hover:hover){.___SButton_se7i8_gg_._theme_secondary-invert_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-secondary-invert-hover, rgba(255, 255, 255, 0.1))}}.___SButton_se7i8_gg_._theme_secondary-invert_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_secondary-invert_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-secondary-invert-active,\n rgba(255, 255, 255, 0.3))}.___SButton_se7i8_gg_._theme_tertiary-info_se7i8_gg_{color:var(--intergalactic-text-link, #006dca);background-color:var(--intergalactic-control-tertiary-info, rgba(0, 143, 248, 0))}@media (hover:hover){.___SButton_se7i8_gg_._theme_tertiary-info_se7i8_gg_:hover{color:var(--intergalactic-text-link, #006dca);background-color:var(--intergalactic-control-tertiary-info-hover, rgba(0, 143, 248, 0.2))}}.___SButton_se7i8_gg_._theme_tertiary-info_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_tertiary-info_se7i8_gg_:active{color:var(--intergalactic-text-link, #006dca);background-color:var(--intergalactic-control-tertiary-info-active, rgba(0, 143, 248, 0.3))}.___SButton_se7i8_gg_._theme_tertiary-muted_se7i8_gg_{color:var(--intergalactic-text-secondary, #6c6e79);background-color:var(--intergalactic-control-tertiary-neutral, rgba(138, 142, 155, 0))}@media (hover:hover){.___SButton_se7i8_gg_._theme_tertiary-muted_se7i8_gg_:hover{background-color:var(--intergalactic-control-tertiary-neutral-hover, rgba(138, 142, 155, 0.2));color:var(--intergalactic-text-primary, #191b23)}}.___SButton_se7i8_gg_._theme_tertiary-muted_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_tertiary-muted_se7i8_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active,\n rgba(138, 142, 155, 0.3));color:var(--intergalactic-text-primary, #191b23)}.___SButton_se7i8_gg_._theme_tertiary-invert_se7i8_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-tertiary-invert, rgba(255, 255, 255, 0))}@media (hover:hover){.___SButton_se7i8_gg_._theme_tertiary-invert_se7i8_gg_:hover{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-tertiary-invert-hover, rgba(255, 255, 255, 0.1))}}.___SButton_se7i8_gg_._theme_tertiary-invert_se7i8_gg_.__active_se7i8_gg_,.___SButton_se7i8_gg_._theme_tertiary-invert_se7i8_gg_:active{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-control-tertiary-invert-active, rgba(255, 255, 255, 0.3))}.___SButton_se7i8_gg_._neighborLocation_right_se7i8_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_se7i8_gg_._neighborLocation_both_se7i8_gg_{border-radius:0;margin-left:-1px}.___SButton_se7i8_gg_._neighborLocation_left_se7i8_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_se7i8_gg_._neighborLocation_both_se7i8_gg_,.___SButton_se7i8_gg_._neighborLocation_left_se7i8_gg_{position:relative}.___SButton_se7i8_gg_._neighborLocation_both_se7i8_gg_:after,.___SButton_se7i8_gg_._neighborLocation_left_se7i8_gg_:after{background-color:var(--intergalactic-border-primary-invert, #ffffff)}.___SButton_se7i8_gg_._neighborLocation_both_se7i8_gg_._theme_secondary-muted_se7i8_gg_:after,.___SButton_se7i8_gg_._neighborLocation_left_se7i8_gg_._theme_secondary-muted_se7i8_gg_:after{background-color:var(--intergalactic-border-primary, #c4c7cf)}.___SButton_se7i8_gg_+.___SButton_se7i8_gg_._neighborLocation_both_se7i8_gg_:after,.___SButton_se7i8_gg_+.___SButton_se7i8_gg_._neighborLocation_left_se7i8_gg_:after{content:"";position:absolute;top:-1px;left:-1px;width:1px;height:calc(100% + 2px)}.___SSpin_se7i8_gg_{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.___SInner_se7i8_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SInner_se7i8_gg_.__loading_se7i8_gg_{visibility:hidden}.___SText_se7i8_gg_{display:inline-flex}.___SText_se7i8_gg_._size_l_se7i8_gg_,.___SText_se7i8_gg_._size_m_se7i8_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SText_se7i8_gg_._size_m_se7i8_gg_{line-height:var(--intergalactic-lh-200, 142%)}.___SText_se7i8_gg_._size_l_se7i8_gg_{line-height:var(--intergalactic-lh-300, 150%)}.___SText_se7i8_gg_._size_l_se7i8_gg_:only-child{margin-left:var(--intergalactic-spacing-3x, 12px);margin-right:var(--intergalactic-spacing-3x, 12px)}.___SText_se7i8_gg_._size_l_se7i8_gg_:first-child{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SText_se7i8_gg_._size_l_se7i8_gg_:last-child{margin-right:var(--intergalactic-spacing-3x, 12px)}.___SAddon_se7i8_gg_{display:inline-flex;align-items:center;justify-content:center;pointer-events:none}.___SAddon_se7i8_gg_._size_m_se7i8_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_se7i8_gg_._size_m_se7i8_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_se7i8_gg_._size_m_se7i8_gg_:only-child{margin-left:calc(1.5*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(1.5*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SAddon_se7i8_gg_._size_l_se7i8_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_se7i8_gg_._size_l_se7i8_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_se7i8_gg_._size_l_se7i8_gg_:only-child{margin-left:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px)}',
16
+ '.___SButton_12bt7_gg_{position:relative;display:inline-block;align-items:center;justify-content:center;padding:0;margin:0;white-space:nowrap;font-family:inherit;line-height:normal;text-decoration:none;text-align:center;vertical-align:middle;border:1px solid transparent;box-shadow:none;cursor:pointer;box-sizing:border-box;overflow:visible;-moz-user-select:none;user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;font-weight:var(--intergalactic-medium, 500);color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));min-width:-moz-fit-content;min-width:fit-content}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_12bt7_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SButton_12bt7_gg_::-moz-focus-inner{padding:0;border:0}.___SButton_12bt7_gg_:active{text-decoration:none}@media (hover:hover){.___SButton_12bt7_gg_:hover{text-decoration:none}}.___SButton_12bt7_gg_.__disabled_12bt7_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none;box-shadow:none;z-index:0}.___SButton_12bt7_gg_._size_s_12bt7_gg_{width:var(--intergalactic-form-control-s, 20px);height:var(--intergalactic-form-control-s, 20px);border-radius:var(--intergalactic-addon-rounded, 4px)}.___SButton_12bt7_gg_._size_m_12bt7_gg_{height:var(--intergalactic-form-control-m, 28px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-200, 14px)}.___SButton_12bt7_gg_._size_l_12bt7_gg_{height:var(--intergalactic-form-control-l, 40px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-300, 16px)}.___SButton_12bt7_gg_._theme_primary-info_12bt7_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-info, rgb(26, 30, 26))}@media (hover:hover){.___SButton_12bt7_gg_._theme_primary-info_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-info-hover, rgb(49, 52, 48))}}.___SButton_12bt7_gg_._theme_primary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-info_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-info-active, rgb(0, 0, 0))}.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-success, rgb(0, 164, 128))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_{background-color:var(--intergalactic-control-primary-success, rgb(0, 164, 128))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_{background-color:var(--intergalactic-control-primary-success, color(display-p3 0.13723 0.6542 0.50031))}}}@media (hover:hover){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-success-hover, rgb(0, 150, 117))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_:hover{background-color:var(--intergalactic-control-primary-success-hover, rgb(0, 150, 117))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_:hover{background-color:var(--intergalactic-control-primary-success-hover, color(display-p3 0.09181 0.60147 0.45602))}}}}.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-success-active, rgb(0, 144, 112))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_:active{background-color:var(--intergalactic-control-primary-success-active, rgb(0, 144, 112))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-success_12bt7_gg_:active{background-color:var(--intergalactic-control-primary-success-active, color(display-p3 0.07522 0.57486 0.43446))}}}.___SButton_12bt7_gg_._theme_primary-brand_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-warning_12bt7_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-brand, rgb(162, 97, 253))}@media (hover:hover){.___SButton_12bt7_gg_._theme_primary-brand_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-brand-hover, rgb(150, 76, 251))}}.___SButton_12bt7_gg_._theme_primary-brand_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-brand_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-brand-active, rgb(144, 65, 250))}@media (hover:hover){.___SButton_12bt7_gg_._theme_primary-warning_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-brand-hover, rgb(150, 76, 251))}}.___SButton_12bt7_gg_._theme_primary-warning_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-warning_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-brand-active, rgb(144, 65, 250))}.___SButton_12bt7_gg_._theme_primary-danger_12bt7_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-critical, rgb(247, 55, 64))}@media (hover:hover){.___SButton_12bt7_gg_._theme_primary-danger_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-critical-hover, rgb(230, 44, 51))}}.___SButton_12bt7_gg_._theme_primary-danger_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-danger_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-critical-active, rgb(221, 39, 45))}.___SButton_12bt7_gg_._theme_primary-invert_12bt7_gg_{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));background-color:var(--intergalactic-control-primary-invert, rgb(255, 255, 255))}@media (hover:hover){.___SButton_12bt7_gg_._theme_primary-invert_12bt7_gg_:hover{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));background-color:var(--intergalactic-control-primary-invert-hover, rgb(241, 242, 242))}}.___SButton_12bt7_gg_._theme_primary-invert_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_primary-invert_12bt7_gg_:active{color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899));background-color:var(--intergalactic-control-primary-invert-active, rgb(234, 235, 235))}.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));border-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161));background-color:var(--intergalactic-control-secondary-neutral, rgba(0, 22, 16, 0.028))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));border-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583));border-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}@media (hover:hover){.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_:hover{background-color:var(--intergalactic-control-secondary-neutral-hover,\n rgba(0, 21, 16, 0.056));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}}.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active,\n rgba(0, 21, 16, 0.084));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active,\n rgba(0, 21, 16, 0.084))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-muted_12bt7_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active,\n color(display-p3 0.01753 0.08157 0.06372 / 0.084))}}}.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_{background-color:var(--intergalactic-control-secondary-info, rgba(0, 81, 255, 0.039));color:var(--intergalactic-text-link, rgb(35, 95, 226));border-color:var(--intergalactic-control-primary-info, rgb(26, 30, 26))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_{background-color:var(--intergalactic-control-secondary-info, rgba(0, 81, 255, 0.039))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_{background-color:var(--intergalactic-control-secondary-info, color(display-p3 0.12567 0.31309 0.96324 / 0.039))}}}@media (hover:hover){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_:hover{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-secondary-info-hover, rgba(0, 80, 255, 0.077))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_:hover{background-color:var(--intergalactic-control-secondary-info-hover, rgba(0, 80, 255, 0.077))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_:hover{background-color:var(--intergalactic-control-secondary-info-hover, color(display-p3 0.12402 0.30857 0.96259 / 0.077))}}}}.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_:active{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-secondary-info-active, rgba(1, 79, 255, 0.116))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_:active{background-color:var(--intergalactic-control-secondary-info-active, rgba(1, 79, 255, 0.116))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-info_12bt7_gg_:active{background-color:var(--intergalactic-control-secondary-info-active, color(display-p3 0.12361 0.30547 0.96332 / 0.116))}}}.___SButton_12bt7_gg_._theme_secondary-invert_12bt7_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));border-color:var(--intergalactic-border-primary-invert, rgba(250, 255, 250, 0.391));background-color:var(--intergalactic-control-secondary-invert, rgba(225, 255, 219, 0.118))}@media (hover:hover){.___SButton_12bt7_gg_._theme_secondary-invert_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-secondary-invert-hover, rgba(232, 255, 227, 0.145))}}.___SButton_12bt7_gg_._theme_secondary-invert_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_secondary-invert_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-secondary-invert-active,\n rgba(239, 255, 236, 0.183))}.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-tertiary-info, transparent)}@media (hover:hover){.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_:hover{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-tertiary-info-hover, rgba(0, 80, 255, 0.077))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_:hover{background-color:var(--intergalactic-control-tertiary-info-hover, rgba(0, 80, 255, 0.077))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_:hover{background-color:var(--intergalactic-control-tertiary-info-hover, color(display-p3 0.12402 0.30857 0.96259 / 0.077))}}}}.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_:active{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-tertiary-info-active, rgba(1, 79, 255, 0.116))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_:active{background-color:var(--intergalactic-control-tertiary-info-active, rgba(1, 79, 255, 0.116))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-info_12bt7_gg_:active{background-color:var(--intergalactic-control-tertiary-info-active, color(display-p3 0.12361 0.30547 0.96332 / 0.116))}}}.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583));background-color:var(--intergalactic-control-tertiary-neutral, transparent)}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}@media (hover:hover){.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_:hover{background-color:var(--intergalactic-control-tertiary-neutral-hover, rgba(0, 21, 16, 0.056));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}}.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active,\n rgba(0, 21, 16, 0.084));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active,\n rgba(0, 21, 16, 0.084))}@media (color-gamut:p3){.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-muted_12bt7_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active,\n color(display-p3 0.01753 0.08157 0.06372 / 0.084))}}}.___SButton_12bt7_gg_._theme_tertiary-invert_12bt7_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-tertiary-invert, transparent)}@media (hover:hover){.___SButton_12bt7_gg_._theme_tertiary-invert_12bt7_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-tertiary-invert-hover, rgba(232, 255, 227, 0.145))}}.___SButton_12bt7_gg_._theme_tertiary-invert_12bt7_gg_.__active_12bt7_gg_,.___SButton_12bt7_gg_._theme_tertiary-invert_12bt7_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-tertiary-invert-active, rgba(239, 255, 236, 0.183))}.___SButton_12bt7_gg_._neighborLocation_right_12bt7_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_{border-radius:0;margin-left:-1px}.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_,.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_{position:relative}.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_:after,.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_:after{background-color:var(--intergalactic-border-primary-invert, rgba(250, 255, 250, 0.391))}.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_._theme_secondary-muted_12bt7_gg_:after,.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_._theme_secondary-muted_12bt7_gg_:after{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_._theme_secondary-muted_12bt7_gg_:after,.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_._theme_secondary-muted_12bt7_gg_:after{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_._theme_secondary-muted_12bt7_gg_:after,.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_._theme_secondary-muted_12bt7_gg_:after{background-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SButton_12bt7_gg_+.___SButton_12bt7_gg_._neighborLocation_both_12bt7_gg_:after,.___SButton_12bt7_gg_+.___SButton_12bt7_gg_._neighborLocation_left_12bt7_gg_:after{content:"";position:absolute;top:-1px;left:-1px;width:1px;height:calc(100% + 2px)}.___SSpin_12bt7_gg_{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.___SInner_12bt7_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SInner_12bt7_gg_.__loading_12bt7_gg_{visibility:hidden}.___SText_12bt7_gg_{display:inline-flex}.___SText_12bt7_gg_._size_l_12bt7_gg_,.___SText_12bt7_gg_._size_m_12bt7_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SText_12bt7_gg_._size_m_12bt7_gg_{line-height:var(--intergalactic-lh-200, 142%)}.___SText_12bt7_gg_._size_l_12bt7_gg_{line-height:var(--intergalactic-lh-300, 150%)}.___SText_12bt7_gg_._size_l_12bt7_gg_:only-child{margin-left:var(--intergalactic-spacing-3x, 12px);margin-right:var(--intergalactic-spacing-3x, 12px)}.___SText_12bt7_gg_._size_l_12bt7_gg_:first-child{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SText_12bt7_gg_._size_l_12bt7_gg_:last-child{margin-right:var(--intergalactic-spacing-3x, 12px)}.___SAddon_12bt7_gg_{display:inline-flex;align-items:center;justify-content:center;pointer-events:none}.___SAddon_12bt7_gg_._size_m_12bt7_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_12bt7_gg_._size_m_12bt7_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_12bt7_gg_._size_m_12bt7_gg_:only-child{margin-left:calc(1.5*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(1.5*var(--intergalactic-spacing-1x, 4px) - 1px)}.___SAddon_12bt7_gg_._size_l_12bt7_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_12bt7_gg_._size_l_12bt7_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_12bt7_gg_._size_l_12bt7_gg_:only-child{margin-left:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px)}',
12
17
  /*__inner_css_end__*/
13
- "se7i8_gg_"
18
+ "12bt7_gg_"
14
19
  ), /*__reshadow_css_end__*/
15
20
  {
16
- "__SButton": "___SButton_se7i8_gg_",
17
- "_disabled": "__disabled_se7i8_gg_",
18
- "_size_s": "_size_s_se7i8_gg_",
19
- "_size_m": "_size_m_se7i8_gg_",
20
- "_size_l": "_size_l_se7i8_gg_",
21
- "_neighborLocation_right": "_neighborLocation_right_se7i8_gg_",
22
- "_neighborLocation_both": "_neighborLocation_both_se7i8_gg_",
23
- "_neighborLocation_left": "_neighborLocation_left_se7i8_gg_",
24
- "__SSpin": "___SSpin_se7i8_gg_",
25
- "__SInner": "___SInner_se7i8_gg_",
26
- "_loading": "__loading_se7i8_gg_",
27
- "__SText": "___SText_se7i8_gg_",
28
- "__SAddon": "___SAddon_se7i8_gg_",
29
- "_theme_primary-info": "_theme_primary-info_se7i8_gg_",
30
- "_active": "__active_se7i8_gg_",
31
- "_theme_primary-success": "_theme_primary-success_se7i8_gg_",
32
- "_theme_primary-brand": "_theme_primary-brand_se7i8_gg_",
33
- "_theme_primary-warning": "_theme_primary-warning_se7i8_gg_",
34
- "_theme_primary-danger": "_theme_primary-danger_se7i8_gg_",
35
- "_theme_primary-invert": "_theme_primary-invert_se7i8_gg_",
36
- "_theme_secondary-muted": "_theme_secondary-muted_se7i8_gg_",
37
- "_theme_secondary-info": "_theme_secondary-info_se7i8_gg_",
38
- "_theme_secondary-invert": "_theme_secondary-invert_se7i8_gg_",
39
- "_theme_tertiary-info": "_theme_tertiary-info_se7i8_gg_",
40
- "_theme_tertiary-muted": "_theme_tertiary-muted_se7i8_gg_",
41
- "_theme_tertiary-invert": "_theme_tertiary-invert_se7i8_gg_"
21
+ "__SButton": "___SButton_12bt7_gg_",
22
+ "_disabled": "__disabled_12bt7_gg_",
23
+ "_size_s": "_size_s_12bt7_gg_",
24
+ "_size_m": "_size_m_12bt7_gg_",
25
+ "_size_l": "_size_l_12bt7_gg_",
26
+ "_neighborLocation_right": "_neighborLocation_right_12bt7_gg_",
27
+ "_neighborLocation_both": "_neighborLocation_both_12bt7_gg_",
28
+ "_neighborLocation_left": "_neighborLocation_left_12bt7_gg_",
29
+ "__SSpin": "___SSpin_12bt7_gg_",
30
+ "__SInner": "___SInner_12bt7_gg_",
31
+ "_loading": "__loading_12bt7_gg_",
32
+ "__SText": "___SText_12bt7_gg_",
33
+ "__SAddon": "___SAddon_12bt7_gg_",
34
+ "_theme_primary-info": "_theme_primary-info_12bt7_gg_",
35
+ "_active": "__active_12bt7_gg_",
36
+ "_theme_primary-success": "_theme_primary-success_12bt7_gg_",
37
+ "_theme_primary-brand": "_theme_primary-brand_12bt7_gg_",
38
+ "_theme_primary-warning": "_theme_primary-warning_12bt7_gg_",
39
+ "_theme_primary-danger": "_theme_primary-danger_12bt7_gg_",
40
+ "_theme_primary-invert": "_theme_primary-invert_12bt7_gg_",
41
+ "_theme_secondary-muted": "_theme_secondary-muted_12bt7_gg_",
42
+ "_theme_secondary-info": "_theme_secondary-info_12bt7_gg_",
43
+ "_theme_secondary-invert": "_theme_secondary-invert_12bt7_gg_",
44
+ "_theme_tertiary-info": "_theme_tertiary-info_12bt7_gg_",
45
+ "_theme_tertiary-muted": "_theme_tertiary-muted_12bt7_gg_",
46
+ "_theme_tertiary-invert": "_theme_tertiary-invert_12bt7_gg_"
42
47
  })
43
48
  );
44
- class RootButton extends AbstractButton {
45
- getTextColor() {
46
- return void 0;
49
+ var RootButton = /* @__PURE__ */ (function(_AbstractButton) {
50
+ function RootButton2() {
51
+ _classCallCheck(this, RootButton2);
52
+ return _callSuper(this, RootButton2, arguments);
47
53
  }
48
- }
54
+ _inherits(RootButton2, _AbstractButton);
55
+ return _createClass(RootButton2, [{
56
+ key: "getTextColor",
57
+ value: function getTextColor() {
58
+ return void 0;
59
+ }
60
+ }]);
61
+ })(AbstractButton);
49
62
  _defineProperty(RootButton, "displayName", "Button");
50
63
  _defineProperty(RootButton, "style", style);
51
64
  _defineProperty(RootButton, "defaultProps", {
@@ -54,23 +67,19 @@ _defineProperty(RootButton, "defaultProps", {
54
67
  });
55
68
  function Text(props) {
56
69
  var _ref = arguments[0], _ref3;
57
- const SText = Box;
58
- return _ref3 = sstyled(props.styles), /* @__PURE__ */ React.createElement(SText, _ref3.cn("SText", {
59
- ...assignProps({
60
- "tag": "span"
61
- }, _ref)
62
- }));
70
+ var SText = Box;
71
+ return _ref3 = sstyled(props.styles), /* @__PURE__ */ React.createElement(SText, _ref3.cn("SText", _objectSpread({}, assignProps({
72
+ "tag": "span"
73
+ }, _ref))));
63
74
  }
64
75
  function Addon(props) {
65
76
  var _ref2 = arguments[0], _ref4;
66
- const SAddon = Box;
67
- return _ref4 = sstyled(props.styles), /* @__PURE__ */ React.createElement(SAddon, _ref4.cn("SAddon", {
68
- ...assignProps({
69
- "tag": "span"
70
- }, _ref2)
71
- }));
77
+ var SAddon = Box;
78
+ return _ref4 = sstyled(props.styles), /* @__PURE__ */ React.createElement(SAddon, _ref4.cn("SAddon", _objectSpread({}, assignProps({
79
+ "tag": "span"
80
+ }, _ref2))));
72
81
  }
73
- const Button = createComponent(RootButton, {
82
+ var Button = createComponent(RootButton, {
74
83
  Text,
75
84
  Addon
76
85
  });