@arclux/arc-ui-react 2.9.0 → 2.11.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 (128) hide show
  1. package/package.json +6 -2
  2. package/src/content/Accordion.ts +0 -1
  3. package/src/content/Avatar.ts +1 -2
  4. package/src/content/AvatarGroup.ts +1 -1
  5. package/src/content/Callout.ts +1 -1
  6. package/src/content/Card.ts +1 -1
  7. package/src/content/ColorSwatch.ts +0 -1
  8. package/src/content/Column.ts +1 -0
  9. package/src/content/Divider.ts +0 -1
  10. package/src/content/EmptyState.ts +0 -1
  11. package/src/content/FeatureCard.ts +0 -1
  12. package/src/content/Icon.ts +0 -1
  13. package/src/content/Image.ts +2 -3
  14. package/src/content/Marquee.ts +1 -1
  15. package/src/content/QrCode.ts +1 -2
  16. package/src/content/ScrollIndicator.ts +2 -3
  17. package/src/content/Separator.ts +2 -3
  18. package/src/content/Skeleton.ts +0 -1
  19. package/src/content/Spinner.ts +0 -1
  20. package/src/content/Stack.ts +1 -1
  21. package/src/content/VirtualList.ts +0 -1
  22. package/src/data/AnimatedNumber.ts +1 -2
  23. package/src/data/Badge.ts +2 -2
  24. package/src/data/Chart.ts +4 -5
  25. package/src/data/Comparison.ts +0 -1
  26. package/src/data/CountdownTimer.ts +0 -1
  27. package/src/data/DataGrid.ts +3 -4
  28. package/src/data/DataTable.ts +2 -2
  29. package/src/data/Diff.ts +1 -2
  30. package/src/data/EventCalendar.ts +2 -3
  31. package/src/data/Kanban.ts +1 -2
  32. package/src/data/List.ts +2 -2
  33. package/src/data/ListItem.ts +0 -1
  34. package/src/data/Meter.ts +0 -1
  35. package/src/data/Sparkline.ts +1 -2
  36. package/src/data/Stat.ts +0 -1
  37. package/src/data/Stepper.ts +0 -1
  38. package/src/data/Table.ts +2 -3
  39. package/src/data/Tag.ts +2 -2
  40. package/src/data/ValueCard.ts +0 -1
  41. package/src/feedback/Alert.ts +1 -1
  42. package/src/feedback/Announcement.ts +1 -2
  43. package/src/feedback/Banner.ts +1 -1
  44. package/src/feedback/Confirm.ts +1 -1
  45. package/src/feedback/ConnectionStatus.ts +0 -1
  46. package/src/feedback/ContextMenu.ts +0 -1
  47. package/src/feedback/Dialog.ts +1 -2
  48. package/src/feedback/GuidedTour.ts +0 -1
  49. package/src/feedback/HoverCard.ts +1 -1
  50. package/src/feedback/InlineMessage.ts +1 -1
  51. package/src/feedback/LoadingOverlay.ts +0 -1
  52. package/src/feedback/NotificationPanel.ts +1 -1
  53. package/src/feedback/Popover.ts +1 -1
  54. package/src/feedback/Progress.ts +1 -2
  55. package/src/feedback/ProgressToast.ts +1 -2
  56. package/src/feedback/Snackbar.ts +0 -1
  57. package/src/feedback/Spotlight.ts +0 -1
  58. package/src/feedback/Toast.ts +0 -1
  59. package/src/feedback/ToastManager.ts +1 -2
  60. package/src/input/Button.ts +1 -2
  61. package/src/input/ButtonGroup.ts +2 -2
  62. package/src/input/Calendar.ts +0 -1
  63. package/src/input/Checkbox.ts +1 -2
  64. package/src/input/ColorPicker.ts +1 -2
  65. package/src/input/CopyButton.ts +0 -1
  66. package/src/input/DatePicker.ts +0 -1
  67. package/src/input/DateRangePicker.ts +1 -2
  68. package/src/input/Fieldset.ts +1 -1
  69. package/src/input/FileUpload.ts +0 -1
  70. package/src/input/ImageCropper.ts +0 -1
  71. package/src/input/Input.ts +2 -3
  72. package/src/input/InputGroup.ts +1 -1
  73. package/src/input/Label.ts +1 -1
  74. package/src/input/MultiSelect.ts +1 -2
  75. package/src/input/NumberInput.ts +0 -1
  76. package/src/input/OtpInput.ts +1 -2
  77. package/src/input/PasswordInput.ts +1 -2
  78. package/src/input/PinInput.ts +1 -2
  79. package/src/input/RadioGroup.ts +2 -2
  80. package/src/input/RangeSlider.ts +0 -1
  81. package/src/input/Rating.ts +0 -1
  82. package/src/input/SegmentedControl.ts +0 -1
  83. package/src/input/Select.ts +1 -1
  84. package/src/input/Slider.ts +0 -1
  85. package/src/input/SortableList.ts +0 -1
  86. package/src/input/SwitchGroup.ts +2 -2
  87. package/src/input/TagInput.ts +2 -3
  88. package/src/input/Textarea.ts +1 -2
  89. package/src/input/ThemeToggle.ts +1 -2
  90. package/src/input/TimePicker.ts +0 -1
  91. package/src/input/Toggle.ts +1 -2
  92. package/src/input/TransferList.ts +2 -3
  93. package/src/layout/AspectGrid.ts +1 -1
  94. package/src/layout/AuthShell.ts +1 -1
  95. package/src/layout/Container.ts +1 -1
  96. package/src/layout/FloatBar.ts +1 -1
  97. package/src/layout/PageLayout.ts +1 -1
  98. package/src/layout/SettingsLayout.ts +1 -1
  99. package/src/layout/SplitPane.ts +1 -2
  100. package/src/layout/StatusBar.ts +1 -1
  101. package/src/layout/Toolbar.ts +1 -1
  102. package/src/navigation/AnchorNav.ts +1 -1
  103. package/src/navigation/BottomNav.ts +0 -1
  104. package/src/navigation/Breadcrumb.ts +0 -1
  105. package/src/navigation/BreadcrumbMenu.ts +0 -1
  106. package/src/navigation/CommandBar.ts +0 -1
  107. package/src/navigation/Footer.ts +1 -2
  108. package/src/navigation/Link.ts +2 -2
  109. package/src/navigation/Menubar.ts +1 -2
  110. package/src/navigation/NavItem.ts +1 -1
  111. package/src/navigation/NavigationMenu.ts +0 -1
  112. package/src/navigation/PageIndicator.ts +0 -1
  113. package/src/navigation/Pagination.ts +0 -1
  114. package/src/navigation/ScrollSpy.ts +0 -1
  115. package/src/navigation/ScrollToTop.ts +0 -1
  116. package/src/navigation/Sidebar.ts +1 -2
  117. package/src/navigation/SpeedDial.ts +1 -2
  118. package/src/navigation/StepperNav.ts +1 -1
  119. package/src/navigation/Tabs.ts +3 -3
  120. package/src/navigation/TopBar.ts +0 -1
  121. package/src/typography/Blockquote.ts +1 -1
  122. package/src/typography/CodeBlock.ts +1 -2
  123. package/src/typography/GradientText.ts +1 -1
  124. package/src/typography/Highlight.ts +0 -1
  125. package/src/typography/NumberFormat.ts +2 -3
  126. package/src/typography/Text.ts +2 -2
  127. package/src/typography/TimeAgo.ts +0 -1
  128. package/src/typography/Typewriter.ts +0 -1
