@askrjs/themes 0.0.25 → 0.0.28
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.
- package/dist/components/_internal/style.js +2 -1
- package/dist/components/_internal/style.js.map +1 -1
- package/dist/components/alert/alert.d.ts +5 -0
- package/dist/components/alert/alert.js +5 -0
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/alert/alert.types.d.ts +3 -0
- package/dist/components/aside/aside.d.ts +1 -0
- package/dist/components/aside/aside.js +1 -0
- package/dist/components/aside/aside.js.map +1 -1
- package/dist/components/aside/aside.types.d.ts +1 -0
- package/dist/components/aspect-ratio/aspect-ratio.d.ts +5 -0
- package/dist/components/aspect-ratio/aspect-ratio.js.map +1 -1
- package/dist/components/aspect-ratio/aspect-ratio.types.d.ts +3 -0
- package/dist/components/badge/badge.d.ts +1 -0
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/badge/badge.types.d.ts +4 -0
- package/dist/components/block/block.d.ts +6 -0
- package/dist/components/block/block.js.map +1 -1
- package/dist/components/block/block.types.d.ts +8 -0
- package/dist/components/brand/brand.d.ts +3 -0
- package/dist/components/brand/brand.js +3 -0
- package/dist/components/brand/brand.js.map +1 -1
- package/dist/components/brand/brand.types.d.ts +6 -0
- package/dist/components/button-group/button-group.d.ts +1 -0
- package/dist/components/button-group/button-group.js +1 -0
- package/dist/components/button-group/button-group.js.map +1 -1
- package/dist/components/button-group/button-group.types.d.ts +2 -0
- package/dist/components/card/card.d.ts +7 -0
- package/dist/components/card/card.js +7 -0
- package/dist/components/card/card.js.map +1 -1
- package/dist/components/card/card.types.d.ts +9 -0
- package/dist/components/catalog.d.ts +122 -0
- package/dist/components/catalog.js +118 -0
- package/dist/components/catalog.js.map +1 -1
- package/dist/components/close/close.d.ts +1 -0
- package/dist/components/close/close.js.map +1 -1
- package/dist/components/close/close.types.d.ts +2 -0
- package/dist/components/command-palette/command-palette.d.ts +14 -0
- package/dist/components/command-palette/command-palette.js +13 -0
- package/dist/components/command-palette/command-palette.js.map +1 -1
- package/dist/components/command-palette/command-palette.types.d.ts +6 -0
- package/dist/components/container/container.d.ts +1 -0
- package/dist/components/container/container.js +1 -0
- package/dist/components/container/container.js.map +1 -1
- package/dist/components/container/container.types.d.ts +1 -0
- package/dist/components/empty-state/empty-state.d.ts +1 -0
- package/dist/components/empty-state/empty-state.js +1 -0
- package/dist/components/empty-state/empty-state.js.map +1 -1
- package/dist/components/empty-state/empty-state.types.d.ts +2 -0
- package/dist/components/field/field.d.ts +3 -0
- package/dist/components/field/field.js +3 -0
- package/dist/components/field/field.js.map +1 -1
- package/dist/components/field/field.types.d.ts +3 -0
- package/dist/components/footer/footer.d.ts +7 -0
- package/dist/components/footer/footer.js +7 -0
- package/dist/components/footer/footer.js.map +1 -1
- package/dist/components/footer/footer.types.d.ts +7 -0
- package/dist/components/grid/grid.d.ts +1 -0
- package/dist/components/grid/grid.js +1 -0
- package/dist/components/grid/grid.js.map +1 -1
- package/dist/components/grid/grid.types.d.ts +4 -0
- package/dist/components/header/header.d.ts +1 -0
- package/dist/components/header/header.js +1 -0
- package/dist/components/header/header.js.map +1 -1
- package/dist/components/header/header.types.d.ts +1 -0
- package/dist/components/input-group/input-group.d.ts +2 -0
- package/dist/components/input-group/input-group.js +1 -0
- package/dist/components/input-group/input-group.js.map +1 -1
- package/dist/components/input-group/input-group.types.d.ts +4 -0
- package/dist/components/main/main.d.ts +1 -0
- package/dist/components/main/main.js +1 -0
- package/dist/components/main/main.js.map +1 -1
- package/dist/components/main/main.types.d.ts +1 -0
- package/dist/components/nav/nav.d.ts +6 -0
- package/dist/components/nav/nav.js +3 -0
- package/dist/components/nav/nav.js.map +1 -1
- package/dist/components/nav/nav.types.d.ts +14 -0
- package/dist/components/navbar/navbar.d.ts +8 -0
- package/dist/components/navbar/navbar.js +8 -0
- package/dist/components/navbar/navbar.js.map +1 -1
- package/dist/components/navbar/navbar.types.d.ts +5 -0
- package/dist/components/overlays/dropdown-content.d.ts +5 -0
- package/dist/components/overlays/dropdown-content.js.map +1 -1
- package/dist/components/page/page.d.ts +1 -0
- package/dist/components/page/page.js +1 -0
- package/dist/components/page/page.js.map +1 -1
- package/dist/components/page/page.types.d.ts +1 -0
- package/dist/components/page-header/page-header.d.ts +1 -0
- package/dist/components/page-header/page-header.js +1 -0
- package/dist/components/page-header/page-header.js.map +1 -1
- package/dist/components/page-header/page-header.types.d.ts +1 -0
- package/dist/components/section/section.d.ts +1 -0
- package/dist/components/section/section.js +1 -0
- package/dist/components/section/section.js.map +1 -1
- package/dist/components/section/section.types.d.ts +1 -0
- package/dist/components/separator/separator.d.ts +5 -0
- package/dist/components/separator/separator.js.map +1 -1
- package/dist/components/separator/separator.types.d.ts +4 -0
- package/dist/components/sidebar/sidebar.d.ts +16 -0
- package/dist/components/sidebar/sidebar.js +16 -0
- package/dist/components/sidebar/sidebar.js.map +1 -1
- package/dist/components/sidebar/sidebar.types.d.ts +8 -0
- package/dist/components/skeleton/skeleton.d.ts +1 -0
- package/dist/components/skeleton/skeleton.js.map +1 -1
- package/dist/components/skeleton/skeleton.types.d.ts +3 -0
- package/dist/components/spinner/spinner.d.ts +1 -0
- package/dist/components/spinner/spinner.js +1 -0
- package/dist/components/spinner/spinner.js.map +1 -1
- package/dist/components/spinner/spinner.types.d.ts +3 -0
- package/dist/components/stat/stat.d.ts +4 -0
- package/dist/components/stat/stat.js +4 -0
- package/dist/components/stat/stat.js.map +1 -1
- package/dist/components/stat/stat.types.d.ts +4 -0
- package/dist/components/text/text.d.ts +1 -0
- package/dist/components/text/text.js +1 -0
- package/dist/components/text/text.js.map +1 -1
- package/dist/components/text/text.types.d.ts +8 -0
- package/dist/components/theme/theme.d.ts +25 -0
- package/dist/components/theme/theme.js +22 -3
- package/dist/components/theme/theme.js.map +1 -1
- package/dist/components/toolbar/toolbar.d.ts +1 -0
- package/dist/components/toolbar/toolbar.js +1 -0
- package/dist/components/toolbar/toolbar.js.map +1 -1
- package/dist/components/toolbar/toolbar.types.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/_internal/style.ts +8 -1
- package/src/components/alert/alert.tsx +5 -0
- package/src/components/alert/alert.types.ts +3 -0
- package/src/components/aside/aside.tsx +1 -0
- package/src/components/aside/aside.types.ts +1 -0
- package/src/components/aspect-ratio/aspect-ratio.tsx +5 -0
- package/src/components/aspect-ratio/aspect-ratio.types.ts +3 -0
- package/src/components/badge/badge.tsx +1 -0
- package/src/components/badge/badge.types.ts +4 -0
- package/src/components/block/block.tsx +6 -0
- package/src/components/block/block.types.ts +8 -0
- package/src/components/brand/brand.tsx +3 -0
- package/src/components/brand/brand.types.ts +6 -0
- package/src/components/button-group/button-group.tsx +1 -0
- package/src/components/button-group/button-group.types.ts +2 -0
- package/src/components/card/card.tsx +7 -0
- package/src/components/card/card.types.ts +9 -0
- package/src/components/catalog.tsx +122 -0
- package/src/components/close/close.tsx +1 -0
- package/src/components/close/close.types.ts +2 -0
- package/src/components/command-palette/command-palette.tsx +14 -0
- package/src/components/command-palette/command-palette.types.ts +6 -0
- package/src/components/container/container.tsx +1 -0
- package/src/components/container/container.types.ts +1 -0
- package/src/components/empty-state/empty-state.tsx +1 -0
- package/src/components/empty-state/empty-state.types.ts +2 -0
- package/src/components/field/field.tsx +3 -0
- package/src/components/field/field.types.ts +3 -0
- package/src/components/footer/footer.tsx +7 -0
- package/src/components/footer/footer.types.ts +7 -0
- package/src/components/grid/grid.tsx +1 -0
- package/src/components/grid/grid.types.ts +4 -0
- package/src/components/header/header.tsx +1 -0
- package/src/components/header/header.types.ts +1 -0
- package/src/components/input-group/input-group.tsx +2 -0
- package/src/components/input-group/input-group.types.ts +4 -0
- package/src/components/main/main.tsx +1 -0
- package/src/components/main/main.types.ts +1 -0
- package/src/components/nav/nav.tsx +6 -0
- package/src/components/nav/nav.types.ts +14 -0
- package/src/components/navbar/navbar.tsx +8 -0
- package/src/components/navbar/navbar.types.ts +5 -0
- package/src/components/overlays/dropdown-content.tsx +5 -0
- package/src/components/page/page.tsx +1 -0
- package/src/components/page/page.types.ts +1 -0
- package/src/components/page-header/page-header.tsx +1 -0
- package/src/components/page-header/page-header.types.ts +1 -0
- package/src/components/section/section.tsx +1 -0
- package/src/components/section/section.types.ts +1 -0
- package/src/components/separator/separator.tsx +5 -0
- package/src/components/separator/separator.types.ts +4 -0
- package/src/components/sidebar/sidebar.tsx +16 -0
- package/src/components/sidebar/sidebar.types.ts +8 -0
- package/src/components/skeleton/skeleton.tsx +1 -0
- package/src/components/skeleton/skeleton.types.ts +3 -0
- package/src/components/spinner/spinner.tsx +1 -0
- package/src/components/spinner/spinner.types.ts +3 -0
- package/src/components/stat/stat.tsx +4 -0
- package/src/components/stat/stat.types.ts +4 -0
- package/src/components/text/text.tsx +1 -0
- package/src/components/text/text.types.ts +8 -0
- package/src/components/theme/theme.tsx +35 -2
- package/src/components/toolbar/toolbar.tsx +1 -0
- package/src/components/toolbar/toolbar.types.ts +1 -0
|
@@ -71,28 +71,35 @@ function layoutAlias(props, defaults) {
|
|
|
71
71
|
style: wrapStyle
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
+
/** Legacy `Box` layout alias for {@link Block} with no default direction. */
|
|
74
75
|
function Box(props) {
|
|
75
76
|
return layoutAlias(props, {});
|
|
76
77
|
}
|
|
78
|
+
/** Legacy `Stack` layout alias for {@link Block} that defaults to a column direction. */
|
|
77
79
|
function Stack(props) {
|
|
78
80
|
return layoutAlias(props, { direction: "column" });
|
|
79
81
|
}
|
|
82
|
+
/** Legacy `Inline` layout alias for {@link Block} that defaults to a row direction. */
|
|
80
83
|
function Inline(props) {
|
|
81
84
|
return layoutAlias(props, { direction: "row" });
|
|
82
85
|
}
|
|
86
|
+
/** Legacy `Shell` layout alias for {@link Block}; the `variant` prop is accepted but ignored. */
|
|
83
87
|
function Shell(props) {
|
|
84
88
|
const { variant: _variant, ...rest } = props;
|
|
85
89
|
return layoutAlias(rest, {});
|
|
86
90
|
}
|
|
91
|
+
/** Legacy `ShellNav` layout alias for {@link Block}. */
|
|
87
92
|
function ShellNav(props) {
|
|
88
93
|
return layoutAlias(props, {});
|
|
89
94
|
}
|
|
95
|
+
/** Legacy `ShellMain` layout alias for {@link Block} that renders a growing `<main>` element. */
|
|
90
96
|
function ShellMain(props) {
|
|
91
97
|
return layoutAlias(props, {
|
|
92
98
|
as: "main",
|
|
93
99
|
grow: true
|
|
94
100
|
});
|
|
95
101
|
}
|
|
102
|
+
/** Renders the `alert-title` part of the shadcn-compatible catalog primitives. */
|
|
96
103
|
function AlertTitle(props) {
|
|
97
104
|
return catalogPart(props, {
|
|
98
105
|
slot: "alert-title",
|
|
@@ -100,6 +107,7 @@ function AlertTitle(props) {
|
|
|
100
107
|
className: "alert-title"
|
|
101
108
|
});
|
|
102
109
|
}
|
|
110
|
+
/** Renders the `alert-description` part of the shadcn-compatible catalog primitives. */
|
|
103
111
|
function AlertDescription(props) {
|
|
104
112
|
return catalogPart(props, {
|
|
105
113
|
slot: "alert-description",
|
|
@@ -107,6 +115,7 @@ function AlertDescription(props) {
|
|
|
107
115
|
className: "alert-description"
|
|
108
116
|
});
|
|
109
117
|
}
|
|
118
|
+
/** Renders the `breadcrumb` part of the shadcn-compatible catalog primitives. */
|
|
110
119
|
function Breadcrumb(props) {
|
|
111
120
|
return catalogPart(props, {
|
|
112
121
|
slot: "breadcrumb",
|
|
@@ -114,24 +123,28 @@ function Breadcrumb(props) {
|
|
|
114
123
|
role: "navigation"
|
|
115
124
|
});
|
|
116
125
|
}
|
|
126
|
+
/** Renders the `breadcrumb-list` part of the shadcn-compatible catalog primitives. */
|
|
117
127
|
function BreadcrumbList(props) {
|
|
118
128
|
return catalogPart(props, {
|
|
119
129
|
slot: "breadcrumb-list",
|
|
120
130
|
element: "ol"
|
|
121
131
|
});
|
|
122
132
|
}
|
|
133
|
+
/** Renders the `breadcrumb-item` part of the shadcn-compatible catalog primitives. */
|
|
123
134
|
function BreadcrumbItem(props) {
|
|
124
135
|
return catalogPart(props, {
|
|
125
136
|
slot: "breadcrumb-item",
|
|
126
137
|
element: "li"
|
|
127
138
|
});
|
|
128
139
|
}
|
|
140
|
+
/** Renders the `breadcrumb-link` part of the shadcn-compatible catalog primitives. */
|
|
129
141
|
function BreadcrumbLink(props) {
|
|
130
142
|
return catalogPart(props, {
|
|
131
143
|
slot: "breadcrumb-link",
|
|
132
144
|
element: "a"
|
|
133
145
|
});
|
|
134
146
|
}
|
|
147
|
+
/** Renders the current (non-link) breadcrumb page, marked `aria-current="page"`. */
|
|
135
148
|
function BreadcrumbPage(props) {
|
|
136
149
|
return catalogPart({
|
|
137
150
|
"aria-current": "page",
|
|
@@ -141,6 +154,7 @@ function BreadcrumbPage(props) {
|
|
|
141
154
|
element: "span"
|
|
142
155
|
});
|
|
143
156
|
}
|
|
157
|
+
/** Renders the separator between breadcrumb items (defaults to `"/"`). */
|
|
144
158
|
function BreadcrumbSeparator(props) {
|
|
145
159
|
const { children = "/", ...rest } = props;
|
|
146
160
|
return catalogPart({
|
|
@@ -152,6 +166,7 @@ function BreadcrumbSeparator(props) {
|
|
|
152
166
|
element: "li"
|
|
153
167
|
});
|
|
154
168
|
}
|
|
169
|
+
/** Renders a non-interactive ellipsis marker in a breadcrumb trail. */
|
|
155
170
|
function BreadcrumbEllipsis(props) {
|
|
156
171
|
const { children = "...", ...rest } = props;
|
|
157
172
|
return catalogPart({
|
|
@@ -163,18 +178,23 @@ function BreadcrumbEllipsis(props) {
|
|
|
163
178
|
element: "span"
|
|
164
179
|
});
|
|
165
180
|
}
|
|
181
|
+
/** Renders the `calendar` part of the shadcn-compatible catalog primitives. */
|
|
166
182
|
function Calendar(props) {
|
|
167
183
|
return catalogPart(props, { slot: "calendar" });
|
|
168
184
|
}
|
|
185
|
+
/** Renders the `calendar-header` part of the shadcn-compatible catalog primitives. */
|
|
169
186
|
function CalendarHeader(props) {
|
|
170
187
|
return catalogPart(props, { slot: "calendar-header" });
|
|
171
188
|
}
|
|
189
|
+
/** Renders the `calendar-caption` part of the shadcn-compatible catalog primitives. */
|
|
172
190
|
function CalendarCaption(props) {
|
|
173
191
|
return catalogPart(props, { slot: "calendar-caption" });
|
|
174
192
|
}
|
|
193
|
+
/** Renders the `calendar-nav` part of the shadcn-compatible catalog primitives. */
|
|
175
194
|
function CalendarNav(props) {
|
|
176
195
|
return catalogPart(props, { slot: "calendar-nav" });
|
|
177
196
|
}
|
|
197
|
+
/** Button that navigates the calendar to the previous month. */
|
|
178
198
|
function CalendarPreviousButton(props) {
|
|
179
199
|
const { children = "Previous month", ...rest } = props;
|
|
180
200
|
return buttonPart({
|
|
@@ -183,6 +203,7 @@ function CalendarPreviousButton(props) {
|
|
|
183
203
|
...rest
|
|
184
204
|
}, "calendar-previous", "btn btn-icon btn-ghost");
|
|
185
205
|
}
|
|
206
|
+
/** Button that navigates the calendar to the next month. */
|
|
186
207
|
function CalendarNextButton(props) {
|
|
187
208
|
const { children = "Next month", ...rest } = props;
|
|
188
209
|
return buttonPart({
|
|
@@ -191,33 +212,39 @@ function CalendarNextButton(props) {
|
|
|
191
212
|
...rest
|
|
192
213
|
}, "calendar-next", "btn btn-icon btn-ghost");
|
|
193
214
|
}
|
|
215
|
+
/** Renders the `calendar-grid` part of the shadcn-compatible catalog primitives. */
|
|
194
216
|
function CalendarGrid(props) {
|
|
195
217
|
return catalogPart(props, {
|
|
196
218
|
slot: "calendar-grid",
|
|
197
219
|
role: "grid"
|
|
198
220
|
});
|
|
199
221
|
}
|
|
222
|
+
/** Renders the `calendar-head` part of the shadcn-compatible catalog primitives. */
|
|
200
223
|
function CalendarHead(props) {
|
|
201
224
|
return catalogPart(props, {
|
|
202
225
|
slot: "calendar-head",
|
|
203
226
|
role: "row"
|
|
204
227
|
});
|
|
205
228
|
}
|
|
229
|
+
/** Renders the `calendar-body` part of the shadcn-compatible catalog primitives. */
|
|
206
230
|
function CalendarBody(props) {
|
|
207
231
|
return catalogPart(props, { slot: "calendar-body" });
|
|
208
232
|
}
|
|
233
|
+
/** Renders the `calendar-row` part of the shadcn-compatible catalog primitives. */
|
|
209
234
|
function CalendarRow(props) {
|
|
210
235
|
return catalogPart(props, {
|
|
211
236
|
slot: "calendar-row",
|
|
212
237
|
role: "row"
|
|
213
238
|
});
|
|
214
239
|
}
|
|
240
|
+
/** Renders the `calendar-cell` part of the shadcn-compatible catalog primitives. */
|
|
215
241
|
function CalendarCell(props) {
|
|
216
242
|
return catalogPart(props, {
|
|
217
243
|
slot: "calendar-cell",
|
|
218
244
|
role: "gridcell"
|
|
219
245
|
});
|
|
220
246
|
}
|
|
247
|
+
/** Renders a single selectable day cell in the calendar grid, with selection/range/today state exposed as data attributes. */
|
|
221
248
|
function CalendarDay(props) {
|
|
222
249
|
const { disabled, outside, rangeEnd, rangeMiddle, rangeStart, selected, today, ...rest } = props;
|
|
223
250
|
return buttonPart({
|
|
@@ -234,15 +261,19 @@ function CalendarDay(props) {
|
|
|
234
261
|
...rest
|
|
235
262
|
}, "calendar-day");
|
|
236
263
|
}
|
|
264
|
+
/** Renders the `carousel` part of the shadcn-compatible catalog primitives. */
|
|
237
265
|
function Carousel(props) {
|
|
238
266
|
return catalogPart(props, { slot: "carousel" });
|
|
239
267
|
}
|
|
268
|
+
/** Renders the `carousel-content` part of the shadcn-compatible catalog primitives. */
|
|
240
269
|
function CarouselContent(props) {
|
|
241
270
|
return catalogPart(props, { slot: "carousel-content" });
|
|
242
271
|
}
|
|
272
|
+
/** Renders the `carousel-item` part of the shadcn-compatible catalog primitives. */
|
|
243
273
|
function CarouselItem(props) {
|
|
244
274
|
return catalogPart(props, { slot: "carousel-item" });
|
|
245
275
|
}
|
|
276
|
+
/** Button that navigates the carousel to the previous item. */
|
|
246
277
|
function CarouselPrevious(props) {
|
|
247
278
|
const { children = "Previous", ...rest } = props;
|
|
248
279
|
return buttonPart({
|
|
@@ -250,6 +281,7 @@ function CarouselPrevious(props) {
|
|
|
250
281
|
...rest
|
|
251
282
|
}, "carousel-previous", "btn btn-icon");
|
|
252
283
|
}
|
|
284
|
+
/** Button that navigates the carousel to the next item. */
|
|
253
285
|
function CarouselNext(props) {
|
|
254
286
|
const { children = "Next", ...rest } = props;
|
|
255
287
|
return buttonPart({
|
|
@@ -257,9 +289,11 @@ function CarouselNext(props) {
|
|
|
257
289
|
...rest
|
|
258
290
|
}, "carousel-next", "btn btn-icon");
|
|
259
291
|
}
|
|
292
|
+
/** Renders the `combobox` part of the shadcn-compatible catalog primitives. */
|
|
260
293
|
function Combobox(props) {
|
|
261
294
|
return catalogPart(props, { slot: "combobox" });
|
|
262
295
|
}
|
|
296
|
+
/** Renders the combobox's text input, wired up with `role="combobox"`. */
|
|
263
297
|
function ComboboxInput(props) {
|
|
264
298
|
const { ref, class: className, ...rest } = props;
|
|
265
299
|
const finalProps = mergeProps(rest, {
|
|
@@ -270,24 +304,29 @@ function ComboboxInput(props) {
|
|
|
270
304
|
});
|
|
271
305
|
return /* @__PURE__ */ jsx("input", { ...finalProps });
|
|
272
306
|
}
|
|
307
|
+
/** Renders the `combobox-list` part of the shadcn-compatible catalog primitives. */
|
|
273
308
|
function ComboboxList(props) {
|
|
274
309
|
return catalogPart(props, {
|
|
275
310
|
slot: "combobox-list",
|
|
276
311
|
role: "listbox"
|
|
277
312
|
});
|
|
278
313
|
}
|
|
314
|
+
/** Renders the `combobox-option` part of the shadcn-compatible catalog primitives. */
|
|
279
315
|
function ComboboxOption(props) {
|
|
280
316
|
return catalogPart(props, {
|
|
281
317
|
slot: "combobox-option",
|
|
282
318
|
role: "option"
|
|
283
319
|
});
|
|
284
320
|
}
|
|
321
|
+
/** Renders the `command` part of the shadcn-compatible catalog primitives. */
|
|
285
322
|
function Command(props) {
|
|
286
323
|
return catalogPart(props, { slot: "command" });
|
|
287
324
|
}
|
|
325
|
+
/** Renders the `command-dialog` part of the shadcn-compatible catalog primitives. */
|
|
288
326
|
function CommandDialog(props) {
|
|
289
327
|
return catalogPart(props, { slot: "command-dialog" });
|
|
290
328
|
}
|
|
329
|
+
/** Renders the command palette's search `<input>`. */
|
|
291
330
|
function CommandInput(props) {
|
|
292
331
|
const { ref, class: className, ...rest } = props;
|
|
293
332
|
const finalProps = mergeProps(rest, {
|
|
@@ -297,30 +336,36 @@ function CommandInput(props) {
|
|
|
297
336
|
});
|
|
298
337
|
return /* @__PURE__ */ jsx("input", { ...finalProps });
|
|
299
338
|
}
|
|
339
|
+
/** Renders the `command-header` part of the shadcn-compatible catalog primitives. */
|
|
300
340
|
function CommandHeader(props) {
|
|
301
341
|
return catalogPart(props, { slot: "command-header" });
|
|
302
342
|
}
|
|
343
|
+
/** Renders the `command-list` part of the shadcn-compatible catalog primitives. */
|
|
303
344
|
function CommandList(props) {
|
|
304
345
|
return catalogPart(props, {
|
|
305
346
|
slot: "command-list",
|
|
306
347
|
role: "listbox"
|
|
307
348
|
});
|
|
308
349
|
}
|
|
350
|
+
/** Renders the `command-empty` part of the shadcn-compatible catalog primitives. */
|
|
309
351
|
function CommandEmpty(props) {
|
|
310
352
|
return catalogPart(props, { slot: "command-empty" });
|
|
311
353
|
}
|
|
354
|
+
/** Renders the `command-group` part of the shadcn-compatible catalog primitives. */
|
|
312
355
|
function CommandGroup(props) {
|
|
313
356
|
return catalogPart(props, {
|
|
314
357
|
slot: "command-group",
|
|
315
358
|
role: "group"
|
|
316
359
|
});
|
|
317
360
|
}
|
|
361
|
+
/** Renders the `command-group-heading` part of the shadcn-compatible catalog primitives. */
|
|
318
362
|
function CommandGroupHeading(props) {
|
|
319
363
|
return catalogPart(props, {
|
|
320
364
|
slot: "command-group-heading",
|
|
321
365
|
element: "div"
|
|
322
366
|
});
|
|
323
367
|
}
|
|
368
|
+
/** Renders a selectable command list entry, exposing `active`/`disabled`/`selected` as ARIA and data attributes. */
|
|
324
369
|
function CommandItem(props) {
|
|
325
370
|
const { active, disabled, selected, ...rest } = props;
|
|
326
371
|
return catalogPart({
|
|
@@ -334,6 +379,7 @@ function CommandItem(props) {
|
|
|
334
379
|
role: "option"
|
|
335
380
|
});
|
|
336
381
|
}
|
|
382
|
+
/** Renders the `command-separator` part of the shadcn-compatible catalog primitives. */
|
|
337
383
|
function CommandSeparator(props) {
|
|
338
384
|
return catalogPart(props, {
|
|
339
385
|
slot: "command-separator",
|
|
@@ -341,18 +387,22 @@ function CommandSeparator(props) {
|
|
|
341
387
|
role: "separator"
|
|
342
388
|
});
|
|
343
389
|
}
|
|
390
|
+
/** Renders the `command-shortcut` part of the shadcn-compatible catalog primitives. */
|
|
344
391
|
function CommandShortcut(props) {
|
|
345
392
|
return catalogPart(props, {
|
|
346
393
|
slot: "command-shortcut",
|
|
347
394
|
element: "span"
|
|
348
395
|
});
|
|
349
396
|
}
|
|
397
|
+
/** Renders the `data-table` part of the shadcn-compatible catalog primitives. */
|
|
350
398
|
function DataTable(props) {
|
|
351
399
|
return catalogPart(props, { slot: "data-table" });
|
|
352
400
|
}
|
|
401
|
+
/** Renders the `date-picker` part of the shadcn-compatible catalog primitives. */
|
|
353
402
|
function DatePicker(props) {
|
|
354
403
|
return catalogPart(props, { slot: "date-picker" });
|
|
355
404
|
}
|
|
405
|
+
/** Renders the date picker's `<input type="date">` by default. */
|
|
356
406
|
function DatePickerInput(props) {
|
|
357
407
|
const { ref, class: className, type = "date", ...rest } = props;
|
|
358
408
|
const finalProps = mergeProps(rest, {
|
|
@@ -365,6 +415,7 @@ function DatePickerInput(props) {
|
|
|
365
415
|
...finalProps
|
|
366
416
|
});
|
|
367
417
|
}
|
|
418
|
+
/** Sets the `dir` attribute (defaulting to `"ltr"`) on its wrapping element for RTL/LTR scoping. */
|
|
368
419
|
function Direction(props) {
|
|
369
420
|
const { dir = "ltr", ...rest } = props;
|
|
370
421
|
return catalogPart({
|
|
@@ -372,45 +423,55 @@ function Direction(props) {
|
|
|
372
423
|
...rest
|
|
373
424
|
}, { slot: "direction" });
|
|
374
425
|
}
|
|
426
|
+
/** Renders the `empty` part of the shadcn-compatible catalog primitives. */
|
|
375
427
|
function Empty(props) {
|
|
376
428
|
return catalogPart(props, { slot: "empty" });
|
|
377
429
|
}
|
|
430
|
+
/** Renders the `empty-header` part of the shadcn-compatible catalog primitives. */
|
|
378
431
|
function EmptyHeader(props) {
|
|
379
432
|
return catalogPart(props, { slot: "empty-header" });
|
|
380
433
|
}
|
|
434
|
+
/** Renders the `empty-title` part of the shadcn-compatible catalog primitives. */
|
|
381
435
|
function EmptyTitle(props) {
|
|
382
436
|
return catalogPart(props, {
|
|
383
437
|
slot: "empty-title",
|
|
384
438
|
element: "h3"
|
|
385
439
|
});
|
|
386
440
|
}
|
|
441
|
+
/** Renders the `empty-description` part of the shadcn-compatible catalog primitives. */
|
|
387
442
|
function EmptyDescription(props) {
|
|
388
443
|
return catalogPart(props, {
|
|
389
444
|
slot: "empty-description",
|
|
390
445
|
element: "p"
|
|
391
446
|
});
|
|
392
447
|
}
|
|
448
|
+
/** Renders the `empty-content` part of the shadcn-compatible catalog primitives. */
|
|
393
449
|
function EmptyContent(props) {
|
|
394
450
|
return catalogPart(props, { slot: "empty-content" });
|
|
395
451
|
}
|
|
452
|
+
/** Renders the `empty-media` part of the shadcn-compatible catalog primitives. */
|
|
396
453
|
function EmptyMedia(props) {
|
|
397
454
|
return catalogPart(props, { slot: "empty-media" });
|
|
398
455
|
}
|
|
456
|
+
/** Renders the `field-group` part of the shadcn-compatible catalog primitives. */
|
|
399
457
|
function FieldGroup(props) {
|
|
400
458
|
return catalogPart(props, { slot: "field-group" });
|
|
401
459
|
}
|
|
460
|
+
/** Renders the `field-set` part of the shadcn-compatible catalog primitives. */
|
|
402
461
|
function FieldSet(props) {
|
|
403
462
|
return catalogPart(props, {
|
|
404
463
|
slot: "field-set",
|
|
405
464
|
element: "fieldset"
|
|
406
465
|
});
|
|
407
466
|
}
|
|
467
|
+
/** Renders the `field-legend` part of the shadcn-compatible catalog primitives. */
|
|
408
468
|
function FieldLegend(props) {
|
|
409
469
|
return catalogPart(props, {
|
|
410
470
|
slot: "field-legend",
|
|
411
471
|
element: "legend"
|
|
412
472
|
});
|
|
413
473
|
}
|
|
474
|
+
/** Renders the `field-label` part of the shadcn-compatible catalog primitives. */
|
|
414
475
|
function FieldLabel(props) {
|
|
415
476
|
return catalogPart(props, {
|
|
416
477
|
slot: "field-label",
|
|
@@ -418,6 +479,7 @@ function FieldLabel(props) {
|
|
|
418
479
|
className: "label"
|
|
419
480
|
});
|
|
420
481
|
}
|
|
482
|
+
/** Renders the `field-description` part of the shadcn-compatible catalog primitives. */
|
|
421
483
|
function FieldDescription(props) {
|
|
422
484
|
return catalogPart(props, {
|
|
423
485
|
slot: "field-description",
|
|
@@ -425,39 +487,46 @@ function FieldDescription(props) {
|
|
|
425
487
|
className: "field-hint"
|
|
426
488
|
});
|
|
427
489
|
}
|
|
490
|
+
/** Renders the `field-content` part of the shadcn-compatible catalog primitives. */
|
|
428
491
|
function FieldContent(props) {
|
|
429
492
|
return catalogPart(props, { slot: "field-content" });
|
|
430
493
|
}
|
|
494
|
+
/** Renders the `field-title` part of the shadcn-compatible catalog primitives. */
|
|
431
495
|
function FieldTitle(props) {
|
|
432
496
|
return catalogPart(props, {
|
|
433
497
|
slot: "field-title",
|
|
434
498
|
element: "div"
|
|
435
499
|
});
|
|
436
500
|
}
|
|
501
|
+
/** Renders the `field-separator` part of the shadcn-compatible catalog primitives. */
|
|
437
502
|
function FieldSeparator(props) {
|
|
438
503
|
return catalogPart(props, {
|
|
439
504
|
slot: "field-separator",
|
|
440
505
|
role: "separator"
|
|
441
506
|
});
|
|
442
507
|
}
|
|
508
|
+
/** Renders the `input-otp` part of the shadcn-compatible catalog primitives. */
|
|
443
509
|
function InputOTP(props) {
|
|
444
510
|
return catalogPart(props, {
|
|
445
511
|
slot: "input-otp",
|
|
446
512
|
role: "group"
|
|
447
513
|
});
|
|
448
514
|
}
|
|
515
|
+
/** Renders the `input-otp-group` part of the shadcn-compatible catalog primitives. */
|
|
449
516
|
function InputOTPGroup(props) {
|
|
450
517
|
return catalogPart(props, {
|
|
451
518
|
slot: "input-otp-group",
|
|
452
519
|
role: "group"
|
|
453
520
|
});
|
|
454
521
|
}
|
|
522
|
+
/** Renders the `input-otp-slot` part of the shadcn-compatible catalog primitives. */
|
|
455
523
|
function InputOTPSlot(props) {
|
|
456
524
|
return catalogPart(props, {
|
|
457
525
|
slot: "input-otp-slot",
|
|
458
526
|
element: "span"
|
|
459
527
|
});
|
|
460
528
|
}
|
|
529
|
+
/** Renders the visual separator between InputOTP groups (defaults to `"-"`). */
|
|
461
530
|
function InputOTPSeparator(props) {
|
|
462
531
|
const { children = "-", ...rest } = props;
|
|
463
532
|
return catalogPart({
|
|
@@ -469,6 +538,7 @@ function InputOTPSeparator(props) {
|
|
|
469
538
|
element: "span"
|
|
470
539
|
});
|
|
471
540
|
}
|
|
541
|
+
/** Renders a generic list item part, exposing `active`/`size`/`variant` as data attributes. */
|
|
472
542
|
function Item(props) {
|
|
473
543
|
const { active, size, variant, ...rest } = props;
|
|
474
544
|
return catalogPart({
|
|
@@ -478,36 +548,46 @@ function Item(props) {
|
|
|
478
548
|
...rest
|
|
479
549
|
}, { slot: "item" });
|
|
480
550
|
}
|
|
551
|
+
/** Renders the `item-group` part of the shadcn-compatible catalog primitives. */
|
|
481
552
|
function ItemGroup(props) {
|
|
482
553
|
return catalogPart(props, { slot: "item-group" });
|
|
483
554
|
}
|
|
555
|
+
/** Renders the `item-header` part of the shadcn-compatible catalog primitives. */
|
|
484
556
|
function ItemHeader(props) {
|
|
485
557
|
return catalogPart(props, { slot: "item-header" });
|
|
486
558
|
}
|
|
559
|
+
/** Renders the `item-media` part of the shadcn-compatible catalog primitives. */
|
|
487
560
|
function ItemMedia(props) {
|
|
488
561
|
return catalogPart(props, { slot: "item-media" });
|
|
489
562
|
}
|
|
563
|
+
/** Renders the `item-content` part of the shadcn-compatible catalog primitives. */
|
|
490
564
|
function ItemContent(props) {
|
|
491
565
|
return catalogPart(props, { slot: "item-content" });
|
|
492
566
|
}
|
|
567
|
+
/** Renders the `item-title` part of the shadcn-compatible catalog primitives. */
|
|
493
568
|
function ItemTitle(props) {
|
|
494
569
|
return catalogPart(props, { slot: "item-title" });
|
|
495
570
|
}
|
|
571
|
+
/** Renders the `item-description` part of the shadcn-compatible catalog primitives. */
|
|
496
572
|
function ItemDescription(props) {
|
|
497
573
|
return catalogPart(props, { slot: "item-description" });
|
|
498
574
|
}
|
|
575
|
+
/** Renders the `item-actions` part of the shadcn-compatible catalog primitives. */
|
|
499
576
|
function ItemActions(props) {
|
|
500
577
|
return catalogPart(props, { slot: "item-actions" });
|
|
501
578
|
}
|
|
579
|
+
/** Renders the `item-footer` part of the shadcn-compatible catalog primitives. */
|
|
502
580
|
function ItemFooter(props) {
|
|
503
581
|
return catalogPart(props, { slot: "item-footer" });
|
|
504
582
|
}
|
|
583
|
+
/** Renders the `kbd` part of the shadcn-compatible catalog primitives. */
|
|
505
584
|
function Kbd(props) {
|
|
506
585
|
return catalogPart(props, {
|
|
507
586
|
slot: "kbd",
|
|
508
587
|
element: "kbd"
|
|
509
588
|
});
|
|
510
589
|
}
|
|
590
|
+
/** Renders a styled native `<select>` element. */
|
|
511
591
|
function NativeSelect(props) {
|
|
512
592
|
const { children, ref, class: className, ...rest } = props;
|
|
513
593
|
const finalProps = mergeProps(rest, {
|
|
@@ -520,42 +600,51 @@ function NativeSelect(props) {
|
|
|
520
600
|
children
|
|
521
601
|
});
|
|
522
602
|
}
|
|
603
|
+
/** Renders the `navigation-menu` part of the shadcn-compatible catalog primitives. */
|
|
523
604
|
function NavigationMenu(props) {
|
|
524
605
|
return catalogPart(props, {
|
|
525
606
|
slot: "navigation-menu",
|
|
526
607
|
element: "nav"
|
|
527
608
|
});
|
|
528
609
|
}
|
|
610
|
+
/** Renders the `navigation-menu-list` part of the shadcn-compatible catalog primitives. */
|
|
529
611
|
function NavigationMenuList(props) {
|
|
530
612
|
return catalogPart(props, {
|
|
531
613
|
slot: "navigation-menu-list",
|
|
532
614
|
element: "ul"
|
|
533
615
|
});
|
|
534
616
|
}
|
|
617
|
+
/** Renders the `navigation-menu-item` part of the shadcn-compatible catalog primitives. */
|
|
535
618
|
function NavigationMenuItem(props) {
|
|
536
619
|
return catalogPart(props, {
|
|
537
620
|
slot: "navigation-menu-item",
|
|
538
621
|
element: "li"
|
|
539
622
|
});
|
|
540
623
|
}
|
|
624
|
+
/** Renders the `navigation-menu-content` part of the shadcn-compatible catalog primitives. */
|
|
541
625
|
function NavigationMenuTrigger(props) {
|
|
542
626
|
return buttonPart(props, "navigation-menu-trigger", "nav-item");
|
|
543
627
|
}
|
|
628
|
+
/** Renders the `navigation-menu-content` part of the shadcn-compatible catalog primitives. */
|
|
544
629
|
function NavigationMenuContent(props) {
|
|
545
630
|
return catalogPart(props, { slot: "navigation-menu-content" });
|
|
546
631
|
}
|
|
632
|
+
/** Renders the `navigation-menu-link` part of the shadcn-compatible catalog primitives. */
|
|
547
633
|
function NavigationMenuLink(props) {
|
|
548
634
|
return catalogPart(props, {
|
|
549
635
|
slot: "navigation-menu-link",
|
|
550
636
|
element: "a"
|
|
551
637
|
});
|
|
552
638
|
}
|
|
639
|
+
/** Renders the `navigation-menu-viewport` part of the shadcn-compatible catalog primitives. */
|
|
553
640
|
function NavigationMenuViewport(props) {
|
|
554
641
|
return catalogPart(props, { slot: "navigation-menu-viewport" });
|
|
555
642
|
}
|
|
643
|
+
/** Renders the `navigation-menu-indicator` part of the shadcn-compatible catalog primitives. */
|
|
556
644
|
function NavigationMenuIndicator(props) {
|
|
557
645
|
return catalogPart(props, { slot: "navigation-menu-indicator" });
|
|
558
646
|
}
|
|
647
|
+
/** Renders the `pagination` part of the shadcn-compatible catalog primitives. */
|
|
559
648
|
function Pagination(props) {
|
|
560
649
|
return catalogPart(props, {
|
|
561
650
|
slot: "pagination",
|
|
@@ -563,18 +652,21 @@ function Pagination(props) {
|
|
|
563
652
|
role: "navigation"
|
|
564
653
|
});
|
|
565
654
|
}
|
|
655
|
+
/** Renders the `pagination-content` part of the shadcn-compatible catalog primitives. */
|
|
566
656
|
function PaginationContent(props) {
|
|
567
657
|
return catalogPart(props, {
|
|
568
658
|
slot: "pagination-content",
|
|
569
659
|
element: "ul"
|
|
570
660
|
});
|
|
571
661
|
}
|
|
662
|
+
/** Renders the `pagination-item` part of the shadcn-compatible catalog primitives. */
|
|
572
663
|
function PaginationItem(props) {
|
|
573
664
|
return catalogPart(props, {
|
|
574
665
|
slot: "pagination-item",
|
|
575
666
|
element: "li"
|
|
576
667
|
});
|
|
577
668
|
}
|
|
669
|
+
/** Renders a pagination page link, marking it `aria-current="page"` when `active`. */
|
|
578
670
|
function PaginationLink(props) {
|
|
579
671
|
const { active, ...rest } = props;
|
|
580
672
|
return catalogPart({
|
|
@@ -586,6 +678,7 @@ function PaginationLink(props) {
|
|
|
586
678
|
element: "a"
|
|
587
679
|
});
|
|
588
680
|
}
|
|
681
|
+
/** Pagination link that moves to the previous page. */
|
|
589
682
|
function PaginationPrevious(props) {
|
|
590
683
|
const { children = "Previous", ...rest } = props;
|
|
591
684
|
return catalogPart({
|
|
@@ -596,6 +689,7 @@ function PaginationPrevious(props) {
|
|
|
596
689
|
element: "a"
|
|
597
690
|
});
|
|
598
691
|
}
|
|
692
|
+
/** Pagination link that moves to the next page. */
|
|
599
693
|
function PaginationNext(props) {
|
|
600
694
|
const { children = "Next", ...rest } = props;
|
|
601
695
|
return catalogPart({
|
|
@@ -606,6 +700,7 @@ function PaginationNext(props) {
|
|
|
606
700
|
element: "a"
|
|
607
701
|
});
|
|
608
702
|
}
|
|
703
|
+
/** Renders a non-interactive ellipsis marker between pagination links. */
|
|
609
704
|
function PaginationEllipsis(props) {
|
|
610
705
|
const { children = "...", ...rest } = props;
|
|
611
706
|
return catalogPart({
|
|
@@ -617,33 +712,40 @@ function PaginationEllipsis(props) {
|
|
|
617
712
|
element: "span"
|
|
618
713
|
});
|
|
619
714
|
}
|
|
715
|
+
/** Renders the `resizable-panel-group` part of the shadcn-compatible catalog primitives. */
|
|
620
716
|
function ResizablePanelGroup(props) {
|
|
621
717
|
return catalogPart(props, { slot: "resizable-panel-group" });
|
|
622
718
|
}
|
|
719
|
+
/** Renders the `resizable-panel` part of the shadcn-compatible catalog primitives. */
|
|
623
720
|
function ResizablePanel(props) {
|
|
624
721
|
return catalogPart(props, { slot: "resizable-panel" });
|
|
625
722
|
}
|
|
723
|
+
/** Renders the `resizable-handle` part of the shadcn-compatible catalog primitives. */
|
|
626
724
|
function ResizableHandle(props) {
|
|
627
725
|
return catalogPart(props, {
|
|
628
726
|
slot: "resizable-handle",
|
|
629
727
|
role: "separator"
|
|
630
728
|
});
|
|
631
729
|
}
|
|
730
|
+
/** Renders the `tabs-list` part of the shadcn-compatible catalog primitives. */
|
|
632
731
|
function TabsList(props) {
|
|
633
732
|
return catalogPart(props, {
|
|
634
733
|
slot: "tabs-list",
|
|
635
734
|
role: "tablist"
|
|
636
735
|
});
|
|
637
736
|
}
|
|
737
|
+
/** Renders the `tabs-content` part of the shadcn-compatible catalog primitives. */
|
|
638
738
|
function TabsTrigger(props) {
|
|
639
739
|
return buttonPart(props, "tabs-trigger", "tab");
|
|
640
740
|
}
|
|
741
|
+
/** Renders the `tabs-content` part of the shadcn-compatible catalog primitives. */
|
|
641
742
|
function TabsContent(props) {
|
|
642
743
|
return catalogPart(props, {
|
|
643
744
|
slot: "tabs-content",
|
|
644
745
|
role: "tabpanel"
|
|
645
746
|
});
|
|
646
747
|
}
|
|
748
|
+
/** Sheet variant of the dialog content part; defaults to sliding in from the right. */
|
|
647
749
|
function SheetContent(props) {
|
|
648
750
|
const { side = "right", ...rest } = props;
|
|
649
751
|
return /* @__PURE__ */ jsx(CatalogDialogContent, {
|
|
@@ -652,79 +754,95 @@ function SheetContent(props) {
|
|
|
652
754
|
"data-slot": "sheet-content"
|
|
653
755
|
});
|
|
654
756
|
}
|
|
757
|
+
/** Renders the `sheet-header` part of the shadcn-compatible catalog primitives. */
|
|
655
758
|
function SheetHeader(props) {
|
|
656
759
|
return catalogPart(props, { slot: "sheet-header" });
|
|
657
760
|
}
|
|
761
|
+
/** Renders the `sheet-footer` part of the shadcn-compatible catalog primitives. */
|
|
658
762
|
function SheetFooter(props) {
|
|
659
763
|
return catalogPart(props, { slot: "sheet-footer" });
|
|
660
764
|
}
|
|
765
|
+
/** Sheet variant of the dialog title part. */
|
|
661
766
|
function SheetTitle(props) {
|
|
662
767
|
return /* @__PURE__ */ jsx(CatalogDialogTitle, {
|
|
663
768
|
...props,
|
|
664
769
|
"data-slot": "sheet-title"
|
|
665
770
|
});
|
|
666
771
|
}
|
|
772
|
+
/** Sheet variant of the dialog description part. */
|
|
667
773
|
function SheetDescription(props) {
|
|
668
774
|
return /* @__PURE__ */ jsx(CatalogDialogDescription, {
|
|
669
775
|
...props,
|
|
670
776
|
"data-slot": "sheet-description"
|
|
671
777
|
});
|
|
672
778
|
}
|
|
779
|
+
/** Renders the `sonner` part of the shadcn-compatible catalog primitives. */
|
|
673
780
|
function Toaster(props) {
|
|
674
781
|
return catalogPart(props, { slot: "sonner" });
|
|
675
782
|
}
|
|
783
|
+
/** Alias of {@link Toaster} kept for shadcn/sonner API compatibility. */
|
|
676
784
|
const Sonner = Toaster;
|
|
785
|
+
/** Renders the `typography` part of the shadcn-compatible catalog primitives. */
|
|
677
786
|
function Typography(props) {
|
|
678
787
|
return catalogPart(props, { slot: "typography" });
|
|
679
788
|
}
|
|
789
|
+
/** Renders the `typography-h1` part of the shadcn-compatible catalog primitives. */
|
|
680
790
|
function TypographyH1(props) {
|
|
681
791
|
return catalogPart(props, {
|
|
682
792
|
slot: "typography-h1",
|
|
683
793
|
element: "h1"
|
|
684
794
|
});
|
|
685
795
|
}
|
|
796
|
+
/** Renders the `typography-h2` part of the shadcn-compatible catalog primitives. */
|
|
686
797
|
function TypographyH2(props) {
|
|
687
798
|
return catalogPart(props, {
|
|
688
799
|
slot: "typography-h2",
|
|
689
800
|
element: "h2"
|
|
690
801
|
});
|
|
691
802
|
}
|
|
803
|
+
/** Renders the `typography-h3` part of the shadcn-compatible catalog primitives. */
|
|
692
804
|
function TypographyH3(props) {
|
|
693
805
|
return catalogPart(props, {
|
|
694
806
|
slot: "typography-h3",
|
|
695
807
|
element: "h3"
|
|
696
808
|
});
|
|
697
809
|
}
|
|
810
|
+
/** Renders the `typography-h4` part of the shadcn-compatible catalog primitives. */
|
|
698
811
|
function TypographyH4(props) {
|
|
699
812
|
return catalogPart(props, {
|
|
700
813
|
slot: "typography-h4",
|
|
701
814
|
element: "h4"
|
|
702
815
|
});
|
|
703
816
|
}
|
|
817
|
+
/** Renders the `typography-p` part of the shadcn-compatible catalog primitives. */
|
|
704
818
|
function TypographyP(props) {
|
|
705
819
|
return catalogPart(props, {
|
|
706
820
|
slot: "typography-p",
|
|
707
821
|
element: "p"
|
|
708
822
|
});
|
|
709
823
|
}
|
|
824
|
+
/** Renders the `typography-blockquote` part of the shadcn-compatible catalog primitives. */
|
|
710
825
|
function TypographyBlockquote(props) {
|
|
711
826
|
return catalogPart(props, {
|
|
712
827
|
slot: "typography-blockquote",
|
|
713
828
|
element: "blockquote"
|
|
714
829
|
});
|
|
715
830
|
}
|
|
831
|
+
/** Renders the `typography-list` part of the shadcn-compatible catalog primitives. */
|
|
716
832
|
function TypographyList(props) {
|
|
717
833
|
return catalogPart(props, {
|
|
718
834
|
slot: "typography-list",
|
|
719
835
|
element: "ul"
|
|
720
836
|
});
|
|
721
837
|
}
|
|
838
|
+
/** Renders the `typography-lead` part of the shadcn-compatible catalog primitives. */
|
|
722
839
|
function TypographyLead(props) {
|
|
723
840
|
return catalogPart(props, {
|
|
724
841
|
slot: "typography-lead",
|
|
725
842
|
element: "p"
|
|
726
843
|
});
|
|
727
844
|
}
|
|
845
|
+
/** Renders the `typography-muted` part of the shadcn-compatible catalog primitives. */
|
|
728
846
|
function TypographyMuted(props) {
|
|
729
847
|
return catalogPart(props, {
|
|
730
848
|
slot: "typography-muted",
|