@srimandir/common 2.22.0 → 2.22.2
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/common.js +80 -83
- package/dist/common.js.map +1 -1
- package/dist/common.umd.cjs +1 -1
- package/dist/common.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/common.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as I, jsxs as Ve } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as We, createContext as $e, useContext as Ue } from "react";
|
|
3
|
-
const De = "
|
|
3
|
+
const De = "_overlay_15iql_3", qe = "_sheet_15iql_14", Ke = "_handle_15iql_66", He = "_closeBtn_15iql_75", Je = "_closeBtnOutside_15iql_100", Ye = "_header_15iql_116", Ze = "_body_15iql_25", Xe = "_footer_15iql_128", N = {
|
|
4
4
|
overlay: De,
|
|
5
|
-
sheet:
|
|
6
|
-
handle:
|
|
7
|
-
closeBtn:
|
|
8
|
-
closeBtnOutside:
|
|
9
|
-
header:
|
|
10
|
-
body:
|
|
11
|
-
footer:
|
|
12
|
-
}, se = (...e) => e.filter(Boolean).join(" "),
|
|
5
|
+
sheet: qe,
|
|
6
|
+
handle: Ke,
|
|
7
|
+
closeBtn: He,
|
|
8
|
+
closeBtnOutside: Je,
|
|
9
|
+
header: Ye,
|
|
10
|
+
body: Ze,
|
|
11
|
+
footer: Xe
|
|
12
|
+
}, se = (...e) => e.filter(Boolean).join(" "), Qe = () => /* @__PURE__ */ I("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ I(
|
|
13
13
|
"path",
|
|
14
14
|
{
|
|
15
15
|
d: "M12 4L4 12M4 4l8 8",
|
|
@@ -17,7 +17,7 @@ const De = "_overlay_1m4co_3", Ke = "_sheet_1m4co_14", He = "_handle_1m4co_66",
|
|
|
17
17
|
strokeWidth: "1.8",
|
|
18
18
|
strokeLinecap: "round"
|
|
19
19
|
}
|
|
20
|
-
) }),
|
|
20
|
+
) }), Jo = ({
|
|
21
21
|
isOpen: e,
|
|
22
22
|
onClose: r,
|
|
23
23
|
children: t,
|
|
@@ -68,7 +68,7 @@ const De = "_overlay_1m4co_3", Ke = "_sheet_1m4co_14", He = "_handle_1m4co_66",
|
|
|
68
68
|
className: se(N.closeBtn, l && N.closeBtnOutside),
|
|
69
69
|
onClick: r,
|
|
70
70
|
"aria-label": "Close",
|
|
71
|
-
children: /* @__PURE__ */ I(
|
|
71
|
+
children: /* @__PURE__ */ I(Qe, {})
|
|
72
72
|
}
|
|
73
73
|
),
|
|
74
74
|
o && /* @__PURE__ */ I("div", { className: N.header, children: o }),
|
|
@@ -106,7 +106,7 @@ const oo = (e, r) => {
|
|
|
106
106
|
nextPart: e,
|
|
107
107
|
validators: r,
|
|
108
108
|
classGroupId: t
|
|
109
|
-
}),
|
|
109
|
+
}), Q = "-", xe = [], ro = "arbitrary..", no = (e) => {
|
|
110
110
|
const r = ao(e), {
|
|
111
111
|
conflictingClassGroups: t,
|
|
112
112
|
conflictingClassGroupModifiers: o
|
|
@@ -115,7 +115,7 @@ const oo = (e, r) => {
|
|
|
115
115
|
getClassGroupId: (l) => {
|
|
116
116
|
if (l.startsWith("[") && l.endsWith("]"))
|
|
117
117
|
return so(l);
|
|
118
|
-
const u = l.split(
|
|
118
|
+
const u = l.split(Q), b = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
119
119
|
return Se(u, b, r);
|
|
120
120
|
},
|
|
121
121
|
getConflictingClassGroupIds: (l, u) => {
|
|
@@ -137,7 +137,7 @@ const oo = (e, r) => {
|
|
|
137
137
|
const l = t.validators;
|
|
138
138
|
if (l === null)
|
|
139
139
|
return;
|
|
140
|
-
const u = r === 0 ? e.join(
|
|
140
|
+
const u = r === 0 ? e.join(Q) : e.slice(r).join(Q), b = l.length;
|
|
141
141
|
for (let m = 0; m < b; m++) {
|
|
142
142
|
const f = l[m];
|
|
143
143
|
if (f.validator(u))
|
|
@@ -192,7 +192,7 @@ const oo = (e, r) => {
|
|
|
192
192
|
}
|
|
193
193
|
}, Le = (e, r) => {
|
|
194
194
|
let t = e;
|
|
195
|
-
const o = r.split(
|
|
195
|
+
const o = r.split(Q), a = o.length;
|
|
196
196
|
for (let d = 0; d < a; d++) {
|
|
197
197
|
const l = o[d];
|
|
198
198
|
let u = t.nextPart.get(l);
|
|
@@ -380,13 +380,13 @@ const oo = (e, r) => {
|
|
|
380
380
|
return d = l, (...b) => d(vo(...b));
|
|
381
381
|
}, zo = [], h = (e) => {
|
|
382
382
|
const r = (t) => t[e] || zo;
|
|
383
|
-
return r.isThemeGetter = !0, r
|
|
384
|
-
}, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ao = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, So = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix
|
|
383
|
+
return r.isThemeGetter = !0, r;
|
|
384
|
+
}, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ao = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, So = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Lo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Io = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Po = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, To = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => Ao.test(e), p = (e) => !!e && !Number.isNaN(Number(e)), L = (e) => !!e && Number.isInteger(Number(e)), ae = (e) => e.endsWith("%") && p(e.slice(0, -1)), R = (e) => So.test(e), Me = () => !0, Mo = (e) => (
|
|
385
385
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
386
386
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
387
387
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
388
388
|
Lo.test(e) && !Io.test(e)
|
|
389
|
-
), ce = () => !1, Ro = (e) => Po.test(e), No = (e) => To.test(e), Go = (e) => !n(e) && !s(e), Eo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _o = (e) => E(e, Ge, ce), n = (e) => Pe.test(e), O = (e) => E(e, Ee, Mo), ke = (e) => E(e, Uo, p), Bo = (e) => E(e, Be, Me), Oo = (e) => E(e, _e, ce), ve = (e) => E(e, Re, ce), jo = (e) => E(e, Ne, No),
|
|
389
|
+
), ce = () => !1, Ro = (e) => Po.test(e), No = (e) => To.test(e), Go = (e) => !n(e) && !s(e), Eo = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), _o = (e) => E(e, Ge, ce), n = (e) => Pe.test(e), O = (e) => E(e, Ee, Mo), ke = (e) => E(e, Uo, p), Bo = (e) => E(e, Be, Me), Oo = (e) => E(e, _e, ce), ve = (e) => E(e, Re, ce), jo = (e) => E(e, Ne, No), Z = (e) => E(e, Oe, Ro), s = (e) => Te.test(e), D = (e) => j(e, Ee), Fo = (e) => j(e, _e), Ce = (e) => j(e, Re), Vo = (e) => j(e, Ge), Wo = (e) => j(e, Ne), X = (e) => j(e, Oe, !0), $o = (e) => j(e, Be, !0), E = (e, r, t) => {
|
|
390
390
|
const o = Pe.exec(e);
|
|
391
391
|
return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
|
|
392
392
|
}, j = (e, r, t = !1) => {
|
|
@@ -413,7 +413,7 @@ const oo = (e, r) => {
|
|
|
413
413
|
"left-bottom"
|
|
414
414
|
], V = () => [...F(), s, n], W = () => ["auto", "hidden", "clip", "visible", "scroll"], M = () => ["auto", "contain", "none"], i = () => [s, n, b], z = () => [G, "full", "auto", ...i()], de = () => [L, "none", "subgrid", s, n], me = () => ["auto", {
|
|
415
415
|
span: ["full", L, s, n]
|
|
416
|
-
}, L, s, n],
|
|
416
|
+
}, L, s, n], q = () => [L, "auto", s, n], pe = () => ["auto", "min", "max", "fr", s, n], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...i()], B = () => [G, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...i()], oe = () => [G, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...i()], te = () => [G, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...i()], c = () => [e, s, n], ue = () => [...F(), Ce, ve, {
|
|
417
417
|
position: [s, n]
|
|
418
418
|
}], be = () => ["no-repeat", {
|
|
419
419
|
repeat: ["", "x", "y", "space", "round"]
|
|
@@ -427,14 +427,14 @@ const oo = (e, r) => {
|
|
|
427
427
|
m,
|
|
428
428
|
s,
|
|
429
429
|
n
|
|
430
|
-
], k = () => ["", p, D, O],
|
|
430
|
+
], k = () => ["", p, D, O], K = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [p, ae, Ce, ve], he = () => [
|
|
431
431
|
// Deprecated since Tailwind CSS v4.0.0
|
|
432
432
|
"",
|
|
433
433
|
"none",
|
|
434
434
|
_,
|
|
435
435
|
s,
|
|
436
436
|
n
|
|
437
|
-
],
|
|
437
|
+
], H = () => ["none", p, s, n], J = () => ["none", p, s, n], ne = () => [p, s, n], Y = () => [G, "full", ...i()];
|
|
438
438
|
return {
|
|
439
439
|
cacheSize: 500,
|
|
440
440
|
theme: {
|
|
@@ -492,7 +492,7 @@ const oo = (e, r) => {
|
|
|
492
492
|
* @see https://tailwindcss.com/docs/columns
|
|
493
493
|
*/
|
|
494
494
|
columns: [{
|
|
495
|
-
columns: [p,
|
|
495
|
+
columns: [p, n, s, u]
|
|
496
496
|
}],
|
|
497
497
|
/**
|
|
498
498
|
* Break After
|
|
@@ -791,14 +791,14 @@ const oo = (e, r) => {
|
|
|
791
791
|
* @see https://tailwindcss.com/docs/grid-column
|
|
792
792
|
*/
|
|
793
793
|
"col-start": [{
|
|
794
|
-
"col-start":
|
|
794
|
+
"col-start": q()
|
|
795
795
|
}],
|
|
796
796
|
/**
|
|
797
797
|
* Grid Column End
|
|
798
798
|
* @see https://tailwindcss.com/docs/grid-column
|
|
799
799
|
*/
|
|
800
800
|
"col-end": [{
|
|
801
|
-
"col-end":
|
|
801
|
+
"col-end": q()
|
|
802
802
|
}],
|
|
803
803
|
/**
|
|
804
804
|
* Grid Template Rows
|
|
@@ -819,14 +819,14 @@ const oo = (e, r) => {
|
|
|
819
819
|
* @see https://tailwindcss.com/docs/grid-row
|
|
820
820
|
*/
|
|
821
821
|
"row-start": [{
|
|
822
|
-
"row-start":
|
|
822
|
+
"row-start": q()
|
|
823
823
|
}],
|
|
824
824
|
/**
|
|
825
825
|
* Grid Row End
|
|
826
826
|
* @see https://tailwindcss.com/docs/grid-row
|
|
827
827
|
*/
|
|
828
828
|
"row-end": [{
|
|
829
|
-
"row-end":
|
|
829
|
+
"row-end": q()
|
|
830
830
|
}],
|
|
831
831
|
/**
|
|
832
832
|
* Grid Auto Flow
|
|
@@ -1128,42 +1128,42 @@ const oo = (e, r) => {
|
|
|
1128
1128
|
}],
|
|
1129
1129
|
/**
|
|
1130
1130
|
* Inline Size
|
|
1131
|
-
* @see https://tailwindcss.com/docs/
|
|
1131
|
+
* @see https://tailwindcss.com/docs/width
|
|
1132
1132
|
*/
|
|
1133
1133
|
"inline-size": [{
|
|
1134
1134
|
inline: ["auto", ...oe()]
|
|
1135
1135
|
}],
|
|
1136
1136
|
/**
|
|
1137
1137
|
* Min-Inline Size
|
|
1138
|
-
* @see https://tailwindcss.com/docs/min-
|
|
1138
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1139
1139
|
*/
|
|
1140
1140
|
"min-inline-size": [{
|
|
1141
1141
|
"min-inline": ["auto", ...oe()]
|
|
1142
1142
|
}],
|
|
1143
1143
|
/**
|
|
1144
1144
|
* Max-Inline Size
|
|
1145
|
-
* @see https://tailwindcss.com/docs/max-
|
|
1145
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1146
1146
|
*/
|
|
1147
1147
|
"max-inline-size": [{
|
|
1148
1148
|
"max-inline": ["none", ...oe()]
|
|
1149
1149
|
}],
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Block Size
|
|
1152
|
-
* @see https://tailwindcss.com/docs/
|
|
1152
|
+
* @see https://tailwindcss.com/docs/height
|
|
1153
1153
|
*/
|
|
1154
1154
|
"block-size": [{
|
|
1155
1155
|
block: ["auto", ...te()]
|
|
1156
1156
|
}],
|
|
1157
1157
|
/**
|
|
1158
1158
|
* Min-Block Size
|
|
1159
|
-
* @see https://tailwindcss.com/docs/min-
|
|
1159
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1160
1160
|
*/
|
|
1161
1161
|
"min-block-size": [{
|
|
1162
1162
|
"min-block": ["auto", ...te()]
|
|
1163
1163
|
}],
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Max-Block Size
|
|
1166
|
-
* @see https://tailwindcss.com/docs/max-
|
|
1166
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1167
1167
|
*/
|
|
1168
1168
|
"max-block-size": [{
|
|
1169
1169
|
"max-block": ["none", ...te()]
|
|
@@ -1225,7 +1225,7 @@ const oo = (e, r) => {
|
|
|
1225
1225
|
* @see https://tailwindcss.com/docs/max-height
|
|
1226
1226
|
*/
|
|
1227
1227
|
"max-h": [{
|
|
1228
|
-
"max-h": ["screen", "lh",
|
|
1228
|
+
"max-h": ["screen", "lh", ...B()]
|
|
1229
1229
|
}],
|
|
1230
1230
|
// ------------------
|
|
1231
1231
|
// --- Typography ---
|
|
@@ -1325,7 +1325,6 @@ const oo = (e, r) => {
|
|
|
1325
1325
|
*/
|
|
1326
1326
|
leading: [{
|
|
1327
1327
|
leading: [
|
|
1328
|
-
"none",
|
|
1329
1328
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1330
1329
|
d,
|
|
1331
1330
|
...i()
|
|
@@ -1384,7 +1383,7 @@ const oo = (e, r) => {
|
|
|
1384
1383
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1385
1384
|
*/
|
|
1386
1385
|
"text-decoration-style": [{
|
|
1387
|
-
decoration: [...
|
|
1386
|
+
decoration: [...K(), "wavy"]
|
|
1388
1387
|
}],
|
|
1389
1388
|
/**
|
|
1390
1389
|
* Text Decoration Thickness
|
|
@@ -1535,7 +1534,7 @@ const oo = (e, r) => {
|
|
|
1535
1534
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1536
1535
|
}, L, s, n],
|
|
1537
1536
|
radial: ["", s, n],
|
|
1538
|
-
conic: [
|
|
1537
|
+
conic: [L, s, n]
|
|
1539
1538
|
}, Wo, jo]
|
|
1540
1539
|
}],
|
|
1541
1540
|
/**
|
|
@@ -1801,14 +1800,14 @@ const oo = (e, r) => {
|
|
|
1801
1800
|
* @see https://tailwindcss.com/docs/border-style
|
|
1802
1801
|
*/
|
|
1803
1802
|
"border-style": [{
|
|
1804
|
-
border: [...
|
|
1803
|
+
border: [...K(), "hidden", "none"]
|
|
1805
1804
|
}],
|
|
1806
1805
|
/**
|
|
1807
1806
|
* Divide Style
|
|
1808
1807
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1809
1808
|
*/
|
|
1810
1809
|
"divide-style": [{
|
|
1811
|
-
divide: [...
|
|
1810
|
+
divide: [...K(), "hidden", "none"]
|
|
1812
1811
|
}],
|
|
1813
1812
|
/**
|
|
1814
1813
|
* Border Color
|
|
@@ -1899,7 +1898,7 @@ const oo = (e, r) => {
|
|
|
1899
1898
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1900
1899
|
*/
|
|
1901
1900
|
"outline-style": [{
|
|
1902
|
-
outline: [...
|
|
1901
|
+
outline: [...K(), "none", "hidden"]
|
|
1903
1902
|
}],
|
|
1904
1903
|
/**
|
|
1905
1904
|
* Outline Offset
|
|
@@ -1933,12 +1932,10 @@ const oo = (e, r) => {
|
|
|
1933
1932
|
shadow: [
|
|
1934
1933
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1935
1934
|
"",
|
|
1936
|
-
// Deprecated since Tailwind CSS v4.0.0
|
|
1937
|
-
"inner",
|
|
1938
1935
|
"none",
|
|
1939
1936
|
f,
|
|
1940
|
-
|
|
1941
|
-
|
|
1937
|
+
X,
|
|
1938
|
+
Z
|
|
1942
1939
|
]
|
|
1943
1940
|
}],
|
|
1944
1941
|
/**
|
|
@@ -1953,7 +1950,7 @@ const oo = (e, r) => {
|
|
|
1953
1950
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1954
1951
|
*/
|
|
1955
1952
|
"inset-shadow": [{
|
|
1956
|
-
"inset-shadow": ["none", w,
|
|
1953
|
+
"inset-shadow": ["none", w, X, Z]
|
|
1957
1954
|
}],
|
|
1958
1955
|
/**
|
|
1959
1956
|
* Inset Box Shadow Color
|
|
@@ -2020,7 +2017,7 @@ const oo = (e, r) => {
|
|
|
2020
2017
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2021
2018
|
*/
|
|
2022
2019
|
"text-shadow": [{
|
|
2023
|
-
"text-shadow": ["none", P,
|
|
2020
|
+
"text-shadow": ["none", P, X, Z]
|
|
2024
2021
|
}],
|
|
2025
2022
|
/**
|
|
2026
2023
|
* Text Shadow Color
|
|
@@ -2293,8 +2290,8 @@ const oo = (e, r) => {
|
|
|
2293
2290
|
"",
|
|
2294
2291
|
"none",
|
|
2295
2292
|
A,
|
|
2296
|
-
|
|
2297
|
-
|
|
2293
|
+
X,
|
|
2294
|
+
Z
|
|
2298
2295
|
]
|
|
2299
2296
|
}],
|
|
2300
2297
|
/**
|
|
@@ -2534,56 +2531,56 @@ const oo = (e, r) => {
|
|
|
2534
2531
|
* @see https://tailwindcss.com/docs/rotate
|
|
2535
2532
|
*/
|
|
2536
2533
|
rotate: [{
|
|
2537
|
-
rotate:
|
|
2534
|
+
rotate: H()
|
|
2538
2535
|
}],
|
|
2539
2536
|
/**
|
|
2540
2537
|
* Rotate X
|
|
2541
2538
|
* @see https://tailwindcss.com/docs/rotate
|
|
2542
2539
|
*/
|
|
2543
2540
|
"rotate-x": [{
|
|
2544
|
-
"rotate-x":
|
|
2541
|
+
"rotate-x": H()
|
|
2545
2542
|
}],
|
|
2546
2543
|
/**
|
|
2547
2544
|
* Rotate Y
|
|
2548
2545
|
* @see https://tailwindcss.com/docs/rotate
|
|
2549
2546
|
*/
|
|
2550
2547
|
"rotate-y": [{
|
|
2551
|
-
"rotate-y":
|
|
2548
|
+
"rotate-y": H()
|
|
2552
2549
|
}],
|
|
2553
2550
|
/**
|
|
2554
2551
|
* Rotate Z
|
|
2555
2552
|
* @see https://tailwindcss.com/docs/rotate
|
|
2556
2553
|
*/
|
|
2557
2554
|
"rotate-z": [{
|
|
2558
|
-
"rotate-z":
|
|
2555
|
+
"rotate-z": H()
|
|
2559
2556
|
}],
|
|
2560
2557
|
/**
|
|
2561
2558
|
* Scale
|
|
2562
2559
|
* @see https://tailwindcss.com/docs/scale
|
|
2563
2560
|
*/
|
|
2564
2561
|
scale: [{
|
|
2565
|
-
scale:
|
|
2562
|
+
scale: J()
|
|
2566
2563
|
}],
|
|
2567
2564
|
/**
|
|
2568
2565
|
* Scale X
|
|
2569
2566
|
* @see https://tailwindcss.com/docs/scale
|
|
2570
2567
|
*/
|
|
2571
2568
|
"scale-x": [{
|
|
2572
|
-
"scale-x":
|
|
2569
|
+
"scale-x": J()
|
|
2573
2570
|
}],
|
|
2574
2571
|
/**
|
|
2575
2572
|
* Scale Y
|
|
2576
2573
|
* @see https://tailwindcss.com/docs/scale
|
|
2577
2574
|
*/
|
|
2578
2575
|
"scale-y": [{
|
|
2579
|
-
"scale-y":
|
|
2576
|
+
"scale-y": J()
|
|
2580
2577
|
}],
|
|
2581
2578
|
/**
|
|
2582
2579
|
* Scale Z
|
|
2583
2580
|
* @see https://tailwindcss.com/docs/scale
|
|
2584
2581
|
*/
|
|
2585
2582
|
"scale-z": [{
|
|
2586
|
-
"scale-z":
|
|
2583
|
+
"scale-z": J()
|
|
2587
2584
|
}],
|
|
2588
2585
|
/**
|
|
2589
2586
|
* Scale 3D
|
|
@@ -2637,28 +2634,28 @@ const oo = (e, r) => {
|
|
|
2637
2634
|
* @see https://tailwindcss.com/docs/translate
|
|
2638
2635
|
*/
|
|
2639
2636
|
translate: [{
|
|
2640
|
-
translate:
|
|
2637
|
+
translate: Y()
|
|
2641
2638
|
}],
|
|
2642
2639
|
/**
|
|
2643
2640
|
* Translate X
|
|
2644
2641
|
* @see https://tailwindcss.com/docs/translate
|
|
2645
2642
|
*/
|
|
2646
2643
|
"translate-x": [{
|
|
2647
|
-
"translate-x":
|
|
2644
|
+
"translate-x": Y()
|
|
2648
2645
|
}],
|
|
2649
2646
|
/**
|
|
2650
2647
|
* Translate Y
|
|
2651
2648
|
* @see https://tailwindcss.com/docs/translate
|
|
2652
2649
|
*/
|
|
2653
2650
|
"translate-y": [{
|
|
2654
|
-
"translate-y":
|
|
2651
|
+
"translate-y": Y()
|
|
2655
2652
|
}],
|
|
2656
2653
|
/**
|
|
2657
2654
|
* Translate Z
|
|
2658
2655
|
* @see https://tailwindcss.com/docs/translate
|
|
2659
2656
|
*/
|
|
2660
2657
|
"translate-z": [{
|
|
2661
|
-
"translate-z":
|
|
2658
|
+
"translate-z": Y()
|
|
2662
2659
|
}],
|
|
2663
2660
|
/**
|
|
2664
2661
|
* Translate None
|
|
@@ -3028,16 +3025,16 @@ const oo = (e, r) => {
|
|
|
3028
3025
|
overflow: ["overflow-x", "overflow-y"],
|
|
3029
3026
|
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3030
3027
|
inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
|
|
3031
|
-
"inset-x": ["
|
|
3032
|
-
"inset-y": ["
|
|
3028
|
+
"inset-x": ["right", "left"],
|
|
3029
|
+
"inset-y": ["top", "bottom"],
|
|
3033
3030
|
flex: ["basis", "grow", "shrink"],
|
|
3034
3031
|
gap: ["gap-x", "gap-y"],
|
|
3035
3032
|
p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
|
|
3036
|
-
px: ["
|
|
3037
|
-
py: ["
|
|
3033
|
+
px: ["pr", "pl"],
|
|
3034
|
+
py: ["pt", "pb"],
|
|
3038
3035
|
m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
|
|
3039
|
-
mx: ["
|
|
3040
|
-
my: ["
|
|
3036
|
+
mx: ["mr", "ml"],
|
|
3037
|
+
my: ["mt", "mb"],
|
|
3041
3038
|
size: ["w", "h"],
|
|
3042
3039
|
"font-size": ["leading"],
|
|
3043
3040
|
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
@@ -3056,19 +3053,19 @@ const oo = (e, r) => {
|
|
|
3056
3053
|
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3057
3054
|
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3058
3055
|
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3059
|
-
"border-w-x": ["border-w-
|
|
3060
|
-
"border-w-y": ["border-w-
|
|
3056
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
3057
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
3061
3058
|
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3062
|
-
"border-color-x": ["border-color-
|
|
3063
|
-
"border-color-y": ["border-color-
|
|
3059
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
3060
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
3064
3061
|
translate: ["translate-x", "translate-y", "translate-none"],
|
|
3065
3062
|
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
3066
3063
|
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3067
|
-
"scroll-mx": ["scroll-
|
|
3068
|
-
"scroll-my": ["scroll-
|
|
3064
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3065
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3069
3066
|
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3070
|
-
"scroll-px": ["scroll-
|
|
3071
|
-
"scroll-py": ["scroll-
|
|
3067
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3068
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3072
3069
|
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
3073
3070
|
"touch-x": ["touch"],
|
|
3074
3071
|
"touch-y": ["touch"],
|
|
@@ -3080,9 +3077,9 @@ const oo = (e, r) => {
|
|
|
3080
3077
|
postfixLookupClassGroups: ["container-type"],
|
|
3081
3078
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3082
3079
|
};
|
|
3083
|
-
},
|
|
3084
|
-
function
|
|
3085
|
-
return
|
|
3080
|
+
}, qo = /* @__PURE__ */ Co(Do);
|
|
3081
|
+
function Yo(...e) {
|
|
3082
|
+
return qo(eo(e));
|
|
3086
3083
|
}
|
|
3087
3084
|
const je = {
|
|
3088
3085
|
"+1": {
|
|
@@ -3161,7 +3158,7 @@ const je = {
|
|
|
3161
3158
|
pattern: /^\d{6,15}$/,
|
|
3162
3159
|
maxLength: 15,
|
|
3163
3160
|
description: "6-15 digits"
|
|
3164
|
-
},
|
|
3161
|
+
}, Zo = (e, r) => {
|
|
3165
3162
|
if (!e)
|
|
3166
3163
|
return { isValid: !0, error: "" };
|
|
3167
3164
|
const t = je[r] || Fe;
|
|
@@ -3169,7 +3166,7 @@ const je = {
|
|
|
3169
3166
|
isValid: !1,
|
|
3170
3167
|
error: `Please enter a valid phone number (${t.description})`
|
|
3171
3168
|
};
|
|
3172
|
-
},
|
|
3169
|
+
}, Xo = (e) => (je[e] || Fe).maxLength, Qo = [
|
|
3173
3170
|
{ name: "United States", code: "+1", iso: "US" },
|
|
3174
3171
|
{ name: "United Kingdom", code: "+44", iso: "GB" },
|
|
3175
3172
|
{ name: "Australia", code: "+61", iso: "AU" },
|
|
@@ -3240,12 +3237,12 @@ function ot(e, r) {
|
|
|
3240
3237
|
return { I18nProvider: o, useI18n: a };
|
|
3241
3238
|
}
|
|
3242
3239
|
export {
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
|
|
3240
|
+
Jo as BottomSheet,
|
|
3241
|
+
Qo as DEFAULT_COUNTRIES,
|
|
3242
|
+
Yo as cn,
|
|
3246
3243
|
ot as createI18n,
|
|
3247
3244
|
et as getFlagEmoji,
|
|
3248
|
-
|
|
3249
|
-
|
|
3245
|
+
Xo as getMaxLengthForCountry,
|
|
3246
|
+
Zo as validatePhoneByCountryCode
|
|
3250
3247
|
};
|
|
3251
3248
|
//# sourceMappingURL=common.js.map
|