@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/content/Highlight.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
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 { ArcHighlight } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface HighlightProps {
|
|
8
|
-
text?: string;
|
|
9
|
-
query?: string;
|
|
10
|
-
caseSensitive?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const Highlight = createComponent({
|
|
16
|
-
tagName: 'arc-highlight',
|
|
17
|
-
elementClass: ArcHighlight,
|
|
18
|
-
react: React,
|
|
19
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
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 { ArcIconLibrary } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface IconLibraryProps {
|
|
8
|
-
className?: string;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const IconLibrary = createComponent({
|
|
13
|
-
tagName: 'arc-icon-library',
|
|
14
|
-
elementClass: ArcIconLibrary,
|
|
15
|
-
react: React,
|
|
16
|
-
});
|
package/src/content/Kbd.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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 { ArcKbd } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface KbdProps {
|
|
8
|
-
className?: string;
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const Kbd = createComponent({
|
|
13
|
-
tagName: 'arc-kbd',
|
|
14
|
-
elementClass: ArcKbd,
|
|
15
|
-
react: React,
|
|
16
|
-
});
|
package/src/content/List.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
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 { ArcList } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface ListProps {
|
|
8
|
-
variant?: 'bordered' | 'separated';
|
|
9
|
-
size?: 'sm' | 'lg';
|
|
10
|
-
selectable?: boolean;
|
|
11
|
-
multiple?: boolean;
|
|
12
|
-
value?: string;
|
|
13
|
-
_items?: string;
|
|
14
|
-
className?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
onArcChange?: (e: CustomEvent) => void;
|
|
17
|
-
onArcItemClick?: (e: CustomEvent) => void;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const List = createComponent({
|
|
21
|
-
tagName: 'arc-list',
|
|
22
|
-
elementClass: ArcList,
|
|
23
|
-
react: React,
|
|
24
|
-
events: {
|
|
25
|
-
onArcChange: 'arc-change' as EventName<CustomEvent>,
|
|
26
|
-
onArcItemClick: 'arc-item-click' as EventName<CustomEvent>,
|
|
27
|
-
},
|
|
28
|
-
});
|
package/src/content/ListItem.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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 { ArcListItem } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface ListItemProps {
|
|
8
|
-
value?: string;
|
|
9
|
-
selected?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
href?: string;
|
|
12
|
-
_hasPrefix?: string;
|
|
13
|
-
_hasSuffix?: string;
|
|
14
|
-
_hasDescription?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
onArcItemClick?: (e: CustomEvent) => void;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export const ListItem = createComponent({
|
|
21
|
-
tagName: 'arc-list-item',
|
|
22
|
-
elementClass: ArcListItem,
|
|
23
|
-
react: React,
|
|
24
|
-
events: {
|
|
25
|
-
onArcItemClick: 'arc-item-click' as EventName<CustomEvent>,
|
|
26
|
-
},
|
|
27
|
-
});
|
package/src/content/Markdown.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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 { ArcMarkdown } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface MarkdownProps {
|
|
8
|
-
content?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const Markdown = createComponent({
|
|
14
|
-
tagName: 'arc-markdown',
|
|
15
|
-
elementClass: ArcMarkdown,
|
|
16
|
-
react: React,
|
|
17
|
-
});
|
package/src/content/Meter.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcMeter } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface MeterProps {
|
|
8
|
-
value?: number;
|
|
9
|
-
min?: number;
|
|
10
|
-
max?: number;
|
|
11
|
-
low?: number;
|
|
12
|
-
high?: number;
|
|
13
|
-
optimum?: number;
|
|
14
|
-
label?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const Meter = createComponent({
|
|
20
|
-
tagName: 'arc-meter',
|
|
21
|
-
elementClass: ArcMeter,
|
|
22
|
-
react: React,
|
|
23
|
-
});
|
package/src/content/Step.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcStep } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface StepProps {
|
|
8
|
-
label?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const Step = createComponent({
|
|
14
|
-
tagName: 'arc-step',
|
|
15
|
-
elementClass: ArcStep,
|
|
16
|
-
react: React,
|
|
17
|
-
});
|
package/src/content/Stepper.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcStepper } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface StepperProps {
|
|
8
|
-
active?: number;
|
|
9
|
-
_steps?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const Stepper = createComponent({
|
|
15
|
-
tagName: 'arc-stepper',
|
|
16
|
-
elementClass: ArcStepper,
|
|
17
|
-
react: React,
|
|
18
|
-
});
|
package/src/content/Table.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTable } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface TableProps {
|
|
8
|
-
columns?: unknown[];
|
|
9
|
-
rows?: unknown[];
|
|
10
|
-
striped?: boolean;
|
|
11
|
-
compact?: boolean;
|
|
12
|
-
className?: string;
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export const Table = createComponent({
|
|
17
|
-
tagName: 'arc-table',
|
|
18
|
-
elementClass: ArcTable,
|
|
19
|
-
react: React,
|
|
20
|
-
});
|
package/src/content/Tag.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTag } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface TagProps {
|
|
8
|
-
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
9
|
-
size?: 'sm' | 'lg';
|
|
10
|
-
removable?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
color?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
onArcRemove?: (e: CustomEvent) => void;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export const Tag = createComponent({
|
|
19
|
-
tagName: 'arc-tag',
|
|
20
|
-
elementClass: ArcTag,
|
|
21
|
-
react: React,
|
|
22
|
-
events: {
|
|
23
|
-
onArcRemove: 'arc-remove' as EventName<CustomEvent>,
|
|
24
|
-
},
|
|
25
|
-
});
|
package/src/content/Text.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcText } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface TextProps {
|
|
8
|
-
variant?: 'accent' | 'code';
|
|
9
|
-
as?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const Text = createComponent({
|
|
15
|
-
tagName: 'arc-text',
|
|
16
|
-
elementClass: ArcText,
|
|
17
|
-
react: React,
|
|
18
|
-
});
|
package/src/content/Timeline.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTimeline } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface TimelineProps {
|
|
8
|
-
_items?: string;
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const Timeline = createComponent({
|
|
14
|
-
tagName: 'arc-timeline',
|
|
15
|
-
elementClass: ArcTimeline,
|
|
16
|
-
react: React,
|
|
17
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTimelineItem } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface TimelineItemProps {
|
|
8
|
-
heading?: string;
|
|
9
|
-
date?: string;
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const TimelineItem = createComponent({
|
|
15
|
-
tagName: 'arc-timeline-item',
|
|
16
|
-
elementClass: ArcTimelineItem,
|
|
17
|
-
react: React,
|
|
18
|
-
});
|
package/src/content/Truncate.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcTruncate } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface TruncateProps {
|
|
8
|
-
lines?: number;
|
|
9
|
-
expanded?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
children?: React.ReactNode;
|
|
12
|
-
onArcToggle?: (e: CustomEvent) => void;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const Truncate = createComponent({
|
|
16
|
-
tagName: 'arc-truncate',
|
|
17
|
-
elementClass: ArcTruncate,
|
|
18
|
-
react: React,
|
|
19
|
-
events: {
|
|
20
|
-
onArcToggle: 'arc-toggle' as EventName<CustomEvent>,
|
|
21
|
-
},
|
|
22
|
-
});
|
package/src/content/ValueCard.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
-
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcValueCard } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface ValueCardProps {
|
|
8
|
-
icon?: string;
|
|
9
|
-
heading?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const ValueCard = createComponent({
|
|
16
|
-
tagName: 'arc-value-card',
|
|
17
|
-
elementClass: ArcValueCard,
|
|
18
|
-
react: React,
|
|
19
|
-
});
|