najm-kit 2.11.21 → 2.11.23

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 CHANGED
@@ -1,13 +1,27 @@
1
- # Changelog
2
-
3
- ## 2.11.21 - 2026-09-09
1
+ # Changelog
2
+
3
+ ## 2.11.23 - 2026-09-11
4
+
5
+ - Made the `WizardForm` footer surface transparent by default instead of
6
+ `bg-background/95` with `backdrop-blur`. Consumers can still override it
7
+ through `classNames.footer`.
8
+
9
+ ## 2.11.22 - 2026-09-11
4
10
 
5
- - Added first-visit browser-language negotiation to `defineNajmPreferences`.
6
- Applications can pass the raw `Accept-Language` header to `resolve`; explicit
7
- cookies and account fallbacks retain priority, while quality weights and
8
- regional language tags are matched against the configured catalog.
11
+ - Allowed destructive dialogs to render a caller-supplied title, wrap and
12
+ center long item names, and use a transparent destructive-outline cancel
13
+ action.
14
+ - Made native calendar caption dropdowns follow the resolved light or dark
15
+ theme and clarified pointer feedback for enabled and disabled dates.
9
16
 
10
- ## 2.11.19 - 2026-09-06
17
+ ## 2.11.21 - 2026-09-09
18
+
19
+ - Added first-visit browser-language negotiation to `defineNajmPreferences`.
20
+ Applications can pass the raw `Accept-Language` header to `resolve`; explicit
21
+ cookies and account fallbacks retain priority, while quality weights and
22
+ regional language tags are matched against the configured catalog.
23
+
24
+ ## 2.11.19 - 2026-09-06
11
25
 
12
26
  - Made native calendar month and year dropdowns follow the resolved Najm light
13
27
  or dark theme instead of opening with the browser's light color scheme.
package/README.md CHANGED
@@ -1132,19 +1132,19 @@ field are the same `400`. Nothing from the request body reaches the response.
1132
1132
 
1133
1133
  ```tsx
1134
1134
  // src/app/layout.tsx
1135
- import { cookies, headers } from "next/headers";
1135
+ import { cookies, headers } from "next/headers";
1136
1136
  import { preferences } from "@/preferences";
1137
1137
 
1138
1138
  export default async function RootLayout({ children }: { children: React.ReactNode }) {
1139
- const [cookieStore, requestHeaders, session] = await Promise.all([
1140
- cookies(),
1141
- headers(),
1142
- getSession(),
1143
- ]);
1144
- const { language, theme, timeZone } = preferences.resolve(cookieStore, {
1145
- languageFallback: session?.user.language,
1146
- acceptLanguage: requestHeaders.get("accept-language"),
1147
- });
1139
+ const [cookieStore, requestHeaders, session] = await Promise.all([
1140
+ cookies(),
1141
+ headers(),
1142
+ getSession(),
1143
+ ]);
1144
+ const { language, theme, timeZone } = preferences.resolve(cookieStore, {
1145
+ languageFallback: session?.user.language,
1146
+ acceptLanguage: requestHeaders.get("accept-language"),
1147
+ });
1148
1148
 
1149
1149
  return (
1150
1150
  <html
@@ -1160,11 +1160,11 @@ export default async function RootLayout({ children }: { children: React.ReactNo
1160
1160
  }
1161
1161
  ```
1162
1162
 
1163
- `resolve` takes anything with `get(name)` — Next's cookie store, or a plain
1164
- object in a test. Language precedence is cookie, then `languageFallback`, then
1165
- the `acceptLanguage` request header, then the catalog default. Browser
1166
- negotiation honors quality weights and regional tags; invalid stored values
1167
- fall through rather than pinning the UI.
1163
+ `resolve` takes anything with `get(name)` — Next's cookie store, or a plain
1164
+ object in a test. Language precedence is cookie, then `languageFallback`, then
1165
+ the `acceptLanguage` request header, then the catalog default. Browser
1166
+ negotiation honors quality weights and regional tags; invalid stored values
1167
+ fall through rather than pinning the UI.
1168
1168
 
1169
1169
  ### Types
1170
1170
 
package/dist/index.mjs CHANGED
@@ -11529,7 +11529,7 @@ function WizardForm({
11529
11529
  {
11530
11530
  "data-najm-wizard-footer": "true",
11531
11531
  className: cn(
11532
- "sticky bottom-0 z-10 mt-auto flex shrink-0 items-center justify-between bg-background/95 pt-3 backdrop-blur",
11532
+ "sticky bottom-0 z-10 mt-auto flex shrink-0 items-center justify-between bg-transparent pt-3",
11533
11533
  footerDividerClass(footerDivider),
11534
11534
  footerDividerClassName,
11535
11535
  classNames?.footer
package/dist/theme.css CHANGED
@@ -317,10 +317,10 @@ input:autofill {
317
317
  overflow-x: auto;
318
318
  scrollbar-width: none;
319
319
  }
320
- .najm-overlay-scroll-x::-webkit-scrollbar {
321
- display: none;
322
- }
323
-
320
+ .najm-overlay-scroll-x::-webkit-scrollbar {
321
+ display: none;
322
+ }
323
+
324
324
  /* Responsive table actions stay discoverable on touch and tablet layouts.
325
325
  Fine-pointer desktops may keep the quieter hover/focus reveal treatment. */
326
326
  .ntable-card-action {
@@ -377,7 +377,7 @@ input:autofill {
377
377
  .nimage-input-compact-overlay:focus-visible {
378
378
  opacity: 1;
379
379
  }
380
- }
380
+ }
381
381
 
382
382
  /* OverlayScrollbars theme used by the <NajmScroll> component — a thin,
383
383
  translucent slate bar that floats over content with no reserved space.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "najm-kit",
3
- "version": "2.11.21",
3
+ "version": "2.11.23",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "description": "Reusable React UI component package for Najm framework",
@@ -198,7 +198,7 @@
198
198
  "@uiw/react-codemirror": "^4.25.0",
199
199
  "@vitejs/plugin-react": "^5.2.0",
200
200
  "happy-dom": "^20.11.1",
201
- "najm-i18n": "^2.1.2",
201
+ "najm-i18n": "workspace:*",
202
202
  "postcss": "^8.5.22",
203
203
  "react-hook-form": "^7",
204
204
  "rimraf": "^6",