@taiga-ui/kit 5.21.0-canary.d5429b6 → 5.22.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.
Files changed (91) hide show
  1. package/components/routable-dialog/routable-dialog.component.d.ts +0 -2
  2. package/components/stepper/step.component.d.ts +1 -2
  3. package/fesm2022/taiga-ui-kit-components-accordion.mjs +2 -2
  4. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -1
  5. package/fesm2022/taiga-ui-kit-components-avatar.mjs +9 -9
  6. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -1
  7. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  8. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  9. package/fesm2022/taiga-ui-kit-components-block.mjs +2 -2
  10. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  12. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-kit-components-comment.mjs +3 -3
  14. package/fesm2022/taiga-ui-kit-components-comment.mjs.map +1 -1
  15. package/fesm2022/taiga-ui-kit-components-compass.mjs +2 -2
  16. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -1
  17. package/fesm2022/taiga-ui-kit-components-copy.mjs +2 -2
  18. package/fesm2022/taiga-ui-kit-components-copy.mjs.map +1 -1
  19. package/fesm2022/taiga-ui-kit-components-files.mjs +5 -5
  20. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  21. package/fesm2022/taiga-ui-kit-components-input-color.mjs +2 -2
  22. package/fesm2022/taiga-ui-kit-components-input-color.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs +3 -3
  24. package/fesm2022/taiga-ui-kit-components-input-date-time.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-kit-components-input-date.mjs +4 -4
  26. package/fesm2022/taiga-ui-kit-components-input-date.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +2 -2
  28. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-kit-components-input-month.mjs +4 -4
  30. package/fesm2022/taiga-ui-kit-components-input-month.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-kit-components-input-number.mjs +3 -3
  32. package/fesm2022/taiga-ui-kit-components-input-number.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +2 -2
  34. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-kit-components-input-pin.mjs +3 -3
  36. package/fesm2022/taiga-ui-kit-components-input-pin.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-kit-components-input-slider.mjs +2 -2
  38. package/fesm2022/taiga-ui-kit-components-input-slider.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-kit-components-input-time.mjs +3 -3
  40. package/fesm2022/taiga-ui-kit-components-input-time.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-kit-components-like.mjs +2 -2
  42. package/fesm2022/taiga-ui-kit-components-like.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-kit-components-message.mjs +2 -2
  44. package/fesm2022/taiga-ui-kit-components-message.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-kit-components-meter.mjs +3 -3
  46. package/fesm2022/taiga-ui-kit-components-meter.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-kit-components-pin.mjs +3 -3
  48. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-kit-components-preview.mjs +3 -3
  50. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-kit-components-progress.mjs +6 -6
  52. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +2 -2
  54. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +3 -9
  56. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-kit-components-segmented.mjs +3 -3
  58. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs +2 -2
  60. package/fesm2022/taiga-ui-kit-components-shrink-wrap.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-kit-components-status.mjs +3 -3
  62. package/fesm2022/taiga-ui-kit-components-status.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-kit-components-stepper.mjs +3 -5
  64. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-kit-components-switch.mjs +2 -2
  66. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-kit-components-tabs.mjs +5 -4
  68. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-kit-components-textarea.mjs +3 -3
  70. package/fesm2022/taiga-ui-kit-components-textarea.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-kit-components-tiles.mjs +4 -4
  72. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-kit-components-toast.mjs +4 -4
  74. package/fesm2022/taiga-ui-kit-components-toast.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +3 -3
  76. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +2 -2
  78. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-kit-directives-connected.mjs +3 -3
  80. package/fesm2022/taiga-ui-kit-directives-connected.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-kit-directives-fade.mjs +3 -3
  82. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +3 -3
  84. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs +2 -2
  86. package/fesm2022/taiga-ui-kit-directives-shimmer.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +3 -3
  88. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +2 -2
  90. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  91. package/package.json +47 -47
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-tooltip.mjs","sources":["../../../projects/kit/directives/tooltip/tooltip.options.ts","../../../projects/kit/directives/tooltip/tooltip.directive.ts","../../../projects/kit/directives/tooltip/taiga-ui-kit-directives-tooltip.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\nexport const [TUI_TOOLTIP_OPTIONS, tuiTooltipOptionsProvider] = tuiCreateOptions({\n icon: '',\n appearance: 'icon',\n});\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n type DoCheck,\n inject,\n input,\n type Signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {WA_IS_MOBILE} from '@ng-web-apis/platform';\nimport {TUI_VERSION} from '@taiga-ui/cdk/constants';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {tuiSetSignal, tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n tuiAppearanceOptionsProvider,\n tuiAppearanceState,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {\n TUI_HINT_OPTIONS,\n TuiHintDescribe,\n TuiHintDirective,\n TuiHintHover,\n} from '@taiga-ui/core/portals/hint';\nimport {TUI_ICON_START} from '@taiga-ui/core/tokens';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\nimport {map} from 'rxjs';\n\nimport {TUI_TOOLTIP_OPTIONS} from './tooltip.options';\n\n@Component({\n template: '',\n styles: `\n [data-tui-version='${TUI_VERSION}'] {\n @import './tooltip.style.less';\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: `tui-tooltip-${TUI_VERSION}`,\n})\nclass Styles {}\n\n@Directive({\n selector: 'tui-icon[tuiTooltip]',\n providers: [\n tuiAppearanceOptionsProvider(TUI_TOOLTIP_OPTIONS),\n {\n provide: TUI_ICON_START,\n useFactory: () =>\n inject(TUI_TOOLTIP_OPTIONS).icon || inject(TUI_HINT_OPTIONS).icon,\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiHintDescribe,\n inputs: ['tuiHintDescribe: tuiTooltipDescribe'],\n },\n {\n directive: TuiHintDirective,\n inputs: ['tuiHint: tuiTooltip', 'tuiHintAppearance', 'tuiHintContext'],\n },\n ],\n host: {\n tuiTooltip: '',\n class: 'tui-interactive',\n '[attr.data-size]': 'size()',\n '[attr.tabindex]': 'describe.id() ? null : 0',\n '(click.prevent)': '0',\n '(mousedown.prevent)': '0',\n '(pointerdown)': 'onClick($event)',\n },\n})\nexport class TuiTooltip implements DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent, {optional: true});\n private readonly isMobile = inject(WA_IS_MOBILE);\n\n protected readonly describe = inject(TuiHintDescribe);\n protected readonly nothing = tuiWithStyles(Styles);\n\n protected readonly state: Signal<unknown> = tuiAppearanceState(\n toSignal(\n inject(TuiHintHover).pipe(\n map((hover) => (hover && this.tuiTooltip() ? 'hover' : null)),\n tuiWatch(),\n ),\n {initialValue: null},\n ),\n );\n\n public readonly size = input<TuiSizeS>('m');\n public readonly tuiTooltip = input<unknown>();\n\n public ngDoCheck(): void {\n if (this.textfield) {\n tuiSetSignal(this.describe.id, this.textfield.input()?.nativeElement.id);\n }\n }\n\n protected onClick(event: MouseEvent): void {\n if (!this.isMobile) {\n return;\n }\n\n event.stopPropagation();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAEa,CAAC,mBAAmB,EAAE,yBAAyB,CAAC,GAAG,gBAAgB,CAAC;AAC7E,IAAA,IAAI,EAAE,EAAE;AACR,IAAA,UAAU,EAAE,MAAM;AACrB,CAAA;;AC4BD,MAWM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,yHAVE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,ohCAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAUV,MAAM,EAAA,UAAA,EAAA,CAAA;kBAXX,SAAS;+BACI,EAAE,EAAA,aAAA,EAMG,iBAAiB,CAAC,IAAI,EAAA,eAAA,EACpB,uBAAuB,CAAC,MAAM,EAAA,QAAA,EACrC,CAAA,YAAA,EAAe,WAAW,CAAA,CAAE,EAAA,MAAA,EAAA,CAAA,ohCAAA,CAAA,EAAA;;MAmC7B,UAAU,CAAA;AA/BvB,IAAA,WAAA,GAAA;QAgCqB,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,qBAAqB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;AAC3D,QAAA,IAAA,CAAA,QA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A,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,SAAS,EAAE;wBACP,4BAA4B,CAAC,mBAAmB,CAAC;AACjD,wBAAA;AACI,4BAAA,OAAO,EAAE,cAAc;AACvB,4BAAA,UAAU,EAAE,MACR,MAAM,CAAC,mBAAmB,CAAC,CAAC,IAAI,IAAI,MAAM,CAAC,gBAAgB,CAAC,CAAC,IAAI;AACxE,yBAAA;AACJ,qBAAA;AACD,oBAAA,cAAc,EAAE;wBACZ,iBAAiB;AACjB,wBAAA;AACI,4BAAA,SAAS,EAAE,eAAe;4BAC1B,MAAM,EAAE,CAAC,qCAAqC,CAAC;AAClD,yBAAA;AACD,wBAAA;AACI,4BAAA,SAAS,EAAE,gBAAgB;AAC3B,4BAAA,MAAM,EAAE,CAAC,qBAAqB,EAAE,mBAAmB,EAAE,gBAAgB,CAAC;AACzE,yBAAA;AACJ,qBAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,UAAU,EAAE,EAAE;AACd,wBAAA,KAAK,EAAE,iBAAiB;AACxB,wBAAA,kBAAkB,EAAE,QAAQ;AAC5B,wBAAA,iBAAiB,EAAE,0BAA0B;AAC7C,wBAAA,iBAAiB,EAAE,GAAG;AACtB,wBAAA,qBAAqB,EAAE,GAAG;AAC1B,wBAAA,eAAe,EAAE,iBAAiB;AACrC,qBAAA;AACJ,iBAAA;;;AC5ED;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-tooltip.mjs","sources":["../../../projects/kit/directives/tooltip/tooltip.options.ts","../../../projects/kit/directives/tooltip/tooltip.directive.ts","../../../projects/kit/directives/tooltip/taiga-ui-kit-directives-tooltip.ts"],"sourcesContent":["import {tuiCreateOptions} from '@taiga-ui/cdk/utils/di';\n\nexport const [TUI_TOOLTIP_OPTIONS, tuiTooltipOptionsProvider] = tuiCreateOptions({\n icon: '',\n appearance: 'icon',\n});\n","import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n type DoCheck,\n inject,\n input,\n type Signal,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {WA_IS_MOBILE} from '@ng-web-apis/platform';\nimport {TUI_VERSION} from '@taiga-ui/cdk/constants';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {tuiSetSignal, tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n tuiAppearanceOptionsProvider,\n tuiAppearanceState,\n TuiWithAppearance,\n} from '@taiga-ui/core/directives/appearance';\nimport {\n TUI_HINT_OPTIONS,\n TuiHintDescribe,\n TuiHintDirective,\n TuiHintHover,\n} from '@taiga-ui/core/portals/hint';\nimport {TUI_ICON_START} from '@taiga-ui/core/tokens';\nimport {type TuiSizeS} from '@taiga-ui/core/types';\nimport {map} from 'rxjs';\n\nimport {TUI_TOOLTIP_OPTIONS} from './tooltip.options';\n\n@Component({\n template: '',\n styles: `\n [data-tui-version='${TUI_VERSION}'] {\n @import './tooltip.style.less';\n }\n `,\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n exportAs: `tui-tooltip-${TUI_VERSION}`,\n})\nclass Styles {}\n\n@Directive({\n selector: 'tui-icon[tuiTooltip]',\n providers: [\n tuiAppearanceOptionsProvider(TUI_TOOLTIP_OPTIONS),\n {\n provide: TUI_ICON_START,\n useFactory: () =>\n inject(TUI_TOOLTIP_OPTIONS).icon || inject(TUI_HINT_OPTIONS).icon,\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiHintDescribe,\n inputs: ['tuiHintDescribe: tuiTooltipDescribe'],\n },\n {\n directive: TuiHintDirective,\n inputs: ['tuiHint: tuiTooltip', 'tuiHintAppearance', 'tuiHintContext'],\n },\n ],\n host: {\n tuiTooltip: '',\n class: 'tui-interactive',\n '[attr.data-size]': 'size()',\n '[attr.tabindex]': 'describe.id() ? null : 0',\n '(click.prevent)': '0',\n '(mousedown.prevent)': '0',\n '(pointerdown)': 'onClick($event)',\n },\n})\nexport class TuiTooltip implements DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent, {optional: true});\n private readonly isMobile = inject(WA_IS_MOBILE);\n\n protected readonly describe = inject(TuiHintDescribe);\n protected readonly nothing = tuiWithStyles(Styles);\n\n protected readonly state: Signal<unknown> = tuiAppearanceState(\n toSignal(\n inject(TuiHintHover).pipe(\n map((hover) => (hover && this.tuiTooltip() ? 'hover' : null)),\n tuiWatch(),\n ),\n {initialValue: null},\n ),\n );\n\n public readonly size = input<TuiSizeS>('m');\n public readonly tuiTooltip = input<unknown>();\n\n public ngDoCheck(): void {\n if (this.textfield) {\n tuiSetSignal(this.describe.id, this.textfield.input()?.nativeElement.id);\n }\n }\n\n protected onClick(event: MouseEvent): void {\n if (!this.isMobile) {\n return;\n }\n\n event.stopPropagation();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAEa,CAAC,mBAAmB,EAAE,yBAAyB,CAAC,GAAG,gBAAgB,CAAC;AAC7E,IAAA,IAAI,EAAE,EAAE;AACR,IAAA,UAAU,EAAE,MAAM;AACrB,CAAA;;AC4BD,MAWM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,MAAM,0GAVE,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,64BAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;;4FAUV,MAAM,EAAA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;AC5ED;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "5.21.0-canary.d5429b6",
3
+ "version": "5.22.0",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -43,11 +43,11 @@
43
43
  "@ng-web-apis/mutation-observer": "^5.3.0",
44
44
  "@ng-web-apis/platform": "^5.3.0",
45
45
  "@ng-web-apis/resize-observer": "^5.3.0",
46
- "@taiga-ui/cdk": "5.21.0",
47
- "@taiga-ui/core": "5.21.0",
48
- "@taiga-ui/i18n": "5.21.0",
46
+ "@taiga-ui/cdk": "5.22.0",
47
+ "@taiga-ui/core": "5.22.0",
48
+ "@taiga-ui/i18n": "5.22.0",
49
49
  "@taiga-ui/polymorpheus": "^5.0.1",
50
- "@taiga-ui/styles": "5.21.0",
50
+ "@taiga-ui/styles": "5.22.0",
51
51
  "rxjs": ">=7.0.0"
52
52
  },
53
53
  "module": "fesm2022/taiga-ui-kit.mjs",
@@ -120,14 +120,14 @@
120
120
  "types": "./components/calendar-month/index.d.ts",
121
121
  "default": "./fesm2022/taiga-ui-kit-components-calendar-month.mjs"
122
122
  },
123
- "./components/calendar-range": {
124
- "types": "./components/calendar-range/index.d.ts",
125
- "default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
126
- },
127
123
  "./components/chip": {
128
124
  "types": "./components/chip/index.d.ts",
129
125
  "default": "./fesm2022/taiga-ui-kit-components-chip.mjs"
130
126
  },
127
+ "./components/calendar-range": {
128
+ "types": "./components/calendar-range/index.d.ts",
129
+ "default": "./fesm2022/taiga-ui-kit-components-calendar-range.mjs"
130
+ },
131
131
  "./components/combo-box": {
132
132
  "types": "./components/combo-box/index.d.ts",
133
133
  "default": "./fesm2022/taiga-ui-kit-components-combo-box.mjs"
@@ -260,14 +260,14 @@
260
260
  "types": "./components/meter/index.d.ts",
261
261
  "default": "./fesm2022/taiga-ui-kit-components-meter.mjs"
262
262
  },
263
- "./components/multi-select": {
264
- "types": "./components/multi-select/index.d.ts",
265
- "default": "./fesm2022/taiga-ui-kit-components-multi-select.mjs"
266
- },
267
263
  "./components/notification-middle": {
268
264
  "types": "./components/notification-middle/index.d.ts",
269
265
  "default": "./fesm2022/taiga-ui-kit-components-notification-middle.mjs"
270
266
  },
267
+ "./components/multi-select": {
268
+ "types": "./components/multi-select/index.d.ts",
269
+ "default": "./fesm2022/taiga-ui-kit-components-multi-select.mjs"
270
+ },
271
271
  "./components/pager": {
272
272
  "types": "./components/pager/index.d.ts",
273
273
  "default": "./fesm2022/taiga-ui-kit-components-pager.mjs"
@@ -276,17 +276,17 @@
276
276
  "types": "./components/pagination/index.d.ts",
277
277
  "default": "./fesm2022/taiga-ui-kit-components-pagination.mjs"
278
278
  },
279
- "./components/pincode": {
280
- "types": "./components/pincode/index.d.ts",
281
- "default": "./fesm2022/taiga-ui-kit-components-pincode.mjs"
279
+ "./components/pin": {
280
+ "types": "./components/pin/index.d.ts",
281
+ "default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
282
282
  },
283
283
  "./components/preview": {
284
284
  "types": "./components/preview/index.d.ts",
285
285
  "default": "./fesm2022/taiga-ui-kit-components-preview.mjs"
286
286
  },
287
- "./components/pin": {
288
- "types": "./components/pin/index.d.ts",
289
- "default": "./fesm2022/taiga-ui-kit-components-pin.mjs"
287
+ "./components/pincode": {
288
+ "types": "./components/pincode/index.d.ts",
289
+ "default": "./fesm2022/taiga-ui-kit-components-pincode.mjs"
290
290
  },
291
291
  "./components/progress": {
292
292
  "types": "./components/progress/index.d.ts",
@@ -296,14 +296,14 @@
296
296
  "types": "./components/pulse/index.d.ts",
297
297
  "default": "./fesm2022/taiga-ui-kit-components-pulse.mjs"
298
298
  },
299
- "./components/radio-list": {
300
- "types": "./components/radio-list/index.d.ts",
301
- "default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
302
- },
303
299
  "./components/push": {
304
300
  "types": "./components/push/index.d.ts",
305
301
  "default": "./fesm2022/taiga-ui-kit-components-push.mjs"
306
302
  },
303
+ "./components/radio-list": {
304
+ "types": "./components/radio-list/index.d.ts",
305
+ "default": "./fesm2022/taiga-ui-kit-components-radio-list.mjs"
306
+ },
307
307
  "./components/range": {
308
308
  "types": "./components/range/index.d.ts",
309
309
  "default": "./fesm2022/taiga-ui-kit-components-range.mjs"
@@ -316,14 +316,14 @@
316
316
  "types": "./components/routable-dialog/index.d.ts",
317
317
  "default": "./fesm2022/taiga-ui-kit-components-routable-dialog.mjs"
318
318
  },
319
- "./components/select": {
320
- "types": "./components/select/index.d.ts",
321
- "default": "./fesm2022/taiga-ui-kit-components-select.mjs"
322
- },
323
319
  "./components/segmented": {
324
320
  "types": "./components/segmented/index.d.ts",
325
321
  "default": "./fesm2022/taiga-ui-kit-components-segmented.mjs"
326
322
  },
323
+ "./components/select": {
324
+ "types": "./components/select/index.d.ts",
325
+ "default": "./fesm2022/taiga-ui-kit-components-select.mjs"
326
+ },
327
327
  "./components/shrink-wrap": {
328
328
  "types": "./components/shrink-wrap/index.d.ts",
329
329
  "default": "./fesm2022/taiga-ui-kit-components-shrink-wrap.mjs"
@@ -340,14 +340,14 @@
340
340
  "types": "./components/switch/index.d.ts",
341
341
  "default": "./fesm2022/taiga-ui-kit-components-switch.mjs"
342
342
  },
343
- "./components/tabs": {
344
- "types": "./components/tabs/index.d.ts",
345
- "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
346
- },
347
343
  "./components/textarea": {
348
344
  "types": "./components/textarea/index.d.ts",
349
345
  "default": "./fesm2022/taiga-ui-kit-components-textarea.mjs"
350
346
  },
347
+ "./components/tabs": {
348
+ "types": "./components/tabs/index.d.ts",
349
+ "default": "./fesm2022/taiga-ui-kit-components-tabs.mjs"
350
+ },
351
351
  "./components/tiles": {
352
352
  "types": "./components/tiles/index.d.ts",
353
353
  "default": "./fesm2022/taiga-ui-kit-components-tiles.mjs"
@@ -392,14 +392,14 @@
392
392
  "types": "./directives/fade/index.d.ts",
393
393
  "default": "./fesm2022/taiga-ui-kit-directives-fade.mjs"
394
394
  },
395
- "./directives/highlight": {
396
- "types": "./directives/highlight/index.d.ts",
397
- "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
398
- },
399
395
  "./directives/fluid-typography": {
400
396
  "types": "./directives/fluid-typography/index.d.ts",
401
397
  "default": "./fesm2022/taiga-ui-kit-directives-fluid-typography.mjs"
402
398
  },
399
+ "./directives/highlight": {
400
+ "types": "./directives/highlight/index.d.ts",
401
+ "default": "./fesm2022/taiga-ui-kit-directives-highlight.mjs"
402
+ },
403
403
  "./directives/password": {
404
404
  "types": "./directives/password/index.d.ts",
405
405
  "default": "./fesm2022/taiga-ui-kit-directives-password.mjs"
@@ -408,6 +408,10 @@
408
408
  "types": "./directives/present/index.d.ts",
409
409
  "default": "./fesm2022/taiga-ui-kit-directives-present.mjs"
410
410
  },
411
+ "./directives/sensitive": {
412
+ "types": "./directives/sensitive/index.d.ts",
413
+ "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
414
+ },
411
415
  "./directives/shimmer": {
412
416
  "types": "./directives/shimmer/index.d.ts",
413
417
  "default": "./fesm2022/taiga-ui-kit-directives-shimmer.mjs"
@@ -424,10 +428,6 @@
424
428
  "types": "./directives/unfinished-validator/index.d.ts",
425
429
  "default": "./fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs"
426
430
  },
427
- "./directives/sensitive": {
428
- "types": "./directives/sensitive/index.d.ts",
429
- "default": "./fesm2022/taiga-ui-kit-directives-sensitive.mjs"
430
- },
431
431
  "./directives/unmask-handler": {
432
432
  "types": "./directives/unmask-handler/index.d.ts",
433
433
  "default": "./fesm2022/taiga-ui-kit-directives-unmask-handler.mjs"
@@ -444,6 +444,10 @@
444
444
  "types": "./pipes/flag/index.d.ts",
445
445
  "default": "./fesm2022/taiga-ui-kit-pipes-flag.mjs"
446
446
  },
447
+ "./pipes/format-number": {
448
+ "types": "./pipes/format-number/index.d.ts",
449
+ "default": "./fesm2022/taiga-ui-kit-pipes-format-number.mjs"
450
+ },
447
451
  "./pipes/hide-selected": {
448
452
  "types": "./pipes/hide-selected/index.d.ts",
449
453
  "default": "./fesm2022/taiga-ui-kit-pipes-hide-selected.mjs"
@@ -452,14 +456,6 @@
452
456
  "types": "./pipes/initials/index.d.ts",
453
457
  "default": "./fesm2022/taiga-ui-kit-pipes-initials.mjs"
454
458
  },
455
- "./pipes/format-number": {
456
- "types": "./pipes/format-number/index.d.ts",
457
- "default": "./fesm2022/taiga-ui-kit-pipes-format-number.mjs"
458
- },
459
- "./pipes/sort-countries": {
460
- "types": "./pipes/sort-countries/index.d.ts",
461
- "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
462
- },
463
459
  "./pipes/stringify": {
464
460
  "types": "./pipes/stringify/index.d.ts",
465
461
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify.mjs"
@@ -467,6 +463,10 @@
467
463
  "./pipes/stringify-content": {
468
464
  "types": "./pipes/stringify-content/index.d.ts",
469
465
  "default": "./fesm2022/taiga-ui-kit-pipes-stringify-content.mjs"
466
+ },
467
+ "./pipes/sort-countries": {
468
+ "types": "./pipes/sort-countries/index.d.ts",
469
+ "default": "./fesm2022/taiga-ui-kit-pipes-sort-countries.mjs"
470
470
  }
471
471
  },
472
472
  "sideEffects": false,