@simpleapps-com/augur-web 2.0.10 → 2.0.11
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/EXPORTS.md +608 -0
- package/llms.txt +283 -0
- package/package.json +9 -7
package/EXPORTS.md
ADDED
|
@@ -0,0 +1,608 @@
|
|
|
1
|
+
# @simpleapps-com/augur-web exports
|
|
2
|
+
|
|
3
|
+
Version: 2.0.9
|
|
4
|
+
|
|
5
|
+
> Auto-generated from built type declarations. Do not edit manually.
|
|
6
|
+
> Regenerate with: `pnpm run generate-exports`
|
|
7
|
+
|
|
8
|
+
## `@simpleapps-com/augur-web/accordion`
|
|
9
|
+
|
|
10
|
+
### Values
|
|
11
|
+
|
|
12
|
+
| Export | Kind | Description |
|
|
13
|
+
|--------|------|-------------|
|
|
14
|
+
| `Accordion` | component | |
|
|
15
|
+
| `AccordionContent` | component | |
|
|
16
|
+
| `AccordionItem` | component | |
|
|
17
|
+
| `AccordionTrigger` | component | |
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import { Accordion, AccordionContent, AccordionItem } from "@simpleapps-com/augur-web/accordion";
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## `@simpleapps-com/augur-web/add-to-cart-button`
|
|
24
|
+
|
|
25
|
+
### Values
|
|
26
|
+
|
|
27
|
+
| Export | Kind | Description |
|
|
28
|
+
|--------|------|-------------|
|
|
29
|
+
| `AddToCartButton` | component | |
|
|
30
|
+
|
|
31
|
+
### Types
|
|
32
|
+
|
|
33
|
+
`AddToCartButtonProps`
|
|
34
|
+
|
|
35
|
+
```ts
|
|
36
|
+
import { AddToCartButton } from "@simpleapps-com/augur-web/add-to-cart-button";
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## `@simpleapps-com/augur-web/breadcrumb`
|
|
40
|
+
|
|
41
|
+
### Values
|
|
42
|
+
|
|
43
|
+
| Export | Kind | Description |
|
|
44
|
+
|--------|------|-------------|
|
|
45
|
+
| `Breadcrumb` | component | |
|
|
46
|
+
| `BreadcrumbEllipsis` | const | |
|
|
47
|
+
| `BreadcrumbItem` | component | |
|
|
48
|
+
| `BreadcrumbLink` | component | |
|
|
49
|
+
| `BreadcrumbList` | component | |
|
|
50
|
+
| `BreadcrumbPage` | component | |
|
|
51
|
+
| `BreadcrumbSeparator` | const | |
|
|
52
|
+
|
|
53
|
+
```ts
|
|
54
|
+
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem } from "@simpleapps-com/augur-web/breadcrumb";
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## `@simpleapps-com/augur-web/breadcrumbs`
|
|
58
|
+
|
|
59
|
+
### Values
|
|
60
|
+
|
|
61
|
+
| Export | Kind | Description |
|
|
62
|
+
|--------|------|-------------|
|
|
63
|
+
| `BreadCrumbs` | component | Breadcrumb navigation with optional JSON-LD structured data. |
|
|
64
|
+
|
|
65
|
+
### Types
|
|
66
|
+
|
|
67
|
+
`BreadCrumbsProps`
|
|
68
|
+
|
|
69
|
+
```ts
|
|
70
|
+
import { BreadCrumbs } from "@simpleapps-com/augur-web/breadcrumbs";
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## `@simpleapps-com/augur-web/button`
|
|
74
|
+
|
|
75
|
+
### Values
|
|
76
|
+
|
|
77
|
+
| Export | Kind | Description |
|
|
78
|
+
|--------|------|-------------|
|
|
79
|
+
| `Button` | component | Styled button with variant/size props. Supports polymorphism via `asChild`. |
|
|
80
|
+
| `buttonVariants` | const | CVA variants for the Button. Variants: default, destructive, outline, |
|
|
81
|
+
|
|
82
|
+
### Types
|
|
83
|
+
|
|
84
|
+
`ButtonProps`
|
|
85
|
+
|
|
86
|
+
```ts
|
|
87
|
+
import { Button, buttonVariants } from "@simpleapps-com/augur-web/button";
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## `@simpleapps-com/augur-web/card`
|
|
91
|
+
|
|
92
|
+
### Values
|
|
93
|
+
|
|
94
|
+
| Export | Kind | Description |
|
|
95
|
+
|--------|------|-------------|
|
|
96
|
+
| `Card` | component | |
|
|
97
|
+
| `CardContent` | component | |
|
|
98
|
+
| `CardDescription` | component | |
|
|
99
|
+
| `CardFooter` | component | |
|
|
100
|
+
| `CardHeader` | component | |
|
|
101
|
+
| `CardTitle` | component | |
|
|
102
|
+
|
|
103
|
+
```ts
|
|
104
|
+
import { Card, CardContent, CardDescription } from "@simpleapps-com/augur-web/card";
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
## `@simpleapps-com/augur-web/checkbox`
|
|
108
|
+
|
|
109
|
+
### Values
|
|
110
|
+
|
|
111
|
+
| Export | Kind | Description |
|
|
112
|
+
|--------|------|-------------|
|
|
113
|
+
| `Checkbox` | component | |
|
|
114
|
+
|
|
115
|
+
```ts
|
|
116
|
+
import { Checkbox } from "@simpleapps-com/augur-web/checkbox";
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
## `@simpleapps-com/augur-web/input`
|
|
120
|
+
|
|
121
|
+
### Values
|
|
122
|
+
|
|
123
|
+
| Export | Kind | Description |
|
|
124
|
+
|--------|------|-------------|
|
|
125
|
+
| `Input` | component | |
|
|
126
|
+
|
|
127
|
+
### Types
|
|
128
|
+
|
|
129
|
+
`InputProps`
|
|
130
|
+
|
|
131
|
+
```ts
|
|
132
|
+
import { Input } from "@simpleapps-com/augur-web/input";
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
## `@simpleapps-com/augur-web/label`
|
|
136
|
+
|
|
137
|
+
### Values
|
|
138
|
+
|
|
139
|
+
| Export | Kind | Description |
|
|
140
|
+
|--------|------|-------------|
|
|
141
|
+
| `Label` | component | |
|
|
142
|
+
|
|
143
|
+
```ts
|
|
144
|
+
import { Label } from "@simpleapps-com/augur-web/label";
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
## `@simpleapps-com/augur-web/list-view`
|
|
148
|
+
|
|
149
|
+
### Values
|
|
150
|
+
|
|
151
|
+
| Export | Kind | Description |
|
|
152
|
+
|--------|------|-------------|
|
|
153
|
+
| `ListView` | const | Generic list renderer that maps an array through a render function. |
|
|
154
|
+
|
|
155
|
+
```ts
|
|
156
|
+
import { ListView } from "@simpleapps-com/augur-web/list-view";
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## `@simpleapps-com/augur-web/pagination`
|
|
160
|
+
|
|
161
|
+
### Values
|
|
162
|
+
|
|
163
|
+
| Export | Kind | Description |
|
|
164
|
+
|--------|------|-------------|
|
|
165
|
+
| `Pagination` | const | |
|
|
166
|
+
| `PaginationContent` | component | |
|
|
167
|
+
| `PaginationEllipsis` | const | |
|
|
168
|
+
| `PaginationItem` | component | |
|
|
169
|
+
| `PaginationLink` | const | |
|
|
170
|
+
| `PaginationNext` | const | |
|
|
171
|
+
| `PaginationPrevious` | const | |
|
|
172
|
+
|
|
173
|
+
```ts
|
|
174
|
+
import { Pagination, PaginationContent, PaginationEllipsis } from "@simpleapps-com/augur-web/pagination";
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## `@simpleapps-com/augur-web/price`
|
|
178
|
+
|
|
179
|
+
### Values
|
|
180
|
+
|
|
181
|
+
| Export | Kind | Description |
|
|
182
|
+
|--------|------|-------------|
|
|
183
|
+
| `FormatPriceOptions` | value | |
|
|
184
|
+
| `PriceFormatConfig` | value | |
|
|
185
|
+
| `createPrice` | function | Factory that creates a `Price` component and a `formatPrice` function |
|
|
186
|
+
|
|
187
|
+
### Types
|
|
188
|
+
|
|
189
|
+
`CreatePriceResult`, `PriceClassNames`, `PriceConfig`, `PriceProps`
|
|
190
|
+
|
|
191
|
+
```ts
|
|
192
|
+
import { FormatPriceOptions, PriceFormatConfig, createPrice } from "@simpleapps-com/augur-web/price";
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
## `@simpleapps-com/augur-web/price-format`
|
|
196
|
+
|
|
197
|
+
### Values
|
|
198
|
+
|
|
199
|
+
| Export | Kind | Description |
|
|
200
|
+
|--------|------|-------------|
|
|
201
|
+
| `createFormatPrice` | function | Create a pure price-formatting function. Server-safe (no React dependency). |
|
|
202
|
+
|
|
203
|
+
### Types
|
|
204
|
+
|
|
205
|
+
`FormatPriceOptions`, `PriceFormatConfig`
|
|
206
|
+
|
|
207
|
+
```ts
|
|
208
|
+
import { createFormatPrice } from "@simpleapps-com/augur-web/price-format";
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
## `@simpleapps-com/augur-web/radio-group`
|
|
212
|
+
|
|
213
|
+
### Values
|
|
214
|
+
|
|
215
|
+
| Export | Kind | Description |
|
|
216
|
+
|--------|------|-------------|
|
|
217
|
+
| `RadioGroup` | component | |
|
|
218
|
+
| `RadioGroupItem` | component | |
|
|
219
|
+
|
|
220
|
+
```ts
|
|
221
|
+
import { RadioGroup, RadioGroupItem } from "@simpleapps-com/augur-web/radio-group";
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## `@simpleapps-com/augur-web/select`
|
|
225
|
+
|
|
226
|
+
### Values
|
|
227
|
+
|
|
228
|
+
| Export | Kind | Description |
|
|
229
|
+
|--------|------|-------------|
|
|
230
|
+
| `Select` | component | |
|
|
231
|
+
| `SelectContent` | component | |
|
|
232
|
+
| `SelectGroup` | component | |
|
|
233
|
+
| `SelectItem` | component | |
|
|
234
|
+
| `SelectLabel` | component | |
|
|
235
|
+
| `SelectScrollDownButton` | component | |
|
|
236
|
+
| `SelectScrollUpButton` | component | |
|
|
237
|
+
| `SelectSeparator` | component | |
|
|
238
|
+
| `SelectTrigger` | component | |
|
|
239
|
+
| `SelectValue` | component | |
|
|
240
|
+
|
|
241
|
+
```ts
|
|
242
|
+
import { Select, SelectContent, SelectGroup } from "@simpleapps-com/augur-web/select";
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
## `@simpleapps-com/augur-web/spinner`
|
|
246
|
+
|
|
247
|
+
### Values
|
|
248
|
+
|
|
249
|
+
| Export | Kind | Description |
|
|
250
|
+
|--------|------|-------------|
|
|
251
|
+
| `Spinner` | const | Animated SVG loading spinner. Sizes: `sm` (12px), `md` (16px), `lg` (24px). |
|
|
252
|
+
|
|
253
|
+
```ts
|
|
254
|
+
import { Spinner } from "@simpleapps-com/augur-web/spinner";
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
## `@simpleapps-com/augur-web/table`
|
|
258
|
+
|
|
259
|
+
### Values
|
|
260
|
+
|
|
261
|
+
| Export | Kind | Description |
|
|
262
|
+
|--------|------|-------------|
|
|
263
|
+
| `Table` | component | |
|
|
264
|
+
| `TableBody` | component | |
|
|
265
|
+
| `TableCaption` | component | |
|
|
266
|
+
| `TableCell` | component | |
|
|
267
|
+
| `TableFooter` | component | |
|
|
268
|
+
| `TableHead` | component | |
|
|
269
|
+
| `TableHeader` | component | |
|
|
270
|
+
| `TableRow` | component | |
|
|
271
|
+
|
|
272
|
+
```ts
|
|
273
|
+
import { Table, TableBody, TableCaption } from "@simpleapps-com/augur-web/table";
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
## `@simpleapps-com/augur-web/tabs`
|
|
277
|
+
|
|
278
|
+
### Values
|
|
279
|
+
|
|
280
|
+
| Export | Kind | Description |
|
|
281
|
+
|--------|------|-------------|
|
|
282
|
+
| `Tabs` | component | |
|
|
283
|
+
| `TabsContent` | component | |
|
|
284
|
+
| `TabsList` | component | |
|
|
285
|
+
| `TabsTrigger` | component | |
|
|
286
|
+
|
|
287
|
+
```ts
|
|
288
|
+
import { Tabs, TabsContent, TabsList } from "@simpleapps-com/augur-web/tabs";
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
## `@simpleapps-com/augur-web/textarea`
|
|
292
|
+
|
|
293
|
+
### Values
|
|
294
|
+
|
|
295
|
+
| Export | Kind | Description |
|
|
296
|
+
|--------|------|-------------|
|
|
297
|
+
| `Textarea` | component | |
|
|
298
|
+
|
|
299
|
+
### Types
|
|
300
|
+
|
|
301
|
+
`TextareaProps`
|
|
302
|
+
|
|
303
|
+
```ts
|
|
304
|
+
import { Textarea } from "@simpleapps-com/augur-web/textarea";
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
## `@simpleapps-com/augur-web/command`
|
|
308
|
+
|
|
309
|
+
### Values
|
|
310
|
+
|
|
311
|
+
| Export | Kind | Description |
|
|
312
|
+
|--------|------|-------------|
|
|
313
|
+
| `Command` | component | |
|
|
314
|
+
| `CommandDialog` | const | |
|
|
315
|
+
| `CommandEmpty` | component | |
|
|
316
|
+
| `CommandGroup` | component | |
|
|
317
|
+
| `CommandInput` | component | |
|
|
318
|
+
| `CommandItem` | component | |
|
|
319
|
+
| `CommandList` | component | |
|
|
320
|
+
| `CommandSeparator` | component | |
|
|
321
|
+
| `CommandShortcut` | const | |
|
|
322
|
+
|
|
323
|
+
```ts
|
|
324
|
+
import { Command, CommandDialog, CommandEmpty } from "@simpleapps-com/augur-web/command";
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
## `@simpleapps-com/augur-web/dialog`
|
|
328
|
+
|
|
329
|
+
### Values
|
|
330
|
+
|
|
331
|
+
| Export | Kind | Description |
|
|
332
|
+
|--------|------|-------------|
|
|
333
|
+
| `Dialog` | component | |
|
|
334
|
+
| `DialogClose` | component | |
|
|
335
|
+
| `DialogContent` | component | |
|
|
336
|
+
| `DialogDescription` | component | |
|
|
337
|
+
| `DialogFooter` | const | |
|
|
338
|
+
| `DialogHeader` | const | |
|
|
339
|
+
| `DialogOverlay` | component | |
|
|
340
|
+
| `DialogPortal` | component | |
|
|
341
|
+
| `DialogTitle` | component | |
|
|
342
|
+
| `DialogTrigger` | component | |
|
|
343
|
+
|
|
344
|
+
```ts
|
|
345
|
+
import { Dialog, DialogClose, DialogContent } from "@simpleapps-com/augur-web/dialog";
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
## `@simpleapps-com/augur-web/dropdown-menu`
|
|
349
|
+
|
|
350
|
+
### Values
|
|
351
|
+
|
|
352
|
+
| Export | Kind | Description |
|
|
353
|
+
|--------|------|-------------|
|
|
354
|
+
| `DropdownMenu` | component | |
|
|
355
|
+
| `DropdownMenuCheckboxItem` | component | |
|
|
356
|
+
| `DropdownMenuContent` | component | |
|
|
357
|
+
| `DropdownMenuGroup` | component | |
|
|
358
|
+
| `DropdownMenuItem` | component | |
|
|
359
|
+
| `DropdownMenuLabel` | component | |
|
|
360
|
+
| `DropdownMenuPortal` | component | |
|
|
361
|
+
| `DropdownMenuRadioGroup` | component | |
|
|
362
|
+
| `DropdownMenuRadioItem` | component | |
|
|
363
|
+
| `DropdownMenuSeparator` | component | |
|
|
364
|
+
| `DropdownMenuShortcut` | const | |
|
|
365
|
+
| `DropdownMenuSub` | component | |
|
|
366
|
+
| `DropdownMenuSubContent` | component | |
|
|
367
|
+
| `DropdownMenuSubTrigger` | component | |
|
|
368
|
+
| `DropdownMenuTrigger` | component | |
|
|
369
|
+
|
|
370
|
+
```ts
|
|
371
|
+
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent } from "@simpleapps-com/augur-web/dropdown-menu";
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
## `@simpleapps-com/augur-web/navigation-menu`
|
|
375
|
+
|
|
376
|
+
### Values
|
|
377
|
+
|
|
378
|
+
| Export | Kind | Description |
|
|
379
|
+
|--------|------|-------------|
|
|
380
|
+
| `NavigationMenu` | component | |
|
|
381
|
+
| `NavigationMenuContent` | component | |
|
|
382
|
+
| `NavigationMenuIndicator` | component | |
|
|
383
|
+
| `NavigationMenuItem` | component | |
|
|
384
|
+
| `NavigationMenuLink` | component | |
|
|
385
|
+
| `NavigationMenuList` | component | |
|
|
386
|
+
| `NavigationMenuTrigger` | component | |
|
|
387
|
+
| `NavigationMenuViewport` | component | |
|
|
388
|
+
| `navigationMenuTriggerStyle` | const | |
|
|
389
|
+
|
|
390
|
+
```ts
|
|
391
|
+
import { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator } from "@simpleapps-com/augur-web/navigation-menu";
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## `@simpleapps-com/augur-web/popover`
|
|
395
|
+
|
|
396
|
+
### Values
|
|
397
|
+
|
|
398
|
+
| Export | Kind | Description |
|
|
399
|
+
|--------|------|-------------|
|
|
400
|
+
| `Popover` | component | |
|
|
401
|
+
| `PopoverAnchor` | component | |
|
|
402
|
+
| `PopoverContent` | component | |
|
|
403
|
+
| `PopoverTrigger` | component | |
|
|
404
|
+
|
|
405
|
+
```ts
|
|
406
|
+
import { Popover, PopoverAnchor, PopoverContent } from "@simpleapps-com/augur-web/popover";
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
## `@simpleapps-com/augur-web/separator`
|
|
410
|
+
|
|
411
|
+
### Values
|
|
412
|
+
|
|
413
|
+
| Export | Kind | Description |
|
|
414
|
+
|--------|------|-------------|
|
|
415
|
+
| `Separator` | component | |
|
|
416
|
+
|
|
417
|
+
```ts
|
|
418
|
+
import { Separator } from "@simpleapps-com/augur-web/separator";
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
## `@simpleapps-com/augur-web/skeleton`
|
|
422
|
+
|
|
423
|
+
### Values
|
|
424
|
+
|
|
425
|
+
| Export | Kind | Description |
|
|
426
|
+
|--------|------|-------------|
|
|
427
|
+
| `Skeleton` | function | |
|
|
428
|
+
|
|
429
|
+
```ts
|
|
430
|
+
import { Skeleton } from "@simpleapps-com/augur-web/skeleton";
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
## `@simpleapps-com/augur-web/form-field`
|
|
434
|
+
|
|
435
|
+
### Values
|
|
436
|
+
|
|
437
|
+
| Export | Kind | Description |
|
|
438
|
+
|--------|------|-------------|
|
|
439
|
+
| `FormField` | component | Base form layout: label + children + optional error message. |
|
|
440
|
+
|
|
441
|
+
### Types
|
|
442
|
+
|
|
443
|
+
`FormFieldProps`
|
|
444
|
+
|
|
445
|
+
```ts
|
|
446
|
+
import { FormField } from "@simpleapps-com/augur-web/form-field";
|
|
447
|
+
```
|
|
448
|
+
|
|
449
|
+
## `@simpleapps-com/augur-web/form-input`
|
|
450
|
+
|
|
451
|
+
### Values
|
|
452
|
+
|
|
453
|
+
| Export | Kind | Description |
|
|
454
|
+
|--------|------|-------------|
|
|
455
|
+
| `FormInput` | component | Labeled text input with error display. Composes FormField + Input. |
|
|
456
|
+
|
|
457
|
+
### Types
|
|
458
|
+
|
|
459
|
+
`FormInputProps`
|
|
460
|
+
|
|
461
|
+
```ts
|
|
462
|
+
import { FormInput } from "@simpleapps-com/augur-web/form-input";
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
## `@simpleapps-com/augur-web/form-select`
|
|
466
|
+
|
|
467
|
+
### Values
|
|
468
|
+
|
|
469
|
+
| Export | Kind | Description |
|
|
470
|
+
|--------|------|-------------|
|
|
471
|
+
| `FormSelect` | component | Labeled select dropdown with error display. Composes FormField + Select. |
|
|
472
|
+
|
|
473
|
+
### Types
|
|
474
|
+
|
|
475
|
+
`FormSelectProps`
|
|
476
|
+
|
|
477
|
+
```ts
|
|
478
|
+
import { FormSelect } from "@simpleapps-com/augur-web/form-select";
|
|
479
|
+
```
|
|
480
|
+
|
|
481
|
+
## `@simpleapps-com/augur-web/form-textarea`
|
|
482
|
+
|
|
483
|
+
### Values
|
|
484
|
+
|
|
485
|
+
| Export | Kind | Description |
|
|
486
|
+
|--------|------|-------------|
|
|
487
|
+
| `FormTextarea` | component | Labeled textarea with error display. Composes FormField + Textarea. |
|
|
488
|
+
|
|
489
|
+
### Types
|
|
490
|
+
|
|
491
|
+
`FormTextareaProps`
|
|
492
|
+
|
|
493
|
+
```ts
|
|
494
|
+
import { FormTextarea } from "@simpleapps-com/augur-web/form-textarea";
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
## `@simpleapps-com/augur-web/financing-widget`
|
|
498
|
+
|
|
499
|
+
### Values
|
|
500
|
+
|
|
501
|
+
| Export | Kind | Description |
|
|
502
|
+
|--------|------|-------------|
|
|
503
|
+
| `FinancingWidget` | function | Loads a financing widget script on the pages where it's needed. |
|
|
504
|
+
|
|
505
|
+
### Types
|
|
506
|
+
|
|
507
|
+
`FinancingProvider`, `FinancingWidgetProps`, `UseFinancingResult`
|
|
508
|
+
|
|
509
|
+
```ts
|
|
510
|
+
import { FinancingWidget } from "@simpleapps-com/augur-web/financing-widget";
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
## `@simpleapps-com/augur-web/gtm`
|
|
514
|
+
|
|
515
|
+
### Values
|
|
516
|
+
|
|
517
|
+
| Export | Kind | Description |
|
|
518
|
+
|--------|------|-------------|
|
|
519
|
+
| `AnalyticsNoscript` | function | |
|
|
520
|
+
| `AnalyticsProvider` | function | |
|
|
521
|
+
| `GtmNoscript` | const | |
|
|
522
|
+
| `GtmProvider` | const | |
|
|
523
|
+
| `useAnalytics` | function | |
|
|
524
|
+
| `useGtm` | const | |
|
|
525
|
+
|
|
526
|
+
### Types
|
|
527
|
+
|
|
528
|
+
`AnalyticsContextValue`, `AnalyticsNoscriptProps`, `AnalyticsProviderProps`, `AnalyticsStrategy`, `EcommerceEvent`, `EcommerceItem`, `EcommerceParams`, `GtmContextValue`, `GtmEcommerceEvent`, `GtmEcommerceParams`, `GtmItem`, `GtmNoscriptProps`, `GtmProviderProps`, `GtmStrategy`
|
|
529
|
+
|
|
530
|
+
```ts
|
|
531
|
+
import { AnalyticsNoscript, AnalyticsProvider, GtmNoscript } from "@simpleapps-com/augur-web/gtm";
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
## `@simpleapps-com/augur-web/mdx-components`
|
|
535
|
+
|
|
536
|
+
### Values
|
|
537
|
+
|
|
538
|
+
| Export | Kind | Description |
|
|
539
|
+
|--------|------|-------------|
|
|
540
|
+
| `getMDXComponents` | function | Returns a map of HTML element names to styled React components |
|
|
541
|
+
|
|
542
|
+
```ts
|
|
543
|
+
import { getMDXComponents } from "@simpleapps-com/augur-web/mdx-components";
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
## `@simpleapps-com/augur-web/quantity-input`
|
|
547
|
+
|
|
548
|
+
### Values
|
|
549
|
+
|
|
550
|
+
| Export | Kind | Description |
|
|
551
|
+
|--------|------|-------------|
|
|
552
|
+
| `QuantityInput` | component | Numeric input with optional +/- stepper buttons for cart quantities. |
|
|
553
|
+
|
|
554
|
+
### Types
|
|
555
|
+
|
|
556
|
+
`QuantityInputProps`
|
|
557
|
+
|
|
558
|
+
```ts
|
|
559
|
+
import { QuantityInput } from "@simpleapps-com/augur-web/quantity-input";
|
|
560
|
+
```
|
|
561
|
+
|
|
562
|
+
## `@simpleapps-com/augur-web/session-replay`
|
|
563
|
+
|
|
564
|
+
### Values
|
|
565
|
+
|
|
566
|
+
| Export | Kind | Description |
|
|
567
|
+
|--------|------|-------------|
|
|
568
|
+
| `SessionReplayScript` | function | Loads a session replay script with `lazyOnload` behavior. |
|
|
569
|
+
|
|
570
|
+
### Types
|
|
571
|
+
|
|
572
|
+
`SessionReplayProvider`, `SessionReplayScriptProps`
|
|
573
|
+
|
|
574
|
+
```ts
|
|
575
|
+
import { SessionReplayScript } from "@simpleapps-com/augur-web/session-replay";
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
## `@simpleapps-com/augur-web/stock-label`
|
|
579
|
+
|
|
580
|
+
### Values
|
|
581
|
+
|
|
582
|
+
| Export | Kind | Description |
|
|
583
|
+
|--------|------|-------------|
|
|
584
|
+
| `createStockLabel` | function | |
|
|
585
|
+
|
|
586
|
+
### Types
|
|
587
|
+
|
|
588
|
+
`CreateStockLabelResult`, `StockLabelClassNames`, `StockLabelConfig`, `StockLabelProps`
|
|
589
|
+
|
|
590
|
+
```ts
|
|
591
|
+
import { createStockLabel } from "@simpleapps-com/augur-web/stock-label";
|
|
592
|
+
```
|
|
593
|
+
|
|
594
|
+
## `@simpleapps-com/augur-web/provider`
|
|
595
|
+
|
|
596
|
+
### Values
|
|
597
|
+
|
|
598
|
+
| Export | Kind | Description |
|
|
599
|
+
|--------|------|-------------|
|
|
600
|
+
| `AugurSiteProvider` | function | Unified site provider that composes AugurHooksProvider with analytics |
|
|
601
|
+
|
|
602
|
+
### Types
|
|
603
|
+
|
|
604
|
+
`AugurSiteProviderProps`
|
|
605
|
+
|
|
606
|
+
```ts
|
|
607
|
+
import { AugurSiteProvider } from "@simpleapps-com/augur-web/provider";
|
|
608
|
+
```
|
package/llms.txt
ADDED
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
# @simpleapps-com/augur-web
|
|
2
|
+
|
|
3
|
+
> Shared React UI components for Augur ecommerce sites (Radix + Tailwind)
|
|
4
|
+
|
|
5
|
+
Version: 2.0.9
|
|
6
|
+
|
|
7
|
+
## @simpleapps-com/augur-web/accordion
|
|
8
|
+
|
|
9
|
+
- component: Accordion
|
|
10
|
+
- component: AccordionContent
|
|
11
|
+
- component: AccordionItem
|
|
12
|
+
- component: AccordionTrigger
|
|
13
|
+
|
|
14
|
+
## @simpleapps-com/augur-web/add-to-cart-button
|
|
15
|
+
|
|
16
|
+
- component: AddToCartButton
|
|
17
|
+
- type: AddToCartButtonProps
|
|
18
|
+
|
|
19
|
+
## @simpleapps-com/augur-web/breadcrumb
|
|
20
|
+
|
|
21
|
+
- component: Breadcrumb
|
|
22
|
+
- const: BreadcrumbEllipsis
|
|
23
|
+
- component: BreadcrumbItem
|
|
24
|
+
- component: BreadcrumbLink
|
|
25
|
+
- component: BreadcrumbList
|
|
26
|
+
- component: BreadcrumbPage
|
|
27
|
+
- const: BreadcrumbSeparator
|
|
28
|
+
|
|
29
|
+
## @simpleapps-com/augur-web/breadcrumbs
|
|
30
|
+
|
|
31
|
+
- component: BreadCrumbs - Breadcrumb navigation with optional JSON-LD structured data.
|
|
32
|
+
- type: BreadCrumbsProps
|
|
33
|
+
|
|
34
|
+
## @simpleapps-com/augur-web/button
|
|
35
|
+
|
|
36
|
+
- component: Button - Styled button with variant/size props. Supports polymorphism via `asChild`.
|
|
37
|
+
- const: buttonVariants - CVA variants for the Button. Variants: default, destructive, outline,
|
|
38
|
+
- type: ButtonProps
|
|
39
|
+
|
|
40
|
+
## @simpleapps-com/augur-web/card
|
|
41
|
+
|
|
42
|
+
- component: Card
|
|
43
|
+
- component: CardContent
|
|
44
|
+
- component: CardDescription
|
|
45
|
+
- component: CardFooter
|
|
46
|
+
- component: CardHeader
|
|
47
|
+
- component: CardTitle
|
|
48
|
+
|
|
49
|
+
## @simpleapps-com/augur-web/checkbox
|
|
50
|
+
|
|
51
|
+
- component: Checkbox
|
|
52
|
+
|
|
53
|
+
## @simpleapps-com/augur-web/input
|
|
54
|
+
|
|
55
|
+
- component: Input
|
|
56
|
+
- type: InputProps
|
|
57
|
+
|
|
58
|
+
## @simpleapps-com/augur-web/label
|
|
59
|
+
|
|
60
|
+
- component: Label
|
|
61
|
+
|
|
62
|
+
## @simpleapps-com/augur-web/list-view
|
|
63
|
+
|
|
64
|
+
- const: ListView - Generic list renderer that maps an array through a render function.
|
|
65
|
+
|
|
66
|
+
## @simpleapps-com/augur-web/pagination
|
|
67
|
+
|
|
68
|
+
- const: Pagination
|
|
69
|
+
- component: PaginationContent
|
|
70
|
+
- const: PaginationEllipsis
|
|
71
|
+
- component: PaginationItem
|
|
72
|
+
- const: PaginationLink
|
|
73
|
+
- const: PaginationNext
|
|
74
|
+
- const: PaginationPrevious
|
|
75
|
+
|
|
76
|
+
## @simpleapps-com/augur-web/price
|
|
77
|
+
|
|
78
|
+
- value: FormatPriceOptions
|
|
79
|
+
- value: PriceFormatConfig
|
|
80
|
+
- function: createPrice - Factory that creates a `Price` component and a `formatPrice` function
|
|
81
|
+
- type: CreatePriceResult
|
|
82
|
+
- type: PriceClassNames
|
|
83
|
+
- type: PriceConfig
|
|
84
|
+
- type: PriceProps
|
|
85
|
+
|
|
86
|
+
## @simpleapps-com/augur-web/price-format
|
|
87
|
+
|
|
88
|
+
- function: createFormatPrice - Create a pure price-formatting function. Server-safe (no React dependency).
|
|
89
|
+
- type: FormatPriceOptions
|
|
90
|
+
- type: PriceFormatConfig
|
|
91
|
+
|
|
92
|
+
## @simpleapps-com/augur-web/radio-group
|
|
93
|
+
|
|
94
|
+
- component: RadioGroup
|
|
95
|
+
- component: RadioGroupItem
|
|
96
|
+
|
|
97
|
+
## @simpleapps-com/augur-web/select
|
|
98
|
+
|
|
99
|
+
- component: Select
|
|
100
|
+
- component: SelectContent
|
|
101
|
+
- component: SelectGroup
|
|
102
|
+
- component: SelectItem
|
|
103
|
+
- component: SelectLabel
|
|
104
|
+
- component: SelectScrollDownButton
|
|
105
|
+
- component: SelectScrollUpButton
|
|
106
|
+
- component: SelectSeparator
|
|
107
|
+
- component: SelectTrigger
|
|
108
|
+
- component: SelectValue
|
|
109
|
+
|
|
110
|
+
## @simpleapps-com/augur-web/spinner
|
|
111
|
+
|
|
112
|
+
- const: Spinner - Animated SVG loading spinner. Sizes: `sm` (12px), `md` (16px), `lg` (24px).
|
|
113
|
+
|
|
114
|
+
## @simpleapps-com/augur-web/table
|
|
115
|
+
|
|
116
|
+
- component: Table
|
|
117
|
+
- component: TableBody
|
|
118
|
+
- component: TableCaption
|
|
119
|
+
- component: TableCell
|
|
120
|
+
- component: TableFooter
|
|
121
|
+
- component: TableHead
|
|
122
|
+
- component: TableHeader
|
|
123
|
+
- component: TableRow
|
|
124
|
+
|
|
125
|
+
## @simpleapps-com/augur-web/tabs
|
|
126
|
+
|
|
127
|
+
- component: Tabs
|
|
128
|
+
- component: TabsContent
|
|
129
|
+
- component: TabsList
|
|
130
|
+
- component: TabsTrigger
|
|
131
|
+
|
|
132
|
+
## @simpleapps-com/augur-web/textarea
|
|
133
|
+
|
|
134
|
+
- component: Textarea
|
|
135
|
+
- type: TextareaProps
|
|
136
|
+
|
|
137
|
+
## @simpleapps-com/augur-web/command
|
|
138
|
+
|
|
139
|
+
- component: Command
|
|
140
|
+
- const: CommandDialog
|
|
141
|
+
- component: CommandEmpty
|
|
142
|
+
- component: CommandGroup
|
|
143
|
+
- component: CommandInput
|
|
144
|
+
- component: CommandItem
|
|
145
|
+
- component: CommandList
|
|
146
|
+
- component: CommandSeparator
|
|
147
|
+
- const: CommandShortcut
|
|
148
|
+
|
|
149
|
+
## @simpleapps-com/augur-web/dialog
|
|
150
|
+
|
|
151
|
+
- component: Dialog
|
|
152
|
+
- component: DialogClose
|
|
153
|
+
- component: DialogContent
|
|
154
|
+
- component: DialogDescription
|
|
155
|
+
- const: DialogFooter
|
|
156
|
+
- const: DialogHeader
|
|
157
|
+
- component: DialogOverlay
|
|
158
|
+
- component: DialogPortal
|
|
159
|
+
- component: DialogTitle
|
|
160
|
+
- component: DialogTrigger
|
|
161
|
+
|
|
162
|
+
## @simpleapps-com/augur-web/dropdown-menu
|
|
163
|
+
|
|
164
|
+
- component: DropdownMenu
|
|
165
|
+
- component: DropdownMenuCheckboxItem
|
|
166
|
+
- component: DropdownMenuContent
|
|
167
|
+
- component: DropdownMenuGroup
|
|
168
|
+
- component: DropdownMenuItem
|
|
169
|
+
- component: DropdownMenuLabel
|
|
170
|
+
- component: DropdownMenuPortal
|
|
171
|
+
- component: DropdownMenuRadioGroup
|
|
172
|
+
- component: DropdownMenuRadioItem
|
|
173
|
+
- component: DropdownMenuSeparator
|
|
174
|
+
- const: DropdownMenuShortcut
|
|
175
|
+
- component: DropdownMenuSub
|
|
176
|
+
- component: DropdownMenuSubContent
|
|
177
|
+
- component: DropdownMenuSubTrigger
|
|
178
|
+
- component: DropdownMenuTrigger
|
|
179
|
+
|
|
180
|
+
## @simpleapps-com/augur-web/navigation-menu
|
|
181
|
+
|
|
182
|
+
- component: NavigationMenu
|
|
183
|
+
- component: NavigationMenuContent
|
|
184
|
+
- component: NavigationMenuIndicator
|
|
185
|
+
- component: NavigationMenuItem
|
|
186
|
+
- component: NavigationMenuLink
|
|
187
|
+
- component: NavigationMenuList
|
|
188
|
+
- component: NavigationMenuTrigger
|
|
189
|
+
- component: NavigationMenuViewport
|
|
190
|
+
- const: navigationMenuTriggerStyle
|
|
191
|
+
|
|
192
|
+
## @simpleapps-com/augur-web/popover
|
|
193
|
+
|
|
194
|
+
- component: Popover
|
|
195
|
+
- component: PopoverAnchor
|
|
196
|
+
- component: PopoverContent
|
|
197
|
+
- component: PopoverTrigger
|
|
198
|
+
|
|
199
|
+
## @simpleapps-com/augur-web/separator
|
|
200
|
+
|
|
201
|
+
- component: Separator
|
|
202
|
+
|
|
203
|
+
## @simpleapps-com/augur-web/skeleton
|
|
204
|
+
|
|
205
|
+
- function: Skeleton
|
|
206
|
+
|
|
207
|
+
## @simpleapps-com/augur-web/form-field
|
|
208
|
+
|
|
209
|
+
- component: FormField - Base form layout: label + children + optional error message.
|
|
210
|
+
- type: FormFieldProps
|
|
211
|
+
|
|
212
|
+
## @simpleapps-com/augur-web/form-input
|
|
213
|
+
|
|
214
|
+
- component: FormInput - Labeled text input with error display. Composes FormField + Input.
|
|
215
|
+
- type: FormInputProps
|
|
216
|
+
|
|
217
|
+
## @simpleapps-com/augur-web/form-select
|
|
218
|
+
|
|
219
|
+
- component: FormSelect - Labeled select dropdown with error display. Composes FormField + Select.
|
|
220
|
+
- type: FormSelectProps
|
|
221
|
+
|
|
222
|
+
## @simpleapps-com/augur-web/form-textarea
|
|
223
|
+
|
|
224
|
+
- component: FormTextarea - Labeled textarea with error display. Composes FormField + Textarea.
|
|
225
|
+
- type: FormTextareaProps
|
|
226
|
+
|
|
227
|
+
## @simpleapps-com/augur-web/financing-widget
|
|
228
|
+
|
|
229
|
+
- function: FinancingWidget - Loads a financing widget script on the pages where it's needed.
|
|
230
|
+
- type: FinancingProvider
|
|
231
|
+
- type: FinancingWidgetProps
|
|
232
|
+
- type: UseFinancingResult
|
|
233
|
+
|
|
234
|
+
## @simpleapps-com/augur-web/gtm
|
|
235
|
+
|
|
236
|
+
- function: AnalyticsNoscript
|
|
237
|
+
- function: AnalyticsProvider
|
|
238
|
+
- const: GtmNoscript
|
|
239
|
+
- const: GtmProvider
|
|
240
|
+
- function: useAnalytics
|
|
241
|
+
- const: useGtm
|
|
242
|
+
- type: AnalyticsContextValue
|
|
243
|
+
- type: AnalyticsNoscriptProps
|
|
244
|
+
- type: AnalyticsProviderProps
|
|
245
|
+
- type: AnalyticsStrategy
|
|
246
|
+
- type: EcommerceEvent
|
|
247
|
+
- type: EcommerceItem
|
|
248
|
+
- type: EcommerceParams
|
|
249
|
+
- type: GtmContextValue
|
|
250
|
+
- type: GtmEcommerceEvent
|
|
251
|
+
- type: GtmEcommerceParams
|
|
252
|
+
- type: GtmItem
|
|
253
|
+
- type: GtmNoscriptProps
|
|
254
|
+
- type: GtmProviderProps
|
|
255
|
+
- type: GtmStrategy
|
|
256
|
+
|
|
257
|
+
## @simpleapps-com/augur-web/mdx-components
|
|
258
|
+
|
|
259
|
+
- function: getMDXComponents - Returns a map of HTML element names to styled React components
|
|
260
|
+
|
|
261
|
+
## @simpleapps-com/augur-web/quantity-input
|
|
262
|
+
|
|
263
|
+
- component: QuantityInput - Numeric input with optional +/- stepper buttons for cart quantities.
|
|
264
|
+
- type: QuantityInputProps
|
|
265
|
+
|
|
266
|
+
## @simpleapps-com/augur-web/session-replay
|
|
267
|
+
|
|
268
|
+
- function: SessionReplayScript - Loads a session replay script with `lazyOnload` behavior.
|
|
269
|
+
- type: SessionReplayProvider
|
|
270
|
+
- type: SessionReplayScriptProps
|
|
271
|
+
|
|
272
|
+
## @simpleapps-com/augur-web/stock-label
|
|
273
|
+
|
|
274
|
+
- function: createStockLabel
|
|
275
|
+
- type: CreateStockLabelResult
|
|
276
|
+
- type: StockLabelClassNames
|
|
277
|
+
- type: StockLabelConfig
|
|
278
|
+
- type: StockLabelProps
|
|
279
|
+
|
|
280
|
+
## @simpleapps-com/augur-web/provider
|
|
281
|
+
|
|
282
|
+
- function: AugurSiteProvider - Unified site provider that composes AugurHooksProvider with analytics
|
|
283
|
+
- type: AugurSiteProviderProps
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simpleapps-com/augur-web",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "Shared React UI components for Augur ecommerce sites (Radix + Tailwind)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -198,10 +198,12 @@
|
|
|
198
198
|
},
|
|
199
199
|
"sideEffects": false,
|
|
200
200
|
"files": [
|
|
201
|
-
"dist"
|
|
201
|
+
"dist",
|
|
202
|
+
"EXPORTS.md",
|
|
203
|
+
"llms.txt"
|
|
202
204
|
],
|
|
203
205
|
"dependencies": {
|
|
204
|
-
"@simpleapps-com/augur-utils": "2.0.
|
|
206
|
+
"@simpleapps-com/augur-utils": "2.0.11"
|
|
205
207
|
},
|
|
206
208
|
"peerDependencies": {
|
|
207
209
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
@@ -222,8 +224,8 @@
|
|
|
222
224
|
"react-dom": "^19.0.0",
|
|
223
225
|
"react-icons": "^5.4.0",
|
|
224
226
|
"tailwindcss": "^3.4.0",
|
|
225
|
-
"@simpleapps-com/augur-core": "2.0.
|
|
226
|
-
"@simpleapps-com/augur-hooks": "2.0.
|
|
227
|
+
"@simpleapps-com/augur-core": "2.0.11",
|
|
228
|
+
"@simpleapps-com/augur-hooks": "2.0.11"
|
|
227
229
|
},
|
|
228
230
|
"devDependencies": {
|
|
229
231
|
"@tanstack/react-query": "^5.0.0",
|
|
@@ -253,8 +255,8 @@
|
|
|
253
255
|
"tsup": "^8.5.0",
|
|
254
256
|
"vitest": "^3.2.0",
|
|
255
257
|
"@augur-packages/tsconfig": "0.0.0",
|
|
256
|
-
"@simpleapps-com/augur-core": "2.0.
|
|
257
|
-
"@simpleapps-com/augur-hooks": "2.0.
|
|
258
|
+
"@simpleapps-com/augur-core": "2.0.11",
|
|
259
|
+
"@simpleapps-com/augur-hooks": "2.0.11"
|
|
258
260
|
},
|
|
259
261
|
"scripts": {
|
|
260
262
|
"build": "tsup",
|