@arclux/arc-ui-react 2.1.0 → 2.3.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 (216) hide show
  1. package/package.json +10 -2
  2. package/src/content/Accordion.ts +1 -3
  3. package/src/content/AccordionItem.ts +2 -2
  4. package/src/content/AspectRatio.ts +2 -2
  5. package/src/content/Avatar.ts +2 -3
  6. package/src/content/AvatarGroup.ts +2 -2
  7. package/src/content/Callout.ts +1 -2
  8. package/src/content/Card.ts +2 -3
  9. package/src/content/Carousel.ts +1 -3
  10. package/src/content/Collapsible.ts +1 -1
  11. package/src/content/ColorSwatch.ts +2 -2
  12. package/src/content/Column.ts +2 -2
  13. package/src/content/CtaBanner.ts +2 -2
  14. package/src/content/Divider.ts +2 -2
  15. package/src/content/EmptyState.ts +2 -2
  16. package/src/content/FeatureCard.ts +2 -2
  17. package/src/content/Icon.ts +2 -3
  18. package/src/content/Image.ts +1 -2
  19. package/src/content/InfiniteScroll.ts +1 -1
  20. package/src/content/Marquee.ts +2 -3
  21. package/src/content/QrCode.ts +22 -0
  22. package/src/content/ScrollArea.ts +2 -2
  23. package/src/content/ScrollIndicator.ts +2 -3
  24. package/src/content/Separator.ts +2 -2
  25. package/src/content/Skeleton.ts +2 -2
  26. package/src/content/Spinner.ts +2 -2
  27. package/src/content/Stack.ts +2 -2
  28. package/src/content/VirtualList.ts +2 -4
  29. package/src/content/index.ts +23 -81
  30. package/src/data/AnimatedNumber.ts +2 -2
  31. package/src/data/Badge.ts +2 -2
  32. package/src/data/Chart.ts +29 -0
  33. package/src/data/Comparison.ts +2 -3
  34. package/src/data/ComparisonColumn.ts +2 -2
  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 +2 -2
  39. package/src/data/DescriptionList.ts +2 -2
  40. package/src/data/Diff.ts +2 -2
  41. package/src/data/EventCalendar.ts +29 -0
  42. package/src/data/Kanban.ts +24 -0
  43. package/src/data/KeyValue.ts +2 -2
  44. package/src/data/KvPair.ts +2 -2
  45. package/src/data/List.ts +2 -2
  46. package/src/data/ListItem.ts +1 -4
  47. package/src/data/Meter.ts +2 -2
  48. package/src/data/Sparkline.ts +2 -2
  49. package/src/data/Stat.ts +2 -2
  50. package/src/data/Step.ts +2 -2
  51. package/src/data/Stepper.ts +2 -3
  52. package/src/data/Table.ts +2 -2
  53. package/src/data/Tag.ts +1 -1
  54. package/src/data/Timeline.ts +3 -3
  55. package/src/data/TimelineItem.ts +2 -2
  56. package/src/data/ValueCard.ts +2 -2
  57. package/src/data/index.ts +82 -0
  58. package/src/feedback/Alert.ts +1 -1
  59. package/src/feedback/Announcement.ts +2 -2
  60. package/src/feedback/Banner.ts +1 -1
  61. package/src/feedback/CommandItem.ts +2 -2
  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 +2 -2
  71. package/src/feedback/LoadingOverlay.ts +2 -2
  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 +2 -2
  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 +2 -3
  83. package/src/feedback/index.ts +35 -33
  84. package/src/index.ts +242 -217
  85. package/src/input/Button.ts +1 -3
  86. package/src/input/ButtonGroup.ts +2 -2
  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 +2 -4
  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 +2 -4
  103. package/src/input/Label.ts +2 -4
  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 +2 -2
  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 +2 -2
  119. package/src/input/SwitchGroup.ts +2 -2
  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 +47 -33
  127. package/src/layout/AppShell.ts +2 -4
  128. package/src/layout/AspectGrid.ts +2 -2
  129. package/src/layout/AuthShell.ts +2 -2
  130. package/src/layout/Center.ts +2 -2
  131. package/src/layout/Cluster.ts +2 -2
  132. package/src/layout/Container.ts +2 -2
  133. package/src/layout/DashboardGrid.ts +2 -2
  134. package/src/layout/Dock.ts +2 -3
  135. package/src/layout/FloatBar.ts +2 -2
  136. package/src/layout/Inset.ts +2 -2
  137. package/src/layout/Masonry.ts +2 -2
  138. package/src/layout/PageHeader.ts +2 -2
  139. package/src/layout/PageLayout.ts +2 -2
  140. package/src/layout/Resizable.ts +1 -2
  141. package/src/layout/ResponsiveSwitcher.ts +2 -2
  142. package/src/layout/Section.ts +2 -2
  143. package/src/layout/SettingsLayout.ts +2 -2
  144. package/src/layout/SplitPane.ts +1 -1
  145. package/src/layout/StatusBar.ts +2 -2
  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 +2 -2
  152. package/src/navigation/BreadcrumbItem.ts +2 -2
  153. package/src/navigation/BreadcrumbMenu.ts +2 -2
  154. package/src/navigation/CommandBar.ts +1 -1
  155. package/src/navigation/Drawer.ts +1 -1
  156. package/src/navigation/Footer.ts +2 -2
  157. package/src/navigation/Link.ts +2 -2
  158. package/src/navigation/Menubar.ts +23 -0
  159. package/src/navigation/NavItem.ts +2 -2
  160. package/src/navigation/NavigationMenu.ts +2 -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 +3 -3
  167. package/src/navigation/SidebarLink.ts +2 -2
  168. package/src/navigation/SidebarSection.ts +1 -1
  169. package/src/navigation/SkipLink.ts +2 -2
  170. package/src/navigation/SpeedDial.ts +1 -1
  171. package/src/navigation/SpyLink.ts +2 -2
  172. package/src/navigation/StepperNav.ts +1 -1
  173. package/src/navigation/Tab.ts +2 -2
  174. package/src/navigation/Tabs.ts +1 -2
  175. package/src/navigation/TopBar.ts +2 -2
  176. package/src/navigation/TreeItem.ts +2 -2
  177. package/src/navigation/TreeView.ts +1 -3
  178. package/src/navigation/index.ts +35 -33
  179. package/src/shared/MenuDivider.ts +2 -2
  180. package/src/shared/MenuItem.ts +2 -2
  181. package/src/shared/Option.ts +2 -2
  182. package/src/shared/index.ts +6 -4
  183. package/src/typography/Blockquote.ts +2 -2
  184. package/src/typography/CodeBlock.ts +2 -3
  185. package/src/typography/GradientText.ts +2 -2
  186. package/src/typography/Highlight.ts +2 -2
  187. package/src/typography/Kbd.ts +2 -2
  188. package/src/typography/Markdown.ts +2 -2
  189. package/src/typography/NumberFormat.ts +2 -2
  190. package/src/typography/Prose.ts +2 -2
  191. package/src/typography/Text.ts +2 -2
  192. package/src/typography/TimeAgo.ts +2 -2
  193. package/src/typography/Truncate.ts +1 -1
  194. package/src/typography/Typewriter.ts +1 -3
  195. package/src/typography/index.ts +37 -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/Stat.ts +0 -20
  208. package/src/content/Step.ts +0 -17
  209. package/src/content/Stepper.ts +0 -18
  210. package/src/content/Table.ts +0 -20
  211. package/src/content/Tag.ts +0 -25
  212. package/src/content/Text.ts +0 -18
  213. package/src/content/Timeline.ts +0 -17
  214. package/src/content/TimelineItem.ts +0 -18
  215. package/src/content/Truncate.ts +0 -22
  216. package/src/content/ValueCard.ts +0 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-react",
