@carlonicora/nextjs-jsonapi 1.101.2 → 1.101.4

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.
Files changed (34) hide show
  1. package/dist/{BlockNoteEditor-RZE5IYQF.js → BlockNoteEditor-C733AARG.js} +9 -9
  2. package/dist/{BlockNoteEditor-RZE5IYQF.js.map → BlockNoteEditor-C733AARG.js.map} +1 -1
  3. package/dist/{BlockNoteEditor-OV64YA2W.mjs → BlockNoteEditor-ONFPSFHP.mjs} +2 -2
  4. package/dist/billing/index.js +299 -299
  5. package/dist/billing/index.mjs +1 -1
  6. package/dist/{chunk-W7O2YO64.js → chunk-6SYZAZYT.js} +19 -19
  7. package/dist/chunk-6SYZAZYT.js.map +1 -0
  8. package/dist/{chunk-FO642JFF.mjs → chunk-V6ICQB5I.mjs} +19 -19
  9. package/dist/chunk-V6ICQB5I.mjs.map +1 -0
  10. package/dist/client/index.js +2 -2
  11. package/dist/client/index.mjs +1 -1
  12. package/dist/components/index.js +2 -2
  13. package/dist/components/index.mjs +1 -1
  14. package/dist/contexts/index.js +2 -2
  15. package/dist/contexts/index.mjs +1 -1
  16. package/package.json +1 -1
  17. package/src/components/forms/EntityMultiSelector.tsx +1 -1
  18. package/src/components/forms/MultiFileUploader.tsx +1 -1
  19. package/src/features/assistant/components/parts/AssistantSidebar.tsx +1 -3
  20. package/src/features/assistant-message/components/parts/MessageSourcesPanel.tsx +1 -1
  21. package/src/features/how-to/components/containers/HowToCommand.tsx +3 -3
  22. package/src/features/rbac/components/RbacContainer.tsx +1 -1
  23. package/src/shadcnui/ui/badge.tsx +1 -1
  24. package/src/shadcnui/ui/button.tsx +1 -1
  25. package/src/shadcnui/ui/calendar.tsx +2 -2
  26. package/src/shadcnui/ui/command.tsx +1 -1
  27. package/src/shadcnui/ui/context-menu.tsx +1 -1
  28. package/src/shadcnui/ui/dropdown-menu.tsx +1 -1
  29. package/src/shadcnui/ui/input-group.tsx +1 -1
  30. package/src/shadcnui/ui/sidebar.tsx +1 -1
  31. package/src/shadcnui/ui/toggle.tsx +1 -1
  32. package/dist/chunk-FO642JFF.mjs.map +0 -1
  33. package/dist/chunk-W7O2YO64.js.map +0 -1
  34. /package/dist/{BlockNoteEditor-OV64YA2W.mjs.map → BlockNoteEditor-ONFPSFHP.mjs.map} +0 -0
@@ -222,7 +222,7 @@ var buttonVariants = cva2(
222
222
  },
