@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui",
3
- "version": "2.0.9",
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 && npm run build:css",
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
@@ -1,5 +1,5 @@
1
- // Import CSS - Must be first
2
- import "./styles/index.css"
1
+ // CSS import kaldırıldı - Style conflict'leri önlemek için
2
+ // Component'ler Tailwind class'ları kullanacak
3
3
 
4
4
  // FREE UI Components Export - Source of Truth
5
5
  export * from "./components/ui/accordion"
@@ -1,6 +1,7 @@
1
- /* Tailwind CSS v3 direktifleri */
2
- @tailwind base;
3
- @tailwind components;
4
- @tailwind utilities;
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
- /* Temel stilleri buraya ekleyin */
7
+ /* Component-specific utility classes buraya eklenebilir */
@@ -1,10 +1,10 @@
1
- /* MoonUI Design Tokens */
1
+ /* MoonUI Design Tokens - Namespaced to prevent conflicts */
2
2
 
3
- :root {
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
@@ -1,4 +0,0 @@
1
- /* MoonUI - Complete CSS System */
2
- @import "./tailwind.css";
3
- @import "./tokens.css";
4
- @import "./design-system.css";