@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-react",
3
- "version": "2.0.1",
3
+ "version": "2.2.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.0.1"
57
+ "@arclux/arc-ui": "2.2.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;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAccordionItem } from '@arclux/arc-ui';
5
+ import { ArcAccordionItem } from '@arclux/arc-ui/accordion-item';
6
6
 
7
7
  export interface AccordionItemProps {
8
8
  question?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAspectRatio } from '@arclux/arc-ui';
5
+ import { ArcAspectRatio } from '@arclux/arc-ui/aspect-ratio';
6
6
 
7
7
  export interface AspectRatioProps {
8
8
  ratio?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAvatar } from '@arclux/arc-ui';
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
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAvatarGroup } from '@arclux/arc-ui';
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;
@@ -2,13 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCard } from '@arclux/arc-ui';
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;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcColorSwatch } from '@arclux/arc-ui';
5
+ import { ArcColorSwatch } from '@arclux/arc-ui/color-swatch';
6
6
 
7
7
  export interface ColorSwatchProps {
8
8
  color?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcColumn } from '@arclux/arc-ui';
5
+ import { ArcColumn } from '@arclux/arc-ui/column';
6
6
 
7
7
  export interface ColumnProps {
8
8
  key?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCtaBanner } from '@arclux/arc-ui';
5
+ import { ArcCtaBanner } from '@arclux/arc-ui/cta-banner';
6
6
 
7
7
  export interface CtaBannerProps {
8
8
  eyebrow?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcDivider } from '@arclux/arc-ui';
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';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcEmptyState } from '@arclux/arc-ui';
5
+ import { ArcEmptyState } from '@arclux/arc-ui/empty-state';
6
6
 
7
7
  export interface EmptyStateProps {
8
8
  heading?: string;
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcFeatureCard } from '@arclux/arc-ui';
5
+ import { ArcFeatureCard } from '@arclux/arc-ui/feature-card';
6
6
 
7
7
  export interface FeatureCardProps {
8
8
  icon?: string;
@@ -2,13 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcIcon } from '@arclux/arc-ui';
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;
@@ -2,13 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcMarquee } from '@arclux/arc-ui';
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
  }
@@ -2,19 +2,21 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcStat } from '@arclux/arc-ui';
5
+ import { ArcQrCode } from '@arclux/arc-ui/qr-code';
6
6
 
7
- export interface StatProps {
7
+ export interface QrCodeProps {
8
8
  value?: string;
9
+ size?: number;
10
+ level?: string;
9
11
  label?: string;
10
- trend?: 'up' | 'down' | 'neutral';
11
- change?: string;
12
+ quietZone?: number;
13
+ contrast?: boolean;
12
14
  className?: string;
13
15
  children?: React.ReactNode;
14
16
  }
15
17
 
16
- export const Stat = createComponent({
17
- tagName: 'arc-stat',
18
- elementClass: ArcStat,
18
+ export const QrCode = createComponent({
19
+ tagName: 'arc-qr-code',
20
+ elementClass: ArcQrCode,
19
21
  react: React,
20
22
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcScrollArea } from '@arclux/arc-ui';
5
+ import { ArcScrollArea } from '@arclux/arc-ui/scroll-area';
6
6
 
7
7
  export interface ScrollAreaProps {
8
8
  maxHeight?: string;
@@ -2,14 +2,13 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcScrollIndicator } from '@arclux/arc-ui';
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
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSeparator } from '@arclux/arc-ui';
5
+ import { ArcSeparator } from '@arclux/arc-ui/separator';
6
6
 
7
7
  export interface SeparatorProps {
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 { ArcSkeleton } from '@arclux/arc-ui';
5
+ import { ArcSkeleton } from '@arclux/arc-ui/skeleton';
6
6
 
7
7
  export interface SkeletonProps {
8
8
  variant?: 'text' | 'circle' | 'rect';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcSpinner } from '@arclux/arc-ui';
5
+ import { ArcSpinner } from '@arclux/arc-ui/spinner';
6
6
 
7
7
  export interface SpinnerProps {
8
8
  size?: 'sm' | 'md' | 'lg';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcStack } from '@arclux/arc-ui';
5
+ import { ArcStack } from '@arclux/arc-ui/stack';
6
6
 
7
7
  export interface StackProps {
8
8
  direction?: 'horizontal' | 'vertical';
@@ -2,14 +2,12 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcVirtualList } from '@arclux/arc-ui';
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,8 @@ 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';
129
-
130
- export { ListItem } from './ListItem.js';
131
- export type { ListItemProps } from './ListItem.js';
132
-
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';
138
-
139
72
  export { VirtualList } from './VirtualList.js';
140
73
  export type { VirtualListProps } from './VirtualList.js';
74
+
75
+ export { QrCode } from './QrCode.js';
76
+ export type { QrCodeProps } from './QrCode.js';
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcAnimatedNumber } from '@arclux/arc-ui';
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcBadge } from '@arclux/arc-ui';
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
+ });
@@ -2,11 +2,10 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcComparison } from '@arclux/arc-ui';
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
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcComparisonColumn } from '@arclux/arc-ui';
5
+ import { ArcComparisonColumn } from '@arclux/arc-ui/comparison-column';
6
6
 
7
7
  export interface ComparisonColumnProps {
8
8
  heading?: string;
@@ -2,18 +2,13 @@
2
2
 
3
3
  import React from 'react';
4
4
  import { createComponent, type EventName } from '@lit/react';
5
- import { ArcCountdownTimer } from '@arclux/arc-ui';
5
+ import { ArcCountdownTimer } from '@arclux/arc-ui/countdown-timer';
6
6
 
7
7
  export interface CountdownTimerProps {
8
8
  target?: string;
9
9
  label?: string;
10
10
  expired?: string;
11
11
  hideZeroSegments?: boolean;
12
- _days?: string;
13
- _hours?: string;
14
- _minutes?: string;
15
- _seconds?: string;
16
- _expired?: string;
17
12
  className?: string;
18
13
  children?: React.ReactNode;
19
14
  onArcExpired?: (e: CustomEvent) => void;