@arclux/arc-ui-react 1.0.0 → 1.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.
- package/package.json +2 -2
- package/src/content/Card.ts +1 -0
- package/src/content/CtaBanner.ts +19 -0
- package/src/content/Tag.ts +1 -0
- package/src/content/index.ts +3 -0
- package/src/index.ts +3 -0
- package/src/input/Button.ts +2 -0
- package/src/input/Form.ts +6 -0
- package/src/input/Input.ts +2 -0
- package/src/layout/PageHeader.ts +1 -0
- package/src/navigation/NavItem.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arclux/arc-ui-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.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.
|
|
49
|
+
"@arclux/arc-ui": "1.2.0"
|
|
50
50
|
},
|
|
51
51
|
"license": "MIT",
|
|
52
52
|
"keywords": [
|
package/src/content/Card.ts
CHANGED
|
@@ -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
|
+
});
|
package/src/content/Tag.ts
CHANGED
package/src/content/index.ts
CHANGED
|
@@ -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/Button.ts
CHANGED
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
|
});
|
package/src/input/Input.ts
CHANGED
package/src/layout/PageHeader.ts
CHANGED