@alexgorbatchev/shadcn 0.0.30 → 0.0.32

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 (93) hide show
  1. package/README.md +26 -22
  2. package/THIRD_PARTY_NOTICES.md +10 -0
  3. package/dist/{chunk-0ewzb2ax.js → chunk-0kyfh857.js} +1 -1
  4. package/dist/chunk-1xncv9gb.js +19 -0
  5. package/dist/chunk-2dxa9enk.js +98 -0
  6. package/dist/{chunk-8wfy03bp.js → chunk-6kwf9644.js} +1 -1
  7. package/dist/{chunk-82e7fbmq.js → chunk-9vyg3854.js} +2 -1
  8. package/dist/chunk-c6g2rbhv.js +3940 -0
  9. package/dist/chunk-dzvsjw59.js +200 -0
  10. package/dist/{chunk-g238nezp.js → chunk-pg9rhbgm.js} +4 -2
  11. package/dist/{chunk-5da3rzn5.js → chunk-s0typ7hv.js} +1 -1
  12. package/dist/chunk-tch86q2w.js +6050 -0
  13. package/dist/{chunk-eehfrrdz.js → chunk-tnnf8ydf.js} +1 -15
  14. package/dist/chunk-yfr9syen.js +363 -0
  15. package/dist/{chunk-53q730zs.js → chunk-zdt8xxzy.js} +3 -0
  16. package/dist/components/Alert.d.ts +1 -1
  17. package/dist/components/Table.d.ts +1 -0
  18. package/dist/components/assistant-ui/elements/Chart.js +2 -2
  19. package/dist/components/assistant-ui/elements/GuardrailNotice.js +2 -2
  20. package/dist/components/assistant-ui/elements/OptionList.js +3 -2
  21. package/dist/components/assistant-ui/elements/QuestionFlow.js +4 -3
  22. package/dist/components/assistant-ui/index.js +8 -7
  23. package/dist/components/assistant-ui/native/Sources.d.ts +1 -1
  24. package/dist/components/carousel/index.js +15 -204
  25. package/dist/components/chart/AnalyticsChart.d.ts +3 -2
  26. package/dist/components/chart/Chart.d.ts +1 -1
  27. package/dist/components/chart/index.js +24 -10
  28. package/dist/components/chart/types.d.ts +1 -0
  29. package/dist/components/data-grid/DataGrid.d.ts +48 -9
  30. package/dist/components/data-grid/DataGridColumnOptions.d.ts +14 -0
  31. package/dist/components/data-grid/DataGridColumnResizer.d.ts +13 -0
  32. package/dist/components/data-grid/getDataGridColumnSizeVariables.d.ts +6 -0
  33. package/dist/components/data-grid/hooks/useDataGridColumnSizes.d.ts +8 -0
  34. package/dist/components/data-grid/index.d.ts +3 -2
  35. package/dist/components/data-grid/index.js +124 -199
  36. package/dist/components/data-grid/moveDataGridColumn.d.ts +5 -0
  37. package/dist/components/event-calendar/index.js +4 -2
  38. package/dist/components/json-render/JsonAccordion.d.ts +3 -0
  39. package/dist/components/json-render/JsonAlert.d.ts +3 -0
  40. package/dist/components/json-render/JsonAvatar.d.ts +3 -0
  41. package/dist/components/json-render/JsonBadge.d.ts +3 -0
  42. package/dist/components/json-render/JsonButton.d.ts +3 -0
  43. package/dist/components/json-render/JsonButtonGroup.d.ts +3 -0
  44. package/dist/components/json-render/JsonCard.d.ts +3 -0
  45. package/dist/components/json-render/JsonCarousel.d.ts +3 -0
  46. package/dist/components/json-render/JsonCheckbox.d.ts +3 -0
  47. package/dist/components/json-render/JsonCollapsible.d.ts +3 -0
  48. package/dist/components/json-render/JsonDialog.d.ts +3 -0
  49. package/dist/components/json-render/JsonDrawer.d.ts +3 -0
  50. package/dist/components/json-render/JsonDropdownMenu.d.ts +3 -0
  51. package/dist/components/json-render/JsonGrid.d.ts +3 -0
  52. package/dist/components/json-render/JsonHeading.d.ts +3 -0
  53. package/dist/components/json-render/JsonImage.d.ts +3 -0
  54. package/dist/components/json-render/JsonInput.d.ts +3 -0
  55. package/dist/components/json-render/JsonLink.d.ts +3 -0
  56. package/dist/components/json-render/JsonPagination.d.ts +3 -0
  57. package/dist/components/json-render/JsonPopover.d.ts +3 -0
  58. package/dist/components/json-render/JsonProgress.d.ts +3 -0
  59. package/dist/components/json-render/JsonRadio.d.ts +3 -0
  60. package/dist/components/json-render/JsonSelect.d.ts +3 -0
  61. package/dist/components/json-render/JsonSeparator.d.ts +3 -0
  62. package/dist/components/json-render/JsonSkeleton.d.ts +3 -0
  63. package/dist/components/json-render/JsonSlider.d.ts +3 -0
  64. package/dist/components/json-render/JsonSpinner.d.ts +3 -0
  65. package/dist/components/json-render/JsonStack.d.ts +3 -0
  66. package/dist/components/json-render/JsonSwitch.d.ts +3 -0
  67. package/dist/components/json-render/JsonTable.d.ts +3 -0
  68. package/dist/components/json-render/JsonTabs.d.ts +3 -0
  69. package/dist/components/json-render/JsonText.d.ts +3 -0
  70. package/dist/components/json-render/JsonTextarea.d.ts +3 -0
  71. package/dist/components/json-render/JsonToggle.d.ts +3 -0
  72. package/dist/components/json-render/JsonToggleGroup.d.ts +3 -0
  73. package/dist/components/json-render/JsonTooltip.d.ts +3 -0
  74. package/dist/components/json-render/catalog.d.ts +548 -0
  75. package/dist/components/json-render/catalog.js +6 -0
  76. package/dist/components/json-render/getPaginationRange.d.ts +1 -0
  77. package/dist/components/json-render/index.d.ts +39 -0
  78. package/dist/components/json-render/index.js +1254 -0
  79. package/dist/components/virtual-data-grid/VirtualDataGrid.d.ts +26 -0
  80. package/dist/components/virtual-data-grid/index.d.ts +2 -0
  81. package/dist/components/virtual-data-grid/index.js +88 -0
  82. package/dist/components/virtual-table/index.js +4 -96
  83. package/dist/index.d.ts +1 -0
  84. package/dist/index.js +569 -4189
  85. package/licenses/json-render-APACHE-2.0.txt +201 -0
  86. package/llms/components/data-display/AnalyticsChart.md +34 -0
  87. package/llms/components/data-display/DataGridColumnOptions.md +22 -0
  88. package/llms/components/data-display/JsonRender.md +476 -0
  89. package/llms/components/data-display/VirtualDataGrid.md +71 -0
  90. package/llms/components/feedback/Alert.md +20 -4
  91. package/llms/setup.md +26 -22
  92. package/llms.txt +3 -0
  93. package/package.json +24 -2
