@lssm/lib.ui-kit-web 0.0.0-canary-20251212230121 → 0.0.0-canary-20251215220103

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/ui/button.js CHANGED
@@ -1,4 +1,4 @@
1
- import "react";
1
+ import * as React$1 from "react";
2
2
  import { cn } from "@lssm/lib.ui-kit-core/utils";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import { Slot } from "@radix-ui/react-slot";
@@ -27,8 +27,8 @@ const buttonVariants = cva("inline-flex items-center justify-center gap-2 whites
27
27
  size: "default"
28
28
  }
29
29
  });
30
- function Button({ className, variant, size, asChild = false, ...props }) {
31
- return /* @__PURE__ */ jsx(asChild ? Slot : "button", {
30
+ const Button = React$1.forwardRef(({ className, variant, size, asChild = false, ...props }, ref) => {
31
+ if (asChild) return /* @__PURE__ */ jsx(Slot, {
32
32
  "data-slot": "button",
33
33
  className: cn(buttonVariants({
34
34
  variant,
@@ -37,7 +37,18 @@ function Button({ className, variant, size, asChild = false, ...props }) {
37
37
  })),
38
38
  ...props
39
39
  });
40
- }
40
+ return /* @__PURE__ */ jsx("button", {
41
+ ref,
42
+ "data-slot": "button",
43
+ className: cn(buttonVariants({
44
+ variant,
45
+ size,
46
+ className
47
+ })),
48
+ ...props
49
+ });
50
+ });
51
+ Button.displayName = "Button";
41
52
 
42
53
  //#endregion
43
54
  export { Button, buttonVariants };
package/dist/ui/empty.js CHANGED
@@ -43,7 +43,7 @@ function EmptyTitle({ className, ...props }) {
43
43
  });
44
44
  }
45
45
  function EmptyDescription({ className, ...props }) {
46
- return /* @__PURE__ */ jsx("div", {
46
+ return /* @__PURE__ */ jsx("p", {
47
47
  "data-slot": "empty-description",
48
48
  className: cn("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className),
49
49
  ...props
package/dist/ui/field.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { Label } from "./label.js";
4
4
  import { Separator } from "./separator.js";
5
- import { useMemo } from "react";
5
+ import * as React$1 from "react";
6
6
  import { cn } from "@lssm/lib.ui-kit-core/utils";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { cva } from "class-variance-authority";
@@ -97,7 +97,7 @@ function FieldSeparator({ children, className, ...props }) {
97
97
  });
98
98
  }
99
99
  function FieldError({ className, children, errors, ...props }) {
100
- const content = useMemo(() => {
100
+ const content = React$1.useMemo(() => {
101
101
  if (children) return children;
102
102
  if (!errors?.length) return null;
103
103
  if (errors?.length == 1) return errors[0]?.message;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/lib.ui-kit-web",
3
- "version": "0.0.0-canary-20251212230121",
3
+ "version": "0.0.0-canary-20251215220103",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "embla-carousel-react": "^8.6.0",
57
57
  "input-otp": "^1.4.2",
58
58
  "lucide-react": "^0.535.0",
59
- "next": "16.0.7",
59
+ "next": "16.0.10",
60
60
  "next-themes": "^0.4.3",
61
61
  "react-hook-form": "^7.68.0",
62
62
  "react-day-picker": "^9.12.0",
@@ -65,10 +65,10 @@
65
65
  "vaul": "^1.1.2"
66
66
  },
67
67
  "peerDependencies": {
68
- "react": "^19.2.1",
69
- "react-dom": ">=19.2.1",
68
+ "react": "^19.2.3",
69
+ "react-dom": ">=19.2.3",
70
70
  "react-hook-form": "^7.68.0",
71
- "@sentry/nextjs": "^10.29.0",
71
+ "@sentry/nextjs": "^10.30.0",
72
72
  "maplibre-gl": "^5.14.0",
73
73
  "react-map-gl": "^8.0.4"
74
74
  },
@@ -79,15 +79,15 @@
79
79
  "jest": "^30.2.0",
80
80
  "storybook": "^9.1.7",
81
81
  "typescript": "^5.9.3",
82
- "react": "^19.2.1",
83
- "react-dom": "^19.2.1",
82
+ "react": "^19.2.3",
83
+ "react-dom": "^19.2.3",
84
84
  "@lssm/tool.typescript": "workspace:*",
85
85
  "@lssm/tool.tsdown": "workspace:*",
86
86
  "@types/geojson": "^7946.0.14",
87
- "@sentry/nextjs": "^10.29.0",
87
+ "@sentry/nextjs": "^10.30.0",
88
88
  "maplibre-gl": "^5.14.0",
89
89
  "react-map-gl": "^8.0.4",
90
- "tsdown": "^0.17.0"
90
+ "tsdown": "^0.17.4"
91
91
  },
92
92
  "exports": {
93
93
  ".": "./index.ts",