@semcore/button 5.44.0-prerelease.5 → 5.44.0-prerelease.7
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.
- package/lib/cjs/component/AbstractButton/AbstractButton.js +182 -0
- package/lib/cjs/component/AbstractButton/AbstractButton.js.map +1 -0
- package/lib/cjs/component/AbstractButton/AbstractButton.type.js +2 -0
- package/lib/cjs/component/AbstractButton/AbstractButton.type.js.map +1 -0
- package/lib/cjs/component/{Button → AbstractButton}/SpinButton.js +4 -3
- package/lib/cjs/component/AbstractButton/SpinButton.js.map +1 -0
- package/lib/cjs/component/Button/Button.js +64 -166
- package/lib/cjs/component/Button/Button.js.map +1 -1
- package/lib/cjs/component/Button/Button.type.js.map +1 -1
- package/lib/cjs/component/Button/button.shadow.css +9 -1
- package/lib/cjs/component/ButtonLink/ButtonLink.js +68 -35
- package/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -1
- package/lib/cjs/component/ButtonLink/ButtonLink.type.js.map +1 -1
- package/lib/cjs/component/ButtonLink/buttonLink.shadow.css +150 -11
- package/lib/cjs/index.js +4 -3
- package/lib/cjs/index.js.map +1 -1
- package/lib/es6/component/AbstractButton/AbstractButton.js +175 -0
- package/lib/es6/component/AbstractButton/AbstractButton.js.map +1 -0
- package/lib/es6/component/AbstractButton/AbstractButton.type.js +2 -0
- package/lib/es6/component/AbstractButton/AbstractButton.type.js.map +1 -0
- package/lib/es6/component/{Button → AbstractButton}/SpinButton.js +1 -1
- package/lib/es6/component/AbstractButton/SpinButton.js.map +1 -0
- package/lib/es6/component/Button/Button.js +57 -163
- package/lib/es6/component/Button/Button.js.map +1 -1
- package/lib/es6/component/Button/Button.type.js.map +1 -1
- package/lib/es6/component/Button/button.shadow.css +9 -1
- package/lib/es6/component/ButtonLink/ButtonLink.js +65 -34
- package/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -1
- package/lib/es6/component/ButtonLink/ButtonLink.type.js.map +1 -1
- package/lib/es6/component/ButtonLink/buttonLink.shadow.css +150 -11
- package/lib/es6/index.js +2 -1
- package/lib/es6/index.js.map +1 -1
- package/lib/esm/component/AbstractButton/AbstractButton.mjs +152 -0
- package/lib/esm/component/{Button → AbstractButton}/SpinButton.mjs +3 -2
- package/lib/esm/component/Button/Button.mjs +56 -142
- package/lib/esm/component/Button/button.shadow.css +9 -1
- package/lib/esm/component/ButtonLink/ButtonLink.mjs +61 -33
- package/lib/esm/component/ButtonLink/buttonLink.shadow.css +150 -11
- package/lib/esm/index.mjs +2 -3
- package/lib/types/component/AbstractButton/AbstractButton.d.ts +24 -0
- package/lib/types/component/AbstractButton/AbstractButton.type.d.ts +39 -0
- package/lib/types/component/{Button → AbstractButton}/SpinButton.d.ts +2 -2
- package/lib/types/component/Button/Button.d.ts +1 -28
- package/lib/types/component/Button/Button.type.d.ts +39 -40
- package/lib/types/component/ButtonLink/ButtonLink.d.ts +1 -1
- package/lib/types/component/ButtonLink/ButtonLink.type.d.ts +21 -15
- package/lib/types/index.d.ts +2 -1
- package/package.json +7 -7
- package/lib/cjs/component/Button/SpinButton.js.map +0 -1
- package/lib/es6/component/Button/SpinButton.js.map +0 -1
- package/lib/esm/component/Button/Button.type.mjs +0 -1
- package/lib/esm/component/ButtonLink/ButtonLink.type.mjs +0 -1
|
@@ -1,180 +1,94 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
-
import _callSuper from "@babel/runtime/helpers/esm/callSuper";
|
|
5
4
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
6
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
-
import { sstyled
|
|
8
|
-
import {
|
|
9
|
-
import addonTextChildren from "@semcore/core/lib/utils/addonTextChildren";
|
|
10
|
-
import hasLabels from "@semcore/core/lib/utils/hasLabels";
|
|
11
|
-
import logger from "@semcore/core/lib/utils/logger";
|
|
12
|
-
import { Text } from "@semcore/typography";
|
|
7
|
+
import { sstyled } from "@semcore/utils/lib/core/index";
|
|
8
|
+
import createComponent, { sstyled as sstyled$1, assignProps } from "@semcore/core";
|
|
13
9
|
import React from "react";
|
|
14
|
-
import
|
|
10
|
+
import { Box } from "@semcore/flex-box";
|
|
11
|
+
import keyboardFocusEnhance from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
|
|
12
|
+
import { AbstractButton } from "../AbstractButton/AbstractButton.mjs";
|
|
15
13
|
/*!__reshadow-styles__:"./button.shadow.css"*/
|
|
16
14
|
var style = (
|
|
17
15
|
/*__reshadow_css_start__*/
|
|
18
16
|
(sstyled.insert(
|
|
19
17
|
/*__inner_css_start__*/
|
|
20
|
-
'.___SButton_jldv4_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, rgba(0, 3, 0, 0.583));min-width:-moz-fit-content;min-width:fit-content}@supports (color:color(display-p3 0 0 0%)){.___SButton_jldv4_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_jldv4_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SButton_jldv4_gg_::-moz-focus-inner{padding:0;border:0}.___SButton_jldv4_gg_:active{-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SButton_jldv4_gg_:hover{-webkit-text-decoration:none;text-decoration:none}}.___SButton_jldv4_gg_.__disabled_jldv4_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none;box-shadow:none;z-index:0}.___SButton_jldv4_gg_._size_s_jldv4_gg_{width:var(--intergalactic-form-control-s, 20px);height:var(--intergalactic-form-control-s, 20px);border-radius:var(--intergalactic-addon-rounded, 4px)}.___SButton_jldv4_gg_._size_m_jldv4_gg_{height:var(--intergalactic-form-control-m, 28px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-200, 14px)}.___SButton_jldv4_gg_._size_l_jldv4_gg_{height:var(--intergalactic-form-control-l, 40px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-300, 16px)}.___SButton_jldv4_gg_._theme_primary-info_jldv4_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_jldv4_gg_._theme_primary-info_jldv4_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_jldv4_gg_._theme_primary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-info_jldv4_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_jldv4_gg_._theme_primary-success_jldv4_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_jldv4_gg_._theme_primary-success_jldv4_gg_{background-color:var(--intergalactic-control-primary-success, rgb(0, 164, 128))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_primary-success_jldv4_gg_{background-color:var(--intergalactic-control-primary-success, color(display-p3 0.13723 0.6542 0.50031))}}}@media (hover:hover){.___SButton_jldv4_gg_._theme_primary-success_jldv4_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_jldv4_gg_._theme_primary-success_jldv4_gg_:hover{background-color:var(--intergalactic-control-primary-success-hover, rgb(0, 150, 117))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_primary-success_jldv4_gg_:hover{background-color:var(--intergalactic-control-primary-success-hover, color(display-p3 0.09181 0.60147 0.45602))}}}}.___SButton_jldv4_gg_._theme_primary-success_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-success_jldv4_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_jldv4_gg_._theme_primary-success_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-success_jldv4_gg_:active{background-color:var(--intergalactic-control-primary-success-active, rgb(0, 144, 112))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_primary-success_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-success_jldv4_gg_:active{background-color:var(--intergalactic-control-primary-success-active, color(display-p3 0.07522 0.57486 0.43446))}}}.___SButton_jldv4_gg_._theme_primary-brand_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-warning_jldv4_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_jldv4_gg_._theme_primary-brand_jldv4_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_jldv4_gg_._theme_primary-brand_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-brand_jldv4_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_jldv4_gg_._theme_primary-warning_jldv4_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_jldv4_gg_._theme_primary-warning_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-warning_jldv4_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_jldv4_gg_._theme_primary-danger_jldv4_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_jldv4_gg_._theme_primary-danger_jldv4_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_jldv4_gg_._theme_primary-danger_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-danger_jldv4_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_jldv4_gg_._theme_primary-invert_jldv4_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_jldv4_gg_._theme_primary-invert_jldv4_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_jldv4_gg_._theme_primary-invert_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_primary-invert_jldv4_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_jldv4_gg_._theme_secondary-muted_jldv4_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_jldv4_gg_._theme_secondary-muted_jldv4_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_jldv4_gg_._theme_secondary-muted_jldv4_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_jldv4_gg_._theme_secondary-muted_jldv4_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_jldv4_gg_._theme_secondary-muted_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-muted_jldv4_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_jldv4_gg_._theme_secondary-muted_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-muted_jldv4_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active,\n rgba(0, 21, 16, 0.084))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_secondary-muted_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-muted_jldv4_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active,\n color(display-p3 0.01753 0.08157 0.06372 / 0.084))}}}.___SButton_jldv4_gg_._theme_secondary-info_jldv4_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_jldv4_gg_._theme_secondary-info_jldv4_gg_{background-color:var(--intergalactic-control-secondary-info, rgba(0, 81, 255, 0.039))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_secondary-info_jldv4_gg_{background-color:var(--intergalactic-control-secondary-info, color(display-p3 0.12567 0.31309 0.96324 / 0.039))}}}@media (hover:hover){.___SButton_jldv4_gg_._theme_secondary-info_jldv4_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_jldv4_gg_._theme_secondary-info_jldv4_gg_:hover{background-color:var(--intergalactic-control-secondary-info-hover, rgba(0, 80, 255, 0.077))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_secondary-info_jldv4_gg_:hover{background-color:var(--intergalactic-control-secondary-info-hover, color(display-p3 0.12402 0.30857 0.96259 / 0.077))}}}}.___SButton_jldv4_gg_._theme_secondary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-info_jldv4_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_jldv4_gg_._theme_secondary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-info_jldv4_gg_:active{background-color:var(--intergalactic-control-secondary-info-active, rgba(1, 79, 255, 0.116))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_secondary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-info_jldv4_gg_:active{background-color:var(--intergalactic-control-secondary-info-active, color(display-p3 0.12361 0.30547 0.96332 / 0.116))}}}.___SButton_jldv4_gg_._theme_secondary-invert_jldv4_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_jldv4_gg_._theme_secondary-invert_jldv4_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_jldv4_gg_._theme_secondary-invert_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_secondary-invert_jldv4_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_jldv4_gg_._theme_tertiary-info_jldv4_gg_{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-tertiary-info, transparent)}@media (hover:hover){.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_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_jldv4_gg_._theme_tertiary-info_jldv4_gg_:hover{background-color:var(--intergalactic-control-tertiary-info-hover, rgba(0, 80, 255, 0.077))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_gg_:hover{background-color:var(--intergalactic-control-tertiary-info-hover, color(display-p3 0.12402 0.30857 0.96259 / 0.077))}}}}.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_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_jldv4_gg_._theme_tertiary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_gg_:active{background-color:var(--intergalactic-control-tertiary-info-active, rgba(1, 79, 255, 0.116))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-info_jldv4_gg_:active{background-color:var(--intergalactic-control-tertiary-info-active, color(display-p3 0.12361 0.30547 0.96332 / 0.116))}}}.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_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_jldv4_gg_._theme_tertiary-muted_jldv4_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}@media (hover:hover){.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_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_jldv4_gg_._theme_tertiary-muted_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_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_jldv4_gg_._theme_tertiary-muted_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active,\n rgba(0, 21, 16, 0.084))}@media (color-gamut:p3){.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-muted_jldv4_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active,\n color(display-p3 0.01753 0.08157 0.06372 / 0.084))}}}.___SButton_jldv4_gg_._theme_tertiary-invert_jldv4_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_jldv4_gg_._theme_tertiary-invert_jldv4_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_jldv4_gg_._theme_tertiary-invert_jldv4_gg_.__active_jldv4_gg_,.___SButton_jldv4_gg_._theme_tertiary-invert_jldv4_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_jldv4_gg_._neighborLocation_right_jldv4_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_{border-radius:0;margin-left:-1px}.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_,.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_{position:relative}.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_:after,.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_:after{background-color:var(--intergalactic-border-primary-invert, rgba(250, 255, 250, 0.391))}.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_._theme_secondary-muted_jldv4_gg_:after,.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_._theme_secondary-muted_jldv4_gg_:after{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0%)){.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_._theme_secondary-muted_jldv4_gg_:after,.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_._theme_secondary-muted_jldv4_gg_:after{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_._theme_secondary-muted_jldv4_gg_:after,.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_._theme_secondary-muted_jldv4_gg_:after{background-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SButton_jldv4_gg_+.___SButton_jldv4_gg_._neighborLocation_both_jldv4_gg_:after,.___SButton_jldv4_gg_+.___SButton_jldv4_gg_._neighborLocation_left_jldv4_gg_:after{content:"";position:absolute;top:-1px;left:-1px;width:1px;height:calc(100% + 2px)}.___SSpin_jldv4_gg_{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.___SInner_jldv4_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SInner_jldv4_gg_.__loading_jldv4_gg_{visibility:hidden}.___SText_jldv4_gg_{display:inline-flex}.___SText_jldv4_gg_._size_l_jldv4_gg_,.___SText_jldv4_gg_._size_m_jldv4_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SText_jldv4_gg_._size_m_jldv4_gg_{line-height:var(--intergalactic-lh-200, 142%)}.___SText_jldv4_gg_._size_l_jldv4_gg_{line-height:var(--intergalactic-lh-300, 150%)}.___SText_jldv4_gg_._size_l_jldv4_gg_:only-child{margin-left:var(--intergalactic-spacing-3x, 12px);margin-right:var(--intergalactic-spacing-3x, 12px)}.___SText_jldv4_gg_._size_l_jldv4_gg_:first-child{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SText_jldv4_gg_._size_l_jldv4_gg_:last-child{margin-right:var(--intergalactic-spacing-3x, 12px)}.___SAddon_jldv4_gg_{display:inline-flex;align-items:center;justify-content:center;pointer-events:none}.___SAddon_jldv4_gg_._size_m_jldv4_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_jldv4_gg_._size_m_jldv4_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_jldv4_gg_._size_m_jldv4_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_jldv4_gg_._size_l_jldv4_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_jldv4_gg_._size_l_jldv4_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_jldv4_gg_._size_l_jldv4_gg_:only-child{margin-left:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px)}',
|
|
18
|
+
'.___SButton_1yucn_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;outline:0;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, rgba(0, 3, 0, 0.583));min-width:-moz-fit-content;min-width:fit-content}@supports (color:color(display-p3 0 0 0)){.___SButton_1yucn_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_1yucn_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SButton_1yucn_gg_::-moz-focus-inner{padding:0;border:0}.___SButton_1yucn_gg_:active,.___SButton_1yucn_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SButton_1yucn_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SButton_1yucn_gg_.__keyboardFocused_1yucn_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 33, 220, 0.469));z-index:1}@supports (color:color(display-p3 0 0 0)){.___SButton_1yucn_gg_.__keyboardFocused_1yucn_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 33, 220, 0.469))}@media (color-gamut:p3){.___SButton_1yucn_gg_.__keyboardFocused_1yucn_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px color(display-p3 0.03256 0.12227 0.83249 / 0.469))}}}.___SButton_1yucn_gg_.__disabled_1yucn_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none;box-shadow:none;z-index:0}.___SButton_1yucn_gg_._size_s_1yucn_gg_{width:var(--intergalactic-form-control-s, 20px);height:var(--intergalactic-form-control-s, 20px);border-radius:var(--intergalactic-addon-rounded, 4px)}.___SButton_1yucn_gg_._size_m_1yucn_gg_{height:var(--intergalactic-form-control-m, 28px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-200, 14px)}.___SButton_1yucn_gg_._size_l_1yucn_gg_{height:var(--intergalactic-form-control-l, 40px);border-radius:var(--intergalactic-control-rounded, 6px);font-size:var(--intergalactic-fs-300, 16px)}.___SButton_1yucn_gg_._theme_primary-info_1yucn_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_1yucn_gg_._theme_primary-info_1yucn_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_1yucn_gg_._theme_primary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-info_1yucn_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_1yucn_gg_._theme_primary-success_1yucn_gg_{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-success, rgb(0, 167, 127))}@supports (color:color(display-p3 0 0 0)){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_{background-color:var(--intergalactic-control-primary-success, rgb(0, 167, 127))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_{background-color:var(--intergalactic-control-primary-success, color(display-p3 0.13723 0.6542 0.50031))}}}@media (hover:hover){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_:hover{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-success-hover, rgb(0, 153, 116))}@supports (color:color(display-p3 0 0 0)){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_:hover{background-color:var(--intergalactic-control-primary-success-hover, rgb(0, 153, 116))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_:hover{background-color:var(--intergalactic-control-primary-success-hover, color(display-p3 0.09181 0.60147 0.45602))}}}}.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-primary-success-active, rgb(0, 146, 110))}@supports (color:color(display-p3 0 0 0)){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_:active{background-color:var(--intergalactic-control-primary-success-active, rgb(0, 146, 110))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-success_1yucn_gg_:active{background-color:var(--intergalactic-control-primary-success-active, color(display-p3 0.07522 0.57486 0.43446))}}}.___SButton_1yucn_gg_._theme_primary-brand_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-warning_1yucn_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_1yucn_gg_._theme_primary-brand_1yucn_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_1yucn_gg_._theme_primary-brand_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-brand_1yucn_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_1yucn_gg_._theme_primary-warning_1yucn_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_1yucn_gg_._theme_primary-warning_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-warning_1yucn_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_1yucn_gg_._theme_primary-danger_1yucn_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_1yucn_gg_._theme_primary-danger_1yucn_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_1yucn_gg_._theme_primary-danger_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-danger_1yucn_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_1yucn_gg_._theme_primary-invert_1yucn_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_1yucn_gg_._theme_primary-invert_1yucn_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_1yucn_gg_._theme_primary-invert_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_primary-invert_1yucn_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_1yucn_gg_._theme_secondary-muted_1yucn_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_1yucn_gg_._theme_secondary-muted_1yucn_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_1yucn_gg_._theme_secondary-muted_1yucn_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_1yucn_gg_._theme_secondary-muted_1yucn_gg_:hover{background-color:var(--intergalactic-control-secondary-neutral-hover, rgba(0, 21, 16, 0.056));color:var(--intergalactic-text-primary, rgba(1, 5, 0, 0.899))}}.___SButton_1yucn_gg_._theme_secondary-muted_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-muted_1yucn_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active, 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_1yucn_gg_._theme_secondary-muted_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-muted_1yucn_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active, rgba(0, 21, 16, 0.084))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_secondary-muted_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-muted_1yucn_gg_:active{background-color:var(--intergalactic-control-secondary-neutral-active, color(display-p3 0.01753 0.08157 0.06372 / 0.084))}}}.___SButton_1yucn_gg_._theme_secondary-info_1yucn_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_1yucn_gg_._theme_secondary-info_1yucn_gg_{background-color:var(--intergalactic-control-secondary-info, rgba(0, 81, 255, 0.039))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_secondary-info_1yucn_gg_{background-color:var(--intergalactic-control-secondary-info, color(display-p3 0.12567 0.31308 0.96324 / 0.039))}}}@media (hover:hover){.___SButton_1yucn_gg_._theme_secondary-info_1yucn_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_1yucn_gg_._theme_secondary-info_1yucn_gg_:hover{background-color:var(--intergalactic-control-secondary-info-hover, rgba(0, 80, 255, 0.077))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_secondary-info_1yucn_gg_:hover{background-color:var(--intergalactic-control-secondary-info-hover, color(display-p3 0.12403 0.30857 0.96259 / 0.077))}}}}.___SButton_1yucn_gg_._theme_secondary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-info_1yucn_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_1yucn_gg_._theme_secondary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-info_1yucn_gg_:active{background-color:var(--intergalactic-control-secondary-info-active, rgba(1, 79, 255, 0.116))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_secondary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-info_1yucn_gg_:active{background-color:var(--intergalactic-control-secondary-info-active, color(display-p3 0.12361 0.30547 0.96332 / 0.116))}}}.___SButton_1yucn_gg_._theme_secondary-invert_1yucn_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_1yucn_gg_._theme_secondary-invert_1yucn_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_1yucn_gg_._theme_secondary-invert_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_secondary-invert_1yucn_gg_:active{color:var(--intergalactic-text-primary-invert, rgba(254, 255, 255, 0.949));background-color:var(--intergalactic-control-secondary-invert-active, rgba(239, 255, 236, 0.183))}.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_gg_{color:var(--intergalactic-text-link, rgb(35, 95, 226));background-color:var(--intergalactic-control-tertiary-info, transparent)}@media (hover:hover){.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_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_1yucn_gg_._theme_tertiary-info_1yucn_gg_:hover{background-color:var(--intergalactic-control-tertiary-info-hover, rgba(0, 80, 255, 0.077))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_gg_:hover{background-color:var(--intergalactic-control-tertiary-info-hover, color(display-p3 0.12403 0.30857 0.96259 / 0.077))}}}}.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_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_1yucn_gg_._theme_tertiary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_gg_:active{background-color:var(--intergalactic-control-tertiary-info-active, rgba(1, 79, 255, 0.116))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-info_1yucn_gg_:active{background-color:var(--intergalactic-control-tertiary-info-active, color(display-p3 0.12361 0.30547 0.96332 / 0.116))}}}.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_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_1yucn_gg_._theme_tertiary-muted_1yucn_gg_{color:var(--intergalactic-text-secondary, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_gg_{color:var(--intergalactic-text-secondary, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}@media (hover:hover){.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_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_1yucn_gg_._theme_tertiary-muted_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active, 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_1yucn_gg_._theme_tertiary-muted_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active, rgba(0, 21, 16, 0.084))}@media (color-gamut:p3){.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-muted_1yucn_gg_:active{background-color:var(--intergalactic-control-tertiary-neutral-active, color(display-p3 0.01753 0.08157 0.06372 / 0.084))}}}.___SButton_1yucn_gg_._theme_tertiary-invert_1yucn_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_1yucn_gg_._theme_tertiary-invert_1yucn_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_1yucn_gg_._theme_tertiary-invert_1yucn_gg_.__active_1yucn_gg_,.___SButton_1yucn_gg_._theme_tertiary-invert_1yucn_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_1yucn_gg_._neighborLocation_right_1yucn_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_{border-radius:0;margin-left:-1px}.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px}.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_,.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_{position:relative}.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_:after,.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_:after{background-color:var(--intergalactic-border-primary-invert, rgba(250, 255, 250, 0.391))}.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_._theme_secondary-muted_1yucn_gg_:after,.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_._theme_secondary-muted_1yucn_gg_:after{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@supports (color:color(display-p3 0 0 0)){.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_._theme_secondary-muted_1yucn_gg_:after,.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_._theme_secondary-muted_1yucn_gg_:after{background-color:var(--intergalactic-border-primary, rgba(0, 12, 8, 0.161))}@media (color-gamut:p3){.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_._theme_secondary-muted_1yucn_gg_:after,.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_._theme_secondary-muted_1yucn_gg_:after{background-color:var(--intergalactic-border-primary, color(display-p3 0.00798 0.04498 0.03219 / 0.161))}}}.___SButton_1yucn_gg_+.___SButton_1yucn_gg_._neighborLocation_both_1yucn_gg_:after,.___SButton_1yucn_gg_+.___SButton_1yucn_gg_._neighborLocation_left_1yucn_gg_:after{content:"";position:absolute;top:-1px;left:-1px;width:1px;height:calc(100% + 2px)}.___SSpin_1yucn_gg_{position:absolute;top:0;left:0;width:100%;height:100%;display:flex}.___SInner_1yucn_gg_{display:inline-flex;align-items:center;justify-content:center;height:100%;width:100%}.___SInner_1yucn_gg_.__loading_1yucn_gg_{visibility:hidden}.___SText_1yucn_gg_{display:inline-flex}.___SText_1yucn_gg_._size_l_1yucn_gg_,.___SText_1yucn_gg_._size_m_1yucn_gg_{margin-left:var(--intergalactic-spacing-2x, 8px);margin-right:var(--intergalactic-spacing-2x, 8px)}.___SText_1yucn_gg_._size_m_1yucn_gg_{line-height:var(--intergalactic-lh-200, 142%)}.___SText_1yucn_gg_._size_l_1yucn_gg_{line-height:var(--intergalactic-lh-300, 150%)}.___SText_1yucn_gg_._size_l_1yucn_gg_:only-child{margin-left:var(--intergalactic-spacing-3x, 12px);margin-right:var(--intergalactic-spacing-3x, 12px)}.___SText_1yucn_gg_._size_l_1yucn_gg_:first-child{margin-left:var(--intergalactic-spacing-3x, 12px)}.___SText_1yucn_gg_._size_l_1yucn_gg_:last-child{margin-right:var(--intergalactic-spacing-3x, 12px)}.___SAddon_1yucn_gg_{display:inline-flex;align-items:center;justify-content:center;pointer-events:none}.___SAddon_1yucn_gg_._size_m_1yucn_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_1yucn_gg_._size_m_1yucn_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SAddon_1yucn_gg_._size_m_1yucn_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_1yucn_gg_._size_l_1yucn_gg_:not(:only-child):first-child{margin-left:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_1yucn_gg_._size_l_1yucn_gg_:not(:only-child):last-child{margin-right:calc(var(--intergalactic-spacing-3x, 12px) - 1px)}.___SAddon_1yucn_gg_._size_l_1yucn_gg_:only-child{margin-left:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px);margin-right:calc(3*var(--intergalactic-spacing-1x, 4px) - 1px)}',
|
|
21
19
|
/*__inner_css_end__*/
|
|
22
|
-
"
|
|
20
|
+
"1yucn_gg_"
|
|
23
21
|
), /*__reshadow_css_end__*/
|
|
24
22
|
{
|
|
25
|
-
"__SButton": "
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"_theme_primary-
|
|
42
|
-
"_theme_primary-
|
|
43
|
-
"_theme_primary-
|
|
44
|
-
"_theme_primary-
|
|
45
|
-
"
|
|
46
|
-
"_theme_secondary-
|
|
47
|
-
"_theme_secondary-
|
|
48
|
-
"
|
|
49
|
-
"_theme_tertiary-
|
|
50
|
-
"_theme_tertiary-
|
|
23
|
+
"__SButton": "___SButton_1yucn_gg_",
|
|
24
|
+
"_keyboardFocused": "__keyboardFocused_1yucn_gg_",
|
|
25
|
+
"_disabled": "__disabled_1yucn_gg_",
|
|
26
|
+
"_size_s": "_size_s_1yucn_gg_",
|
|
27
|
+
"_size_m": "_size_m_1yucn_gg_",
|
|
28
|
+
"_size_l": "_size_l_1yucn_gg_",
|
|
29
|
+
"_neighborLocation_right": "_neighborLocation_right_1yucn_gg_",
|
|
30
|
+
"_neighborLocation_both": "_neighborLocation_both_1yucn_gg_",
|
|
31
|
+
"_neighborLocation_left": "_neighborLocation_left_1yucn_gg_",
|
|
32
|
+
"__SSpin": "___SSpin_1yucn_gg_",
|
|
33
|
+
"__SInner": "___SInner_1yucn_gg_",
|
|
34
|
+
"_loading": "__loading_1yucn_gg_",
|
|
35
|
+
"__SText": "___SText_1yucn_gg_",
|
|
36
|
+
"__SAddon": "___SAddon_1yucn_gg_",
|
|
37
|
+
"_theme_primary-info": "_theme_primary-info_1yucn_gg_",
|
|
38
|
+
"_active": "__active_1yucn_gg_",
|
|
39
|
+
"_theme_primary-success": "_theme_primary-success_1yucn_gg_",
|
|
40
|
+
"_theme_primary-brand": "_theme_primary-brand_1yucn_gg_",
|
|
41
|
+
"_theme_primary-warning": "_theme_primary-warning_1yucn_gg_",
|
|
42
|
+
"_theme_primary-danger": "_theme_primary-danger_1yucn_gg_",
|
|
43
|
+
"_theme_primary-invert": "_theme_primary-invert_1yucn_gg_",
|
|
44
|
+
"_theme_secondary-muted": "_theme_secondary-muted_1yucn_gg_",
|
|
45
|
+
"_theme_secondary-info": "_theme_secondary-info_1yucn_gg_",
|
|
46
|
+
"_theme_secondary-invert": "_theme_secondary-invert_1yucn_gg_",
|
|
47
|
+
"_theme_tertiary-info": "_theme_tertiary-info_1yucn_gg_",
|
|
48
|
+
"_theme_tertiary-muted": "_theme_tertiary-muted_1yucn_gg_",
|
|
49
|
+
"_theme_tertiary-invert": "_theme_tertiary-invert_1yucn_gg_"
|
|
51
50
|
})
|
|
52
51
|
);
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
tertiary: "info"
|
|
57
|
-
};
|
|
58
|
-
var RootButton = /* @__PURE__ */ (function(_Component) {
|
|
52
|
+
var RootButton = /* @__PURE__ */ function(_AbstractButton) {
|
|
53
|
+
_inherits(RootButton2, _AbstractButton);
|
|
54
|
+
var _super = _createSuper(RootButton2);
|
|
59
55
|
function RootButton2() {
|
|
60
|
-
var _this;
|
|
61
56
|
_classCallCheck(this, RootButton2);
|
|
62
|
-
|
|
63
|
-
args[_key] = arguments[_key];
|
|
64
|
-
}
|
|
65
|
-
_this = _callSuper(this, RootButton2, [].concat(args));
|
|
66
|
-
_defineProperty(_this, "containerRef", /* @__PURE__ */ React.createRef());
|
|
67
|
-
_defineProperty(_this, "state", {
|
|
68
|
-
ariaLabelledByContent: null
|
|
69
|
-
});
|
|
70
|
-
return _this;
|
|
57
|
+
return _super.apply(this, arguments);
|
|
71
58
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
var size = this.asProps.size;
|
|
77
|
-
return {
|
|
78
|
-
size,
|
|
79
|
-
"hint:triggerRef": this.containerRef
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
}, {
|
|
83
|
-
key: "getAddonProps",
|
|
84
|
-
value: function getAddonProps() {
|
|
85
|
-
var size = this.asProps.size;
|
|
86
|
-
return {
|
|
87
|
-
size
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
}, {
|
|
91
|
-
key: "componentDidMount",
|
|
92
|
-
value: function componentDidMount() {
|
|
93
|
-
var _this2 = this;
|
|
94
|
-
if (process.env.NODE_ENV !== "production") {
|
|
95
|
-
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"] || RootButton2.displayName);
|
|
96
|
-
}
|
|
97
|
-
var ariaLabelledby = this.asProps["aria-labelledby"];
|
|
98
|
-
if (ariaLabelledby) {
|
|
99
|
-
setTimeout(function() {
|
|
100
|
-
var _document$getElementB, _document$getElementB2;
|
|
101
|
-
_this2.setState({
|
|
102
|
-
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 : ""
|
|
103
|
-
});
|
|
104
|
-
}, 0);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}, {
|
|
108
|
-
key: "render",
|
|
109
|
-
value: function render() {
|
|
110
|
-
var _ref = this.asProps, _ref7, _ref8, _this3 = this;
|
|
111
|
-
var _this$asProps = this.asProps, styles = _this$asProps.styles, use = _this$asProps.use, _this$asProps$theme = _this$asProps.theme, theme = _this$asProps$theme === void 0 ? typeof use === "string" && MAP_USE_DEFAULT_THEME[use] : _this$asProps$theme, loading = _this$asProps.loading, _this$asProps$disable = _this$asProps.disabled, disabled = _this$asProps$disable === void 0 ? loading : _this$asProps$disable, size = _this$asProps.size, neighborLocation = _this$asProps.neighborLocation, children = _this$asProps.children, title = _this$asProps.title, ariaLabel = _this$asProps["aria-label"], Children = _this$asProps.Children, AddonLeft = _this$asProps.addonLeft, AddonRight = _this$asProps.addonRight, hintPlacement = _this$asProps.hintPlacement;
|
|
112
|
-
var SButton = Box;
|
|
113
|
-
var Button2 = this[CORE_INSTANCE];
|
|
114
|
-
var useTheme = use && theme ? "".concat(use, "-").concat(theme) : false;
|
|
115
|
-
var SInner = Box;
|
|
116
|
-
var SSpin = Box;
|
|
117
|
-
var buttonAriaLabel = (_ref7 = (_ref8 = title !== null && title !== void 0 ? title : ariaLabel) !== null && _ref8 !== void 0 ? _ref8 : this.state.ariaLabelledByContent) !== null && _ref7 !== void 0 ? _ref7 : "";
|
|
118
|
-
var showHint = children === void 0 || title;
|
|
119
|
-
return /* @__PURE__ */ React.createElement(NeighborLocation.Detect, {
|
|
120
|
-
neighborLocation
|
|
121
|
-
}, function(neighborLocation2) {
|
|
122
|
-
var _ref4;
|
|
123
|
-
return _ref4 = sstyled(styles), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(SButton, _ref4.cn("SButton", _objectSpread({}, assignProps({
|
|
124
|
-
"invertOutline": theme === "invert",
|
|
125
|
-
"type": "button",
|
|
126
|
-
"tag": "button",
|
|
127
|
-
"tabIndex": 0,
|
|
128
|
-
"disabled": disabled,
|
|
129
|
-
"use:theme": useTheme,
|
|
130
|
-
"ref": _this3.containerRef,
|
|
131
|
-
"aria-busy": loading,
|
|
132
|
-
"__excludeProps": ["title"],
|
|
133
|
-
"aria-label": showHint ? buttonAriaLabel : void 0,
|
|
134
|
-
"neighborLocation": neighborLocation2
|
|
135
|
-
}, _ref))), /* @__PURE__ */ React.createElement(SInner, _ref4.cn("SInner", {
|
|
136
|
-
"tag": "span",
|
|
137
|
-
"loading": loading,
|
|
138
|
-
"data-ui-name": "".concat(_this3.asProps["data-ui-name"], ".InnerWrapper")
|
|
139
|
-
}), AddonLeft ? /* @__PURE__ */ React.createElement(Button2.Addon, null, /* @__PURE__ */ React.createElement(AddonLeft, _ref4.cn("AddonLeft", {}))) : null, addonTextChildren(Children, Button2.Text, Button2.Addon), AddonRight ? /* @__PURE__ */ React.createElement(Button2.Addon, null, /* @__PURE__ */ React.createElement(AddonRight, _ref4.cn("AddonRight", {}))) : null), loading && /* @__PURE__ */ React.createElement(SSpin, _ref4.cn("SSpin", {
|
|
140
|
-
"tag": "span"
|
|
141
|
-
}), /* @__PURE__ */ React.createElement(SpinButton, _ref4.cn("SpinButton", {
|
|
142
|
-
"centered": true,
|
|
143
|
-
"size": size,
|
|
144
|
-
"theme": useTheme
|
|
145
|
-
})))), showHint && /* @__PURE__ */ React.createElement(Hint, _ref4.cn("Hint", {
|
|
146
|
-
"triggerRef": _this3.containerRef,
|
|
147
|
-
"timeout": [250, 50],
|
|
148
|
-
"placement": hintPlacement
|
|
149
|
-
}), buttonAriaLabel));
|
|
150
|
-
});
|
|
59
|
+
_createClass(RootButton2, [{
|
|
60
|
+
key: "getTextColor",
|
|
61
|
+
value: function getTextColor() {
|
|
62
|
+
return void 0;
|
|
151
63
|
}
|
|
152
64
|
}]);
|
|
153
|
-
|
|
65
|
+
return RootButton2;
|
|
66
|
+
}(AbstractButton);
|
|
154
67
|
_defineProperty(RootButton, "displayName", "Button");
|
|
68
|
+
_defineProperty(RootButton, "enhance", [keyboardFocusEnhance()]);
|
|
155
69
|
_defineProperty(RootButton, "style", style);
|
|
156
70
|
_defineProperty(RootButton, "defaultProps", {
|
|
157
71
|
use: "secondary",
|
|
158
72
|
size: "m"
|
|
159
73
|
});
|
|
160
|
-
function
|
|
161
|
-
var
|
|
162
|
-
var SText =
|
|
163
|
-
return
|
|
74
|
+
function Text(props) {
|
|
75
|
+
var _ref = arguments[0], _ref3;
|
|
76
|
+
var SText = Box;
|
|
77
|
+
return _ref3 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(SText, _ref3.cn("SText", _objectSpread({}, assignProps({
|
|
78
|
+
"tag": "span"
|
|
79
|
+
}, _ref))));
|
|
164
80
|
}
|
|
165
81
|
function Addon(props) {
|
|
166
|
-
var
|
|
82
|
+
var _ref2 = arguments[0], _ref4;
|
|
167
83
|
var SAddon = Box;
|
|
168
|
-
return
|
|
84
|
+
return _ref4 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(SAddon, _ref4.cn("SAddon", _objectSpread({}, assignProps({
|
|
169
85
|
"tag": "span"
|
|
170
|
-
},
|
|
86
|
+
}, _ref2))));
|
|
171
87
|
}
|
|
172
88
|
var Button = createComponent(RootButton, {
|
|
173
|
-
Text
|
|
89
|
+
Text,
|
|
174
90
|
Addon
|
|
175
91
|
});
|
|
176
92
|
export {
|
|
177
|
-
MAP_USE_DEFAULT_THEME,
|
|
178
|
-
RootButton,
|
|
179
93
|
Button as default
|
|
180
94
|
};
|
|
@@ -12,6 +12,7 @@ SButton {
|
|
|
12
12
|
text-align: center;
|
|
13
13
|
vertical-align: middle;
|
|
14
14
|
border: 1px solid transparent;
|
|
15
|
+
outline: 0;
|
|
15
16
|
box-shadow: none;
|
|
16
17
|
cursor: pointer;
|
|
17
18
|
box-sizing: border-box;
|
|
@@ -29,11 +30,18 @@ SButton {
|
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
&:active,
|
|
32
|
-
&:hover
|
|
33
|
+
&:hover,
|
|
34
|
+
&:focus {
|
|
35
|
+
outline: 0;
|
|
33
36
|
text-decoration: none;
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
|
|
40
|
+
SButton[keyboardFocused] {
|
|
41
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px oklch(0.424 0.269 264.2 / 0.469));
|
|
42
|
+
z-index: 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
37
45
|
SButton[disabled] {
|
|
38
46
|
opacity: var(--intergalactic-disabled-opacity, 0.4);
|
|
39
47
|
cursor: default;
|
|
@@ -1,62 +1,90 @@
|
|
|
1
1
|
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/esm/createClass";
|
|
4
|
-
import _callSuper from "@babel/runtime/helpers/esm/callSuper";
|
|
5
4
|
import _inherits from "@babel/runtime/helpers/esm/inherits";
|
|
5
|
+
import _createSuper from "@babel/runtime/helpers/esm/createSuper";
|
|
6
6
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
7
|
-
import { sstyled
|
|
8
|
-
import
|
|
7
|
+
import { sstyled } from "@semcore/utils/lib/core/index";
|
|
8
|
+
import createComponent, { sstyled as sstyled$1, assignProps } from "@semcore/core";
|
|
9
9
|
import React from "react";
|
|
10
|
+
import keyboardFocusEnhance from "@semcore/utils/lib/enhances/keyboardFocusEnhance";
|
|
11
|
+
import { Box } from "@semcore/flex-box";
|
|
12
|
+
import { AbstractButton } from "../AbstractButton/AbstractButton.mjs";
|
|
13
|
+
import resolveColorEnhance from "@semcore/utils/lib/enhances/resolveColorEnhance";
|
|
10
14
|
/*!__reshadow-styles__:"./buttonLink.shadow.css"*/
|
|
11
15
|
var style = (
|
|
12
16
|
/*__reshadow_css_start__*/
|
|
13
17
|
(sstyled.insert(
|
|
14
18
|
/*__inner_css_start__*/
|
|
15
|
-
".
|
|
19
|
+
".___SButton_ewssl_gg_{display:inline-flex;font-family:inherit;font-size:var(--intergalactic-fs-200, 14px);color:var(--intergalactic-text-link, rgb(35, 95, 226));line-height:normal;position:relative;cursor:pointer;-webkit-text-decoration:none;text-decoration:none;border:0;padding:0;margin:0;box-shadow:none;-webkit-tap-highlight-color:transparent;outline:0;background:0 0;transition:color .15s ease-in-out}.___SButton_ewssl_gg_:active,.___SButton_ewssl_gg_:focus{outline:0;-webkit-text-decoration:none;text-decoration:none}@media (hover:hover){.___SButton_ewssl_gg_:hover{outline:0;-webkit-text-decoration:none;text-decoration:none}}.___SButton_ewssl_gg_::-moz-focus-inner{border:0;padding:0}.___SButton_ewssl_gg_.__active_ewssl_gg_,.___SButton_ewssl_gg_:active{color:var(--intergalactic-text-link-hover-active, rgb(33, 89, 215))}@media (hover:hover){.___SButton_ewssl_gg_:hover{color:var(--intergalactic-text-link-hover-active, rgb(33, 89, 215))}}.___SButton_ewssl_gg_.__active_ewssl_gg_ .___SText_ewssl_gg_,.___SButton_ewssl_gg_:active .___SText_ewssl_gg_{border-color:currentColor}@media (hover:hover){.___SButton_ewssl_gg_:hover .___SText_ewssl_gg_{border-color:currentColor}}.___SButton_ewssl_gg_.__enableVisited_ewssl_gg_:visited{color:var(--intergalactic-text-link-visited, rgb(128, 41, 236))}@media (hover:hover){.___SButton_ewssl_gg_.__enableVisited_ewssl_gg_:visited:hover{color:var(--intergalactic-text-link-visited, rgb(128, 41, 236))}}.___SButton_ewssl_gg_ .___SText_ewssl_gg_{border-bottom-width:1px;border-bottom-style:solid;border-color:transparent;transition:border-bottom-color .15s ease-in-out}.___SButton_ewssl_gg_.__keyboardFocused_ewssl_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 33, 220, 0.469));outline-style:solid;outline-width:3px}@supports (color:color(display-p3 0 0 0)){.___SButton_ewssl_gg_.__keyboardFocused_ewssl_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, rgba(0, 33, 220, 0.469))}@media (color-gamut:p3){.___SButton_ewssl_gg_.__keyboardFocused_ewssl_gg_{outline-color:var(--intergalactic-keyboard-focus-outline, color(display-p3 0.03256 0.12227 0.83249 / 0.469))}}}.___SButton_ewssl_gg_.__disabled_ewssl_gg_{opacity:var(--intergalactic-disabled-opacity, 0.4);cursor:default;pointer-events:none}.___SButton_ewssl_gg_._use_secondary_ewssl_gg_{color:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583))}@supports (color:color(display-p3 0 0 0)){.___SButton_ewssl_gg_._use_secondary_ewssl_gg_{color:var(--intergalactic-text-hint, rgba(0, 3, 0, 0.583))}@media (color-gamut:p3){.___SButton_ewssl_gg_._use_secondary_ewssl_gg_{color:var(--intergalactic-text-hint, color(display-p3 0.00228 0.01289 0.00252 / 0.583))}}}.___SButton_ewssl_gg_._use_secondary_ewssl_gg_.__active_ewssl_gg_,.___SButton_ewssl_gg_._use_secondary_ewssl_gg_:active{color:var(--intergalactic-text-hint-hover-active, rgba(0, 3, 0, 0.605))}@media (hover:hover){.___SButton_ewssl_gg_._use_secondary_ewssl_gg_:hover{color:var(--intergalactic-text-hint-hover-active, rgba(0, 3, 0, 0.605))}}.___SButton_ewssl_gg_._use_secondary_ewssl_gg_ .___SText_ewssl_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}.___SAddon_ewssl_gg_,.___SInner_ewssl_gg_{display:inline-flex;justify-content:center;align-items:center}.___SInner_ewssl_gg_{height:100%;width:100%}.___SAddon_ewssl_gg_{vertical-align:middle;pointer-events:none}.___SButton_ewssl_gg_ .___SAddon_ewssl_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SButton_ewssl_gg_ .___SAddon_ewssl_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SButton_ewssl_gg_.__text-color_ewssl_gg_{color:var(--text-color_ewssl)}.___SButton_ewssl_gg_.__text-color_ewssl_gg_.__active_ewssl_gg_,.___SButton_ewssl_gg_.__text-color_ewssl_gg_:active{color:var(--text-color_ewssl);filter:brightness(.8)}@media (hover:hover){.___SButton_ewssl_gg_.__text-color_ewssl_gg_:hover{color:var(--text-color_ewssl);filter:brightness(.8)}}.___SButton_ewssl_gg_._size_100_ewssl_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SButton_ewssl_gg_._size_200_ewssl_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SButton_ewssl_gg_._size_300_ewssl_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SButton_ewssl_gg_._size_400_ewssl_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SButton_ewssl_gg_._size_500_ewssl_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SButton_ewssl_gg_._size_600_ewssl_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SButton_ewssl_gg_._size_700_ewssl_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SButton_ewssl_gg_._size_800_ewssl_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}@media (prefers-reduced-motion){.___SButton_ewssl_gg_,.___SText_ewssl_gg_{transition:none}}",
|
|
16
20
|
/*__inner_css_end__*/
|
|
17
|
-
"
|
|
21
|
+
"ewssl_gg_"
|
|
18
22
|
), /*__reshadow_css_end__*/
|
|
19
23
|
{
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
24
|
+
"__SButton": "___SButton_ewssl_gg_",
|
|
25
|
+
"_keyboardFocused": "__keyboardFocused_ewssl_gg_",
|
|
26
|
+
"_disabled": "__disabled_ewssl_gg_",
|
|
27
|
+
"__SInner": "___SInner_ewssl_gg_",
|
|
28
|
+
"__SAddon": "___SAddon_ewssl_gg_",
|
|
29
|
+
"_size_100": "_size_100_ewssl_gg_",
|
|
30
|
+
"_size_200": "_size_200_ewssl_gg_",
|
|
31
|
+
"_size_300": "_size_300_ewssl_gg_",
|
|
32
|
+
"_size_400": "_size_400_ewssl_gg_",
|
|
33
|
+
"_size_500": "_size_500_ewssl_gg_",
|
|
34
|
+
"_size_600": "_size_600_ewssl_gg_",
|
|
35
|
+
"_size_700": "_size_700_ewssl_gg_",
|
|
36
|
+
"_size_800": "_size_800_ewssl_gg_",
|
|
37
|
+
"__SText": "___SText_ewssl_gg_",
|
|
38
|
+
"_active": "__active_ewssl_gg_",
|
|
39
|
+
"_enableVisited": "__enableVisited_ewssl_gg_",
|
|
40
|
+
"_use_secondary": "_use_secondary_ewssl_gg_",
|
|
41
|
+
"_text-color": "__text-color_ewssl_gg_",
|
|
42
|
+
"--text-color": "--text-color_ewssl"
|
|
26
43
|
})
|
|
27
44
|
);
|
|
28
|
-
var
|
|
45
|
+
var enhance = {
|
|
46
|
+
keyboardFocused: keyboardFocusEnhance(),
|
|
47
|
+
resolveColor: resolveColorEnhance()
|
|
48
|
+
};
|
|
49
|
+
var RootButtonLink = /* @__PURE__ */ function(_AbstractButton) {
|
|
50
|
+
_inherits(RootButtonLink2, _AbstractButton);
|
|
51
|
+
var _super = _createSuper(RootButtonLink2);
|
|
29
52
|
function RootButtonLink2() {
|
|
30
53
|
_classCallCheck(this, RootButtonLink2);
|
|
31
|
-
return
|
|
54
|
+
return _super.apply(this, arguments);
|
|
32
55
|
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var SButtonLink = Link;
|
|
39
|
-
var disabled = this.asProps.disabled;
|
|
40
|
-
return _ref2 = sstyled(style), /* @__PURE__ */ React.createElement(SButtonLink, _ref2.cn("SButtonLink", _objectSpread({}, assignProps({
|
|
41
|
-
"tag": "button",
|
|
42
|
-
"type": "button",
|
|
43
|
-
"use:disabled": disabled,
|
|
44
|
-
"use:tabIndex": 0
|
|
45
|
-
}, _ref))));
|
|
56
|
+
_createClass(RootButtonLink2, [{
|
|
57
|
+
key: "getTextColor",
|
|
58
|
+
value: function getTextColor() {
|
|
59
|
+
var _ref5 = this.asProps, color = _ref5.color, resolveColor = _ref5.resolveColor;
|
|
60
|
+
return resolveColor(color);
|
|
46
61
|
}
|
|
47
62
|
}]);
|
|
48
|
-
|
|
63
|
+
return RootButtonLink2;
|
|
64
|
+
}(AbstractButton);
|
|
49
65
|
_defineProperty(RootButtonLink, "displayName", "ButtonLink");
|
|
66
|
+
_defineProperty(RootButtonLink, "enhance", Object.values(enhance));
|
|
50
67
|
_defineProperty(RootButtonLink, "style", style);
|
|
51
68
|
_defineProperty(RootButtonLink, "defaultProps", {
|
|
52
|
-
use: "primary"
|
|
53
|
-
size: 200
|
|
69
|
+
use: "primary"
|
|
54
70
|
});
|
|
71
|
+
function Text(props) {
|
|
72
|
+
var _ref = arguments[0], _ref3;
|
|
73
|
+
var SText = Box;
|
|
74
|
+
return _ref3 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(SText, _ref3.cn("SText", _objectSpread({}, assignProps({
|
|
75
|
+
"tag": "span"
|
|
76
|
+
}, _ref))));
|
|
77
|
+
}
|
|
78
|
+
function Addon(props) {
|
|
79
|
+
var _ref2 = arguments[0], _ref4;
|
|
80
|
+
var SAddon = Box;
|
|
81
|
+
return _ref4 = sstyled$1(props.styles), /* @__PURE__ */ React.createElement(SAddon, _ref4.cn("SAddon", _objectSpread({}, assignProps({
|
|
82
|
+
"tag": "span"
|
|
83
|
+
}, _ref2))));
|
|
84
|
+
}
|
|
55
85
|
var ButtonLink = createComponent(RootButtonLink, {
|
|
56
|
-
Text
|
|
57
|
-
Addon
|
|
58
|
-
}, {
|
|
59
|
-
parent: Link
|
|
86
|
+
Text,
|
|
87
|
+
Addon
|
|
60
88
|
});
|
|
61
89
|
export {
|
|
62
90
|
ButtonLink
|