@corto-ai/gds-angular 2.1.8-test.1 → 2.1.8-test.6

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@corto-ai/gds-angular",
3
- "version": "2.1.8-test.1",
4
- "devVersion": "1",
3
+ "version": "2.1.8-test.6",
4
+ "devVersion": "6",
5
5
  "exports": {
6
6
  "./assets/*": "./assets/*",
7
7
  "./package.json": {
@@ -115,24 +115,30 @@ export declare enum GdsBadgeVariantType {
115
115
  }
116
116
  export type GdsBannerState = 'collapsed' | 'expanded' | 'hidden';
117
117
  export declare class GdsBannerComponent {
118
- iconKey: import("@angular/core").InputSignal<SvgIcons>;
119
118
  label: import("@angular/core").InputSignal<string>;
119
+ labelSecondary: import("@angular/core").InputSignal<string | undefined>;
120
+ iconKey: import("@angular/core").InputSignal<SvgIcons | undefined>;
120
121
  btnLabel: import("@angular/core").InputSignal<string | undefined>;
121
122
  state: import("@angular/core").ModelSignal<GdsBannerState>;
122
123
  actionBtnClick: import("@angular/core").OutputEmitterRef<void>;
123
124
  contentExpanded: import("@angular/core").Signal<boolean>;
124
125
  static ɵfac: i0.ɵɵFactoryDeclaration<GdsBannerComponent, never>;
125
126
  static ɵcmp: i0.ɵɵComponentDeclaration<GdsBannerComponent, "gds-banner", never, {
126
- "iconKey": {
127
- "alias": "iconKey";
128
- "required": false;
129
- "isSignal": true;
130
- };
131
127
  "label": {
132
128
  "alias": "label";
133
129
  "required": true;
134
130
  "isSignal": true;
135
131
  };
132
+ "labelSecondary": {
133
+ "alias": "labelSecondary";
134
+ "required": false;
135
+ "isSignal": true;
136
+ };
137
+ "iconKey": {
138
+ "alias": "iconKey";
139
+ "required": false;
140
+ "isSignal": true;
141
+ };
136
142
  "btnLabel": {
137
143
  "alias": "btnLabel";
138
144
  "required": false;
@@ -176,6 +182,7 @@ declare class ButtonBaseDirective {
176
182
  tabIndex: import("@angular/core").InputSignal<number>;
177
183
  clicked: import("@angular/core").OutputEmitterRef<MouseEvent>;
178
184
  isDisabled: import("@angular/core").Signal<boolean>;
185
+ hostTabIndex: import("@angular/core").Signal<number | null>;
179
186
  nativeElement: HTMLButtonElement;
180
187
  handleClick(event: MouseEvent): void;
181
188
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBaseDirective, never>;
@@ -2134,6 +2141,127 @@ export declare class GdsSkeletonLoadingComponent {
2134
2141
  static ɵfac: i0.ɵɵFactoryDeclaration<GdsSkeletonLoadingComponent, never>;
2135
2142
  static ɵcmp: i0.ɵɵComponentDeclaration<GdsSkeletonLoadingComponent, "gds-skeleton-loading", never, {}, {}, never, never, true, never>;
2136
2143
  }
2144
+ declare abstract class GdsListboxBaseDirective implements OnDestroy {
2145
+ #private;
2146
+ tabindex: import("@angular/core").WritableSignal<number>;
2147
+ protected readonly items: import("@angular/core").WritableSignal<FocusableOption[]>;
2148
+ protected _keyManager: FocusKeyManager<FocusableOption>;
2149
+ protected _activeId: import("@angular/core").WritableSignal<string | null>;
2150
+ ngOnDestroy(): void;
2151
+ onPointerDown(): void;
2152
+ onPointerUp(): void;
2153
+ onFocus(): void;
2154
+ onKeydown(event: KeyboardEvent): void;
2155
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxBaseDirective, never>;
2156
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxBaseDirective, never, never, {}, {}, never, never, true, never>;
2157
+ }
2158
+ declare abstract class GdsListboxOption implements FocusableOption {
2159
+ abstract focus: (origin?: FocusOrigin) => void;
2160
+ }
2161
+ export declare class GdsListboxDirective extends GdsListboxBaseDirective {
2162
+ #private;
2163
+ onNavigatePastLastOption: import("@angular/core").InputSignal<(() => Promise<void>) | undefined>;
2164
+ options: import("@angular/core").Signal<readonly GdsListboxOption[]>;
2165
+ onKeydown(event: KeyboardEvent): void;
2166
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxDirective, never>;
2167
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxDirective, "[gdsListbox]", never, {
2168
+ "onNavigatePastLastOption": {
2169
+ "alias": "onNavigatePastLastOption";
2170
+ "required": false;
2171
+ "isSignal": true;
2172
+ };
2173
+ }, {}, ["options"], never, true, never>;
2174
+ }
2175
+ export declare class GdsCompositeOptionPrimaryDirective implements FocusableOption {
2176
+ #private;
2177
+ tabindex: import("@angular/core").WritableSignal<number>;
2178
+ get element(): HTMLElement;
2179
+ focus: () => void;
2180
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsCompositeOptionPrimaryDirective, never>;
2181
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsCompositeOptionPrimaryDirective, "[gdsCompositeOptionPrimary]", never, {}, {}, never, never, true, never>;
2182
+ }
2183
+ export declare class GdsCompositeOptionSecondaryDirective extends GdsCompositeOptionPrimaryDirective {
2184
+ onArrowY: (event: Event) => void;
2185
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsCompositeOptionSecondaryDirective, never>;
2186
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsCompositeOptionSecondaryDirective, "[gdsCompositeOptionSecondary]", never, {}, {}, never, never, true, never>;
2187
+ }
2188
+ export declare class GdsListboxCompositeOptionDirective implements GdsListboxOption {
2189
+ primaryElement: import("@angular/core").Signal<GdsCompositeOptionPrimaryDirective | undefined>;
2190
+ secondaryElement: import("@angular/core").Signal<GdsCompositeOptionSecondaryDirective | undefined>;
2191
+ primaryElementOverride: import("@angular/core").ModelSignal<GdsCompositeOptionPrimaryDirective | undefined>;
2192
+ secondaryElementOverride: import("@angular/core").ModelSignal<GdsCompositeOptionSecondaryDirective | undefined>;
2193
+ primaryEle: import("@angular/core").Signal<GdsCompositeOptionPrimaryDirective>;
2194
+ secondaryEle: import("@angular/core").Signal<GdsCompositeOptionSecondaryDirective | undefined>;
2195
+ onMoveY: () => void;
2196
+ onMoveX: (event: Event) => void;
2197
+ focus: () => void;
2198
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxCompositeOptionDirective, never>;
2199
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxCompositeOptionDirective, "[gdsListboxCompositeOption]", never, {
2200
+ "primaryElementOverride": {
2201
+ "alias": "primaryElement";
2202
+ "required": false;
2203
+ "isSignal": true;
2204
+ };
2205
+ "secondaryElementOverride": {
2206
+ "alias": "secondaryElement";
2207
+ "required": false;
2208
+ "isSignal": true;
2209
+ };
2210
+ }, {
2211
+ "primaryElementOverride": "primaryElementChange";
2212
+ "secondaryElementOverride": "secondaryElementChange";
2213
+ }, ["primaryElement", "secondaryElement"], never, true, never>;
2214
+ }
2215
+ declare namespace listbox_option_directive_d_exports {
2216
+ export { GdsListboxOptionDirective };
2217
+ }
2218
+ export declare class GdsListboxOptionDirective implements GdsListboxOption {
2219
+ #private;
2220
+ tabindex: import("@angular/core").WritableSignal<number>;
2221
+ element: import("@angular/core").ModelSignal<HTMLElement>;
2222
+ focus(): void;
2223
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxOptionDirective, never>;
2224
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxOptionDirective, "[gdsListboxOption]", never, {
2225
+ "element": {
2226
+ "alias": "element";
2227
+ "required": false;
2228
+ "isSignal": true;
2229
+ };
2230
+ }, {
2231
+ "element": "elementChange";
2232
+ }, never, never, true, never>;
2233
+ }
2234
+ export declare class GdsVirtualScrollListboxDirective extends GdsListboxBaseDirective {
2235
+ #private;
2236
+ protected options: import("@angular/core").Signal<readonly GdsListboxOption[]>;
2237
+ total: import("@angular/core").InputSignal<number>;
2238
+ optionIndexAttribute: import("@angular/core").InputSignal<string>;
2239
+ scrollBehavior: import("@angular/core").InputSignal<ScrollBehavior>;
2240
+ currentFocusedIndex: import("@angular/core").OutputEmitterRef<number>;
2241
+ onFocus: () => void;
2242
+ onFocusIn: (event: FocusEvent) => void;
2243
+ onKeydown: (event: KeyboardEvent) => void;
2244
+ static ɵfac: i0.ɵɵFactoryDeclaration<GdsVirtualScrollListboxDirective, never>;
2245
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GdsVirtualScrollListboxDirective, "[gdsListboxVirtualScroll]", never, {
2246
+ "total": {
2247
+ "alias": "total";
2248
+ "required": true;
2249
+ "isSignal": true;
2250
+ };
2251
+ "optionIndexAttribute": {
2252
+ "alias": "optionIndexAttribute";
2253
+ "required": false;
2254
+ "isSignal": true;
2255
+ };
2256
+ "scrollBehavior": {
2257
+ "alias": "scrollBehavior";
2258
+ "required": false;
2259
+ "isSignal": true;
2260
+ };
2261
+ }, {
2262
+ "currentFocusedIndex": "currentFocusedIndex";
2263
+ }, ["options"], never, true, never>;
2264
+ }
2137
2265
  export declare class GdsSplitButtonComponent extends ButtonBaseDirective {
2138
2266
  #private;
2139
2267
  trailingDropdown: import("@angular/core").InputSignal<TemplateRef<unknown>>;
@@ -2141,9 +2269,13 @@ export declare class GdsSplitButtonComponent extends ButtonBaseDirective {
2141
2269
  leadingAriaLabel: import("@angular/core").InputSignal<string | undefined>;
2142
2270
  trailingAriaLabel: import("@angular/core").InputSignal<string | undefined>;
2143
2271
  menuPosition: import("@angular/core").InputSignal<ConnectedPosition[]>;
2272
+ compositeOption: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
2144
2273
  leadingBtn: import("@angular/core").Signal<GdsButtonComponent>;
2145
2274
  trailingBtn: import("@angular/core").Signal<GdsButtonComponent>;
2146
2275
  menuTrigger: import("@angular/core").Signal<CdkMenuTrigger>;
2276
+ primaryOption: import("@angular/core").Signal<GdsCompositeOptionPrimaryDirective | undefined>;
2277
+ secondaryOption: import("@angular/core").Signal<GdsCompositeOptionSecondaryDirective | undefined>;
2278
+ hostTabIndex: import("@angular/core").Signal<number | null>;
2147
2279
  onEnter(): void;
2148
2280
  onArrowDown(): void;
2149
2281
  onMenuClosed(): void;
@@ -2174,6 +2306,11 @@ export declare class GdsSplitButtonComponent extends ButtonBaseDirective {
2174
2306
  "required": false;
2175
2307
  "isSignal": true;
2176
2308
  };
2309
+ "compositeOption": {
2310
+ "alias": "compositeOption";
2311
+ "required": false;
2312
+ "isSignal": true;
2313
+ };
2177
2314
  }, {}, never, ["*"], true, never>;
2178
2315
  }
2179
2316
  export type GdsTimelineConnectorType = 'content' | 'tag';
@@ -2388,28 +2525,6 @@ export declare class GdsTooltipComponent extends OnBrandChanged {
2388
2525
  outputs: {};
2389
2526
  }]>;
2390
2527
  }
2391
- declare abstract class GdsListboxOption implements FocusableOption {
2392
- abstract focus: (origin?: FocusOrigin) => void;
2393
- }
2394
- declare namespace listbox_option_directive_d_exports {
2395
- export { GdsListboxOptionDirective };
2396
- }
2397
- export declare class GdsListboxOptionDirective implements GdsListboxOption {
2398
- #private;
2399
- tabindex: import("@angular/core").WritableSignal<number>;
2400
- element: import("@angular/core").ModelSignal<HTMLElement>;
2401
- focus(): void;
2402
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxOptionDirective, never>;
2403
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxOptionDirective, "[gdsListboxOption]", never, {
2404
- "element": {
2405
- "alias": "element";
2406
- "required": false;
2407
- "isSignal": true;
2408
- };
2409
- }, {
2410
- "element": "elementChange";
2411
- }, never, never, true, never>;
2412
- }
2413
2528
  export declare class GdsTreeViewListItemComponent {
2414
2529
  #private;
2415
2530
  private _clickTimer?;
@@ -3034,105 +3149,6 @@ export declare class GdsInputAutocompleteDirective<T> implements OnInit {
3034
3149
  };
3035
3150
  }]>;
3036
3151
  }
3037
- declare abstract class GdsListboxBaseDirective implements OnDestroy {
3038
- #private;
3039
- tabindex: import("@angular/core").WritableSignal<number>;
3040
- protected readonly items: import("@angular/core").WritableSignal<FocusableOption[]>;
3041
- protected _keyManager: FocusKeyManager<FocusableOption>;
3042
- protected _activeId: import("@angular/core").WritableSignal<string | null>;
3043
- ngOnDestroy(): void;
3044
- onPointerDown(): void;
3045
- onPointerUp(): void;
3046
- onFocus(): void;
3047
- onKeydown(event: KeyboardEvent): void;
3048
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxBaseDirective, never>;
3049
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxBaseDirective, never, never, {}, {}, never, never, true, never>;
3050
- }
3051
- export declare class GdsListboxDirective extends GdsListboxBaseDirective {
3052
- #private;
3053
- onNavigatePastLastOption: import("@angular/core").InputSignal<(() => Promise<void>) | undefined>;
3054
- options: import("@angular/core").Signal<readonly GdsListboxOption[]>;
3055
- onKeydown(event: KeyboardEvent): void;
3056
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxDirective, never>;
3057
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxDirective, "[gdsListbox]", never, {
3058
- "onNavigatePastLastOption": {
3059
- "alias": "onNavigatePastLastOption";
3060
- "required": false;
3061
- "isSignal": true;
3062
- };
3063
- }, {}, ["options"], never, true, never>;
3064
- }
3065
- export declare class GdsCompositeOptionPrimaryDirective implements FocusableOption {
3066
- #private;
3067
- tabindex: import("@angular/core").WritableSignal<number>;
3068
- get element(): HTMLElement;
3069
- focus: () => void;
3070
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsCompositeOptionPrimaryDirective, never>;
3071
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsCompositeOptionPrimaryDirective, "[gdsCompositeOptionPrimary]", never, {}, {}, never, never, true, never>;
3072
- }
3073
- export declare class GdsCompositeOptionSecondaryDirective extends GdsCompositeOptionPrimaryDirective {
3074
- onArrowY: (event: Event) => void;
3075
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsCompositeOptionSecondaryDirective, never>;
3076
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsCompositeOptionSecondaryDirective, "[gdsCompositeOptionSecondary]", never, {}, {}, never, never, true, never>;
3077
- }
3078
- export declare class GdsListboxCompositeOptionDirective implements GdsListboxOption {
3079
- primaryElement: import("@angular/core").Signal<GdsCompositeOptionPrimaryDirective | undefined>;
3080
- secondaryElement: import("@angular/core").Signal<GdsCompositeOptionSecondaryDirective | undefined>;
3081
- primaryElementOverride: import("@angular/core").ModelSignal<GdsCompositeOptionPrimaryDirective | undefined>;
3082
- secondaryElementOverride: import("@angular/core").ModelSignal<GdsCompositeOptionSecondaryDirective | undefined>;
3083
- primaryEle: import("@angular/core").Signal<GdsCompositeOptionPrimaryDirective>;
3084
- secondaryEle: import("@angular/core").Signal<GdsCompositeOptionSecondaryDirective | undefined>;
3085
- onMoveY: () => void;
3086
- onMoveX: (event: Event) => void;
3087
- focus: () => void;
3088
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsListboxCompositeOptionDirective, never>;
3089
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsListboxCompositeOptionDirective, "[gdsListboxCompositeOption]", never, {
3090
- "primaryElementOverride": {
3091
- "alias": "primaryElement";
3092
- "required": false;
3093
- "isSignal": true;
3094
- };
3095
- "secondaryElementOverride": {
3096
- "alias": "secondaryElement";
3097
- "required": false;
3098
- "isSignal": true;
3099
- };
3100
- }, {
3101
- "primaryElementOverride": "primaryElementChange";
3102
- "secondaryElementOverride": "secondaryElementChange";
3103
- }, ["primaryElement", "secondaryElement"], never, true, never>;
3104
- }
3105
- export declare class GdsVirtualScrollListboxDirective extends GdsListboxBaseDirective {
3106
- #private;
3107
- protected options: import("@angular/core").Signal<readonly GdsListboxOption[]>;
3108
- total: import("@angular/core").InputSignal<number>;
3109
- optionIndexAttribute: import("@angular/core").InputSignal<string>;
3110
- scrollBehavior: import("@angular/core").InputSignal<ScrollBehavior>;
3111
- currentFocusedIndex: import("@angular/core").OutputEmitterRef<number>;
3112
- onFocus: () => void;
3113
- onFocusIn: (event: FocusEvent) => void;
3114
- onKeydown: (event: KeyboardEvent) => void;
3115
- static ɵfac: i0.ɵɵFactoryDeclaration<GdsVirtualScrollListboxDirective, never>;
3116
- static ɵdir: i0.ɵɵDirectiveDeclaration<GdsVirtualScrollListboxDirective, "[gdsListboxVirtualScroll]", never, {
3117
- "total": {
3118
- "alias": "total";
3119
- "required": true;
3120
- "isSignal": true;
3121
- };
3122
- "optionIndexAttribute": {
3123
- "alias": "optionIndexAttribute";
3124
- "required": false;
3125
- "isSignal": true;
3126
- };
3127
- "scrollBehavior": {
3128
- "alias": "scrollBehavior";
3129
- "required": false;
3130
- "isSignal": true;
3131
- };
3132
- }, {
3133
- "currentFocusedIndex": "currentFocusedIndex";
3134
- }, ["options"], never, true, never>;
3135
- }
3136
3152
  export declare class GdsModule {
3137
3153
  static forRoot({ brand, env }: {
3138
3154
  brand?: GdsBrand;