@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
package/src/input/ThemeToggle.ts
CHANGED
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,53 @@ 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 {
|
|
105
|
+
export { TransferList } from './TransferList.js';
|
|
106
|
+
export type { TransferListProps } from './TransferList.js';
|
|
102
107
|
|
|
103
|
-
export {
|
|
104
|
-
export type {
|
|
108
|
+
export { Button } from './Button.js';
|
|
109
|
+
export type { ButtonProps } from './Button.js';
|
|
105
110
|
|
|
106
|
-
export {
|
|
107
|
-
export type {
|
|
111
|
+
export { Input } from './Input.js';
|
|
112
|
+
export type { InputProps } from './Input.js';
|
|
108
113
|
|
|
109
|
-
export {
|
|
110
|
-
export type {
|
|
114
|
+
export { Radio } from './Radio.js';
|
|
115
|
+
export type { RadioProps } from './Radio.js';
|
|
116
|
+
|
|
117
|
+
export { Select } from './Select.js';
|
|
118
|
+
export type { SelectProps } from './Select.js';
|
|
119
|
+
|
|
120
|
+
export { Slider } from './Slider.js';
|
|
121
|
+
export type { SliderProps } from './Slider.js';
|
|
122
|
+
|
|
123
|
+
export { Toggle } from './Toggle.js';
|
|
124
|
+
export type { ToggleProps } from './Toggle.js';
|
package/src/layout/AppShell.ts
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcAppShell } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -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 { ArcAspectGrid } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcAspectGrid } from '@arclux/arc-ui/aspect-grid';
|
|
6
6
|
|
|
7
7
|
export interface AspectGridProps {
|
|
8
8
|
columns?: number;
|
package/src/layout/AuthShell.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 { ArcAuthShell } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcAuthShell } from '@arclux/arc-ui/auth-shell';
|
|
6
6
|
|
|
7
7
|
export interface AuthShellProps {
|
|
8
8
|
variant?: string;
|
package/src/layout/Center.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 { ArcCenter } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcCenter } from '@arclux/arc-ui/center';
|
|
6
6
|
|
|
7
7
|
export interface CenterProps {
|
|
8
8
|
maxWidth?: string;
|
package/src/layout/Cluster.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 { ArcCluster } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -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 { ArcContainer } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcContainer } from '@arclux/arc-ui/container';
|
|
6
6
|
|
|
7
7
|
export interface ContainerProps {
|
|
8
8
|
narrow?: boolean;
|
|
@@ -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 { ArcDashboardGrid } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { createComponent
|
|
5
|
-
import { ArcDock } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -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 { ArcFloatBar } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcFloatBar } from '@arclux/arc-ui/float-bar';
|
|
6
6
|
|
|
7
7
|
export interface FloatBarProps {
|
|
8
8
|
open?: boolean;
|
package/src/layout/Inset.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 { ArcInset } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -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 { ArcMasonry } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcMasonry } from '@arclux/arc-ui/masonry';
|
|
6
6
|
|
|
7
7
|
export interface MasonryProps {
|
|
8
8
|
columns?: number;
|
package/src/layout/PageHeader.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 { ArcPageHeader } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcPageHeader } from '@arclux/arc-ui/page-header';
|
|
6
6
|
|
|
7
7
|
export interface PageHeaderProps {
|
|
8
8
|
heading?: string;
|
package/src/layout/PageLayout.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 { ArcPageLayout } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcPageLayout } from '@arclux/arc-ui/page-layout';
|
|
6
6
|
|
|
7
7
|
export interface PageLayoutProps {
|
|
8
8
|
layout?: string;
|
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;
|
|
@@ -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 { ArcResponsiveSwitcher } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -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 { ArcSection } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcSection } from '@arclux/arc-ui/section';
|
|
6
6
|
|
|
7
7
|
export interface SectionProps {
|
|
8
8
|
label?: 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 { ArcSettingsLayout } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
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
|
@@ -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 { ArcStatusBar } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcStatusBar } from '@arclux/arc-ui/status-bar';
|
|
6
6
|
|
|
7
7
|
export interface StatusBarProps {
|
|
8
8
|
position?: string;
|
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,11 @@
|
|
|
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
|
-
|
|
9
|
+
label?: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
onArcNavigate?: (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 { ArcBreadcrumbItem } from '@arclux/arc-ui';
|
|
4
|
+
import { createComponent } from '@lit/react';
|
|
5
|
+
import { ArcBreadcrumbItem } from '@arclux/arc-ui/breadcrumb-item';
|
|
6
6
|
|
|
7
7
|
export interface BreadcrumbItemProps {
|
|
8
8
|
href?: string;
|
|
@@ -2,11 +2,11 @@
|
|
|
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
|
-
|
|
9
|
+
label?: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
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;
|