@arclux/arc-ui-react 1.0.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 (126) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +57 -0
  3. package/package.json +73 -0
  4. package/src/content/Accordion.ts +22 -0
  5. package/src/content/AccordionItem.ts +17 -0
  6. package/src/content/AnimatedNumber.ts +23 -0
  7. package/src/content/AspectRatio.ts +17 -0
  8. package/src/content/Avatar.ts +19 -0
  9. package/src/content/AvatarGroup.ts +18 -0
  10. package/src/content/Badge.ts +17 -0
  11. package/src/content/Callout.ts +17 -0
  12. package/src/content/Card.ts +17 -0
  13. package/src/content/Carousel.ts +27 -0
  14. package/src/content/CodeBlock.ts +24 -0
  15. package/src/content/Collapsible.ts +24 -0
  16. package/src/content/ColorSwatch.ts +19 -0
  17. package/src/content/Column.ts +20 -0
  18. package/src/content/DataTable.ts +31 -0
  19. package/src/content/Divider.ts +19 -0
  20. package/src/content/EmptyState.ts +18 -0
  21. package/src/content/FeatureCard.ts +20 -0
  22. package/src/content/Highlight.ts +19 -0
  23. package/src/content/Icon.ts +19 -0
  24. package/src/content/InfiniteScroll.ts +24 -0
  25. package/src/content/Kbd.ts +16 -0
  26. package/src/content/Markdown.ts +17 -0
  27. package/src/content/Marquee.ts +20 -0
  28. package/src/content/Meter.ts +23 -0
  29. package/src/content/ScrollArea.ts +18 -0
  30. package/src/content/Skeleton.ts +19 -0
  31. package/src/content/Spinner.ts +18 -0
  32. package/src/content/Stack.ts +21 -0
  33. package/src/content/Stat.ts +18 -0
  34. package/src/content/Step.ts +17 -0
  35. package/src/content/Stepper.ts +18 -0
  36. package/src/content/Table.ts +20 -0
  37. package/src/content/Tag.ts +23 -0
  38. package/src/content/Text.ts +18 -0
  39. package/src/content/Timeline.ts +17 -0
  40. package/src/content/TimelineItem.ts +18 -0
  41. package/src/content/Truncate.ts +22 -0
  42. package/src/content/ValueCard.ts +19 -0
  43. package/src/content/index.ts +119 -0
  44. package/src/create-component.ts +6 -0
  45. package/src/feedback/Alert.ts +23 -0
  46. package/src/feedback/CommandItem.ts +18 -0
  47. package/src/feedback/CommandPalette.ts +27 -0
  48. package/src/feedback/ContextMenu.ts +31 -0
  49. package/src/feedback/Dialog.ts +28 -0
  50. package/src/feedback/DropdownMenu.ts +25 -0
  51. package/src/feedback/HoverCard.ts +26 -0
  52. package/src/feedback/Modal.ts +26 -0
  53. package/src/feedback/NotificationPanel.ts +25 -0
  54. package/src/feedback/Popover.ts +23 -0
  55. package/src/feedback/Progress.ts +21 -0
  56. package/src/feedback/Sheet.ts +27 -0
  57. package/src/feedback/Toast.ts +23 -0
  58. package/src/feedback/Tooltip.ts +20 -0
  59. package/src/feedback/index.ts +44 -0
  60. package/src/index.ts +354 -0
  61. package/src/input/Button.ts +25 -0
  62. package/src/input/Calendar.ts +30 -0
  63. package/src/input/Checkbox.ts +26 -0
  64. package/src/input/Chip.ts +23 -0
  65. package/src/input/ColorPicker.ts +30 -0
  66. package/src/input/Combobox.ts +28 -0
  67. package/src/input/CopyButton.ts +25 -0
  68. package/src/input/DatePicker.ts +30 -0
  69. package/src/input/FileUpload.ts +29 -0
  70. package/src/input/Form.ts +25 -0
  71. package/src/input/IconButton.ts +28 -0
  72. package/src/input/Input.ts +31 -0
  73. package/src/input/MultiSelect.ts +30 -0
  74. package/src/input/NumberInput.ts +28 -0
  75. package/src/input/OtpInput.ts +24 -0
  76. package/src/input/PinInput.ts +29 -0
  77. package/src/input/Radio.ts +18 -0
  78. package/src/input/RadioGroup.ts +25 -0
  79. package/src/input/Rating.ts +24 -0
  80. package/src/input/Search.ts +34 -0
  81. package/src/input/SegmentedControl.ts +25 -0
  82. package/src/input/Select.ts +29 -0
  83. package/src/input/Slider.ts +28 -0
  84. package/src/input/SortableList.ts +26 -0
  85. package/src/input/Suggestion.ts +17 -0
  86. package/src/input/Textarea.ts +31 -0
  87. package/src/input/ThemeToggle.ts +25 -0
  88. package/src/input/Toggle.ts +24 -0
  89. package/src/input/index.ts +86 -0
  90. package/src/layout/AppShell.ts +20 -0
  91. package/src/layout/AuthShell.ts +17 -0
  92. package/src/layout/Container.ts +17 -0
  93. package/src/layout/DashboardGrid.ts +19 -0
  94. package/src/layout/PageHeader.ts +18 -0
  95. package/src/layout/PageLayout.ts +19 -0
  96. package/src/layout/Resizable.ts +25 -0
  97. package/src/layout/Section.ts +17 -0
  98. package/src/layout/SettingsLayout.ts +17 -0
  99. package/src/layout/SplitPane.ts +24 -0
  100. package/src/layout/StatusBar.ts +17 -0
  101. package/src/layout/Toolbar.ts +19 -0
  102. package/src/layout/index.ts +38 -0
  103. package/src/navigation/Breadcrumb.ts +21 -0
  104. package/src/navigation/BreadcrumbItem.ts +17 -0
  105. package/src/navigation/Drawer.ts +25 -0
  106. package/src/navigation/Footer.ts +18 -0
  107. package/src/navigation/Link.ts +20 -0
  108. package/src/navigation/NavItem.ts +19 -0
  109. package/src/navigation/NavigationMenu.ts +25 -0
  110. package/src/navigation/Pagination.ts +25 -0
  111. package/src/navigation/ScrollSpy.ts +24 -0
  112. package/src/navigation/ScrollToTop.ts +25 -0
  113. package/src/navigation/Sidebar.ts +21 -0
  114. package/src/navigation/SidebarLink.ts +18 -0
  115. package/src/navigation/SidebarSection.ts +23 -0
  116. package/src/navigation/SpyLink.ts +17 -0
  117. package/src/navigation/Tab.ts +17 -0
  118. package/src/navigation/Tabs.ts +23 -0
  119. package/src/navigation/TopBar.ts +21 -0
  120. package/src/navigation/TreeItem.ts +19 -0
  121. package/src/navigation/TreeView.ts +24 -0
  122. package/src/navigation/index.ts +59 -0
  123. package/src/shared/MenuDivider.ts +16 -0
  124. package/src/shared/MenuItem.ts +19 -0
  125. package/src/shared/Option.ts +19 -0
  126. package/src/shared/index.ts +8 -0
