@solostylist/ui-kit 1.0.168 → 1.0.170

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/ContentCopy-7nFBtjhs.js +11 -0
  2. package/dist/main.d.ts +4 -0
  3. package/dist/main.js +110 -102
  4. package/dist/s-ai-tool-bar/s-ai-tool-bar.js +2 -2
  5. package/dist/s-blur-text/s-blur-text.js +1 -1
  6. package/dist/s-breadcrumbs/s-breadcrumbs.js +2 -2
  7. package/dist/s-category-card/s-category-card.js +2 -2
  8. package/dist/s-code-block/index.d.ts +2 -0
  9. package/dist/s-code-block/index.js +4 -0
  10. package/dist/s-code-block/package.json +5 -0
  11. package/dist/s-code-block/s-code-block.d.ts +36 -0
  12. package/dist/s-code-block/s-code-block.js +1061 -0
  13. package/dist/s-copyable-text/s-copyable-text.js +17 -21
  14. package/dist/s-gradient-icon/s-gradient-icon.js +2 -2
  15. package/dist/s-scroll-reveal/s-scroll-reveal.js +2 -2
  16. package/dist/s-scroll-velocity/index.d.ts +6 -0
  17. package/dist/s-scroll-velocity/index.js +8 -0
  18. package/dist/s-scroll-velocity/package.json +5 -0
  19. package/dist/s-scroll-velocity/s-scroll-velocity.d.ts +24 -0
  20. package/dist/s-scroll-velocity/s-scroll-velocity.js +22 -0
  21. package/dist/s-scroll-velocity/scroll-velocity-container.d.ts +20 -0
  22. package/dist/s-scroll-velocity/scroll-velocity-container.js +40 -0
  23. package/dist/s-scroll-velocity/scroll-velocity-row.d.ts +27 -0
  24. package/dist/s-scroll-velocity/scroll-velocity-row.js +131 -0
  25. package/dist/s-stripe/s-stripe.js +2 -2
  26. package/dist/s-two-pane-layout/index.js +1 -1
  27. package/dist/s-two-pane-layout/s-two-pane-layout.js +2 -2
  28. package/dist/s-zoom-image/index.js +1 -1
  29. package/dist/s-zoom-image/s-zoom-image.js +2 -2
  30. package/dist/theme/theme-primitives.js +1 -1
  31. package/package.json +17 -3
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "registry": "https://registry.npmjs.org"
5
5
  },
6
- "version": "1.0.168",
6
+ "version": "1.0.170",
7
7
  "description": "advanced ui kit for solostylist",
8
8
  "private": false,
9
9
  "type": "module",
@@ -20,7 +20,8 @@
20
20
  "scripts": {
21
21
  "dev": "vite",
22
22
  "build": "tsc --p ./tsconfig-build.json && vite build",
23
- "build:docs": "vite build --config vite.docs.config.ts",
23
+ "build:mcp": "tsx scripts/build-mcp-data.ts",
24
+ "build:docs": "npm run build:mcp && vite build --config vite.docs.config.ts",
24
25
  "build:lib": "tsc --p ./tsconfig-build.json && vite build",
25
26
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
26
27
  "lint:fix": "eslint --fix . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@@ -58,19 +59,23 @@
58
59
  "react-i18next": "^15.5.1",
59
60
  "react-router-dom": "^7.8.2",
60
61
  "react-slick": "^0.31.0",
62
+ "react-syntax-highlighter": "^16.1.0",
61
63
  "slick-carousel": "^1.8.1",
62
64
  "uuid": "^11.1.0"
63
65
  },
64
66
  "devDependencies": {
65
67
  "@ianvs/prettier-plugin-sort-imports": "^4.4.2",
66
68
  "@joshwooding/vite-plugin-react-docgen-typescript": "^0.6.3",
69
+ "@types/fs-extra": "^11.0.4",
67
70
  "@types/node": "^22.15.30",
68
71
  "@types/react": "^19.1.6",
69
72
  "@types/react-dom": "^19.1.6",
70
73
  "@types/react-slick": "^0.23.13",
74
+ "@types/react-syntax-highlighter": "^15.5.13",
71
75
  "@types/uuid": "^10.0.0",
72
76
  "@typescript-eslint/eslint-plugin": "^8.33.1",
73
77
  "@typescript-eslint/parser": "^8.33.1",
78
+ "@vercel/node": "^5.5.16",
74
79
  "@vitejs/plugin-react": "^4.5.1",
75
80
  "baseline-browser-mapping": "^2.9.11",
76
81
  "eslint": "^9.28.0",
@@ -81,7 +86,10 @@
81
86
  "lint-staged": "^16.1.0",
82
87
  "prettier": "^3.5.3",
83
88
  "react": "^19.1.0",
89
+ "react-docgen-typescript": "^2.4.0",
84
90
  "react-dom": "^19.1.0",
91
+ "ts-node": "^10.9.2",
92
+ "tsx": "^4.21.0",
85
93
  "typescript": "^5.8.3",
86
94
  "vite": "^6.3.5",
87
95
  "vite-plugin-dts": "^4.5.4",
@@ -116,5 +124,11 @@
116
124
  },
117
125
  "keywords": [],
118
126
  "author": "Lê Đặng Trường Đạt",
119
- "license": "ISC"
127
+ "license": "ISC",
128
+ "dependencies": {
129
+ "@modelcontextprotocol/sdk": "^1.25.1",
130
+ "fs-extra": "^11.3.3",
131
+ "react-syntax-highlighter": "^16.1.0",
132
+ "zod": "^4.2.1"
133
+ }
120
134
  }