@jackbernnie/hiyf 0.3.8 → 0.3.9
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/dist/components/Table.js +3 -0
- package/package.json +1 -1
package/dist/components/Table.js
CHANGED
|
@@ -118,9 +118,11 @@ function HeaderMenu({
|
|
|
118
118
|
(option) => multi ? (
|
|
119
119
|
// Multi-select: toggling keeps the menu open so several values can be
|
|
120
120
|
// picked in one visit (preventDefault stops Radix's close-on-select).
|
|
121
|
+
// whitespace-nowrap: a filter label is a name — it widens the menu, never wraps.
|
|
121
122
|
/* @__PURE__ */ jsxs(
|
|
122
123
|
DropdownMenuItem,
|
|
123
124
|
{
|
|
125
|
+
className: "whitespace-nowrap",
|
|
124
126
|
onSelect: (event) => {
|
|
125
127
|
event.preventDefault();
|
|
126
128
|
toggleValue(option.value);
|
|
@@ -135,6 +137,7 @@ function HeaderMenu({
|
|
|
135
137
|
) : /* @__PURE__ */ jsxs(
|
|
136
138
|
DropdownMenuItem,
|
|
137
139
|
{
|
|
140
|
+
className: "whitespace-nowrap",
|
|
138
141
|
onSelect: () => column.onFilterChange?.(option.value),
|
|
139
142
|
children: [
|
|
140
143
|
/* @__PURE__ */ jsx(CheckGlyph, { visible: column.filterValue === option.value }),
|
package/package.json
CHANGED