@arclux/arc-ui-angular 1.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.
Files changed (204) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +56 -0
  3. package/package.json +71 -0
  4. package/src/application/AppShell.ts +14 -0
  5. package/src/application/AuthShell.ts +14 -0
  6. package/src/application/Breadcrumb.ts +15 -0
  7. package/src/application/BreadcrumbItem.ts +14 -0
  8. package/src/application/Container.ts +14 -0
  9. package/src/application/DashboardGrid.ts +16 -0
  10. package/src/application/Footer.ts +15 -0
  11. package/src/application/NavItem.ts +16 -0
  12. package/src/application/NavigationMenu.ts +15 -0
  13. package/src/application/NotificationPanel.ts +18 -0
  14. package/src/application/PageHeader.ts +15 -0
  15. package/src/application/PageLayout.ts +16 -0
  16. package/src/application/Resizable.ts +19 -0
  17. package/src/application/ScrollSpy.ts +18 -0
  18. package/src/application/Section.ts +14 -0
  19. package/src/application/SettingsLayout.ts +14 -0
  20. package/src/application/Sidebar.ts +18 -0
  21. package/src/application/SidebarLink.ts +15 -0
  22. package/src/application/SidebarSection.ts +17 -0
  23. package/src/application/SplitPane.ts +18 -0
  24. package/src/application/SpyLink.ts +14 -0
  25. package/src/application/StatusBar.ts +14 -0
  26. package/src/application/Toolbar.ts +16 -0
  27. package/src/application/TopBar.ts +17 -0
  28. package/src/application/index.ts +23 -0
  29. package/src/content/Accordion.ts +15 -0
  30. package/src/content/AccordionItem.ts +14 -0
  31. package/src/content/AnimatedNumber.ts +20 -0
  32. package/src/content/AspectRatio.ts +14 -0
  33. package/src/content/Avatar.ts +16 -0
  34. package/src/content/AvatarGroup.ts +15 -0
  35. package/src/content/Badge.ts +14 -0
  36. package/src/content/Callout.ts +14 -0
  37. package/src/content/Card.ts +14 -0
  38. package/src/content/Carousel.ts +21 -0
  39. package/src/content/CodeBlock.ts +17 -0
  40. package/src/content/Collapsible.ts +16 -0
  41. package/src/content/ColorSwatch.ts +16 -0
  42. package/src/content/Column.ts +17 -0
  43. package/src/content/DataTable.ts +23 -0
  44. package/src/content/Divider.ts +16 -0
  45. package/src/content/EmptyState.ts +15 -0
  46. package/src/content/FeatureCard.ts +17 -0
  47. package/src/content/Highlight.ts +16 -0
  48. package/src/content/Icon.ts +16 -0
  49. package/src/content/InfiniteScroll.ts +18 -0
  50. package/src/content/Kbd.ts +13 -0
  51. package/src/content/Link.ts +17 -0
  52. package/src/content/Markdown.ts +14 -0
  53. package/src/content/Marquee.ts +17 -0
  54. package/src/content/Meter.ts +20 -0
  55. package/src/content/ScrollArea.ts +15 -0
  56. package/src/content/Skeleton.ts +16 -0
  57. package/src/content/Spinner.ts +15 -0
  58. package/src/content/Stack.ts +18 -0
  59. package/src/content/Stat.ts +15 -0
  60. package/src/content/Step.ts +14 -0
  61. package/src/content/Stepper.ts +15 -0
  62. package/src/content/Table.ts +17 -0
  63. package/src/content/Tag.ts +17 -0
  64. package/src/content/Text.ts +15 -0
  65. package/src/content/Timeline.ts +14 -0
  66. package/src/content/TimelineItem.ts +15 -0
  67. package/src/content/Truncate.ts +16 -0
  68. package/src/content/ValueCard.ts +16 -0
  69. package/src/content/index.ts +37 -0
  70. package/src/feedback/Alert.ts +17 -0
  71. package/src/feedback/CommandItem.ts +15 -0
  72. package/src/feedback/CommandPalette.ts +20 -0
  73. package/src/feedback/ContextMenu.ts +21 -0
  74. package/src/feedback/Dialog.ts +19 -0
  75. package/src/feedback/DropdownMenu.ts +18 -0
  76. package/src/feedback/HoverCard.ts +19 -0
  77. package/src/feedback/Modal.ts +19 -0
  78. package/src/feedback/NotificationPanel.ts +18 -0
  79. package/src/feedback/Popover.ts +17 -0
  80. package/src/feedback/Progress.ts +18 -0
  81. package/src/feedback/Sheet.ts +18 -0
  82. package/src/feedback/Toast.ts +17 -0
  83. package/src/feedback/Tooltip.ts +17 -0
  84. package/src/index.ts +116 -0
  85. package/src/input/Button.ts +18 -0
  86. package/src/input/Calendar.ts +21 -0
  87. package/src/input/Checkbox.ts +20 -0
  88. package/src/input/Chip.ts +17 -0
  89. package/src/input/ColorPicker.ts +24 -0
  90. package/src/input/Combobox.ts +22 -0
  91. package/src/input/CopyButton.ts +17 -0
  92. package/src/input/DatePicker.ts +24 -0
  93. package/src/input/FileUpload.ts +22 -0
  94. package/src/input/Form.ts +18 -0
  95. package/src/input/IconButton.ts +21 -0
  96. package/src/input/Input.ts +24 -0
  97. package/src/input/MultiSelect.ts +22 -0
  98. package/src/input/NumberInput.ts +20 -0
  99. package/src/input/OtpInput.ts +18 -0
  100. package/src/input/PinInput.ts +22 -0
  101. package/src/input/Radio.ts +15 -0
  102. package/src/input/RadioGroup.ts +19 -0
  103. package/src/input/Rating.ts +18 -0
  104. package/src/input/Search.ts +25 -0
  105. package/src/input/SegmentedControl.ts +17 -0
  106. package/src/input/Select.ts +21 -0
  107. package/src/input/Slider.ts +21 -0
  108. package/src/input/SortableList.ts +20 -0
  109. package/src/input/Suggestion.ts +14 -0
  110. package/src/input/Textarea.ts +24 -0
  111. package/src/input/ThemeToggle.ts +17 -0
  112. package/src/input/Toggle.ts +18 -0
  113. package/src/layout/AppShell.ts +17 -0
  114. package/src/layout/AuthShell.ts +14 -0
  115. package/src/layout/Container.ts +14 -0
  116. package/src/layout/DashboardGrid.ts +16 -0
  117. package/src/layout/PageHeader.ts +15 -0
  118. package/src/layout/PageLayout.ts +16 -0
  119. package/src/layout/Resizable.ts +19 -0
  120. package/src/layout/Section.ts +14 -0
  121. package/src/layout/SettingsLayout.ts +14 -0
  122. package/src/layout/SplitPane.ts +18 -0
  123. package/src/layout/StatusBar.ts +14 -0
  124. package/src/layout/Toolbar.ts +16 -0
  125. package/src/navigation/Breadcrumb.ts +15 -0
  126. package/src/navigation/BreadcrumbItem.ts +14 -0
  127. package/src/navigation/Drawer.ts +17 -0
  128. package/src/navigation/Footer.ts +15 -0
  129. package/src/navigation/Link.ts +17 -0
  130. package/src/navigation/NavItem.ts +16 -0
  131. package/src/navigation/NavigationMenu.ts +19 -0
  132. package/src/navigation/Pagination.ts +17 -0
  133. package/src/navigation/ScrollSpy.ts +18 -0
  134. package/src/navigation/ScrollToTop.ts +18 -0
  135. package/src/navigation/Sidebar.ts +18 -0
  136. package/src/navigation/SidebarLink.ts +15 -0
  137. package/src/navigation/SidebarSection.ts +17 -0
  138. package/src/navigation/SpyLink.ts +14 -0
  139. package/src/navigation/Tab.ts +14 -0
  140. package/src/navigation/Tabs.ts +17 -0
  141. package/src/navigation/TopBar.ts +18 -0
  142. package/src/navigation/TreeItem.ts +16 -0
  143. package/src/navigation/TreeView.ts +17 -0
  144. package/src/reactive/Accordion.ts +15 -0
  145. package/src/reactive/AccordionItem.ts +14 -0
  146. package/src/reactive/Alert.ts +17 -0
  147. package/src/reactive/Button.ts +18 -0
  148. package/src/reactive/Calendar.ts +21 -0
  149. package/src/reactive/Carousel.ts +21 -0
  150. package/src/reactive/Checkbox.ts +20 -0
  151. package/src/reactive/Chip.ts +17 -0
  152. package/src/reactive/Collapsible.ts +16 -0
  153. package/src/reactive/ColorPicker.ts +24 -0
  154. package/src/reactive/Column.ts +17 -0
  155. package/src/reactive/Combobox.ts +22 -0
  156. package/src/reactive/CommandItem.ts +15 -0
  157. package/src/reactive/CommandPalette.ts +20 -0
  158. package/src/reactive/ContextMenu.ts +21 -0
  159. package/src/reactive/CopyButton.ts +17 -0
  160. package/src/reactive/DataTable.ts +23 -0
  161. package/src/reactive/DatePicker.ts +24 -0
  162. package/src/reactive/Dialog.ts +19 -0
  163. package/src/reactive/Drawer.ts +17 -0
  164. package/src/reactive/DropdownMenu.ts +18 -0
  165. package/src/reactive/FileUpload.ts +22 -0
  166. package/src/reactive/Form.ts +18 -0
  167. package/src/reactive/HoverCard.ts +19 -0
  168. package/src/reactive/IconButton.ts +21 -0
  169. package/src/reactive/InfiniteScroll.ts +18 -0
  170. package/src/reactive/Input.ts +24 -0
  171. package/src/reactive/Modal.ts +19 -0
  172. package/src/reactive/MultiSelect.ts +22 -0
  173. package/src/reactive/NumberInput.ts +20 -0
  174. package/src/reactive/OtpInput.ts +18 -0
  175. package/src/reactive/Pagination.ts +17 -0
  176. package/src/reactive/PinInput.ts +22 -0
  177. package/src/reactive/Popover.ts +17 -0
  178. package/src/reactive/Progress.ts +18 -0
  179. package/src/reactive/Radio.ts +15 -0
  180. package/src/reactive/RadioGroup.ts +19 -0
  181. package/src/reactive/Rating.ts +18 -0
  182. package/src/reactive/ScrollToTop.ts +18 -0
  183. package/src/reactive/Search.ts +25 -0
  184. package/src/reactive/SegmentedControl.ts +17 -0
  185. package/src/reactive/Select.ts +21 -0
  186. package/src/reactive/Sheet.ts +18 -0
  187. package/src/reactive/Slider.ts +21 -0
  188. package/src/reactive/SortableList.ts +20 -0
  189. package/src/reactive/Suggestion.ts +14 -0
  190. package/src/reactive/Tab.ts +14 -0
  191. package/src/reactive/Tabs.ts +17 -0
  192. package/src/reactive/Tag.ts +17 -0
  193. package/src/reactive/Textarea.ts +24 -0
  194. package/src/reactive/ThemeToggle.ts +17 -0
  195. package/src/reactive/Toast.ts +17 -0
  196. package/src/reactive/Toggle.ts +18 -0
  197. package/src/reactive/Tooltip.ts +17 -0
  198. package/src/reactive/TreeItem.ts +16 -0
  199. package/src/reactive/TreeView.ts +17 -0
  200. package/src/reactive/Truncate.ts +16 -0
  201. package/src/reactive/index.ts +53 -0
  202. package/src/shared/MenuDivider.ts +13 -0
  203. package/src/shared/MenuItem.ts +16 -0
  204. package/src/shared/Option.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-avatar',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-avatar [attr.src]="src" [attr.name]="name" [attr.size]="size"><ng-content /></arc-avatar>`,
