@scbt-ecom/ui 0.24.0 → 0.25.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/{CustomLink-BuvHLRaW.js → CustomLink-CKaoTS8A.js} +3 -18
- package/dist/{CustomLink-BuvHLRaW.js.map → CustomLink-CKaoTS8A.js.map} +1 -1
- package/dist/hooks.js +39 -105
- package/dist/hooks.js.map +1 -1
- package/dist/{parse-DTNzQgVi.js → parse-C_80L3wX.js} +262 -248
- package/dist/parse-C_80L3wX.js.map +1 -0
- package/dist/shared/ui/customLink/CustomLink.d.ts +1 -2
- package/dist/shared/ui/formElements/controlled/index.d.ts +1 -0
- package/dist/shared/ui/formElements/editorControl/model/config.d.ts +1 -1
- package/dist/shared/ui/formElements/editorControl/ui/commands/index.d.ts +1 -1
- package/dist/shared/ui/formElements/editorControl/ui/commands/setCustomLink.d.ts +6 -0
- package/dist/shared/ui/formElements/uncontrolled/index.d.ts +1 -0
- package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +15 -0
- package/dist/shared/ui/formElements/uncontrolled/select/hooks/useSelectController.d.ts +3 -1
- package/dist/shared/validation/messages.d.ts +1 -0
- package/dist/ui.js +5720 -5685
- package/dist/ui.js.map +1 -1
- package/dist/useDebounce-DyvGYvL9.js +1169 -0
- package/dist/useDebounce-DyvGYvL9.js.map +1 -0
- package/dist/validation.js +26 -37
- package/dist/validation.js.map +1 -1
- package/dist/widget.js +1 -1
- package/package.json +1 -2
- package/dist/parse-DTNzQgVi.js.map +0 -1
- package/dist/shared/ui/formElements/editorControl/ui/commands/SetLink.d.ts +0 -6
- package/dist/useDebounce-DSBzpBLy.js +0 -1106
- package/dist/useDebounce-DSBzpBLy.js.map +0 -1
|
@@ -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
|
-
|
|
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-
|
|
4491
|
+
//# sourceMappingURL=CustomLink-CKaoTS8A.js.map
|