@arclux/arc-ui-angular 1.9.2 → 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 +2 -2
- package/src/content/Avatar.ts +2 -1
- package/src/content/DataTable.ts +5 -1
- package/src/content/Image.ts +22 -0
- package/src/content/List.ts +21 -0
- package/src/content/ListItem.ts +21 -0
- package/src/content/ScrollIndicator.ts +18 -0
- package/src/content/Separator.ts +16 -0
- package/src/content/VirtualList.ts +18 -0
- package/src/content/index.ts +5 -0
- package/src/data/AnimatedNumber.ts +20 -0
- package/src/data/Badge.ts +16 -0
- package/src/data/DataTable.ts +27 -0
- package/src/data/List.ts +21 -0
- package/src/data/ListItem.ts +21 -0
- package/src/data/Meter.ts +20 -0
- package/src/data/Stat.ts +17 -0
- package/src/data/Step.ts +14 -0
- package/src/data/Stepper.ts +15 -0
- package/src/data/Table.ts +17 -0
- package/src/data/Tag.ts +19 -0
- package/src/data/Timeline.ts +14 -0
- package/src/data/TimelineItem.ts +15 -0
- package/src/data/ValueCard.ts +16 -0
- package/src/feedback/Announcement.ts +15 -0
- package/src/feedback/Banner.ts +17 -0
- package/src/feedback/CommandPalette.ts +1 -2
- package/src/feedback/Confirm.ts +19 -0
- package/src/feedback/ConnectionStatus.ts +17 -0
- package/src/feedback/Dialog.ts +1 -1
- package/src/feedback/DropdownMenu.ts +1 -2
- package/src/feedback/GuidedTour.ts +19 -0
- package/src/feedback/HoverCard.ts +1 -1
- package/src/feedback/InlineMessage.ts +14 -0
- package/src/feedback/LoadingOverlay.ts +16 -0
- package/src/feedback/Popover.ts +1 -1
- package/src/feedback/ProgressToast.ts +17 -0
- package/src/feedback/Snackbar.ts +18 -0
- package/src/feedback/Spotlight.ts +17 -0
- package/src/index.ts +40 -0
- package/src/input/ButtonGroup.ts +16 -0
- package/src/input/Fieldset.ts +20 -0
- package/src/input/Hotkey.ts +17 -0
- package/src/input/InputGroup.ts +16 -0
- package/src/input/Label.ts +19 -0
- package/src/input/SwitchGroup.ts +17 -0
- package/src/layout/AspectGrid.ts +16 -0
- package/src/layout/Center.ts +16 -0
- package/src/layout/Cluster.ts +16 -0
- package/src/layout/Dock.ts +17 -0
- package/src/layout/FloatBar.ts +15 -0
- package/src/layout/Inset.ts +15 -0
- package/src/layout/Masonry.ts +15 -0
- package/src/layout/ResponsiveSwitcher.ts +15 -0
- package/src/layout/Sticky.ts +16 -0
- package/src/navigation/AnchorNav.ts +17 -0
- package/src/navigation/BottomNav.ts +16 -0
- package/src/navigation/BreadcrumbMenu.ts +16 -0
- package/src/navigation/CommandBar.ts +18 -0
- package/src/navigation/PageIndicator.ts +17 -0
- package/src/navigation/Rail.ts +17 -0
- package/src/navigation/SkipLink.ts +14 -0
- package/src/navigation/SpeedDial.ts +19 -0
- package/src/navigation/StepperNav.ts +18 -0
- package/src/navigation/Tabs.ts +1 -2
- package/src/typography/CodeBlock.ts +18 -0
- package/src/typography/Highlight.ts +16 -0
- package/src/typography/Kbd.ts +13 -0
- package/src/typography/Markdown.ts +14 -0
- package/src/typography/Text.ts +15 -0
- package/src/typography/Truncate.ts +16 -0
|
@@ -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-loading-overlay',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-loading-overlay [active]="active" [attr.message]="message" [global]="global"><ng-content /></arc-loading-overlay>`,
|
|
11
|
+
})
|
|
12
|
+
export class LoadingOverlay {
|
|
13
|
+
@Input() active: boolean = false;
|
|
14
|
+
@Input() message: string = '';
|
|
15
|
+
@Input() global: boolean = false;
|
|
16
|
+
}
|
package/src/feedback/Popover.ts
CHANGED
|
@@ -11,7 +11,7 @@ import '@arclux/arc-ui';
|
|
|
11
11
|
})
|
|
12
12
|
export class Popover {
|
|
13
13
|
@Input() open: boolean = false;
|
|
14
|
-
@Input() position:
|
|
14
|
+
@Input() position: string = 'bottom';
|
|
15
15
|
@Input() trigger: string = '';
|
|
16
16
|
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
17
17
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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-progress-toast',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-progress-toast [attr.position]="position" [attr._toasts]="_toasts" (arc-complete)="arcComplete.emit($event)" (arc-cancel)="arcCancel.emit($event)"><ng-content /></arc-progress-toast>`,
|
|
11
|
+
})
|
|
12
|
+
export class ProgressToast {
|
|
13
|
+
@Input() position: 'bottom-right' | 'top-right' = 'bottom-right';
|
|
14
|
+
@Input() _toasts: string = [];
|
|
15
|
+
@Output() arcComplete = new EventEmitter<CustomEvent>();
|
|
16
|
+
@Output() arcCancel = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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-snackbar',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-snackbar [attr.position]="position" [attr.duration]="duration" [attr._snackbars]="_snackbars" (arc-action)="arcAction.emit($event)" (arc-dismiss)="arcDismiss.emit($event)"><ng-content /></arc-snackbar>`,
|
|
11
|
+
})
|
|
12
|
+
export class Snackbar {
|
|
13
|
+
@Input() position: 'bottom-center' | 'bottom-left' | 'bottom-right' = 'bottom-center';
|
|
14
|
+
@Input() duration: number = 5000;
|
|
15
|
+
@Input() _snackbars: string = [];
|
|
16
|
+
@Output() arcAction = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcDismiss = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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-spotlight',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-spotlight [attr.target]="target" [active]="active" [attr.padding]="padding" (arc-dismiss)="arcDismiss.emit($event)"><ng-content /></arc-spotlight>`,
|
|
11
|
+
})
|
|
12
|
+
export class Spotlight {
|
|
13
|
+
@Input() target: string = '';
|
|
14
|
+
@Input() active: boolean = false;
|
|
15
|
+
@Input() padding: number = 8;
|
|
16
|
+
@Output() arcDismiss = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -116,3 +116,43 @@ export { MenuItem } from './shared/MenuItem.js';
|
|
|
116
116
|
export { Option } from './shared/Option.js';
|
|
117
117
|
export { CtaBanner } from './content/CtaBanner.js';
|
|
118
118
|
export { IconLibrary } from './content/IconLibrary.js';
|
|
119
|
+
export { Image } from './content/Image.js';
|
|
120
|
+
export { ListItem } from './content/ListItem.js';
|
|
121
|
+
export { List } from './content/List.js';
|
|
122
|
+
export { ScrollIndicator } from './content/ScrollIndicator.js';
|
|
123
|
+
export { Separator } from './content/Separator.js';
|
|
124
|
+
export { VirtualList } from './content/VirtualList.js';
|
|
125
|
+
export { ButtonGroup } from './input/ButtonGroup.js';
|
|
126
|
+
export { Fieldset } from './input/Fieldset.js';
|
|
127
|
+
export { InputGroup } from './input/InputGroup.js';
|
|
128
|
+
export { Label } from './input/Label.js';
|
|
129
|
+
export { SwitchGroup } from './input/SwitchGroup.js';
|
|
130
|
+
export { Hotkey } from './input/Hotkey.js';
|
|
131
|
+
export { AnchorNav } from './navigation/AnchorNav.js';
|
|
132
|
+
export { BottomNav } from './navigation/BottomNav.js';
|
|
133
|
+
export { BreadcrumbMenu } from './navigation/BreadcrumbMenu.js';
|
|
134
|
+
export { CommandBar } from './navigation/CommandBar.js';
|
|
135
|
+
export { PageIndicator } from './navigation/PageIndicator.js';
|
|
136
|
+
export { Rail } from './navigation/Rail.js';
|
|
137
|
+
export { SkipLink } from './navigation/SkipLink.js';
|
|
138
|
+
export { SpeedDial } from './navigation/SpeedDial.js';
|
|
139
|
+
export { StepperNav } from './navigation/StepperNav.js';
|
|
140
|
+
export { AspectGrid } from './layout/AspectGrid.js';
|
|
141
|
+
export { Center } from './layout/Center.js';
|
|
142
|
+
export { Cluster } from './layout/Cluster.js';
|
|
143
|
+
export { Dock } from './layout/Dock.js';
|
|
144
|
+
export { FloatBar } from './layout/FloatBar.js';
|
|
145
|
+
export { Inset } from './layout/Inset.js';
|
|
146
|
+
export { Masonry } from './layout/Masonry.js';
|
|
147
|
+
export { ResponsiveSwitcher } from './layout/ResponsiveSwitcher.js';
|
|
148
|
+
export { Sticky } from './layout/Sticky.js';
|
|
149
|
+
export { Announcement } from './feedback/Announcement.js';
|
|
150
|
+
export { Banner } from './feedback/Banner.js';
|
|
151
|
+
export { Confirm } from './feedback/Confirm.js';
|
|
152
|
+
export { ConnectionStatus } from './feedback/ConnectionStatus.js';
|
|
153
|
+
export { GuidedTour } from './feedback/GuidedTour.js';
|
|
154
|
+
export { InlineMessage } from './feedback/InlineMessage.js';
|
|
155
|
+
export { LoadingOverlay } from './feedback/LoadingOverlay.js';
|
|
156
|
+
export { ProgressToast } from './feedback/ProgressToast.js';
|
|
157
|
+
export { Snackbar } from './feedback/Snackbar.js';
|
|
158
|
+
export { Spotlight } from './feedback/Spotlight.js';
|
|
@@ -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-button-group',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-button-group [attr.orientation]="orientation" [attr.size]="size" [attr.variant]="variant"><ng-content /></arc-button-group>`,
|
|
11
|
+
})
|
|
12
|
+
export class ButtonGroup {
|
|
13
|
+
@Input() orientation: 'vertical' = 'horizontal';
|
|
14
|
+
@Input() size: string = 'md';
|
|
15
|
+
@Input() variant: string = '';
|
|
16
|
+
}
|
|
@@ -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-fieldset',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-fieldset [attr.legend]="legend" [attr.description]="description" [disabled]="disabled" [attr.error]="error" [attr.variant]="variant" [attr._hasLegend]="_hasLegend" [attr._hasActions]="_hasActions"><ng-content /></arc-fieldset>`,
|
|
11
|
+
})
|
|
12
|
+
export class Fieldset {
|
|
13
|
+
@Input() legend: string = '';
|
|
14
|
+
@Input() description: string = '';
|
|
15
|
+
@Input() disabled: boolean = false;
|
|
16
|
+
@Input() error: string = '';
|
|
17
|
+
@Input() variant: 'card' = 'default';
|
|
18
|
+
@Input() _hasLegend: string = false;
|
|
19
|
+
@Input() _hasActions: string = false;
|
|
20
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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-hotkey',
|
|
8
|
+
standalone: true,
|
|
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>`,
|
|
11
|
+
})
|
|
12
|
+
export class Hotkey {
|
|
13
|
+
@Input() keys: string = '';
|
|
14
|
+
@Input() disabled: boolean = false;
|
|
15
|
+
@Input() global: boolean = false;
|
|
16
|
+
@Output() arcTrigger = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -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-input-group',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-input-group [attr.size]="size" [attr._hasPrefix]="_hasPrefix" [attr._hasSuffix]="_hasSuffix"><ng-content /></arc-input-group>`,
|
|
11
|
+
})
|
|
12
|
+
export class InputGroup {
|
|
13
|
+
@Input() size: 'sm' | 'lg' = 'md';
|
|
14
|
+
@Input() _hasPrefix: string = false;
|
|
15
|
+
@Input() _hasSuffix: string = 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-label',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-label [attr.for]="for" [required]="required" [attr.size]="size" [disabled]="disabled" [attr._hasDescription]="_hasDescription" [attr._hasTooltip]="_hasTooltip"><ng-content /></arc-label>`,
|
|
11
|
+
})
|
|
12
|
+
export class Label {
|
|
13
|
+
@Input() for: string = '';
|
|
14
|
+
@Input() required: boolean = false;
|
|
15
|
+
@Input() size: 'sm' | 'lg' = 'md';
|
|
16
|
+
@Input() disabled: boolean = false;
|
|
17
|
+
@Input() _hasDescription: string = false;
|
|
18
|
+
@Input() _hasTooltip: string = false;
|
|
19
|
+
}
|
|
@@ -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-switch-group',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-switch-group [attr.label]="label" [attr.orientation]="orientation" [attr.size]="size" [disabled]="disabled"><ng-content /></arc-switch-group>`,
|
|
11
|
+
})
|
|
12
|
+
export class SwitchGroup {
|
|
13
|
+
@Input() label: string = '';
|
|
14
|
+
@Input() orientation: 'horizontal' = 'vertical';
|
|
15
|
+
@Input() size: string = 'md';
|
|
16
|
+
@Input() disabled: boolean = false;
|
|
17
|
+
}
|
|
@@ -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-aspect-grid',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-aspect-grid [attr.columns]="columns" [attr.ratio]="ratio" [attr.gap]="gap"><ng-content /></arc-aspect-grid>`,
|
|
11
|
+
})
|
|
12
|
+
export class AspectGrid {
|
|
13
|
+
@Input() columns: number = 3;
|
|
14
|
+
@Input() ratio: string = '1/1';
|
|
15
|
+
@Input() gap: 'sm' | 'md' | 'lg' = 'md';
|
|
16
|
+
}
|
|
@@ -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-center',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-center [attr.maxWidth]="maxWidth" [intrinsic]="intrinsic" [text]="text"><ng-content /></arc-center>`,
|
|
11
|
+
})
|
|
12
|
+
export class Center {
|
|
13
|
+
@Input() maxWidth: string = '60ch';
|
|
14
|
+
@Input() intrinsic: boolean = false;
|
|
15
|
+
@Input() text: boolean = false;
|
|
16
|
+
}
|
|
@@ -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-cluster',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-cluster [attr.gap]="gap" [attr.align]="align" [attr.justify]="justify"><ng-content /></arc-cluster>`,
|
|
11
|
+
})
|
|
12
|
+
export class Cluster {
|
|
13
|
+
@Input() gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = 'sm';
|
|
14
|
+
@Input() align: 'start' | 'center' | 'end' = 'center';
|
|
15
|
+
@Input() justify: 'start' | 'center' | 'end' | 'space-between' | 'space-around' = 'start';
|
|
16
|
+
}
|
|
@@ -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-dock',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-dock [attr.position]="position" [autoHide]="autoHide" [open]="open" [attr._hovered]="_hovered"><ng-content /></arc-dock>`,
|
|
11
|
+
})
|
|
12
|
+
export class Dock {
|
|
13
|
+
@Input() position: 'bottom' | 'left' | 'right' = 'bottom';
|
|
14
|
+
@Input() autoHide: boolean = false;
|
|
15
|
+
@Input() open: boolean = false;
|
|
16
|
+
@Input() _hovered: string = false;
|
|
17
|
+
}
|
|
@@ -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-float-bar',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-float-bar [open]="open" [attr.position]="position"><ng-content /></arc-float-bar>`,
|
|
11
|
+
})
|
|
12
|
+
export class FloatBar {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() position: 'top' = 'bottom';
|
|
15
|
+
}
|
|
@@ -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-inset',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-inset [attr.space]="space" [bleed]="bleed"><ng-content /></arc-inset>`,
|
|
11
|
+
})
|
|
12
|
+
export class Inset {
|
|
13
|
+
@Input() space: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' = 'md';
|
|
14
|
+
@Input() bleed: boolean = false;
|
|
15
|
+
}
|
|
@@ -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-masonry',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-masonry [attr.columns]="columns" [attr.gap]="gap"><ng-content /></arc-masonry>`,
|
|
11
|
+
})
|
|
12
|
+
export class Masonry {
|
|
13
|
+
@Input() columns: number = 3;
|
|
14
|
+
@Input() gap: 'sm' | 'md' | 'lg' = 'md';
|
|
15
|
+
}
|
|
@@ -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-responsive-switcher',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-responsive-switcher [attr.threshold]="threshold" [attr.gap]="gap"><ng-content /></arc-responsive-switcher>`,
|
|
11
|
+
})
|
|
12
|
+
export class ResponsiveSwitcher {
|
|
13
|
+
@Input() threshold: string = '600px';
|
|
14
|
+
@Input() gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = 'md';
|
|
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-sticky',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-sticky [attr.offset]="offset" [stuck]="stuck" (arc-stuck)="arcStuck.emit($event)"><ng-content /></arc-sticky>`,
|
|
11
|
+
})
|
|
12
|
+
export class Sticky {
|
|
13
|
+
@Input() offset: string = '0px';
|
|
14
|
+
@Input() stuck: boolean = false;
|
|
15
|
+
@Output() arcStuck = new EventEmitter<CustomEvent>();
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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-anchor-nav',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-anchor-nav [attr.orientation]="orientation" [attr.value]="value" [attr.items]="items" (arc-change)="arcChange.emit($event)"><ng-content /></arc-anchor-nav>`,
|
|
11
|
+
})
|
|
12
|
+
export class AnchorNav {
|
|
13
|
+
@Input() orientation: 'vertical' = 'horizontal';
|
|
14
|
+
@Input() value: string = '';
|
|
15
|
+
@Input() items: string = [];
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -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-bottom-nav',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-bottom-nav [attr.items]="items" [attr.value]="value" (arc-change)="arcChange.emit($event)"><ng-content /></arc-bottom-nav>`,
|
|
11
|
+
})
|
|
12
|
+
export class BottomNav {
|
|
13
|
+
@Input() items: string = [];
|
|
14
|
+
@Input() value: string = '';
|
|
15
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
16
|
+
}
|
|
@@ -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-breadcrumb-menu',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-breadcrumb-menu [attr.items]="items" [attr._openIndex]="_openIndex" (arc-navigate)="arcNavigate.emit($event)"><ng-content /></arc-breadcrumb-menu>`,
|
|
11
|
+
})
|
|
12
|
+
export class BreadcrumbMenu {
|
|
13
|
+
@Input() items: string = [];
|
|
14
|
+
@Input() _openIndex: number = -1;
|
|
15
|
+
@Output() arcNavigate = new EventEmitter<CustomEvent>();
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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-command-bar',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-command-bar [attr.placeholder]="placeholder" [attr.value]="value" [attr.icon]="icon" (arc-input)="arcInput.emit($event)" (arc-submit)="arcSubmit.emit($event)"><ng-content /></arc-command-bar>`,
|
|
11
|
+
})
|
|
12
|
+
export class CommandBar {
|
|
13
|
+
@Input() placeholder: string = 'Search…';
|
|
14
|
+
@Input() value: string = '';
|
|
15
|
+
@Input() icon: string = 'magnifying-glass';
|
|
16
|
+
@Output() arcInput = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcSubmit = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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-page-indicator',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-page-indicator [attr.count]="count" [attr.value]="value" [clickable]="clickable" (arc-change)="arcChange.emit($event)"><ng-content /></arc-page-indicator>`,
|
|
11
|
+
})
|
|
12
|
+
export class PageIndicator {
|
|
13
|
+
@Input() count: number = 0;
|
|
14
|
+
@Input() value: number = 0;
|
|
15
|
+
@Input() clickable: boolean = false;
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
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-rail',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-rail [attr.items]="items" [attr.value]="value" [expanded]="expanded" (arc-change)="arcChange.emit($event)"><ng-content /></arc-rail>`,
|
|
11
|
+
})
|
|
12
|
+
export class Rail {
|
|
13
|
+
@Input() items: string = [];
|
|
14
|
+
@Input() value: string = '';
|
|
15
|
+
@Input() expanded: boolean = false;
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
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-skip-link',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-skip-link [attr.target]="target"><ng-content /></arc-skip-link>`,
|
|
11
|
+
})
|
|
12
|
+
export class SkipLink {
|
|
13
|
+
@Input() target: string = '#main';
|
|
14
|
+
}
|
|
@@ -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-speed-dial',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-speed-dial [open]="open" [attr.direction]="direction" [attr.position]="position" [attr.items]="items" (arc-action)="arcAction.emit($event)" (arc-close)="arcClose.emit($event)"><ng-content /></arc-speed-dial>`,
|
|
11
|
+
})
|
|
12
|
+
export class SpeedDial {
|
|
13
|
+
@Input() open: boolean = false;
|
|
14
|
+
@Input() direction: 'down' | 'left' | 'right' = 'up';
|
|
15
|
+
@Input() position: 'bottom-right' | 'bottom-left' = 'bottom-right';
|
|
16
|
+
@Input() items: string = [];
|
|
17
|
+
@Output() arcAction = new EventEmitter<CustomEvent>();
|
|
18
|
+
@Output() arcClose = new EventEmitter<CustomEvent>();
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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-stepper-nav',
|
|
8
|
+
standalone: true,
|
|
9
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
10
|
+
template: `<arc-stepper-nav [attr.steps]="steps" [attr.active]="active" [linear]="linear" (arc-change)="arcChange.emit($event)" (arc-complete)="arcComplete.emit($event)"><ng-content /></arc-stepper-nav>`,
|
|
11
|
+
})
|
|
12
|
+
export class StepperNav {
|
|
13
|
+
@Input() steps: string = [];
|
|
14
|
+
@Input() active: number = 0;
|
|
15
|
+
@Input() linear: boolean = false;
|
|
16
|
+
@Output() arcChange = new EventEmitter<CustomEvent>();
|
|
17
|
+
@Output() arcComplete = new EventEmitter<CustomEvent>();
|
|
18
|
+
}
|
package/src/navigation/Tabs.ts
CHANGED
|
@@ -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.
|
|
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
|
+
}
|