@arclux/arc-ui-react 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 +57 -0
- package/package.json +73 -0
- package/src/content/Accordion.ts +22 -0
- package/src/content/AccordionItem.ts +17 -0
- package/src/content/AnimatedNumber.ts +23 -0
- package/src/content/AspectRatio.ts +17 -0
- package/src/content/Avatar.ts +19 -0
- package/src/content/AvatarGroup.ts +18 -0
- package/src/content/Badge.ts +17 -0
- package/src/content/Callout.ts +17 -0
- package/src/content/Card.ts +17 -0
- package/src/content/Carousel.ts +27 -0
- package/src/content/CodeBlock.ts +24 -0
- package/src/content/Collapsible.ts +24 -0
- package/src/content/ColorSwatch.ts +19 -0
- package/src/content/Column.ts +20 -0
- package/src/content/DataTable.ts +31 -0
- package/src/content/Divider.ts +19 -0
- package/src/content/EmptyState.ts +18 -0
- package/src/content/FeatureCard.ts +20 -0
- package/src/content/Highlight.ts +19 -0
- package/src/content/Icon.ts +19 -0
- package/src/content/InfiniteScroll.ts +24 -0
- package/src/content/Kbd.ts +16 -0
- package/src/content/Markdown.ts +17 -0
- package/src/content/Marquee.ts +20 -0
- package/src/content/Meter.ts +23 -0
- package/src/content/ScrollArea.ts +18 -0
- package/src/content/Skeleton.ts +19 -0
- package/src/content/Spinner.ts +18 -0
- package/src/content/Stack.ts +21 -0
- package/src/content/Stat.ts +18 -0
- package/src/content/Step.ts +17 -0
- package/src/content/Stepper.ts +18 -0
- package/src/content/Table.ts +20 -0
- package/src/content/Tag.ts +23 -0
- package/src/content/Text.ts +18 -0
- package/src/content/Timeline.ts +17 -0
- package/src/content/TimelineItem.ts +18 -0
- package/src/content/Truncate.ts +22 -0
- package/src/content/ValueCard.ts +19 -0
- package/src/content/index.ts +119 -0
- package/src/create-component.ts +6 -0
- package/src/feedback/Alert.ts +23 -0
- package/src/feedback/CommandItem.ts +18 -0
- package/src/feedback/CommandPalette.ts +27 -0
- package/src/feedback/ContextMenu.ts +31 -0
- package/src/feedback/Dialog.ts +28 -0
- package/src/feedback/DropdownMenu.ts +25 -0
- package/src/feedback/HoverCard.ts +26 -0
- package/src/feedback/Modal.ts +26 -0
- package/src/feedback/NotificationPanel.ts +25 -0
- package/src/feedback/Popover.ts +23 -0
- package/src/feedback/Progress.ts +21 -0
- package/src/feedback/Sheet.ts +27 -0
- package/src/feedback/Toast.ts +23 -0
- package/src/feedback/Tooltip.ts +20 -0
- package/src/feedback/index.ts +44 -0
- package/src/index.ts +354 -0
- package/src/input/Button.ts +25 -0
- package/src/input/Calendar.ts +30 -0
- package/src/input/Checkbox.ts +26 -0
- package/src/input/Chip.ts +23 -0
- package/src/input/ColorPicker.ts +30 -0
- package/src/input/Combobox.ts +28 -0
- package/src/input/CopyButton.ts +25 -0
- package/src/input/DatePicker.ts +30 -0
- package/src/input/FileUpload.ts +29 -0
- package/src/input/Form.ts +25 -0
- package/src/input/IconButton.ts +28 -0
- package/src/input/Input.ts +31 -0
- package/src/input/MultiSelect.ts +30 -0
- package/src/input/NumberInput.ts +28 -0
- package/src/input/OtpInput.ts +24 -0
- package/src/input/PinInput.ts +29 -0
- package/src/input/Radio.ts +18 -0
- package/src/input/RadioGroup.ts +25 -0
- package/src/input/Rating.ts +24 -0
- package/src/input/Search.ts +34 -0
- package/src/input/SegmentedControl.ts +25 -0
- package/src/input/Select.ts +29 -0
- package/src/input/Slider.ts +28 -0
- package/src/input/SortableList.ts +26 -0
- package/src/input/Suggestion.ts +17 -0
- package/src/input/Textarea.ts +31 -0
- package/src/input/ThemeToggle.ts +25 -0
- package/src/input/Toggle.ts +24 -0
- package/src/input/index.ts +86 -0
- package/src/layout/AppShell.ts +20 -0
- package/src/layout/AuthShell.ts +17 -0
- package/src/layout/Container.ts +17 -0
- package/src/layout/DashboardGrid.ts +19 -0
- package/src/layout/PageHeader.ts +18 -0
- package/src/layout/PageLayout.ts +19 -0
- package/src/layout/Resizable.ts +25 -0
- package/src/layout/Section.ts +17 -0
- package/src/layout/SettingsLayout.ts +17 -0
- package/src/layout/SplitPane.ts +24 -0
- package/src/layout/StatusBar.ts +17 -0
- package/src/layout/Toolbar.ts +19 -0
- package/src/layout/index.ts +38 -0
- package/src/navigation/Breadcrumb.ts +21 -0
- package/src/navigation/BreadcrumbItem.ts +17 -0
- package/src/navigation/Drawer.ts +25 -0
- package/src/navigation/Footer.ts +18 -0
- package/src/navigation/Link.ts +20 -0
- package/src/navigation/NavItem.ts +19 -0
- package/src/navigation/NavigationMenu.ts +25 -0
- package/src/navigation/Pagination.ts +25 -0
- package/src/navigation/ScrollSpy.ts +24 -0
- package/src/navigation/ScrollToTop.ts +25 -0
- package/src/navigation/Sidebar.ts +21 -0
- package/src/navigation/SidebarLink.ts +18 -0
- package/src/navigation/SidebarSection.ts +23 -0
- package/src/navigation/SpyLink.ts +17 -0
- package/src/navigation/Tab.ts +17 -0
- package/src/navigation/Tabs.ts +23 -0
- package/src/navigation/TopBar.ts +21 -0
- package/src/navigation/TreeItem.ts +19 -0
- package/src/navigation/TreeView.ts +24 -0
- package/src/navigation/index.ts +59 -0
- package/src/shared/MenuDivider.ts +16 -0
- package/src/shared/MenuItem.ts +19 -0
- package/src/shared/Option.ts +19 -0
- package/src/shared/index.ts +8 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
// ARC UI React — Input tier
|
|
2
|
+
// Form controls and interactive input components
|
|
3
|
+
|
|
4
|
+
export { Button } from './Button.js';
|
|
5
|
+
export type { ButtonProps } from './Button.js';
|
|
6
|
+
|
|
7
|
+
export { Calendar } from './Calendar.js';
|
|
8
|
+
export type { CalendarProps } from './Calendar.js';
|
|
9
|
+
|
|
10
|
+
export { Checkbox } from './Checkbox.js';
|
|
11
|
+
export type { CheckboxProps } from './Checkbox.js';
|
|
12
|
+
|
|
13
|
+
export { Chip } from './Chip.js';
|
|
14
|
+
export type { ChipProps } from './Chip.js';
|
|
15
|
+
|
|
16
|
+
export { ColorPicker } from './ColorPicker.js';
|
|
17
|
+
export type { ColorPickerProps } from './ColorPicker.js';
|
|
18
|
+
|
|
19
|
+
export { Combobox } from './Combobox.js';
|
|
20
|
+
export type { ComboboxProps } from './Combobox.js';
|
|
21
|
+
|
|
22
|
+
export { CopyButton } from './CopyButton.js';
|
|
23
|
+
export type { CopyButtonProps } from './CopyButton.js';
|
|
24
|
+
|
|
25
|
+
export { DatePicker } from './DatePicker.js';
|
|
26
|
+
export type { DatePickerProps } from './DatePicker.js';
|
|
27
|
+
|
|
28
|
+
export { FileUpload } from './FileUpload.js';
|
|
29
|
+
export type { FileUploadProps } from './FileUpload.js';
|
|
30
|
+
|
|
31
|
+
export { Form } from './Form.js';
|
|
32
|
+
export type { FormProps } from './Form.js';
|
|
33
|
+
|
|
34
|
+
export { IconButton } from './IconButton.js';
|
|
35
|
+
export type { IconButtonProps } from './IconButton.js';
|
|
36
|
+
|
|
37
|
+
export { Input } from './Input.js';
|
|
38
|
+
export type { InputProps } from './Input.js';
|
|
39
|
+
|
|
40
|
+
export { MultiSelect } from './MultiSelect.js';
|
|
41
|
+
export type { MultiSelectProps } from './MultiSelect.js';
|
|
42
|
+
|
|
43
|
+
export { NumberInput } from './NumberInput.js';
|
|
44
|
+
export type { NumberInputProps } from './NumberInput.js';
|
|
45
|
+
|
|
46
|
+
export { OtpInput } from './OtpInput.js';
|
|
47
|
+
export type { OtpInputProps } from './OtpInput.js';
|
|
48
|
+
|
|
49
|
+
export { PinInput } from './PinInput.js';
|
|
50
|
+
export type { PinInputProps } from './PinInput.js';
|
|
51
|
+
|
|
52
|
+
export { Radio } from './Radio.js';
|
|
53
|
+
export type { RadioProps } from './Radio.js';
|
|
54
|
+
|
|
55
|
+
export { RadioGroup } from './RadioGroup.js';
|
|
56
|
+
export type { RadioGroupProps } from './RadioGroup.js';
|
|
57
|
+
|
|
58
|
+
export { Rating } from './Rating.js';
|
|
59
|
+
export type { RatingProps } from './Rating.js';
|
|
60
|
+
|
|
61
|
+
export { Search } from './Search.js';
|
|
62
|
+
export type { SearchProps } from './Search.js';
|
|
63
|
+
|
|
64
|
+
export { SegmentedControl } from './SegmentedControl.js';
|
|
65
|
+
export type { SegmentedControlProps } from './SegmentedControl.js';
|
|
66
|
+
|
|
67
|
+
export { Select } from './Select.js';
|
|
68
|
+
export type { SelectProps } from './Select.js';
|
|
69
|
+
|
|
70
|
+
export { Slider } from './Slider.js';
|
|
71
|
+
export type { SliderProps } from './Slider.js';
|
|
72
|
+
|
|
73
|
+
export { SortableList } from './SortableList.js';
|
|
74
|
+
export type { SortableListProps } from './SortableList.js';
|
|
75
|
+
|
|
76
|
+
export { Suggestion } from './Suggestion.js';
|
|
77
|
+
export type { SuggestionProps } from './Suggestion.js';
|
|
78
|
+
|
|
79
|
+
export { Textarea } from './Textarea.js';
|
|
80
|
+
export type { TextareaProps } from './Textarea.js';
|
|
81
|
+
|
|
82
|
+
export { ThemeToggle } from './ThemeToggle.js';
|
|
83
|
+
export type { ThemeToggleProps } from './ThemeToggle.js';
|
|
84
|
+
|
|
85
|
+
export { Toggle } from './Toggle.js';
|
|
86
|
+
export type { ToggleProps } from './Toggle.js';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcAppShell } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface AppShellProps {
|
|
8
|
+
sidebarOpen?: boolean;
|
|
9
|
+
breakpoint?: number;
|
|
10
|
+
_mobile?: string;
|
|
11
|
+
_hasToc?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const AppShell = createComponent({
|
|
17
|
+
tagName: 'arc-app-shell',
|
|
18
|
+
elementClass: ArcAppShell,
|
|
19
|
+
react: React,
|
|
20
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcAuthShell } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface AuthShellProps {
|
|
8
|
+
variant?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const AuthShell = createComponent({
|
|
14
|
+
tagName: 'arc-auth-shell',
|
|
15
|
+
elementClass: ArcAuthShell,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcContainer } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ContainerProps {
|
|
8
|
+
narrow?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Container = createComponent({
|
|
14
|
+
tagName: 'arc-container',
|
|
15
|
+
elementClass: ArcContainer,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcDashboardGrid } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface DashboardGridProps {
|
|
8
|
+
columns?: number;
|
|
9
|
+
gap?: string;
|
|
10
|
+
minColumnWidth?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const DashboardGrid = createComponent({
|
|
16
|
+
tagName: 'arc-dashboard-grid',
|
|
17
|
+
elementClass: ArcDashboardGrid,
|
|
18
|
+
react: React,
|
|
19
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcPageHeader } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface PageHeaderProps {
|
|
8
|
+
heading?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const PageHeader = createComponent({
|
|
15
|
+
tagName: 'arc-page-header',
|
|
16
|
+
elementClass: ArcPageHeader,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcPageLayout } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface PageLayoutProps {
|
|
8
|
+
layout?: string;
|
|
9
|
+
maxWidth?: string;
|
|
10
|
+
gap?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const PageLayout = createComponent({
|
|
16
|
+
tagName: 'arc-page-layout',
|
|
17
|
+
elementClass: ArcPageLayout,
|
|
18
|
+
react: React,
|
|
19
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcResizable } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ResizableProps {
|
|
8
|
+
direction?: 'horizontal' | 'vertical';
|
|
9
|
+
minSize?: number;
|
|
10
|
+
maxSize?: number;
|
|
11
|
+
size?: number;
|
|
12
|
+
_dragging?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
onArcResize?: (e: CustomEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Resizable = createComponent({
|
|
19
|
+
tagName: 'arc-resizable',
|
|
20
|
+
elementClass: ArcResizable,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onArcResize: 'arc-resize' as EventName<CustomEvent>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcSection } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SectionProps {
|
|
8
|
+
label?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Section = createComponent({
|
|
14
|
+
tagName: 'arc-section',
|
|
15
|
+
elementClass: ArcSection,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcSettingsLayout } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SettingsLayoutProps {
|
|
8
|
+
navPosition?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const SettingsLayout = createComponent({
|
|
14
|
+
tagName: 'arc-settings-layout',
|
|
15
|
+
elementClass: ArcSettingsLayout,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcSplitPane } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SplitPaneProps {
|
|
8
|
+
orientation?: string;
|
|
9
|
+
ratio?: number;
|
|
10
|
+
minRatio?: number;
|
|
11
|
+
maxRatio?: number;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
onArcResize?: (e: CustomEvent) => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const SplitPane = createComponent({
|
|
18
|
+
tagName: 'arc-split-pane',
|
|
19
|
+
elementClass: ArcSplitPane,
|
|
20
|
+
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcResize: 'arc-resize' as EventName<CustomEvent>,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcStatusBar } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface StatusBarProps {
|
|
8
|
+
position?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const StatusBar = createComponent({
|
|
14
|
+
tagName: 'arc-status-bar',
|
|
15
|
+
elementClass: ArcStatusBar,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcToolbar } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ToolbarProps {
|
|
8
|
+
sticky?: boolean;
|
|
9
|
+
size?: string;
|
|
10
|
+
border?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Toolbar = createComponent({
|
|
16
|
+
tagName: 'arc-toolbar',
|
|
17
|
+
elementClass: ArcToolbar,
|
|
18
|
+
react: React,
|
|
19
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// ARC UI React — Layout tier
|
|
2
|
+
// App shells, containers, and structural layout components
|
|
3
|
+
|
|
4
|
+
export { AppShell } from './AppShell.js';
|
|
5
|
+
export type { AppShellProps } from './AppShell.js';
|
|
6
|
+
|
|
7
|
+
export { AuthShell } from './AuthShell.js';
|
|
8
|
+
export type { AuthShellProps } from './AuthShell.js';
|
|
9
|
+
|
|
10
|
+
export { Container } from './Container.js';
|
|
11
|
+
export type { ContainerProps } from './Container.js';
|
|
12
|
+
|
|
13
|
+
export { DashboardGrid } from './DashboardGrid.js';
|
|
14
|
+
export type { DashboardGridProps } from './DashboardGrid.js';
|
|
15
|
+
|
|
16
|
+
export { PageHeader } from './PageHeader.js';
|
|
17
|
+
export type { PageHeaderProps } from './PageHeader.js';
|
|
18
|
+
|
|
19
|
+
export { PageLayout } from './PageLayout.js';
|
|
20
|
+
export type { PageLayoutProps } from './PageLayout.js';
|
|
21
|
+
|
|
22
|
+
export { Resizable } from './Resizable.js';
|
|
23
|
+
export type { ResizableProps } from './Resizable.js';
|
|
24
|
+
|
|
25
|
+
export { Section } from './Section.js';
|
|
26
|
+
export type { SectionProps } from './Section.js';
|
|
27
|
+
|
|
28
|
+
export { SettingsLayout } from './SettingsLayout.js';
|
|
29
|
+
export type { SettingsLayoutProps } from './SettingsLayout.js';
|
|
30
|
+
|
|
31
|
+
export { SplitPane } from './SplitPane.js';
|
|
32
|
+
export type { SplitPaneProps } from './SplitPane.js';
|
|
33
|
+
|
|
34
|
+
export { StatusBar } from './StatusBar.js';
|
|
35
|
+
export type { StatusBarProps } from './StatusBar.js';
|
|
36
|
+
|
|
37
|
+
export { Toolbar } from './Toolbar.js';
|
|
38
|
+
export type { ToolbarProps } from './Toolbar.js';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcBreadcrumb } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface BreadcrumbProps {
|
|
8
|
+
_items?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
onArcNavigate?: (e: CustomEvent) => void;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Breadcrumb = createComponent({
|
|
15
|
+
tagName: 'arc-breadcrumb',
|
|
16
|
+
elementClass: ArcBreadcrumb,
|
|
17
|
+
react: React,
|
|
18
|
+
events: {
|
|
19
|
+
onArcNavigate: 'arc-navigate' as EventName<CustomEvent>,
|
|
20
|
+
},
|
|
21
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcBreadcrumbItem } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface BreadcrumbItemProps {
|
|
8
|
+
href?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const BreadcrumbItem = createComponent({
|
|
14
|
+
tagName: 'arc-breadcrumb-item',
|
|
15
|
+
elementClass: ArcBreadcrumbItem,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcDrawer } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface DrawerProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
position?: 'left' | 'right';
|
|
10
|
+
heading?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
14
|
+
onClick?: (e: Event) => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Drawer = createComponent({
|
|
18
|
+
tagName: 'arc-drawer',
|
|
19
|
+
elementClass: ArcDrawer,
|
|
20
|
+
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
23
|
+
onClick: 'click' as EventName<Event>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcFooter } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface FooterProps {
|
|
8
|
+
compact?: boolean;
|
|
9
|
+
border?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Footer = createComponent({
|
|
15
|
+
tagName: 'arc-footer',
|
|
16
|
+
elementClass: ArcFooter,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcLink } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface LinkProps {
|
|
8
|
+
href?: string;
|
|
9
|
+
variant?: 'muted' | 'nav';
|
|
10
|
+
active?: boolean;
|
|
11
|
+
external?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Link = createComponent({
|
|
17
|
+
tagName: 'arc-link',
|
|
18
|
+
elementClass: ArcLink,
|
|
19
|
+
react: React,
|
|
20
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcNavItem } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface NavItemProps {
|
|
8
|
+
href?: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
description?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const NavItem = createComponent({
|
|
16
|
+
tagName: 'arc-nav-item',
|
|
17
|
+
elementClass: ArcNavItem,
|
|
18
|
+
react: React,
|
|
19
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcNavigationMenu } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface NavigationMenuProps {
|
|
8
|
+
_items?: string;
|
|
9
|
+
_openIndex?: string;
|
|
10
|
+
_mobileOpen?: string;
|
|
11
|
+
_mobileClosing?: string;
|
|
12
|
+
_mobileExpandedIndex?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
onArcMobileMenuToggle?: (e: CustomEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const NavigationMenu = createComponent({
|
|
19
|
+
tagName: 'arc-navigation-menu',
|
|
20
|
+
elementClass: ArcNavigationMenu,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onArcMobileMenuToggle: 'arc-mobile-menu-toggle' as EventName<CustomEvent>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcPagination } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface PaginationProps {
|
|
8
|
+
total?: number;
|
|
9
|
+
current?: number;
|
|
10
|
+
siblings?: number;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
14
|
+
onClick?: (e: Event) => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Pagination = createComponent({
|
|
18
|
+
tagName: 'arc-pagination',
|
|
19
|
+
elementClass: ArcPagination,
|
|
20
|
+
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
23
|
+
onClick: 'click' as EventName<Event>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcScrollSpy } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ScrollSpyProps {
|
|
8
|
+
active?: string;
|
|
9
|
+
offset?: number;
|
|
10
|
+
_active?: string;
|
|
11
|
+
_links?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const ScrollSpy = createComponent({
|
|
18
|
+
tagName: 'arc-scroll-spy',
|
|
19
|
+
elementClass: ArcScrollSpy,
|
|
20
|
+
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcScrollToTop } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ScrollToTopProps {
|
|
8
|
+
threshold?: number;
|
|
9
|
+
smooth?: boolean;
|
|
10
|
+
position?: 'bottom-right' | 'bottom-left';
|
|
11
|
+
offset?: string;
|
|
12
|
+
_visible?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
onClick?: (e: Event) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const ScrollToTop = createComponent({
|
|
19
|
+
tagName: 'arc-scroll-to-top',
|
|
20
|
+
elementClass: ArcScrollToTop,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onClick: 'click' as EventName<Event>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcSidebar } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SidebarProps {
|
|
8
|
+
active?: string;
|
|
9
|
+
collapsed?: boolean;
|
|
10
|
+
width?: string;
|
|
11
|
+
glow?: boolean;
|
|
12
|
+
_sections?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Sidebar = createComponent({
|
|
18
|
+
tagName: 'arc-sidebar',
|
|
19
|
+
elementClass: ArcSidebar,
|
|
20
|
+
react: React,
|
|
21
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcSidebarLink } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SidebarLinkProps {
|
|
8
|
+
href?: string;
|
|
9
|
+
active?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const SidebarLink = createComponent({
|
|
15
|
+
tagName: 'arc-sidebar-link',
|
|
16
|
+
elementClass: ArcSidebarLink,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcSidebarSection } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SidebarSectionProps {
|
|
8
|
+
heading?: string;
|
|
9
|
+
collapsible?: boolean;
|
|
10
|
+
open?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcToggle?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const SidebarSection = createComponent({
|
|
17
|
+
tagName: 'arc-sidebar-section',
|
|
18
|
+
elementClass: ArcSidebarSection,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcToggle: 'arc-toggle' as EventName<CustomEvent>,
|
|
22
|
+
},
|
|
23
|
+
});
|