@moontra/moonui 2.0.9 → 2.0.11
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/dist/index.js +0 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -25
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -12
- package/src/index.tsx +2 -2
- package/src/styles/tailwind.css +6 -5
- package/src/styles/tokens.css +3 -3
- package/dist/index.css +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moontra/moonui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Premium React component library with modern design and customization",
|
|
5
5
|
"author": "MoonUI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,11 +15,7 @@
|
|
|
15
15
|
"main": "dist/index.js",
|
|
16
16
|
"module": "dist/index.mjs",
|
|
17
17
|
"types": "dist/index.d.ts",
|
|
18
|
-
"sideEffects":
|
|
19
|
-
"**/*.css",
|
|
20
|
-
"dist/**/*.css",
|
|
21
|
-
"src/**/*.css"
|
|
22
|
-
],
|
|
18
|
+
"sideEffects": false,
|
|
23
19
|
"files": [
|
|
24
20
|
"dist/**",
|
|
25
21
|
"src/**",
|
|
@@ -30,11 +26,8 @@
|
|
|
30
26
|
".": {
|
|
31
27
|
"types": "./dist/index.d.ts",
|
|
32
28
|
"import": "./dist/index.mjs",
|
|
33
|
-
"require": "./dist/index.js"
|
|
34
|
-
"style": "./dist/index.css"
|
|
29
|
+
"require": "./dist/index.js"
|
|
35
30
|
},
|
|
36
|
-
"./styles.css": "./dist/index.css",
|
|
37
|
-
"./css": "./dist/index.css",
|
|
38
31
|
"./components/*": {
|
|
39
32
|
"source": "./src/components/ui/*.tsx",
|
|
40
33
|
"import": "./dist/components/ui/*.mjs",
|
|
@@ -52,9 +45,8 @@
|
|
|
52
45
|
],
|
|
53
46
|
"scripts": {
|
|
54
47
|
"dev": "tsup src/index.tsx --format esm,cjs --dts --watch",
|
|
55
|
-
"build": "npm run build:js
|
|
48
|
+
"build": "npm run build:js",
|
|
56
49
|
"build:js": "tsup src/index.tsx --format esm,cjs",
|
|
57
|
-
"build:css": "cp src/styles/index.css dist/index.css",
|
|
58
50
|
"build:dts": "tsup src/index.tsx --format esm,cjs --dts",
|
|
59
51
|
"lint": "eslint \"src/**/*.{ts,tsx}\" --fix",
|
|
60
52
|
"clean": "rm -rf dist",
|
package/src/index.tsx
CHANGED
package/src/styles/tailwind.css
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/*
|
|
2
|
+
* MoonUI Tailwind CSS
|
|
3
|
+
* NOT: Bu dosya artık tailwind direktiflerini içermiyor
|
|
4
|
+
* Ana proje zaten Tailwind kullandığı için çakışmayı önlemek amacıyla kaldırıldı
|
|
5
|
+
*/
|
|
5
6
|
|
|
6
|
-
/*
|
|
7
|
+
/* Component-specific utility classes buraya eklenebilir */
|
package/src/styles/tokens.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* MoonUI Design Tokens */
|
|
1
|
+
/* MoonUI Design Tokens - Namespaced to prevent conflicts */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.moonui-root {
|
|
4
4
|
/* === COLOR SYSTEM === */
|
|
5
5
|
|
|
6
6
|
/* Primary Colors */
|
|
7
|
-
--primary-50: 240 249 255;
|
|
7
|
+
--moonui-primary-50: 240 249 255;
|
|
8
8
|
--primary-100: 224 242 254;
|
|
9
9
|
--primary-200: 186 230 253;
|
|
10
10
|
--primary-300: 125 211 252;
|
package/dist/index.css
DELETED