@tedi-design-system/angular 6.5.0-rc.6 → 6.5.0-rc.7
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/fesm2022/tedi-design-system-angular-tedi.mjs +323 -251
- package/fesm2022/tedi-design-system-angular-tedi.mjs.map +1 -1
- package/package.json +1 -1
- package/tedi/components/helpers/ellipsis/ellipsis.component.d.ts +21 -0
- package/tedi/components/helpers/ellipsis/ellipsis.component.d.ts.map +1 -0
- package/tedi/components/helpers/ellipsis/index.d.ts +3 -0
- package/tedi/components/helpers/ellipsis/index.d.ts.map +1 -0
- package/tedi/components/helpers/index.d.ts +1 -0
- package/tedi/components/helpers/index.d.ts.map +1 -1
- package/tedi/components/helpers/scroll-fade/scroll-fade.component.d.ts.map +1 -1
- package/tedi/components/tags/tag/tag.component.d.ts +14 -1
- package/tedi/components/tags/tag/tag.component.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type EllipsisPosition = "start" | "end";
|
|
4
|
+
export declare class EllipsisComponent {
|
|
5
|
+
/** Maximum number of lines before truncating. End (multi-line) only. */
|
|
6
|
+
readonly lineClamp: import("@angular/core").InputSignal<number>;
|
|
7
|
+
/** Whether truncated content shows a hover/focus tooltip with full text. */
|
|
8
|
+
readonly tooltip: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
/** Ellipsis position. 'start' = leading, single-line. 'end' = trailing, multi-line. */
|
|
10
|
+
readonly position: import("@angular/core").InputSignal<EllipsisPosition>;
|
|
11
|
+
readonly content: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
12
|
+
readonly isEllipsed: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
readonly fullText: import("@angular/core").WritableSignal<string>;
|
|
14
|
+
constructor();
|
|
15
|
+
readonly contentClasses: import("@angular/core").Signal<string>;
|
|
16
|
+
readonly clampStyle: import("@angular/core").Signal<string | null>;
|
|
17
|
+
private updateEllipsedState;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EllipsisComponent, "tedi-ellipsis", never, { "lineClamp": { "alias": "lineClamp"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=ellipsis.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ellipsis.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/helpers/ellipsis/ellipsis.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EAOX,MAAM,eAAe,CAAC;;AAIvB,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,KAAK,CAAC;AAE/C,qBAYa,iBAAiB;IAC5B,wEAAwE;IACxE,QAAQ,CAAC,SAAS,8CAAoB;IAEtC,4EAA4E;IAC5E,QAAQ,CAAC,OAAO,+CAAwB;IAExC,uFAAuF;IACvF,QAAQ,CAAC,QAAQ,wDAAkC;IAEnD,QAAQ,CAAC,OAAO,sEAAiD;IAEjE,QAAQ,CAAC,UAAU,kDAAiB;IACpC,QAAQ,CAAC,QAAQ,iDAAc;;IAgB/B,QAAQ,CAAC,cAAc,yCAMpB;IAEH,QAAQ,CAAC,UAAU,gDAGhB;IAEH,OAAO,CAAC,mBAAmB;yCA1ChB,iBAAiB;2CAAjB,iBAAiB;CAmD7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/helpers/ellipsis/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../tedi/components/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,iCAAiC,CAAC;AAChD,cAAc,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-fade.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/helpers/scroll-fade/scroll-fade.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAIb,SAAS,EAOV,MAAM,eAAe,CAAC;;AAGvB,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC;AACzC,MAAM,MAAM,kBAAkB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAC3D,MAAM,MAAM,mBAAmB,GAAG,SAAS,GAAG,QAAQ,CAAC;AAEvD,qBAYa,mBAAoB,YAAW,aAAa,EAAE,SAAS;IAClE,gDAAgD;IAChD,QAAQ,CAAC,QAAQ,sDAA6B;IAE9C,iCAAiC;IACjC,QAAQ,CAAC,YAAY,0DAAqC;IAE1D,uBAAuB;IACvB,QAAQ,CAAC,SAAS,2DAAwC;IAE1D,wCAAwC;IACxC,QAAQ,CAAC,aAAa,iDAAkB;IAExC,2CAA2C;IAC3C,QAAQ,CAAC,gBAAgB,iDAAkB;IAE3C,OAAO,CAAC,QAAQ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,8 @@
|
|
|
1
|
+
import { EllipsisPosition } from "../../helpers/ellipsis";
|
|
1
2
|
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export type TagType = "primary" | "secondary" | "danger";
|
|
5
|
+
export type TagEllipsis = "start" | "end" | false;
|
|
4
6
|
export declare class TagComponent {
|
|
5
7
|
readonly idGenerator: _IdGenerator;
|
|
6
8
|
readonly uniqueId: string;
|
|
@@ -22,13 +24,24 @@ export declare class TagComponent {
|
|
|
22
24
|
* @default "primary"
|
|
23
25
|
*/
|
|
24
26
|
type: import("@angular/core").InputSignal<TagType>;
|
|
27
|
+
/**
|
|
28
|
+
* Which end the label truncates from when it doesn't fit. `false` (default)
|
|
29
|
+
* never truncates — the label wraps and the tag keeps its full width. `end`
|
|
30
|
+
* shows an ellipsis at the end (`Long label…`); `start` shows it at the start
|
|
31
|
+
* (`…label`), which keeps the most significant part of values like dates
|
|
32
|
+
* visible. Truncation only kicks in when the tag is width-constrained, and the
|
|
33
|
+
* full label is revealed in a tooltip on hover/focus.
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
ellipsis: import("@angular/core").InputSignal<TagEllipsis>;
|
|
25
37
|
/**
|
|
26
38
|
* Event emitted when the close button is clicked.
|
|
27
39
|
*/
|
|
28
40
|
closed: import("@angular/core").OutputEmitterRef<Event>;
|
|
29
41
|
classes: import("@angular/core").Signal<string>;
|
|
42
|
+
ellipsisPosition: import("@angular/core").Signal<EllipsisPosition>;
|
|
30
43
|
handleClose(event: Event): void;
|
|
31
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "tedi-tag", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagComponent, "tedi-tag", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "ellipsis": { "alias": "ellipsis"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
|
|
33
46
|
}
|
|
34
47
|
//# sourceMappingURL=tag.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tag.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/tags/tag/tag.component.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;;AAEjD,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"tag.component.d.ts","sourceRoot":"","sources":["../../../../../tedi/components/tags/tag/tag.component.ts"],"names":[],"mappings":"AAaA,OAAO,EAAqB,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE7E,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;;AAEjD,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;AACzD,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,CAAC;AAElD,qBAsBa,YAAY;IACvB,QAAQ,CAAC,WAAW,eAAwB;IAC5C,QAAQ,CAAC,QAAQ,SAAsC;IACvD;;;;OAIG;IACH,OAAO,+CAAgB;IAEvB;;;;OAIG;IACH,QAAQ,+CAAgB;IAExB;;;;OAIG;IACH,IAAI,+CAA6B;IAEjC;;;;;;;;OAQG;IACH,QAAQ,mDAA6B;IAErC;;OAEG;IACH,MAAM,kDAAmB;IAEzB,OAAO,yCAMJ;IAEH,gBAAgB,mDAEd;IAEF,WAAW,CAAC,KAAK,EAAE,KAAK;yCApDb,YAAY;2CAAZ,YAAY;CAuDxB"}
|