@arclux/arc-ui-preact 1.0.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/LICENSE +21 -0
- package/README.md +52 -0
- package/package.json +71 -0
- package/src/application/AppShell.tsx +16 -0
- package/src/application/AuthShell.tsx +16 -0
- package/src/application/Breadcrumb.tsx +16 -0
- package/src/application/BreadcrumbItem.tsx +16 -0
- package/src/application/Container.tsx +16 -0
- package/src/application/DashboardGrid.tsx +18 -0
- package/src/application/Footer.tsx +17 -0
- package/src/application/NavItem.tsx +18 -0
- package/src/application/NavigationMenu.tsx +17 -0
- package/src/application/NotificationPanel.tsx +18 -0
- package/src/application/PageHeader.tsx +17 -0
- package/src/application/PageLayout.tsx +18 -0
- package/src/application/Resizable.tsx +20 -0
- package/src/application/ScrollSpy.tsx +19 -0
- package/src/application/Section.tsx +16 -0
- package/src/application/SettingsLayout.tsx +16 -0
- package/src/application/Sidebar.tsx +20 -0
- package/src/application/SidebarLink.tsx +17 -0
- package/src/application/SidebarSection.tsx +18 -0
- package/src/application/SplitPane.tsx +19 -0
- package/src/application/SpyLink.tsx +16 -0
- package/src/application/StatusBar.tsx +16 -0
- package/src/application/Toolbar.tsx +18 -0
- package/src/application/TopBar.tsx +18 -0
- package/src/application/index.ts +45 -0
- package/src/content/Accordion.tsx +17 -0
- package/src/content/AccordionItem.tsx +16 -0
- package/src/content/AnimatedNumber.tsx +22 -0
- package/src/content/AspectRatio.tsx +16 -0
- package/src/content/Avatar.tsx +18 -0
- package/src/content/AvatarGroup.tsx +17 -0
- package/src/content/Badge.tsx +16 -0
- package/src/content/Callout.tsx +16 -0
- package/src/content/Card.tsx +16 -0
- package/src/content/Carousel.tsx +22 -0
- package/src/content/CodeBlock.tsx +19 -0
- package/src/content/Collapsible.tsx +17 -0
- package/src/content/ColorSwatch.tsx +18 -0
- package/src/content/Column.tsx +19 -0
- package/src/content/DataTable.tsx +22 -0
- package/src/content/Divider.tsx +18 -0
- package/src/content/EmptyState.tsx +17 -0
- package/src/content/FeatureCard.tsx +19 -0
- package/src/content/Highlight.tsx +18 -0
- package/src/content/Icon.tsx +18 -0
- package/src/content/InfiniteScroll.tsx +19 -0
- package/src/content/Kbd.tsx +15 -0
- package/src/content/Link.tsx +19 -0
- package/src/content/Markdown.tsx +16 -0
- package/src/content/Marquee.tsx +19 -0
- package/src/content/Meter.tsx +22 -0
- package/src/content/ScrollArea.tsx +17 -0
- package/src/content/Skeleton.tsx +18 -0
- package/src/content/Spinner.tsx +17 -0
- package/src/content/Stack.tsx +20 -0
- package/src/content/Stat.tsx +17 -0
- package/src/content/Step.tsx +16 -0
- package/src/content/Stepper.tsx +17 -0
- package/src/content/Table.tsx +19 -0
- package/src/content/Tag.tsx +18 -0
- package/src/content/Text.tsx +17 -0
- package/src/content/Timeline.tsx +16 -0
- package/src/content/TimelineItem.tsx +17 -0
- package/src/content/Truncate.tsx +17 -0
- package/src/content/ValueCard.tsx +18 -0
- package/src/content/index.ts +89 -0
- package/src/feedback/Alert.tsx +18 -0
- package/src/feedback/CommandItem.tsx +17 -0
- package/src/feedback/CommandPalette.tsx +20 -0
- package/src/feedback/ContextMenu.tsx +20 -0
- package/src/feedback/Dialog.tsx +19 -0
- package/src/feedback/DropdownMenu.tsx +18 -0
- package/src/feedback/HoverCard.tsx +19 -0
- package/src/feedback/Modal.tsx +19 -0
- package/src/feedback/NotificationPanel.tsx +18 -0
- package/src/feedback/Popover.tsx +18 -0
- package/src/feedback/Progress.tsx +20 -0
- package/src/feedback/Sheet.tsx +18 -0
- package/src/feedback/Toast.tsx +18 -0
- package/src/feedback/Tooltip.tsx +19 -0
- package/src/index.ts +257 -0
- package/src/input/Button.tsx +20 -0
- package/src/input/Calendar.tsx +21 -0
- package/src/input/Checkbox.tsx +21 -0
- package/src/input/Chip.tsx +18 -0
- package/src/input/ColorPicker.tsx +25 -0
- package/src/input/Combobox.tsx +23 -0
- package/src/input/CopyButton.tsx +18 -0
- package/src/input/DatePicker.tsx +25 -0
- package/src/input/FileUpload.tsx +22 -0
- package/src/input/Form.tsx +18 -0
- package/src/input/IconButton.tsx +23 -0
- package/src/input/Input.tsx +24 -0
- package/src/input/MultiSelect.tsx +23 -0
- package/src/input/NumberInput.tsx +21 -0
- package/src/input/OtpInput.tsx +19 -0
- package/src/input/PinInput.tsx +22 -0
- package/src/input/Radio.tsx +17 -0
- package/src/input/RadioGroup.tsx +20 -0
- package/src/input/Rating.tsx +19 -0
- package/src/input/Search.tsx +23 -0
- package/src/input/SegmentedControl.tsx +18 -0
- package/src/input/Select.tsx +22 -0
- package/src/input/Slider.tsx +21 -0
- package/src/input/SortableList.tsx +21 -0
- package/src/input/Suggestion.tsx +16 -0
- package/src/input/Textarea.tsx +24 -0
- package/src/input/ThemeToggle.tsx +18 -0
- package/src/input/Toggle.tsx +19 -0
- package/src/layout/AppShell.tsx +19 -0
- package/src/layout/AuthShell.tsx +16 -0
- package/src/layout/Container.tsx +16 -0
- package/src/layout/DashboardGrid.tsx +18 -0
- package/src/layout/PageHeader.tsx +17 -0
- package/src/layout/PageLayout.tsx +18 -0
- package/src/layout/Resizable.tsx +20 -0
- package/src/layout/Section.tsx +16 -0
- package/src/layout/SettingsLayout.tsx +16 -0
- package/src/layout/SplitPane.tsx +19 -0
- package/src/layout/StatusBar.tsx +16 -0
- package/src/layout/Toolbar.tsx +18 -0
- package/src/navigation/Breadcrumb.tsx +16 -0
- package/src/navigation/BreadcrumbItem.tsx +16 -0
- package/src/navigation/Drawer.tsx +18 -0
- package/src/navigation/Footer.tsx +17 -0
- package/src/navigation/Link.tsx +19 -0
- package/src/navigation/NavItem.tsx +18 -0
- package/src/navigation/NavigationMenu.tsx +20 -0
- package/src/navigation/Pagination.tsx +18 -0
- package/src/navigation/ScrollSpy.tsx +19 -0
- package/src/navigation/ScrollToTop.tsx +20 -0
- package/src/navigation/Sidebar.tsx +20 -0
- package/src/navigation/SidebarLink.tsx +17 -0
- package/src/navigation/SidebarSection.tsx +18 -0
- package/src/navigation/SpyLink.tsx +16 -0
- package/src/navigation/Tab.tsx +16 -0
- package/src/navigation/Tabs.tsx +18 -0
- package/src/navigation/TopBar.tsx +20 -0
- package/src/navigation/TreeItem.tsx +18 -0
- package/src/navigation/TreeView.tsx +17 -0
- package/src/reactive/Accordion.tsx +17 -0
- package/src/reactive/AccordionItem.tsx +16 -0
- package/src/reactive/Alert.tsx +18 -0
- package/src/reactive/Button.tsx +20 -0
- package/src/reactive/Calendar.tsx +21 -0
- package/src/reactive/Carousel.tsx +22 -0
- package/src/reactive/Checkbox.tsx +21 -0
- package/src/reactive/Chip.tsx +18 -0
- package/src/reactive/Collapsible.tsx +17 -0
- package/src/reactive/ColorPicker.tsx +25 -0
- package/src/reactive/Column.tsx +19 -0
- package/src/reactive/Combobox.tsx +23 -0
- package/src/reactive/CommandItem.tsx +17 -0
- package/src/reactive/CommandPalette.tsx +20 -0
- package/src/reactive/ContextMenu.tsx +20 -0
- package/src/reactive/CopyButton.tsx +18 -0
- package/src/reactive/DataTable.tsx +22 -0
- package/src/reactive/DatePicker.tsx +25 -0
- package/src/reactive/Dialog.tsx +19 -0
- package/src/reactive/Drawer.tsx +18 -0
- package/src/reactive/DropdownMenu.tsx +18 -0
- package/src/reactive/FileUpload.tsx +22 -0
- package/src/reactive/Form.tsx +18 -0
- package/src/reactive/HoverCard.tsx +19 -0
- package/src/reactive/IconButton.tsx +23 -0
- package/src/reactive/InfiniteScroll.tsx +19 -0
- package/src/reactive/Input.tsx +24 -0
- package/src/reactive/Modal.tsx +19 -0
- package/src/reactive/MultiSelect.tsx +23 -0
- package/src/reactive/NumberInput.tsx +21 -0
- package/src/reactive/OtpInput.tsx +19 -0
- package/src/reactive/Pagination.tsx +18 -0
- package/src/reactive/PinInput.tsx +22 -0
- package/src/reactive/Popover.tsx +18 -0
- package/src/reactive/Progress.tsx +20 -0
- package/src/reactive/Radio.tsx +17 -0
- package/src/reactive/RadioGroup.tsx +20 -0
- package/src/reactive/Rating.tsx +19 -0
- package/src/reactive/ScrollToTop.tsx +20 -0
- package/src/reactive/Search.tsx +23 -0
- package/src/reactive/SegmentedControl.tsx +18 -0
- package/src/reactive/Select.tsx +22 -0
- package/src/reactive/Sheet.tsx +18 -0
- package/src/reactive/Slider.tsx +21 -0
- package/src/reactive/SortableList.tsx +21 -0
- package/src/reactive/Suggestion.tsx +16 -0
- package/src/reactive/Tab.tsx +16 -0
- package/src/reactive/Tabs.tsx +18 -0
- package/src/reactive/Tag.tsx +18 -0
- package/src/reactive/Textarea.tsx +24 -0
- package/src/reactive/ThemeToggle.tsx +18 -0
- package/src/reactive/Toast.tsx +18 -0
- package/src/reactive/Toggle.tsx +19 -0
- package/src/reactive/Tooltip.tsx +19 -0
- package/src/reactive/TreeItem.tsx +18 -0
- package/src/reactive/TreeView.tsx +17 -0
- package/src/reactive/Truncate.tsx +17 -0
- package/src/reactive/index.ts +120 -0
- package/src/shared/MenuDivider.tsx +15 -0
- package/src/shared/MenuItem.tsx +18 -0
- package/src/shared/Option.tsx +18 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
export { AvatarGroup } from './content/AvatarGroup.js';
|
|
3
|
+
export type { AvatarGroupProps } from './content/AvatarGroup.js';
|
|
4
|
+
export { Avatar } from './content/Avatar.js';
|
|
5
|
+
export type { AvatarProps } from './content/Avatar.js';
|
|
6
|
+
export { Badge } from './content/Badge.js';
|
|
7
|
+
export type { BadgeProps } from './content/Badge.js';
|
|
8
|
+
export { Callout } from './content/Callout.js';
|
|
9
|
+
export type { CalloutProps } from './content/Callout.js';
|
|
10
|
+
export { Card } from './content/Card.js';
|
|
11
|
+
export type { CardProps } from './content/Card.js';
|
|
12
|
+
export { CodeBlock } from './content/CodeBlock.js';
|
|
13
|
+
export type { CodeBlockProps } from './content/CodeBlock.js';
|
|
14
|
+
export { ColorSwatch } from './content/ColorSwatch.js';
|
|
15
|
+
export type { ColorSwatchProps } from './content/ColorSwatch.js';
|
|
16
|
+
export { Divider } from './content/Divider.js';
|
|
17
|
+
export type { DividerProps } from './content/Divider.js';
|
|
18
|
+
export { EmptyState } from './content/EmptyState.js';
|
|
19
|
+
export type { EmptyStateProps } from './content/EmptyState.js';
|
|
20
|
+
export { FeatureCard } from './content/FeatureCard.js';
|
|
21
|
+
export type { FeatureCardProps } from './content/FeatureCard.js';
|
|
22
|
+
export { Icon } from './content/Icon.js';
|
|
23
|
+
export type { IconProps } from './content/Icon.js';
|
|
24
|
+
export { Kbd } from './content/Kbd.js';
|
|
25
|
+
export type { KbdProps } from './content/Kbd.js';
|
|
26
|
+
export { Link } from './content/Link.js';
|
|
27
|
+
export type { LinkProps } from './content/Link.js';
|
|
28
|
+
export { Skeleton } from './content/Skeleton.js';
|
|
29
|
+
export type { SkeletonProps } from './content/Skeleton.js';
|
|
30
|
+
export { Spinner } from './content/Spinner.js';
|
|
31
|
+
export type { SpinnerProps } from './content/Spinner.js';
|
|
32
|
+
export { Stat } from './content/Stat.js';
|
|
33
|
+
export type { StatProps } from './content/Stat.js';
|
|
34
|
+
export { Step } from './content/Step.js';
|
|
35
|
+
export type { StepProps } from './content/Step.js';
|
|
36
|
+
export { Stepper } from './content/Stepper.js';
|
|
37
|
+
export type { StepperProps } from './content/Stepper.js';
|
|
38
|
+
export { Table } from './content/Table.js';
|
|
39
|
+
export type { TableProps } from './content/Table.js';
|
|
40
|
+
export { Text } from './content/Text.js';
|
|
41
|
+
export type { TextProps } from './content/Text.js';
|
|
42
|
+
export { TimelineItem } from './content/TimelineItem.js';
|
|
43
|
+
export type { TimelineItemProps } from './content/TimelineItem.js';
|
|
44
|
+
export { Timeline } from './content/Timeline.js';
|
|
45
|
+
export type { TimelineProps } from './content/Timeline.js';
|
|
46
|
+
export { ValueCard } from './content/ValueCard.js';
|
|
47
|
+
export type { ValueCardProps } from './content/ValueCard.js';
|
|
48
|
+
export { AccordionItem } from './reactive/AccordionItem.js';
|
|
49
|
+
export type { AccordionItemProps } from './reactive/AccordionItem.js';
|
|
50
|
+
export { Accordion } from './reactive/Accordion.js';
|
|
51
|
+
export type { AccordionProps } from './reactive/Accordion.js';
|
|
52
|
+
export { Alert } from './reactive/Alert.js';
|
|
53
|
+
export type { AlertProps } from './reactive/Alert.js';
|
|
54
|
+
export { Button } from './reactive/Button.js';
|
|
55
|
+
export type { ButtonProps } from './reactive/Button.js';
|
|
56
|
+
export { Calendar } from './reactive/Calendar.js';
|
|
57
|
+
export type { CalendarProps } from './reactive/Calendar.js';
|
|
58
|
+
export { Checkbox } from './reactive/Checkbox.js';
|
|
59
|
+
export type { CheckboxProps } from './reactive/Checkbox.js';
|
|
60
|
+
export { Column } from './reactive/Column.js';
|
|
61
|
+
export type { ColumnProps } from './reactive/Column.js';
|
|
62
|
+
export { Combobox } from './reactive/Combobox.js';
|
|
63
|
+
export type { ComboboxProps } from './reactive/Combobox.js';
|
|
64
|
+
export { CommandItem } from './reactive/CommandItem.js';
|
|
65
|
+
export type { CommandItemProps } from './reactive/CommandItem.js';
|
|
66
|
+
export { CommandPalette } from './reactive/CommandPalette.js';
|
|
67
|
+
export type { CommandPaletteProps } from './reactive/CommandPalette.js';
|
|
68
|
+
export { ContextMenu } from './reactive/ContextMenu.js';
|
|
69
|
+
export type { ContextMenuProps } from './reactive/ContextMenu.js';
|
|
70
|
+
export { CopyButton } from './reactive/CopyButton.js';
|
|
71
|
+
export type { CopyButtonProps } from './reactive/CopyButton.js';
|
|
72
|
+
export { DataTable } from './reactive/DataTable.js';
|
|
73
|
+
export type { DataTableProps } from './reactive/DataTable.js';
|
|
74
|
+
export { DatePicker } from './reactive/DatePicker.js';
|
|
75
|
+
export type { DatePickerProps } from './reactive/DatePicker.js';
|
|
76
|
+
export { Drawer } from './reactive/Drawer.js';
|
|
77
|
+
export type { DrawerProps } from './reactive/Drawer.js';
|
|
78
|
+
export { DropdownMenu } from './reactive/DropdownMenu.js';
|
|
79
|
+
export type { DropdownMenuProps } from './reactive/DropdownMenu.js';
|
|
80
|
+
export { FileUpload } from './reactive/FileUpload.js';
|
|
81
|
+
export type { FileUploadProps } from './reactive/FileUpload.js';
|
|
82
|
+
export { Form } from './reactive/Form.js';
|
|
83
|
+
export type { FormProps } from './reactive/Form.js';
|
|
84
|
+
export { HoverCard } from './reactive/HoverCard.js';
|
|
85
|
+
export type { HoverCardProps } from './reactive/HoverCard.js';
|
|
86
|
+
export { IconButton } from './reactive/IconButton.js';
|
|
87
|
+
export type { IconButtonProps } from './reactive/IconButton.js';
|
|
88
|
+
export { Input } from './reactive/Input.js';
|
|
89
|
+
export type { InputProps } from './reactive/Input.js';
|
|
90
|
+
export { Modal } from './reactive/Modal.js';
|
|
91
|
+
export type { ModalProps } from './reactive/Modal.js';
|
|
92
|
+
export { MultiSelect } from './reactive/MultiSelect.js';
|
|
93
|
+
export type { MultiSelectProps } from './reactive/MultiSelect.js';
|
|
94
|
+
export { Pagination } from './reactive/Pagination.js';
|
|
95
|
+
export type { PaginationProps } from './reactive/Pagination.js';
|
|
96
|
+
export { Popover } from './reactive/Popover.js';
|
|
97
|
+
export type { PopoverProps } from './reactive/Popover.js';
|
|
98
|
+
export { Progress } from './reactive/Progress.js';
|
|
99
|
+
export type { ProgressProps } from './reactive/Progress.js';
|
|
100
|
+
export { RadioGroup } from './reactive/RadioGroup.js';
|
|
101
|
+
export type { RadioGroupProps } from './reactive/RadioGroup.js';
|
|
102
|
+
export { Radio } from './reactive/Radio.js';
|
|
103
|
+
export type { RadioProps } from './reactive/Radio.js';
|
|
104
|
+
export { Search } from './reactive/Search.js';
|
|
105
|
+
export type { SearchProps } from './reactive/Search.js';
|
|
106
|
+
export { Select } from './reactive/Select.js';
|
|
107
|
+
export type { SelectProps } from './reactive/Select.js';
|
|
108
|
+
export { Slider } from './reactive/Slider.js';
|
|
109
|
+
export type { SliderProps } from './reactive/Slider.js';
|
|
110
|
+
export { Suggestion } from './reactive/Suggestion.js';
|
|
111
|
+
export type { SuggestionProps } from './reactive/Suggestion.js';
|
|
112
|
+
export { Tab } from './reactive/Tab.js';
|
|
113
|
+
export type { TabProps } from './reactive/Tab.js';
|
|
114
|
+
export { Tabs } from './reactive/Tabs.js';
|
|
115
|
+
export type { TabsProps } from './reactive/Tabs.js';
|
|
116
|
+
export { Tag } from './reactive/Tag.js';
|
|
117
|
+
export type { TagProps } from './reactive/Tag.js';
|
|
118
|
+
export { Textarea } from './reactive/Textarea.js';
|
|
119
|
+
export type { TextareaProps } from './reactive/Textarea.js';
|
|
120
|
+
export { ThemeToggle } from './reactive/ThemeToggle.js';
|
|
121
|
+
export type { ThemeToggleProps } from './reactive/ThemeToggle.js';
|
|
122
|
+
export { Toast } from './reactive/Toast.js';
|
|
123
|
+
export type { ToastProps } from './reactive/Toast.js';
|
|
124
|
+
export { Toggle } from './reactive/Toggle.js';
|
|
125
|
+
export type { ToggleProps } from './reactive/Toggle.js';
|
|
126
|
+
export { Tooltip } from './reactive/Tooltip.js';
|
|
127
|
+
export type { TooltipProps } from './reactive/Tooltip.js';
|
|
128
|
+
export { TreeItem } from './reactive/TreeItem.js';
|
|
129
|
+
export type { TreeItemProps } from './reactive/TreeItem.js';
|
|
130
|
+
export { TreeView } from './reactive/TreeView.js';
|
|
131
|
+
export type { TreeViewProps } from './reactive/TreeView.js';
|
|
132
|
+
export { AppShell } from './application/AppShell.js';
|
|
133
|
+
export type { AppShellProps } from './application/AppShell.js';
|
|
134
|
+
export { AuthShell } from './application/AuthShell.js';
|
|
135
|
+
export type { AuthShellProps } from './application/AuthShell.js';
|
|
136
|
+
export { BreadcrumbItem } from './application/BreadcrumbItem.js';
|
|
137
|
+
export type { BreadcrumbItemProps } from './application/BreadcrumbItem.js';
|
|
138
|
+
export { Breadcrumb } from './application/Breadcrumb.js';
|
|
139
|
+
export type { BreadcrumbProps } from './application/Breadcrumb.js';
|
|
140
|
+
export { Container } from './application/Container.js';
|
|
141
|
+
export type { ContainerProps } from './application/Container.js';
|
|
142
|
+
export { DashboardGrid } from './application/DashboardGrid.js';
|
|
143
|
+
export type { DashboardGridProps } from './application/DashboardGrid.js';
|
|
144
|
+
export { Footer } from './application/Footer.js';
|
|
145
|
+
export type { FooterProps } from './application/Footer.js';
|
|
146
|
+
export { NavItem } from './application/NavItem.js';
|
|
147
|
+
export type { NavItemProps } from './application/NavItem.js';
|
|
148
|
+
export { NavigationMenu } from './application/NavigationMenu.js';
|
|
149
|
+
export type { NavigationMenuProps } from './application/NavigationMenu.js';
|
|
150
|
+
export { NotificationPanel } from './application/NotificationPanel.js';
|
|
151
|
+
export type { NotificationPanelProps } from './application/NotificationPanel.js';
|
|
152
|
+
export { PageHeader } from './application/PageHeader.js';
|
|
153
|
+
export type { PageHeaderProps } from './application/PageHeader.js';
|
|
154
|
+
export { PageLayout } from './application/PageLayout.js';
|
|
155
|
+
export type { PageLayoutProps } from './application/PageLayout.js';
|
|
156
|
+
export { Resizable } from './application/Resizable.js';
|
|
157
|
+
export type { ResizableProps } from './application/Resizable.js';
|
|
158
|
+
export { ScrollSpy } from './application/ScrollSpy.js';
|
|
159
|
+
export type { ScrollSpyProps } from './application/ScrollSpy.js';
|
|
160
|
+
export { Section } from './application/Section.js';
|
|
161
|
+
export type { SectionProps } from './application/Section.js';
|
|
162
|
+
export { SettingsLayout } from './application/SettingsLayout.js';
|
|
163
|
+
export type { SettingsLayoutProps } from './application/SettingsLayout.js';
|
|
164
|
+
export { SidebarLink } from './application/SidebarLink.js';
|
|
165
|
+
export type { SidebarLinkProps } from './application/SidebarLink.js';
|
|
166
|
+
export { SidebarSection } from './application/SidebarSection.js';
|
|
167
|
+
export type { SidebarSectionProps } from './application/SidebarSection.js';
|
|
168
|
+
export { Sidebar } from './application/Sidebar.js';
|
|
169
|
+
export type { SidebarProps } from './application/Sidebar.js';
|
|
170
|
+
export { SplitPane } from './application/SplitPane.js';
|
|
171
|
+
export type { SplitPaneProps } from './application/SplitPane.js';
|
|
172
|
+
export { SpyLink } from './application/SpyLink.js';
|
|
173
|
+
export type { SpyLinkProps } from './application/SpyLink.js';
|
|
174
|
+
export { StatusBar } from './application/StatusBar.js';
|
|
175
|
+
export type { StatusBarProps } from './application/StatusBar.js';
|
|
176
|
+
export { Toolbar } from './application/Toolbar.js';
|
|
177
|
+
export type { ToolbarProps } from './application/Toolbar.js';
|
|
178
|
+
export { TopBar } from './application/TopBar.js';
|
|
179
|
+
export type { TopBarProps } from './application/TopBar.js';
|
|
180
|
+
|
|
181
|
+
export { AnimatedNumber } from './content/AnimatedNumber.js';
|
|
182
|
+
export type { AnimatedNumberProps } from './content/AnimatedNumber.js';
|
|
183
|
+
|
|
184
|
+
export { AspectRatio } from './content/AspectRatio.js';
|
|
185
|
+
export type { AspectRatioProps } from './content/AspectRatio.js';
|
|
186
|
+
|
|
187
|
+
export { Highlight } from './content/Highlight.js';
|
|
188
|
+
export type { HighlightProps } from './content/Highlight.js';
|
|
189
|
+
|
|
190
|
+
export { Markdown } from './content/Markdown.js';
|
|
191
|
+
export type { MarkdownProps } from './content/Markdown.js';
|
|
192
|
+
|
|
193
|
+
export { Marquee } from './content/Marquee.js';
|
|
194
|
+
export type { MarqueeProps } from './content/Marquee.js';
|
|
195
|
+
|
|
196
|
+
export { Meter } from './content/Meter.js';
|
|
197
|
+
export type { MeterProps } from './content/Meter.js';
|
|
198
|
+
|
|
199
|
+
export { ScrollArea } from './content/ScrollArea.js';
|
|
200
|
+
export type { ScrollAreaProps } from './content/ScrollArea.js';
|
|
201
|
+
|
|
202
|
+
export { Stack } from './content/Stack.js';
|
|
203
|
+
export type { StackProps } from './content/Stack.js';
|
|
204
|
+
|
|
205
|
+
export { Carousel } from './reactive/Carousel.js';
|
|
206
|
+
export type { CarouselProps } from './reactive/Carousel.js';
|
|
207
|
+
|
|
208
|
+
export { Chip } from './reactive/Chip.js';
|
|
209
|
+
export type { ChipProps } from './reactive/Chip.js';
|
|
210
|
+
|
|
211
|
+
export { Collapsible } from './reactive/Collapsible.js';
|
|
212
|
+
export type { CollapsibleProps } from './reactive/Collapsible.js';
|
|
213
|
+
|
|
214
|
+
export { ColorPicker } from './reactive/ColorPicker.js';
|
|
215
|
+
export type { ColorPickerProps } from './reactive/ColorPicker.js';
|
|
216
|
+
|
|
217
|
+
export { Dialog } from './reactive/Dialog.js';
|
|
218
|
+
export type { DialogProps } from './reactive/Dialog.js';
|
|
219
|
+
|
|
220
|
+
export { InfiniteScroll } from './reactive/InfiniteScroll.js';
|
|
221
|
+
export type { InfiniteScrollProps } from './reactive/InfiniteScroll.js';
|
|
222
|
+
|
|
223
|
+
export { NumberInput } from './reactive/NumberInput.js';
|
|
224
|
+
export type { NumberInputProps } from './reactive/NumberInput.js';
|
|
225
|
+
|
|
226
|
+
export { OtpInput } from './reactive/OtpInput.js';
|
|
227
|
+
export type { OtpInputProps } from './reactive/OtpInput.js';
|
|
228
|
+
|
|
229
|
+
export { PinInput } from './reactive/PinInput.js';
|
|
230
|
+
export type { PinInputProps } from './reactive/PinInput.js';
|
|
231
|
+
|
|
232
|
+
export { Rating } from './reactive/Rating.js';
|
|
233
|
+
export type { RatingProps } from './reactive/Rating.js';
|
|
234
|
+
|
|
235
|
+
export { ScrollToTop } from './reactive/ScrollToTop.js';
|
|
236
|
+
export type { ScrollToTopProps } from './reactive/ScrollToTop.js';
|
|
237
|
+
|
|
238
|
+
export { SegmentedControl } from './reactive/SegmentedControl.js';
|
|
239
|
+
export type { SegmentedControlProps } from './reactive/SegmentedControl.js';
|
|
240
|
+
|
|
241
|
+
export { Sheet } from './reactive/Sheet.js';
|
|
242
|
+
export type { SheetProps } from './reactive/Sheet.js';
|
|
243
|
+
|
|
244
|
+
export { SortableList } from './reactive/SortableList.js';
|
|
245
|
+
export type { SortableListProps } from './reactive/SortableList.js';
|
|
246
|
+
|
|
247
|
+
export { Truncate } from './reactive/Truncate.js';
|
|
248
|
+
export type { TruncateProps } from './reactive/Truncate.js';
|
|
249
|
+
|
|
250
|
+
export { MenuDivider } from './shared/MenuDivider.js';
|
|
251
|
+
export type { MenuDividerProps } from './shared/MenuDivider.js';
|
|
252
|
+
|
|
253
|
+
export { MenuItem } from './shared/MenuItem.js';
|
|
254
|
+
export type { MenuItemProps } from './shared/MenuItem.js';
|
|
255
|
+
|
|
256
|
+
export { Option } from './shared/Option.js';
|
|
257
|
+
export type { OptionProps } from './shared/Option.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface ButtonProps {
|
|
7
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
8
|
+
size?: 'sm' | 'md' | 'lg';
|
|
9
|
+
href?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
type?: string;
|
|
12
|
+
children?: preact.ComponentChildren;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Button: FunctionComponent<ButtonProps> = ({ variant, size, href, disabled, type, children, ...rest }) => (
|
|
17
|
+
<arc-button variant={variant} size={size} href={href} disabled={disabled} type={type} {...rest}>
|
|
18
|
+
{children}
|
|
19
|
+
</arc-button>
|
|
20
|
+
);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface CalendarProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
min?: string;
|
|
9
|
+
max?: string;
|
|
10
|
+
month?: number;
|
|
11
|
+
year?: number;
|
|
12
|
+
_focusedDay?: string;
|
|
13
|
+
children?: preact.ComponentChildren;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Calendar: FunctionComponent<CalendarProps> = ({ value, min, max, month, year, _focusedDay, children, ...rest }) => (
|
|
18
|
+
<arc-calendar value={value} min={min} max={max} month={month} year={year} _focusedDay={_focusedDay} {...rest}>
|
|
19
|
+
{children}
|
|
20
|
+
</arc-calendar>
|
|
21
|
+
);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface CheckboxProps {
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
indeterminate?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
value?: string;
|
|
13
|
+
children?: preact.ComponentChildren;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Checkbox: FunctionComponent<CheckboxProps> = ({ checked, indeterminate, disabled, label, name, value, children, ...rest }) => (
|
|
18
|
+
<arc-checkbox checked={checked} indeterminate={indeterminate} disabled={disabled} label={label} name={name} value={value} {...rest}>
|
|
19
|
+
{children}
|
|
20
|
+
</arc-checkbox>
|
|
21
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface ChipProps {
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
value?: string;
|
|
10
|
+
children?: preact.ComponentChildren;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Chip: FunctionComponent<ChipProps> = ({ selected, disabled, value, children, ...rest }) => (
|
|
15
|
+
<arc-chip selected={selected} disabled={disabled} value={value} {...rest}>
|
|
16
|
+
{children}
|
|
17
|
+
</arc-chip>
|
|
18
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface ColorPickerProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
presets?: unknown[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
label?: string;
|
|
11
|
+
_hue?: string;
|
|
12
|
+
_sat?: string;
|
|
13
|
+
_lit?: string;
|
|
14
|
+
_hexInput?: string;
|
|
15
|
+
_draggingArea?: string;
|
|
16
|
+
_draggingHue?: string;
|
|
17
|
+
children?: preact.ComponentChildren;
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const ColorPicker: FunctionComponent<ColorPickerProps> = ({ value, presets, disabled, label, _hue, _sat, _lit, _hexInput, _draggingArea, _draggingHue, children, ...rest }) => (
|
|
22
|
+
<arc-color-picker value={value} presets={presets} disabled={disabled} label={label} _hue={_hue} _sat={_sat} _lit={_lit} _hexInput={_hexInput} _draggingArea={_draggingArea} _draggingHue={_draggingHue} {...rest}>
|
|
23
|
+
{children}
|
|
24
|
+
</arc-color-picker>
|
|
25
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface ComboboxProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
_query?: string;
|
|
12
|
+
_open?: string;
|
|
13
|
+
_activeIndex?: string;
|
|
14
|
+
_options?: string;
|
|
15
|
+
children?: preact.ComponentChildren;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Combobox: FunctionComponent<ComboboxProps> = ({ value, placeholder, label, disabled, _query, _open, _activeIndex, _options, children, ...rest }) => (
|
|
20
|
+
<arc-combobox value={value} placeholder={placeholder} label={label} disabled={disabled} _query={_query} _open={_open} _activeIndex={_activeIndex} _options={_options} {...rest}>
|
|
21
|
+
{children}
|
|
22
|
+
</arc-combobox>
|
|
23
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface CopyButtonProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
_copied?: string;
|
|
10
|
+
children?: preact.ComponentChildren;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const CopyButton: FunctionComponent<CopyButtonProps> = ({ value, disabled, _copied, children, ...rest }) => (
|
|
15
|
+
<arc-copy-button value={value} disabled={disabled} _copied={_copied} {...rest}>
|
|
16
|
+
{children}
|
|
17
|
+
</arc-copy-button>
|
|
18
|
+
);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface DatePickerProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
min?: string;
|
|
9
|
+
max?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
_open?: string;
|
|
14
|
+
_viewMonth?: string;
|
|
15
|
+
_viewYear?: string;
|
|
16
|
+
_mode?: string;
|
|
17
|
+
children?: preact.ComponentChildren;
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const DatePicker: FunctionComponent<DatePickerProps> = ({ value, min, max, placeholder, disabled, label, _open, _viewMonth, _viewYear, _mode, children, ...rest }) => (
|
|
22
|
+
<arc-date-picker value={value} min={min} max={max} placeholder={placeholder} disabled={disabled} label={label} _open={_open} _viewMonth={_viewMonth} _viewYear={_viewYear} _mode={_mode} {...rest}>
|
|
23
|
+
{children}
|
|
24
|
+
</arc-date-picker>
|
|
25
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface FileUploadProps {
|
|
7
|
+
accept?: string;
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
maxSize?: number;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
_files?: string;
|
|
12
|
+
_dragOver?: string;
|
|
13
|
+
_error?: string;
|
|
14
|
+
children?: preact.ComponentChildren;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const FileUpload: FunctionComponent<FileUploadProps> = ({ accept, multiple, maxSize, disabled, _files, _dragOver, _error, children, ...rest }) => (
|
|
19
|
+
<arc-file-upload accept={accept} multiple={multiple} maxSize={maxSize} disabled={disabled} _files={_files} _dragOver={_dragOver} _error={_error} {...rest}>
|
|
20
|
+
{children}
|
|
21
|
+
</arc-file-upload>
|
|
22
|
+
);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface FormProps {
|
|
7
|
+
action?: string;
|
|
8
|
+
method?: string;
|
|
9
|
+
novalidate?: boolean;
|
|
10
|
+
children?: preact.ComponentChildren;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Form: FunctionComponent<FormProps> = ({ action, method, novalidate, children, ...rest }) => (
|
|
15
|
+
<arc-form action={action} method={method} novalidate={novalidate} {...rest}>
|
|
16
|
+
{children}
|
|
17
|
+
</arc-form>
|
|
18
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface IconButtonProps {
|
|
7
|
+
name?: string;
|
|
8
|
+
text?: string;
|
|
9
|
+
variant?: 'ghost' | 'secondary' | 'primary';
|
|
10
|
+
size?: 'xs' | 'sm' | 'md' | 'lg';
|
|
11
|
+
label?: string;
|
|
12
|
+
href?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
type?: string;
|
|
15
|
+
children?: preact.ComponentChildren;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const IconButton: FunctionComponent<IconButtonProps> = ({ name, text, variant, size, label, href, disabled, type, children, ...rest }) => (
|
|
20
|
+
<arc-icon-button name={name} text={text} variant={variant} size={size} label={label} href={href} disabled={disabled} type={type} {...rest}>
|
|
21
|
+
{children}
|
|
22
|
+
</arc-icon-button>
|
|
23
|
+
);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface InputProps {
|
|
7
|
+
type?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
value?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
multiline?: boolean;
|
|
15
|
+
rows?: number;
|
|
16
|
+
children?: preact.ComponentChildren;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const Input: FunctionComponent<InputProps> = ({ type, name, label, placeholder, value, disabled, required, multiline, rows, children, ...rest }) => (
|
|
21
|
+
<arc-input type={type} name={name} label={label} placeholder={placeholder} value={value} disabled={disabled} required={required} multiline={multiline} rows={rows} {...rest}>
|
|
22
|
+
{children}
|
|
23
|
+
</arc-input>
|
|
24
|
+
);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface MultiSelectProps {
|
|
7
|
+
value?: unknown[];
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
_query?: string;
|
|
12
|
+
_open?: string;
|
|
13
|
+
_activeIndex?: string;
|
|
14
|
+
_options?: string;
|
|
15
|
+
children?: preact.ComponentChildren;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const MultiSelect: FunctionComponent<MultiSelectProps> = ({ value, placeholder, label, disabled, _query, _open, _activeIndex, _options, children, ...rest }) => (
|
|
20
|
+
<arc-multi-select value={value} placeholder={placeholder} label={label} disabled={disabled} _query={_query} _open={_open} _activeIndex={_activeIndex} _options={_options} {...rest}>
|
|
21
|
+
{children}
|
|
22
|
+
</arc-multi-select>
|
|
23
|
+
);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface NumberInputProps {
|
|
7
|
+
value?: number;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
step?: number;
|
|
11
|
+
label?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
children?: preact.ComponentChildren;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const NumberInput: FunctionComponent<NumberInputProps> = ({ value, min, max, step, label, disabled, children, ...rest }) => (
|
|
18
|
+
<arc-number-input value={value} min={min} max={max} step={step} label={label} disabled={disabled} {...rest}>
|
|
19
|
+
{children}
|
|
20
|
+
</arc-number-input>
|
|
21
|
+
);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface OtpInputProps {
|
|
7
|
+
length?: number;
|
|
8
|
+
value?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
type?: string;
|
|
11
|
+
children?: preact.ComponentChildren;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const OtpInput: FunctionComponent<OtpInputProps> = ({ length, value, disabled, type, children, ...rest }) => (
|
|
16
|
+
<arc-otp-input length={length} value={value} disabled={disabled} type={type} {...rest}>
|
|
17
|
+
{children}
|
|
18
|
+
</arc-otp-input>
|
|
19
|
+
);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface PinInputProps {
|
|
7
|
+
length?: number;
|
|
8
|
+
value?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
mask?: boolean;
|
|
11
|
+
type?: string;
|
|
12
|
+
separator?: number;
|
|
13
|
+
label?: string;
|
|
14
|
+
children?: preact.ComponentChildren;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const PinInput: FunctionComponent<PinInputProps> = ({ length, value, disabled, mask, type, separator, label, children, ...rest }) => (
|
|
19
|
+
<arc-pin-input length={length} value={value} disabled={disabled} mask={mask} type={type} separator={separator} label={label} {...rest}>
|
|
20
|
+
{children}
|
|
21
|
+
</arc-pin-input>
|
|
22
|
+
);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface RadioProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
children?: preact.ComponentChildren;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Radio: FunctionComponent<RadioProps> = ({ value, disabled, children, ...rest }) => (
|
|
14
|
+
<arc-radio value={value} disabled={disabled} {...rest}>
|
|
15
|
+
{children}
|
|
16
|
+
</arc-radio>
|
|
17
|
+
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { type FunctionComponent } from 'preact';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface RadioGroupProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
orientation?: 'horizontal';
|
|
11
|
+
_radios?: string;
|
|
12
|
+
children?: preact.ComponentChildren;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const RadioGroup: FunctionComponent<RadioGroupProps> = ({ value, name, disabled, orientation, _radios, children, ...rest }) => (
|
|
17
|
+
<arc-radio-group value={value} name={name} disabled={disabled} orientation={orientation} _radios={_radios} {...rest}>
|
|
18
|
+
{children}
|
|
19
|
+
</arc-radio-group>
|
|
20
|
+
);
|