@eqtylab/equality 5.3.0 → 5.3.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 +17 -0
- package/dist/dropdown-menu.module.module.css.module.css +12 -11
- package/dist/index.cjs +3 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/nav-list.module.module.css.module.css +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
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.3.2 - 2026-11-03
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- A long label inside a `NavListExpandable` group ends in "…" at the panel's edge, where it was cut
|
|
10
|
+
off and pushed the group's tree line past the panel.
|
|
11
|
+
|
|
12
|
+
## 5.3.1 - 2026-11-02
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- A `DropdownMenuRadioItem` marks the chosen option with a tick level with its first line, where
|
|
17
|
+
every row drew a radio ring. This changes `RadioDropdown`, `SortSelector` and the docs site's
|
|
18
|
+
version and site menus.
|
|
19
|
+
- A `DropdownMenuCheckboxItem`'s box sits level with the first line of a two-line item, where it
|
|
20
|
+
was centred on the whole item.
|
|
21
|
+
|
|
5
22
|
## 5.3.0 - 2026-11-02
|
|
6
23
|
|
|
7
24
|
### Added
|
|
@@ -305,23 +305,25 @@
|
|
|
305
305
|
.dropdown-menu-item-indicator-radio {
|
|
306
306
|
position: absolute;
|
|
307
307
|
left: calc(0.25rem * 2);
|
|
308
|
-
width: calc(0.25rem * 3.5);
|
|
309
|
-
height: calc(0.25rem * 3.5);
|
|
310
308
|
display: flex;
|
|
311
309
|
align-items: center;
|
|
312
310
|
justify-content: center;
|
|
313
|
-
border-style: var(--tw-border-style);
|
|
314
|
-
border-width: 1px;
|
|
315
|
-
border-color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
316
311
|
}
|
|
317
312
|
.dropdown-menu-item-indicator-checkbox {
|
|
313
|
+
top: calc(0.25rem * 2.25);
|
|
314
|
+
width: calc(0.25rem * 3.5);
|
|
315
|
+
height: calc(0.25rem * 3.5);
|
|
318
316
|
border-radius: 0.25rem;
|
|
317
|
+
border-style: var(--tw-border-style);
|
|
318
|
+
border-width: 1px;
|
|
319
|
+
border-color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
319
320
|
}
|
|
320
321
|
.dropdown-menu-item-indicator-radio {
|
|
321
|
-
|
|
322
|
+
top: calc(0.25rem * 1.5);
|
|
323
|
+
height: calc(0.25rem * 5);
|
|
324
|
+
width: calc(0.25rem * 4);
|
|
322
325
|
}
|
|
323
|
-
.dropdown-menu-checkbox-item[data-state='checked'] .dropdown-menu-item-indicator-checkbox
|
|
324
|
-
.dropdown-menu-radio-item[data-state='checked'] .dropdown-menu-item-indicator-radio {
|
|
326
|
+
.dropdown-menu-checkbox-item[data-state='checked'] .dropdown-menu-item-indicator-checkbox {
|
|
325
327
|
border-color: var(--color-button-primary-border, color(display-p3 0.5242 0.2903 0.7705));
|
|
326
328
|
background-color: var(--color-button-primary-fill, color(display-p3 0.5242 0.2903 0.7705));
|
|
327
329
|
color: var(--color-button-primary-text, color(display-p3 1 1 1));
|
|
@@ -331,9 +333,8 @@
|
|
|
331
333
|
height: calc(0.25rem * 3);
|
|
332
334
|
}
|
|
333
335
|
.radio-icon {
|
|
334
|
-
width: calc(0.25rem *
|
|
335
|
-
height: calc(0.25rem *
|
|
336
|
-
fill: currentcolor;
|
|
336
|
+
width: calc(0.25rem * 4);
|
|
337
|
+
height: calc(0.25rem * 4);
|
|
337
338
|
}
|
|
338
339
|
.dropdown-menu-label {
|
|
339
340
|
display: flex;
|
package/dist/index.cjs
CHANGED
|
@@ -1986,7 +1986,6 @@ function assignRefs(node, ...refs) {
|
|
|
1986
1986
|
}
|
|
1987
1987
|
var CheckIcon2 = LucideIcons.Check;
|
|
1988
1988
|
var ChevronRightIcon2 = LucideIcons.ChevronRight;
|
|
1989
|
-
var CircleIcon = LucideIcons.Circle;
|
|
1990
1989
|
var SearchIcon2 = LucideIcons.Search;
|
|
1991
1990
|
var DropdownMenuSearchContext = React16__namespace.createContext(null);
|
|
1992
1991
|
var useDropdownMenuSearch = () => React16__namespace.useContext(DropdownMenuSearchContext);
|
|
@@ -2305,7 +2304,7 @@ var DropdownMenuRadioItem = React16__namespace.forwardRef(({ className, children
|
|
|
2305
2304
|
...props,
|
|
2306
2305
|
"data-persistent": persistent ? "" : void 0,
|
|
2307
2306
|
children: [
|
|
2308
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles22__default.default["dropdown-menu-item-indicator-radio"], children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
2307
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles22__default.default["dropdown-menu-item-indicator-radio"], children: /* @__PURE__ */ jsxRuntime.jsx(DropdownMenuPrimitive__namespace.ItemIndicator, { children: /* @__PURE__ */ jsxRuntime.jsx(CheckIcon2, { className: styles22__default.default["radio-icon"] }) }) }),
|
|
2309
2308
|
/* @__PURE__ */ jsxRuntime.jsx(ItemBreadcrumb, {}),
|
|
2310
2309
|
children
|
|
2311
2310
|
]
|
|
@@ -4356,7 +4355,7 @@ var RadioDropdown = ({
|
|
|
4356
4355
|
] })
|
|
4357
4356
|
] });
|
|
4358
4357
|
};
|
|
4359
|
-
var
|
|
4358
|
+
var CircleIcon = LucideIcons.Circle;
|
|
4360
4359
|
var RadioGroup2 = React16__namespace.forwardRef(({ className, ...props }, ref) => {
|
|
4361
4360
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
4362
4361
|
RadioGroupPrimitive__namespace.Root,
|
|
@@ -4375,7 +4374,7 @@ var RadioGroupItem = React16__namespace.forwardRef(({ className, ...props }, ref
|
|
|
4375
4374
|
ref,
|
|
4376
4375
|
className: cn(styles49__default.default["radio-group-item"], className),
|
|
4377
4376
|
...props,
|
|
4378
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(RadioGroupPrimitive__namespace.Indicator, { className: styles49__default.default["radio-group-item-indicator"], children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
4377
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(RadioGroupPrimitive__namespace.Indicator, { className: styles49__default.default["radio-group-item-indicator"], children: /* @__PURE__ */ jsxRuntime.jsx(CircleIcon, { className: styles49__default.default["indicator-icon"] }) })
|
|
4379
4378
|
}
|
|
4380
4379
|
);
|
|
4381
4380
|
});
|