@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.
Files changed (204) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +52 -0
  3. package/package.json +72 -0
  4. package/src/application/AppShell.tsx +19 -0
  5. package/src/application/AuthShell.tsx +19 -0
  6. package/src/application/Breadcrumb.tsx +19 -0
  7. package/src/application/BreadcrumbItem.tsx +19 -0
  8. package/src/application/Container.tsx +19 -0
  9. package/src/application/DashboardGrid.tsx +21 -0
  10. package/src/application/Footer.tsx +20 -0
  11. package/src/application/NavItem.tsx +21 -0
  12. package/src/application/NavigationMenu.tsx +20 -0
  13. package/src/application/NotificationPanel.tsx +21 -0
  14. package/src/application/PageHeader.tsx +20 -0
  15. package/src/application/PageLayout.tsx +21 -0
  16. package/src/application/Resizable.tsx +23 -0
  17. package/src/application/ScrollSpy.tsx +22 -0
  18. package/src/application/Section.tsx +19 -0
  19. package/src/application/SettingsLayout.tsx +19 -0
  20. package/src/application/Sidebar.tsx +23 -0
  21. package/src/application/SidebarLink.tsx +20 -0
  22. package/src/application/SidebarSection.tsx +21 -0
  23. package/src/application/SplitPane.tsx +22 -0
  24. package/src/application/SpyLink.tsx +19 -0
  25. package/src/application/StatusBar.tsx +19 -0
  26. package/src/application/Toolbar.tsx +21 -0
  27. package/src/application/TopBar.tsx +21 -0
  28. package/src/application/index.ts +45 -0
  29. package/src/content/Accordion.tsx +20 -0
  30. package/src/content/AccordionItem.tsx +19 -0
  31. package/src/content/AnimatedNumber.tsx +25 -0
  32. package/src/content/AspectRatio.tsx +19 -0
  33. package/src/content/Avatar.tsx +21 -0
  34. package/src/content/AvatarGroup.tsx +20 -0
  35. package/src/content/Badge.tsx +19 -0
  36. package/src/content/Callout.tsx +19 -0
  37. package/src/content/Card.tsx +19 -0
  38. package/src/content/Carousel.tsx +25 -0
  39. package/src/content/CodeBlock.tsx +22 -0
  40. package/src/content/Collapsible.tsx +20 -0
  41. package/src/content/ColorSwatch.tsx +21 -0
  42. package/src/content/Column.tsx +22 -0
  43. package/src/content/DataTable.tsx +25 -0
  44. package/src/content/Divider.tsx +21 -0
  45. package/src/content/EmptyState.tsx +20 -0
  46. package/src/content/FeatureCard.tsx +22 -0
  47. package/src/content/Highlight.tsx +21 -0
  48. package/src/content/Icon.tsx +21 -0
  49. package/src/content/InfiniteScroll.tsx +22 -0
  50. package/src/content/Kbd.tsx +18 -0
  51. package/src/content/Link.tsx +22 -0
  52. package/src/content/Markdown.tsx +19 -0
  53. package/src/content/Marquee.tsx +22 -0
  54. package/src/content/Meter.tsx +25 -0
  55. package/src/content/ScrollArea.tsx +20 -0
  56. package/src/content/Skeleton.tsx +21 -0
  57. package/src/content/Spinner.tsx +20 -0
  58. package/src/content/Stack.tsx +23 -0
  59. package/src/content/Stat.tsx +20 -0
  60. package/src/content/Step.tsx +19 -0
  61. package/src/content/Stepper.tsx +20 -0
  62. package/src/content/Table.tsx +22 -0
  63. package/src/content/Tag.tsx +21 -0
  64. package/src/content/Text.tsx +20 -0
  65. package/src/content/Timeline.tsx +19 -0
  66. package/src/content/TimelineItem.tsx +20 -0
  67. package/src/content/Truncate.tsx +20 -0
  68. package/src/content/ValueCard.tsx +21 -0
  69. package/src/content/index.ts +89 -0
  70. package/src/feedback/Alert.tsx +21 -0
  71. package/src/feedback/CommandItem.tsx +20 -0
  72. package/src/feedback/CommandPalette.tsx +23 -0
  73. package/src/feedback/ContextMenu.tsx +23 -0
  74. package/src/feedback/Dialog.tsx +22 -0
  75. package/src/feedback/DropdownMenu.tsx +21 -0
  76. package/src/feedback/HoverCard.tsx +22 -0
  77. package/src/feedback/Modal.tsx +22 -0
  78. package/src/feedback/NotificationPanel.tsx +21 -0
  79. package/src/feedback/Popover.tsx +21 -0
  80. package/src/feedback/Progress.tsx +23 -0
  81. package/src/feedback/Sheet.tsx +21 -0
  82. package/src/feedback/Toast.tsx +21 -0
  83. package/src/feedback/Tooltip.tsx +22 -0
  84. package/src/index.ts +257 -0
  85. package/src/input/Button.tsx +23 -0
  86. package/src/input/Calendar.tsx +24 -0
  87. package/src/input/Checkbox.tsx +24 -0
  88. package/src/input/Chip.tsx +21 -0
  89. package/src/input/ColorPicker.tsx +28 -0
  90. package/src/input/Combobox.tsx +26 -0
  91. package/src/input/CopyButton.tsx +21 -0
  92. package/src/input/DatePicker.tsx +28 -0
  93. package/src/input/FileUpload.tsx +25 -0
  94. package/src/input/Form.tsx +21 -0
  95. package/src/input/IconButton.tsx +26 -0
  96. package/src/input/Input.tsx +27 -0
  97. package/src/input/MultiSelect.tsx +26 -0
  98. package/src/input/NumberInput.tsx +24 -0
  99. package/src/input/OtpInput.tsx +22 -0
  100. package/src/input/PinInput.tsx +25 -0
  101. package/src/input/Radio.tsx +20 -0
  102. package/src/input/RadioGroup.tsx +23 -0
  103. package/src/input/Rating.tsx +22 -0
  104. package/src/input/Search.tsx +26 -0
  105. package/src/input/SegmentedControl.tsx +21 -0
  106. package/src/input/Select.tsx +25 -0
  107. package/src/input/Slider.tsx +24 -0
  108. package/src/input/SortableList.tsx +24 -0
  109. package/src/input/Suggestion.tsx +19 -0
  110. package/src/input/Textarea.tsx +27 -0
  111. package/src/input/ThemeToggle.tsx +21 -0
  112. package/src/input/Toggle.tsx +22 -0
  113. package/src/layout/AppShell.tsx +22 -0
  114. package/src/layout/AuthShell.tsx +19 -0
  115. package/src/layout/Container.tsx +19 -0
  116. package/src/layout/DashboardGrid.tsx +21 -0
  117. package/src/layout/PageHeader.tsx +20 -0
  118. package/src/layout/PageLayout.tsx +21 -0
  119. package/src/layout/Resizable.tsx +23 -0
  120. package/src/layout/Section.tsx +19 -0
  121. package/src/layout/SettingsLayout.tsx +19 -0
  122. package/src/layout/SplitPane.tsx +22 -0
  123. package/src/layout/StatusBar.tsx +19 -0
  124. package/src/layout/Toolbar.tsx +21 -0
  125. package/src/navigation/Breadcrumb.tsx +19 -0
  126. package/src/navigation/BreadcrumbItem.tsx +19 -0
  127. package/src/navigation/Drawer.tsx +21 -0
  128. package/src/navigation/Footer.tsx +20 -0
  129. package/src/navigation/Link.tsx +22 -0
  130. package/src/navigation/NavItem.tsx +21 -0
  131. package/src/navigation/NavigationMenu.tsx +23 -0
  132. package/src/navigation/Pagination.tsx +21 -0
  133. package/src/navigation/ScrollSpy.tsx +22 -0
  134. package/src/navigation/ScrollToTop.tsx +23 -0
  135. package/src/navigation/Sidebar.tsx +23 -0
  136. package/src/navigation/SidebarLink.tsx +20 -0
  137. package/src/navigation/SidebarSection.tsx +21 -0
  138. package/src/navigation/SpyLink.tsx +19 -0
  139. package/src/navigation/Tab.tsx +19 -0
  140. package/src/navigation/Tabs.tsx +21 -0
  141. package/src/navigation/TopBar.tsx +23 -0
  142. package/src/navigation/TreeItem.tsx +21 -0
  143. package/src/navigation/TreeView.tsx +20 -0
  144. package/src/reactive/Accordion.tsx +20 -0
  145. package/src/reactive/AccordionItem.tsx +19 -0
  146. package/src/reactive/Alert.tsx +21 -0
  147. package/src/reactive/Button.tsx +23 -0
  148. package/src/reactive/Calendar.tsx +24 -0
  149. package/src/reactive/Carousel.tsx +25 -0
  150. package/src/reactive/Checkbox.tsx +24 -0
  151. package/src/reactive/Chip.tsx +21 -0
  152. package/src/reactive/Collapsible.tsx +20 -0
  153. package/src/reactive/ColorPicker.tsx +28 -0
  154. package/src/reactive/Column.tsx +22 -0
  155. package/src/reactive/Combobox.tsx +26 -0
  156. package/src/reactive/CommandItem.tsx +20 -0
  157. package/src/reactive/CommandPalette.tsx +23 -0
  158. package/src/reactive/ContextMenu.tsx +23 -0
  159. package/src/reactive/CopyButton.tsx +21 -0
  160. package/src/reactive/DataTable.tsx +25 -0
  161. package/src/reactive/DatePicker.tsx +28 -0
  162. package/src/reactive/Dialog.tsx +22 -0
  163. package/src/reactive/Drawer.tsx +21 -0
  164. package/src/reactive/DropdownMenu.tsx +21 -0
  165. package/src/reactive/FileUpload.tsx +25 -0
  166. package/src/reactive/Form.tsx +21 -0
  167. package/src/reactive/HoverCard.tsx +22 -0
  168. package/src/reactive/IconButton.tsx +26 -0
  169. package/src/reactive/InfiniteScroll.tsx +22 -0
  170. package/src/reactive/Input.tsx +27 -0
  171. package/src/reactive/Modal.tsx +22 -0
  172. package/src/reactive/MultiSelect.tsx +26 -0
  173. package/src/reactive/NumberInput.tsx +24 -0
  174. package/src/reactive/OtpInput.tsx +22 -0
  175. package/src/reactive/Pagination.tsx +21 -0
  176. package/src/reactive/PinInput.tsx +25 -0
  177. package/src/reactive/Popover.tsx +21 -0
  178. package/src/reactive/Progress.tsx +23 -0
  179. package/src/reactive/Radio.tsx +20 -0
  180. package/src/reactive/RadioGroup.tsx +23 -0
  181. package/src/reactive/Rating.tsx +22 -0
  182. package/src/reactive/ScrollToTop.tsx +23 -0
  183. package/src/reactive/Search.tsx +26 -0
  184. package/src/reactive/SegmentedControl.tsx +21 -0
  185. package/src/reactive/Select.tsx +25 -0
  186. package/src/reactive/Sheet.tsx +21 -0
  187. package/src/reactive/Slider.tsx +24 -0
  188. package/src/reactive/SortableList.tsx +24 -0
  189. package/src/reactive/Suggestion.tsx +19 -0
  190. package/src/reactive/Tab.tsx +19 -0
  191. package/src/reactive/Tabs.tsx +21 -0
  192. package/src/reactive/Tag.tsx +21 -0
  193. package/src/reactive/Textarea.tsx +27 -0
  194. package/src/reactive/ThemeToggle.tsx +21 -0
  195. package/src/reactive/Toast.tsx +21 -0
  196. package/src/reactive/Toggle.tsx +22 -0
  197. package/src/reactive/Tooltip.tsx +22 -0
  198. package/src/reactive/TreeItem.tsx +21 -0
  199. package/src/reactive/TreeView.tsx +20 -0
  200. package/src/reactive/Truncate.tsx +20 -0
  201. package/src/reactive/index.ts +120 -0
  202. package/src/shared/MenuDivider.tsx +18 -0
  203. package/src/shared/MenuItem.tsx +21 -0
  204. package/src/shared/Option.tsx +21 -0
