@taiga-ui/kit 4.11.0 → 4.13.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 (97) hide show
  1. package/components/confirm/confirm.component.d.ts +1 -1
  2. package/components/drawer/drawer.component.d.ts +13 -0
  3. package/components/drawer/index.d.ts +1 -0
  4. package/components/index.d.ts +1 -0
  5. package/components/input-phone-international/input-phone-international.component.d.ts +5 -1
  6. package/components/input-phone-international/input-phone-international.options.d.ts +1 -0
  7. package/components/rating/rating.options.d.ts +3 -1
  8. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +1 -0
  9. package/directives/tooltip/index.d.ts +1 -0
  10. package/directives/tooltip/tooltip.directive.d.ts +2 -2
  11. package/directives/tooltip/tooltip.options.d.ts +7 -0
  12. package/esm2022/components/action-bar/action-bar.component.mjs +3 -3
  13. package/esm2022/components/badge/badge.directive.mjs +2 -2
  14. package/esm2022/components/block/block.options.mjs +2 -2
  15. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +3 -3
  16. package/esm2022/components/calendar-range/calendar-range.component.mjs +3 -3
  17. package/esm2022/components/carousel/carousel.component.mjs +1 -1
  18. package/esm2022/components/checkbox/checkbox.options.mjs +2 -2
  19. package/esm2022/components/chip/chip.directive.mjs +2 -2
  20. package/esm2022/components/confirm/confirm.component.mjs +3 -9
  21. package/esm2022/components/drawer/drawer.component.mjs +47 -0
  22. package/esm2022/components/drawer/index.mjs +2 -0
  23. package/esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs +5 -0
  24. package/esm2022/components/files/files.validators.mjs +3 -2
  25. package/esm2022/components/files/input-files/input-files.component.mjs +3 -3
  26. package/esm2022/components/index.mjs +2 -1
  27. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +23 -10
  28. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +2 -1
  29. package/esm2022/components/pagination/pagination.component.mjs +3 -3
  30. package/esm2022/components/pin/pin.directive.mjs +2 -2
  31. package/esm2022/components/preview/preview-dialog/preview-dialog.component.mjs +3 -3
  32. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +3 -3
  33. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +2 -2
  34. package/esm2022/components/radio/radio.options.mjs +2 -2
  35. package/esm2022/components/rating/rating.component.mjs +3 -3
  36. package/esm2022/components/rating/rating.options.mjs +1 -1
  37. package/esm2022/components/slider/slider.component.mjs +3 -5
  38. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +5 -3
  39. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +3 -3
  40. package/esm2022/directives/sensitive/sensitive.directive.mjs +3 -3
  41. package/esm2022/directives/tooltip/index.mjs +2 -1
  42. package/esm2022/directives/tooltip/tooltip.directive.mjs +20 -22
  43. package/esm2022/directives/tooltip/tooltip.options.mjs +6 -0
  44. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +2 -2
  45. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-kit-components-badge.mjs +2 -2
  47. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-kit-components-block.mjs +1 -1
  49. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +2 -2
  51. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +2 -2
  53. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-kit-components-carousel.mjs +1 -1
  55. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +1 -1
  57. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-kit-components-chip.mjs +2 -2
  59. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-kit-components-confirm.mjs +2 -8
  61. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-kit-components-drawer.mjs +53 -0
  63. package/fesm2022/taiga-ui-kit-components-drawer.mjs.map +1 -0
  64. package/fesm2022/taiga-ui-kit-components-files.mjs +4 -3
  65. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +23 -9
  67. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-kit-components-pagination.mjs +2 -2
  69. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-kit-components-pin.mjs +2 -2
  71. package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs +2 -2
  72. package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-kit-components-preview.mjs +2 -2
  74. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-kit-components-progress.mjs +4 -4
  76. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-kit-components-radio.mjs +1 -1
  78. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-kit-components-rating.mjs +2 -2
  80. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-kit-components-slider.mjs +2 -4
  82. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-kit-components-tree.mjs +4 -2
  84. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-kit-components.mjs +1 -0
  86. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +2 -2
  88. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +2 -2
  90. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +25 -22
  92. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -1
  93. package/package.json +19 -13
  94. package/styles/components/badge.less +14 -6
  95. package/styles/components/chip.less +4 -2
  96. package/styles/components/pin.less +1 -1
  97. package/tokens/i18n.d.ts +3 -0
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-tooltip.mjs","sources":["../../../projects/kit/directives/tooltip/tooltip.directive.ts","../../../projects/kit/directives/tooltip/taiga-ui-kit-directives-tooltip.ts"],"sourcesContent":["import type {DoCheck, Signal} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Directive,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TuiTextfieldComponent} from '@taiga-ui/core/components/textfield';\nimport {\n TUI_APPEARANCE_OPTIONS,\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/directives/hint';\nimport {TUI_ICON_START} from '@taiga-ui/core/tokens';\nimport {map} from 'rxjs';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./tooltip.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-tooltip',\n },\n})\nclass TuiTooltipStyles {}\n\n@Directive({\n standalone: true,\n selector: 'tui-icon[tuiTooltip]',\n providers: [\n {\n provide: TUI_APPEARANCE_OPTIONS,\n useValue: {appearance: 'icon'},\n },\n {\n provide: TUI_ICON_START,\n useFactory: () => inject(TUI_HINT_OPTIONS).icon,\n },\n ],\n hostDirectives: [\n TuiWithAppearance,\n {\n directive: TuiHintDescribe,\n inputs: ['tuiHintDescribe'],\n },\n {\n directive: TuiHintDirective,\n inputs: ['tuiHint: tuiTooltip', 'tuiHintAppearance', 'tuiHintContext'],\n },\n ],\n host: {\n tuiTooltip: '',\n '(mousedown)': 'stopOnMobile($event)',\n },\n})\nexport class TuiTooltip implements DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent, {optional: true});\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly describe = inject(TuiHintDescribe);\n private readonly driver = inject(TuiHintHover);\n\n protected readonly nothing = tuiWithStyles(TuiTooltipStyles);\n protected readonly state: Signal<unknown> = tuiAppearanceState(\n toSignal(\n inject(TuiHintHover).pipe(\n map((hover) => (hover ? 'hover' : null)),\n tuiWatch(inject(ChangeDetectorRef)),\n ),\n {initialValue: null},\n ),\n );\n\n public ngDoCheck(): void {\n if (this.textfield?.id) {\n this.describe.tuiHintDescribe = this.textfield.id;\n }\n }\n\n protected stopOnMobile(event: MouseEvent): void {\n if (this.isMobile) {\n event.preventDefault();\n event.stopPropagation();\n }\n\n this.driver.toggle();\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA4BA,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,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EAAA,EAAA,SAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,YAAA,EAAA,mBAAA,EAAA,mBAAA,EAAA,gBAAA,EAAA,gBAAA,CAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAiBQ,UAAU,EAAA,UAAA,EAAA,CAAA;kBA7BtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,sBAAsB;AAC/B,4BAAA,QAAQ,EAAE,EAAC,UAAU,EAAE,MAAM,EAAC;AACjC,yBAAA;AACD,wBAAA;AACI,4BAAA,OAAO,EAAE,cAAc;4BACvB,UAAU,EAAE,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC,IAAI;AAClD,yBAAA;AACJ,qBAAA;AACD,oBAAA,cAAc,EAAE;wBACZ,iBAAiB;AACjB,wBAAA;AACI,4BAAA,SAAS,EAAE,eAAe;4BAC1B,MAAM,EAAE,CAAC,iBAAiB,CAAC;AAC9B,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,aAAa,EAAE,sBAAsB;AACxC,qBAAA;AACJ,iBAAA,CAAA;;;ACpED;;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 type {DoCheck, Signal} from '@angular/core';\nimport {\n ChangeDetectionStrategy,\n Component,\n Directive,\n inject,\n ViewEncapsulation,\n} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {tuiWatch} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {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/directives/hint';\nimport {TUI_ICON_START} from '@taiga-ui/core/tokens';\nimport {map} from 'rxjs';\n\nimport {TUI_TOOLTIP_OPTIONS} from './tooltip.options';\n\n@Component({\n standalone: true,\n template: '',\n styleUrls: ['./tooltip.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-tooltip',\n },\n})\nclass TuiTooltipStyles {}\n\n@Directive({\n standalone: true,\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 '(click.prevent)': '0',\n '(mousedown)': 'onClick($event)',\n },\n})\nexport class TuiTooltip implements DoCheck {\n private readonly textfield = inject(TuiTextfieldComponent, {optional: true});\n private readonly isMobile = inject(TUI_IS_MOBILE);\n private readonly describe = inject(TuiHintDescribe);\n private readonly driver = inject(TuiHintHover);\n\n protected readonly nothing = tuiWithStyles(TuiTooltipStyles);\n protected readonly state: Signal<unknown> = tuiAppearanceState(\n toSignal(\n inject(TuiHintHover).pipe(\n map((hover) => (hover ? 'hover' : null)),\n tuiWatch(),\n ),\n {initialValue: null},\n ),\n );\n\n public ngDoCheck(): void {\n if (this.textfield?.id) {\n this.describe.tuiHintDescribe = this.textfield.id;\n }\n }\n\n protected onClick(event: MouseEvent): void {\n if (this.isMobile) {\n event.preventDefault();\n event.stopPropagation();\n } else {\n this.driver.toggle();\n }\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;;ACwBD,MAUM,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,iHARR,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,ouBAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;4FA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EAAA,CAAA;kBA5BtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,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,iBAAiB,EAAE,GAAG;AACtB,wBAAA,aAAa,EAAE,iBAAiB;AACnC,qBAAA;AACJ,iBAAA,CAAA;;;ACpED;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "4.11.0",
3
+ "version": "4.13.0",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -161,6 +161,12 @@
161
161
  "esm": "./esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs",
162
162
  "default": "./fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs"
163
163
  },
164
+ "./components/drawer": {
165
+ "types": "./components/drawer/index.d.ts",
166
+ "esm2022": "./esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs",
167
+ "esm": "./esm2022/components/drawer/taiga-ui-kit-components-drawer.mjs",
168
+ "default": "./fesm2022/taiga-ui-kit-components-drawer.mjs"
169
+ },
164
170
  "./components/elastic-container": {
165
171
  "types": "./components/elastic-container/index.d.ts",
166
172
  "esm2022": "./esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs",
@@ -503,17 +509,17 @@
503
509
  "@angular/core": ">=16.0.0",
504
510
  "@angular/forms": ">=16.0.0",
505
511
  "@angular/router": ">=16.0.0",
506
- "@maskito/angular": "^3.0.3",
507
- "@maskito/core": "^3.0.3",
508
- "@maskito/kit": "^3.0.3",
509
- "@maskito/phone": "^3.0.3",
510
- "@ng-web-apis/common": "^4.8.0",
511
- "@ng-web-apis/intersection-observer": "^4.8.0",
512
- "@ng-web-apis/mutation-observer": "^4.8.0",
513
- "@ng-web-apis/resize-observer": "^4.8.0",
514
- "@taiga-ui/cdk": "^4.11.0",
515
- "@taiga-ui/core": "^4.11.0",
516
- "@taiga-ui/i18n": "^4.11.0",
512
+ "@maskito/angular": "^3.1.2",
513
+ "@maskito/core": "^3.1.2",
514
+ "@maskito/kit": "^3.1.2",
515
+ "@maskito/phone": "^3.1.2",
516
+ "@ng-web-apis/common": "^4.11.1",
517
+ "@ng-web-apis/intersection-observer": "^4.11.1",
518
+ "@ng-web-apis/mutation-observer": "^4.11.1",
519
+ "@ng-web-apis/resize-observer": "^4.11.1",
520
+ "@taiga-ui/cdk": "^4.13.0",
521
+ "@taiga-ui/core": "^4.13.0",
522
+ "@taiga-ui/i18n": "^4.13.0",
517
523
  "@taiga-ui/polymorpheus": "^4.7.4",
518
524
  "rxjs": ">=7.0.0"
519
525
  },
@@ -521,6 +527,6 @@
521
527
  "typings": "index.d.ts",
522
528
  "sideEffects": false,
523
529
  "dependencies": {
524
- "tslib": ">=2.7.0"
530
+ "tslib": ">=2.8.0"
525
531
  }
526
532
  }
