@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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arclux/arc-ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "React wrappers for ARC UI Web Components.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"types": "./src/content/index.ts",
|
|
17
17
|
"default": "./src/content/index.ts"
|
|
18
18
|
},
|
|
19
|
+
"./data": {
|
|
20
|
+
"types": "./src/data/index.ts",
|
|
21
|
+
"default": "./src/data/index.ts"
|
|
22
|
+
},
|
|
23
|
+
"./typography": {
|
|
24
|
+
"types": "./src/typography/index.ts",
|
|
25
|
+
"default": "./src/typography/index.ts"
|
|
26
|
+
},
|
|
19
27
|
"./input": {
|
|
20
28
|
"types": "./src/input/index.ts",
|
|
21
29
|
"default": "./src/input/index.ts"
|
|
@@ -46,7 +54,7 @@
|
|
|
46
54
|
},
|
|
47
55
|
"dependencies": {
|
|
48
56
|
"@lit/react": "^1.0.8",
|
|
49
|
-
"@arclux/arc-ui": "2.
|
|
57
|
+
"@arclux/arc-ui": "2.2.0"
|
|
50
58
|
},
|
|
51
59
|
"license": "MIT",
|
|
52
60
|
"keywords": [
|
package/src/content/Accordion.ts
CHANGED
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcAccordion } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcAccordion } from '@arclux/arc-ui/accordion';
|
|
6
6
|
|
|
7
7
|
export interface AccordionProps {
|
|
8
8
|
multiple?: boolean;
|
|
9
|
-
_items?: string;
|
|
10
|
-
_openItems?: string;
|
|
11
9
|
className?: string;
|
|
12
10
|
children?: React.ReactNode;
|
|
13
11
|
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 { ArcAccordionItem } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcAccordionItem } from '@arclux/arc-ui/accordion-item';
|
|
6
6
|
|
|
7
7
|
export interface AccordionItemProps {
|
|
8
8
|
question?: string;
|
package/src/content/Avatar.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 { ArcAvatar } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcAvatar } from '@arclux/arc-ui/avatar';
|
|
6
6
|
|
|
7
7
|
export interface AvatarProps {
|
|
8
8
|
src?: string;
|
|
@@ -10,7 +10,6 @@ export interface AvatarProps {
|
|
|
10
10
|
size?: 'sm' | 'md' | 'lg';
|
|
11
11
|
shape?: 'square' | 'rounded';
|
|
12
12
|
status?: 'online' | 'offline' | 'busy' | 'away';
|
|
13
|
-
_imgState?: string;
|
|
14
13
|
className?: string;
|
|
15
14
|
children?: React.ReactNode;
|
|
16
15
|
}
|
package/src/content/Callout.ts
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcCallout } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCallout } from '@arclux/arc-ui/callout';
|
|
6
6
|
|
|
7
7
|
export interface CalloutProps {
|
|
8
8
|
variant?: string;
|
|
9
9
|
dismissible?: boolean;
|
|
10
|
-
_dismissed?: string;
|
|
11
10
|
className?: string;
|
|
12
11
|
children?: React.ReactNode;
|
|
13
12
|
onArcDismiss?: (e: CustomEvent) => void;
|
package/src/content/Card.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 { ArcCard } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCard } from '@arclux/arc-ui/card';
|
|
6
6
|
|
|
7
7
|
export interface CardProps {
|
|
8
8
|
href?: string;
|
|
9
9
|
padding?: 'none' | 'sm' | 'lg';
|
|
10
10
|
interactive?: boolean;
|
|
11
|
-
_hasFooter?: string;
|
|
12
11
|
className?: string;
|
|
13
12
|
children?: React.ReactNode;
|
|
14
13
|
}
|
package/src/content/Carousel.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 { ArcCarousel } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCarousel } from '@arclux/arc-ui/carousel';
|
|
6
6
|
|
|
7
7
|
export interface CarouselProps {
|
|
8
8
|
autoPlay?: boolean;
|
|
@@ -10,8 +10,6 @@ export interface CarouselProps {
|
|
|
10
10
|
loop?: boolean;
|
|
11
11
|
showDots?: boolean;
|
|
12
12
|
showArrows?: boolean;
|
|
13
|
-
_current?: string;
|
|
14
|
-
_total?: string;
|
|
15
13
|
className?: string;
|
|
16
14
|
children?: React.ReactNode;
|
|
17
15
|
onArcChange?: (e: CustomEvent) => void;
|
package/src/content/Column.ts
CHANGED
package/src/content/CtaBanner.ts
CHANGED
package/src/content/Divider.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 { ArcDivider } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcDivider } from '@arclux/arc-ui/divider';
|
|
6
6
|
|
|
7
7
|
export interface DividerProps {
|
|
8
8
|
variant?: 'subtle' | 'glow' | 'line-white' | 'line-primary' | 'line-gradient';
|
package/src/content/Icon.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 { ArcIcon } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcIcon } from '@arclux/arc-ui/icon';
|
|
6
6
|
|
|
7
7
|
export interface IconProps {
|
|
8
8
|
name?: string;
|
|
9
9
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
10
10
|
label?: string;
|
|
11
|
-
_svgContent?: string;
|
|
12
11
|
className?: string;
|
|
13
12
|
children?: React.ReactNode;
|
|
14
13
|
}
|
package/src/content/Image.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 { ArcImage } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcImage } from '@arclux/arc-ui/image';
|
|
6
6
|
|
|
7
7
|
export interface ImageProps {
|
|
8
8
|
src?: string;
|
|
@@ -11,7 +11,6 @@ export interface ImageProps {
|
|
|
11
11
|
fit?: 'contain' | 'fill' | 'none' | 'scale-down';
|
|
12
12
|
loading?: string;
|
|
13
13
|
fallback?: string;
|
|
14
|
-
_state?: string;
|
|
15
14
|
className?: string;
|
|
16
15
|
children?: React.ReactNode;
|
|
17
16
|
onArcLoad?: (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 { ArcInfiniteScroll } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcInfiniteScroll } from '@arclux/arc-ui/infinite-scroll';
|
|
6
6
|
|
|
7
7
|
export interface InfiniteScrollProps {
|
|
8
8
|
threshold?: number;
|
package/src/content/Marquee.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 { ArcMarquee } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcMarquee } from '@arclux/arc-ui/marquee';
|
|
6
6
|
|
|
7
7
|
export interface MarqueeProps {
|
|
8
8
|
speed?: number;
|
|
9
9
|
direction?: string;
|
|
10
10
|
gap?: string;
|
|
11
|
-
_animDuration?: string;
|
|
12
11
|
className?: string;
|
|
13
12
|
children?: React.ReactNode;
|
|
14
13
|
}
|
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import {
|
|
5
|
+
import { ArcQrCode } from '@arclux/arc-ui/qr-code';
|
|
6
6
|
|
|
7
|
-
export interface
|
|
7
|
+
export interface QrCodeProps {
|
|
8
8
|
value?: string;
|
|
9
|
+
size?: number;
|
|
10
|
+
level?: string;
|
|
9
11
|
label?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
quietZone?: number;
|
|
13
|
+
contrast?: boolean;
|
|
12
14
|
className?: string;
|
|
13
15
|
children?: React.ReactNode;
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
export const
|
|
17
|
-
tagName: 'arc-
|
|
18
|
-
elementClass:
|
|
18
|
+
export const QrCode = createComponent({
|
|
19
|
+
tagName: 'arc-qr-code',
|
|
20
|
+
elementClass: ArcQrCode,
|
|
19
21
|
react: React,
|
|
20
22
|
});
|
|
@@ -2,14 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcScrollIndicator } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcScrollIndicator } from '@arclux/arc-ui/scroll-indicator';
|
|
6
6
|
|
|
7
7
|
export interface ScrollIndicatorProps {
|
|
8
8
|
target?: string;
|
|
9
9
|
position?: 'bottom';
|
|
10
10
|
size?: 'sm' | 'md' | 'lg';
|
|
11
11
|
color?: 'gradient';
|
|
12
|
-
_progress?: string;
|
|
13
12
|
className?: string;
|
|
14
13
|
children?: React.ReactNode;
|
|
15
14
|
}
|
package/src/content/Separator.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 { ArcSeparator } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcSeparator } from '@arclux/arc-ui/separator';
|
|
6
6
|
|
|
7
7
|
export interface SeparatorProps {
|
|
8
8
|
orientation?: 'vertical';
|
package/src/content/Skeleton.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 { ArcSkeleton } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcSkeleton } from '@arclux/arc-ui/skeleton';
|
|
6
6
|
|
|
7
7
|
export interface SkeletonProps {
|
|
8
8
|
variant?: 'text' | 'circle' | 'rect';
|
package/src/content/Spinner.ts
CHANGED
package/src/content/Stack.ts
CHANGED
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcVirtualList } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcVirtualList } from '@arclux/arc-ui/virtual-list';
|
|
6
6
|
|
|
7
7
|
export interface VirtualListProps {
|
|
8
8
|
items?: unknown[];
|
|
9
9
|
itemHeight?: number;
|
|
10
10
|
overscan?: number;
|
|
11
|
-
_startIndex?: string;
|
|
12
|
-
_visibleCount?: string;
|
|
13
11
|
className?: string;
|
|
14
12
|
children?: React.ReactNode;
|
|
15
13
|
}
|
package/src/content/index.ts
CHANGED
|
@@ -1,27 +1,14 @@
|
|
|
1
|
-
//
|
|
2
|
-
// Static display components: cards, badges, text, tables, etc.
|
|
3
|
-
|
|
4
|
-
export { Accordion } from './Accordion.js';
|
|
5
|
-
export type { AccordionProps } from './Accordion.js';
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
6
2
|
|
|
7
3
|
export { AccordionItem } from './AccordionItem.js';
|
|
8
4
|
export type { AccordionItemProps } from './AccordionItem.js';
|
|
9
5
|
|
|
10
|
-
export { AnimatedNumber } from './AnimatedNumber.js';
|
|
11
|
-
export type { AnimatedNumberProps } from './AnimatedNumber.js';
|
|
12
|
-
|
|
13
6
|
export { AspectRatio } from './AspectRatio.js';
|
|
14
7
|
export type { AspectRatioProps } from './AspectRatio.js';
|
|
15
8
|
|
|
16
|
-
export { Avatar } from './Avatar.js';
|
|
17
|
-
export type { AvatarProps } from './Avatar.js';
|
|
18
|
-
|
|
19
9
|
export { AvatarGroup } from './AvatarGroup.js';
|
|
20
10
|
export type { AvatarGroupProps } from './AvatarGroup.js';
|
|
21
11
|
|
|
22
|
-
export { Badge } from './Badge.js';
|
|
23
|
-
export type { BadgeProps } from './Badge.js';
|
|
24
|
-
|
|
25
12
|
export { Callout } from './Callout.js';
|
|
26
13
|
export type { CalloutProps } from './Callout.js';
|
|
27
14
|
|
|
@@ -31,20 +18,17 @@ export type { CardProps } from './Card.js';
|
|
|
31
18
|
export { Carousel } from './Carousel.js';
|
|
32
19
|
export type { CarouselProps } from './Carousel.js';
|
|
33
20
|
|
|
34
|
-
export { CodeBlock } from './CodeBlock.js';
|
|
35
|
-
export type { CodeBlockProps } from './CodeBlock.js';
|
|
36
|
-
|
|
37
21
|
export { Collapsible } from './Collapsible.js';
|
|
38
22
|
export type { CollapsibleProps } from './Collapsible.js';
|
|
39
23
|
|
|
40
|
-
export { Column } from './Column.js';
|
|
41
|
-
export type { ColumnProps } from './Column.js';
|
|
42
|
-
|
|
43
24
|
export { ColorSwatch } from './ColorSwatch.js';
|
|
44
25
|
export type { ColorSwatchProps } from './ColorSwatch.js';
|
|
45
26
|
|
|
46
|
-
export {
|
|
47
|
-
export type {
|
|
27
|
+
export { Column } from './Column.js';
|
|
28
|
+
export type { ColumnProps } from './Column.js';
|
|
29
|
+
|
|
30
|
+
export { CtaBanner } from './CtaBanner.js';
|
|
31
|
+
export type { CtaBannerProps } from './CtaBanner.js';
|
|
48
32
|
|
|
49
33
|
export { Divider } from './Divider.js';
|
|
50
34
|
export type { DividerProps } from './Divider.js';
|
|
@@ -55,30 +39,27 @@ export type { EmptyStateProps } from './EmptyState.js';
|
|
|
55
39
|
export { FeatureCard } from './FeatureCard.js';
|
|
56
40
|
export type { FeatureCardProps } from './FeatureCard.js';
|
|
57
41
|
|
|
58
|
-
export { Highlight } from './Highlight.js';
|
|
59
|
-
export type { HighlightProps } from './Highlight.js';
|
|
60
|
-
|
|
61
42
|
export { Icon } from './Icon.js';
|
|
62
43
|
export type { IconProps } from './Icon.js';
|
|
63
44
|
|
|
45
|
+
export { Image } from './Image.js';
|
|
46
|
+
export type { ImageProps } from './Image.js';
|
|
47
|
+
|
|
64
48
|
export { InfiniteScroll } from './InfiniteScroll.js';
|
|
65
49
|
export type { InfiniteScrollProps } from './InfiniteScroll.js';
|
|
66
50
|
|
|
67
|
-
export { Kbd } from './Kbd.js';
|
|
68
|
-
export type { KbdProps } from './Kbd.js';
|
|
69
|
-
|
|
70
|
-
export { Markdown } from './Markdown.js';
|
|
71
|
-
export type { MarkdownProps } from './Markdown.js';
|
|
72
|
-
|
|
73
51
|
export { Marquee } from './Marquee.js';
|
|
74
52
|
export type { MarqueeProps } from './Marquee.js';
|
|
75
53
|
|
|
76
|
-
export { Meter } from './Meter.js';
|
|
77
|
-
export type { MeterProps } from './Meter.js';
|
|
78
|
-
|
|
79
54
|
export { ScrollArea } from './ScrollArea.js';
|
|
80
55
|
export type { ScrollAreaProps } from './ScrollArea.js';
|
|
81
56
|
|
|
57
|
+
export { ScrollIndicator } from './ScrollIndicator.js';
|
|
58
|
+
export type { ScrollIndicatorProps } from './ScrollIndicator.js';
|
|
59
|
+
|
|
60
|
+
export { Separator } from './Separator.js';
|
|
61
|
+
export type { SeparatorProps } from './Separator.js';
|
|
62
|
+
|
|
82
63
|
export { Skeleton } from './Skeleton.js';
|
|
83
64
|
export type { SkeletonProps } from './Skeleton.js';
|
|
84
65
|
|
|
@@ -88,53 +69,8 @@ export type { SpinnerProps } from './Spinner.js';
|
|
|
88
69
|
export { Stack } from './Stack.js';
|
|
89
70
|
export type { StackProps } from './Stack.js';
|
|
90
71
|
|
|
91
|
-
export { Stat } from './Stat.js';
|
|
92
|
-
export type { StatProps } from './Stat.js';
|
|
93
|
-
|
|
94
|
-
export { Step } from './Step.js';
|
|
95
|
-
export type { StepProps } from './Step.js';
|
|
96
|
-
|
|
97
|
-
export { Stepper } from './Stepper.js';
|
|
98
|
-
export type { StepperProps } from './Stepper.js';
|
|
99
|
-
|
|
100
|
-
export { Table } from './Table.js';
|
|
101
|
-
export type { TableProps } from './Table.js';
|
|
102
|
-
|
|
103
|
-
export { Tag } from './Tag.js';
|
|
104
|
-
export type { TagProps } from './Tag.js';
|
|
105
|
-
|
|
106
|
-
export { Text } from './Text.js';
|
|
107
|
-
export type { TextProps } from './Text.js';
|
|
108
|
-
|
|
109
|
-
export { Timeline } from './Timeline.js';
|
|
110
|
-
export type { TimelineProps } from './Timeline.js';
|
|
111
|
-
|
|
112
|
-
export { TimelineItem } from './TimelineItem.js';
|
|
113
|
-
export type { TimelineItemProps } from './TimelineItem.js';
|
|
114
|
-
|
|
115
|
-
export { Truncate } from './Truncate.js';
|
|
116
|
-
export type { TruncateProps } from './Truncate.js';
|
|
117
|
-
|
|
118
|
-
export { ValueCard } from './ValueCard.js';
|
|
119
|
-
export type { ValueCardProps } from './ValueCard.js';
|
|
120
|
-
|
|
121
|
-
export { CtaBanner } from './CtaBanner.js';
|
|
122
|
-
export type { CtaBannerProps } from './CtaBanner.js';
|
|
123
|
-
|
|
124
|
-
export { IconLibrary } from './IconLibrary.js';
|
|
125
|
-
export type { IconLibraryProps } from './IconLibrary.js';
|
|
126
|
-
|
|
127
|
-
export { Image } from './Image.js';
|
|
128
|
-
export type { ImageProps } from './Image.js';
|
|
129
|
-
|
|
130
|
-
export { ListItem } from './ListItem.js';
|
|
131
|
-
export type { ListItemProps } from './ListItem.js';
|
|
132
|
-
|
|
133
|
-
export { ScrollIndicator } from './ScrollIndicator.js';
|
|
134
|
-
export type { ScrollIndicatorProps } from './ScrollIndicator.js';
|
|
135
|
-
|
|
136
|
-
export { Separator } from './Separator.js';
|
|
137
|
-
export type { SeparatorProps } from './Separator.js';
|
|
138
|
-
|
|
139
72
|
export { VirtualList } from './VirtualList.js';
|
|
140
73
|
export type { VirtualListProps } from './VirtualList.js';
|
|
74
|
+
|
|
75
|
+
export { QrCode } from './QrCode.js';
|
|
76
|
+
export type { QrCodeProps } from './QrCode.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcAnimatedNumber } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcAnimatedNumber } from '@arclux/arc-ui/animated-number';
|
|
6
6
|
|
|
7
7
|
export interface AnimatedNumberProps {
|
|
8
8
|
value?: number;
|
package/src/data/Badge.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 { ArcBadge } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcBadge } from '@arclux/arc-ui/badge';
|
|
6
6
|
|
|
7
7
|
export interface BadgeProps {
|
|
8
8
|
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Auto-generated by @arclux/prism — do not edit manually
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
+
import { ArcChart } from '@arclux/arc-ui/chart';
|
|
6
|
+
|
|
7
|
+
export interface ChartProps {
|
|
8
|
+
type?: string;
|
|
9
|
+
series?: unknown[];
|
|
10
|
+
labels?: unknown[];
|
|
11
|
+
stacked?: boolean;
|
|
12
|
+
hideLegend?: boolean;
|
|
13
|
+
hideAxis?: boolean;
|
|
14
|
+
height?: number;
|
|
15
|
+
valueFormat?: string;
|
|
16
|
+
currency?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
onArcMarkClick?: (e: CustomEvent) => void;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export const Chart = createComponent({
|
|
23
|
+
tagName: 'arc-chart',
|
|
24
|
+
elementClass: ArcChart,
|
|
25
|
+
react: React,
|
|
26
|
+
events: {
|
|
27
|
+
onArcMarkClick: 'arc-mark-click' as EventName<CustomEvent>,
|
|
28
|
+
},
|
|
29
|
+
});
|
package/src/data/Comparison.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 { ArcComparison } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcComparison } from '@arclux/arc-ui/comparison';
|
|
6
6
|
|
|
7
7
|
export interface ComparisonProps {
|
|
8
8
|
features?: string;
|
|
9
|
-
_columns?: string;
|
|
10
9
|
className?: string;
|
|
11
10
|
children?: React.ReactNode;
|
|
12
11
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcComparisonColumn } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcComparisonColumn } from '@arclux/arc-ui/comparison-column';
|
|
6
6
|
|
|
7
7
|
export interface ComparisonColumnProps {
|
|
8
8
|
heading?: string;
|
|
@@ -2,18 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { createComponent, type EventName } from '@lit/react';
|
|
5
|
-
import { ArcCountdownTimer } from '@arclux/arc-ui';
|
|
5
|
+
import { ArcCountdownTimer } from '@arclux/arc-ui/countdown-timer';
|
|
6
6
|
|
|
7
7
|
export interface CountdownTimerProps {
|
|
8
8
|
target?: string;
|
|
9
9
|
label?: string;
|
|
10
10
|
expired?: string;
|
|
11
11
|
hideZeroSegments?: boolean;
|
|
12
|
-
_days?: string;
|
|
13
|
-
_hours?: string;
|
|
14
|
-
_minutes?: string;
|
|
15
|
-
_seconds?: string;
|
|
16
|
-
_expired?: string;
|
|
17
12
|
className?: string;
|
|
18
13
|
children?: React.ReactNode;
|
|
19
14
|
onArcExpired?: (e: CustomEvent) => void;
|