@arclux/arc-ui-preact 1.9.1 → 1.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 (50) hide show
  1. package/package.json +2 -2
  2. package/src/content/Avatar.tsx +3 -2
  3. package/src/content/DataTable.tsx +6 -2
  4. package/src/content/Image.tsx +22 -0
  5. package/src/content/List.tsx +21 -0
  6. package/src/content/ListItem.tsx +22 -0
  7. package/src/content/ScrollIndicator.tsx +20 -0
  8. package/src/content/Separator.tsx +18 -0
  9. package/src/content/VirtualList.tsx +20 -0
  10. package/src/content/index.ts +15 -0
  11. package/src/feedback/Announcement.tsx +17 -0
  12. package/src/feedback/Banner.tsx +18 -0
  13. package/src/feedback/CommandPalette.tsx +2 -3
  14. package/src/feedback/Confirm.tsx +19 -0
  15. package/src/feedback/ConnectionStatus.tsx +17 -0
  16. package/src/feedback/Dialog.tsx +1 -1
  17. package/src/feedback/DropdownMenu.tsx +2 -3
  18. package/src/feedback/GuidedTour.tsx +18 -0
  19. package/src/feedback/HoverCard.tsx +1 -1
  20. package/src/feedback/InlineMessage.tsx +16 -0
  21. package/src/feedback/LoadingOverlay.tsx +18 -0
  22. package/src/feedback/Popover.tsx +1 -1
  23. package/src/feedback/ProgressToast.tsx +17 -0
  24. package/src/feedback/Snackbar.tsx +18 -0
  25. package/src/feedback/Spotlight.tsx +18 -0
  26. package/src/index.ts +120 -0
  27. package/src/input/ButtonGroup.tsx +18 -0
  28. package/src/input/Fieldset.tsx +22 -0
  29. package/src/input/Hotkey.tsx +18 -0
  30. package/src/input/InputGroup.tsx +18 -0
  31. package/src/input/Label.tsx +21 -0
  32. package/src/input/SwitchGroup.tsx +19 -0
  33. package/src/layout/AspectGrid.tsx +18 -0
  34. package/src/layout/Center.tsx +18 -0
  35. package/src/layout/Cluster.tsx +18 -0
  36. package/src/layout/Dock.tsx +19 -0
  37. package/src/layout/FloatBar.tsx +17 -0
  38. package/src/layout/Inset.tsx +17 -0
  39. package/src/layout/Masonry.tsx +17 -0
  40. package/src/layout/ResponsiveSwitcher.tsx +17 -0
  41. package/src/layout/Sticky.tsx +17 -0
  42. package/src/navigation/AnchorNav.tsx +18 -0
  43. package/src/navigation/BottomNav.tsx +17 -0
  44. package/src/navigation/BreadcrumbMenu.tsx +17 -0
  45. package/src/navigation/CommandBar.tsx +18 -0
  46. package/src/navigation/PageIndicator.tsx +18 -0
  47. package/src/navigation/Rail.tsx +18 -0
  48. package/src/navigation/SkipLink.tsx +16 -0
  49. package/src/navigation/SpeedDial.tsx +19 -0
  50. package/src/navigation/StepperNav.tsx +18 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-preact",
3
- "version": "1.9.1",
3
+ "version": "1.10.0",
4
4
  "description": "Preact wrappers for ARC UI Web Components.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -44,7 +44,7 @@
44
44
  "preact": ">=10.19.0"
45
45
  },
46
46
  "dependencies": {
47
- "@arclux/arc-ui": "1.9.1"
47
+ "@arclux/arc-ui": "1.10.0"
48
48
  },
49
49
  "license": "MIT",
