najm-kit 2.1.46 → 2.1.48
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 +13 -0
- package/README.md +71 -5
- package/dist/index.d.ts +96 -4
- package/dist/index.mjs +484 -112
- package/dist/theme.css +22 -3
- package/package.json +4 -2
package/dist/theme.css
CHANGED
|
@@ -307,9 +307,28 @@ input:autofill {
|
|
|
307
307
|
overflow-x: auto;
|
|
308
308
|
scrollbar-width: none;
|
|
309
309
|
}
|
|
310
|
-
.najm-overlay-scroll-x::-webkit-scrollbar {
|
|
311
|
-
display: none;
|
|
312
|
-
}
|
|
310
|
+
.najm-overlay-scroll-x::-webkit-scrollbar {
|
|
311
|
+
display: none;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/* Responsive table actions stay discoverable on touch and tablet layouts.
|
|
315
|
+
Fine-pointer desktops may keep the quieter hover/focus reveal treatment. */
|
|
316
|
+
.ntable-card-action {
|
|
317
|
+
opacity: 1;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
@media (min-width: 64rem) and (hover: hover) and (pointer: fine) {
|
|
321
|
+
.ntable-card-action {
|
|
322
|
+
opacity: 0;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
.group:hover > .ntable-card-action,
|
|
326
|
+
.group:focus-within > .ntable-card-action,
|
|
327
|
+
.ntable-card-action:focus,
|
|
328
|
+
.ntable-card-action:focus-within {
|
|
329
|
+
opacity: 1;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
313
332
|
|
|
314
333
|
/* OverlayScrollbars theme used by the <NajmScroll> component — a thin,
|
|
315
334
|
translucent slate bar that floats over content with no reserved space.
|
package/package.json
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "najm-kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.48",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Reusable React UI component package for Najm framework",
|
|
7
7
|
"main": "./dist/index.mjs",
|
|
8
8
|
"types": "./dist/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"CHANGELOG.md"
|
|
11
13
|
],
|
|
12
14
|
"exports": {
|
|
13
15
|
".": {
|