@ds-mo/ui 0.2.0 → 0.2.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.
- package/dist/index.css +2 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2466 -2597
- package/dist/index.js.map +1 -1
- package/package.json +10 -10
- package/src/components/Toast/Toast.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ds-mo/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "CompoMo — composable React UI components styled with TokoMo design tokens",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -54,20 +54,20 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@ds-mo/icons": "^0.
|
|
58
|
-
"@ds-mo/tokens": "^0.
|
|
57
|
+
"@ds-mo/icons": "^0.7.2",
|
|
58
|
+
"@ds-mo/tokens": "^0.4.0",
|
|
59
59
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
60
60
|
"@storybook/addon-docs": "^10.3.5",
|
|
61
61
|
"@storybook/react": "^10.3.5",
|
|
62
62
|
"@storybook/react-vite": "^10.3.5",
|
|
63
|
-
"@types/react": "^
|
|
64
|
-
"@types/react-dom": "^
|
|
65
|
-
"@vitejs/plugin-react": "^
|
|
66
|
-
"react": "^
|
|
67
|
-
"react-dom": "^
|
|
63
|
+
"@types/react": "^19.2.0",
|
|
64
|
+
"@types/react-dom": "^19.2.3",
|
|
65
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
66
|
+
"react": "^19.2.0",
|
|
67
|
+
"react-dom": "^19.2.5",
|
|
68
68
|
"storybook": "^10.3.5",
|
|
69
|
-
"typescript": "^
|
|
70
|
-
"vite": "^
|
|
69
|
+
"typescript": "^6.0.3",
|
|
70
|
+
"vite": "^8.0.0",
|
|
71
71
|
"vite-plugin-dts": "^4.3.0",
|
|
72
72
|
"zod": "^4.3.6"
|
|
73
73
|
},
|
|
@@ -99,7 +99,7 @@ interface ToastItemProps {
|
|
|
99
99
|
|
|
100
100
|
const ToastItem: React.FC<ToastItemProps> = ({ data }) => {
|
|
101
101
|
const [exiting, setExiting] = useState(false);
|
|
102
|
-
const timerRef = useRef<ReturnType<typeof setTimeout
|
|
102
|
+
const timerRef = useRef<ReturnType<typeof setTimeout> | undefined>(undefined);
|
|
103
103
|
|
|
104
104
|
const dismiss = useCallback(() => {
|
|
105
105
|
setExiting(true);
|