@agroshine/ags-web-ui-kit 1.0.0

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 (109) hide show
  1. package/README.md +75 -0
  2. package/dist/atoms/index.cjs +134 -0
  3. package/dist/atoms/index.cjs.map +1 -0
  4. package/dist/atoms/index.d.cts +583 -0
  5. package/dist/atoms/index.d.ts +583 -0
  6. package/dist/atoms/index.js +9 -0
  7. package/dist/atoms/index.js.map +1 -0
  8. package/dist/chunk-2KRMLIJQ.cjs +52 -0
  9. package/dist/chunk-2KRMLIJQ.cjs.map +1 -0
  10. package/dist/chunk-2TBYPKQ3.cjs +79 -0
  11. package/dist/chunk-2TBYPKQ3.cjs.map +1 -0
  12. package/dist/chunk-5FWELSEZ.js +1296 -0
  13. package/dist/chunk-5FWELSEZ.js.map +1 -0
  14. package/dist/chunk-5PEOJVY7.cjs +1502 -0
  15. package/dist/chunk-5PEOJVY7.cjs.map +1 -0
  16. package/dist/chunk-6LUGTNMH.js +259 -0
  17. package/dist/chunk-6LUGTNMH.js.map +1 -0
  18. package/dist/chunk-6O2IDBTX.js +112 -0
  19. package/dist/chunk-6O2IDBTX.js.map +1 -0
  20. package/dist/chunk-6YUNWKT3.js +26 -0
  21. package/dist/chunk-6YUNWKT3.js.map +1 -0
  22. package/dist/chunk-7R6OXNES.cjs +321 -0
  23. package/dist/chunk-7R6OXNES.cjs.map +1 -0
  24. package/dist/chunk-A3A7PJWG.cjs +13 -0
  25. package/dist/chunk-A3A7PJWG.cjs.map +1 -0
  26. package/dist/chunk-A7TDGQAB.js +557 -0
  27. package/dist/chunk-A7TDGQAB.js.map +1 -0
  28. package/dist/chunk-C4LX3XTN.cjs +1187 -0
  29. package/dist/chunk-C4LX3XTN.cjs.map +1 -0
  30. package/dist/chunk-DZW4GS2T.cjs +1340 -0
  31. package/dist/chunk-DZW4GS2T.cjs.map +1 -0
  32. package/dist/chunk-E3BTK736.cjs +174 -0
  33. package/dist/chunk-E3BTK736.cjs.map +1 -0
  34. package/dist/chunk-ERGKCXM2.cjs +267 -0
  35. package/dist/chunk-ERGKCXM2.cjs.map +1 -0
  36. package/dist/chunk-FOA46NSG.cjs +574 -0
  37. package/dist/chunk-FOA46NSG.cjs.map +1 -0
  38. package/dist/chunk-JTFCE6RA.js +1156 -0
  39. package/dist/chunk-JTFCE6RA.js.map +1 -0
  40. package/dist/chunk-KINOE57L.js +225 -0
  41. package/dist/chunk-KINOE57L.js.map +1 -0
  42. package/dist/chunk-MOED3QPY.js +11 -0
  43. package/dist/chunk-MOED3QPY.js.map +1 -0
  44. package/dist/chunk-NVR34DY2.cjs +4 -0
  45. package/dist/chunk-NVR34DY2.cjs.map +1 -0
  46. package/dist/chunk-PI3IJWBG.js +79 -0
  47. package/dist/chunk-PI3IJWBG.js.map +1 -0
  48. package/dist/chunk-PXAMTGYY.js +3 -0
  49. package/dist/chunk-PXAMTGYY.js.map +1 -0
  50. package/dist/chunk-QAZMI5VH.js +151 -0
  51. package/dist/chunk-QAZMI5VH.js.map +1 -0
  52. package/dist/chunk-QEG27NX6.js +30 -0
  53. package/dist/chunk-QEG27NX6.js.map +1 -0
  54. package/dist/chunk-THTOUSMG.cjs +52 -0
  55. package/dist/chunk-THTOUSMG.cjs.map +1 -0
  56. package/dist/chunk-UAXKB6IH.cjs +32 -0
  57. package/dist/chunk-UAXKB6IH.cjs.map +1 -0
  58. package/dist/chunk-W5IHWAMM.js +48 -0
  59. package/dist/chunk-W5IHWAMM.js.map +1 -0
  60. package/dist/chunk-X2UJQVZJ.cjs +139 -0
  61. package/dist/chunk-X2UJQVZJ.cjs.map +1 -0
  62. package/dist/chunk-X43C5OJD.js +1460 -0
  63. package/dist/chunk-X43C5OJD.js.map +1 -0
  64. package/dist/chunk-XCYSBWV4.js +56 -0
  65. package/dist/chunk-XCYSBWV4.js.map +1 -0
  66. package/dist/chunk-XX4CBCEB.cjs +102 -0
  67. package/dist/chunk-XX4CBCEB.cjs.map +1 -0
  68. package/dist/hooks/index.cjs +33 -0
  69. package/dist/hooks/index.cjs.map +1 -0
  70. package/dist/hooks/index.d.cts +59 -0
  71. package/dist/hooks/index.d.ts +59 -0
  72. package/dist/hooks/index.js +4 -0
  73. package/dist/hooks/index.js.map +1 -0
  74. package/dist/index.cjs +366 -0
  75. package/dist/index.cjs.map +1 -0
  76. package/dist/index.d.cts +13 -0
  77. package/dist/index.d.ts +13 -0
  78. package/dist/index.js +17 -0
  79. package/dist/index.js.map +1 -0
  80. package/dist/interface-DnK5S6ww.d.cts +51 -0
  81. package/dist/interface-DnK5S6ww.d.ts +51 -0
  82. package/dist/lib/index.cjs +13 -0
  83. package/dist/lib/index.cjs.map +1 -0
  84. package/dist/lib/index.d.cts +5 -0
  85. package/dist/lib/index.d.ts +5 -0
  86. package/dist/lib/index.js +4 -0
  87. package/dist/lib/index.js.map +1 -0
  88. package/dist/molecules/index.cjs +123 -0
  89. package/dist/molecules/index.cjs.map +1 -0
  90. package/dist/molecules/index.d.cts +449 -0
  91. package/dist/molecules/index.d.ts +449 -0
  92. package/dist/molecules/index.js +10 -0
  93. package/dist/molecules/index.js.map +1 -0
  94. package/dist/organisms/index.cjs +102 -0
  95. package/dist/organisms/index.cjs.map +1 -0
  96. package/dist/organisms/index.d.cts +396 -0
  97. package/dist/organisms/index.d.ts +396 -0
  98. package/dist/organisms/index.js +9 -0
  99. package/dist/organisms/index.js.map +1 -0
  100. package/dist/tooltip-Bl2ZTtfg.d.cts +16 -0
  101. package/dist/tooltip-Bl2ZTtfg.d.ts +16 -0
  102. package/dist/ui/index.cjs +955 -0
  103. package/dist/ui/index.cjs.map +1 -0
  104. package/dist/ui/index.d.cts +252 -0
  105. package/dist/ui/index.d.ts +252 -0
  106. package/dist/ui/index.js +642 -0
  107. package/dist/ui/index.js.map +1 -0
  108. package/package.json +200 -0
  109. package/tailwind.preset.cjs +134 -0
