@arclux/arc-ui-angular 1.10.2 → 2.0.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,7 +1,8 @@
1
1
  {
2
2
  "name": "@arclux/arc-ui-angular",
3
- "version": "1.10.2",
3
+ "version": "2.0.0",
4
4
  "description": "Angular standalone component wrappers for ARC UI Web Components.",
5
+ "sideEffects": false,
5
6
  "type": "module",
6
7
  "main": "src/index.ts",
7
8
  "module": "src/index.ts",
@@ -39,12 +40,11 @@
39
40
  "files": [
40
41
  "src/"
41
42
  ],
42
- "sideEffects": false,
43
43
  "peerDependencies": {
44
44
  "@angular/core": ">=17.0.0"
45
45
  },
46
46
  "dependencies": {
47
- "@arclux/arc-ui": "1.10.2"
47
+ "@arclux/arc-ui": "2.0.0"
48
48
  },
49
49
  "license": "MIT",
50
50
  "keywords": [
@@ -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-comparison',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-comparison [attr.features]="features" [attr._columns]="_columns"><ng-content /></arc-comparison>`,
11
+ })
12
+ export class Comparison {
13
+ @Input() features: string = '[]';
14
+ @Input() _columns: 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-comparison-column',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-comparison-column [attr.heading]="heading" [highlight]="highlight" [attr.values]="values"><ng-content /></arc-comparison-column>`,
11
+ })
12
+ export class ComparisonColumn {
13
+ @Input() heading: string = '';
14
+ @Input() highlight: boolean = false;
15
+ @Input() values: string = '[]';
16
+ }
@@ -0,0 +1,23 @@
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-countdown-timer',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-countdown-timer [attr.target]="target" [attr.label]="label" [attr.expired]="expired" [hideZeroSegments]="hideZeroSegments" [attr._days]="_days" [attr._hours]="_hours" [attr._minutes]="_minutes" [attr._seconds]="_seconds" [attr._expired]="_expired" (arc-expired)="arcExpired.emit($event)"><ng-content /></arc-countdown-timer>`,
11
+ })
12
+ export class CountdownTimer {
13
+ @Input() target: string = '';
14
+ @Input() label: string = '';
15
+ @Input() expired: string = 'Expired';
16
+ @Input() hideZeroSegments: boolean = false;
17
+ @Input() _days: string = 0;
18
+ @Input() _hours: string = 0;
19
+ @Input() _minutes: string = 0;
20
+ @Input() _seconds: string = 0;
21
+ @Input() _expired: string = false;
22
+ @Output() arcExpired = new EventEmitter<CustomEvent>();
23
+ }
@@ -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-description-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-description-item [attr.term]="term"><ng-content /></arc-description-item>`,
11
+ })
12
+ export class DescriptionItem {
13
+ @Input() term: 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-description-list',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-description-list [attr.columns]="columns" [dividers]="dividers"><ng-content /></arc-description-list>`,
11
+ })
12
+ export class DescriptionList {
13
+ @Input() columns: number = 1;
14
+ @Input() dividers: boolean = true;
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-diff',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-diff [attr.before]="before" [attr.after]="after" [attr.mode]="mode"><ng-content /></arc-diff>`,
11
+ })
12
+ export class Diff {
13
+ @Input() before: string = '';
14
+ @Input() after: string = '';
15
+ @Input() mode: 'side-by-side' = 'inline';
16
+ }
@@ -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-key-value',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-key-value [attr.layout]="layout" [dividers]="dividers"><ng-content /></arc-key-value>`,
11
+ })
12
+ export class KeyValue {
13
+ @Input() layout: 'horizontal' | 'stacked' = 'horizontal';
14
+ @Input() dividers: boolean = true;
15
+ }
@@ -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-kv-pair',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-kv-pair [attr.label]="label"><ng-content /></arc-kv-pair>`,
11
+ })
12
+ export class KvPair {
13
+ @Input() label: string = '';
14
+ }
package/src/data/List.ts CHANGED
@@ -7,7 +7,7 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-list',
8
8
  standalone: true,
9
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>`,
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-select)="arcItemSelect.emit($event)"><ng-content /></arc-list>`,
11
11
  })
