@arclux/arc-ui-react 2.1.0 → 2.3.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/package.json +10 -2
- package/src/content/Accordion.ts +1 -3
- package/src/content/AccordionItem.ts +2 -2
- package/src/content/AspectRatio.ts +2 -2
- package/src/content/Avatar.ts +2 -3
- package/src/content/AvatarGroup.ts +2 -2
- package/src/content/Callout.ts +1 -2
- package/src/content/Card.ts +2 -3
- package/src/content/Carousel.ts +1 -3
- package/src/content/Collapsible.ts +1 -1
- package/src/content/ColorSwatch.ts +2 -2
- package/src/content/Column.ts +2 -2
- package/src/content/CtaBanner.ts +2 -2
- package/src/content/Divider.ts +2 -2
- package/src/content/EmptyState.ts +2 -2
- package/src/content/FeatureCard.ts +2 -2
- package/src/content/Icon.ts +2 -3
- package/src/content/Image.ts +1 -2
- package/src/content/InfiniteScroll.ts +1 -1
- package/src/content/Marquee.ts +2 -3
- package/src/content/QrCode.ts +22 -0
- package/src/content/ScrollArea.ts +2 -2
- package/src/content/ScrollIndicator.ts +2 -3
- package/src/content/Separator.ts +2 -2
- package/src/content/Skeleton.ts +2 -2
- package/src/content/Spinner.ts +2 -2
- package/src/content/Stack.ts +2 -2
- package/src/content/VirtualList.ts +2 -4
- package/src/content/index.ts +23 -81
- package/src/data/AnimatedNumber.ts +2 -2
- package/src/data/Badge.ts +2 -2
- package/src/data/Chart.ts +29 -0
- package/src/data/Comparison.ts +2 -3
- package/src/data/ComparisonColumn.ts +2 -2
- package/src/data/CountdownTimer.ts +1 -6
- package/src/data/DataGrid.ts +31 -0
- package/src/data/DataTable.ts +1 -5
- package/src/data/DescriptionItem.ts +2 -2
- package/src/data/DescriptionList.ts +2 -2
- package/src/data/Diff.ts +2 -2
- package/src/data/EventCalendar.ts +29 -0
- package/src/data/Kanban.ts +24 -0
- package/src/data/KeyValue.ts +2 -2
- package/src/data/KvPair.ts +2 -2
- package/src/data/List.ts +2 -2
- package/src/data/ListItem.ts +1 -4
- package/src/data/Meter.ts +2 -2
- package/src/data/Sparkline.ts +2 -2
- package/src/data/Stat.ts +2 -2
- package/src/data/Step.ts +2 -2
- package/src/data/Stepper.ts +2 -3
- package/src/data/Table.ts +2 -2
- package/src/data/Tag.ts +1 -1
- package/src/data/Timeline.ts +3 -3
- package/src/data/TimelineItem.ts +2 -2
- package/src/data/ValueCard.ts +2 -2
- package/src/data/index.ts +82 -0
- package/src/feedback/Alert.ts +1 -1
- package/src/feedback/Announcement.ts +2 -2
- package/src/feedback/Banner.ts +1 -1
- package/src/feedback/CommandItem.ts +2 -2
- package/src/feedback/CommandPalette.ts +1 -3
- package/src/feedback/Confirm.ts +1 -1
- package/src/feedback/ConnectionStatus.ts +1 -3
- package/src/feedback/ContextMenu.ts +1 -5
- package/src/feedback/Dialog.ts +1 -1
- package/src/feedback/DropdownMenu.ts +1 -2
- package/src/feedback/GuidedTour.ts +1 -3
- package/src/feedback/HoverCard.ts +1 -2
- package/src/feedback/InlineMessage.ts +2 -2
- package/src/feedback/LoadingOverlay.ts +2 -2
- package/src/feedback/Modal.ts +1 -1
- package/src/feedback/NotificationPanel.ts +1 -1
- package/src/feedback/Popover.ts +1 -1
- package/src/feedback/Progress.ts +2 -2
- package/src/feedback/ProgressToast.ts +1 -2
- package/src/feedback/Sheet.ts +1 -1
- package/src/feedback/Snackbar.ts +1 -2
- package/src/feedback/Spotlight.ts +1 -1
- package/src/feedback/Toast.ts +1 -2
- package/src/feedback/ToastManager.ts +29 -0
- package/src/feedback/Tooltip.ts +2 -3
- package/src/feedback/index.ts +35 -33
- package/src/index.ts +242 -217
- package/src/input/Button.ts +1 -3
- package/src/input/ButtonGroup.ts +2 -2
- package/src/input/Calendar.ts +1 -2
- package/src/input/Checkbox.ts +1 -1
- package/src/input/Chip.ts +1 -1
- package/src/input/ColorPicker.ts +2 -7
- package/src/input/Combobox.ts +2 -5
- package/src/input/CopyButton.ts +1 -2
- package/src/input/DatePicker.ts +2 -5
- package/src/input/DateRangePicker.ts +31 -0
- package/src/input/Fieldset.ts +2 -4
- package/src/input/FileUpload.ts +1 -4
- package/src/input/Form.ts +1 -2
- package/src/input/Hotkey.ts +1 -1
- package/src/input/IconButton.ts +1 -1
- package/src/input/ImageCropper.ts +24 -0
- package/src/input/Input.ts +1 -3
- package/src/input/InputGroup.ts +2 -4
- package/src/input/Label.ts +2 -4
- package/src/input/MultiSelect.ts +2 -5
- package/src/input/NumberInput.ts +2 -1
- package/src/input/OtpInput.ts +2 -1
- package/src/input/PasswordInput.ts +36 -0
- package/src/input/PinInput.ts +2 -1
- package/src/input/Radio.ts +2 -2
- package/src/input/RadioGroup.ts +1 -2
- package/src/input/RangeSlider.ts +2 -2
- package/src/input/Rating.ts +2 -1
- package/src/input/Search.ts +1 -4
- package/src/input/SegmentedControl.ts +1 -2
- package/src/input/Select.ts +1 -2
- package/src/input/Slider.ts +2 -1
- package/src/input/SortableList.ts +1 -6
- package/src/input/Suggestion.ts +2 -2
- package/src/input/SwitchGroup.ts +2 -2
- package/src/input/TagInput.ts +32 -0
- package/src/input/Textarea.ts +1 -1
- package/src/input/ThemeToggle.ts +1 -1
- package/src/input/TimePicker.ts +2 -6
- package/src/input/Toggle.ts +1 -1
- package/src/input/TransferList.ts +27 -0
- package/src/input/index.ts +47 -33
- package/src/layout/AppShell.ts +2 -4
- package/src/layout/AspectGrid.ts +2 -2
- package/src/layout/AuthShell.ts +2 -2
- package/src/layout/Center.ts +2 -2
- package/src/layout/Cluster.ts +2 -2
- package/src/layout/Container.ts +2 -2
- package/src/layout/DashboardGrid.ts +2 -2
- package/src/layout/Dock.ts +2 -3
- package/src/layout/FloatBar.ts +2 -2
- package/src/layout/Inset.ts +2 -2
- package/src/layout/Masonry.ts +2 -2
- package/src/layout/PageHeader.ts +2 -2
- package/src/layout/PageLayout.ts +2 -2
- package/src/layout/Resizable.ts +1 -2
- package/src/layout/ResponsiveSwitcher.ts +2 -2
- package/src/layout/Section.ts +2 -2
- package/src/layout/SettingsLayout.ts +2 -2
- package/src/layout/SplitPane.ts +1 -1
- package/src/layout/StatusBar.ts +2 -2
- package/src/layout/Sticky.ts +1 -2
- package/src/layout/Toolbar.ts +6 -1
- package/src/layout/index.ts +28 -29
- package/src/navigation/AnchorNav.ts +1 -1
- package/src/navigation/BottomNav.ts +1 -1
- package/src/navigation/Breadcrumb.ts +2 -2
- package/src/navigation/BreadcrumbItem.ts +2 -2
- package/src/navigation/BreadcrumbMenu.ts +2 -2
- package/src/navigation/CommandBar.ts +1 -1
- package/src/navigation/Drawer.ts +1 -1
- package/src/navigation/Footer.ts +2 -2
- package/src/navigation/Link.ts +2 -2
- package/src/navigation/Menubar.ts +23 -0
- package/src/navigation/NavItem.ts +2 -2
- package/src/navigation/NavigationMenu.ts +2 -6
- package/src/navigation/PageIndicator.ts +1 -1
- package/src/navigation/Pagination.ts +1 -1
- package/src/navigation/Rail.ts +1 -1
- package/src/navigation/ScrollSpy.ts +1 -3
- package/src/navigation/ScrollToTop.ts +1 -2
- package/src/navigation/Sidebar.ts +3 -3
- package/src/navigation/SidebarLink.ts +2 -2
- package/src/navigation/SidebarSection.ts +1 -1
- package/src/navigation/SkipLink.ts +2 -2
- package/src/navigation/SpeedDial.ts +1 -1
- package/src/navigation/SpyLink.ts +2 -2
- package/src/navigation/StepperNav.ts +1 -1
- package/src/navigation/Tab.ts +2 -2
- package/src/navigation/Tabs.ts +1 -2
- package/src/navigation/TopBar.ts +2 -2
- package/src/navigation/TreeItem.ts +2 -2
- package/src/navigation/TreeView.ts +1 -3
- package/src/navigation/index.ts +35 -33
- package/src/shared/MenuDivider.ts +2 -2
- package/src/shared/MenuItem.ts +2 -2
- package/src/shared/Option.ts +2 -2
- package/src/shared/index.ts +6 -4
- package/src/typography/Blockquote.ts +2 -2
- package/src/typography/CodeBlock.ts +2 -3
- package/src/typography/GradientText.ts +2 -2
- package/src/typography/Highlight.ts +2 -2
- package/src/typography/Kbd.ts +2 -2
- package/src/typography/Markdown.ts +2 -2
- package/src/typography/NumberFormat.ts +2 -2
- package/src/typography/Prose.ts +2 -2
- package/src/typography/Text.ts +2 -2
- package/src/typography/TimeAgo.ts +2 -2
- package/src/typography/Truncate.ts +1 -1
- package/src/typography/Typewriter.ts +1 -3
- package/src/typography/index.ts +37 -0
- package/src/content/AnimatedNumber.ts +0 -23
- package/src/content/Badge.ts +0 -19
- package/src/content/CodeBlock.ts +0 -21
- package/src/content/DataTable.ts +0 -35
- package/src/content/Highlight.ts +0 -19
- package/src/content/IconLibrary.ts +0 -16
- package/src/content/Kbd.ts +0 -16
- package/src/content/List.ts +0 -28
- package/src/content/ListItem.ts +0 -27
- package/src/content/Markdown.ts +0 -17
- package/src/content/Meter.ts +0 -23
- package/src/content/Stat.ts +0 -20
- package/src/content/Step.ts +0 -17
- package/src/content/Stepper.ts +0 -18
- package/src/content/Table.ts +0 -20
- package/src/content/Tag.ts +0 -25
- package/src/content/Text.ts +0 -18
- package/src/content/Timeline.ts +0 -17
- package/src/content/TimelineItem.ts +0 -18
- package/src/content/Truncate.ts +0 -22
- package/src/content/ValueCard.ts +0 -19
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcComparisonColumn } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcComparisonColumn } from '@arclux/arc-ui/comparison-column';
|
|
6
6
|
|
|
7
7
|
export interface ComparisonColumnProps {
|
|
8
8
|
heading?: string;
|
|
@@ -2,18 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcCountdownTimer } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCountdownTimer } from '@arclux/arc-ui/countdown-timer';
|
|
6
6
|
|
|
7
7
|
export interface CountdownTimerProps {
|
|
8
8
|
target?: string;
|
|
9
9
|
label?: string;
|
|
10
10
|
expired?: string;
|
|
11
11
|
hideZeroSegments?: boolean;
|
|
12
|
-
_days?: string;
|
|
13
|
-
_hours?: string;
|
|
14
|
-
_minutes?: string;
|
|
15
|
-
_seconds?: string;
|
|
16
|
-
_expired?: string;
|
|
17
12
|
className?: string;
|
|
18
13
|
children?: React.ReactNode;
|
|
19
14
|
onArcExpired?: (e: CustomEvent) => void;
|
|
@@ -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 { ArcDataGrid } from '@arclux/arc-ui/data-grid';
|
|
6
|
+
|
|
7
|
+
export interface DataGridProps {
|
|
8
|
+
columns?: unknown[];
|
|
9
|
+
rows?: unknown[];
|
|
10
|
+
sort?: unknown[];
|
|
11
|
+
manualSort?: boolean;
|
|
12
|
+
selectable?: boolean;
|
|
13
|
+
virtual?: boolean;
|
|
14
|
+
rowHeight?: number;
|
|
15
|
+
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
onArcSort?: (e: CustomEvent) => void;
|
|
18
|
+
onArcSelectionChange?: (e: CustomEvent) => void;
|
|
19
|
+
onArcCellChange?: (e: CustomEvent) => void;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const DataGrid = createComponent({
|
|
23
|
+
tagName: 'arc-data-grid',
|
|
24
|
+
elementClass: ArcDataGrid,
|
|
25
|
+
react: React,
|
|
26
|
+
events: {
|
|
27
|
+
onArcSort: 'arc-sort' as EventName<CustomEvent>,
|
|
28
|
+
onArcSelectionChange: 'arc-selection-change' as EventName<CustomEvent>,
|
|
29
|
+
onArcCellChange: 'arc-cell-change' as EventName<CustomEvent>,
|
|
30
|
+
},
|
|
31
|
+
});
|
package/src/data/DataTable.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcDataTable } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcDataTable } from '@arclux/arc-ui/data-table';
|
|
6
6
|
|
|
7
7
|
export interface DataTableProps {
|
|
8
8
|
rows?: unknown[];
|
|
@@ -12,10 +12,6 @@ export interface DataTableProps {
|
|
|
12
12
|
sortDirection?: string;
|
|
13
13
|
virtual?: boolean;
|
|
14
14
|
rowHeight?: number;
|
|
15
|
-
_columns?: string;
|
|
16
|
-
_selectedRows?: string;
|
|
17
|
-
_startIndex?: string;
|
|
18
|
-
_visibleCount?: string;
|
|
19
15
|
className?: string;
|
|
20
16
|
children?: React.ReactNode;
|
|
21
17
|
onArcSort?: (e: CustomEvent) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcDescriptionItem } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcDescriptionItem } from '@arclux/arc-ui/description-item';
|
|
6
6
|
|
|
7
7
|
export interface DescriptionItemProps {
|
|
8
8
|
term?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcDescriptionList } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcDescriptionList } from '@arclux/arc-ui/description-list';
|
|
6
6
|
|
|
7
7
|
export interface DescriptionListProps {
|
|
8
8
|
columns?: number;
|
package/src/data/Diff.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcDiff } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcDiff } from '@arclux/arc-ui/diff';
|
|
6
6
|
|
|
7
7
|
export interface DiffProps {
|
|
8
8
|
before?: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { ArcEventCalendar } from '@arclux/arc-ui/event-calendar';
|
|
6
|
+
|
|
7
|
+
export interface EventCalendarProps {
|
|
8
|
+
events?: unknown[];
|
|
9
|
+
view?: string;
|
|
10
|
+
date?: string;
|
|
11
|
+
className?: string;
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
onArcPeriodChange?: (e: CustomEvent) => void;
|
|
14
|
+
onArcDateClick?: (e: CustomEvent) => void;
|
|
15
|
+
onArcEventClick?: (e: CustomEvent) => void;
|
|
16
|
+
onClick?: (e: Event) => void;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const EventCalendar = createComponent({
|
|
20
|
+
tagName: 'arc-event-calendar',
|
|
21
|
+
elementClass: ArcEventCalendar,
|
|
22
|
+
react: React,
|
|
23
|
+
events: {
|
|
24
|
+
onArcPeriodChange: 'arc-period-change' as EventName<CustomEvent>,
|
|
25
|
+
onArcDateClick: 'arc-date-click' as EventName<CustomEvent>,
|
|
26
|
+
onArcEventClick: 'arc-event-click' as EventName<CustomEvent>,
|
|
27
|
+
onClick: 'click' as EventName<Event>,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
@@ -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 { ArcKanban } from '@arclux/arc-ui/kanban';
|
|
6
|
+
|
|
7
|
+
export interface KanbanProps {
|
|
8
|
+
columns?: unknown[];
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
onArcCardMove?: (e: CustomEvent) => void;
|
|
13
|
+
onArcCardClick?: (e: CustomEvent) => void;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export const Kanban = createComponent({
|
|
17
|
+
tagName: 'arc-kanban',
|
|
18
|
+
elementClass: ArcKanban,
|
|
19
|
+
react: React,
|
|
20
|
+
events: {
|
|
21
|
+
onArcCardMove: 'arc-card-move' as EventName<CustomEvent>,
|
|
22
|
+
onArcCardClick: 'arc-card-click' as EventName<CustomEvent>,
|
|
23
|
+
},
|
|
24
|
+
});
|
package/src/data/KeyValue.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcKeyValue } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcKeyValue } from '@arclux/arc-ui/key-value';
|
|
6
6
|
|
|
7
7
|
export interface KeyValueProps {
|
|
8
8
|
layout?: 'horizontal' | 'stacked';
|
package/src/data/KvPair.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcKvPair } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcKvPair } from '@arclux/arc-ui/kv-pair';
|
|
6
6
|
|
|
7
7
|
export interface KvPairProps {
|
|
8
8
|
label?: string;
|
package/src/data/List.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcList } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcList } from '@arclux/arc-ui/list';
|
|
6
6
|
|
|
7
7
|
export interface ListProps {
|
|
8
8
|
variant?: 'bordered' | 'separated';
|
|
@@ -10,7 +10,7 @@ export interface ListProps {
|
|
|
10
10
|
selectable?: boolean;
|
|
11
11
|
multiple?: boolean;
|
|
12
12
|
value?: string;
|
|
13
|
-
|
|
13
|
+
label?: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
onArcChange?: (e: CustomEvent) => void;
|
package/src/data/ListItem.ts
CHANGED
|
@@ -2,16 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcListItem } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcListItem } from '@arclux/arc-ui/list-item';
|
|
6
6
|
|
|
7
7
|
export interface ListItemProps {
|
|
8
8
|
value?: string;
|
|
9
9
|
selected?: boolean;
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
href?: string;
|
|
12
|
-
_hasPrefix?: string;
|
|
13
|
-
_hasSuffix?: string;
|
|
14
|
-
_hasDescription?: string;
|
|
15
12
|
className?: string;
|
|
16
13
|
children?: React.ReactNode;
|
|
17
14
|
onArcItemSelect?: (e: CustomEvent) => void;
|
package/src/data/Meter.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcMeter } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcMeter } from '@arclux/arc-ui/meter';
|
|
6
6
|
|
|
7
7
|
export interface MeterProps {
|
|
8
8
|
value?: number;
|
package/src/data/Sparkline.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcSparkline } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcSparkline } from '@arclux/arc-ui/sparkline';
|
|
6
6
|
|
|
7
7
|
export interface SparklineProps {
|
|
8
8
|
data?: string;
|
package/src/data/Stat.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcStat } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcStat } from '@arclux/arc-ui/stat';
|
|
6
6
|
|
|
7
7
|
export interface StatProps {
|
|
8
8
|
value?: string;
|
package/src/data/Step.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcStep } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcStep } from '@arclux/arc-ui/step';
|
|
6
6
|
|
|
7
7
|
export interface StepProps {
|
|
8
8
|
label?: string;
|
package/src/data/Stepper.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcStepper } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcStepper } from '@arclux/arc-ui/stepper';
|
|
6
6
|
|
|
7
7
|
export interface StepperProps {
|
|
8
8
|
active?: number;
|
|
9
|
-
_steps?: string;
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
}
|
package/src/data/Table.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcTable } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcTable } from '@arclux/arc-ui/table';
|
|
6
6
|
|
|
7
7
|
export interface TableProps {
|
|
8
8
|
columns?: unknown[];
|
package/src/data/Tag.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTag } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcTag } from '@arclux/arc-ui/tag';
|
|
6
6
|
|
|
7
7
|
export interface TagProps {
|
|
8
8
|
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
package/src/data/Timeline.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcTimeline } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcTimeline } from '@arclux/arc-ui/timeline';
|
|
6
6
|
|
|
7
7
|
export interface TimelineProps {
|
|
8
|
-
|
|
8
|
+
headingLevel?: number;
|
|
9
9
|
className?: string;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
}
|
package/src/data/TimelineItem.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcTimelineItem } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcTimelineItem } from '@arclux/arc-ui/timeline-item';
|
|
6
6
|
|
|
7
7
|
export interface TimelineItemProps {
|
|
8
8
|
heading?: string;
|
package/src/data/ValueCard.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcValueCard } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcValueCard } from '@arclux/arc-ui/value-card';
|
|
6
6
|
|
|
7
7
|
export interface ValueCardProps {
|
|
8
8
|
icon?: string;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
export { AnimatedNumber } from './AnimatedNumber.js';
|
|
4
|
+
export type { AnimatedNumberProps } from './AnimatedNumber.js';
|
|
5
|
+
|
|
6
|
+
export { Badge } from './Badge.js';
|
|
7
|
+
export type { BadgeProps } from './Badge.js';
|
|
8
|
+
|
|
9
|
+
export { ComparisonColumn } from './ComparisonColumn.js';
|
|
10
|
+
export type { ComparisonColumnProps } from './ComparisonColumn.js';
|
|
11
|
+
|
|
12
|
+
export { CountdownTimer } from './CountdownTimer.js';
|
|
13
|
+
export type { CountdownTimerProps } from './CountdownTimer.js';
|
|
14
|
+
|
|
15
|
+
export { DataTable } from './DataTable.js';
|
|
16
|
+
export type { DataTableProps } from './DataTable.js';
|
|
17
|
+
|
|
18
|
+
export { DescriptionItem } from './DescriptionItem.js';
|
|
19
|
+
export type { DescriptionItemProps } from './DescriptionItem.js';
|
|
20
|
+
|
|
21
|
+
export { DescriptionList } from './DescriptionList.js';
|
|
22
|
+
export type { DescriptionListProps } from './DescriptionList.js';
|
|
23
|
+
|
|
24
|
+
export { Diff } from './Diff.js';
|
|
25
|
+
export type { DiffProps } from './Diff.js';
|
|
26
|
+
|
|
27
|
+
export { KeyValue } from './KeyValue.js';
|
|
28
|
+
export type { KeyValueProps } from './KeyValue.js';
|
|
29
|
+
|
|
30
|
+
export { KvPair } from './KvPair.js';
|
|
31
|
+
export type { KvPairProps } from './KvPair.js';
|
|
32
|
+
|
|
33
|
+
export { ListItem } from './ListItem.js';
|
|
34
|
+
export type { ListItemProps } from './ListItem.js';
|
|
35
|
+
|
|
36
|
+
export { Meter } from './Meter.js';
|
|
37
|
+
export type { MeterProps } from './Meter.js';
|
|
38
|
+
|
|
39
|
+
export { Sparkline } from './Sparkline.js';
|
|
40
|
+
export type { SparklineProps } from './Sparkline.js';
|
|
41
|
+
|
|
42
|
+
export { Stat } from './Stat.js';
|
|
43
|
+
export type { StatProps } from './Stat.js';
|
|
44
|
+
|
|
45
|
+
export { Step } from './Step.js';
|
|
46
|
+
export type { StepProps } from './Step.js';
|
|
47
|
+
|
|
48
|
+
export { Stepper } from './Stepper.js';
|
|
49
|
+
export type { StepperProps } from './Stepper.js';
|
|
50
|
+
|
|
51
|
+
export { Tag } from './Tag.js';
|
|
52
|
+
export type { TagProps } from './Tag.js';
|
|
53
|
+
|
|
54
|
+
export { TimelineItem } from './TimelineItem.js';
|
|
55
|
+
export type { TimelineItemProps } from './TimelineItem.js';
|
|
56
|
+
|
|
57
|
+
export { ValueCard } from './ValueCard.js';
|
|
58
|
+
export type { ValueCardProps } from './ValueCard.js';
|
|
59
|
+
|
|
60
|
+
export { Chart } from './Chart.js';
|
|
61
|
+
export type { ChartProps } from './Chart.js';
|
|
62
|
+
|
|
63
|
+
export { DataGrid } from './DataGrid.js';
|
|
64
|
+
export type { DataGridProps } from './DataGrid.js';
|
|
65
|
+
|
|
66
|
+
export { EventCalendar } from './EventCalendar.js';
|
|
67
|
+
export type { EventCalendarProps } from './EventCalendar.js';
|
|
68
|
+
|
|
69
|
+
export { Kanban } from './Kanban.js';
|
|
70
|
+
export type { KanbanProps } from './Kanban.js';
|
|
71
|
+
|
|
72
|
+
export { Comparison } from './Comparison.js';
|
|
73
|
+
export type { ComparisonProps } from './Comparison.js';
|
|
74
|
+
|
|
75
|
+
export { List } from './List.js';
|
|
76
|
+
export type { ListProps } from './List.js';
|
|
77
|
+
|
|
78
|
+
export { Table } from './Table.js';
|
|
79
|
+
export type { TableProps } from './Table.js';
|
|
80
|
+
|
|
81
|
+
export { Timeline } from './Timeline.js';
|
|
82
|
+
export type { TimelineProps } from './Timeline.js';
|
package/src/feedback/Alert.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcAnnouncement } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcAnnouncement } from '@arclux/arc-ui/announcement';
|
|
6
6
|
|
|
7
7
|
export interface AnnouncementProps {
|
|
8
8
|
politeness?: string;
|
package/src/feedback/Banner.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcCommandItem } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcCommandItem } from '@arclux/arc-ui/command-item';
|
|
6
6
|
|
|
7
7
|
export interface CommandItemProps {
|
|
8
8
|
shortcut?: string;
|
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcCommandPalette } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCommandPalette } from '@arclux/arc-ui/command-palette';
|
|
6
6
|
|
|
7
7
|
export interface CommandPaletteProps {
|
|
8
8
|
open?: boolean;
|
|
9
9
|
placeholder?: string;
|
|
10
|
-
_query?: string;
|
|
11
|
-
_items?: string;
|
|
12
10
|
className?: string;
|
|
13
11
|
children?: React.ReactNode;
|
|
14
12
|
onArcSelect?: (e: CustomEvent) => void;
|
package/src/feedback/Confirm.ts
CHANGED
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcConnectionStatus } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcConnectionStatus } from '@arclux/arc-ui/connection-status';
|
|
6
6
|
|
|
7
7
|
export interface ConnectionStatusProps {
|
|
8
|
-
online?: string;
|
|
9
|
-
_visible?: string;
|
|
10
8
|
className?: string;
|
|
11
9
|
children?: React.ReactNode;
|
|
12
10
|
onArcOnline?: (e: CustomEvent) => void;
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcContextMenu } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcContextMenu } from '@arclux/arc-ui/context-menu';
|
|
6
6
|
|
|
7
7
|
export interface ContextMenuProps {
|
|
8
8
|
open?: boolean;
|
|
9
|
-
_x?: string;
|
|
10
|
-
_y?: string;
|
|
11
|
-
_activeIndex?: string;
|
|
12
|
-
_children?: string;
|
|
13
9
|
className?: string;
|
|
14
10
|
children?: React.ReactNode;
|
|
15
11
|
onArcOpen?: (e: CustomEvent) => void;
|
package/src/feedback/Dialog.ts
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcDropdownMenu } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcDropdownMenu } from '@arclux/arc-ui/dropdown-menu';
|
|
6
6
|
|
|
7
7
|
export interface DropdownMenuProps {
|
|
8
8
|
open?: boolean;
|
|
9
|
-
_children?: string;
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
onArcClose?: (e: CustomEvent) => void;
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcGuidedTour } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcGuidedTour } from '@arclux/arc-ui/guided-tour';
|
|
6
6
|
|
|
7
7
|
export interface GuidedTourProps {
|
|
8
|
-
steps?: string;
|
|
9
|
-
active?: string;
|
|
10
8
|
open?: boolean;
|
|
11
9
|
className?: string;
|
|
12
10
|
children?: React.ReactNode;
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcHoverCard } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcHoverCard } from '@arclux/arc-ui/hover-card';
|
|
6
6
|
|
|
7
7
|
export interface HoverCardProps {
|
|
8
8
|
position?: string;
|
|
9
9
|
openDelay?: number;
|
|
10
10
|
closeDelay?: number;
|
|
11
|
-
_visible?: string;
|
|
12
11
|
className?: string;
|
|
13
12
|
children?: React.ReactNode;
|
|
14
13
|
onArcOpen?: (e: CustomEvent) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcInlineMessage } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcInlineMessage } from '@arclux/arc-ui/inline-message';
|
|
6
6
|
|
|
7
7
|
export interface InlineMessageProps {
|
|
8
8
|
variant?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcLoadingOverlay } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcLoadingOverlay } from '@arclux/arc-ui/loading-overlay';
|
|
6
6
|
|
|
7
7
|
export interface LoadingOverlayProps {
|
|
8
8
|
active?: boolean;
|
package/src/feedback/Modal.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcNotificationPanel } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcNotificationPanel } from '@arclux/arc-ui/notification-panel';
|
|
6
6
|
|
|
7
7
|
export interface NotificationPanelProps {
|
|
8
8
|
open?: boolean;
|