@@ -46,11 +46,13 @@ tui-badge,
46
46
  font-size: var(--t-icon-size) !important;
47
47
  }
48
48
 
49
- &[data-appearance='error'] {
49
+ &[data-appearance='error'], /* TODO @deprecated remove in v5 */
50
+ &[data-appearance='negative'] {
50
51
  --t-status: var(--tui-status-negative);
51
52
  }
52
53
 
53
- &[data-appearance='success'] {
54
+ &[data-appearance='success'], /* TODO @deprecated remove in v5 */
55
+ &[data-appearance='positive'] {
54
56
  --t-status: var(--tui-status-positive);
55
57
  }
56
58
 
@@ -66,8 +68,10 @@ tui-badge,
66
68
  --t-status: var(--tui-status-neutral);
67
69
  }
68
70
 
69
- &[tuiStatus][data-appearance='error']::before,
70
- &[tuiStatus][data-appearance='success']::before,
71
+ &[tuiStatus][data-appearance='error']::before, /* TODO @deprecated remove in v5 */
72
+ &[tuiStatus][data-appearance='success']::before, /* TODO @deprecated remove in v5 */
73
+ &[tuiStatus][data-appearance='negative']::before,
74
+ &[tuiStatus][data-appearance='positive']::before,
71
75
  &[tuiStatus][data-appearance='warning']::before,
72
76
  &[tuiStatus][data-appearance='info']::before,
73
77
  &[tuiStatus][data-appearance='neutral']::before {
@@ -82,6 +86,8 @@ tui-badge,
82
86
  --t-icon-size: 0.625rem;
83
87
  --t-margin: -0.125rem;
84
88
 
89
+ font: var(--tui-font-text-xs);
90
+
85
91
  &[tuiStatus]::before {
86
92
  inline-size: 0.25rem;
87
93
  block-size: 0.25rem;
@@ -110,8 +116,10 @@ tui-badge,
110
116
  }
111
117
  }
112
118
 
113
- &[tuiAppearance][data-appearance='error'],
114
- &[tuiAppearance][data-appearance='success'],
119
+ &[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
120
+ &[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
121
+ &[tuiAppearance][data-appearance='negative'],
122
+ &[tuiAppearance][data-appearance='positive'],
115
123
  &[tuiAppearance][data-appearance='warning'],
116
124
  &[tuiAppearance][data-appearance='info'],
117
125
  &[tuiAppearance][data-appearance='neutral'] {
@@ -99,8 +99,10 @@ tui-chip,
99
99
  margin: 0;
100
100
  }
101
101
 
102
- &[tuiAppearance][data-appearance='error'],
103
- &[tuiAppearance][data-appearance='success'],
102
+ &[tuiAppearance][data-appearance='error'], /* TODO @deprecated remove in v5 */
103
+ &[tuiAppearance][data-appearance='success'], /* TODO @deprecated remove in v5 */
104
+ &[tuiAppearance][data-appearance='negative'],
105
+ &[tuiAppearance][data-appearance='positive'],
104
106
  &[tuiAppearance][data-appearance='warning'],
105
107
  &[tuiAppearance][data-appearance='info'],
106
108
  &[tuiAppearance][data-appearance='neutral'] {
@@ -34,7 +34,7 @@ tui-pin,
34
34
  box-sizing: border-box;
35
35
  color: var(--tui-text-primary-on-accent-2);
36
36
  background: var(--tui-background-accent-2);
37
- box-shadow: 0 0 0 0.125rem var(--tui-background-elevation-1);
37
+ box-shadow: 0 0 0 0.125rem var(--tui-background-elevation-2);
38
38
  border: 0 solid var(--tui-background-accent-2);
39
39
  transform: translate(-50%, -50%);
40
40
 
package/tokens/i18n.d.ts CHANGED
@@ -16,8 +16,11 @@ export declare const TUI_FROM_TO_TEXTS: import("@angular/core").InjectionToken<O
16
16
  export declare const TUI_PLUS_MINUS_TEXTS: import("@angular/core").InjectionToken<Observable<readonly [plus: string, minus: string]>>;
17
17
  export declare const TUI_TIME_TEXTS: import("@angular/core").InjectionToken<Observable<{
18
18
  'HH:MM': string;
19
+ 'HH:MM AA': string;
19
20
  'HH:MM:SS': string;
21
+ 'HH:MM:SS AA': string;
20
22
  'HH:MM:SS.MSS': string;
23
+ 'HH:MM:SS.MSS AA': string;
21
24
  }>>;
22
25
  export declare const TUI_DATE_TEXTS: import("@angular/core").InjectionToken<Observable<Record<TuiDateMode, string>>>;
23
26
  export declare const TUI_DIGITAL_INFORMATION_UNITS: import("@angular/core").InjectionToken<Observable<readonly [short_byte: string, short_kilobyte: string, short_megabyte: string]>>;