@arclux/arc-ui-angular 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-angular",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
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.10.0"
47
+ "@arclux/arc-ui": "1.10.1"
48
48
  },
49
49
  "license": "MIT",
50
50
  "keywords": [
@@ -0,0 +1,20 @@
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-animated-number',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-animated-number [attr.value]="value" [attr.duration]="duration" [attr.format]="format" [attr.prefix]="prefix" [attr.suffix]="suffix" [attr.decimals]="decimals" [attr.locale]="locale"><ng-content /></arc-animated-number>`,
11
+ })
12
+ export class AnimatedNumber {
13
+ @Input() value: number = 0;
14
+ @Input() duration: number = 1000;
15
+ @Input() format: string = 'number';
16
+ @Input() prefix: string = '';
17
+ @Input() suffix: string = '';
18
+ @Input() decimals: number = 0;
19
+ @Input() locale: string = 'en-US';
20
+ }
@@ -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-badge',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-badge [attr.variant]="variant" [attr.size]="size" [attr.color]="color"><ng-content /></arc-badge>`,
11
+ })
12
+ export class Badge {
13
+ @Input() variant: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' = 'default';
14
+ @Input() size: 'sm' | 'lg' = 'md';
15
+ @Input() color: string = '';
16
+ }
@@ -0,0 +1,27 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-data-table',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-data-table [attr.rows]="rows" [sortable]="sortable" [selectable]="selectable" [attr.sortColumn]="sortColumn" [attr.sortDirection]="sortDirection" [virtual]="virtual" [attr.rowHeight]="rowHeight" [attr._columns]="_columns" [attr._selectedRows]="_selectedRows" [attr._startIndex]="_startIndex" [attr._visibleCount]="_visibleCount" (arc-sort)="arcSort.emit($event)" (arc-select-all)="arcSelectAll.emit($event)" (arc-row-select)="arcRowSelect.emit($event)"><ng-content /></arc-data-table>`,
11
+ })
12
+ export class DataTable {
13
+ @Input() rows: unknown[] = [];
14
+ @Input() sortable: boolean = false;
15
+ @Input() selectable: boolean = false;
16
+ @Input() sortColumn: string = '';
17
+ @Input() sortDirection: string = 'asc';
18
+ @Input() virtual: boolean = false;
19
+ @Input() rowHeight: number = 40;
20
+ @Input() _columns: string = [];
21
+ @Input() _selectedRows: string = 'new Set()';
22
+ @Input() _startIndex: string = 0;
23
+ @Input() _visibleCount: string = 0;
24
+ @Output() arcSort = new EventEmitter<CustomEvent>();
25
+ @Output() arcSelectAll = new EventEmitter<CustomEvent>();
26
+ @Output() arcRowSelect = new EventEmitter<CustomEvent>();
27
+ }
@@ -0,0 +1,21 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-list',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-list [attr.variant]="variant" [attr.size]="size" [selectable]="selectable" [multiple]="multiple" [attr.value]="value" [attr._items]="_items" (arc-change)="arcChange.emit($event)" (arc-item-click)="arcItemClick.emit($event)"><ng-content /></arc-list>`,
11
+ })
12
+ export class List {
13
+ @Input() variant: 'bordered' | 'separated' = 'default';
14
+ @Input() size: 'sm' | 'lg' = 'md';
15
+ @Input() selectable: boolean = false;
16
+ @Input() multiple: boolean = false;
17
+ @Input() value: string = '';
18
+ @Input() _items: string = [];
19
+ @Output() arcChange = new EventEmitter<CustomEvent>();
20
+ @Output() arcItemClick = new EventEmitter<CustomEvent>();
21
+ }
@@ -0,0 +1,21 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-list-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-list-item [attr.value]="value" [selected]="selected" [disabled]="disabled" [attr.href]="href" [attr._hasPrefix]="_hasPrefix" [attr._hasSuffix]="_hasSuffix" [attr._hasDescription]="_hasDescription" (arc-item-click)="arcItemClick.emit($event)"><ng-content /></arc-list-item>`,
11
+ })
12
+ export class ListItem {
13
+ @Input() value: string = '';
14
+ @Input() selected: boolean = false;
15
+ @Input() disabled: boolean = false;
16
+ @Input() href: string = '';
17
+ @Input() _hasPrefix: string = false;
18
+ @Input() _hasSuffix: string = false;
19
+ @Input() _hasDescription: string = false;
20
+ @Output() arcItemClick = new EventEmitter<CustomEvent>();
21
+ }
@@ -0,0 +1,20 @@
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-meter',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-meter [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.low]="low" [attr.high]="high" [attr.optimum]="optimum" [attr.label]="label"><ng-content /></arc-meter>`,
11
+ })
12
+ export class Meter {
13
+ @Input() value: number = 0;
14
+ @Input() min: number = 0;
15
+ @Input() max: number = 100;
16
+ @Input() low: number = 'undefined';
17
+ @Input() high: number = 'undefined';
18
+ @Input() optimum: number = 'undefined';
19
+ @Input() label: string = '';
20
+ }
@@ -0,0 +1,17 @@
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-stat',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-stat [attr.value]="value" [attr.label]="label" [attr.trend]="trend" [attr.change]="change"><ng-content /></arc-stat>`,
11
+ })
12
+ export class Stat {
13
+ @Input() value: string = '';
14
+ @Input() label: string = '';
15
+ @Input() trend: 'up' | 'down' | 'neutral' = '';
16
+ @Input() change: string = '';
17
+ }
@@ -0,0 +1,14 @@
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-step',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-step [attr.label]="label"><ng-content /></arc-step>`,
11
+ })
12
+ export class Step {
13
+ @Input() label: string = '';
14
+ }
@@ -0,0 +1,15 @@
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-stepper',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-stepper [attr.active]="active" [attr._steps]="_steps"><ng-content /></arc-stepper>`,
11
+ })
12
+ export class Stepper {
13
+ @Input() active: number = 0;
14
+ @Input() _steps: string = [];
15
+ }
@@ -0,0 +1,17 @@
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-table',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-table [attr.columns]="columns" [attr.rows]="rows" [striped]="striped" [compact]="compact"><ng-content /></arc-table>`,
11
+ })
12
+ export class Table {
13
+ @Input() columns: unknown[] = [];
14
+ @Input() rows: unknown[] = [];
15
+ @Input() striped: boolean = false;
16
+ @Input() compact: boolean = false;
17
+ }
@@ -0,0 +1,19 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-tag',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-tag [attr.variant]="variant" [attr.size]="size" [removable]="removable" [disabled]="disabled" [attr.color]="color" (arc-remove)="arcRemove.emit($event)"><ng-content /></arc-tag>`,
11
+ })
12
+ export class Tag {
13
+ @Input() variant: 'primary' | 'secondary' | 'success' | 'warning' | 'danger' = 'default';
14
+ @Input() size: 'sm' | 'lg' = 'md';
15
+ @Input() removable: boolean = false;
16
+ @Input() disabled: boolean = false;
17
+ @Input() color: string = '';
18
+ @Output() arcRemove = new EventEmitter<CustomEvent>();
19
+ }
@@ -0,0 +1,14 @@
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-timeline',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-timeline [attr._items]="_items"><ng-content /></arc-timeline>`,
11
+ })
12
+ export class Timeline {
13
+ @Input() _items: string = [];
14
+ }
@@ -0,0 +1,15 @@
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-timeline-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-timeline-item [attr.heading]="heading" [attr.date]="date"><ng-content /></arc-timeline-item>`,
11
+ })
12
+ export class TimelineItem {
13
+ @Input() heading: string = '';
14
+ @Input() date: string = '';
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-value-card',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-value-card [attr.icon]="icon" [attr.heading]="heading" [attr.description]="description"><ng-content /></arc-value-card>`,
11
+ })
12
+ export class ValueCard {
13
+ @Input() icon: string = '';
14
+ @Input() heading: string = '';
15
+ @Input() description: string = '';
16
+ }
@@ -7,10 +7,9 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-tabs',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-tabs [attr.items]="items" [attr.selected]="selected" [attr.align]="align" [attr.variant]="variant" [attr._tabs]="_tabs" (arc-change)="arcChange.emit($event)"><ng-content /></arc-tabs>`,
10
+ template: `<arc-tabs [attr.selected]="selected" [attr.align]="align" [attr.variant]="variant" [attr._tabs]="_tabs" (arc-change)="arcChange.emit($event)"><ng-content /></arc-tabs>`,
11
11
  })
