@taiga-ui/legacy 4.7.0 → 4.8.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 (144) hide show
  1. package/classes/control.d.ts +1 -1
  2. package/classes/interactive.d.ts +0 -1
  3. package/components/color-selector/flat-picker/flat-picker.component.d.ts +1 -1
  4. package/components/color-selector/linear-multi-picker/linear-multi-picker.component.d.ts +1 -1
  5. package/components/color-selector/linear-picker/linear-picker.component.d.ts +1 -1
  6. package/components/color-selector/services/picker.service.d.ts +3 -0
  7. package/components/input-date-range/input-date-range.component.d.ts +1 -1
  8. package/components/input-month/input-month.directive.d.ts +1 -1
  9. package/components/input-month-range/input-month-range.directive.d.ts +5 -1
  10. package/components/input-tag/input-tag.component.d.ts +3 -1
  11. package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +4 -1
  12. package/components/svg/svg.component.d.ts +0 -1
  13. package/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.d.ts +2 -1
  14. package/directives/wrapper/wrapper.directive.d.ts +2 -1
  15. package/esm2022/classes/control.mjs +1 -1
  16. package/esm2022/classes/interactive.mjs +4 -4
  17. package/esm2022/components/arrow/arrow.component.mjs +3 -2
  18. package/esm2022/components/color-selector/color-edit/color-edit.component.mjs +5 -3
  19. package/esm2022/components/color-selector/color-picker/color-picker.component.mjs +5 -3
  20. package/esm2022/components/color-selector/color-selector.component.mjs +5 -3
  21. package/esm2022/components/color-selector/flat-picker/flat-picker.component.mjs +9 -7
  22. package/esm2022/components/color-selector/linear-multi-picker/linear-multi-picker.component.mjs +7 -6
  23. package/esm2022/components/color-selector/linear-picker/linear-picker.component.mjs +9 -7
  24. package/esm2022/components/color-selector/palette/palette.component.mjs +5 -3
  25. package/esm2022/components/color-selector/services/picker.service.mjs +8 -8
  26. package/esm2022/components/combo-box/combo-box.component.mjs +3 -2
  27. package/esm2022/components/input/input.component.mjs +3 -2
  28. package/esm2022/components/input-color/input-color.component.mjs +3 -2
  29. package/esm2022/components/input-copy/input-copy.component.mjs +3 -2
  30. package/esm2022/components/input-date/input-date.component.mjs +3 -2
  31. package/esm2022/components/input-date-multi/input-date-multi.component.mjs +3 -2
  32. package/esm2022/components/input-date-range/input-date-range.component.mjs +9 -5
  33. package/esm2022/components/input-date-time/input-date-time.component.mjs +3 -2
  34. package/esm2022/components/input-month/input-month.component.mjs +3 -2
  35. package/esm2022/components/input-month/input-month.directive.mjs +5 -5
  36. package/esm2022/components/input-month-range/input-month-range.component.mjs +3 -2
  37. package/esm2022/components/input-month-range/input-month-range.directive.mjs +9 -9
  38. package/esm2022/components/input-number/input-number.component.mjs +3 -2
  39. package/esm2022/components/input-password/input-password.component.mjs +3 -2
  40. package/esm2022/components/input-phone/input-phone.component.mjs +3 -2
  41. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +3 -2
  42. package/esm2022/components/input-range/input-range.component.mjs +3 -2
  43. package/esm2022/components/input-slider/input-slider.component.mjs +3 -2
  44. package/esm2022/components/input-tag/input-tag.component.mjs +16 -4
  45. package/esm2022/components/input-time/input-time.component.mjs +3 -2
  46. package/esm2022/components/input-time/native-time/native-time.component.mjs +3 -2
  47. package/esm2022/components/input-year/input-year.component.mjs +3 -2
  48. package/esm2022/components/multi-select/multi-select-group/multi-select-group.component.mjs +3 -2
  49. package/esm2022/components/multi-select/multi-select.component.mjs +3 -2
  50. package/esm2022/components/multi-select/native-multi-select/native-multi-select-group.component.mjs +3 -2
  51. package/esm2022/components/multi-select/native-multi-select/native-multi-select.component.mjs +3 -2
  52. package/esm2022/components/multi-select-option/multi-select-option.component.mjs +5 -3
  53. package/esm2022/components/primitive-textfield/primitive-textfield.component.mjs +5 -4
  54. package/esm2022/components/primitive-textfield/textfield/textfield.component.mjs +4 -3
  55. package/esm2022/components/primitive-textfield/value-decoration/value-decoration.component.mjs +3 -2
  56. package/esm2022/components/select/native-select/native-select-group.component.mjs +3 -2
  57. package/esm2022/components/select/native-select/native-select.component.mjs +3 -2
  58. package/esm2022/components/select/select.component.mjs +3 -2
  59. package/esm2022/components/select-option/select-option.component.mjs +5 -3
  60. package/esm2022/components/sheet/components/sheet/sheet.component.mjs +3 -2
  61. package/esm2022/components/sheet/components/sheet-bar/sheet-bar.component.mjs +5 -3
  62. package/esm2022/components/sheet/components/sheet-heading/sheet-heading.component.mjs +5 -3
  63. package/esm2022/components/sheet/components/sheets-host/sheets-host.component.mjs +5 -3
  64. package/esm2022/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +12 -12
  65. package/esm2022/components/svg/svg.component.mjs +6 -4
  66. package/esm2022/components/table-bar/table-bar.component.mjs +3 -2
  67. package/esm2022/components/table-bar/table-bars-host.component.mjs +5 -3
  68. package/esm2022/components/tag/tag.component.mjs +3 -2
  69. package/esm2022/components/textarea/textarea.component.mjs +3 -2
  70. package/esm2022/components/tooltip/tooltip.component.mjs +3 -2
  71. package/esm2022/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.mjs +4 -4
  72. package/esm2022/directives/wrapper/wrapper.directive.mjs +1 -1
  73. package/fesm2022/taiga-ui-legacy-classes.mjs +3 -3
  74. package/fesm2022/taiga-ui-legacy-classes.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-legacy-components-arrow.mjs +2 -1
  76. package/fesm2022/taiga-ui-legacy-components-arrow.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs +45 -32
  78. package/fesm2022/taiga-ui-legacy-components-color-selector.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs +2 -1
  80. package/fesm2022/taiga-ui-legacy-components-combo-box.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-legacy-components-input-color.mjs +2 -1
  82. package/fesm2022/taiga-ui-legacy-components-input-color.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs +2 -1
  84. package/fesm2022/taiga-ui-legacy-components-input-copy.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs +2 -1
  86. package/fesm2022/taiga-ui-legacy-components-input-date-multi.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs +8 -4
  88. package/fesm2022/taiga-ui-legacy-components-input-date-range.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs +2 -1
  90. package/fesm2022/taiga-ui-legacy-components-input-date-time.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-legacy-components-input-date.mjs +2 -1
  92. package/fesm2022/taiga-ui-legacy-components-input-date.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs +9 -8
  94. package/fesm2022/taiga-ui-legacy-components-input-month-range.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-legacy-components-input-month.mjs +6 -5
  96. package/fesm2022/taiga-ui-legacy-components-input-month.mjs.map +1 -1
  97. package/fesm2022/taiga-ui-legacy-components-input-number.mjs +2 -1
  98. package/fesm2022/taiga-ui-legacy-components-input-number.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-legacy-components-input-password.mjs +2 -1
  100. package/fesm2022/taiga-ui-legacy-components-input-password.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs +2 -1
  102. package/fesm2022/taiga-ui-legacy-components-input-phone-international.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs +2 -1
  104. package/fesm2022/taiga-ui-legacy-components-input-phone.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-legacy-components-input-range.mjs +2 -1
  106. package/fesm2022/taiga-ui-legacy-components-input-range.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs +2 -1
  108. package/fesm2022/taiga-ui-legacy-components-input-slider.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs +16 -5
  110. package/fesm2022/taiga-ui-legacy-components-input-tag.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-legacy-components-input-time.mjs +4 -2
  112. package/fesm2022/taiga-ui-legacy-components-input-time.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-legacy-components-input-year.mjs +2 -1
  114. package/fesm2022/taiga-ui-legacy-components-input-year.mjs.map +1 -1
  115. package/fesm2022/taiga-ui-legacy-components-input.mjs +2 -1
  116. package/fesm2022/taiga-ui-legacy-components-input.mjs.map +1 -1
  117. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs +4 -2
  118. package/fesm2022/taiga-ui-legacy-components-multi-select-option.mjs.map +1 -1
  119. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs +8 -4
  120. package/fesm2022/taiga-ui-legacy-components-multi-select.mjs.map +1 -1
  121. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs +9 -6
  122. package/fesm2022/taiga-ui-legacy-components-primitive-textfield.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-legacy-components-select-option.mjs +4 -2
  124. package/fesm2022/taiga-ui-legacy-components-select-option.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-legacy-components-select.mjs +6 -3
  126. package/fesm2022/taiga-ui-legacy-components-select.mjs.map +1 -1
  127. package/fesm2022/taiga-ui-legacy-components-sheet.mjs +25 -18
  128. package/fesm2022/taiga-ui-legacy-components-sheet.mjs.map +1 -1
  129. package/fesm2022/taiga-ui-legacy-components-svg.mjs +5 -3
  130. package/fesm2022/taiga-ui-legacy-components-svg.mjs.map +1 -1
  131. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs +6 -3
  132. package/fesm2022/taiga-ui-legacy-components-table-bar.mjs.map +1 -1
  133. package/fesm2022/taiga-ui-legacy-components-tag.mjs +2 -1
  134. package/fesm2022/taiga-ui-legacy-components-tag.mjs.map +1 -1
  135. package/fesm2022/taiga-ui-legacy-components-textarea.mjs +2 -1
  136. package/fesm2022/taiga-ui-legacy-components-textarea.mjs.map +1 -1
  137. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs +2 -1
  138. package/fesm2022/taiga-ui-legacy-components-tooltip.mjs.map +1 -1
  139. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs +3 -3
  140. package/fesm2022/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs.map +1 -1
  141. package/fesm2022/taiga-ui-legacy-directives-wrapper.mjs.map +1 -1
  142. package/package.json +1 -1
  143. package/styles/mixins/textfield.less +0 -1
  144. package/utils/icons-path-factory.d.ts +1 -1
