najm-kit 0.0.10 → 0.0.12

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.d.ts CHANGED
@@ -872,7 +872,7 @@ interface StatusPillProps extends React$1.HTMLAttributes<HTMLSpanElement> {
872
872
  }
873
873
  declare const StatusPill: React$1.ForwardRefExoticComponent<StatusPillProps & React$1.RefAttributes<HTMLSpanElement>>;
874
874
 
875
- declare function Toaster({ ...props }: ToasterProps): react_jsx_runtime.JSX.Element;
875
+ declare function Toaster({ toastOptions, ...props }: ToasterProps): react_jsx_runtime.JSX.Element;
876
876
 
877
877
  declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
878
878
  declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
@@ -2314,28 +2314,28 @@ declare const HEADER_COLORS: {
2314
2314
  readonly row: "hover:bg-primary/5";
2315
2315
  };
2316
2316
  readonly violet: {
2317
- readonly bg: "bg-violet-600/20";
2318
- readonly text: "[&_th]:text-violet-700 dark:[&_th]:text-violet-300";
2317
+ readonly bg: "bg-violet-600/30";
2318
+ readonly text: "[&_th]:text-violet-800 dark:[&_th]:text-violet-200";
2319
2319
  readonly row: "hover:bg-violet-500/5";
2320
2320
  };
2321
2321
  readonly blue: {
2322
- readonly bg: "bg-blue-600/20";
2323
- readonly text: "[&_th]:text-blue-700 dark:[&_th]:text-blue-300";
2322
+ readonly bg: "bg-blue-600/30";
2323
+ readonly text: "[&_th]:text-blue-800 dark:[&_th]:text-blue-200";
2324
2324
  readonly row: "hover:bg-blue-500/5";
2325
2325
  };
2326
2326
  readonly emerald: {
2327
- readonly bg: "bg-emerald-600/20";
2328
- readonly text: "[&_th]:text-emerald-700 dark:[&_th]:text-emerald-300";
2327
+ readonly bg: "bg-emerald-600/30";
2328
+ readonly text: "[&_th]:text-emerald-800 dark:[&_th]:text-emerald-200";
2329
2329
  readonly row: "hover:bg-emerald-500/5";
2330
2330
  };
2331
2331
  readonly amber: {
2332
- readonly bg: "bg-amber-500/20";
2333
- readonly text: "[&_th]:text-amber-700 dark:[&_th]:text-amber-300";
2332
+ readonly bg: "bg-amber-500/30";
2333
+ readonly text: "[&_th]:text-amber-800 dark:[&_th]:text-amber-200";
2334
2334
  readonly row: "hover:bg-amber-500/5";
2335
2335
  };
2336
2336
  readonly rose: {
2337
- readonly bg: "bg-rose-600/20";
2338
- readonly text: "[&_th]:text-rose-700 dark:[&_th]:text-rose-300";
2337
+ readonly bg: "bg-rose-600/30";
2338
+ readonly text: "[&_th]:text-rose-800 dark:[&_th]:text-rose-200";
2339
2339
  readonly row: "hover:bg-rose-500/5";
2340
2340
  };
2341
2341
  readonly slate: {
package/dist/index.mjs CHANGED
@@ -2141,6 +2141,17 @@ function Alert({
2141
2141
  );
2142
2142
  }
2143
2143
  var NAlert = Alert;
2144
+ var PORTAL_LAYER_STYLE_ID = "najm-kit-portal-layer-styles";
2145
+ function useNajmPortalLayerStyles() {
2146
+ React.useInsertionEffect(() => {
2147
+ if (typeof document === "undefined") return;
2148
+ if (document.getElementById(PORTAL_LAYER_STYLE_ID)) return;
2149
+ const style = document.createElement("style");
2150
+ style.id = PORTAL_LAYER_STYLE_ID;
2151
+ style.textContent = `[data-radix-popper-content-wrapper]{z-index:var(--najm-portal-z-index,10000)!important;}`;
2152
+ document.head.appendChild(style);
2153
+ }, []);
2154
+ }
2144
2155
  function DropdownMenu({ ...props }) {
2145
2156
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Root, { "data-slot": "dropdown-menu", ...props });
2146
2157
  }
