@arclux/arc-ui-react 2.11.0 → 2.11.1

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/Accordion.ts +1 -0
  3. package/src/content/Avatar.ts +1 -0
  4. package/src/content/ColorSwatch.ts +1 -0
  5. package/src/content/Divider.ts +1 -0
  6. package/src/content/Icon.ts +1 -0
  7. package/src/content/Image.ts +1 -0
  8. package/src/content/QrCode.ts +1 -0
  9. package/src/content/ScrollIndicator.ts +1 -0
  10. package/src/content/Separator.ts +1 -0
  11. package/src/content/Skeleton.ts +1 -0
  12. package/src/content/Spinner.ts +1 -0
  13. package/src/content/VirtualList.ts +1 -0
  14. package/src/data/AnimatedNumber.ts +1 -0
  15. package/src/data/Chart.ts +1 -0
  16. package/src/data/Comparison.ts +1 -0
  17. package/src/data/CountdownTimer.ts +1 -0
  18. package/src/data/DataGrid.ts +1 -0
  19. package/src/data/Diff.ts +1 -0
  20. package/src/data/EventCalendar.ts +1 -0
  21. package/src/data/Kanban.ts +1 -0
  22. package/src/data/ListItem.ts +1 -0
  23. package/src/data/Meter.ts +1 -0
  24. package/src/data/Sparkline.ts +1 -0
  25. package/src/data/Stat.ts +1 -0
  26. package/src/data/Stepper.ts +1 -0
  27. package/src/data/Table.ts +1 -0
  28. package/src/feedback/Announcement.ts +1 -0
  29. package/src/feedback/ConnectionStatus.ts +1 -0
  30. package/src/feedback/ContextMenu.ts +1 -0
  31. package/src/feedback/Dialog.ts +1 -0
  32. package/src/feedback/GuidedTour.ts +1 -0
  33. package/src/feedback/LoadingOverlay.ts +1 -0
  34. package/src/feedback/Progress.ts +1 -0
  35. package/src/feedback/ProgressToast.ts +1 -0
  36. package/src/feedback/Snackbar.ts +1 -0
  37. package/src/feedback/Spotlight.ts +1 -0
  38. package/src/feedback/Toast.ts +1 -0
  39. package/src/feedback/ToastManager.ts +1 -0
  40. package/src/input/Button.ts +1 -0
  41. package/src/input/Calendar.ts +1 -0
  42. package/src/input/Checkbox.ts +1 -0
  43. package/src/input/ColorPicker.ts +1 -0
  44. package/src/input/CopyButton.ts +1 -0
  45. package/src/input/DatePicker.ts +1 -0
  46. package/src/input/DateRangePicker.ts +1 -0
  47. package/src/input/FileUpload.ts +1 -0
  48. package/src/input/ImageCropper.ts +1 -0
  49. package/src/input/MultiSelect.ts +1 -0
  50. package/src/input/NumberInput.ts +1 -0
  51. package/src/input/OtpInput.ts +1 -0
  52. package/src/input/PasswordInput.ts +1 -0
  53. package/src/input/PinInput.ts +1 -0
  54. package/src/input/RangeSlider.ts +1 -0
  55. package/src/input/Rating.ts +1 -0
  56. package/src/input/SegmentedControl.ts +1 -0
  57. package/src/input/Slider.ts +1 -0
  58. package/src/input/SortableList.ts +1 -0
  59. package/src/input/TagInput.ts +1 -0
  60. package/src/input/Textarea.ts +1 -0
  61. package/src/input/ThemeToggle.ts +1 -0
  62. package/src/input/TimePicker.ts +1 -0
  63. package/src/input/Toggle.ts +1 -0
  64. package/src/input/TransferList.ts +1 -0
  65. package/src/navigation/BottomNav.ts +1 -0
  66. package/src/navigation/Breadcrumb.ts +1 -0
  67. package/src/navigation/BreadcrumbMenu.ts +1 -0
  68. package/src/navigation/Footer.ts +1 -0
  69. package/src/navigation/Menubar.ts +1 -0
  70. package/src/navigation/NavigationMenu.ts +1 -0
  71. package/src/navigation/PageIndicator.ts +1 -0
  72. package/src/navigation/Pagination.ts +1 -0
  73. package/src/navigation/ScrollSpy.ts +1 -0
  74. package/src/navigation/ScrollToTop.ts +1 -0
  75. package/src/navigation/Sidebar.ts +1 -0
  76. package/src/typography/CodeBlock.ts +1 -0
  77. package/src/typography/Highlight.ts +1 -0
  78. package/src/typography/NumberFormat.ts +1 -0
  79. package/src/typography/TimeAgo.ts +1 -0
  80. package/src/typography/Typewriter.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-react",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "React wrappers for ARC UI Web Components.",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "dependencies": {