@@ -33,11 +33,12 @@ class TuiTooltipComponent extends TuiHintOptionsDirective {
33
33
  this.driver$?.toggle();
34
34
  }
35
35
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTooltipComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTooltipComponent, selector: "tui-tooltip", inputs: { content: "content", direction: "direction", appearance: "appearance", showDelay: "showDelay", hideDelay: "hideDelay", describeId: "describeId", context: "context" }, host: { listeners: { "mousedown": "stopOnMobile($event)" }, properties: { "attr.data-appearance": "computedAppearance" } }, viewQueries: [{ propertyName: "driver$", first: true, predicate: TuiHintHover, descendants: true }], usesInheritance: true, ngImport: i0, template: "<span\n #driver=\"tuiHintHover\"\n automation-id=\"tui-tooltip__icon\"\n tuiAppearance=\"icon\"\n class=\"t-tooltip-icon\"\n [tuiAppearanceState]=\"(driver | async) ? 'hover' : null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-icon\n *polymorpheusOutlet=\"icon as src\"\n class=\"t-icon\"\n [icon]=\"src\"\n />\n</span>\n", styles: [":host{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;inline-size:1.5rem;block-size:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}:host[data-appearance=error]{color:var(--tui-text-negative)}.t-tooltip-icon{display:inline-block;inline-size:100%;block-size:100%}.t-icon{border:.25rem solid transparent}\n"], dependencies: [{ kind: "component", type: i1.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: i1$1.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"] }, { kind: "directive", type: i1$1.TuiHintDescribe, selector: "[tuiHintDescribe]", inputs: ["tuiHintDescribe"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
36
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTooltipComponent, selector: "tui-tooltip", inputs: { content: "content", direction: "direction", appearance: "appearance", showDelay: "showDelay", hideDelay: "hideDelay", describeId: "describeId", context: "context" }, host: { attributes: { "ngSkipHydration": "true" }, listeners: { "mousedown": "stopOnMobile($event)" }, properties: { "attr.data-appearance": "computedAppearance" } }, viewQueries: [{ propertyName: "driver$", first: true, predicate: TuiHintHover, descendants: true }], usesInheritance: true, ngImport: i0, template: "<span\n #driver=\"tuiHintHover\"\n automation-id=\"tui-tooltip__icon\"\n tuiAppearance=\"icon\"\n class=\"t-tooltip-icon\"\n [tuiAppearanceState]=\"(driver | async) ? 'hover' : null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-icon\n *polymorpheusOutlet=\"icon as src\"\n class=\"t-icon\"\n [icon]=\"src\"\n />\n</span>\n", styles: [":host{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;inline-size:1.5rem;block-size:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}:host[data-appearance=error]{color:var(--tui-text-negative)}.t-tooltip-icon{display:inline-block;inline-size:100%;block-size:100%}.t-icon{border:.25rem solid transparent}\n"], dependencies: [{ kind: "component", type: i1.TuiIcon, selector: "tui-icon", inputs: ["icon", "background"] }, { kind: "directive", type: i2.PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: i3.TuiAppearance, selector: "[tuiAppearance]", inputs: ["tuiAppearance", "tuiAppearanceState", "tuiAppearanceFocus", "tuiAppearanceMode"] }, { kind: "directive", type: i1$1.TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: ["tuiHintContext", "tuiHintAppearance", "tuiHint"] }, { kind: "directive", type: i1$1.TuiHintDescribe, selector: "[tuiHintDescribe]", inputs: ["tuiHintDescribe"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
37
  }
38
38
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTooltipComponent, decorators: [{
39
39
  type: Component,
40
40
  args: [{ standalone: false, selector: 'tui-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'], host: {
41
+ ngSkipHydration: 'true',
41
42
  '[attr.data-appearance]': 'computedAppearance',
42
43
  '(mousedown)': 'stopOnMobile($event)',
43
44
  }, template: "<span\n #driver=\"tuiHintHover\"\n automation-id=\"tui-tooltip__icon\"\n tuiAppearance=\"icon\"\n class=\"t-tooltip-icon\"\n [tuiAppearanceState]=\"(driver | async) ? 'hover' : null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-icon\n *polymorpheusOutlet=\"icon as src\"\n class=\"t-icon\"\n [icon]=\"src\"\n />\n</span>\n", styles: [":host{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-block;inline-size:1.5rem;block-size:1.5rem;vertical-align:middle;font-size:0;line-height:0;pointer-events:auto;cursor:pointer;color:var(--tui-text-primary)}:host[data-appearance=error]{color:var(--tui-text-negative)}.t-tooltip-icon{display:inline-block;inline-size:100%;block-size:100%}.t-icon{border:.25rem solid transparent}\n"] }]
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-components-tooltip.mjs","sources":["../../../projects/legacy/components/tooltip/tooltip.component.ts","../../../projects/legacy/components/tooltip/tooltip.template.html","../../../projects/legacy/components/tooltip/tooltip.module.ts","../../../projects/legacy/components/tooltip/taiga-ui-legacy-components-tooltip.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TuiHintHover, TuiHintOptionsDirective} from '@taiga-ui/core/directives/hint';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiTooltip}\n * https://taiga-ui.dev/components/tooltip\n */\n@Component({\n standalone: false,\n selector: 'tui-tooltip',\n templateUrl: './tooltip.template.html',\n styleUrls: ['./tooltip.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'],\n host: {\n '[attr.data-appearance]': 'computedAppearance',\n '(mousedown)': 'stopOnMobile($event)',\n },\n})\nexport class TuiTooltipComponent<C = any> extends TuiHintOptionsDirective {\n private readonly isMobile = inject(TUI_IS_MOBILE);\n\n @ViewChild(TuiHintHover)\n protected readonly driver$?: TuiHintHover;\n\n @Input()\n public describeId = '';\n\n @Input()\n public context?: C;\n\n protected get computedAppearance(): string {\n return this.appearance || '';\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","<span\n #driver=\"tuiHintHover\"\n automation-id=\"tui-tooltip__icon\"\n tuiAppearance=\"icon\"\n class=\"t-tooltip-icon\"\n [tuiAppearanceState]=\"(driver | async) ? 'hover' : null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-icon\n *polymorpheusOutlet=\"icon as src\"\n class=\"t-icon\"\n [icon]=\"src\"\n />\n</span>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiTooltipComponent} from './tooltip.component';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiTooltip}\n * https://taiga-ui.dev/components/tooltip\n */\n@NgModule({\n imports: [CommonModule, TuiIcon, PolymorpheusOutlet, TuiAppearance, ...TuiHint],\n declarations: [TuiTooltipComponent],\n exports: [TuiTooltipComponent],\n})\nexport class TuiTooltipModule {}\n","/**\n * Gener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,CAAC,YAAY,EAAE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC;oBAC/E,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-components-tooltip.mjs","sources":["../../../projects/legacy/components/tooltip/tooltip.component.ts","../../../projects/legacy/components/tooltip/tooltip.template.html","../../../projects/legacy/components/tooltip/tooltip.module.ts","../../../projects/legacy/components/tooltip/taiga-ui-legacy-components-tooltip.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {TuiHintHover, TuiHintOptionsDirective} from '@taiga-ui/core/directives/hint';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiTooltip}\n * https://taiga-ui.dev/components/tooltip\n */\n@Component({\n standalone: false,\n selector: 'tui-tooltip',\n templateUrl: './tooltip.template.html',\n styleUrls: ['./tooltip.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n inputs: ['content', 'direction', 'appearance', 'showDelay', 'hideDelay'],\n host: {\n ngSkipHydration: 'true',\n '[attr.data-appearance]': 'computedAppearance',\n '(mousedown)': 'stopOnMobile($event)',\n },\n})\nexport class TuiTooltipComponent<C = any> extends TuiHintOptionsDirective {\n private readonly isMobile = inject(TUI_IS_MOBILE);\n\n @ViewChild(TuiHintHover)\n protected readonly driver$?: TuiHintHover;\n\n @Input()\n public describeId = '';\n\n @Input()\n public context?: C;\n\n protected get computedAppearance(): string {\n return this.appearance || '';\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","<span\n #driver=\"tuiHintHover\"\n automation-id=\"tui-tooltip__icon\"\n tuiAppearance=\"icon\"\n class=\"t-tooltip-icon\"\n [tuiAppearanceState]=\"(driver | async) ? 'hover' : null\"\n [tuiHint]=\"content\"\n [tuiHintAppearance]=\"computedAppearance\"\n [tuiHintContext]=\"context\"\n [tuiHintDescribe]=\"describeId\"\n [tuiHintDirection]=\"direction\"\n [tuiHintHideDelay]=\"hideDelay\"\n [tuiHintShowDelay]=\"showDelay\"\n>\n <tui-icon\n *polymorpheusOutlet=\"icon as src\"\n class=\"t-icon\"\n [icon]=\"src\"\n />\n</span>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiIcon} from '@taiga-ui/core/components/icon';\nimport {TuiAppearance} from '@taiga-ui/core/directives/appearance';\nimport {TuiHint} from '@taiga-ui/core/directives/hint';\nimport {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiTooltipComponent} from './tooltip.component';\n\n/**\n * @deprecated: drop in v5.0 use {@link TuiTooltip}\n * https://taiga-ui.dev/components/tooltip\n */\n@NgModule({\n imports: [CommonModule, TuiIcon, PolymorpheusOutlet, TuiAppearance, ...TuiHint],\n declarations: [TuiTooltipComponent],\n exports: [TuiTooltipComponent],\n})\nexport class TuiTooltipModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i4","i1"],"mappings":";;;;;;;;;;;;;;AAUA;;;AAGG;AACH,MAaa,mBAA6B,SAAQ,uBAAuB,CAAA;AAbzE,IAAA,WAAA,GAAA;;AAcqB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;QAM3C,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;AAiB1B,KAAA;AAZG,IAAA,IAAc,kBAAkB,GAAA;AAC5B,QAAA,OAAO,IAAI,CAAC,UAAU,IAAI,EAAE,CAAC;KAChC;AAES,IAAA,YAAY,CAAC,KAAiB,EAAA;QACpC,IAAI,IAAI,CAAC,QAAQ,EAAE;YACf,KAAK,CAAC,cAAc,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AA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;gHAAhB,gBAAgB,EAAA,YAAA,EAAA,CAHV,mBAAmB,CAAA,EAAA,OAAA,EAAA,CADxB,YAAY,EAAE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAAC,IAAA,CAAA,gBAAA,EAAAA,IAAA,CAAA,gBAAA,EAAAA,IAAA,CAAA,uBAAA,EAAAA,IAAA,CAAA,eAAA,EAAAA,IAAA,CAAA,aAAA,EAAAA,IAAA,CAAA,eAAA,EAAAA,IAAA,CAAA,YAAA,EAAAA,IAAA,CAAA,eAAA,EAAAA,IAAA,CAAA,eAAA,EAAAA,IAAA,CAAA,WAAA,EAAAA,IAAA,CAAA,aAAA,EAAAA,IAAA,CAAA,cAAA,CAAA,EAAA,OAAA,EAAA,CAExD,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;gHAEpB,gBAAgB,EAAA,OAAA,EAAA,CAJf,YAAY,EAAE,OAAO,EAAAA,IAAA,CAAA,gBAAA,CAAA,EAAA,CAAA,CAAA,EAAA;;4FAItB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,GAAG,OAAO,CAAC;oBAC/E,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACjBD;;AAEG;;;;"}
@@ -13,10 +13,10 @@ class TuiLegacyDropdownOpenMonitorDirective {
13
13
  this.external = inject(TuiDropdownOpenLegacy, {
14
14
  optional: true,
15
15
  });
16
- this.host.driver
16
+ this.$ = this.host.driver
17
17
  .pipe(distinctUntilChanged(), takeUntilDestroyed())
18
18
  .subscribe((open) => this.external?.tuiDropdownOpenChange.next(open));
19
- this.external?.tuiDropdownOpenChange
19
+ this.$1 = this.external?.tuiDropdownOpenChange
20
20
  .pipe(distinctUntilChanged(), takeUntilDestroyed())
21
21
  .subscribe((open) => {
22
22
  if (open) {
@@ -37,7 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
37
37
  standalone: true,
38
38
  selector: '[tuiDropdownOpenMonitor]',
39
39
  }]
40
- }], ctorParameters: function () { return []; } });
40
+ }] });
41
41
 
