@eqtylab/equality 5.1.1 → 5.2.0
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 +6 -0
- package/dist/button.module.module.css.module.css +5 -0
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Notable changes to Equality are recorded here, following [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
4
4
|
|
|
5
|
+
## 5.2.0 - 2026-11-02
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- `Button` takes `variant="success"`, a filled green button for actions that approve or confirm, such as approving a review.
|
|
10
|
+
|
|
5
11
|
## 5.1.1 - 2026-11-02
|
|
6
12
|
|
|
7
13
|
### Fixed
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
}
|
|
97
97
|
.button--primary,
|
|
98
98
|
.button--danger,
|
|
99
|
+
.button--success,
|
|
99
100
|
.button--warning {
|
|
100
101
|
--button-hover-fill: var(--mix-color);
|
|
101
102
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -116,6 +117,10 @@
|
|
|
116
117
|
--mix-color: var(--color-button-danger-fill);
|
|
117
118
|
color: var(--color-button-danger-text, color(display-p3 1 1 1));
|
|
118
119
|
}
|
|
120
|
+
.button--success {
|
|
121
|
+
--mix-color: var(--color-button-success-fill);
|
|
122
|
+
color: var(--color-button-success-text, color(display-p3 1 1 1));
|
|
123
|
+
}
|
|
119
124
|
.button--warning {
|
|
120
125
|
--mix-color: var(--color-button-warning-fill);
|
|
121
126
|
color: var(--color-button-warning-text, color(display-p3 1 1 1));
|
package/dist/index.cjs
CHANGED
|
@@ -213,6 +213,7 @@ var buttonVariants = classVarianceAuthority.cva(styles__default.default["button"
|
|
|
213
213
|
variant: {
|
|
214
214
|
primary: [styles__default.default["button--filled"], styles__default.default["button--primary"]],
|
|
215
215
|
danger: [styles__default.default["button--filled"], styles__default.default["button--danger"]],
|
|
216
|
+
success: [styles__default.default["button--filled"], styles__default.default["button--success"]],
|
|
216
217
|
warning: [styles__default.default["button--filled"], styles__default.default["button--warning"]],
|
|
217
218
|
secondary: [styles__default.default["button--filled"], styles__default.default["button--secondary"]],
|
|
218
219
|
tertiary: styles__default.default["button--tertiary"],
|