@3sc/common-component 0.0.378 → 0.0.380

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/index.es.js CHANGED
@@ -40293,17 +40293,14 @@ const p8 = ({ color: e }) => /* @__PURE__ */ g.jsx("svg", { width: "7", height:
40293
40293
  }, _ = (I) => {
40294
40294
  k(new Date(I, b.getMonth())), P("month");
40295
40295
  }, $ = (I) => {
40296
- if (!I) {
40297
- M();
40298
- return;
40299
- }
40300
- if (t === "range")
40301
- f ? O(I) : r == null || r(I);
40302
- else if (t === "multiple") {
40303
- const X = [...Array.isArray(I) ? I : [I]];
40304
- f ? O(X) : r == null || r(X);
40305
- } else
40306
- f ? O(I) : r == null || r(I), M();
40296
+ if (I)
40297
+ if (t === "range")
40298
+ f ? O(I) : r == null || r(I);
40299
+ else if (t === "multiple") {
40300
+ const X = [...Array.isArray(I) ? I : [I]];
40301
+ f ? O(X) : r == null || r(X);
40302
+ } else
40303
+ f ? O(I) : (r == null || r(I), M());
40307
40304
  }, F = ({ orientation: I, className: V, disabled: X }) => /* @__PURE__ */ g.jsx(
40308
40305
  be,
40309
40306
  {
@@ -40322,7 +40319,7 @@ const p8 = ({ color: e }) => /* @__PURE__ */ g.jsx("svg", { width: "7", height:
40322
40319
  ), L = (I) => {
40323
40320
  var Y;
40324
40321
  const { options: V, value: X } = I ?? {}, ee = (V == null ? void 0 : V.length) !== 12, H = (Y = V == null ? void 0 : V.find((oe) => (oe == null ? void 0 : oe.value) === X)) == null ? void 0 : Y.label, Z = () => {
40325
- P(t === "range" ? "month" : "year");
40322
+ P("year");
40326
40323
  };
40327
40324
  return /* @__PURE__ */ g.jsxs(
40328
40325
  ft,