@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 { ArcMeter } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface MeterProps {
|
|
8
|
+
value?: number;
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
low?: number;
|
|
12
|
+
high?: number;
|
|
13
|
+
optimum?: number;
|
|
14
|
+
label?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Meter = createComponent({
|
|
20
|
+
tagName: 'arc-meter',
|
|
21
|
+
elementClass: ArcMeter,
|
|
22
|
+
react: React,
|
|
23
|
+
});
|
|
@@ -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 { ArcScrollArea } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ScrollAreaProps {
|
|
8
|
+
maxHeight?: string;
|
|
9
|
+
orientation?: 'vertical' | 'horizontal' | 'both';
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const ScrollArea = createComponent({
|
|
15
|
+
tagName: 'arc-scroll-area',
|
|
16
|
+
elementClass: ArcScrollArea,
|
|
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 { ArcSkeleton } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SkeletonProps {
|
|
8
|
+
variant?: 'text' | 'circle' | 'rect';
|
|
9
|
+
width?: string;
|
|
10
|
+
height?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Skeleton = createComponent({
|
|
16
|
+
tagName: 'arc-skeleton',
|
|
17
|
+
elementClass: ArcSkeleton,
|
|
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 { ArcSpinner } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface SpinnerProps {
|
|
8
|
+
size?: 'sm' | 'md' | 'lg';
|
|
9
|
+
variant?: 'primary' | 'secondary' | 'white';
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Spinner = createComponent({
|
|
15
|
+
tagName: 'arc-spinner',
|
|
16
|
+
elementClass: ArcSpinner,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -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 { ArcStack } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface StackProps {
|
|
8
|
+
direction?: 'horizontal' | 'vertical';
|
|
9
|
+
gap?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
10
|
+
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
11
|
+
justify?: 'start' | 'center' | 'end' | 'between' | 'around';
|
|
12
|
+
wrap?: boolean;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const Stack = createComponent({
|
|
18
|
+
tagName: 'arc-stack',
|
|
19
|
+
elementClass: ArcStack,
|
|
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 { ArcStat } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface StatProps {
|
|
8
|
+
value?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Stat = createComponent({
|
|
15
|
+
tagName: 'arc-stat',
|
|
16
|
+
elementClass: ArcStat,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -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 { ArcStep } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface StepProps {
|
|
8
|
+
label?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Step = createComponent({
|
|
14
|
+
tagName: 'arc-step',
|
|
15
|
+
elementClass: ArcStep,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -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 { ArcStepper } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface StepperProps {
|
|
8
|
+
active?: number;
|
|
9
|
+
_steps?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Stepper = createComponent({
|
|
15
|
+
tagName: 'arc-stepper',
|
|
16
|
+
elementClass: ArcStepper,
|
|
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 { ArcTable } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TableProps {
|
|
8
|
+
columns?: unknown[];
|
|
9
|
+
rows?: unknown[];
|
|
10
|
+
striped?: boolean;
|
|
11
|
+
compact?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Table = createComponent({
|
|
17
|
+
tagName: 'arc-table',
|
|
18
|
+
elementClass: ArcTable,
|
|
19
|
+
react: React,
|
|
20
|
+
});
|
|
@@ -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 { ArcTag } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TagProps {
|
|
8
|
+
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
9
|
+
removable?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcRemove?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Tag = createComponent({
|
|
17
|
+
tagName: 'arc-tag',
|
|
18
|
+
elementClass: ArcTag,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcRemove: 'arc-remove' as EventName<CustomEvent>,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -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 { ArcText } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TextProps {
|
|
8
|
+
variant?: 'accent' | 'code';
|
|
9
|
+
as?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Text = createComponent({
|
|
15
|
+
tagName: 'arc-text',
|
|
16
|
+
elementClass: ArcText,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -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 { ArcTimeline } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TimelineProps {
|
|
8
|
+
_items?: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const Timeline = createComponent({
|
|
14
|
+
tagName: 'arc-timeline',
|
|
15
|
+
elementClass: ArcTimeline,
|
|
16
|
+
react: React,
|
|
17
|
+
});
|
|
@@ -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 { ArcTimelineItem } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TimelineItemProps {
|
|
8
|
+
heading?: string;
|
|
9
|
+
date?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const TimelineItem = createComponent({
|
|
15
|
+
tagName: 'arc-timeline-item',
|
|
16
|
+
elementClass: ArcTimelineItem,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { ArcTruncate } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface TruncateProps {
|
|
8
|
+
lines?: number;
|
|
9
|
+
expanded?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
onArcToggle?: (e: CustomEvent) => void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Truncate = createComponent({
|
|
16
|
+
tagName: 'arc-truncate',
|
|
17
|
+
elementClass: ArcTruncate,
|
|
18
|
+
react: React,
|
|
19
|
+
events: {
|
|
20
|
+
onArcToggle: 'arc-toggle' as EventName<CustomEvent>,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
@@ -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 { ArcValueCard } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ValueCardProps {
|
|
8
|
+
icon?: string;
|
|
9
|
+
heading?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const ValueCard = createComponent({
|
|
16
|
+
tagName: 'arc-value-card',
|
|
17
|
+
elementClass: ArcValueCard,
|
|
18
|
+
react: React,
|
|
19
|
+
});
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
// ARC UI React — Content tier
|
|
2
|
+
// Static display components: cards, badges, text, tables, etc.
|
|
3
|
+
|
|
4
|
+
export { Accordion } from './Accordion.js';
|
|
5
|
+
export type { AccordionProps } from './Accordion.js';
|
|
6
|
+
|
|
7
|
+
export { AccordionItem } from './AccordionItem.js';
|
|
8
|
+
export type { AccordionItemProps } from './AccordionItem.js';
|
|
9
|
+
|
|
10
|
+
export { AnimatedNumber } from './AnimatedNumber.js';
|
|
11
|
+
export type { AnimatedNumberProps } from './AnimatedNumber.js';
|
|
12
|
+
|
|
13
|
+
export { AspectRatio } from './AspectRatio.js';
|
|
14
|
+
export type { AspectRatioProps } from './AspectRatio.js';
|
|
15
|
+
|
|
16
|
+
export { Avatar } from './Avatar.js';
|
|
17
|
+
export type { AvatarProps } from './Avatar.js';
|
|
18
|
+
|
|
19
|
+
export { AvatarGroup } from './AvatarGroup.js';
|
|
20
|
+
export type { AvatarGroupProps } from './AvatarGroup.js';
|
|
21
|
+
|
|
22
|
+
export { Badge } from './Badge.js';
|
|
23
|
+
export type { BadgeProps } from './Badge.js';
|
|
24
|
+
|
|
25
|
+
export { Callout } from './Callout.js';
|
|
26
|
+
export type { CalloutProps } from './Callout.js';
|
|
27
|
+
|
|
28
|
+
export { Card } from './Card.js';
|
|
29
|
+
export type { CardProps } from './Card.js';
|
|
30
|
+
|
|
31
|
+
export { Carousel } from './Carousel.js';
|
|
32
|
+
export type { CarouselProps } from './Carousel.js';
|
|
33
|
+
|
|
34
|
+
export { CodeBlock } from './CodeBlock.js';
|
|
35
|
+
export type { CodeBlockProps } from './CodeBlock.js';
|
|
36
|
+
|
|
37
|
+
export { Collapsible } from './Collapsible.js';
|
|
38
|
+
export type { CollapsibleProps } from './Collapsible.js';
|
|
39
|
+
|
|
40
|
+
export { Column } from './Column.js';
|
|
41
|
+
export type { ColumnProps } from './Column.js';
|
|
42
|
+
|
|
43
|
+
export { ColorSwatch } from './ColorSwatch.js';
|
|
44
|
+
export type { ColorSwatchProps } from './ColorSwatch.js';
|
|
45
|
+
|
|
46
|
+
export { DataTable } from './DataTable.js';
|
|
47
|
+
export type { DataTableProps } from './DataTable.js';
|
|
48
|
+
|
|
49
|
+
export { Divider } from './Divider.js';
|
|
50
|
+
export type { DividerProps } from './Divider.js';
|
|
51
|
+
|
|
52
|
+
export { EmptyState } from './EmptyState.js';
|
|
53
|
+
export type { EmptyStateProps } from './EmptyState.js';
|
|
54
|
+
|
|
55
|
+
export { FeatureCard } from './FeatureCard.js';
|
|
56
|
+
export type { FeatureCardProps } from './FeatureCard.js';
|
|
57
|
+
|
|
58
|
+
export { Highlight } from './Highlight.js';
|
|
59
|
+
export type { HighlightProps } from './Highlight.js';
|
|
60
|
+
|
|
61
|
+
export { Icon } from './Icon.js';
|
|
62
|
+
export type { IconProps } from './Icon.js';
|
|
63
|
+
|
|
64
|
+
export { InfiniteScroll } from './InfiniteScroll.js';
|
|
65
|
+
export type { InfiniteScrollProps } from './InfiniteScroll.js';
|
|
66
|
+
|
|
67
|
+
export { Kbd } from './Kbd.js';
|
|
68
|
+
export type { KbdProps } from './Kbd.js';
|
|
69
|
+
|
|
70
|
+
export { Markdown } from './Markdown.js';
|
|
71
|
+
export type { MarkdownProps } from './Markdown.js';
|
|
72
|
+
|
|
73
|
+
export { Marquee } from './Marquee.js';
|
|
74
|
+
export type { MarqueeProps } from './Marquee.js';
|
|
75
|
+
|
|
76
|
+
export { Meter } from './Meter.js';
|
|
77
|
+
export type { MeterProps } from './Meter.js';
|
|
78
|
+
|
|
79
|
+
export { ScrollArea } from './ScrollArea.js';
|
|
80
|
+
export type { ScrollAreaProps } from './ScrollArea.js';
|
|
81
|
+
|
|
82
|
+
export { Skeleton } from './Skeleton.js';
|
|
83
|
+
export type { SkeletonProps } from './Skeleton.js';
|
|
84
|
+
|
|
85
|
+
export { Spinner } from './Spinner.js';
|
|
86
|
+
export type { SpinnerProps } from './Spinner.js';
|
|
87
|
+
|
|
88
|
+
export { Stack } from './Stack.js';
|
|
89
|
+
export type { StackProps } from './Stack.js';
|
|
90
|
+
|
|
91
|
+
export { Stat } from './Stat.js';
|
|
92
|
+
export type { StatProps } from './Stat.js';
|
|
93
|
+
|
|
94
|
+
export { Step } from './Step.js';
|
|
95
|
+
export type { StepProps } from './Step.js';
|
|
96
|
+
|
|
97
|
+
export { Stepper } from './Stepper.js';
|
|
98
|
+
export type { StepperProps } from './Stepper.js';
|
|
99
|
+
|
|
100
|
+
export { Table } from './Table.js';
|
|
101
|
+
export type { TableProps } from './Table.js';
|
|
102
|
+
|
|
103
|
+
export { Tag } from './Tag.js';
|
|
104
|
+
export type { TagProps } from './Tag.js';
|
|
105
|
+
|
|
106
|
+
export { Text } from './Text.js';
|
|
107
|
+
export type { TextProps } from './Text.js';
|
|
108
|
+
|
|
109
|
+
export { Timeline } from './Timeline.js';
|
|
110
|
+
export type { TimelineProps } from './Timeline.js';
|
|
111
|
+
|
|
112
|
+
export { TimelineItem } from './TimelineItem.js';
|
|
113
|
+
export type { TimelineItemProps } from './TimelineItem.js';
|
|
114
|
+
|
|
115
|
+
export { Truncate } from './Truncate.js';
|
|
116
|
+
export type { TruncateProps } from './Truncate.js';
|
|
117
|
+
|
|
118
|
+
export { ValueCard } from './ValueCard.js';
|
|
119
|
+
export type { ValueCardProps } from './ValueCard.js';
|
|
@@ -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 { ArcAlert } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface AlertProps {
|
|
8
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
9
|
+
dismissible?: boolean;
|
|
10
|
+
heading?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcDismiss?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Alert = createComponent({
|
|
17
|
+
tagName: 'arc-alert',
|
|
18
|
+
elementClass: ArcAlert,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcDismiss: 'arc-dismiss' as EventName<CustomEvent>,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
@@ -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 { ArcCommandItem } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface CommandItemProps {
|
|
8
|
+
shortcut?: string;
|
|
9
|
+
icon?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const CommandItem = createComponent({
|
|
15
|
+
tagName: 'arc-command-item',
|
|
16
|
+
elementClass: ArcCommandItem,
|
|
17
|
+
react: React,
|
|
18
|
+
});
|
|
@@ -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 { ArcCommandPalette } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface CommandPaletteProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
_query?: string;
|
|
11
|
+
_focusedIndex?: string;
|
|
12
|
+
_items?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
onArcSelect?: (e: CustomEvent) => void;
|
|
16
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const CommandPalette = createComponent({
|
|
20
|
+
tagName: 'arc-command-palette',
|
|
21
|
+
elementClass: ArcCommandPalette,
|
|
22
|
+
react: React,
|
|
23
|
+
events: {
|
|
24
|
+
onArcSelect: 'arc-select' as EventName<CustomEvent>,
|
|
25
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
26
|
+
},
|
|
27
|
+
});
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { ArcContextMenu } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ContextMenuProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
_x?: string;
|
|
10
|
+
_y?: string;
|
|
11
|
+
_activeIndex?: string;
|
|
12
|
+
_children?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
onArcOpen?: (e: CustomEvent) => void;
|
|
16
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
17
|
+
onArcSelect?: (e: CustomEvent) => void;
|
|
18
|
+
onClick?: (e: Event) => void;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export const ContextMenu = createComponent({
|
|
22
|
+
tagName: 'arc-context-menu',
|
|
23
|
+
elementClass: ArcContextMenu,
|
|
24
|
+
react: React,
|
|
25
|
+
events: {
|
|
26
|
+
onArcOpen: 'arc-open' as EventName<CustomEvent>,
|
|
27
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
28
|
+
onArcSelect: 'arc-select' as EventName<CustomEvent>,
|
|
29
|
+
onClick: 'click' as EventName<Event>,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { ArcDialog } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface DialogProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
heading?: string;
|
|
10
|
+
message?: string;
|
|
11
|
+
variant?: 'danger';
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
onArcConfirm?: (e: CustomEvent) => void;
|
|
15
|
+
onArcCancel?: (e: CustomEvent) => void;
|
|
16
|
+
onClick?: (e: Event) => void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const Dialog = createComponent({
|
|
20
|
+
tagName: 'arc-dialog',
|
|
21
|
+
elementClass: ArcDialog,
|
|
22
|
+
react: React,
|
|
23
|
+
events: {
|
|
24
|
+
onArcConfirm: 'arc-confirm' as EventName<CustomEvent>,
|
|
25
|
+
onArcCancel: 'arc-cancel' as EventName<CustomEvent>,
|
|
26
|
+
onClick: 'click' as EventName<Event>,
|
|
27
|
+
},
|
|
28
|
+
});
|
|
@@ -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 { ArcDropdownMenu } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface DropdownMenuProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
_focusedIndex?: string;
|
|
10
|
+
_children?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
14
|
+
onArcSelect?: (e: CustomEvent) => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const DropdownMenu = createComponent({
|
|
18
|
+
tagName: 'arc-dropdown-menu',
|
|
19
|
+
elementClass: ArcDropdownMenu,
|
|
20
|
+
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
23
|
+
onArcSelect: 'arc-select' as EventName<CustomEvent>,
|
|
24
|
+
},
|
|
25
|
+
});
|
|
@@ -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 { ArcHoverCard } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface HoverCardProps {
|
|
8
|
+
position?: 'bottom' | 'top' | 'left' | 'right';
|
|
9
|
+
openDelay?: number;
|
|
10
|
+
closeDelay?: number;
|
|
11
|
+
_visible?: string;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
onArcOpen?: (e: CustomEvent) => void;
|
|
15
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const HoverCard = createComponent({
|
|
19
|
+
tagName: 'arc-hover-card',
|
|
20
|
+
elementClass: ArcHoverCard,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onArcOpen: 'arc-open' as EventName<CustomEvent>,
|
|
24
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -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 { ArcModal } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface ModalProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
heading?: string;
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
|
+
closable?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
15
|
+
onArcOpen?: (e: CustomEvent) => void;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Modal = createComponent({
|
|
19
|
+
tagName: 'arc-modal',
|
|
20
|
+
elementClass: ArcModal,
|
|
21
|
+
react: React,
|
|
22
|
+
events: {
|
|
23
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
24
|
+
onArcOpen: 'arc-open' as EventName<CustomEvent>,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
@@ -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 { ArcNotificationPanel } from '@arclux/arc-ui';
|
|
6
|
+
|
|
7
|
+
export interface NotificationPanelProps {
|
|
8
|
+
open?: boolean;
|
|
9
|
+
position?: string;
|
|
10
|
+
maxHeight?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcOpen?: (e: CustomEvent) => void;
|
|
14
|
+
onArcClose?: (e: CustomEvent) => void;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const NotificationPanel = createComponent({
|
|
18
|
+
tagName: 'arc-notification-panel',
|
|
19
|
+
elementClass: ArcNotificationPanel,
|
|
20
|
+
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcOpen: 'arc-open' as EventName<CustomEvent>,
|
|
23
|
+
onArcClose: 'arc-close' as EventName<CustomEvent>,
|
|
24
|
+
},
|
|
25
|
+
});
|