@atelier-ui/angular 0.4.8 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelier-ui/angular",
3
- "version": "0.4.8",
3
+ "version": "0.4.9",
4
4
  "description": "Atelier component library for Angular — LLM-optimised, accessible, design-token-driven",
5
5
  "keywords": [
6
6
  "angular",
@@ -6,43 +6,6 @@ import * as _atelier_ui_angular from '@atelier-ui/angular';
6
6
  import * as i1 from '@angular/cdk/accordion';
7
7
  import * as i1$1 from '@angular/cdk/menu';
8
8
 
9
- /**
10
- * @atelier-ui/spec
11
- *
12
- * Framework-agnostic TypeScript interfaces defining the public API contract
13
- * for every Atelier component. Both the Angular and React libraries
14
- * import from here so the compiler enforces parity.
15
- *
16
- * Angular: use the union types as `input<T>()` type parameters.
17
- * React: extend the spec interface from the framework-specific props interface.
18
- */
19
- type AtlButtonVariant = 'primary' | 'secondary' | 'outline' | 'danger';
20
- type AtlButtonSize = 'sm' | 'md' | 'lg';
21
- /**
22
- * One validation error. Structurally the same as Angular Signal Forms'
23
- * `ValidationError` (`kind` plus an optional `message`), so Angular's
24
- * `[formField]` binding passes its errors straight through, and React and Vue
25
- * consumers can build the same shape by hand.
26
- */
27
- interface AtlErrorItem {
28
- /** Identifies the kind of error, e.g. `'required'`. */
29
- readonly kind: string;
30
- /** Human readable message, rendered under the field. */
31
- readonly message?: string;
32
- }
33
- interface AtlComboboxOption {
34
- value: string;
35
- label: string;
36
- disabled?: boolean;
37
- }
38
- type AtlIconName = 'success' | 'check' | 'warning' | 'danger' | 'info' | 'error' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-double-left' | 'chevron-double-right' | 'sort-asc' | 'sort-desc' | 'arrow-right' | 'arrow-left' | 'copy' | 'paste' | 'add' | 'edit' | 'delete' | 'close' | 'more' | 'person' | 'default-toast';
39
- type AtlIconSize = 'sm' | 'md' | 'lg';
40
- type AtlChatVariant = 'drawer' | 'popup' | 'inline';
41
- type AtlChatStatus = 'idle' | 'streaming' | 'error';
42
- type AtlChatMessageRole = 'user' | 'assistant' | 'system';
43
-
44
- /** Native `type` attribute of the button. */
45
- type AtlButtonType = 'button' | 'submit' | 'reset';
46
9
  /**
47
10
  * Accessible button component with visual variants and sizes. An attribute
48
11
  * component on a native `<button>`: focus, Tab order, Enter/Space activation and
@@ -57,9 +20,9 @@ type AtlButtonType = 'button' | 'submit' | 'reset';
57
20
  */
58
21
  declare class AtlButton {
59
22
  /** Visual style of the button. */
60
- readonly variant: _angular_core.InputSignal<AtlButtonVariant>;
23
+ readonly variant: _angular_core.InputSignal<"primary" | "secondary" | "outline" | "danger">;
61
24
  /** Size of the button. */
62
- readonly size: _angular_core.InputSignal<AtlButtonSize>;
25
+ readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
63
26
  /** Disables the button, preventing interaction. */
64
27
  readonly disabled: _angular_core.InputSignal<boolean>;
65
28
  /**
@@ -68,7 +31,7 @@ declare class AtlButton {
68
31
  */
69
32
  readonly loading: _angular_core.InputSignal<boolean>;
70
33
  /** Native `type` attribute of the button. */
71
- readonly type: _angular_core.InputSignal<AtlButtonType>;
34
+ readonly type: _angular_core.InputSignal<"button" | "submit" | "reset">;
72
35
  protected readonly isDisabled: _angular_core.Signal<boolean>;
73
36
  protected readonly hostClasses: _angular_core.Signal<string>;
74
37
  /** @internal — host element ref for the dev-mode a11y check. */
@@ -153,6 +116,29 @@ declare class AtlCardFooter {
153
116
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<AtlCardFooter, "atl-card-footer", never, {}, {}, never, ["*"], true, never>;
154
117
  }
155
118
 
119
+ /**
120
+ * One validation error. Structurally the same as Angular Signal Forms'
121
+ * `ValidationError` (`kind` plus an optional `message`), so Angular's
122
+ * `[formField]` binding passes its errors straight through, and React and Vue
123
+ * consumers can build the same shape by hand.
124
+ */
125
+ interface AtlErrorItem {
126
+ /** Identifies the kind of error, e.g. `'required'`. */
127
+ readonly kind: string;
128
+ /** Human readable message, rendered under the field. */
129
+ readonly message?: string;
130
+ }
131
+ interface AtlComboboxOption {
132
+ value: string;
133
+ label: string;
134
+ disabled?: boolean;
135
+ }
136
+ type AtlIconName = 'success' | 'check' | 'warning' | 'danger' | 'info' | 'error' | 'chevron-up' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-double-left' | 'chevron-double-right' | 'sort-asc' | 'sort-desc' | 'arrow-right' | 'arrow-left' | 'copy' | 'paste' | 'add' | 'edit' | 'delete' | 'close' | 'more' | 'person' | 'default-toast';
137
+ type AtlIconSize = 'sm' | 'md' | 'lg';
138
+ type AtlChatVariant = 'drawer' | 'popup' | 'inline';
139
+ type AtlChatStatus = 'idle' | 'streaming' | 'error';
140
+ type AtlChatMessageRole = 'user' | 'assistant' | 'system';
141
+
156
142
  /**
157
143
  * Inline badge for labeling items with semantic color variants.
158
144
  *