3
- "version": "2.1.0",
3
+ "version": "2.3.0",
4
4
  "description": "React wrappers for ARC UI Web Components.",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -16,6 +16,14 @@
16
16
  "types": "./src/content/index.ts",
17
17
  "default": "./src/content/index.ts"
18
18
  },
19
+ "./data": {
20
+ "types": "./src/data/index.ts",
21
+ "default": "./src/data/index.ts"
22
+ },
23
+ "./typography": {
24
+ "types": "./src/typography/index.ts",
25
+ "default": "./src/typography/index.ts"
26
+ },
19
27
  "./input": {
20
28
  "types": "./src/input/index.ts",
21
29
  "default": "./src/input/index.ts"
@@ -46,7 +54,7 @@
46
54
  },
47
55
  "dependencies": {
48
56
  "@lit/react": "^1.0.8",
49
- "@arclux/arc-ui": "2.1.0"
57
+ "@arclux/arc-ui": "2.3.0"
50
58
  },
51
59
  "license": "MIT",
52
60
  "keywords": [
@@ -2,12 +2,10 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAccordion } from '@arclux/arc-ui';
5
+ import { ArcAccordion } from '@arclux/arc-ui/accordion';
6
6
 
7
7
  export interface AccordionProps {
8
8
  multiple?: boolean;
9
- _items?: string;
10
- _openItems?: string;
11
9
  className?: string;
12
10
  children?: React.ReactNode;
13
11
  onClick?: (e: Event) => void;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAccordionItem } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcAccordionItem } from '@arclux/arc-ui/accordion-item';
