@o2project/design-system 1.5.0 → 1.5.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/CHANGELOG.md +12 -0
- package/README.md +2 -2
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [1.5.2](https://github.com/o2project/design-system/compare/v1.5.1...v1.5.2) (2026-01-18)
|
|
2
|
+
|
|
3
|
+
### 📚 Some changes
|
|
4
|
+
|
|
5
|
+
* **deps:** update actions/setup-node action to v6.2.0 ([6abb9e3](https://github.com/o2project/design-system/commit/6abb9e345a58f4d741bc06076c33dbc019cc3737))
|
|
6
|
+
|
|
7
|
+
## [1.5.1](https://github.com/o2project/design-system/compare/v1.5.0...v1.5.1) (2026-01-13)
|
|
8
|
+
|
|
9
|
+
### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
* add package exports for dist files ([9624b84](https://github.com/o2project/design-system/commit/9624b84b9dab850f4bff44c4c579d8f6a4061d8b))
|
|
12
|
+
|
|
1
13
|
## [1.5.0](https://github.com/o2project/design-system/compare/v1.4.2...v1.5.0) (2026-01-10)
|
|
2
14
|
|
|
3
15
|
### ✨ Features
|
package/README.md
CHANGED
|
@@ -121,7 +121,7 @@ This command generates:
|
|
|
121
121
|
#### Pure CSS
|
|
122
122
|
|
|
123
123
|
```css
|
|
124
|
-
@import '@o2project/design-system/
|
|
124
|
+
@import '@o2project/design-system/main.css';
|
|
125
125
|
|
|
126
126
|
.my-component {
|
|
127
127
|
color: var(--color-primary-main);
|
|
@@ -136,7 +136,7 @@ Tailwind CSS v4 uses CSS-first configuration. Import the design system's color t
|
|
|
136
136
|
```css
|
|
137
137
|
/* app.css or main.css */
|
|
138
138
|
@import 'tailwindcss';
|
|
139
|
-
@import '@o2project/design-system/
|
|
139
|
+
@import '@o2project/design-system/tailwind.css';
|
|
140
140
|
```
|
|
141
141
|
|
|
142
142
|
Then use the color classes in your HTML/JSX:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o2project/design-system",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Design system for O2 Project",
|
|
6
6
|
"publishConfig": {
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
},
|
|
9
9
|
"main": "dist/main.css",
|
|
10
10
|
"exports": {
|
|
11
|
+
".": "./dist/main.css",
|
|
12
|
+
"./main.css": "./dist/main.css",
|
|
13
|
+
"./tailwind.css": "./dist/main.tailwind.css",
|
|
11
14
|
"./panda.config": "./dist/panda.config.ts"
|
|
12
15
|
},
|
|
13
16
|
"files": [
|
|
@@ -43,8 +46,8 @@
|
|
|
43
46
|
"@storybook/react-vite": "10.1.11",
|
|
44
47
|
"@tailwindcss/postcss": "4.1.18",
|
|
45
48
|
"@types/culori": "4.0.1",
|
|
46
|
-
"@types/node": "25.0.
|
|
47
|
-
"@types/react": "19.2.
|
|
49
|
+
"@types/node": "25.0.8",
|
|
50
|
+
"@types/react": "19.2.8",
|
|
48
51
|
"@types/react-dom": "19.2.3",
|
|
49
52
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
50
53
|
"culori": "4.0.2",
|
|
@@ -57,7 +60,7 @@
|
|
|
57
60
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
58
61
|
"eslint-plugin-storybook": "10.1.11",
|
|
59
62
|
"postcss": "8.5.6",
|
|
60
|
-
"prettier": "3.
|
|
63
|
+
"prettier": "3.8.0",
|
|
61
64
|
"prop-types": "15.8.1",
|
|
62
65
|
"semantic-release": "25.0.2",
|
|
63
66
|
"storybook": "10.1.11",
|