@@ -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,20 @@
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 CommandItemProps {
7
+ shortcut?: string;
8
+ icon?: string;
9
+ children?: JSX.Element;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const CommandItem: Component<CommandItemProps> = (props) => {
14
+ const [local, rest] = splitProps(props, ['shortcut', 'icon', 'children']);
15
+ return (
16
+ <arc-command-item shortcut={local.shortcut} icon={local.icon} {...rest}>
17
+ {local.children}
18
+ </arc-command-item>
19
+ );
20
+ };
@@ -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 CommandPaletteProps {
7
+ open?: boolean;
8
+ placeholder?: string;
9
+ _query?: string;
10
+ _focusedIndex?: string;
11
+ _items?: string;
12
+ children?: JSX.Element;
13
+ [key: string]: unknown;
14
+ }
15
+
16
+ export const CommandPalette: Component<CommandPaletteProps> = (props) => {
17
+ const [local, rest] = splitProps(props, ['open', 'placeholder', '_query', '_focusedIndex', '_items', 'children']);
18
+ return (
19
+ <arc-command-palette open={local.open} placeholder={local.placeholder} _query={local._query} _focusedIndex={local._focusedIndex} _items={local._items} {...rest}>
20
+ {local.children}
21
+ </arc-command-palette>
22
+ );
23
+ };
@@ -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 ContextMenuProps {
7
+ open?: boolean;
8
+ _x?: string;
9
+ _y?: string;
10
+ _activeIndex?: string;
11
+ _children?: string;
12
+ children?: JSX.Element;
13
+ [key: string]: unknown;
14
+ }
15
+
16
+ export const ContextMenu: Component<ContextMenuProps> = (props) => {
17
+ const [local, rest] = splitProps(props, ['open', '_x', '_y', '_activeIndex', '_children', 'children']);
18
+ return (
19
+ <arc-context-menu open={local.open} _x={local._x} _y={local._y} _activeIndex={local._activeIndex} _children={local._children} {...rest}>
20
+ {local.children}
21
+ </arc-context-menu>
22
+ );
23
+ };
@@ -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,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 DataTableProps {
7
+ rows?: unknown[];
8
+ sortable?: boolean;
9
+ selectable?: boolean;
10
+ sortColumn?: string;
11
+ sortDirection?: string;
12
+ _columns?: string;
13
+ _selectedRows?: string;
14
+ children?: JSX.Element;
15
+ [key: string]: unknown;
16
+ }
17
+
18
+ export const DataTable: Component<DataTableProps> = (props) => {
19
+ const [local, rest] = splitProps(props, ['rows', 'sortable', 'selectable', 'sortColumn', 'sortDirection', '_columns', '_selectedRows', 'children']);
20
+ return (
21
+ <arc-data-table rows={local.rows} sortable={local.sortable} selectable={local.selectable} sortColumn={local.sortColumn} sortDirection={local.sortDirection} _columns={local._columns} _selectedRows={local._selectedRows} {...rest}>
22
+ {local.children}
23
+ </arc-data-table>
24
+ );
25
+ };
@@ -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,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 DialogProps {
7
+ open?: boolean;
8
+ heading?: string;
9
+ message?: string;
10
+ variant?: 'danger';
11
+ children?: JSX.Element;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const Dialog: Component<DialogProps> = (props) => {
16
+ const [local, rest] = splitProps(props, ['open', 'heading', 'message', 'variant', 'children']);
17
+ return (
18
+ <arc-dialog open={local.open} heading={local.heading} message={local.message} variant={local.variant} {...rest}>
19
+ {local.children}
20
+ </arc-dialog>
21
+ );
22
+ };
@@ -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 DrawerProps {
7
+ open?: boolean;
8
+ position?: 'left' | 'right';
9
+ heading?: string;
10
+ children?: JSX.Element;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Drawer: Component<DrawerProps> = (props) => {
15
+ const [local, rest] = splitProps(props, ['open', 'position', 'heading', 'children']);
16
+ return (
17
+ <arc-drawer open={local.open} position={local.position} heading={local.heading} {...rest}>
18
+ {local.children}
19
+ </arc-drawer>
20
+ );
21
+ };
@@ -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 DropdownMenuProps {
7
+ open?: boolean;
8
+ _focusedIndex?: string;
9
+ _children?: string;
10
+ children?: JSX.Element;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const DropdownMenu: Component<DropdownMenuProps> = (props) => {
15
+ const [local, rest] = splitProps(props, ['open', '_focusedIndex', '_children', 'children']);
16
+ return (
17
+ <arc-dropdown-menu open={local.open} _focusedIndex={local._focusedIndex} _children={local._children} {...rest}>
18
+ {local.children}
19
+ </arc-dropdown-menu>
20
+ );
21
+ };
@@ -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,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 HoverCardProps {
7
+ position?: 'bottom' | 'top' | 'left' | 'right';
8
+ openDelay?: number;
9
+ closeDelay?: number;
10
+ _visible?: string;
11
+ children?: JSX.Element;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const HoverCard: Component<HoverCardProps> = (props) => {
16
+ const [local, rest] = splitProps(props, ['position', 'openDelay', 'closeDelay', '_visible', 'children']);
17
+ return (
18
+ <arc-hover-card position={local.position} openDelay={local.openDelay} closeDelay={local.closeDelay} _visible={local._visible} {...rest}>
19
+ {local.children}
20
+ </arc-hover-card>
21
+ );
22
+ };
@@ -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,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 InfiniteScrollProps {
7
+ threshold?: number;
8
+ loading?: boolean;
9
+ finished?: boolean;
10
+ disabled?: boolean;
11
+ children?: JSX.Element;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const InfiniteScroll: Component<InfiniteScrollProps> = (props) => {
16
+ const [local, rest] = splitProps(props, ['threshold', 'loading', 'finished', 'disabled', 'children']);
17
+ return (
18
+ <arc-infinite-scroll threshold={local.threshold} loading={local.loading} finished={local.finished} disabled={local.disabled} {...rest}>
19
+ {local.children}
20
+ </arc-infinite-scroll>
21
+ );
22
+ };
@@ -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,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 ModalProps {
7
+ open?: boolean;
8
+ heading?: string;
9
+ size?: 'sm' | 'md' | 'lg';
10
+ closable?: boolean;
11
+ children?: JSX.Element;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const Modal: Component<ModalProps> = (props) => {
16
+ const [local, rest] = splitProps(props, ['open', 'heading', 'size', 'closable', 'children']);
17
+ return (
18
+ <arc-modal open={local.open} heading={local.heading} size={local.size} closable={local.closable} {...rest}>
19
+ {local.children}
20
+ </arc-modal>
21
+ );
22
+ };
@@ -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
+ };
@@ -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 NumberInputProps {
7
+ value?: number;
8
+ min?: number;
9
+ max?: number;
10
+ step?: number;
11
+ label?: string;
12
+ disabled?: boolean;
13
+ children?: JSX.Element;
14
+ [key: string]: unknown;
15
+ }
16
+
17
+ export const NumberInput: Component<NumberInputProps> = (props) => {
18
+ const [local, rest] = splitProps(props, ['value', 'min', 'max', 'step', 'label', 'disabled', 'children']);
19
+ return (
20
+ <arc-number-input value={local.value} min={local.min} max={local.max} step={local.step} label={local.label} disabled={local.disabled} {...rest}>
21
+ {local.children}
22
+ </arc-number-input>
23
+ );
24
+ };
@@ -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 OtpInputProps {
7
+ length?: number;
8
+ value?: string;
9
+ disabled?: boolean;
10
+ type?: string;
11
+ children?: JSX.Element;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const OtpInput: Component<OtpInputProps> = (props) => {
16
+ const [local, rest] = splitProps(props, ['length', 'value', 'disabled', 'type', 'children']);
17
+ return (
18
+ <arc-otp-input length={local.length} value={local.value} disabled={local.disabled} type={local.type} {...rest}>
19
+ {local.children}
20
+ </arc-otp-input>
21
+ );
22
+ };
@@ -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 PaginationProps {
7
+ total?: number;
8
+ current?: number;
9
+ siblings?: number;
10
+ children?: JSX.Element;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Pagination: Component<PaginationProps> = (props) => {
15
+ const [local, rest] = splitProps(props, ['total', 'current', 'siblings', 'children']);
16
+ return (
17
+ <arc-pagination total={local.total} current={local.current} siblings={local.siblings} {...rest}>
18
+ {local.children}
19
+ </arc-pagination>
20
+ );
21
+ };
@@ -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 PinInputProps {
7
+ length?: number;
8
+ value?: string;
9
+ disabled?: boolean;
10
+ mask?: boolean;
11
+ type?: string;
12
+ separator?: number;
13
+ label?: string;
14
+ children?: JSX.Element;
15
+ [key: string]: unknown;
16
+ }
17
+
18
+ export const PinInput: Component<PinInputProps> = (props) => {
19
+ const [local, rest] = splitProps(props, ['length', 'value', 'disabled', 'mask', 'type', 'separator', 'label', 'children']);
20
+ return (
21
+ <arc-pin-input length={local.length} value={local.value} disabled={local.disabled} mask={local.mask} type={local.type} separator={local.separator} label={local.label} {...rest}>
22
+ {local.children}
23
+ </arc-pin-input>
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 PopoverProps {
7
+ open?: boolean;
8
+ position?: 'bottom' | 'top' | 'left' | 'right';
9
+ trigger?: string;
10
+ children?: JSX.Element;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Popover: Component<PopoverProps> = (props) => {
15
+ const [local, rest] = splitProps(props, ['open', 'position', 'trigger', 'children']);
16
+ return (
17
+ <arc-popover open={local.open} position={local.position} trigger={local.trigger} {...rest}>
18
+ {local.children}
19
+ </arc-popover>
20
+ );
21
+ };
@@ -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 ProgressProps {
7
+ value?: number;
8
+ variant?: string;
9
+ size?: 'sm' | 'md' | 'lg';
10
+ indeterminate?: boolean;
11
+ label?: string;
12
+ children?: JSX.Element;
13
+ [key: string]: unknown;
14
+ }
15
+
16
+ export const Progress: Component<ProgressProps> = (props) => {
17
+ const [local, rest] = splitProps(props, ['value', 'variant', 'size', 'indeterminate', 'label', 'children']);
18
+ return (
19
+ <arc-progress value={local.value} variant={local.variant} size={local.size} indeterminate={local.indeterminate} label={local.label} {...rest}>
20
+ {local.children}
21
+ </arc-progress>
22
+ );
23
+ };
@@ -0,0 +1,20 @@
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 RadioProps {
7
+ value?: string;
8
+ disabled?: boolean;
9
+ children?: JSX.Element;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const Radio: Component<RadioProps> = (props) => {
14
+ const [local, rest] = splitProps(props, ['value', 'disabled', 'children']);
15
+ return (
16
+ <arc-radio value={local.value} disabled={local.disabled} {...rest}>
17
+ {local.children}
18
+ </arc-radio>
19
+ );
20
+ };
@@ -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 RadioGroupProps {
7
+ value?: string;
8
+ name?: string;
9
+ disabled?: boolean;
10
+ orientation?: 'horizontal';
11
+ _radios?: string;
12
+ children?: JSX.Element;
13
+ [key: string]: unknown;
14
+ }
15
+
16
+ export const RadioGroup: Component<RadioGroupProps> = (props) => {
17
+ const [local, rest] = splitProps(props, ['value', 'name', 'disabled', 'orientation', '_radios', 'children']);
18
+ return (
19
+ <arc-radio-group value={local.value} name={local.name} disabled={local.disabled} orientation={local.orientation} _radios={local._radios} {...rest}>
20
+ {local.children}
21
+ </arc-radio-group>
22
+ );
23
+ };
@@ -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 RatingProps {
7
+ value?: number;
8
+ max?: number;
9
+ disabled?: boolean;
10
+ readonly?: boolean;
11
+ children?: JSX.Element;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const Rating: Component<RatingProps> = (props) => {
16
+ const [local, rest] = splitProps(props, ['value', 'max', 'disabled', 'readonly', 'children']);
17
+ return (
18
+ <arc-rating value={local.value} max={local.max} disabled={local.disabled} readonly={local.readonly} {...rest}>
19
+ {local.children}
20
+ </arc-rating>
21
+ );
22
+ };