12
12
  export class List {
13
13
  @Input() variant: 'bordered' | 'separated' = 'default';
@@ -17,5 +17,5 @@ export class List {
17
17
  @Input() value: string = '';
18
18
  @Input() _items: string = [];
19
19
  @Output() arcChange = new EventEmitter<CustomEvent>();
20
- @Output() arcItemClick = new EventEmitter<CustomEvent>();
20
+ @Output() arcItemSelect = new EventEmitter<CustomEvent>();
21
21
  }
@@ -7,7 +7,7 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-list-item',
8
8
  standalone: true,
9
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>`,
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-select)="arcItemSelect.emit($event)"><ng-content /></arc-list-item>`,
11
11
  })
12
12
  export class ListItem {
13
13
  @Input() value: string = '';
@@ -17,5 +17,5 @@ export class ListItem {
17
17
  @Input() _hasPrefix: string = false;
18
18
  @Input() _hasSuffix: string = false;
19
19
  @Input() _hasDescription: string = false;
20
- @Output() arcItemClick = new EventEmitter<CustomEvent>();
20
+ @Output() arcItemSelect = new EventEmitter<CustomEvent>();
21
21
  }
@@ -0,0 +1,19 @@
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-sparkline',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-sparkline [attr.data]="data" [attr.type]="type" [attr.color]="color" [attr.width]="width" [attr.height]="height" [fill]="fill"><ng-content /></arc-sparkline>`,
11
+ })
12
+ export class Sparkline {
13
+ @Input() data: string = '';
14
+ @Input() type: string = 'line';
15
+ @Input() color: string = '';
16
+ @Input() width: number = 120;
17
+ @Input() height: number = 32;
18
+ @Input() fill: boolean = false;
19
+ }
package/src/index.ts CHANGED
@@ -156,3 +156,20 @@ export { LoadingOverlay } from './feedback/LoadingOverlay.js';
156
156
  export { ProgressToast } from './feedback/ProgressToast.js';
157
157
  export { Snackbar } from './feedback/Snackbar.js';
158
158
  export { Spotlight } from './feedback/Spotlight.js';
159
+ export { ComparisonColumn } from './data/ComparisonColumn.js';
160
+ export { CountdownTimer } from './data/CountdownTimer.js';
161
+ export { DescriptionItem } from './data/DescriptionItem.js';
162
+ export { Diff } from './data/Diff.js';
163
+ export { KvPair } from './data/KvPair.js';
164
+ export { Sparkline } from './data/Sparkline.js';
165
+ export { Blockquote } from './typography/Blockquote.js';
166
+ export { GradientText } from './typography/GradientText.js';
167
+ export { NumberFormat } from './typography/NumberFormat.js';
168
+ export { Prose } from './typography/Prose.js';
169
+ export { TimeAgo } from './typography/TimeAgo.js';
170
+ export { Typewriter } from './typography/Typewriter.js';
171
+ export { Comparison } from './data/Comparison.js';
172
+ export { DescriptionList } from './data/DescriptionList.js';
173
+ export { KeyValue } from './data/KeyValue.js';
174
+ export { RangeSlider } from './input/RangeSlider.js';
175
+ export { TimePicker } from './input/TimePicker.js';
@@ -17,8 +17,8 @@ export class DatePicker {
17
17
  @Input() disabled: boolean = false;
18
18
  @Input() label: string = '';
19
19
  @Input() _open: string = false;
20
- @Input() _viewMonth: string = 'today.getMonth()';
21
- @Input() _viewYear: string = 'today.getFullYear()';
20
+ @Input() _viewMonth: string = 'null';
21
+ @Input() _viewYear: string = 'null';
22
22
  @Input() _mode: string = 'days';
23
23
  @Output() arcChange = new EventEmitter<CustomEvent>();
24
24
  }
@@ -7,11 +7,11 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-hotkey',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-hotkey [attr.keys]="keys" [disabled]="disabled" [global]="global" (arc-trigger)="arcTrigger.emit($event)"><ng-content /></arc-hotkey>`,
10
+ template: `<arc-hotkey [attr.keys]="keys" [disabled]="disabled" [global]="global" (arc-hotkey-trigger)="arcHotkeyTrigger.emit($event)"><ng-content /></arc-hotkey>`,
11
11
  })
