@arclux/arc-ui-angular 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-angular",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Angular standalone component wrappers for ARC UI Web Components.",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -44,7 +44,7 @@
44
44
  "@angular/core": ">=17.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "@arclux/arc-ui": "1.0.0"
47
+ "@arclux/arc-ui": "1.1.0"
48
48
  },
49
49
  "license": "MIT",
50
50
  "keywords": [
@@ -7,8 +7,9 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-card',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-card [attr.href]="href"><ng-content /></arc-card>`,
10
+ template: `<arc-card [attr.href]="href" [attr._hasFooter]="_hasFooter"><ng-content /></arc-card>`,
11
11
  })
12
12
  export class Card {
13
13
  @Input() href: string = '';
14
+ @Input() _hasFooter: string = false;
14
15
  }
@@ -0,0 +1,16 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA, Input } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-cta-banner',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-cta-banner [attr.eyebrow]="eyebrow" [attr.headline]="headline" [nogradient]="nogradient"><ng-content /></arc-cta-banner>`,
11
+ })
12
+ export class CtaBanner {
13
+ @Input() eyebrow: string = '';
14
+ @Input() headline: string = '';
15
+ @Input() nogradient: boolean = false;
16
+ }
@@ -35,3 +35,4 @@ export { DataTable } from './DataTable.js';
35
35
  export { InfiniteScroll } from './InfiniteScroll.js';
36
36
  export { Tag } from './Tag.js';
37
37
  export { Truncate } from './Truncate.js';
38
+ export { CtaBanner } from './CtaBanner.js';
package/src/index.ts CHANGED
@@ -114,3 +114,4 @@ export { Truncate } from './reactive/Truncate.js';
114
114
  export { MenuDivider } from './shared/MenuDivider.js';
115
115
  export { MenuItem } from './shared/MenuItem.js';
116
116
  export { Option } from './shared/Option.js';
117
+ export { CtaBanner } from './content/CtaBanner.js';
package/src/input/Form.ts CHANGED
@@ -7,12 +7,17 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-form',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-form [attr.action]="action" [attr.method]="method" [novalidate]="novalidate" (arc-invalid)="arcInvalid.emit($event)" (arc-submit)="arcSubmit.emit($event)"><ng-content /></arc-form>`,
10
+ template: `<arc-form [attr.action]="action" [attr.method]="method" [novalidate]="novalidate" [loading]="loading" [disabled]="disabled" [errorSummary]="errorSummary" [attr._errors]="_errors" (arc-invalid)="arcInvalid.emit($event)" (arc-submit)="arcSubmit.emit($event)" (arc-reset)="arcReset.emit($event)"><ng-content /></arc-form>`,
11
11
  })
12
12
  export class Form {
13
13
  @Input() action: string = '';
14
14
  @Input() method: string = '';
15
15
  @Input() novalidate: boolean = false;
16
+ @Input() loading: boolean = false;
17
+ @Input() disabled: boolean = false;
18
+ @Input() errorSummary: boolean = true;
19
+ @Input() _errors: string = [];
16
20
  @Output() arcInvalid = new EventEmitter<CustomEvent>();
17
21
  @Output() arcSubmit = new EventEmitter<CustomEvent>();
22
+ @Output() arcReset = new EventEmitter<CustomEvent>();
18
23
  }
@@ -7,9 +7,10 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-page-header',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-page-header [attr.heading]="heading" [attr.description]="description"><ng-content /></arc-page-header>`,
10
+ template: `<arc-page-header [attr.heading]="heading" [attr.description]="description" [border]="border"><ng-content /></arc-page-header>`,
11
11
  })
12
12
  export class PageHeader {
13
13
  @Input() heading: string = '';
14
14
  @Input() description: string = '';
15
+ @Input() border: boolean = false;
15
16
  }
@@ -7,10 +7,11 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-nav-item',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-nav-item [attr.href]="href" [active]="active" [attr.description]="description"><ng-content /></arc-nav-item>`,
10
+ template: `<arc-nav-item [attr.href]="href" [active]="active" [muted]="muted" [attr.description]="description"><ng-content /></arc-nav-item>`,
11
11
  })
12
12
  export class NavItem {
13
13
  @Input() href: string = '';
14
14
  @Input() active: boolean = false;
15
+ @Input() muted: boolean = false;
15
16
  @Input() description: string = '';
16
17
  }