-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
* version packages * version packages * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Geoffrey Chong <[email protected]> Co-authored-by: Geoffrey Chong <[email protected]>
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@kaizen/components", | ||
"version": "1.34.0", | ||
"version": "1.35.0", | ||
"description": "Kaizen component library", | ||
"author": "Geoffrey Chong <[email protected]>", | ||
"homepage": "https://cultureamp.design", | ||
|
@@ -98,8 +98,8 @@ | |
"@babel/plugin-transform-react-pure-annotations": "^7.23.3", | ||
"@cultureamp/frontend-apis": "^8.2.0", | ||
"@cultureamp/i18n-react-intl": "^2.1.1", | ||
"@kaizen/design-tokens": "^10.3.15", | ||
"@kaizen/tailwind": "^1.1.1", | ||
"@kaizen/design-tokens": "^10.3.16", | ||
"@kaizen/tailwind": "^1.2.0", | ||
"@rollup/plugin-alias": "^5.0.1", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@rollup/plugin-commonjs": "^25.0.7", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,33 @@ | ||
# Change Log | ||
|
||
## 1.2.0 | ||
|
||
### Minor Changes | ||
|
||
- [#4256](https://github.com/cultureamp/kaizen-design-system/pull/4256) [`6e22e0a21`](https://github.com/cultureamp/kaizen-design-system/commit/6e22e0a21cc11751c754eb02862c52ad1b8a30b2) - Fix long utility strings for borders in Tailwind (in combination with `@kaizen/components/dist/styles.css`) | ||
|
||
**Important: these utilities will not work without upgrading to `@kaizen/[email protected]`** | ||
|
||
- Adds DEFAULT values to `borderWidth` and `borderColor` in the Tailwind preset, so these don't need to be written with utility classes. | ||
|
||
These changes mean that border styles require much less utility classes to be written. | ||
For example, to add a border-bottom to an element, we would previously need to write: | ||
|
||
``` | ||
className="border-b-default border-l-none border-r-none border-t-none border-solid border-purple-800" | ||
``` | ||
|
||
We can now achieve the same css by simply writing: | ||
|
||
``` | ||
className="border-b" | ||
``` | ||
|
||
### Patch Changes | ||
|
||
- Updated dependencies [[`dee798fdb`](https://github.com/cultureamp/kaizen-design-system/commit/dee798fdb2d5091650e9350d0f7c575288e59c65), [`07ae2692f`](https://github.com/cultureamp/kaizen-design-system/commit/07ae2692fd2ff1118fe2c9f4a3d3c4ee2f0d33bd), [`dee798fdb`](https://github.com/cultureamp/kaizen-design-system/commit/dee798fdb2d5091650e9350d0f7c575288e59c65)]: | ||
- @kaizen/design-tokens@10.3.16 | ||
|
||
## 1.1.1 | ||
|
||
### Patch Changes | ||
|