12
12
  export class Hotkey {
13
13
  @Input() keys: string = '';
14
14
  @Input() disabled: boolean = false;
15
15
  @Input() global: boolean = false;
16
- @Output() arcTrigger = new EventEmitter<CustomEvent>();
16
+ @Output() arcHotkeyTrigger = new EventEmitter<CustomEvent>();
17
17
  }
@@ -0,0 +1,24 @@
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-range-slider',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-range-slider [attr.min]="min" [attr.max]="max" [attr.step]="step" [attr.low]="low" [attr.high]="high" [disabled]="disabled" [attr.label]="label" [showValues]="showValues" [attr._dragging]="_dragging" (arc-input)="arcInput.emit($event)" (arc-change)="arcChange.emit($event)"><ng-content /></arc-range-slider>`,
11
+ })
12
+ export class RangeSlider {
13
+ @Input() min: number = 0;
14
+ @Input() max: number = 100;
15
+ @Input() step: number = 1;
16
+ @Input() low: number = 0;
17
+ @Input() high: number = 100;
18
+ @Input() disabled: boolean = false;
19
+ @Input() label: string = '';
20
+ @Input() showValues: boolean = true;
21
+ @Input() _dragging: string = 'null';
22
+ @Output() arcInput = new EventEmitter<CustomEvent>();
23
+ @Output() arcChange = new EventEmitter<CustomEvent>();
24
+ }
@@ -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-time-picker',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-time-picker [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.step]="step" [attr.format]="format" [attr.placeholder]="placeholder" [disabled]="disabled" [attr.label]="label" [attr._open]="_open" [attr._selectedHour]="_selectedHour" [attr._selectedMinute]="_selectedMinute" [attr._selectedPeriod]="_selectedPeriod" [attr._focusedColumn]="_focusedColumn" (arc-change)="arcChange.emit($event)"><ng-content /></arc-time-picker>`,
11
+ })
12
+ export class TimePicker {
13
+ @Input() value: string = '';
14
+ @Input() min: string = '';
15
+ @Input() max: string = '';
16
+ @Input() step: number = 1;
17
+ @Input() format: string = '12h';
18
+ @Input() placeholder: string = 'Select time';
19
+ @Input() disabled: boolean = false;
20
+ @Input() label: string = '';
21
+ @Input() _open: string = false;
22
+ @Input() _selectedHour: string = 'null';
23
+ @Input() _selectedMinute: string = 'null';
24
+ @Input() _selectedPeriod: string = 'AM';
25
+ @Input() _focusedColumn: string = 'hour';
26
+ @Output() arcChange = new EventEmitter<CustomEvent>();
27
+ }
@@ -7,10 +7,11 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-footer',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-footer [compact]="compact" [border]="border" [attr.align]="align"><ng-content /></arc-footer>`,
10
+ template: `<arc-footer [compact]="compact" [border]="border" [attr.contained]="contained" [attr.align]="align"><ng-content /></arc-footer>`,
11
11
  })
12
12
  export class Footer {
13
13
  @Input() compact: boolean = false;
14
14
  @Input() border: boolean = true;
15
+ @Input() contained: string = 'null';
15
16
  @Input() align: 'center' = 'left';
16
17
  }
@@ -13,7 +13,7 @@ export class Sidebar {
13
13
  @Input() active: string = '';
14
14
  @Input() collapsed: boolean = false;
15
15
  @Input() position: 'right' = 'left';
16
- @Input() width: string = '260px';
16
+ @Input() width: string = '280px';
17
17
  @Input() glow: boolean = false;
18
18
  @Input() _sections: string = [];
19
19
  }
@@ -7,9 +7,10 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-sidebar-link',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-sidebar-link [attr.href]="href" [active]="active"><ng-content /></arc-sidebar-link>`,
10
+ template: `<arc-sidebar-link [attr.href]="href" [active]="active" [attr.level]="level"><ng-content /></arc-sidebar-link>`,
11
11
  })
