@worknice/whiteboard 0.22.6 → 0.23.1

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.
Files changed (31) hide show
  1. package/dist/Storybook.js +50 -0
  2. package/dist/controls/Button.d.ts +5 -0
  3. package/dist/controls/Button.stories.d.ts +67 -0
  4. package/dist/controls/Button.stories.js +121 -0
  5. package/dist/fields/CheckboxSetField.d.ts +3 -0
  6. package/dist/fields/CheckboxSetField.stories.d.ts +62 -0
  7. package/dist/fields/CheckboxSetField.stories.js +85 -0
  8. package/dist/fields/ColorPickerField.stories.d.ts +49 -0
  9. package/dist/fields/ColorPickerField.stories.js +56 -0
  10. package/dist/fields/OrgLogoField.stories.d.ts +44 -0
  11. package/dist/fields/OrgLogoField.stories.js +79 -0
  12. package/dist/fields/PaletteColorPickerField.stories.d.ts +43 -0
  13. package/dist/fields/PaletteColorPickerField.stories.js +60 -0
  14. package/dist/fields/TimezoneField.stories.d.ts +48 -0
  15. package/dist/fields/TimezoneField.stories.js +66 -0
  16. package/dist/icons/IconGallery.js +47 -0
  17. package/dist/inputs/ColorInput.stories.d.ts +36 -0
  18. package/dist/inputs/ColorInput.stories.js +42 -0
  19. package/dist/inputs/PaletteColorInput.stories.d.ts +28 -0
  20. package/dist/inputs/PaletteColorInput.stories.js +40 -0
  21. package/dist/presentation/Container.d.ts +7 -0
  22. package/dist/presentation/Container.js +12 -0
  23. package/dist/presentation/Container.module.js +7 -0
  24. package/dist/presentation/Container.stories.d.ts +14 -0
  25. package/dist/presentation/Container.stories.js +29 -0
  26. package/dist/presentation/Container_module.css +36 -0
  27. package/dist/presentation/Icon.stories.d.ts +20 -0
  28. package/dist/presentation/Icon.stories.js +24 -0
  29. package/dist/presentation/Tag.stories.d.ts +15 -0
  30. package/dist/presentation/Tag.stories.js +16 -0
  31. package/package.json +15 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@worknice/whiteboard",
3
3
  "description": "",
4
- "version": "0.22.6",
4
+ "version": "0.23.1",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "files": [
@@ -31,6 +31,7 @@
31
31
  "@floating-ui/react": "^0.26.19",
32
32
  "@floating-ui/react-dom": "^2.0.8",
33
33
  "@react-hook/throttle": "^2.2.0",
34
+ "@rsbuild/plugin-mdx": "^1.1.0",
34
35
  "@tanstack/react-table": "^8.21.2",
35
36
  "@tanstack/react-virtual": "^3.13.6",
36
37
  "email-validator": "^2.0.4",
@@ -38,13 +39,16 @@
38
39
  "react-markdown": "^10.1.0",
39
40
  "utf8": "^3.0.0",
40
41
  "zod": "^3.22.3",
41
- "@worknice/utils": "^0.6.91"
42
+ "@worknice/utils": "^0.6.93"
42
43
  },
43
44
  "devDependencies": {
44
45
  "@anolilab/semantic-release-pnpm": "^1.1.10",
45
46
  "@react-email/components": "^0.0.36",
46
47
  "@rsbuild/plugin-react": "^1.1.0",
47
48
  "@rslib/core": "^0.4.1",
49
+ "@storybook/addon-a11y": "^10.1.2",
50
+ "@storybook/addon-docs": "^10.1.2",
51
+ "@storybook/nextjs-vite": "^10.1.2",
48
52
  "@total-typescript/tsconfig": "^1.0.4",
49
53
  "@types/css-modules": "^1.0.5",
50
54
  "@types/js-search": "^1.4.0",
@@ -56,10 +60,12 @@
56
60
  "@typescript-eslint/parser": "^8.7.0",
57
61
  "@worknice/commit-analyzer": "github:WorkniceHR/commit-analyzer#master",
58
62
  "clsx": "^2.0.0",
63
+ "concurrently": "^9.2.0",
59
64
  "eslint": "^8.57.1",
60
65
  "eslint-plugin-react": "^7.34.2",
61
66
  "eslint-plugin-react-hooks": "^4.6.2",
62
- "next": "~15.5.0",
67
+ "eslint-plugin-storybook": "^10.1.2",
68
+ "next": "~15.5.7",
63
69
  "nodemon": "^3.1.4",
64
70
  "prettier": "^3.5.3",
65
71
  "prettier-plugin-embed": "^0.5.0",
@@ -68,6 +74,7 @@
68
74
  "react-dom": "^19.1.0",
69
75
  "semantic-release": "^24.2.2",
70
76
  "semantic-release-scope-filter": "^1.0.0",
77
+ "storybook": "^10.1.2",
71
78
  "temporal-polyfill": "^0.2.5",
72
79
  "typescript": "~5.5.0",
73
80
  "uuid": "^11.0.5",
@@ -84,7 +91,9 @@
84
91
  },
85
92
  "scripts": {
86
93
  "build": "rslib build",
87
- "dev": "rslib build --watch",
94
+ "dev": "concurrently --kill-others-on-fail -n dev:rslib,dev:storybook 'pnpm dev:rslib' 'pnpm dev:storybook'",
95
+ "dev:rslib": "rslib build --watch",
96
+ "dev:storybook": "storybook dev --no-open -p 3600",
88
97
  "fix": "if [[ -z $TURBO_HASH ]]; then pnpm turbo fix; else exit 0; fi",
89
98
  "fix:lint": "eslint \"src/**/*.{js,ts,tsx}\" --fix",
90
99
  "fix:format": "prettier '**/*.{js,ts,tsx,css}' --write",
@@ -92,6 +101,7 @@
92
101
  "test:unit": "vitest run",
93
102
  "test:format": "prettier '**/*.{js,ts,tsx,css}' --check",
94
103
  "test:lint": "eslint \"src/**/*.{js,ts,tsx}\"",
95
- "test:types": "tsc --noEmit --pretty"
104
+ "test:types": "tsc --noEmit --pretty",
105
+ "build-storybook": "storybook build"
96
106
  }
97
107
  }