sud-ui 1.9.2 → 2.0.0
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/LICENSE +21 -0
- package/README.md +26 -8
- package/dist/components/SoonUIDesign.d.ts +11 -11
- package/dist/components/commonType.d.ts +10 -10
- package/dist/components/dataDisplay/Calendar.d.ts +9 -8
- package/dist/components/dataDisplay/Card.d.ts +23 -14
- package/dist/components/dataDisplay/Carousel.d.ts +7 -6
- package/dist/components/dataDisplay/Collapse.d.ts +12 -11
- package/dist/components/dataDisplay/Drawer.d.ts +15 -13
- package/dist/components/dataDisplay/Modal.d.ts +12 -11
- package/dist/components/dataDisplay/Segmented.d.ts +2 -1
- package/dist/components/dataDisplay/Table.d.ts +2 -1
- package/dist/components/dataDisplay/Tabs.d.ts +2 -1
- package/dist/components/dataEntry/Checkbox.d.ts +22 -4
- package/dist/components/dataEntry/ColorPicker.d.ts +2 -1
- package/dist/components/dataEntry/Input.d.ts +10 -10
- package/dist/components/dataEntry/Radio.d.ts +22 -4
- package/dist/components/dataEntry/Rate.d.ts +3 -2
- package/dist/components/dataEntry/Select.d.ts +17 -16
- package/dist/components/dataEntry/Slider.d.ts +2 -1
- package/dist/components/dataEntry/Switch.d.ts +22 -3
- package/dist/components/dataEntry/TimeSelector.d.ts +2 -1
- package/dist/components/feedback/Progress.d.ts +19 -19
- package/dist/components/general/Button.d.ts +11 -8
- package/dist/components/layout/index.d.ts +10 -10
- package/dist/components/navigation/Breadcrumb.d.ts +6 -4
- package/dist/components/navigation/Divider.d.ts +2 -1
- package/dist/components/navigation/Dropdown.d.ts +11 -11
- package/dist/components/navigation/Menu.d.ts +2 -1
- package/dist/components/navigation/Pagination.d.ts +2 -1
- package/dist/components/navigation/base/PopupBase.d.ts +15 -12
- package/dist/index.css +1 -1
- package/dist/index.d.ts +64 -64
- package/dist/index.js +5091 -4791
- package/dist/index.js.map +1 -1
- package/dist/theme/ThemeContext.d.ts +42 -42
- package/dist/theme/darkTheme.d.ts +3 -3
- package/dist/theme/defaultTheme.d.ts +3 -3
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/themeUtils.d.ts +80 -80
- package/docs/improvement-plan.md +271 -271
- package/docs/surface-guidelines.md +29 -29
- package/package.json +20 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sud-ui",
|
|
3
3
|
"description": "A React UI component library with dark mode support, customizable styles, reusable components, and utility-style class names.",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -21,9 +21,13 @@
|
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
23
|
"dev": "vite",
|
|
24
|
-
"build": "vite build && node scripts/copy-types.mjs",
|
|
25
|
-
"check:exports": "node scripts/check-exports.mjs",
|
|
24
|
+
"build": "vite build && node scripts/copy-types.mjs",
|
|
25
|
+
"check:exports": "node scripts/check-exports.mjs",
|
|
26
|
+
"check:package": "node scripts/check-package.mjs",
|
|
27
|
+
"prepack": "npm run lint && npm test && npm run test:types && npm run check:exports && npm run check:package",
|
|
26
28
|
"lint": "eslint .",
|
|
29
|
+
"test": "vitest run",
|
|
30
|
+
"test:types": "npm run build && tsc -p tests/types/tsconfig.json",
|
|
27
31
|
"preview": "vite preview"
|
|
28
32
|
},
|
|
29
33
|
"peerDependencies": {
|
|
@@ -36,17 +40,26 @@
|
|
|
36
40
|
},
|
|
37
41
|
"devDependencies": {
|
|
38
42
|
"@eslint/js": "^9.29.0",
|
|
43
|
+
"@testing-library/dom": "^10.4.1",
|
|
44
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
45
|
+
"@testing-library/react": "^16.3.2",
|
|
46
|
+
"@testing-library/user-event": "^14.6.1",
|
|
47
|
+
"@types/react": "^19.2.17",
|
|
48
|
+
"@types/react-dom": "^19.2.3",
|
|
39
49
|
"@vitejs/plugin-react": "^4.7.0",
|
|
40
50
|
"autoprefixer": "^10.5.0",
|
|
41
51
|
"eslint": "^9.21.0",
|
|
42
52
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
43
53
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
44
54
|
"globals": "^15.15.0",
|
|
55
|
+
"jsdom": "^29.1.1",
|
|
45
56
|
"postcss": "^8.5.15",
|
|
46
57
|
"react": "^19.0.0",
|
|
47
58
|
"react-dom": "^19.0.0",
|
|
48
59
|
"tailwindcss": "^3.4.17",
|
|
49
|
-
"
|
|
60
|
+
"typescript": "^5.9.3",
|
|
61
|
+
"vite": "^6.2.0",
|
|
62
|
+
"vitest": "^4.1.10"
|
|
50
63
|
},
|
|
51
64
|
"sideEffects": [
|
|
52
65
|
"**/*.css"
|
|
@@ -72,5 +85,6 @@
|
|
|
72
85
|
"react-components"
|
|
73
86
|
],
|
|
74
87
|
"author": "SeeUSoon93",
|
|
75
|
-
"license": "MIT"
|
|
76
|
-
|
|
88
|
+
"license": "MIT",
|
|
89
|
+
"packageManager": "npm@10.9.8"
|
|
90
|
+
}
|