@carlonicora/nextjs-jsonapi 1.140.0 → 1.140.1

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.
@@ -10128,7 +10128,7 @@ import { useRef as useRef17 } from "react";
10128
10128
  import dynamic from "next/dynamic";
10129
10129
  import React17 from "react";
10130
10130
  import { jsx as jsx86 } from "react/jsx-runtime";
10131
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-EA6XBEGN.mjs"), {
10131
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-AXAC3W24.mjs"), {
10132
10132
  ssr: false
10133
10133
  });
10134
10134
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -14994,7 +14994,7 @@ function RoundPageContainer({
14994
14994
  }
14995
14995
  ),
14996
14996
  /* @__PURE__ */ jsxs94(
14997
- "div",
14997
+ "main",
14998
14998
  {
14999
14999
  "data-testid": testId,
15000
15000
  className: cn(
@@ -15029,7 +15029,7 @@ function RoundPageContainer({
15029
15029
  }
15030
15030
  ),
15031
15031
  /* @__PURE__ */ jsxs94(
15032
- "div",
15032
+ "main",
15033
15033
  {
15034
15034
  "data-testid": testId,
15035
15035
  className: cn(
@@ -16647,12 +16647,18 @@ function ContentTableSearch({ data }) {
16647
16647
  {
16648
16648
  className: `relative flex h-6 items-center text-xs font-normal transition-all duration-300 ease-in-out ${isExpanded ? "w-64" : "w-6"}`,
16649
16649
  children: [
16650
- /* @__PURE__ */ jsx179(
16651
- Search,
16650
+ isExpanded ? /* @__PURE__ */ jsx179(Search, { "aria-hidden": true, className: "text-muted-foreground absolute top-1 left-1 size-4" }) : /* @__PURE__ */ jsxs101(
16651
+ Button,
16652
16652
  {
16653
16653
  "data-testid": "content-table-search-trigger",
16654
- className: `absolute top-1 left-1 h-4 w-4 transition-colors ${isExpanded ? "text-muted-foreground" : "text-muted-foreground hover:text-foreground cursor-pointer"}`,
16655
- onClick: handleSearchIconClick
16654
+ variant: "ghost",
16655
+ size: "icon-sm",
16656
+ className: "text-muted-foreground hover:text-foreground absolute top-0 left-0",
16657
+ onClick: handleSearchIconClick,
16658
+ children: [
16659
+ /* @__PURE__ */ jsx179(Search, { className: "size-4" }),
16660
+ /* @__PURE__ */ jsx179("span", { className: "sr-only", children: t(`ui.search.button`) })
16661
+ ]
16656
16662
  }
16657
16663
  ),
16658
16664
  isExpanded && /* @__PURE__ */ jsx179(
@@ -16675,11 +16681,17 @@ function ContentTableSearch({ data }) {
16675
16681
  }
16676
16682
  ),
16677
16683
  isExpanded && isSearching && /* @__PURE__ */ jsx179(RefreshCw, { className: "text-muted-foreground absolute top-1 right-1 h-4 w-4 animate-spin" }),
16678
- isExpanded && !isSearching && searchTermRef.current && /* @__PURE__ */ jsx179(
16679
- X3,
16684
+ isExpanded && !isSearching && searchTermRef.current && /* @__PURE__ */ jsxs101(
16685
+ Button,
16680
16686
  {
16681
- className: "text-muted-foreground hover:text-foreground absolute top-1 right-1 h-4 w-4 cursor-pointer",
16682
- onClick: handleClear
16687
+ variant: "ghost",
16688
+ size: "icon-sm",
16689
+ className: "text-muted-foreground hover:text-foreground absolute top-0 right-0",
16690
+ onClick: handleClear,
16691
+ children: [
16692
+ /* @__PURE__ */ jsx179(X3, { className: "size-4" }),
16693
+ /* @__PURE__ */ jsx179("span", { className: "sr-only", children: t(`ui.buttons.clear`) })
16694
+ ]
16683
16695
  }
16684
16696
  )
16685
16697
  ]
@@ -23902,4 +23914,4 @@ export {
23902
23914
  useOAuthClients,
23903
23915
  useOAuthClient
23904
23916
  };
23905
- //# sourceMappingURL=chunk-NLPJOLO4.mjs.map
23917
+ //# sourceMappingURL=chunk-B5YZFCPE.mjs.map