@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.
Files changed (80) hide show
  1. package/package.json +2 -2
  2. package/src/content/Avatar.ts +1 -1
  3. package/src/content/AvatarGroup.ts +1 -1
  4. package/src/content/Callout.ts +1 -1
  5. package/src/content/Card.ts +1 -1
  6. package/src/content/Column.ts +1 -0
  7. package/src/content/Image.ts +2 -2
  8. package/src/content/Marquee.ts +1 -1
  9. package/src/content/QrCode.ts +1 -1
  10. package/src/content/ScrollIndicator.ts +2 -2
  11. package/src/content/Separator.ts +2 -2
  12. package/src/content/Stack.ts +1 -1
  13. package/src/data/AnimatedNumber.ts +1 -1
  14. package/src/data/Badge.ts +2 -2
  15. package/src/data/Chart.ts +4 -4
  16. package/src/data/DataGrid.ts +3 -3
  17. package/src/data/DataTable.ts +2 -2
  18. package/src/data/Diff.ts +1 -1
  19. package/src/data/EventCalendar.ts +2 -2
  20. package/src/data/Kanban.ts +1 -1
  21. package/src/data/List.ts +2 -2
  22. package/src/data/Sparkline.ts +1 -1
  23. package/src/data/Table.ts +2 -2
  24. package/src/data/Tag.ts +2 -2
  25. package/src/feedback/Alert.ts +1 -1
  26. package/src/feedback/Announcement.ts +1 -1
  27. package/src/feedback/Banner.ts +1 -1
  28. package/src/feedback/Confirm.ts +1 -1
  29. package/src/feedback/Dialog.ts +1 -1
  30. package/src/feedback/HoverCard.ts +1 -1
  31. package/src/feedback/InlineMessage.ts +1 -1
  32. package/src/feedback/NotificationPanel.ts +1 -1
  33. package/src/feedback/Popover.ts +1 -1
  34. package/src/feedback/Progress.ts +1 -1
  35. package/src/feedback/ProgressToast.ts +1 -1
  36. package/src/feedback/ToastManager.ts +1 -1
  37. package/src/input/Button.ts +1 -1
  38. package/src/input/ButtonGroup.ts +2 -2
  39. package/src/input/Checkbox.ts +1 -1
  40. package/src/input/ColorPicker.ts +1 -1
  41. package/src/input/DateRangePicker.ts +1 -1
  42. package/src/input/Fieldset.ts +1 -1
  43. package/src/input/Input.ts +2 -2
  44. package/src/input/InputGroup.ts +1 -1
  45. package/src/input/Label.ts +1 -1
  46. package/src/input/MultiSelect.ts +1 -1
  47. package/src/input/OtpInput.ts +1 -1
  48. package/src/input/PasswordInput.ts +1 -1
  49. package/src/input/PinInput.ts +1 -1
  50. package/src/input/RadioGroup.ts +2 -2
  51. package/src/input/Select.ts +1 -1
  52. package/src/input/SwitchGroup.ts +2 -2
  53. package/src/input/TagInput.ts +2 -2
  54. package/src/input/Textarea.ts +1 -1
  55. package/src/input/ThemeToggle.ts +1 -1
  56. package/src/input/Toggle.ts +1 -1
  57. package/src/input/TransferList.ts +2 -2
  58. package/src/layout/AspectGrid.ts +1 -1
  59. package/src/layout/AuthShell.ts +1 -1
  60. package/src/layout/Container.ts +1 -1
  61. package/src/layout/FloatBar.ts +1 -1
  62. package/src/layout/PageLayout.ts +1 -1
  63. package/src/layout/SettingsLayout.ts +1 -1
  64. package/src/layout/SplitPane.ts +1 -1
  65. package/src/layout/StatusBar.ts +1 -1
  66. package/src/layout/Toolbar.ts +1 -1
  67. package/src/navigation/AnchorNav.ts +1 -1
  68. package/src/navigation/Footer.ts +1 -1
  69. package/src/navigation/Link.ts +2 -2
  70. package/src/navigation/Menubar.ts +1 -1
  71. package/src/navigation/NavItem.ts +1 -1
  72. package/src/navigation/Sidebar.ts +1 -1
  73. package/src/navigation/SpeedDial.ts +1 -1
  74. package/src/navigation/StepperNav.ts +1 -1
  75. package/src/navigation/Tabs.ts +3 -3
  76. package/src/typography/Blockquote.ts +1 -1
  77. package/src/typography/CodeBlock.ts +1 -1
  78. package/src/typography/GradientText.ts +1 -1
  79. package/src/typography/NumberFormat.ts +2 -2
  80. 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.9.0",
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.9.0"
57
+ "@arclux/arc-ui": "2.10.0"
58
58
  },
