@taiga-ui/kit 4.18.0 → 4.19.0-canary.50ca026
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/index.d.ts +1 -0
- package/components/input-number/index.d.ts +2 -0
- package/components/input-number/input-number.component.d.ts +34 -0
- package/components/input-number/input-number.options.d.ts +10 -0
- package/components/input-password/input-password.component.d.ts +1 -1
- package/components/line-clamp/line-clamp.component.d.ts +0 -2
- package/components/pulse/pulse.component.d.ts +6 -1
- package/esm2022/components/avatar/avatar.component.mjs +3 -3
- package/esm2022/components/carousel/carousel.component.mjs +3 -3
- package/esm2022/components/index.mjs +2 -1
- package/esm2022/components/input-number/index.mjs +3 -0
- package/esm2022/components/input-number/input-number.component.mjs +199 -0
- package/esm2022/components/input-number/input-number.options.mjs +10 -0
- package/esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs +5 -0
- package/esm2022/components/input-password/input-password.component.mjs +4 -4
- package/esm2022/components/input-phone-international/input-phone-international.component.mjs +1 -1
- package/esm2022/components/line-clamp/line-clamp.component.mjs +7 -22
- package/esm2022/components/pulse/pulse.component.mjs +20 -7
- package/esm2022/components/stepper/stepper.component.mjs +5 -3
- package/esm2022/components/tiles/tile-handle.directive.mjs +3 -3
- package/esm2022/directives/skeleton/skeleton.directive.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-avatar.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-carousel.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-number.mjs +214 -0
- package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-password.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-password.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +1 -1
- package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +6 -21
- package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-pulse.mjs +19 -6
- package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-stepper.mjs +4 -2
- package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-tiles.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +1 -0
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +2 -2
- package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
- package/package.json +36 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-directives-skeleton.mjs","sources":["../../../projects/kit/directives/skeleton/skeleton.directive.ts","../../../projects/kit/directives/skeleton/taiga-ui-kit-directives-skeleton.ts"],"sourcesContent":["import type {OnChanges, SimpleChanges} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {CHAR_NO_BREAK_SPACE} from '@taiga-ui/cdk/constants';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPure, tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_ANIMATIONS_SPEED} from '@taiga-ui/core/tokens';\nimport {
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-directives-skeleton.mjs","sources":["../../../projects/kit/directives/skeleton/skeleton.directive.ts","../../../projects/kit/directives/skeleton/taiga-ui-kit-directives-skeleton.ts"],"sourcesContent":["import type {OnChanges, SimpleChanges} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {CHAR_NO_BREAK_SPACE} from '@taiga-ui/cdk/constants';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiPure, tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_ANIMATIONS_SPEED} from '@taiga-ui/core/tokens';\nimport {tuiGetDuration} from '@taiga-ui/core/utils/miscellaneous';\n\nconst FADE = [{opacity: 0.06}, {opacity: 1}];\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./skeleton.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-skeleton-styles',\n },\n})\nclass TuiSkeletonStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiSkeleton]',\n host: {\n tuiSkeleton: '',\n '[class._skeleton]': 'tuiSkeleton',\n '[attr.data-tui-skeleton]': 'getPlaceholder(tuiSkeleton)',\n },\n})\nexport class TuiSkeleton implements OnChanges {\n private animation?: Animation;\n private readonly el = tuiInjectElement();\n private readonly duration = tuiGetDuration(inject(TUI_ANIMATIONS_SPEED)) * 2;\n\n protected readonly nothing = tuiWithStyles(TuiSkeletonStyles);\n\n @Input()\n public tuiSkeleton: boolean | number | string = false;\n\n public ngOnChanges({tuiSkeleton}: SimpleChanges): void {\n this.animation?.cancel();\n\n if (!tuiSkeleton?.currentValue && !tuiSkeleton?.firstChange) {\n this.animation = this.el.animate(FADE, this.duration);\n }\n }\n\n @tuiPure\n protected getPlaceholder(value: boolean | number | string): string | null {\n switch (typeof value) {\n case 'number':\n return Array.from({length: value})\n .map(() => CHAR_NO_BREAK_SPACE.repeat(getLength()))\n .join(' ');\n case 'string':\n return value;\n default:\n return null;\n }\n }\n}\n\nfunction getLength(): number {\n return Math.floor(Math.random() * (15 - 5 + 1)) + 5;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;A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AA,CAAA;kBATvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,IAAI,EAAE;AACF,wBAAA,WAAW,EAAE,EAAE;AACf,wBAAA,mBAAmB,EAAE,aAAa;AAClC,wBAAA,0BAA0B,EAAE,6BAA6B;AAC5D,qBAAA;AACJ,iBAAA,CAAA;8BASU,WAAW,EAAA,CAAA;sBADjB,KAAK;gBAYI,cAAc,EAAA,EAAA,EAAA,EAAA,CAAA,CAAA;AAc5B,SAAS,SAAS,GAAA;AACd,IAAA,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AACxD;;ACzEA;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/kit",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.19.0-canary.50ca026",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -83,18 +83,18 @@
|
|
|
83
83
|
"esm": "./esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs",
|
|
84
84
|
"default": "./fesm2022/taiga-ui-kit-components-badge-notification.mjs"
|
|
85
85
|
},
|
|
86
|
-
"./components/badged-content": {
|
|
87
|
-
"types": "./components/badged-content/index.d.ts",
|
|
88
|
-
"esm2022": "./esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs",
|
|
89
|
-
"esm": "./esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs",
|
|
90
|
-
"default": "./fesm2022/taiga-ui-kit-components-badged-content.mjs"
|
|
91
|
-
},
|
|
92
86
|
"./components/block": {
|
|
93
87
|
"types": "./components/block/index.d.ts",
|
|
94
88
|
"esm2022": "./esm2022/components/block/taiga-ui-kit-components-block.mjs",
|
|
95
89
|
"esm": "./esm2022/components/block/taiga-ui-kit-components-block.mjs",
|
|
96
90
|
"default": "./fesm2022/taiga-ui-kit-components-block.mjs"
|
|
97
91
|
},
|
|
92
|
+
"./components/badged-content": {
|
|
93
|
+
"types": "./components/badged-content/index.d.ts",
|
|
94
|
+
"esm2022": "./esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs",
|
|
95
|
+
"esm": "./esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs",
|
|
96
|
+
"default": "./fesm2022/taiga-ui-kit-components-badged-content.mjs"
|
|
97
|
+
},
|
|
98
98
|
"./components/breadcrumbs": {
|
|
99
99
|
"types": "./components/breadcrumbs/index.d.ts",
|
|
100
100
|
"esm2022": "./esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs",
|
|
@@ -191,6 +191,12 @@
|
|
|
191
191
|
"esm": "./esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs",
|
|
192
192
|
"default": "./fesm2022/taiga-ui-kit-components-input-inline.mjs"
|
|
193
193
|
},
|
|
194
|
+
"./components/input-number": {
|
|
195
|
+
"types": "./components/input-number/index.d.ts",
|
|
196
|
+
"esm2022": "./esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs",
|
|
197
|
+
"esm": "./esm2022/components/input-number/taiga-ui-kit-components-input-number.mjs",
|
|
198
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-number.mjs"
|
|
199
|
+
},
|
|
194
200
|
"./components/input-password": {
|
|
195
201
|
"types": "./components/input-password/index.d.ts",
|
|
196
202
|
"esm2022": "./esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs",
|
|
@@ -215,18 +221,18 @@
|
|
|
215
221
|
"esm": "./esm2022/components/like/taiga-ui-kit-components-like.mjs",
|
|
216
222
|
"default": "./fesm2022/taiga-ui-kit-components-like.mjs"
|
|
217
223
|
},
|
|
218
|
-
"./components/message": {
|
|
219
|
-
"types": "./components/message/index.d.ts",
|
|
220
|
-
"esm2022": "./esm2022/components/message/taiga-ui-kit-components-message.mjs",
|
|
221
|
-
"esm": "./esm2022/components/message/taiga-ui-kit-components-message.mjs",
|
|
222
|
-
"default": "./fesm2022/taiga-ui-kit-components-message.mjs"
|
|
223
|
-
},
|
|
224
224
|
"./components/line-clamp": {
|
|
225
225
|
"types": "./components/line-clamp/index.d.ts",
|
|
226
226
|
"esm2022": "./esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs",
|
|
227
227
|
"esm": "./esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs",
|
|
228
228
|
"default": "./fesm2022/taiga-ui-kit-components-line-clamp.mjs"
|
|
229
229
|
},
|
|
230
|
+
"./components/message": {
|
|
231
|
+
"types": "./components/message/index.d.ts",
|
|
232
|
+
"esm2022": "./esm2022/components/message/taiga-ui-kit-components-message.mjs",
|
|
233
|
+
"esm": "./esm2022/components/message/taiga-ui-kit-components-message.mjs",
|
|
234
|
+
"default": "./fesm2022/taiga-ui-kit-components-message.mjs"
|
|
235
|
+
},
|
|
230
236
|
"./components/pagination": {
|
|
231
237
|
"types": "./components/pagination/index.d.ts",
|
|
232
238
|
"esm2022": "./esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs",
|
|
@@ -311,11 +317,11 @@
|
|
|
311
317
|
"esm": "./esm2022/components/slider/taiga-ui-kit-components-slider.mjs",
|
|
312
318
|
"default": "./fesm2022/taiga-ui-kit-components-slider.mjs"
|
|
313
319
|
},
|
|
314
|
-
"./components/
|
|
315
|
-
"types": "./components/
|
|
316
|
-
"esm2022": "./esm2022/components/
|
|
317
|
-
"esm": "./esm2022/components/
|
|
318
|
-
"default": "./fesm2022/taiga-ui-kit-components-
|
|
320
|
+
"./components/status": {
|
|
321
|
+
"types": "./components/status/index.d.ts",
|
|
322
|
+
"esm2022": "./esm2022/components/status/taiga-ui-kit-components-status.mjs",
|
|
323
|
+
"esm": "./esm2022/components/status/taiga-ui-kit-components-status.mjs",
|
|
324
|
+
"default": "./fesm2022/taiga-ui-kit-components-status.mjs"
|
|
319
325
|
},
|
|
320
326
|
"./components/stepper": {
|
|
321
327
|
"types": "./components/stepper/index.d.ts",
|
|
@@ -323,11 +329,11 @@
|
|
|
323
329
|
"esm": "./esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs",
|
|
324
330
|
"default": "./fesm2022/taiga-ui-kit-components-stepper.mjs"
|
|
325
331
|
},
|
|
326
|
-
"./components/
|
|
327
|
-
"types": "./components/
|
|
328
|
-
"esm2022": "./esm2022/components/
|
|
329
|
-
"esm": "./esm2022/components/
|
|
330
|
-
"default": "./fesm2022/taiga-ui-kit-components-
|
|
332
|
+
"./components/switch": {
|
|
333
|
+
"types": "./components/switch/index.d.ts",
|
|
334
|
+
"esm2022": "./esm2022/components/switch/taiga-ui-kit-components-switch.mjs",
|
|
335
|
+
"esm": "./esm2022/components/switch/taiga-ui-kit-components-switch.mjs",
|
|
336
|
+
"default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
|
|
331
337
|
},
|
|
332
338
|
"./components/tabs": {
|
|
333
339
|
"types": "./components/tabs/index.d.ts",
|
|
@@ -515,17 +521,17 @@
|
|
|
515
521
|
"@angular/core": ">=16.0.0",
|
|
516
522
|
"@angular/forms": ">=16.0.0",
|
|
517
523
|
"@angular/router": ">=16.0.0",
|
|
518
|
-
"@maskito/angular": "^3.2.
|
|
519
|
-
"@maskito/core": "^3.2.
|
|
520
|
-
"@maskito/kit": "^3.2.
|
|
521
|
-
"@maskito/phone": "^3.2.
|
|
524
|
+
"@maskito/angular": "^3.2.1",
|
|
525
|
+
"@maskito/core": "^3.2.1",
|
|
526
|
+
"@maskito/kit": "^3.2.1",
|
|
527
|
+
"@maskito/phone": "^3.2.1",
|
|
522
528
|
"@ng-web-apis/common": "^4.11.1",
|
|
523
529
|
"@ng-web-apis/intersection-observer": "^4.11.1",
|
|
524
530
|
"@ng-web-apis/mutation-observer": "^4.11.1",
|
|
525
531
|
"@ng-web-apis/resize-observer": "^4.11.1",
|
|
526
|
-
"@taiga-ui/cdk": "^4.
|
|
527
|
-
"@taiga-ui/core": "^4.
|
|
528
|
-
"@taiga-ui/i18n": "^4.
|
|
532
|
+
"@taiga-ui/cdk": "^4.19.0",
|
|
533
|
+
"@taiga-ui/core": "^4.19.0",
|
|
534
|
+
"@taiga-ui/i18n": "^4.19.0",
|
|
529
535
|
"@taiga-ui/polymorpheus": "^4.7.4",
|
|
530
536
|
"rxjs": ">=7.0.0"
|
|
531
537
|
},
|