@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,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 { ArcPopover } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface PopoverProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
position?: 'bottom' | 'top' | 'left' | 'right';
|
|
10
|
+
trigger?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Popover = createComponent({
|
|
17
|
+
tagName: 'arc-popover',
|
|
18
|
+
elementClass: ArcPopover,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -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 { ArcProgress } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ProgressProps {
|
|
8
|
+
value?: number;
|
|
9
|
+
variant?: string;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
indeterminate?: boolean;
|
|
12
|
+
label?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Progress = createComponent({
|
|
18
|
+
tagName: 'arc-progress',
|
|
19
|
+
elementClass: ArcProgress,
|
|
20
|
+
react: React,
|
|
21
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
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 { ArcSheet } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SheetProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
side?: 'bottom' | 'right';
|
|
10
|
+
heading?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
14
|
+
onArcOpen?: (e: CustomEvent) => void;
|
|
15
|
+
onClick?: (e: Event) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Sheet = createComponent({
|
|
19
|
+
tagName: 'arc-sheet',
|
|
20
|
+
elementClass: ArcSheet,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
24
|
+
onArcOpen: 'arc-open' as EventName<CustomEvent>,
|
|
25
|
+
onClick: 'click' as EventName<Event>,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
@@ -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 { ArcToast } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ToastProps {
|
|
8
|
+
position?: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
9
|
+
duration?: number;
|
|
10
|
+
_toasts?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcDismiss?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Toast = createComponent({
|
|
17
|
+
tagName: 'arc-toast',
|
|
18
|
+
elementClass: ArcToast,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcDismiss: 'arc-dismiss' as EventName<CustomEvent>,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -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 { ArcTooltip } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TooltipProps {
|
|
8
|
+
content?: string;
|
|
9
|
+
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
10
|
+
delay?: number;
|
|
11
|
+
_visible?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Tooltip = createComponent({
|
|
17
|
+
tagName: 'arc-tooltip',
|
|
18
|
+
elementClass: ArcTooltip,
|
|
19
|
+
react: React,
|
|
20
|
+
});
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// ARC UI React — Feedback tier
|
|
2
|
+
// Alerts, modals, toasts, tooltips, and user feedback components
|
|
3
|
+
|
|
4
|
+
export { Alert } from './Alert.js';
|
|
5
|
+
export type { AlertProps } from './Alert.js';
|
|
6
|
+
|
|
7
|
+
export { CommandItem } from './CommandItem.js';
|
|
8
|
+
export type { CommandItemProps } from './CommandItem.js';
|
|
9
|
+
|
|
10
|
+
export { CommandPalette } from './CommandPalette.js';
|
|
11
|
+
export type { CommandPaletteProps } from './CommandPalette.js';
|
|
12
|
+
|
|
13
|
+
export { ContextMenu } from './ContextMenu.js';
|
|
14
|
+
export type { ContextMenuProps } from './ContextMenu.js';
|
|
15
|
+
|
|
16
|
+
export { Dialog } from './Dialog.js';
|
|
17
|
+
export type { DialogProps } from './Dialog.js';
|
|
18
|
+
|
|
19
|
+
export { DropdownMenu } from './DropdownMenu.js';
|
|
20
|
+
export type { DropdownMenuProps } from './DropdownMenu.js';
|
|
21
|
+
|
|
22
|
+
export { HoverCard } from './HoverCard.js';
|
|
23
|
+
export type { HoverCardProps } from './HoverCard.js';
|
|
24
|
+
|
|
25
|
+
export { Modal } from './Modal.js';
|
|
26
|
+
export type { ModalProps } from './Modal.js';
|
|
27
|
+
|
|
28
|
+
export { NotificationPanel } from './NotificationPanel.js';
|
|
29
|
+
export type { NotificationPanelProps } from './NotificationPanel.js';
|
|
30
|
+
|
|
31
|
+
export { Popover } from './Popover.js';
|
|
32
|
+
export type { PopoverProps } from './Popover.js';
|
|
33
|
+
|
|
34
|
+
export { Progress } from './Progress.js';
|
|
35
|
+
export type { ProgressProps } from './Progress.js';
|
|
36
|
+
|
|
37
|
+
export { Sheet } from './Sheet.js';
|
|
38
|
+
export type { SheetProps } from './Sheet.js';
|
|
39
|
+
|
|
40
|
+
export { Toast } from './Toast.js';
|
|
41
|
+
export type { ToastProps } from './Toast.js';
|
|
42
|
+
|
|
43
|
+
export { Tooltip } from './Tooltip.js';
|
|
44
|
+
export type { TooltipProps } from './Tooltip.js';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
// ARC UI React — Main barrel export
|
|
2
|
+
// Re-exports from all tiers
|
|
3
|
+
|
|
4
|
+
export * from './layout/index.js';
|
|
5
|
+
export * from './navigation/index.js';
|
|
6
|
+
export * from './content/index.js';
|
|
7
|
+
export * from './input/index.js';
|
|
8
|
+
export * from './feedback/index.js';
|
|
9
|
+
export * from './shared/index.js';
|
|
10
|
+
|
|
11
|
+
export { AccordionItem } from './content/AccordionItem.js';
|
|
12
|
+
export type { AccordionItemProps } from './content/AccordionItem.js';
|
|
13
|
+
|
|
14
|
+
export { Accordion } from './content/Accordion.js';
|
|
15
|
+
export type { AccordionProps } from './content/Accordion.js';
|
|
16
|
+
|
|
17
|
+
export { AnimatedNumber } from './content/AnimatedNumber.js';
|
|
18
|
+
export type { AnimatedNumberProps } from './content/AnimatedNumber.js';
|
|
19
|
+
|
|
20
|
+
export { AspectRatio } from './content/AspectRatio.js';
|
|
21
|
+
export type { AspectRatioProps } from './content/AspectRatio.js';
|
|
22
|
+
|
|
23
|
+
export { AvatarGroup } from './content/AvatarGroup.js';
|
|
24
|
+
export type { AvatarGroupProps } from './content/AvatarGroup.js';
|
|
25
|
+
|
|
26
|
+
export { Avatar } from './content/Avatar.js';
|
|
27
|
+
export type { AvatarProps } from './content/Avatar.js';
|
|
28
|
+
|
|
29
|
+
export { Badge } from './content/Badge.js';
|
|
30
|
+
export type { BadgeProps } from './content/Badge.js';
|
|
31
|
+
|
|
32
|
+
export { Callout } from './content/Callout.js';
|
|
33
|
+
export type { CalloutProps } from './content/Callout.js';
|
|
34
|
+
|
|
35
|
+
export { Card } from './content/Card.js';
|
|
36
|
+
export type { CardProps } from './content/Card.js';
|
|
37
|
+
|
|
38
|
+
export { Carousel } from './content/Carousel.js';
|
|
39
|
+
export type { CarouselProps } from './content/Carousel.js';
|
|
40
|
+
|
|
41
|
+
export { CodeBlock } from './content/CodeBlock.js';
|
|
42
|
+
export type { CodeBlockProps } from './content/CodeBlock.js';
|
|
43
|
+
|
|
44
|
+
export { Collapsible } from './content/Collapsible.js';
|
|
45
|
+
export type { CollapsibleProps } from './content/Collapsible.js';
|
|
46
|
+
|
|
47
|
+
export { ColorSwatch } from './content/ColorSwatch.js';
|
|
48
|
+
export type { ColorSwatchProps } from './content/ColorSwatch.js';
|
|
49
|
+
|
|
50
|
+
export { Column } from './content/Column.js';
|
|
51
|
+
export type { ColumnProps } from './content/Column.js';
|
|
52
|
+
|
|
53
|
+
export { DataTable } from './content/DataTable.js';
|
|
54
|
+
export type { DataTableProps } from './content/DataTable.js';
|
|
55
|
+
|
|
56
|
+
export { Divider } from './content/Divider.js';
|
|
57
|
+
export type { DividerProps } from './content/Divider.js';
|
|
58
|
+
|
|
59
|
+
export { EmptyState } from './content/EmptyState.js';
|
|
60
|
+
export type { EmptyStateProps } from './content/EmptyState.js';
|
|
61
|
+
|
|
62
|
+
export { FeatureCard } from './content/FeatureCard.js';
|
|
63
|
+
export type { FeatureCardProps } from './content/FeatureCard.js';
|
|
64
|
+
|
|
65
|
+
export { Highlight } from './content/Highlight.js';
|
|
66
|
+
export type { HighlightProps } from './content/Highlight.js';
|
|
67
|
+
|
|
68
|
+
export { Icon } from './content/Icon.js';
|
|
69
|
+
export type { IconProps } from './content/Icon.js';
|
|
70
|
+
|
|
71
|
+
export { InfiniteScroll } from './content/InfiniteScroll.js';
|
|
72
|
+
export type { InfiniteScrollProps } from './content/InfiniteScroll.js';
|
|
73
|
+
|
|
74
|
+
export { Kbd } from './content/Kbd.js';
|
|
75
|
+
export type { KbdProps } from './content/Kbd.js';
|
|
76
|
+
|
|
77
|
+
export { Markdown } from './content/Markdown.js';
|
|
78
|
+
export type { MarkdownProps } from './content/Markdown.js';
|
|
79
|
+
|
|
80
|
+
export { Marquee } from './content/Marquee.js';
|
|
81
|
+
export type { MarqueeProps } from './content/Marquee.js';
|
|
82
|
+
|
|
83
|
+
export { Meter } from './content/Meter.js';
|
|
84
|
+
export type { MeterProps } from './content/Meter.js';
|
|
85
|
+
|
|
86
|
+
export { ScrollArea } from './content/ScrollArea.js';
|
|
87
|
+
export type { ScrollAreaProps } from './content/ScrollArea.js';
|
|
88
|
+
|
|
89
|
+
export { Skeleton } from './content/Skeleton.js';
|
|
90
|
+
export type { SkeletonProps } from './content/Skeleton.js';
|
|
91
|
+
|
|
92
|
+
export { Spinner } from './content/Spinner.js';
|
|
93
|
+
export type { SpinnerProps } from './content/Spinner.js';
|
|
94
|
+
|
|
95
|
+
export { Stack } from './content/Stack.js';
|
|
96
|
+
export type { StackProps } from './content/Stack.js';
|
|
97
|
+
|
|
98
|
+
export { Stat } from './content/Stat.js';
|
|
99
|
+
export type { StatProps } from './content/Stat.js';
|
|
100
|
+
|
|
101
|
+
export { Step } from './content/Step.js';
|
|
102
|
+
export type { StepProps } from './content/Step.js';
|
|
103
|
+
|
|
104
|
+
export { Stepper } from './content/Stepper.js';
|
|
105
|
+
export type { StepperProps } from './content/Stepper.js';
|
|
106
|
+
|
|
107
|
+
export { Table } from './content/Table.js';
|
|
108
|
+
export type { TableProps } from './content/Table.js';
|
|
109
|
+
|
|
110
|
+
export { Tag } from './content/Tag.js';
|
|
111
|
+
export type { TagProps } from './content/Tag.js';
|
|
112
|
+
|
|
113
|
+
export { Text } from './content/Text.js';
|
|
114
|
+
export type { TextProps } from './content/Text.js';
|
|
115
|
+
|
|
116
|
+
export { TimelineItem } from './content/TimelineItem.js';
|
|
117
|
+
export type { TimelineItemProps } from './content/TimelineItem.js';
|
|
118
|
+
|
|
119
|
+
export { Timeline } from './content/Timeline.js';
|
|
120
|
+
export type { TimelineProps } from './content/Timeline.js';
|
|
121
|
+
|
|
122
|
+
export { Truncate } from './content/Truncate.js';
|
|
123
|
+
export type { TruncateProps } from './content/Truncate.js';
|
|
124
|
+
|
|
125
|
+
export { ValueCard } from './content/ValueCard.js';
|
|
126
|
+
export type { ValueCardProps } from './content/ValueCard.js';
|
|
127
|
+
|
|
128
|
+
export { Button } from './input/Button.js';
|
|
129
|
+
export type { ButtonProps } from './input/Button.js';
|
|
130
|
+
|
|
131
|
+
export { Calendar } from './input/Calendar.js';
|
|
132
|
+
export type { CalendarProps } from './input/Calendar.js';
|
|
133
|
+
|
|
134
|
+
export { Checkbox } from './input/Checkbox.js';
|
|
135
|
+
export type { CheckboxProps } from './input/Checkbox.js';
|
|
136
|
+
|
|
137
|
+
export { Chip } from './input/Chip.js';
|
|
138
|
+
export type { ChipProps } from './input/Chip.js';
|
|
139
|
+
|
|
140
|
+
export { ColorPicker } from './input/ColorPicker.js';
|
|
141
|
+
export type { ColorPickerProps } from './input/ColorPicker.js';
|
|
142
|
+
|
|
143
|
+
export { Combobox } from './input/Combobox.js';
|
|
144
|
+
export type { ComboboxProps } from './input/Combobox.js';
|
|
145
|
+
|
|
146
|
+
export { CopyButton } from './input/CopyButton.js';
|
|
147
|
+
export type { CopyButtonProps } from './input/CopyButton.js';
|
|
148
|
+
|
|
149
|
+
export { DatePicker } from './input/DatePicker.js';
|
|
150
|
+
export type { DatePickerProps } from './input/DatePicker.js';
|
|
151
|
+
|
|
152
|
+
export { FileUpload } from './input/FileUpload.js';
|
|
153
|
+
export type { FileUploadProps } from './input/FileUpload.js';
|
|
154
|
+
|
|
155
|
+
export { Form } from './input/Form.js';
|
|
156
|
+
export type { FormProps } from './input/Form.js';
|
|
157
|
+
|
|
158
|
+
export { IconButton } from './input/IconButton.js';
|
|
159
|
+
export type { IconButtonProps } from './input/IconButton.js';
|
|
160
|
+
|
|
161
|
+
export { Input } from './input/Input.js';
|
|
162
|
+
export type { InputProps } from './input/Input.js';
|
|
163
|
+
|
|
164
|
+
export { MultiSelect } from './input/MultiSelect.js';
|
|
165
|
+
export type { MultiSelectProps } from './input/MultiSelect.js';
|
|
166
|
+
|
|
167
|
+
export { NumberInput } from './input/NumberInput.js';
|
|
168
|
+
export type { NumberInputProps } from './input/NumberInput.js';
|
|
169
|
+
|
|
170
|
+
export { OtpInput } from './input/OtpInput.js';
|
|
171
|
+
export type { OtpInputProps } from './input/OtpInput.js';
|
|
172
|
+
|
|
173
|
+
export { PinInput } from './input/PinInput.js';
|
|
174
|
+
export type { PinInputProps } from './input/PinInput.js';
|
|
175
|
+
|
|
176
|
+
export { RadioGroup } from './input/RadioGroup.js';
|
|
177
|
+
export type { RadioGroupProps } from './input/RadioGroup.js';
|
|
178
|
+
|
|
179
|
+
export { Radio } from './input/Radio.js';
|
|
180
|
+
export type { RadioProps } from './input/Radio.js';
|
|
181
|
+
|
|
182
|
+
export { Rating } from './input/Rating.js';
|
|
183
|
+
export type { RatingProps } from './input/Rating.js';
|
|
184
|
+
|
|
185
|
+
export { Search } from './input/Search.js';
|
|
186
|
+
export type { SearchProps } from './input/Search.js';
|
|
187
|
+
|
|
188
|
+
export { SegmentedControl } from './input/SegmentedControl.js';
|
|
189
|
+
export type { SegmentedControlProps } from './input/SegmentedControl.js';
|
|
190
|
+
|
|
191
|
+
export { Select } from './input/Select.js';
|
|
192
|
+
export type { SelectProps } from './input/Select.js';
|
|
193
|
+
|
|
194
|
+
export { Slider } from './input/Slider.js';
|
|
195
|
+
export type { SliderProps } from './input/Slider.js';
|
|
196
|
+
|
|
197
|
+
export { SortableList } from './input/SortableList.js';
|
|
198
|
+
export type { SortableListProps } from './input/SortableList.js';
|
|
199
|
+
|
|
200
|
+
export { Suggestion } from './input/Suggestion.js';
|
|
201
|
+
export type { SuggestionProps } from './input/Suggestion.js';
|
|
202
|
+
|
|
203
|
+
export { Textarea } from './input/Textarea.js';
|
|
204
|
+
export type { TextareaProps } from './input/Textarea.js';
|
|
205
|
+
|
|
206
|
+
export { ThemeToggle } from './input/ThemeToggle.js';
|
|
207
|
+
export type { ThemeToggleProps } from './input/ThemeToggle.js';
|
|
208
|
+
|
|
209
|
+
export { Toggle } from './input/Toggle.js';
|
|
210
|
+
export type { ToggleProps } from './input/Toggle.js';
|
|
211
|
+
|
|
212
|
+
export { BreadcrumbItem } from './navigation/BreadcrumbItem.js';
|
|
213
|
+
export type { BreadcrumbItemProps } from './navigation/BreadcrumbItem.js';
|
|
214
|
+
|
|
215
|
+
export { Breadcrumb } from './navigation/Breadcrumb.js';
|
|
216
|
+
export type { BreadcrumbProps } from './navigation/Breadcrumb.js';
|
|
217
|
+
|
|
218
|
+
export { Drawer } from './navigation/Drawer.js';
|
|
219
|
+
export type { DrawerProps } from './navigation/Drawer.js';
|
|
220
|
+
|
|
221
|
+
export { Footer } from './navigation/Footer.js';
|
|
222
|
+
export type { FooterProps } from './navigation/Footer.js';
|
|
223
|
+
|
|
224
|
+
export { Link } from './navigation/Link.js';
|
|
225
|
+
export type { LinkProps } from './navigation/Link.js';
|
|
226
|
+
|
|
227
|
+
export { NavItem } from './navigation/NavItem.js';
|
|
228
|
+
export type { NavItemProps } from './navigation/NavItem.js';
|
|
229
|
+
|
|
230
|
+
export { NavigationMenu } from './navigation/NavigationMenu.js';
|
|
231
|
+
export type { NavigationMenuProps } from './navigation/NavigationMenu.js';
|
|
232
|
+
|
|
233
|
+
export { Pagination } from './navigation/Pagination.js';
|
|
234
|
+
export type { PaginationProps } from './navigation/Pagination.js';
|
|
235
|
+
|
|
236
|
+
export { ScrollSpy } from './navigation/ScrollSpy.js';
|
|
237
|
+
export type { ScrollSpyProps } from './navigation/ScrollSpy.js';
|
|
238
|
+
|
|
239
|
+
export { ScrollToTop } from './navigation/ScrollToTop.js';
|
|
240
|
+
export type { ScrollToTopProps } from './navigation/ScrollToTop.js';
|
|
241
|
+
|
|
242
|
+
export { SidebarLink } from './navigation/SidebarLink.js';
|
|
243
|
+
export type { SidebarLinkProps } from './navigation/SidebarLink.js';
|
|
244
|
+
|
|
245
|
+
export { SidebarSection } from './navigation/SidebarSection.js';
|
|
246
|
+
export type { SidebarSectionProps } from './navigation/SidebarSection.js';
|
|
247
|
+
|
|
248
|
+
export { Sidebar } from './navigation/Sidebar.js';
|
|
249
|
+
export type { SidebarProps } from './navigation/Sidebar.js';
|
|
250
|
+
|
|
251
|
+
export { SpyLink } from './navigation/SpyLink.js';
|
|
252
|
+
export type { SpyLinkProps } from './navigation/SpyLink.js';
|
|
253
|
+
|
|
254
|
+
export { Tab } from './navigation/Tab.js';
|
|
255
|
+
export type { TabProps } from './navigation/Tab.js';
|
|
256
|
+
|
|
257
|
+
export { Tabs } from './navigation/Tabs.js';
|
|
258
|
+
export type { TabsProps } from './navigation/Tabs.js';
|
|
259
|
+
|
|
260
|
+
export { TopBar } from './navigation/TopBar.js';
|
|
261
|
+
export type { TopBarProps } from './navigation/TopBar.js';
|
|
262
|
+
|
|
263
|
+
export { TreeItem } from './navigation/TreeItem.js';
|
|
264
|
+
export type { TreeItemProps } from './navigation/TreeItem.js';
|
|
265
|
+
|
|
266
|
+
export { TreeView } from './navigation/TreeView.js';
|
|
267
|
+
export type { TreeViewProps } from './navigation/TreeView.js';
|
|
268
|
+
|
|
269
|
+
export { AppShell } from './layout/AppShell.js';
|
|
270
|
+
export type { AppShellProps } from './layout/AppShell.js';
|
|
271
|
+
|
|
272
|
+
export { AuthShell } from './layout/AuthShell.js';
|
|
273
|
+
export type { AuthShellProps } from './layout/AuthShell.js';
|
|
274
|
+
|
|
275
|
+
export { Container } from './layout/Container.js';
|
|
276
|
+
export type { ContainerProps } from './layout/Container.js';
|
|
277
|
+
|
|
278
|
+
export { DashboardGrid } from './layout/DashboardGrid.js';
|
|
279
|
+
export type { DashboardGridProps } from './layout/DashboardGrid.js';
|
|
280
|
+
|
|
281
|
+
export { PageHeader } from './layout/PageHeader.js';
|
|
282
|
+
export type { PageHeaderProps } from './layout/PageHeader.js';
|
|
283
|
+
|
|
284
|
+
export { PageLayout } from './layout/PageLayout.js';
|
|
285
|
+
export type { PageLayoutProps } from './layout/PageLayout.js';
|
|
286
|
+
|
|
287
|
+
export { Resizable } from './layout/Resizable.js';
|
|
288
|
+
export type { ResizableProps } from './layout/Resizable.js';
|
|
289
|
+
|
|
290
|
+
export { Section } from './layout/Section.js';
|
|
291
|
+
export type { SectionProps } from './layout/Section.js';
|
|
292
|
+
|
|
293
|
+
export { SettingsLayout } from './layout/SettingsLayout.js';
|
|
294
|
+
export type { SettingsLayoutProps } from './layout/SettingsLayout.js';
|
|
295
|
+
|
|
296
|
+
export { SplitPane } from './layout/SplitPane.js';
|
|
297
|
+
export type { SplitPaneProps } from './layout/SplitPane.js';
|
|
298
|
+
|
|
299
|
+
export { StatusBar } from './layout/StatusBar.js';
|
|
300
|
+
export type { StatusBarProps } from './layout/StatusBar.js';
|
|
301
|
+
|
|
302
|
+
export { Toolbar } from './layout/Toolbar.js';
|
|
303
|
+
export type { ToolbarProps } from './layout/Toolbar.js';
|
|
304
|
+
|
|
305
|
+
export { Alert } from './feedback/Alert.js';
|
|
306
|
+
export type { AlertProps } from './feedback/Alert.js';
|
|
307
|
+
|
|
308
|
+
export { CommandItem } from './feedback/CommandItem.js';
|
|
309
|
+
export type { CommandItemProps } from './feedback/CommandItem.js';
|
|
310
|
+
|
|
311
|
+
export { CommandPalette } from './feedback/CommandPalette.js';
|
|
312
|
+
export type { CommandPaletteProps } from './feedback/CommandPalette.js';
|
|
313
|
+
|
|
314
|
+
export { ContextMenu } from './feedback/ContextMenu.js';
|
|
315
|
+
export type { ContextMenuProps } from './feedback/ContextMenu.js';
|
|
316
|
+
|
|
317
|
+
export { Dialog } from './feedback/Dialog.js';
|
|
318
|
+
export type { DialogProps } from './feedback/Dialog.js';
|
|
319
|
+
|
|
320
|
+
export { DropdownMenu } from './feedback/DropdownMenu.js';
|
|
321
|
+
export type { DropdownMenuProps } from './feedback/DropdownMenu.js';
|
|
322
|
+
|
|
323
|
+
export { HoverCard } from './feedback/HoverCard.js';
|
|
324
|
+
export type { HoverCardProps } from './feedback/HoverCard.js';
|
|
325
|
+
|
|
326
|
+
export { Modal } from './feedback/Modal.js';
|
|
327
|
+
export type { ModalProps } from './feedback/Modal.js';
|
|
328
|
+
|
|
329
|
+
export { NotificationPanel } from './feedback/NotificationPanel.js';
|
|
330
|
+
export type { NotificationPanelProps } from './feedback/NotificationPanel.js';
|
|
331
|
+
|
|
332
|
+
export { Popover } from './feedback/Popover.js';
|
|
333
|
+
export type { PopoverProps } from './feedback/Popover.js';
|
|
334
|
+
|
|
335
|
+
export { Progress } from './feedback/Progress.js';
|
|
336
|
+
export type { ProgressProps } from './feedback/Progress.js';
|
|
337
|
+
|
|
338
|
+
export { Sheet } from './feedback/Sheet.js';
|
|
339
|
+
export type { SheetProps } from './feedback/Sheet.js';
|
|
340
|
+
|
|
341
|
+
export { Toast } from './feedback/Toast.js';
|
|
342
|
+
export type { ToastProps } from './feedback/Toast.js';
|
|
343
|
+
|
|
344
|
+
export { Tooltip } from './feedback/Tooltip.js';
|
|
345
|
+
export type { TooltipProps } from './feedback/Tooltip.js';
|
|
346
|
+
|
|
347
|
+
export { MenuDivider } from './shared/MenuDivider.js';
|
|
348
|
+
export type { MenuDividerProps } from './shared/MenuDivider.js';
|
|
349
|
+
|
|
350
|
+
export { MenuItem } from './shared/MenuItem.js';
|
|
351
|
+
export type { MenuItemProps } from './shared/MenuItem.js';
|
|
352
|
+
|
|
353
|
+
export { Option } from './shared/Option.js';
|
|
354
|
+
export type { OptionProps } from './shared/Option.js';
|
|
@@ -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 { ArcButton } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ButtonProps {
|
|
8
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
|
+
href?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
type?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
onClick?: (e: Event) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Button = createComponent({
|
|
19
|
+
tagName: 'arc-button',
|
|
20
|
+
elementClass: ArcButton,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onClick: 'click' as EventName<Event>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { ArcCalendar } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface CalendarProps {
|
|
8
|
+
value?: string;
|
|
9
|
+
min?: string;
|
|
10
|
+
max?: string;
|
|
11
|
+
month?: number;
|
|
12
|
+
year?: number;
|
|
13
|
+
_focusedDay?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
onArcNavigate?: (e: CustomEvent) => void;
|
|
17
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
18
|
+
onClick?: (e: Event) => void;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const Calendar = createComponent({
|
|
22
|
+
tagName: 'arc-calendar',
|
|
23
|
+
elementClass: ArcCalendar,
|
|
24
|
+
react: React,
|
|
25
|
+
events: {
|
|
26
|
+
onArcNavigate: 'arc-navigate' as EventName<CustomEvent>,
|
|
27
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
28
|
+
onClick: 'click' as EventName<Event>,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
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 { ArcCheckbox } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface CheckboxProps {
|
|
8
|
+
checked?: boolean;
|
|
9
|
+
indeterminate?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
className?: string;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Checkbox = createComponent({
|
|
20
|
+
tagName: 'arc-checkbox',
|
|
21
|
+
elementClass: ArcCheckbox,
|
|
22
|
+
react: React,
|
|
23
|
+
events: {
|
|
24
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -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 { ArcChip } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ChipProps {
|
|
8
|
+
selected?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
value?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Chip = createComponent({
|
|
17
|
+
tagName: 'arc-chip',
|
|
18
|
+
elementClass: ArcChip,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { ArcColorPicker } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ColorPickerProps {
|
|
8
|
+
value?: string;
|
|
9
|
+
presets?: unknown[];
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
label?: string;
|
|
12
|
+
_hue?: string;
|
|
13
|
+
_sat?: string;
|
|
14
|
+
_lit?: string;
|
|
15
|
+
_hexInput?: string;
|
|
16
|
+
_draggingArea?: string;
|
|
17
|
+
_draggingHue?: string;
|
|
18
|
+
className?: string;
|
|
19
|
+
children?: React.ReactNode;
|
|
20
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const ColorPicker = createComponent({
|
|
24
|
+
tagName: 'arc-color-picker',
|
|
25
|
+
elementClass: ArcColorPicker,
|
|
26
|
+
react: React,
|
|
27
|
+
events: {
|
|
28
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
29
|
+
},
|
|
30
|
+
});
|