@atelier-ui/angular 0.4.9 → 0.4.11

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.9",
3
+ "version": "0.4.11",
4
4
  "description": "Atelier component library for Angular — LLM-optimised, accessible, design-token-driven",
5
5
  "keywords": [
6
6
  "angular",
@@ -134,10 +134,8 @@ interface AtlComboboxOption {
134
134
  disabled?: boolean;
135
135
  }
136
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
137
  type AtlChatVariant = 'drawer' | 'popup' | 'inline';
139
138
  type AtlChatStatus = 'idle' | 'streaming' | 'error';
140
- type AtlChatMessageRole = 'user' | 'assistant' | 'system';
141
139
 
142
140
  /**
143
141
  * Inline badge for labeling items with semantic color variants.
@@ -210,10 +208,15 @@ interface AtlIconGeometry {
210
208
  * ```
211
209
  */
212
210
  declare class AtlIcon {
213
- /** The icon to render. Required. */
211
+ /**
212
+ * The icon to render. Required. One of the names in `AtlIconName`
213
+ * (`spec.ts`); the AtlIcon `AllIcons` story renders every one of them.
214
+ * Kept as a named type, not an inline union: the set is large and grows
215
+ * with the icon geometry.
216
+ */
214
217
  readonly name: _angular_core.InputSignal<AtlIconName>;
215
218
  /** Icon size: `sm` 16px, `md` 20px, `lg` 24px. The same 24-unit geometry is scaled. */
216
- readonly size: _angular_core.InputSignal<AtlIconSize>;
219
+ readonly size: _angular_core.InputSignal<"sm" | "md" | "lg">;
217
220
  /**
218
221
  * Accessible label. When provided, the icon is announced as an image with
219
222
  * this label. When omitted, the icon is hidden from assistive tech.
@@ -1420,7 +1423,7 @@ declare class AtlToastService {
1420
1423
  */
1421
1424
  declare class AtlToast {
1422
1425
  /** Semantic color variant. */
1423
- readonly variant: _angular_core.InputSignal<ToastVariant>;
1426
+ readonly variant: _angular_core.InputSignal<"danger" | "default" | "success" | "warning" | "info">;
1424
1427
  /** Whether to show a dismiss button. */
1425
1428
  readonly dismissible: _angular_core.InputSignal<boolean>;
1426
1429
  /** The message to display. */
@@ -1567,7 +1570,7 @@ declare class AtlProgress {
1567
1570
  */
1568
1571
  declare class AtlBreadcrumbs {
1569
1572
  /** Separator character shown between breadcrumb items. Default `/`. */
1570
- readonly separator: _angular_core.InputSignal<string | undefined>;
1573
+ readonly separator: _angular_core.InputSignal<string>;
1571
1574
  protected readonly separatorCssVar: Signal<string>;
1572
1575
  private readonly _items;
1573
1576
  private _nextId;
@@ -1855,7 +1858,7 @@ declare class AtlTh {
1855
1858
  /** Whether this column is sortable. Renders a sort button when true. */
1856
1859
  readonly sortable: _angular_core.InputSignal<boolean>;
1857
1860
  /** Current sort direction. Fully controlled — the consumer owns this state. */
1858
- readonly sortDirection: _angular_core.InputSignal<AtlSortDirection>;
1861
+ readonly sortDirection: _angular_core.InputSignal<"asc" | "desc" | null>;
1859
1862
  /** Text alignment of the header cell content. */
1860
1863
  readonly align: _angular_core.InputSignal<"start" | "center" | "end">;
1861
1864
  /** Fixed column width (e.g. `'120px'`, `'10rem'`). */
@@ -1864,7 +1867,7 @@ declare class AtlTh {
1864
1867
  * Emits when the header is clicked.
1865
1868
  * Cycles: `null` → `'asc'` → `'desc'` → `null`.
1866
1869
  */
1867
- readonly sort: _angular_core.OutputEmitterRef<AtlSortDirection>;
1870
+ readonly sort: _angular_core.OutputEmitterRef<"asc" | "desc" | null>;
1868
1871
  /** @internal */
1869
1872
  protected readonly ariaSort: Signal<"none" | "ascending" | "descending" | undefined>;
1870
1873
  /** @internal */
@@ -2053,11 +2056,11 @@ declare class AtlCodeBlock {
2053
2056
  */
2054
2057
  declare class AtlChat {
2055
2058
  /** Layout variant. */
2056
- readonly variant: _angular_core.InputSignal<AtlChatVariant>;
2059
+ readonly variant: _angular_core.InputSignal<"drawer" | "popup" | "inline">;
2057
2060
  /** Whether the chat is open. Used by drawer/popup; ignored by inline. Two-way bindable via [(open)]. */
2058
2061
  readonly open: _angular_core.ModelSignal<boolean>;
2059
2062
  /** Connection / response status. Drives badge color in header and disables input while streaming. */
2060
- readonly status: _angular_core.InputSignal<AtlChatStatus>;
2063
+ readonly status: _angular_core.InputSignal<"error" | "idle" | "streaming">;
2061
2064
  /** @internal — referenced by AtlChatHeader via ATL_CHAT token for aria-labelledby. */
2062
2065
  readonly headerId: string;
2063
2066
  protected readonly dialogRef: _angular_core.Signal<ElementRef<HTMLDialogElement> | undefined>;
@@ -2115,7 +2118,7 @@ declare class AtlChatMessages {
2115
2118
  */
2116
2119
  declare class AtlChatMessage {
2117
2120
  /** Sender of the message. Drives bubble alignment and color. */
2118
- readonly role: _angular_core.InputSignal<AtlChatMessageRole>;
2121
+ readonly role: _angular_core.InputSignal<"user" | "assistant" | "system">;
2119
2122
  /** Marks the message as failed (red dashed border, used in error state). */
2120
2123
  readonly failed: _angular_core.InputSignal<boolean>;
2121
2124
  protected readonly hostClasses: _angular_core.Signal<string>;