najm-kit 2.1.5 → 2.1.7
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/index.mjs +1 -1
- package/dist/theme.css +14 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9568,7 +9568,7 @@ function SelectFilter({ name, options, placeholder, inputType }) {
|
|
|
9568
9568
|
return /* @__PURE__ */ jsx(InputComponent, { value: column.getFilterValue() ?? "", onChange: (value) => column.setFilterValue(value === "" || value === "__clear__" ? void 0 : value), items: allOptions, placeholder: placeholder || "Filter...", bordered });
|
|
9569
9569
|
}
|
|
9570
9570
|
function defaultWrapperClass(filter) {
|
|
9571
|
-
return filter.type === "search" ? "flex-1 min-w-[160px] max-w-sm" : "w-full sm:w-40 shrink-0";
|
|
9571
|
+
return filter.type === "search" ? "flex-1 min-w-[160px] max-w-sm" : "w-full sm:w-40 xl:w-56 shrink-0";
|
|
9572
9572
|
}
|
|
9573
9573
|
function RenderFilter({ filter }) {
|
|
9574
9574
|
const table = useTableStore.use.table();
|
package/dist/theme.css
CHANGED
|
@@ -231,6 +231,20 @@
|
|
|
231
231
|
--radius: 0.5rem;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
/* Browsers paint saved credentials with their own light autofill surface.
|
|
235
|
+
Keep it aligned with Najm's card-backed inputs; BaseInput owns the visible
|
|
236
|
+
radius, so flatten the nested native input to avoid a second inner outline. */
|
|
237
|
+
input:-webkit-autofill,
|
|
238
|
+
input:-webkit-autofill:hover,
|
|
239
|
+
input:-webkit-autofill:focus,
|
|
240
|
+
input:autofill {
|
|
241
|
+
-webkit-text-fill-color: var(--foreground);
|
|
242
|
+
caret-color: var(--foreground);
|
|
243
|
+
border-radius: 0;
|
|
244
|
+
-webkit-box-shadow: 0 0 0 1000px var(--card) inset;
|
|
245
|
+
box-shadow: 0 0 0 1000px var(--card) inset;
|
|
246
|
+
}
|
|
247
|
+
|
|
234
248
|
.najm-border {
|
|
235
249
|
border-style: solid;
|
|
236
250
|
border-width: var(--border-width);
|