@taiga-ui/kit 4.45.0-canary.917d00a → 4.45.0-canary.b0bb2a3
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/badged-content/badged-content.component.d.ts +5 -1
- package/components/combo-box/combo-box.directive.d.ts +0 -1
- package/components/index.d.ts +1 -0
- package/components/input-chip/input-chip.directive.d.ts +5 -3
- package/components/input-date-multi/index.d.ts +2 -0
- package/components/input-date-multi/input-date-multi.d.ts +4 -0
- package/components/input-date-multi/input-date-multi.directive.d.ts +30 -0
- package/esm2022/components/avatar/avatar.component.mjs +3 -3
- package/esm2022/components/badged-content/badged-content.component.mjs +14 -3
- package/esm2022/components/combo-box/combo-box.directive.mjs +2 -8
- package/esm2022/components/index.mjs +2 -1
- package/esm2022/components/input-chip/input-chip.directive.mjs +3 -3
- package/esm2022/components/input-date-multi/index.mjs +3 -0
- package/esm2022/components/input-date-multi/input-date-multi.directive.mjs +129 -0
- package/esm2022/components/input-date-multi/input-date-multi.mjs +9 -0
- package/esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs +5 -0
- package/esm2022/components/input-time/input-time.directive.mjs +7 -2
- package/esm2022/components/status/status.directive.mjs +2 -2
- package/esm2022/components/textarea/textarea.component.mjs +3 -2
- 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-badged-content.mjs +13 -2
- package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs +1 -7
- package/fesm2022/taiga-ui-kit-components-combo-box.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs +3 -3
- package/fesm2022/taiga-ui-kit-components-input-chip.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs +141 -0
- package/fesm2022/taiga-ui-kit-components-input-date-multi.mjs.map +1 -0
- package/fesm2022/taiga-ui-kit-components-input-time.mjs +6 -1
- package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-status.mjs +2 -2
- package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs +2 -1
- package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
- package/fesm2022/taiga-ui-kit-components.mjs +1 -0
- package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
- package/package.json +44 -38
- package/styles/components/status.less +1 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components-textarea.mjs","sources":["../../../projects/kit/components/textarea/textarea.options.ts","../../../projects/kit/components/textarea/textarea.component.ts","../../../projects/kit/components/textarea/textarea.template.html","../../../projects/kit/components/textarea/textarea-limit.directive.ts","../../../projects/kit/components/textarea/taiga-ui-kit-components-textarea.ts"],"sourcesContent":["import type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiTextareaOptions {\n min: number;\n max: number;\n content: PolymorpheusContent<TuiContext<string>>;\n}\n\nexport const [TUI_TEXTAREA_OPTIONS, tuiTextareaOptionsProvider] =\n tuiCreateOptions<TuiTextareaOptions>({\n min: 1,\n max: 3,\n content: ({$implicit}) => $implicit,\n });\n","import {NgIf} from '@angular/common';\nimport type {AfterViewInit} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n inject,\n Input,\n TemplateRef,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiScrollControls} from '@taiga-ui/core/components/scrollbar';\nimport {\n TuiTextfieldComponent,\n TuiWithTextfield,\n} from '@taiga-ui/core/components/textfield';\nimport {TUI_SCROLL_REF} from '@taiga-ui/core/tokens';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport type {TuiTextareaOptions} from './textarea.options';\nimport {TUI_TEXTAREA_OPTIONS} from './textarea.options';\n\n@Component({\n standalone: true,\n selector: 'textarea[tuiTextarea]',\n imports: [NgIf, PolymorpheusOutlet, TuiScrollControls],\n templateUrl: './textarea.template.html',\n styleUrls: ['./textarea.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiProvide(TUI_SCROLL_REF, ElementRef)],\n hostDirectives: [TuiWithTextfield],\n host: {\n '[class._mobile]': 'isMobile',\n '(scroll.zoneless)': 'onScroll()',\n // To trigger CD for #text\n '(scroll.once)': 'onScroll()',\n },\n})\nexport class TuiTextarea implements AfterViewInit {\n @ViewChild(TemplateRef)\n private readonly template?: TemplateRef<any>;\n\n private readonly options = inject(TUI_TEXTAREA_OPTIONS);\n private readonly vcr = inject(ViewContainerRef);\n\n @ViewChild('text')\n protected readonly text?: ElementRef<HTMLElement>;\n\n protected readonly el = tuiInjectElement<HTMLTextAreaElement>();\n protected readonly textfield = inject(TuiTextfieldComponent<string>);\n protected readonly isMobile = inject(TUI_IS_MOBILE);\n\n @Input()\n public min = this.options.min;\n\n @Input()\n public max = this.options.max;\n\n @Input()\n public content: TuiTextareaOptions['content'] = this.options.content;\n\n public ngAfterViewInit(): void {\n if (this.template) {\n this.vcr.createEmbeddedView(this.template);\n }\n }\n\n protected onScroll(): void {\n this.text?.nativeElement.scrollTo({top: this.el.scrollTop});\n }\n}\n","<ng-template #template>\n <tui-scroll-controls\n *ngIf=\"!isMobile\"\n class=\"t-scroll\"\n />\n <span\n #text\n aria-hidden=\"true\"\n class=\"t-ghost\"\n [style.max-height.em]=\"1.25 * max\"\n [style.min-height.em]=\"1.25 * min\"\n >\n <ng-container *polymorpheusOutlet=\"content as text; context: {$implicit: el.value}\">{{ text }}</ng-container>\n </span>\n <span class=\"t-hack\"></span>\n</ng-template>\n","import type {DoCheck} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n signal,\n ViewContainerRef,\n} from '@angular/core';\nimport type {AbstractControl, ValidationErrors, Validator} from '@angular/forms';\nimport {NG_VALIDATORS, Validators} from '@angular/forms';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_TEXTFIELD_OPTIONS,\n TuiTextfieldComponent,\n} from '@taiga-ui/core/components/textfield';\nimport {injectContext, PolymorpheusComponent} from '@taiga-ui/polymorpheus';\n\nimport {tuiTextareaOptionsProvider} from './textarea.options';\n\n@Component({\n standalone: true,\n template: `\n <span [textContent]=\"context.$implicit.slice(0, limit())\"></span>\n <span\n [style.background]=\"background\"\n [textContent]=\"context.$implicit.slice(limit())\"\n ></span>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTextareaLimitComponent {\n protected readonly limit = inject(TuiTextareaLimit).limit;\n protected readonly context = injectContext<TuiContext<string>>();\n protected readonly background =\n 'linear-gradient(transparent 0.125rem, var(--tui-status-negative-pale) 0.125rem, var(--tui-status-negative-pale) calc(100% - 0.125rem), transparent calc(100% - 0.125rem))';\n}\n\n@Component({\n standalone: true,\n template: '{{ length() }} / {{ limit() }}',\n styleUrls: ['./textarea-limit.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTextareaCounterComponent {\n public readonly limit = signal(0);\n public readonly length = signal(0);\n}\n\nconst COMPONENT = new PolymorpheusComponent(TuiTextareaLimitComponent);\n\n@Directive({\n standalone: true,\n selector: '[tuiTextarea][limit]',\n providers: [\n tuiProvide(NG_VALIDATORS, TuiTextareaLimit, true),\n tuiTextareaOptionsProvider({content: COMPONENT}),\n ],\n host: {\n '[style.border-block-end-width.rem]': 'size() === \"l\" ? 1.875 : 1.75',\n },\n})\nexport class TuiTextareaLimit implements Validator, DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent);\n private readonly ref = inject(ViewContainerRef).createComponent(\n TuiTextareaCounterComponent,\n );\n\n public readonly size = inject(TUI_TEXTFIELD_OPTIONS).size;\n public readonly limit = signal(0);\n\n // TODO: Use signal inputs in v5\n @Input('limit')\n public set limitSetter(limit: number) {\n this.limit.set(limit);\n }\n\n public ngDoCheck(): void {\n this.ref.instance.length.set(this.textfield.value().length);\n this.ref.instance.limit.set(this.limit());\n }\n\n public validate(control: AbstractControl): ValidationErrors | null {\n return Validators.maxLength(this.limit())(control);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAUa,CAAC,oBAAoB,EAAE,0BAA0B,CAAC,GAC3D,gBAAgB,CAAqB;AACjC,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,GAAG,EAAE,CAAC;IACN,OAAO,EAAE,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS;AACtC,CAAA;;ACWL,MAgBa,WAAW,CAAA;AAhBxB,IAAA,WAAA,GAAA;AAoBqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAC;AACvC,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAK7B,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAuB,CAAC;AAC7C,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,EAAC,qBAA6B,EAAC,CAAC;AAClD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AAG7C,QAAA,IAAA,CAAA,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AAGvB,QAAA,IAAA,CAAA,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC;AAGvB,QAAA,IAAA,CAAA,OAAO,GAAkC,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A,sBAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,CAAA,OAAA,EAAA,aAAA,CAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,kCAAA,EAAA,iCAAA,EAAA,EAAA,EAAA,SAAA,EAAA;AACP,YAAA,UAAU,CAAC,aAAa,EAAE,gBAAgB,EAAE,IAAI,CAAC;AACjD,YAAA,0BAA0B,CAAC,EAAC,OAAO,EAAE,SAAS,EAAC,CAAC;AACnD,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAKQ,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAX5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,SAAS,EAAE;AACP,wBAAA,UAAU,CAAC,aAAa,EAAoB,gBAAA,EAAA,IAAI,CAAC;AACjD,wBAAA,0BAA0B,CAAC,EAAC,OAAO,EAAE,SAAS,EAAC,CAAC;AACnD,qBAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,oCAAoC,EAAE,+BAA+B;AACxE,qBAAA;AACJ,iBAAA,CAAA;8BAYc,WAAW,EAAA,CAAA;sBADrB,KAAK;uBAAC,OAAO,CAAA;;;AC1ElB;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components-textarea.mjs","sources":["../../../projects/kit/components/textarea/textarea.options.ts","../../../projects/kit/components/textarea/textarea.component.ts","../../../projects/kit/components/textarea/textarea.template.html","../../../projects/kit/components/textarea/textarea-limit.directive.ts","../../../projects/kit/components/textarea/taiga-ui-kit-components-textarea.ts"],"sourcesContent":["import type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\nimport type {PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport interface TuiTextareaOptions {\n min: number;\n max: number;\n content: PolymorpheusContent<TuiContext<string>>;\n}\n\nexport const [TUI_TEXTAREA_OPTIONS, tuiTextareaOptionsProvider] =\n tuiCreateOptions<TuiTextareaOptions>({\n min: 1,\n max: 3,\n content: ({$implicit}) => $implicit,\n });\n","import {NgIf} from '@angular/common';\nimport type {AfterViewInit} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n inject,\n Input,\n TemplateRef,\n ViewChild,\n ViewContainerRef,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiScrollControls} from '@taiga-ui/core/components/scrollbar';\nimport {\n TuiTextfieldComponent,\n TuiWithTextfield,\n} from '@taiga-ui/core/components/textfield';\nimport {TUI_SCROLL_REF} from '@taiga-ui/core/tokens';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport type {TuiTextareaOptions} from './textarea.options';\nimport {TUI_TEXTAREA_OPTIONS} from './textarea.options';\n\n@Component({\n standalone: true,\n selector: 'textarea[tuiTextarea]',\n imports: [NgIf, PolymorpheusOutlet, TuiScrollControls],\n templateUrl: './textarea.template.html',\n styleUrls: ['./textarea.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiProvide(TUI_SCROLL_REF, ElementRef)],\n hostDirectives: [TuiWithTextfield],\n host: {\n ngSkipHydration: 'true',\n '[class._mobile]': 'isMobile',\n '(scroll.zoneless)': 'onScroll()',\n // To trigger CD for #text\n '(scroll.once)': 'onScroll()',\n },\n})\nexport class TuiTextarea implements AfterViewInit {\n @ViewChild(TemplateRef)\n private readonly template?: TemplateRef<any>;\n\n private readonly options = inject(TUI_TEXTAREA_OPTIONS);\n private readonly vcr = inject(ViewContainerRef);\n\n @ViewChild('text')\n protected readonly text?: ElementRef<HTMLElement>;\n\n protected readonly el = tuiInjectElement<HTMLTextAreaElement>();\n protected readonly textfield = inject(TuiTextfieldComponent<string>);\n protected readonly isMobile = inject(TUI_IS_MOBILE);\n\n @Input()\n public min = this.options.min;\n\n @Input()\n public max = this.options.max;\n\n @Input()\n public content: TuiTextareaOptions['content'] = this.options.content;\n\n public ngAfterViewInit(): void {\n if (this.template) {\n this.vcr.createEmbeddedView(this.template);\n }\n }\n\n protected onScroll(): void {\n this.text?.nativeElement.scrollTo({top: this.el.scrollTop});\n }\n}\n","<ng-template #template>\n <tui-scroll-controls\n *ngIf=\"!isMobile\"\n class=\"t-scroll\"\n />\n <span\n #text\n aria-hidden=\"true\"\n class=\"t-ghost\"\n [style.max-height.em]=\"1.25 * max\"\n [style.min-height.em]=\"1.25 * min\"\n >\n <ng-container *polymorpheusOutlet=\"content as text; context: {$implicit: el.value}\">{{ text }}</ng-container>\n </span>\n <span class=\"t-hack\"></span>\n</ng-template>\n","import type {DoCheck} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n Input,\n signal,\n ViewContainerRef,\n} from '@angular/core';\nimport type {AbstractControl, ValidationErrors, Validator} from '@angular/forms';\nimport {NG_VALIDATORS, Validators} from '@angular/forms';\nimport type {TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {\n TUI_TEXTFIELD_OPTIONS,\n TuiTextfieldComponent,\n} from '@taiga-ui/core/components/textfield';\nimport {injectContext, PolymorpheusComponent} from '@taiga-ui/polymorpheus';\n\nimport {tuiTextareaOptionsProvider} from './textarea.options';\n\n@Component({\n standalone: true,\n template: `\n <span [textContent]=\"context.$implicit.slice(0, limit())\"></span>\n <span\n [style.background]=\"background\"\n [textContent]=\"context.$implicit.slice(limit())\"\n ></span>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTextareaLimitComponent {\n protected readonly limit = inject(TuiTextareaLimit).limit;\n protected readonly context = injectContext<TuiContext<string>>();\n protected readonly background =\n 'linear-gradient(transparent 0.125rem, var(--tui-status-negative-pale) 0.125rem, var(--tui-status-negative-pale) calc(100% - 0.125rem), transparent calc(100% - 0.125rem))';\n}\n\n@Component({\n standalone: true,\n template: '{{ length() }} / {{ limit() }}',\n styleUrls: ['./textarea-limit.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTextareaCounterComponent {\n public readonly limit = signal(0);\n public readonly length = signal(0);\n}\n\nconst COMPONENT = new PolymorpheusComponent(TuiTextareaLimitComponent);\n\n@Directive({\n standalone: true,\n selector: '[tuiTextarea][limit]',\n providers: [\n tuiProvide(NG_VALIDATORS, TuiTextareaLimit, true),\n tuiTextareaOptionsProvider({content: COMPONENT}),\n ],\n host: {\n '[style.border-block-end-width.rem]': 'size() === \"l\" ? 1.875 : 1.75',\n },\n})\nexport class TuiTextareaLimit implements Validator, DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent);\n private readonly ref = inject(ViewContainerRef).createComponent(\n TuiTextareaCounterComponent,\n );\n\n public readonly size = inject(TUI_TEXTFIELD_OPTIONS).size;\n public readonly limit = signal(0);\n\n // TODO: Use signal inputs in v5\n @Input('limit')\n public set limitSetter(limit: number) {\n this.limit.set(limit);\n }\n\n public ngDoCheck(): void {\n this.ref.instance.length.set(this.textfield.value().length);\n this.ref.instance.limit.set(this.limit());\n }\n\n public validate(control: AbstractControl): ValidationErrors | null {\n return Validators.maxLength(this.limit())(control);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;MAUa,CAAC,oBAAoB,EAAE,0BAA0B,CAAC,GAC3D,gBAAgB,CAAqB;AACjC,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,GAAG,EAAE,CAAC;IACN,OAAO,EAAE,CAAC,EAAC,SAAS,EAAC,KAAK,SAAS;AACtC,CAAA;;ACWL,MAiBa,WAAW,CAAA;AAjBxB,IAAA,WAAA,GAAA;AAqBqB,QAAA,IAAA,CAAA,OAAO,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oC,EAAE,+BAA+B;AACxE,qBAAA;AACJ,iBAAA,CAAA;8BAYc,WAAW,EAAA,CAAA;sBADrB,KAAK;uBAAC,OAAO,CAAA;;;AC1ElB;;AAEG;;;;"}
|
|
@@ -25,6 +25,7 @@ export * from '@taiga-ui/kit/components/floating-container';
|
|
|
25
25
|
export * from '@taiga-ui/kit/components/input-chip';
|
|
26
26
|
export * from '@taiga-ui/kit/components/input-color';
|
|
27
27
|
export * from '@taiga-ui/kit/components/input-date';
|
|
28
|
+
export * from '@taiga-ui/kit/components/input-date-multi';
|
|
28
29
|
export * from '@taiga-ui/kit/components/input-date-range';
|
|
29
30
|
export * from '@taiga-ui/kit/components/input-inline';
|
|
30
31
|
export * from '@taiga-ui/kit/components/input-month';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-kit-components.mjs","sources":["../../../projects/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"taiga-ui-kit-components.mjs","sources":["../../../projects/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ui/kit",
|
|
3
|
-
"version": "4.45.0-canary.
|
|
3
|
+
"version": "4.45.0-canary.b0bb2a3",
|
|
4
4
|
"description": "Taiga UI Angular main components kit",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -113,18 +113,6 @@
|
|
|
113
113
|
"esm": "./esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs",
|
|
114
114
|
"default": "./fesm2022/taiga-ui-kit-components-calendar-month.mjs"
|
|
115
115
|
},
|
|
116
|
-
"./components/calendar-range": {
|
|
117
|
-
"types": "./components/calendar-range/index.d.ts",
|
|
118
|
-
"esm2022": "./esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs",
|
|
119
|
-
"esm": "./esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs",
|
|
120
|
-
"default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
|
|
121
|
-
},
|
|
122
|
-
"./components/carousel": {
|
|
123
|
-
"types": "./components/carousel/index.d.ts",
|
|
124
|
-
"esm2022": "./esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs",
|
|
125
|
-
"esm": "./esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs",
|
|
126
|
-
"default": "./fesm2022/taiga-ui-kit-components-carousel.mjs"
|
|
127
|
-
},
|
|
128
116
|
"./components/checkbox": {
|
|
129
117
|
"types": "./components/checkbox/index.d.ts",
|
|
130
118
|
"esm2022": "./esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs",
|
|
@@ -137,6 +125,18 @@
|
|
|
137
125
|
"esm": "./esm2022/components/chip/taiga-ui-kit-components-chip.mjs",
|
|
138
126
|
"default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
|
|
139
127
|
},
|
|
128
|
+
"./components/carousel": {
|
|
129
|
+
"types": "./components/carousel/index.d.ts",
|
|
130
|
+
"esm2022": "./esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs",
|
|
131
|
+
"esm": "./esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs",
|
|
132
|
+
"default": "./fesm2022/taiga-ui-kit-components-carousel.mjs"
|
|
133
|
+
},
|
|
134
|
+
"./components/calendar-range": {
|
|
135
|
+
"types": "./components/calendar-range/index.d.ts",
|
|
136
|
+
"esm2022": "./esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs",
|
|
137
|
+
"esm": "./esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs",
|
|
138
|
+
"default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
|
|
139
|
+
},
|
|
140
140
|
"./components/combo-box": {
|
|
141
141
|
"types": "./components/combo-box/index.d.ts",
|
|
142
142
|
"esm2022": "./esm2022/components/combo-box/taiga-ui-kit-components-combo-box.mjs",
|
|
@@ -215,11 +215,11 @@
|
|
|
215
215
|
"esm": "./esm2022/components/input-date/taiga-ui-kit-components-input-date.mjs",
|
|
216
216
|
"default": "./fesm2022/taiga-ui-kit-components-input-date.mjs"
|
|
217
217
|
},
|
|
218
|
-
"./components/input-date-
|
|
219
|
-
"types": "./components/input-date-
|
|
220
|
-
"esm2022": "./esm2022/components/input-date-
|
|
221
|
-
"esm": "./esm2022/components/input-date-
|
|
222
|
-
"default": "./fesm2022/taiga-ui-kit-components-input-date-
|
|
218
|
+
"./components/input-date-multi": {
|
|
219
|
+
"types": "./components/input-date-multi/index.d.ts",
|
|
220
|
+
"esm2022": "./esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs",
|
|
221
|
+
"esm": "./esm2022/components/input-date-multi/taiga-ui-kit-components-input-date-multi.mjs",
|
|
222
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-date-multi.mjs"
|
|
223
223
|
},
|
|
224
224
|
"./components/input-inline": {
|
|
225
225
|
"types": "./components/input-inline/index.d.ts",
|
|
@@ -227,6 +227,12 @@
|
|
|
227
227
|
"esm": "./esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs",
|
|
228
228
|
"default": "./fesm2022/taiga-ui-kit-components-input-inline.mjs"
|
|
229
229
|
},
|
|
230
|
+
"./components/input-date-range": {
|
|
231
|
+
"types": "./components/input-date-range/index.d.ts",
|
|
232
|
+
"esm2022": "./esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs",
|
|
233
|
+
"esm": "./esm2022/components/input-date-range/taiga-ui-kit-components-input-date-range.mjs",
|
|
234
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-date-range.mjs"
|
|
235
|
+
},
|
|
230
236
|
"./components/input-month": {
|
|
231
237
|
"types": "./components/input-month/index.d.ts",
|
|
232
238
|
"esm2022": "./esm2022/components/input-month/taiga-ui-kit-components-input-month.mjs",
|
|
@@ -251,12 +257,6 @@
|
|
|
251
257
|
"esm": "./esm2022/components/input-password/taiga-ui-kit-components-input-password.mjs",
|
|
252
258
|
"default": "./fesm2022/taiga-ui-kit-components-input-password.mjs"
|
|
253
259
|
},
|
|
254
|
-
"./components/input-phone-international": {
|
|
255
|
-
"types": "./components/input-phone-international/index.d.ts",
|
|
256
|
-
"esm2022": "./esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs",
|
|
257
|
-
"esm": "./esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs",
|
|
258
|
-
"default": "./fesm2022/taiga-ui-kit-components-input-phone-international.mjs"
|
|
259
|
-
},
|
|
260
260
|
"./components/input-pin": {
|
|
261
261
|
"types": "./components/input-pin/index.d.ts",
|
|
262
262
|
"esm2022": "./esm2022/components/input-pin/taiga-ui-kit-components-input-pin.mjs",
|
|
@@ -269,6 +269,12 @@
|
|
|
269
269
|
"esm": "./esm2022/components/input-slider/taiga-ui-kit-components-input-slider.mjs",
|
|
270
270
|
"default": "./fesm2022/taiga-ui-kit-components-input-slider.mjs"
|
|
271
271
|
},
|
|
272
|
+
"./components/input-phone-international": {
|
|
273
|
+
"types": "./components/input-phone-international/index.d.ts",
|
|
274
|
+
"esm2022": "./esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs",
|
|
275
|
+
"esm": "./esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs",
|
|
276
|
+
"default": "./fesm2022/taiga-ui-kit-components-input-phone-international.mjs"
|
|
277
|
+
},
|
|
272
278
|
"./components/input-time": {
|
|
273
279
|
"types": "./components/input-time/index.d.ts",
|
|
274
280
|
"esm2022": "./esm2022/components/input-time/taiga-ui-kit-components-input-time.mjs",
|
|
@@ -443,11 +449,11 @@
|
|
|
443
449
|
"esm": "./esm2022/components/tree/taiga-ui-kit-components-tree.mjs",
|
|
444
450
|
"default": "./fesm2022/taiga-ui-kit-components-tree.mjs"
|
|
445
451
|
},
|
|
446
|
-
"./directives/button-
|
|
447
|
-
"types": "./directives/button-
|
|
448
|
-
"esm2022": "./esm2022/directives/button-
|
|
449
|
-
"esm": "./esm2022/directives/button-
|
|
450
|
-
"default": "./fesm2022/taiga-ui-kit-directives-button-
|
|
452
|
+
"./directives/button-select": {
|
|
453
|
+
"types": "./directives/button-select/index.d.ts",
|
|
454
|
+
"esm2022": "./esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs",
|
|
455
|
+
"esm": "./esm2022/directives/button-select/taiga-ui-kit-directives-button-select.mjs",
|
|
456
|
+
"default": "./fesm2022/taiga-ui-kit-directives-button-select.mjs"
|
|
451
457
|
},
|
|
452
458
|
"./directives/button-group": {
|
|
453
459
|
"types": "./directives/button-group/index.d.ts",
|
|
@@ -455,11 +461,11 @@
|
|
|
455
461
|
"esm": "./esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs",
|
|
456
462
|
"default": "./fesm2022/taiga-ui-kit-directives-button-group.mjs"
|
|
457
463
|
},
|
|
458
|
-
"./directives/button-
|
|
459
|
-
"types": "./directives/button-
|
|
460
|
-
"esm2022": "./esm2022/directives/button-
|
|
461
|
-
"esm": "./esm2022/directives/button-
|
|
462
|
-
"default": "./fesm2022/taiga-ui-kit-directives-button-
|
|
464
|
+
"./directives/button-close": {
|
|
465
|
+
"types": "./directives/button-close/index.d.ts",
|
|
466
|
+
"esm2022": "./esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs",
|
|
467
|
+
"esm": "./esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs",
|
|
468
|
+
"default": "./fesm2022/taiga-ui-kit-directives-button-close.mjs"
|
|
463
469
|
},
|
|
464
470
|
"./directives/chevron": {
|
|
465
471
|
"types": "./directives/chevron/index.d.ts",
|
|
@@ -617,10 +623,10 @@
|
|
|
617
623
|
"@angular/core": ">=16.0.0",
|
|
618
624
|
"@angular/forms": ">=16.0.0",
|
|
619
625
|
"@angular/router": ">=16.0.0",
|
|
620
|
-
"@maskito/angular": "^3.10.
|
|
621
|
-
"@maskito/core": "^3.10.
|
|
622
|
-
"@maskito/kit": "^3.10.
|
|
623
|
-
"@maskito/phone": "^3.10.
|
|
626
|
+
"@maskito/angular": "^3.10.1",
|
|
627
|
+
"@maskito/core": "^3.10.1",
|
|
628
|
+
"@maskito/kit": "^3.10.1",
|
|
629
|
+
"@maskito/phone": "^3.10.1",
|
|
624
630
|
"@ng-web-apis/common": "^4.12.0",
|
|
625
631
|
"@ng-web-apis/intersection-observer": "^4.12.0",
|
|
626
632
|
"@ng-web-apis/mutation-observer": "^4.12.0",
|