@mngh/jalali-datepicker 1.1.2 → 1.1.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/components/JalaliDatePicker.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1632,7 +1632,7 @@ function me({ mode: e = "single", value: n, defaultValue: d, onChange: f, minDat
|
|
|
1632
1632
|
H
|
|
1633
1633
|
]), He = !!(e === "single" ? X : e === "range" ? X?.[0] : X?.length), Ue = (e, t, n, r = !0, i = !0) => /* @__PURE__ */ l("div", {
|
|
1634
1634
|
style: {
|
|
1635
|
-
width: "
|
|
1635
|
+
width: "262px",
|
|
1636
1636
|
flexShrink: 0
|
|
1637
1637
|
},
|
|
1638
1638
|
children: [
|
|
@@ -1698,9 +1698,7 @@ function me({ mode: e = "single", value: n, defaultValue: d, onChange: f, minDat
|
|
|
1698
1698
|
borderRadius: "var(--pdp-border-radius, 12px)",
|
|
1699
1699
|
border: "1px solid var(--pdp-surface-border, #e2e8f0)",
|
|
1700
1700
|
boxShadow: J ? "0 20px 25px -5px rgb(0 0 0 / 0.3)" : "var(--pdp-shadow, 0 10px 15px -3px rgba(0, 0, 0, 0.1))",
|
|
1701
|
-
width:
|
|
1702
|
-
minWidth: U === 2 ? "560px" : "284px",
|
|
1703
|
-
maxWidth: "95vw",
|
|
1701
|
+
width: "max-content",
|
|
1704
1702
|
userSelect: "none",
|
|
1705
1703
|
display: "flex",
|
|
1706
1704
|
flexDirection: "column",
|
|
@@ -1722,12 +1720,18 @@ function me({ mode: e = "single", value: n, defaultValue: d, onChange: f, minDat
|
|
|
1722
1720
|
/* @__PURE__ */ l("div", {
|
|
1723
1721
|
style: {
|
|
1724
1722
|
display: "flex",
|
|
1725
|
-
|
|
1726
|
-
|
|
1723
|
+
flexDirection: "row",
|
|
1724
|
+
flexWrap: "nowrap",
|
|
1725
|
+
gap: "20px",
|
|
1727
1726
|
alignItems: "flex-start",
|
|
1728
1727
|
justifyContent: "center"
|
|
1729
1728
|
},
|
|
1730
|
-
children: [Ue(Z, Q, we, !0, U === 1), U === 2 && /* @__PURE__ */
|
|
1729
|
+
children: [Ue(Z, Q, we, !0, U === 1), U === 2 && /* @__PURE__ */ l(s, { children: [/* @__PURE__ */ c("div", { style: {
|
|
1730
|
+
width: "1px",
|
|
1731
|
+
alignSelf: "stretch",
|
|
1732
|
+
backgroundColor: "var(--pdp-surface-border, #e2e8f0)",
|
|
1733
|
+
margin: "0 2px"
|
|
1734
|
+
} }), Ue($.year, $.month, Be, !1, !0)] })]
|
|
1731
1735
|
}),
|
|
1732
1736
|
N && /* @__PURE__ */ c(ce, {
|
|
1733
1737
|
value: Y,
|