@arclux/arc-ui-react 2.0.1 → 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 +2 -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
|
@@ -2,14 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcNavigationMenu } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcNavigationMenu } from '@arclux/arc-ui/navigation-menu';
|
|
6
6
|
|
|
7
7
|
export interface NavigationMenuProps {
|
|
8
|
-
_items?: string;
|
|
9
|
-
_openIndex?: string;
|
|
10
|
-
_mobileOpen?: string;
|
|
11
|
-
_mobileClosing?: string;
|
|
12
|
-
_mobileExpandedIndex?: string;
|
|
13
8
|
className?: string;
|
|
14
9
|
children?: React.ReactNode;
|
|
15
10
|
onArcMobileMenuToggle?: (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 { ArcPageIndicator } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcPageIndicator } from '@arclux/arc-ui/page-indicator';
|
|
6
6
|
|
|
7
7
|
export interface PageIndicatorProps {
|
|
8
8
|
count?: number;
|
package/src/navigation/Rail.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 { ArcScrollSpy } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcScrollSpy } from '@arclux/arc-ui/scroll-spy';
|
|
6
6
|
|
|
7
7
|
export interface ScrollSpyProps {
|
|
8
8
|
active?: string;
|
|
9
9
|
offset?: number;
|
|
10
|
-
_active?: string;
|
|
11
|
-
_links?: string;
|
|
12
10
|
className?: string;
|
|
13
11
|
children?: React.ReactNode;
|
|
14
12
|
onArcChange?: (e: CustomEvent) => void;
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcScrollToTop } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcScrollToTop } from '@arclux/arc-ui/scroll-to-top';
|
|
6
6
|
|
|
7
7
|
export interface ScrollToTopProps {
|
|
8
8
|
threshold?: number;
|
|
9
9
|
smooth?: boolean;
|
|
10
10
|
position?: 'bottom-right' | 'bottom-left';
|
|
11
11
|
offset?: string;
|
|
12
|
-
_visible?: string;
|
|
13
12
|
className?: string;
|
|
14
13
|
children?: React.ReactNode;
|
|
15
14
|
onClick?: (e: Event) => void;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcSidebar } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcSidebar } from '@arclux/arc-ui/sidebar';
|
|
6
6
|
|
|
7
7
|
export interface SidebarProps {
|
|
8
8
|
active?: string;
|
|
@@ -10,7 +10,6 @@ export interface SidebarProps {
|
|
|
10
10
|
position?: 'right';
|
|
11
11
|
width?: string;
|
|
12
12
|
glow?: boolean;
|
|
13
|
-
_sections?: string;
|
|
14
13
|
className?: string;
|
|
15
14
|
children?: React.ReactNode;
|
|
16
15
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcSidebarSection } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcSidebarSection } from '@arclux/arc-ui/sidebar-section';
|
|
6
6
|
|
|
7
7
|
export interface SidebarSectionProps {
|
|
8
8
|
heading?: string;
|
package/src/navigation/Tab.ts
CHANGED
package/src/navigation/Tabs.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 { ArcTabs } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcTabs } from '@arclux/arc-ui/tabs';
|
|
6
6
|
|
|
7
7
|
export interface TabsProps {
|
|
8
8
|
selected?: number;
|
|
9
9
|
align?: 'center' | 'end';
|
|
10
10
|
variant?: 'pills';
|
|
11
11
|
orientation?: 'vertical';
|
|
12
|
-
_tabs?: string;
|
|
13
12
|
className?: string;
|
|
14
13
|
children?: React.ReactNode;
|
|
15
14
|
onArcChange?: (e: CustomEvent) => void;
|
package/src/navigation/TopBar.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 { ArcTreeView } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcTreeView } from '@arclux/arc-ui/tree-view';
|
|
6
6
|
|
|
7
7
|
export interface TreeViewProps {
|
|
8
|
-
_items?: string;
|
|
9
|
-
_selected?: string;
|
|
10
8
|
className?: string;
|
|
11
9
|
children?: React.ReactNode;
|
|
12
10
|
onArcToggle?: (e: CustomEvent) => void;
|
package/src/navigation/index.ts
CHANGED
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Navigation menus, sidebars, breadcrumbs, tabs, and links
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
3
2
|
|
|
4
|
-
export {
|
|
5
|
-
export type {
|
|
3
|
+
export { AnchorNav } from './AnchorNav.js';
|
|
4
|
+
export type { AnchorNavProps } from './AnchorNav.js';
|
|
5
|
+
|
|
6
|
+
export { BottomNav } from './BottomNav.js';
|
|
7
|
+
export type { BottomNavProps } from './BottomNav.js';
|
|
6
8
|
|
|
7
9
|
export { BreadcrumbItem } from './BreadcrumbItem.js';
|
|
8
10
|
export type { BreadcrumbItemProps } from './BreadcrumbItem.js';
|
|
9
11
|
|
|
12
|
+
export { BreadcrumbMenu } from './BreadcrumbMenu.js';
|
|
13
|
+
export type { BreadcrumbMenuProps } from './BreadcrumbMenu.js';
|
|
14
|
+
|
|
15
|
+
export { CommandBar } from './CommandBar.js';
|
|
16
|
+
export type { CommandBarProps } from './CommandBar.js';
|
|
17
|
+
|
|
10
18
|
export { Drawer } from './Drawer.js';
|
|
11
19
|
export type { DrawerProps } from './Drawer.js';
|
|
12
20
|
|
|
@@ -16,33 +24,45 @@ export type { FooterProps } from './Footer.js';
|
|
|
16
24
|
export { Link } from './Link.js';
|
|
17
25
|
export type { LinkProps } from './Link.js';
|
|
18
26
|
|
|
27
|
+
export { NavItem } from './NavItem.js';
|
|
28
|
+
export type { NavItemProps } from './NavItem.js';
|
|
29
|
+
|
|
19
30
|
export { NavigationMenu } from './NavigationMenu.js';
|
|
20
31
|
export type { NavigationMenuProps } from './NavigationMenu.js';
|
|
21
32
|
|
|
22
|
-
export {
|
|
23
|
-
export type {
|
|
33
|
+
export { PageIndicator } from './PageIndicator.js';
|
|
34
|
+
export type { PageIndicatorProps } from './PageIndicator.js';
|
|
24
35
|
|
|
25
36
|
export { Pagination } from './Pagination.js';
|
|
26
37
|
export type { PaginationProps } from './Pagination.js';
|
|
27
38
|
|
|
39
|
+
export { Rail } from './Rail.js';
|
|
40
|
+
export type { RailProps } from './Rail.js';
|
|
41
|
+
|
|
28
42
|
export { ScrollSpy } from './ScrollSpy.js';
|
|
29
43
|
export type { ScrollSpyProps } from './ScrollSpy.js';
|
|
30
44
|
|
|
31
45
|
export { ScrollToTop } from './ScrollToTop.js';
|
|
32
46
|
export type { ScrollToTopProps } from './ScrollToTop.js';
|
|
33
47
|
|
|
34
|
-
export { Sidebar } from './Sidebar.js';
|
|
35
|
-
export type { SidebarProps } from './Sidebar.js';
|
|
36
|
-
|
|
37
48
|
export { SidebarLink } from './SidebarLink.js';
|
|
38
49
|
export type { SidebarLinkProps } from './SidebarLink.js';
|
|
39
50
|
|
|
40
51
|
export { SidebarSection } from './SidebarSection.js';
|
|
41
52
|
export type { SidebarSectionProps } from './SidebarSection.js';
|
|
42
53
|
|
|
54
|
+
export { SkipLink } from './SkipLink.js';
|
|
55
|
+
export type { SkipLinkProps } from './SkipLink.js';
|
|
56
|
+
|
|
57
|
+
export { SpeedDial } from './SpeedDial.js';
|
|
58
|
+
export type { SpeedDialProps } from './SpeedDial.js';
|
|
59
|
+
|
|
43
60
|
export { SpyLink } from './SpyLink.js';
|
|
44
61
|
export type { SpyLinkProps } from './SpyLink.js';
|
|
45
62
|
|
|
63
|
+
export { StepperNav } from './StepperNav.js';
|
|
64
|
+
export type { StepperNavProps } from './StepperNav.js';
|
|
65
|
+
|
|
46
66
|
export { Tab } from './Tab.js';
|
|
47
67
|
export type { TabProps } from './Tab.js';
|
|
48
68
|
|
|
@@ -58,29 +78,5 @@ export type { TreeItemProps } from './TreeItem.js';
|
|
|
58
78
|
export { TreeView } from './TreeView.js';
|
|
59
79
|
export type { TreeViewProps } from './TreeView.js';
|
|
60
80
|
|
|
61
|
-
export {
|
|
62
|
-
export type {
|
|
63
|
-
|
|
64
|
-
export { BottomNav } from './BottomNav.js';
|
|
65
|
-
export type { BottomNavProps } from './BottomNav.js';
|
|
66
|
-
|
|
67
|
-
export { BreadcrumbMenu } from './BreadcrumbMenu.js';
|
|
68
|
-
export type { BreadcrumbMenuProps } from './BreadcrumbMenu.js';
|
|
69
|
-
|
|
70
|
-
export { CommandBar } from './CommandBar.js';
|
|
71
|
-
export type { CommandBarProps } from './CommandBar.js';
|
|
72
|
-
|
|
73
|
-
export { PageIndicator } from './PageIndicator.js';
|
|
74
|
-
export type { PageIndicatorProps } from './PageIndicator.js';
|
|
75
|
-
|
|
76
|
-
export { Rail } from './Rail.js';
|
|
77
|
-
export type { RailProps } from './Rail.js';
|
|
78
|
-
|
|
79
|
-
export { SkipLink } from './SkipLink.js';
|
|
80
|
-
export type { SkipLinkProps } from './SkipLink.js';
|
|
81
|
-
|
|
82
|
-
export { SpeedDial } from './SpeedDial.js';
|
|
83
|
-
export type { SpeedDialProps } from './SpeedDial.js';
|
|
84
|
-
|
|
85
|
-
export { StepperNav } from './StepperNav.js';
|
|
86
|
-
export type { StepperNavProps } from './StepperNav.js';
|
|
81
|
+
export { Menubar } from './Menubar.js';
|
|
82
|
+
export type { MenubarProps } from './Menubar.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcMenuDivider } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcMenuDivider } from '@arclux/arc-ui/menu-divider';
|
|
6
6
|
|
|
7
7
|
export interface MenuDividerProps {
|
|
8
8
|
className?: string;
|
package/src/shared/MenuItem.ts
CHANGED
package/src/shared/Option.ts
CHANGED
package/src/shared/index.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
2
|
|
|
3
|
-
export { Option } from './Option.js';
|
|
4
|
-
export type { OptionProps } from './Option.js';
|
|
5
|
-
export { MenuItem } from './MenuItem.js';
|
|
6
|
-
export type { MenuItemProps } from './MenuItem.js';
|
|
7
3
|
export { MenuDivider } from './MenuDivider.js';
|
|
8
4
|
export type { MenuDividerProps } from './MenuDivider.js';
|
|
5
|
+
|
|
6
|
+
export { MenuItem } from './MenuItem.js';
|
|
7
|
+
export type { MenuItemProps } from './MenuItem.js';
|
|
8
|
+
|
|
9
|
+
export { Option } from './Option.js';
|
|
10
|
+
export type { OptionProps } from './Option.js';
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcCodeBlock } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCodeBlock } from '@arclux/arc-ui/code-block';
|
|
6
6
|
|
|
7
7
|
export interface CodeBlockProps {
|
|
8
8
|
language?: string;
|
|
9
9
|
filename?: string;
|
|
10
10
|
code?: string;
|
|
11
11
|
variant?: 'window' | 'basic';
|
|
12
|
-
_highlightedHtml?: string;
|
|
13
12
|
className?: string;
|
|
14
13
|
children?: React.ReactNode;
|
|
15
14
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcGradientText } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcGradientText } from '@arclux/arc-ui/gradient-text';
|
|
6
6
|
|
|
7
7
|
export interface GradientTextProps {
|
|
8
8
|
variant?: 'accent' | 'display' | 'sunset' | 'ocean';
|
package/src/typography/Kbd.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 { ArcNumberFormat } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcNumberFormat } from '@arclux/arc-ui/number-format';
|
|
6
6
|
|
|
7
7
|
export interface NumberFormatProps {
|
|
8
8
|
value?: number;
|
package/src/typography/Prose.ts
CHANGED
package/src/typography/Text.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 { ArcTypewriter } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcTypewriter } from '@arclux/arc-ui/typewriter';
|
|
6
6
|
|
|
7
7
|
export interface TypewriterProps {
|
|
8
8
|
text?: string;
|
|
@@ -10,8 +10,7 @@ export interface TypewriterProps {
|
|
|
10
10
|
delay?: number;
|
|
11
11
|
cursor?: boolean;
|
|
12
12
|
loop?: boolean;
|
|
13
|
-
|
|
14
|
-
_complete?: string;
|
|
13
|
+
nowrap?: boolean;
|
|
15
14
|
className?: string;
|
|
16
15
|
children?: React.ReactNode;
|
|
17
16
|
onArcComplete?: (e: CustomEvent) => void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
export { Blockquote } from './Blockquote.js';
|
|
4
|
+
export type { BlockquoteProps } from './Blockquote.js';
|
|
5
|
+
|
|
6
|
+
export { CodeBlock } from './CodeBlock.js';
|
|
7
|
+
export type { CodeBlockProps } from './CodeBlock.js';
|
|
8
|
+
|
|
9
|
+
export { GradientText } from './GradientText.js';
|
|
10
|
+
export type { GradientTextProps } from './GradientText.js';
|
|
11
|
+
|
|
12
|
+
export { Highlight } from './Highlight.js';
|
|
13
|
+
export type { HighlightProps } from './Highlight.js';
|
|
14
|
+
|
|
15
|
+
export { Kbd } from './Kbd.js';
|
|
16
|
+
export type { KbdProps } from './Kbd.js';
|
|
17
|
+
|
|
18
|
+
export { Markdown } from './Markdown.js';
|
|
19
|
+
export type { MarkdownProps } from './Markdown.js';
|
|
20
|
+
|
|
21
|
+
export { NumberFormat } from './NumberFormat.js';
|
|
22
|
+
export type { NumberFormatProps } from './NumberFormat.js';
|
|
23
|
+
|
|
24
|
+
export { Prose } from './Prose.js';
|
|
25
|
+
export type { ProseProps } from './Prose.js';
|
|
26
|
+
|
|
27
|
+
export { TimeAgo } from './TimeAgo.js';
|
|
28
|
+
export type { TimeAgoProps } from './TimeAgo.js';
|
|
29
|
+
|
|
30
|
+
export { Truncate } from './Truncate.js';
|
|
31
|
+
export type { TruncateProps } from './Truncate.js';
|
|
32
|
+
|
|
33
|
+
export { Typewriter } from './Typewriter.js';
|
|
34
|
+
export type { TypewriterProps } from './Typewriter.js';
|
|
@@ -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 { ArcAnimatedNumber } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface AnimatedNumberProps {
|
|
8
|
-
value?: number;
|
|
9
|
-
duration?: number;
|
|
10
|
-
format?: string;
|
|
11
|
-
prefix?: string;
|
|
12
|
-
suffix?: string;
|
|
13
|
-
decimals?: number;
|
|
14
|
-
locale?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
children?: React.ReactNode;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const AnimatedNumber = createComponent({
|
|
20
|
-
tagName: 'arc-animated-number',
|
|
21
|
-
elementClass: ArcAnimatedNumber,
|
|
22
|
-
react: React,
|
|
23
|
-
});
|
package/src/content/Badge.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 { ArcBadge } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface BadgeProps {
|
|
8
|
-
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
9
|
-
size?: 'sm' | 'lg';
|
|
10
|
-
color?: string;
|
|
11
|
-
className?: string;
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export const Badge = createComponent({
|
|
16
|
-
tagName: 'arc-badge',
|
|
17
|
-
elementClass: ArcBadge,
|
|
18
|
-
react: React,
|
|
19
|
-
});
|
package/src/content/CodeBlock.ts
DELETED
|
@@ -1,21 +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 { ArcCodeBlock } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface CodeBlockProps {
|
|
8
|
-
language?: string;
|
|
9
|
-
filename?: string;
|
|
10
|
-
code?: string;
|
|
11
|
-
variant?: 'window' | 'basic';
|
|
12
|
-
_highlightedHtml?: string;
|
|
13
|
-
className?: string;
|
|
14
|
-
children?: React.ReactNode;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export const CodeBlock = createComponent({
|
|
18
|
-
tagName: 'arc-code-block',
|
|
19
|
-
elementClass: ArcCodeBlock,
|
|
20
|
-
react: React,
|
|
21
|
-
});
|
package/src/content/DataTable.ts
DELETED
|
@@ -1,35 +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 { ArcDataTable } from '@arclux/arc-ui';
|
|
6
|
-
|
|
7
|
-
export interface DataTableProps {
|
|
8
|
-
rows?: unknown[];
|
|
9
|
-
sortable?: boolean;
|
|
10
|
-
selectable?: boolean;
|
|
11
|
-
sortColumn?: string;
|
|
12
|
-
sortDirection?: string;
|
|
13
|
-
virtual?: boolean;
|
|
14
|
-
rowHeight?: number;
|
|
15
|
-
_columns?: string;
|
|
16
|
-
_selectedRows?: string;
|
|
17
|
-
_startIndex?: string;
|
|
18
|
-
_visibleCount?: string;
|
|
19
|
-
className?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
onArcSort?: (e: CustomEvent) => void;
|
|
22
|
-
onArcSelectAll?: (e: CustomEvent) => void;
|
|
23
|
-
onArcRowSelect?: (e: CustomEvent) => void;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const DataTable = createComponent({
|
|
27
|
-
tagName: 'arc-data-table',
|
|
28
|
-
elementClass: ArcDataTable,
|
|
29
|
-
react: React,
|
|
30
|
-
events: {
|
|
31
|
-
onArcSort: 'arc-sort' as EventName<CustomEvent>,
|
|
32
|
-
onArcSelectAll: 'arc-select-all' as EventName<CustomEvent>,
|
|
33
|
-
onArcRowSelect: 'arc-row-select' as EventName<CustomEvent>,
|
|
34
|
-
},
|
|
35
|
-
});
|