223
223
  size: {
224
224
  default: "h-7 gap-1 px-2 text-xs/relaxed has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",
225
- xs: "h-5 gap-1 rounded-sm px-2 text-[0.625rem] has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-2.5",
225
+ xs: "h-5 gap-1 rounded-sm px-2 text-xs has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-2.5",
226
226
  sm: "h-6 gap-1 px-2 text-xs/relaxed has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
227
227
  lg: "h-8 gap-1 px-2.5 text-xs/relaxed has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-4",
228
228
  icon: "size-7 [&_svg:not([class*='size-'])]:size-3.5",
@@ -490,7 +490,7 @@ import { mergeProps } from "@base-ui/react/merge-props";
490
490
  import { useRender } from "@base-ui/react/use-render";
491
491
  import { cva as cva3 } from "class-variance-authority";
492
492
  var badgeVariants = cva3(
493
- "h-5 gap-1 rounded-full border border-transparent px-2 py-0.5 text-[0.625rem] font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-2.5! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-colors overflow-hidden group/badge",
493
+ "h-5 gap-1 rounded-full border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-2.5! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-colors overflow-hidden group/badge",
494
494
  {
495
495
  variants: {
496
496
  variant: {
@@ -683,12 +683,12 @@ function Calendar({
683
683
  table: "w-full border-collapse",
684
684
  weekdays: cn("flex", defaultClassNames.weekdays),
685
685
  weekday: cn(
686
- "text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
686
+ "text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-xs select-none",
687
687
  defaultClassNames.weekday
688
688
  ),
689
689
  week: cn("flex w-full mt-2", defaultClassNames.week),
690
690
  week_number_header: cn("select-none w-(--cell-size)", defaultClassNames.week_number_header),
691
- week_number: cn("text-[0.8rem] select-none text-muted-foreground", defaultClassNames.week_number),
691
+ week_number: cn("text-xs select-none text-muted-foreground", defaultClassNames.week_number),
692
692
  day: cn(
693
693
  "relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius) group/day aspect-square select-none",
694
694
  props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",
@@ -1326,7 +1326,7 @@ function InputGroup({ className, ...props }) {
1326
1326
  }
1327
1327
  __name(InputGroup, "InputGroup");
1328
1328
  var inputGroupAddonVariants = cva4(
1329
- "text-muted-foreground **:data-[slot=kbd]:bg-muted-foreground/10 h-auto gap-1 py-2 text-xs/relaxed font-medium group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-[calc(var(--radius-sm)-2px)] **:data-[slot=kbd]:px-1 **:data-[slot=kbd]:text-[0.625rem] [&>svg:not([class*='size-'])]:size-3.5 flex cursor-text items-center justify-center select-none",
1329
+ "text-muted-foreground **:data-[slot=kbd]:bg-muted-foreground/10 h-auto gap-1 py-2 text-xs/relaxed font-medium group-data-[disabled=true]/input-group:opacity-50 **:data-[slot=kbd]:rounded-[calc(var(--radius-sm)-2px)] **:data-[slot=kbd]:px-1 **:data-[slot=kbd]:text-xs [&>svg:not([class*='size-'])]:size-3.5 flex cursor-text items-center justify-center select-none",
1330
1330
  {
1331
1331
  variants: {
1332
1332
  align: {
@@ -1920,7 +1920,7 @@ function CommandShortcut({ className, ...props }) {
1920
1920
  {
1921
1921
  "data-slot": "command-shortcut",
1922
1922
  className: cn(
1923
- "text-muted-foreground group-data-[selected=true]/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest",
1923
+ "text-muted-foreground group-data-[selected=true]/command-item:text-foreground ml-auto text-xs tracking-widest",
1924
1924
  className
1925
1925
  ),
1926
1926
  ...props
@@ -2114,7 +2114,7 @@ function ContextMenuShortcut({ className, ...props }) {
2114
2114
  {
2115
2115
  "data-slot": "context-menu-shortcut",
2116
2116
  className: cn(
2117
- "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest",
2117
+ "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",
2118
2118
  className
2119
2119
  ),
2120
2120
  ...props
@@ -2431,7 +2431,7 @@ function DropdownMenuShortcut({ className, ...props }) {
2431
2431
  {
2432
2432
  "data-slot": "dropdown-menu-shortcut",
2433
2433
  className: cn(
2434
- "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest",
2434
+ "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",
2435
2435
  className
2436
2436
  ),
2437
2437
  ...props
@@ -3953,7 +3953,7 @@ function SidebarMenuButton({
3953
3953
  },
3954
3954
  props
3955
3955
  ),
3956
- render: !tooltip ? render : TooltipTrigger,
3956
+ render: !tooltip ? render : /* @__PURE__ */ jsx37(TooltipTrigger, {}),
3957
3957
  state: {
3958
3958
  slot: "sidebar-menu-button",
3959
3959
  sidebar: "menu-button",
@@ -4387,7 +4387,7 @@ var toggleVariants = cva9(
4387
4387
  },
4388
4388
  size: {
4389
4389
  default: "h-7 min-w-7 px-2",
4390
- sm: "h-6 min-w-6 rounded-[min(var(--radius-md),8px)] px-1.5 text-[0.625rem] [&_svg:not([class*='size-'])]:size-3",
4390
+ sm: "h-6 min-w-6 rounded-[min(var(--radius-md),8px)] px-1.5 text-xs [&_svg:not([class*='size-'])]:size-3",
4391
4391
  lg: "h-8 min-w-8 px-2"
4392
4392
  }
4393
4393
  },
@@ -8225,7 +8225,7 @@ function EntityMultiSelector({
8225
8225
  /* @__PURE__ */ jsx57(PopoverTrigger, { className: "w-full", children: /* @__PURE__ */ jsxs29("div", { className: "bg-input/20 dark:bg-input/30 border-input flex min-h-7 w-full items-center gap-2 rounded-md border px-2 text-sm md:text-xs/relaxed", children: [
8226
8226
  selectedValues.length > 0 ? /* @__PURE__ */ jsxs29(Fragment7, { children: [
8227
8227
  /* @__PURE__ */ jsx57("span", { className: "text-foreground min-w-0 flex-1 truncate text-left", children: triggerSummary }),
8228
- /* @__PURE__ */ jsx57("span", { className: "bg-primary/10 text-primary shrink-0 rounded-full px-1.5 py-0.5 text-[0.625rem] font-medium", children: selectedValues.length })
8228
+ /* @__PURE__ */ jsx57("span", { className: "bg-primary/10 text-primary shrink-0 rounded-full px-1.5 py-0.5 text-xs font-medium", children: selectedValues.length })
8229
8229
  ] }) : /* @__PURE__ */ jsx57("span", { className: "text-muted-foreground flex-1 text-left", children: placeholder }),
8230
8230
  /* @__PURE__ */ jsx57(ChevronDownIcon7, { className: "text-muted-foreground size-3.5 shrink-0" })
8231
8231
  ] }) }),
@@ -9493,7 +9493,7 @@ import { useRef as useRef15 } from "react";
9493
9493
  import dynamic from "next/dynamic";
9494
9494
  import React14 from "react";
9495
9495
  import { jsx as jsx73 } from "react/jsx-runtime";
9496
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-OV64YA2W.mjs"), {
9496
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-ONFPSFHP.mjs"), {
9497
9497
  ssr: false
9498
9498
  });
9499
9499
  var BlockNoteEditorContainer = React14.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -17960,15 +17960,15 @@ function HowToCommand({ pathname, extraGroups, onStartChat }) {
17960
17960
  ] }),
17961
17961
  /* @__PURE__ */ jsxs118("div", { className: "text-muted-foreground flex items-center justify-center gap-4 border-t px-3 py-2 text-xs", children: [
17962
17962
  /* @__PURE__ */ jsxs118("span", { className: "flex items-center gap-1", children: [
17963
- /* @__PURE__ */ jsx195("kbd", { className: "bg-muted rounded border px-1.5 py-0.5 font-mono text-[10px]", children: "\u23CE" }),
17963
+ /* @__PURE__ */ jsx195("kbd", { className: "bg-muted rounded border px-1.5 py-0.5 font-mono text-xs", children: "\u23CE" }),
17964
17964
  t(`howto.command.keyboard.select`)
17965
17965
  ] }),
17966
17966
  /* @__PURE__ */ jsxs118("span", { className: "flex items-center gap-1", children: [
17967
- /* @__PURE__ */ jsx195("kbd", { className: "bg-muted rounded border px-1.5 py-0.5 font-mono text-[10px]", children: "\u2191\u2193" }),
17967
+ /* @__PURE__ */ jsx195("kbd", { className: "bg-muted rounded border px-1.5 py-0.5 font-mono text-xs", children: "\u2191\u2193" }),
17968
17968
  t(`howto.command.keyboard.navigate`)
17969
17969
  ] }),
17970
17970
  /* @__PURE__ */ jsxs118("span", { className: "flex items-center gap-1", children: [
17971
- /* @__PURE__ */ jsx195("kbd", { className: "bg-muted rounded border px-1.5 py-0.5 font-mono text-[10px]", children: t(`howto.keyboard.esc`) }),
17971
+ /* @__PURE__ */ jsx195("kbd", { className: "bg-muted rounded border px-1.5 py-0.5 font-mono text-xs", children: t(`howto.keyboard.esc`) }),
17972
17972
  t(`howto.command.keyboard.close`)
17973
17973
  ] })
17974
17974
  ] })
@@ -18307,7 +18307,7 @@ function AssistantSidebar({ threads, activeId, onSelect, onNew }) {
18307
18307
  const renderSection = /* @__PURE__ */ __name((label, items) => {
18308
18308
  if (items.length === 0) return null;
18309
18309
  return /* @__PURE__ */ jsxs121("div", { className: "mb-2", children: [
18310
- /* @__PURE__ */ jsx204("div", { className: "text-muted-foreground px-2 py-1 text-[10px] font-semibold uppercase tracking-wider", children: label }),
18310
+ /* @__PURE__ */ jsx204("div", { className: "text-muted-foreground px-2 py-1 text-xs font-semibold uppercase tracking-wider", children: label }),
18311
18311
  items.map((thread) => /* @__PURE__ */ jsx204(
18312
18312
  "button",
18313
18313
  {
@@ -18833,7 +18833,7 @@ function MessageSourcesPanel({ message, isLatestAssistant, onSelectFollowUp, sou
18833
18833
  open && /* @__PURE__ */ jsx214("div", { id: panelId, className: "mt-2 w-full min-w-0", children: /* @__PURE__ */ jsxs130(Tabs, { value: active, onValueChange: (v) => setActive(v), children: [
18834
18834
  /* @__PURE__ */ jsx214(TabsList, { children: visibleTabs.map((key) => /* @__PURE__ */ jsxs130(TabsTrigger, { value: key, children: [
18835
18835
  t(`features.assistant.message.sources.tabs.${key === "suggested" ? "suggested_questions" : key}`),
18836
- /* @__PURE__ */ jsxs130("span", { className: "text-muted-foreground ml-1.5 text-[10px]", children: [
18836
+ /* @__PURE__ */ jsxs130("span", { className: "text-muted-foreground ml-1.5 text-xs", children: [
18837
18837
  key === "suggested" && suggestionsCount,
18838
18838
  key === "references" && refsCount,
18839
18839
  key === "citations" && citationsCount,
@@ -21560,7 +21560,7 @@ var ModuleEditor = memo2(/* @__PURE__ */ __name(function ModuleEditor2({
21560
21560
  return /* @__PURE__ */ jsxs165("div", { className: "rounded-lg border border-accent bg-card", children: [
21561
21561
  /* @__PURE__ */ jsxs165("div", { className: "flex items-center justify-between border-b px-4 py-2", children: [
21562
21562
  /* @__PURE__ */ jsx255("h4", { className: "text-sm font-medium", children: moduleLabel }),
21563
- /* @__PURE__ */ jsx255("span", { className: "font-mono text-[10px] text-muted-foreground", children: moduleId })
21563
+ /* @__PURE__ */ jsx255("span", { className: "font-mono text-xs text-muted-foreground", children: moduleId })
21564
21564
  ] }),
21565
21565
  /* @__PURE__ */ jsx255("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsxs165("table", { className: "w-full text-sm", children: [
21566
21566
  /* @__PURE__ */ jsx255("thead", { children: /* @__PURE__ */ jsxs165("tr", { className: "border-b bg-muted/50", children: [
@@ -22408,4 +22408,4 @@ export {
22408
22408
  useOAuthClients,
22409
22409
  useOAuthClient
22410
22410
  };
22411
- //# sourceMappingURL=chunk-FO642JFF.mjs.map
22411
+ //# sourceMappingURL=chunk-V6ICQB5I.mjs.map