@tectra-ng/ui 0.2.0 → 0.2.2

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.
@@ -6,6 +6,13 @@ import { TectraDeepPartial } from "@tectra-ng/themes";
6
6
  export type TxTagSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warn' | 'danger' | 'help' | 'contrast';
7
7
  export type TxTagSize = 'small' | 'medium' | 'normal' | 'large';
8
8
  export type TxTagPart = 'root' | 'icon' | 'label' | 'copy' | 'remove';
9
+ export type TxTagListPart = 'root' | 'tag' | 'more' | 'popover';
10
+ export interface TxTagListItem {
11
+ readonly value: string;
12
+ readonly severity?: TxTagSeverity;
13
+ readonly icon?: string;
14
+ readonly tooltip?: string;
15
+ }
9
16
  export declare class TxTag {
10
17
  private txIconRegistry;
11
18
  private document;
@@ -76,6 +83,14 @@ export declare class TxTag {
76
83
  color: string;
77
84
  background: string;
78
85
  };
86
+ list: {
87
+ gap: string;
88
+ popoverGap: string;
89
+ popoverPadding: string;
90
+ popoverMaxWidth: string;
91
+ popoverMaxHeight: string;
92
+ emptyColor: string;
93
+ };
79
94
  }> | undefined>;
80
95
  readonly pt: import("@angular/core").InputSignal<Partial<Record<TxTagPart, import("@tectra-ng/core/config").TxPassThroughValue<TxTag>>> | undefined>;
81
96
  readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
@@ -162,4 +177,157 @@ export declare class TxTag {
162
177
  "removed": "removed";
163
178
  }, never, ["*"], true, never>;
164
179
  }