59
59
  "license": "MIT",
60
60
  "keywords": [
@@ -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;
@@ -6,7 +6,7 @@ import { ArcAvatarGroup } from '@arclux/arc-ui/avatar-group';
6
6
 
7
7
  export interface AvatarGroupProps {
8
8
  max?: number;
9
- overlap?: 'sm' | 'lg';
9
+ overlap?: 'sm' | 'md' | 'lg';
10
10
  className?: string;
11
11
  children?: React.ReactNode;
12
12
  }
@@ -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?: string;
8
+ variant?: 'info' | 'warning' | 'tip' | 'danger';
9
9
  dismissible?: boolean;
10
10
  className?: string;
11
11
  children?: React.ReactNode;
@@ -6,7 +6,7 @@ import { ArcCard } from '@arclux/arc-ui/card';
6
6
 
7
7
  export interface CardProps {
8
8
  href?: string;
9
- padding?: 'none' | 'sm' | 'lg';
9
+ padding?: 'none' | 'sm' | 'md' | 'lg';
10
10
  interactive?: boolean;
11
11
  className?: string;
12
12
  children?: React.ReactNode;
@@ -5,6 +5,7 @@ import { createComponent } from '@lit/react';
5
5
  import { ArcColumn } from '@arclux/arc-ui/column';
6
6
 
7
7
  export interface ColumnProps {
8
+ field?: string;
8
9
  key?: string;
9
10
  label?: string;
10
11
  sortable?: boolean;
@@ -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?: string;
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;
@@ -6,7 +6,7 @@ import { ArcMarquee } from '@arclux/arc-ui/marquee';
6
6
 
7
7
  export interface MarqueeProps {
8
8
  speed?: number;
9
- direction?: string;
9
+ direction?: 'left' | 'right';
10
10
  pauseOnHover?: boolean;
11
11
  gap?: string;
12
12
  className?: string;
@@ -7,7 +7,7 @@ import { ArcQrCode } from '@arclux/arc-ui/qr-code';
7
7
  export interface QrCodeProps {
8
8
  value?: string;
9
9
  size?: number;
10
- level?: string;
10
+ level?: 'L' | 'M' | 'Q' | 'H';
11
11
  label?: string;
12
12
  quietZone?: number;
13
13
  contrast?: boolean;
@@ -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
  }
@@ -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
  }
@@ -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?: 'horizontal' | 'vertical';
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?: string;
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?: string;
9
- series?: unknown[];
10
- labels?: unknown[];
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?: string;
15
+ valueFormat?: 'number' | 'percent' | 'currency';
16
16
  currency?: string;
17
17
  className?: string;
18
18
  children?: React.ReactNode;
@@ -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?: unknown[];
9
- rows?: unknown[];
10
- sort?: unknown[];
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;
@@ -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?: unknown[];
8
+ rows?: Array<Record<string, any>>;
9
9
  sortable?: boolean;
10
10
  selectable?: boolean;
11
11
  sortColumn?: string;
12
- sortDirection?: string;
12
+ sortDirection?: 'asc' | 'desc';
13
13
  virtual?: boolean;
14
14
  rowHeight?: number;
15
15
  className?: string;
package/src/data/Diff.ts CHANGED
@@ -7,7 +7,7 @@ import { ArcDiff } from '@arclux/arc-ui/diff';
7
7
  export interface DiffProps {
8
8
  before?: string;
9
9
  after?: string;
10
- mode?: 'side-by-side';
10
+ mode?: 'inline' | 'side-by-side';
11
11
  className?: string;
12
12
  children?: React.ReactNode;
13
13
  }
@@ -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?: unknown[];
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;
@@ -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?: unknown[];
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;
@@ -6,7 +6,7 @@ import { ArcSparkline } from '@arclux/arc-ui/sparkline';
6
6
 
7
7
  export interface SparklineProps {
8
8
  data?: string;
9
- type?: string;
9
+ type?: 'line' | 'bar';
10
10
  color?: string;
11
11
  width?: number;
12
12
  height?: number;
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?: unknown[];
9
- rows?: unknown[];
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;
@@ -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?: string;
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?: string;
8
+ politeness?: 'polite' | 'assertive';
9
9
  message?: string;
10
10
  className?: string;
11
11
  children?: React.ReactNode;
@@ -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?: string;
8
+ variant?: 'info' | 'success' | 'warning' | 'error';
9
9
  dismissible?: boolean;
10
10
  sticky?: boolean;
11
11
  className?: string;
@@ -10,7 +10,7 @@ export interface ConfirmProps {
10
10
  message?: string;
11
11
  confirmLabel?: string;
12
12
  cancelLabel?: string;
13
- variant?: string;
13
+ variant?: 'default' | 'danger';
14
14
  className?: string;
15
15
  children?: React.ReactNode;
16
16
  onArcConfirm?: (e: CustomEvent) => void;
@@ -10,7 +10,7 @@ export interface DialogProps {
10
10
  message?: string;
11
11
  confirmLabel?: string;
12
12
  cancelLabel?: string;
13
- variant?: string;
13
+ variant?: 'default' | 'danger';
14
14
  className?: string;
15
15
  children?: React.ReactNode;
16
16
  onArcConfirm?: (e: CustomEvent) => void;
@@ -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?: string;
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?: string;
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-left' | 'top-right';
9
+ position?: 'top-right' | 'top-left';
10
10
  maxHeight?: string;
11
11
  className?: string;
12
12
  children?: React.ReactNode;
@@ -6,7 +6,7 @@ import { ArcPopover } from '@arclux/arc-ui/popover';
6
6
 
7
7
  export interface PopoverProps {
8
8
  open?: boolean;
9
- position?: string;
9
+ position?: 'top' | 'bottom' | 'left' | 'right';
10
10
  trigger?: string;
11
11
  className?: string;
12
12
  children?: React.ReactNode;
@@ -6,7 +6,7 @@ import { ArcProgress } from '@arclux/arc-ui/progress';
6
6
 
7
7
  export interface ProgressProps {
8
8
  value?: number;
9
- variant?: string;
9
+ variant?: 'bar' | 'spinner';
10
10
  size?: 'sm' | 'md' | 'lg';
11
11
  indeterminate?: boolean;
12
12
  showValue?: boolean;
@@ -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?: 'bottom-right' | 'top-right';
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?: string;
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;
@@ -10,7 +10,7 @@ export interface ButtonProps {
10
10
  href?: string;
11
11
  disabled?: boolean;
12
12
  loading?: boolean;
13
- type?: string;
13
+ type?: 'button' | 'submit' | 'reset';
14
14
  className?: string;
15
15
  children?: React.ReactNode;
16
16
  onClick?: (e: Event) => void;
@@ -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?: string;
8
+ orientation?: 'horizontal' | 'vertical';
9
+ size?: 'sm' | 'md' | 'lg';
10
10
  variant?: string;
11
11
  className?: string;
12
12
  children?: React.ReactNode;
@@ -8,7 +8,7 @@ export interface CheckboxProps {
8
8
  checked?: boolean;
9
9
  indeterminate?: boolean;
10
10
  disabled?: boolean;
11
- size?: 'sm' | 'lg';
11
+ size?: 'sm' | 'md' | 'lg';
12
12
  label?: string;
13
13
  name?: string;
14
14
  value?: string;
@@ -7,7 +7,7 @@ import { ArcColorPicker } from '@arclux/arc-ui/color-picker';
7
7
  export interface ColorPickerProps {
8
8
  value?: string;
9
9
  name?: string;
10
- presets?: unknown[];
10
+ presets?: string[];
11
11
  disabled?: boolean;
12
12
  label?: string;
13
13
  className?: string;
@@ -11,7 +11,7 @@ export interface DateRangePickerProps {
11
11
  min?: string;
12
12
  max?: string;
13
13
  months?: number;
14
- presets?: unknown[];
14
+ presets?: Array<{label:string,days:number}>;
15
15
  placeholder?: string;
16
16
  disabled?: boolean;
17
17
  required?: boolean;
@@ -9,7 +9,7 @@ export interface FieldsetProps {
9
9
  description?: string;
10
10
  disabled?: boolean;
11
11
  error?: string;
12
- variant?: 'card';
12
+ variant?: 'default' | 'card';
13
13
  className?: string;
14
14
  children?: React.ReactNode;
15
15
  }
@@ -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?: string;
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;
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
5
5
  import { ArcInputGroup } from '@arclux/arc-ui/input-group';
6
6
 
7
7
  export interface InputGroupProps {
8
- size?: 'sm' | 'lg';
8
+ size?: 'sm' | 'md' | 'lg';
9
9
  className?: string;
10
10
  children?: React.ReactNode;
11
11
  }
@@ -7,7 +7,7 @@ import { ArcLabel } from '@arclux/arc-ui/label';
7
7
  export interface LabelProps {
8
8
  for?: string;
9
9
  required?: boolean;
10
- size?: 'sm' | 'lg';
10
+ size?: 'sm' | 'md' | 'lg';
11
11
  disabled?: boolean;
12
12
  className?: string;
13
13
  children?: React.ReactNode;
@@ -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?: unknown[];
8
+ value?: string[];
9
9
  placeholder?: string;
10
10
  label?: string;
11
11
  name?: string;
@@ -9,7 +9,7 @@ export interface OtpInputProps {
9
9
  value?: string;
10
10
  name?: string;
11
11
  disabled?: boolean;
12
- type?: string;
12
+ type?: 'number' | 'text';
13
13
  className?: string;
14
14
  children?: React.ReactNode;
15
15
  onArcChange?: (e: CustomEvent) => void;
@@ -12,7 +12,7 @@ export interface PasswordInputProps {
12
12
  disabled?: boolean;
13
13
  required?: boolean;
14
14
  error?: string;
15
- size?: 'sm' | 'lg';
15
+ size?: 'sm' | 'md' | 'lg';
16
16
  autocomplete?: string;
17
17
  showStrength?: boolean;
18
18
  className?: string;
@@ -10,7 +10,7 @@ export interface PinInputProps {
10
10
  name?: string;
11
11
  disabled?: boolean;
12
12
  mask?: boolean;
13
- type?: string;
13
+ type?: 'number' | 'alphanumeric' | 'text';
14
14
  separator?: number;
15
15
  label?: string;
16
16
  className?: string;
@@ -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;
@@ -10,7 +10,7 @@ export interface SelectProps {
10
10
  label?: string;
11
11
  name?: string;
12
12
  disabled?: boolean;
13
- size?: 'sm' | 'lg';
13
+ size?: 'sm' | 'md' | 'lg';
14
14
  error?: string;
15
15
  open?: boolean;
16
16
  className?: string;
@@ -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?: string;
9
+ orientation?: 'vertical' | 'horizontal';
10
+ size?: 'sm' | 'md' | 'lg';
11
11
  disabled?: boolean;
12
12
  className?: string;
13
13
  children?: React.ReactNode;
@@ -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?: unknown[];
9
- suggestions?: unknown[];
8
+ value?: string[];
9
+ suggestions?: string[];
10
10
  delimiter?: string;
11
11
  maxTags?: number;
12
12
  allowCustom?: boolean;
@@ -13,7 +13,7 @@ export interface TextareaProps {
13
13
  disabled?: boolean;
14
14
  readonly?: boolean;
15
15
  resize?: 'none' | 'vertical' | 'horizontal' | 'both';
16
- size?: 'sm' | 'lg';
16
+ size?: 'sm' | 'md' | 'lg';
17
17
  autoResize?: boolean;
18
18
  error?: string;
19
19
  className?: string;
@@ -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?: string;
8
+ theme?: 'dark' | 'light' | 'auto';
9
9
  disabled?: boolean;
10
10
  iconOnly?: boolean;
11
11
  className?: string;
@@ -7,7 +7,7 @@ import { ArcToggle } from '@arclux/arc-ui/toggle';
7
7
  export interface ToggleProps {
8
8
  checked?: boolean;
9
9
  disabled?: boolean;
10
- size?: 'sm' | 'lg';
10
+ size?: 'sm' | 'md' | 'lg';
11
11
  label?: string;
12
12
  name?: string;
13
13
  className?: string;
@@ -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?: unknown[];
9
- value?: unknown[];
8
+ options?: Array<{value:string,label:string,disabled?:boolean}>;
9
+ value?: string[];
10
10
  name?: string;
11
11
  disabled?: boolean;
12
12
  searchable?: boolean;
@@ -6,7 +6,7 @@ import { ArcAspectGrid } from '@arclux/arc-ui/aspect-grid';
6
6
 
7
7
  export interface AspectGridProps {
8
8
  columns?: number;
9
- ratio?: string;
9
+ ratio?: '1/1' | '16/9' | '4/3';
10
10
  gap?: 'sm' | 'md' | 'lg';
11
11
  className?: string;
12
12
  children?: React.ReactNode;
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
5
5
  import { ArcAuthShell } from '@arclux/arc-ui/auth-shell';
6
6
 
7
7
  export interface AuthShellProps {
8
- variant?: string;
8
+ variant?: 'centered' | 'split';
9
9
  className?: string;
10
10
  children?: React.ReactNode;
11
11
  }
@@ -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
  }
@@ -6,7 +6,7 @@ import { ArcFloatBar } from '@arclux/arc-ui/float-bar';
6
6
 
7
7
  export interface FloatBarProps {
8
8
  open?: boolean;
9
- position?: 'top';
9
+ position?: 'bottom' | 'top';
10
10
  className?: string;
11
11
  children?: React.ReactNode;
12
12
  }
@@ -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?: 'centered' | 'wide' | 'sidebar-left' | 'sidebar-right';
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?: string;
8
+ navPosition?: 'left' | 'top';
9
9
  className?: string;
10
10
  children?: React.ReactNode;
11
11
  }
@@ -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?: 'vertical' | 'horizontal';
8
+ orientation?: 'horizontal' | 'vertical';
9
9
  ratio?: number;
10
10
  minRatio?: number;
11
11
  maxRatio?: number;
@@ -5,7 +5,7 @@ import { createComponent } from '@lit/react';
5
5
  import { ArcStatusBar } from '@arclux/arc-ui/status-bar';
6
6
 
7
7
  export interface StatusBarProps {
8
- position?: 'fixed';
8
+ position?: 'static' | 'fixed';
9
9
  className?: string;
10
10
  children?: React.ReactNode;
11
11
  }
@@ -6,7 +6,7 @@ import { ArcToolbar } from '@arclux/arc-ui/toolbar';
6
6
 
7
7
  export interface ToolbarProps {
8
8
  sticky?: boolean;
9
- size?: 'sm';
9
+ size?: 'md' | 'sm';
10
10
  border?: boolean;
11
11
  overflow?: boolean;
12
12
  className?: string;
@@ -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;
@@ -8,7 +8,7 @@ export interface FooterProps {
8
8
  compact?: boolean;
9
9
  border?: boolean;
10
10
  contained?: string;
11
- align?: 'center';
11
+ align?: 'left' | 'center';
12
12
  className?: string;
13
13
  children?: React.ReactNode;
14
14
  }
@@ -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?: unknown[];
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?: string;
10
+ variant?: 'default' | 'primary' | 'muted';
11
11
  description?: string;
12
12
  className?: string;
13
13
  children?: React.ReactNode;
@@ -7,7 +7,7 @@ import { ArcSidebar } from '@arclux/arc-ui/sidebar';
7
7
  export interface SidebarProps {
8
8
  active?: string;
9
9
  collapsed?: boolean;
10
- position?: 'right';
10
+ position?: 'left' | 'right';
11
11
  width?: string;
12
12
  glow?: boolean;
13
13
  label?: string;
@@ -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;
@@ -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;
@@ -6,7 +6,7 @@ import { ArcBlockquote } from '@arclux/arc-ui/blockquote';
6
6
 
7
7
  export interface BlockquoteProps {
8
8
  cite?: string;
9
- variant?: 'accent';
9
+ variant?: 'default' | 'accent';
10
10
  className?: string;
11
11
  children?: React.ReactNode;
12
12
  }
@@ -8,7 +8,7 @@ export interface CodeBlockProps {
8
8
  language?: string;
9
9
  filename?: string;
10
10
  code?: string;
11
- variant?: 'window' | 'basic';
11
+ variant?: 'default' | 'window' | 'basic';
12
12
  className?: string;
13
13
  children?: React.ReactNode;
14
14
  }
@@ -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?: string;
9
+ type?: 'number' | 'currency' | 'percent' | 'compact';
10
10
  locale?: string;
11
11
  currency?: string;
12
12
  decimals?: number;
13
- notation?: string;
13
+ notation?: 'standard' | 'compact';
14
14
  className?: string;
15
15
  children?: React.ReactNode;
16
16
  }
@@ -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?: string;
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
  }