@a4ui/core 0.37.1 → 0.38.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/README.md +8 -7
- package/dist/Collapse-Cr5cDqAl.js +375 -0
- package/dist/charts/AreaChart.d.ts +38 -0
- package/dist/charts/BarChart.d.ts +17 -1
- package/dist/charts/PieChart.d.ts +29 -0
- package/dist/charts/RadialBarChart.d.ts +33 -0
- package/dist/charts/index.d.ts +5 -0
- package/dist/charts/shared.d.ts +111 -0
- package/dist/charts.js +1493 -780
- package/dist/commerce.js +625 -634
- package/dist/elements.css +1076 -8
- package/dist/elements.iife.js +1 -6
- package/dist/elements.js +7774 -9133
- package/dist/full.css +1076 -8
- package/dist/index.d.ts +30 -3
- package/dist/index.js +17502 -15126
- package/dist/layout/Aurora.d.ts +16 -0
- package/dist/layout/EffectsToggle.d.ts +1 -1
- package/dist/layout/SpaceBackground.d.ts +1 -1
- package/dist/motion-CTIBwMCA.js +104 -0
- package/dist/styles.css +110 -3
- package/dist/ui/AspectRatio.d.ts +19 -0
- package/dist/ui/Attachment.d.ts +70 -0
- package/dist/ui/ButtonGroup.d.ts +37 -0
- package/dist/ui/ChatMarker.d.ts +20 -0
- package/dist/ui/ChatThread.d.ts +32 -8
- package/dist/ui/ContactSection.d.ts +49 -0
- package/dist/ui/CtaBanner.d.ts +28 -0
- package/dist/ui/Drawer.d.ts +5 -2
- package/dist/ui/Faq.d.ts +29 -0
- package/dist/ui/FeatureGrid.d.ts +35 -0
- package/dist/ui/Field.d.ts +148 -0
- package/dist/ui/Hero.d.ts +48 -0
- package/dist/ui/InputGroup.d.ts +93 -0
- package/dist/ui/Item.d.ts +63 -0
- package/dist/ui/Label.d.ts +23 -0
- package/dist/ui/Menubar.d.ts +83 -0
- package/dist/ui/Message.d.ts +51 -5
- package/dist/ui/Modal.d.ts +8 -2
- package/dist/ui/NativeSelect.d.ts +26 -0
- package/dist/ui/NavigationMenu.d.ts +85 -0
- package/dist/ui/PromptComposer.d.ts +5 -0
- package/dist/ui/Prose.d.ts +21 -0
- package/dist/ui/Questionnaire.d.ts +71 -0
- package/dist/ui/ScrollArea.d.ts +30 -0
- package/dist/ui/Sidebar.d.ts +229 -0
- package/dist/ui/SiteFooter.d.ts +39 -0
- package/dist/ui/SiteNav.d.ts +35 -0
- package/dist/ui/TeamGrid.d.ts +33 -0
- package/dist/ui/Testimonials.d.ts +37 -0
- package/dist/ui/internal/sectionKit.d.ts +22 -0
- package/dist/ui/internal/socialIcons.d.ts +9 -0
- package/package.json +38 -26
- package/preset.d.ts +23 -0
- package/src/charts/AreaChart.tsx +206 -0
- package/src/charts/BarChart.tsx +241 -5
- package/src/charts/DonutChart.tsx +8 -11
- package/src/charts/LineChart.tsx +2 -3
- package/src/charts/PieChart.tsx +145 -0
- package/src/charts/RadialBarChart.tsx +141 -0
- package/src/charts/index.ts +14 -0
- package/src/charts/shared.tsx +304 -0
- package/src/index.ts +192 -3
- package/src/layout/Aurora.tsx +36 -7
- package/src/layout/sceneEffects.ts +22 -3
- package/src/ui/AspectRatio.tsx +35 -0
- package/src/ui/Attachment.tsx +189 -0
- package/src/ui/ButtonGroup.tsx +89 -0
- package/src/ui/ChatMarker.tsx +58 -0
- package/src/ui/ChatThread.tsx +115 -23
- package/src/ui/ContactSection.tsx +199 -0
- package/src/ui/CtaBanner.tsx +62 -0
- package/src/ui/DateField.tsx +2 -1
- package/src/ui/DateRangePicker.tsx +2 -1
- package/src/ui/Drawer.tsx +37 -4
- package/src/ui/Faq.tsx +57 -0
- package/src/ui/FeatureGrid.tsx +77 -0
- package/src/ui/Field.tsx +374 -0
- package/src/ui/Hero.tsx +146 -0
- package/src/ui/InputGroup.tsx +219 -0
- package/src/ui/Item.tsx +185 -0
- package/src/ui/Label.tsx +50 -0
- package/src/ui/Menubar.tsx +212 -0
- package/src/ui/Message.tsx +139 -13
- package/src/ui/Modal.tsx +41 -5
- package/src/ui/MultiSelect.tsx +2 -1
- package/src/ui/NativeSelect.tsx +66 -0
- package/src/ui/NavigationMenu.tsx +262 -0
- package/src/ui/PromptComposer.tsx +11 -0
- package/src/ui/Prose.tsx +63 -0
- package/src/ui/Questionnaire.tsx +331 -0
- package/src/ui/ScrollArea.tsx +70 -0
- package/src/ui/Sidebar.tsx +753 -0
- package/src/ui/SiteFooter.tsx +112 -0
- package/src/ui/SiteNav.tsx +146 -0
- package/src/ui/TeamGrid.tsx +81 -0
- package/src/ui/Testimonials.tsx +103 -0
- package/src/ui/TimeField.tsx +2 -1
- package/src/ui/internal/sectionKit.tsx +72 -0
- package/src/ui/internal/socialIcons.tsx +41 -0
- package/dist/NumberInput-Bnh2u7pp.js +0 -381
- package/dist/motion-jYMWmZqB.js +0 -119
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const A4UI_VERSION = "0.
|
|
1
|
+
export declare const A4UI_VERSION = "0.38.0";
|
|
2
2
|
export { cn } from './lib/cn';
|
|
3
3
|
export { useTheme, toggleTheme, setTheme, storedTheme, applyTheme, toggled, type Theme } from './lib/theme';
|
|
4
4
|
export { useEffects, isCalm, setEffects } from './lib/effects';
|
|
@@ -12,6 +12,11 @@ export { createLinkedSelection, type LinkedSelection } from './lib/createLinkedS
|
|
|
12
12
|
export { Accordion, type AccordionItem } from './ui/Accordion';
|
|
13
13
|
export { Badge, type BadgeTone } from './ui/Badge';
|
|
14
14
|
export { Button, type ButtonVariant } from './ui/Button';
|
|
15
|
+
export { ButtonGroup, ButtonGroupText, ButtonGroupSeparator, type ButtonGroupProps, type ButtonGroupTextProps, type ButtonGroupSeparatorProps, type ButtonGroupOrientation, } from './ui/ButtonGroup';
|
|
16
|
+
export { AspectRatio, type AspectRatioProps } from './ui/AspectRatio';
|
|
17
|
+
export { Label, type LabelProps } from './ui/Label';
|
|
18
|
+
export { NativeSelect, type NativeSelectProps, type NativeSelectSize } from './ui/NativeSelect';
|
|
19
|
+
export { Prose, type ProseProps, type ProseSize } from './ui/Prose';
|
|
15
20
|
export { Card, CardHeader, CardTitle, CardContent } from './ui/Card';
|
|
16
21
|
export { Checkbox } from './ui/Checkbox';
|
|
17
22
|
export { DateField } from './ui/DateField';
|
|
@@ -19,12 +24,15 @@ export { TimeField, type TimeFieldProps } from './ui/TimeField';
|
|
|
19
24
|
export { DateTimeField, type DateTimeFieldProps } from './ui/DateTimeField';
|
|
20
25
|
export { DateRangePicker, type DateRange, type DateRangePickerProps } from './ui/DateRangePicker';
|
|
21
26
|
export { FormField, FormLabel, FormControl, FormDescription, FormError, type FormFieldProps } from './ui/Form';
|
|
27
|
+
export { Field, FieldSet, FieldLegend, FieldGroup, FieldContent, FieldLabel, FieldTitle, FieldDescription, FieldSeparator, FieldError, type FieldProps, type FieldSetProps, type FieldLegendProps, type FieldGroupProps, type FieldLabelProps, type FieldSeparatorProps, type FieldErrorProps, type FieldOrientation, } from './ui/Field';
|
|
28
|
+
export { InputGroup, InputGroupAddon, InputGroupText, InputGroupButton, InputGroupInput, InputGroupTextarea, type InputGroupProps, type InputGroupAddonProps, type InputGroupAddonAlign, type InputGroupButtonProps, type InputGroupButtonSize, type InputGroupInputProps, type InputGroupTextareaProps, } from './ui/InputGroup';
|
|
22
29
|
export { FileUpload, type UploadFile, type FileUploadProps } from './ui/FileUpload';
|
|
23
30
|
export { MultiSelect, type MultiSelectOption, type MultiSelectProps } from './ui/MultiSelect';
|
|
24
|
-
export { Drawer } from './ui/Drawer';
|
|
31
|
+
export { Drawer, type DrawerProps, type DrawerSide } from './ui/Drawer';
|
|
25
32
|
export { Dropdown, type DropdownItem } from './ui/Dropdown';
|
|
26
33
|
export { Dropzone } from './ui/Dropzone';
|
|
27
34
|
export { Input } from './ui/Input';
|
|
35
|
+
export { Questionnaire, type QuestionnaireProps, type QuestionnaireQuestion, type QuestionnaireOption, type QuestionnaireAnswers, type QuestionnaireLabels, } from './ui/Questionnaire';
|
|
28
36
|
export { Modal } from './ui/Modal';
|
|
29
37
|
export { PageHeader } from './ui/PageHeader';
|
|
30
38
|
export { Pagination } from './ui/Pagination';
|
|
@@ -54,6 +62,8 @@ export { Toggle } from './ui/Toggle';
|
|
|
54
62
|
export { ToggleGroup, type ToggleGroupOption } from './ui/ToggleGroup';
|
|
55
63
|
export { SegmentedControl, type SegmentedOption } from './ui/SegmentedControl';
|
|
56
64
|
export { Breadcrumb, type BreadcrumbItem } from './ui/Breadcrumb';
|
|
65
|
+
export { Menubar, MenubarCheckboxItem, MenubarItem, MenubarLabel, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarSub, type MenubarCheckboxItemProps, type MenubarItemProps, type MenubarMenuProps, type MenubarProps, type MenubarRadioGroupProps, type MenubarRadioItemProps, type MenubarSubProps, } from './ui/Menubar';
|
|
66
|
+
export { NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuPanelLink, NavigationMenuTrigger, type NavigationMenuContentProps, type NavigationMenuLinkProps, type NavigationMenuMobileSection, type NavigationMenuPanelLinkProps, type NavigationMenuProps, } from './ui/NavigationMenu';
|
|
57
67
|
export { AlertDialog } from './ui/AlertDialog';
|
|
58
68
|
export { ContextMenu, type ContextMenuItem } from './ui/ContextMenu';
|
|
59
69
|
export { Combobox } from './ui/Combobox';
|
|
@@ -62,6 +72,16 @@ export { Stepper, type StepItem, type StepperProps } from './ui/Stepper';
|
|
|
62
72
|
export { Timeline, type TimelineItem, type TimelineTone, type TimelineProps } from './ui/Timeline';
|
|
63
73
|
export { Rating, type RatingProps } from './ui/Rating';
|
|
64
74
|
export { PricingTable, type PricingTier, type PricingPeriod } from './ui/PricingTable';
|
|
75
|
+
export type { SectionLink } from './ui/internal/sectionKit';
|
|
76
|
+
export { SiteNav, type SiteNavProps } from './ui/SiteNav';
|
|
77
|
+
export { Hero, type HeroProps, type HeroLayout, type HeroBackground } from './ui/Hero';
|
|
78
|
+
export { FeatureGrid, type FeatureGridProps, type FeatureItem } from './ui/FeatureGrid';
|
|
79
|
+
export { Testimonials, type TestimonialsProps, type TestimonialItem, type TestimonialsLayout, } from './ui/Testimonials';
|
|
80
|
+
export { Faq, type FaqProps, type FaqItem } from './ui/Faq';
|
|
81
|
+
export { CtaBanner, type CtaBannerProps } from './ui/CtaBanner';
|
|
82
|
+
export { ContactSection, type ContactSectionProps, type ContactField, type ContactValues, } from './ui/ContactSection';
|
|
83
|
+
export { SiteFooter, type SiteFooterProps, type FooterColumn, type SocialLink, type SocialNetwork, } from './ui/SiteFooter';
|
|
84
|
+
export { TeamGrid, type TeamGridProps, type TeamMember } from './ui/TeamGrid';
|
|
65
85
|
export { BeforeAfter, type BeforeAfterProps } from './ui/BeforeAfter';
|
|
66
86
|
export { Configurator, type ConfiguratorProps, type ConfiguratorGroup, type ConfiguratorState, type ConfiguratorOption, type ConfiguratorItem, } from './ui/Configurator';
|
|
67
87
|
export { Empty, type EmptyProps } from './ui/Empty';
|
|
@@ -83,6 +103,8 @@ export { FloatingActionButton, type FloatingActionButtonProps, type FloatingActi
|
|
|
83
103
|
export { Anchor, type AnchorItem, type AnchorProps } from './ui/Anchor';
|
|
84
104
|
export { Highlight, type HighlightProps } from './ui/Highlight';
|
|
85
105
|
export { List, type ListItem } from './ui/List';
|
|
106
|
+
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, type ItemMediaVariant, type ItemProps, type ItemSize, type ItemVariant, } from './ui/Item';
|
|
107
|
+
export { ScrollArea, type ScrollAreaOrientation, type ScrollAreaProps } from './ui/ScrollArea';
|
|
86
108
|
export { Countdown, type CountdownProps } from './ui/Countdown';
|
|
87
109
|
export { Affix } from './ui/Affix';
|
|
88
110
|
export { Transfer, type TransferItem, type TransferProps } from './ui/Transfer';
|
|
@@ -104,7 +126,10 @@ export { Portal, type PortalProps } from './ui/Portal';
|
|
|
104
126
|
export { Sortable, type SortableProps } from './ui/Sortable';
|
|
105
127
|
export { Clock, type ClockProps } from './ui/Clock';
|
|
106
128
|
export { ChatThread, type ChatThreadProps } from './ui/ChatThread';
|
|
107
|
-
export { Message, type MessageProps, type ChatRole } from './ui/Message';
|
|
129
|
+
export { Message, MessageGroup, type MessageProps, type MessageGroupProps, type MessageVariant, type MessageAlign, type ChatRole, } from './ui/Message';
|
|
130
|
+
export { type ChatThreadApi } from './ui/ChatThread';
|
|
131
|
+
export { ChatMarker, type ChatMarkerProps, type ChatMarkerVariant } from './ui/ChatMarker';
|
|
132
|
+
export { Attachment, AttachmentMedia, AttachmentContent, AttachmentTitle, AttachmentDescription, AttachmentActions, AttachmentAction, AttachmentGroup, type AttachmentProps, type AttachmentActionProps, type AttachmentState, type AttachmentOrientation, } from './ui/Attachment';
|
|
108
133
|
export { StreamingText, type StreamingTextProps } from './ui/StreamingText';
|
|
109
134
|
export { Citation, type CitationProps, SourceList, type SourceListProps } from './ui/Citation';
|
|
110
135
|
export { PromptComposer, type PromptComposerProps } from './ui/PromptComposer';
|
|
@@ -199,8 +224,10 @@ export { ScrollProgress, type ScrollProgressProps } from './ui/ScrollProgress';
|
|
|
199
224
|
export { GradientText, type GradientTextProps } from './ui/GradientText';
|
|
200
225
|
export { flyToCart, type FlyToCartOptions } from './lib/flyToCart';
|
|
201
226
|
export { AppShell } from './layout/AppShell';
|
|
227
|
+
export { Sidebar, SidebarProvider, SidebarTrigger, SidebarRail, SidebarInset, SidebarHeader, SidebarFooter, SidebarContent, SidebarGroup, SidebarGroupLabel, SidebarGroupAction, SidebarGroupContent, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarMenuAction, SidebarMenuBadge, SidebarMenuSub, SidebarMenuSubItem, SidebarMenuSubButton, SidebarMenuSkeleton, useSidebar, type SidebarProps, type SidebarProviderProps, type SidebarTriggerProps, type SidebarGroupActionProps, type SidebarMenuButtonProps, type SidebarMenuSubProps, type SidebarSide, type SidebarVariant, type SidebarCollapsible, } from './ui/Sidebar';
|
|
202
228
|
export { SpaceBackground } from './layout/SpaceBackground';
|
|
203
229
|
export { Aurora, type AuroraProps } from './layout/Aurora';
|
|
230
|
+
export type { ModalProps } from './ui/Modal';
|
|
204
231
|
export { ThemedScenery, type ThemedSceneryProps } from './layout/ThemedScenery';
|
|
205
232
|
export { SnowScenery } from './layout/SnowScenery';
|
|
206
233
|
export { ChristmasBackground } from './layout/ChristmasBackground';
|