@@ -5,9 +5,8 @@ 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
- children?: React.ReactNode;
11
10
  onArcComplete?: (e: CustomEvent) => void;
12
11
  onArcCancel?: (e: CustomEvent) => void;
13
12
  }
@@ -8,7 +8,6 @@ export interface SnackbarProps {
8
8
  position?: 'bottom-center' | 'bottom-left' | 'bottom-right';
9
9
  duration?: number;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcAction?: (e: CustomEvent) => void;
13
12
  onArcDismiss?: (e: CustomEvent) => void;
14
13
  }
@@ -9,7 +9,6 @@ export interface SpotlightProps {
9
9
  active?: boolean;
10
10
  padding?: number;
11
11
  className?: string;
12
- children?: React.ReactNode;
13
12
  onArcDismiss?: (e: CustomEvent) => void;
14
13
  }
15
14
 
@@ -8,7 +8,6 @@ export interface ToastProps {
8
8
  position?: 'top-right' | 'top-left' | 'top-center' | 'bottom-right' | 'bottom-left' | 'bottom-center';
9
9
  duration?: number;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcDismiss?: (e: CustomEvent) => void;
13
12
  }
14
13
 
@@ -5,13 +5,12 @@ 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;
12
12
  queueLimit?: number;
13
13
  className?: string;
14
- children?: React.ReactNode;
15
14
  onArcQueueOverflow?: (e: CustomEvent) => void;
