@eqtylab/equality 6.0.0-next.0 → 6.0.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 +8 -9
- package/dist/display-field.module.module.css.module.css +1 -2
- package/dist/dropdown-menu.module.module.css.module.css +2 -2
- package/dist/index.cjs +2 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -16
- package/dist/index.js.map +1 -1
- package/dist/input.module.module.css.module.css +3 -0
- package/dist/nav.module.module.css.module.css +11 -6
- package/dist/select.module.module.css.module.css +2 -2
- package/dist/tabs-components.module.module.css.module.css +1 -1
- package/dist/tabs.module.module.css.module.css +0 -4
- package/dist/theme-decisions-scoped.css +0 -4
- package/dist/theme-decisions.css +0 -4
- package/dist/theme-utilities.css +2 -1
- package/dist/theme.module.module.css.module.css +2 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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
|
-
## 6.0.0 - 2026-11-
|
|
5
|
+
## 6.0.0 - 2026-11-20
|
|
6
6
|
|
|
7
7
|
Controls and rows move to one scale: 28, 36 and 44. The default control drops from 40 to 36, and
|
|
8
8
|
menu rows grow from 32 to 36. If your app copied a 40px height from Equality to line something up
|
|
@@ -32,17 +32,20 @@ with a control, search for it: it now sits 4px taller than the control beside it
|
|
|
32
32
|
| `Command` row | 32 to 36 | 14 | 8 |
|
|
33
33
|
| `Command` row in a `CommandDialog` | 44 to 36 | 14 | 8 |
|
|
34
34
|
| `DisplayField` | 38 to 36 | 14 | 12 |
|
|
35
|
-
| `DateRangePicker` day | 40 to 36 | 14 | |
|
|
36
35
|
|
|
37
36
|
- Large `Button` side padding halves, from 32 to 16. This is the largest single move.
|
|
38
37
|
- The gap between an icon and its text grows from 6 to 8 on every `md` and `lg` `Button`, link
|
|
39
38
|
buttons included, and on `md` and `lg` segments.
|
|
40
39
|
- A row that wraps keeps its padding and grows; 36 is its minimum.
|
|
40
|
+
- `FilterDropdown` and `RadioDropdown` show about 9 rows before scrolling, down from 10, and
|
|
41
|
+
`Command`'s list about 8, down from 9.
|
|
41
42
|
- `Command`'s input bar stays 36. The field inside it now fits: it was 40, or 48 in a
|
|
42
43
|
`CommandDialog`, and overflowed the bar.
|
|
43
44
|
- `Tabs` triggers fill the list's height. `Input` centres its text without vertical padding.
|
|
44
45
|
- The `Nav` switcher is as tall as the rail's first item, so the panel header no longer nudges it
|
|
45
46
|
down to line the two up.
|
|
47
|
+
- `ControlStatusBadge` shows a pen-on-file icon for In Progress, matching the workbench, and a
|
|
48
|
+
plain tick for Compliant in place of the filled one.
|
|
46
49
|
|
|
47
50
|
### Added
|
|
48
51
|
|
|
@@ -51,19 +54,15 @@ with a control, search for it: it now sits 4px taller than the control beside it
|
|
|
51
54
|
`--eq-control-padding-x-condensed`, `-normal` and `-spacious`. A control or row you build
|
|
52
55
|
yourself reads these, such as `h-(--eq-control-md-height)`, so it follows the scale.
|
|
53
56
|
|
|
54
|
-
###
|
|
57
|
+
### Removed
|
|
55
58
|
|
|
59
|
+
- `--eq-control-height`. Use `--eq-control-md-height`, which the `Nav` rail now reads.
|
|
56
60
|
- `--eq-list-item-height`. Use `--eq-control-md-height`.
|
|
57
61
|
- `--eq-list-item-padding-x`. Use `--eq-control-padding-x-condensed`.
|
|
58
62
|
- `--eq-list-item-gap`. Use `--eq-control-md-gap`.
|
|
59
63
|
- `--eq-list-item-font-size`. Use `--eq-control-md-font-size`.
|
|
60
64
|
|
|
61
|
-
|
|
62
|
-
more, so a site's override of one no longer takes effect. Override the name that replaces it.
|
|
63
|
-
|
|
64
|
-
### Removed
|
|
65
|
-
|
|
66
|
-
- `--eq-control-height`. Use `--eq-control-md-height`, which the `Nav` rail now reads.
|
|
65
|
+
If your site read or overrode one of these, switch to the name that replaces it.
|
|
67
66
|
|
|
68
67
|
## 5.6.0 - 2026-11-18
|
|
69
68
|
|
|
@@ -84,8 +84,8 @@
|
|
|
84
84
|
cursor: pointer;
|
|
85
85
|
display: flex;
|
|
86
86
|
align-items: center;
|
|
87
|
-
font-size:
|
|
88
|
-
line-height: var(--tw-leading,
|
|
87
|
+
font-size: var(--eq-control-md-font-size);
|
|
88
|
+
line-height: var(--tw-leading,var(--eq-control-md-line-height));
|
|
89
89
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
90
90
|
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
91
91
|
transition-duration: var(--tw-duration, 150ms);
|
package/dist/index.cjs
CHANGED
|
@@ -1401,7 +1401,7 @@ var getStatusConfig = (status) => {
|
|
|
1401
1401
|
switch (status) {
|
|
1402
1402
|
case "in-progress":
|
|
1403
1403
|
return {
|
|
1404
|
-
icon: "
|
|
1404
|
+
icon: "FilePenLine",
|
|
1405
1405
|
className: styles18__default.default["badge--in-progress"],
|
|
1406
1406
|
label: "In Progress"
|
|
1407
1407
|
};
|
|
@@ -1452,7 +1452,7 @@ var getStatusConfig = (status) => {
|
|
|
1452
1452
|
};
|
|
1453
1453
|
case "compliant":
|
|
1454
1454
|
return {
|
|
1455
|
-
icon:
|
|
1455
|
+
icon: "Check",
|
|
1456
1456
|
className: styles18__default.default["badge--compliant"],
|
|
1457
1457
|
label: "Compliant"
|
|
1458
1458
|
};
|
|
@@ -1470,20 +1470,6 @@ var getStatusConfig = (status) => {
|
|
|
1470
1470
|
};
|
|
1471
1471
|
}
|
|
1472
1472
|
};
|
|
1473
|
-
var CircleCheckFillIcon = ({ className }) => {
|
|
1474
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1475
|
-
"svg",
|
|
1476
|
-
{
|
|
1477
|
-
className,
|
|
1478
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1479
|
-
width: "12",
|
|
1480
|
-
height: "12",
|
|
1481
|
-
viewBox: "0 0 24 24",
|
|
1482
|
-
fill: "currentColor",
|
|
1483
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12C1 5.92487 5.92487 1 12 1ZM15.707 9.29297C15.3165 8.90245 14.6835 8.90244 14.293 9.29297L11 12.5859L9.70703 11.293C9.31651 10.9024 8.68349 10.9024 8.29297 11.293C7.90244 11.6835 7.90245 12.3165 8.29297 12.707L10.293 14.707C10.6835 15.0976 11.3165 15.0976 11.707 14.707L15.707 10.707C16.0976 10.3165 16.0976 9.68349 15.707 9.29297Z" })
|
|
1484
|
-
}
|
|
1485
|
-
);
|
|
1486
|
-
};
|
|
1487
1473
|
var Popover = PopoverPrimitive__namespace.Root;
|
|
1488
1474
|
var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
|
|
1489
1475
|
var PopoverPortal = ({ children }) => /* @__PURE__ */ jsxRuntime.jsx(PopoverPrimitive__namespace.Portal, { container: usePortalContainer(), children });
|