50
50
  "keywords": [
@@ -9,12 +9,13 @@ export interface AvatarProps {
9
9
  size?: 'sm' | 'md' | 'lg';
10
10
  shape?: 'square' | 'rounded';
11
11
  status?: 'online' | 'offline' | 'busy' | 'away';
12
+ _imgState?: string;
12
13
  children?: preact.ComponentChildren;
13
14
  [key: string]: unknown;
14
15
  }
15
16
 
16
- export const Avatar: FunctionComponent<AvatarProps> = ({ src, name, size, shape, status, children, ...rest }) => (
17
- <arc-avatar src={src} name={name} size={size} shape={shape} status={status} {...rest}>
17
+ export const Avatar: FunctionComponent<AvatarProps> = ({ src, name, size, shape, status, _imgState, children, ...rest }) => (
18
+ <arc-avatar src={src} name={name} size={size} shape={shape} status={status} _imgState={_imgState} {...rest}>
18
19
  {children}
19
20
  </arc-avatar>
20
21
  );
@@ -9,14 +9,18 @@ export interface DataTableProps {
9
9
  selectable?: boolean;
10
10
  sortColumn?: string;
11
11
  sortDirection?: string;
12
+ virtual?: boolean;
13
+ rowHeight?: number;
12
14
  _columns?: string;
13
15
  _selectedRows?: string;
16
+ _startIndex?: string;
17
+ _visibleCount?: string;
14
18
  children?: preact.ComponentChildren;
15
19
  [key: string]: unknown;
16
20
  }
17
21
 
18
- export const DataTable: FunctionComponent<DataTableProps> = ({ rows, sortable, selectable, sortColumn, sortDirection, _columns, _selectedRows, children, ...rest }) => (
19
- <arc-data-table rows={rows} sortable={sortable} selectable={selectable} sortColumn={sortColumn} sortDirection={sortDirection} _columns={_columns} _selectedRows={_selectedRows} {...rest}>
22
+ export const DataTable: FunctionComponent<DataTableProps> = ({ rows, sortable, selectable, sortColumn, sortDirection, virtual, rowHeight, _columns, _selectedRows, _startIndex, _visibleCount, children, ...rest }) => (
23
+ <arc-data-table rows={rows} sortable={sortable} selectable={selectable} sortColumn={sortColumn} sortDirection={sortDirection} virtual={virtual} rowHeight={rowHeight} _columns={_columns} _selectedRows={_selectedRows} _startIndex={_startIndex} _visibleCount={_visibleCount} {...rest}>
20
24
  {children}
21
25
  </arc-data-table>
22
26
  );
@@ -0,0 +1,22 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ImageProps {
7
+ src?: string;
8
+ alt?: string;
9
+ aspect?: '1/1' | '4/3' | '16/9' | '21/9' | '3/4' | '9/16';
10
+ fit?: 'contain' | 'fill' | 'none' | 'scale-down';
11
+ loading?: string;
12
+ fallback?: string;
13
+ _state?: string;
14
+ children?: preact.ComponentChildren;
15
+ [key: string]: unknown;
16
+ }
17
+
18
+ export const Image: FunctionComponent<ImageProps> = ({ src, alt, aspect, fit, loading, fallback, _state, children, ...rest }) => (
19
+ <arc-image src={src} alt={alt} aspect={aspect} fit={fit} loading={loading} fallback={fallback} _state={_state} {...rest}>
20
+ {children}
21
+ </arc-image>
22
+ );
@@ -0,0 +1,21 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ListProps {
7
+ variant?: 'bordered' | 'separated';
8
+ size?: 'sm' | 'lg';
9
+ selectable?: boolean;
10
+ multiple?: boolean;
11
+ value?: string;
12
+ _items?: string;
13
+ children?: preact.ComponentChildren;
14
+ [key: string]: unknown;
15
+ }
16
+
17
+ export const List: FunctionComponent<ListProps> = ({ variant, size, selectable, multiple, value, _items, children, ...rest }) => (
18
+ <arc-list variant={variant} size={size} selectable={selectable} multiple={multiple} value={value} _items={_items} {...rest}>
19
+ {children}
20
+ </arc-list>
21
+ );
@@ -0,0 +1,22 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ListItemProps {
7
+ value?: string;
8
+ selected?: boolean;
9
+ disabled?: boolean;
10
+ href?: string;
11
+ _hasPrefix?: string;
12
+ _hasSuffix?: string;
13
+ _hasDescription?: string;
14
+ children?: preact.ComponentChildren;
15
+ [key: string]: unknown;
16
+ }
17
+
18
+ export const ListItem: FunctionComponent<ListItemProps> = ({ value, selected, disabled, href, _hasPrefix, _hasSuffix, _hasDescription, children, ...rest }) => (
19
+ <arc-list-item value={value} selected={selected} disabled={disabled} href={href} _hasPrefix={_hasPrefix} _hasSuffix={_hasSuffix} _hasDescription={_hasDescription} {...rest}>
20
+ {children}
21
+ </arc-list-item>
22
+ );
@@ -0,0 +1,20 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ScrollIndicatorProps {
7
+ target?: string;
8
+ position?: 'bottom';
9
+ size?: 'sm' | 'md' | 'lg';
10
+ color?: 'gradient';
11
+ _progress?: string;
12
+ children?: preact.ComponentChildren;
13
+ [key: string]: unknown;
14
+ }
15
+
16
+ export const ScrollIndicator: FunctionComponent<ScrollIndicatorProps> = ({ target, position, size, color, _progress, children, ...rest }) => (
17
+ <arc-scroll-indicator target={target} position={position} size={size} color={color} _progress={_progress} {...rest}>
18
+ {children}
19
+ </arc-scroll-indicator>
20
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface SeparatorProps {
7
+ orientation?: 'vertical';
8
+ label?: string;
9
+ variant?: 'dashed' | 'dotted' | 'fade';
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Separator: FunctionComponent<SeparatorProps> = ({ orientation, label, variant, children, ...rest }) => (
15
+ <arc-separator orientation={orientation} label={label} variant={variant} {...rest}>
16
+ {children}
17
+ </arc-separator>
18
+ );
@@ -0,0 +1,20 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface VirtualListProps {
7
+ items?: unknown[];
8
+ itemHeight?: number;
9
+ overscan?: number;
10
+ _startIndex?: string;
11
+ _visibleCount?: string;
12
+ children?: preact.ComponentChildren;
13
+ [key: string]: unknown;
14
+ }
15
+
16
+ export const VirtualList: FunctionComponent<VirtualListProps> = ({ items, itemHeight, overscan, _startIndex, _visibleCount, children, ...rest }) => (
17
+ <arc-virtual-list items={items} itemHeight={itemHeight} overscan={overscan} _startIndex={_startIndex} _visibleCount={_visibleCount} {...rest}>
18
+ {children}
19
+ </arc-virtual-list>
20
+ );
@@ -93,3 +93,18 @@ export type { CtaBannerProps } from './CtaBanner.js';
93
93
 
94
94
  export { IconLibrary } from './IconLibrary.js';
95
95
  export type { IconLibraryProps } from './IconLibrary.js';
96
+
97
+ export { Image } from './Image.js';
98
+ export type { ImageProps } from './Image.js';
99
+
100
+ export { ListItem } from './ListItem.js';
101
+ export type { ListItemProps } from './ListItem.js';
102
+
103
+ export { ScrollIndicator } from './ScrollIndicator.js';
104
+ export type { ScrollIndicatorProps } from './ScrollIndicator.js';
105
+
106
+ export { Separator } from './Separator.js';
107
+ export type { SeparatorProps } from './Separator.js';
108
+
109
+ export { VirtualList } from './VirtualList.js';
110
+ export type { VirtualListProps } from './VirtualList.js';
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface AnnouncementProps {
7
+ politeness?: string;
8
+ message?: string;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const Announcement: FunctionComponent<AnnouncementProps> = ({ politeness, message, children, ...rest }) => (
14
+ <arc-announcement politeness={politeness} message={message} {...rest}>
15
+ {children}
16
+ </arc-announcement>
17
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface BannerProps {
7
+ variant?: string;
8
+ dismissible?: boolean;
9
+ sticky?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Banner: FunctionComponent<BannerProps> = ({ variant, dismissible, sticky, children, ...rest }) => (
15
+ <arc-banner variant={variant} dismissible={dismissible} sticky={sticky} {...rest}>
16
+ {children}
17
+ </arc-banner>
18
+ );
@@ -7,14 +7,13 @@ export interface CommandPaletteProps {
7
7
  open?: boolean;
8
8
  placeholder?: string;
9
9
  _query?: string;
10
- _focusedIndex?: string;
11
10
  _items?: string;
12
11
  children?: preact.ComponentChildren;
13
12
  [key: string]: unknown;
14
13
  }
15
14
 
16
- export const CommandPalette: FunctionComponent<CommandPaletteProps> = ({ open, placeholder, _query, _focusedIndex, _items, children, ...rest }) => (
17
- <arc-command-palette open={open} placeholder={placeholder} _query={_query} _focusedIndex={_focusedIndex} _items={_items} {...rest}>
15
+ export const CommandPalette: FunctionComponent<CommandPaletteProps> = ({ open, placeholder, _query, _items, children, ...rest }) => (
16
+ <arc-command-palette open={open} placeholder={placeholder} _query={_query} _items={_items} {...rest}>
18
17
  {children}
19
18
  </arc-command-palette>
20
19
  );
@@ -0,0 +1,19 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ConfirmProps {
7
+ open?: boolean;
8
+ heading?: string;
9
+ message?: string;
10
+ variant?: string;
11
+ children?: preact.ComponentChildren;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const Confirm: FunctionComponent<ConfirmProps> = ({ open, heading, message, variant, children, ...rest }) => (
16
+ <arc-confirm open={open} heading={heading} message={message} variant={variant} {...rest}>
17
+ {children}
18
+ </arc-confirm>
19
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ConnectionStatusProps {
7
+ online?: string;
8
+ _visible?: string;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const ConnectionStatus: FunctionComponent<ConnectionStatusProps> = ({ online, _visible, children, ...rest }) => (
14
+ <arc-connection-status online={online} _visible={_visible} {...rest}>
15
+ {children}
16
+ </arc-connection-status>
17
+ );
@@ -7,7 +7,7 @@ export interface DialogProps {
7
7
  open?: boolean;
8
8
  heading?: string;
9
9
  message?: string;
10
- variant?: 'danger';
10
+ variant?: string;
11
11
  children?: preact.ComponentChildren;
12
12
  [key: string]: unknown;
13
13
  }
@@ -5,14 +5,13 @@ import '@arclux/arc-ui';
5
5
 
6
6
  export interface DropdownMenuProps {
7
7
  open?: boolean;
8
- _focusedIndex?: string;
9
8
  _children?: string;
10
9
  children?: preact.ComponentChildren;
11
10
  [key: string]: unknown;
12
11
  }
13
12
 
14
- export const DropdownMenu: FunctionComponent<DropdownMenuProps> = ({ open, _focusedIndex, _children, children, ...rest }) => (
15
- <arc-dropdown-menu open={open} _focusedIndex={_focusedIndex} _children={_children} {...rest}>
13
+ export const DropdownMenu: FunctionComponent<DropdownMenuProps> = ({ open, _children, children, ...rest }) => (
14
+ <arc-dropdown-menu open={open} _children={_children} {...rest}>
16
15
  {children}
17
16
  </arc-dropdown-menu>
18
17
  );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface GuidedTourProps {
7
+ steps?: string;
8
+ active?: string;
9
+ open?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const GuidedTour: FunctionComponent<GuidedTourProps> = ({ steps, active, open, children, ...rest }) => (
15
+ <arc-guided-tour steps={steps} active={active} open={open} {...rest}>
16
+ {children}
17
+ </arc-guided-tour>
18
+ );
@@ -4,7 +4,7 @@ import { type FunctionComponent } from 'preact';
4
4
  import '@arclux/arc-ui';
5
5
 
6
6
  export interface HoverCardProps {
7
- position?: 'bottom' | 'top' | 'left' | 'right';
7
+ position?: string;
8
8
  openDelay?: number;
9
9
  closeDelay?: number;
10
10
  _visible?: string;
@@ -0,0 +1,16 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface InlineMessageProps {
7
+ variant?: string;
8
+ children?: preact.ComponentChildren;
9
+ [key: string]: unknown;
10
+ }
11
+
12
+ export const InlineMessage: FunctionComponent<InlineMessageProps> = ({ variant, children, ...rest }) => (
13
+ <arc-inline-message variant={variant} {...rest}>
14
+ {children}
15
+ </arc-inline-message>
16
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface LoadingOverlayProps {
7
+ active?: boolean;
8
+ message?: string;
9
+ global?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const LoadingOverlay: FunctionComponent<LoadingOverlayProps> = ({ active, message, global, children, ...rest }) => (
15
+ <arc-loading-overlay active={active} message={message} global={global} {...rest}>
16
+ {children}
17
+ </arc-loading-overlay>
18
+ );
@@ -5,7 +5,7 @@ import '@arclux/arc-ui';
5
5
 
6
6
  export interface PopoverProps {
7
7
  open?: boolean;
8
- position?: 'bottom' | 'top' | 'left' | 'right';
8
+ position?: string;
9
9
  trigger?: string;
10
10
  children?: preact.ComponentChildren;
11
11
  [key: string]: unknown;
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ProgressToastProps {
7
+ position?: 'bottom-right' | 'top-right';
8
+ _toasts?: string;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const ProgressToast: FunctionComponent<ProgressToastProps> = ({ position, _toasts, children, ...rest }) => (
14
+ <arc-progress-toast position={position} _toasts={_toasts} {...rest}>
15
+ {children}
16
+ </arc-progress-toast>
17
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface SnackbarProps {
7
+ position?: 'bottom-center' | 'bottom-left' | 'bottom-right';
8
+ duration?: number;
9
+ _snackbars?: string;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Snackbar: FunctionComponent<SnackbarProps> = ({ position, duration, _snackbars, children, ...rest }) => (
15
+ <arc-snackbar position={position} duration={duration} _snackbars={_snackbars} {...rest}>
16
+ {children}
17
+ </arc-snackbar>
18
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface SpotlightProps {
7
+ target?: string;
8
+ active?: boolean;
9
+ padding?: number;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Spotlight: FunctionComponent<SpotlightProps> = ({ target, active, padding, children, ...rest }) => (
15
+ <arc-spotlight target={target} active={active} padding={padding} {...rest}>
16
+ {children}
17
+ </arc-spotlight>
18
+ );
package/src/index.ts CHANGED
@@ -261,3 +261,123 @@ export type { CtaBannerProps } from './content/CtaBanner.js';
261
261
 
262
262
  export { IconLibrary } from './content/IconLibrary.js';
263
263
  export type { IconLibraryProps } from './content/IconLibrary.js';
264
+
265
+ export { Image } from './content/Image.js';
266
+ export type { ImageProps } from './content/Image.js';
267
+
268
+ export { ListItem } from './content/ListItem.js';
269
+ export type { ListItemProps } from './content/ListItem.js';
270
+
271
+ export { List } from './content/List.js';
272
+ export type { ListProps } from './content/List.js';
273
+
274
+ export { ScrollIndicator } from './content/ScrollIndicator.js';
275
+ export type { ScrollIndicatorProps } from './content/ScrollIndicator.js';
276
+
277
+ export { Separator } from './content/Separator.js';
278
+ export type { SeparatorProps } from './content/Separator.js';
279
+
280
+ export { VirtualList } from './content/VirtualList.js';
281
+ export type { VirtualListProps } from './content/VirtualList.js';
282
+
283
+ export { ButtonGroup } from './input/ButtonGroup.js';
284
+ export type { ButtonGroupProps } from './input/ButtonGroup.js';
285
+
286
+ export { Fieldset } from './input/Fieldset.js';
287
+ export type { FieldsetProps } from './input/Fieldset.js';
288
+
289
+ export { InputGroup } from './input/InputGroup.js';
290
+ export type { InputGroupProps } from './input/InputGroup.js';
291
+
292
+ export { Label } from './input/Label.js';
293
+ export type { LabelProps } from './input/Label.js';
294
+
295
+ export { SwitchGroup } from './input/SwitchGroup.js';
296
+ export type { SwitchGroupProps } from './input/SwitchGroup.js';
297
+
298
+ export { Hotkey } from './input/Hotkey.js';
299
+ export type { HotkeyProps } from './input/Hotkey.js';
300
+
301
+ export { AnchorNav } from './navigation/AnchorNav.js';
302
+ export type { AnchorNavProps } from './navigation/AnchorNav.js';
303
+
304
+ export { BottomNav } from './navigation/BottomNav.js';
305
+ export type { BottomNavProps } from './navigation/BottomNav.js';
306
+
307
+ export { BreadcrumbMenu } from './navigation/BreadcrumbMenu.js';
308
+ export type { BreadcrumbMenuProps } from './navigation/BreadcrumbMenu.js';
309
+
310
+ export { CommandBar } from './navigation/CommandBar.js';
311
+ export type { CommandBarProps } from './navigation/CommandBar.js';
312
+
313
+ export { PageIndicator } from './navigation/PageIndicator.js';
314
+ export type { PageIndicatorProps } from './navigation/PageIndicator.js';
315
+
316
+ export { Rail } from './navigation/Rail.js';
317
+ export type { RailProps } from './navigation/Rail.js';
318
+
319
+ export { SkipLink } from './navigation/SkipLink.js';
320
+ export type { SkipLinkProps } from './navigation/SkipLink.js';
321
+
322
+ export { SpeedDial } from './navigation/SpeedDial.js';
323
+ export type { SpeedDialProps } from './navigation/SpeedDial.js';
324
+
325
+ export { StepperNav } from './navigation/StepperNav.js';
326
+ export type { StepperNavProps } from './navigation/StepperNav.js';
327
+
328
+ export { AspectGrid } from './layout/AspectGrid.js';
329
+ export type { AspectGridProps } from './layout/AspectGrid.js';
330
+
331
+ export { Center } from './layout/Center.js';
332
+ export type { CenterProps } from './layout/Center.js';
333
+
334
+ export { Cluster } from './layout/Cluster.js';
335
+ export type { ClusterProps } from './layout/Cluster.js';
336
+
337
+ export { Dock } from './layout/Dock.js';
338
+ export type { DockProps } from './layout/Dock.js';
339
+
340
+ export { FloatBar } from './layout/FloatBar.js';
341
+ export type { FloatBarProps } from './layout/FloatBar.js';
342
+
343
+ export { Inset } from './layout/Inset.js';
344
+ export type { InsetProps } from './layout/Inset.js';
345
+
346
+ export { Masonry } from './layout/Masonry.js';
347
+ export type { MasonryProps } from './layout/Masonry.js';
348
+
349
+ export { ResponsiveSwitcher } from './layout/ResponsiveSwitcher.js';
350
+ export type { ResponsiveSwitcherProps } from './layout/ResponsiveSwitcher.js';
351
+
352
+ export { Sticky } from './layout/Sticky.js';
353
+ export type { StickyProps } from './layout/Sticky.js';
354
+
355
+ export { Announcement } from './feedback/Announcement.js';
356
+ export type { AnnouncementProps } from './feedback/Announcement.js';
357
+
358
+ export { Banner } from './feedback/Banner.js';
359
+ export type { BannerProps } from './feedback/Banner.js';
360
+
361
+ export { Confirm } from './feedback/Confirm.js';
362
+ export type { ConfirmProps } from './feedback/Confirm.js';
363
+
364
+ export { ConnectionStatus } from './feedback/ConnectionStatus.js';
365
+ export type { ConnectionStatusProps } from './feedback/ConnectionStatus.js';
366
+
367
+ export { GuidedTour } from './feedback/GuidedTour.js';
368
+ export type { GuidedTourProps } from './feedback/GuidedTour.js';
369
+
370
+ export { InlineMessage } from './feedback/InlineMessage.js';
371
+ export type { InlineMessageProps } from './feedback/InlineMessage.js';
372
+
373
+ export { LoadingOverlay } from './feedback/LoadingOverlay.js';
374
+ export type { LoadingOverlayProps } from './feedback/LoadingOverlay.js';
375
+
376
+ export { ProgressToast } from './feedback/ProgressToast.js';
377
+ export type { ProgressToastProps } from './feedback/ProgressToast.js';
378
+
379
+ export { Snackbar } from './feedback/Snackbar.js';
380
+ export type { SnackbarProps } from './feedback/Snackbar.js';
381
+
382
+ export { Spotlight } from './feedback/Spotlight.js';
383
+ export type { SpotlightProps } from './feedback/Spotlight.js';
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ButtonGroupProps {
7
+ orientation?: 'vertical';
8
+ size?: string;
9
+ variant?: string;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const ButtonGroup: FunctionComponent<ButtonGroupProps> = ({ orientation, size, variant, children, ...rest }) => (
15
+ <arc-button-group orientation={orientation} size={size} variant={variant} {...rest}>
16
+ {children}
17
+ </arc-button-group>
18
+ );
@@ -0,0 +1,22 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface FieldsetProps {
7
+ legend?: string;
8
+ description?: string;
9
+ disabled?: boolean;
10
+ error?: string;
11
+ variant?: 'card';
12
+ _hasLegend?: string;
13
+ _hasActions?: string;
14
+ children?: preact.ComponentChildren;
15
+ [key: string]: unknown;
16
+ }
17
+
18
+ export const Fieldset: FunctionComponent<FieldsetProps> = ({ legend, description, disabled, error, variant, _hasLegend, _hasActions, children, ...rest }) => (
19
+ <arc-fieldset legend={legend} description={description} disabled={disabled} error={error} variant={variant} _hasLegend={_hasLegend} _hasActions={_hasActions} {...rest}>
20
+ {children}
21
+ </arc-fieldset>
22
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface HotkeyProps {
7
+ keys?: string;
8
+ disabled?: boolean;
9
+ global?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Hotkey: FunctionComponent<HotkeyProps> = ({ keys, disabled, global, children, ...rest }) => (
15
+ <arc-hotkey keys={keys} disabled={disabled} global={global} {...rest}>
16
+ {children}
17
+ </arc-hotkey>
18
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface InputGroupProps {
7
+ size?: 'sm' | 'lg';
8
+ _hasPrefix?: string;
9
+ _hasSuffix?: string;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const InputGroup: FunctionComponent<InputGroupProps> = ({ size, _hasPrefix, _hasSuffix, children, ...rest }) => (
15
+ <arc-input-group size={size} _hasPrefix={_hasPrefix} _hasSuffix={_hasSuffix} {...rest}>
16
+ {children}
17
+ </arc-input-group>
18
+ );
@@ -0,0 +1,21 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface LabelProps {
7
+ for?: string;
8
+ required?: boolean;
9
+ size?: 'sm' | 'lg';
10
+ disabled?: boolean;
11
+ _hasDescription?: string;
12
+ _hasTooltip?: string;
13
+ children?: preact.ComponentChildren;
14
+ [key: string]: unknown;
15
+ }
16
+
17
+ export const Label: FunctionComponent<LabelProps> = ({ for, required, size, disabled, _hasDescription, _hasTooltip, children, ...rest }) => (
18
+ <arc-label for={for} required={required} size={size} disabled={disabled} _hasDescription={_hasDescription} _hasTooltip={_hasTooltip} {...rest}>
19
+ {children}
20
+ </arc-label>
21
+ );
@@ -0,0 +1,19 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface SwitchGroupProps {
7
+ label?: string;
8
+ orientation?: 'horizontal';
9
+ size?: string;
10
+ disabled?: boolean;
11
+ children?: preact.ComponentChildren;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const SwitchGroup: FunctionComponent<SwitchGroupProps> = ({ label, orientation, size, disabled, children, ...rest }) => (
16
+ <arc-switch-group label={label} orientation={orientation} size={size} disabled={disabled} {...rest}>
17
+ {children}
18
+ </arc-switch-group>
19
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface AspectGridProps {
7
+ columns?: number;
8
+ ratio?: string;
9
+ gap?: 'sm' | 'md' | 'lg';
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const AspectGrid: FunctionComponent<AspectGridProps> = ({ columns, ratio, gap, children, ...rest }) => (
15
+ <arc-aspect-grid columns={columns} ratio={ratio} gap={gap} {...rest}>
16
+ {children}
17
+ </arc-aspect-grid>
18
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface CenterProps {
7
+ maxWidth?: string;
8
+ intrinsic?: boolean;
9
+ text?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Center: FunctionComponent<CenterProps> = ({ maxWidth, intrinsic, text, children, ...rest }) => (
15
+ <arc-center maxWidth={maxWidth} intrinsic={intrinsic} text={text} {...rest}>
16
+ {children}
17
+ </arc-center>
18
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ClusterProps {
7
+ gap?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
8
+ align?: 'start' | 'center' | 'end';
9
+ justify?: 'start' | 'center' | 'end' | 'space-between' | 'space-around';
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Cluster: FunctionComponent<ClusterProps> = ({ gap, align, justify, children, ...rest }) => (
15
+ <arc-cluster gap={gap} align={align} justify={justify} {...rest}>
16
+ {children}
17
+ </arc-cluster>
18
+ );
@@ -0,0 +1,19 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface DockProps {
7
+ position?: 'bottom' | 'left' | 'right';
8
+ autoHide?: boolean;
9
+ open?: boolean;
10
+ _hovered?: string;
11
+ children?: preact.ComponentChildren;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const Dock: FunctionComponent<DockProps> = ({ position, autoHide, open, _hovered, children, ...rest }) => (
16
+ <arc-dock position={position} autoHide={autoHide} open={open} _hovered={_hovered} {...rest}>
17
+ {children}
18
+ </arc-dock>
19
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface FloatBarProps {
7
+ open?: boolean;
8
+ position?: 'top';
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const FloatBar: FunctionComponent<FloatBarProps> = ({ open, position, children, ...rest }) => (
14
+ <arc-float-bar open={open} position={position} {...rest}>
15
+ {children}
16
+ </arc-float-bar>
17
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface InsetProps {
7
+ space?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
8
+ bleed?: boolean;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const Inset: FunctionComponent<InsetProps> = ({ space, bleed, children, ...rest }) => (
14
+ <arc-inset space={space} bleed={bleed} {...rest}>
15
+ {children}
16
+ </arc-inset>
17
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface MasonryProps {
7
+ columns?: number;
8
+ gap?: 'sm' | 'md' | 'lg';
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const Masonry: FunctionComponent<MasonryProps> = ({ columns, gap, children, ...rest }) => (
14
+ <arc-masonry columns={columns} gap={gap} {...rest}>
15
+ {children}
16
+ </arc-masonry>
17
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface ResponsiveSwitcherProps {
7
+ threshold?: string;
8
+ gap?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const ResponsiveSwitcher: FunctionComponent<ResponsiveSwitcherProps> = ({ threshold, gap, children, ...rest }) => (
14
+ <arc-responsive-switcher threshold={threshold} gap={gap} {...rest}>
15
+ {children}
16
+ </arc-responsive-switcher>
17
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface StickyProps {
7
+ offset?: string;
8
+ stuck?: boolean;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const Sticky: FunctionComponent<StickyProps> = ({ offset, stuck, children, ...rest }) => (
14
+ <arc-sticky offset={offset} stuck={stuck} {...rest}>
15
+ {children}
16
+ </arc-sticky>
17
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface AnchorNavProps {
7
+ orientation?: 'vertical';
8
+ value?: string;
9
+ items?: string;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const AnchorNav: FunctionComponent<AnchorNavProps> = ({ orientation, value, items, children, ...rest }) => (
15
+ <arc-anchor-nav orientation={orientation} value={value} items={items} {...rest}>
16
+ {children}
17
+ </arc-anchor-nav>
18
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface BottomNavProps {
7
+ items?: string;
8
+ value?: string;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const BottomNav: FunctionComponent<BottomNavProps> = ({ items, value, children, ...rest }) => (
14
+ <arc-bottom-nav items={items} value={value} {...rest}>
15
+ {children}
16
+ </arc-bottom-nav>
17
+ );
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface BreadcrumbMenuProps {
7
+ items?: string;
8
+ _openIndex?: number;
9
+ children?: preact.ComponentChildren;
10
+ [key: string]: unknown;
11
+ }
12
+
13
+ export const BreadcrumbMenu: FunctionComponent<BreadcrumbMenuProps> = ({ items, _openIndex, children, ...rest }) => (
14
+ <arc-breadcrumb-menu items={items} _openIndex={_openIndex} {...rest}>
15
+ {children}
16
+ </arc-breadcrumb-menu>
17
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface CommandBarProps {
7
+ placeholder?: string;
8
+ value?: string;
9
+ icon?: string;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const CommandBar: FunctionComponent<CommandBarProps> = ({ placeholder, value, icon, children, ...rest }) => (
15
+ <arc-command-bar placeholder={placeholder} value={value} icon={icon} {...rest}>
16
+ {children}
17
+ </arc-command-bar>
18
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface PageIndicatorProps {
7
+ count?: number;
8
+ value?: number;
9
+ clickable?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const PageIndicator: FunctionComponent<PageIndicatorProps> = ({ count, value, clickable, children, ...rest }) => (
15
+ <arc-page-indicator count={count} value={value} clickable={clickable} {...rest}>
16
+ {children}
17
+ </arc-page-indicator>
18
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface RailProps {
7
+ items?: string;
8
+ value?: string;
9
+ expanded?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const Rail: FunctionComponent<RailProps> = ({ items, value, expanded, children, ...rest }) => (
15
+ <arc-rail items={items} value={value} expanded={expanded} {...rest}>
16
+ {children}
17
+ </arc-rail>
18
+ );
@@ -0,0 +1,16 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface SkipLinkProps {
7
+ target?: string;
8
+ children?: preact.ComponentChildren;
9
+ [key: string]: unknown;
10
+ }
11
+
12
+ export const SkipLink: FunctionComponent<SkipLinkProps> = ({ target, children, ...rest }) => (
13
+ <arc-skip-link target={target} {...rest}>
14
+ {children}
15
+ </arc-skip-link>
16
+ );
@@ -0,0 +1,19 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface SpeedDialProps {
7
+ open?: boolean;
8
+ direction?: 'down' | 'left' | 'right';
9
+ position?: 'bottom-right' | 'bottom-left';
10
+ items?: string;
11
+ children?: preact.ComponentChildren;
12
+ [key: string]: unknown;
13
+ }
14
+
15
+ export const SpeedDial: FunctionComponent<SpeedDialProps> = ({ open, direction, position, items, children, ...rest }) => (
16
+ <arc-speed-dial open={open} direction={direction} position={position} items={items} {...rest}>
17
+ {children}
18
+ </arc-speed-dial>
19
+ );
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { type FunctionComponent } from 'preact';
4
+ import '@arclux/arc-ui';
5
+
6
+ export interface StepperNavProps {
7
+ steps?: string;
8
+ active?: number;
9
+ linear?: boolean;
10
+ children?: preact.ComponentChildren;
11
+ [key: string]: unknown;
12
+ }
13
+
14
+ export const StepperNav: FunctionComponent<StepperNavProps> = ({ steps, active, linear, children, ...rest }) => (
15
+ <arc-stepper-nav steps={steps} active={active} linear={linear} {...rest}>
16
+ {children}
17
+ </arc-stepper-nav>
18
+ );