@tedi-design-system/angular 7.0.0-rc.3 → 7.0.0-rc.4

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": "@tedi-design-system/angular",
3
- "version": "7.0.0-rc.3",
3
+ "version": "7.0.0-rc.4",
4
4
  "type": "module",
5
5
  "main": "community.mjs",
6
6
  "module": "fesm2022/tedi-design-system-angular.mjs",
package/tedi/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _angular_core from '@angular/core';
2
- import { AfterContentChecked, AfterViewInit, InputSignal, Signal, PipeTransform, ElementRef, TemplateRef, OnDestroy, Injector, InjectionToken, WritableSignal, OnInit, AfterViewChecked, AfterContentInit, QueryList, EnvironmentProviders } from '@angular/core';
2
+ import { AfterContentChecked, AfterViewInit, InputSignal, Signal, PipeTransform, OnInit, OnDestroy, ElementRef, TemplateRef, Injector, InjectionToken, WritableSignal, AfterViewChecked, AfterContentInit, QueryList, EnvironmentProviders } from '@angular/core';
3
+ import { _IdGenerator } from '@angular/cdk/a11y';
3
4
  import * as _tedi_design_system_angular_tedi from '@tedi-design-system/angular/tedi';
4
5
  import { ControlValueAccessor, NgControl } from '@angular/forms';
5
6
  import * as _tanstack_table_core from '@tanstack/table-core';
@@ -7,7 +8,6 @@ import { CdkDragDrop } from '@angular/cdk/drag-drop';
7
8
  import { Table, VisibilityState, ColumnOrderState, ColumnSizingState, RowSelectionState, ExpandedState, ColumnFiltersState, SortingState, PaginationState, ColumnDef, CellContext, Row, Column } from '@tanstack/angular-table';
8
9
  import * as _angular_cdk_overlay from '@angular/cdk/overlay';
9
10
  import { ConnectedOverlayPositionChange, ConnectedPosition, CdkOverlayOrigin, CdkConnectedOverlay } from '@angular/cdk/overlay';
10
- import { _IdGenerator } from '@angular/cdk/a11y';
11
11
  import { CdkListbox } from '@angular/cdk/listbox';
12
12
  import { Observable } from 'rxjs';
13
13
  import { DialogRef } from '@angular/cdk/dialog';
@@ -1910,9 +1910,14 @@ declare class InfoButtonComponent {
1910
1910
  * InfoButton ARIA label
1911
1911
  */
1912
1912
  readonly ariaLabel: _angular_core.InputSignal<string | undefined>;
1913
+ /**
1914
+ * Color variant. Use `inverted` on dark or colored backgrounds.
1915
+ * @default primary
1916
+ */
1917
+ readonly color: _angular_core.InputSignal<"primary" | "inverted">;
1913
1918
  private readonly _defaultLabel;
1914
1919
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<InfoButtonComponent, never>;
1915
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoButtonComponent, "button[tedi-info-button]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1920
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InfoButtonComponent, "button[tedi-info-button]", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1916
1921
  }
1917
1922
 
1918
1923
  type CollapseButtonArrowType = "default" | "secondary";
