@arclux/arc-ui-react 1.10.0 → 1.10.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-react",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "React wrappers for ARC UI Web Components.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "@lit/react": "^1.0.8",
49
- "@arclux/arc-ui": "1.10.0"
49
+ "@arclux/arc-ui": "1.10.1"
50
50
  },
51
51
  "license": "MIT",
52
52
  "keywords": [
@@ -0,0 +1,23 @@
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 { ArcAnimatedNumber } from '@arclux/arc-ui';
6
+
7
+ export interface AnimatedNumberProps {
8
+ value?: number;
9
+ duration?: number;
10
+ format?: string;
11
+ prefix?: string;
12
+ suffix?: string;
13
+ decimals?: number;
14
+ locale?: string;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ }
18
+
19
+ export const AnimatedNumber = createComponent({
20
+ tagName: 'arc-animated-number',
21
+ elementClass: ArcAnimatedNumber,
22
+ react: React,
23
+ });
@@ -0,0 +1,19 @@
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 { ArcBadge } from '@arclux/arc-ui';
6
+
7
+ export interface BadgeProps {
8
+ variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
9
+ size?: 'sm' | 'lg';
10
+ color?: string;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ }
14
+
15
+ export const Badge = createComponent({
16
+ tagName: 'arc-badge',
17
+ elementClass: ArcBadge,
18
+ react: React,
19
+ });
@@ -0,0 +1,35 @@
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 { ArcDataTable } from '@arclux/arc-ui';
6
+
7
+ export interface DataTableProps {
8
+ rows?: unknown[];
9
+ sortable?: boolean;
10
+ selectable?: boolean;
11
+ sortColumn?: string;
12
+ sortDirection?: string;
13
+ virtual?: boolean;
14
+ rowHeight?: number;
15
+ _columns?: string;
16
+ _selectedRows?: string;
17
+ _startIndex?: string;
18
+ _visibleCount?: string;
19
+ className?: string;
20
+ children?: React.ReactNode;
21
+ onArcSort?: (e: CustomEvent) => void;
22
+ onArcSelectAll?: (e: CustomEvent) => void;
23
+ onArcRowSelect?: (e: CustomEvent) => void;
24
+ }
25
+
26
+ export const DataTable = createComponent({
27
+ tagName: 'arc-data-table',
28
+ elementClass: ArcDataTable,
29
+ react: React,
30
+ events: {
31
+ onArcSort: 'arc-sort' as EventName<CustomEvent>,
32
+ onArcSelectAll: 'arc-select-all' as EventName<CustomEvent>,
33
+ onArcRowSelect: 'arc-row-select' as EventName<CustomEvent>,
34
+ },
35
+ });
@@ -0,0 +1,28 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcList } from '@arclux/arc-ui';
6
+
7
+ export interface ListProps {
8
+ variant?: 'bordered' | 'separated';
9
+ size?: 'sm' | 'lg';
10
+ selectable?: boolean;
11
+ multiple?: boolean;
12
+ value?: string;
13
+ _items?: string;
14
+ className?: string;
15
+ children?: React.ReactNode;
16
+ onArcChange?: (e: CustomEvent) => void;
17
+ onArcItemClick?: (e: CustomEvent) => void;
18
+ }
19
+
20
+ export const List = createComponent({
21
+ tagName: 'arc-list',
22
+ elementClass: ArcList,
23
+ react: React,
24
+ events: {
25
+ onArcChange: 'arc-change' as EventName<CustomEvent>,
26
+ onArcItemClick: 'arc-item-click' as EventName<CustomEvent>,
27
+ },
28
+ });
@@ -0,0 +1,27 @@
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 { ArcListItem } from '@arclux/arc-ui';
6
+
7
+ export interface ListItemProps {
8
+ value?: string;
9
+ selected?: boolean;
10
+ disabled?: boolean;
11
+ href?: string;
12
+ _hasPrefix?: string;
13
+ _hasSuffix?: string;
14
+ _hasDescription?: string;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ onArcItemClick?: (e: CustomEvent) => void;
18
+ }
19
+
20
+ export const ListItem = createComponent({
21
+ tagName: 'arc-list-item',
22
+ elementClass: ArcListItem,
23
+ react: React,
24
+ events: {
25
+ onArcItemClick: 'arc-item-click' as EventName<CustomEvent>,
26
+ },
27
+ });
@@ -0,0 +1,23 @@
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 { ArcMeter } from '@arclux/arc-ui';
6
+
7
+ export interface MeterProps {
8
+ value?: number;
9
+ min?: number;
10
+ max?: number;
11
+ low?: number;
12
+ high?: number;
13
+ optimum?: number;
14
+ label?: string;
15
+ className?: string;
16
+ children?: React.ReactNode;
17
+ }
18
+
19
+ export const Meter = createComponent({
20
+ tagName: 'arc-meter',
21
+ elementClass: ArcMeter,
22
+ react: React,
23
+ });
@@ -0,0 +1,20 @@
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 { ArcStat } from '@arclux/arc-ui';
6
+
7
+ export interface StatProps {
8
+ value?: string;
9
+ label?: string;
10
+ trend?: 'up' | 'down' | 'neutral';
11
+ change?: string;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ }
15
+
16
+ export const Stat = createComponent({
17
+ tagName: 'arc-stat',
18
+ elementClass: ArcStat,
19
+ react: React,
20
+ });
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcStep } from '@arclux/arc-ui';
6
+
7
+ export interface StepProps {
8
+ label?: string;
9
+ className?: string;
10
+ children?: React.ReactNode;
11
+ }
12
+
13
+ export const Step = createComponent({
14
+ tagName: 'arc-step',
15
+ elementClass: ArcStep,
16
+ react: React,
17
+ });
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcStepper } from '@arclux/arc-ui';
6
+
7
+ export interface StepperProps {
8
+ active?: number;
9
+ _steps?: string;
10
+ className?: string;
11
+ children?: React.ReactNode;
12
+ }
13
+
14
+ export const Stepper = createComponent({
15
+ tagName: 'arc-stepper',
16
+ elementClass: ArcStepper,
17
+ react: React,
18
+ });
@@ -0,0 +1,20 @@
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 { ArcTable } from '@arclux/arc-ui';
6
+
7
+ export interface TableProps {
8
+ columns?: unknown[];
9
+ rows?: unknown[];
10
+ striped?: boolean;
11
+ compact?: boolean;
12
+ className?: string;
13
+ children?: React.ReactNode;
14
+ }
15
+
16
+ export const Table = createComponent({
17
+ tagName: 'arc-table',
18
+ elementClass: ArcTable,
19
+ react: React,
20
+ });
@@ -0,0 +1,25 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcTag } from '@arclux/arc-ui';
6
+
7
+ export interface TagProps {
8
+ variant?: 'primary' | 'secondary' | 'success' | 'warning' | 'danger';
9
+ size?: 'sm' | 'lg';
10
+ removable?: boolean;
11
+ disabled?: boolean;
12
+ color?: string;
13
+ className?: string;
14
+ children?: React.ReactNode;
15
+ onArcRemove?: (e: CustomEvent) => void;
16
+ }
17
+
18
+ export const Tag = createComponent({
19
+ tagName: 'arc-tag',
20
+ elementClass: ArcTag,
21
+ react: React,
22
+ events: {
23
+ onArcRemove: 'arc-remove' as EventName<CustomEvent>,
24
+ },
25
+ });
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcTimeline } from '@arclux/arc-ui';
6
+
7
+ export interface TimelineProps {
8
+ _items?: string;
9
+ className?: string;
10
+ children?: React.ReactNode;
11
+ }
12
+
13
+ export const Timeline = createComponent({
14
+ tagName: 'arc-timeline',
15
+ elementClass: ArcTimeline,
16
+ react: React,
17
+ });
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcTimelineItem } from '@arclux/arc-ui';
6
+
7
+ export interface TimelineItemProps {
8
+ heading?: string;
9
+ date?: string;
10
+ className?: string;
11
+ children?: React.ReactNode;
12
+ }
13
+
14
+ export const TimelineItem = createComponent({
15
+ tagName: 'arc-timeline-item',
16
+ elementClass: ArcTimelineItem,
17
+ react: React,
18
+ });
@@ -0,0 +1,19 @@
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 { ArcValueCard } from '@arclux/arc-ui';
6
+
7
+ export interface ValueCardProps {
8
+ icon?: string;
9
+ heading?: string;
10
+ description?: string;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ }
14
+
15
+ export const ValueCard = createComponent({
16
+ tagName: 'arc-value-card',
17
+ elementClass: ArcValueCard,
18
+ react: React,
19
+ });
@@ -5,7 +5,6 @@ import { createComponent, type EventName } from '@lit/react';
5
5
  import { ArcTabs } from '@arclux/arc-ui';
