@taiga-ui/core 4.73.0 → 4.74.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/esm2022/components/root/root.component.mjs +1 -1
- package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
- package/package.json +15 -15
- package/styles/mixins/hitbox.less +17 -0
- package/styles/mixins/hitbox.scss +17 -0
- package/styles/taiga-ui-local.less +1 -0
- package/styles/taiga-ui-local.scss +1 -0
|
@@ -61,7 +61,7 @@ class TuiRoot {
|
|
|
61
61
|
: !this.isChildRoot;
|
|
62
62
|
}
|
|
63
63
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRoot, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
64
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRoot, isStandalone: true, selector: "tui-root", host: { attributes: { "data-tui-version": "4.
|
|
64
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRoot, isStandalone: true, selector: "tui-root", host: { attributes: { "data-tui-version": "4.74.0" }, listeners: { "touchstart.passive.zoneless": "0", "document:fullscreenchange": "top.set(isTopLayer)" }, properties: { "style.--tui-duration.ms": "duration", "style.--tui-scroll-behavior": "reducedMotion ? \"auto\" : \"smooth\"", "class._mobile": "isMobileRes()" } }, hostDirectives: [{ directive: i1.TuiPlatform }, { directive: i2.TuiVisualViewport }, { directive: i3.TuiFontSize }, { directive: i4.TuiActiveZone }], ngImport: i0, template: "<div class=\"t-root-content\">\n <ng-content />\n</div>\n<ng-container *ngIf=\"top()\">\n <tui-scroll-controls\n *ngIf=\"scrollbars\"\n class=\"t-root-scrollbar\"\n />\n <tui-popups />\n <ng-content select=\"tuiOverContent\" />\n <tui-dialogs />\n <ng-content select=\"tuiOverDialogs\" />\n <tui-alerts />\n <ng-content select=\"tuiOverAlerts\" />\n <tui-dropdowns />\n <ng-content select=\"tuiOverDropdowns\" />\n <tui-hints />\n <ng-content select=\"tuiOverHints\" />\n</ng-container>\n", styles: ["@keyframes tuiSkeletonVibe{to{opacity:.5}}@keyframes tuiPresent{to{opacity:.99999}}@keyframes tuiFade{0%{opacity:0}}@keyframes tuiSlide{0%{transform:var(--tui-from, translateY(100%))}}@keyframes tuiScale{0%{transform:scale(var(--tui-scale, 0))}}@keyframes tuiCollapse{0%{grid-template-rows:0fr}to{grid-template-rows:1fr}}.tui-enter,.tui-leave{animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;pointer-events:none}.tui-leave{animation-direction:reverse}\n", ".tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.tui-zero-scrollbar::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body,input{margin:0}tui-root{position:relative;display:block;font:var(--tui-font-text-s);color:var(--tui-text-primary);flex:1;border-image:conic-gradient(var(--tui-background-base) 0 0) fill 0/0/0 0 100vh 0;-webkit-tap-highlight-color:transparent}:root{--tui-inline-start: left;--tui-inline-end: right;--tui-inline: 1}[dir=rtl]{--tui-inline-start: right;--tui-inline-end: left;--tui-inline: -1}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;z-index:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{position:relative;top:var(--t-root-top);block-size:100%;isolation:isolate}.t-root-content>*{--t-root-top: 0}[tuiDropdownButton][tuiDropdownButton]{display:none}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TuiAlerts, selector: "tui-alerts" }, { kind: "component", type: TuiDialogs, selector: "tui-dialogs" }, { kind: "component", type: TuiDropdowns, selector: "tui-dropdowns" }, { kind: "component", type: TuiHints, selector: "tui-hints" }, { kind: "component", type: TuiPopups, selector: "tui-popups" }, { kind: "component", type: TuiScrollControls, selector: "tui-scroll-controls" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
65
65
|
}
|
|
66
66
|
export { TuiRoot };
|
|
67
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRoot, decorators: [{
|
|
@@ -62,7 +62,7 @@ class TuiRoot {
|
|
|
62
62
|
: !this.isChildRoot;
|
|
63
63
|
}
|
|
64
64
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRoot, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
65
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRoot, isStandalone: true, selector: "tui-root", host: { attributes: { "data-tui-version": "4.
|
|
65
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiRoot, isStandalone: true, selector: "tui-root", host: { attributes: { "data-tui-version": "4.74.0" }, listeners: { "touchstart.passive.zoneless": "0", "document:fullscreenchange": "top.set(isTopLayer)" }, properties: { "style.--tui-duration.ms": "duration", "style.--tui-scroll-behavior": "reducedMotion ? \"auto\" : \"smooth\"", "class._mobile": "isMobileRes()" } }, hostDirectives: [{ directive: i1.TuiPlatform }, { directive: i2.TuiVisualViewport }, { directive: i3.TuiFontSize }, { directive: i4.TuiActiveZone }], ngImport: i0, template: "<div class=\"t-root-content\">\n <ng-content />\n</div>\n<ng-container *ngIf=\"top()\">\n <tui-scroll-controls\n *ngIf=\"scrollbars\"\n class=\"t-root-scrollbar\"\n />\n <tui-popups />\n <ng-content select=\"tuiOverContent\" />\n <tui-dialogs />\n <ng-content select=\"tuiOverDialogs\" />\n <tui-alerts />\n <ng-content select=\"tuiOverAlerts\" />\n <tui-dropdowns />\n <ng-content select=\"tuiOverDropdowns\" />\n <tui-hints />\n <ng-content select=\"tuiOverHints\" />\n</ng-container>\n", styles: ["@keyframes tuiSkeletonVibe{to{opacity:.5}}@keyframes tuiPresent{to{opacity:.99999}}@keyframes tuiFade{0%{opacity:0}}@keyframes tuiSlide{0%{transform:var(--tui-from, translateY(100%))}}@keyframes tuiScale{0%{transform:scale(var(--tui-scale, 0))}}@keyframes tuiCollapse{0%{grid-template-rows:0fr}to{grid-template-rows:1fr}}.tui-enter,.tui-leave{animation-duration:var(--tui-duration);animation-timing-function:ease-in-out;pointer-events:none}.tui-leave{animation-direction:reverse}\n", ".tui-zero-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.tui-zero-scrollbar::-webkit-scrollbar,.tui-zero-scrollbar::-webkit-scrollbar-thumb{display:none}body,input{margin:0}tui-root{position:relative;display:block;font:var(--tui-font-text-s);color:var(--tui-text-primary);flex:1;border-image:conic-gradient(var(--tui-background-base) 0 0) fill 0/0/0 0 100vh 0;-webkit-tap-highlight-color:transparent}:root{--tui-inline-start: left;--tui-inline-end: right;--tui-inline: 1}[dir=rtl]{--tui-inline-start: right;--tui-inline-end: left;--tui-inline: -1}tui-root>.t-root-scrollbar{position:fixed;top:0;left:0;bottom:0;right:0;z-index:0;display:none;margin:0}[data-tui-theme] tui-root>.t-root-scrollbar{display:block}.t-root-content{position:relative;top:var(--t-root-top);block-size:100%;isolation:isolate}.t-root-content>*{--t-root-top: 0}[tuiDropdownButton][tuiDropdownButton]{display:none}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TuiAlerts, selector: "tui-alerts" }, { kind: "component", type: TuiDialogs, selector: "tui-dialogs" }, { kind: "component", type: TuiDropdowns, selector: "tui-dropdowns" }, { kind: "component", type: TuiHints, selector: "tui-hints" }, { kind: "component", type: TuiPopups, selector: "tui-popups" }, { kind: "component", type: TuiScrollControls, selector: "tui-scroll-controls" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
|
|
66
66
|
}
|
|
67
67
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRoot, decorators: [{
|
|
68
68
|
type: Component,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.74.0",
|
|
4
4
|
"description": "Core library for creating Angular components and applications using Taiga UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -103,18 +103,18 @@
|
|
|
103
103
|
"esm": "./esm2022/components/data-list/taiga-ui-core-components-data-list.mjs",
|
|
104
104
|
"default": "./fesm2022/taiga-ui-core-components-data-list.mjs"
|
|
105
105
|
},
|
|
106
|
-
"./components/error": {
|
|
107
|
-
"types": "./components/error/index.d.ts",
|
|
108
|
-
"esm2022": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
109
|
-
"esm": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
110
|
-
"default": "./fesm2022/taiga-ui-core-components-error.mjs"
|
|
111
|
-
},
|
|
112
106
|
"./components/dialog": {
|
|
113
107
|
"types": "./components/dialog/index.d.ts",
|
|
114
108
|
"esm2022": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
|
|
115
109
|
"esm": "./esm2022/components/dialog/taiga-ui-core-components-dialog.mjs",
|
|
116
110
|
"default": "./fesm2022/taiga-ui-core-components-dialog.mjs"
|
|
117
111
|
},
|
|
112
|
+
"./components/error": {
|
|
113
|
+
"types": "./components/error/index.d.ts",
|
|
114
|
+
"esm2022": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
115
|
+
"esm": "./esm2022/components/error/taiga-ui-core-components-error.mjs",
|
|
116
|
+
"default": "./fesm2022/taiga-ui-core-components-error.mjs"
|
|
117
|
+
},
|
|
118
118
|
"./components/expand": {
|
|
119
119
|
"types": "./components/expand/index.d.ts",
|
|
120
120
|
"esm2022": "./esm2022/components/expand/taiga-ui-core-components-expand.mjs",
|
|
@@ -151,18 +151,18 @@
|
|
|
151
151
|
"esm": "./esm2022/components/loader/taiga-ui-core-components-loader.mjs",
|
|
152
152
|
"default": "./fesm2022/taiga-ui-core-components-loader.mjs"
|
|
153
153
|
},
|
|
154
|
-
"./components/notification": {
|
|
155
|
-
"types": "./components/notification/index.d.ts",
|
|
156
|
-
"esm2022": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
157
|
-
"esm": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
158
|
-
"default": "./fesm2022/taiga-ui-core-components-notification.mjs"
|
|
159
|
-
},
|
|
160
154
|
"./components/root": {
|
|
161
155
|
"types": "./components/root/index.d.ts",
|
|
162
156
|
"esm2022": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
|
|
163
157
|
"esm": "./esm2022/components/root/taiga-ui-core-components-root.mjs",
|
|
164
158
|
"default": "./fesm2022/taiga-ui-core-components-root.mjs"
|
|
165
159
|
},
|
|
160
|
+
"./components/notification": {
|
|
161
|
+
"types": "./components/notification/index.d.ts",
|
|
162
|
+
"esm2022": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
163
|
+
"esm": "./esm2022/components/notification/taiga-ui-core-components-notification.mjs",
|
|
164
|
+
"default": "./fesm2022/taiga-ui-core-components-notification.mjs"
|
|
165
|
+
},
|
|
166
166
|
"./components/scrollbar": {
|
|
167
167
|
"types": "./components/scrollbar/index.d.ts",
|
|
168
168
|
"esm2022": "./esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs",
|
|
@@ -329,9 +329,9 @@
|
|
|
329
329
|
"@angular/router": ">=16.0.0",
|
|
330
330
|
"@ng-web-apis/common": "^4.14.0",
|
|
331
331
|
"@ng-web-apis/mutation-observer": "^4.14.0",
|
|
332
|
-
"@taiga-ui/cdk": "^4.
|
|
332
|
+
"@taiga-ui/cdk": "^4.74.0",
|
|
333
333
|
"@taiga-ui/event-plugins": "^4.7.0",
|
|
334
|
-
"@taiga-ui/i18n": "^4.
|
|
334
|
+
"@taiga-ui/i18n": "^4.74.0",
|
|
335
335
|
"@taiga-ui/polymorpheus": "^4.9.0",
|
|
336
336
|
"rxjs": ">=7.0.0"
|
|
337
337
|
},
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import '../variables/media';
|
|
2
|
+
|
|
3
|
+
.tui-hitbox(@size) {
|
|
4
|
+
@media @tui-mobile {
|
|
5
|
+
position: relative;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
|
|
8
|
+
&::after {
|
|
9
|
+
content: '';
|
|
10
|
+
position: absolute;
|
|
11
|
+
display: block !important;
|
|
12
|
+
inline-size: max(100%, @size);
|
|
13
|
+
block-size: max(100%, @size);
|
|
14
|
+
background: transparent;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@import '../variables/media';
|
|
2
|
+
|
|
3
|
+
@mixin hitbox($size) {
|
|
4
|
+
@media ($tui-mobile) {
|
|
5
|
+
position: relative;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
|
|
8
|
+
&::after {
|
|
9
|
+
content: '';
|
|
10
|
+
position: absolute;
|
|
11
|
+
display: block !important;
|
|
12
|
+
inline-size: max(100%, $size);
|
|
13
|
+
block-size: max(100%, $size);
|
|
14
|
+
background: transparent;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|