@arclux/arc-ui-solid 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 +72 -0
- package/src/application/AppShell.tsx +19 -0
- package/src/application/AuthShell.tsx +19 -0
- package/src/application/Breadcrumb.tsx +19 -0
- package/src/application/BreadcrumbItem.tsx +19 -0
- package/src/application/Container.tsx +19 -0
- package/src/application/DashboardGrid.tsx +21 -0
- package/src/application/Footer.tsx +20 -0
- package/src/application/NavItem.tsx +21 -0
- package/src/application/NavigationMenu.tsx +20 -0
- package/src/application/NotificationPanel.tsx +21 -0
- package/src/application/PageHeader.tsx +20 -0
- package/src/application/PageLayout.tsx +21 -0
- package/src/application/Resizable.tsx +23 -0
- package/src/application/ScrollSpy.tsx +22 -0
- package/src/application/Section.tsx +19 -0
- package/src/application/SettingsLayout.tsx +19 -0
- package/src/application/Sidebar.tsx +23 -0
- package/src/application/SidebarLink.tsx +20 -0
- package/src/application/SidebarSection.tsx +21 -0
- package/src/application/SplitPane.tsx +22 -0
- package/src/application/SpyLink.tsx +19 -0
- package/src/application/StatusBar.tsx +19 -0
- package/src/application/Toolbar.tsx +21 -0
- package/src/application/TopBar.tsx +21 -0
- package/src/application/index.ts +45 -0
- package/src/content/Accordion.tsx +20 -0
- package/src/content/AccordionItem.tsx +19 -0
- package/src/content/AnimatedNumber.tsx +25 -0
- package/src/content/AspectRatio.tsx +19 -0
- package/src/content/Avatar.tsx +21 -0
- package/src/content/AvatarGroup.tsx +20 -0
- package/src/content/Badge.tsx +19 -0
- package/src/content/Callout.tsx +19 -0
- package/src/content/Card.tsx +19 -0
- package/src/content/Carousel.tsx +25 -0
- package/src/content/CodeBlock.tsx +22 -0
- package/src/content/Collapsible.tsx +20 -0
- package/src/content/ColorSwatch.tsx +21 -0
- package/src/content/Column.tsx +22 -0
- package/src/content/DataTable.tsx +25 -0
- package/src/content/Divider.tsx +21 -0
- package/src/content/EmptyState.tsx +20 -0
- package/src/content/FeatureCard.tsx +22 -0
- package/src/content/Highlight.tsx +21 -0
- package/src/content/Icon.tsx +21 -0
- package/src/content/InfiniteScroll.tsx +22 -0
- package/src/content/Kbd.tsx +18 -0
- package/src/content/Link.tsx +22 -0
- package/src/content/Markdown.tsx +19 -0
- package/src/content/Marquee.tsx +22 -0
- package/src/content/Meter.tsx +25 -0
- package/src/content/ScrollArea.tsx +20 -0
- package/src/content/Skeleton.tsx +21 -0
- package/src/content/Spinner.tsx +20 -0
- package/src/content/Stack.tsx +23 -0
- package/src/content/Stat.tsx +20 -0
- package/src/content/Step.tsx +19 -0
- package/src/content/Stepper.tsx +20 -0
- package/src/content/Table.tsx +22 -0
- package/src/content/Tag.tsx +21 -0
- package/src/content/Text.tsx +20 -0
- package/src/content/Timeline.tsx +19 -0
- package/src/content/TimelineItem.tsx +20 -0
- package/src/content/Truncate.tsx +20 -0
- package/src/content/ValueCard.tsx +21 -0
- package/src/content/index.ts +89 -0
- package/src/feedback/Alert.tsx +21 -0
- package/src/feedback/CommandItem.tsx +20 -0
- package/src/feedback/CommandPalette.tsx +23 -0
- package/src/feedback/ContextMenu.tsx +23 -0
- package/src/feedback/Dialog.tsx +22 -0
- package/src/feedback/DropdownMenu.tsx +21 -0
- package/src/feedback/HoverCard.tsx +22 -0
- package/src/feedback/Modal.tsx +22 -0
- package/src/feedback/NotificationPanel.tsx +21 -0
- package/src/feedback/Popover.tsx +21 -0
- package/src/feedback/Progress.tsx +23 -0
- package/src/feedback/Sheet.tsx +21 -0
- package/src/feedback/Toast.tsx +21 -0
- package/src/feedback/Tooltip.tsx +22 -0
- package/src/index.ts +257 -0
- package/src/input/Button.tsx +23 -0
- package/src/input/Calendar.tsx +24 -0
- package/src/input/Checkbox.tsx +24 -0
- package/src/input/Chip.tsx +21 -0
- package/src/input/ColorPicker.tsx +28 -0
- package/src/input/Combobox.tsx +26 -0
- package/src/input/CopyButton.tsx +21 -0
- package/src/input/DatePicker.tsx +28 -0
- package/src/input/FileUpload.tsx +25 -0
- package/src/input/Form.tsx +21 -0
- package/src/input/IconButton.tsx +26 -0
- package/src/input/Input.tsx +27 -0
- package/src/input/MultiSelect.tsx +26 -0
- package/src/input/NumberInput.tsx +24 -0
- package/src/input/OtpInput.tsx +22 -0
- package/src/input/PinInput.tsx +25 -0
- package/src/input/Radio.tsx +20 -0
- package/src/input/RadioGroup.tsx +23 -0
- package/src/input/Rating.tsx +22 -0
- package/src/input/Search.tsx +26 -0
- package/src/input/SegmentedControl.tsx +21 -0
- package/src/input/Select.tsx +25 -0
- package/src/input/Slider.tsx +24 -0
- package/src/input/SortableList.tsx +24 -0
- package/src/input/Suggestion.tsx +19 -0
- package/src/input/Textarea.tsx +27 -0
- package/src/input/ThemeToggle.tsx +21 -0
- package/src/input/Toggle.tsx +22 -0
- package/src/layout/AppShell.tsx +22 -0
- package/src/layout/AuthShell.tsx +19 -0
- package/src/layout/Container.tsx +19 -0
- package/src/layout/DashboardGrid.tsx +21 -0
- package/src/layout/PageHeader.tsx +20 -0
- package/src/layout/PageLayout.tsx +21 -0
- package/src/layout/Resizable.tsx +23 -0
- package/src/layout/Section.tsx +19 -0
- package/src/layout/SettingsLayout.tsx +19 -0
- package/src/layout/SplitPane.tsx +22 -0
- package/src/layout/StatusBar.tsx +19 -0
- package/src/layout/Toolbar.tsx +21 -0
- package/src/navigation/Breadcrumb.tsx +19 -0
- package/src/navigation/BreadcrumbItem.tsx +19 -0
- package/src/navigation/Drawer.tsx +21 -0
- package/src/navigation/Footer.tsx +20 -0
- package/src/navigation/Link.tsx +22 -0
- package/src/navigation/NavItem.tsx +21 -0
- package/src/navigation/NavigationMenu.tsx +23 -0
- package/src/navigation/Pagination.tsx +21 -0
- package/src/navigation/ScrollSpy.tsx +22 -0
- package/src/navigation/ScrollToTop.tsx +23 -0
- package/src/navigation/Sidebar.tsx +23 -0
- package/src/navigation/SidebarLink.tsx +20 -0
- package/src/navigation/SidebarSection.tsx +21 -0
- package/src/navigation/SpyLink.tsx +19 -0
- package/src/navigation/Tab.tsx +19 -0
- package/src/navigation/Tabs.tsx +21 -0
- package/src/navigation/TopBar.tsx +23 -0
- package/src/navigation/TreeItem.tsx +21 -0
- package/src/navigation/TreeView.tsx +20 -0
- package/src/reactive/Accordion.tsx +20 -0
- package/src/reactive/AccordionItem.tsx +19 -0
- package/src/reactive/Alert.tsx +21 -0
- package/src/reactive/Button.tsx +23 -0
- package/src/reactive/Calendar.tsx +24 -0
- package/src/reactive/Carousel.tsx +25 -0
- package/src/reactive/Checkbox.tsx +24 -0
- package/src/reactive/Chip.tsx +21 -0
- package/src/reactive/Collapsible.tsx +20 -0
- package/src/reactive/ColorPicker.tsx +28 -0
- package/src/reactive/Column.tsx +22 -0
- package/src/reactive/Combobox.tsx +26 -0
- package/src/reactive/CommandItem.tsx +20 -0
- package/src/reactive/CommandPalette.tsx +23 -0
- package/src/reactive/ContextMenu.tsx +23 -0
- package/src/reactive/CopyButton.tsx +21 -0
- package/src/reactive/DataTable.tsx +25 -0
- package/src/reactive/DatePicker.tsx +28 -0
- package/src/reactive/Dialog.tsx +22 -0
- package/src/reactive/Drawer.tsx +21 -0
- package/src/reactive/DropdownMenu.tsx +21 -0
- package/src/reactive/FileUpload.tsx +25 -0
- package/src/reactive/Form.tsx +21 -0
- package/src/reactive/HoverCard.tsx +22 -0
- package/src/reactive/IconButton.tsx +26 -0
- package/src/reactive/InfiniteScroll.tsx +22 -0
- package/src/reactive/Input.tsx +27 -0
- package/src/reactive/Modal.tsx +22 -0
- package/src/reactive/MultiSelect.tsx +26 -0
- package/src/reactive/NumberInput.tsx +24 -0
- package/src/reactive/OtpInput.tsx +22 -0
- package/src/reactive/Pagination.tsx +21 -0
- package/src/reactive/PinInput.tsx +25 -0
- package/src/reactive/Popover.tsx +21 -0
- package/src/reactive/Progress.tsx +23 -0
- package/src/reactive/Radio.tsx +20 -0
- package/src/reactive/RadioGroup.tsx +23 -0
- package/src/reactive/Rating.tsx +22 -0
- package/src/reactive/ScrollToTop.tsx +23 -0
- package/src/reactive/Search.tsx +26 -0
- package/src/reactive/SegmentedControl.tsx +21 -0
- package/src/reactive/Select.tsx +25 -0
- package/src/reactive/Sheet.tsx +21 -0
- package/src/reactive/Slider.tsx +24 -0
- package/src/reactive/SortableList.tsx +24 -0
- package/src/reactive/Suggestion.tsx +19 -0
- package/src/reactive/Tab.tsx +19 -0
- package/src/reactive/Tabs.tsx +21 -0
- package/src/reactive/Tag.tsx +21 -0
- package/src/reactive/Textarea.tsx +27 -0
- package/src/reactive/ThemeToggle.tsx +21 -0
- package/src/reactive/Toast.tsx +21 -0
- package/src/reactive/Toggle.tsx +22 -0
- package/src/reactive/Tooltip.tsx +22 -0
- package/src/reactive/TreeItem.tsx +21 -0
- package/src/reactive/TreeView.tsx +20 -0
- package/src/reactive/Truncate.tsx +20 -0
- package/src/reactive/index.ts +120 -0
- package/src/shared/MenuDivider.tsx +18 -0
- package/src/shared/MenuItem.tsx +21 -0
- package/src/shared/Option.tsx +21 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface ToastProps {
|
|
7
|
+
position?: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
8
|
+
duration?: number;
|
|
9
|
+
_toasts?: string;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Toast: Component<ToastProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['position', 'duration', '_toasts', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-toast position={local.position} duration={local.duration} _toasts={local._toasts} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-toast>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface TooltipProps {
|
|
7
|
+
content?: string;
|
|
8
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
9
|
+
delay?: number;
|
|
10
|
+
_visible?: string;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Tooltip: Component<TooltipProps> = (props) => {
|
|
16
|
+
const [local, rest] = splitProps(props, ['content', 'position', 'delay', '_visible', 'children']);
|
|
17
|
+
return (
|
|
18
|
+
<arc-tooltip content={local.content} position={local.position} delay={local.delay} _visible={local._visible} {...rest}>
|
|
19
|
+
{local.children}
|
|
20
|
+
</arc-tooltip>
|
|
21
|
+
);
|
|
22
|
+
};
|
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,23 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Button: Component<ButtonProps> = (props) => {
|
|
17
|
+
const [local, rest] = splitProps(props, ['variant', 'size', 'href', 'disabled', 'type', 'children']);
|
|
18
|
+
return (
|
|
19
|
+
<arc-button variant={local.variant} size={local.size} href={local.href} disabled={local.disabled} type={local.type} {...rest}>
|
|
20
|
+
{local.children}
|
|
21
|
+
</arc-button>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Calendar: Component<CalendarProps> = (props) => {
|
|
18
|
+
const [local, rest] = splitProps(props, ['value', 'min', 'max', 'month', 'year', '_focusedDay', 'children']);
|
|
19
|
+
return (
|
|
20
|
+
<arc-calendar value={local.value} min={local.min} max={local.max} month={local.month} year={local.year} _focusedDay={local._focusedDay} {...rest}>
|
|
21
|
+
{local.children}
|
|
22
|
+
</arc-calendar>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Checkbox: Component<CheckboxProps> = (props) => {
|
|
18
|
+
const [local, rest] = splitProps(props, ['checked', 'indeterminate', 'disabled', 'label', 'name', 'value', 'children']);
|
|
19
|
+
return (
|
|
20
|
+
<arc-checkbox checked={local.checked} indeterminate={local.indeterminate} disabled={local.disabled} label={local.label} name={local.name} value={local.value} {...rest}>
|
|
21
|
+
{local.children}
|
|
22
|
+
</arc-checkbox>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface ChipProps {
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
value?: string;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Chip: Component<ChipProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['selected', 'disabled', 'value', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-chip selected={local.selected} disabled={local.disabled} value={local.value} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-chip>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const ColorPicker: Component<ColorPickerProps> = (props) => {
|
|
22
|
+
const [local, rest] = splitProps(props, ['value', 'presets', 'disabled', 'label', '_hue', '_sat', '_lit', '_hexInput', '_draggingArea', '_draggingHue', 'children']);
|
|
23
|
+
return (
|
|
24
|
+
<arc-color-picker value={local.value} presets={local.presets} disabled={local.disabled} label={local.label} _hue={local._hue} _sat={local._sat} _lit={local._lit} _hexInput={local._hexInput} _draggingArea={local._draggingArea} _draggingHue={local._draggingHue} {...rest}>
|
|
25
|
+
{local.children}
|
|
26
|
+
</arc-color-picker>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Combobox: Component<ComboboxProps> = (props) => {
|
|
20
|
+
const [local, rest] = splitProps(props, ['value', 'placeholder', 'label', 'disabled', '_query', '_open', '_activeIndex', '_options', 'children']);
|
|
21
|
+
return (
|
|
22
|
+
<arc-combobox value={local.value} placeholder={local.placeholder} label={local.label} disabled={local.disabled} _query={local._query} _open={local._open} _activeIndex={local._activeIndex} _options={local._options} {...rest}>
|
|
23
|
+
{local.children}
|
|
24
|
+
</arc-combobox>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface CopyButtonProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
_copied?: string;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const CopyButton: Component<CopyButtonProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['value', 'disabled', '_copied', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-copy-button value={local.value} disabled={local.disabled} _copied={local._copied} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-copy-button>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
18
|
+
[key: string]: unknown;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const DatePicker: Component<DatePickerProps> = (props) => {
|
|
22
|
+
const [local, rest] = splitProps(props, ['value', 'min', 'max', 'placeholder', 'disabled', 'label', '_open', '_viewMonth', '_viewYear', '_mode', 'children']);
|
|
23
|
+
return (
|
|
24
|
+
<arc-date-picker value={local.value} min={local.min} max={local.max} placeholder={local.placeholder} disabled={local.disabled} label={local.label} _open={local._open} _viewMonth={local._viewMonth} _viewYear={local._viewYear} _mode={local._mode} {...rest}>
|
|
25
|
+
{local.children}
|
|
26
|
+
</arc-date-picker>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const FileUpload: Component<FileUploadProps> = (props) => {
|
|
19
|
+
const [local, rest] = splitProps(props, ['accept', 'multiple', 'maxSize', 'disabled', '_files', '_dragOver', '_error', 'children']);
|
|
20
|
+
return (
|
|
21
|
+
<arc-file-upload accept={local.accept} multiple={local.multiple} maxSize={local.maxSize} disabled={local.disabled} _files={local._files} _dragOver={local._dragOver} _error={local._error} {...rest}>
|
|
22
|
+
{local.children}
|
|
23
|
+
</arc-file-upload>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
4
|
+
import '@arclux/arc-ui';
|
|
5
|
+
|
|
6
|
+
export interface FormProps {
|
|
7
|
+
action?: string;
|
|
8
|
+
method?: string;
|
|
9
|
+
novalidate?: boolean;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Form: Component<FormProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['action', 'method', 'novalidate', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-form action={local.action} method={local.method} novalidate={local.novalidate} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-form>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const IconButton: Component<IconButtonProps> = (props) => {
|
|
20
|
+
const [local, rest] = splitProps(props, ['name', 'text', 'variant', 'size', 'label', 'href', 'disabled', 'type', 'children']);
|
|
21
|
+
return (
|
|
22
|
+
<arc-icon-button name={local.name} text={local.text} variant={local.variant} size={local.size} label={local.label} href={local.href} disabled={local.disabled} type={local.type} {...rest}>
|
|
23
|
+
{local.children}
|
|
24
|
+
</arc-icon-button>
|
|
25
|
+
);
|
|
26
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const Input: Component<InputProps> = (props) => {
|
|
21
|
+
const [local, rest] = splitProps(props, ['type', 'name', 'label', 'placeholder', 'value', 'disabled', 'required', 'multiline', 'rows', 'children']);
|
|
22
|
+
return (
|
|
23
|
+
<arc-input type={local.type} name={local.name} label={local.label} placeholder={local.placeholder} value={local.value} disabled={local.disabled} required={local.required} multiline={local.multiline} rows={local.rows} {...rest}>
|
|
24
|
+
{local.children}
|
|
25
|
+
</arc-input>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import { splitProps, type Component, type JSX } from 'solid-js';
|
|
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?: JSX.Element;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const MultiSelect: Component<MultiSelectProps> = (props) => {
|
|
20
|
+
const [local, rest] = splitProps(props, ['value', 'placeholder', 'label', 'disabled', '_query', '_open', '_activeIndex', '_options', 'children']);
|
|
21
|
+
return (
|
|
22
|
+
<arc-multi-select value={local.value} placeholder={local.placeholder} label={local.label} disabled={local.disabled} _query={local._query} _open={local._open} _activeIndex={local._activeIndex} _options={local._options} {...rest}>
|
|
23
|
+
{local.children}
|
|
24
|
+
</arc-multi-select>
|
|
25
|
+
);
|
|
26
|
+
};
|