42
42
  /**
43
43
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs","sources":["../../../projects/legacy/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.ts","../../../projects/legacy/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.ts"],"sourcesContent":["import {Directive, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiGetClosestFocusable} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownOpen, TuiDropdownOpenLegacy} from '@taiga-ui/core/directives/dropdown';\nimport {distinctUntilChanged} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiDropdownOpenMonitor]',\n})\nexport class TuiLegacyDropdownOpenMonitorDirective {\n private readonly el = tuiInjectElement();\n private readonly host = inject(TuiDropdownOpen, {self: true});\n private readonly external = inject(TuiDropdownOpenLegacy, {\n optional: true,\n });\n\n constructor() {\n this.host.driver\n .pipe(distinctUntilChanged(), takeUntilDestroyed())\n .subscribe((open) => this.external?.tuiDropdownOpenChange.next(open));\n\n this.external?.tuiDropdownOpenChange\n .pipe(distinctUntilChanged(), takeUntilDestroyed())\n .subscribe((open) => {\n if (open) {\n tuiGetClosestFocusable({\n initial: this.el,\n root: this.el,\n })?.focus();\n }\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AA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAArC,qCAAqC,EAAA,UAAA,EAAA,CAAA;kBAJjD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;AACvC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-directives-legacy-dropdown-open-monitor.mjs","sources":["../../../projects/legacy/directives/legacy-dropdown-open-monitor/legacy-dropdown-open-monitor.ts","../../../projects/legacy/directives/legacy-dropdown-open-monitor/taiga-ui-legacy-directives-legacy-dropdown-open-monitor.ts"],"sourcesContent":["import {Directive, inject} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {tuiGetClosestFocusable} from '@taiga-ui/cdk/utils/focus';\nimport {TuiDropdownOpen, TuiDropdownOpenLegacy} from '@taiga-ui/core/directives/dropdown';\nimport {distinctUntilChanged} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiDropdownOpenMonitor]',\n})\nexport class TuiLegacyDropdownOpenMonitorDirective {\n private readonly el = tuiInjectElement();\n private readonly host = inject(TuiDropdownOpen, {self: true});\n private readonly external = inject(TuiDropdownOpenLegacy, {\n optional: true,\n });\n\n protected readonly $ = this.host.driver\n .pipe(distinctUntilChanged(), takeUntilDestroyed())\n .subscribe((open) => this.external?.tuiDropdownOpenChange.next(open));\n\n protected readonly $1 = this.external?.tuiDropdownOpenChange\n .pipe(distinctUntilChanged(), takeUntilDestroyed())\n .subscribe((open) => {\n if (open) {\n tuiGetClosestFocusable({\n initial: this.el,\n root: this.el,\n })?.focus();\n }\n\n this.host.toggle(open);\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOA,MAIa,qCAAqC,CAAA;AAJlD,I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AqC,EAAA,UAAA,EAAA,CAAA;kBAJjD,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0BAA0B;AACvC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-legacy-directives-wrapper.mjs","sources":["../../../projects/legacy/directives/wrapper/wrapper.directive.ts","../../../projects/legacy/directives/wrapper/wrapper.module.ts","../../../projects/legacy/directives/wrapper/taiga-ui-legacy-directives-wrapper.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport type {TuiInteractiveState} from '@taiga-ui/core/types';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n selector: '[tuiWrapper]',\n host: {\n '[attr.data-appearance]': 'appearance',\n '[class._invalid]': 'computedInvalid',\n '[class._focused]': 'computedFocused',\n '[attr.data-state]': 'interactiveState',\n '[class._no-hover]': 'noHover',\n '[class._no-active]': 'noActive',\n },\n})\nexport class TuiWrapperDirective {\n @Input()\n public disabled = false;\n\n @Input()\n public readOnly = false;\n\n @Input()\n public hover: boolean | null = null;\n\n @Input()\n public active: boolean | null = null;\n\n @Input()\n public focus = false;\n\n @Input()\n public invalid = false;\n\n @Input()\n public appearance = '';\n\n protected get computedInvalid(): boolean {\n return !this.disabled && !this.readOnly && this.invalid;\n }\n\n protected get computedFocused(): boolean {\n return this.focus && !this.disabled;\n }\n\n protected get interactiveState(): TuiInteractiveState | string | null {\n if (this.disabled) {\n return 'disabled';\n }\n\n if (this.readOnly) {\n return 'readonly';\n }\n\n if (this.active) {\n return 'active';\n }\n\n if (this.hover) {\n return 'hover';\n }\n\n return null;\n }\n\n protected get noHover(): boolean {\n return this.readOnly || this.hover === false;\n }\n\n protected get noActive(): boolean {\n return this.readOnly || this.active === false;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiWrapperDirective} from './wrapper.directive';\n\n/**\n * @deprecated: drop in v5.0\n */\n@NgModule({\n declarations: [TuiWrapperDirective],\n exports: [TuiWrapperDirective],\n})\nexport class TuiWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGA;;AAEG;AACH,MAYa,mBAAmB,CAAA;AAZhC,IAAA,WAAA,GAAA;QAcW,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGjB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGjB,IAAK,CAAA,KAAA,GAAmB,IAAI,CAAC;QAG7B,IAAM,CAAA,MAAA,GAAmB,IAAI,CAAC;QAG9B,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;QAGd,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;QAGhB,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;AAqC1B,KAAA;AAnCG,IAAA,IAAc,eAAe,GAAA;AACzB,QAAA,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,CAAC;KAC3D;AAED,IAAA,IAAc,eAAe,GAAA;QACzB,OAAO,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;KACvC;AAED,IAAA,IAAc,gBAAgB,GAAA;QAC1B,IAAI,IAAI,CAAC,QAAQ,EAAE;AACf,YAAA,OAAO,UAAU,CAAC;AACrB,SAAA;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE;AACf,YAAA,OAAO,UAAU,CAAC;AACrB,SAAA;QAED,IAAI,IAAI,CAAC,MAAM,EAAE;AACb,YAAA,OAAO,QAAQ,CAAC;AACnB,SAAA;QAED,IAAI,IAAI,CAAC,KAAK,EAAE;AACZ,YAAA,OAAO,OAAO,CAAC;AAClB,SAAA;AAED,QAAA,OAAO,IAAI,CAAC;KACf;AAED,IAAA,IAAc,OAAO,GAAA;QACjB,OAAO,IAAI,CAAC,QAAQ,IAAI,IAAI,CA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AAK;gBAIC,KAAK,EAAA,CAAA;sBADX,KAAK;gBAIC,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAIC,KAAK,EAAA,CAAA;sBADX,KAAK;gBAIC,OAAO,EAAA,CAAA;sBADb,KAAK;gBAIC,UAAU,EAAA,CAAA;sBADhB,KAAK;;;ACjCV;;AAEG;AACH,MAIa,gBAAgB,CAAA;+GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;gHAAhB,gBAAgB,EAAA,YAAA,EAAA,CAHV,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;gHAEpB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-legacy-directives-wrapper.mjs","sources":["../../../projects/legacy/directives/wrapper/wrapper.directive.ts","../../../projects/legacy/directives/wrapper/wrapper.module.ts","../../../projects/legacy/directives/wrapper/taiga-ui-legacy-directives-wrapper.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport type {TuiLooseUnion} from '@taiga-ui/cdk/types';\nimport type {TuiInteractiveState} from '@taiga-ui/core/types';\n\n/**\n * @deprecated: drop in v5.0\n */\n@Directive({\n standalone: false,\n selector: '[tuiWrapper]',\n host: {\n '[attr.data-appearance]': 'appearance',\n '[class._invalid]': 'computedInvalid',\n '[class._focused]': 'computedFocused',\n '[attr.data-state]': 'interactiveState',\n '[class._no-hover]': 'noHover',\n '[class._no-active]': 'noActive',\n },\n})\nexport class TuiWrapperDirective {\n @Input()\n public disabled = false;\n\n @Input()\n public readOnly = false;\n\n @Input()\n public hover: boolean | null = null;\n\n @Input()\n public active: boolean | null = null;\n\n @Input()\n public focus = false;\n\n @Input()\n public invalid = false;\n\n @Input()\n public appearance = '';\n\n protected get computedInvalid(): boolean {\n return !this.disabled && !this.readOnly && this.invalid;\n }\n\n protected get computedFocused(): boolean {\n return this.focus && !this.disabled;\n }\n\n protected get interactiveState(): TuiLooseUnion<TuiInteractiveState> | null {\n if (this.disabled) {\n return 'disabled';\n }\n\n if (this.readOnly) {\n return 'readonly';\n }\n\n if (this.active) {\n return 'active';\n }\n\n if (this.hover) {\n return 'hover';\n }\n\n return null;\n }\n\n protected get noHover(): boolean {\n return this.readOnly || this.hover === false;\n }\n\n protected get noActive(): boolean {\n return this.readOnly || this.active === false;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiWrapperDirective} from './wrapper.directive';\n\n/**\n * @deprecated: drop in v5.0\n */\n@NgModule({\n declarations: [TuiWrapperDirective],\n exports: [TuiWrapperDirective],\n})\nexport class TuiWrapperModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAIA;;AAEG;AACH,MAYa,mBAAmB,CAAA;AAZhC,IAAA,WAAA,GAAA;QAcW,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGjB,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;QAGjB,IAAK,CAAA,KAAA,GAAmB,IAAI,CAAC;QAG7B,IAAM,CAAA,MAAA,GAAmB,IAAI,CAAC;QAG9B,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;QAGd,IAAO,CAAA,OAAA,GAAG,KAAK,CAAC;QAGhB,IAAU,CAAA,UAAA,GAAG,EAAE,CAAC;AAqC1B,KAAA;AAnCG,IAAA,IAAc,eAAe,GAAA;AACzB,QAAA,OAAO,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC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mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/legacy",
3
- "version": "4.7.0",
3
+ "version": "4.8.0",
4
4
  "description": "Legacy Taiga UI entities from the previous major release to simplify migration",
5
5
  "keywords": [
6
6
  "legacy",
@@ -161,7 +161,6 @@
161
161
  :host-context(tui-primitive-textfield._hidden) {
162
162
  opacity: 0;
163
163
  text-indent: -10em; // Hide blinking caret even in IE
164
- -webkit-user-select: none; // Hide blinking caret in mobile safari
165
164
  }
166
165
  }
167
166
 
@@ -2,7 +2,7 @@ import type { TuiStringHandler } from '@taiga-ui/cdk/types';
2
2
  /**
3
3
  * @deprecated: drop in v5.0
4
4
  */
5
- export declare const TUI_CACHE_BUSTING_PAYLOAD: "?v=4.7.0";
5
+ export declare const TUI_CACHE_BUSTING_PAYLOAD: "?v=4.8.0";
6
6
  /**
7
7
  * @deprecated: drop in v5.0
8
8
  */