laif-ds 0.2.58 → 0.2.60

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 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);
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
- m as default
7
+ a as default
8
8
  };
@@ -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 r } from "../node_modules/extend/index.js";
4
+ var t = r();
5
+ const x = /* @__PURE__ */ e(t);
6
6
  export {
7
- a as default
7
+ x 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 r } from "../node_modules/extend/index.js";
4
- var t = r();
5
- const x = /* @__PURE__ */ e(t);
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
- x as default
7
+ m as default
8
8
  };
@@ -45,10 +45,7 @@ function W({
45
45
  t.months
46
46
  ),
47
47
  month: e("flex flex-col w-full gap-4", t.month),
48
- nav: e(
49
- "hidden",
50
- t.nav
51
- ),
48
+ nav: e("hidden", t.nav),
52
49
  button_previous: e(
53
50
  w({ variant: d }),
54
51
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
@@ -126,7 +123,7 @@ function W({
126
123
  ) : /* @__PURE__ */ a(D, { className: e("size-4", n), ...i }),
127
124
  DayButton: L,
128
125
  WeekNumber: ({ children: n, ...l }) => /* @__PURE__ */ a("td", { ...l, children: /* @__PURE__ */ a("div", { className: "flex size-(--cell-size) items-center justify-center text-center", children: n }) }),
129
- MonthCaption: (n) => /* @__PURE__ */ a(S, { ...n, locale: c }),
126
+ MonthCaption: (n) => /* @__PURE__ */ a(P, { ...n, locale: c }),
130
127
  ...s
131
128
  },
132
129
  locale: c,
@@ -162,12 +159,12 @@ function L({
162
159
  ...d,
163
160
  children: [
164
161
  d.children,
165
- r.today && /* @__PURE__ */ a("span", { className: "absolute bottom-1 left-1/2 -translate-x-1/2 h-1 w-1 rounded-full bg-d-primary" })
162
+ r.today && /* @__PURE__ */ a("span", { className: "bg-d-primary absolute bottom-1 left-1/2 h-1 w-1 -translate-x-1/2 rounded-full" })
166
163
  ]
167
164
  }
168
165
  );
169
166
  }
170
- function S({
167
+ function P({
171
168
  calendarMonth: p,
172
169
  locale: g
173
170
  }) {
@@ -204,6 +201,9 @@ function S({
204
201
  /* @__PURE__ */ a(
205
202
  b,
206
203
  {
204
+ searchable: !0,
205
+ searchPlaceholder: "",
206
+ emptyPlaceholder: "",
207
207
  options: f,
208
208
  value: c.getMonth(),
209
209
  onValueChange: l,
@@ -214,6 +214,9 @@ function S({
214
214
  /* @__PURE__ */ a(
215
215
  b,
216
216
  {
217
+ searchable: !0,
218
+ searchPlaceholder: "",
219
+ emptyPlaceholder: "",
217
220
  options: n,
218
221
  value: c.getFullYear(),
219
222
  onValueChange: i,
package/dist/index.d.ts CHANGED
@@ -283,7 +283,7 @@ declare interface AppSidebarProps extends React_2.ComponentProps<typeof Sidebar>
283
283
  linkProps?: Record<string, any>;
284
284
  }
285
285
 
286
- declare interface AppStep {
286
+ export declare interface AppStep {
287
287
  id: number;
288
288
  label: React_2.ReactNode;
289
289
  component: React_2.ReactNode;
@@ -294,7 +294,7 @@ declare interface AppStep {
294
294
 
295
295
  export declare function AppStepper({ steps, align, size, showSeparators, defaultStep, allowStepNavigation, allowClickOnlyCompleted, onStepClick, indicators, ...stepperProps }: AppStepperProps): JSX.Element;
296
296
 
297
- declare interface AppStepperProps extends Omit<StepperProps, "children"> {
297
+ export declare interface AppStepperProps extends Omit<StepperProps, "children"> {
298
298
  steps: AppStep[];
299
299
  align?: "horizontal" | "vertical";
300
300
  size?: "sm" | "md";
@@ -303,7 +303,7 @@ declare interface AppStepperProps extends Omit<StepperProps, "children"> {
303
303
  allowStepNavigation?: boolean;
304
304
  allowClickOnlyCompleted?: boolean;
305
305
  onStepClick?: (step: AppStep, index: number) => void;
306
- indicators?: StepIndicators_2;
306
+ indicators?: StepIndicators;
307
307
  }
308
308
 
309
309
  export declare function AppTooltip({ content, children, label, labelClassName, header, variant, triggerVariant, size, className, wrpClassName, contentClassName, side, align, sideOffset, matchTriggerWidth, delayDuration, disabled, asChild, }: AppTooltipProps): JSX.Element;
@@ -2506,7 +2506,7 @@ export declare type SpinnerSize = "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xx
2506
2506
 
2507
2507
  export declare type SpinnerVariant = "default" | "destructive" | "primary" | "secondary";
2508
2508
 
2509
- declare type StepIndicators = {
2509
+ export declare type StepIndicators = {
2510
2510
  active?: React_2.ReactNode;
2511
2511
  completed?: React_2.ReactNode;
2512
2512
  inactive?: React_2.ReactNode;
@@ -2527,7 +2527,7 @@ declare interface StepperProps extends React_2.HTMLAttributes<HTMLDivElement>, V
2527
2527
  value?: number;
2528
2528
  onValueChange?: (value: number) => void;
2529
2529
  orientation?: StepperOrientation;
2530
- indicators?: StepIndicators;
2530
+ indicators?: StepIndicators_2;
2531
2531
  }
2532
2532
 
2533
2533
  declare const stepperVariants: (props?: ({
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import e from "../../_virtual/index3.js";
2
+ import e from "../../_virtual/index5.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/index4.js";
6
+ import S from "../../../_virtual/index3.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/index3.js";
2
+ import e from "../../../../_virtual/index5.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/index5.js";
3
+ import y from "../../../_virtual/index4.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.58",
4
+ "version": "0.2.60",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",