@arclux/arc-ui-react 2.9.0 → 2.10.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 +2 -2
- package/src/content/Avatar.ts +1 -1
- package/src/content/AvatarGroup.ts +1 -1
- package/src/content/Callout.ts +1 -1
- package/src/content/Card.ts +1 -1
- package/src/content/Column.ts +1 -0
- package/src/content/Image.ts +2 -2
- package/src/content/Marquee.ts +1 -1
- package/src/content/QrCode.ts +1 -1
- package/src/content/ScrollIndicator.ts +2 -2
- package/src/content/Separator.ts +2 -2
- package/src/content/Stack.ts +1 -1
- package/src/data/AnimatedNumber.ts +1 -1
- package/src/data/Badge.ts +2 -2
- package/src/data/Chart.ts +4 -4
- package/src/data/DataGrid.ts +3 -3
- package/src/data/DataTable.ts +2 -2
- package/src/data/Diff.ts +1 -1
- package/src/data/EventCalendar.ts +2 -2
- package/src/data/Kanban.ts +1 -1
- package/src/data/List.ts +2 -2
- package/src/data/Sparkline.ts +1 -1
- package/src/data/Table.ts +2 -2
- package/src/data/Tag.ts +2 -2
- package/src/feedback/Alert.ts +1 -1
- package/src/feedback/Announcement.ts +1 -1
- package/src/feedback/Banner.ts +1 -1
- package/src/feedback/Confirm.ts +1 -1
- package/src/feedback/Dialog.ts +1 -1
- package/src/feedback/HoverCard.ts +1 -1
- package/src/feedback/InlineMessage.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 -1
- package/src/feedback/ToastManager.ts +1 -1
- package/src/input/Button.ts +1 -1
- package/src/input/ButtonGroup.ts +2 -2
- package/src/input/Checkbox.ts +1 -1
- package/src/input/ColorPicker.ts +1 -1
- package/src/input/DateRangePicker.ts +1 -1
- package/src/input/Fieldset.ts +1 -1
- package/src/input/Input.ts +2 -2
- package/src/input/InputGroup.ts +1 -1
- package/src/input/Label.ts +1 -1
- package/src/input/MultiSelect.ts +1 -1
- package/src/input/OtpInput.ts +1 -1
- package/src/input/PasswordInput.ts +1 -1
- package/src/input/PinInput.ts +1 -1
- package/src/input/RadioGroup.ts +2 -2
- package/src/input/Select.ts +1 -1
- package/src/input/SwitchGroup.ts +2 -2
- package/src/input/TagInput.ts +2 -2
- package/src/input/Textarea.ts +1 -1
- package/src/input/ThemeToggle.ts +1 -1
- package/src/input/Toggle.ts +1 -1
- package/src/input/TransferList.ts +2 -2
- package/src/layout/AspectGrid.ts +1 -1
- package/src/layout/AuthShell.ts +1 -1
- package/src/layout/Container.ts +1 -1
- package/src/layout/FloatBar.ts +1 -1
- package/src/layout/PageLayout.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/Toolbar.ts +1 -1
- package/src/navigation/AnchorNav.ts +1 -1
- package/src/navigation/Footer.ts +1 -1
- package/src/navigation/Link.ts +2 -2
- package/src/navigation/Menubar.ts +1 -1
- package/src/navigation/NavItem.ts +1 -1
- package/src/navigation/Sidebar.ts +1 -1
- package/src/navigation/SpeedDial.ts +1 -1
- package/src/navigation/StepperNav.ts +1 -1
- package/src/navigation/Tabs.ts +3 -3
- package/src/typography/Blockquote.ts +1 -1
- package/src/typography/CodeBlock.ts +1 -1
- package/src/typography/GradientText.ts +1 -1
- package/src/typography/NumberFormat.ts +2 -2
- package/src/typography/Text.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arclux/arc-ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "React wrappers for ARC UI Web Components.",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@lit/react": "^1.0.8",
|
|
57
|
-
"@arclux/arc-ui": "2.
|
|
57
|
+
"@arclux/arc-ui": "2.10.0"
|
|
58
58
|
},
|
|
59
59
|
"license": "MIT",
|
|
60
60
|
"keywords": [
|
package/src/content/Avatar.ts
CHANGED
|
@@ -8,7 +8,7 @@ export interface AvatarProps {
|
|
|
8
8
|
src?: string;
|
|
9
9
|
name?: string;
|
|
10
10
|
size?: 'sm' | 'md' | 'lg';
|
|
11
|
-
shape?: 'square' | 'rounded';
|
|
11
|
+
shape?: 'circle' | 'square' | 'rounded';
|
|
12
12
|
status?: 'online' | 'offline' | 'busy' | 'away';
|
|
13
13
|
className?: string;
|
|
14
14
|
children?: React.ReactNode;
|
package/src/content/Callout.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcCallout } from '@arclux/arc-ui/callout';
|
|
6
6
|
|
|
7
7
|
export interface CalloutProps {
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: 'info' | 'warning' | 'tip' | 'danger';
|
|
9
9
|
dismissible?: boolean;
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: React.ReactNode;
|
package/src/content/Card.ts
CHANGED
package/src/content/Column.ts
CHANGED
package/src/content/Image.ts
CHANGED
|
@@ -8,8 +8,8 @@ export interface ImageProps {
|
|
|
8
8
|
src?: string;
|
|
9
9
|
alt?: string;
|
|
10
10
|
aspect?: '1/1' | '4/3' | '16/9' | '21/9' | '3/4' | '9/16';
|
|
11
|
-
fit?: 'contain' | 'fill' | 'none' | 'scale-down';
|
|
12
|
-
loading?:
|
|
11
|
+
fit?: 'cover' | 'contain' | 'fill' | 'none' | 'scale-down';
|
|
12
|
+
loading?: 'lazy' | 'eager';
|
|
13
13
|
fallback?: string;
|
|
14
14
|
className?: string;
|
|
15
15
|
children?: React.ReactNode;
|
package/src/content/Marquee.ts
CHANGED
package/src/content/QrCode.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { ArcScrollIndicator } from '@arclux/arc-ui/scroll-indicator';
|
|
|
6
6
|
|
|
7
7
|
export interface ScrollIndicatorProps {
|
|
8
8
|
target?: string;
|
|
9
|
-
position?: 'bottom';
|
|
9
|
+
position?: 'top' | 'bottom';
|
|
10
10
|
size?: 'sm' | 'md' | 'lg';
|
|
11
|
-
color?: 'gradient';
|
|
11
|
+
color?: 'accent' | 'gradient';
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
}
|
package/src/content/Separator.ts
CHANGED
|
@@ -5,9 +5,9 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcSeparator } from '@arclux/arc-ui/separator';
|
|
6
6
|
|
|
7
7
|
export interface SeparatorProps {
|
|
8
|
-
orientation?: 'vertical';
|
|
8
|
+
orientation?: 'horizontal' | 'vertical';
|
|
9
9
|
label?: string;
|
|
10
|
-
variant?: 'dashed' | 'dotted' | 'fade';
|
|
10
|
+
variant?: 'line' | 'dashed' | 'dotted' | 'fade';
|
|
11
11
|
className?: string;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}
|
package/src/content/Stack.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcStack } from '@arclux/arc-ui/stack';
|
|
6
6
|
|
|
7
7
|
export interface StackProps {
|
|
8
|
-
direction?: '
|
|
8
|
+
direction?: 'vertical' | 'horizontal';
|
|
9
9
|
gap?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
10
10
|
align?: 'start' | 'center' | 'end' | 'stretch';
|
|
11
11
|
justify?: 'start' | 'center' | 'end' | 'between' | 'around';
|
|
@@ -7,7 +7,7 @@ import { ArcAnimatedNumber } from '@arclux/arc-ui/animated-number';
|
|
|
7
7
|
export interface AnimatedNumberProps {
|
|
8
8
|
value?: number;
|
|
9
9
|
duration?: number;
|
|
10
|
-
format?:
|
|
10
|
+
format?: 'number' | 'currency' | 'percent';
|
|
11
11
|
prefix?: string;
|
|
12
12
|
suffix?: string;
|
|
13
13
|
decimals?: number;
|
package/src/data/Badge.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcBadge } from '@arclux/arc-ui/badge';
|
|
6
6
|
|
|
7
7
|
export interface BadgeProps {
|
|
8
|
-
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
9
|
-
size?: 'sm' | 'lg';
|
|
8
|
+
variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
10
|
color?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
children?: React.ReactNode;
|
package/src/data/Chart.ts
CHANGED
|
@@ -5,14 +5,14 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcChart } from '@arclux/arc-ui/chart';
|
|
6
6
|
|
|
7
7
|
export interface ChartProps {
|
|
8
|
-
type?:
|
|
9
|
-
series?:
|
|
10
|
-
labels?:
|
|
8
|
+
type?: 'line' | 'area' | 'bar' | 'donut';
|
|
9
|
+
series?: Array<{label:string,data:number[]}>;
|
|
10
|
+
labels?: string[];
|
|
11
11
|
stacked?: boolean;
|
|
12
12
|
hideLegend?: boolean;
|
|
13
13
|
hideAxis?: boolean;
|
|
14
14
|
height?: number;
|
|
15
|
-
valueFormat?:
|
|
15
|
+
valueFormat?: 'number' | 'percent' | 'currency';
|
|
16
16
|
currency?: string;
|
|
17
17
|
className?: string;
|
|
18
18
|
children?: React.ReactNode;
|
package/src/data/DataGrid.ts
CHANGED
|
@@ -5,9 +5,9 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcDataGrid } from '@arclux/arc-ui/data-grid';
|
|
6
6
|
|
|
7
7
|
export interface DataGridProps {
|
|
8
|
-
columns?:
|
|
9
|
-
rows?:
|
|
10
|
-
sort?:
|
|
8
|
+
columns?: Array<{key:string,label:string,sortable?:boolean,editable?:boolean,pinned?:boolean,width?:string,align?:string}>;
|
|
9
|
+
rows?: Array<Record<string, any>>;
|
|
10
|
+
sort?: Array<{key:string,direction:'asc'|'desc'}>;
|
|
11
11
|
manualSort?: boolean;
|
|
12
12
|
selectable?: boolean;
|
|
13
13
|
virtual?: boolean;
|
package/src/data/DataTable.ts
CHANGED
|
@@ -5,11 +5,11 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcDataTable } from '@arclux/arc-ui/data-table';
|
|
6
6
|
|
|
7
7
|
export interface DataTableProps {
|
|
8
|
-
rows?:
|
|
8
|
+
rows?: Array<Record<string, any>>;
|
|
9
9
|
sortable?: boolean;
|
|
10
10
|
selectable?: boolean;
|
|
11
11
|
sortColumn?: string;
|
|
12
|
-
sortDirection?:
|
|
12
|
+
sortDirection?: 'asc' | 'desc';
|
|
13
13
|
virtual?: boolean;
|
|
14
14
|
rowHeight?: number;
|
|
15
15
|
className?: string;
|
package/src/data/Diff.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcEventCalendar } from '@arclux/arc-ui/event-calendar';
|
|
6
6
|
|
|
7
7
|
export interface EventCalendarProps {
|
|
8
|
-
events?:
|
|
9
|
-
view?: 'week';
|
|
8
|
+
events?: Array<{date:string,end?:string,label:string,color?:number}>;
|
|
9
|
+
view?: 'month' | 'week';
|
|
10
10
|
date?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
children?: React.ReactNode;
|
package/src/data/Kanban.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcKanban } from '@arclux/arc-ui/kanban';
|
|
6
6
|
|
|
7
7
|
export interface KanbanProps {
|
|
8
|
-
columns?:
|
|
8
|
+
columns?: Array<{id:string,title?:string,limit?:number,items:Array<{id:string,label:string,description?:string,tag?:string,variant?:string}>}>;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: React.ReactNode;
|
package/src/data/List.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcList } from '@arclux/arc-ui/list';
|
|
6
6
|
|
|
7
7
|
export interface ListProps {
|
|
8
|
-
variant?: 'bordered' | 'separated';
|
|
9
|
-
size?: 'sm' | 'lg';
|
|
8
|
+
variant?: 'default' | 'bordered' | 'separated';
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
10
|
selectable?: boolean;
|
|
11
11
|
multiple?: boolean;
|
|
12
12
|
value?: string;
|
package/src/data/Sparkline.ts
CHANGED
package/src/data/Table.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcTable } from '@arclux/arc-ui/table';
|
|
6
6
|
|
|
7
7
|
export interface TableProps {
|
|
8
|
-
columns?:
|
|
9
|
-
rows?:
|
|
8
|
+
columns?: string[];
|
|
9
|
+
rows?: string[][];
|
|
10
10
|
striped?: boolean;
|
|
11
11
|
compact?: boolean;
|
|
12
12
|
className?: string;
|
package/src/data/Tag.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcTag } from '@arclux/arc-ui/tag';
|
|
6
6
|
|
|
7
7
|
export interface TagProps {
|
|
8
|
-
variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
9
|
-
size?: 'sm' | 'lg';
|
|
8
|
+
variant?: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
10
|
removable?: boolean;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
color?: string;
|
package/src/feedback/Alert.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcAlert } from '@arclux/arc-ui/alert';
|
|
6
6
|
|
|
7
7
|
export interface AlertProps {
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
9
9
|
compact?: boolean;
|
|
10
10
|
dismissible?: boolean;
|
|
11
11
|
heading?: string;
|
|
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcAnnouncement } from '@arclux/arc-ui/announcement';
|
|
6
6
|
|
|
7
7
|
export interface AnnouncementProps {
|
|
8
|
-
politeness?:
|
|
8
|
+
politeness?: 'polite' | 'assertive';
|
|
9
9
|
message?: string;
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: React.ReactNode;
|
package/src/feedback/Banner.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcBanner } from '@arclux/arc-ui/banner';
|
|
6
6
|
|
|
7
7
|
export interface BannerProps {
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
9
9
|
dismissible?: boolean;
|
|
10
10
|
sticky?: boolean;
|
|
11
11
|
className?: string;
|
package/src/feedback/Confirm.ts
CHANGED
package/src/feedback/Dialog.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcHoverCard } from '@arclux/arc-ui/hover-card';
|
|
6
6
|
|
|
7
7
|
export interface HoverCardProps {
|
|
8
|
-
position?:
|
|
8
|
+
position?: 'bottom' | 'top' | 'left' | 'right';
|
|
9
9
|
openDelay?: number;
|
|
10
10
|
closeDelay?: number;
|
|
11
11
|
className?: string;
|
|
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcInlineMessage } from '@arclux/arc-ui/inline-message';
|
|
6
6
|
|
|
7
7
|
export interface InlineMessageProps {
|
|
8
|
-
variant?:
|
|
8
|
+
variant?: 'info' | 'success' | 'warning' | 'error';
|
|
9
9
|
className?: string;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
}
|
|
@@ -6,7 +6,7 @@ import { ArcNotificationPanel } from '@arclux/arc-ui/notification-panel';
|
|
|
6
6
|
|
|
7
7
|
export interface NotificationPanelProps {
|
|
8
8
|
open?: boolean;
|
|
9
|
-
position?: 'top-
|
|
9
|
+
position?: 'top-right' | 'top-left';
|
|
10
10
|
maxHeight?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
children?: React.ReactNode;
|
package/src/feedback/Popover.ts
CHANGED
package/src/feedback/Progress.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcProgressToast } from '@arclux/arc-ui/progress-toast';
|
|
6
6
|
|
|
7
7
|
export interface ProgressToastProps {
|
|
8
|
-
position?: '
|
|
8
|
+
position?: 'top-right' | 'bottom-right';
|
|
9
9
|
className?: string;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
onArcComplete?: (e: CustomEvent) => void;
|
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcToastManager } from '@arclux/arc-ui/toast-manager';
|
|
6
6
|
|
|
7
7
|
export interface ToastManagerProps {
|
|
8
|
-
position?:
|
|
8
|
+
position?: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
|
|
9
9
|
duration?: number;
|
|
10
10
|
maxVisible?: number;
|
|
11
11
|
dedupe?: boolean;
|
package/src/input/Button.ts
CHANGED
package/src/input/ButtonGroup.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcButtonGroup } from '@arclux/arc-ui/button-group';
|
|
6
6
|
|
|
7
7
|
export interface ButtonGroupProps {
|
|
8
|
-
orientation?: 'vertical';
|
|
9
|
-
size?:
|
|
8
|
+
orientation?: 'horizontal' | 'vertical';
|
|
9
|
+
size?: 'sm' | 'md' | 'lg';
|
|
10
10
|
variant?: string;
|
|
11
11
|
className?: string;
|
|
12
12
|
children?: React.ReactNode;
|
package/src/input/Checkbox.ts
CHANGED
package/src/input/ColorPicker.ts
CHANGED
package/src/input/Fieldset.ts
CHANGED
package/src/input/Input.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcInput } from '@arclux/arc-ui/input';
|
|
6
6
|
|
|
7
7
|
export interface InputProps {
|
|
8
|
-
type?:
|
|
8
|
+
type?: 'text' | 'email' | 'tel' | 'url' | 'password';
|
|
9
9
|
name?: string;
|
|
10
10
|
label?: string;
|
|
11
11
|
placeholder?: string;
|
|
@@ -13,7 +13,7 @@ export interface InputProps {
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
required?: boolean;
|
|
15
15
|
error?: string;
|
|
16
|
-
size?: 'sm' | 'lg';
|
|
16
|
+
size?: 'sm' | 'md' | 'lg';
|
|
17
17
|
multiline?: boolean;
|
|
18
18
|
rows?: number;
|
|
19
19
|
className?: string;
|
package/src/input/InputGroup.ts
CHANGED
package/src/input/Label.ts
CHANGED
package/src/input/MultiSelect.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcMultiSelect } from '@arclux/arc-ui/multi-select';
|
|
6
6
|
|
|
7
7
|
export interface MultiSelectProps {
|
|
8
|
-
value?:
|
|
8
|
+
value?: string[];
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
label?: string;
|
|
11
11
|
name?: string;
|
package/src/input/OtpInput.ts
CHANGED
package/src/input/PinInput.ts
CHANGED
package/src/input/RadioGroup.ts
CHANGED
|
@@ -8,8 +8,8 @@ export interface RadioGroupProps {
|
|
|
8
8
|
value?: string;
|
|
9
9
|
name?: string;
|
|
10
10
|
disabled?: boolean;
|
|
11
|
-
size?: 'sm' | 'lg';
|
|
12
|
-
orientation?: 'horizontal';
|
|
11
|
+
size?: 'sm' | 'md' | 'lg';
|
|
12
|
+
orientation?: 'vertical' | 'horizontal';
|
|
13
13
|
className?: string;
|
|
14
14
|
children?: React.ReactNode;
|
|
15
15
|
onArcChange?: (e: CustomEvent) => void;
|
package/src/input/Select.ts
CHANGED
package/src/input/SwitchGroup.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { ArcSwitchGroup } from '@arclux/arc-ui/switch-group';
|
|
|
6
6
|
|
|
7
7
|
export interface SwitchGroupProps {
|
|
8
8
|
label?: string;
|
|
9
|
-
orientation?: 'horizontal';
|
|
10
|
-
size?:
|
|
9
|
+
orientation?: 'vertical' | 'horizontal';
|
|
10
|
+
size?: 'sm' | 'md' | 'lg';
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: React.ReactNode;
|
package/src/input/TagInput.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcTagInput } from '@arclux/arc-ui/tag-input';
|
|
6
6
|
|
|
7
7
|
export interface TagInputProps {
|
|
8
|
-
value?:
|
|
9
|
-
suggestions?:
|
|
8
|
+
value?: string[];
|
|
9
|
+
suggestions?: string[];
|
|
10
10
|
delimiter?: string;
|
|
11
11
|
maxTags?: number;
|
|
12
12
|
allowCustom?: boolean;
|
package/src/input/Textarea.ts
CHANGED
package/src/input/ThemeToggle.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcThemeToggle } from '@arclux/arc-ui/theme-toggle';
|
|
6
6
|
|
|
7
7
|
export interface ThemeToggleProps {
|
|
8
|
-
theme?:
|
|
8
|
+
theme?: 'dark' | 'light' | 'auto';
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
iconOnly?: boolean;
|
|
11
11
|
className?: string;
|
package/src/input/Toggle.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcTransferList } from '@arclux/arc-ui/transfer-list';
|
|
6
6
|
|
|
7
7
|
export interface TransferListProps {
|
|
8
|
-
options?:
|
|
9
|
-
value?:
|
|
8
|
+
options?: Array<{value:string,label:string,disabled?:boolean}>;
|
|
9
|
+
value?: string[];
|
|
10
10
|
name?: string;
|
|
11
11
|
disabled?: boolean;
|
|
12
12
|
searchable?: boolean;
|
package/src/layout/AspectGrid.ts
CHANGED
package/src/layout/AuthShell.ts
CHANGED
package/src/layout/Container.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { ArcContainer } from '@arclux/arc-ui/container';
|
|
|
7
7
|
export interface ContainerProps {
|
|
8
8
|
narrow?: boolean;
|
|
9
9
|
size?: 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
10
|
-
padding?: 'none' | 'sm' | 'lg';
|
|
10
|
+
padding?: 'none' | 'sm' | 'md' | 'lg';
|
|
11
11
|
className?: string;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
}
|
package/src/layout/FloatBar.ts
CHANGED
package/src/layout/PageLayout.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcPageLayout } from '@arclux/arc-ui/page-layout';
|
|
6
6
|
|
|
7
7
|
export interface PageLayoutProps {
|
|
8
|
-
layout?: '
|
|
8
|
+
layout?: 'sidebar-left' | 'sidebar-right' | 'centered' | 'wide';
|
|
9
9
|
maxWidth?: string;
|
|
10
10
|
gap?: string;
|
|
11
11
|
className?: string;
|
|
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcSettingsLayout } from '@arclux/arc-ui/settings-layout';
|
|
6
6
|
|
|
7
7
|
export interface SettingsLayoutProps {
|
|
8
|
-
navPosition?:
|
|
8
|
+
navPosition?: 'left' | 'top';
|
|
9
9
|
className?: string;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
}
|
package/src/layout/SplitPane.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcSplitPane } from '@arclux/arc-ui/split-pane';
|
|
6
6
|
|
|
7
7
|
export interface SplitPaneProps {
|
|
8
|
-
orientation?: '
|
|
8
|
+
orientation?: 'horizontal' | 'vertical';
|
|
9
9
|
ratio?: number;
|
|
10
10
|
minRatio?: number;
|
|
11
11
|
maxRatio?: number;
|
package/src/layout/StatusBar.ts
CHANGED
package/src/layout/Toolbar.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcAnchorNav } from '@arclux/arc-ui/anchor-nav';
|
|
6
6
|
|
|
7
7
|
export interface AnchorNavProps {
|
|
8
|
-
orientation?: 'vertical';
|
|
8
|
+
orientation?: 'vertical' | 'horizontal';
|
|
9
9
|
value?: string;
|
|
10
10
|
items?: string;
|
|
11
11
|
className?: string;
|
package/src/navigation/Footer.ts
CHANGED
package/src/navigation/Link.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { ArcLink } from '@arclux/arc-ui/link';
|
|
|
6
6
|
|
|
7
7
|
export interface LinkProps {
|
|
8
8
|
href?: string;
|
|
9
|
-
variant?: 'muted' | 'nav';
|
|
10
|
-
underline?: 'always' | 'never';
|
|
9
|
+
variant?: 'default' | 'muted' | 'nav';
|
|
10
|
+
underline?: 'hover' | 'always' | 'never';
|
|
11
11
|
active?: boolean;
|
|
12
12
|
external?: boolean;
|
|
13
13
|
className?: string;
|
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcMenubar } from '@arclux/arc-ui/menubar';
|
|
6
6
|
|
|
7
7
|
export interface MenubarProps {
|
|
8
|
-
items?:
|
|
8
|
+
items?: Array<{label:string,disabled?:boolean,items:Array<{label?:string,shortcut?:string,disabled?:boolean,divider?:boolean,items?:Array<{label:string,shortcut?:string,disabled?:boolean}>}>}>;
|
|
9
9
|
className?: string;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
onArcSelect?: (e: CustomEvent) => void;
|
|
@@ -7,7 +7,7 @@ import { ArcNavItem } from '@arclux/arc-ui/nav-item';
|
|
|
7
7
|
export interface NavItemProps {
|
|
8
8
|
href?: string;
|
|
9
9
|
active?: boolean;
|
|
10
|
-
variant?:
|
|
10
|
+
variant?: 'default' | 'primary' | 'muted';
|
|
11
11
|
description?: string;
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: React.ReactNode;
|
|
@@ -6,7 +6,7 @@ import { ArcSpeedDial } from '@arclux/arc-ui/speed-dial';
|
|
|
6
6
|
|
|
7
7
|
export interface SpeedDialProps {
|
|
8
8
|
open?: boolean;
|
|
9
|
-
direction?: 'down' | 'left' | 'right';
|
|
9
|
+
direction?: 'up' | 'down' | 'left' | 'right';
|
|
10
10
|
position?: 'bottom-right' | 'bottom-left';
|
|
11
11
|
items?: string;
|
|
12
12
|
className?: string;
|
|
@@ -5,7 +5,7 @@ import { createComponent, type EventName } from '@lit/react';
|
|
|
5
5
|
import { ArcStepperNav } from '@arclux/arc-ui/stepper-nav';
|
|
6
6
|
|
|
7
7
|
export interface StepperNavProps {
|
|
8
|
-
steps?: string
|
|
8
|
+
steps?: Array<string>;
|
|
9
9
|
active?: number;
|
|
10
10
|
linear?: boolean;
|
|
11
11
|
className?: string;
|
package/src/navigation/Tabs.ts
CHANGED
|
@@ -6,9 +6,9 @@ import { ArcTabs } from '@arclux/arc-ui/tabs';
|
|
|
6
6
|
|
|
7
7
|
export interface TabsProps {
|
|
8
8
|
selected?: number;
|
|
9
|
-
align?: 'center' | 'end';
|
|
10
|
-
variant?: 'pills';
|
|
11
|
-
orientation?: 'vertical';
|
|
9
|
+
align?: 'start' | 'center' | 'end';
|
|
10
|
+
variant?: 'underline' | 'pills';
|
|
11
|
+
orientation?: 'horizontal' | 'vertical';
|
|
12
12
|
className?: string;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
onArcChange?: (e: CustomEvent) => void;
|
|
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcGradientText } from '@arclux/arc-ui/gradient-text';
|
|
6
6
|
|
|
7
7
|
export interface GradientTextProps {
|
|
8
|
-
variant?: 'accent' | 'display' | 'sunset' | 'ocean';
|
|
8
|
+
variant?: 'accent' | 'display' | 'sunset' | 'ocean' | 'custom';
|
|
9
9
|
gradient?: string;
|
|
10
10
|
animate?: boolean;
|
|
11
11
|
className?: string;
|
|
@@ -6,11 +6,11 @@ import { ArcNumberFormat } from '@arclux/arc-ui/number-format';
|
|
|
6
6
|
|
|
7
7
|
export interface NumberFormatProps {
|
|
8
8
|
value?: number;
|
|
9
|
-
type?:
|
|
9
|
+
type?: 'number' | 'currency' | 'percent' | 'compact';
|
|
10
10
|
locale?: string;
|
|
11
11
|
currency?: string;
|
|
12
12
|
decimals?: number;
|
|
13
|
-
notation?:
|
|
13
|
+
notation?: 'standard' | 'compact';
|
|
14
14
|
className?: string;
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
}
|
package/src/typography/Text.ts
CHANGED
|
@@ -5,8 +5,8 @@ import { createComponent } from '@lit/react';
|
|
|
5
5
|
import { ArcText } from '@arclux/arc-ui/text';
|
|
6
6
|
|
|
7
7
|
export interface TextProps {
|
|
8
|
-
variant?: 'accent' | 'code';
|
|
9
|
-
as?:
|
|
8
|
+
variant?: 'display' | 'heading' | 'body' | 'muted' | 'ghost' | 'accent' | 'label' | 'wordmark' | 'code';
|
|
9
|
+
as?: 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span';
|
|
10
10
|
className?: string;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}
|