@roy-ui/ui 0.0.7 → 0.0.8

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 (68) hide show
  1. package/dist/{Button-XBBWB5ZT.css → Button-OZLAH5NO.css} +60 -13
  2. package/dist/Table-qVdGZkB4.d.ts +42 -0
  3. package/dist/TimePicker-BhRta4MK.d.ts +39 -0
  4. package/dist/chunk-4SGMAZBG.js +161 -0
  5. package/dist/chunk-4SGMAZBG.js.map +1 -0
  6. package/dist/chunk-5CIBIH7R.js +98 -0
  7. package/dist/chunk-5CIBIH7R.js.map +1 -0
  8. package/dist/chunk-75IGGPXL.js +518 -0
  9. package/dist/chunk-75IGGPXL.js.map +1 -0
  10. package/dist/chunk-C5X3TE5U.js +87 -0
  11. package/dist/chunk-C5X3TE5U.js.map +1 -0
  12. package/dist/chunk-HUCK7AM7.js +840 -0
  13. package/dist/chunk-HUCK7AM7.js.map +1 -0
  14. package/dist/chunk-KSHKVSNK.js +82 -0
  15. package/dist/chunk-KSHKVSNK.js.map +1 -0
  16. package/dist/chunk-M6HB6BMA.js +101 -0
  17. package/dist/chunk-M6HB6BMA.js.map +1 -0
  18. package/dist/chunk-MDPMEW4K.js +58 -0
  19. package/dist/chunk-MDPMEW4K.js.map +1 -0
  20. package/dist/chunk-PGV55XSZ.js +107 -0
  21. package/dist/chunk-PGV55XSZ.js.map +1 -0
  22. package/dist/chunk-RLBVY3DG.js +64 -0
  23. package/dist/chunk-RLBVY3DG.js.map +1 -0
  24. package/dist/chunk-SFENGB5N.js +410 -0
  25. package/dist/chunk-SFENGB5N.js.map +1 -0
  26. package/dist/chunk-XERZVDIT.js +194 -0
  27. package/dist/chunk-XERZVDIT.js.map +1 -0
  28. package/dist/components/button/index.d.ts +37 -0
  29. package/dist/components/button/index.js +4 -0
  30. package/dist/components/button/index.js.map +1 -0
  31. package/dist/components/data-table/index.d.ts +145 -0
  32. package/dist/components/data-table/index.js +9 -0
  33. package/dist/components/data-table/index.js.map +1 -0
  34. package/dist/components/date-range-picker/index.d.ts +30 -0
  35. package/dist/components/date-range-picker/index.js +4 -0
  36. package/dist/components/date-range-picker/index.js.map +1 -0
  37. package/dist/components/gradient-button/index.d.ts +12 -0
  38. package/dist/components/gradient-button/index.js +4 -0
  39. package/dist/components/gradient-button/index.js.map +1 -0
  40. package/dist/components/made-by/index.d.ts +23 -0
  41. package/dist/components/made-by/index.js +4 -0
  42. package/dist/components/made-by/index.js.map +1 -0
  43. package/dist/components/pagination/index.d.ts +23 -0
  44. package/dist/components/pagination/index.js +4 -0
  45. package/dist/components/pagination/index.js.map +1 -0
  46. package/dist/components/popover/index.d.ts +18 -0
  47. package/dist/components/popover/index.js +4 -0
  48. package/dist/components/popover/index.js.map +1 -0
  49. package/dist/components/table/index.d.ts +28 -0
  50. package/dist/components/table/index.js +4 -0
  51. package/dist/components/table/index.js.map +1 -0
  52. package/dist/components/table-search/index.d.ts +19 -0
  53. package/dist/components/table-search/index.js +4 -0
  54. package/dist/components/table-search/index.js.map +1 -0
  55. package/dist/components/text-morph/index.d.ts +28 -0
  56. package/dist/components/text-morph/index.js +4 -0
  57. package/dist/components/text-morph/index.js.map +1 -0
  58. package/dist/components/time-picker/index.d.ts +14 -0
  59. package/dist/components/time-picker/index.js +4 -0
  60. package/dist/components/time-picker/index.js.map +1 -0
  61. package/dist/components/tree-nav/index.d.ts +30 -0
  62. package/dist/components/tree-nav/index.js +4 -0
  63. package/dist/components/tree-nav/index.js.map +1 -0
  64. package/dist/dateUtils-B_m_EICl.d.ts +14 -0
  65. package/dist/index.d.ts +17 -422
  66. package/dist/index.js +12 -2519
  67. package/dist/index.js.map +1 -1
  68. package/package.json +51 -2
