@arclux/arc-ui-react 2.0.1 → 2.2.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 (215) hide show
  1. package/package.json +10 -2
  2. package/src/content/Accordion.ts +1 -3
  3. package/src/content/AccordionItem.ts +1 -1
  4. package/src/content/AspectRatio.ts +1 -1
  5. package/src/content/Avatar.ts +1 -2
  6. package/src/content/AvatarGroup.ts +1 -1
  7. package/src/content/Callout.ts +1 -2
  8. package/src/content/Card.ts +1 -2
  9. package/src/content/Carousel.ts +1 -3
  10. package/src/content/Collapsible.ts +1 -1
  11. package/src/content/ColorSwatch.ts +1 -1
  12. package/src/content/Column.ts +1 -1
  13. package/src/content/CtaBanner.ts +1 -1
  14. package/src/content/Divider.ts +1 -1
  15. package/src/content/EmptyState.ts +1 -1
  16. package/src/content/FeatureCard.ts +1 -1
  17. package/src/content/Icon.ts +1 -2
  18. package/src/content/Image.ts +1 -2
  19. package/src/content/InfiniteScroll.ts +1 -1
  20. package/src/content/Marquee.ts +1 -2
  21. package/src/content/{Stat.ts → QrCode.ts} +9 -7
  22. package/src/content/ScrollArea.ts +1 -1
  23. package/src/content/ScrollIndicator.ts +1 -2
  24. package/src/content/Separator.ts +1 -1
  25. package/src/content/Skeleton.ts +1 -1
  26. package/src/content/Spinner.ts +1 -1
  27. package/src/content/Stack.ts +1 -1
  28. package/src/content/VirtualList.ts +1 -3
  29. package/src/content/index.ts +18 -82
  30. package/src/data/AnimatedNumber.ts +1 -1
  31. package/src/data/Badge.ts +1 -1
  32. package/src/data/Chart.ts +29 -0
  33. package/src/data/Comparison.ts +1 -2
  34. package/src/data/ComparisonColumn.ts +1 -1
  35. package/src/data/CountdownTimer.ts +1 -6
  36. package/src/data/DataGrid.ts +31 -0
  37. package/src/data/DataTable.ts +1 -5
  38. package/src/data/DescriptionItem.ts +1 -1
  39. package/src/data/DescriptionList.ts +1 -1
  40. package/src/data/Diff.ts +1 -1
  41. package/src/data/EventCalendar.ts +29 -0
  42. package/src/data/Kanban.ts +24 -0
  43. package/src/data/KeyValue.ts +1 -1
  44. package/src/data/KvPair.ts +1 -1
  45. package/src/data/List.ts +1 -2
  46. package/src/data/ListItem.ts +1 -4
  47. package/src/data/Meter.ts +1 -1
  48. package/src/data/Sparkline.ts +1 -1
  49. package/src/data/Stat.ts +1 -1
  50. package/src/data/Step.ts +1 -1
  51. package/src/data/Stepper.ts +1 -2
  52. package/src/data/Table.ts +1 -1
  53. package/src/data/Tag.ts +1 -1
  54. package/src/data/Timeline.ts +1 -2
  55. package/src/data/TimelineItem.ts +1 -1
  56. package/src/data/ValueCard.ts +1 -1
  57. package/src/data/index.ts +70 -0
  58. package/src/feedback/Alert.ts +1 -1
  59. package/src/feedback/Announcement.ts +1 -1
  60. package/src/feedback/Banner.ts +1 -1
  61. package/src/feedback/CommandItem.ts +1 -1
  62. package/src/feedback/CommandPalette.ts +1 -3
  63. package/src/feedback/Confirm.ts +1 -1
  64. package/src/feedback/ConnectionStatus.ts +1 -3
  65. package/src/feedback/ContextMenu.ts +1 -5
  66. package/src/feedback/Dialog.ts +1 -1
  67. package/src/feedback/DropdownMenu.ts +1 -2
  68. package/src/feedback/GuidedTour.ts +1 -3
  69. package/src/feedback/HoverCard.ts +1 -2
  70. package/src/feedback/InlineMessage.ts +1 -1
  71. package/src/feedback/LoadingOverlay.ts +1 -1
  72. package/src/feedback/Modal.ts +1 -1
  73. package/src/feedback/NotificationPanel.ts +1 -1
  74. package/src/feedback/Popover.ts +1 -1
  75. package/src/feedback/Progress.ts +1 -1
  76. package/src/feedback/ProgressToast.ts +1 -2
  77. package/src/feedback/Sheet.ts +1 -1
  78. package/src/feedback/Snackbar.ts +1 -2
  79. package/src/feedback/Spotlight.ts +1 -1
  80. package/src/feedback/Toast.ts +1 -2
  81. package/src/feedback/ToastManager.ts +29 -0
  82. package/src/feedback/Tooltip.ts +1 -2
  83. package/src/feedback/index.ts +30 -34
  84. package/src/index.ts +242 -217
  85. package/src/input/Button.ts +1 -3
  86. package/src/input/ButtonGroup.ts +1 -1
  87. package/src/input/Calendar.ts +1 -2
  88. package/src/input/Checkbox.ts +1 -1
  89. package/src/input/Chip.ts +1 -1
  90. package/src/input/ColorPicker.ts +2 -7
  91. package/src/input/Combobox.ts +2 -5
  92. package/src/input/CopyButton.ts +1 -2
  93. package/src/input/DatePicker.ts +2 -5
  94. package/src/input/DateRangePicker.ts +31 -0
  95. package/src/input/Fieldset.ts +1 -3
  96. package/src/input/FileUpload.ts +1 -4
  97. package/src/input/Form.ts +1 -2
  98. package/src/input/Hotkey.ts +1 -1
  99. package/src/input/IconButton.ts +1 -1
  100. package/src/input/ImageCropper.ts +24 -0
  101. package/src/input/Input.ts +1 -3
  102. package/src/input/InputGroup.ts +1 -3
  103. package/src/input/Label.ts +1 -3
  104. package/src/input/MultiSelect.ts +2 -5
  105. package/src/input/NumberInput.ts +2 -1
  106. package/src/input/OtpInput.ts +2 -1
  107. package/src/input/PasswordInput.ts +36 -0
  108. package/src/input/PinInput.ts +2 -1
  109. package/src/input/Radio.ts +1 -1
  110. package/src/input/RadioGroup.ts +1 -2
  111. package/src/input/RangeSlider.ts +2 -2
  112. package/src/input/Rating.ts +2 -1
  113. package/src/input/Search.ts +1 -4
  114. package/src/input/SegmentedControl.ts +1 -2
  115. package/src/input/Select.ts +1 -2
  116. package/src/input/Slider.ts +2 -1
  117. package/src/input/SortableList.ts +1 -6
  118. package/src/input/Suggestion.ts +1 -1
  119. package/src/input/SwitchGroup.ts +1 -1
  120. package/src/input/TagInput.ts +32 -0
  121. package/src/input/Textarea.ts +1 -1
  122. package/src/input/ThemeToggle.ts +1 -1
  123. package/src/input/TimePicker.ts +2 -6
  124. package/src/input/Toggle.ts +1 -1
  125. package/src/input/TransferList.ts +27 -0
  126. package/src/input/index.ts +32 -36
  127. package/src/layout/AppShell.ts +1 -3
  128. package/src/layout/AspectGrid.ts +1 -1
  129. package/src/layout/AuthShell.ts +1 -1
  130. package/src/layout/Center.ts +1 -1
  131. package/src/layout/Cluster.ts +1 -1
  132. package/src/layout/Container.ts +1 -1
  133. package/src/layout/DashboardGrid.ts +1 -1
  134. package/src/layout/Dock.ts +1 -2
  135. package/src/layout/FloatBar.ts +1 -1
  136. package/src/layout/Inset.ts +1 -1
  137. package/src/layout/Masonry.ts +1 -1
  138. package/src/layout/PageHeader.ts +1 -1
  139. package/src/layout/PageLayout.ts +1 -1
  140. package/src/layout/Resizable.ts +1 -2
  141. package/src/layout/ResponsiveSwitcher.ts +1 -1
  142. package/src/layout/Section.ts +1 -1
  143. package/src/layout/SettingsLayout.ts +1 -1
  144. package/src/layout/SplitPane.ts +1 -1
  145. package/src/layout/StatusBar.ts +1 -1
  146. package/src/layout/Sticky.ts +1 -2
  147. package/src/layout/Toolbar.ts +6 -1
  148. package/src/layout/index.ts +28 -29
  149. package/src/navigation/AnchorNav.ts +1 -1
  150. package/src/navigation/BottomNav.ts +1 -1
  151. package/src/navigation/Breadcrumb.ts +1 -2
  152. package/src/navigation/BreadcrumbItem.ts +1 -1
  153. package/src/navigation/BreadcrumbMenu.ts +1 -2
  154. package/src/navigation/CommandBar.ts +1 -1
  155. package/src/navigation/Drawer.ts +1 -1
  156. package/src/navigation/Footer.ts +1 -1
  157. package/src/navigation/Link.ts +1 -1
  158. package/src/navigation/Menubar.ts +23 -0
  159. package/src/navigation/NavItem.ts +1 -1
  160. package/src/navigation/NavigationMenu.ts +1 -6
  161. package/src/navigation/PageIndicator.ts +1 -1
  162. package/src/navigation/Pagination.ts +1 -1
  163. package/src/navigation/Rail.ts +1 -1
  164. package/src/navigation/ScrollSpy.ts +1 -3
  165. package/src/navigation/ScrollToTop.ts +1 -2
  166. package/src/navigation/Sidebar.ts +1 -2
  167. package/src/navigation/SidebarLink.ts +1 -1
  168. package/src/navigation/SidebarSection.ts +1 -1
  169. package/src/navigation/SkipLink.ts +1 -1
  170. package/src/navigation/SpeedDial.ts +1 -1
  171. package/src/navigation/SpyLink.ts +1 -1
  172. package/src/navigation/StepperNav.ts +1 -1
  173. package/src/navigation/Tab.ts +1 -1
  174. package/src/navigation/Tabs.ts +1 -2
  175. package/src/navigation/TopBar.ts +1 -1
  176. package/src/navigation/TreeItem.ts +1 -1
  177. package/src/navigation/TreeView.ts +1 -3
  178. package/src/navigation/index.ts +31 -35
  179. package/src/shared/MenuDivider.ts +1 -1
  180. package/src/shared/MenuItem.ts +1 -1
  181. package/src/shared/Option.ts +1 -1
  182. package/src/shared/index.ts +6 -4
  183. package/src/typography/Blockquote.ts +1 -1
  184. package/src/typography/CodeBlock.ts +1 -2
  185. package/src/typography/GradientText.ts +1 -1
  186. package/src/typography/Highlight.ts +1 -1
  187. package/src/typography/Kbd.ts +1 -1
  188. package/src/typography/Markdown.ts +1 -1
  189. package/src/typography/NumberFormat.ts +1 -1
  190. package/src/typography/Prose.ts +1 -1
  191. package/src/typography/Text.ts +1 -1
  192. package/src/typography/TimeAgo.ts +1 -1
  193. package/src/typography/Truncate.ts +1 -1
  194. package/src/typography/Typewriter.ts +2 -3
  195. package/src/typography/index.ts +34 -0
  196. package/src/content/AnimatedNumber.ts +0 -23
  197. package/src/content/Badge.ts +0 -19
  198. package/src/content/CodeBlock.ts +0 -21
  199. package/src/content/DataTable.ts +0 -35
  200. package/src/content/Highlight.ts +0 -19
  201. package/src/content/IconLibrary.ts +0 -16
  202. package/src/content/Kbd.ts +0 -16
  203. package/src/content/List.ts +0 -28
  204. package/src/content/ListItem.ts +0 -27
  205. package/src/content/Markdown.ts +0 -17
  206. package/src/content/Meter.ts +0 -23
  207. package/src/content/Step.ts +0 -17
  208. package/src/content/Stepper.ts +0 -18
  209. package/src/content/Table.ts +0 -20
  210. package/src/content/Tag.ts +0 -25
  211. package/src/content/Text.ts +0 -18
  212. package/src/content/Timeline.ts +0 -17
  213. package/src/content/TimelineItem.ts +0 -18
  214. package/src/content/Truncate.ts +0 -22
  215. package/src/content/ValueCard.ts +0 -19
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcButton } from '@arclux/arc-ui';
5
+ import { ArcButton } from '@arclux/arc-ui/button';
6
6
 