@@ -1955,6 +1960,12 @@ declare class CollapseButtonComponent {
1955
1960
  * @default false
1956
1961
  */
1957
1962
  inverted: _angular_core.InputSignal<boolean>;
1963
+ /**
1964
+ * Whether to underline the text label.
1965
+ * Has no effect in icon-only mode.
1966
+ * @default true
1967
+ */
1968
+ underline: _angular_core.InputSignal<boolean>;
1958
1969
  /**
1959
1970
  * ID of the disclosed region. Forwarded to `aria-controls`.
1960
1971
  */
@@ -1986,7 +1997,7 @@ declare class CollapseButtonComponent {
1986
1997
  protected readonly hostClasses: _angular_core.Signal<string>;
1987
1998
  protected toggle(): void;
1988
1999
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CollapseButtonComponent, never>;
1989
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<CollapseButtonComponent, "button[tedi-collapse-button]", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "openText": { "alias": "openText"; "required": false; "isSignal": true; }; "closeText": { "alias": "closeText"; "required": false; "isSignal": true; }; "hideText": { "alias": "hideText"; "required": false; "isSignal": true; }; "arrowType": { "alias": "arrowType"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, never, true, never>;
2000
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<CollapseButtonComponent, "button[tedi-collapse-button]", never, { "open": { "alias": "open"; "required": false; "isSignal": true; }; "openText": { "alias": "openText"; "required": false; "isSignal": true; }; "closeText": { "alias": "closeText"; "required": false; "isSignal": true; }; "hideText": { "alias": "hideText"; "required": false; "isSignal": true; }; "arrowType": { "alias": "arrowType"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "inverted": { "alias": "inverted"; "required": false; "isSignal": true; }; "underline": { "alias": "underline"; "required": false; "isSignal": true; }; "ariaControls": { "alias": "ariaControls"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, { "openChange": "openChange"; }, never, never, true, never>;
1990
2001
  }
1991
2002
 
1992
2003
  type ArrowType = CollapseButtonArrowType;
@@ -2082,6 +2093,257 @@ declare class ClosingButtonComponent {
2082
2093
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClosingButtonComponent, "button[tedi-closing-button]", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "iconSize": { "alias": "iconSize"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "showTitle": { "alias": "showTitle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2083
2094
  }
2084
2095
 
2096
+ /**
2097
+ * A single item inside a `tedi-accordion`. Owns the item's state (expanded)
2098
+ * and the inputs shared by header and content (selected, showIconCard,
2099
+ * defaultExpanded, disabled).
2100
+ *
2101
+ * Header-related configuration lives on `tedi-accordion-item-header`; body
2102
+ * styling lives on `tedi-accordion-item-content`.
2103
+ *
2104
+ * Use together with the header and content children:
2105
+ *
2106
+ * ```html
2107
+ * <tedi-accordion-item>
2108
+ * <tedi-accordion-item-header>
2109
+ * <span tedi-accordion-title>Title</span>
2110
+ * </tedi-accordion-item-header>
2111
+ * <tedi-accordion-item-content>Content</tedi-accordion-item-content>
2112
+ * </tedi-accordion-item>
2113
+ * ```
2114
+ *
2115
+ * The optional `[tedi-accordion-icon-card]` slot is projected as a direct
2116
+ * child of the item (not inside the header), because it occupies its own
2117
+ * column in the item's grid layout.
2118
+ */
2119
+ declare class AccordionItemComponent implements OnInit, OnDestroy {
2120
+ readonly idGenerator: _IdGenerator;
2121
+ readonly contentId: string;
2122
+ readonly headerId: string;
2123
+ /**
2124
+ * Whether the accordion item is expanded initially.
2125
+ * Does not control the expanded state after initialization.
2126
+ *
2127
+ * When omitted, falls back to the parent `tedi-accordion`'s `defaultExpanded`
2128
+ * (or `false`). Pass an explicit boolean to override the group default —
2129
+ * including `false` to keep an individual item collapsed when the group
2130
+ * default is `true`.
2131
+ */
2132
+ defaultExpanded: _angular_core.InputSignal<boolean | undefined>;
2133
+ /**
2134
+ * Enables the icon-card layout variant. Affects both header and content
2135
+ * styling, so it lives on the item.
2136
+ */
2137
+ showIconCard: _angular_core.InputSignal<boolean>;
2138
+ /**
2139
+ * Marks the accordion item as selected.
2140
+ */
2141
+ selected: _angular_core.InputSignal<boolean>;
2142
+ /**
2143
+ * Disables the item — the header trigger becomes non-interactive and the
2144
+ * expanded state can no longer be toggled by user interaction. The current
2145
+ * state is preserved (e.g. a disabled item that's `defaultExpanded` stays open).
2146
+ */
2147
+ disabled: _angular_core.InputSignal<boolean>;
2148
+ /**
2149
+ * Stable id used for hash-based deep-linking. Pair with `openOnHashMatch`.
2150
+ * Not the same as the auto-generated `headerId` / `contentId` used for ARIA.
2151
+ */
2152
+ itemId: _angular_core.InputSignal<string | undefined>;
2153
+ /**
2154
+ * When `true`, auto-expands the item if `window.location.hash` matches
2155
+ * `itemId` (e.g. `https://example.com/page#my-item`). Re-runs on
2156
+ * `hashchange` so navigating between in-page links updates which item is
2157
+ * open. No-op when `itemId` is omitted or the item is disabled.
2158
+ */
2159
+ openOnHashMatch: _angular_core.InputSignal<boolean>;
2160
+ expanded: _angular_core.ModelSignal<boolean>;
2161
+ private readonly accordion;
2162
+ private hashChangeHandler?;
2163
+ ngOnInit(): void;
2164
+ ngOnDestroy(): void;
2165
+ toggle(): void;
2166
+ setExpanded(value: boolean): void;
2167
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
2168
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "tedi-accordion-item", never, { "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "showIconCard": { "alias": "showIconCard"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "itemId": { "alias": "itemId"; "required": false; "isSignal": true; }; "openOnHashMatch": { "alias": "openOnHashMatch"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[tedi-accordion-icon-card]", "tedi-accordion-item-header", "tedi-accordion-item-content"], true, never>;
2169
+ }
2170
+
2171
+ /**
2172
+ * Breakpoint-aware inputs of the Accordion. Consumers can override each of
2173
+ * these per breakpoint via the `xs` / `sm` / `md` / `lg` / `xl` / `xxl` inputs:
2174
+ *
2175
+ * ```html
2176
+ * <tedi-accordion
2177
+ * [allowMultiple]="false"
2178
+ * [lg]="{ allowMultiple: true }"
2179
+ * >...</tedi-accordion>
2180
+ * ```
2181
+ */
2182
+ type AccordionInputs = {
2183
+ /**
2184
+ * Whether the accordion allows multiple items to be expanded at the same
2185
+ * time. If false, opening one item collapses the others automatically.
2186
+ * @default false
2187
+ */
2188
+ allowMultiple: boolean;
2189
+ /**
2190
+ * Group-level default for items' initial expanded state. Sets the initial
2191
+ * `defaultExpanded` for every child `tedi-accordion-item` that doesn't
2192
+ * specify its own. Per-item `defaultExpanded` (including an explicit
2193
+ * `false`) takes precedence.
2194
+ *
2195
+ * Typically combined with `allowMultiple` to start with all items open.
2196
+ */
2197
+ defaultExpanded?: boolean;
2198
+ /**
2199
+ * Vertical gap between sibling `tedi-accordion-item` components, in **rem**
2200
+ * (so the value scales with the user's font-size preferences and matches
2201
+ * the rest of TEDI's layout spacing convention). Accepts any number, not
2202
+ * limited to a fixed scale.
2203
+ *
2204
+ * Forwarded as the `--tedi-accordion-item-gap` CSS variable, so consumers
2205
+ * can also override it from any ancestor class — or set a px value there
2206
+ * directly when an exact-pixel override is needed.
2207
+ *
2208
+ * When omitted, falls back to the design-token default
2209
+ * (`var(--layout-grid-gutters-08)` = 0.5rem).
2210
+ */
2211
+ itemGap?: number;
2212
+ };
2213
+ declare class AccordionComponent implements BreakpointInputs<AccordionInputs> {
2214
+ allowMultiple: _angular_core.InputSignal<boolean>;
2215
+ defaultExpanded: _angular_core.InputSignal<boolean | undefined>;
2216
+ itemGap: _angular_core.InputSignal<number | undefined>;
2217
+ xs: _angular_core.InputSignal<AccordionInputs | undefined>;
2218
+ sm: _angular_core.InputSignal<AccordionInputs | undefined>;
2219
+ md: _angular_core.InputSignal<AccordionInputs | undefined>;
2220
+ lg: _angular_core.InputSignal<AccordionInputs | undefined>;
2221
+ xl: _angular_core.InputSignal<AccordionInputs | undefined>;
2222
+ xxl: _angular_core.InputSignal<AccordionInputs | undefined>;
2223
+ private readonly breakpointService;
2224
+ breakpointInputs: _angular_core.Signal<AccordionInputs>;
2225
+ protected readonly itemGapStyle: _angular_core.Signal<string | null>;
2226
+ items: _angular_core.Signal<readonly AccordionItemComponent[]>;
2227
+ onItemToggled(activeItem: AccordionItemComponent): void;
2228
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
2229
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "tedi-accordion", never, { "allowMultiple": { "alias": "allowMultiple"; "required": false; "isSignal": true; }; "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "itemGap": { "alias": "itemGap"; "required": false; "isSignal": true; }; "xs": { "alias": "xs"; "required": false; "isSignal": true; }; "sm": { "alias": "sm"; "required": false; "isSignal": true; }; "md": { "alias": "md"; "required": false; "isSignal": true; }; "lg": { "alias": "lg"; "required": false; "isSignal": true; }; "xl": { "alias": "xl"; "required": false; "isSignal": true; }; "xxl": { "alias": "xxl"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
2230
+ }
2231
+
2232
+ declare class AccordionItemHeaderComponent {
2233
+ protected readonly item: AccordionItemComponent;
2234
+ private readonly translationService;
2235
+ private readonly defaultOpenLabel;
2236
+ private readonly defaultCloseLabel;
2237
+ /**
2238
+ * If false, disables header toggling and enables using interactive elements in the accordion header.
2239
+ */
2240
+ headerClickable: _angular_core.InputSignal<boolean>;
2241
+ /**
2242
+ * Sets how the accordion title stretches horizontally.
2243
+ * `hug` - container sizes to its content.
2244
+ * `fill` - container expands to available space, moving any trailing elements to the end.
2245
+ */
2246
+ titleLayout: _angular_core.InputSignal<"fill" | "hug">;
2247
+ /**
2248
+ * Text shown when accordion is collapsed. Rendered literally — translate
2249
+ * at the call site if needed. When omitted, falls back to the translated
2250
+ * `"open"` label from `TediTranslationService`.
2251
+ */
2252
+ openText: _angular_core.InputSignal<string | undefined>;
2253
+ /**
2254
+ * Text shown when accordion is expanded. Rendered literally — translate
2255
+ * at the call site if needed. When omitted, falls back to the translated
2256
+ * `"close"` label from `TediTranslationService`.
2257
+ */
2258
+ closeText: _angular_core.InputSignal<string | undefined>;
2259
+ /**
2260
+ * Controls whether the expand/collapse label is shown.
2261
+ */
2262
+ showExpandLabel: _angular_core.InputSignal<boolean>;
2263
+ /**
2264
+ * Controls whether the default expand/collapse action is shown.
2265
+ */
2266
+ showDefaultExpandAction: _angular_core.InputSignal<boolean>;
2267
+ /**
2268
+ * Position of the expand action relative to the header content.
2269
+ */
2270
+ expandActionPosition: _angular_core.InputSignal<"start" | "end">;
2271
+ /**
2272
+ * Custom CSS classes for the accordion header.
2273
+ */
2274
+ headerClass: _angular_core.InputSignal<string | null>;
2275
+ /**
2276
+ * When set, wraps the header trigger in a semantic `<h1>`–`<h6>` element
2277
+ * following the WAI-ARIA Accordion Pattern. Improves accessibility for
2278
+ * documents with a heading hierarchy (FAQ pages, docs). The wrapper uses
2279
+ * `display: contents` so it doesn't affect the visual layout — it only adds
2280
+ * semantic information for assistive technologies and TOC tools.
2281
+ */
2282
+ headingLevel: _angular_core.InputSignal<1 | 3 | 5 | 4 | 2 | 6 | undefined>;
2283
+ /**
2284
+ * Chevron style of the default expand action.
2285
+ * Only effective when `headerClickable` is `false` (otherwise the
2286
+ * default expand action isn't a `CollapseButton`) and `showExpandLabel`
2287
+ * is `false` (only icon-only mode honours `arrowType` — see the
2288
+ * `CollapseButton` docs).
2289
+ * @default "default"
2290
+ */
2291
+ expandActionArrowType: _angular_core.InputSignal<CollapseButtonArrowType>;
2292
+ /**
2293
+ * Visual size of the default expand action. Only effective when
2294
+ * `headerClickable` is `false`.
2295
+ *
2296
+ * When omitted, the size is derived from `showExpandLabel`:
2297
+ * - `showExpandLabel === true` → `"default"`
2298
+ * - `showExpandLabel === false` → `"small"` (icon-only mode reads
2299
+ * better at the smaller chevron size).
2300
+ *
2301
+ * Pass an explicit value to override the derived default.
2302
+ */
2303
+ expandActionSize: _angular_core.InputSignal<CollapseButtonSize | undefined>;
2304
+ /**
2305
+ * Use the inverted (light-on-dark) palette for the default expand
2306
+ * action, for placement on a dark or brand background. Only effective
2307
+ * when `headerClickable` is `false`.
2308
+ * @default false
2309
+ */
2310
+ expandActionInverted: _angular_core.InputSignal<boolean>;
2311
+ /**
2312
+ * Whether the default expand action's label is underlined. Defaults to
2313
+ * `false` so the chevron stays the sole affordance — an underlined
2314
+ * label inside the accordion header reads as a stray link. Set to
2315
+ * `true` for contexts that want link-style styling. Only effective
2316
+ * when `headerClickable` is `false` and the expand action is not in
2317
+ * icon-only mode (i.e. `showExpandLabel` is `true`).
2318
+ * @default false
2319
+ */
2320
+ expandActionUnderline: _angular_core.InputSignal<boolean>;
2321
+ readonly headerId: string;
2322
+ readonly contentId: string;
2323
+ readonly expanded: _angular_core.ModelSignal<boolean>;
2324
+ readonly disabled: _angular_core.Signal<boolean>;
2325
+ readonly expandLabel: _angular_core.Signal<string>;
2326
+ readonly showStartExpandAction: _angular_core.Signal<boolean>;
2327
+ readonly showEndExpandAction: _angular_core.Signal<boolean>;
2328
+ readonly resolvedExpandActionSize: _angular_core.Signal<CollapseButtonSize>;
2329
+ toggle(): void;
2330
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemHeaderComponent, never>;
2331
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemHeaderComponent, "tedi-accordion-item-header", never, { "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "titleLayout": { "alias": "titleLayout"; "required": false; "isSignal": true; }; "openText": { "alias": "openText"; "required": false; "isSignal": true; }; "closeText": { "alias": "closeText"; "required": false; "isSignal": true; }; "showExpandLabel": { "alias": "showExpandLabel"; "required": false; "isSignal": true; }; "showDefaultExpandAction": { "alias": "showDefaultExpandAction"; "required": false; "isSignal": true; }; "expandActionPosition": { "alias": "expandActionPosition"; "required": false; "isSignal": true; }; "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; "headingLevel": { "alias": "headingLevel"; "required": false; "isSignal": true; }; "expandActionArrowType": { "alias": "expandActionArrowType"; "required": false; "isSignal": true; }; "expandActionSize": { "alias": "expandActionSize"; "required": false; "isSignal": true; }; "expandActionInverted": { "alias": "expandActionInverted"; "required": false; "isSignal": true; }; "expandActionUnderline": { "alias": "expandActionUnderline"; "required": false; "isSignal": true; }; }, {}, never, ["[tedi-accordion-start-action]", "[tedi-accordion-before-title]", "[tedi-accordion-title]", "[tedi-accordion-start-description]", "[tedi-accordion-after-title]", "[tedi-accordion-end-description]", "[tedi-accordion-end-action]"], true, never>;
2332
+ }
2333
+
2334
+ declare class AccordionItemContentComponent {
2335
+ protected readonly item: AccordionItemComponent;
2336
+ /**
2337
+ * Custom CSS classes for the accordion content.
2338
+ */
2339
+ contentClass: _angular_core.InputSignal<string | null>;
2340
+ readonly headerId: string;
2341
+ readonly contentId: string;
2342
+ readonly expanded: _angular_core.ModelSignal<boolean>;
2343
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemContentComponent, never>;
2344
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemContentComponent, "tedi-accordion-item-content", never, { "contentClass": { "alias": "contentClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
2345
+ }
2346
+
2085
2347
  type CardBorderPlacement = "top" | "left";
2086
2348
  type CardBackground = "primary" | "secondary" | "tertiary" | "accent" | "brand-primary" | "brand-secondary" | "brand-tertiary" | "brand-quaternary" | "danger-primary" | "danger-secondary" | "success-primary" | "success-secondary" | "info-primary" | "info-secondary" | "warning-primary" | "warning-secondary" | "neutral-primary" | "neutral-secondary";
2087
2349
  type CardBorderType = `${CardBorderPlacement}-${CardBackground}` | CardBackground;
@@ -6800,6 +7062,10 @@ type SeparatorDotSize = "large" | "medium" | "small" | "extra-small";
6800
7062
  type SeparatorThickness = 1 | 2;
6801
7063
  type SeparatorSpacingValue = 0 | 0.25 | 0.5 | 0.75 | 1 | 1.25 | 1.5 | 1.75 | 2 | 2.5 | 5;
6802
7064
  type SeparatorSpacing = {
7065
+ /** Shorthand for `left` and `right`. Overridden by an explicit side. */
7066
+ x?: SeparatorSpacingValue;
7067
+ /** Shorthand for `top` and `bottom`. Overridden by an explicit side. */
7068
+ y?: SeparatorSpacingValue;
6803
7069
  top?: SeparatorSpacingValue;
6804
7070
  bottom?: SeparatorSpacingValue;
6805
7071
  left?: SeparatorSpacingValue;
@@ -6832,9 +7098,11 @@ declare class SeparatorComponent {
6832
7098
  */
6833
7099
  thickness: _angular_core.InputSignal<SeparatorThickness>;
6834
7100
  /**
6835
- * Spacing applied based on the axis:
6836
- * - For horizontal axis, spacing is applied to top and bottom of the separator.
6837
- * - For vertical axis, spacing is applied to left and right of the separator.
7101
+ * Spacing applied as margins around the separator.
7102
+ * - Horizontal axis supports y-spacing only: a number sets top and bottom; the object form's `y` (or `top`/`bottom`) set each side. `x`/`left`/`right` are ignored.
7103
+ * - Vertical axis supports both x- and y-spacing: a number sets left and right; the object form accepts `x`/`y` shorthands or explicit `top`/`bottom`/`left`/`right`.
7104
+ *
7105
+ * In the object form, `x` is shorthand for `left`+`right` and `y` for `top`+`bottom`; an explicit side overrides the matching shorthand.
6838
7106
  */
6839
7107
  spacing: _angular_core.InputSignal<SeparatorSpacingValue | SeparatorSpacing | undefined>;
6840
7108
  /**
@@ -8276,124 +8544,6 @@ declare class StatusBadgeComponent {
8276
8544
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<StatusBadgeComponent, "tedi-status-badge", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "role": { "alias": "role"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "status": { "alias": "status"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
8277
8545
  }
8278
8546
 
8279
- /**
8280
- * A single item inside a `tedi-accordion`. Owns the item's state (expanded)
8281
- * and the inputs shared by header and content (selected, showIconCard,
8282
- * defaultExpanded).
8283
- *
8284
- * Header-related configuration lives on `tedi-accordion-item-header`; body
8285
- * styling lives on `tedi-accordion-item-content`.
8286
- *
8287
- * Use together with the header and content children:
8288
- *
8289
- * ```html
8290
- * <tedi-accordion-item>
8291
- * <tedi-accordion-item-header>
8292
- * <span tedi-accordion-title>Title</span>
8293
- * </tedi-accordion-item-header>
8294
- * <tedi-accordion-item-content>Content</tedi-accordion-item-content>
8295
- * </tedi-accordion-item>
8296
- * ```
8297
- *
8298
- * The optional `[tedi-accordion-icon-card]` slot is projected as a direct
8299
- * child of the item (not inside the header), because it occupies its own
8300
- * column in the item's grid layout.
8301
- */
8302
- declare class AccordionItemComponent implements OnInit {
8303
- readonly idGenerator: _IdGenerator;
8304
- readonly contentId: string;
8305
- readonly headerId: string;
8306
- /**
8307
- * Whether the accordion item is expanded initially.
8308
- * Does not control the expanded state after initialization.
8309
- */
8310
- defaultExpanded: _angular_core.InputSignal<boolean>;
8311
- /**
8312
- * Enables the icon-card layout variant. Affects both header and content
8313
- * styling, so it lives on the item.
8314
- */
8315
- showIconCard: _angular_core.InputSignal<boolean>;
8316
- /**
8317
- * Marks the accordion item as selected.
8318
- */
8319
- selected: _angular_core.InputSignal<boolean>;
8320
- expanded: _angular_core.ModelSignal<boolean>;
8321
- private readonly accordion;
8322
- ngOnInit(): void;
8323
- toggle(): void;
8324
- setExpanded(value: boolean): void;
8325
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
8326
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemComponent, "tedi-accordion-item", never, { "defaultExpanded": { "alias": "defaultExpanded"; "required": false; "isSignal": true; }; "showIconCard": { "alias": "showIconCard"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, ["[tedi-accordion-icon-card]", "tedi-accordion-item-header", "tedi-accordion-item-content"], true, never>;
8327
- }
8328
-
8329
- declare class AccordionComponent {
8330
- /**
8331
- * Whether the accordion allows multiple items to be expanded at the same time.
8332
- * If false, opening one item will collapse the others automatically.
8333
- */
8334
- allowMultiple: _angular_core.InputSignal<boolean>;
8335
- items: _angular_core.Signal<readonly AccordionItemComponent[]>;
8336
- onItemToggled(activeItem: AccordionItemComponent): void;
8337
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionComponent, never>;
8338
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionComponent, "tedi-accordion", never, { "allowMultiple": { "alias": "allowMultiple"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
8339
- }
8340
-
8341
- declare class AccordionItemHeaderComponent {
8342
- protected readonly item: AccordionItemComponent;
8343
- /**
8344
- * If false, disables header toggling and enables using interactive elements in the accordion header.
8345
- */
8346
- headerClickable: _angular_core.InputSignal<boolean>;
8347
- /**
8348
- * Sets how the accordion title stretches horizontally.
8349
- * `hug` - container sizes to its content.
8350
- * `fill` - container expands to available space, moving any trailing elements to the end.
8351
- */
8352
- titleLayout: _angular_core.InputSignal<"fill" | "hug">;
8353
- /** Label shown when accordion is collapsed */
8354
- openLabel: _angular_core.InputSignal<string>;
8355
- /** Label shown when accordion is expanded */
8356
- closeLabel: _angular_core.InputSignal<string>;
8357
- /**
8358
- * Controls whether the expand/collapse label is shown.
8359
- */
8360
- showExpandLabel: _angular_core.InputSignal<boolean>;
8361
- /**
8362
- * Controls whether the default expand/collapse action is shown.
8363
- */
8364
- showDefaultExpandAction: _angular_core.InputSignal<boolean>;
8365
- /**
8366
- * Position of the expand action relative to the header content.
8367
- */
8368
- expandActionPosition: _angular_core.InputSignal<"start" | "end">;
8369
- /**
8370
- * Custom CSS classes for the accordion header.
8371
- */
8372
- headerClass: _angular_core.InputSignal<string | null>;
8373
- readonly headerId: string;
8374
- readonly contentId: string;
8375
- readonly expanded: _angular_core.ModelSignal<boolean>;
8376
- readonly expandLabel: _angular_core.Signal<string>;
8377
- readonly showStartExpandAction: _angular_core.Signal<boolean>;
8378
- readonly showEndExpandAction: _angular_core.Signal<boolean>;
8379
- toggle(): void;
8380
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemHeaderComponent, never>;
8381
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemHeaderComponent, "tedi-accordion-item-header", never, { "headerClickable": { "alias": "headerClickable"; "required": false; "isSignal": true; }; "titleLayout": { "alias": "titleLayout"; "required": false; "isSignal": true; }; "openLabel": { "alias": "openLabel"; "required": false; "isSignal": true; }; "closeLabel": { "alias": "closeLabel"; "required": false; "isSignal": true; }; "showExpandLabel": { "alias": "showExpandLabel"; "required": false; "isSignal": true; }; "showDefaultExpandAction": { "alias": "showDefaultExpandAction"; "required": false; "isSignal": true; }; "expandActionPosition": { "alias": "expandActionPosition"; "required": false; "isSignal": true; }; "headerClass": { "alias": "headerClass"; "required": false; "isSignal": true; }; }, {}, never, ["[tedi-accordion-start-action]", "[tedi-accordion-before-title]", "[tedi-accordion-title]", "[tedi-accordion-start-description]", "[tedi-accordion-after-title]", "[tedi-accordion-end-description]", "[tedi-accordion-end-action]"], true, never>;
8382
- }
8383
-
8384
- declare class AccordionItemContentComponent {
8385
- protected readonly item: AccordionItemComponent;
8386
- /**
8387
- * Custom CSS classes for the accordion content.
8388
- */
8389
- contentClass: _angular_core.InputSignal<string | null>;
8390
- readonly headerId: string;
8391
- readonly contentId: string;
8392
- readonly expanded: _angular_core.ModelSignal<boolean>;
8393
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<AccordionItemContentComponent, never>;
8394
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<AccordionItemContentComponent, "tedi-accordion-item-content", never, { "contentClass": { "alias": "contentClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
8395
- }
8396
-
8397
8547
  declare class HideAtDirective {
8398
8548
  hideAt: _angular_core.InputSignal<"xs" | "sm" | "md" | "lg" | "xl" | "xxl">;
8399
8549
  private templateRef;
@@ -8514,5 +8664,5 @@ declare function isValidTime(time: string | null | undefined): boolean;
8514
8664
  declare function normalizeTime(input: string): string | null;
8515
8665
 
8516
8666
  export { AVAILABLE_LANGUAGES, AccordionComponent, AccordionItemComponent, AccordionItemContentComponent, AccordionItemHeaderComponent, AlertComponent, AttachmentActionsComponent, AttachmentComponent, BREAKPOINTS, BaseButtonDirective, BreakpointService, ButtonComponent, ButtonGroupButtonDirective, ButtonGroupComponent, COUNTER_TAG_WIDTH, CalendarComponent, CardButtonComponent, CardComponent, CardContentComponent, CardHeaderComponent, CardIconComponent, CardRowComponent, CarouselComponent, CarouselContentComponent, CarouselFooterComponent, CarouselHeaderComponent, CarouselIndicatorsComponent, CarouselNavigationComponent, CarouselSlideDirective, CheckboxCardComponent, CheckboxCardGroupComponent, CheckboxComponent, CheckboxGroupComponent, ClosingButtonComponent, ColComponent, CollapseButtonComponent, CollapseComponent, DROPDOWN_API, DROPDOWN_CONTENT_API, DateFieldComponent, DatePickerComponent, DropdownComponent, DropdownContentComponent, DropdownItemComponent, DropdownItemValueComponent, DropdownItemValueLabelComponent, DropdownItemValueMetaComponent, DropdownTriggerDirective, EllipsisComponent, EmptyStateComponent, FeedbackTextComponent, FilterComponent, FilterContentDirective, FilterGroupComponent, FilterPrependDirective, FooterBodyComponent, FooterBottomComponent, FooterComponent, FooterSectionComponent, FooterSideComponent, FormFieldComponent, HeaderActionsComponent, HeaderBottomComponent, HeaderComponent, HeaderContentComponent, HeaderLanguageComponent, HeaderLoginComponent, HeaderLogoComponent, HeaderLogoDarkDirective, HeaderLogoutComponent, HeaderMobileButtonComponent, HeaderProfileComponent, HeaderRoleComponent, HeaderRoleContentDirective, HeaderRoleNoResultsDirective, HeaderRoleTitleDirective, HeaderSearchComponent, HideAtDirective, HorizontalPushHandler, HorizontalStepperComponent, HorizontalStepperItemComponent, IconComponent, InfoButtonComponent, LANGUAGE_COOKIE_NAME, LANGUAGE_FALLBACK_VALUE, LabelComponent, LinkComponent, ListComponent, MODAL_DATA, MODAL_SIZE, ModalComponent, ModalContentComponent, ModalFooterComponent, ModalHeaderComponent, ModalRef, ModalService, NumberFieldComponent, PaginationComponent, PopoverComponent, PopoverContentComponent, PopoverTriggerDirective, ProgressBarComponent, RadioCardComponent, RadioCardGroupComponent, RadioComponent, RadioGroupComponent, RowComponent, ScrollFadeComponent, SelectComponent, SelectOptionTemplateDirective, SelectValueTemplateDirective, SeparatorComponent, ShowAtDirective, SideNavComponent, SideNavDropdownComponent, SideNavDropdownGroupComponent, SideNavDropdownItemComponent, SideNavGroupTitleComponent, SideNavItemComponent, SideNavOverlayComponent, SideNavToggleComponent, SpecialOptionControls, SpinnerComponent, StatusBadgeComponent, StatusIndicatorComponent, TAG_GAP, TEDI_FORM_FIELD_CONTROL, TEDI_TABLE_CONTEXT, TEDI_THEME_DEFAULT_TOKEN, TEDI_TRANSLATION_DEFAULT_TOKEN, THEME_CLASS_PREFIX, THEME_COOKIE_NAME, THEME_FALLBACK_VALUE, TOAST_DEFAULT_DURATION, TabsComponent, TabsContentComponent, TabsListComponent, TabsTriggerComponent, TagComponent, TediPaginationResultsDirective, TediTableColumnsMenuComponent, TediTableComponent, TediTableHeaderButtonComponent, TediTableToolbarComponent, TediTranslationPipe, TediTranslationService, TextComponent, TextFieldComponent, TextGroupComponent, TextGroupLabelComponent, TextGroupValueComponent, ThemeService, TimeFieldComponent, TimePickerComponent, TimelineComponent, TimelineDescriptionComponent, TimelineItemComponent, TimelineTimingsBottomDirective, TimelineTitleComponent, ToastComponent, ToastService, ToggleComponent, TooltipComponent, TooltipContentComponent, TooltipTriggerComponent, VerticalSpacingDirective, VerticalSpacingItemDirective, addDays, addMonths, addYears, breakpointInput, buildMonthGrid, calculateArrowOffset, calculateVisibleTagCount, computeGroupSpans, cookieSignal, createTablePersistence, endOfMonth, formatDate, formatLocaleDate, formatLocaleDateHint, formatLocaleDateLong, formatMonthYear, generateUUID, getCardBorderPlacementColor, getDaysInMonth, getFirstDayOfWeek, getFocusableElements, getISOWeek, getMonthNames, getPaddingCssVariables, getPlacementFromPositionChange, getWeekdayNames, groupRowSpan, injectTediTableContext, isAfterDay, isBeforeDay, isDateInRange, isSameDay, isSameMonth, isSameYear, isValidTime, matchAny, matchDate, normalizeTime, parseDate, parseLocaleDate, provideTedi, resolveCardBorderRadius, startOfMonth, startOfWeek, toConnectedPositions, toggleDateInArray, usePagination };
8517
- export type { AlertRole, AlertSize, AlertTitleType, AlertType, AlertVariant, AlignItems, AlignSelf, ArrowOffset, ArrowType, AttachmentDirection, Breakpoint, BreakpointFlag, BreakpointInput, BreakpointInputs, BreakpointInputsWithoutSignals, BreakpointObject, BulletColor, ButtonGroupDropdownLabelMode, ButtonSize, ButtonVariant, CalendarView, CardBackground, CardBorderPlacement, CardBorderRadius, CardBorderType, CardContentInputs, CardIconSize, CardIconType, CardInputs, CardPadding, CardPaddingNumber, CardResolvedCorners, CarouselIndicatorsVariant, CheckboxCardVariant, CheckboxGroupDirection, CheckboxSize, ClosingButtonIconSize, ClosingButtonSize, ColInputs, ColWidth, CollapseButtonArrowType, CollapseButtonSize, CollapseSize, Cols, ColumnReorderPhase, CompareWithFn, ComponentInputs, DateAfter, DateBefore, DateFieldMode, DateInterval, DatePickerDay, DatePickerInputSize, DatePickerInputState, DatePickerMatcher, DatePickerSelectorMode, DatePickerView, DateRange, DayOfWeek, DropdownApi, DropdownContentApi, DropdownItemValueLayout, DropdownItemValueType, DropdownPosition, DropdownRole, DropdownTriggerAriaHasPopup, EllipsisPosition, EmptyStateSize, EmptyStateType, FeedbackTextPosition, FeedbackTextType, FilterOption, FilterSize, FilterVariant, FooterSidePlacement, FooterSidePosition, FormFieldControl, FormFieldIcon, Gap, GroupByFn, HeaderContentAlignment, HeaderLanguage, HeaderLoginInputs, HeaderLoginSize, HeaderLogoutInputs, HeaderLogoutSize, HeaderProfileInputs, HeaderProfileSize, HeaderSearchMobileLabels, HeaderSearchMobileVariant, HorizontalStepperBackground, IconBackgroundColor, IconColor, IconSize, IconType, IconVariant, InputSize, InputState, JustifyItems, JustifySelf, LabelColor, LabelSize, Language, LinkInputs, LinkSize, LinkVariant, Matcher, ModalConfig, ModalFullscreen, ModalPosition, ModalScrollBehavior, ModalSize, ModalWidth, ModalWidthPreset, NumberFieldSize, OverlayPosition, OverlaySide, PaginationBackground, PaginationDividerPosition, PaginationItem, PaginationItemType, PaginationLabels, PaginationVisibility, PopoverPosition, PopoverWidth, ProgressBarInputs, ProgressBarLabelPosition, ProgressBarSize, ProgressBarValuePosition, RadioCardVariant, RadioGroupDirection, RadioSize, Representative, RepresentativeIcon, RowInputs, ScrollFadePosition, ScrollFadeScrollbar, ScrollFadeSize, SelectInputSize, SelectOption, SelectOptionContext, SelectOptionGroup, SelectValueContext, SeparatorAxis, SeparatorColor, SeparatorDotSize, SeparatorSpacing, SeparatorSpacingValue, SeparatorThickness, SeparatorVariant, SideNavItemSize, SpinnerColor, SpinnerSize, StatusBadgeColor, StatusBadgeSize, StatusBadgeStatus, StatusBadgeVariant, StatusIndicatorPosition, StatusIndicatorSize, StatusIndicatorType, TEDITheme, TableColumnMeta, TableControlColumn, TableExpandTrigger, TableFilterOptions, TablePaginationOptions, TablePersistOptions, TablePersistenceController, TableSelectionMode, TableSize, TableState, TableStatePatch, TabsOverflowMode, TagEllipsis, TagOverflowOptions, TagType, TediColumnDef, TediConfig, TediTableContextValue, TediTableFilterContext, TextColor, TextGroupInputs, TextGroupType, TextModifiers, Theme, TimeFieldFullscreen, TimeFieldModal, TimeFieldPickerTrigger, TimeFieldPickerVariant, TimeFieldUseNativePicker, TimePickerVariant, TimelineCardPadding, TimelineVariant, ToastConfig, ToastPosition, ToastRole, ToastType, ToggleSize, ToggleType, ToggleVariant, TooltipOpenWith, TooltipPosition, TooltipWidth, UsePaginationArgs, VerticalSpacingSize };
8667
+ export type { AccordionInputs, AlertRole, AlertSize, AlertTitleType, AlertType, AlertVariant, AlignItems, AlignSelf, ArrowOffset, ArrowType, AttachmentDirection, Breakpoint, BreakpointFlag, BreakpointInput, BreakpointInputs, BreakpointInputsWithoutSignals, BreakpointObject, BulletColor, ButtonGroupDropdownLabelMode, ButtonSize, ButtonVariant, CalendarView, CardBackground, CardBorderPlacement, CardBorderRadius, CardBorderType, CardContentInputs, CardIconSize, CardIconType, CardInputs, CardPadding, CardPaddingNumber, CardResolvedCorners, CarouselIndicatorsVariant, CheckboxCardVariant, CheckboxGroupDirection, CheckboxSize, ClosingButtonIconSize, ClosingButtonSize, ColInputs, ColWidth, CollapseButtonArrowType, CollapseButtonSize, CollapseSize, Cols, ColumnReorderPhase, CompareWithFn, ComponentInputs, DateAfter, DateBefore, DateFieldMode, DateInterval, DatePickerDay, DatePickerInputSize, DatePickerInputState, DatePickerMatcher, DatePickerSelectorMode, DatePickerView, DateRange, DayOfWeek, DropdownApi, DropdownContentApi, DropdownItemValueLayout, DropdownItemValueType, DropdownPosition, DropdownRole, DropdownTriggerAriaHasPopup, EllipsisPosition, EmptyStateSize, EmptyStateType, FeedbackTextPosition, FeedbackTextType, FilterOption, FilterSize, FilterVariant, FooterSidePlacement, FooterSidePosition, FormFieldControl, FormFieldIcon, Gap, GroupByFn, HeaderContentAlignment, HeaderLanguage, HeaderLoginInputs, HeaderLoginSize, HeaderLogoutInputs, HeaderLogoutSize, HeaderProfileInputs, HeaderProfileSize, HeaderSearchMobileLabels, HeaderSearchMobileVariant, HorizontalStepperBackground, IconBackgroundColor, IconColor, IconSize, IconType, IconVariant, InputSize, InputState, JustifyItems, JustifySelf, LabelColor, LabelSize, Language, LinkInputs, LinkSize, LinkVariant, Matcher, ModalConfig, ModalFullscreen, ModalPosition, ModalScrollBehavior, ModalSize, ModalWidth, ModalWidthPreset, NumberFieldSize, OverlayPosition, OverlaySide, PaginationBackground, PaginationDividerPosition, PaginationItem, PaginationItemType, PaginationLabels, PaginationVisibility, PopoverPosition, PopoverWidth, ProgressBarInputs, ProgressBarLabelPosition, ProgressBarSize, ProgressBarValuePosition, RadioCardVariant, RadioGroupDirection, RadioSize, Representative, RepresentativeIcon, RowInputs, ScrollFadePosition, ScrollFadeScrollbar, ScrollFadeSize, SelectInputSize, SelectOption, SelectOptionContext, SelectOptionGroup, SelectValueContext, SeparatorAxis, SeparatorColor, SeparatorDotSize, SeparatorSpacing, SeparatorSpacingValue, SeparatorThickness, SeparatorVariant, SideNavItemSize, SpinnerColor, SpinnerSize, StatusBadgeColor, StatusBadgeSize, StatusBadgeStatus, StatusBadgeVariant, StatusIndicatorPosition, StatusIndicatorSize, StatusIndicatorType, TEDITheme, TableColumnMeta, TableControlColumn, TableExpandTrigger, TableFilterOptions, TablePaginationOptions, TablePersistOptions, TablePersistenceController, TableSelectionMode, TableSize, TableState, TableStatePatch, TabsOverflowMode, TagEllipsis, TagOverflowOptions, TagType, TediColumnDef, TediConfig, TediTableContextValue, TediTableFilterContext, TextColor, TextGroupInputs, TextGroupType, TextModifiers, Theme, TimeFieldFullscreen, TimeFieldModal, TimeFieldPickerTrigger, TimeFieldPickerVariant, TimeFieldUseNativePicker, TimePickerVariant, TimelineCardPadding, TimelineVariant, ToastConfig, ToastPosition, ToastRole, ToastType, ToggleSize, ToggleType, ToggleVariant, TooltipOpenWith, TooltipPosition, TooltipWidth, UsePaginationArgs, VerticalSpacingSize };
8518
8668
  //# sourceMappingURL=index.d.ts.map