@taiga-ui/core 5.18.0 → 5.19.0
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/components/calendar/calendar.component.d.ts +1 -1
- package/components/error/error.d.ts +2 -2
- package/components/error/error.directive.d.ts +26 -7
- package/components/input/input.directive.d.ts +18 -0
- package/components/textfield/textfield.component.d.ts +12 -2
- package/fesm2022/taiga-ui-core-components-button.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-calendar.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-cell.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-checkbox.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-data-list.mjs +4 -4
- package/fesm2022/taiga-ui-core-components-error.mjs +98 -28
- package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-icon.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-input.mjs +37 -6
- package/fesm2022/taiga-ui-core-components-input.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-label.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-link.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-notification.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-radio.mjs +2 -2
- package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs +3 -1
- package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-textfield.mjs +15 -5
- package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-components-title.mjs +3 -3
- package/fesm2022/taiga-ui-core-components-title.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-directives-appearance.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-group.mjs +3 -3
- package/fesm2022/taiga-ui-core-directives-icons.mjs +3 -3
- package/fesm2022/taiga-ui-core-portals-alert.mjs +3 -3
- package/fesm2022/taiga-ui-core-portals-dialog.mjs +2 -2
- package/fesm2022/taiga-ui-core-portals-dropdown.mjs +2 -2
- package/fesm2022/taiga-ui-core-portals-hint.mjs +16 -5
- package/fesm2022/taiga-ui-core-portals-hint.mjs.map +1 -1
- package/fesm2022/taiga-ui-core-portals-modal.mjs +3 -3
- package/package.json +36 -36
- package/portals/hint/hint-hover.directive.d.ts +5 -0
- package/portals/hint/hint.component.d.ts +1 -1
|
@@ -27,12 +27,12 @@ class TuiModalComponent {
|
|
|
27
27
|
this.current.tuiActiveZoneParentSetter = null;
|
|
28
28
|
}
|
|
29
29
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TuiModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
30
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: TuiModalComponent, isStandalone: true, selector: "tui-modal", host: { attributes: { "aria-modal": "true", "data-tui-version": "5.
|
|
30
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.25", type: TuiModalComponent, isStandalone: true, selector: "tui-modal", host: { attributes: { "aria-modal": "true", "data-tui-version": "5.19.0", "role": "dialog" }, listeners: { "animationend.self": "$event.target.classList.remove(\"tui-enter\")" }, properties: { "attr.aria-labelledby": "context.id" }, classAttribute: "tui-enter" }, hostDirectives: [{ directive: i1.TuiActiveZone }, { directive: i2.TuiFocusTrap }], ngImport: i0, template: `
|
|
31
31
|
<div tuiScrollRef>
|
|
32
32
|
<ng-container *polymorpheusOutlet="component(); context: context" />
|
|
33
33
|
<tui-scroll-controls class="t-scrollbars" />
|
|
34
34
|
</div>
|
|
35
|
-
`, isInline: true, styles: ["@keyframes tuiModalBackdrop{0%{-webkit-backdrop-filter:none;backdrop-filter:none}to{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}}@keyframes tuiDummy{to{color:currentColor}}tui-modal:where(*[data-tui-version=\"5.
|
|
35
|
+
`, isInline: true, styles: ["@keyframes tuiModalBackdrop{0%{-webkit-backdrop-filter:none;backdrop-filter:none}to{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}}@keyframes tuiDummy{to{color:currentColor}}tui-modal:where(*[data-tui-version=\"5.19.0\"]){scrollbar-width:none;-ms-overflow-style:none;position:fixed;inset:0;outline:none;overflow:auto;overscroll-behavior:none;transform:translateY(var(--t-root-top))}tui-modal:where(*[data-tui-version=\"5.19.0\"])::-webkit-scrollbar,tui-modal:where(*[data-tui-version=\"5.19.0\"])::-webkit-scrollbar-thumb{display:none}tui-modal:where(*[data-tui-version=\"5.19.0\"]):not(:last-of-type){interactivity:inert}tui-modal:where(*[data-tui-version=\"5.19.0\"]).tui-enter,tui-modal:where(*[data-tui-version=\"5.19.0\"]).tui-leave{animation-name:tuiDummy}@supports not (selector(:has(*))) or not (selector(:nth-child(1 of *))){tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type:not(.tui-leave):before{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-enter,tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-leave{animation-name:tuiDummy}tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-enter:before,tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-leave:before{animation-name:tuiModalBackdrop}}@supports (selector(:has(*))){tui-modal:where(*[data-tui-version=\"5.19.0\"]):nth-last-child(1 of tui-modal:not(.tui-leave):not(:has(.tui-backdrop-hidden))):before{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}tui-modal:where(*[data-tui-version=\"5.19.0\"]):nth-last-child(1 of tui-modal:not(:has(.tui-backdrop-hidden))):is(.tui-enter,.tui-leave){animation-name:tuiDummy}tui-modal:where(*[data-tui-version=\"5.19.0\"]):nth-last-child(1 of tui-modal:not(:has(.tui-backdrop-hidden))):is(.tui-enter,.tui-leave):before{animation-name:tuiModalBackdrop}}tui-modal:where(*[data-tui-version=\"5.19.0\"]):before{transition-property:backdrop-filter;transition-duration:var(--tui-duration, .3s);transition-timing-function:var(--tui-curve-productive-standard);content:\"\";position:sticky;inset:0;display:block;block-size:200%;transition-timing-function:linear;animation-duration:var(--tui-duration);animation-timing-function:cubic-bezier(.14,.52,.35,.84);perspective:10rem}tui-modal:where(*[data-tui-version=\"5.19.0\"]).tui-leave:before{animation-direction:reverse}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]{scrollbar-width:none;-ms-overflow-style:none;position:sticky;inset:0;display:grid;place-items:center;block-size:100%;overflow:auto;overscroll-behavior:none}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]::-webkit-scrollbar,tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]::-webkit-scrollbar-thumb{display:none}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.t-scrollbars{position:fixed;inset:0;margin:0;color:#747474}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.t-scrollbars .t-bar_horizontal,tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.t-scrollbars .t-bar_vertical .t-thumb[style*=\"height: 100%\"]{display:none}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.tui-enter+.t-scrollbars .t-bar_vertical,tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.tui-leave+.t-scrollbars .t-bar_vertical{display:none}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: TuiScrollControls, selector: "tui-scroll-controls" }, { kind: "directive", type: TuiScrollRef, selector: "[tuiScrollRef]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
36
36
|
}
|
|
37
37
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImport: i0, type: TuiModalComponent, decorators: [{
|
|
38
38
|
type: Component,
|
|
@@ -48,7 +48,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.25", ngImpo
|
|
|
48
48
|
class: 'tui-enter',
|
|
49
49
|
'[attr.aria-labelledby]': 'context.id',
|
|
50
50
|
'(animationend.self)': '$event.target.classList.remove("tui-enter")',
|
|
51
|
-
}, styles: ["@keyframes tuiModalBackdrop{0%{-webkit-backdrop-filter:none;backdrop-filter:none}to{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}}@keyframes tuiDummy{to{color:currentColor}}tui-modal:where(*[data-tui-version=\"5.
|
|
51
|
+
}, styles: ["@keyframes tuiModalBackdrop{0%{-webkit-backdrop-filter:none;backdrop-filter:none}to{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}}@keyframes tuiDummy{to{color:currentColor}}tui-modal:where(*[data-tui-version=\"5.19.0\"]){scrollbar-width:none;-ms-overflow-style:none;position:fixed;inset:0;outline:none;overflow:auto;overscroll-behavior:none;transform:translateY(var(--t-root-top))}tui-modal:where(*[data-tui-version=\"5.19.0\"])::-webkit-scrollbar,tui-modal:where(*[data-tui-version=\"5.19.0\"])::-webkit-scrollbar-thumb{display:none}tui-modal:where(*[data-tui-version=\"5.19.0\"]):not(:last-of-type){interactivity:inert}tui-modal:where(*[data-tui-version=\"5.19.0\"]).tui-enter,tui-modal:where(*[data-tui-version=\"5.19.0\"]).tui-leave{animation-name:tuiDummy}@supports not (selector(:has(*))) or not (selector(:nth-child(1 of *))){tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type:not(.tui-leave):before{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-enter,tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-leave{animation-name:tuiDummy}tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-enter:before,tui-modal:where(*[data-tui-version=\"5.19.0\"]):last-of-type.tui-leave:before{animation-name:tuiModalBackdrop}}@supports (selector(:has(*))){tui-modal:where(*[data-tui-version=\"5.19.0\"]):nth-last-child(1 of tui-modal:not(.tui-leave):not(:has(.tui-backdrop-hidden))):before{-webkit-backdrop-filter:brightness(.25);backdrop-filter:brightness(.25)}tui-modal:where(*[data-tui-version=\"5.19.0\"]):nth-last-child(1 of tui-modal:not(:has(.tui-backdrop-hidden))):is(.tui-enter,.tui-leave){animation-name:tuiDummy}tui-modal:where(*[data-tui-version=\"5.19.0\"]):nth-last-child(1 of tui-modal:not(:has(.tui-backdrop-hidden))):is(.tui-enter,.tui-leave):before{animation-name:tuiModalBackdrop}}tui-modal:where(*[data-tui-version=\"5.19.0\"]):before{transition-property:backdrop-filter;transition-duration:var(--tui-duration, .3s);transition-timing-function:var(--tui-curve-productive-standard);content:\"\";position:sticky;inset:0;display:block;block-size:200%;transition-timing-function:linear;animation-duration:var(--tui-duration);animation-timing-function:cubic-bezier(.14,.52,.35,.84);perspective:10rem}tui-modal:where(*[data-tui-version=\"5.19.0\"]).tui-leave:before{animation-direction:reverse}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]{scrollbar-width:none;-ms-overflow-style:none;position:sticky;inset:0;display:grid;place-items:center;block-size:100%;overflow:auto;overscroll-behavior:none}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]::-webkit-scrollbar,tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]::-webkit-scrollbar-thumb{display:none}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.t-scrollbars{position:fixed;inset:0;margin:0;color:#747474}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.t-scrollbars .t-bar_horizontal,tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.t-scrollbars .t-bar_vertical .t-thumb[style*=\"height: 100%\"]{display:none}tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.tui-enter+.t-scrollbars .t-bar_vertical,tui-modal:where(*[data-tui-version=\"5.19.0\"])>[tuiScrollRef]>.tui-leave+.t-scrollbars .t-bar_vertical{display:none}\n"] }]
|
|
52
52
|
}] });
|
|
53
53
|
function findActive(zone, el) {
|
|
54
54
|
if (!el || !zone.contains(el)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.19.0",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"@ng-web-apis/intersection-observer": "^5.3.0",
|
|
42
42
|
"@ng-web-apis/mutation-observer": "^5.3.0",
|
|
43
43
|
"@ng-web-apis/platform": "^5.3.0",
|
|
44
|
-
"@taiga-ui/cdk": "5.
|
|
44
|
+
"@taiga-ui/cdk": "5.19.0",
|
|
45
45
|
"@taiga-ui/event-plugins": "^5.0.0",
|
|
46
|
-
"@taiga-ui/i18n": "5.
|
|
46
|
+
"@taiga-ui/i18n": "5.19.0",
|
|
47
47
|
"@taiga-ui/polymorpheus": "^5.0.1",
|
|
48
|
-
"@taiga-ui/styles": "5.
|
|
48
|
+
"@taiga-ui/styles": "5.19.0",
|
|
49
49
|
"rxjs": ">=7.0.0"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
@@ -67,6 +67,10 @@
|
|
|
67
67
|
"types": "./components/index.d.ts",
|
|
68
68
|
"default": "./fesm2022/taiga-ui-core-components.mjs"
|
|
69
69
|
},
|
|
70
|
+
"./directives": {
|
|
71
|
+
"types": "./directives/index.d.ts",
|
|
72
|
+
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
73
|
+
},
|
|
70
74
|
"./pipes": {
|
|
71
75
|
"types": "./pipes/index.d.ts",
|
|
72
76
|
"default": "./fesm2022/taiga-ui-core-pipes.mjs"
|
|
@@ -75,10 +79,6 @@
|
|
|
75
79
|
"types": "./portals/index.d.ts",
|
|
76
80
|
"default": "./fesm2022/taiga-ui-core-portals.mjs"
|
|
77
81
|
},
|
|
78
|
-
"./directives": {
|
|
79
|
-
"types": "./directives/index.d.ts",
|
|
80
|
-
"default": "./fesm2022/taiga-ui-core-directives.mjs"
|
|
81
|
-
},
|
|
82
82
|
"./services": {
|
|
83
83
|
"types": "./services/index.d.ts",
|
|
84
84
|
"default": "./fesm2022/taiga-ui-core-services.mjs"
|
|
@@ -179,6 +179,34 @@
|
|
|
179
179
|
"types": "./components/title/index.d.ts",
|
|
180
180
|
"default": "./fesm2022/taiga-ui-core-components-title.mjs"
|
|
181
181
|
},
|
|
182
|
+
"./directives/appearance": {
|
|
183
|
+
"types": "./directives/appearance/index.d.ts",
|
|
184
|
+
"default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
|
|
185
|
+
},
|
|
186
|
+
"./directives/button-x": {
|
|
187
|
+
"types": "./directives/button-x/index.d.ts",
|
|
188
|
+
"default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
|
|
189
|
+
},
|
|
190
|
+
"./directives/date-format": {
|
|
191
|
+
"types": "./directives/date-format/index.d.ts",
|
|
192
|
+
"default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
|
|
193
|
+
},
|
|
194
|
+
"./directives/group": {
|
|
195
|
+
"types": "./directives/group/index.d.ts",
|
|
196
|
+
"default": "./fesm2022/taiga-ui-core-directives-group.mjs"
|
|
197
|
+
},
|
|
198
|
+
"./directives/icons": {
|
|
199
|
+
"types": "./directives/icons/index.d.ts",
|
|
200
|
+
"default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
|
|
201
|
+
},
|
|
202
|
+
"./directives/items-handlers": {
|
|
203
|
+
"types": "./directives/items-handlers/index.d.ts",
|
|
204
|
+
"default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
|
|
205
|
+
},
|
|
206
|
+
"./directives/number-format": {
|
|
207
|
+
"types": "./directives/number-format/index.d.ts",
|
|
208
|
+
"default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
|
|
209
|
+
},
|
|
182
210
|
"./pipes/filter-by-input": {
|
|
183
211
|
"types": "./pipes/filter-by-input/index.d.ts",
|
|
184
212
|
"default": "./fesm2022/taiga-ui-core-pipes-filter-by-input.mjs"
|
|
@@ -215,34 +243,6 @@
|
|
|
215
243
|
"types": "./portals/popup/index.d.ts",
|
|
216
244
|
"default": "./fesm2022/taiga-ui-core-portals-popup.mjs"
|
|
217
245
|
},
|
|
218
|
-
"./directives/appearance": {
|
|
219
|
-
"types": "./directives/appearance/index.d.ts",
|
|
220
|
-
"default": "./fesm2022/taiga-ui-core-directives-appearance.mjs"
|
|
221
|
-
},
|
|
222
|
-
"./directives/button-x": {
|
|
223
|
-
"types": "./directives/button-x/index.d.ts",
|
|
224
|
-
"default": "./fesm2022/taiga-ui-core-directives-button-x.mjs"
|
|
225
|
-
},
|
|
226
|
-
"./directives/date-format": {
|
|
227
|
-
"types": "./directives/date-format/index.d.ts",
|
|
228
|
-
"default": "./fesm2022/taiga-ui-core-directives-date-format.mjs"
|
|
229
|
-
},
|
|
230
|
-
"./directives/group": {
|
|
231
|
-
"types": "./directives/group/index.d.ts",
|
|
232
|
-
"default": "./fesm2022/taiga-ui-core-directives-group.mjs"
|
|
233
|
-
},
|
|
234
|
-
"./directives/icons": {
|
|
235
|
-
"types": "./directives/icons/index.d.ts",
|
|
236
|
-
"default": "./fesm2022/taiga-ui-core-directives-icons.mjs"
|
|
237
|
-
},
|
|
238
|
-
"./directives/items-handlers": {
|
|
239
|
-
"types": "./directives/items-handlers/index.d.ts",
|
|
240
|
-
"default": "./fesm2022/taiga-ui-core-directives-items-handlers.mjs"
|
|
241
|
-
},
|
|
242
|
-
"./directives/number-format": {
|
|
243
|
-
"types": "./directives/number-format/index.d.ts",
|
|
244
|
-
"default": "./fesm2022/taiga-ui-core-directives-number-format.mjs"
|
|
245
|
-
},
|
|
246
246
|
"./utils/dom": {
|
|
247
247
|
"types": "./utils/dom/index.d.ts",
|
|
248
248
|
"default": "./fesm2022/taiga-ui-core-utils-dom.mjs"
|
|
@@ -16,6 +16,11 @@ export declare class TuiHintHover extends TuiDriver {
|
|
|
16
16
|
constructor();
|
|
17
17
|
toggle(visible?: boolean): void;
|
|
18
18
|
close(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Synthesized `mouseenter` is not fired again until another element is tapped, so showing on mobile
|
|
21
|
+
* cannot rely on it.
|
|
22
|
+
*/
|
|
23
|
+
protected onClick(): void;
|
|
19
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintHover, never>;
|
|
20
25
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiHintHover, never, ["tuiHintHover"], { "showDelay": { "alias": "tuiHintShowDelay"; "required": false; "isSignal": true; }; "hideDelay": { "alias": "tuiHintHideDelay"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
26
|
}
|
|
@@ -20,7 +20,7 @@ export declare class TuiHintComponent {
|
|
|
20
20
|
protected readonly theme: string | null | undefined;
|
|
21
21
|
protected readonly appearance: import("@angular/core").Signal<string>;
|
|
22
22
|
constructor();
|
|
23
|
-
protected
|
|
23
|
+
protected onPointerDown(target: HTMLElement): void;
|
|
24
24
|
private apply;
|
|
25
25
|
private update;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TuiHintComponent, never>;
|