16
15
  onArcDismiss?: (e: CustomEvent) => void;
17
16
  onArcQueueChange?: (e: CustomEvent) => void;
@@ -10,9 +10,8 @@ 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
- children?: React.ReactNode;
16
15
  onClick?: (e: Event) => void;
17
16
  }
18
17
 
@@ -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;
@@ -11,7 +11,6 @@ export interface CalendarProps {
11
11
  month?: number;
12
12
  year?: number;
13
13
  className?: string;
14
- children?: React.ReactNode;
15
14
  onArcNavigate?: (e: CustomEvent) => void;
16
15
  onArcChange?: (e: CustomEvent) => void;
17
16
  onClick?: (e: Event) => void;
@@ -8,12 +8,11 @@ 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;
15
15
  className?: string;
16
- children?: React.ReactNode;
17
16
  onArcChange?: (e: CustomEvent) => void;
18
17
  }
19
18
 
@@ -7,11 +7,10 @@ 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;
14
- children?: React.ReactNode;
15
14
  onArcChange?: (e: CustomEvent) => void;
16
15
  }
17
16
 
@@ -8,7 +8,6 @@ export interface CopyButtonProps {
8
8
  value?: string;
9
9
  disabled?: boolean;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcCopy?: (e: CustomEvent) => void;
13
12
  onClick?: (e: Event) => void;
14
13
  }
@@ -13,7 +13,6 @@ export interface DatePickerProps {
13
13
  disabled?: boolean;
14
14
  label?: string;
15
15
  className?: string;
16
- children?: React.ReactNode;
17
16
  onArcChange?: (e: CustomEvent) => void;
18
17
  }
19
18
 
@@ -11,13 +11,12 @@ 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;
18
18
  label?: string;
19
19
  className?: string;
20
- children?: React.ReactNode;
21
20
  onArcChange?: (e: CustomEvent) => void;
22
21
  }
23
22
 
@@ -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
  }
@@ -10,7 +10,6 @@ export interface FileUploadProps {
10
10
  maxSize?: number;
11
11
  disabled?: boolean;
12
12
  className?: string;
13
- children?: React.ReactNode;
14
13
  onArcChange?: (e: CustomEvent) => void;
15
14
  onArcRemove?: (e: CustomEvent) => void;
16
15
  }
@@ -10,7 +10,6 @@ export interface ImageCropperProps {
10
10
  aspect?: number;
11
11
  zoom?: number;
12
12
  className?: string;
13
- children?: React.ReactNode;
14
13
  onArcCropChange?: (e: CustomEvent) => void;
15
14
  }
16
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,11 +13,10 @@ 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;
20
- children?: React.ReactNode;
21
20
  onArcInput?: (e: CustomEvent) => void;
22
21
  onArcChange?: (e: CustomEvent) => void;
23
22
  }
@@ -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,13 +5,12 @@ 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;
12
12
  disabled?: boolean;
13
13
  className?: string;
14
- children?: React.ReactNode;
15
14
  onArcChange?: (e: CustomEvent) => void;
16
15
  onClick?: (e: Event) => void;
17
16
  }
@@ -13,7 +13,6 @@ export interface NumberInputProps {
13
13
  name?: string;
14
14
  disabled?: boolean;
15
15
  className?: string;
16
- children?: React.ReactNode;
17
16
  onArcChange?: (e: CustomEvent) => void;
18
17
  onClick?: (e: Event) => void;
19
18
  }
@@ -9,9 +9,8 @@ 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
- children?: React.ReactNode;
15
14
  onArcChange?: (e: CustomEvent) => void;
16
15
  }
17
16
 
@@ -12,11 +12,10 @@ 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;
19
- children?: React.ReactNode;
20
19
  onArcStrengthChange?: (e: CustomEvent) => void;
21
20
  onArcInput?: (e: CustomEvent) => void;
22
21
  onArcChange?: (e: CustomEvent) => void;
@@ -10,11 +10,10 @@ 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;
17
- children?: React.ReactNode;
18
17
  onArcChange?: (e: CustomEvent) => void;
19
18
  onArcComplete?: (e: CustomEvent) => void;
20
19
  }
@@ -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;
@@ -15,7 +15,6 @@ export interface RangeSliderProps {
15
15
  label?: string;
16
16
  showValues?: boolean;
17
17
  className?: string;
18
- children?: React.ReactNode;
19
18
  onArcInput?: (e: CustomEvent) => void;
20
19
  onArcChange?: (e: CustomEvent) => void;
21
20
  }
