@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.
@@ -37560,33 +37560,37 @@ _ee.displayName = "BtnSecondary";
37560
37560
  function Dee({
37561
37561
  children: t,
37562
37562
  iconStatus: r = "multimedia",
37563
- rightIcon: i,
37564
- withoutColor: l = !1,
37565
- m: f = "0",
37566
- type: h = "button",
37567
- tabIndex: p,
37568
- id: g,
37569
- onClick: y
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 S = _e("colors-neutral-gray"), C = _e("colors-main-deepSkyBlue"), E = _e("colors-neutral-white"), k = l ? _e("colors-main-blueGrey") : C, _ = {
37572
- ahead: /* @__PURE__ */ O.jsx(pk, { color: k }),
37573
- answer: /* @__PURE__ */ O.jsx(kk, { color: k }),
37574
- back: /* @__PURE__ */ O.jsx(hk, { color: k }),
37575
- delete: /* @__PURE__ */ O.jsx(Tk, { color: k }),
37576
- download: /* @__PURE__ */ O.jsx(dk, { color: k }),
37577
- edit: /* @__PURE__ */ O.jsx(wk, { color: k }),
37578
- more: /* @__PURE__ */ O.jsx(Ek, { color: k }),
37579
- multimedia: /* @__PURE__ */ O.jsx(vk, { color: k }),
37580
- password: /* @__PURE__ */ O.jsx(Ck, { color: k }),
37581
- record: /* @__PURE__ */ O.jsx(sk, { color: k }),
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
- }, A = _[r] ?? _.multimedia, P = i ? A : void 0, j = i ? void 0 : A;
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: g,
37588
- type: h,
37589
- tabIndex: p,
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: S,
37604
- rightIcon: P,
37605
- leftIcon: j,
37606
- m: f,
37607
- onClick: y,
37607
+ color: C,
37608
+ rightIcon: j,
37609
+ leftIcon: G,
37610
+ m: h,
37611
+ onClick: S,
37608
37612
  _hover: {
37609
- color: `${C}`
37613
+ color: `${E}`
37610
37614
  },
37611
37615
  _focusVisible: {
37612
- boxShadow: `inset 0 0 0 2px ${C}, inset 0 0 0 4px ${E}`
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: `${C}`
37627
+ fill: `${E}`
37624
37628
  },
37625
37629
  "@media (hover: none)": {
37626
- color: `${S}`,
37630
+ color: `${C}`,
37627
37631
  "svg path": {
37628
- fill: k
37632
+ fill: _
37629
37633
  }
37630
37634
  }
37631
37635
  }