@arclux/arc-ui-react 2.1.0 → 2.2.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 +1 -1
- package/src/content/AspectRatio.ts +1 -1
- package/src/content/Avatar.ts +1 -2
- package/src/content/AvatarGroup.ts +1 -1
- package/src/content/Callout.ts +1 -2
- package/src/content/Card.ts +1 -2
- package/src/content/Carousel.ts +1 -3
- package/src/content/Collapsible.ts +1 -1
- package/src/content/ColorSwatch.ts +1 -1
- package/src/content/Column.ts +1 -1
- package/src/content/CtaBanner.ts +1 -1
- package/src/content/Divider.ts +1 -1
- package/src/content/EmptyState.ts +1 -1
- package/src/content/FeatureCard.ts +1 -1
- package/src/content/Icon.ts +1 -2
- package/src/content/Image.ts +1 -2
- package/src/content/InfiniteScroll.ts +1 -1
- package/src/content/Marquee.ts +1 -2
- package/src/content/{Stat.ts → QrCode.ts} +9 -7
- package/src/content/ScrollArea.ts +1 -1
- package/src/content/ScrollIndicator.ts +1 -2
- package/src/content/Separator.ts +1 -1
- package/src/content/Skeleton.ts +1 -1
- package/src/content/Spinner.ts +1 -1
- package/src/content/Stack.ts +1 -1
- package/src/content/VirtualList.ts +1 -3
- package/src/content/index.ts +18 -82
- package/src/data/AnimatedNumber.ts +1 -1
- package/src/data/Badge.ts +1 -1
- package/src/data/Chart.ts +29 -0
- package/src/data/Comparison.ts +1 -2
- package/src/data/ComparisonColumn.ts +1 -1
- 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 +1 -1
- package/src/data/DescriptionList.ts +1 -1
- package/src/data/Diff.ts +1 -1
- package/src/data/EventCalendar.ts +29 -0
- package/src/data/Kanban.ts +24 -0
- package/src/data/KeyValue.ts +1 -1
- package/src/data/KvPair.ts +1 -1
- package/src/data/List.ts +1 -2
- package/src/data/ListItem.ts +1 -4
- package/src/data/Meter.ts +1 -1
- package/src/data/Sparkline.ts +1 -1
- package/src/data/Stat.ts +1 -1
- package/src/data/Step.ts +1 -1
- package/src/data/Stepper.ts +1 -2
- package/src/data/Table.ts +1 -1
- package/src/data/Tag.ts +1 -1
- package/src/data/Timeline.ts +1 -2
- package/src/data/TimelineItem.ts +1 -1
- package/src/data/ValueCard.ts +1 -1
- package/src/data/index.ts +70 -0
- package/src/feedback/Alert.ts +1 -1
- package/src/feedback/Announcement.ts +1 -1
- package/src/feedback/Banner.ts +1 -1
- package/src/feedback/CommandItem.ts +1 -1
- 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 +1 -1
- package/src/feedback/LoadingOverlay.ts +1 -1
- 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 +1 -1
- 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 +1 -2
- package/src/feedback/index.ts +30 -34
- package/src/index.ts +242 -217
- package/src/input/Button.ts +1 -3
- package/src/input/ButtonGroup.ts +1 -1
- 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 +1 -3
- 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 +1 -3
- package/src/input/Label.ts +1 -3
- 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 +1 -1
- 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 +1 -1
- package/src/input/SwitchGroup.ts +1 -1
- 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 +32 -36
- package/src/layout/AppShell.ts +1 -3
- package/src/layout/AspectGrid.ts +1 -1
- package/src/layout/AuthShell.ts +1 -1
- package/src/layout/Center.ts +1 -1
- package/src/layout/Cluster.ts +1 -1
- package/src/layout/Container.ts +1 -1
- package/src/layout/DashboardGrid.ts +1 -1
- package/src/layout/Dock.ts +1 -2
- package/src/layout/FloatBar.ts +1 -1
- package/src/layout/Inset.ts +1 -1
- package/src/layout/Masonry.ts +1 -1
- package/src/layout/PageHeader.ts +1 -1
- package/src/layout/PageLayout.ts +1 -1
- package/src/layout/Resizable.ts +1 -2
- package/src/layout/ResponsiveSwitcher.ts +1 -1
- package/src/layout/Section.ts +1 -1
- package/src/layout/SettingsLayout.ts +1 -1
- package/src/layout/SplitPane.ts +1 -1
- package/src/layout/StatusBar.ts +1 -1
- 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 +1 -2
- package/src/navigation/BreadcrumbItem.ts +1 -1
- package/src/navigation/BreadcrumbMenu.ts +1 -2
- package/src/navigation/CommandBar.ts +1 -1
- package/src/navigation/Drawer.ts +1 -1
- package/src/navigation/Footer.ts +1 -1
- package/src/navigation/Link.ts +1 -1
- package/src/navigation/Menubar.ts +23 -0
- package/src/navigation/NavItem.ts +1 -1
- package/src/navigation/NavigationMenu.ts +1 -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 +1 -2
- package/src/navigation/SidebarLink.ts +1 -1
- package/src/navigation/SidebarSection.ts +1 -1
- package/src/navigation/SkipLink.ts +1 -1
- package/src/navigation/SpeedDial.ts +1 -1
- package/src/navigation/SpyLink.ts +1 -1
- package/src/navigation/StepperNav.ts +1 -1
- package/src/navigation/Tab.ts +1 -1
- package/src/navigation/Tabs.ts +1 -2
- package/src/navigation/TopBar.ts +1 -1
- package/src/navigation/TreeItem.ts +1 -1
- package/src/navigation/TreeView.ts +1 -3
- package/src/navigation/index.ts +31 -35
- package/src/shared/MenuDivider.ts +1 -1
- package/src/shared/MenuItem.ts +1 -1
- package/src/shared/Option.ts +1 -1
- package/src/shared/index.ts +6 -4
- package/src/typography/Blockquote.ts +1 -1
- package/src/typography/CodeBlock.ts +1 -2
- package/src/typography/GradientText.ts +1 -1
- package/src/typography/Highlight.ts +1 -1
- package/src/typography/Kbd.ts +1 -1
- package/src/typography/Markdown.ts +1 -1
- package/src/typography/NumberFormat.ts +1 -1
- package/src/typography/Prose.ts +1 -1
- package/src/typography/Text.ts +1 -1
- package/src/typography/TimeAgo.ts +1 -1
- package/src/typography/Truncate.ts +1 -1
- package/src/typography/Typewriter.ts +1 -3
- package/src/typography/index.ts +34 -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/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
package/src/input/TimePicker.ts
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTimePicker } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcTimePicker } from '@arclux/arc-ui/time-picker';
|
|
6
6
|
|
|
7
7
|
export interface TimePickerProps {
|
|
8
8
|
value?: string;
|
|
9
|
+
name?: string;
|
|
9
10
|
min?: string;
|
|
10
11
|
max?: string;
|
|
11
12
|
step?: number;
|
|
@@ -13,11 +14,6 @@ export interface TimePickerProps {
|
|
|
13
14
|
placeholder?: string;
|
|
14
15
|
disabled?: boolean;
|
|
15
16
|
label?: string;
|
|
16
|
-
_open?: string;
|
|
17
|
-
_selectedHour?: string;
|
|
18
|
-
_selectedMinute?: string;
|
|
19
|
-
_selectedPeriod?: string;
|
|
20
|
-
_focusedColumn?: string;
|
|
21
17
|
className?: string;
|
|
22
18
|
children?: React.ReactNode;
|
|
23
19
|
onArcChange?: (e: CustomEvent) => void;
|
package/src/input/Toggle.ts
CHANGED
|
@@ -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 { ArcTransferList } from '@arclux/arc-ui/transfer-list';
|
|
6
|
+
|
|
7
|
+
export interface TransferListProps {
|
|
8
|
+
options?: unknown[];
|
|
9
|
+
value?: unknown[];
|
|
10
|
+
name?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
searchable?: boolean;
|
|
13
|
+
sourceLabel?: string;
|
|
14
|
+
targetLabel?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
onArcChange?: (e: CustomEvent) => void;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export const TransferList = createComponent({
|
|
21
|
+
tagName: 'arc-transfer-list',
|
|
22
|
+
elementClass: ArcTransferList,
|
|
23
|
+
react: React,
|
|
24
|
+
events: {
|
|
25
|
+
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
26
|
+
},
|
|
27
|
+
});
|
package/src/input/index.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Form controls and interactive input components
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
3
2
|
|
|
4
|
-
export {
|
|
5
|
-
export type {
|
|
3
|
+
export { ButtonGroup } from './ButtonGroup.js';
|
|
4
|
+
export type { ButtonGroupProps } from './ButtonGroup.js';
|
|
6
5
|
|
|
7
6
|
export { Calendar } from './Calendar.js';
|
|
8
7
|
export type { CalendarProps } from './Calendar.js';
|
|
@@ -25,17 +24,26 @@ export type { CopyButtonProps } from './CopyButton.js';
|
|
|
25
24
|
export { DatePicker } from './DatePicker.js';
|
|
26
25
|
export type { DatePickerProps } from './DatePicker.js';
|
|
27
26
|
|
|
27
|
+
export { Fieldset } from './Fieldset.js';
|
|
28
|
+
export type { FieldsetProps } from './Fieldset.js';
|
|
29
|
+
|
|
28
30
|
export { FileUpload } from './FileUpload.js';
|
|
29
31
|
export type { FileUploadProps } from './FileUpload.js';
|
|
30
32
|
|
|
31
33
|
export { Form } from './Form.js';
|
|
32
34
|
export type { FormProps } from './Form.js';
|
|
33
35
|
|
|
36
|
+
export { Hotkey } from './Hotkey.js';
|
|
37
|
+
export type { HotkeyProps } from './Hotkey.js';
|
|
38
|
+
|
|
34
39
|
export { IconButton } from './IconButton.js';
|
|
35
40
|
export type { IconButtonProps } from './IconButton.js';
|
|
36
41
|
|
|
37
|
-
export {
|
|
38
|
-
export type {
|
|
42
|
+
export { InputGroup } from './InputGroup.js';
|
|
43
|
+
export type { InputGroupProps } from './InputGroup.js';
|
|
44
|
+
|
|
45
|
+
export { Label } from './Label.js';
|
|
46
|
+
export type { LabelProps } from './Label.js';
|
|
39
47
|
|
|
40
48
|
export { MultiSelect } from './MultiSelect.js';
|
|
41
49
|
export type { MultiSelectProps } from './MultiSelect.js';
|
|
@@ -49,12 +57,12 @@ export type { OtpInputProps } from './OtpInput.js';
|
|
|
49
57
|
export { PinInput } from './PinInput.js';
|
|
50
58
|
export type { PinInputProps } from './PinInput.js';
|
|
51
59
|
|
|
52
|
-
export { Radio } from './Radio.js';
|
|
53
|
-
export type { RadioProps } from './Radio.js';
|
|
54
|
-
|
|
55
60
|
export { RadioGroup } from './RadioGroup.js';
|
|
56
61
|
export type { RadioGroupProps } from './RadioGroup.js';
|
|
57
62
|
|
|
63
|
+
export { RangeSlider } from './RangeSlider.js';
|
|
64
|
+
export type { RangeSliderProps } from './RangeSlider.js';
|
|
65
|
+
|
|
58
66
|
export { Rating } from './Rating.js';
|
|
59
67
|
export type { RatingProps } from './Rating.js';
|
|
60
68
|
|
|
@@ -64,47 +72,35 @@ export type { SearchProps } from './Search.js';
|
|
|
64
72
|
export { SegmentedControl } from './SegmentedControl.js';
|
|
65
73
|
export type { SegmentedControlProps } from './SegmentedControl.js';
|
|
66
74
|
|
|
67
|
-
export { Select } from './Select.js';
|
|
68
|
-
export type { SelectProps } from './Select.js';
|
|
69
|
-
|
|
70
|
-
export { Slider } from './Slider.js';
|
|
71
|
-
export type { SliderProps } from './Slider.js';
|
|
72
|
-
|
|
73
75
|
export { SortableList } from './SortableList.js';
|
|
74
76
|
export type { SortableListProps } from './SortableList.js';
|
|
75
77
|
|
|
76
78
|
export { Suggestion } from './Suggestion.js';
|
|
77
79
|
export type { SuggestionProps } from './Suggestion.js';
|
|
78
80
|
|
|
81
|
+
export { SwitchGroup } from './SwitchGroup.js';
|
|
82
|
+
export type { SwitchGroupProps } from './SwitchGroup.js';
|
|
83
|
+
|
|
79
84
|
export { Textarea } from './Textarea.js';
|
|
80
85
|
export type { TextareaProps } from './Textarea.js';
|
|
81
86
|
|
|
82
87
|
export { ThemeToggle } from './ThemeToggle.js';
|
|
83
88
|
export type { ThemeToggleProps } from './ThemeToggle.js';
|
|
84
89
|
|
|
85
|
-
export {
|
|
86
|
-
export type {
|
|
90
|
+
export { TimePicker } from './TimePicker.js';
|
|
91
|
+
export type { TimePickerProps } from './TimePicker.js';
|
|
87
92
|
|
|
88
|
-
export {
|
|
89
|
-
export type {
|
|
93
|
+
export { DateRangePicker } from './DateRangePicker.js';
|
|
94
|
+
export type { DateRangePickerProps } from './DateRangePicker.js';
|
|
90
95
|
|
|
91
|
-
export {
|
|
92
|
-
export type {
|
|
96
|
+
export { ImageCropper } from './ImageCropper.js';
|
|
97
|
+
export type { ImageCropperProps } from './ImageCropper.js';
|
|
93
98
|
|
|
94
|
-
export {
|
|
95
|
-
export type {
|
|
99
|
+
export { PasswordInput } from './PasswordInput.js';
|
|
100
|
+
export type { PasswordInputProps } from './PasswordInput.js';
|
|
96
101
|
|
|
97
|
-
export {
|
|
98
|
-
export type {
|
|
102
|
+
export { TagInput } from './TagInput.js';
|
|
103
|
+
export type { TagInputProps } from './TagInput.js';
|
|
99
104
|
|
|
100
|
-
export {
|
|
101
|
-
export type {
|
|
102
|
-
|
|
103
|
-
export { Hotkey } from './Hotkey.js';
|
|
104
|
-
export type { HotkeyProps } from './Hotkey.js';
|
|
105
|
-
|
|
106
|
-
export { RangeSlider } from './RangeSlider.js';
|
|
107
|
-
export type { RangeSliderProps } from './RangeSlider.js';
|
|
108
|
-
|
|
109
|
-
export { TimePicker } from './TimePicker.js';
|
|
110
|
-
export type { TimePickerProps } from './TimePicker.js';
|
|
105
|
+
export { TransferList } from './TransferList.js';
|
|
106
|
+
export type { TransferListProps } from './TransferList.js';
|
package/src/layout/AppShell.ts
CHANGED
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcAppShell } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcAppShell } from '@arclux/arc-ui/app-shell';
|
|
6
6
|
|
|
7
7
|
export interface AppShellProps {
|
|
8
8
|
sidebarOpen?: boolean;
|
|
9
9
|
breakpoint?: number;
|
|
10
|
-
_mobile?: string;
|
|
11
|
-
_hasToc?: string;
|
|
12
10
|
className?: string;
|
|
13
11
|
children?: React.ReactNode;
|
|
14
12
|
}
|
package/src/layout/AspectGrid.ts
CHANGED
package/src/layout/AuthShell.ts
CHANGED
package/src/layout/Center.ts
CHANGED
package/src/layout/Cluster.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 { ArcCluster } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCluster } from '@arclux/arc-ui/cluster';
|
|
6
6
|
|
|
7
7
|
export interface ClusterProps {
|
|
8
8
|
gap?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
package/src/layout/Container.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 { ArcDashboardGrid } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcDashboardGrid } from '@arclux/arc-ui/dashboard-grid';
|
|
6
6
|
|
|
7
7
|
export interface DashboardGridProps {
|
|
8
8
|
columns?: number;
|
package/src/layout/Dock.ts
CHANGED
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcDock } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcDock } from '@arclux/arc-ui/dock';
|
|
6
6
|
|
|
7
7
|
export interface DockProps {
|
|
8
8
|
position?: 'bottom' | 'left' | 'right';
|
|
9
9
|
autoHide?: boolean;
|
|
10
10
|
open?: boolean;
|
|
11
|
-
_hovered?: string;
|
|
12
11
|
className?: string;
|
|
13
12
|
children?: React.ReactNode;
|
|
14
13
|
}
|
package/src/layout/FloatBar.ts
CHANGED
package/src/layout/Inset.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 { ArcInset } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcInset } from '@arclux/arc-ui/inset';
|
|
6
6
|
|
|
7
7
|
export interface InsetProps {
|
|
8
8
|
space?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
package/src/layout/Masonry.ts
CHANGED
package/src/layout/PageHeader.ts
CHANGED
package/src/layout/PageLayout.ts
CHANGED
package/src/layout/Resizable.ts
CHANGED
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcResizable } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcResizable } from '@arclux/arc-ui/resizable';
|
|
6
6
|
|
|
7
7
|
export interface ResizableProps {
|
|
8
8
|
direction?: 'horizontal' | 'vertical';
|
|
9
9
|
minSize?: number;
|
|
10
10
|
maxSize?: number;
|
|
11
11
|
size?: number;
|
|
12
|
-
_dragging?: string;
|
|
13
12
|
className?: string;
|
|
14
13
|
children?: React.ReactNode;
|
|
15
14
|
onArcResize?: (e: CustomEvent) => void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcResponsiveSwitcher } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcResponsiveSwitcher } from '@arclux/arc-ui/responsive-switcher';
|
|
6
6
|
|
|
7
7
|
export interface ResponsiveSwitcherProps {
|
|
8
8
|
threshold?: string;
|
package/src/layout/Section.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 { ArcSettingsLayout } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcSettingsLayout } from '@arclux/arc-ui/settings-layout';
|
|
6
6
|
|
|
7
7
|
export interface SettingsLayoutProps {
|
|
8
8
|
navPosition?: string;
|
package/src/layout/SplitPane.ts
CHANGED
package/src/layout/StatusBar.ts
CHANGED
package/src/layout/Sticky.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 { ArcSticky } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcSticky } from '@arclux/arc-ui/sticky';
|
|
6
6
|
|
|
7
7
|
export interface StickyProps {
|
|
8
8
|
offset?: string;
|
|
9
|
-
stuck?: boolean;
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
onArcStuck?: (e: CustomEvent) => void;
|
package/src/layout/Toolbar.ts
CHANGED
|
@@ -2,18 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcToolbar } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcToolbar } from '@arclux/arc-ui/toolbar';
|
|
6
6
|
|
|
7
7
|
export interface ToolbarProps {
|
|
8
8
|
sticky?: boolean;
|
|
9
9
|
size?: string;
|
|
10
10
|
border?: boolean;
|
|
11
|
+
overflow?: boolean;
|
|
11
12
|
className?: string;
|
|
12
13
|
children?: React.ReactNode;
|
|
14
|
+
onArcOverflowChange?: (e: CustomEvent) => void;
|
|
13
15
|
}
|
|
14
16
|
|
|
15
17
|
export const Toolbar = createComponent({
|
|
16
18
|
tagName: 'arc-toolbar',
|
|
17
19
|
elementClass: ArcToolbar,
|
|
18
20
|
react: React,
|
|
21
|
+
events: {
|
|
22
|
+
onArcOverflowChange: 'arc-overflow-change' as EventName<CustomEvent>,
|
|
23
|
+
},
|
|
19
24
|
});
|
package/src/layout/index.ts
CHANGED
|
@@ -1,18 +1,38 @@
|
|
|
1
|
-
//
|
|
2
|
-
// App shells, containers, and structural layout components
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
3
2
|
|
|
4
3
|
export { AppShell } from './AppShell.js';
|
|
5
4
|
export type { AppShellProps } from './AppShell.js';
|
|
6
5
|
|
|
6
|
+
export { AspectGrid } from './AspectGrid.js';
|
|
7
|
+
export type { AspectGridProps } from './AspectGrid.js';
|
|
8
|
+
|
|
7
9
|
export { AuthShell } from './AuthShell.js';
|
|
8
10
|
export type { AuthShellProps } from './AuthShell.js';
|
|
9
11
|
|
|
12
|
+
export { Center } from './Center.js';
|
|
13
|
+
export type { CenterProps } from './Center.js';
|
|
14
|
+
|
|
15
|
+
export { Cluster } from './Cluster.js';
|
|
16
|
+
export type { ClusterProps } from './Cluster.js';
|
|
17
|
+
|
|
10
18
|
export { Container } from './Container.js';
|
|
11
19
|
export type { ContainerProps } from './Container.js';
|
|
12
20
|
|
|
13
21
|
export { DashboardGrid } from './DashboardGrid.js';
|
|
14
22
|
export type { DashboardGridProps } from './DashboardGrid.js';
|
|
15
23
|
|
|
24
|
+
export { Dock } from './Dock.js';
|
|
25
|
+
export type { DockProps } from './Dock.js';
|
|
26
|
+
|
|
27
|
+
export { FloatBar } from './FloatBar.js';
|
|
28
|
+
export type { FloatBarProps } from './FloatBar.js';
|
|
29
|
+
|
|
30
|
+
export { Inset } from './Inset.js';
|
|
31
|
+
export type { InsetProps } from './Inset.js';
|
|
32
|
+
|
|
33
|
+
export { Masonry } from './Masonry.js';
|
|
34
|
+
export type { MasonryProps } from './Masonry.js';
|
|
35
|
+
|
|
16
36
|
export { PageHeader } from './PageHeader.js';
|
|
17
37
|
export type { PageHeaderProps } from './PageHeader.js';
|
|
18
38
|
|
|
@@ -22,6 +42,9 @@ export type { PageLayoutProps } from './PageLayout.js';
|
|
|
22
42
|
export { Resizable } from './Resizable.js';
|
|
23
43
|
export type { ResizableProps } from './Resizable.js';
|
|
24
44
|
|
|
45
|
+
export { ResponsiveSwitcher } from './ResponsiveSwitcher.js';
|
|
46
|
+
export type { ResponsiveSwitcherProps } from './ResponsiveSwitcher.js';
|
|
47
|
+
|
|
25
48
|
export { Section } from './Section.js';
|
|
26
49
|
export type { SectionProps } from './Section.js';
|
|
27
50
|
|
|
@@ -34,32 +57,8 @@ export type { SplitPaneProps } from './SplitPane.js';
|
|
|
34
57
|
export { StatusBar } from './StatusBar.js';
|
|
35
58
|
export type { StatusBarProps } from './StatusBar.js';
|
|
36
59
|
|
|
37
|
-
export { Toolbar } from './Toolbar.js';
|
|
38
|
-
export type { ToolbarProps } from './Toolbar.js';
|
|
39
|
-
|
|
40
|
-
export { AspectGrid } from './AspectGrid.js';
|
|
41
|
-
export type { AspectGridProps } from './AspectGrid.js';
|
|
42
|
-
|
|
43
|
-
export { Center } from './Center.js';
|
|
44
|
-
export type { CenterProps } from './Center.js';
|
|
45
|
-
|
|
46
|
-
export { Cluster } from './Cluster.js';
|
|
47
|
-
export type { ClusterProps } from './Cluster.js';
|
|
48
|
-
|
|
49
|
-
export { Dock } from './Dock.js';
|
|
50
|
-
export type { DockProps } from './Dock.js';
|
|
51
|
-
|
|
52
|
-
export { FloatBar } from './FloatBar.js';
|
|
53
|
-
export type { FloatBarProps } from './FloatBar.js';
|
|
54
|
-
|
|
55
|
-
export { Inset } from './Inset.js';
|
|
56
|
-
export type { InsetProps } from './Inset.js';
|
|
57
|
-
|
|
58
|
-
export { Masonry } from './Masonry.js';
|
|
59
|
-
export type { MasonryProps } from './Masonry.js';
|
|
60
|
-
|
|
61
|
-
export { ResponsiveSwitcher } from './ResponsiveSwitcher.js';
|
|
62
|
-
export type { ResponsiveSwitcherProps } from './ResponsiveSwitcher.js';
|
|
63
|
-
|
|
64
60
|
export { Sticky } from './Sticky.js';
|
|
65
61
|
export type { StickyProps } from './Sticky.js';
|
|
62
|
+
|
|
63
|
+
export { Toolbar } from './Toolbar.js';
|
|
64
|
+
export type { ToolbarProps } from './Toolbar.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcAnchorNav } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcAnchorNav } from '@arclux/arc-ui/anchor-nav';
|
|
6
6
|
|
|
7
7
|
export interface AnchorNavProps {
|
|
8
8
|
orientation?: 'vertical';
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcBreadcrumb } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcBreadcrumb } from '@arclux/arc-ui/breadcrumb';
|
|
6
6
|
|
|
7
7
|
export interface BreadcrumbProps {
|
|
8
8
|
separator?: string;
|
|
9
|
-
_items?: string;
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
onArcNavigate?: (e: CustomEvent) => void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcBreadcrumbItem } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcBreadcrumbItem } from '@arclux/arc-ui/breadcrumb-item';
|
|
6
6
|
|
|
7
7
|
export interface BreadcrumbItemProps {
|
|
8
8
|
href?: string;
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcBreadcrumbMenu } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcBreadcrumbMenu } from '@arclux/arc-ui/breadcrumb-menu';
|
|
6
6
|
|
|
7
7
|
export interface BreadcrumbMenuProps {
|
|
8
8
|
items?: string;
|
|
9
|
-
_openIndex?: number;
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
onArcNavigate?: (e: CustomEvent) => void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcCommandBar } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCommandBar } from '@arclux/arc-ui/command-bar';
|
|
6
6
|
|
|
7
7
|
export interface CommandBarProps {
|
|
8
8
|
placeholder?: string;
|
package/src/navigation/Drawer.ts
CHANGED
package/src/navigation/Footer.ts
CHANGED
package/src/navigation/Link.ts
CHANGED
|
@@ -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 { ArcMenubar } from '@arclux/arc-ui/menubar';
|
|
6
|
+
|
|
7
|
+
export interface MenubarProps {
|
|
8
|
+
items?: unknown[];
|
|
9
|
+
className?: string;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
onArcSelect?: (e: CustomEvent) => void;
|
|
12
|
+
onClick?: (e: Event) => void;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const Menubar = createComponent({
|
|
16
|
+
tagName: 'arc-menubar',
|
|
17
|
+
elementClass: ArcMenubar,
|
|
18
|
+
react: React,
|
|
19
|
+
events: {
|
|
20
|
+
onArcSelect: 'arc-select' as EventName<CustomEvent>,
|
|
21
|
+
onClick: 'click' as EventName<Event>,
|
|
22
|
+
},
|
|
23
|
+
});
|