stp-ui-kit 0.0.105 → 0.0.108

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 (37) hide show
  1. package/README.md +224 -153
  2. package/dist/banners/Sat.svg +3 -3
  3. package/dist/banners/SatFinished.svg +3 -3
  4. package/dist/components/data/Table/Table.d.ts +12 -11
  5. package/dist/components/display/Chip/Chip.d.ts +2 -2
  6. package/dist/components/display/InputChip/InputChip.d.ts +6 -0
  7. package/dist/components/display/OptionList/OptionList.d.ts +10 -1
  8. package/dist/components/display/OptionList/index.d.ts +2 -0
  9. package/dist/components/display/index.d.ts +1 -0
  10. package/dist/components/feedback/Info/Info.d.ts +2 -2
  11. package/dist/components/feedback/Modal/Modal.d.ts +1 -1
  12. package/dist/components/feedback/Window/Window.d.ts +0 -1
  13. package/dist/components/form/Select/Select.d.ts +2 -2
  14. package/dist/components/icons/index.d.ts +2 -0
  15. package/dist/components/index.d.ts +1 -0
  16. package/dist/icons/ArrowLine.svg +3 -3
  17. package/dist/icons/ParentLine.svg +3 -3
  18. package/dist/icons/Plus.svg +3 -0
  19. package/dist/icons/SideLine.svg +3 -3
  20. package/dist/icons/X.svg +3 -0
  21. package/dist/icons/decorativeIcons/Alert.svg +11 -11
  22. package/dist/icons/decorativeIcons/Error.svg +11 -11
  23. package/dist/icons/decorativeIcons/Locked.svg +10 -10
  24. package/dist/icons/decorativeIcons/Success.svg +10 -10
  25. package/dist/stp-ui-kit.es.js +8673 -4887
  26. package/dist/stp-ui-kit.es.js.map +1 -1
  27. package/dist/style.css +1 -1
  28. package/dist/styles/tokens.d.ts +112 -0
  29. package/dist/vite-env.d.ts +6 -6
  30. package/package.json +120 -109
  31. package/src/styles/_variables.scss +1179 -1179
  32. package/src/styles/main.scss +11 -11
  33. package/src/styles/tokens.d.ts +112 -0
  34. package/src/styles/tokens.js +94 -0
  35. package/dist/components/ui/table.d.ts +0 -10
  36. package/dist/lib/exam/constants/index.d.ts +0 -6
  37. package/dist/lib/exam/types/question.types.d.ts +0 -49