7
7
  export interface ButtonProps {
8
8
  variant?: 'primary' | 'secondary' | 'ghost';
@@ -11,8 +11,6 @@ export interface ButtonProps {
11
11
  disabled?: boolean;
12
12
  loading?: boolean;
13
13
  type?: string;
14
- _hasPrefix?: string;
15
- _hasSuffix?: string;
16
14
  className?: string;
17
15
  children?: React.ReactNode;
18
16
  onClick?: (e: Event) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcButtonGroup } from '@arclux/arc-ui';
5
+ import { ArcButtonGroup } from '@arclux/arc-ui/button-group';
6
6
 
7
7
  export interface ButtonGroupProps {
8
8
  orientation?: 'vertical';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCalendar } from '@arclux/arc-ui';
5
+ import { ArcCalendar } from '@arclux/arc-ui/calendar';
6
6
 
7
7
  export interface CalendarProps {
8
8
  value?: string;
@@ -10,7 +10,6 @@ export interface CalendarProps {
10
10
  max?: string;
11
11
  month?: number;
12
12
  year?: number;
13
- _focusedDay?: string;
14
13
  className?: string;
15
14
  children?: React.ReactNode;
16
15
  onArcNavigate?: (e: CustomEvent) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCheckbox } from '@arclux/arc-ui';
5
+ import { ArcCheckbox } from '@arclux/arc-ui/checkbox';
6
6
 
7
7
  export interface CheckboxProps {
8
8
  checked?: boolean;
package/src/input/Chip.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcChip } from '@arclux/arc-ui';
5
+ import { ArcChip } from '@arclux/arc-ui/chip';
6
6
 
7
7
  export interface ChipProps {
8
8
  selected?: boolean;
@@ -2,19 +2,14 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcColorPicker } from '@arclux/arc-ui';
5
+ import { ArcColorPicker } from '@arclux/arc-ui/color-picker';
6
6
 
7
7
  export interface ColorPickerProps {
8
8
  value?: string;
9
+ name?: string;
9
10
  presets?: unknown[];
10
11
  disabled?: boolean;
11
12
  label?: string;
12
- _hue?: string;
13
- _sat?: string;
14
- _lit?: string;
15
- _hexInput?: string;
16
- _draggingArea?: string;
17
- _draggingHue?: string;
18
13
  className?: string;
19
14
  children?: React.ReactNode;
20
15
  onArcChange?: (e: CustomEvent) => void;
@@ -2,17 +2,14 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCombobox } from '@arclux/arc-ui';
5
+ import { ArcCombobox } from '@arclux/arc-ui/combobox';
6
6
 
7
7
  export interface ComboboxProps {
8
8
  value?: string;
9
9
  placeholder?: string;
10
10
  label?: string;
11
+ name?: string;
11
12
  disabled?: boolean;
12
- _query?: string;
13
- _open?: string;
14
- _activeIndex?: string;
15
- _options?: string;
16
13
  className?: string;
17
14
  children?: React.ReactNode;
18
15
  onArcChange?: (e: CustomEvent) => void;
@@ -2,12 +2,11 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCopyButton } from '@arclux/arc-ui';
5
+ import { ArcCopyButton } from '@arclux/arc-ui/copy-button';
6
6
 
7
7
  export interface CopyButtonProps {
8
8
  value?: string;
9
9
  disabled?: boolean;
10
- _copied?: string;
11
10
  className?: string;
12
11
  children?: React.ReactNode;
13
12
  onArcCopy?: (e: CustomEvent) => void;
@@ -2,19 +2,16 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcDatePicker } from '@arclux/arc-ui';
5
+ import { ArcDatePicker } from '@arclux/arc-ui/date-picker';
6
6
 
7
7
  export interface DatePickerProps {
8
8
  value?: string;
9
+ name?: string;
9
10
  min?: string;
10
11
  max?: string;
11
12
  placeholder?: string;
12
13
  disabled?: boolean;
13
14
  label?: string;
14
- _open?: string;
15
- _viewMonth?: string;
16
- _viewYear?: string;
17
- _mode?: string;
18
15
  className?: string;
19
16
  children?: React.ReactNode;
20
17
  onArcChange?: (e: CustomEvent) => void;
@@ -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 { ArcDateRangePicker } from '@arclux/arc-ui/date-range-picker';
6
+
7
+ export interface DateRangePickerProps {
8
+ start?: string;
9
+ end?: string;
10
+ name?: string;
11
+ min?: string;
12
+ max?: string;
13
+ months?: number;
14
+ presets?: unknown[];
15
+ placeholder?: string;
16
+ disabled?: boolean;
17
+ required?: boolean;
18
+ label?: string;
19
+ className?: string;
20
+ children?: React.ReactNode;
21
+ onArcChange?: (e: CustomEvent) => void;
22
+ }
23
+
24
+ export const DateRangePicker = createComponent({
25
+ tagName: 'arc-date-range-picker',
26
+ elementClass: ArcDateRangePicker,
27
+ react: React,
28
+ events: {
29
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
30
+ },
31
+ });
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcFieldset } from '@arclux/arc-ui';
5
+ import { ArcFieldset } from '@arclux/arc-ui/fieldset';
6
6
 
7
7
  export interface FieldsetProps {
8
8
  legend?: string;
@@ -10,8 +10,6 @@ export interface FieldsetProps {
10
10
  disabled?: boolean;
11
11
  error?: string;
12
12
  variant?: 'card';
13
- _hasLegend?: string;
14
- _hasActions?: string;
15
13
  className?: string;
16
14
  children?: React.ReactNode;
17
15
  }
@@ -2,16 +2,13 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcFileUpload } from '@arclux/arc-ui';
5
+ import { ArcFileUpload } from '@arclux/arc-ui/file-upload';
6
6
 
7
7
  export interface FileUploadProps {
8
8
  accept?: string;
9
9
  multiple?: boolean;
10
10
  maxSize?: number;
11
11
  disabled?: boolean;
12
- _files?: string;
13
- _dragOver?: string;
14
- _error?: string;
15
12
  className?: string;
16
13
  children?: React.ReactNode;
17
14
  onArcChange?: (e: CustomEvent) => void;
package/src/input/Form.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcForm } from '@arclux/arc-ui';
5
+ import { ArcForm } from '@arclux/arc-ui/form';
6
6
 
7
7
  export interface FormProps {
8
8
  action?: string;
@@ -11,7 +11,6 @@ export interface FormProps {
11
11
  loading?: boolean;
12
12
  disabled?: boolean;
13
13
  errorSummary?: boolean;
14
- _errors?: string;
15
14
  className?: string;
16
15
  children?: React.ReactNode;
17
16
  onArcInvalid?: (e: CustomEvent) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcHotkey } from '@arclux/arc-ui';
5
+ import { ArcHotkey } from '@arclux/arc-ui/hotkey';
6
6
 
7
7
  export interface HotkeyProps {
8
8
  keys?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcIconButton } from '@arclux/arc-ui';
5
+ import { ArcIconButton } from '@arclux/arc-ui/icon-button';
6
6
 
7
7
  export interface IconButtonProps {
8
8
  name?: string;
@@ -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 { ArcImageCropper } from '@arclux/arc-ui/image-cropper';
6
+
7
+ export interface ImageCropperProps {
8
+ src?: string;
9
+ height?: number;
10
+ aspect?: number;
11
+ zoom?: number;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ onArcCropChange?: (e: CustomEvent) => void;
15
+ }
16
+
17
+ export const ImageCropper = createComponent({
18
+ tagName: 'arc-image-cropper',
19
+ elementClass: ArcImageCropper,
20
+ react: React,
21
+ events: {
22
+ onArcCropChange: 'arc-crop-change' as EventName<CustomEvent>,
23
+ },
24
+ });
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcInput } from '@arclux/arc-ui';
5
+ import { ArcInput } from '@arclux/arc-ui/input';
6
6
 
7
7
  export interface InputProps {
8
8
  type?: string;
@@ -16,8 +16,6 @@ export interface InputProps {
16
16
  size?: 'sm' | 'lg';
17
17
  multiline?: boolean;
18
18
  rows?: number;
19
- _hasPrefix?: string;
20
- _hasSuffix?: string;
21
19
  className?: string;
22
20
  children?: React.ReactNode;
23
21
  onArcInput?: (e: CustomEvent) => void;
@@ -2,12 +2,10 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcInputGroup } from '@arclux/arc-ui';
5
+ import { ArcInputGroup } from '@arclux/arc-ui/input-group';
6
6
 
7
7
  export interface InputGroupProps {
8
8
  size?: 'sm' | 'lg';
9
- _hasPrefix?: string;
10
- _hasSuffix?: string;
11
9
  className?: string;
12
10
  children?: React.ReactNode;
13
11
  }
@@ -2,15 +2,13 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcLabel } from '@arclux/arc-ui';
5
+ import { ArcLabel } from '@arclux/arc-ui/label';
6
6
 
7
7
  export interface LabelProps {
8
8
  for?: string;
9
9
  required?: boolean;
10
10
  size?: 'sm' | 'lg';
11
11
  disabled?: boolean;
12
- _hasDescription?: string;
13
- _hasTooltip?: string;
14
12
  className?: string;
15
13
  children?: React.ReactNode;
16
14
  }
@@ -2,17 +2,14 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcMultiSelect } from '@arclux/arc-ui';
5
+ import { ArcMultiSelect } from '@arclux/arc-ui/multi-select';
6
6
 
7
7
  export interface MultiSelectProps {
8
8
  value?: unknown[];
9
9
  placeholder?: string;
10
10
  label?: string;
11
+ name?: string;
11
12
  disabled?: boolean;
12
- _query?: string;
13
- _open?: string;
14
- _activeIndex?: string;
15
- _options?: string;
16
13
  className?: string;
17
14
  children?: React.ReactNode;
18
15
  onArcChange?: (e: CustomEvent) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcNumberInput } from '@arclux/arc-ui';
5
+ import { ArcNumberInput } from '@arclux/arc-ui/number-input';
6
6
 
7
7
  export interface NumberInputProps {
8
8
  value?: number;
@@ -10,6 +10,7 @@ export interface NumberInputProps {
10
10
  max?: number;
11
11
  step?: number;
12
12
  label?: string;
13
+ name?: string;
13
14
  disabled?: boolean;
14
15
  className?: string;
15
16
  children?: React.ReactNode;
@@ -2,11 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcOtpInput } from '@arclux/arc-ui';
5
+ import { ArcOtpInput } from '@arclux/arc-ui/otp-input';
6
6
 
7
7
  export interface OtpInputProps {
8
8
  length?: number;
9
9
  value?: string;
10
+ name?: string;
10
11
  disabled?: boolean;
11
12
  type?: string;
12
13
  className?: string;
@@ -0,0 +1,36 @@
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 { ArcPasswordInput } from '@arclux/arc-ui/password-input';
6
+
7
+ export interface PasswordInputProps {
8
+ name?: string;
9
+ label?: string;
10
+ placeholder?: string;
11
+ value?: string;
12
+ disabled?: boolean;
13
+ required?: boolean;
14
+ error?: string;
15
+ size?: 'sm' | 'lg';
16
+ autocomplete?: string;
17
+ showStrength?: boolean;
18
+ className?: string;
19
+ children?: React.ReactNode;
20
+ onArcStrengthChange?: (e: CustomEvent) => void;
21
+ onArcInput?: (e: CustomEvent) => void;
22
+ onArcChange?: (e: CustomEvent) => void;
23
+ onClick?: (e: Event) => void;
24
+ }
25
+
26
+ export const PasswordInput = createComponent({
27
+ tagName: 'arc-password-input',
28
+ elementClass: ArcPasswordInput,
29
+ react: React,
30
+ events: {
31
+ onArcStrengthChange: 'arc-strength-change' as EventName<CustomEvent>,
32
+ onArcInput: 'arc-input' as EventName<CustomEvent>,
33
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
34
+ onClick: 'click' as EventName<Event>,
35
+ },
36
+ });
@@ -2,11 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcPinInput } from '@arclux/arc-ui';
5
+ import { ArcPinInput } from '@arclux/arc-ui/pin-input';
6
6
 
7
7
  export interface PinInputProps {
8
8
  length?: number;
9
9
  value?: string;
10
+ name?: string;
10
11
  disabled?: boolean;
11
12
  mask?: boolean;
12
13
  type?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcRadio } from '@arclux/arc-ui';
5
+ import { ArcRadio } from '@arclux/arc-ui/radio';
6
6
 
7
7
  export interface RadioProps {
8
8
  value?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcRadioGroup } from '@arclux/arc-ui';
5
+ import { ArcRadioGroup } from '@arclux/arc-ui/radio-group';
6
6
 
7
7
  export interface RadioGroupProps {
8
8
  value?: string;
@@ -10,7 +10,6 @@ export interface RadioGroupProps {
10
10
  disabled?: boolean;
11
11
  size?: 'sm' | 'lg';
12
12
  orientation?: 'horizontal';
13
- _radios?: string;
14
13
  className?: string;
15
14
  children?: React.ReactNode;
16
15
  onArcChange?: (e: CustomEvent) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcRangeSlider } from '@arclux/arc-ui';
5
+ import { ArcRangeSlider } from '@arclux/arc-ui/range-slider';
6
6
 
7
7
  export interface RangeSliderProps {
8
8
  min?: number;
@@ -10,10 +10,10 @@ export interface RangeSliderProps {
10
10
  step?: number;
11
11
  low?: number;
12
12
  high?: number;
13
+ name?: string;
13
14
  disabled?: boolean;
14
15
  label?: string;
15
16
  showValues?: boolean;
16
- _dragging?: string;
17
17
  className?: string;
18
18
  children?: React.ReactNode;
19
19
  onArcInput?: (e: CustomEvent) => void;
@@ -2,11 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcRating } from '@arclux/arc-ui';
5
+ import { ArcRating } from '@arclux/arc-ui/rating';
6
6
 
7
7
  export interface RatingProps {
8
8
  value?: number;
9
9
  max?: number;
10
+ name?: string;
10
11
  disabled?: boolean;
11
12
  readonly?: boolean;
12
13
  className?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSearch } from '@arclux/arc-ui';
5
+ import { ArcSearch } from '@arclux/arc-ui/search';
6
6
 
7
7
  export interface SearchProps {
8
8
  value?: string;
@@ -10,9 +10,6 @@ export interface SearchProps {
10
10
  label?: string;
11
11
  disabled?: boolean;
12
12
  loading?: boolean;
13
- _open?: string;
14
- _activeIndex?: string;
15
- _suggestions?: string;
16
13
  className?: string;
17
14
  children?: React.ReactNode;
18
15
  onArcInput?: (e: CustomEvent) => void;
@@ -2,12 +2,11 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSegmentedControl } from '@arclux/arc-ui';
5
+ import { ArcSegmentedControl } from '@arclux/arc-ui/segmented-control';
6
6
 
7
7
  export interface SegmentedControlProps {
8
8
  value?: string;
9
9
  disabled?: boolean;
10
- _options?: string;
11
10
  className?: string;
12
11
  children?: React.ReactNode;
13
12
  onArcChange?: (e: CustomEvent) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSelect } from '@arclux/arc-ui';
5
+ import { ArcSelect } from '@arclux/arc-ui/select';
6
6
 
7
7
  export interface SelectProps {
8
8
  value?: string;
@@ -13,7 +13,6 @@ export interface SelectProps {
13
13
  size?: 'sm' | 'lg';
14
14
  error?: string;
15
15
  open?: boolean;
16
- _options?: string;
17
16
  className?: string;
18
17
  children?: React.ReactNode;
19
18
  onArcChange?: (e: CustomEvent) => void;
@@ -2,13 +2,14 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSlider } from '@arclux/arc-ui';
5
+ import { ArcSlider } from '@arclux/arc-ui/slider';
6
6
 
7
7
  export interface SliderProps {
8
8
  value?: number;
9
9
  min?: number;
10
10
  max?: number;
11
11
  step?: number;
12
+ name?: string;
12
13
  disabled?: boolean;
13
14
  label?: string;
14
15
  className?: string;
@@ -2,15 +2,10 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSortableList } from '@arclux/arc-ui';
5
+ import { ArcSortableList } from '@arclux/arc-ui/sortable-list';
6
6
 
7
7
  export interface SortableListProps {
8
8
  disabled?: boolean;
9
- _items?: string;
10
- _dragIndex?: string;
11
- _overIndex?: string;
12
- _kbSelected?: string;
13
- _kbMoving?: string;
14
9
  className?: string;
15
10
  children?: React.ReactNode;
16
11
  onArcChange?: (e: CustomEvent) => void;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSuggestion } from '@arclux/arc-ui';
5
+ import { ArcSuggestion } from '@arclux/arc-ui/suggestion';
6
6
 
7
7
  export interface SuggestionProps {
8
8
  value?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSwitchGroup } from '@arclux/arc-ui';
5
+ import { ArcSwitchGroup } from '@arclux/arc-ui/switch-group';
6
6
 
7
7
  export interface SwitchGroupProps {
8
8
  label?: string;
@@ -0,0 +1,32 @@
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 { ArcTagInput } from '@arclux/arc-ui/tag-input';
6
+
7
+ export interface TagInputProps {
8
+ value?: unknown[];
9
+ suggestions?: unknown[];
10
+ delimiter?: string;
11
+ maxTags?: number;
12
+ allowCustom?: boolean;
13
+ label?: string;
14
+ placeholder?: string;
15
+ name?: string;
16
+ disabled?: boolean;
17
+ error?: string;
18
+ className?: string;
19
+ children?: React.ReactNode;
20
+ onArcChange?: (e: CustomEvent) => void;
21
+ onArcInput?: (e: CustomEvent) => void;
22
+ }
23
+
24
+ export const TagInput = createComponent({
25
+ tagName: 'arc-tag-input',
26
+ elementClass: ArcTagInput,
27
+ react: React,
28
+ events: {
29
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
30
+ onArcInput: 'arc-input' as EventName<CustomEvent>,
31
+ },
32
+ });
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcTextarea } from '@arclux/arc-ui';
5
+ import { ArcTextarea } from '@arclux/arc-ui/textarea';
6
6
 
7
7
  export interface TextareaProps {
8
8
  value?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcThemeToggle } from '@arclux/arc-ui';
5
+ import { ArcThemeToggle } from '@arclux/arc-ui/theme-toggle';
6
6
 
7
7
  export interface ThemeToggleProps {
8
8
  theme?: string;