@scbt-ecom/ui 0.0.34 → 0.0.36
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 +13 -7
- package/dist/hybrid.js.map +1 -1
- package/dist/shared/ui/CustomLink.d.ts +3 -2
- package/dist/shared/ui/index.d.ts +2 -0
- package/dist/shared/ui/modal/Modal.d.ts +14 -0
- package/dist/shared/ui/modal/index.d.ts +1 -0
- package/dist/shared/ui/modal/ui/ModalHeader.d.ts +12 -0
- package/dist/shared/ui/notification/Notification.d.ts +10 -0
- package/dist/shared/ui/notification/index.d.ts +1 -0
- package/dist/shared/ui/notification/ui/CustomToast.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
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
|
|
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
|
-
|
|
338
|
-
|
|
339
|
-
|
|
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:
|
|
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: {
|