12
12
  export class Tabs {
13
- @Input() items: unknown[] = [];
14
13
  @Input() selected: number = 0;
15
14
  @Input() align: 'center' | 'end' = 'start';
16
15
  @Input() variant: 'pills' = 'underline';
@@ -0,0 +1,18 @@
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-code-block',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-code-block [attr.language]="language" [attr.filename]="filename" [attr.code]="code" [attr.variant]="variant" [attr._highlightedHtml]="_highlightedHtml"><ng-content /></arc-code-block>`,
11
+ })
12
+ export class CodeBlock {
13
+ @Input() language: string = '';
14
+ @Input() filename: string = '';
15
+ @Input() code: string = '';
16
+ @Input() variant: 'window' | 'basic' = 'default';
17
+ @Input() _highlightedHtml: string = '';
18
+ }
@@ -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-highlight',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-highlight [attr.text]="text" [attr.query]="query" [caseSensitive]="caseSensitive"><ng-content /></arc-highlight>`,
11
+ })
12
+ export class Highlight {
13
+ @Input() text: string = '';
14
+ @Input() query: string = '';
15
+ @Input() caseSensitive: boolean = false;
16
+ }
@@ -0,0 +1,13 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-kbd',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-kbd><ng-content /></arc-kbd>`,
11
+ })
12
+ export class Kbd {
13
+ }
@@ -0,0 +1,14 @@
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-markdown',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-markdown [attr.content]="content"><ng-content /></arc-markdown>`,
11
+ })
12
+ export class Markdown {
13
+ @Input() content: string = '';
14
+ }
@@ -0,0 +1,15 @@
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-text',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-text [attr.variant]="variant" [attr.as]="as"><ng-content /></arc-text>`,
11
+ })
12
+ export class Text {
13
+ @Input() variant: 'accent' | 'code' = 'body';
14
+ @Input() as: string = 'p';
15
+ }
@@ -0,0 +1,16 @@
1
+ // Auto-generated by @arclux/prism — do not edit manually
2
+
3
+ import { Component, CUSTOM_ELEMENTS_SCHEMA, Input, Output, EventEmitter } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-truncate',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-truncate [attr.lines]="lines" [expanded]="expanded" (arc-toggle)="arcToggle.emit($event)"><ng-content /></arc-truncate>`,
11
+ })
12
+ export class Truncate {
13
+ @Input() lines: number = 3;
14
+ @Input() expanded: boolean = false;
15
+ @Output() arcToggle = new EventEmitter<CustomEvent>();
16
+ }