@scbt-ecom/ui 0.10.3 → 0.10.4
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/{Advantages-Ckk1oK9e.js → Advantages-BBrxgOvk.js} +2 -2
- package/dist/{Advantages-Ckk1oK9e.js.map → Advantages-BBrxgOvk.js.map} +1 -1
- package/dist/client.js +7 -4
- package/dist/client.js.map +1 -1
- package/dist/hybrid.js +7 -3
- package/dist/hybrid.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as b, u as Mt, S as kh, d as qn, e as Fn, f as hs, h as Ye, k as Ge, l as ms, m as nI, c as O, I as ze, n as Wb, o as rI, D as iI, C as oI, p as sI, q as aI, r as lI, i as cI, s as uI, H as If, a as Dl, b as dI, t as Nl, v as fI, w as bo, x as pI, y as Xb, E as Mc, F as Oc, G as hI, J as mI, K as gI, M as vI, N as bI, O as Yb, P as Zb, z as yI, g as xI, _ as fi, L as CI, B as Mh, A as Jb, R as Ub } from "./Advantages-
|
|
1
|
+
import { j as b, u as Mt, S as kh, d as qn, e as Fn, f as hs, h as Ye, k as Ge, l as ms, m as nI, c as O, I as ze, n as Wb, o as rI, D as iI, C as oI, p as sI, q as aI, r as lI, i as cI, s as uI, H as If, a as Dl, b as dI, t as Nl, v as fI, w as bo, x as pI, y as Xb, E as Mc, F as Oc, G as hI, J as mI, K as gI, M as vI, N as bI, O as Yb, P as Zb, z as yI, g as xI, _ as fi, L as CI, B as Mh, A as Jb, R as Ub } from "./Advantages-BBrxgOvk.js";
|
|
2
2
|
import * as I from "react";
|
|
3
3
|
import W, { useCallback as fe, useSyncExternalStore as Zu, createContext as qe, useContext as Me, useId as hn, useEffect as Re, Component as Kb, useLayoutEffect as eo, useRef as de, useInsertionEffect as qb, useMemo as we, forwardRef as pi, Fragment as $t, createElement as Qb, Children as SI, isValidElement as ey, useState as Oe, cloneElement as wI, useReducer as Ef, createRef as II, useDebugValue as ty, useImperativeHandle as EI } from "react";
|
|
4
4
|
import { queryOptions as AI, keepPreviousData as TI, useQuery as kI } from "@tanstack/react-query";
|
|
@@ -7654,6 +7654,7 @@ const IR = Dl(
|
|
|
7654
7654
|
] }), MR = ({ onClickIcon: t, onKeyDownIcon: e, icon: n, classes: r }) => {
|
|
7655
7655
|
const i = (t || e) && {
|
|
7656
7656
|
role: "button",
|
|
7657
|
+
"aria-label": "edit",
|
|
7657
7658
|
tabIndex: 0,
|
|
7658
7659
|
onClick: t,
|
|
7659
7660
|
onKeyDown: e
|
|
@@ -7688,8 +7689,8 @@ const IR = Dl(
|
|
|
7688
7689
|
{
|
|
7689
7690
|
htmlFor: e,
|
|
7690
7691
|
className: O(
|
|
7691
|
-
"desk-body-regular-l pointer-events-none absolute left-4 top-2/4 -translate-y-1/2 text-color-
|
|
7692
|
-
{ "!top-2 translate-y-0 !bg-color-transparent [&&]:desk-body-regular-s": r },
|
|
7692
|
+
"desk-body-regular-l pointer-events-none absolute left-4 top-2/4 -translate-y-1/2 text-color-blue-grey-600 transition-all duration-15 group-focus-within:desk-body-regular-s group-focus-within:top-2 group-focus-within:translate-y-0 group-focus-within:bg-color-transparent group-focus-within:text-color-tetriary",
|
|
7693
|
+
{ "!top-2 translate-y-0 !bg-color-transparent text-color-tetriary [&&]:desk-body-regular-s": r },
|
|
7693
7694
|
{ "text-color-disabled": t },
|
|
7694
7695
|
i == null ? void 0 : i.fieldLabel
|
|
7695
7696
|
// && !isTextarea
|
|
@@ -8541,6 +8542,7 @@ const oP = (t, e) => ({ onValueChange: ({ inputValue: s, onChange: a, source: l
|
|
|
8541
8542
|
id: v,
|
|
8542
8543
|
"aria-invalid": _ != null && _.message ? "true" : "false",
|
|
8543
8544
|
value: L ?? "",
|
|
8545
|
+
autoComplete: m === "phone" ? "off" : "on",
|
|
8544
8546
|
format: t,
|
|
8545
8547
|
allowEmptyFormatting: S,
|
|
8546
8548
|
mask: n,
|
|
@@ -11805,6 +11807,7 @@ const x2 = (t, e) => {
|
|
|
11805
11807
|
"desk-body-regular-l z-10 h-[56px] w-full rounded-md bg-color-transparent px-4 pt-5 text-color-dark outline-none transition-all",
|
|
11806
11808
|
a == null ? void 0 : a.input
|
|
11807
11809
|
),
|
|
11810
|
+
id: y,
|
|
11808
11811
|
...x,
|
|
11809
11812
|
...m
|
|
11810
11813
|
}
|
|
@@ -16300,6 +16303,7 @@ const LL = I.forwardRef(
|
|
|
16300
16303
|
/* @__PURE__ */ b.jsx(
|
|
16301
16304
|
BL,
|
|
16302
16305
|
{
|
|
16306
|
+
"aria-label": "slider-thumb",
|
|
16303
16307
|
className: O(
|
|
16304
16308
|
'ring-offset-background block h-4 w-4 cursor-pointer rounded-full bg-color-primary-default transition-colors hover:before:absolute hover:before:left-1/2 hover:before:top-1/2 hover:before:h-8 hover:before:w-8 hover:before:-translate-x-1/2 hover:before:-translate-y-1/2 hover:before:rounded-full hover:before:bg-color-primary-tr-hover hover:before:content-[""] focus:outline-none focus:before:bg-color-primary-tr-pressed disabled:pointer-events-none disabled:opacity-50',
|
|
16305
16309
|
n == null ? void 0 : n.sliderThumb
|
|
@@ -16361,7 +16365,6 @@ const K$ = ({
|
|
|
16361
16365
|
"bg-color-white hover:bg-color-blue-grey-200 focus-within:bg-color-blue-grey-200 focus:bg-color-blue-grey-200 border-blue-grey-500",
|
|
16362
16366
|
i == null ? void 0 : i.fieldWrapperRoot
|
|
16363
16367
|
),
|
|
16364
|
-
fieldLabel: O("text-color-dark desk-body-regular-m", i == null ? void 0 : i.fieldLabel),
|
|
16365
16368
|
...i
|
|
16366
16369
|
},
|
|
16367
16370
|
children: /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|