11
+ })
12
+ export class Avatar {
13
+ @Input() src: string = '';
14
+ @Input() name: string = '';
15
+ @Input() size: 'sm' | 'md' | 'lg' = 'md';
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-avatar-group',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-avatar-group [attr.max]="max" [attr.overlap]="overlap"><ng-content /></arc-avatar-group>`,
11
+ })
12
+ export class AvatarGroup {
13
+ @Input() max: number = Infinity;
14
+ @Input() overlap: 'sm' | 'lg' = 'md';
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-badge',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-badge [attr.variant]="variant"><ng-content /></arc-badge>`,
11
+ })
12
+ export class Badge {
13
+ @Input() variant: 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' = 'default';
14
+ }
@@ -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-callout',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-callout [attr.variant]="variant"><ng-content /></arc-callout>`,
11
+ })
12
+ export class Callout {
13
+ @Input() variant: 'info' | 'warning' | 'tip' | 'danger' = 'info';
14
+ }
@@ -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-card',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-card [attr.href]="href"><ng-content /></arc-card>`,
11
+ })
12
+ export class Card {
13
+ @Input() href: string = '';
14
+ }
@@ -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-carousel',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-carousel [autoPlay]="autoPlay" [attr.interval]="interval" [loop]="loop" [showDots]="showDots" [showArrows]="showArrows" [attr._current]="_current" [attr._total]="_total" (arc-change)="arcChange.emit($event)"><ng-content /></arc-carousel>`,
11
+ })
12
+ export class Carousel {
13
+ @Input() autoPlay: boolean = false;
14
+ @Input() interval: number = 5000;
15
+ @Input() loop: boolean = true;
16
+ @Input() showDots: boolean = true;
17
+ @Input() showArrows: boolean = true;
18
+ @Input() _current: string = 0;
19
+ @Input() _total: string = 0;
20
+ @Output() arcChange = new EventEmitter<CustomEvent>();
21
+ }
@@ -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-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._copied]="_copied"><ng-content /></arc-code-block>`,
11
+ })
12
+ export class CodeBlock {
13
+ @Input() language: string = '';
14
+ @Input() filename: string = '';
15
+ @Input() code: string = '';
16
+ @Input() _copied: string = false;
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-collapsible',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-collapsible [open]="open" [attr.heading]="heading" (arc-toggle)="arcToggle.emit($event)"><ng-content /></arc-collapsible>`,
11
+ })
12
+ export class Collapsible {
13
+ @Input() open: boolean = false;
14
+ @Input() heading: string = '';
15
+ @Output() arcToggle = 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 } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-color-swatch',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-color-swatch [attr.color]="color" [attr.label]="label" [attr.size]="size"><ng-content /></arc-color-swatch>`,
11
+ })
12
+ export class ColorSwatch {
13
+ @Input() color: string = '#4d7ef7';
14
+ @Input() label: string = '';
15
+ @Input() size: 'sm' | 'md' | 'lg' = 'md';
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-column',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-column [attr.key]="key" [attr.label]="label" [sortable]="sortable" [attr.width]="width"><ng-content /></arc-column>`,
11
+ })
12
+ export class Column {
13
+ @Input() key: string = '';
14
+ @Input() label: string = '';
15
+ @Input() sortable: boolean = false;
16
+ @Input() width: string = '';
17
+ }
@@ -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-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" [attr._columns]="_columns" [attr._selectedRows]="_selectedRows" (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() _columns: string = [];
19
+ @Input() _selectedRows: string = 'new Set()';
20
+ @Output() arcSort = new EventEmitter<CustomEvent>();
21
+ @Output() arcSelectAll = new EventEmitter<CustomEvent>();
22
+ @Output() arcRowSelect = new EventEmitter<CustomEvent>();
23
+ }
@@ -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-divider',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-divider [attr.variant]="variant" [attr.align]="align" [vertical]="vertical"><ng-content /></arc-divider>`,
11
+ })
12
+ export class Divider {
13
+ @Input() variant: 'subtle' | 'glow' | 'line-white' | 'line-primary' | 'line-gradient' = 'subtle';
14
+ @Input() align?: 'left' | 'right';
15
+ @Input() vertical: boolean = false;
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-empty-state',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-empty-state [attr.heading]="heading" [attr.description]="description"><ng-content /></arc-empty-state>`,
11
+ })
12
+ export class EmptyState {
13
+ @Input() heading: string = '';
14
+ @Input() description: 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-feature-card',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-feature-card [attr.icon]="icon" [attr.heading]="heading" [attr.description]="description" [attr.href]="href"><ng-content /></arc-feature-card>`,
11
+ })
12
+ export class FeatureCard {
13
+ @Input() icon: string = '';
14
+ @Input() heading: string = '';
15
+ @Input() description: string = '';
16
+ @Input() href: string = '';
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-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,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-icon',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-icon [attr.name]="name" [attr.size]="size" [attr.label]="label"><ng-content /></arc-icon>`,
11
+ })
12
+ export class Icon {
13
+ @Input() name: string = '';
14
+ @Input() size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' = 'sm';
15
+ @Input() label: string = '';
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-infinite-scroll',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-infinite-scroll [attr.threshold]="threshold" [loading]="loading" [finished]="finished" [disabled]="disabled" (arc-load-more)="arcLoadMore.emit($event)"><ng-content /></arc-infinite-scroll>`,
11
+ })
12
+ export class InfiniteScroll {
13
+ @Input() threshold: number = 200;
14
+ @Input() loading: boolean = false;
15
+ @Input() finished: boolean = false;
16
+ @Input() disabled: boolean = false;
17
+ @Output() arcLoadMore = new EventEmitter<CustomEvent>();
18
+ }
@@ -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,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-link',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-link [attr.href]="href" [attr.variant]="variant" [active]="active" [external]="external"><ng-content /></arc-link>`,
11
+ })
12
+ export class Link {
13
+ @Input() href: string = '';
14
+ @Input() variant: 'muted' | 'nav' = 'default';
15
+ @Input() active: boolean = false;
16
+ @Input() external: boolean = false;
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-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,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-marquee',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-marquee [attr.speed]="speed" [attr.direction]="direction" [attr.gap]="gap" [attr._animDuration]="_animDuration"><ng-content /></arc-marquee>`,
11
+ })
12
+ export class Marquee {
13
+ @Input() speed: number = 40;
14
+ @Input() direction: string = 'left';
15
+ @Input() gap: string = 'var(--space-xl)';
16
+ @Input() _animDuration: string = '10s';
17
+ }
@@ -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,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-scroll-area',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-scroll-area [attr.maxHeight]="maxHeight" [attr.orientation]="orientation"><ng-content /></arc-scroll-area>`,
11
+ })
12
+ export class ScrollArea {
13
+ @Input() maxHeight: string = '';
14
+ @Input() orientation: 'vertical' | 'horizontal' | 'both' = 'vertical';
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-skeleton',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-skeleton [attr.variant]="variant" [attr.width]="width" [attr.height]="height"><ng-content /></arc-skeleton>`,
11
+ })
12
+ export class Skeleton {
13
+ @Input() variant: 'text' | 'circle' | 'rect' = 'text';
14
+ @Input() width: string = '';
15
+ @Input() height: string = '';
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-spinner',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-spinner [attr.size]="size" [attr.variant]="variant"><ng-content /></arc-spinner>`,
11
+ })
12
+ export class Spinner {
13
+ @Input() size: 'sm' | 'md' | 'lg' = 'md';
14
+ @Input() variant: 'primary' | 'secondary' | 'white' = 'primary';
15
+ }
@@ -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-stack',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-stack [attr.direction]="direction" [attr.gap]="gap" [attr.align]="align" [attr.justify]="justify" [wrap]="wrap"><ng-content /></arc-stack>`,
11
+ })
12
+ export class Stack {
13
+ @Input() direction: 'horizontal' | 'vertical' = 'vertical';
14
+ @Input() gap: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' = 'md';
15
+ @Input() align: 'start' | 'center' | 'end' | 'stretch' = 'stretch';
16
+ @Input() justify: 'start' | 'center' | 'end' | 'between' | 'around' = 'start';
17
+ @Input() wrap: boolean = false;
18
+ }
@@ -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-stat',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-stat [attr.value]="value" [attr.label]="label"><ng-content /></arc-stat>`,
11
+ })
12
+ export class Stat {
13
+ @Input() value: string = '';
14
+ @Input() label: string = '';
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-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,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-tag',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-tag [attr.variant]="variant" [removable]="removable" [disabled]="disabled" (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() removable: boolean = false;
15
+ @Input() disabled: boolean = false;
16
+ @Output() arcRemove = new EventEmitter<CustomEvent>();
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-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,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, 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
+ }
@@ -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
+ }