@jbpark/ui-kit 1.0.0 → 1.0.1

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": "@jbpark/ui-kit",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -10,48 +10,49 @@
10
10
  ],
11
11
  "exports": {
12
12
  ".": {
13
- "default": "./src/index.ts",
13
+ "types": "./dist/index.d.mts",
14
14
  "import": "./dist/index.mjs",
15
15
  "require": "./dist/index.cjs",
16
- "types": "./dist/index.d.ts"
16
+ "default": "./dist/index.mjs"
17
17
  },
18
18
  "./Typography": {
19
- "default": "./src/components/atoms/Typography/index.tsx",
19
+ "types": "./dist/Typography.d.mts",
20
20
  "import": "./dist/Typography.mjs",
21
21
  "require": "./dist/Typography.cjs",
22
- "types": "./dist/Typography.d.ts"
22
+ "default": "./dist/Typography.mjs"
23
23
  },
24
24
  "./Menu": {
25
- "default": "./src/components/molecules/Menu/index.tsx",
25
+ "types": "./dist/Menu.d.mts",
26
26
  "import": "./dist/Menu.mjs",
27
27
  "require": "./dist/Menu.cjs",
28
- "types": "./dist/Menu.d.ts"
28
+ "default": "./dist/Menu.mjs"
29
29
  },
30
30
  "./Reveals": {
31
- "default": "./src/components/molecules/Reveals/index.tsx",
31
+ "types": "./dist/Reveals.d.mts",
32
32
  "import": "./dist/Reveals.mjs",
33
33
  "require": "./dist/Reveals.cjs",
34
- "types": "./dist/Reveals.d.ts"
34
+ "default": "./dist/Reveals.mjs"
35
35
  },
36
36
  "./utils": {
37
- "default": "./src/lib/utils/index.ts",
37
+ "types": "./dist/utils.d.mts",
38
38
  "import": "./dist/utils.mjs",
39
39
  "require": "./dist/utils.cjs",
40
- "types": "./dist/utils.d.ts"
40
+ "default": "./dist/utils.mjs"
41
41
  },
42
42
  "./enums": {
43
- "default": "./src/lib/enums/index.ts",
43
+ "types": "./dist/enums.d.mts",
44
44
  "import": "./dist/enums.mjs",
45
45
  "require": "./dist/enums.cjs",
46
- "types": "./dist/enums.d.ts"
46
+ "default": "./dist/enums.mjs"
47
47
  },
48
48
  "./style.css": {
49
- "default": "./src/globals.css",
50
- "import": "./dist/globals.css",
51
- "require": "./dist/globals.css"
49
+ "import": "./dist/output.css",
50
+ "require": "./dist/output.css",
51
+ "default": "./dist/output.css"
52
52
  }
53
53
  },
54
54
  "scripts": {
55
+ "prebuild": "npx @tailwindcss/cli -i ./src/globals.css -o ./src/output.css",
55
56
  "build": "tsdown",
56
57
  "lint": "eslint . --max-warnings 0",
57
58
  "generate:component": "turbo gen react-component",
@@ -62,6 +63,7 @@
62
63
  "devDependencies": {
63
64
  "@repo/eslint-config": "*",
64
65
  "@repo/typescript-config": "*",
66
+ "@tailwindcss/cli": "^4.1.18",
65
67
  "@types/node": "^22.15.3",
66
68
  "@types/react": "19.1.0",
67
69
  "@types/react-dom": "19.1.1",
@@ -95,5 +97,8 @@
95
97
  "peerDependencies": {
96
98
  "react": "^18.0.0 || ^19.0.0",
97
99
  "react-dom": "^18.0.0 || ^19.0.0"
98
- }
100
+ },
101
+ "main": "./dist/index.cjs",
102
+ "module": "./dist/index.mjs",
103
+ "types": "./dist/index.d.mts"
99
104
  }