@@ -2,217 +2,140 @@ import"../../chunk-cp2m7y7v.js";
2
2
  import {
3
3
  Button2
4
4
  } from "../../chunk-q7p28b89.js";
5
+ import"../../chunk-zte6pw69.js";
6
+ import"../../chunk-r9qrb6b6.js";
7
+ import"../../chunk-59p19t57.js";
5
8
  import {
6
- Table2,
7
- TableHeader2,
8
- TableBody2,
9
- TableRow2,
10
- TableHead2,
11
- TableCell2
12
- } from "../../chunk-zte6pw69.js";
9
+ dataGridFeatures2,
10
+ getDataGridColumnLabel,
11
+ DataGridCells2,
12
+ DataGrid2,
13
+ DataGridColumnHeader2,
14
+ DataGridFilter2,
15
+ DataGridPagination2
16
+ } from "../../chunk-yfr9syen.js";
13
17
  import {
14
- NativeSelect2,
15
- NativeSelectOption2
16
- } from "../../chunk-r9qrb6b6.js";
18
+ Checkbox2
19
+ } from "../../chunk-tnnf8ydf.js";
17
20
  import {
18
- Input2
19
- } from "../../chunk-59p19t57.js";
20
-
21
- // src/components/data-grid/DataGrid.tsx
21
+ Label2
22
+ } from "../../chunk-jcxxjkqx.js";
23
+ import"../../chunk-e6hk39ev.js";
24
+ import"../../chunk-j89xg1ak.js";
25
+ import"../../chunk-aa7m22zj.js";
22
26
  import {
23
- columnFilteringFeature,
24
- columnVisibilityFeature,
25
- createFilteredRowModel,
26
- createPaginatedRowModel,
27
- createSortedRowModel,
28
- filterFn_includesString,
29
- rowPaginationFeature,
30
- rowSelectionFeature,
31
- rowSortingFeature,
32
- sortFn_alphanumeric,
33
- sortFn_basic,
34
- tableFeatures
35
- } from "@tanstack/react-table";
36
- import { ArrowDownIcon, ArrowUpIcon, ChevronsUpDownIcon } from "lucide-react";
37
- import { jsx, jsxs } from "react/jsx-runtime";
38
- var dataGridFeatures = tableFeatures({
39
- columnFilteringFeature,
40
- columnVisibilityFeature,
41
- rowPaginationFeature,
42
- rowSelectionFeature,
43
- rowSortingFeature,
44
- filteredRowModel: createFilteredRowModel(),
45
- sortedRowModel: createSortedRowModel(),
46
- paginatedRowModel: createPaginatedRowModel(),
47
- filterFns: { includesString: filterFn_includesString },
48
- sortFns: { alphanumeric: sortFn_alphanumeric, basic: sortFn_basic }
49
- });
50
- function DataGrid({
51
- table,
52
- label,
53
- toolbar,
54
- empty = "No results.",
55
- loading = false,
56
- pagination = true,
57
- density
58
- }) {
59
- const rows = table.getRowModel().rows;
60
- return /* @__PURE__ */ jsxs("div", {
61
- "data-density": density,
62
- "data-scroll": "none",
63
- className: "grid min-w-0 gap-3",
64
- "aria-busy": loading,
65
- children: [
66
- toolbar,
67
- /* @__PURE__ */ jsx("div", {
68
- className: "min-w-0 rounded-sm border border-border",
69
- children: /* @__PURE__ */ jsxs(Table2, {
70
- "aria-label": label,
71
- children: [
72
- /* @__PURE__ */ jsx(TableHeader2, {
73
- children: table.getHeaderGroups().map((group) => /* @__PURE__ */ jsx(TableRow2, {
74
- children: group.headers.map((header) => /* @__PURE__ */ jsx(TableHead2, {
75
- colSpan: header.colSpan,
76
- "aria-sort": header.column.getCanSort() ? header.column.getIsSorted() === "asc" ? "ascending" : header.column.getIsSorted() === "desc" ? "descending" : "none" : undefined,
77
- children: header.isPlaceholder ? null : /* @__PURE__ */ jsx(table.FlexRender, {
78
- header
79
- })
80
- }, header.id))
81
- }, group.id))
82
- }),
83
- /* @__PURE__ */ jsx(TableBody2, {
84
- children: loading ? /* @__PURE__ */ jsx(TableRow2, {
85
- children: /* @__PURE__ */ jsx(TableCell2, {
86
- colSpan: table.getVisibleLeafColumns().length,
87
- children: /* @__PURE__ */ jsxs("p", {
88
- role: "status",
89
- children: [
90
- "Loading ",
91
- label,
92
- "…"
93
- ]
94
- })
95
- })
96
- }) : rows.length ? rows.map((row) => /* @__PURE__ */ jsx(TableRow2, {
97
- "data-state": row.getIsSelected() ? "selected" : undefined,
98
- children: row.getVisibleCells().map((cell) => /* @__PURE__ */ jsx(TableCell2, {
99
- children: /* @__PURE__ */ jsx(table.FlexRender, {
100
- cell
101
- })
102
- }, cell.id))
103
- }, row.id)) : /* @__PURE__ */ jsx(TableRow2, {
104
- children: /* @__PURE__ */ jsx(TableCell2, {
105
- colSpan: table.getVisibleLeafColumns().length,
106
- children: /* @__PURE__ */ jsx("p", {
107
- role: "status",
108
- children: empty
109
- })
110
- })
111
- })
112
- })
113
- ]
114
- })
115
- }),
116
- pagination && /* @__PURE__ */ jsx(DataGridPagination, {
117
- table
118
- })
119
- ]
120
- });
121
- }
122
- function DataGridColumnHeader({
123
- column,
124
- children
125
- }) {
126
- const sorted = column.getIsSorted();
127
- return column.getCanSort() ? /* @__PURE__ */ jsxs(Button2, {
128
- type: "button",
129
- variant: "ghost",
130
- size: "sm",
131
- onClick: column.getToggleSortingHandler(),
132
- children: [
133
- children,
134
- sorted === "asc" ? /* @__PURE__ */ jsx(ArrowUpIcon, {
135
- "aria-hidden": "true"
136
- }) : sorted === "desc" ? /* @__PURE__ */ jsx(ArrowDownIcon, {
137
- "aria-hidden": "true"
138
- }) : /* @__PURE__ */ jsx(ChevronsUpDownIcon, {
139
- "aria-hidden": "true"
140
- })
141
- ]
142
- }) : /* @__PURE__ */ jsx("span", {
143
- children
144
- });
27
+ Popover2,
28
+ PopoverTrigger2,
29
+ PopoverContent2,
30
+ PopoverHeader2,
31
+ PopoverTitle2
32
+ } from "../../chunk-4djw71cv.js";
33
+ // src/components/data-grid/DataGridColumnOptions.tsx
34
+ import { Subscribe } from "@tanstack/react-table";
35
+ import { ArrowDownIcon, ArrowUpIcon, Columns3Icon } from "lucide-react";
36
+
37
+ // src/components/data-grid/moveDataGridColumn.ts
38
+ function moveDataGridColumn(order, movableIds, columnId, offset) {
39
+ const index = movableIds.indexOf(columnId);
40
+ const neighbour = index < 0 ? undefined : movableIds[index + offset];
41
+ if (neighbour === undefined)
42
+ return [...order];
43
+ return order.map((id) => id === columnId ? neighbour : id === neighbour ? columnId : id);
145
44
  }