60
60
  "@lit/react": "^1.0.8",
61
- "@arclux/arc-ui": "2.11.0"
61
+ "@arclux/arc-ui": "2.11.1"
62
62
  },
63
63
  "license": "MIT",
64
64
  "keywords": [
@@ -7,6 +7,7 @@ import { ArcAccordion } from '@arclux/arc-ui/accordion';
7
7
  export interface AccordionProps {
8
8
  multiple?: boolean;
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  onClick?: (e: Event) => void;
11
12
  }
12
13
 
@@ -11,6 +11,7 @@ export interface AvatarProps {
11
11
  shape?: 'circle' | 'square' | 'rounded';
12
12
  status?: 'online' | 'offline' | 'busy' | 'away';
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  }
15
16
 
16
17
  export const Avatar = createComponent({
@@ -9,6 +9,7 @@ export interface ColorSwatchProps {
9
9
  label?: string;
10
10
  size?: 'sm' | 'md' | 'lg';
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const ColorSwatch = createComponent({
@@ -10,6 +10,7 @@ export interface DividerProps {
10
10
  vertical?: boolean;
11
11
  label?: string;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const Divider = createComponent({
@@ -9,6 +9,7 @@ export interface IconProps {
9
9
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
10
10
  label?: string;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const Icon = createComponent({
@@ -12,6 +12,7 @@ export interface ImageProps {
12
12
  loading?: 'lazy' | 'eager';
13
13
  fallback?: string;
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  onArcLoad?: (e: CustomEvent) => void;
16
17
  onArcError?: (e: CustomEvent) => void;
17
18
  }
@@ -12,6 +12,7 @@ export interface QrCodeProps {
12
12
  quietZone?: number;
13
13
  contrast?: boolean;
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  }
16
17
 
17
18
  export const QrCode = createComponent({
@@ -10,6 +10,7 @@ export interface ScrollIndicatorProps {
10
10
  size?: 'sm' | 'md' | 'lg';
11
11
  color?: 'accent' | 'gradient';
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const ScrollIndicator = createComponent({
@@ -9,6 +9,7 @@ export interface SeparatorProps {
9
9
  label?: string;
10
10
  variant?: 'line' | 'dashed' | 'dotted' | 'fade';
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const Separator = createComponent({
@@ -10,6 +10,7 @@ export interface SkeletonProps {
10
10
  height?: string;
11
11
  count?: number;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const Skeleton = createComponent({
@@ -8,6 +8,7 @@ export interface SpinnerProps {
8
8
  size?: 'sm' | 'md' | 'lg';
9
9
  variant?: 'primary' | 'secondary' | 'white';
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  }
12
13
 
13
14
  export const Spinner = createComponent({
@@ -9,6 +9,7 @@ export interface VirtualListProps {
9
9
  itemHeight?: number;
10
10
  overscan?: number;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const VirtualList = createComponent({
@@ -13,6 +13,7 @@ export interface AnimatedNumberProps {
13
13
  decimals?: number;
14
14
  locale?: string;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  }
17
18
 
18
19
  export const AnimatedNumber = createComponent({
package/src/data/Chart.ts CHANGED
@@ -15,6 +15,7 @@ export interface ChartProps {
15
15
  valueFormat?: 'number' | 'percent' | 'currency';
16
16
  currency?: string;
17
17
  className?: string;
18
+ children?: React.ReactNode;
18
19
  onArcMarkClick?: (e: CustomEvent) => void;
19
20
  }
20
21
 
@@ -7,6 +7,7 @@ import { ArcComparison } from '@arclux/arc-ui/comparison';
7
7
  export interface ComparisonProps {
8
8
  features?: string;
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  }
11
12
 
12
13
  export const Comparison = createComponent({
@@ -10,6 +10,7 @@ export interface CountdownTimerProps {
10
10
  expired?: string;
11
11
  hideZeroSegments?: boolean;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  onArcExpired?: (e: CustomEvent) => void;
14
15
  }
15
16
 
@@ -13,6 +13,7 @@ export interface DataGridProps {
13
13
  virtual?: boolean;
14
14
  rowHeight?: number;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcSort?: (e: CustomEvent) => void;
17
18
  onArcSelectionChange?: (e: CustomEvent) => void;
18
19
  onArcCellChange?: (e: CustomEvent) => void;
package/src/data/Diff.ts CHANGED
@@ -9,6 +9,7 @@ export interface DiffProps {
9
9
  after?: string;
10
10
  mode?: 'inline' | 'side-by-side';
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const Diff = createComponent({
@@ -9,6 +9,7 @@ export interface EventCalendarProps {
9
9
  view?: 'month' | 'week';
10
10
  date?: string;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  onArcPeriodChange?: (e: CustomEvent) => void;
13
14
  onArcDateClick?: (e: CustomEvent) => void;
14
15
  onArcEventClick?: (e: CustomEvent) => void;
@@ -8,6 +8,7 @@ export interface KanbanProps {
8
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
+ children?: React.ReactNode;
11
12
  onArcCardMove?: (e: CustomEvent) => void;
12
13
  onArcCardClick?: (e: CustomEvent) => void;
13
14
  }
@@ -10,6 +10,7 @@ export interface ListItemProps {
10
10
  disabled?: boolean;
11
11
  href?: string;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  onArcItemSelect?: (e: CustomEvent) => void;
14
15
  }
15
16
 
package/src/data/Meter.ts CHANGED
@@ -13,6 +13,7 @@ export interface MeterProps {
13
13
  optimum?: number;
14
14
  label?: string;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  }
17
18
 
18
19
  export const Meter = createComponent({
@@ -12,6 +12,7 @@ export interface SparklineProps {
12
12
  height?: number;
13
13
  fill?: boolean;
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  }
16
17
 
17
18
  export const Sparkline = createComponent({
package/src/data/Stat.ts CHANGED
@@ -10,6 +10,7 @@ export interface StatProps {
10
10
  trend?: 'up' | 'down' | 'neutral';
11
11
  change?: string;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const Stat = createComponent({
@@ -7,6 +7,7 @@ import { ArcStepper } from '@arclux/arc-ui/stepper';
7
7
  export interface StepperProps {
8
8
  active?: number;
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  }
11
12
 
12
13
  export const Stepper = createComponent({
package/src/data/Table.ts CHANGED
@@ -10,6 +10,7 @@ export interface TableProps {
10
10
  striped?: boolean;
11
11
  compact?: boolean;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const Table = createComponent({
@@ -8,6 +8,7 @@ export interface AnnouncementProps {
8
8
  politeness?: 'polite' | 'assertive';
9
9
  message?: string;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  }
12
13
 
13
14
  export const Announcement = createComponent({
@@ -6,6 +6,7 @@ import { ArcConnectionStatus } from '@arclux/arc-ui/connection-status';
6
6
 
7
7
  export interface ConnectionStatusProps {
8
8
  className?: string;
9
+ children?: React.ReactNode;
9
10
  onArcOnline?: (e: CustomEvent) => void;
10
11
  onArcOffline?: (e: CustomEvent) => void;
11
12
  }
@@ -7,6 +7,7 @@ import { ArcContextMenu } from '@arclux/arc-ui/context-menu';
7
7
  export interface ContextMenuProps {
8
8
  open?: boolean;
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  onArcOpen?: (e: CustomEvent) => void;
11
12
  onArcClose?: (e: CustomEvent) => void;
12
13
  onArcSelect?: (e: CustomEvent) => void;
@@ -12,6 +12,7 @@ export interface DialogProps {
12
12
  cancelLabel?: string;
13
13
  variant?: 'default' | 'danger';
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  onArcConfirm?: (e: CustomEvent) => void;
16
17
  onArcCancel?: (e: CustomEvent) => void;
17
18
  }
@@ -7,6 +7,7 @@ import { ArcGuidedTour } from '@arclux/arc-ui/guided-tour';
7
7
  export interface GuidedTourProps {
8
8
  open?: boolean;
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  onArcChange?: (e: CustomEvent) => void;
11
12
  onArcComplete?: (e: CustomEvent) => void;
12
13
  onArcDismiss?: (e: CustomEvent) => void;
@@ -9,6 +9,7 @@ export interface LoadingOverlayProps {
9
9
  message?: string;
10
10
  global?: boolean;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const LoadingOverlay = createComponent({
@@ -12,6 +12,7 @@ export interface ProgressProps {
12
12
  showValue?: boolean;
13
13
  label?: string;
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  }
16
17
 
17
18
  export const Progress = createComponent({
@@ -7,6 +7,7 @@ import { ArcProgressToast } from '@arclux/arc-ui/progress-toast';
7
7
  export interface ProgressToastProps {
8
8
  position?: 'top-right' | 'bottom-right';
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  onArcComplete?: (e: CustomEvent) => void;
11
12
  onArcCancel?: (e: CustomEvent) => void;
12
13
  }
@@ -8,6 +8,7 @@ export interface SnackbarProps {
8
8
  position?: 'bottom-center' | 'bottom-left' | 'bottom-right';
9
9
  duration?: number;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcAction?: (e: CustomEvent) => void;
12
13
  onArcDismiss?: (e: CustomEvent) => void;
13
14
  }
@@ -9,6 +9,7 @@ export interface SpotlightProps {
9
9
  active?: boolean;
10
10
  padding?: number;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  onArcDismiss?: (e: CustomEvent) => void;
13
14
  }
14
15
 
@@ -8,6 +8,7 @@ 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;
11
12
  onArcDismiss?: (e: CustomEvent) => void;
12
13
  }
13
14
 
@@ -11,6 +11,7 @@ export interface ToastManagerProps {
11
11
  dedupe?: boolean;
12
12
  queueLimit?: number;
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcQueueOverflow?: (e: CustomEvent) => void;
15
16
  onArcDismiss?: (e: CustomEvent) => void;
16
17
  onArcQueueChange?: (e: CustomEvent) => void;
@@ -12,6 +12,7 @@ export interface ButtonProps {
12
12
  loading?: boolean;
13
13
  type?: 'button' | 'submit' | 'reset';
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  onClick?: (e: Event) => void;
16
17
  }
17
18
 
@@ -11,6 +11,7 @@ export interface CalendarProps {
11
11
  month?: number;
12
12
  year?: number;
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcNavigate?: (e: CustomEvent) => void;
15
16
  onArcChange?: (e: CustomEvent) => void;
16
17
  onClick?: (e: Event) => void;
@@ -13,6 +13,7 @@ export interface CheckboxProps {
13
13
  name?: string;
14
14
  value?: string;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcChange?: (e: CustomEvent) => void;
17
18
  }
18
19
 
@@ -11,6 +11,7 @@ export interface ColorPickerProps {
11
11
  disabled?: boolean;
12
12
  label?: string;
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcChange?: (e: CustomEvent) => void;
15
16
  }
16
17
 
@@ -8,6 +8,7 @@ export interface CopyButtonProps {
8
8
  value?: string;
9
9
  disabled?: boolean;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcCopy?: (e: CustomEvent) => void;
12
13
  onClick?: (e: Event) => void;
13
14
  }
@@ -13,6 +13,7 @@ export interface DatePickerProps {
13
13
  disabled?: boolean;
14
14
  label?: string;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcChange?: (e: CustomEvent) => void;
17
18
  }
18
19
 
@@ -17,6 +17,7 @@ export interface DateRangePickerProps {
17
17
  required?: boolean;
18
18
  label?: string;
19
19
  className?: string;
20
+ children?: React.ReactNode;
20
21
  onArcChange?: (e: CustomEvent) => void;
21
22
  }
22
23
 
@@ -10,6 +10,7 @@ export interface FileUploadProps {
10
10
  maxSize?: number;
11
11
  disabled?: boolean;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  onArcChange?: (e: CustomEvent) => void;
14
15
  onArcRemove?: (e: CustomEvent) => void;
15
16
  }
@@ -10,6 +10,7 @@ export interface ImageCropperProps {
10
10
  aspect?: number;
11
11
  zoom?: number;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  onArcCropChange?: (e: CustomEvent) => void;
14
15
  }
15
16
 
@@ -11,6 +11,7 @@ export interface MultiSelectProps {
11
11
  name?: string;
12
12
  disabled?: boolean;
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcChange?: (e: CustomEvent) => void;
15
16
  onClick?: (e: Event) => void;
16
17
  }
@@ -13,6 +13,7 @@ export interface NumberInputProps {
13
13
  name?: string;
14
14
  disabled?: boolean;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcChange?: (e: CustomEvent) => void;
17
18
  onClick?: (e: Event) => void;
18
19
  }
@@ -11,6 +11,7 @@ export interface OtpInputProps {
11
11
  disabled?: boolean;
12
12
  type?: 'number' | 'text';
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcChange?: (e: CustomEvent) => void;
15
16
  }
16
17
 
@@ -16,6 +16,7 @@ export interface PasswordInputProps {
16
16
  autocomplete?: string;
17
17
  showStrength?: boolean;
18
18
  className?: string;
19
+ children?: React.ReactNode;
19
20
  onArcStrengthChange?: (e: CustomEvent) => void;
20
21
  onArcInput?: (e: CustomEvent) => void;
21
22
  onArcChange?: (e: CustomEvent) => void;
@@ -14,6 +14,7 @@ export interface PinInputProps {
14
14
  separator?: number;
15
15
  label?: string;
16
16
  className?: string;
17
+ children?: React.ReactNode;
17
18
  onArcChange?: (e: CustomEvent) => void;
18
19
  onArcComplete?: (e: CustomEvent) => void;
19
20
  }
@@ -15,6 +15,7 @@ export interface RangeSliderProps {
15
15
  label?: string;
16
16
  showValues?: boolean;
17
17
  className?: string;
18
+ children?: React.ReactNode;
18
19
  onArcInput?: (e: CustomEvent) => void;
19
20
  onArcChange?: (e: CustomEvent) => void;
20
21
  }
@@ -11,6 +11,7 @@ export interface RatingProps {
11
11
  disabled?: boolean;
12
12
  readonly?: boolean;
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcChange?: (e: CustomEvent) => void;
15
16
  }
16
17
 
@@ -8,6 +8,7 @@ export interface SegmentedControlProps {
8
8
  value?: string;
9
9
  disabled?: boolean;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcChange?: (e: CustomEvent) => void;
12
13
  onClick?: (e: Event) => void;
13
14
  }
@@ -13,6 +13,7 @@ export interface SliderProps {
13
13
  disabled?: boolean;
14
14
  label?: string;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcInput?: (e: CustomEvent) => void;
17
18
  onArcChange?: (e: CustomEvent) => void;
18
19
  }
@@ -7,6 +7,7 @@ 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;
10
11
  onArcChange?: (e: CustomEvent) => void;
11
12
  }
12
13
 
@@ -16,6 +16,7 @@ export interface TagInputProps {
16
16
  disabled?: boolean;
17
17
  error?: string;
18
18
  className?: string;
19
+ children?: React.ReactNode;
19
20
  onArcChange?: (e: CustomEvent) => void;
20
21
  onArcInput?: (e: CustomEvent) => void;
21
22
  }
@@ -17,6 +17,7 @@ export interface TextareaProps {
17
17
  autoResize?: boolean;
18
18
  error?: string;
19
19
  className?: string;
20
+ children?: React.ReactNode;
20
21
  onArcInput?: (e: CustomEvent) => void;
21
22
  onArcChange?: (e: CustomEvent) => void;
22
23
  }
@@ -9,6 +9,7 @@ export interface ThemeToggleProps {
9
9
  disabled?: boolean;
10
10
  iconOnly?: boolean;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  onArcChange?: (e: CustomEvent) => void;
13
14
  onClick?: (e: Event) => void;
14
15
  }
@@ -15,6 +15,7 @@ export interface TimePickerProps {
15
15
  disabled?: boolean;
16
16
  label?: string;
17
17
  className?: string;
18
+ children?: React.ReactNode;
18
19
  onArcChange?: (e: CustomEvent) => void;
19
20
  onClick?: (e: Event) => void;
20
21
  }
@@ -11,6 +11,7 @@ export interface ToggleProps {
11
11
  label?: string;
12
12
  name?: string;
13
13
  className?: string;
14
+ children?: React.ReactNode;
14
15
  onArcChange?: (e: CustomEvent) => void;
15
16
  }
16
17
 
@@ -13,6 +13,7 @@ export interface TransferListProps {
13
13
  sourceLabel?: string;
14
14
  targetLabel?: string;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcChange?: (e: CustomEvent) => void;
17
18
  }
18
19
 
@@ -8,6 +8,7 @@ export interface BottomNavProps {
8
8
  items?: string;
9
9
  value?: string;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcChange?: (e: CustomEvent) => void;
12
13
  }
13
14
 
@@ -8,6 +8,7 @@ export interface BreadcrumbProps {
8
8
  separator?: string;
9
9
  label?: string;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcNavigate?: (e: CustomEvent) => void;
12
13
  }
13
14
 
@@ -8,6 +8,7 @@ export interface BreadcrumbMenuProps {
8
8
  items?: string;
9
9
  label?: string;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcNavigate?: (e: CustomEvent) => void;
12
13
  }
13
14
 
@@ -10,6 +10,7 @@ export interface FooterProps {
10
10
  contained?: string;
11
11
  align?: 'left' | 'center';
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const Footer = createComponent({
@@ -7,6 +7,7 @@ import { ArcMenubar } from '@arclux/arc-ui/menubar';
7
7
  export interface MenubarProps {
8
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;
10
11
  onArcSelect?: (e: CustomEvent) => void;
11
12
  onClick?: (e: Event) => void;
12
13
  }
@@ -7,6 +7,7 @@ import { ArcNavigationMenu } from '@arclux/arc-ui/navigation-menu';
7
7
  export interface NavigationMenuProps {
8
8
  label?: string;
9
9
  className?: string;
10
+ children?: React.ReactNode;
10
11
  onArcMobileMenuToggle?: (e: CustomEvent) => void;
11
12
  }
12
13
 
@@ -9,6 +9,7 @@ export interface PageIndicatorProps {
9
9
  value?: number;
10
10
  clickable?: boolean;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  onArcChange?: (e: CustomEvent) => void;
13
14
  }
14
15
 
@@ -10,6 +10,7 @@ export interface PaginationProps {
10
10
  siblings?: number;
11
11
  compact?: boolean;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  onArcChange?: (e: CustomEvent) => void;
14
15
  onClick?: (e: Event) => void;
15
16
  }
@@ -8,6 +8,7 @@ export interface ScrollSpyProps {
8
8
  active?: string;
9
9
  offset?: number;
10
10
  className?: string;
11
+ children?: React.ReactNode;
11
12
  onArcChange?: (e: CustomEvent) => void;
12
13
  onClick?: (e: Event) => void;
13
14
  }
@@ -10,6 +10,7 @@ export interface ScrollToTopProps {
10
10
  position?: 'bottom-right' | 'bottom-left';
11
11
  offset?: string;
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  onClick?: (e: Event) => void;
14
15
  }
15
16
 
@@ -12,6 +12,7 @@ export interface SidebarProps {
12
12
  glow?: boolean;
13
13
  label?: string;
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  }
16
17
 
17
18
  export const Sidebar = createComponent({
@@ -10,6 +10,7 @@ export interface CodeBlockProps {
10
10
  code?: string;
11
11
  variant?: 'default' | 'window' | 'basic';
12
12
  className?: string;
13
+ children?: React.ReactNode;
13
14
  }
14
15
 
15
16
  export const CodeBlock = createComponent({
@@ -9,6 +9,7 @@ export interface HighlightProps {
9
9
  query?: string;
10
10
  caseSensitive?: boolean;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const Highlight = createComponent({
@@ -12,6 +12,7 @@ export interface NumberFormatProps {
12
12
  decimals?: number;
13
13
  notation?: 'standard' | 'compact';
14
14
  className?: string;
15
+ children?: React.ReactNode;
15
16
  }
16
17
 
17
18
  export const NumberFormat = createComponent({
@@ -9,6 +9,7 @@ export interface TimeAgoProps {
9
9
  live?: boolean;
10
10
  locale?: string;
11
11
  className?: string;
12
+ children?: React.ReactNode;
12
13
  }
13
14
 
14
15
  export const TimeAgo = createComponent({
@@ -13,6 +13,7 @@ export interface TypewriterProps {
13
13
  nowrap?: boolean;
14
14
  pauseEnd?: number;
15
15
  className?: string;
16
+ children?: React.ReactNode;
16
17
  onArcComplete?: (e: CustomEvent) => void;
17
18
  }
18
19