@sustaina/shared-ui 1.3.0 → 1.3.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.
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@sustaina/shared-ui",
3
3
  "author": "Sustaina Team",
4
- "version": "1.3.0",
4
+ "version": "1.3.2",
5
5
  "description": "Laboratory for Sustaina micro-frontend modules.",
6
6
  "license": "UNLICENSED",
7
7
  "scripts": {
8
8
  "build": "tsup && node ./copy-files-to-dist.js",
9
+ "dev": "npm run storybook",
9
10
  "storybook": "storybook dev -p 6006",
10
11
  "build-storybook": "storybook build",
11
12
  "lint": "eslint \"src/**/*\"",
@@ -15,14 +16,14 @@
15
16
  "test:unit": "vitest --project unit run",
16
17
  "test:unit:watch": "vitest --project unit --watch",
17
18
  "svgr": "npx @svgr/cli --icon --out-dir ./src/components/icons --template svgr-component-template.js --index-template svgr-index-template.js --ignore-existing --typescript --jsx-runtime automatic --filename-case kebab -- ./src/assets/svgs",
18
- "build:pack": "rimraf sustaina-shared-ui-*.tgz && npm run build && npm pack",
19
+ "build:pack": "rimraf --glob sustaina-shared-ui-*.tgz && npm run build && npm pack",
19
20
  "deploy:npm": "npm run build && semantic-release"
20
21
  },
21
22
  "repository": {
22
23
  "type": "git",
23
- "url": "https://gitlab.leapsolutions.co.th/sustaina/frontend/shared-ui.git"
24
+ "url": "https://github.com/SolDev2A/sustaina-share-ui.git"
24
25
  },
25
- "bugs": "https://gitlab.leapsolutions.co.th/sustaina/frontend/shared-ui/-/issues",
26
+ "bugs": "https://github.com/SolDev2A/sustaina-share-ui/issues",
26
27
  "publishConfig": {
27
28
  "access": "public"
28
29
  },
@@ -51,9 +52,8 @@
51
52
  "devDependencies": {
52
53
  "@eslint/js": "^9.32.0",
53
54
  "@faker-js/faker": "^9.9.0",
54
- "@hookform/resolvers": "^3.10.0",
55
55
  "@semantic-release/git": "^10.0.1",
56
- "@semantic-release/gitlab": "^13.2.8",
56
+ "@semantic-release/github": "^10.3.5",
57
57
  "@semantic-release/npm": "^12.0.2",
58
58
  "@storybook/addon-vitest": "^9.1.0",
59
59
  "@storybook/react-vite": "^9.1.0",
@@ -78,9 +78,9 @@
78
78
  "playwright": "^1.54.2",
79
79
  "postcss": "^8.5.6",
80
80
  "prettier": "^3.6.2",
81
- "react": "^19.1.1",
82
- "react-dom": "^19.1.1",
83
- "react-hook-form": "^7.62.0",
81
+ "react": "19.2.0",
82
+ "react-dom": "19.2.0",
83
+ "react-number-format": "^5.4.4",
84
84
  "rimraf": "^6.0.1",
85
85
  "semantic-release": "^24.2.7",
86
86
  "storybook": "^9.1.0",
@@ -91,33 +91,59 @@
91
91
  "vitest": "^3.2.4"
92
92
  },
93
93
  "peerDependencies": {
94
+ "@hookform/resolvers": "^3.10.0",
95
+ "@tanstack/react-router": "^1.130.12",
94
96
  "@tanstack/react-table": "^8.0.0",
97
+ "i18next": "^25.6.0",
95
98
  "react": "^18.0.0 || ^19.0.0",
96
99
  "react-dom": "^18.0.0 || ^19.0.0",
97
- "react-hook-form": "^7.0.0"
100
+ "react-easy-crop": "^5.5.3",
101
+ "react-hook-form": "^7.0.0",
102
+ "react-i18next": "^15.6.1",
103
+ "react-number-format": "^5.4.4",
104
+ "zod": "^3.25.76",
105
+ "zustand": "^5.0.8"
98
106
  },
99
107
  "dependencies": {
100
108
  "@dnd-kit/core": "^6.3.1",
109
+ "@dnd-kit/modifiers": "^9.0.0",
101
110
  "@dnd-kit/sortable": "^10.0.0",
102
111
  "@dnd-kit/utilities": "^3.2.2",
112
+ "@lexical/code": "^0.36.2",
113
+ "@lexical/html": "^0.36.2",
114
+ "@lexical/link": "^0.36.2",
115
+ "@lexical/list": "^0.36.2",
116
+ "@lexical/markdown": "^0.36.2",
117
+ "@lexical/react": "^0.36.2",
118
+ "@lexical/rich-text": "^0.36.2",
103
119
  "@radix-ui/react-accordion": "^1.2.12",
104
120
  "@radix-ui/react-checkbox": "^1.3.3",
105
121
  "@radix-ui/react-dialog": "^1.1.15",
106
122
  "@radix-ui/react-dropdown-menu": "^2.1.16",
107
123
  "@radix-ui/react-label": "^2.1.7",
108
124
  "@radix-ui/react-popover": "^1.1.15",
125
+ "@radix-ui/react-radio-group": "^1.3.8",
109
126
  "@radix-ui/react-select": "^2.2.6",
110
127
  "@radix-ui/react-separator": "^1.1.7",
111
128
  "@radix-ui/react-slot": "^1.2.3",
129
+ "@radix-ui/react-switch": "^1.2.6",
112
130
  "@radix-ui/react-tooltip": "^1.2.8",
131
+ "@tanstack/react-virtual": "^3.14.5",
132
+ "@tiptap/core": "^3.11.0",
133
+ "@tiptap/react": "^3.11.0",
134
+ "@tiptap/starter-kit": "^3.11.0",
135
+ "@tiptap/suggestion": "^3.11.0",
113
136
  "class-variance-authority": "^0.7.1",
114
137
  "clsx": "^2.1.1",
138
+ "cmdk": "^1.1.1",
139
+ "embla-carousel": "^8.6.0",
140
+ "embla-carousel-autoplay": "^8.6.0",
141
+ "embla-carousel-react": "^8.6.0",
142
+ "lexical": "^0.36.2",
115
143
  "lucide-react": "^0.536.0",
144
+ "prosemirror-state": "^1.4.4",
116
145
  "react-day-picker": "^9.9.0",
117
- "react-number-format": "^5.4.4",
118
146
  "tailwind-merge": "^3.3.1",
119
- "tw-animate-css": "^1.3.6",
120
- "zod": "^3.25.76",
121
- "zustand": "^5.0.6"
147
+ "tw-animate-css": "^1.3.6"
122
148
  }
123
149
  }