@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,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,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,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
|
+
};
|
|
@@ -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 SearchProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
_open?: string;
|
|
13
|
+
_activeIndex?: string;
|
|
14
|
+
_suggestions?: string;
|
|
15
|
+
children?: JSX.Element;
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Search: Component<SearchProps> = (props) => {
|
|
20
|
+
const [local, rest] = splitProps(props, ['value', 'placeholder', 'label', 'disabled', 'loading', '_open', '_activeIndex', '_suggestions', 'children']);
|
|
21
|
+
return (
|
|
22
|
+
<arc-search value={local.value} placeholder={local.placeholder} label={local.label} disabled={local.disabled} loading={local.loading} _open={local._open} _activeIndex={local._activeIndex} _suggestions={local._suggestions} {...rest}>
|
|
23
|
+
{local.children}
|
|
24
|
+
</arc-search>
|
|
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 SegmentedControlProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
_options?: string;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const SegmentedControl: Component<SegmentedControlProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['value', 'disabled', '_options', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-segmented-control value={local.value} disabled={local.disabled} _options={local._options} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-segmented-control>
|
|
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 SelectProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
open?: boolean;
|
|
13
|
+
_options?: string;
|
|
14
|
+
children?: JSX.Element;
|
|
15
|
+
[key: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Select: Component<SelectProps> = (props) => {
|
|
19
|
+
const [local, rest] = splitProps(props, ['value', 'placeholder', 'label', 'name', 'disabled', 'open', '_options', 'children']);
|
|
20
|
+
return (
|
|
21
|
+
<arc-select value={local.value} placeholder={local.placeholder} label={local.label} name={local.name} disabled={local.disabled} open={local.open} _options={local._options} {...rest}>
|
|
22
|
+
{local.children}
|
|
23
|
+
</arc-select>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
@@ -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 SliderProps {
|
|
7
|
+
value?: number;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
step?: number;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
children?: JSX.Element;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Slider: Component<SliderProps> = (props) => {
|
|
18
|
+
const [local, rest] = splitProps(props, ['value', 'min', 'max', 'step', 'disabled', 'label', 'children']);
|
|
19
|
+
return (
|
|
20
|
+
<arc-slider value={local.value} min={local.min} max={local.max} step={local.step} disabled={local.disabled} label={local.label} {...rest}>
|
|
21
|
+
{local.children}
|
|
22
|
+
</arc-slider>
|
|
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 SortableListProps {
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
_items?: string;
|
|
9
|
+
_dragIndex?: string;
|
|
10
|
+
_overIndex?: string;
|
|
11
|
+
_kbSelected?: string;
|
|
12
|
+
_kbMoving?: string;
|
|
13
|
+
children?: JSX.Element;
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const SortableList: Component<SortableListProps> = (props) => {
|
|
18
|
+
const [local, rest] = splitProps(props, ['disabled', '_items', '_dragIndex', '_overIndex', '_kbSelected', '_kbMoving', 'children']);
|
|
19
|
+
return (
|
|
20
|
+
<arc-sortable-list disabled={local.disabled} _items={local._items} _dragIndex={local._dragIndex} _overIndex={local._overIndex} _kbSelected={local._kbSelected} _kbMoving={local._kbMoving} {...rest}>
|
|
21
|
+
{local.children}
|
|
22
|
+
</arc-sortable-list>
|
|
23
|
+
);
|
|
24
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 SuggestionProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Suggestion: Component<SuggestionProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['value', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-suggestion value={local.value} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-suggestion>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -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 TextareaProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
rows?: number;
|
|
11
|
+
maxlength?: number;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
readonly?: boolean;
|
|
14
|
+
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
15
|
+
error?: string;
|
|
16
|
+
children?: JSX.Element;
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const Textarea: Component<TextareaProps> = (props) => {
|
|
21
|
+
const [local, rest] = splitProps(props, ['value', 'placeholder', 'label', 'rows', 'maxlength', 'disabled', 'readonly', 'resize', 'error', 'children']);
|
|
22
|
+
return (
|
|
23
|
+
<arc-textarea value={local.value} placeholder={local.placeholder} label={local.label} rows={local.rows} maxlength={local.maxlength} disabled={local.disabled} readonly={local.readonly} resize={local.resize} error={local.error} {...rest}>
|
|
24
|
+
{local.children}
|
|
25
|
+
</arc-textarea>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
@@ -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 ThemeToggleProps {
|
|
7
|
+
theme?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
iconOnly?: boolean;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const ThemeToggle: Component<ThemeToggleProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['theme', 'disabled', 'iconOnly', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-theme-toggle theme={local.theme} disabled={local.disabled} iconOnly={local.iconOnly} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-theme-toggle>
|
|
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 ToggleProps {
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Toggle: Component<ToggleProps> = (props) => {
|
|
16
|
+
const [local, rest] = splitProps(props, ['checked', 'disabled', 'label', 'name', 'children']);
|
|
17
|
+
return (
|
|
18
|
+
<arc-toggle checked={local.checked} disabled={local.disabled} label={local.label} name={local.name} {...rest}>
|
|
19
|
+
{local.children}
|
|
20
|
+
</arc-toggle>
|
|
21
|
+
);
|
|
22
|
+
};
|
|
@@ -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 AppShellProps {
|
|
7
|
+
sidebarOpen?: boolean;
|
|
8
|
+
breakpoint?: number;
|
|
9
|
+
_mobile?: string;
|
|
10
|
+
_hasToc?: string;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const AppShell: Component<AppShellProps> = (props) => {
|
|
16
|
+
const [local, rest] = splitProps(props, ['sidebarOpen', 'breakpoint', '_mobile', '_hasToc', 'children']);
|
|
17
|
+
return (
|
|
18
|
+
<arc-app-shell sidebarOpen={local.sidebarOpen} breakpoint={local.breakpoint} _mobile={local._mobile} _hasToc={local._hasToc} {...rest}>
|
|
19
|
+
{local.children}
|
|
20
|
+
</arc-app-shell>
|
|
21
|
+
);
|
|
22
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 AuthShellProps {
|
|
7
|
+
variant?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const AuthShell: Component<AuthShellProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['variant', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-auth-shell variant={local.variant} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-auth-shell>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 ContainerProps {
|
|
7
|
+
narrow?: boolean;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Container: Component<ContainerProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['narrow', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-container narrow={local.narrow} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-container>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -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 DashboardGridProps {
|
|
7
|
+
columns?: number;
|
|
8
|
+
gap?: string;
|
|
9
|
+
minColumnWidth?: string;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const DashboardGrid: Component<DashboardGridProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['columns', 'gap', 'minColumnWidth', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-dashboard-grid columns={local.columns} gap={local.gap} minColumnWidth={local.minColumnWidth} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-dashboard-grid>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -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 PageHeaderProps {
|
|
7
|
+
heading?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
children?: JSX.Element;
|
|
10
|
+
[key: string]: unknown;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const PageHeader: Component<PageHeaderProps> = (props) => {
|
|
14
|
+
const [local, rest] = splitProps(props, ['heading', 'description', 'children']);
|
|
15
|
+
return (
|
|
16
|
+
<arc-page-header heading={local.heading} description={local.description} {...rest}>
|
|
17
|
+
{local.children}
|
|
18
|
+
</arc-page-header>
|
|
19
|
+
);
|
|
20
|
+
};
|
|
@@ -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 PageLayoutProps {
|
|
7
|
+
layout?: string;
|
|
8
|
+
maxWidth?: string;
|
|
9
|
+
gap?: string;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const PageLayout: Component<PageLayoutProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['layout', 'maxWidth', 'gap', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-page-layout layout={local.layout} maxWidth={local.maxWidth} gap={local.gap} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-page-layout>
|
|
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 ResizableProps {
|
|
7
|
+
direction?: 'horizontal' | 'vertical';
|
|
8
|
+
minSize?: number;
|
|
9
|
+
maxSize?: number;
|
|
10
|
+
size?: number;
|
|
11
|
+
_dragging?: string;
|
|
12
|
+
children?: JSX.Element;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Resizable: Component<ResizableProps> = (props) => {
|
|
17
|
+
const [local, rest] = splitProps(props, ['direction', 'minSize', 'maxSize', 'size', '_dragging', 'children']);
|
|
18
|
+
return (
|
|
19
|
+
<arc-resizable direction={local.direction} minSize={local.minSize} maxSize={local.maxSize} size={local.size} _dragging={local._dragging} {...rest}>
|
|
20
|
+
{local.children}
|
|
21
|
+
</arc-resizable>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 SectionProps {
|
|
7
|
+
label?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Section: Component<SectionProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['label', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-section label={local.label} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-section>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 SettingsLayoutProps {
|
|
7
|
+
navPosition?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const SettingsLayout: Component<SettingsLayoutProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['navPosition', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-settings-layout navPosition={local.navPosition} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-settings-layout>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -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 SplitPaneProps {
|
|
7
|
+
orientation?: string;
|
|
8
|
+
ratio?: number;
|
|
9
|
+
minRatio?: number;
|
|
10
|
+
maxRatio?: number;
|
|
11
|
+
children?: JSX.Element;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const SplitPane: Component<SplitPaneProps> = (props) => {
|
|
16
|
+
const [local, rest] = splitProps(props, ['orientation', 'ratio', 'minRatio', 'maxRatio', 'children']);
|
|
17
|
+
return (
|
|
18
|
+
<arc-split-pane orientation={local.orientation} ratio={local.ratio} minRatio={local.minRatio} maxRatio={local.maxRatio} {...rest}>
|
|
19
|
+
{local.children}
|
|
20
|
+
</arc-split-pane>
|
|
21
|
+
);
|
|
22
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 StatusBarProps {
|
|
7
|
+
position?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const StatusBar: Component<StatusBarProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['position', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-status-bar position={local.position} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-status-bar>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -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 ToolbarProps {
|
|
7
|
+
sticky?: boolean;
|
|
8
|
+
size?: string;
|
|
9
|
+
border?: boolean;
|
|
10
|
+
children?: JSX.Element;
|
|
11
|
+
[key: string]: unknown;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Toolbar: Component<ToolbarProps> = (props) => {
|
|
15
|
+
const [local, rest] = splitProps(props, ['sticky', 'size', 'border', 'children']);
|
|
16
|
+
return (
|
|
17
|
+
<arc-toolbar sticky={local.sticky} size={local.size} border={local.border} {...rest}>
|
|
18
|
+
{local.children}
|
|
19
|
+
</arc-toolbar>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 BreadcrumbProps {
|
|
7
|
+
_items?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const Breadcrumb: Component<BreadcrumbProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['_items', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-breadcrumb _items={local._items} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-breadcrumb>
|
|
18
|
+
);
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
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 BreadcrumbItemProps {
|
|
7
|
+
href?: string;
|
|
8
|
+
children?: JSX.Element;
|
|
9
|
+
[key: string]: unknown;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const BreadcrumbItem: Component<BreadcrumbItemProps> = (props) => {
|
|
13
|
+
const [local, rest] = splitProps(props, ['href', 'children']);
|
|
14
|
+
return (
|
|
15
|
+
<arc-breadcrumb-item href={local.href} {...rest}>
|
|
16
|
+
{local.children}
|
|
17
|
+
</arc-breadcrumb-item>
|
|
18
|
+
);
|
|
19
|
+
};
|