@vespiario-thailand/design-system 1.3.13 → 1.3.14
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.
|
@@ -23030,9 +23030,9 @@ const i5 = (r) => {
|
|
|
23030
23030
|
onlyIcon: z = !1,
|
|
23031
23031
|
...R
|
|
23032
23032
|
} = r, P = (le, K) => le + K, V = {
|
|
23033
|
-
small: z ? "min-h-
|
|
23034
|
-
medium: z ? "min-h-
|
|
23035
|
-
large: z ? "min-h-
|
|
23033
|
+
small: z ? "min-h-[32px]" : "min-h-[32px] font-normal font-vespa-thai-italic italic text-body-small",
|
|
23034
|
+
medium: z ? "min-h-[32px]" : "min-h-[40px] font-normal font-vespa-thai-italic italic text-body",
|
|
23035
|
+
large: z ? "min-h-[32px]" : "min-h-[40px] font-bold not-italic text-body"
|
|
23036
23036
|
}, B = {
|
|
23037
23037
|
primary: M && N ? `bg-${p}-${g} text-${M}-${N}` : `bg-${p}-${g} text-light-100`,
|
|
23038
23038
|
secondary: `bg-light-100 text-${p}-${g}`,
|
|
@@ -23476,7 +23476,7 @@ const _h = ee(
|
|
|
23476
23476
|
"div",
|
|
23477
23477
|
{
|
|
23478
23478
|
ref: i,
|
|
23479
|
-
className: Ie("flex h-full min-h-
|
|
23479
|
+
className: Ie("flex h-full min-h-[40px] w-full flex-col items-center justify-center", u),
|
|
23480
23480
|
...d,
|
|
23481
23481
|
children: [
|
|
23482
23482
|
/* @__PURE__ */ _(en, { icon: "icon-cloud-download", color: "green", shade: 500, size: "24" }),
|
|
@@ -23497,7 +23497,7 @@ const $h = ee((r, i) => {
|
|
|
23497
23497
|
...p,
|
|
23498
23498
|
children: [
|
|
23499
23499
|
/* @__PURE__ */ _(en, { icon: "icon-cloud-upload", color: "light", shade: 500, size: "24" }),
|
|
23500
|
-
d || /* @__PURE__ */ mt("div", { className: "flex min-h-
|
|
23500
|
+
d || /* @__PURE__ */ mt("div", { className: "flex min-h-[40px] flex-col items-center", children: [
|
|
23501
23501
|
/* @__PURE__ */ mt("span", { className: "mt-16 font-bold", children: [
|
|
23502
23502
|
/* @__PURE__ */ _("span", { className: "text-light-800", children: "Drag & drop an image, or" }),
|
|
23503
23503
|
/* @__PURE__ */ _("span", { className: "text-light-500", children: " Browse" })
|
|
@@ -23635,7 +23635,7 @@ const KE = ee((r, i) => {
|
|
|
23635
23635
|
return /* @__PURE__ */ mt("div", { ...M, ref: i, className: Ie("", o), children: [
|
|
23636
23636
|
/* @__PURE__ */ _(CC, { className: "min-h-[290px]", isError: u, onUpload: w, children: /* @__PURE__ */ _(CC.Inactive, { size: "600x600", ratio: "1:1", onError: N }) }),
|
|
23637
23637
|
u && /* @__PURE__ */ _("p", { className: "mt-12 text-caption text-yellow-600", children: "This media file doesn‘t exist, please upload file again" }),
|
|
23638
|
-
/* @__PURE__ */ mt("div", { className: "mt-12 flex min-h-
|
|
23638
|
+
/* @__PURE__ */ mt("div", { className: "mt-12 flex min-h-[40px] items-center", children: [
|
|
23639
23639
|
/* @__PURE__ */ _("div", { className: "flex-1", children: /* @__PURE__ */ _("p", { className: "pt-4 text-body-small text-light-600", children: "Preview:" }) }),
|
|
23640
23640
|
/* @__PURE__ */ _("div", { className: "flex-initial", children: /* @__PURE__ */ _("div", { className: "h-36 w-36 overflow-hidden rounded-full", children: d !== "" ? /* @__PURE__ */ _("img", { src: d, alt: v }) : /* @__PURE__ */ _(q0, { className: "h-full w-full", imageNotFound: u }) }) })
|
|
23641
23641
|
] })
|
|
@@ -23664,7 +23664,7 @@ const XE = ee(
|
|
|
23664
23664
|
ref: i,
|
|
23665
23665
|
type: "button",
|
|
23666
23666
|
...o,
|
|
23667
|
-
className: "flex min-h-
|
|
23667
|
+
className: "flex min-h-[40px] w-full items-center justify-center rounded py-6 px-34 font-vespa-thai-italic text-blue-500 disabled:cursor-not-allowed disabled:text-blue-700 [&:not(:disabled)]:hover:bg-light-200 [&:not(:disabled)]:active:bg-light-300",
|
|
23668
23668
|
children: /* @__PURE__ */ _("span", { className: "flex-1 pt-4", children: "DISCARD" })
|
|
23669
23669
|
}
|
|
23670
23670
|
);
|
|
@@ -23679,7 +23679,7 @@ const ZE = ee((r, i) => {
|
|
|
23679
23679
|
ref: i,
|
|
23680
23680
|
type: "button",
|
|
23681
23681
|
...o,
|
|
23682
|
-
className: "flex min-h-
|
|
23682
|
+
className: "flex min-h-[40px] w-full items-center justify-center rounded bg-blue-500 py-6 px-34 font-vespa-thai-italic text-light-100 disabled:cursor-not-allowed disabled:text-blue-700 [&:not(:disabled)]:hover:bg-blue-600 [&:not(:disabled)]:active:bg-blue-700",
|
|
23683
23683
|
children: /* @__PURE__ */ _("span", { className: "flex-1 pt-4", children: "APPLY" })
|
|
23684
23684
|
}
|
|
23685
23685
|
);
|
|
@@ -25835,7 +25835,7 @@ const s_ = () => {
|
|
|
25835
25835
|
/* @__PURE__ */ mt("div", { className: "mt-12 flex items-center", children: [
|
|
25836
25836
|
/* @__PURE__ */ _("div", { className: "flex-1", children: /* @__PURE__ */ _("p", { className: "pt-4 text-body-small text-light-600", children: "HEX:" }) }),
|
|
25837
25837
|
/* @__PURE__ */ mt("div", { className: "flex flex-initial items-center gap-4", children: [
|
|
25838
|
-
/* @__PURE__ */ mt("div", { className: "flex min-h-
|
|
25838
|
+
/* @__PURE__ */ mt("div", { className: "flex min-h-[40px] max-w-[150px] items-center gap-8 border border-light-200 py-4 px-12 focus-within:border-blue-500", children: [
|
|
25839
25839
|
/* @__PURE__ */ _(
|
|
25840
25840
|
"span",
|
|
25841
25841
|
{
|
|
@@ -30308,7 +30308,7 @@ const c4 = ee((r, i) => {
|
|
|
30308
30308
|
"button",
|
|
30309
30309
|
{
|
|
30310
30310
|
ref: O.setReference,
|
|
30311
|
-
className: "flex items-center w-fit min-w-[
|
|
30311
|
+
className: "flex items-center w-fit min-w-[94px] outline-none",
|
|
30312
30312
|
...V({
|
|
30313
30313
|
onClick() {
|
|
30314
30314
|
x(!0), N(!M);
|
|
@@ -30607,7 +30607,7 @@ const f4 = ee((r, i) => {
|
|
|
30607
30607
|
)
|
|
30608
30608
|
}
|
|
30609
30609
|
) });
|
|
30610
|
-
return /* @__PURE__ */ mt("div", { ref: i, className: Ie("min-w-288px]", g), ...M, children: [
|
|
30610
|
+
return /* @__PURE__ */ mt("div", { ref: i, className: Ie("min-w-[288px]", g), ...M, children: [
|
|
30611
30611
|
/* @__PURE__ */ mt("div", { className: "flex gap-8 items-center", ref: z.setPositionReference, children: [
|
|
30612
30612
|
/* @__PURE__ */ _(
|
|
30613
30613
|
F0,
|
|
@@ -30970,7 +30970,7 @@ const y4 = ee(
|
|
|
30970
30970
|
ref: i,
|
|
30971
30971
|
size: v,
|
|
30972
30972
|
className: Oa(
|
|
30973
|
-
"h-40 min-w-
|
|
30973
|
+
"h-40 min-w-[40px] border border-light-300 bg-light-100 px-8 pt-3 text-center text-light-800 outline-none",
|
|
30974
30974
|
"placeholder:text-light-300",
|
|
30975
30975
|
"focus:border-blue-500",
|
|
30976
30976
|
"disabled:cursor-not-allowed disabled:bg-light-200",
|
|
@@ -31035,7 +31035,7 @@ const J6 = ee((r, i) => {
|
|
|
31035
31035
|
...g,
|
|
31036
31036
|
ref: i,
|
|
31037
31037
|
className: Ie(
|
|
31038
|
-
d ? "min-h-
|
|
31038
|
+
d ? "min-h-[60px]" : "min-h-[48px]",
|
|
31039
31039
|
"flex cursor-pointer items-center px-8 py-12 hover:bg-shade-dark-100 active:bg-shade-dark-200",
|
|
31040
31040
|
p
|
|
31041
31041
|
),
|
|
@@ -31061,7 +31061,7 @@ const eF = ee((r, i) => {
|
|
|
31061
31061
|
...g,
|
|
31062
31062
|
ref: i,
|
|
31063
31063
|
className: Ie(
|
|
31064
|
-
"flex min-h-
|
|
31064
|
+
"flex min-h-[60px] cursor-pointer items-center px-12 py-8 hover:bg-shade-dark-100 active:bg-shade-dark-200",
|
|
31065
31065
|
p
|
|
31066
31066
|
),
|
|
31067
31067
|
children: [
|
|
@@ -35130,9 +35130,9 @@ const zD = fr({}), sI = ee((r, i) => {
|
|
|
35130
35130
|
sI.displayName = "TextFieldSlug";
|
|
35131
35131
|
const cI = ee((r, i) => {
|
|
35132
35132
|
const { isBorder: o = !1, children: u, className: d, shadow: v = "none", size: p = "medium", ...g } = r, M = {
|
|
35133
|
-
small: "min-h-
|
|
35134
|
-
medium: "min-h-
|
|
35135
|
-
large: "min-h-
|
|
35133
|
+
small: "min-h-[36px] text-caption",
|
|
35134
|
+
medium: "min-h-[40px] text-body-small",
|
|
35135
|
+
large: "min-h-[44px] text-body"
|
|
35136
35136
|
}, N = {
|
|
35137
35137
|
none: "",
|
|
35138
35138
|
100: "shadow-100",
|