@@ -11,7 +11,6 @@ export interface RatingProps {
11
11
  disabled?: boolean;
12
12
  readonly?: boolean;
13
13
  className?: string;
14
- children?: React.ReactNode;
15
14
  onArcChange?: (e: CustomEvent) => void;
16
15
  }
17
16
 
@@ -8,7 +8,6 @@ export interface SegmentedControlProps {
8
8
  value?: string;
9
9
  disabled?: boolean;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcChange?: (e: CustomEvent) => void;
13
12
  onClick?: (e: Event) => void;
14
13
  }
@@ -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;
@@ -13,7 +13,6 @@ export interface SliderProps {
13
13
  disabled?: boolean;
14
14
  label?: string;
15
15
  className?: string;
16
- children?: React.ReactNode;
17
16
  onArcInput?: (e: CustomEvent) => void;
18
17
  onArcChange?: (e: CustomEvent) => void;
19
18
  }
@@ -7,7 +7,6 @@ import { ArcSortableList } from '@arclux/arc-ui/sortable-list';
7
7
  export interface SortableListProps {
8
8
  disabled?: boolean;
9
9
  className?: string;
10
- children?: React.ReactNode;
11
10
  onArcChange?: (e: CustomEvent) => void;
12
11
  }
13
12
 
@@ -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;
@@ -16,7 +16,6 @@ export interface TagInputProps {
16
16
  disabled?: boolean;
17
17
  error?: string;
18
18
  className?: string;
19
- children?: React.ReactNode;
20
19
  onArcChange?: (e: CustomEvent) => void;
21
20
  onArcInput?: (e: CustomEvent) => void;
22
21
  }
@@ -13,11 +13,10 @@ 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;
20
- children?: React.ReactNode;
21
20
  onArcInput?: (e: CustomEvent) => void;
22
21
  onArcChange?: (e: CustomEvent) => void;
23
22
  }
@@ -5,11 +5,10 @@ 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;
12
- children?: React.ReactNode;
13
12
  onArcChange?: (e: CustomEvent) => void;
14
13
  onClick?: (e: Event) => void;
15
14
  }
@@ -15,7 +15,6 @@ export interface TimePickerProps {
15
15
  disabled?: boolean;
16
16
  label?: string;
17
17
  className?: string;
18
- children?: React.ReactNode;
19
18
  onArcChange?: (e: CustomEvent) => void;
20
19
  onClick?: (e: Event) => void;
21
20
  }
@@ -7,11 +7,10 @@ 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;
14
- children?: React.ReactNode;
15
14
  onArcChange?: (e: CustomEvent) => void;
16
15
  }
17
16
 
@@ -5,15 +5,14 @@ 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;
13
13
  sourceLabel?: string;
14
14
  targetLabel?: string;
15
15
  className?: string;
16
- children?: React.ReactNode;
17
16
  onArcChange?: (e: CustomEvent) => void;
18
17
  }
19
18
 
@@ -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,12 +5,11 @@ 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;
12
12
  className?: string;
13
- children?: React.ReactNode;
14
13
  onArcResize?: (e: CustomEvent) => void;
15
14
  }
16
15
 
@@ -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,6 @@ export interface BottomNavProps {
8
8
  items?: string;
9
9
  value?: string;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcChange?: (e: CustomEvent) => void;
13
12
  }
14
13
 
@@ -8,7 +8,6 @@ export interface BreadcrumbProps {
8
8
  separator?: string;
9
9
  label?: string;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcNavigate?: (e: CustomEvent) => void;
13
12
  }
14
13
 
@@ -8,7 +8,6 @@ export interface BreadcrumbMenuProps {
8
8
  items?: string;
9
9
  label?: string;
10
10
  className?: string;
11
- children?: React.ReactNode;
12
11
  onArcNavigate?: (e: CustomEvent) => void;
13
12
  }
14
13
 
@@ -9,7 +9,6 @@ export interface CommandBarProps {
9
9
  value?: string;
10
10
  icon?: string;
11
11
  className?: string;
12
- children?: React.ReactNode;
13
12
  onArcInput?: (e: CustomEvent) => void;
14
13
  onArcSubmit?: (e: CustomEvent) => void;
15
14
  }
@@ -8,9 +8,8 @@ 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
- children?: React.ReactNode;
14
13
  }
15
14
 
16
15
  export const Footer = createComponent({
@@ -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,9 +5,8 @@ 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
- children?: React.ReactNode;
11
10
  onArcSelect?: (e: CustomEvent) => void;
12
11
  onClick?: (e: Event) => void;
13
12
  }