@@ -0,0 +1,396 @@
1
+ import * as React$1 from 'react';
2
+ import React__default, { ReactNode, FC } from 'react';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import { Dayjs } from 'dayjs';
5
+ import { O as Option } from '../interface-DnK5S6ww.cjs';
6
+ import { ToasterProps as ToasterProps$1 } from 'sonner';
7
+ export { toast } from 'sonner';
8
+
9
+ interface AccordionItemData {
10
+ key: string;
11
+ title: ReactNode;
12
+ content: ReactNode;
13
+ disabled?: boolean;
14
+ /** Icono opcional a la izquierda del título. */
15
+ icon?: ReactNode;
16
+ /** Número/string al estilo `acc-num` (chip circular). Solo se renderiza en `variant="card"`. */
17
+ number?: ReactNode;
18
+ }
19
+ type AccordionType = 'single' | 'multiple';
20
+ type AccordionVariant = 'default' | 'card';
21
+ interface AccordionBaseProps {
22
+ items: AccordionItemData[];
23
+ /**
24
+ * `default` (canon): ítems separados por línea inferior, border-top en el primero.
25
+ * `card` : cada ítem como tarjeta independiente con borde completo + margen.
26
+ */
27
+ variant?: AccordionVariant;
28
+ className?: string;
29
+ collapsible?: boolean;
30
+ }
31
+ interface AccordionSingleProps extends AccordionBaseProps {
32
+ type: 'single';
33
+ defaultValue?: string;
34
+ value?: string;
35
+ onChange?: (value: string) => void;
36
+ }
37
+ interface AccordionMultipleProps extends AccordionBaseProps {
38
+ type: 'multiple';
39
+ defaultValue?: string[];
40
+ value?: string[];
41
+ onChange?: (value: string[]) => void;
42
+ }
43
+ type AccordionProps = AccordionSingleProps | AccordionMultipleProps;
44
+
45
+ declare const Accordion: React$1.ForwardRefExoticComponent<AccordionProps & React$1.RefAttributes<HTMLDivElement>>;
46
+
47
+ interface ContentProps {
48
+ children: ReactNode;
49
+ padded?: boolean;
50
+ maxWidth?: number | 'full';
51
+ className?: string;
52
+ }
53
+
54
+ declare const Content: React$1.ForwardRefExoticComponent<ContentProps & React$1.RefAttributes<HTMLElement>>;
55
+
56
+ interface FormCardProps {
57
+ title?: string;
58
+ description?: string;
59
+ disabled?: boolean;
60
+ children?: React__default.ReactNode;
61
+ }
62
+ declare const FormCard: React__default.FC<FormCardProps>;
63
+
64
+ interface BrandLogoProps {
65
+ /** Letra/iniciales mostradas dentro del cuadrado naranja-tierra. */
66
+ mark?: string;
67
+ /** Texto al lado del cuadrado. */
68
+ name?: string;
69
+ className?: string;
70
+ }
71
+ /**
72
+ * Brand AgroShine del top nav (canon `.lh-brand` + `.brand-mark`):
73
+ * cuadrado `bg-secondary-500` con la letra "A" y el texto "AgroShine" al lado.
74
+ * Padding `0 22px 0 18px` + ancho mínimo 240 px para alinear con el sidebar.
75
+ */
76
+ declare function BrandLogo({ mark, name, className }: BrandLogoProps): react_jsx_runtime.JSX.Element;
77
+
78
+ interface FarmChipProps {
79
+ /** Contenido del chip: ej. "La Esperanza · Tenjo". */
80
+ children: ReactNode;
81
+ /** Renderiza un dot ámbar a la izquierda (canon `.lh-farm-dot`). */
82
+ withDot?: boolean;
83
+ className?: string;
84
+ }
85
+ /**
86
+ * Pill que muestra la finca/contexto del usuario (canon `.lh-farm`):
87
+ * borde `border-white/20`, padding `4px 12px`, texto pequeño blanco.
88
+ */
89
+ declare function FarmChip({ children, withDot, className }: FarmChipProps): react_jsx_runtime.JSX.Element;
90
+
91
+ interface HeaderItem {
92
+ key: string;
93
+ label: string;
94
+ icon?: ReactNode;
95
+ active?: boolean;
96
+ href?: string;
97
+ onClick?: () => void;
98
+ }
99
+ /**
100
+ * Configuración del campo de búsqueda integrado del Header AgroShine.
101
+ *
102
+ * - `undefined` (o `false`) ⇒ el search no se renderiza.
103
+ * - Pasar un objeto (aunque sea `{}`) ⇒ muestra el input con valores por defecto.
104
+ */
105
+ interface HeaderSearch {
106
+ placeholder?: string;
107
+ value?: string;
108
+ onChange?: (value: string) => void;
109
+ onSubmit?: (value: string) => void;
110
+ }
111
+ interface HeaderProps {
112
+ /** Slot brand. Si se omite se renderiza el brand AgroShine por defecto. */
113
+ brand?: ReactNode;
114
+ /** Items de navegación horizontal. Vacío ⇒ no se renderiza la nav. */
115
+ items?: HeaderItem[];
116
+ onItemClick?: (item: HeaderItem) => void;
117
+ /**
118
+ * Search integrado a la derecha del nav.
119
+ * `undefined` o `false` lo oculta; objeto (aunque vacío) lo muestra.
120
+ */
121
+ search?: HeaderSearch | false;
122
+ /** Chip pequeño tipo "🌿 Finca La Esperanza" antes del avatar. */
123
+ farmChip?: ReactNode;
124
+ /** Slot abierto para avatar/dropdown del usuario. */
125
+ user?: ReactNode;
126
+ /** Slot extra (bell, settings, etc.) entre el chip y el avatar. */
127
+ actions?: ReactNode;
128
+ className?: string;
129
+ sticky?: boolean;
130
+ /** Altura en px. Default 60 (canon Components.html). */
131
+ height?: number;
132
+ }
133
+
134
+ /**
135
+ * Header (Top Nav) AgroShine — canon `Components.html` § "Header (Top Nav)" L1847.
136
+ *
137
+ * Layout horizontal sobre `bg-primary-500` con borde inferior `border-primary-700`:
138
+ * `[brand] [nav items] [search] [farm chip] [actions] [user]`
139
+ *
140
+ * Compatibilidad: las props originales (`brand`, `items`, `onItemClick`, `actions`,
141
+ * `user`, `className`, `sticky`, `height`) conservan su firma. Se añaden `search` y
142
+ * `farmChip` como slots opcionales. Si no se pasa `brand` se renderiza el brand
143
+ * AgroShine por defecto (cuadrado naranja + "AgroShine") para que el componente
144
+ * cumpla con el canon out-of-the-box.
145
+ */
146
+ declare const Header: React$1.ForwardRefExoticComponent<HeaderProps & React$1.RefAttributes<HTMLElement>>;
147
+
148
+ interface SearchBoxProps extends HeaderSearch {
149
+ className?: string;
150
+ }
151
+ /**
152
+ * Search integrado del top nav (canon `.lh-search`):
153
+ * input transparente sobre el verde con `bg-white/10`, borde `border-white/15`,
154
+ * texto blanco, placeholder `white/50`. Ancho ~260 px. Lupa absoluta a la izquierda.
155
+ *
156
+ * Soporta uso controlado (`value` + `onChange`) y no controlado (estado interno).
157
+ */
158
+ declare const SearchBox: React$1.ForwardRefExoticComponent<SearchBoxProps & React$1.RefAttributes<HTMLInputElement>>;
159
+
160
+ interface UserAvatarProps {
161
+ /** Iniciales mostradas dentro del círculo (ej. "MR"). */
162
+ initials: string;
163
+ /** Etiqueta accesible (nombre completo). */
164
+ label?: string;
165
+ className?: string;
166
+ onClick?: () => void;
167
+ }
168
+ /**
169
+ * Avatar circular del top nav (canon `.avatar.avatar-sm` sobre `.lh-dark`):
170
+ * círculo de 32 px con iniciales sobre `bg-white/15`, border sutil `border-white/20`.
171
+ */
172
+ declare function UserAvatar({ initials, label, className, onClick }: UserAvatarProps): react_jsx_runtime.JSX.Element;
173
+
174
+ interface LayoutProps {
175
+ header?: ReactNode;
176
+ sidebar?: ReactNode;
177
+ footer?: ReactNode;
178
+ children: ReactNode;
179
+ hasHeader?: boolean;
180
+ hasSidebar?: boolean;
181
+ sidebarCollapsed?: boolean;
182
+ className?: string;
183
+ }
184
+
185
+ declare const Layout: React$1.ForwardRefExoticComponent<LayoutProps & React$1.RefAttributes<HTMLDivElement>>;
186
+
187
+ interface PageHeaderProps {
188
+ title: string;
189
+ subtitle?: string;
190
+ onBack?: () => void;
191
+ headerLeft?: React.ReactNode;
192
+ extra?: React.ReactNode | React.ReactNode[];
193
+ children?: React.ReactNode;
194
+ }
195
+ declare const PageHeader: FC<PageHeaderProps>;
196
+
197
+ type PickerSize = 'large' | 'medium' | 'small';
198
+ type PickerStatus = 'error' | 'warning' | 'success' | 'validating';
199
+ type PickerPlacement = 'bottomLeft' | 'bottomRight' | 'topLeft' | 'topRight';
200
+ interface PickerBaseProps {
201
+ allowClear?: boolean;
202
+ className?: string;
203
+ getPopupContainer?: (trigger: HTMLElement) => HTMLElement;
204
+ needConfirm?: boolean;
205
+ disabled?: boolean;
206
+ open?: boolean;
207
+ defaultOpen?: boolean;
208
+ onOpenChange?: (open: boolean) => void;
209
+ placement?: PickerPlacement;
210
+ size?: PickerSize;
211
+ status?: PickerStatus;
212
+ externalLabel?: string;
213
+ help?: string;
214
+ errorMessage?: string;
215
+ }
216
+ interface DatePickerProps extends PickerBaseProps {
217
+ defaultValue?: Dayjs | null;
218
+ value?: Dayjs | null;
219
+ format?: string | string[];
220
+ placeholder?: string;
221
+ minDate?: Dayjs;
222
+ maxDate?: Dayjs;
223
+ picker?: 'date' | 'month' | 'year';
224
+ isDateUnavailable?: (date: unknown) => boolean;
225
+ showMonthAndYearPickers?: boolean;
226
+ onChange?: (date: Dayjs | null, dateString: string) => void;
227
+ onFocus?: (e: React.FocusEvent<HTMLElement>) => void;
228
+ onBlur?: (e: React.FocusEvent<HTMLElement>) => void;
229
+ }
230
+ interface RangePickerProps extends PickerBaseProps {
231
+ defaultValue?: [Dayjs | null, Dayjs | null] | null;
232
+ value?: [Dayjs | null, Dayjs | null] | null;
233
+ format?: string | string[];
234
+ placeholder?: [string, string];
235
+ minDate?: Dayjs;
236
+ maxDate?: Dayjs;
237
+ isDateUnavailable?: (date: unknown) => boolean;
238
+ allowsNonContiguousRanges?: boolean;
239
+ visibleMonths?: 1 | 2 | 3;
240
+ onCalendarChange?: (dates: [Dayjs | null, Dayjs | null], dateStrings: [string, string], info: {
241
+ range?: 'start' | 'end';
242
+ }) => void;
243
+ onChange?: (dates: [Dayjs | null, Dayjs | null] | null, dateStrings: [string, string]) => void;
244
+ onFocus?: (e: React.FocusEvent<HTMLElement>) => void;
245
+ onBlur?: (e: React.FocusEvent<HTMLElement>) => void;
246
+ }
247
+ interface PickerPanelProps {
248
+ value?: Dayjs | null;
249
+ defaultValue?: Dayjs | null;
250
+ minDate?: Dayjs;
251
+ maxDate?: Dayjs;
252
+ className?: string;
253
+ isDateUnavailable?: (date: unknown) => boolean;
254
+ onChange?: (value: Dayjs | null) => void;
255
+ }
256
+
257
+ declare const DatePicker: React__default.ForwardRefExoticComponent<DatePickerProps & React__default.RefAttributes<HTMLDivElement>>;
258
+
259
+ declare const PickerPanel: React__default.FC<PickerPanelProps>;
260
+
261
+ declare const RangePicker: React__default.ForwardRefExoticComponent<RangePickerProps & React__default.RefAttributes<HTMLDivElement>>;
262
+
263
+ declare const DEFAULT_FORMAT = "DD/MM/YYYY";
264
+ declare const DEFAULT_FORMATS: string[];
265
+
266
+ interface QueryStateProps {
267
+ loading?: boolean;
268
+ error?: unknown;
269
+ empty?: boolean;
270
+ emptyTitle?: string;
271
+ emptyDescription?: string;
272
+ emptyAction?: ReactNode;
273
+ errorTitle?: string;
274
+ errorDescription?: string;
275
+ onRetry?: () => void;
276
+ loadingFallback?: ReactNode;
277
+ children: ReactNode;
278
+ className?: string;
279
+ }
280
+
281
+ declare const QueryState: React$1.ForwardRefExoticComponent<QueryStateProps & React$1.RefAttributes<HTMLDivElement>>;
282
+
283
+ type ResultStatus = 'success' | 'error' | 'warning' | 'info' | '404' | '500';
284
+ interface ResultProps {
285
+ status: ResultStatus;
286
+ title: string;
287
+ description?: string;
288
+ icon?: ReactNode;
289
+ extra?: ReactNode;
290
+ className?: string;
291
+ }
292
+
293
+ declare const Result: React$1.ForwardRefExoticComponent<ResultProps & React$1.RefAttributes<HTMLDivElement>>;
294
+
295
+ interface SearchFilterBarProps {
296
+ options: Option[];
297
+ selectedOption: string;
298
+ onOptionChange: (value: string) => void;
299
+ searchValue: string;
300
+ onSearchChange: (value: string) => void;
301
+ searchPlaceholder?: string;
302
+ className?: string;
303
+ }
304
+ declare function SearchFilterBar({ options, selectedOption, onOptionChange, searchValue, onSearchChange, searchPlaceholder, className, }: SearchFilterBarProps): react_jsx_runtime.JSX.Element;
305
+
306
+ interface SidebarItem {
307
+ key: string;
308
+ label: string;
309
+ /** Icono opcional a la izquierda. Si no se pasa, se renderiza un `dot` canon. */
310
+ icon?: ReactNode;
311
+ href?: string;
312
+ active?: boolean;
313
+ disabled?: boolean;
314
+ badge?: ReactNode;
315
+ /** Sub-items (no usados en canon default — reservado para extensión futura). */
316
+ children?: SidebarItem[];
317
+ }
318
+ interface SidebarGroup {
319
+ key: string;
320
+ label?: string;
321
+ items: SidebarItem[];
322
+ /** Canon: grupos colapsables. Default `true`. */
323
+ collapsible?: boolean;
324
+ /** Default abierto. Default `true`. */
325
+ defaultOpen?: boolean;
326
+ }
327
+ /**
328
+ * Encabezado de módulo `.ls-context` (canon HTML L1869):
329
+ * - `label` pequeño uppercase muted (ej. "Módulo")
330
+ * - `title` grande bold (ej. "Aspersiones")
331
+ * - `sub` pequeño muted (ej. "Programa W20 · loop sanidad")
332
+ */
333
+ interface SidebarContext {
334
+ label?: ReactNode;
335
+ title: ReactNode;
336
+ sub?: ReactNode;
337
+ }
338
+ interface SidebarProps {
339
+ groups: SidebarGroup[];
340
+ /** Encabezado de contexto del módulo. */
341
+ context?: SidebarContext;
342
+ collapsed?: boolean;
343
+ onCollapsedChange?: (v: boolean) => void;
344
+ width?: number;
345
+ collapsedWidth?: number;
346
+ /** Slot libre arriba del context (ej. logo). Compat con API anterior. */
347
+ brand?: ReactNode;
348
+ /** Slot libre abajo. Compat. */
349
+ footer?: ReactNode;
350
+ onItemClick?: (item: SidebarItem) => void;
351
+ className?: string;
352
+ }
353
+
354
+ declare const Sidebar: React$1.ForwardRefExoticComponent<SidebarProps & React$1.RefAttributes<HTMLElement>>;
355
+
356
+ interface ToasterProps extends ToasterProps$1 {
357
+ className?: string;
358
+ }
359
+ /**
360
+ * Toaster AgroShine — wrapper sobre `sonner` alineado al canon HTML
361
+ * (`Components.html` § Toast · Sonner).
362
+ *
363
+ * - `position` default: `top-right` (canon: stack arriba-derecha).
364
+ * - `theme` default: `light` (la lib aún no soporta dark-mode global).
365
+ * - `richColors` desactivado: las variantes (`success`, `error`,
366
+ * `warning`, `info`) reciben classNames manuales basados en
367
+ * tokens semánticos AgroShine (paletas `success-*`, `warning-*`,
368
+ * `danger-*`, `primary-*`).
369
+ * - `closeButton: true` — botón de dismiss visible (canon § Toast).
370
+ *
371
+ * Estructura visual: `grid 18px 1fr auto` (icon · texto · acción/dismiss).
372
+ */
373
+ declare const Toaster: React$1.ForwardRefExoticComponent<ToasterProps & React$1.RefAttributes<HTMLElement>>;
374
+
375
+ interface TreeNode {
376
+ key: string;
377
+ title: ReactNode;
378
+ icon?: ReactNode;
379
+ children?: TreeNode[];
380
+ disabled?: boolean;
381
+ selectable?: boolean;
382
+ }
383
+ interface TreeProps {
384
+ data: TreeNode[];
385
+ defaultExpanded?: string[];
386
+ expanded?: string[];
387
+ onExpandedChange?: (keys: string[]) => void;
388
+ selectedKey?: string;
389
+ onSelect?: (key: string, node: TreeNode) => void;
390
+ showLine?: boolean;
391
+ className?: string;
392
+ }
393
+
394
+ declare const Tree: React$1.ForwardRefExoticComponent<TreeProps & React$1.RefAttributes<HTMLDivElement>>;
395
+
396
+ export { Accordion, type AccordionItemData, type AccordionMultipleProps, type AccordionProps, type AccordionSingleProps, type AccordionType, BrandLogo, type BrandLogoProps, Content, type ContentProps, DEFAULT_FORMAT, DEFAULT_FORMATS, DatePicker, type DatePickerProps, FarmChip, type FarmChipProps, FormCard, Header, type HeaderItem, type HeaderProps, type HeaderSearch, Layout, type LayoutProps, PageHeader, type PickerBaseProps, PickerPanel, type PickerPlacement, type PickerSize, type PickerStatus, QueryState, type QueryStateProps, RangePicker, type RangePickerProps, Result, type ResultProps, type ResultStatus, SearchBox, type SearchBoxProps, SearchFilterBar, Sidebar, type SidebarGroup, type SidebarItem, type SidebarProps, Toaster, type ToasterProps, Tree, type TreeNode, type TreeProps, UserAvatar, type UserAvatarProps };