@@ -2165,7 +2176,7 @@ function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
2165
2176
  {
2166
2177
  "data-slot": "dropdown-menu-sub-trigger",
2167
2178
  "data-inset": inset,
2168
- className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&>svg]:opacity-50 data-[inset]:pl-8", className),
2179
+ className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&>svg]:opacity-50 data-[inset]:pl-8", className),
2169
2180
  ...props,
2170
2181
  children: [
2171
2182
  children,
@@ -2175,6 +2186,7 @@ function DropdownMenuSubTrigger({ className, inset, children, ...props }) {
2175
2186
  );
2176
2187
  }
2177
2188
  function DropdownMenuSubContent({ className, ...props }) {
2189
+ useNajmPortalLayerStyles();
2178
2190
  return /* @__PURE__ */ jsx(
2179
2191
  DropdownMenuPrimitive.SubContent,
2180
2192
  {
@@ -2190,6 +2202,7 @@ function DropdownMenuSubContent({ className, ...props }) {
2190
2202
  function DropdownMenuContent({ className, sideOffset = 4, ...props }) {
2191
2203
  const container = React.useContext(NajmThemeContainerCtx);
2192
2204
  const resolvedBorderDegree = useResolvedBorderDegree();
2205
+ useNajmPortalLayerStyles();
2193
2206
  return /* @__PURE__ */ jsx(DropdownMenuPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2194
2207
  DropdownMenuPrimitive.Content,
2195
2208
  {
@@ -2212,7 +2225,7 @@ function DropdownMenuItem({ className, inset, variant = "default", ...props }) {
2212
2225
  "data-inset": inset,
2213
2226
  "data-variant": variant,
2214
2227
  className: cn(
2215
- "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[inset]:pl-8",
2228
+ "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[inset]:pl-8",
2216
2229
  className
2217
2230
  ),
2218
2231
  ...props
@@ -2224,7 +2237,7 @@ function DropdownMenuCheckboxItem({ className, children, checked, ...props }) {
2224
2237
  DropdownMenuPrimitive.CheckboxItem,
2225
2238
  {
2226
2239
  "data-slot": "dropdown-menu-checkbox-item",
2227
- className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
2240
+ className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
2228
2241
  checked,
2229
2242
  ...props,
2230
2243
  children: [
@@ -2239,7 +2252,7 @@ function DropdownMenuRadioItem({ className, children, ...props }) {
2239
2252
  DropdownMenuPrimitive.RadioItem,
2240
2253
  {
2241
2254
  "data-slot": "dropdown-menu-radio-item",
2242
- className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
2255
+ className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-none transition-colors data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
2243
2256
  ...props,
2244
2257
  children: [
2245
2258
  /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(DropdownMenuPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CircleIcon, { className: "size-2 fill-current" }) }) }),
@@ -2269,6 +2282,7 @@ function PopoverAnchor({ ...props }) {
2269
2282
  function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
2270
2283
  const container = React.useContext(NajmThemeContainerCtx);
2271
2284
  const resolvedBorderDegree = useResolvedBorderDegree();
2285
+ useNajmPortalLayerStyles();
2272
2286
  return /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2273
2287
  PopoverPrimitive.Content,
2274
2288
  {
@@ -2318,6 +2332,7 @@ function SelectScrollDownButton({ className, ...props }) {
2318
2332
  }
2319
2333
  function SelectContent({ className, children, position = "popper", ...props }) {
2320
2334
  const container = React.useContext(NajmThemeContainerCtx);
2335
+ useNajmPortalLayerStyles();
2321
2336
  return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsxs(
2322
2337
  SelectPrimitive.Content,
2323
2338
  {
@@ -2345,7 +2360,7 @@ function SelectItem({ className, children, ...props }) {
2345
2360
  SelectPrimitive.Item,
2346
2361
  {
2347
2362
  "data-slot": "select-item",
2348
- className: cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
2363
+ className: cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-pointer items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className),
2349
2364
  ...props,
2350
2365
  children: [
2351
2366
  /* @__PURE__ */ jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) }) }),
@@ -2701,6 +2716,7 @@ var tooltipContentVariants = cva(
2701
2716
  );
2702
2717
  function TooltipContent({ className, sideOffset = 4, variant, children, ...props }) {
2703
2718
  const container = React.useContext(NajmThemeContainerCtx);
2719
+ useNajmPortalLayerStyles();
2704
2720
  return /* @__PURE__ */ jsx(TooltipPrimitive.Portal, { container: container ?? void 0, children: /* @__PURE__ */ jsx(
2705
2721
  TooltipPrimitive.Content,
2706
2722
  {
@@ -3285,7 +3301,7 @@ function CommandItem({ className, ...props }) {
3285
3301
  Command$1.Item,
3286
3302
  {
3287
3303
  "data-slot": "command-item",
3288
- className: cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
3304
+ className: cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-pointer items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
3289
3305
  ...props
3290
3306
  }
3291
3307
  );
@@ -3483,13 +3499,13 @@ var StatusPill = React.forwardRef(
3483
3499
  }
3484
3500
  );
3485
3501
  StatusPill.displayName = "StatusPill";
3486
- function Toaster({ ...props }) {
3502
+ function Toaster({ toastOptions, ...props }) {
3487
3503
  return /* @__PURE__ */ jsx(
3488
3504
  Toaster$1,
3489
3505
  {
3490
3506
  className: "toaster group",
3491
- richColors: false,
3492
3507
  toastOptions: {
3508
+ ...toastOptions,
3493
3509
  classNames: {
3494
3510
  toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
3495
3511
  description: "group-[.toast]:text-muted-foreground",
@@ -3498,7 +3514,8 @@ function Toaster({ ...props }) {
3498
3514
  success: "!border-emerald-500/40 !bg-emerald-600 !text-white [&_[data-description]]:!text-white/80",
3499
3515
  error: "!border-red-500/40 !bg-red-600 !text-white [&_[data-description]]:!text-white/80",
3500
3516
  warning: "!border-amber-500/40 !bg-amber-500 !text-white [&_[data-description]]:!text-white/80",
3501
- info: "!border-cyan-500/40 !bg-cyan-600 !text-white [&_[data-description]]:!text-white/80"
3517
+ info: "!border-cyan-500/40 !bg-cyan-600 !text-white [&_[data-description]]:!text-white/80",
3518
+ ...toastOptions?.classNames
3502
3519
  }
3503
3520
  },
3504
3521
  ...props
@@ -3556,7 +3573,7 @@ function TableRow({ className, ...props }) {
3556
3573
  return /* @__PURE__ */ jsx("tr", { "data-slot": "table-row", className: cn("border-b border-border/30 transition-colors hover:bg-muted/30 data-[state=selected]:bg-muted", className), ...props });
3557
3574
  }
3558
3575
  function TableHead({ className, ...props }) {
3559
- return /* @__PURE__ */ jsx("th", { "data-slot": "table-head", className: cn("text-muted-foreground h-9 px-3 text-left align-middle text-xs font-medium uppercase tracking-wide whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className), ...props });
3576
+ return /* @__PURE__ */ jsx("th", { "data-slot": "table-head", className: cn("text-foreground h-9 px-3 text-left align-middle text-xs font-medium uppercase tracking-wide whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className), ...props });
3560
3577
  }
3561
3578
  function TableCell({ className, ...props }) {
3562
3579
  return /* @__PURE__ */ jsx("td", { "data-slot": "table-cell", className: cn("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]", className), ...props });
@@ -7662,11 +7679,11 @@ function useTableKeyboard(options = {}) {
7662
7679
  // src/components/table/tableColors.ts
7663
7680
  var HEADER_COLORS = {
7664
7681
  primary: { bg: "bg-primary/15", text: "[&_th]:text-primary", row: "hover:bg-primary/5" },
7665
- violet: { bg: "bg-violet-600/20", text: "[&_th]:text-violet-700 dark:[&_th]:text-violet-300", row: "hover:bg-violet-500/5" },
7666
- blue: { bg: "bg-blue-600/20", text: "[&_th]:text-blue-700 dark:[&_th]:text-blue-300", row: "hover:bg-blue-500/5" },
7667
- emerald: { bg: "bg-emerald-600/20", text: "[&_th]:text-emerald-700 dark:[&_th]:text-emerald-300", row: "hover:bg-emerald-500/5" },
7668
- amber: { bg: "bg-amber-500/20", text: "[&_th]:text-amber-700 dark:[&_th]:text-amber-300", row: "hover:bg-amber-500/5" },
7669
- rose: { bg: "bg-rose-600/20", text: "[&_th]:text-rose-700 dark:[&_th]:text-rose-300", row: "hover:bg-rose-500/5" },
7682
+ violet: { bg: "bg-violet-600/30", text: "[&_th]:text-violet-800 dark:[&_th]:text-violet-200", row: "hover:bg-violet-500/5" },
7683
+ blue: { bg: "bg-blue-600/30", text: "[&_th]:text-blue-800 dark:[&_th]:text-blue-200", row: "hover:bg-blue-500/5" },
7684
+ emerald: { bg: "bg-emerald-600/30", text: "[&_th]:text-emerald-800 dark:[&_th]:text-emerald-200", row: "hover:bg-emerald-500/5" },
7685
+ amber: { bg: "bg-amber-500/30", text: "[&_th]:text-amber-800 dark:[&_th]:text-amber-200", row: "hover:bg-amber-500/5" },
7686
+ rose: { bg: "bg-rose-600/30", text: "[&_th]:text-rose-800 dark:[&_th]:text-rose-200", row: "hover:bg-rose-500/5" },
7670
7687
  slate: { bg: "bg-slate-700/60", text: "[&_th]:text-slate-100 dark:[&_th]:text-slate-300", row: "hover:bg-slate-500/5" }
7671
7688
  };
7672
7689
  var HEADER_HEX = {
@@ -7779,7 +7796,7 @@ function NTableContent({ effectiveMode }) {
7779
7796
  const dir = column.getIsSorted();
7780
7797
  if (dir === "asc") return /* @__PURE__ */ jsx(ArrowUp, { className: "h-4 w-4" });
7781
7798
  if (dir === "desc") return /* @__PURE__ */ jsx(ArrowDown, { className: "h-4 w-4" });
7782
- return /* @__PURE__ */ jsx(ArrowUpDown, { className: "h-4 w-4 opacity-50" });
7799
+ return /* @__PURE__ */ jsx(ArrowUpDown, { className: "h-4 w-4" });
7783
7800
  };
7784
7801
  return /* @__PURE__ */ jsx(
7785
7802
  NajmScroll,
package/dist/styles.css CHANGED
@@ -2555,6 +2555,9 @@ video {
2555
2555
  .bg-amber-500\/20 {
2556
2556
  background-color: rgb(245 158 11 / 0.2);
2557
2557
  }
2558
+ .bg-amber-500\/30 {
2559
+ background-color: rgb(245 158 11 / 0.3);
2560
+ }
2558
2561
  .bg-background {
2559
2562
  background-color: hsl(var(--najm-background));
2560
2563
  }
@@ -2573,8 +2576,8 @@ video {
2573
2576
  .bg-black\/50 {
2574
2577
  background-color: rgb(0 0 0 / 0.5);
2575
2578
  }
2576
- .bg-blue-600\/20 {
2577
- background-color: rgb(37 99 235 / 0.2);
2579
+ .bg-blue-600\/30 {
2580
+ background-color: rgb(37 99 235 / 0.3);
2578
2581
  }
2579
2582
  .bg-border {
2580
2583
  background-color: hsl(var(--najm-border));
@@ -2608,8 +2611,8 @@ video {
2608
2611
  --tw-bg-opacity: 1;
2609
2612
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
2610
2613
  }
2611
- .bg-emerald-600\/20 {
2612
- background-color: rgb(5 150 105 / 0.2);
2614
+ .bg-emerald-600\/30 {
2615
+ background-color: rgb(5 150 105 / 0.3);
2613
2616
  }
2614
2617
  .bg-foreground {
2615
2618
  background-color: hsl(var(--najm-foreground));
@@ -2688,8 +2691,8 @@ video {
2688
2691
  --tw-bg-opacity: 1;
2689
2692
  background-color: rgb(244 63 94 / var(--tw-bg-opacity, 1));
2690
2693
  }
2691
- .bg-rose-600\/20 {
2692
- background-color: rgb(225 29 72 / 0.2);
2694
+ .bg-rose-600\/30 {
2695
+ background-color: rgb(225 29 72 / 0.3);
2693
2696
  }
2694
2697
  .bg-secondary {
2695
2698
  background-color: hsl(var(--najm-secondary));
@@ -2734,8 +2737,8 @@ video {
2734
2737
  .bg-transparent {
2735
2738
  background-color: transparent;
2736
2739
  }
2737
- .bg-violet-600\/20 {
2738
- background-color: rgb(124 58 237 / 0.2);
2740
+ .bg-violet-600\/30 {
2741
+ background-color: rgb(124 58 237 / 0.3);
2739
2742
  }
2740
2743
  .bg-white\/5 {
2741
2744
  background-color: rgb(255 255 255 / 0.05);
@@ -3473,6 +3476,9 @@ video {
3473
3476
  .border-border-strong {
3474
3477
  border-color: hsl(var(--najm-border-strong)) !important;
3475
3478
  }
3479
+ [data-radix-popper-content-wrapper] {
3480
+ z-index: 10000 !important;
3481
+ }
3476
3482
  /* Scrollable, but the scrollbar reserves no layout space (hidden in all
3477
3483
  browsers). `overflow: overlay` was removed from Chrome (~v121) and now
3478
3484
  behaves like `auto`, so hiding the bar is the only pure-CSS way to avoid
@@ -3976,6 +3982,12 @@ video {
3976
3982
  --tw-translate-x: -2px;
3977
3983
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
3978
3984
  }
3985
+ .data-\[disabled\=true\]\:cursor-not-allowed[data-disabled="true"] {
3986
+ cursor: not-allowed;
3987
+ }
3988
+ .data-\[disabled\]\:cursor-not-allowed[data-disabled] {
3989
+ cursor: not-allowed;
3990
+ }
3979
3991
  .data-\[state\=active\]\:border-border[data-state="active"] {
3980
3992
  border-color: hsl(var(--najm-border));
3981
3993
  }
@@ -4977,56 +4989,56 @@ video {
4977
4989
  .\[\&_svg\]\:shrink-0 svg {
4978
4990
  flex-shrink: 0;
4979
4991
  }
4980
- .\[\&_th\]\:text-amber-700 th {
4992
+ .\[\&_th\]\:text-amber-800 th {
4981
4993
  --tw-text-opacity: 1;
4982
- color: rgb(180 83 9 / var(--tw-text-opacity, 1));
4994
+ color: rgb(146 64 14 / var(--tw-text-opacity, 1));
4983
4995
  }
4984
- .\[\&_th\]\:text-blue-700 th {
4996
+ .\[\&_th\]\:text-blue-800 th {
4985
4997
  --tw-text-opacity: 1;
4986
- color: rgb(29 78 216 / var(--tw-text-opacity, 1));
4998
+ color: rgb(30 64 175 / var(--tw-text-opacity, 1));
4987
4999
  }
4988
- .\[\&_th\]\:text-emerald-700 th {
5000
+ .\[\&_th\]\:text-emerald-800 th {
4989
5001
  --tw-text-opacity: 1;
4990
- color: rgb(4 120 87 / var(--tw-text-opacity, 1));
5002
+ color: rgb(6 95 70 / var(--tw-text-opacity, 1));
4991
5003
  }
4992
5004
  .\[\&_th\]\:text-primary th {
4993
5005
  color: hsl(var(--najm-primary));
4994
5006
  }
4995
- .\[\&_th\]\:text-rose-700 th {
5007
+ .\[\&_th\]\:text-rose-800 th {
4996
5008
  --tw-text-opacity: 1;
4997
- color: rgb(190 18 60 / var(--tw-text-opacity, 1));
5009
+ color: rgb(159 18 57 / var(--tw-text-opacity, 1));
4998
5010
  }
4999
5011
  .\[\&_th\]\:text-slate-100 th {
5000
5012
  --tw-text-opacity: 1;
5001
5013
  color: rgb(241 245 249 / var(--tw-text-opacity, 1));
5002
5014
  }
5003
- .\[\&_th\]\:text-violet-700 th {
5015
+ .\[\&_th\]\:text-violet-800 th {
5004
5016
  --tw-text-opacity: 1;
5005
- color: rgb(109 40 217 / var(--tw-text-opacity, 1));
5017
+ color: rgb(91 33 182 / var(--tw-text-opacity, 1));
5006
5018
  }
5007
- .dark\:\[\&_th\]\:text-amber-300 th:is(.dark *) {
5019
+ .dark\:\[\&_th\]\:text-amber-200 th:is(.dark *) {
5008
5020
  --tw-text-opacity: 1;
5009
- color: rgb(252 211 77 / var(--tw-text-opacity, 1));
5021
+ color: rgb(253 230 138 / var(--tw-text-opacity, 1));
5010
5022
  }
5011
- .dark\:\[\&_th\]\:text-blue-300 th:is(.dark *) {
5023
+ .dark\:\[\&_th\]\:text-blue-200 th:is(.dark *) {
5012
5024
  --tw-text-opacity: 1;
5013
- color: rgb(147 197 253 / var(--tw-text-opacity, 1));
5025
+ color: rgb(191 219 254 / var(--tw-text-opacity, 1));
5014
5026
  }
5015
- .dark\:\[\&_th\]\:text-emerald-300 th:is(.dark *) {
5027
+ .dark\:\[\&_th\]\:text-emerald-200 th:is(.dark *) {
5016
5028
  --tw-text-opacity: 1;
5017
- color: rgb(110 231 183 / var(--tw-text-opacity, 1));
5029
+ color: rgb(167 243 208 / var(--tw-text-opacity, 1));
5018
5030
  }
5019
- .dark\:\[\&_th\]\:text-rose-300 th:is(.dark *) {
5031
+ .dark\:\[\&_th\]\:text-rose-200 th:is(.dark *) {
5020
5032
  --tw-text-opacity: 1;
5021
- color: rgb(253 164 175 / var(--tw-text-opacity, 1));
5033
+ color: rgb(254 205 211 / var(--tw-text-opacity, 1));
5022
5034
  }
5023
5035
  .dark\:\[\&_th\]\:text-slate-300 th:is(.dark *) {
5024
5036
  --tw-text-opacity: 1;
5025
5037
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
5026
5038
  }
5027
- .dark\:\[\&_th\]\:text-violet-300 th:is(.dark *) {
5039
+ .dark\:\[\&_th\]\:text-violet-200 th:is(.dark *) {
5028
5040
  --tw-text-opacity: 1;
5029
- color: rgb(196 181 253 / var(--tw-text-opacity, 1));
5041
+ color: rgb(221 214 254 / var(--tw-text-opacity, 1));
5030
5042
  }
5031
5043
  .\[\&_tr\:last-child\]\:border-0 tr:last-child {
5032
5044
  border-width: 0px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "najm-kit",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "description": "Reusable React UI component package for Najm framework",
6
6
  "main": "./dist/index.mjs",