package/dist/globals.css DELETED
@@ -1,125 +0,0 @@
1
- @import 'tailwindcss';
2
- @import 'tw-animate-css';
3
-
4
- @config "../tailwind.config.js";
5
-
6
- @custom-variant dark (&:is(.dark *));
7
-
8
- :root {
9
- --background: oklch(1 0 0);
10
- --foreground: oklch(0.145 0 0);
11
- --card: oklch(1 0 0);
12
- --card-foreground: oklch(0.145 0 0);
13
- --popover: oklch(1 0 0);
14
- --popover-foreground: oklch(0.145 0 0);
15
- --primary: oklch(0.205 0 0);
16
- --primary-foreground: oklch(0.985 0 0);
17
- --secondary: oklch(0.97 0 0);
18
- --secondary-foreground: oklch(0.205 0 0);
19
- --muted: oklch(0.97 0 0);
20
- --muted-foreground: oklch(0.556 0 0);
21
- --accent: oklch(0.97 0 0);
22
- --accent-foreground: oklch(0.205 0 0);
23
- --destructive: oklch(0.577 0.245 27.325);
24
- --destructive-foreground: oklch(0.577 0.245 27.325);
25
- --border: oklch(0.922 0 0);
26
- --input: oklch(0.922 0 0);
27
- --ring: oklch(0.708 0 0);
28
- --chart-1: oklch(0.646 0.222 41.116);
29
- --chart-2: oklch(0.6 0.118 184.704);
30
- --chart-3: oklch(0.398 0.07 227.392);
31
- --chart-4: oklch(0.828 0.189 84.429);
32
- --chart-5: oklch(0.769 0.188 70.08);
33
- --radius: 0.625rem;
34
- --sidebar: oklch(0.985 0 0);
35
- --sidebar-foreground: oklch(0.145 0 0);
36
- --sidebar-primary: oklch(0.205 0 0);
37
- --sidebar-primary-foreground: oklch(0.985 0 0);
38
- --sidebar-accent: oklch(0.97 0 0);
39
- --sidebar-accent-foreground: oklch(0.205 0 0);
40
- --sidebar-border: oklch(0.922 0 0);
41
- --sidebar-ring: oklch(0.708 0 0);
42
- }
43
-
44
- .dark {
45
- --background: oklch(0.145 0 0);
46
- --foreground: oklch(0.985 0 0);
47
- --card: oklch(0.145 0 0);
48
- --card-foreground: oklch(0.985 0 0);
49
- --popover: oklch(0.145 0 0);
50
- --popover-foreground: oklch(0.985 0 0);
51
- --primary: oklch(0.985 0 0);
52
- --primary-foreground: oklch(0.205 0 0);
53
- --secondary: oklch(0.269 0 0);
54
- --secondary-foreground: oklch(0.985 0 0);
55
- --muted: oklch(0.269 0 0);
56
- --muted-foreground: oklch(0.708 0 0);
57
- --accent: oklch(0.269 0 0);
58
- --accent-foreground: oklch(0.985 0 0);
59
- --destructive: oklch(0.396 0.141 25.723);
60
- --destructive-foreground: oklch(0.637 0.237 25.331);
61
- --border: oklch(0.269 0 0);
62
- --input: oklch(0.269 0 0);
63
- --ring: oklch(0.439 0 0);
64
- --chart-1: oklch(0.488 0.243 264.376);
65
- --chart-2: oklch(0.696 0.17 162.48);
66
- --chart-3: oklch(0.769 0.188 70.08);
67
- --chart-4: oklch(0.627 0.265 303.9);
68
- --chart-5: oklch(0.645 0.246 16.439);
69
- --sidebar: oklch(0.205 0 0);
70
- --sidebar-foreground: oklch(0.985 0 0);
71
- --sidebar-primary: oklch(0.488 0.243 264.376);
72
- --sidebar-primary-foreground: oklch(0.985 0 0);
73
- --sidebar-accent: oklch(0.269 0 0);
74
- --sidebar-accent-foreground: oklch(0.985 0 0);
75
- --sidebar-border: oklch(0.269 0 0);
76
- --sidebar-ring: oklch(0.439 0 0);
77
- }
78
-
79
- @theme inline {
80
- --color-background: var(--background);
81
- --color-foreground: var(--foreground);
82
- --color-card: var(--card);
83
- --color-card-foreground: var(--card-foreground);
84
- --color-popover: var(--popover);
85
- --color-popover-foreground: var(--popover-foreground);
86
- --color-primary: var(--primary);
87
- --color-primary-foreground: var(--primary-foreground);
88
- --color-secondary: var(--secondary);
89
- --color-secondary-foreground: var(--secondary-foreground);
90
- --color-muted: var(--muted);
91
- --color-muted-foreground: var(--muted-foreground);
92
- --color-accent: var(--accent);
93
- --color-accent-foreground: var(--accent-foreground);
94
- --color-destructive: var(--destructive);
95
- --color-destructive-foreground: var(--destructive-foreground);
96
- --color-border: var(--border);
97
- --color-input: var(--input);
98
- --color-ring: var(--ring);
99
- --color-chart-1: var(--chart-1);
100
- --color-chart-2: var(--chart-2);
101
- --color-chart-3: var(--chart-3);
102
- --color-chart-4: var(--chart-4);
103
- --color-chart-5: var(--chart-5);
104
- --radius-sm: calc(var(--radius) - 4px);
105
- --radius-md: calc(var(--radius) - 2px);
106
- --radius-lg: var(--radius);
107
- --radius-xl: calc(var(--radius) + 4px);
108
- --color-sidebar: var(--sidebar);
109
- --color-sidebar-foreground: var(--sidebar-foreground);
110
- --color-sidebar-primary: var(--sidebar-primary);
111
- --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
112
- --color-sidebar-accent: var(--sidebar-accent);
113
- --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
114
- --color-sidebar-border: var(--sidebar-border);
115
- --color-sidebar-ring: var(--sidebar-ring);
116
- }
117
-
118
- @layer base {
119
- * {
120
- @apply border-border outline-ring/50;
121
- }
122
- body {
123
- @apply bg-background text-foreground;
124
- }
125
- }