@arclux/arc-ui-react 1.0.0 → 1.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-react",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
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.0.0"
49
+ "@arclux/arc-ui": "1.1.0"
50
50
  },
51
51
  "license": "MIT",
52
52
  "keywords": [
@@ -6,6 +6,7 @@ import { ArcCard } from '@arclux/arc-ui';
6
6
 
7
7
  export interface CardProps {
8
8
  href?: string;
9
+ _hasFooter?: string;
9
10
  className?: string;
10
11
  children?: React.ReactNode;
11
12
  }
@@ -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 { ArcCtaBanner } from '@arclux/arc-ui';
6
+
7
+ export interface CtaBannerProps {
8
+ eyebrow?: string;
9
+ headline?: string;
10
+ nogradient?: boolean;
11
+ className?: string;
12
+ children?: React.ReactNode;
13
+ }
14
+
15
+ export const CtaBanner = createComponent({
16
+ tagName: 'arc-cta-banner',
17
+ elementClass: ArcCtaBanner,
18
+ react: React,
19
+ });
@@ -117,3 +117,6 @@ export type { TruncateProps } from './Truncate.js';
117
117
 
118
118
  export { ValueCard } from './ValueCard.js';
119
119
  export type { ValueCardProps } from './ValueCard.js';
120
+
121
+ export { CtaBanner } from './CtaBanner.js';
122
+ export type { CtaBannerProps } from './CtaBanner.js';
package/src/index.ts CHANGED
@@ -352,3 +352,6 @@ export type { MenuItemProps } from './shared/MenuItem.js';
352
352
 
353
353
  export { Option } from './shared/Option.js';
354
354
  export type { OptionProps } from './shared/Option.js';
355
+
356
+ export { CtaBanner } from './content/CtaBanner.js';
357
+ export type { CtaBannerProps } from './content/CtaBanner.js';
package/src/input/Form.ts CHANGED
@@ -8,10 +8,15 @@ export interface FormProps {
8
8
  action?: string;
9
9
  method?: string;
10
10
  novalidate?: boolean;
11
+ loading?: boolean;
12
+ disabled?: boolean;
13
+ errorSummary?: boolean;
14
+ _errors?: string;
11
15
  className?: string;
12
16
  children?: React.ReactNode;
13
17
  onArcInvalid?: (e: CustomEvent) => void;
14
18
  onArcSubmit?: (e: CustomEvent) => void;
19
+ onArcReset?: (e: CustomEvent) => void;
15
20
  }
16
21
 
17
22
  export const Form = createComponent({
@@ -21,5 +26,6 @@ export const Form = createComponent({
21
26
  events: {
22
27
  onArcInvalid: 'arc-invalid' as EventName<CustomEvent>,
23
28
  onArcSubmit: 'arc-submit' as EventName<CustomEvent>,
29
+ onArcReset: 'arc-reset' as EventName<CustomEvent>,
24
30
  },
25
31
  });
@@ -7,6 +7,7 @@ import { ArcPageHeader } from '@arclux/arc-ui';
7
7
  export interface PageHeaderProps {
8
8
  heading?: string;
9
9
  description?: string;
10
+ border?: boolean;
10
11
  className?: string;
11
12
  children?: React.ReactNode;
12
13
  }
@@ -7,6 +7,7 @@ import { ArcNavItem } from '@arclux/arc-ui';
7
7
  export interface NavItemProps {
8
8
  href?: string;
9
9
  active?: boolean;
10
+ muted?: boolean;
10
11
  description?: string;
11
12
  className?: string;
12
13
  children?: React.ReactNode;