6
6
 
7
7
  export interface AccordionItemProps {
8
8
  question?: string;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAspectRatio } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcAspectRatio } from '@arclux/arc-ui/aspect-ratio';
6
6
 
7
7
  export interface AspectRatioProps {
8
8
  ratio?: string;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAvatar } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcAvatar } from '@arclux/arc-ui/avatar';
6
6
 
7
7
  export interface AvatarProps {
8
8
  src?: string;
@@ -10,7 +10,6 @@ export interface AvatarProps {
10
10
  size?: 'sm' | 'md' | 'lg';
11
11
  shape?: 'square' | 'rounded';
12
12
  status?: 'online' | 'offline' | 'busy' | 'away';
13
- _imgState?: string;
14
13
  className?: string;
15
14
  children?: React.ReactNode;
16
15
  }
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAvatarGroup } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcAvatarGroup } from '@arclux/arc-ui/avatar-group';
6
6
 
7
7
  export interface AvatarGroupProps {
8
8
  max?: number;
@@ -2,12 +2,11 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCallout } from '@arclux/arc-ui';
5
+ import { ArcCallout } from '@arclux/arc-ui/callout';
6
6
 
7
7
  export interface CalloutProps {
8
8
  variant?: string;
9
9
  dismissible?: boolean;
10
- _dismissed?: string;
11
10
  className?: string;
12
11
  children?: React.ReactNode;
13
12
  onArcDismiss?: (e: CustomEvent) => void;
@@ -1,14 +1,13 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCard } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcCard } from '@arclux/arc-ui/card';
6
6
 
7
7
  export interface CardProps {
8
8
  href?: string;
9
9
  padding?: 'none' | 'sm' | 'lg';
10
10
  interactive?: boolean;
11
- _hasFooter?: string;
12
11
  className?: string;
13
12
  children?: React.ReactNode;
14
13
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCarousel } from '@arclux/arc-ui';
5
+ import { ArcCarousel } from '@arclux/arc-ui/carousel';
6
6
 
7
7
  export interface CarouselProps {
8
8
  autoPlay?: boolean;
@@ -10,8 +10,6 @@ export interface CarouselProps {
10
10
  loop?: boolean;
11
11
  showDots?: boolean;
12
12
  showArrows?: boolean;
13
- _current?: string;
14
- _total?: string;
15
13
  className?: string;
16
14
  children?: React.ReactNode;
17
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 { ArcCollapsible } from '@arclux/arc-ui';
5
+ import { ArcCollapsible } from '@arclux/arc-ui/collapsible';
6
6
 
7
7
  export interface CollapsibleProps {
8
8
  open?: boolean;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcColorSwatch } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcColorSwatch } from '@arclux/arc-ui/color-swatch';
6
6
 
7
7
  export interface ColorSwatchProps {
8
8
  color?: string;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcColumn } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcColumn } from '@arclux/arc-ui/column';
6
6
 
7
7
  export interface ColumnProps {
8
8
  key?: string;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCtaBanner } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcCtaBanner } from '@arclux/arc-ui/cta-banner';
6
6
 
7
7
  export interface CtaBannerProps {
8
8
  eyebrow?: string;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcDivider } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcDivider } from '@arclux/arc-ui/divider';
6
6
 
7
7
  export interface DividerProps {
8
8
  variant?: 'subtle' | 'glow' | 'line-white' | 'line-primary' | 'line-gradient';
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcEmptyState } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcEmptyState } from '@arclux/arc-ui/empty-state';
6
6
 
7
7
  export interface EmptyStateProps {
8
8
  heading?: string;
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcFeatureCard } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcFeatureCard } from '@arclux/arc-ui/feature-card';
6
6
 
