@scbt-ecom/ui 0.0.35 → 0.0.37

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/hybrid.js CHANGED
@@ -291,7 +291,7 @@ const br = (r, e) => JSON.stringify(r) === JSON.stringify(e), xr = typeof window
291
291
  ), Er = $e(
292
292
  ({ size: r, intent: e, children: t, classes: n, type: a = "button", ...s }, i) => /* @__PURE__ */ y.jsx("button", { ref: i, type: a, className: b(ct({ intent: e, size: r }), n == null ? void 0 : n.button), ...s, children: /* @__PURE__ */ y.jsx("span", { className: b(n == null ? void 0 : n.icon), children: t }) })
293
293
  ), lt = E(
294
- "group desk-body-regular-l underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
294
+ "group underline underline-offset-4 outline-none p-[2px] rounded-sm border border-solid border-transparent",
295
295
  {
296
296
  variants: {
297
297
  intent: {
@@ -305,12 +305,17 @@ const br = (r, e) => JSON.stringify(r) === JSON.stringify(e), xr = typeof window
305
305
  disabled: {
306
306
  true: "!text-color-primary-disabled pointer-events-none !border-transparent",
307
307
  false: ""
308
+ },
309
+ size: {
310
+ sm: "desk-body-regular-m",
311
+ md: "desk-body-regular-l"
308
312
  }
309
313
  },
310
314
  defaultVariants: {
311
315
  intent: "blue",
312
316
  withIcon: !0,
313
- disabled: !1
317
+ disabled: !1,
318
+ size: "sm"
314
319
  }
315
320
  }
316
321
  ), ut = E("size-6", {
@@ -329,16 +334,17 @@ const br = (r, e) => JSON.stringify(r) === JSON.stringify(e), xr = typeof window
329
334
  disabled: !1
330
335
  }
331
336
  }), Zr = ({
332
- Component: r,
337
+ Component: r = "a",
333
338
  intent: e,
334
339
  children: t,
335
340
  withIcon: n,
336
341
  disabled: a,
337
- icon: s = "arrows/arrowLink",
338
- ...i
339
- }) => /* @__PURE__ */ y.jsxs(r, { className: b(lt({ intent: e, withIcon: n, disabled: a })), ...i, children: [
342
+ size: s,
343
+ icon: i = "arrows/arrowLink",
344
+ ...o
345
+ }) => /* @__PURE__ */ y.jsxs(r, { className: b(lt({ intent: e, withIcon: n, disabled: a, size: s })), ...o, children: [
340
346
  t,
341
- n && /* @__PURE__ */ y.jsx(Ie, { name: s, className: b(ut({ intent: e, disabled: a })) })
347
+ n && /* @__PURE__ */ y.jsx(Ie, { name: i, className: b(ut({ intent: e, disabled: a })) })
342
348
  ] }), ft = E("size-8 transition-colors", {
343
349
  variants: {
344
350
  intent: {