@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,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-drawer',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-drawer [open]="open" [attr.position]="position" [attr.heading]="heading" (arc-close)="arcClose.emit($event)"><ng-content /></arc-drawer>`,
11
+ })
12
+ export class Drawer {
13
+ @Input() open: boolean = false;
14
+ @Input() position: 'left' | 'right' = 'left';
15
+ @Input() heading: string = '';
16
+ @Output() arcClose = 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-footer',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-footer [compact]="compact" [border]="border"><ng-content /></arc-footer>`,
11
+ })
12
+ export class Footer {
13
+ @Input() compact: boolean = false;
14
+ @Input() border: boolean = true;
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-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,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-nav-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-nav-item [attr.href]="href" [active]="active" [attr.description]="description"><ng-content /></arc-nav-item>`,
11
+ })
12
+ export class NavItem {
13
+ @Input() href: string = '';
14
+ @Input() active: boolean = false;
15
+ @Input() description: string = '';
16
+ }
@@ -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-navigation-menu',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-navigation-menu [attr._items]="_items" [attr._openIndex]="_openIndex" [attr._mobileOpen]="_mobileOpen" [attr._mobileClosing]="_mobileClosing" [attr._mobileExpandedIndex]="_mobileExpandedIndex" (arc-mobile-menu-toggle)="arcMobileMenuToggle.emit($event)"><ng-content /></arc-navigation-menu>`,
11
+ })
12
+ export class NavigationMenu {
13
+ @Input() _items: string = [];
14
+ @Input() _openIndex: string = -1;
15
+ @Input() _mobileOpen: string = false;
16
+ @Input() _mobileClosing: string = false;
17
+ @Input() _mobileExpandedIndex: string = -1;
18
+ @Output() arcMobileMenuToggle = new EventEmitter<CustomEvent>();
19
+ }
@@ -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-pagination',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-pagination [attr.total]="total" [attr.current]="current" [attr.siblings]="siblings" (arc-change)="arcChange.emit($event)"><ng-content /></arc-pagination>`,
11
+ })
12
+ export class Pagination {
13
+ @Input() total: number = 1;
14
+ @Input() current: number = 1;
15
+ @Input() siblings: number = 1;
16
+ @Output() arcChange = 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-scroll-spy',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-scroll-spy [attr.active]="active" [attr.offset]="offset" [attr._active]="_active" [attr._links]="_links" (arc-change)="arcChange.emit($event)"><ng-content /></arc-scroll-spy>`,
11
+ })
12
+ export class ScrollSpy {
13
+ @Input() active: string = '';
14
+ @Input() offset: number = 80;
15
+ @Input() _active: string = '';
16
+ @Input() _links: string = [];
17
+ @Output() arcChange = new EventEmitter<CustomEvent>();
18
+ }
@@ -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-scroll-to-top',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-scroll-to-top [attr.threshold]="threshold" [smooth]="smooth" [attr.position]="position" [attr.offset]="offset" [attr._visible]="_visible"><ng-content /></arc-scroll-to-top>`,
11
+ })
12
+ export class ScrollToTop {
13
+ @Input() threshold: number = 300;
14
+ @Input() smooth: boolean = true;
15
+ @Input() position: 'bottom-right' | 'bottom-left' = 'bottom-right';
16
+ @Input() offset: string = 'var(--space-lg)';
17
+ @Input() _visible: string = false;
18
+ }
@@ -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-sidebar',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-sidebar [attr.active]="active" [collapsed]="collapsed" [attr.width]="width" [glow]="glow" [attr._sections]="_sections"><ng-content /></arc-sidebar>`,
11
+ })
12
+ export class Sidebar {
13
+ @Input() active: string = '';
14
+ @Input() collapsed: boolean = false;
15
+ @Input() width: string = '260px';
16
+ @Input() glow: boolean = false;
17
+ @Input() _sections: string = [];
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-sidebar-link',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-sidebar-link [attr.href]="href" [active]="active"><ng-content /></arc-sidebar-link>`,
11
+ })
12
+ export class SidebarLink {
13
+ @Input() href: string = '';
14
+ @Input() active: boolean = false;
15
+ }
@@ -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-sidebar-section',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-sidebar-section [attr.heading]="heading" [collapsible]="collapsible" [open]="open" (arc-toggle)="arcToggle.emit($event)"><ng-content /></arc-sidebar-section>`,
11
+ })
12
+ export class SidebarSection {
13
+ @Input() heading: string = '';
14
+ @Input() collapsible: boolean = false;
15
+ @Input() open: boolean = true;
16
+ @Output() arcToggle = 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-spy-link',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-spy-link [attr.target]="target"><ng-content /></arc-spy-link>`,
11
+ })
12
+ export class SpyLink {
13
+ @Input() target: string = '';
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-tab',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-tab [attr.label]="label"><ng-content /></arc-tab>`,
11
+ })
12
+ export class Tab {
13
+ @Input() label: string = '';
14
+ }
@@ -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-tabs',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-tabs [attr.items]="items" [attr.selected]="selected" [attr._tabs]="_tabs" (arc-change)="arcChange.emit($event)"><ng-content /></arc-tabs>`,
11
+ })
12
+ export class Tabs {
13
+ @Input() items: unknown[] = [];
14
+ @Input() selected: number = 0;
15
+ @Input() _tabs: string = [];
16
+ @Output() arcChange = 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 } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-top-bar',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-top-bar [attr.heading]="heading" [fixed]="fixed" [menuOpen]="menuOpen" [attr.mobileMenu]="mobileMenu" [attr.menuPosition]="menuPosition"><ng-content /></arc-top-bar>`,
11
+ })
12
+ export class TopBar {
13
+ @Input() heading: string = '';
14
+ @Input() fixed: boolean = false;
15
+ @Input() menuOpen: boolean = false;
16
+ @Input() mobileMenu: string = 'sidebar';
17
+ @Input() menuPosition: string = 'left';
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-tree-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-tree-item [attr.label]="label" [attr.icon]="icon" [expanded]="expanded"><ng-content /></arc-tree-item>`,
11
+ })
12
+ export class TreeItem {
13
+ @Input() label: string = '';
14
+ @Input() icon: string = '';
15
+ @Input() expanded: boolean = false;
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-tree-view',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-tree-view [attr._items]="_items" [attr._selected]="_selected" (arc-toggle)="arcToggle.emit($event)" (arc-select)="arcSelect.emit($event)"><ng-content /></arc-tree-view>`,
11
+ })
12
+ export class TreeView {
13
+ @Input() _items: string = [];
14
+ @Input() _selected: string = 'null';
15
+ @Output() arcToggle = new EventEmitter<CustomEvent>();
16
+ @Output() arcSelect = 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-accordion',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-accordion [attr._items]="_items" [attr._openItems]="_openItems"><ng-content /></arc-accordion>`,
11
+ })
12
+ export class Accordion {
13
+ @Input() _items: string = [];
14
+ @Input() _openItems: string = 'new Set()';
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-accordion-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-accordion-item [attr.question]="question"><ng-content /></arc-accordion-item>`,
11
+ })
12
+ export class AccordionItem {
13
+ @Input() question: string = '';
14
+ }
@@ -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-alert',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-alert [attr.variant]="variant" [dismissible]="dismissible" [attr.heading]="heading" (arc-dismiss)="arcDismiss.emit($event)"><ng-content /></arc-alert>`,
11
+ })
12
+ export class Alert {
13
+ @Input() variant: 'info' | 'success' | 'warning' | 'error' = 'info';
14
+ @Input() dismissible: boolean = false;
15
+ @Input() heading: string = '';
16
+ @Output() arcDismiss = 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 } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-button',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-button [attr.variant]="variant" [attr.size]="size" [attr.href]="href" [disabled]="disabled" [attr.type]="type"><ng-content /></arc-button>`,
11
+ })
12
+ export class Button {
13
+ @Input() variant: 'primary' | 'secondary' | 'ghost' = 'primary';
14
+ @Input() size: 'sm' | 'md' | 'lg' = 'md';
15
+ @Input() href: string = '';
16
+ @Input() disabled: boolean = false;
17
+ @Input() type: string = 'button';
18
+ }
@@ -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-calendar',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-calendar [attr.value]="value" [attr.min]="min" [attr.max]="max" [attr.month]="month" [attr.year]="year" [attr._focusedDay]="_focusedDay" (arc-navigate)="arcNavigate.emit($event)" (arc-change)="arcChange.emit($event)"><ng-content /></arc-calendar>`,
11
+ })
12
+ export class Calendar {
13
+ @Input() value: string = '';
14
+ @Input() min: string = '';
15
+ @Input() max: string = '';
16
+ @Input() month: number = 'now.getMonth()';
17
+ @Input() year: number = 'now.getFullYear()';
18
+ @Input() _focusedDay: string = 'null';
19
+ @Output() arcNavigate = new EventEmitter<CustomEvent>();
20
+ @Output() arcChange = 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-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,20 @@
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-checkbox',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-checkbox [checked]="checked" [indeterminate]="indeterminate" [disabled]="disabled" [attr.label]="label" [attr.name]="name" [attr.value]="value" (arc-change)="arcChange.emit($event)"><ng-content /></arc-checkbox>`,
11
+ })
12
+ export class Checkbox {
13
+ @Input() checked: boolean = false;
14
+ @Input() indeterminate: boolean = false;
15
+ @Input() disabled: boolean = false;
16
+ @Input() label: string = '';
17
+ @Input() name: string = '';
18
+ @Input() value: string = '';
19
+ @Output() arcChange = new EventEmitter<CustomEvent>();
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-chip',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-chip [selected]="selected" [disabled]="disabled" [attr.value]="value" (arc-change)="arcChange.emit($event)"><ng-content /></arc-chip>`,
11
+ })
12
+ export class Chip {
13
+ @Input() selected: boolean = false;
14
+ @Input() disabled: boolean = false;
15
+ @Input() value: 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-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,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-color-picker',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-color-picker [attr.value]="value" [attr.presets]="presets" [disabled]="disabled" [attr.label]="label" [attr._hue]="_hue" [attr._sat]="_sat" [attr._lit]="_lit" [attr._hexInput]="_hexInput" [attr._draggingArea]="_draggingArea" [attr._draggingHue]="_draggingHue" (arc-change)="arcChange.emit($event)"><ng-content /></arc-color-picker>`,
11
+ })
12
+ export class ColorPicker {
13
+ @Input() value: string = '#4d7ef7';
14
+ @Input() presets: unknown[] = [];
15
+ @Input() disabled: boolean = false;
16
+ @Input() label: string = '';
17
+ @Input() _hue: string = 225;
18
+ @Input() _sat: string = 92;
19
+ @Input() _lit: string = 64;
20
+ @Input() _hexInput: string = '#4d7ef7';
21
+ @Input() _draggingArea: string = false;
22
+ @Input() _draggingHue: string = false;
23
+ @Output() arcChange = new EventEmitter<CustomEvent>();
24
+ }
@@ -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,22 @@
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-combobox',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-combobox [attr.value]="value" [attr.placeholder]="placeholder" [attr.label]="label" [disabled]="disabled" [attr._query]="_query" [attr._open]="_open" [attr._activeIndex]="_activeIndex" [attr._options]="_options" (arc-change)="arcChange.emit($event)"><ng-content /></arc-combobox>`,
11
+ })
12
+ export class Combobox {
13
+ @Input() value: string = '';
14
+ @Input() placeholder: string = '';
15
+ @Input() label: string = '';
16
+ @Input() disabled: boolean = false;
17
+ @Input() _query: string = '';
18
+ @Input() _open: string = false;
19
+ @Input() _activeIndex: string = -1;
20
+ @Input() _options: string = [];
21
+ @Output() arcChange = new EventEmitter<CustomEvent>();
22
+ }
@@ -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-command-item',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-command-item [attr.shortcut]="shortcut" [attr.icon]="icon"><ng-content /></arc-command-item>`,
11
+ })
12
+ export class CommandItem {
13
+ @Input() shortcut: string = '';
14
+ @Input() icon: string = '';
15
+ }
@@ -0,0 +1,20 @@
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-palette',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-command-palette [open]="open" [attr.placeholder]="placeholder" [attr._query]="_query" [attr._focusedIndex]="_focusedIndex" [attr._items]="_items" (arc-select)="arcSelect.emit($event)" (arc-close)="arcClose.emit($event)"><ng-content /></arc-command-palette>`,
11
+ })
12
+ export class CommandPalette {
13
+ @Input() open: boolean = false;
14
+ @Input() placeholder: string = 'Type a command...';
15
+ @Input() _query: string = '';
16
+ @Input() _focusedIndex: string = 0;
17
+ @Input() _items: string = [];
18
+ @Output() arcSelect = new EventEmitter<CustomEvent>();
19
+ @Output() arcClose = new EventEmitter<CustomEvent>();
20
+ }
@@ -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-context-menu',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-context-menu [open]="open" [attr._x]="_x" [attr._y]="_y" [attr._activeIndex]="_activeIndex" [attr._children]="_children" (arc-open)="arcOpen.emit($event)" (arc-close)="arcClose.emit($event)" (arc-select)="arcSelect.emit($event)"><ng-content /></arc-context-menu>`,
11
+ })
12
+ export class ContextMenu {
13
+ @Input() open: boolean = false;
14
+ @Input() _x: string = 0;
15
+ @Input() _y: string = 0;
16
+ @Input() _activeIndex: string = -1;
17
+ @Input() _children: string = [];
18
+ @Output() arcOpen = new EventEmitter<CustomEvent>();
19
+ @Output() arcClose = new EventEmitter<CustomEvent>();
20
+ @Output() arcSelect = 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, Output, EventEmitter } from '@angular/core';
4
+ import '@arclux/arc-ui';
5
+
6
+ @Component({
7
+ selector: 'arc-copy-button',
8
+ standalone: true,
9
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
10
+ template: `<arc-copy-button [attr.value]="value" [disabled]="disabled" [attr._copied]="_copied" (arc-copy)="arcCopy.emit($event)"><ng-content /></arc-copy-button>`,
11
+ })
12
+ export class CopyButton {
13
+ @Input() value: string = '';
14
+ @Input() disabled: boolean = false;
15
+ @Input() _copied: string = false;
16
+ @Output() arcCopy = new EventEmitter<CustomEvent>();
17
+ }