7
7
  export interface FeatureCardProps {
8
8
  icon?: string;
@@ -1,14 +1,13 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcIcon } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcIcon } from '@arclux/arc-ui/icon';
6
6
 
7
7
  export interface IconProps {
8
8
  name?: string;
9
9
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
10
10
  label?: string;
11
- _svgContent?: string;
12
11
  className?: string;
13
12
  children?: React.ReactNode;
14
13
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcImage } from '@arclux/arc-ui';
5
+ import { ArcImage } from '@arclux/arc-ui/image';
6
6
 
7
7
  export interface ImageProps {
8
8
  src?: string;
@@ -11,7 +11,6 @@ export interface ImageProps {
11
11
  fit?: 'contain' | 'fill' | 'none' | 'scale-down';
12
12
  loading?: string;
13
13
  fallback?: string;
14
- _state?: string;
15
14
  className?: string;
16
15
  children?: React.ReactNode;
17
16
  onArcLoad?: (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 { ArcInfiniteScroll } from '@arclux/arc-ui';
5
+ import { ArcInfiniteScroll } from '@arclux/arc-ui/infinite-scroll';
6
6
 
7
7
  export interface InfiniteScrollProps {
8
8
  threshold?: number;
@@ -1,14 +1,13 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcMarquee } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcMarquee } from '@arclux/arc-ui/marquee';
6
6
 
7
7
  export interface MarqueeProps {
8
8
  speed?: number;
9
9
  direction?: string;
10
10
  gap?: string;
11
- _animDuration?: string;
12
11
  className?: string;
13
12
  children?: React.ReactNode;
14
13
  }
@@ -0,0 +1,22 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcQrCode } from '@arclux/arc-ui/qr-code';
6
+
7
+ export interface QrCodeProps {
8
+ value?: string;
9
+ size?: number;
10
+ level?: string;
11
+ label?: string;
12
+ quietZone?: number;
13
+ contrast?: boolean;
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ }
17
+
18
+ export const QrCode = createComponent({
19
+ tagName: 'arc-qr-code',
20
+ elementClass: ArcQrCode,
21
+ react: React,
22
+ });
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcScrollArea } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcScrollArea } from '@arclux/arc-ui/scroll-area';
6
6
 
7
7
  export interface ScrollAreaProps {
8
8
  maxHeight?: string;
@@ -1,15 +1,14 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcScrollIndicator } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcScrollIndicator } from '@arclux/arc-ui/scroll-indicator';
6
6
 
7
7
  export interface ScrollIndicatorProps {
8
8
  target?: string;
9
9
  position?: 'bottom';
10
10
  size?: 'sm' | 'md' | 'lg';
11
11
  color?: 'gradient';
12
- _progress?: string;
13
12
  className?: string;
14
13
  children?: React.ReactNode;
15
14
  }
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSeparator } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcSeparator } from '@arclux/arc-ui/separator';
6
6
 
7
7
  export interface SeparatorProps {
8
8
  orientation?: 'vertical';
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSkeleton } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcSkeleton } from '@arclux/arc-ui/skeleton';
6
6
 
7
7
  export interface SkeletonProps {
8
8
  variant?: 'text' | 'circle' | 'rect';
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSpinner } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcSpinner } from '@arclux/arc-ui/spinner';
6
6
 
7
7
  export interface SpinnerProps {
8
8
  size?: 'sm' | 'md' | 'lg';
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcStack } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcStack } from '@arclux/arc-ui/stack';
6
6
 
7
7
  export interface StackProps {
8
8
  direction?: 'horizontal' | 'vertical';
@@ -1,15 +1,13 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcVirtualList } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcVirtualList } from '@arclux/arc-ui/virtual-list';
6
6
 
7
7
  export interface VirtualListProps {
8
8
  items?: unknown[];
9
9
  itemHeight?: number;
10
10
  overscan?: number;
11
- _startIndex?: string;
12
- _visibleCount?: string;
13
11
  className?: string;
14
12
  children?: React.ReactNode;
15
13
  }
@@ -1,27 +1,14 @@
1
- // ARC UI React — Content tier
2
- // Static display components: cards, badges, text, tables, etc.
3
-
4
- export { Accordion } from './Accordion.js';
5
- export type { AccordionProps } from './Accordion.js';
1
+ // Auto-generated by @arclux/prism — do not edit manually
6
2
 
