mimir-ui-kit 1.10.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
|
|
1
|
-
.
|
1
|
+
._buttons_1s9fa_2{display:inline-flex}._merged-button_1s9fa_6{--button-height: var(--button-height-m);--button-space: var(--control-space-xs)}._merged-button_1s9fa_6:first-child{border-radius:0;border-top-left-radius:var(--control-radius);border-bottom-left-radius:var(--control-radius)}._merged-button_1s9fa_6:last-child{border-radius:0;border-top-right-radius:var(--control-radius);border-bottom-right-radius:var(--control-radius)}._merged-button_1s9fa_6:hover{color:var(--button-color-hover);background:var(--button-bg-color-hover)}._merged-button_1s9fa_6:active{color:var(--button-color-active);background:var(--button-bg-color-active)}._merged-button_1s9fa_6._gray_1s9fa_28{--button-bg-color: var(--black-5);--button-bg-color-hover: var(--black-5);--button-bg-color-active: var(--asphalt-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--sapphire-normal);--button-color-active: var(--light-text)}._merged-button_1s9fa_6._white_1s9fa_36{--button-bg-color: var(--white-normal);--button-bg-color-active: var(--asphalt-normal);--button-bg-color-hover: var(--white-normal);--button-color: var(--asphalt-normal);--button-color-hover: var(--sapphire-normal);--button-color-active: var(--light-text)}._merged-button_1s9fa_6._transparent_1s9fa_44{--button-bg-color: var(--black-5);--button-bg-color-hover: var(--black-5);--button-bg-color-active: var(--asphalt-normal);--button-bg-color-focus: var(--sapphire-normal);--button-color: var(--light-text);--button-color-hover: var(--sapphire-normal);--button-color-active: var(--light-text)}._merged-button_1s9fa_6._is-icon_1s9fa_53{width:var(--button-height-m);padding:0}._merged-button_1s9fa_6:disabled{--button-cursor: not-allowed;color:var(--disabled-color);background-color:var(--black-5)}._merged-button_1s9fa_6:disabled:hover,._merged-button_1s9fa_6:disabled:active,._merged-button_1s9fa_6:disabled:focus{color:var(--disabled-color);background-color:var(--black-5);box-shadow:none}
|
@@ -3,17 +3,17 @@ import { c as classNames } from "../../index-CweZ_OcN.js";
|
|
3
3
|
import { memo } from "react";
|
4
4
|
import { EMergedButtonVariantRound } from "./constants.js";
|
5
5
|
import { Button } from "../Button/Button.js";
|
6
|
-
import '../../assets/MergedButton.css';const buttons = "
|
7
|
-
const gray = "
|
8
|
-
const white = "
|
9
|
-
const transparent = "
|
6
|
+
import '../../assets/MergedButton.css';const buttons = "_buttons_1s9fa_2";
|
7
|
+
const gray = "_gray_1s9fa_28";
|
8
|
+
const white = "_white_1s9fa_36";
|
9
|
+
const transparent = "_transparent_1s9fa_44";
|
10
10
|
const cls = {
|
11
11
|
buttons,
|
12
|
-
"merged-button": "_merged-
|
12
|
+
"merged-button": "_merged-button_1s9fa_6",
|
13
13
|
gray,
|
14
14
|
white,
|
15
15
|
transparent,
|
16
|
-
"is-icon": "_is-
|
16
|
+
"is-icon": "_is-icon_1s9fa_53"
|
17
17
|
};
|
18
18
|
const MergedButton = memo(({ buttons: buttons2 }) => {
|
19
19
|
return /* @__PURE__ */ jsx("div", { className: cls.buttons, children: buttons2.map(
|