@krak-stack/registry 0.1.2 → 0.1.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 (50) hide show
  1. package/README.md +17 -1
  2. package/dist/components/ui/alert.d.ts +10 -0
  3. package/dist/components/ui/app-brand.js +20 -20
  4. package/dist/components/ui/bubble.d.ts +16 -0
  5. package/dist/components/ui/code-block.js +38 -38
  6. package/dist/components/ui/collapsible.d.ts +5 -0
  7. package/dist/components/ui/copy-button.js +16 -16
  8. package/dist/components/ui/data-table.js +687 -687
  9. package/dist/components/ui/editing-locale-switcher.js +54 -54
  10. package/dist/components/ui/effect-form.js +490 -490
  11. package/dist/components/ui/empty.d.ts +11 -0
  12. package/dist/components/ui/file-picker.js +96 -96
  13. package/dist/components/ui/form.js +418 -418
  14. package/dist/components/ui/google-map.js +27 -27
  15. package/dist/components/ui/icon-input.js +93 -93
  16. package/dist/components/ui/loading.js +5 -5
  17. package/dist/components/ui/locale-switcher.js +48 -48
  18. package/dist/components/ui/marker.d.ts +10 -0
  19. package/dist/components/ui/message-scroller.d.ts +10 -0
  20. package/dist/components/ui/message.d.ts +10 -0
  21. package/dist/components/ui/pagination.js +92 -92
  22. package/dist/components/ui/search-menu.js +93 -93
  23. package/dist/components/ui/sidebar-layout.js +156 -156
  24. package/dist/components/ui/stats-card.js +28 -28
  25. package/dist/components/ui/theme-switcher.js +64 -64
  26. package/dist/components/ui/virtualized-combobox.js +66 -66
  27. package/dist/lib/docs-ai.d.ts +136 -0
  28. package/dist/lib/docs-ai.js +310 -0
  29. package/dist/lib/docs-core.d.ts +681 -0
  30. package/dist/lib/docs-core.js +2571 -0
  31. package/dist/lib/httpapi-ai.d.ts +54 -0
  32. package/dist/lib/httpapi-ai.js +361 -0
  33. package/dist/lib/httpapi-cli.d.ts +22 -0
  34. package/dist/lib/httpapi-cli.js +412 -0
  35. package/dist/lib/httpapi-client.d.ts +20 -0
  36. package/dist/lib/httpapi-client.js +50 -0
  37. package/dist/lib/httpapi-helpers.d.ts +105 -0
  38. package/dist/lib/httpapi-helpers.js +237 -0
  39. package/dist/lib/httpapi-mcp.d.ts +20 -0
  40. package/dist/lib/httpapi-mcp.js +366 -0
  41. package/dist/lib/query.js +128 -0
  42. package/dist/services/agent/client/atom.d.ts +56 -0
  43. package/dist/services/agent/client/index.d.ts +2 -0
  44. package/dist/services/agent/client/index.js +2239 -0
  45. package/dist/services/agent/client/widget.d.ts +52 -0
  46. package/dist/services/agent/index.d.ts +111 -0
  47. package/dist/services/agent/index.js +190 -0
  48. package/dist/services/agent/schema.d.ts +161 -0
  49. package/dist/services/agent/schema.js +135 -0
  50. package/package.json +59 -3
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ declare function Empty({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
3
+ declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
4
+ declare const emptyMediaVariants: (props?: ({
5
+ variant?: "default" | "icon" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): import("react").JSX.Element;
8
+ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
9
+ declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): import("react").JSX.Element;
10
+ declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): import("react").JSX.Element;
11
+ export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, };
@@ -22,7 +22,7 @@ function cn(...inputs) {
22
22
  // ../../src/components/ui/button.tsx
23
23
  import { Button as ButtonPrimitive } from "@base-ui/react/button";
24
24
  import { cva } from "class-variance-authority";
25
- import { jsxDEV } from "react/jsx-dev-runtime";
25
+ import { jsx } from "react/jsx-runtime";
26
26
  var buttonVariants = cva("group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
27
27
  variants: {
28
28
  variant: {
@@ -55,15 +55,15 @@ function Button({
55
55
  size = "default",
56
56
  ...props
57
57
  }) {
58
- return /* @__PURE__ */ jsxDEV(ButtonPrimitive, {
58
+ return /* @__PURE__ */ jsx(ButtonPrimitive, {
59
59
  "data-slot": "button",
60
60
  className: cn(buttonVariants({ variant, size, className })),
61
61
  ...props
62
- }, undefined, false, undefined, this);
62
+ });
63
63
  }
64
64
 
65
65
  // ../../src/components/ui/attachment.tsx
66
- import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
66
+ import { jsx as jsx2 } from "react/jsx-runtime";
67
67
  var attachmentVariants = cva2("group/attachment relative flex w-fit max-w-full min-w-0 shrink-0 flex-wrap rounded-xl border bg-card text-card-foreground transition-colors focus-within:ring-1 focus-within:ring-ring/50 has-[>a,>button]:hover:bg-muted/50 data-[state=error]:border-destructive/30 data-[state=idle]:border-dashed", {
68
68
  variants: {
69
69
  size: {
@@ -84,14 +84,14 @@ function Attachment({
84
84
  orientation = "horizontal",
85
85
  ...props
86
86
  }) {
87
- return /* @__PURE__ */ jsxDEV2("div", {
87
+ return /* @__PURE__ */ jsx2("div", {
88
88
  "data-slot": "attachment",
89
89
  "data-state": state,
90
90
  "data-size": size,
91
91
  "data-orientation": orientation,
92
92
  className: cn(attachmentVariants({ size, orientation }), className),
93
93
  ...props
94
- }, undefined, false, undefined, this);
94
+ });
95
95
  }
96
96
  var attachmentMediaVariants = cva2("relative flex aspect-square w-10 shrink-0 items-center justify-center overflow-hidden rounded-lg bg-muted text-foreground group-data-[orientation=vertical]/attachment:w-full group-data-[size=sm]/attachment:w-8 group-data-[size=xs]/attachment:w-7 group-data-[size=xs]/attachment:rounded-md group-data-[state=error]/attachment:bg-destructive/10 group-data-[state=error]/attachment:text-destructive group-data-[orientation=vertical]/attachment:*:data-[slot=spinner]:size-6! [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 group-data-[orientation=vertical]/attachment:[&_svg:not([class*='size-'])]:size-6 group-data-[size=xs]/attachment:[&_svg:not([class*='size-'])]:size-3.5", {
97
97
  variants: {
@@ -109,52 +109,52 @@ function AttachmentMedia({
109
109
  variant = "icon",
110
110
  ...props
111
111
  }) {
112
- return /* @__PURE__ */ jsxDEV2("div", {
112
+ return /* @__PURE__ */ jsx2("div", {
113
113
  "data-slot": "attachment-media",
114
114
  "data-variant": variant,
115
115
  className: cn(attachmentMediaVariants({ variant }), className),
116
116
  ...props
117
- }, undefined, false, undefined, this);
117
+ });
118
118
  }
119
119
  function AttachmentContent({
120
120
  className,
121
121
  ...props
122
122
  }) {
123
- return /* @__PURE__ */ jsxDEV2("div", {
123
+ return /* @__PURE__ */ jsx2("div", {
124
124
  "data-slot": "attachment-content",
125
125
  className: cn("max-w-full min-w-0 flex-1 leading-tight group-data-[orientation=vertical]/attachment:px-1", className),
126
126
  ...props
127
- }, undefined, false, undefined, this);
127
+ });
128
128
  }
129
129
  function AttachmentTitle({
130
130
  className,
131
131
  ...props
132
132
  }) {
133
- return /* @__PURE__ */ jsxDEV2("span", {
133
+ return /* @__PURE__ */ jsx2("span", {
134
134
  "data-slot": "attachment-title",
135
135
  className: cn("block max-w-full min-w-0 truncate font-medium group-data-[state=processing]/attachment:shimmer group-data-[state=uploading]/attachment:shimmer", className),
136
136
  ...props
137
- }, undefined, false, undefined, this);
137
+ });
138
138
  }
139
139
  function AttachmentDescription({
140
140
  className,
141
141
  ...props
142
142
  }) {
143
- return /* @__PURE__ */ jsxDEV2("span", {
143
+ return /* @__PURE__ */ jsx2("span", {
144
144
  "data-slot": "attachment-description",
145
145
  className: cn("mt-0.5 block min-w-0 truncate text-xs text-muted-foreground group-data-[state=error]/attachment:text-destructive/80", "max-w-full", className),
146
146
  ...props
147
- }, undefined, false, undefined, this);
147
+ });
148
148
  }
149
149
  function AttachmentActions({
150
150
  className,
151
151
  ...props
152
152
  }) {
153
- return /* @__PURE__ */ jsxDEV2("div", {
153
+ return /* @__PURE__ */ jsx2("div", {
154
154
  "data-slot": "attachment-actions",
155
155
  className: cn("relative z-20 flex shrink-0 items-center group-data-[orientation=vertical]/attachment:absolute group-data-[orientation=vertical]/attachment:top-3 group-data-[orientation=vertical]/attachment:right-3 group-data-[orientation=vertical]/attachment:gap-1", className),
156
156
  ...props
157
- }, undefined, false, undefined, this);
157
+ });
158
158
  }
159
159
  function AttachmentAction({
160
160
  className,
@@ -162,32 +162,32 @@ function AttachmentAction({
162
162
  size = "icon-xs",
163
163
  ...props
164
164
  }) {
165
- return /* @__PURE__ */ jsxDEV2(Button, {
165
+ return /* @__PURE__ */ jsx2(Button, {
166
166
  "data-slot": "attachment-action",
167
167
  variant: variant ?? "ghost",
168
168
  size,
169
169
  className: cn(className),
170
170
  ...props
171
- }, undefined, false, undefined, this);
171
+ });
172
172
  }
173
173
  function AttachmentGroup({ className, ...props }) {
174
- return /* @__PURE__ */ jsxDEV2("div", {
174
+ return /* @__PURE__ */ jsx2("div", {
175
175
  "data-slot": "attachment-group",
176
176
  className: cn("flex min-w-0 scroll-fade-x snap-x snap-mandatory scroll-px-1 scrollbar-none gap-3 overflow-x-auto overscroll-x-contain py-1 *:data-[slot=attachment]:flex-none *:data-[slot=attachment]:snap-start", className),
177
177
  ...props
178
- }, undefined, false, undefined, this);
178
+ });
179
179
  }
180
180
 
181
181
  // ../../src/components/ui/input.tsx
182
182
  import { Input as InputPrimitive } from "@base-ui/react/input";
183
- import { jsxDEV as jsxDEV3 } from "react/jsx-dev-runtime";
183
+ import { jsx as jsx3 } from "react/jsx-runtime";
184
184
  function Input({ className, type, ...props }) {
185
- return /* @__PURE__ */ jsxDEV3(InputPrimitive, {
185
+ return /* @__PURE__ */ jsx3(InputPrimitive, {
186
186
  type,
187
187
  "data-slot": "input",
188
188
  className: cn("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-2.5 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className),
189
189
  ...props
190
- }, undefined, false, undefined, this);
190
+ });
191
191
  }
192
192
 
193
193
  // ../../src/paraglide/runtime.js
@@ -619,7 +619,7 @@ function isCustomStrategy(strategy2) {
619
619
  }
620
620
 
621
621
  // ../../src/components/ui/file-picker.tsx
622
- import { jsxDEV as jsxDEV4, Fragment } from "react/jsx-dev-runtime";
622
+ import { jsx as jsx4, jsxs, Fragment } from "react/jsx-runtime";
623
623
  "use client";
624
624
  var messages = {
625
625
  en: {
@@ -712,7 +712,7 @@ var FilePicker = ({
712
712
  if (inputRef.current)
713
713
  inputRef.current.value = "";
714
714
  };
715
- const input = /* @__PURE__ */ jsxDEV4(Input, {
715
+ const input = /* @__PURE__ */ jsx4(Input, {
716
716
  ref: inputRef,
717
717
  className: "sr-only",
718
718
  id,
@@ -729,12 +729,12 @@ var FilePicker = ({
729
729
  event.target.value = "";
730
730
  },
731
731
  "aria-invalid": invalid
732
- }, undefined, false, undefined, this);
732
+ });
733
733
  if (multiple) {
734
- return /* @__PURE__ */ jsxDEV4("div", {
734
+ return /* @__PURE__ */ jsxs("div", {
735
735
  className: "grid min-w-0 gap-3",
736
736
  children: [
737
- /* @__PURE__ */ jsxDEV4("div", {
737
+ /* @__PURE__ */ jsxs("div", {
738
738
  className: "bg-muted/30 data-[dragging=true]:bg-muted flex min-h-32 min-w-0 flex-col items-center justify-center gap-3 rounded-xl border border-dashed p-6 text-center transition-colors",
739
739
  "data-dragging": dragging,
740
740
  onDragEnter: (event) => {
@@ -753,69 +753,69 @@ var FilePicker = ({
753
753
  onDragOver: (event) => event.preventDefault(),
754
754
  onDrop: handleDrop,
755
755
  children: [
756
- /* @__PURE__ */ jsxDEV4(CloudUpload, {
756
+ /* @__PURE__ */ jsx4(CloudUpload, {
757
757
  className: "text-muted-foreground size-6"
758
- }, undefined, false, undefined, this),
759
- /* @__PURE__ */ jsxDEV4("div", {
758
+ }),
759
+ /* @__PURE__ */ jsxs("div", {
760
760
  className: "max-w-full min-w-0",
761
761
  children: [
762
- /* @__PURE__ */ jsxDEV4("p", {
762
+ /* @__PURE__ */ jsx4("p", {
763
763
  className: "text-sm font-medium",
764
764
  children: labels.dropFiles
765
- }, undefined, false, undefined, this),
766
- /* @__PURE__ */ jsxDEV4("p", {
765
+ }),
766
+ /* @__PURE__ */ jsx4("p", {
767
767
  className: "text-muted-foreground max-w-full text-xs [overflow-wrap:anywhere]",
768
768
  children: labels.accepts(accept)
769
- }, undefined, false, undefined, this)
769
+ })
770
770
  ]
771
- }, undefined, true, undefined, this),
772
- /* @__PURE__ */ jsxDEV4(Button, {
771
+ }),
772
+ /* @__PURE__ */ jsxs(Button, {
773
773
  type: "button",
774
774
  variant: "outline",
775
775
  onClick: () => inputRef.current?.click(),
776
776
  children: [
777
- /* @__PURE__ */ jsxDEV4(FileUp, {
777
+ /* @__PURE__ */ jsx4(FileUp, {
778
778
  "data-icon": "inline-start"
779
- }, undefined, false, undefined, this),
779
+ }),
780
780
  labels.chooseFiles
781
781
  ]
782
- }, undefined, true, undefined, this),
782
+ }),
783
783
  input
784
784
  ]
785
- }, undefined, true, undefined, this),
786
- files.length > 0 ? /* @__PURE__ */ jsxDEV4(AttachmentGroup, {
787
- children: files.map((selectedFile) => /* @__PURE__ */ jsxDEV4(Attachment, {
785
+ }),
786
+ files.length > 0 ? /* @__PURE__ */ jsx4(AttachmentGroup, {
787
+ children: files.map((selectedFile) => /* @__PURE__ */ jsxs(Attachment, {
788
788
  state: invalid ? "error" : "idle",
789
789
  children: [
790
- /* @__PURE__ */ jsxDEV4(AttachmentMedia, {
791
- children: /* @__PURE__ */ jsxDEV4(FileIcon, {}, undefined, false, undefined, this)
792
- }, undefined, false, undefined, this),
793
- /* @__PURE__ */ jsxDEV4(AttachmentContent, {
790
+ /* @__PURE__ */ jsx4(AttachmentMedia, {
791
+ children: /* @__PURE__ */ jsx4(FileIcon, {})
792
+ }),
793
+ /* @__PURE__ */ jsxs(AttachmentContent, {
794
794
  children: [
795
- /* @__PURE__ */ jsxDEV4(AttachmentTitle, {
795
+ /* @__PURE__ */ jsx4(AttachmentTitle, {
796
796
  children: selectedFile.name
797
- }, undefined, false, undefined, this),
798
- /* @__PURE__ */ jsxDEV4(AttachmentDescription, {
797
+ }),
798
+ /* @__PURE__ */ jsx4(AttachmentDescription, {
799
799
  children: fileDescription(selectedFile)
800
- }, undefined, false, undefined, this)
800
+ })
801
801
  ]
802
- }, undefined, true, undefined, this),
803
- /* @__PURE__ */ jsxDEV4(AttachmentActions, {
804
- children: /* @__PURE__ */ jsxDEV4(AttachmentAction, {
802
+ }),
803
+ /* @__PURE__ */ jsx4(AttachmentActions, {
804
+ children: /* @__PURE__ */ jsx4(AttachmentAction, {
805
805
  type: "button",
806
806
  "aria-label": `${labels.deleteFile} ${selectedFile.name}`,
807
807
  onClick: () => onFilesChange?.(files.filter((candidate) => candidate !== selectedFile)),
808
- children: /* @__PURE__ */ jsxDEV4(Trash2, {}, undefined, false, undefined, this)
809
- }, undefined, false, undefined, this)
810
- }, undefined, false, undefined, this)
808
+ children: /* @__PURE__ */ jsx4(Trash2, {})
809
+ })
810
+ })
811
811
  ]
812
- }, `${selectedFile.name}:${selectedFile.size}:${selectedFile.lastModified}`, true, undefined, this))
813
- }, undefined, false, undefined, this) : null
812
+ }, `${selectedFile.name}:${selectedFile.size}:${selectedFile.lastModified}`))
813
+ }) : null
814
814
  ]
815
- }, undefined, true, undefined, this);
815
+ });
816
816
  }
817
817
  if (!selected) {
818
- return /* @__PURE__ */ jsxDEV4("div", {
818
+ return /* @__PURE__ */ jsxs("div", {
819
819
  className: "bg-muted/30 data-[dragging=true]:bg-muted flex min-h-32 flex-col items-center justify-center gap-3 rounded-xl border border-dashed p-6 text-center transition-colors",
820
820
  "data-dragging": dragging,
821
821
  onDragEnter: (event) => {
@@ -834,87 +834,87 @@ var FilePicker = ({
834
834
  onDragOver: (event) => event.preventDefault(),
835
835
  onDrop: handleDrop,
836
836
  children: [
837
- /* @__PURE__ */ jsxDEV4(CloudUpload, {
837
+ /* @__PURE__ */ jsx4(CloudUpload, {
838
838
  className: "text-muted-foreground size-6"
839
- }, undefined, false, undefined, this),
840
- /* @__PURE__ */ jsxDEV4("div", {
839
+ }),
840
+ /* @__PURE__ */ jsxs("div", {
841
841
  children: [
842
- /* @__PURE__ */ jsxDEV4("p", {
842
+ /* @__PURE__ */ jsx4("p", {
843
843
  className: "text-sm font-medium",
844
844
  children: labels.dropFile
845
- }, undefined, false, undefined, this),
846
- /* @__PURE__ */ jsxDEV4("p", {
845
+ }),
846
+ /* @__PURE__ */ jsx4("p", {
847
847
  className: "text-muted-foreground text-xs",
848
848
  children: labels.accepts(accept)
849
- }, undefined, false, undefined, this)
849
+ })
850
850
  ]
851
- }, undefined, true, undefined, this),
852
- /* @__PURE__ */ jsxDEV4(Button, {
851
+ }),
852
+ /* @__PURE__ */ jsxs(Button, {
853
853
  type: "button",
854
854
  variant: "outline",
855
855
  onClick: () => inputRef.current?.click(),
856
856
  children: [
857
- /* @__PURE__ */ jsxDEV4(FileUp, {
857
+ /* @__PURE__ */ jsx4(FileUp, {
858
858
  "data-icon": "inline-start"
859
- }, undefined, false, undefined, this),
859
+ }),
860
860
  labels.chooseFile
861
861
  ]
862
- }, undefined, true, undefined, this),
862
+ }),
863
863
  input
864
864
  ]
865
- }, undefined, true, undefined, this);
865
+ });
866
866
  }
867
- return /* @__PURE__ */ jsxDEV4(Fragment, {
867
+ return /* @__PURE__ */ jsxs(Fragment, {
868
868
  children: [
869
- /* @__PURE__ */ jsxDEV4(Attachment, {
869
+ /* @__PURE__ */ jsxs(Attachment, {
870
870
  className: image ? "w-fit max-w-full" : "w-full",
871
871
  orientation: image ? "vertical" : "horizontal",
872
872
  state: invalid ? "error" : "done",
873
873
  children: [
874
- /* @__PURE__ */ jsxDEV4(AttachmentMedia, {
874
+ /* @__PURE__ */ jsx4(AttachmentMedia, {
875
875
  variant: image ? "image" : "icon",
876
876
  className: image ? "aspect-auto w-full max-w-full [&_img]:aspect-auto! [&_img]:object-contain!" : undefined,
877
- children: image && imageUrl ? /* @__PURE__ */ jsxDEV4("img", {
877
+ children: image && imageUrl ? /* @__PURE__ */ jsx4("img", {
878
878
  src: imageUrl,
879
879
  alt: image.alt,
880
880
  width: image.width,
881
881
  height: image.height,
882
882
  className: "h-auto max-w-full object-contain",
883
883
  style: { maxHeight: image.height }
884
- }, undefined, false, undefined, this) : /* @__PURE__ */ jsxDEV4(FileIcon, {}, undefined, false, undefined, this)
885
- }, undefined, false, undefined, this),
886
- /* @__PURE__ */ jsxDEV4(AttachmentContent, {
884
+ }) : /* @__PURE__ */ jsx4(FileIcon, {})
885
+ }),
886
+ /* @__PURE__ */ jsxs(AttachmentContent, {
887
887
  className: image ? "w-full" : undefined,
888
888
  children: [
889
- /* @__PURE__ */ jsxDEV4(AttachmentTitle, {
889
+ /* @__PURE__ */ jsx4(AttachmentTitle, {
890
890
  children: title
891
- }, undefined, false, undefined, this),
892
- file ? /* @__PURE__ */ jsxDEV4(AttachmentDescription, {
891
+ }),
892
+ file ? /* @__PURE__ */ jsx4(AttachmentDescription, {
893
893
  children: fileDescription(file)
894
- }, undefined, false, undefined, this) : null
894
+ }) : null
895
895
  ]
896
- }, undefined, true, undefined, this),
897
- /* @__PURE__ */ jsxDEV4(AttachmentActions, {
896
+ }),
897
+ /* @__PURE__ */ jsxs(AttachmentActions, {
898
898
  children: [
899
- /* @__PURE__ */ jsxDEV4(AttachmentAction, {
899
+ /* @__PURE__ */ jsx4(AttachmentAction, {
900
900
  type: "button",
901
901
  "aria-label": labels.replaceFile,
902
902
  onClick: () => inputRef.current?.click(),
903
- children: /* @__PURE__ */ jsxDEV4(RefreshCw, {}, undefined, false, undefined, this)
904
- }, undefined, false, undefined, this),
905
- canClear ? /* @__PURE__ */ jsxDEV4(AttachmentAction, {
903
+ children: /* @__PURE__ */ jsx4(RefreshCw, {})
904
+ }),
905
+ canClear ? /* @__PURE__ */ jsx4(AttachmentAction, {
906
906
  type: "button",
907
907
  "aria-label": `${labels.deleteFile} ${typeof title === "string" ? title : ""}`,
908
908
  onClick: clear,
909
- children: /* @__PURE__ */ jsxDEV4(Trash2, {}, undefined, false, undefined, this)
910
- }, undefined, false, undefined, this) : null
909
+ children: /* @__PURE__ */ jsx4(Trash2, {})
910
+ }) : null
911
911
  ]
912
- }, undefined, true, undefined, this)
912
+ })
913
913
  ]
914
- }, undefined, true, undefined, this),
914
+ }),
915
915
  input
916
916
  ]
917
- }, undefined, true, undefined, this);
917
+ });
918
918
  };
919
919
  export {
920
920
  FilePicker