@eclass/ui-kit 1.32.0 → 1.33.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.
package/dist/eclass-ui-kit.es.js
CHANGED
|
@@ -37560,33 +37560,37 @@ _ee.displayName = "BtnSecondary";
|
|
|
37560
37560
|
function Dee({
|
|
37561
37561
|
children: t,
|
|
37562
37562
|
iconStatus: r = "multimedia",
|
|
37563
|
-
|
|
37564
|
-
|
|
37565
|
-
|
|
37566
|
-
|
|
37567
|
-
|
|
37568
|
-
|
|
37569
|
-
|
|
37563
|
+
iconCustom: i,
|
|
37564
|
+
rightIcon: l,
|
|
37565
|
+
withoutColor: f = !1,
|
|
37566
|
+
m: h = "0",
|
|
37567
|
+
type: p = "button",
|
|
37568
|
+
tabIndex: g,
|
|
37569
|
+
id: y,
|
|
37570
|
+
onClick: S
|
|
37570
37571
|
}) {
|
|
37571
|
-
const
|
|
37572
|
-
ahead: /* @__PURE__ */ O.jsx(pk, { color:
|
|
37573
|
-
answer: /* @__PURE__ */ O.jsx(kk, { color:
|
|
37574
|
-
back: /* @__PURE__ */ O.jsx(hk, { color:
|
|
37575
|
-
delete: /* @__PURE__ */ O.jsx(Tk, { color:
|
|
37576
|
-
download: /* @__PURE__ */ O.jsx(dk, { color:
|
|
37577
|
-
edit: /* @__PURE__ */ O.jsx(wk, { color:
|
|
37578
|
-
more: /* @__PURE__ */ O.jsx(Ek, { color:
|
|
37579
|
-
multimedia: /* @__PURE__ */ O.jsx(vk, { color:
|
|
37580
|
-
password: /* @__PURE__ */ O.jsx(Ck, { color:
|
|
37581
|
-
record: /* @__PURE__ */ O.jsx(sk, { color:
|
|
37572
|
+
const C = _e("colors-neutral-gray"), E = _e("colors-main-deepSkyBlue"), k = _e("colors-neutral-white"), _ = f ? _e("colors-main-blueGrey") : E, A = {
|
|
37573
|
+
ahead: /* @__PURE__ */ O.jsx(pk, { color: _ }),
|
|
37574
|
+
answer: /* @__PURE__ */ O.jsx(kk, { color: _ }),
|
|
37575
|
+
back: /* @__PURE__ */ O.jsx(hk, { color: _ }),
|
|
37576
|
+
delete: /* @__PURE__ */ O.jsx(Tk, { color: _ }),
|
|
37577
|
+
download: /* @__PURE__ */ O.jsx(dk, { color: _ }),
|
|
37578
|
+
edit: /* @__PURE__ */ O.jsx(wk, { color: _ }),
|
|
37579
|
+
more: /* @__PURE__ */ O.jsx(Ek, { color: _ }),
|
|
37580
|
+
multimedia: /* @__PURE__ */ O.jsx(vk, { color: _ }),
|
|
37581
|
+
password: /* @__PURE__ */ O.jsx(Ck, { color: _ }),
|
|
37582
|
+
record: /* @__PURE__ */ O.jsx(sk, { color: _ }),
|
|
37582
37583
|
noIcon: /* @__PURE__ */ O.jsx(O.Fragment, {})
|
|
37583
|
-
}
|
|
37584
|
+
};
|
|
37585
|
+
let P = A[r] ?? A.multimedia;
|
|
37586
|
+
i && (P = i);
|
|
37587
|
+
const j = l ? P : void 0, G = l ? void 0 : P;
|
|
37584
37588
|
return /* @__PURE__ */ O.jsx(
|
|
37585
37589
|
kS,
|
|
37586
37590
|
{
|
|
37587
|
-
id:
|
|
37588
|
-
type:
|
|
37589
|
-
tabIndex:
|
|
37591
|
+
id: y,
|
|
37592
|
+
type: p,
|
|
37593
|
+
tabIndex: g,
|
|
37590
37594
|
height: "24px",
|
|
37591
37595
|
background: "transparent",
|
|
37592
37596
|
fontFamily: "Roboto",
|
|
@@ -37600,16 +37604,16 @@ function Dee({
|
|
|
37600
37604
|
paddingBottom: _e("space-xxs"),
|
|
37601
37605
|
paddingLeft: _e("space-xs"),
|
|
37602
37606
|
paddingRight: _e("space-xs"),
|
|
37603
|
-
color:
|
|
37604
|
-
rightIcon:
|
|
37605
|
-
leftIcon:
|
|
37606
|
-
m:
|
|
37607
|
-
onClick:
|
|
37607
|
+
color: C,
|
|
37608
|
+
rightIcon: j,
|
|
37609
|
+
leftIcon: G,
|
|
37610
|
+
m: h,
|
|
37611
|
+
onClick: S,
|
|
37608
37612
|
_hover: {
|
|
37609
|
-
color: `${
|
|
37613
|
+
color: `${E}`
|
|
37610
37614
|
},
|
|
37611
37615
|
_focusVisible: {
|
|
37612
|
-
boxShadow: `inset 0 0 0 2px ${
|
|
37616
|
+
boxShadow: `inset 0 0 0 2px ${E}, inset 0 0 0 4px ${k}`
|
|
37613
37617
|
},
|
|
37614
37618
|
_focus: {
|
|
37615
37619
|
boxShadow: "none"
|
|
@@ -37620,12 +37624,12 @@ function Dee({
|
|
|
37620
37624
|
sx: {
|
|
37621
37625
|
"&:hover": {
|
|
37622
37626
|
"svg path": {
|
|
37623
|
-
fill: `${
|
|
37627
|
+
fill: `${E}`
|
|
37624
37628
|
},
|
|
37625
37629
|
"@media (hover: none)": {
|
|
37626
|
-
color: `${
|
|
37630
|
+
color: `${C}`,
|
|
37627
37631
|
"svg path": {
|
|
37628
|
-
fill:
|
|
37632
|
+
fill: _
|
|
37629
37633
|
}
|
|
37630
37634
|
}
|
|
37631
37635
|
}
|