7
3
  export { AccordionItem } from './AccordionItem.js';
8
4
  export type { AccordionItemProps } from './AccordionItem.js';
9
5
 
10
- export { AnimatedNumber } from './AnimatedNumber.js';
11
- export type { AnimatedNumberProps } from './AnimatedNumber.js';
12
-
13
6
  export { AspectRatio } from './AspectRatio.js';
14
7
  export type { AspectRatioProps } from './AspectRatio.js';
15
8
 
16
- export { Avatar } from './Avatar.js';
17
- export type { AvatarProps } from './Avatar.js';
18
-
19
9
  export { AvatarGroup } from './AvatarGroup.js';
20
10
  export type { AvatarGroupProps } from './AvatarGroup.js';
21
11
 
22
- export { Badge } from './Badge.js';
23
- export type { BadgeProps } from './Badge.js';
24
-
25
12
  export { Callout } from './Callout.js';
26
13
  export type { CalloutProps } from './Callout.js';
27
14
 
@@ -31,20 +18,17 @@ export type { CardProps } from './Card.js';
31
18
  export { Carousel } from './Carousel.js';
32
19
  export type { CarouselProps } from './Carousel.js';
33
20
 
34
- export { CodeBlock } from './CodeBlock.js';
35
- export type { CodeBlockProps } from './CodeBlock.js';
36
-
37
21
  export { Collapsible } from './Collapsible.js';
38
22
  export type { CollapsibleProps } from './Collapsible.js';
39
23
 
40
- export { Column } from './Column.js';
41
- export type { ColumnProps } from './Column.js';
42
-
43
24
  export { ColorSwatch } from './ColorSwatch.js';
44
25
  export type { ColorSwatchProps } from './ColorSwatch.js';
45
26
 
46
- export { DataTable } from './DataTable.js';
47
- export type { DataTableProps } from './DataTable.js';
27
+ export { Column } from './Column.js';
28
+ export type { ColumnProps } from './Column.js';
29
+
30
+ export { CtaBanner } from './CtaBanner.js';
31
+ export type { CtaBannerProps } from './CtaBanner.js';
48
32
 
49
33
  export { Divider } from './Divider.js';
50
34
  export type { DividerProps } from './Divider.js';
@@ -55,30 +39,27 @@ export type { EmptyStateProps } from './EmptyState.js';
55
39
  export { FeatureCard } from './FeatureCard.js';
56
40
  export type { FeatureCardProps } from './FeatureCard.js';
57
41
 
58
- export { Highlight } from './Highlight.js';
59
- export type { HighlightProps } from './Highlight.js';
60
-
61
42
  export { Icon } from './Icon.js';
62
43
  export type { IconProps } from './Icon.js';
63
44
 
45
+ export { Image } from './Image.js';
46
+ export type { ImageProps } from './Image.js';
47
+
64
48
  export { InfiniteScroll } from './InfiniteScroll.js';
65
49
  export type { InfiniteScrollProps } from './InfiniteScroll.js';
66
50
 
67
- export { Kbd } from './Kbd.js';
68
- export type { KbdProps } from './Kbd.js';
69
-
70
- export { Markdown } from './Markdown.js';
71
- export type { MarkdownProps } from './Markdown.js';
72
-
73
51
  export { Marquee } from './Marquee.js';
74
52
  export type { MarqueeProps } from './Marquee.js';
75
53
 
76
- export { Meter } from './Meter.js';
77
- export type { MeterProps } from './Meter.js';
78
-
79
54
  export { ScrollArea } from './ScrollArea.js';
80
55
  export type { ScrollAreaProps } from './ScrollArea.js';
81
56
 
57
+ export { ScrollIndicator } from './ScrollIndicator.js';
58
+ export type { ScrollIndicatorProps } from './ScrollIndicator.js';
59
+
60
+ export { Separator } from './Separator.js';
61
+ export type { SeparatorProps } from './Separator.js';
62
+
82
63
  export { Skeleton } from './Skeleton.js';
83
64
  export type { SkeletonProps } from './Skeleton.js';
84
65
 
@@ -88,53 +69,14 @@ export type { SpinnerProps } from './Spinner.js';
88
69
  export { Stack } from './Stack.js';
89
70
  export type { StackProps } from './Stack.js';
90
71
 
