@neynar/ui 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ui/button-group.d.ts +448 -0
- package/dist/components/ui/button-group.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/empty-state.d.ts +1 -0
- package/dist/components/ui/empty-state.d.ts.map +1 -1
- package/dist/components/ui/empty.d.ts +630 -0
- package/dist/components/ui/empty.d.ts.map +1 -0
- package/dist/components/ui/field.d.ts +238 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/input-group.d.ts +636 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/item.d.ts +766 -0
- package/dist/components/ui/item.d.ts.map +1 -0
- package/dist/components/ui/kbd.d.ts +149 -0
- package/dist/components/ui/kbd.d.ts.map +1 -0
- package/dist/components/ui/spinner.d.ts +194 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/stories/accordion.stories.d.ts +0 -1
- package/dist/components/ui/stories/accordion.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/alert-dialog.stories.d.ts +0 -1
- package/dist/components/ui/stories/alert-dialog.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/alert.stories.d.ts +0 -1
- package/dist/components/ui/stories/alert.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/aspect-ratio.stories.d.ts +0 -1
- package/dist/components/ui/stories/aspect-ratio.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/avatar.stories.d.ts +0 -1
- package/dist/components/ui/stories/avatar.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/badge.stories.d.ts +0 -1
- package/dist/components/ui/stories/badge.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/breadcrumb.stories.d.ts +0 -1
- package/dist/components/ui/stories/breadcrumb.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/button-group.stories.d.ts +48 -0
- package/dist/components/ui/stories/button-group.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/button.stories.d.ts +0 -1
- package/dist/components/ui/stories/button.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/calendar.stories.d.ts +0 -1
- package/dist/components/ui/stories/calendar.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/card.stories.d.ts +0 -1
- package/dist/components/ui/stories/card.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/carousel.stories.d.ts +0 -1
- package/dist/components/ui/stories/carousel.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/chart.stories.d.ts +0 -1
- package/dist/components/ui/stories/chart.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/checkbox.stories.d.ts +0 -1
- package/dist/components/ui/stories/checkbox.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/cn.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/collapsible.stories.d.ts +0 -1
- package/dist/components/ui/stories/collapsible.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/colors.stories.d.ts +0 -1
- package/dist/components/ui/stories/colors.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/combobox.stories.d.ts +0 -1
- package/dist/components/ui/stories/combobox.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/command.stories.d.ts +0 -1
- package/dist/components/ui/stories/command.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/container.stories.d.ts +0 -1
- package/dist/components/ui/stories/container.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/context-menu.stories.d.ts +0 -1
- package/dist/components/ui/stories/context-menu.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/date-picker.stories.d.ts +0 -1
- package/dist/components/ui/stories/date-picker.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/dialog.stories.d.ts +0 -1
- package/dist/components/ui/stories/dialog.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/drawer.stories.d.ts +0 -1
- package/dist/components/ui/stories/drawer.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/dropdown-menu.stories.d.ts +0 -1
- package/dist/components/ui/stories/dropdown-menu.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/empty-state.stories.d.ts +0 -1
- package/dist/components/ui/stories/empty-state.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/empty.stories.d.ts +38 -0
- package/dist/components/ui/stories/empty.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/field.stories.d.ts +48 -0
- package/dist/components/ui/stories/field.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/hover-card.stories.d.ts +0 -1
- package/dist/components/ui/stories/hover-card.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/input-group.stories.d.ts +37 -0
- package/dist/components/ui/stories/input-group.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/input.stories.d.ts +0 -1
- package/dist/components/ui/stories/input.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/item.stories.d.ts +61 -0
- package/dist/components/ui/stories/item.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/kbd.stories.d.ts +37 -0
- package/dist/components/ui/stories/kbd.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/label.stories.d.ts +0 -1
- package/dist/components/ui/stories/label.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/menubar.stories.d.ts +0 -1
- package/dist/components/ui/stories/menubar.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/navigation-menu.stories.d.ts +0 -1
- package/dist/components/ui/stories/navigation-menu.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/pagination.stories.d.ts +0 -1
- package/dist/components/ui/stories/pagination.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/popover.stories.d.ts +0 -1
- package/dist/components/ui/stories/popover.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/progress.stories.d.ts +0 -1
- package/dist/components/ui/stories/progress.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/radio-group.stories.d.ts +0 -1
- package/dist/components/ui/stories/radio-group.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/resizable.stories.d.ts +0 -1
- package/dist/components/ui/stories/resizable.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/scroll-area.stories.d.ts +0 -1
- package/dist/components/ui/stories/scroll-area.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/select.stories.d.ts +0 -1
- package/dist/components/ui/stories/select.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/separator.stories.d.ts +0 -1
- package/dist/components/ui/stories/separator.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/sheet.stories.d.ts +0 -1
- package/dist/components/ui/stories/sheet.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/sidebar.stories.d.ts +0 -1
- package/dist/components/ui/stories/sidebar.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/skeleton.stories.d.ts +0 -1
- package/dist/components/ui/stories/skeleton.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/slider.stories.d.ts +0 -1
- package/dist/components/ui/stories/slider.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/sonner.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/spinner.stories.d.ts +37 -0
- package/dist/components/ui/stories/spinner.stories.d.ts.map +1 -0
- package/dist/components/ui/stories/stack.stories.d.ts +0 -1
- package/dist/components/ui/stories/stack.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/switch.stories.d.ts +0 -1
- package/dist/components/ui/stories/switch.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/table.stories.d.ts +0 -1
- package/dist/components/ui/stories/table.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/tabs.stories.d.ts +0 -1
- package/dist/components/ui/stories/tabs.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/text-field.stories.d.ts +0 -1
- package/dist/components/ui/stories/text-field.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/textarea.stories.d.ts +0 -1
- package/dist/components/ui/stories/textarea.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/theme-toggle.stories.d.ts +0 -1
- package/dist/components/ui/stories/theme-toggle.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/theme.stories.d.ts +0 -1
- package/dist/components/ui/stories/theme.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/toggle-group.stories.d.ts +0 -1
- package/dist/components/ui/stories/toggle-group.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/toggle.stories.d.ts +0 -1
- package/dist/components/ui/stories/toggle.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/tooltip.stories.d.ts +0 -1
- package/dist/components/ui/stories/tooltip.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/typography.stories.d.ts +0 -1
- package/dist/components/ui/stories/typography.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/use-mobile.stories.d.ts.map +1 -1
- package/dist/components/ui/stories/use-theme.stories.d.ts.map +1 -1
- package/dist/components/ui/typography.d.ts +12 -11
- package/dist/components/ui/typography.d.ts.map +1 -1
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10391 -3107
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/llm/components/display.md +125 -0
- package/docs/llm/components/feedback.md +0 -14
- package/docs/llm/components/forms.md +94 -0
- package/docs/llm/components/layout.md +169 -0
- package/llms.txt +18 -12
- package/package.json +6 -5
- package/src/components/ui/button-group.tsx +525 -0
- package/src/components/ui/button.tsx +9 -12
- package/src/components/ui/empty-state.tsx +1 -0
- package/src/components/ui/empty.tsx +793 -0
- package/src/components/ui/field.tsx +494 -0
- package/src/components/ui/input-group.tsx +801 -0
- package/src/components/ui/item.tsx +955 -0
- package/src/components/ui/kbd.tsx +175 -0
- package/src/components/ui/skeleton.tsx +1 -1
- package/src/components/ui/spinner.tsx +211 -0
- package/src/components/ui/stories/accordion.stories.tsx +0 -1
- package/src/components/ui/stories/alert-dialog.stories.tsx +0 -1
- package/src/components/ui/stories/alert.stories.tsx +0 -1
- package/src/components/ui/stories/aspect-ratio.stories.tsx +0 -1
- package/src/components/ui/stories/avatar.stories.tsx +0 -1
- package/src/components/ui/stories/badge.stories.tsx +0 -1
- package/src/components/ui/stories/breadcrumb.stories.tsx +0 -1
- package/src/components/ui/stories/button-group.stories.tsx +300 -0
- package/src/components/ui/stories/button.stories.tsx +0 -1
- package/src/components/ui/stories/calendar.stories.tsx +0 -1
- package/src/components/ui/stories/card.stories.tsx +0 -1
- package/src/components/ui/stories/carousel.stories.tsx +0 -1
- package/src/components/ui/stories/chart.stories.tsx +0 -1
- package/src/components/ui/stories/checkbox.stories.tsx +0 -1
- package/src/components/ui/stories/cn.stories.tsx +0 -1
- package/src/components/ui/stories/collapsible.stories.tsx +0 -1
- package/src/components/ui/stories/colors.stories.tsx +0 -1
- package/src/components/ui/stories/combobox.stories.tsx +0 -1
- package/src/components/ui/stories/command.stories.tsx +0 -1
- package/src/components/ui/stories/container.stories.tsx +0 -1
- package/src/components/ui/stories/context-menu.stories.tsx +0 -1
- package/src/components/ui/stories/date-picker.stories.tsx +0 -1
- package/src/components/ui/stories/dialog.stories.tsx +0 -1
- package/src/components/ui/stories/drawer.stories.tsx +0 -1
- package/src/components/ui/stories/dropdown-menu.stories.tsx +0 -1
- package/src/components/ui/stories/empty-state.stories.tsx +0 -1
- package/src/components/ui/stories/empty.stories.tsx +293 -0
- package/src/components/ui/stories/field.stories.tsx +470 -0
- package/src/components/ui/stories/hover-card.stories.tsx +0 -1
- package/src/components/ui/stories/input-group.stories.tsx +444 -0
- package/src/components/ui/stories/input.stories.tsx +0 -1
- package/src/components/ui/stories/item.stories.tsx +601 -0
- package/src/components/ui/stories/kbd.stories.tsx +462 -0
- package/src/components/ui/stories/label.stories.tsx +0 -1
- package/src/components/ui/stories/menubar.stories.tsx +0 -1
- package/src/components/ui/stories/navigation-menu.stories.tsx +0 -1
- package/src/components/ui/stories/pagination.stories.tsx +0 -1
- package/src/components/ui/stories/popover.stories.tsx +0 -1
- package/src/components/ui/stories/progress.stories.tsx +0 -1
- package/src/components/ui/stories/radio-group.stories.tsx +0 -1
- package/src/components/ui/stories/resizable.stories.tsx +0 -1
- package/src/components/ui/stories/scroll-area.stories.tsx +0 -1
- package/src/components/ui/stories/select.stories.tsx +0 -1
- package/src/components/ui/stories/separator.stories.tsx +0 -1
- package/src/components/ui/stories/sheet.stories.tsx +0 -1
- package/src/components/ui/stories/sidebar.stories.tsx +0 -1
- package/src/components/ui/stories/skeleton.stories.tsx +0 -1
- package/src/components/ui/stories/slider.stories.tsx +0 -1
- package/src/components/ui/stories/sonner.stories.tsx +0 -1
- package/src/components/ui/stories/spinner.stories.tsx +356 -0
- package/src/components/ui/stories/stack.stories.tsx +0 -1
- package/src/components/ui/stories/switch.stories.tsx +0 -1
- package/src/components/ui/stories/table.stories.tsx +0 -1
- package/src/components/ui/stories/tabs.stories.tsx +0 -1
- package/src/components/ui/stories/text-field.stories.tsx +0 -1
- package/src/components/ui/stories/textarea.stories.tsx +0 -1
- package/src/components/ui/stories/theme-toggle.stories.tsx +0 -1
- package/src/components/ui/stories/theme.stories.tsx +0 -1
- package/src/components/ui/stories/toggle-group.stories.tsx +0 -1
- package/src/components/ui/stories/toggle.stories.tsx +0 -1
- package/src/components/ui/stories/tooltip.stories.tsx +0 -1
- package/src/components/ui/stories/typography.stories.tsx +5 -2
- package/src/components/ui/stories/use-mobile.stories.tsx +0 -1
- package/src/components/ui/stories/use-theme.stories.tsx +0 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/typography.tsx +29 -129
- package/src/index.ts +7 -0
- package/src/styles/globals.css +40 -24
- package/llm-docs/a.llm.md +0 -145
- package/llm-docs/accordion-content.llm.md +0 -67
- package/llm-docs/accordion-item.llm.md +0 -61
- package/llm-docs/accordion-trigger.llm.md +0 -69
- package/llm-docs/accordion.llm.md +0 -88
- package/llm-docs/alert-description.llm.md +0 -78
- package/llm-docs/alert-dialog-action.llm.md +0 -51
- package/llm-docs/alert-dialog-cancel.llm.md +0 -48
- package/llm-docs/alert-dialog-content.llm.md +0 -88
- package/llm-docs/alert-dialog-description.llm.md +0 -53
- package/llm-docs/alert-dialog-footer.llm.md +0 -41
- package/llm-docs/alert-dialog-header.llm.md +0 -39
- package/llm-docs/alert-dialog-overlay.llm.md +0 -44
- package/llm-docs/alert-dialog-portal.llm.md +0 -41
- package/llm-docs/alert-dialog-title.llm.md +0 -46
- package/llm-docs/alert-dialog-trigger.llm.md +0 -40
- package/llm-docs/alert-dialog.llm.md +0 -80
- package/llm-docs/alert-title.llm.md +0 -48
- package/llm-docs/alert.llm.md +0 -92
- package/llm-docs/aspect-ratio.llm.md +0 -41
- package/llm-docs/avatar-fallback.llm.md +0 -41
- package/llm-docs/avatar-image.llm.md +0 -48
- package/llm-docs/avatar.llm.md +0 -35
- package/llm-docs/badge.llm.md +0 -122
- package/llm-docs/blockquote.llm.md +0 -122
- package/llm-docs/breadcrumb-ellipsis.llm.md +0 -73
- package/llm-docs/breadcrumb-item.llm.md +0 -53
- package/llm-docs/breadcrumb-link.llm.md +0 -84
- package/llm-docs/breadcrumb-list.llm.md +0 -54
- package/llm-docs/breadcrumb-page.llm.md +0 -52
- package/llm-docs/breadcrumb-separator.llm.md +0 -60
- package/llm-docs/breadcrumb.llm.md +0 -110
- package/llm-docs/button.llm.md +0 -281
- package/llm-docs/calendar-day-button.llm.md +0 -57
- package/llm-docs/calendar.llm.md +0 -340
- package/llm-docs/card-action.llm.md +0 -64
- package/llm-docs/card-content.llm.md +0 -48
- package/llm-docs/card-description.llm.md +0 -46
- package/llm-docs/card-footer.llm.md +0 -56
- package/llm-docs/card-header.llm.md +0 -53
- package/llm-docs/card-title.llm.md +0 -43
- package/llm-docs/card.llm.md +0 -100
- package/llm-docs/carousel-content.llm.md +0 -77
- package/llm-docs/carousel-item.llm.md +0 -96
- package/llm-docs/carousel-next.llm.md +0 -95
- package/llm-docs/carousel-previous.llm.md +0 -95
- package/llm-docs/carousel.llm.md +0 -211
- package/llm-docs/chart-config.llm.md +0 -71
- package/llm-docs/chart-container.llm.md +0 -148
- package/llm-docs/chart-legend-content.llm.md +0 -85
- package/llm-docs/chart-legend.llm.md +0 -144
- package/llm-docs/chart-style.llm.md +0 -28
- package/llm-docs/chart-tooltip-content.llm.md +0 -149
- package/llm-docs/chart-tooltip.llm.md +0 -184
- package/llm-docs/checkbox.llm.md +0 -100
- package/llm-docs/cn.llm.md +0 -46
- package/llm-docs/code.llm.md +0 -108
- package/llm-docs/collapsible-content.llm.md +0 -109
- package/llm-docs/collapsible-trigger.llm.md +0 -75
- package/llm-docs/collapsible.llm.md +0 -109
- package/llm-docs/combobox-option.llm.md +0 -53
- package/llm-docs/combobox.llm.md +0 -208
- package/llm-docs/command-dialog.llm.md +0 -112
- package/llm-docs/command-empty.llm.md +0 -63
- package/llm-docs/command-group.llm.md +0 -83
- package/llm-docs/command-input.llm.md +0 -82
- package/llm-docs/command-item.llm.md +0 -97
- package/llm-docs/command-list.llm.md +0 -53
- package/llm-docs/command-loading.llm.md +0 -48
- package/llm-docs/command-separator.llm.md +0 -44
- package/llm-docs/command-shortcut.llm.md +0 -63
- package/llm-docs/command.llm.md +0 -147
- package/llm-docs/container.llm.md +0 -236
- package/llm-docs/context-menu-checkbox-item.llm.md +0 -97
- package/llm-docs/context-menu-content.llm.md +0 -91
- package/llm-docs/context-menu-group.llm.md +0 -61
- package/llm-docs/context-menu-item.llm.md +0 -94
- package/llm-docs/context-menu-label.llm.md +0 -60
- package/llm-docs/context-menu-portal.llm.md +0 -49
- package/llm-docs/context-menu-radio-group.llm.md +0 -66
- package/llm-docs/context-menu-radio-item.llm.md +0 -76
- package/llm-docs/context-menu-separator.llm.md +0 -51
- package/llm-docs/context-menu-shortcut.llm.md +0 -57
- package/llm-docs/context-menu-sub-content.llm.md +0 -90
- package/llm-docs/context-menu-sub-trigger.llm.md +0 -73
- package/llm-docs/context-menu-sub.llm.md +0 -61
- package/llm-docs/context-menu-trigger.llm.md +0 -53
- package/llm-docs/context-menu.llm.md +0 -103
- package/llm-docs/date-picker.llm.md +0 -90
- package/llm-docs/dialog-close.llm.md +0 -61
- package/llm-docs/dialog-content.llm.md +0 -128
- package/llm-docs/dialog-description.llm.md +0 -44
- package/llm-docs/dialog-footer.llm.md +0 -38
- package/llm-docs/dialog-header.llm.md +0 -40
- package/llm-docs/dialog-overlay.llm.md +0 -57
- package/llm-docs/dialog-portal.llm.md +0 -47
- package/llm-docs/dialog-title.llm.md +0 -41
- package/llm-docs/dialog-trigger.llm.md +0 -51
- package/llm-docs/dialog.llm.md +0 -113
- package/llm-docs/drawer-close.llm.md +0 -53
- package/llm-docs/drawer-content.llm.md +0 -58
- package/llm-docs/drawer-description.llm.md +0 -54
- package/llm-docs/drawer-footer.llm.md +0 -67
- package/llm-docs/drawer-header.llm.md +0 -60
- package/llm-docs/drawer-overlay.llm.md +0 -40
- package/llm-docs/drawer-portal.llm.md +0 -42
- package/llm-docs/drawer-title.llm.md +0 -51
- package/llm-docs/drawer-trigger.llm.md +0 -44
- package/llm-docs/drawer.llm.md +0 -194
- package/llm-docs/dropdown-menu-checkbox-item.llm.md +0 -111
- package/llm-docs/dropdown-menu-content.llm.md +0 -109
- package/llm-docs/dropdown-menu-group.llm.md +0 -38
- package/llm-docs/dropdown-menu-item.llm.md +0 -94
- package/llm-docs/dropdown-menu-label.llm.md +0 -66
- package/llm-docs/dropdown-menu-portal.llm.md +0 -32
- package/llm-docs/dropdown-menu-radio-group.llm.md +0 -73
- package/llm-docs/dropdown-menu-radio-item.llm.md +0 -92
- package/llm-docs/dropdown-menu-separator.llm.md +0 -55
- package/llm-docs/dropdown-menu-shortcut.llm.md +0 -74
- package/llm-docs/dropdown-menu-sub-content.llm.md +0 -80
- package/llm-docs/dropdown-menu-sub-trigger.llm.md +0 -84
- package/llm-docs/dropdown-menu-sub.llm.md +0 -74
- package/llm-docs/dropdown-menu-trigger.llm.md +0 -48
- package/llm-docs/dropdown-menu.llm.md +0 -120
- package/llm-docs/empty-state.llm.md +0 -174
- package/llm-docs/h1.llm.md +0 -113
- package/llm-docs/h2.llm.md +0 -113
- package/llm-docs/h3.llm.md +0 -111
- package/llm-docs/h4.llm.md +0 -109
- package/llm-docs/h5.llm.md +0 -110
- package/llm-docs/h6.llm.md +0 -110
- package/llm-docs/hover-card-content.llm.md +0 -167
- package/llm-docs/hover-card-trigger.llm.md +0 -65
- package/llm-docs/hover-card.llm.md +0 -121
- package/llm-docs/input.llm.md +0 -319
- package/llm-docs/label.llm.md +0 -145
- package/llm-docs/lead.llm.md +0 -119
- package/llm-docs/menubar-checkbox-item.llm.md +0 -66
- package/llm-docs/menubar-content.llm.md +0 -128
- package/llm-docs/menubar-group.llm.md +0 -40
- package/llm-docs/menubar-item.llm.md +0 -62
- package/llm-docs/menubar-label.llm.md +0 -40
- package/llm-docs/menubar-menu.llm.md +0 -32
- package/llm-docs/menubar-portal.llm.md +0 -38
- package/llm-docs/menubar-radio-group.llm.md +0 -39
- package/llm-docs/menubar-radio-item.llm.md +0 -59
- package/llm-docs/menubar-separator.llm.md +0 -35
- package/llm-docs/menubar-shortcut.llm.md +0 -37
- package/llm-docs/menubar-sub-content.llm.md +0 -127
- package/llm-docs/menubar-sub-trigger.llm.md +0 -51
- package/llm-docs/menubar-sub.llm.md +0 -53
- package/llm-docs/menubar-trigger.llm.md +0 -37
- package/llm-docs/menubar.llm.md +0 -115
- package/llm-docs/navigation-menu-content.llm.md +0 -116
- package/llm-docs/navigation-menu-indicator.llm.md +0 -68
- package/llm-docs/navigation-menu-item.llm.md +0 -62
- package/llm-docs/navigation-menu-link.llm.md +0 -109
- package/llm-docs/navigation-menu-list.llm.md +0 -52
- package/llm-docs/navigation-menu-trigger-style.llm.md +0 -22
- package/llm-docs/navigation-menu-trigger.llm.md +0 -57
- package/llm-docs/navigation-menu-viewport.llm.md +0 -51
- package/llm-docs/navigation-menu.llm.md +0 -184
- package/llm-docs/p.llm.md +0 -115
- package/llm-docs/pagination-content.llm.md +0 -60
- package/llm-docs/pagination-ellipsis.llm.md +0 -107
- package/llm-docs/pagination-item.llm.md +0 -59
- package/llm-docs/pagination-link.llm.md +0 -150
- package/llm-docs/pagination-next.llm.md +0 -115
- package/llm-docs/pagination-previous.llm.md +0 -115
- package/llm-docs/pagination.llm.md +0 -190
- package/llm-docs/popover-anchor.llm.md +0 -53
- package/llm-docs/popover-content.llm.md +0 -109
- package/llm-docs/popover-trigger.llm.md +0 -54
- package/llm-docs/popover.llm.md +0 -116
- package/llm-docs/progress.llm.md +0 -76
- package/llm-docs/radio-group-indicator.llm.md +0 -28
- package/llm-docs/radio-group-item.llm.md +0 -40
- package/llm-docs/radio-group.llm.md +0 -76
- package/llm-docs/resizable-handle.llm.md +0 -156
- package/llm-docs/resizable-panel-group.llm.md +0 -149
- package/llm-docs/resizable-panel.llm.md +0 -157
- package/llm-docs/scroll-area-corner.llm.md +0 -41
- package/llm-docs/scroll-area-thumb.llm.md +0 -39
- package/llm-docs/scroll-area-viewport.llm.md +0 -60
- package/llm-docs/scroll-area.llm.md +0 -125
- package/llm-docs/scroll-bar.llm.md +0 -78
- package/llm-docs/sdk-items-registry.json +0 -2638
- package/llm-docs/select-content.llm.md +0 -139
- package/llm-docs/select-group.llm.md +0 -60
- package/llm-docs/select-item.llm.md +0 -75
- package/llm-docs/select-label.llm.md +0 -62
- package/llm-docs/select-scroll-down-button.llm.md +0 -45
- package/llm-docs/select-scroll-up-button.llm.md +0 -45
- package/llm-docs/select-separator.llm.md +0 -59
- package/llm-docs/select-trigger.llm.md +0 -66
- package/llm-docs/select-value.llm.md +0 -67
- package/llm-docs/select.llm.md +0 -159
- package/llm-docs/separator.llm.md +0 -129
- package/llm-docs/sheet-close.llm.md +0 -49
- package/llm-docs/sheet-content.llm.md +0 -115
- package/llm-docs/sheet-description.llm.md +0 -62
- package/llm-docs/sheet-footer.llm.md +0 -64
- package/llm-docs/sheet-header.llm.md +0 -52
- package/llm-docs/sheet-title.llm.md +0 -53
- package/llm-docs/sheet-trigger.llm.md +0 -46
- package/llm-docs/sheet.llm.md +0 -126
- package/llm-docs/sidebar-content.llm.md +0 -63
- package/llm-docs/sidebar-footer.llm.md +0 -50
- package/llm-docs/sidebar-group-action.llm.md +0 -60
- package/llm-docs/sidebar-group-content.llm.md +0 -64
- package/llm-docs/sidebar-group-label.llm.md +0 -53
- package/llm-docs/sidebar-group.llm.md +0 -56
- package/llm-docs/sidebar-header.llm.md +0 -67
- package/llm-docs/sidebar-input.llm.md +0 -50
- package/llm-docs/sidebar-inset.llm.md +0 -52
- package/llm-docs/sidebar-menu-action.llm.md +0 -84
- package/llm-docs/sidebar-menu-badge.llm.md +0 -60
- package/llm-docs/sidebar-menu-button.llm.md +0 -103
- package/llm-docs/sidebar-menu-item.llm.md +0 -75
- package/llm-docs/sidebar-menu-skeleton.llm.md +0 -76
- package/llm-docs/sidebar-menu-sub-button.llm.md +0 -85
- package/llm-docs/sidebar-menu-sub-item.llm.md +0 -54
- package/llm-docs/sidebar-menu-sub.llm.md +0 -74
- package/llm-docs/sidebar-menu.llm.md +0 -65
- package/llm-docs/sidebar-provider.llm.md +0 -79
- package/llm-docs/sidebar-rail.llm.md +0 -34
- package/llm-docs/sidebar-separator.llm.md +0 -57
- package/llm-docs/sidebar-trigger.llm.md +0 -49
- package/llm-docs/sidebar.llm.md +0 -129
- package/llm-docs/skeleton.llm.md +0 -134
- package/llm-docs/slider.llm.md +0 -173
- package/llm-docs/small.llm.md +0 -115
- package/llm-docs/span.llm.md +0 -132
- package/llm-docs/stack.llm.md +0 -28
- package/llm-docs/strong.llm.md +0 -115
- package/llm-docs/switch.llm.md +0 -76
- package/llm-docs/table-body.llm.md +0 -36
- package/llm-docs/table-caption.llm.md +0 -48
- package/llm-docs/table-cell.llm.md +0 -53
- package/llm-docs/table-footer.llm.md +0 -41
- package/llm-docs/table-head.llm.md +0 -69
- package/llm-docs/table-header.llm.md +0 -41
- package/llm-docs/table-row.llm.md +0 -42
- package/llm-docs/table.llm.md +0 -123
- package/llm-docs/tabs-content.llm.md +0 -47
- package/llm-docs/tabs-list.llm.md +0 -41
- package/llm-docs/tabs-trigger.llm.md +0 -47
- package/llm-docs/tabs.llm.md +0 -71
- package/llm-docs/text-field.llm.md +0 -327
- package/llm-docs/textarea.llm.md +0 -311
- package/llm-docs/theme-preference.llm.md +0 -25
- package/llm-docs/theme-toggle.llm.md +0 -57
- package/llm-docs/theme.llm.md +0 -14
- package/llm-docs/toast.llm.md +0 -32
- package/llm-docs/toaster.llm.md +0 -193
- package/llm-docs/toggle-group-item.llm.md +0 -59
- package/llm-docs/toggle-group.llm.md +0 -101
- package/llm-docs/toggle.llm.md +0 -40
- package/llm-docs/tooltip-content.llm.md +0 -185
- package/llm-docs/tooltip-provider.llm.md +0 -68
- package/llm-docs/tooltip-trigger.llm.md +0 -70
- package/llm-docs/tooltip.llm.md +0 -129
- package/llm-docs/typography.llm.md +0 -175
- package/llm-docs/use-carousel.llm.md +0 -55
- package/llm-docs/use-command-state.llm.md +0 -32
- package/llm-docs/use-is-mobile.llm.md +0 -73
- package/llm-docs/use-sidebar.llm.md +0 -61
|
@@ -11,18 +11,19 @@ import { cn } from "@/lib/utils";
|
|
|
11
11
|
* Uses Tailwind CSS 4 with custom CSS properties for theming.
|
|
12
12
|
* Provides consistent text styling across the entire application.
|
|
13
13
|
*
|
|
14
|
-
* @variant microcopy - Very small text for fine print, timestamps, and metadata (text-
|
|
15
|
-
* @variant detail - Smaller text for details, captions, and descriptions (text-
|
|
16
|
-
* @variant body - Standard body text for readable content (text-
|
|
14
|
+
* @variant microcopy - Very small text for fine print, timestamps, and metadata (text-xs)
|
|
15
|
+
* @variant detail - Smaller text for details, captions, and descriptions (text-sm)
|
|
16
|
+
* @variant body - Standard body text for readable content (text-base, leading-snug)
|
|
17
17
|
* @variant blogBody - Body text for blog posts and long form content (text-lg, leading-loose)
|
|
18
18
|
* @variant paragraphLead - Paragraph lead text for blog posts and long form content (text-lg)
|
|
19
19
|
* @variant eyebrow - Eyebrow text for blog posts and long form content (text-xl)
|
|
20
|
-
* @variant subHeadline - Secondary headings for subsections (text-
|
|
21
|
-
* @variant headline - Primary headings for page/section titles (text-
|
|
22
|
-
* @variant sectionTitle - Section titles (text-
|
|
23
|
-
* @variant pageTitle - Page titles (text-
|
|
24
|
-
* @variant displayTitle - Display titles (text-
|
|
25
|
-
* @variant heroTitle - Hero titles (text-
|
|
20
|
+
* @variant subHeadline - Secondary headings for subsections (text-2xl)
|
|
21
|
+
* @variant headline - Primary headings for page/section titles (text-3xl)
|
|
22
|
+
* @variant sectionTitle - Section titles (text-4xl, leading-relaxed)
|
|
23
|
+
* @variant pageTitle - Page titles (text-5xl, leading-relaxed)
|
|
24
|
+
* @variant displayTitle - Display titles (text-6xl, leading-snug)
|
|
25
|
+
* @variant heroTitle - Hero titles (text-7xl, leading-snug)
|
|
26
|
+
* @variant code - Monospace font for inline code, terminal commands, and technical references (text-base, font-mono)
|
|
26
27
|
*
|
|
27
28
|
* @see {@link https://cva.style/docs} CVA documentation for variant patterns
|
|
28
29
|
* @see {@link https://ui.shadcn.com/docs/components/typography} Typography component inspiration
|
|
@@ -50,6 +51,7 @@ const typographyVariants = cva("", {
|
|
|
50
51
|
*
|
|
51
52
|
* @variant default - Default text color that adapts to light/dark theme (text-foreground)
|
|
52
53
|
* @variant muted - Subdued text color for secondary information and descriptions (text-muted-foreground)
|
|
54
|
+
* @variant faint - Very subtle text color for minimal visual prominence (text-neynar-faint-foreground)
|
|
53
55
|
* @variant accent - Accent color for emphasis, highlights, and interactive elements (text-accent-foreground)
|
|
54
56
|
* @variant destructive - Red color for error messages, warnings, and destructive actions (text-destructive)
|
|
55
57
|
* @variant success - Green color for success messages, confirmations, and positive states (text-success)
|
|
@@ -58,6 +60,7 @@ const typographyVariants = cva("", {
|
|
|
58
60
|
color: {
|
|
59
61
|
default: "text-foreground",
|
|
60
62
|
muted: "text-muted-foreground",
|
|
63
|
+
faint: "text-neynar-faint-foreground",
|
|
61
64
|
accent: "text-accent-foreground",
|
|
62
65
|
destructive: "text-destructive",
|
|
63
66
|
success: "text-success",
|
|
@@ -129,6 +132,7 @@ type TypographyVariant =
|
|
|
129
132
|
type TypographyColor =
|
|
130
133
|
| "default"
|
|
131
134
|
| "muted"
|
|
135
|
+
| "faint"
|
|
132
136
|
| "accent"
|
|
133
137
|
| "destructive"
|
|
134
138
|
| "success"
|
|
@@ -347,13 +351,7 @@ function Typography({
|
|
|
347
351
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
348
352
|
type H1DocsProps = {
|
|
349
353
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
350
|
-
color?:
|
|
351
|
-
| "default"
|
|
352
|
-
| "muted"
|
|
353
|
-
| "accent"
|
|
354
|
-
| "destructive"
|
|
355
|
-
| "success"
|
|
356
|
-
| "warning";
|
|
354
|
+
color?: TypographyColor;
|
|
357
355
|
/** Text alignment within the container @default "left" */
|
|
358
356
|
align?: "left" | "center" | "right" | "justify";
|
|
359
357
|
/** Text transformation for stylistic effects */
|
|
@@ -419,13 +417,7 @@ function H1({ variant = "displayTitle", weight = "bold", ...props }: H1Props) {
|
|
|
419
417
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
420
418
|
type H2DocsProps = {
|
|
421
419
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
422
|
-
color?:
|
|
423
|
-
| "default"
|
|
424
|
-
| "muted"
|
|
425
|
-
| "accent"
|
|
426
|
-
| "destructive"
|
|
427
|
-
| "success"
|
|
428
|
-
| "warning";
|
|
420
|
+
color?: TypographyColor;
|
|
429
421
|
/** Text alignment within the container @default "left" */
|
|
430
422
|
align?: "left" | "center" | "right" | "justify";
|
|
431
423
|
/** Text transformation for stylistic effects */
|
|
@@ -491,13 +483,7 @@ function H2({ variant = "sectionTitle", weight = "bold", ...props }: H2Props) {
|
|
|
491
483
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
492
484
|
type H3DocsProps = {
|
|
493
485
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
494
|
-
color?:
|
|
495
|
-
| "default"
|
|
496
|
-
| "muted"
|
|
497
|
-
| "accent"
|
|
498
|
-
| "destructive"
|
|
499
|
-
| "success"
|
|
500
|
-
| "warning";
|
|
486
|
+
color?: TypographyColor;
|
|
501
487
|
/** Text alignment within the container @default "left" */
|
|
502
488
|
align?: "left" | "center" | "right" | "justify";
|
|
503
489
|
/** Text transformation for stylistic effects */
|
|
@@ -557,13 +543,7 @@ function H3({ variant = "headline", weight = "bold", ...props }: H3Props) {
|
|
|
557
543
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
558
544
|
type H4DocsProps = {
|
|
559
545
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
560
|
-
color?:
|
|
561
|
-
| "default"
|
|
562
|
-
| "muted"
|
|
563
|
-
| "accent"
|
|
564
|
-
| "destructive"
|
|
565
|
-
| "success"
|
|
566
|
-
| "warning";
|
|
546
|
+
color?: TypographyColor;
|
|
567
547
|
/** Text alignment within the container @default "left" */
|
|
568
548
|
align?: "left" | "center" | "right" | "justify";
|
|
569
549
|
/** Text transformation for stylistic effects */
|
|
@@ -620,13 +600,7 @@ function H4({ variant = "subHeadline", weight = "bold", ...props }: H4Props) {
|
|
|
620
600
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
621
601
|
type H5DocsProps = {
|
|
622
602
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
623
|
-
color?:
|
|
624
|
-
| "default"
|
|
625
|
-
| "muted"
|
|
626
|
-
| "accent"
|
|
627
|
-
| "destructive"
|
|
628
|
-
| "success"
|
|
629
|
-
| "warning";
|
|
603
|
+
color?: TypographyColor;
|
|
630
604
|
/** Text alignment within the container @default "left" */
|
|
631
605
|
align?: "left" | "center" | "right" | "justify";
|
|
632
606
|
/** Text transformation for stylistic effects */
|
|
@@ -678,13 +652,7 @@ function H5({ variant = "eyebrow", weight = "bold", ...props }: H5Props) {
|
|
|
678
652
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
679
653
|
type H6DocsProps = {
|
|
680
654
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
681
|
-
color?:
|
|
682
|
-
| "default"
|
|
683
|
-
| "muted"
|
|
684
|
-
| "accent"
|
|
685
|
-
| "destructive"
|
|
686
|
-
| "success"
|
|
687
|
-
| "warning";
|
|
655
|
+
color?: TypographyColor;
|
|
688
656
|
/** Text alignment within the container @default "left" */
|
|
689
657
|
align?: "left" | "center" | "right" | "justify";
|
|
690
658
|
/** Text transformation for stylistic effects */
|
|
@@ -736,13 +704,7 @@ function H6({ variant = "body", weight = "bold", ...props }: H6Props) {
|
|
|
736
704
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
737
705
|
type PDocsProps = {
|
|
738
706
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
739
|
-
color?:
|
|
740
|
-
| "default"
|
|
741
|
-
| "muted"
|
|
742
|
-
| "accent"
|
|
743
|
-
| "destructive"
|
|
744
|
-
| "success"
|
|
745
|
-
| "warning";
|
|
707
|
+
color?: TypographyColor;
|
|
746
708
|
/** Text alignment within the container @default "left" */
|
|
747
709
|
align?: "left" | "center" | "right" | "justify";
|
|
748
710
|
/** Text transformation for stylistic effects */
|
|
@@ -809,25 +771,9 @@ function P(props: PProps) {
|
|
|
809
771
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
810
772
|
type SpanDocsProps = {
|
|
811
773
|
/** Typography variant that determines text size, weight, and line height @default "body" */
|
|
812
|
-
variant?:
|
|
813
|
-
| "heading"
|
|
814
|
-
| "subheading"
|
|
815
|
-
| "body"
|
|
816
|
-
| "bodyEmphasized"
|
|
817
|
-
| "details"
|
|
818
|
-
| "field"
|
|
819
|
-
| "code"
|
|
820
|
-
| "microcopy"
|
|
821
|
-
| "tableCell"
|
|
822
|
-
| "tableHeader";
|
|
774
|
+
variant?: TypographyVariant;
|
|
823
775
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
824
|
-
color?:
|
|
825
|
-
| "default"
|
|
826
|
-
| "muted"
|
|
827
|
-
| "accent"
|
|
828
|
-
| "destructive"
|
|
829
|
-
| "success"
|
|
830
|
-
| "warning";
|
|
776
|
+
color?: TypographyColor;
|
|
831
777
|
/** Text alignment within the container @default "left" */
|
|
832
778
|
align?: "left" | "center" | "right" | "justify";
|
|
833
779
|
/** Text transformation for stylistic effects */
|
|
@@ -893,13 +839,7 @@ function Span(props: SpanProps) {
|
|
|
893
839
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
894
840
|
type CodeDocsProps = {
|
|
895
841
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
896
|
-
color?:
|
|
897
|
-
| "default"
|
|
898
|
-
| "muted"
|
|
899
|
-
| "accent"
|
|
900
|
-
| "destructive"
|
|
901
|
-
| "success"
|
|
902
|
-
| "warning";
|
|
842
|
+
color?: TypographyColor;
|
|
903
843
|
/** Text alignment within the container @default "left" */
|
|
904
844
|
align?: "left" | "center" | "right" | "justify";
|
|
905
845
|
/** Text transformation for stylistic effects */
|
|
@@ -967,13 +907,7 @@ function Code(props: CodeProps) {
|
|
|
967
907
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
968
908
|
type SmallDocsProps = {
|
|
969
909
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
970
|
-
color?:
|
|
971
|
-
| "default"
|
|
972
|
-
| "muted"
|
|
973
|
-
| "accent"
|
|
974
|
-
| "destructive"
|
|
975
|
-
| "success"
|
|
976
|
-
| "warning";
|
|
910
|
+
color?: TypographyColor;
|
|
977
911
|
/** Text alignment within the container @default "left" */
|
|
978
912
|
align?: "left" | "center" | "right" | "justify";
|
|
979
913
|
/** Text transformation for stylistic effects */
|
|
@@ -1039,13 +973,7 @@ function Small({ variant = "detail", ...props }: SmallProps) {
|
|
|
1039
973
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
1040
974
|
type StrongDocsProps = {
|
|
1041
975
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
1042
|
-
color?:
|
|
1043
|
-
| "default"
|
|
1044
|
-
| "muted"
|
|
1045
|
-
| "accent"
|
|
1046
|
-
| "destructive"
|
|
1047
|
-
| "success"
|
|
1048
|
-
| "warning";
|
|
976
|
+
color?: TypographyColor;
|
|
1049
977
|
/** Text alignment within the container @default "left" */
|
|
1050
978
|
align?: "left" | "center" | "right" | "justify";
|
|
1051
979
|
/** Text transformation for stylistic effects */
|
|
@@ -1111,13 +1039,7 @@ function Strong(props: StrongProps) {
|
|
|
1111
1039
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
1112
1040
|
type LeadDocsProps = {
|
|
1113
1041
|
/** Color variant for semantic meaning and visual hierarchy @default "muted" */
|
|
1114
|
-
color?:
|
|
1115
|
-
| "default"
|
|
1116
|
-
| "muted"
|
|
1117
|
-
| "accent"
|
|
1118
|
-
| "destructive"
|
|
1119
|
-
| "success"
|
|
1120
|
-
| "warning";
|
|
1042
|
+
color?: TypographyColor;
|
|
1121
1043
|
/** Text alignment within the container @default "left" */
|
|
1122
1044
|
align?: "left" | "center" | "right" | "justify";
|
|
1123
1045
|
/** Text transformation for stylistic effects */
|
|
@@ -1189,25 +1111,9 @@ function Lead({
|
|
|
1189
1111
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
1190
1112
|
type ADocsProps = {
|
|
1191
1113
|
/** Typography variant that determines text size, weight, and line height @default "body" */
|
|
1192
|
-
variant?:
|
|
1193
|
-
| "heading"
|
|
1194
|
-
| "subheading"
|
|
1195
|
-
| "body"
|
|
1196
|
-
| "bodyEmphasized"
|
|
1197
|
-
| "details"
|
|
1198
|
-
| "field"
|
|
1199
|
-
| "code"
|
|
1200
|
-
| "microcopy"
|
|
1201
|
-
| "tableCell"
|
|
1202
|
-
| "tableHeader";
|
|
1114
|
+
variant?: TypographyVariant;
|
|
1203
1115
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
1204
|
-
color?:
|
|
1205
|
-
| "default"
|
|
1206
|
-
| "muted"
|
|
1207
|
-
| "accent"
|
|
1208
|
-
| "destructive"
|
|
1209
|
-
| "success"
|
|
1210
|
-
| "warning";
|
|
1116
|
+
color?: TypographyColor;
|
|
1211
1117
|
/** Text alignment within the container @default "left" */
|
|
1212
1118
|
align?: "left" | "center" | "right" | "justify";
|
|
1213
1119
|
/** Text transformation for stylistic effects */
|
|
@@ -1302,13 +1208,7 @@ function A({ href, asChild = false, className, ...props }: AProps) {
|
|
|
1302
1208
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
1303
1209
|
type BlockquoteDocsProps = {
|
|
1304
1210
|
/** Color variant for semantic meaning and visual hierarchy @default "default" */
|
|
1305
|
-
color?:
|
|
1306
|
-
| "default"
|
|
1307
|
-
| "muted"
|
|
1308
|
-
| "accent"
|
|
1309
|
-
| "destructive"
|
|
1310
|
-
| "success"
|
|
1311
|
-
| "warning";
|
|
1211
|
+
color?: TypographyColor;
|
|
1312
1212
|
/** Text alignment within the container @default "left" */
|
|
1313
1213
|
align?: "left" | "center" | "right" | "justify";
|
|
1314
1214
|
/** Text transformation for stylistic effects */
|
package/src/index.ts
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
// Form & Input Components
|
|
2
2
|
export * from "./components/ui/button";
|
|
3
|
+
export * from "./components/ui/button-group";
|
|
3
4
|
export * from "./components/ui/text-field";
|
|
5
|
+
export * from "./components/ui/field";
|
|
4
6
|
export * from "./components/ui/select";
|
|
5
7
|
export * from "./components/ui/combobox";
|
|
6
8
|
export * from "./components/ui/input";
|
|
9
|
+
export * from "./components/ui/input-group";
|
|
7
10
|
export * from "./components/ui/textarea";
|
|
8
11
|
export * from "./components/ui/checkbox";
|
|
9
12
|
export * from "./components/ui/switch";
|
|
@@ -44,6 +47,7 @@ export * from "./components/ui/drawer";
|
|
|
44
47
|
|
|
45
48
|
// Typography
|
|
46
49
|
export * from "./components/ui/typography";
|
|
50
|
+
export * from "./components/ui/kbd";
|
|
47
51
|
|
|
48
52
|
// Data Display
|
|
49
53
|
export * from "./components/ui/table";
|
|
@@ -53,6 +57,9 @@ export * from "./components/ui/alert";
|
|
|
53
57
|
export * from "./components/ui/progress";
|
|
54
58
|
export * from "./components/ui/skeleton";
|
|
55
59
|
export * from "./components/ui/empty-state";
|
|
60
|
+
export * from "./components/ui/empty";
|
|
61
|
+
export * from "./components/ui/item";
|
|
62
|
+
export * from "./components/ui/spinner";
|
|
56
63
|
export * from "./components/ui/sonner";
|
|
57
64
|
|
|
58
65
|
// Interactive Controls
|
package/src/styles/globals.css
CHANGED
|
@@ -6,24 +6,28 @@
|
|
|
6
6
|
@custom-variant dark (&:is(.dark *));
|
|
7
7
|
|
|
8
8
|
:root {
|
|
9
|
-
--radius: 0.
|
|
9
|
+
--radius: 0.5rem;
|
|
10
10
|
|
|
11
11
|
/* Neynar Colors */
|
|
12
12
|
--neynar-surface-base-background: oklch(from #eeeeee l c h);
|
|
13
|
+
--neynar-faint-foreground: rgb(0, 0, 0, 0.45);
|
|
13
14
|
|
|
14
15
|
/* Map Figma colors to shadcn semantic tokens */
|
|
15
16
|
--background: oklch(from #ffffff l c h); /* Surface/Body */
|
|
16
17
|
--foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
17
|
-
--card:
|
|
18
|
+
--card: rgb(0, 0, 0, 0.05);
|
|
19
|
+
/*--card: oklch(from #ffffff l c h); /* Surface/Body */
|
|
18
20
|
--card-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
19
21
|
--popover: oklch(from #ffffff l c h); /* Surface/Body */
|
|
20
22
|
--popover-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
21
23
|
--primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
22
24
|
--primary-foreground: oklch(from #ffffff l c h); /* Text/UI/White (fixed) */
|
|
23
|
-
--secondary: oklch(from #eeeeee l c h); /* Surface/Base */
|
|
25
|
+
/* --secondary: oklch(from #eeeeee l c h); /* Surface/Base */
|
|
26
|
+
--secondary: rgb(0, 0, 0, 0.1);
|
|
24
27
|
--secondary-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
25
28
|
--muted: oklch(from #eeeeee l c h); /* Surface/Base */
|
|
26
|
-
--muted-foreground: oklch(from #777777 l c h); /* Text/UI/Default */
|
|
29
|
+
/* --muted-foreground: oklch(from #777777 l c h); /* Text/UI/Default */
|
|
30
|
+
--muted-foreground: rgb(0, 0, 0, 0.6);
|
|
27
31
|
--accent: oklch(from #f0ebfa l c h); /* Elevation/Info/Neutral */
|
|
28
32
|
--accent-foreground: oklch(from #7360a1 l c h); /* Text/UI/Muted Info */
|
|
29
33
|
--destructive: oklch(from #ad1b20 l c h); /* Tables/Method/DEL (text) */
|
|
@@ -36,14 +40,16 @@
|
|
|
36
40
|
--warning-foreground: oklch(from #ffffff l c h); /* White text on warning */
|
|
37
41
|
--info: oklch(from #1976d2 l c h); /* Info/Blue */
|
|
38
42
|
--info-foreground: oklch(from #ffffff l c h); /* White text on info */
|
|
39
|
-
--border: oklch(from #dddddd l c h); /* Borders/Muted */
|
|
40
|
-
--
|
|
43
|
+
/* --border: oklch(from #dddddd l c h); /* Borders/Muted */
|
|
44
|
+
--border: rgb(0, 0, 0, 0.1);
|
|
45
|
+
/* --input: oklch(from #ffffff l c h); /* Surface/Field */
|
|
46
|
+
--input: rgb(0, 0, 0, 0.1);
|
|
41
47
|
--ring: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
42
|
-
--chart-1:
|
|
43
|
-
--chart-2:
|
|
44
|
-
--chart-3:
|
|
45
|
-
--chart-4:
|
|
46
|
-
--chart-5:
|
|
48
|
+
--chart-1: #829ae0; /* Charts/Blue 1 */
|
|
49
|
+
--chart-2: #1a75ff; /* Charts/Blue 2 */
|
|
50
|
+
--chart-3: #c6acde; /* Charts/Purple 1 */
|
|
51
|
+
--chart-4: #9c27b0; /* Charts/Purple 2 */
|
|
52
|
+
--chart-5: #7dc6da; /* Charts/Violet */
|
|
47
53
|
--sidebar: oklch(from #ffffff l c h); /* Surface/Body */
|
|
48
54
|
--sidebar-foreground: oklch(from #000000 l c h); /* Text/Content/Headers */
|
|
49
55
|
--sidebar-primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
@@ -61,24 +67,31 @@
|
|
|
61
67
|
.dark {
|
|
62
68
|
/* Neynar Colors */
|
|
63
69
|
--neynar-surface-base-background: oklch(from #161517 l c h);
|
|
70
|
+
--neynar-faint-foreground: rgb(255, 255, 255, 0.45);
|
|
64
71
|
|
|
65
72
|
/* Dark mode using actual Figma-defined dark mode colors */
|
|
66
73
|
--background: oklch(from #222222 l c h); /* Surface/Body Dark */
|
|
67
|
-
--foreground: oklch(
|
|
68
|
-
|
|
74
|
+
--foreground: oklch(
|
|
75
|
+
from rgb(255, 255, 255, 0.86) l c h
|
|
76
|
+
); /* Text/UI/Active Dark */
|
|
77
|
+
--card: rgb(255, 255, 255, 0.05);
|
|
78
|
+
/* --card: oklch(from #2d2d2d l c h); /* Surface/Feature Neutral Dark */
|
|
69
79
|
--card-foreground: oklch(from #dddddd l c h); /* Text/UI/Active Dark */
|
|
70
80
|
--popover: oklch(from #222222 l c h); /* Surface/Body Dark */
|
|
71
81
|
--popover-foreground: oklch(from #ffffff l c h); /* Text/UI/Active Dark */
|
|
72
82
|
--primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
73
83
|
--primary-foreground: oklch(from #ffffff l c h); /* Text/UI/White (fixed) */
|
|
74
|
-
--secondary: oklch(from #161517 l c h); /* Surface/Base Dark */
|
|
84
|
+
/* --secondary: oklch(from #161517 l c h); /* Surface/Base Dark */
|
|
85
|
+
--secondary: rgb(0, 0, 0, 0.25);
|
|
75
86
|
--secondary-foreground: oklch(
|
|
76
87
|
from #ffffff l c h
|
|
77
88
|
); /* Text/UI/Black > White Dark */
|
|
78
89
|
--muted: oklch(from #333333 l c h); /* Surface/Feature/Neutral Dark */
|
|
79
|
-
--muted-foreground: oklch(from #bbbbbb l c h); /* Text/UI/Default Dark */
|
|
90
|
+
/* --muted-foreground: oklch(from #bbbbbb l c h); /* Text/UI/Default Dark */
|
|
91
|
+
--muted-foreground: rgb(255, 255, 255, 0.6);
|
|
92
|
+
|
|
80
93
|
--accent: oklch(from #25212b l c h); /* Elevation/Info/Neutral Dark */
|
|
81
|
-
--accent-foreground: oklch(from #
|
|
94
|
+
--accent-foreground: oklch(from #7f62c6 l c h); /* Text/UI/Muted Info */
|
|
82
95
|
--destructive: oklch(from #ad1b20 l c h); /* Tables/Method/DEL (text) */
|
|
83
96
|
--destructive-foreground: oklch(
|
|
84
97
|
from #ffffff l c h
|
|
@@ -89,14 +102,16 @@
|
|
|
89
102
|
--warning-foreground: oklch(from #000000 l c h); /* Black text on warning */
|
|
90
103
|
--info: oklch(from #1976d2 l c h); /* Info/Blue Dark */
|
|
91
104
|
--info-foreground: oklch(from #ffffff l c h); /* White text on info */
|
|
92
|
-
--border: oklch(from #444444 l c h); /* Borders/Muted Dark */
|
|
93
|
-
--
|
|
105
|
+
/* --border: oklch(from #444444 l c h); /* Borders/Muted Dark */
|
|
106
|
+
--border: rgb(255, 255, 255, 0.1);
|
|
107
|
+
/* --input: oklch(from #222222 l c h); /* Surface/Field Dark */
|
|
108
|
+
--input: rgb(255, 255, 255, 0.1);
|
|
94
109
|
--ring: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
95
|
-
--chart-1:
|
|
96
|
-
--chart-2:
|
|
97
|
-
--chart-3:
|
|
98
|
-
--chart-4:
|
|
99
|
-
--chart-5:
|
|
110
|
+
--chart-1: #829ae0; /* Charts/Blue 1 */
|
|
111
|
+
--chart-2: #1a75ff; /* Charts/Blue 2 */
|
|
112
|
+
--chart-3: #c6acde; /* Charts/Purple 1 */
|
|
113
|
+
--chart-4: #9c27b0; /* Charts/Purple 2 */
|
|
114
|
+
--chart-5: #7dc6da; /* Charts/Violet */
|
|
100
115
|
--sidebar: oklch(from #222222 l c h); /* Surface/Body Dark */
|
|
101
116
|
--sidebar-foreground: oklch(from #ffffff l c h); /* Text/UI/White (fixed) */
|
|
102
117
|
--sidebar-primary: oklch(from #7f62c6 l c h); /* Farcaster Purple */
|
|
@@ -113,6 +128,7 @@
|
|
|
113
128
|
|
|
114
129
|
@theme inline {
|
|
115
130
|
--color-neynar-surface-base-background: var(--neynar-surface-base-background);
|
|
131
|
+
--color-neynar-faint-foreground: var(--neynar-faint-foreground);
|
|
116
132
|
|
|
117
133
|
--color-background: var(--background);
|
|
118
134
|
--color-foreground: var(--foreground);
|
|
@@ -182,6 +198,6 @@
|
|
|
182
198
|
@apply border-border outline-ring/50;
|
|
183
199
|
}
|
|
184
200
|
body {
|
|
185
|
-
@apply bg-
|
|
201
|
+
@apply bg-background text-foreground;
|
|
186
202
|
}
|
|
187
203
|
}
|
package/llm-docs/a.llm.md
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
# A
|
|
2
|
-
|
|
3
|
-
**Type**: component
|
|
4
|
-
|
|
5
|
-
A - Anchor component for interactive text links Semantic anchor element for links with built-in hover states and accessibility features. Uses "body" variant with underline and smooth color transitions.
|
|
6
|
-
|
|
7
|
-
## JSX Usage
|
|
8
|
-
|
|
9
|
-
```jsx
|
|
10
|
-
import { A } from '@neynar/ui';
|
|
11
|
-
|
|
12
|
-
<A
|
|
13
|
-
variant={value}
|
|
14
|
-
color={value}
|
|
15
|
-
align={value}
|
|
16
|
-
transform={value}
|
|
17
|
-
weight={value}
|
|
18
|
-
htmlFor="value"
|
|
19
|
-
asChild={true}
|
|
20
|
-
italic={true}
|
|
21
|
-
underline={true}
|
|
22
|
-
strikethrough={true}
|
|
23
|
-
truncate={true}
|
|
24
|
-
srOnly={true}
|
|
25
|
-
href="value"
|
|
26
|
-
className="value"
|
|
27
|
-
>
|
|
28
|
-
{/* Your content here */}
|
|
29
|
-
</A>
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Component Props
|
|
33
|
-
|
|
34
|
-
### variant
|
|
35
|
-
- **Type**: `| "heading"
|
|
36
|
-
| "subheading"
|
|
37
|
-
| "body"
|
|
38
|
-
| "bodyEmphasized"
|
|
39
|
-
| "details"
|
|
40
|
-
| "field"
|
|
41
|
-
| "code"
|
|
42
|
-
| "microcopy"
|
|
43
|
-
| "tableCell"
|
|
44
|
-
| "tableHeader"`
|
|
45
|
-
- **Required**: No
|
|
46
|
-
- **Description**: No description available
|
|
47
|
-
|
|
48
|
-
### color
|
|
49
|
-
- **Type**: `| "default"
|
|
50
|
-
| "muted"
|
|
51
|
-
| "accent"
|
|
52
|
-
| "destructive"
|
|
53
|
-
| "success"
|
|
54
|
-
| "warning"`
|
|
55
|
-
- **Required**: No
|
|
56
|
-
- **Description**: No description available
|
|
57
|
-
|
|
58
|
-
### align
|
|
59
|
-
- **Type**: `"left" | "center" | "right" | "justify"`
|
|
60
|
-
- **Required**: No
|
|
61
|
-
- **Description**: No description available
|
|
62
|
-
|
|
63
|
-
### transform
|
|
64
|
-
- **Type**: `"uppercase" | "lowercase" | "capitalize"`
|
|
65
|
-
- **Required**: No
|
|
66
|
-
- **Description**: No description available
|
|
67
|
-
|
|
68
|
-
### weight
|
|
69
|
-
- **Type**: `"normal" | "medium" | "semibold" | "bold"`
|
|
70
|
-
- **Required**: No
|
|
71
|
-
- **Description**: No description available
|
|
72
|
-
|
|
73
|
-
### htmlFor
|
|
74
|
-
- **Type**: `string`
|
|
75
|
-
- **Required**: No
|
|
76
|
-
- **Description**: No description available
|
|
77
|
-
|
|
78
|
-
### asChild
|
|
79
|
-
- **Type**: `boolean`
|
|
80
|
-
- **Required**: No
|
|
81
|
-
- **Description**: No description available
|
|
82
|
-
|
|
83
|
-
### italic
|
|
84
|
-
- **Type**: `boolean`
|
|
85
|
-
- **Required**: No
|
|
86
|
-
- **Description**: No description available
|
|
87
|
-
|
|
88
|
-
### underline
|
|
89
|
-
- **Type**: `boolean`
|
|
90
|
-
- **Required**: No
|
|
91
|
-
- **Description**: No description available
|
|
92
|
-
|
|
93
|
-
### strikethrough
|
|
94
|
-
- **Type**: `boolean`
|
|
95
|
-
- **Required**: No
|
|
96
|
-
- **Description**: No description available
|
|
97
|
-
|
|
98
|
-
### truncate
|
|
99
|
-
- **Type**: `boolean`
|
|
100
|
-
- **Required**: No
|
|
101
|
-
- **Description**: No description available
|
|
102
|
-
|
|
103
|
-
### srOnly
|
|
104
|
-
- **Type**: `boolean`
|
|
105
|
-
- **Required**: No
|
|
106
|
-
- **Description**: No description available
|
|
107
|
-
|
|
108
|
-
### href
|
|
109
|
-
- **Type**: `string`
|
|
110
|
-
- **Required**: No
|
|
111
|
-
- **Description**: No description available
|
|
112
|
-
|
|
113
|
-
### className
|
|
114
|
-
- **Type**: `string`
|
|
115
|
-
- **Required**: No
|
|
116
|
-
- **Description**: No description available
|
|
117
|
-
|
|
118
|
-
### children
|
|
119
|
-
- **Type**: `React.ReactNode`
|
|
120
|
-
- **Required**: No
|
|
121
|
-
- **Description**: No description available
|
|
122
|
-
|
|
123
|
-
## Examples
|
|
124
|
-
|
|
125
|
-
```tsx
|
|
126
|
-
// External link
|
|
127
|
-
<A href="https://neynar.com" target="_blank" rel="noopener noreferrer">
|
|
128
|
-
Visit Neynar Website
|
|
129
|
-
</A>
|
|
130
|
-
// Internal navigation
|
|
131
|
-
<A href="/dashboard" color="accent">
|
|
132
|
-
Go to Dashboard
|
|
133
|
-
</A>
|
|
134
|
-
// Composition with Next.js Link
|
|
135
|
-
<A asChild>
|
|
136
|
-
<Link href="/about">
|
|
137
|
-
Learn More About Us
|
|
138
|
-
</Link>
|
|
139
|
-
</A>
|
|
140
|
-
// In paragraph text
|
|
141
|
-
<P>
|
|
142
|
-
For more information, <A href="/docs">check our documentation</A> or
|
|
143
|
-
contact support.
|
|
144
|
-
</P>
|
|
145
|
-
```
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# AccordionContent
|
|
2
|
-
|
|
3
|
-
**Type**: component
|
|
4
|
-
|
|
5
|
-
AccordionContent - Collapsible content area of an accordion item The expandable content section that is revealed or hidden when the associated AccordionTrigger is activated. Features smooth height-based animations using Tailwind CSS keyframes and supports any React content including complex layouts.
|
|
6
|
-
|
|
7
|
-
## JSX Usage
|
|
8
|
-
|
|
9
|
-
```jsx
|
|
10
|
-
import { AccordionContent } from '@neynar/ui';
|
|
11
|
-
|
|
12
|
-
<AccordionContent
|
|
13
|
-
className="value"
|
|
14
|
-
forceMount={value}
|
|
15
|
-
>
|
|
16
|
-
{/* Your content here */}
|
|
17
|
-
</AccordionContent>
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Component Props
|
|
21
|
-
|
|
22
|
-
### className
|
|
23
|
-
- **Type**: `string`
|
|
24
|
-
- **Required**: No
|
|
25
|
-
- **Description**: No description available
|
|
26
|
-
|
|
27
|
-
### children
|
|
28
|
-
- **Type**: `React.ReactNode`
|
|
29
|
-
- **Required**: No
|
|
30
|
-
- **Description**: No description available
|
|
31
|
-
|
|
32
|
-
### forceMount
|
|
33
|
-
- **Type**: `true`
|
|
34
|
-
- **Required**: No
|
|
35
|
-
- **Description**: No description available
|
|
36
|
-
|
|
37
|
-
## Examples
|
|
38
|
-
|
|
39
|
-
### Example 1
|
|
40
|
-
```tsx
|
|
41
|
-
// Simple text content
|
|
42
|
-
<AccordionContent>
|
|
43
|
-
<p>This content is revealed when the accordion is expanded.</p>
|
|
44
|
-
<p>It can contain any React components or HTML elements.</p>
|
|
45
|
-
</AccordionContent>
|
|
46
|
-
```
|
|
47
|
-
### Example 2
|
|
48
|
-
```tsx
|
|
49
|
-
// Rich content with components
|
|
50
|
-
<AccordionContent>
|
|
51
|
-
<div className="space-y-4">
|
|
52
|
-
<Alert>
|
|
53
|
-
<InfoIcon className="h-4 w-4" />
|
|
54
|
-
<AlertTitle>Important Note</AlertTitle>
|
|
55
|
-
<AlertDescription>This is highlighted information.</AlertDescription>
|
|
56
|
-
</Alert>
|
|
57
|
-
<Button variant="outline">Take Action</Button>
|
|
58
|
-
</div>
|
|
59
|
-
</AccordionContent>
|
|
60
|
-
```
|
|
61
|
-
### Example 3
|
|
62
|
-
```tsx
|
|
63
|
-
// Content with custom padding
|
|
64
|
-
<AccordionContent className="pt-6 pb-6">
|
|
65
|
-
Content with extra vertical padding for better spacing.
|
|
66
|
-
</AccordionContent>
|
|
67
|
-
```
|