180
+ export declare class TxTagList {
181
+ readonly tags: import("@angular/core").InputSignal<readonly TxTagListItem[] | null | undefined>;
182
+ readonly limit: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
183
+ readonly severity: import("@angular/core").InputSignal<TxTagSeverity>;
184
+ readonly size: import("@angular/core").InputSignal<TxTagSize>;
185
+ readonly rounded: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
186
+ readonly emptyText: import("@angular/core").InputSignal<string>;
187
+ readonly moreLabel: import("@angular/core").InputSignal<string | undefined>;
188
+ readonly ariaLabel: import("@angular/core").InputSignal<string | undefined>;
189
+ readonly dt: import("@angular/core").InputSignal<TectraDeepPartial<{
190
+ root: {
191
+ gap: string;
192
+ paddingX: string;
193
+ paddingY: string;
194
+ borderRadius: string;
195
+ roundedBorderRadius: string;
196
+ fontSize: string;
197
+ fontWeight: string;
198
+ lineHeight: string;
199
+ tint: string;
200
+ iconSize: string;
201
+ actionSize: string;
202
+ focusRingColor: string;
203
+ };
204
+ sm: {
205
+ fontSize: string;
206
+ paddingX: string;
207
+ paddingY: string;
208
+ };
209
+ lg: {
210
+ fontSize: string;
211
+ paddingX: string;
212
+ paddingY: string;
213
+ gap: string;
214
+ };
215
+ primary: {
216
+ color: string;
217
+ background: string;
218
+ };
219
+ secondary: {
220
+ color: string;
221
+ background: string;
222
+ };
223
+ success: {
224
+ color: string;
225
+ background: string;
226
+ };
227
+ info: {
228
+ color: string;
229
+ background: string;
230
+ };
231
+ warn: {
232
+ color: string;
233
+ background: string;
234
+ };
235
+ danger: {
236
+ color: string;
237
+ background: string;
238
+ };
239
+ help: {
240
+ color: string;
241
+ background: string;
242
+ };
243
+ contrast: {
244
+ color: string;
245
+ background: string;
246
+ };
247
+ list: {
248
+ gap: string;
249
+ popoverGap: string;
250
+ popoverPadding: string;
251
+ popoverMaxWidth: string;
252
+ popoverMaxHeight: string;
253
+ emptyColor: string;
254
+ };
255
+ }> | undefined>;
256
+ readonly pt: import("@angular/core").InputSignal<Partial<Record<TxTagListPart, import("@tectra-ng/core/config").TxPassThroughValue<TxTagList>>> | undefined>;
257
+ readonly ptOptions: import("@angular/core").InputSignal<TxPassThroughOptions | undefined>;
258
+ readonly unstyled: import("@angular/core").InputSignalWithTransform<boolean | undefined, unknown>;
259
+ readonly isUnstyled: import("@angular/core").Signal<boolean>;
260
+ readonly passThrough: import("@angular/core").Signal<Partial<Record<TxTagListPart, import("@tectra-ng/core/config").TxPassThroughPart>>>;
261
+ protected readonly t: import("@angular/core").Signal<import("@tectra-ng/core/config").TxTranslations>;
262
+ protected readonly all: import("@angular/core").Signal<readonly TxTagListItem[]>;
263
+ protected readonly visible: import("@angular/core").Signal<readonly TxTagListItem[]>;
264
+ protected readonly hidden: import("@angular/core").Signal<TxTagListItem[]>;
265
+ protected readonly moreText: import("@angular/core").Signal<string>;
266
+ readonly hostStyle: import("@angular/core").Signal<{
267
+ [x: string]: string;
268
+ }>;
269
+ static ɵfac: i0.ɵɵFactoryDeclaration<TxTagList, never>;
270
+ static ɵcmp: i0.ɵɵComponentDeclaration<TxTagList, "tx-tag-list", never, {
271
+ "tags": {
272
+ "alias": "tags";
273
+ "required": false;
274
+ "isSignal": true;
275
+ };
276
+ "limit": {
277
+ "alias": "limit";
278
+ "required": false;
279
+ "isSignal": true;
280
+ };
281
+ "severity": {
282
+ "alias": "severity";
283
+ "required": false;
284
+ "isSignal": true;
285
+ };
286
+ "size": {
287
+ "alias": "size";
288
+ "required": false;
289
+ "isSignal": true;
290
+ };
291
+ "rounded": {
292
+ "alias": "rounded";
293
+ "required": false;
294
+ "isSignal": true;
295
+ };
296
+ "emptyText": {
297
+ "alias": "emptyText";
298
+ "required": false;
299
+ "isSignal": true;
300
+ };
301
+ "moreLabel": {
302
+ "alias": "moreLabel";
303
+ "required": false;
304
+ "isSignal": true;
305
+ };
306
+ "ariaLabel": {
307
+ "alias": "ariaLabel";
308
+ "required": false;
309
+ "isSignal": true;
310
+ };
311
+ "dt": {
312
+ "alias": "dt";
313
+ "required": false;
314
+ "isSignal": true;
315
+ };
316
+ "pt": {
317
+ "alias": "pt";
318
+ "required": false;
319
+ "isSignal": true;
320
+ };
321
+ "ptOptions": {
322
+ "alias": "ptOptions";
323
+ "required": false;
324
+ "isSignal": true;
325
+ };
326
+ "unstyled": {
327
+ "alias": "unstyled";
328
+ "required": false;
329
+ "isSignal": true;
330
+ };
331
+ }, {}, never, never, true, never>;
332
+ }
165
333
  //# sourceMappingURL=tectra-ng-ui-tag.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tectra-ng-ui-tag.d.ts","names":[],"sources":["../../../../packages/ui/tag/src/tag.types.ts","../../../../packages/ui/tag/src/tag.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;qBCgEC;UACH;UACA;UACA;WAEC,+BAAK;WACL,kCAAQ,YAAA;WACR,8BAAI,YAAA;WACJ,iCAAO;WACP,8BAAI,YAAA;WACJ,kCAAQ;WACR,mCAAS;WACT,qCAAW;WACX,4BAAE,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WACF,4BAAE,YAAA,QAAA,OAAA,4CAAA,mBAAA;WACF,mCAAS,YAAA;WACT,kCAAQ;WAER,gCAAM;WACN,iCAAO,iBAAA;WAEP,+BAAK,OAAA,WAAA;WAEL,sCAAY,wCAAA;WACZ,oCAAU;WACV,qCAAW,OAAA,QAAA,OAAA,4CAAA;WACX,kCAAQ;WACR,sCAAY,OAAA;WACZ,kCAAQ,OAAA;WAIR,mCAAS;;;;EAMlB;EAWA,OAAO,OAAO;SAjDH,MAAA,GAAA,qBAAA;SAAA,MAAA,GAAA,uBAAA;IAAK;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;IAAA;MAAA;MAAA;MAAA;;;IAAA;IAAA"}
1
+ {"version":3,"file":"tectra-ng-ui-tag.d.ts","names":[],"sources":["../../../../packages/ui/tag/src/tag.types.ts","../../../../packages/ui/tag/src/tag.component.ts","../../../../packages/ui/tag/src/tag-list.component.ts"],"mappings":";;;;;YAAY;YACA;YACA;YAC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