12
12
  export class SidebarLink {
13
13
  @Input() href: string = '';
14
14
  @Input() active: boolean = false;
15
+ @Input() level: number = 0;
15
16
  }
@@ -7,8 +7,9 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-spy-link',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
- template: `<arc-spy-link [attr.target]="target"><ng-content /></arc-spy-link>`,
10
+ template: `<arc-spy-link [attr.target]="target" [attr.level]="level"><ng-content /></arc-spy-link>`,
11
11
  })
12
12
  export class SpyLink {
13
13
  @Input() target: string = '';
14
+ @Input() level: number = 0;
14
15
  }
@@ -7,12 +7,13 @@ import '@arclux/arc-ui';
7
7
  selector: 'arc-tabs',
8
8
  standalone: true,
9
9
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
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>`,
10
+ template: `<arc-tabs [attr.selected]="selected" [attr.align]="align" [attr.variant]="variant" [attr.orientation]="orientation" [attr._tabs]="_tabs" (arc-change)="arcChange.emit($event)"><ng-content /></arc-tabs>`,
11
11
  })
12
12
  export class Tabs {
13
13
  @Input() selected: number = 0;
14
14
  @Input() align: 'center' | 'end' = 'start';
15
15
  @Input() variant: 'pills' = 'underline';
16
+ @Input() orientation: 'vertical' = 'horizontal';
16
17
  @Input() _tabs: string = [];
17
18
  @Output() arcChange = new EventEmitter<CustomEvent>();
18
19
  }
@@ -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-blockquote',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-blockquote [attr.cite]="cite" [attr.variant]="variant"><ng-content /></arc-blockquote>`,
11
+ })
12
+ export class Blockquote {
13
+ @Input() cite: string = '';
14
+ @Input() variant: string = 'default';
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-gradient-text',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-gradient-text [attr.variant]="variant" [attr.gradient]="gradient" [animate]="animate"><ng-content /></arc-gradient-text>`,
11
+ })
12
+ export class GradientText {
13
+ @Input() variant: 'accent' | 'display' | 'sunset' | 'ocean' = 'accent';
14
+ @Input() gradient: string = '';
15
+ @Input() animate: boolean = false;
16
+ }
@@ -0,0 +1,19 @@
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-number-format',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-number-format [attr.value]="value" [attr.type]="type" [attr.locale]="locale" [attr.currency]="currency" [attr.decimals]="decimals" [attr.notation]="notation"><ng-content /></arc-number-format>`,
11
+ })
12
+ export class NumberFormat {
13
+ @Input() value: number = 0;
14
+ @Input() type: string = 'number';
15
+ @Input() locale: string = 'en-US';
16
+ @Input() currency: string = 'USD';
17
+ @Input() decimals: number = 'undefined';
18
+ @Input() notation: string = 'standard';
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-prose',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-prose [attr.size]="size"><ng-content /></arc-prose>`,
11
+ })
12
+ export class Prose {
13
+ @Input() size: 'sm' | 'md' | 'lg' = 'md';
14
+ }
@@ -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-time-ago',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-time-ago [attr.datetime]="datetime" [live]="live" [attr.locale]="locale"><ng-content /></arc-time-ago>`,
11
+ })
12
+ export class TimeAgo {
13
+ @Input() datetime: string = '';
14
+ @Input() live: boolean = true;
15
+ @Input() locale: string = 'en-US';
16
+ }
@@ -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-typewriter',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-typewriter [attr.text]="text" [attr.speed]="speed" [attr.delay]="delay" [cursor]="cursor" [loop]="loop" [attr._displayText]="_displayText" [attr._complete]="_complete" (arc-complete)="arcComplete.emit($event)"><ng-content /></arc-typewriter>`,
11
+ })
12
+ export class Typewriter {
13
+ @Input() text: string = '';
14
+ @Input() speed: number = 50;
15
+ @Input() delay: number = 0;
16
+ @Input() cursor: boolean = true;
17
+ @Input() loop: boolean = false;
18
+ @Input() _displayText: string = '';
19
+ @Input() _complete: string = false;
20
+ @Output() arcComplete = new EventEmitter<CustomEvent>();
21
+ }