@bbodek/internal-ui 0.0.123 → 0.0.124
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/README.md +1 -19
- package/package.json +6 -8
- package/tailwind.config.js +0 -12
package/README.md
CHANGED
|
@@ -32,31 +32,13 @@ const nextConfig = {
|
|
|
32
32
|
|
|
33
33
|
### 3. Update your global css file
|
|
34
34
|
|
|
35
|
-
#### Standalone Project
|
|
36
|
-
|
|
37
35
|
```css
|
|
38
36
|
/* global.css */
|
|
39
37
|
@import 'tailwindcss';
|
|
40
38
|
@import '@bbodek/internal-ui/styles';
|
|
41
|
-
@config '@bbodek/internal-ui/tailwind-config';
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
#### Monorepo Project
|
|
45
|
-
Create a local Tailwind config file
|
|
46
|
-
|
|
47
|
-
``` javascript
|
|
48
|
-
/* tailwind.config.js */
|
|
49
|
-
import config from '@bbodek/internal-ui/tailwind-config'
|
|
50
|
-
|
|
51
|
-
export default config;
|
|
52
39
|
```
|
|
53
40
|
|
|
54
|
-
|
|
55
|
-
/* global.css */
|
|
56
|
-
@import 'tailwindcss';
|
|
57
|
-
@import '@bbodek/internal-ui/styles';
|
|
58
|
-
@config './tailwind.config.js'; /* Adjust the path as needed */
|
|
59
|
-
```
|
|
41
|
+
> ⚠️ `@config '@bbodek/internal-ui/tailwind-config'`는 0.0.124부터 제거되었습니다. tailwind 4.3.1+에서 content 글롭이 config 파일 위치 기준으로 해석되어 라이브러리 클래스가 누락되던 방식이므로, 기존에 사용 중이라면 해당 라인(및 이를 re-export 하던 로컬 tailwind config)을 삭제해주세요. 테마·safelist는 `@import '@bbodek/internal-ui/styles'` 한 줄로 모두 적용됩니다.
|
|
60
42
|
|
|
61
43
|
## Example
|
|
62
44
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bbodek/internal-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.124",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"homepage": "https://github.com/thebbodek/dotoli/tree/main/apps/internal-ui#readme",
|
|
12
12
|
"files": [
|
|
13
13
|
"dist",
|
|
14
|
-
"tailwind.config.js",
|
|
15
14
|
"src/styles"
|
|
16
15
|
],
|
|
17
16
|
"exports": {
|
|
@@ -19,8 +18,7 @@
|
|
|
19
18
|
"import": "./dist/index.es.js",
|
|
20
19
|
"types": "./dist/index.d.ts"
|
|
21
20
|
},
|
|
22
|
-
"./styles": "./src/styles/globals.css"
|
|
23
|
-
"./tailwind-config": "./tailwind.config.js"
|
|
21
|
+
"./styles": "./src/styles/globals.css"
|
|
24
22
|
},
|
|
25
23
|
"dependencies": {
|
|
26
24
|
"@floating-ui/react": "^0.27.8",
|
|
@@ -33,16 +31,16 @@
|
|
|
33
31
|
"pretendard": "^1.3.9",
|
|
34
32
|
"react-loading-skeleton": "^3.5.0",
|
|
35
33
|
"react-pdf": "^10.2.0",
|
|
36
|
-
"@bbodek/hooks": "0.0.
|
|
37
|
-
"@bbodek/utils": "0.0.
|
|
34
|
+
"@bbodek/hooks": "0.0.97",
|
|
35
|
+
"@bbodek/utils": "0.0.94"
|
|
38
36
|
},
|
|
39
37
|
"peerDependencies": {
|
|
40
38
|
"react": "^19.2.1",
|
|
41
39
|
"react-dom": "^19.2.1",
|
|
42
40
|
"overlay-kit": "^1.8.6",
|
|
43
41
|
"tailwindcss": "^4",
|
|
44
|
-
"@bbodek/hooks": "0.0.
|
|
45
|
-
"@bbodek/utils": "0.0.
|
|
42
|
+
"@bbodek/hooks": "0.0.97",
|
|
43
|
+
"@bbodek/utils": "0.0.94"
|
|
46
44
|
},
|
|
47
45
|
"devDependencies": {
|
|
48
46
|
"@rollup/plugin-image": "^3.0.3",
|
package/tailwind.config.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
export default {
|
|
3
|
-
content: [
|
|
4
|
-
'./src/**/*.{js,jsx,ts,tsx}',
|
|
5
|
-
'./src/**/*.stories.tsx',
|
|
6
|
-
'./node_modules/@bbodek/internal-ui/dist/**.{js,ts,jsx,tsx}',
|
|
7
|
-
],
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {},
|
|
10
|
-
},
|
|
11
|
-
safelist: [],
|
|
12
|
-
};
|