146
- function DataGridFilter({
45
+
46
+ // src/components/data-grid/DataGridColumnOptions.tsx
47
+ import { jsx, jsxs } from "react/jsx-runtime";
48
+ function DataGridColumnOptions({
147
49
  table,
148
- columnId,
149
- label
50
+ label = "Columns"
150
51
  }) {
151
- const column = table.getColumn(columnId);
152
- if (!column)
153
- throw new Error(`Unknown filter column: ${columnId}`);
154
- const value = column.getFilterValue();
155
- return /* @__PURE__ */ jsx(Input2, {
156
- "aria-label": label,
157
- placeholder: label,
158
- value: typeof value === "string" ? value : "",
159
- onChange: (event) => column.setFilterValue(event.target.value)
160
- });
161
- }
162
- function DataGridPagination({ table }) {
163
- return /* @__PURE__ */ jsxs("div", {
164
- className: "flex flex-wrap items-center justify-between gap-3 text-sm",
52
+ return /* @__PURE__ */ jsxs(Popover2, {
165
53
  children: [
166
- /* @__PURE__ */ jsxs("span", {
167
- role: "status",
54
+ /* @__PURE__ */ jsxs(PopoverTrigger2, {
55
+ render: /* @__PURE__ */ jsx(Button2, {
56
+ variant: "outline"
57
+ }),
168
58
  children: [
169
- table.getSelectedRowModel().rows.length,
170
- " selected · Page ",
171
- table.state.pagination.pageIndex + 1,
172
- " of",
173
- " ",
174
- Math.max(1, table.getPageCount())
59
+ /* @__PURE__ */ jsx(Columns3Icon, {
60
+ "data-icon": "inline-start",
61
+ "aria-hidden": "true"
62
+ }),
63
+ label
175
64
  ]
176
65
  }),
177
- /* @__PURE__ */ jsxs("div", {
178
- className: "flex items-center gap-2",
66
+ /* @__PURE__ */ jsxs(PopoverContent2, {
67
+ align: "end",
179
68
  children: [
180
- /* @__PURE__ */ jsxs(NativeSelect2, {
181
- "aria-label": "Rows per page",
182
- value: table.state.pagination.pageSize,
183
- onChange: (event) => table.setPageSize(Number(event.target.value)),
184
- children: [
185
- [10, 20, 50, 100].map((size) => /* @__PURE__ */ jsxs(NativeSelectOption2, {
186
- value: size,
187
- children: [
188
- size,
189
- " rows"
190
- ]
191
- }, size)),
192
- ![10, 20, 50, 100].includes(table.state.pagination.pageSize) && /* @__PURE__ */ jsxs(NativeSelectOption2, {
193
- value: table.state.pagination.pageSize,
194
- children: [
195
- table.state.pagination.pageSize,
196
- " rows"
197
- ]
198
- })
199
- ]
69
+ /* @__PURE__ */ jsx(PopoverHeader2, {
70
+ children: /* @__PURE__ */ jsx(PopoverTitle2, {
71
+ children: label
72
+ })
200
73
  }),
201
- /* @__PURE__ */ jsx(Button2, {
202
- type: "button",
203
- variant: "outline",
204
- size: "sm",
205
- disabled: !table.getCanPreviousPage(),
206
- onClick: () => table.previousPage(),
207
- children: "Previous"
74
+ /* @__PURE__ */ jsx(Subscribe, {
75
+ source: table.atoms.columnOrder,
76
+ children: () => /* @__PURE__ */ jsx(Subscribe, {
77
+ source: table.atoms.columnVisibility,
78
+ children: () => {
79
+ const columns = table.getAllLeafColumns().filter((column) => column.getCanHide());
80
+ const movableIds = columns.map((column) => column.id);
81
+ const move = (columnId, offset) => table.setColumnOrder(moveDataGridColumn(table.getAllLeafColumns().map((column) => column.id), movableIds, columnId, offset));
82
+ return /* @__PURE__ */ jsx("ul", {
83
+ "aria-label": label,
84
+ className: "grid gap-1",
85
+ children: columns.map((column, index) => {
86
+ const name = getDataGridColumnLabel(column);
87
+ return /* @__PURE__ */ jsxs("li", {
88
+ className: "flex items-center gap-1",
89
+ children: [
90
+ /* @__PURE__ */ jsxs(Label2, {
91
+ className: "min-w-0 flex-1 py-1",
92
+ children: [
93
+ /* @__PURE__ */ jsx(Checkbox2, {
94
+ checked: column.getIsVisible(),
95
+ onCheckedChange: (checked) => column.toggleVisibility(checked)
96
+ }),
97
+ /* @__PURE__ */ jsx("span", {
98
+ className: "truncate",
99
+ children: name
100
+ })
101
+ ]
102
+ }),
103
+ /* @__PURE__ */ jsx(Button2, {
104
+ variant: "ghost",
105
+ size: "icon-sm",
106
+ "aria-label": `Move ${name} earlier`,
107
+ disabled: index === 0,
108
+ onClick: () => move(column.id, -1),
109
+ children: /* @__PURE__ */ jsx(ArrowUpIcon, {
110
+ "aria-hidden": "true"
111
+ })
112
+ }),
113
+ /* @__PURE__ */ jsx(Button2, {
114
+ variant: "ghost",
115
+ size: "icon-sm",
116
+ "aria-label": `Move ${name} later`,
117
+ disabled: index === columns.length - 1,
118
+ onClick: () => move(column.id, 1),
119
+ children: /* @__PURE__ */ jsx(ArrowDownIcon, {
120
+ "aria-hidden": "true"
121
+ })
122
+ })
123
+ ]
124
+ }, column.id);
125
+ })
126
+ });
127
+ }
128
+ })
208
129
  }),
209
130
  /* @__PURE__ */ jsx(Button2, {
210
- type: "button",
211
131
  variant: "outline",
212
132
  size: "sm",
213
- disabled: !table.getCanNextPage(),
214
- onClick: () => table.nextPage(),
215
- children: "Next"
133
+ onClick: () => {
134
+ table.resetColumnVisibility();
135
+ table.resetColumnOrder();
136
+ table.resetColumnSizing();
137
+ },
138
+ children: "Reset columns"
216
139
  })
217
140
  ]
218
141
  })
@@ -220,9 +143,11 @@ function DataGridPagination({ table }) {
220
143
  });
221
144
  }
222
145
  export {
223
- DataGrid,
224
- DataGridColumnHeader,
225
- DataGridFilter,
226
- DataGridPagination,
227
- dataGridFeatures
146
+ DataGrid2 as DataGrid,
147
+ DataGridCells2 as DataGridCells,
148
+ DataGridColumnHeader2 as DataGridColumnHeader,
149
+ DataGridColumnOptions,
150
+ DataGridFilter2 as DataGridFilter,
151
+ DataGridPagination2 as DataGridPagination,
152
+ dataGridFeatures2 as dataGridFeatures
228
153
  };
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Swaps `columnId` with its neighbour among `movableIds` in `order`, leaving every other column where it is.
3
+ * Returns `order` unchanged when the column is already at that end or is not movable.
4
+ */
5
+ export declare function moveDataGridColumn(order: readonly string[], movableIds: readonly string[], columnId: string, offset: -1 | 1): string[];
@@ -15,9 +15,11 @@ import {
15
15
  Input2
16
16
  } from "../../chunk-59p19t57.js";
17
17
  import {
18
- Checkbox2,
18
+ Checkbox2
19
+ } from "../../chunk-tnnf8ydf.js";
20
+ import {
19
21
  Spinner2
20
- } from "../../chunk-eehfrrdz.js";
22
+ } from "../../chunk-1xncv9gb.js";
21
23
  var __create = Object.create;
22
24
  var __getProtoOf = Object.getPrototypeOf;
23
25
  var __defProp = Object.defineProperty;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonAccordion: ({ props }: BaseComponentProps<JsonProps<"Accordion">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonAlert: ({ props }: BaseComponentProps<JsonProps<"Alert">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonAvatar: ({ props }: BaseComponentProps<JsonProps<"Avatar">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonBadge: ({ props }: BaseComponentProps<JsonProps<"Badge">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonButton: ({ props, emit }: BaseComponentProps<JsonProps<"Button">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonButtonGroup: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"ButtonGroup">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonCard: ({ props, children }: BaseComponentProps<JsonProps<"Card">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonCarousel: ({ props }: BaseComponentProps<JsonProps<"Carousel">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonCheckbox: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Checkbox">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonCollapsible: ({ props, children }: BaseComponentProps<JsonProps<"Collapsible">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonDialog: ({ props, children }: BaseComponentProps<JsonProps<"Dialog">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonDrawer: ({ props, children }: BaseComponentProps<JsonProps<"Drawer">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonDropdownMenu: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"DropdownMenu">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonGrid: ({ props, children }: BaseComponentProps<JsonProps<"Grid">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonHeading: ({ props }: BaseComponentProps<JsonProps<"Heading">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonImage: ({ props }: BaseComponentProps<JsonProps<"Image">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonInput: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Input">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonLink: ({ props, on }: BaseComponentProps<JsonProps<"Link">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonPagination: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Pagination">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonPopover: ({ props }: BaseComponentProps<JsonProps<"Popover">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonProgress: ({ props }: BaseComponentProps<JsonProps<"Progress">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonRadio: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Radio">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonSelect: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Select">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonSeparator: ({ props }: BaseComponentProps<JsonProps<"Separator">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonSkeleton: ({ props }: BaseComponentProps<JsonProps<"Skeleton">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonSlider: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Slider">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonSpinner: ({ props }: BaseComponentProps<JsonProps<"Spinner">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonStack: ({ props, children }: BaseComponentProps<JsonProps<"Stack">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonSwitch: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Switch">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonTable: ({ props }: BaseComponentProps<JsonProps<"Table">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonTabs: ({ props, children, bindings, emit }: BaseComponentProps<JsonProps<"Tabs">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonText: ({ props }: BaseComponentProps<JsonProps<"Text">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonTextarea: ({ props, bindings }: BaseComponentProps<JsonProps<"Textarea">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonToggle: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"Toggle">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonToggleGroup: ({ props, bindings, emit }: BaseComponentProps<JsonProps<"ToggleGroup">>) => import("react").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type BaseComponentProps } from "@json-render/react";
2
+ import { type JsonProps } from "./catalog.js";
3
+ export declare const JsonTooltip: ({ props }: BaseComponentProps<JsonProps<"Tooltip">>) => import("react").JSX.Element;