package/dist/index.d.ts CHANGED
@@ -1,422 +1,17 @@
1
- import * as react from 'react';
2
- import { ButtonHTMLAttributes, ReactNode, AnchorHTMLAttributes, CSSProperties, HTMLAttributes, LiHTMLAttributes, TableHTMLAttributes, TdHTMLAttributes, ThHTMLAttributes, InputHTMLAttributes } from 'react';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
-
5
- type ButtonSize = 'sm' | 'md' | 'lg';
6
- interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
7
- /** Visual scale. Defaults to "md". */
8
- size?: ButtonSize;
9
- /** Stretch the button to fill its container. Defaults to false. */
10
- fullWidth?: boolean;
11
- /** Replaces children with a spinner and disables the button. */
12
- loading?: boolean;
13
- /** Optional override for the loading visual. Defaults to a spinner. */
14
- loadingLabel?: ReactNode;
15
- children: ReactNode;
16
- }
17
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
18
-
19
- interface GradientButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
20
- loading?: boolean;
21
- loadingLabel?: ReactNode;
22
- fullWidth?: boolean;
23
- children: ReactNode;
24
- }
25
- declare const GradientButton: react.ForwardRefExoticComponent<GradientButtonProps & react.RefAttributes<HTMLButtonElement>>;
26
-
27
- interface PopoverProps {
28
- children: ReactNode;
29
- title?: string;
30
- align?: 'left' | 'right';
31
- width?: 'sm' | 'md' | 'lg' | number;
32
- label?: string;
33
- defaultOpen?: boolean;
34
- renderTrigger?: (api: {
35
- isOpen: boolean;
36
- toggle: () => void;
37
- }) => ReactNode;
38
- }
39
- declare function Popover({ children, title, align, width, label, defaultOpen, renderTrigger, }: PopoverProps): react_jsx_runtime.JSX.Element;
40
-
41
- type MadeByPosition = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
42
- interface MadeByProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'prefix'> {
43
- /** Display name shown after the prefix. */
44
- name: string;
45
- /** URL opened when the badge is clicked. */
46
- href: string;
47
- /** Prefix copy. Defaults to "Made by". */
48
- prefix?: ReactNode;
49
- /** Viewport anchor. Defaults to "bottom-right". */
50
- position?: MadeByPosition;
51
- /** Optional leading slot — avatar, mark, emoji, dot. */
52
- icon?: ReactNode;
53
- /** Custom font-family for the author name. */
54
- nameFont?: string;
55
- /** Font style for the author name. Defaults to "italic". */
56
- nameStyle?: CSSProperties['fontStyle'];
57
- }
58
- declare const MadeBy: react.ForwardRefExoticComponent<MadeByProps & react.RefAttributes<HTMLAnchorElement>>;
59
-
60
- interface TextMorphProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
61
- /** The current text. When this prop changes, the component diff-types
62
- from the previously displayed text to the new value. */
63
- value: string;
64
- /** Optional renderer for the current intermediate text — handy for
65
- syntax highlighting, gradient spans, or wrapping each word. Receives
66
- the partial string at every keystroke during the animation. */
67
- renderText?: (current: string) => ReactNode;
68
- /** Per-character typing delay range in ms. Default [30, 60]. */
69
- typeDelay?: [min: number, max: number];
70
- /** Per-character backspace delay range in ms. Default [18, 30]. */
71
- backspaceDelay?: [min: number, max: number];
72
- /** Characters that get an additional delay (harder to type on a real
73
- keyboard — punctuation, brackets, symbols). Default /[\/{}\-_@]/. */
74
- hardChars?: RegExp;
75
- /** Extra delay range for hard chars in ms. Default [30, 65]. */
76
- hardCharExtraDelay?: [min: number, max: number];
77
- /** Pause between backspace phase and typing phase, in ms. Default 70. */
78
- pauseMs?: number;
79
- /** Skip animation entirely and just swap text. */
80
- disabled?: boolean;
81
- }
82
- declare const TextMorph: react.ForwardRefExoticComponent<TextMorphProps & react.RefAttributes<HTMLSpanElement>>;
83
-
84
- interface TreeNavProps extends HTMLAttributes<HTMLUListElement> {
85
- /** Left indent of the branched group, in pixels. Default 24. */
86
- indent?: number;
87
- /** Vertical gap between items, in pixels. Default 2. */
88
- gap?: number;
89
- }
90
- declare const TreeNav: react.ForwardRefExoticComponent<TreeNavProps & react.RefAttributes<HTMLUListElement>>;
91
-
92
- interface TreeNavItemProps extends Omit<LiHTMLAttributes<HTMLLIElement>, 'children'> {
93
- /** Link target. Used when asChild is false (default <a> render). */
94
- href?: string;
95
- /** Mark this item active. Adds aria-current="page" to the rendered link. */
96
- active?: boolean;
97
- /** Render the consumer's element (e.g. next/link, TanStack Link) instead of an <a>. */
98
- asChild?: boolean;
99
- /** Hide the triangle tip at the end of the branch. Default false (tip shown). */
100
- hideTip?: boolean;
101
- /** Leading icon slot. */
102
- icon?: ReactNode;
103
- /** Anchor / link contents. */
104
- children?: ReactNode;
105
- /** Forwarded to the inner link element (className, onClick, etc.). */
106
- linkProps?: Omit<AnchorHTMLAttributes<HTMLAnchorElement>, 'href' | 'children'>;
107
- }
108
- declare const TreeNavItem: react.ForwardRefExoticComponent<TreeNavItemProps & react.RefAttributes<HTMLLIElement>>;
109
-
110
- type TableDensity = 'compact' | 'cozy' | 'comfortable';
111
- type FontSpec = string | {
112
- family?: string;
113
- size?: string | number;
114
- weight?: number | string;
115
- letterSpacing?: string;
116
- featureSettings?: string;
117
- };
118
- interface TableProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
119
- /** Rows visible before vertical scroll. Default 7. */
120
- visibleRows?: number;
121
- /** Approximate row height in px — drives the scroll cap. Default 44. */
122
- rowHeight?: number;
123
- /** Header sticks during scroll. Default true. */
124
- stickyHeader?: boolean;
125
- /** Padding scale. Default 'cozy'. */
126
- density?: TableDensity;
127
- /** Renders an inline spinner overlay on top of rows. */
128
- loading?: boolean;
129
- /** Replaces row area when no rows are present. */
130
- empty?: ReactNode;
131
- /**
132
- * Force every column to fit in the container — disables horizontal scroll
133
- * and lets the browser distribute width across all visible columns.
134
- * Cell content wraps onto multiple lines instead of clipping.
135
- */
136
- fitColumns?: boolean;
137
- /** Per-zone fonts. */
138
- headerFont?: FontSpec;
139
- rowHeaderFont?: FontSpec;
140
- cellFont?: FontSpec;
141
- children?: ReactNode;
142
- tableProps?: TableHTMLAttributes<HTMLTableElement>;
143
- /** Show the empty slot. Set explicitly by DataTable; defaults to false. */
144
- isEmpty?: boolean;
145
- }
146
- declare const Table: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLDivElement>>;
147
-
148
- declare const TableHeader: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
149
- declare const TableBody: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableSectionElement> & react.RefAttributes<HTMLTableSectionElement>>;
150
- declare const TableRow: react.ForwardRefExoticComponent<HTMLAttributes<HTMLTableRowElement> & react.RefAttributes<HTMLTableRowElement>>;
151
- interface TableHeadCellProps extends ThHTMLAttributes<HTMLTableCellElement> {
152
- align?: 'left' | 'right' | 'center';
153
- }
154
- declare const TableHead: react.ForwardRefExoticComponent<TableHeadCellProps & react.RefAttributes<HTMLTableCellElement>>;
155
- interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
156
- align?: 'left' | 'right' | 'center';
157
- isRowHeader?: boolean;
158
- }
159
- declare const TableCell: react.ForwardRefExoticComponent<TableCellProps & react.RefAttributes<HTMLTableCellElement>>;
160
-
161
- interface SpinnerProps {
162
- size?: number;
163
- strokeWidth?: number;
164
- label?: string;
165
- style?: CSSProperties;
166
- className?: string;
167
- }
168
- declare function Spinner({ size, strokeWidth, label, style, className, }: SpinnerProps): react_jsx_runtime.JSX.Element;
169
-
170
- interface TableSearchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value' | 'defaultValue'> {
171
- value?: string;
172
- defaultValue?: string;
173
- onChange?: (value: string) => void;
174
- /** Debounce in ms before onChange fires. Default 0 (synchronous). */
175
- debounceMs?: number;
176
- placeholder?: string;
177
- /** Width in px. Default 260. */
178
- width?: number | string;
179
- /** Hide the magnifier dot. */
180
- hideIndicator?: boolean;
181
- style?: CSSProperties;
182
- }
183
- declare const TableSearch: react.ForwardRefExoticComponent<TableSearchProps & react.RefAttributes<HTMLInputElement>>;
184
-
185
- interface PaginationProps {
186
- page: number;
187
- pageCount: number;
188
- onPageChange: (page: number) => void;
189
- /** Pages shown adjacent to the current page. Default 1. */
190
- siblingCount?: number;
191
- /** Show Prev / Next text buttons. Default true. */
192
- showPrevNext?: boolean;
193
- /** Override the Prev / Next labels. */
194
- prevLabel?: string;
195
- nextLabel?: string;
196
- /** Compact summary like "Page 3 of 12" on the left. Default false. */
197
- showSummary?: boolean;
198
- summaryRender?: (page: number, pageCount: number) => string;
199
- className?: string;
200
- style?: CSSProperties;
201
- }
202
- declare function Pagination({ page, pageCount, onPageChange, siblingCount, showPrevNext, prevLabel, nextLabel, showSummary, summaryRender, className, style, }: PaginationProps): react_jsx_runtime.JSX.Element;
203
-
204
- type DateRange = {
205
- from: Date | null;
206
- to: Date | null;
207
- };
208
- declare function startOfDay(d: Date): Date;
209
- declare function isSameDay(a: Date | null | undefined, b: Date | null | undefined): boolean;
210
- declare function addMonths(d: Date, n: number): Date;
211
- declare function addDays(d: Date, n: number): Date;
212
- declare function isBetween(d: Date, from: Date, to: Date): boolean;
213
- declare function formatMonthYear(d: Date): string;
214
- declare function formatShort(d: Date | null): string;
215
- declare function formatRange(range: DateRange): string;
216
-
217
- type DatePreset = {
218
- label: string;
219
- range: () => DateRange;
220
- };
221
- interface DateRangePickerProps {
222
- value?: DateRange;
223
- defaultValue?: DateRange;
224
- onChange?: (range: DateRange) => void;
225
- monthsVisible?: number;
226
- weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
227
- minDate?: Date | null;
228
- maxDate?: Date | null;
229
- placeholder?: string;
230
- presets?: DatePreset[];
231
- /** Render below the trigger when open. Default 'left'. */
232
- align?: 'left' | 'right';
233
- className?: string;
234
- style?: CSSProperties;
235
- triggerLabel?: ReactNode;
236
- disabled?: boolean;
237
- }
238
- declare const DEFAULT_PRESETS: DatePreset[];
239
- declare function DateRangePicker({ value, defaultValue, onChange, monthsVisible, weekStartsOn, minDate, maxDate, placeholder, presets, align, className, style, triggerLabel, disabled, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
240
-
241
- type TimeValue = {
242
- hours: number;
243
- minutes: number;
244
- };
245
- interface AnalogClockProps {
246
- value: TimeValue;
247
- onChange: (next: TimeValue) => void;
248
- hourCycle?: 12 | 24;
249
- minuteStep?: number;
250
- /** SVG size in px. Default 220. */
251
- size?: number;
252
- }
253
- declare function AnalogClock({ value, onChange, hourCycle, minuteStep, size, }: AnalogClockProps): react_jsx_runtime.JSX.Element;
254
-
255
- type TimePickerVariant = 'analog' | 'digital';
256
- interface TimePickerProps {
257
- value?: TimeValue | null;
258
- defaultValue?: TimeValue | null;
259
- onChange?: (next: TimeValue) => void;
260
- /** Picker style. Default 'analog'. */
261
- variant?: TimePickerVariant;
262
- /** Allow the user to switch between variants. Default true. */
263
- switchable?: boolean;
264
- hourCycle?: 12 | 24;
265
- minuteStep?: number;
266
- placeholder?: string;
267
- align?: 'left' | 'right';
268
- className?: string;
269
- style?: CSSProperties;
270
- triggerLabel?: ReactNode;
271
- disabled?: boolean;
272
- }
273
- declare function formatTime(t: TimeValue | null | undefined, hourCycle?: 12 | 24): string;
274
- declare function TimePicker({ value, defaultValue, onChange, variant, switchable, hourCycle, minuteStep, placeholder, align, className, style, triggerLabel, disabled, }: TimePickerProps): react_jsx_runtime.JSX.Element;
275
-
276
- interface DigitalClockProps {
277
- value: TimeValue;
278
- onChange: (next: TimeValue) => void;
279
- hourCycle?: 12 | 24;
280
- minuteStep?: number;
281
- }
282
- declare function DigitalClock({ value, onChange, hourCycle, minuteStep, }: DigitalClockProps): react_jsx_runtime.JSX.Element;
283
-
284
- type ColumnType = 'text' | 'number' | 'date' | 'time';
285
- type Column<T> = {
286
- key: string;
287
- header: string;
288
- accessor: (row: T) => unknown;
289
- type?: ColumnType;
290
- align?: 'left' | 'right' | 'center';
291
- /** Marks this column as the row-header cell (<th scope="row">). At most one per table. */
292
- isRowHeader?: boolean;
293
- /** Custom per-cell renderer. Falls back to the accessor's stringified value. */
294
- cell?: (value: unknown, row: T) => ReactNode;
295
- /** Initial pixel width. Resizable still by default. */
296
- defaultWidth?: number;
297
- minWidth?: number;
298
- maxWidth?: number;
299
- resizable?: boolean;
300
- reorderable?: boolean;
301
- hideable?: boolean;
302
- defaultHidden?: boolean;
303
- pinned?: 'left' | 'right';
304
- /** Override the per-cell font for this column only (data cells; header stays unified). */
305
- font?: FontSpec;
306
- /** Override the comparator used when sorting this column. */
307
- sortBy?: (row: T) => string | number | Date;
308
- };
309
- interface DataIO<T> {
310
- export?: {
311
- enabled: boolean;
312
- formats?: ('csv' | 'json')[];
313
- filename?: string | (() => string);
314
- scope?: 'all' | 'filtered' | 'page';
315
- serialize?: (rows: T[], cols: Column<T>[], format: 'csv' | 'json') => string;
316
- };
317
- import?: {
318
- enabled: boolean;
319
- accept?: string;
320
- parse?: (text: string, file: File) => T[] | Promise<T[]>;
321
- onImport: (rows: T[], info: {
322
- mode: 'replace' | 'append';
323
- file: File;
324
- }) => void;
325
- mode?: 'replace' | 'append';
326
- onError?: (err: unknown, file: File) => void;
327
- };
328
- }
329
- interface DataTableProps<T> {
330
- data: T[];
331
- columns: Column<T>[];
332
- /** Stable row key. Defaults to the index. */
333
- getRowId?: (row: T, index: number) => string | number;
334
- visibleRows?: number;
335
- rowHeight?: number;
336
- stickyHeader?: boolean;
337
- density?: TableDensity;
338
- loading?: boolean;
339
- empty?: ReactNode;
340
- /**
341
- * Force every column to fit in the container — disables horizontal scroll
342
- * and ignores `defaultWidth` / resized widths so columns share the width
343
- * equally. Cell content wraps. Resize handles still draw, but their effect
344
- * is clamped by the container.
345
- */
346
- fitColumns?: boolean;
347
- /** Toolbar — search. */
348
- search?: {
349
- enabled: boolean;
350
- placeholder?: string;
351
- debounceMs?: number;
352
- /** Override the default per-column substring match. */
353
- predicate?: (row: T, query: string, columns: Column<T>[]) => boolean;
354
- };
355
- /** Toolbar — date range filter against one column. */
356
- dateFilter?: {
357
- column: string;
358
- monthsVisible?: number;
359
- placeholder?: string;
360
- };
361
- /** Toolbar — time filter against one column. */
362
- timeFilter?: {
363
- column: string;
364
- variant?: TimePickerVariant;
365
- hourCycle?: 12 | 24;
366
- placeholder?: string;
367
- /** Tolerance in minutes around the chosen time. Default 0 (exact). */
368
- toleranceMinutes?: number;
369
- };
370
- /** Pagination. Pass `false` to disable. */
371
- pagination?: {
372
- pageSize?: number;
373
- siblingCount?: number;
374
- showSummary?: boolean;
375
- } | false;
376
- /** Column reorder. Default true. */
377
- reorderable?: boolean;
378
- /** Column resize. Default true. */
379
- resizable?: boolean;
380
- /** Show the "Columns" menu in the toolbar. Default true. */
381
- columnMenu?: boolean;
382
- /** Data export / import wiring. */
383
- dataIO?: DataIO<T>;
384
- /** Per-zone typography. */
385
- headerFont?: FontSpec;
386
- rowHeaderFont?: FontSpec;
387
- cellFont?: FontSpec;
388
- /** Persist layout state (order, sizes, hidden) under this key in localStorage. */
389
- storageKey?: string;
390
- className?: string;
391
- /** Slot rendered between the toolbar and the table. */
392
- toolbarExtras?: ReactNode;
393
- }
394
- type SortDir = 'asc' | 'desc' | null;
395
- type TableLayout = {
396
- order: string[];
397
- sizes: Record<string, number>;
398
- hidden: string[];
399
- };
400
- interface FilterState {
401
- search: string;
402
- dateRange: DateRange;
403
- time: TimeValue | null;
404
- }
405
-
406
- declare function DataTable<T>({ data, columns, getRowId, visibleRows, rowHeight, stickyHeader, density, loading, empty, fitColumns, search, dateFilter, timeFilter, pagination, reorderable, resizable, columnMenu, dataIO, headerFont, rowHeaderFont, cellFont, storageKey, className, toolbarExtras, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
407
-
408
- interface ColumnMenuProps<T> {
409
- columns: Column<T>[];
410
- layout: TableLayout;
411
- onToggle: (key: string) => void;
412
- onReset: () => void;
413
- }
414
- declare function ColumnMenu<T>({ columns, layout, onToggle, onReset, }: ColumnMenuProps<T>): react_jsx_runtime.JSX.Element;
415
-
416
- declare function toCsv<T>(rows: T[], cols: Column<T>[]): string;
417
- declare function fromCsv(text: string): Record<string, string>[];
418
- declare function toJson<T>(rows: T[], cols: Column<T>[]): string;
419
- declare function fromJson<T>(text: string): T[];
420
- declare function downloadString(text: string, filename: string, mime: string): void;
421
-
422
- export { AnalogClock, type AnalogClockProps, Button, type ButtonProps, type ButtonSize, type Column, ColumnMenu, type ColumnType, DEFAULT_PRESETS, type DataIO, DataTable, type DataTableProps, type DatePreset, type DateRange, DateRangePicker, type DateRangePickerProps, DigitalClock, type DigitalClockProps, type FilterState, type FontSpec, GradientButton, type GradientButtonProps, MadeBy, type MadeByPosition, type MadeByProps, Pagination, type PaginationProps, Popover, type PopoverProps, type SortDir, Spinner, type SpinnerProps, Table, TableBody, TableCell, type TableCellProps, type TableDensity, TableHead, type TableHeadCellProps, TableHeader, type TableLayout, type TableProps, TableRow, TableSearch, type TableSearchProps, TextMorph, type TextMorphProps, TimePicker, type TimePickerProps, type TimePickerVariant, type TimeValue, TreeNav, TreeNavItem, type TreeNavItemProps, type TreeNavProps, addDays, addMonths, downloadString, formatMonthYear, formatRange, formatShort, formatTime, fromCsv, fromJson, isBetween, isSameDay, startOfDay, toCsv, toJson };
1
+ export { Button, ButtonProps, ButtonSize } from './components/button/index.js';
2
+ export { GradientButton, GradientButtonProps } from './components/gradient-button/index.js';
3
+ export { Popover, PopoverProps } from './components/popover/index.js';
4
+ export { MadeBy, MadeByPosition, MadeByProps } from './components/made-by/index.js';
5
+ export { TextMorph, TextMorphProps } from './components/text-morph/index.js';
6
+ export { TreeNav, TreeNavItem, TreeNavItemProps, TreeNavProps } from './components/tree-nav/index.js';
7
+ export { F as FontSpec, T as Table, a as TableDensity, b as TableProps } from './Table-qVdGZkB4.js';
8
+ export { Spinner, SpinnerProps, TableBody, TableCell, TableCellProps, TableHead, TableHeadCellProps, TableHeader, TableRow } from './components/table/index.js';
9
+ export { TableSearch, TableSearchProps } from './components/table-search/index.js';
10
+ export { Pagination, PaginationProps } from './components/pagination/index.js';
11
+ export { DEFAULT_PRESETS, DatePreset, DateRangePicker, DateRangePickerProps } from './components/date-range-picker/index.js';
12
+ export { D as DateRange, a as addDays, b as addMonths, f as formatMonthYear, c as formatRange, d as formatShort, i as isBetween, e as isSameDay, s as startOfDay } from './dateUtils-B_m_EICl.js';
13
+ export { A as AnalogClock, a as AnalogClockProps, T as TimePicker, b as TimePickerProps, c as TimePickerVariant, d as TimeValue, f as formatTime } from './TimePicker-BhRta4MK.js';
14
+ export { DigitalClock, DigitalClockProps } from './components/time-picker/index.js';
15
+ export { Column, ColumnMenu, ColumnType, DataIO, DataTable, DataTableProps, FilterState, SortDir, TableLayout, downloadString, fromCsv, fromJson, toCsv, toJson } from './components/data-table/index.js';
16
+ import 'react';
17
+ import 'react/jsx-runtime';