@@ -0,0 +1,28 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcCombobox } from '@arclux/arc-ui';
6
+
7
+ export interface ComboboxProps {
8
+ value?: string;
9
+ placeholder?: string;
10
+ label?: string;
11
+ disabled?: boolean;
12
+ _query?: string;
13
+ _open?: string;
14
+ _activeIndex?: string;
15
+ _options?: string;
16
+ className?: string;
17
+ children?: React.ReactNode;
18
+ onArcChange?: (e: CustomEvent) => void;
19
+ }
20
+
21
+ export const Combobox = createComponent({
22
+ tagName: 'arc-combobox',
23
+ elementClass: ArcCombobox,
24
+ react: React,
25
+ events: {
26
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
27
+ },
28
+ });
@@ -0,0 +1,25 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcCopyButton } from '@arclux/arc-ui';
6
+
7
+ export interface CopyButtonProps {
8
+ value?: string;
9
+ disabled?: boolean;
10
+ _copied?: string;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ onArcCopy?: (e: CustomEvent) => void;
14
+ onClick?: (e: Event) => void;
15
+ }
16
+
17
+ export const CopyButton = createComponent({
18
+ tagName: 'arc-copy-button',
19
+ elementClass: ArcCopyButton,
20
+ react: React,
21
+ events: {
22
+ onArcCopy: 'arc-copy' as EventName<CustomEvent>,
23
+ onClick: 'click' as EventName<Event>,
24
+ },
25
+ });
@@ -0,0 +1,30 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcDatePicker } from '@arclux/arc-ui';
6
+
7
+ export interface DatePickerProps {
8
+ value?: string;
9
+ min?: string;
10
+ max?: string;
11
+ placeholder?: string;
12
+ disabled?: boolean;
13
+ label?: string;
14
+ _open?: string;
15
+ _viewMonth?: string;
16
+ _viewYear?: string;
17
+ _mode?: string;
18
+ className?: string;
19
+ children?: React.ReactNode;
20
+ onArcChange?: (e: CustomEvent) => void;
21
+ }
22
+
23
+ export const DatePicker = createComponent({
24
+ tagName: 'arc-date-picker',
25
+ elementClass: ArcDatePicker,
26
+ react: React,
27
+ events: {
28
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
29
+ },
30
+ });
@@ -0,0 +1,29 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcFileUpload } from '@arclux/arc-ui';
6
+
7
+ export interface FileUploadProps {
8
+ accept?: string;
9
+ multiple?: boolean;
10
+ maxSize?: number;
11
+ disabled?: boolean;
12
+ _files?: string;
13
+ _dragOver?: string;
14
+ _error?: string;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ onArcChange?: (e: CustomEvent) => void;
18
+ onArcRemove?: (e: CustomEvent) => void;
19
+ }
20
+
21
+ export const FileUpload = createComponent({
22
+ tagName: 'arc-file-upload',
23
+ elementClass: ArcFileUpload,
24
+ react: React,
25
+ events: {
26
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
27
+ onArcRemove: 'arc-remove' as EventName<CustomEvent>,
28
+ },
29
+ });
@@ -0,0 +1,25 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcForm } from '@arclux/arc-ui';
6
+
7
+ export interface FormProps {
8
+ action?: string;
9
+ method?: string;
10
+ novalidate?: boolean;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ onArcInvalid?: (e: CustomEvent) => void;
14
+ onArcSubmit?: (e: CustomEvent) => void;
15
+ }
16
+
17
+ export const Form = createComponent({
18
+ tagName: 'arc-form',
19
+ elementClass: ArcForm,
20
+ react: React,
21
+ events: {
22
+ onArcInvalid: 'arc-invalid' as EventName<CustomEvent>,
23
+ onArcSubmit: 'arc-submit' as EventName<CustomEvent>,
24
+ },
25
+ });
@@ -0,0 +1,28 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcIconButton } from '@arclux/arc-ui';
6
+
7
+ export interface IconButtonProps {
8
+ name?: string;
9
+ text?: string;
10
+ variant?: 'ghost' | 'secondary' | 'primary';
11
+ size?: 'xs' | 'sm' | 'md' | 'lg';
12
+ label?: string;
13
+ href?: string;
14
+ disabled?: boolean;
15
+ type?: string;
16
+ className?: string;
17
+ children?: React.ReactNode;
18
+ onClick?: (e: Event) => void;
19
+ }
20
+
21
+ export const IconButton = createComponent({
22
+ tagName: 'arc-icon-button',
23
+ elementClass: ArcIconButton,
24
+ react: React,
25
+ events: {
26
+ onClick: 'click' as EventName<Event>,
27
+ },
28
+ });
@@ -0,0 +1,31 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcInput } from '@arclux/arc-ui';
6
+
7
+ export interface InputProps {
8
+ type?: string;
9
+ name?: string;
10
+ label?: string;
11
+ placeholder?: string;
12
+ value?: string;
13
+ disabled?: boolean;
14
+ required?: boolean;
15
+ multiline?: boolean;
16
+ rows?: number;
17
+ className?: string;
18
+ children?: React.ReactNode;
19
+ onArcInput?: (e: CustomEvent) => void;
20
+ onArcChange?: (e: CustomEvent) => void;
21
+ }
22
+
23
+ export const Input = createComponent({
24
+ tagName: 'arc-input',
25
+ elementClass: ArcInput,
26
+ react: React,
27
+ events: {
28
+ onArcInput: 'arc-input' as EventName<CustomEvent>,
29
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
30
+ },
31
+ });
@@ -0,0 +1,30 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcMultiSelect } from '@arclux/arc-ui';
6
+
7
+ export interface MultiSelectProps {
8
+ value?: unknown[];
9
+ placeholder?: string;
10
+ label?: string;
11
+ disabled?: boolean;
12
+ _query?: string;
13
+ _open?: string;
14
+ _activeIndex?: string;
15
+ _options?: string;
16
+ className?: string;
17
+ children?: React.ReactNode;
18
+ onArcChange?: (e: CustomEvent) => void;
19
+ onClick?: (e: Event) => void;
20
+ }
21
+
22
+ export const MultiSelect = createComponent({
23
+ tagName: 'arc-multi-select',
24
+ elementClass: ArcMultiSelect,
25
+ react: React,
26
+ events: {
27
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
28
+ onClick: 'click' as EventName<Event>,
29
+ },
30
+ });
@@ -0,0 +1,28 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcNumberInput } from '@arclux/arc-ui';
6
+
7
+ export interface NumberInputProps {
8
+ value?: number;
9
+ min?: number;
10
+ max?: number;
11
+ step?: number;
12
+ label?: string;
13
+ disabled?: boolean;
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ onArcChange?: (e: CustomEvent) => void;
17
+ onClick?: (e: Event) => void;
18
+ }
19
+
20
+ export const NumberInput = createComponent({
21
+ tagName: 'arc-number-input',
22
+ elementClass: ArcNumberInput,
23
+ react: React,
24
+ events: {
25
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
26
+ onClick: 'click' as EventName<Event>,
27
+ },
28
+ });
@@ -0,0 +1,24 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcOtpInput } from '@arclux/arc-ui';
6
+
7
+ export interface OtpInputProps {
8
+ length?: number;
9
+ value?: string;
10
+ disabled?: boolean;
11
+ type?: string;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ onArcChange?: (e: CustomEvent) => void;
15
+ }
16
+
17
+ export const OtpInput = createComponent({
18
+ tagName: 'arc-otp-input',
19
+ elementClass: ArcOtpInput,
20
+ react: React,
21
+ events: {
22
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
23
+ },
24
+ });
@@ -0,0 +1,29 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcPinInput } from '@arclux/arc-ui';
6
+
7
+ export interface PinInputProps {
8
+ length?: number;
9
+ value?: string;
10
+ disabled?: boolean;
11
+ mask?: boolean;
12
+ type?: string;
13
+ separator?: number;
14
+ label?: string;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ onArcChange?: (e: CustomEvent) => void;
18
+ onArcComplete?: (e: CustomEvent) => void;
19
+ }
20
+
21
+ export const PinInput = createComponent({
22
+ tagName: 'arc-pin-input',
23
+ elementClass: ArcPinInput,
24
+ react: React,
25
+ events: {
26
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
27
+ onArcComplete: 'arc-complete' as EventName<CustomEvent>,
28
+ },
29
+ });
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcRadio } from '@arclux/arc-ui';
6
+
7
+ export interface RadioProps {
8
+ value?: string;
9
+ disabled?: boolean;
10
+ className?: string;
11
+ children?: React.ReactNode;
12
+ }
13
+
14
+ export const Radio = createComponent({
15
+ tagName: 'arc-radio',
16
+ elementClass: ArcRadio,
17
+ react: React,
18
+ });
@@ -0,0 +1,25 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcRadioGroup } from '@arclux/arc-ui';
6
+
7
+ export interface RadioGroupProps {
8
+ value?: string;
9
+ name?: string;
10
+ disabled?: boolean;
11
+ orientation?: 'horizontal';
12
+ _radios?: string;
13
+ className?: string;
14
+ children?: React.ReactNode;
15
+ onArcChange?: (e: CustomEvent) => void;
16
+ }
17
+
18
+ export const RadioGroup = createComponent({
19
+ tagName: 'arc-radio-group',
20
+ elementClass: ArcRadioGroup,
21
+ react: React,
22
+ events: {
23
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
24
+ },
25
+ });
@@ -0,0 +1,24 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcRating } from '@arclux/arc-ui';
6
+
7
+ export interface RatingProps {
8
+ value?: number;
9
+ max?: number;
10
+ disabled?: boolean;
11
+ readonly?: boolean;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ onArcChange?: (e: CustomEvent) => void;
15
+ }
16
+
17
+ export const Rating = createComponent({
18
+ tagName: 'arc-rating',
19
+ elementClass: ArcRating,
20
+ react: React,
21
+ events: {
22
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
23
+ },
24
+ });
@@ -0,0 +1,34 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcSearch } from '@arclux/arc-ui';
6
+
7
+ export interface SearchProps {
8
+ value?: string;
9
+ placeholder?: string;
10
+ label?: string;
11
+ disabled?: boolean;
12
+ loading?: boolean;
13
+ _open?: string;
14
+ _activeIndex?: string;
15
+ _suggestions?: string;
16
+ className?: string;
17
+ children?: React.ReactNode;
18
+ onArcInput?: (e: CustomEvent) => void;
19
+ onArcClear?: (e: CustomEvent) => void;
20
+ onArcChange?: (e: CustomEvent) => void;
21
+ onArcSelect?: (e: CustomEvent) => void;
22
+ }
23
+
24
+ export const Search = createComponent({
25
+ tagName: 'arc-search',
26
+ elementClass: ArcSearch,
27
+ react: React,
28
+ events: {
29
+ onArcInput: 'arc-input' as EventName<CustomEvent>,
30
+ onArcClear: 'arc-clear' as EventName<CustomEvent>,
31
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
32
+ onArcSelect: 'arc-select' as EventName<CustomEvent>,
33
+ },
34
+ });
@@ -0,0 +1,25 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcSegmentedControl } from '@arclux/arc-ui';
6
+
7
+ export interface SegmentedControlProps {
8
+ value?: string;
9
+ disabled?: boolean;
10
+ _options?: string;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ onArcChange?: (e: CustomEvent) => void;
14
+ onClick?: (e: Event) => void;
15
+ }
16
+
17
+ export const SegmentedControl = createComponent({
18
+ tagName: 'arc-segmented-control',
19
+ elementClass: ArcSegmentedControl,
20
+ react: React,
21
+ events: {
22
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
23
+ onClick: 'click' as EventName<Event>,
24
+ },
25
+ });
@@ -0,0 +1,29 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcSelect } from '@arclux/arc-ui';
6
+
7
+ export interface SelectProps {
8
+ value?: string;
9
+ placeholder?: string;
10
+ label?: string;
11
+ name?: string;
12
+ disabled?: boolean;
13
+ open?: boolean;
14
+ _options?: string;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ onArcChange?: (e: CustomEvent) => void;
18
+ onClick?: (e: Event) => void;
19
+ }
20
+
21
+ export const Select = createComponent({
22
+ tagName: 'arc-select',
23
+ elementClass: ArcSelect,
24
+ react: React,
25
+ events: {
26
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
27
+ onClick: 'click' as EventName<Event>,
28
+ },
29
+ });
@@ -0,0 +1,28 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcSlider } from '@arclux/arc-ui';
6
+
7
+ export interface SliderProps {
8
+ value?: number;
9
+ min?: number;
10
+ max?: number;
11
+ step?: number;
12
+ disabled?: boolean;
13
+ label?: string;
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ onArcInput?: (e: CustomEvent) => void;
17
+ onArcChange?: (e: CustomEvent) => void;
18
+ }
19
+
20
+ export const Slider = createComponent({
21
+ tagName: 'arc-slider',
22
+ elementClass: ArcSlider,
23
+ react: React,
24
+ events: {
25
+ onArcInput: 'arc-input' as EventName<CustomEvent>,
26
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
27
+ },
28
+ });
@@ -0,0 +1,26 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcSortableList } from '@arclux/arc-ui';
6
+
7
+ export interface SortableListProps {
8
+ disabled?: boolean;
9
+ _items?: string;
10
+ _dragIndex?: string;
11
+ _overIndex?: string;
12
+ _kbSelected?: string;
13
+ _kbMoving?: string;
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ onArcChange?: (e: CustomEvent) => void;
17
+ }
18
+
19
+ export const SortableList = createComponent({
20
+ tagName: 'arc-sortable-list',
21
+ elementClass: ArcSortableList,
22
+ react: React,
23
+ events: {
24
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
25
+ },
26
+ });
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcSuggestion } from '@arclux/arc-ui';
6
+
7
+ export interface SuggestionProps {
8
+ value?: string;
9
+ className?: string;
10
+ children?: React.ReactNode;
11
+ }
12
+
13
+ export const Suggestion = createComponent({
14
+ tagName: 'arc-suggestion',
15
+ elementClass: ArcSuggestion,
16
+ react: React,
17
+ });
@@ -0,0 +1,31 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcTextarea } from '@arclux/arc-ui';
6
+
7
+ export interface TextareaProps {
8
+ value?: string;
9
+ placeholder?: string;
10
+ label?: string;
11
+ rows?: number;
12
+ maxlength?: number;
13
+ disabled?: boolean;
14
+ readonly?: boolean;
15
+ resize?: 'none' | 'vertical' | 'horizontal' | 'both';
16
+ error?: string;
17
+ className?: string;
18
+ children?: React.ReactNode;
19
+ onArcInput?: (e: CustomEvent) => void;
20
+ onArcChange?: (e: CustomEvent) => void;
21
+ }
22
+
23
+ export const Textarea = createComponent({
24
+ tagName: 'arc-textarea',
25
+ elementClass: ArcTextarea,
26
+ react: React,
27
+ events: {
28
+ onArcInput: 'arc-input' as EventName<CustomEvent>,
29
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
30
+ },
31
+ });
@@ -0,0 +1,25 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcThemeToggle } from '@arclux/arc-ui';
6
+
7
+ export interface ThemeToggleProps {
8
+ theme?: string;
9
+ disabled?: boolean;
10
+ iconOnly?: boolean;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ onArcChange?: (e: CustomEvent) => void;
14
+ onClick?: (e: Event) => void;
15
+ }
16
+
17
+ export const ThemeToggle = createComponent({
18
+ tagName: 'arc-theme-toggle',
19
+ elementClass: ArcThemeToggle,
20
+ react: React,
21
+ events: {
22
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
23
+ onClick: 'click' as EventName<Event>,
24
+ },
25
+ });
@@ -0,0 +1,24 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcToggle } from '@arclux/arc-ui';
6
+
7
+ export interface ToggleProps {
8
+ checked?: boolean;
9
+ disabled?: boolean;
10
+ label?: string;
11
+ name?: string;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ onArcChange?: (e: CustomEvent) => void;
15
+ }
16
+
17
+ export const Toggle = createComponent({
18
+ tagName: 'arc-toggle',
19
+ elementClass: ArcToggle,
20
+ react: React,
21
+ events: {
22
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
23
+ },
24
+ });