6
6
 
7
7
  export interface TabsProps {
8
- items?: unknown[];
9
8
  selected?: number;
10
9
  align?: 'center' | 'end';
11
10
  variant?: 'pills';
@@ -0,0 +1,21 @@
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 { ArcCodeBlock } from '@arclux/arc-ui';
6
+
7
+ export interface CodeBlockProps {
8
+ language?: string;
9
+ filename?: string;
10
+ code?: string;
11
+ variant?: 'window' | 'basic';
12
+ _highlightedHtml?: string;
13
+ className?: string;
14
+ children?: React.ReactNode;
15
+ }
16
+
17
+ export const CodeBlock = createComponent({
18
+ tagName: 'arc-code-block',
19
+ elementClass: ArcCodeBlock,
20
+ react: React,
21
+ });
@@ -0,0 +1,19 @@
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 { ArcHighlight } from '@arclux/arc-ui';
6
+
7
+ export interface HighlightProps {
8
+ text?: string;
9
+ query?: string;
10
+ caseSensitive?: boolean;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ }
14
+
15
+ export const Highlight = createComponent({
16
+ tagName: 'arc-highlight',
17
+ elementClass: ArcHighlight,
18
+ react: React,
19
+ });
@@ -0,0 +1,16 @@
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 { ArcKbd } from '@arclux/arc-ui';
6
+
7
+ export interface KbdProps {
8
+ className?: string;
9
+ children?: React.ReactNode;
10
+ }
11
+
12
+ export const Kbd = createComponent({
13
+ tagName: 'arc-kbd',
14
+ elementClass: ArcKbd,
15
+ react: React,
16
+ });
@@ -0,0 +1,17 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcMarkdown } from '@arclux/arc-ui';
6
+
7
+ export interface MarkdownProps {
8
+ content?: string;
9
+ className?: string;
10
+ children?: React.ReactNode;
11
+ }
12
+
13
+ export const Markdown = createComponent({
14
+ tagName: 'arc-markdown',
15
+ elementClass: ArcMarkdown,
16
+ react: React,
17
+ });
@@ -0,0 +1,18 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import React from 'react';
4
+ import { createComponent, type EventName } from '@lit/react';
5
+ import { ArcText } from '@arclux/arc-ui';
6
+
7
+ export interface TextProps {
8
+ variant?: 'accent' | 'code';
9
+ as?: string;
10
+ className?: string;
11
+ children?: React.ReactNode;
12
+ }
13
+
14
+ export const Text = createComponent({
15
+ tagName: 'arc-text',
16
+ elementClass: ArcText,
17
+ react: React,
18
+ });
@@ -0,0 +1,22 @@
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 { ArcTruncate } from '@arclux/arc-ui';
6
+
7
+ export interface TruncateProps {
8
+ lines?: number;
9
+ expanded?: boolean;
10
+ className?: string;
11
+ children?: React.ReactNode;
12
+ onArcToggle?: (e: CustomEvent) => void;
13
+ }
14
+
15
+ export const Truncate = createComponent({
16
+ tagName: 'arc-truncate',
17
+ elementClass: ArcTruncate,
18
+ react: React,
19
+ events: {
20
+ onArcToggle: 'arc-toggle' as EventName<CustomEvent>,
21
+ },
22
+ });