laif-ds 0.2.38 → 0.2.39

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.
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
3
- import { __require as e } from "../node_modules/style-to-js/cjs/index.js";
4
- var t = e();
5
- const a = /* @__PURE__ */ r(t);
2
+ import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
+ import { __require as t } from "../node_modules/eventemitter3/index2.js";
4
+ var r = t();
5
+ const m = /* @__PURE__ */ e(r);
6
6
  export {
7
- a as default
7
+ m as default
8
8
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
- import { __require as r } from "../node_modules/extend/index.js";
4
- var t = r();
5
- const x = /* @__PURE__ */ e(t);
2
+ import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
3
+ import { __require as e } from "../node_modules/style-to-js/cjs/index.js";
4
+ var t = e();
5
+ const a = /* @__PURE__ */ r(t);
6
6
  export {
7
- x as default
7
+ a as default
8
8
  };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { getDefaultExportFromCjs as e } from "./_commonjsHelpers.js";
3
- import { __require as t } from "../node_modules/eventemitter3/index2.js";
4
- var r = t();
5
- const m = /* @__PURE__ */ e(r);
3
+ import { __require as r } from "../node_modules/extend/index.js";
4
+ var t = r();
5
+ const x = /* @__PURE__ */ e(t);
6
6
  export {
7
- m as default
7
+ x as default
8
8
  };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { jsx as d } from "react/jsx-runtime";
2
+ import { jsx as n } from "react/jsx-runtime";
3
3
  import * as m from "react";
4
4
  import { buttonVariants as f, Button as x } from "./button.js";
5
5
  import { cn as e } from "../../lib/utils.js";
6
6
  import { getDefaultClassNames as p } from "../../node_modules/react-day-picker/dist/esm/helpers/getDefaultClassNames.js";
7
7
  import { DayPicker as b } from "../../node_modules/react-day-picker/dist/esm/DayPicker.js";
8
- import y from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
9
- import w from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
8
+ import w from "../../node_modules/lucide-react/dist/esm/icons/chevron-left.js";
9
+ import y from "../../node_modules/lucide-react/dist/esm/icons/chevron-right.js";
10
10
  import _ from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
11
11
  function R({
12
12
  className: u,
@@ -18,12 +18,13 @@ function R({
18
18
  ...g
19
19
  }) {
20
20
  const t = p();
21
- return /* @__PURE__ */ d(
21
+ return /* @__PURE__ */ n(
22
22
  b,
23
23
  {
24
24
  showOutsideDays: r,
25
25
  captionLayout: "dropdown",
26
26
  reverseYears: !0,
27
+ endMonth: new Date((/* @__PURE__ */ new Date()).getFullYear() + 100, 11, 31),
27
28
  className: e(
28
29
  "bg-d-background group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
29
30
  String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
@@ -114,24 +115,24 @@ function R({
114
115
  ...c
115
116
  },
116
117
  components: {
117
- Root: ({ className: a, rootRef: n, ...o }) => /* @__PURE__ */ d(
118
+ Root: ({ className: a, rootRef: d, ...o }) => /* @__PURE__ */ n(
118
119
  "div",
119
120
  {
120
121
  "data-slot": "calendar",
121
- ref: n,
122
+ ref: d,
122
123
  className: e(a),
123
124
  ...o
124
125
  }
125
126
  ),
126
- Chevron: ({ className: a, orientation: n, ...o }) => n === "left" ? /* @__PURE__ */ d(y, { className: e("size-4", a), ...o }) : n === "right" ? /* @__PURE__ */ d(
127
- w,
127
+ Chevron: ({ className: a, orientation: d, ...o }) => d === "left" ? /* @__PURE__ */ n(w, { className: e("size-4", a), ...o }) : d === "right" ? /* @__PURE__ */ n(
128
+ y,
128
129
  {
129
130
  className: e("size-4", a),
130
131
  ...o
131
132
  }
132
- ) : /* @__PURE__ */ d(_, { className: e("size-4", a), ...o }),
133
+ ) : /* @__PURE__ */ n(_, { className: e("size-4", a), ...o }),
133
134
  DayButton: h,
134
- WeekNumber: ({ children: a, ...n }) => /* @__PURE__ */ d("td", { ...n, children: /* @__PURE__ */ d("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: a }) }),
135
+ WeekNumber: ({ children: a, ...d }) => /* @__PURE__ */ n("td", { ...d, children: /* @__PURE__ */ n("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: a }) }),
135
136
  ...l
136
137
  },
137
138
  ...g
@@ -147,7 +148,7 @@ function h({
147
148
  const i = p(), l = m.useRef(null);
148
149
  return m.useEffect(() => {
149
150
  r.focused && l.current?.focus();
150
- }, [r.focused]), /* @__PURE__ */ d(
151
+ }, [r.focused]), /* @__PURE__ */ n(
151
152
  x,
152
153
  {
153
154
  ref: l,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../_virtual/index5.js";
2
+ import e from "../../_virtual/index3.js";
3
3
  export {
4
4
  e as EventEmitter,
5
5
  e as default
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
3
3
  import { ok as u } from "../../devlop/lib/default.js";
4
4
  import { svg as m, html as C } from "../../property-information/index.js";
5
5
  import { stringify as N } from "../../space-separated-tokens/index.js";
6
- import S from "../../../_virtual/index3.js";
6
+ import S from "../../../_virtual/index4.js";
7
7
  import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
8
8
  import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
9
9
  import { VFileMessage as h } from "../../vfile-message/lib/index.js";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../../../_virtual/index5.js";
2
+ import e from "../../../../_virtual/index3.js";
3
3
  var r = new e(), n = "recharts.syncEvent.tooltip";
4
4
  export {
5
5
  n as TOOLTIP_SYNC_EVENT,
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { bail as P } from "../../bail/index.js";
3
- import y from "../../../_virtual/index4.js";
3
+ import y from "../../../_virtual/index5.js";
4
4
  import z from "../../is-plain-obj/index.js";
5
5
  import { CallableInstance as C } from "./callable-instance.js";
6
6
  import { trough as A } from "../../trough/lib/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "laif-ds",
3
3
  "private": false,
4
- "version": "0.2.38",
4
+ "version": "0.2.39",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",