@starasia/date 3.1.0 → 3.1.1
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/date.es.js +58 -58
- package/dist/date.umd.js +3 -3
- package/package.json +1 -1
package/dist/date.es.js
CHANGED
|
@@ -202,19 +202,19 @@ const B = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wg
|
|
|
202
202
|
|
|
203
203
|
.sa-calendar-input-container.sm {
|
|
204
204
|
height: var(--sa-h-8, 32px);
|
|
205
|
-
border-radius: var(--sa-
|
|
205
|
+
border-radius: var(--sa-radii-sm, 6px);
|
|
206
206
|
font-size: var(--sa-font-size-sm, 12px);
|
|
207
207
|
padding-inline: var(--sa-spacing-3, 12px);
|
|
208
208
|
}
|
|
209
209
|
.sa-calendar-input-container.md {
|
|
210
210
|
height: var(--sa-h-10, 40px);
|
|
211
|
-
border-radius: var(--sa-
|
|
211
|
+
border-radius: var(--sa-radii-sm, 6px);
|
|
212
212
|
font-size: var(--sa-font-size-md, 14px);
|
|
213
213
|
padding-inline: var(--sa-spacing-3, 12px);
|
|
214
214
|
}
|
|
215
215
|
.sa-calendar-input-container.lg {
|
|
216
216
|
height: var(--sa-h-12, 48px);
|
|
217
|
-
border-radius: var(--sa-
|
|
217
|
+
border-radius: var(--sa-radii-sm, 6px);
|
|
218
218
|
font-size: var(--sa-font-size-md, 14px);
|
|
219
219
|
padding-inline: var(--sa-spacing-3, 12px);
|
|
220
220
|
}
|
|
@@ -338,7 +338,7 @@ const T = (r) => {
|
|
|
338
338
|
...g
|
|
339
339
|
} = r, f = S(null), u = () => {
|
|
340
340
|
f.current && g.onClick && (f.current.focus(), g.onClick(""));
|
|
341
|
-
}, n = s === "disable" || g.disabled, x = !!g.value, b = c && x && !n,
|
|
341
|
+
}, n = s === "disable" || g.disabled, x = !!g.value, b = c && x && !n, v = (k) => {
|
|
342
342
|
k.stopPropagation(), p == null || p();
|
|
343
343
|
};
|
|
344
344
|
return /* @__PURE__ */ $(
|
|
@@ -383,7 +383,7 @@ const T = (r) => {
|
|
|
383
383
|
type: "button",
|
|
384
384
|
"aria-label": "Clear date",
|
|
385
385
|
className: "sa-calendar-input-clear",
|
|
386
|
-
onClick:
|
|
386
|
+
onClick: v,
|
|
387
387
|
children: /* @__PURE__ */ t(
|
|
388
388
|
"svg",
|
|
389
389
|
{
|
|
@@ -445,7 +445,7 @@ const T = (r) => {
|
|
|
445
445
|
i === 0 && n === 0 ? u.setDate(u.getDate() - 7) : i === 0 ? u.setDate(
|
|
446
446
|
u.getDate() + (i - n)
|
|
447
447
|
) : u.setDate(u.getDate() + 1);
|
|
448
|
-
let
|
|
448
|
+
let m = {
|
|
449
449
|
currentMonth: u.getMonth() === b,
|
|
450
450
|
date: new Date(u),
|
|
451
451
|
month: u.getMonth(),
|
|
@@ -454,24 +454,24 @@ const T = (r) => {
|
|
|
454
454
|
year: u.getFullYear(),
|
|
455
455
|
isDisabled: p && u < p || g && u > g
|
|
456
456
|
};
|
|
457
|
-
x.push(
|
|
457
|
+
x.push(m);
|
|
458
458
|
}
|
|
459
|
-
const
|
|
459
|
+
const v = (i) => {
|
|
460
460
|
e(i);
|
|
461
461
|
}, k = (i) => {
|
|
462
462
|
var d;
|
|
463
|
-
let
|
|
464
|
-
if (
|
|
465
|
-
|
|
463
|
+
let m = { ...s };
|
|
464
|
+
if (m.from && m.to)
|
|
465
|
+
m = { from: i, to: null };
|
|
466
466
|
else {
|
|
467
|
-
const h = ((d =
|
|
468
|
-
i.getTime() > h ?
|
|
467
|
+
const h = ((d = m.from) == null ? void 0 : d.getTime()) || 0;
|
|
468
|
+
i.getTime() > h ? m = { from: m.from, to: i } : m = { from: i, to: m.from };
|
|
469
469
|
}
|
|
470
|
-
o(
|
|
470
|
+
o(m), c(m);
|
|
471
471
|
};
|
|
472
472
|
return /* @__PURE__ */ $("div", { className: "sa-calendar-days-preivew", children: [
|
|
473
|
-
/* @__PURE__ */ t("div", { className: "sa-calendar-days-name-preivew", children: J.map((i,
|
|
474
|
-
/* @__PURE__ */ t("div", { className: "sa-calendar-days-number-preivew", children: x.map((i,
|
|
473
|
+
/* @__PURE__ */ t("div", { className: "sa-calendar-days-name-preivew", children: J.map((i, m) => /* @__PURE__ */ t("p", { children: i }, m)) }),
|
|
474
|
+
/* @__PURE__ */ t("div", { className: "sa-calendar-days-number-preivew", children: x.map((i, m) => {
|
|
475
475
|
var M;
|
|
476
476
|
const d = i.date.getTime() > s.from.getTime() && i.date.getTime() < (((M = s.to) == null ? void 0 : M.getTime()) || s.from.getTime()), h = i.isDisabled;
|
|
477
477
|
return /* @__PURE__ */ t(
|
|
@@ -486,11 +486,11 @@ const T = (r) => {
|
|
|
486
486
|
...f ? {} : { width: "100%" }
|
|
487
487
|
},
|
|
488
488
|
onClick: () => {
|
|
489
|
-
h || (
|
|
489
|
+
h || (v(i.date), k(i.date));
|
|
490
490
|
},
|
|
491
491
|
children: i.number
|
|
492
492
|
},
|
|
493
|
-
|
|
493
|
+
m
|
|
494
494
|
);
|
|
495
495
|
}) })
|
|
496
496
|
] });
|
|
@@ -506,7 +506,7 @@ const T = (r) => {
|
|
|
506
506
|
maxDate: u,
|
|
507
507
|
input: n
|
|
508
508
|
}) => {
|
|
509
|
-
const x = c.from.getFullYear(), b = r.getFullYear(),
|
|
509
|
+
const x = c.from.getFullYear(), b = r.getFullYear(), v = (y) => {
|
|
510
510
|
s ? (k(y), e(y)) : (o("days"), e(y));
|
|
511
511
|
}, k = (y) => {
|
|
512
512
|
var l;
|
|
@@ -520,8 +520,8 @@ const T = (r) => {
|
|
|
520
520
|
p(a), g(a);
|
|
521
521
|
};
|
|
522
522
|
return /* @__PURE__ */ t("div", { className: "sa-calendar-months-preview", children: L.map((y, a) => {
|
|
523
|
-
var
|
|
524
|
-
const l = new Date(b, a).getTime() > c.from.getTime() && new Date(b, a).getTime() < (((
|
|
523
|
+
var m, d, h;
|
|
524
|
+
const l = new Date(b, a).getTime() > c.from.getTime() && new Date(b, a).getTime() < (((m = c.to) == null ? void 0 : m.getTime()) || c.from.getTime()), i = f && new Date(b, a) < f || u && new Date(b, a) > u;
|
|
525
525
|
return /* @__PURE__ */ t(
|
|
526
526
|
"p",
|
|
527
527
|
{
|
|
@@ -534,7 +534,7 @@ const T = (r) => {
|
|
|
534
534
|
...n ? {} : { width: "100%" }
|
|
535
535
|
},
|
|
536
536
|
onClick: () => {
|
|
537
|
-
i ||
|
|
537
|
+
i || v(new Date(b, a));
|
|
538
538
|
},
|
|
539
539
|
children: y.slice(0, 3)
|
|
540
540
|
},
|
|
@@ -556,10 +556,10 @@ const T = (r) => {
|
|
|
556
556
|
maxDate: u,
|
|
557
557
|
input: n
|
|
558
558
|
}) => {
|
|
559
|
-
var
|
|
559
|
+
var m;
|
|
560
560
|
let x = [];
|
|
561
|
-
const b = r.getFullYear(), { start:
|
|
562
|
-
for (let d =
|
|
561
|
+
const b = r.getFullYear(), { start: v, end: k } = V(b), y = c.from.getFullYear(), a = (m = c.to) == null ? void 0 : m.getFullYear();
|
|
562
|
+
for (let d = v; d < k; d++) {
|
|
563
563
|
const h = new Date(d, 0), M = (!f || h >= f) && (!u || h <= u), F = d === y || d === a, C = h > c.from && h < c.to;
|
|
564
564
|
x.push({
|
|
565
565
|
year: d,
|
|
@@ -712,7 +712,7 @@ const ae = W(
|
|
|
712
712
|
status: n,
|
|
713
713
|
clearable: x
|
|
714
714
|
}, b) => {
|
|
715
|
-
const { ref:
|
|
715
|
+
const { ref: v, isComponentVisible: k, setIsComponentVisible: y } = P(!1), a = S(null), [l, i] = N("days"), [m, d] = N(/* @__PURE__ */ new Date()), [h, M] = N({
|
|
716
716
|
from: (r == null ? void 0 : r.from) || /* @__PURE__ */ new Date(),
|
|
717
717
|
to: (r == null ? void 0 : r.to) || /* @__PURE__ */ new Date()
|
|
718
718
|
});
|
|
@@ -742,14 +742,14 @@ const ae = W(
|
|
|
742
742
|
} else
|
|
743
743
|
return `${I(h.from)} ~ ${I(h.to || h.from) || "-"}`;
|
|
744
744
|
}, C = () => {
|
|
745
|
-
if (a.current &&
|
|
746
|
-
const w =
|
|
745
|
+
if (a.current && v.current && o) {
|
|
746
|
+
const w = v.current.getBoundingClientRect(), Y = a.current.getBoundingClientRect();
|
|
747
747
|
window.innerWidth < w.left + Y.width ? a.current.style.left = `${w.left - Y.width + w.width}px` : a.current.style.left = `${w.left}px`, w.top + Y.height > window.innerHeight ? a.current.style.top = `${w.y - (w.height + Y.height - 28)}px` : a.current.style.top = `${w.y + w.height}px`;
|
|
748
748
|
}
|
|
749
749
|
};
|
|
750
750
|
return D(() => {
|
|
751
|
-
a.current &&
|
|
752
|
-
}, [a,
|
|
751
|
+
a.current && v.current && o && C();
|
|
752
|
+
}, [a, v, k]), D(() => {
|
|
753
753
|
const w = b == null ? void 0 : b.current;
|
|
754
754
|
return w && w.addEventListener("scroll", C), window.addEventListener("scroll", C), () => {
|
|
755
755
|
w && w.removeEventListener("scroll", C), window.removeEventListener("scroll", C);
|
|
@@ -759,7 +759,7 @@ const ae = W(
|
|
|
759
759
|
{
|
|
760
760
|
className: "sa-calendar-wrapper",
|
|
761
761
|
style: { height: o ? "auto" : "100%" },
|
|
762
|
-
ref: o ?
|
|
762
|
+
ref: o ? v : null,
|
|
763
763
|
children: [
|
|
764
764
|
o ? /* @__PURE__ */ t(
|
|
765
765
|
Q,
|
|
@@ -791,14 +791,14 @@ const ae = W(
|
|
|
791
791
|
setViews: i,
|
|
792
792
|
views: l,
|
|
793
793
|
filter: s,
|
|
794
|
-
date:
|
|
794
|
+
date: m,
|
|
795
795
|
setDate: d
|
|
796
796
|
}
|
|
797
797
|
),
|
|
798
798
|
/* @__PURE__ */ t("div", { className: "sa-calendar-body", children: l === "days" ? /* @__PURE__ */ t(
|
|
799
799
|
X,
|
|
800
800
|
{
|
|
801
|
-
date:
|
|
801
|
+
date: m,
|
|
802
802
|
setDate: d,
|
|
803
803
|
setIsComponentVisible: y,
|
|
804
804
|
dateRange: h,
|
|
@@ -811,7 +811,7 @@ const ae = W(
|
|
|
811
811
|
) : l === "months" ? /* @__PURE__ */ t(
|
|
812
812
|
Z,
|
|
813
813
|
{
|
|
814
|
-
date:
|
|
814
|
+
date: m,
|
|
815
815
|
setDate: d,
|
|
816
816
|
filter: s,
|
|
817
817
|
setViews: i,
|
|
@@ -826,7 +826,7 @@ const ae = W(
|
|
|
826
826
|
) : /* @__PURE__ */ t(
|
|
827
827
|
_,
|
|
828
828
|
{
|
|
829
|
-
date:
|
|
829
|
+
date: m,
|
|
830
830
|
setDate: d,
|
|
831
831
|
filter: s,
|
|
832
832
|
setViews: i,
|
|
@@ -870,7 +870,7 @@ const E = (r) => {
|
|
|
870
870
|
...g
|
|
871
871
|
} = r, f = S(null), u = () => {
|
|
872
872
|
f.current && g.onClick && (f.current.focus(), g.onClick(""));
|
|
873
|
-
}, n = s === "disable" || g.disabled, x = !!g.value, b = c && x && !n,
|
|
873
|
+
}, n = s === "disable" || g.disabled, x = !!g.value, b = c && x && !n, v = (k) => {
|
|
874
874
|
k.stopPropagation(), p == null || p();
|
|
875
875
|
};
|
|
876
876
|
return /* @__PURE__ */ $(
|
|
@@ -915,7 +915,7 @@ const E = (r) => {
|
|
|
915
915
|
type: "button",
|
|
916
916
|
"aria-label": "Clear date",
|
|
917
917
|
className: "sa-calendar-input-clear",
|
|
918
|
-
onClick:
|
|
918
|
+
onClick: v,
|
|
919
919
|
children: /* @__PURE__ */ t(
|
|
920
920
|
"svg",
|
|
921
921
|
{
|
|
@@ -976,7 +976,7 @@ const E = (r) => {
|
|
|
976
976
|
s.getMonth(),
|
|
977
977
|
1
|
|
978
978
|
), x = n.getDay(), b = [];
|
|
979
|
-
const
|
|
979
|
+
const v = r.toDateString(), k = s.getMonth();
|
|
980
980
|
for (let a = 0; a < 42; a++) {
|
|
981
981
|
a === 0 && x === 0 ? n.setDate(n.getDate() - 7) : a === 0 ? n.setDate(
|
|
982
982
|
n.getDate() + (a - x)
|
|
@@ -986,7 +986,7 @@ const E = (r) => {
|
|
|
986
986
|
date: new Date(n),
|
|
987
987
|
month: n.getMonth(),
|
|
988
988
|
number: n.getDate(),
|
|
989
|
-
selected: n.toDateString() ===
|
|
989
|
+
selected: n.toDateString() === v,
|
|
990
990
|
year: n.getFullYear(),
|
|
991
991
|
isDisabled: p && n < p || g && n > g
|
|
992
992
|
};
|
|
@@ -1030,15 +1030,15 @@ const E = (r) => {
|
|
|
1030
1030
|
maxDate: u,
|
|
1031
1031
|
input: n
|
|
1032
1032
|
}) => {
|
|
1033
|
-
const x = r.getMonth(), b = r.getFullYear(),
|
|
1033
|
+
const x = r.getMonth(), b = r.getFullYear(), v = p.getFullYear(), k = (y) => {
|
|
1034
1034
|
(!f || y >= f) && (!u || y <= u) && (s ? (c(y), e(y), g(y)) : (o("days"), g(y)));
|
|
1035
1035
|
};
|
|
1036
1036
|
return /* @__PURE__ */ t("div", { className: "sa-calendar-months-preview", children: L.map((y, a) => {
|
|
1037
|
-
const l = f && new Date(
|
|
1037
|
+
const l = f && new Date(v, a, 1) < f || u && new Date(v, a + 1, 0) > u;
|
|
1038
1038
|
return /* @__PURE__ */ t(
|
|
1039
1039
|
"p",
|
|
1040
1040
|
{
|
|
1041
|
-
className: a === x &&
|
|
1041
|
+
className: a === x && v === b ? "sa-calendar-months-active" : "",
|
|
1042
1042
|
style: {
|
|
1043
1043
|
color: l ? "#ccc" : void 0,
|
|
1044
1044
|
pointerEvents: l ? "none" : void 0,
|
|
@@ -1046,7 +1046,7 @@ const E = (r) => {
|
|
|
1046
1046
|
...n ? {} : { width: "100%" }
|
|
1047
1047
|
},
|
|
1048
1048
|
onClick: () => {
|
|
1049
|
-
l || k(new Date(
|
|
1049
|
+
l || k(new Date(v, a));
|
|
1050
1050
|
},
|
|
1051
1051
|
children: y.slice(0, 3)
|
|
1052
1052
|
},
|
|
@@ -1069,8 +1069,8 @@ const E = (r) => {
|
|
|
1069
1069
|
input: n
|
|
1070
1070
|
}) => {
|
|
1071
1071
|
let x = [];
|
|
1072
|
-
const b = p.getFullYear(), { start:
|
|
1073
|
-
for (let l =
|
|
1072
|
+
const b = p.getFullYear(), { start: v, end: k } = j(b), y = r.getFullYear();
|
|
1073
|
+
for (let l = v; l < k; l++) {
|
|
1074
1074
|
let i = f && new Date(l, 0, 1) < f || u && new Date(l, 11, 31) > u;
|
|
1075
1075
|
x.push({ year: l, active: l === y, isDisabled: i });
|
|
1076
1076
|
}
|
|
@@ -1166,7 +1166,7 @@ const ce = W(
|
|
|
1166
1166
|
status: n,
|
|
1167
1167
|
clearable: x
|
|
1168
1168
|
}, b) => {
|
|
1169
|
-
const { ref:
|
|
1169
|
+
const { ref: v, isComponentVisible: k, setIsComponentVisible: y } = P(!1), a = S(null), [l, i] = N("days"), [m, d] = N(/* @__PURE__ */ new Date()), [h, M] = N(/* @__PURE__ */ new Date());
|
|
1170
1170
|
D(() => {
|
|
1171
1171
|
r ? (d(r), M(r)) : (d(/* @__PURE__ */ new Date()), M(/* @__PURE__ */ new Date()));
|
|
1172
1172
|
}, [r]), D(() => {
|
|
@@ -1176,15 +1176,15 @@ const ce = W(
|
|
|
1176
1176
|
}, [k]), D(() => {
|
|
1177
1177
|
o || y(!0);
|
|
1178
1178
|
}, [o]);
|
|
1179
|
-
const F = () => r ? s === "days" ? I(
|
|
1180
|
-
if (a.current &&
|
|
1181
|
-
const w =
|
|
1179
|
+
const F = () => r ? s === "days" ? I(m) : s === "months" ? `${L[m.getMonth()]} ${m.getFullYear()}` : s === "years" ? m.getFullYear() : I(m) : "", C = () => {
|
|
1180
|
+
if (a.current && v.current && o) {
|
|
1181
|
+
const w = v.current.getBoundingClientRect(), Y = a.current.getBoundingClientRect();
|
|
1182
1182
|
window.innerWidth < w.left + Y.width ? a.current.style.left = `${w.left - Y.width + w.width}px` : a.current.style.left = `${w.left}px`, w.top + Y.height > window.innerHeight ? a.current.style.top = `${w.y - (w.height + Y.height - 28)}px` : a.current.style.top = `${w.y + w.height}px`;
|
|
1183
1183
|
}
|
|
1184
1184
|
};
|
|
1185
1185
|
return D(() => {
|
|
1186
|
-
a.current &&
|
|
1187
|
-
}, [a,
|
|
1186
|
+
a.current && v.current && o && C();
|
|
1187
|
+
}, [a, v, k]), D(() => {
|
|
1188
1188
|
const w = b == null ? void 0 : b.current;
|
|
1189
1189
|
return w && w.addEventListener("scroll", C), window.addEventListener("scroll", C), () => {
|
|
1190
1190
|
w && w.removeEventListener("scroll", C), window.removeEventListener("scroll", C);
|
|
@@ -1194,7 +1194,7 @@ const ce = W(
|
|
|
1194
1194
|
{
|
|
1195
1195
|
className: "sa-calendar-wrapper",
|
|
1196
1196
|
style: { height: o ? "auto" : "100%" },
|
|
1197
|
-
ref: o ?
|
|
1197
|
+
ref: o ? v : null,
|
|
1198
1198
|
children: [
|
|
1199
1199
|
o ? /* @__PURE__ */ t(
|
|
1200
1200
|
te,
|
|
@@ -1232,7 +1232,7 @@ const ce = W(
|
|
|
1232
1232
|
/* @__PURE__ */ t("div", { className: "sa-calendar-body", children: l === "days" ? /* @__PURE__ */ t(
|
|
1233
1233
|
se,
|
|
1234
1234
|
{
|
|
1235
|
-
date:
|
|
1235
|
+
date: m,
|
|
1236
1236
|
setDate: d,
|
|
1237
1237
|
previewDate: h,
|
|
1238
1238
|
setPreviewDate: M,
|
|
@@ -1245,7 +1245,7 @@ const ce = W(
|
|
|
1245
1245
|
) : l === "months" ? /* @__PURE__ */ t(
|
|
1246
1246
|
oe,
|
|
1247
1247
|
{
|
|
1248
|
-
date:
|
|
1248
|
+
date: m,
|
|
1249
1249
|
setDate: d,
|
|
1250
1250
|
previewDate: h,
|
|
1251
1251
|
setPreviewDate: M,
|
|
@@ -1259,7 +1259,7 @@ const ce = W(
|
|
|
1259
1259
|
) : /* @__PURE__ */ t(
|
|
1260
1260
|
le,
|
|
1261
1261
|
{
|
|
1262
|
-
date:
|
|
1262
|
+
date: m,
|
|
1263
1263
|
setDate: d,
|
|
1264
1264
|
previewDate: h,
|
|
1265
1265
|
setPreviewDate: M,
|
|
@@ -1292,7 +1292,7 @@ const ce = W(
|
|
|
1292
1292
|
size: n,
|
|
1293
1293
|
status: x,
|
|
1294
1294
|
clearable: b
|
|
1295
|
-
},
|
|
1295
|
+
}, v) => /* @__PURE__ */ t(G, { children: c ? /* @__PURE__ */ t(
|
|
1296
1296
|
ae,
|
|
1297
1297
|
{
|
|
1298
1298
|
onChange: e,
|
|
@@ -1300,7 +1300,7 @@ const ce = W(
|
|
|
1300
1300
|
input: o,
|
|
1301
1301
|
filter: s,
|
|
1302
1302
|
disabled: p,
|
|
1303
|
-
ref:
|
|
1303
|
+
ref: v,
|
|
1304
1304
|
minDate: g,
|
|
1305
1305
|
maxDate: f,
|
|
1306
1306
|
placeholder: u,
|
|
@@ -1316,7 +1316,7 @@ const ce = W(
|
|
|
1316
1316
|
input: o,
|
|
1317
1317
|
filter: s,
|
|
1318
1318
|
disabled: p,
|
|
1319
|
-
ref:
|
|
1319
|
+
ref: v,
|
|
1320
1320
|
minDate: g,
|
|
1321
1321
|
maxDate: f,
|
|
1322
1322
|
placeholder: u,
|
package/dist/date.umd.js
CHANGED
|
@@ -200,19 +200,19 @@
|
|
|
200
200
|
|
|
201
201
|
.sa-calendar-input-container.sm {
|
|
202
202
|
height: var(--sa-h-8, 32px);
|
|
203
|
-
border-radius: var(--sa-
|
|
203
|
+
border-radius: var(--sa-radii-sm, 6px);
|
|
204
204
|
font-size: var(--sa-font-size-sm, 12px);
|
|
205
205
|
padding-inline: var(--sa-spacing-3, 12px);
|
|
206
206
|
}
|
|
207
207
|
.sa-calendar-input-container.md {
|
|
208
208
|
height: var(--sa-h-10, 40px);
|
|
209
|
-
border-radius: var(--sa-
|
|
209
|
+
border-radius: var(--sa-radii-sm, 6px);
|
|
210
210
|
font-size: var(--sa-font-size-md, 14px);
|
|
211
211
|
padding-inline: var(--sa-spacing-3, 12px);
|
|
212
212
|
}
|
|
213
213
|
.sa-calendar-input-container.lg {
|
|
214
214
|
height: var(--sa-h-12, 48px);
|
|
215
|
-
border-radius: var(--sa-
|
|
215
|
+
border-radius: var(--sa-radii-sm, 6px);
|
|
216
216
|
font-size: var(--sa-font-size-md, 14px);
|
|
217
217
|
padding-inline: var(--sa-spacing-3, 12px);
|
|
218
218
|
}
|