@inntechcorp/it-design 3.1.0 → 3.1.2

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,35 +1,20 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "3.1.0",
3
+ "version": "3.1.2",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",
7
- "main": "dist/cjs/index.js",
8
- "module": "dist/es/index.js",
7
+ "main": "dist/index.cjs.js",
8
+ "module": "dist/index.esm.js",
9
9
  "types": "dist/index.d.ts",
10
- "exports": {
11
- ".": {
12
- "import": {
13
- "types": "./dist/index.d.ts",
14
- "default": "./dist/es/index.js"
15
- },
16
- "require": {
17
- "types": "./dist/index.d.ts",
18
- "default": "./dist/cjs/index.js"
19
- }
20
- },
21
- "./global.css": "./dist/global.css",
22
- "./dist/global.css": "./dist/global.css",
23
- "./locales/*": "./dist/locales/*"
24
- },
25
10
  "type": "module",
26
11
  "sideEffects": [
27
12
  "*.css",
28
13
  "*.scss",
29
14
  "lib/global.css",
15
+ "lib/index.ts",
30
16
  "lib/context/**",
31
- "lib/helpers/datetime/**",
32
- "lib/helpers/theme/cssVariables.ts"
17
+ "lib/helpers/datetime/**"
33
18
  ],
34
19
  "files": [
35
20
  "dist",
@@ -37,16 +22,15 @@
37
22
  ],
38
23
  "scripts": {
39
24
  "prepublish": "rollup -c --bundleConfigAsCjs",
40
- "build-rollup": "rm -rf ./dist && rollup -c --bundleConfigAsCjs",
25
+ "build-rollup": "[ -d ./dist ] || mkdir dist && rm -r ./dist && rollup -c --bundleConfigAsCjs",
41
26
  "analyze": "ROLLUP_WATCH=false rollup -c --bundleConfigAsCjs && open dist/stats.html",
42
27
  "start-rollup": "rollup -c -w --bundleConfigAsCjs",
43
- "npm-publish": "yarn run build-rollup && node -e \"const pkg=require('./package.json'); delete pkg.private; delete pkg.workspaces; require('fs').writeFileSync('package.json', JSON.stringify(pkg, null, 2))\" && npm publish && git checkout package.json",
28
+ "npm-publish": "yarn run build-rollup && npm publish --access public",
44
29
  "start": "vite --host",
45
30
  "build": "[ -d ./build ] || mkdir build && rm -r ./build && tsc --p ./tsconfig-build.json && vite build",
46
31
  "serve": "vite preview",
47
32
  "storybook": "storybook dev -p 6006",
48
- "build-storybook": "storybook build",
49
- "test-app": "cd examples/test-app && yarn dev"
33
+ "build-storybook": "storybook build"
50
34
  },
51
35
  "repository": {
52
36
  "type": "git",
@@ -70,6 +54,8 @@
70
54
  "postcss-calc": "10.1.1",
71
55
  "prop-types": "^15.8.1",
72
56
  "query-string": "9.2.2",
57
+ "react": "19.1.1",
58
+ "react-dom": "19.1.1",
73
59
  "react-i18next": "15.7.3",
74
60
  "react-nanny": "^2.15.0",
75
61
  "react-number-format": "5.4.4",
@@ -81,6 +67,7 @@
81
67
  "react-virtuoso": "^4.12.8",
82
68
  "smoothscroll-polyfill": "^0.4.4",
83
69
  "sonner": "^2.0.7",
70
+ "styled-components": "6.1.19",
84
71
  "uuid": "11.1.0",
85
72
  "web-vitals": "5.1.0"
86
73
  },
@@ -91,19 +78,16 @@
91
78
  "@babel/preset-react": "7.27.1",
92
79
  "@babel/preset-typescript": "7.27.1",
93
80
  "@babel/runtime": "7.28.3",
94
- "react": "19.1.1",
95
- "react-dom": "19.1.1",
96
- "styled-components": "6.1.19",
97
81
  "@rollup/plugin-babel": "6.0.4",
98
82
  "@rollup/plugin-commonjs": "28.0.6",
99
83
  "@rollup/plugin-image": "^3.0.3",
100
84
  "@rollup/plugin-json": "6.1.0",
101
85
  "@rollup/plugin-node-resolve": "16.0.1",
102
- "@storybook/addon-docs": "10.0.0",
103
- "@storybook/addon-links": "10.0.0",
104
- "@storybook/addon-onboarding": "10.0.0",
105
- "@storybook/builder-vite": "10.0.0",
106
- "@storybook/react-vite": "10.0.0",
86
+ "@storybook/addon-docs": "^9.0.9",
87
+ "@storybook/addon-links": "9.1.4",
88
+ "@storybook/addon-onboarding": "9.1.4",
89
+ "@storybook/builder-vite": "9.1.4",
90
+ "@storybook/react-vite": "9.1.4",
107
91
  "@testing-library/jest-dom": "6.8.0",
108
92
  "@testing-library/react": "16.3.0",
109
93
  "@testing-library/user-event": "14.6.1",
@@ -117,7 +101,7 @@
117
101
  "copy-webpack-plugin": "13.0.1",
118
102
  "customize-cra": "^1.0.0",
119
103
  "dts-bundle-generator": "^9.5.1",
120
- "eslint-plugin-storybook": "10.0.0",
104
+ "eslint-plugin-storybook": "9.1.4",
121
105
  "esm": "^3.2.25",
122
106
  "less-loader": "12.3.0",
123
107
  "postcss-custom-properties": "14.0.6",
@@ -135,13 +119,15 @@
135
119
  "rollup-plugin-node-polyfills": "^0.2.1",
136
120
  "rollup-plugin-peer-deps-external": "^2.2.4",
137
121
  "rollup-plugin-postcss": "^4.0.2",
122
+ "rollup-plugin-scss": "4.0.1",
138
123
  "rollup-plugin-sourcemaps": "^0.6.3",
139
124
  "rollup-plugin-styles": "4.0.0",
140
125
  "rollup-plugin-terser": "^7.0.2",
141
126
  "rollup-plugin-typescript2": "0.36.0",
142
127
  "rollup-plugin-visualizer": "^5.12.0",
128
+ "sass": "1.92.0",
143
129
  "source-map-loader": "5.0.0",
144
- "storybook": "10.0.0",
130
+ "storybook": "9.1.4",
145
131
  "tslib": "2.8.1",
146
132
  "typescript": "5.9.2",
147
133
  "vite": "7.1.4",
@@ -186,8 +172,22 @@
186
172
  "resolutions": {
187
173
  "jackspeak": "2.1.1"
188
174
  },
175
+ "exports": {
176
+ ".": {
177
+ "import": {
178
+ "types": "./dist/index.d.mts",
179
+ "default": "./dist/index.esm.js"
180
+ },
181
+ "require": {
182
+ "types": "./dist/index.d.ts",
183
+ "default": "./dist/index.cjs.js"
184
+ }
185
+ },
186
+ "./dist/global.css": "./dist/global.css",
187
+ "./locales/*": "./dist/locales/*"
188
+ },
189
189
  "directories": {
190
190
  "lib": "lib"
191
191
  },
192
192
  "homepage": "https://github.com/inntechcorp/it-design-library#readme"
193
- }
193
+ }