@worknice/whiteboard 0.4.4 → 0.4.5-rc.2

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,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { JSX, ReactNode } from "react";
2
2
  type Props = {
3
3
  children: ReactNode;
4
4
  header?: ReactNode;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { JSX, ReactNode } from "react";
2
2
  type Props = {
3
3
  children: ReactNode;
4
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { JSX, ReactNode } from "react";
2
2
  type Props = {
3
3
  children: ReactNode;
4
4
  spacing?: "n5" | "n4" | "n3" | "n2" | "n1" | "00" | "p1" | "p2" | "p3" | "p4" | "p5";
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { JSX, ReactNode } from "react";
2
2
  type Props = {
3
3
  actions?: ReactNode;
4
4
  description?: ReactNode;
@@ -1,3 +1,4 @@
1
+ import { type JSX } from "react";
1
2
  type Props = {
2
3
  font?: "regular" | "small";
3
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { JSX, ReactNode } from "react";
2
2
  type Props = {
3
3
  font?: "regular" | "small" | "tiny";
4
4
  id?: string;
@@ -1,4 +1,4 @@
1
- import type { ReactNode } from "react";
1
+ import type { JSX, ReactNode } from "react";
2
2
  type Props = {
3
3
  children: ReactNode;
4
4
  spacing?: "n5" | "n4" | "n3" | "n2" | "n1" | "00" | "p1" | "p2" | "p3" | "p4" | "p5";
@@ -27,7 +27,7 @@ declare const useNextContext: () => {
27
27
  onTouchStart?: import("react").TouchEventHandler<HTMLAnchorElement>;
28
28
  onClick?: import("react").MouseEventHandler<HTMLAnchorElement>;
29
29
  } & {
30
- children?: import("react").ReactNode;
30
+ children?: import("react").ReactNode | undefined;
31
31
  } & import("react").RefAttributes<HTMLAnchorElement>>;
32
32
  pathname: string | null;
33
33
  router: import("next/router").NextRouter | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@worknice/whiteboard",
3
3
  "description": "",
4
- "version": "0.4.4",
4
+ "version": "0.4.5-rc.2",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "files": [
@@ -32,12 +32,12 @@
32
32
  "@floating-ui/react-dom": "^2.0.8",
33
33
  "@react-hook/throttle": "^2.2.0",
34
34
  "@tanstack/react-table": "^8.15.3",
35
- "@tanstack/react-virtual": "^3.5.0",
35
+ "@tanstack/react-virtual": "^3.13.6",
36
36
  "email-validator": "^2.0.4",
37
37
  "js-search": "^2.0.0",
38
38
  "utf8": "^3.0.0",
39
39
  "zod": "^3.22.3",
40
- "@worknice/utils": "^0.3.14"
40
+ "@worknice/utils": "^0.3.15-rc.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@anolilab/semantic-release-pnpm": "^1.1.10",
@@ -47,8 +47,8 @@
47
47
  "@total-typescript/tsconfig": "^1.0.4",
48
48
  "@types/css-modules": "^1.0.5",
49
49
  "@types/js-search": "^1.4.0",
50
- "@types/react": "^18.3.10",
51
- "@types/react-dom": "^18.3.0",
50
+ "@types/react": "^19.1.0",
51
+ "@types/react-dom": "^19.1.1",
52
52
  "@types/utf8": "^3.0.0",
53
53
  "@types/uuid": "^8.3.1",
54
54
  "@typescript-eslint/eslint-plugin": "^8.7.0",
@@ -59,10 +59,10 @@
59
59
  "eslint-plugin-react": "^7.34.2",
60
60
  "eslint-plugin-react-hooks": "^4.6.2",
61
61
  "marked": "^11.1.0",
62
- "next": "^14.2.26",
62
+ "next": "^15.2.4",
63
63
  "nodemon": "^3.1.4",
64
- "react": "^18.3.1",
65
- "react-dom": "^18.3.1",
64
+ "react": "^19.1.0",
65
+ "react-dom": "^19.1.0",
66
66
  "semantic-release": "^24.2.2",
67
67
  "temporal-polyfill": "^0.2.5",
68
68
  "typescript": "~5.5.0",