@scbt-ecom/ui 0.24.0 → 0.24.1

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.
@@ -4406,10 +4406,6 @@ const Ec = ({
4406
4406
  true: "underline underline-offset-4",
4407
4407
  false: ""
4408
4408
  },
4409
- withIcon: {
4410
- true: "flex items-center gap-1",
4411
- false: ""
4412
- },
4413
4409
  disabled: {
4414
4410
  true: "!text-color-primary-disabled pointer-events-none !border-transparent",
4415
4411
  false: ""
@@ -4421,7 +4417,6 @@ const Ec = ({
4421
4417
  },
4422
4418
  defaultVariants: {
4423
4419
  intent: "blue",
4424
- withIcon: !0,
4425
4420
  disabled: !1,
4426
4421
  size: "sm",
4427
4422
  withUnderline: !1
@@ -4442,19 +4437,9 @@ const Ec = ({
4442
4437
  intent: "blue",
4443
4438
  disabled: !1
4444
4439
  }
4445
- }), Ac = ({
4446
- intent: e,
4447
- children: t,
4448
- withIcon: n,
4449
- disabled: r,
4450
- size: o,
4451
- icon: i = "arrows/arrowLink",
4452
- classes: a,
4453
- withUnderline: s,
4454
- ...u
4455
- }) => /* @__PURE__ */ y.jsxs("a", { className: L(cc({ intent: e, withIcon: n, withUnderline: s, disabled: r, size: o }), a == null ? void 0 : a.link), ...u, children: [
4440
+ }), Ac = ({ intent: e, children: t, disabled: n, size: r, icon: o, classes: i, withUnderline: a, ...s }) => /* @__PURE__ */ y.jsxs("a", { className: L(cc({ intent: e, withUnderline: a, disabled: n, size: r }), i == null ? void 0 : i.link), ...s, children: [
4456
4441
  t,
4457
- n && /* @__PURE__ */ y.jsx(de, { name: i, className: L(lc({ intent: e, disabled: r }), a == null ? void 0 : a.icon) })
4442
+ o && /* @__PURE__ */ y.jsx(de, { name: o, className: L(lc({ intent: e, disabled: n }), i == null ? void 0 : i.icon) })
4458
4443
  ] });
4459
4444
  export {
4460
4445
  wc as A,
@@ -4503,4 +4488,4 @@ export {
4503
4488
  pe as y,
4504
4489
  Da as z
4505
4490
  };
4506
- //# sourceMappingURL=CustomLink-BuvHLRaW.js.map
4491
+ //# sourceMappingURL=CustomLink-CKaoTS8A.js.map