91
- export { Stat } from './Stat.js';
92
- export type { StatProps } from './Stat.js';
93
-
94
- export { Step } from './Step.js';
95
- export type { StepProps } from './Step.js';
96
-
97
- export { Stepper } from './Stepper.js';
98
- export type { StepperProps } from './Stepper.js';
99
-
100
- export { Table } from './Table.js';
101
- export type { TableProps } from './Table.js';
102
-
103
- export { Tag } from './Tag.js';
104
- export type { TagProps } from './Tag.js';
105
-
106
- export { Text } from './Text.js';
107
- export type { TextProps } from './Text.js';
108
-
109
- export { Timeline } from './Timeline.js';
110
- export type { TimelineProps } from './Timeline.js';
111
-
112
- export { TimelineItem } from './TimelineItem.js';
113
- export type { TimelineItemProps } from './TimelineItem.js';
114
-
115
- export { Truncate } from './Truncate.js';
116
- export type { TruncateProps } from './Truncate.js';
117
-
118
- export { ValueCard } from './ValueCard.js';
119
- export type { ValueCardProps } from './ValueCard.js';
120
-
121
- export { CtaBanner } from './CtaBanner.js';
122
- export type { CtaBannerProps } from './CtaBanner.js';
123
-
124
- export { IconLibrary } from './IconLibrary.js';
125
- export type { IconLibraryProps } from './IconLibrary.js';
126
-
127
- export { Image } from './Image.js';
128
- export type { ImageProps } from './Image.js';
72
+ export { VirtualList } from './VirtualList.js';
73
+ export type { VirtualListProps } from './VirtualList.js';
129
74
 
130
- export { ListItem } from './ListItem.js';
131
- export type { ListItemProps } from './ListItem.js';
75
+ export { QrCode } from './QrCode.js';
76
+ export type { QrCodeProps } from './QrCode.js';
132
77
 
133
- export { ScrollIndicator } from './ScrollIndicator.js';
134
- export type { ScrollIndicatorProps } from './ScrollIndicator.js';
135
-
136
- export { Separator } from './Separator.js';
137
- export type { SeparatorProps } from './Separator.js';
78
+ export { Accordion } from './Accordion.js';
79
+ export type { AccordionProps } from './Accordion.js';
138
80
 
139
- export { VirtualList } from './VirtualList.js';
140
- export type { VirtualListProps } from './VirtualList.js';
81
+ export { Avatar } from './Avatar.js';
82
+ export type { AvatarProps } from './Avatar.js';
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAnimatedNumber } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcAnimatedNumber } from '@arclux/arc-ui/animated-number';
6
6
 
7
7
  export interface AnimatedNumberProps {
8
8
  value?: number;
package/src/data/Badge.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcBadge } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcBadge } from '@arclux/arc-ui/badge';
6
6
 
7
7
  export interface BadgeProps {
8
8
  variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
@@ -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 { ArcChart } from '@arclux/arc-ui/chart';
6
+
7
+ export interface ChartProps {
8
+ type?: string;
9
+ series?: unknown[];
10
+ labels?: unknown[];
11
+ stacked?: boolean;
12
+ hideLegend?: boolean;
13
+ hideAxis?: boolean;
14
+ height?: number;
15
+ valueFormat?: string;
16
+ currency?: string;
17
+ className?: string;
18
+ children?: React.ReactNode;
19
+ onArcMarkClick?: (e: CustomEvent) => void;
20
+ }
21
+
22
+ export const Chart = createComponent({
23
+ tagName: 'arc-chart',
24
+ elementClass: ArcChart,
25
+ react: React,
26
+ events: {
27
+ onArcMarkClick: 'arc-mark-click' as EventName<CustomEvent>,
28
+ },
29
+ });
@@ -1,12 +1,11 @@
1
1
  // Auto-generated by @arclux/prism — do not edit manually
2
2
 
3
3
  import React from 'react';
4
- import { createComponent, type EventName } from '@lit/react';
5
- import { ArcComparison } from '@arclux/arc-ui';
4
+ import { createComponent } from '@lit/react';
5
+ import { ArcComparison } from '@arclux/arc-ui/comparison';
6
6
 
7
7
  export interface ComparisonProps {
8
8
  features?: string;
9
- _columns?: string;
10
9
  className?: string;
11
10
  children?: React.ReactNode;
12
11
  }