package/package.json CHANGED
@@ -1,109 +1,120 @@
1
- {
2
- "name": "stp-ui-kit",
3
- "version": "0.0.105",
4
- "private": false,
5
- "type": "module",
6
- "description": "Smartestprep UI Kit for React apps",
7
- "license": "MIT",
8
- "module": "dist/stp-ui-kit.es.js",
9
- "types": "dist/types/index.d.ts",
10
- "style": "dist/styles/index.css",
11
- "files": [
12
- "dist",
13
- "src/styles",
14
- "src/styles/_variables.scss",
15
- "src/styles/main.scss",
16
- "README.md",
17
- "LICENSE"
18
- ],
19
- "publishConfig": {
20
- "access": "public"
21
- },
22
- "engines": {
23
- "node": ">=18"
24
- },
25
- "scripts": {
26
- "dev": "vite",
27
- "build": "vite build",
28
- "lint": "eslint --ext .ts,.tsx ./src",
29
- "format": "prettier ./src/**/*.{ts,tsx} --write",
30
- "storybook": "storybook dev -p 6006",
31
- "build-storybook": "storybook build",
32
- "generate-tokens": "tsx scripts/generate-tokens.ts"
33
- },
34
- "dependencies": {
35
- "@solar-icons/react-perf": "^1.0.0",
36
- "classnames": "^2.5.1",
37
- "clsx": "^2.1.1",
38
- "lucide-react": "^0.511.0",
39
- "sonner": "^2.0.7",
40
- "tailwind-merge": "^3.3.0"
41
- },
42
- "peerDependencies": {
43
- "lucide-react": "^0.511.0",
44
- "react": "^18.0.0 || ^19.0.0",
45
- "react-dom": "^18.0.0 || ^19.0.0"
46
- },
47
- "peerDependenciesMeta": {
48
- "lucide-react": {
49
- "optional": true
50
- },
51
- "sonner": {
52
- "optional": true
53
- }
54
- },
55
- "devDependencies": {
56
- "@eslint/js": "^9.3.0",
57
- "@feature-sliced/eslint-config": "^0.1.1",
58
- "@storybook/addon-essentials": "^8.6.14",
59
- "@storybook/addon-interactions": "^8.6.14",
60
- "@storybook/addon-links": "^8.6.14",
61
- "@storybook/addon-onboarding": "^8.6.14",
62
- "@storybook/blocks": "^8.6.14",
63
- "@storybook/react": "^8.6.14",
64
- "@storybook/react-vite": "^8.6.14",
65
- "@storybook/test": "^8.6.14",
66
- "@svgr/rollup": "^8.1.0",
67
- "@tailwindcss/vite": "^4.0.7",
68
- "@trivago/prettier-plugin-sort-imports": "^4.3.0",
69
- "@types/node": "^20.12.12",
70
- "@types/react": "^18.2.66",
71
- "@types/react-dom": "^18.2.22",
72
- "@typescript-eslint/eslint-plugin": "^7.10.0",
73
- "@typescript-eslint/parser": "^7.10.0",
74
- "@vitejs/plugin-react": "^4.2.1",
75
- "dayjs": "^1.11.11",
76
- "eslint": "8.x",
77
- "eslint-config-prettier": "^9.1.0",
78
- "eslint-import-resolver-typescript": "^3.10.1",
79
- "eslint-plugin-boundaries": "^4.2.1",
80
- "eslint-plugin-import": "^2.32.0",
81
- "eslint-plugin-prettier": "^5.1.3",
82
- "eslint-plugin-react": "^7.34.1",
83
- "eslint-plugin-react-hooks": "^4.6.0",
84
- "eslint-plugin-react-refresh": "^0.4.6",
85
- "eslint-plugin-storybook": "^0.12.0",
86
- "globals": "^15.3.0",
87
- "prettier": "^3.2.5",
88
- "sass": "^1.89.2",
89
- "storybook": "^8.6.14",
90
- "tailwindcss": "^4.0.7",
91
- "tsx": "^4.19.4",
92
- "typescript": "^5.4.5",
93
- "typescript-eslint": "^7.10.0",
94
- "vite": "^5.2.0",
95
- "vite-plugin-dts": "^4.5.4",
96
- "vite-plugin-svgr": "^4.3.0"
97
- },
98
- "sideEffects": [
99
- "**/*.css",
100
- "**/*.scss"
101
- ],
102
- "keywords": [
103
- "react",
104
- "ui-kit",
105
- "components",
106
- "design-system",
107
- "tailwind"
108
- ]
109
- }
1
+ {
2
+ "name": "stp-ui-kit",
3
+ "version": "0.0.108",
4
+ "private": false,
5
+ "type": "module",
6
+ "description": "Smartestprep UI Kit for React apps",
7
+ "license": "MIT",
8
+ "module": "dist/stp-ui-kit.es.js",
9
+ "types": "dist/types/index.d.ts",
10
+ "style": "dist/style.css",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/types/index.d.ts",
14
+ "import": "./dist/stp-ui-kit.es.js",
15
+ "default": "./dist/stp-ui-kit.es.js"
16
+ },
17
+ "./styles": "./dist/style.css",
18
+ "./styles/variables": "./src/styles/_variables.scss",
19
+ "./styles/main": "./src/styles/main.scss",
20
+ "./tokens": {
21
+ "types": "./src/styles/tokens.d.ts",
22
+ "import": "./src/styles/tokens.js",
23
+ "default": "./src/styles/tokens.js"
24
+ }
25
+ },
26
+ "files": [
27
+ "dist",
28
+ "src/styles",
29
+ "README.md",
30
+ "LICENSE"
31
+ ],
32
+ "publishConfig": {
33
+ "access": "public"
34
+ },
35
+ "engines": {
36
+ "node": ">=18"
37
+ },
38
+ "scripts": {
39
+ "dev": "vite",
40
+ "build": "vite build",
41
+ "build:watch": "vite build --watch",
42
+ "dev:link": "npm run build:watch",
43
+ "prepublishOnly": "npm run build",
44
+ "lint": "eslint --ext .ts,.tsx ./src",
45
+ "format": "prettier ./src/**/*.{ts,tsx} --write",
46
+ "storybook": "storybook dev -p 6006",
47
+ "build-storybook": "storybook build",
48
+ "generate-tokens": "tsx scripts/generate-tokens.ts"
49
+ },
50
+ "dependencies": {
51
+ "@solar-icons/react-perf": "^1.0.0",
52
+ "classnames": "^2.5.1",
53
+ "clsx": "^2.1.1",
54
+ "sonner": "^2.0.7",
55
+ "tailwind-merge": "^3.3.0"
56
+ },
57
+ "peerDependencies": {
58
+ "react": "^18.0.0 || ^19.0.0",
59
+ "react-dom": "^18.0.0 || ^19.0.0"
60
+ },
61
+ "peerDependenciesMeta": {
62
+ "sonner": {
63
+ "optional": true
64
+ }
65
+ },
66
+ "devDependencies": {
67
+ "@eslint/js": "^9.3.0",
68
+ "@feature-sliced/eslint-config": "^0.1.1",
69
+ "@storybook/addon-essentials": "^8.6.14",
70
+ "@storybook/addon-interactions": "^8.6.14",
71
+ "@storybook/addon-links": "^8.6.14",
72
+ "@storybook/addon-onboarding": "^8.6.14",
73
+ "@storybook/blocks": "^8.6.14",
74
+ "@storybook/react": "^8.6.14",
75
+ "@storybook/react-vite": "^8.6.14",
76
+ "@storybook/test": "^8.6.14",
77
+ "@svgr/rollup": "^8.1.0",
78
+ "@tailwindcss/vite": "^4.0.7",
79
+ "@trivago/prettier-plugin-sort-imports": "^4.3.0",
80
+ "@types/node": "^20.12.12",
81
+ "@types/react": "^18.2.66",
82
+ "@types/react-dom": "^18.2.22",
83
+ "@typescript-eslint/eslint-plugin": "^7.10.0",
84
+ "@typescript-eslint/parser": "^7.10.0",
85
+ "@vitejs/plugin-react": "^4.2.1",
86
+ "dayjs": "^1.11.11",
87
+ "eslint": "8.x",
88
+ "eslint-config-prettier": "^9.1.0",
89
+ "eslint-import-resolver-typescript": "^3.10.1",
90
+ "eslint-plugin-boundaries": "^4.2.1",
91
+ "eslint-plugin-import": "^2.32.0",
92
+ "eslint-plugin-prettier": "^5.1.3",
93
+ "eslint-plugin-react": "^7.34.1",
94
+ "eslint-plugin-react-hooks": "^4.6.0",
95
+ "eslint-plugin-react-refresh": "^0.4.6",
96
+ "eslint-plugin-storybook": "^0.12.0",
97
+ "globals": "^15.3.0",
98
+ "prettier": "^3.2.5",
99
+ "sass": "^1.89.2",
100
+ "storybook": "^8.6.14",
101
+ "tailwindcss": "^4.0.7",
102
+ "tsx": "^4.19.4",
103
+ "typescript": "^5.4.5",
104
+ "typescript-eslint": "^7.10.0",
105
+ "vite": "^5.2.0",
106
+ "vite-plugin-dts": "^4.5.4",
107
+ "vite-plugin-svgr": "^4.3.0"
108
+ },
109
+ "sideEffects": [
110
+ "**/*.css",
111
+ "**/*.scss"
112
+ ],
113
+ "keywords": [
114
+ "react",
115
+ "ui-kit",
116
+ "components",
117
+ "design-system",
118
+ "tailwind"
119
+ ]
120
+ }