@empathyco/x-components 6.0.0-alpha.19 → 6.0.0-alpha.20
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
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.0.0-alpha.20](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.19...@empathyco/x-components@6.0.0-alpha.20) (2024-11-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* **xds:** the x tailwincss plugin no longer admits an options configuration. The plugin theme is accessible through theme: extend: { x: {...}} so now if you need to customize a value you can do it via extending the general tailwind theme:
|
|
12
|
+
|
|
13
|
+
module.exports = {
|
|
14
|
+
theme: {
|
|
15
|
+
extend: {
|
|
16
|
+
spacing: theme => theme('x.spacing'),
|
|
17
|
+
colors: theme => theme('x.colors'),
|
|
18
|
+
screens: theme => theme('x.screens'),
|
|
19
|
+
fontSize: theme => theme('x.fontSize'),
|
|
20
|
+
fontFamily: theme => theme('x.fontFamily'),
|
|
21
|
+
x: {
|
|
22
|
+
colors: {
|
|
23
|
+
neutral: {
|
|
24
|
+
5: '#56ac91'
|
|
25
|
+
}
|
|
26
|
+
....
|
|
27
|
+
|
|
28
|
+
To add new components you can do it via https://tailwindcss.com/docs/adding-custom-styles#adding-component-classes
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* **xds:** avoid overriding consumers theme by xds (#1658) ([bd3ed79](https://github.com/empathyco/x/commit/bd3ed79f654fc7e76939c7d0baa2a67e6b879ed8))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [6.0.0-alpha.19](https://github.com/empathyco/x/compare/@empathyco/x-components@6.0.0-alpha.18...@empathyco/x-components@6.0.0-alpha.19) (2024-11-25)
|
|
7
37
|
|
|
8
38
|
|