@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ds-mo/ui",
3
- "version": "0.2.0",
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.5.0",
58
- "@ds-mo/tokens": "^0.3.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": "^18.3.0",
64
- "@types/react-dom": "^18.3.0",
65
- "@vitejs/plugin-react": "^4.3.0",
66
- "react": "^18.3.1",
67
- "react-dom": "^18.3.1",
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": "^5.7.0",
70
- "vite": "^6.0.0",
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);