@taiga-ui/experimental 3.54.0 → 3.55.0-canary.3cc37e7

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/bundles/taiga-ui-experimental-components-avatar.umd.js +19 -15
  2. package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
  3. package/bundles/taiga-ui-experimental-components-badge.umd.js +117 -96
  4. package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
  5. package/bundles/taiga-ui-experimental-components-badged-content.umd.js +1 -1
  6. package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +1 -1
  7. package/bundles/taiga-ui-experimental-components-button.umd.js +30 -23
  8. package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
  9. package/bundles/taiga-ui-experimental-components-checkbox.umd.js +9 -14
  10. package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
  11. package/bundles/taiga-ui-experimental-components-icon.umd.js +23 -43
  12. package/bundles/taiga-ui-experimental-components-icon.umd.js.map +1 -1
  13. package/bundles/taiga-ui-experimental-components-toggle.umd.js +14 -30
  14. package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
  15. package/bundles/taiga-ui-experimental-directives-appearance.umd.js +82 -0
  16. package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +1 -0
  17. package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +95 -0
  18. package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +1 -0
  19. package/bundles/taiga-ui-experimental-directives-card.umd.js +89 -88
  20. package/bundles/taiga-ui-experimental-directives-card.umd.js.map +1 -1
  21. package/bundles/taiga-ui-experimental-directives-cell.umd.js +1 -1
  22. package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +1 -1
  23. package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +1 -1
  24. package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +3 -3
  25. package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +1 -1
  26. package/bundles/taiga-ui-experimental-directives-surface.umd.js +6 -5
  27. package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +1 -1
  28. package/bundles/taiga-ui-experimental-directives.umd.js +16 -4
  29. package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
  30. package/bundles/taiga-ui-experimental-tokens.umd.js +31 -0
  31. package/bundles/taiga-ui-experimental-tokens.umd.js.map +1 -0
  32. package/bundles/taiga-ui-experimental.umd.js +10 -4
  33. package/bundles/taiga-ui-experimental.umd.js.map +1 -1
  34. package/components/avatar/avatar.component.d.ts +5 -4
  35. package/components/avatar/avatar.module.d.ts +2 -2
  36. package/components/badge/badge.component.d.ts +1 -11
  37. package/components/badge/badge.directive.d.ts +13 -0
  38. package/components/badge/badge.module.d.ts +2 -1
  39. package/components/badge/badge.options.d.ts +2 -3
  40. package/components/badge/index.d.ts +1 -0
  41. package/components/button/button.component.d.ts +1 -3
  42. package/components/button/button.directive.d.ts +6 -3
  43. package/components/checkbox/checkbox.component.d.ts +5 -6
  44. package/components/icon/icon.component.d.ts +5 -1
  45. package/components/icon/icon.module.d.ts +1 -2
  46. package/components/icon/index.d.ts +0 -1
  47. package/components/toggle/toggle.component.d.ts +5 -10
  48. package/directives/appearance/appearance.directive.d.ts +9 -0
  49. package/directives/appearance/appearance.module.d.ts +7 -0
  50. package/directives/appearance/index.d.ts +2 -0
  51. package/directives/appearance/package.json +10 -0
  52. package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +5 -0
  53. package/directives/button-vertical/button-vertical.component.d.ts +5 -0
  54. package/directives/button-vertical/button-vertical.directive.d.ts +7 -0
  55. package/directives/button-vertical/button-vertical.module.d.ts +8 -0
  56. package/directives/button-vertical/index.d.ts +3 -0
  57. package/directives/button-vertical/package.json +10 -0
  58. package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +5 -0
  59. package/directives/card/card.component.d.ts +5 -0
  60. package/directives/card/card.directive.d.ts +0 -4
  61. package/directives/card/card.module.d.ts +3 -2
  62. package/directives/card/index.d.ts +1 -0
  63. package/directives/index.d.ts +2 -0
  64. package/directives/sensitive/sensitive.module.d.ts +2 -1
  65. package/esm2015/components/avatar/avatar.component.js +17 -12
  66. package/esm2015/components/avatar/avatar.module.js +5 -5
  67. package/esm2015/components/badge/badge.component.js +8 -36
  68. package/esm2015/components/badge/badge.directive.js +47 -0
  69. package/esm2015/components/badge/badge.module.js +5 -4
  70. package/esm2015/components/badge/badge.options.js +2 -2
  71. package/esm2015/components/badge/index.js +2 -1
  72. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  73. package/esm2015/components/button/button.component.js +3 -10
  74. package/esm2015/components/button/button.directive.js +22 -7
  75. package/esm2015/components/checkbox/checkbox.component.js +9 -13
  76. package/esm2015/components/icon/icon.component.js +19 -7
  77. package/esm2015/components/icon/icon.module.js +4 -5
  78. package/esm2015/components/icon/index.js +1 -2
  79. package/esm2015/components/toggle/toggle.component.js +13 -29
  80. package/esm2015/directives/appearance/appearance.directive.js +30 -0
  81. package/esm2015/directives/appearance/appearance.module.js +16 -0
  82. package/esm2015/directives/appearance/index.js +3 -0
  83. package/esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js +5 -0
  84. package/esm2015/directives/button-vertical/button-vertical.component.js +19 -0
  85. package/esm2015/directives/button-vertical/button-vertical.directive.js +22 -0
  86. package/esm2015/directives/button-vertical/button-vertical.module.js +17 -0
  87. package/esm2015/directives/button-vertical/index.js +4 -0
  88. package/esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js +5 -0
  89. package/esm2015/directives/card/card.component.js +19 -0
  90. package/esm2015/directives/card/card.directive.js +3 -18
  91. package/esm2015/directives/card/card.module.js +3 -2
  92. package/esm2015/directives/card/index.js +2 -1
  93. package/esm2015/directives/cell/cell.component.js +1 -1
  94. package/esm2015/directives/index.js +3 -1
  95. package/esm2015/directives/progress-segmented/progress-segmented.component.js +1 -1
  96. package/esm2015/directives/sensitive/sensitive.component.js +1 -1
  97. package/esm2015/directives/sensitive/sensitive.module.js +4 -3
  98. package/esm2015/directives/surface/surface.component.js +1 -1
  99. package/esm2015/directives/surface/surface.directive.js +7 -6
  100. package/esm2015/index.js +2 -1
  101. package/esm2015/tokens/icon-resolver.js +15 -0
  102. package/esm2015/tokens/index.js +2 -0
  103. package/esm2015/tokens/taiga-ui-experimental-tokens.js +5 -0
  104. package/fesm2015/taiga-ui-experimental-components-avatar.js +20 -15
  105. package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
  106. package/fesm2015/taiga-ui-experimental-components-badge.js +41 -25
  107. package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
  108. package/fesm2015/taiga-ui-experimental-components-badged-content.js +1 -1
  109. package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +1 -1
  110. package/fesm2015/taiga-ui-experimental-components-button.js +25 -17
  111. package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
  112. package/fesm2015/taiga-ui-experimental-components-checkbox.js +8 -12
  113. package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
  114. package/fesm2015/taiga-ui-experimental-components-icon.js +21 -37
  115. package/fesm2015/taiga-ui-experimental-components-icon.js.map +1 -1
  116. package/fesm2015/taiga-ui-experimental-components-toggle.js +12 -28
  117. package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
  118. package/fesm2015/taiga-ui-experimental-directives-appearance.js +50 -0
  119. package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +1 -0
  120. package/fesm2015/taiga-ui-experimental-directives-button-vertical.js +58 -0
  121. package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +1 -0
  122. package/fesm2015/taiga-ui-experimental-directives-card.js +1 -0
  123. package/fesm2015/taiga-ui-experimental-directives-card.js.map +1 -1
  124. package/fesm2015/taiga-ui-experimental-directives-cell.js +1 -1
  125. package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js +1 -1
  126. package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +1 -1
  127. package/fesm2015/taiga-ui-experimental-directives-sensitive.js +3 -3
  128. package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +1 -1
  129. package/fesm2015/taiga-ui-experimental-directives-surface.js +7 -6
  130. package/fesm2015/taiga-ui-experimental-directives-surface.js.map +1 -1
  131. package/fesm2015/taiga-ui-experimental-directives.js +2 -0
  132. package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
  133. package/fesm2015/taiga-ui-experimental-tokens.js +22 -0
  134. package/fesm2015/taiga-ui-experimental-tokens.js.map +1 -0
  135. package/fesm2015/taiga-ui-experimental.js +1 -0
  136. package/fesm2015/taiga-ui-experimental.js.map +1 -1
  137. package/index.d.ts +1 -0
  138. package/package.json +31 -31
  139. package/tokens/icon-resolver.d.ts +4 -0
  140. package/tokens/index.d.ts +1 -0
  141. package/tokens/package.json +10 -0
  142. package/tokens/taiga-ui-experimental-tokens.d.ts +5 -0
  143. package/components/icon/icon.pipe.d.ts +0 -12
  144. package/esm2015/components/icon/icon.pipe.js +0 -30
@@ -31,7 +31,7 @@
31
31
  return TuiCellComponent;
32
32
  }());
33
33
  TuiCellComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCellComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
- TuiCellComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCellComponent, selector: "ng-component", host: { classAttribute: "tui-cell" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiCell]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;position:relative;display:flex;align-items:center;text-decoration:none;box-sizing:content-box;isolation:isolate;color:var(--tui-text-01);padding:var(--t-padding);min-height:var(--t-height);--tui-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem}[tuiCell] [tuiCellSide]{position:relative;display:flex;max-height:var(--t-height);align-items:center;align-self:stretch}[tuiCell] [tuiCellActions]{position:absolute;right:0;z-index:1;padding-right:inherit}[tuiCell] [tuiCellActions]~*{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}[tuiCell] [tuiCellActions] button,[tuiCell] [tuiCellActions] a{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;opacity:0}[tuiCell] [tuiCellActions] button:focus-visible,[tuiCell] [tuiCellActions] a:focus-visible{opacity:1}[tuiCell] [tuiSubtitle]{display:flex;align-items:center;grid-gap:.25rem;gap:.25rem;color:var(--tui-text-02)}[tuiCell] [tuiTitle]{flex-shrink:7;-webkit-margin-end:auto;margin-inline-end:auto;align-items:normal}[tuiCell] [tuiTitle]~[tuiTitle]{flex-shrink:3;-webkit-margin-end:0;margin-inline-end:0;text-align:right;align-items:flex-end}[tuiCell] tui-badge-notification[data-size=xs]{position:absolute;top:50%;transform:translateY(-50%);left:-.625rem}[tuiCell][data-size=s]{--t-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem}[tuiCell][data-size=s] [tuiTitle]{max-height:100%;font:var(--tui-font-text-s-2);grid-gap:0;gap:0}[tuiCell][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs-s)}[tuiCell][data-size=s]>*:not(:first-child),[tuiCell][data-size=s]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:.5rem;margin-inline-start:.5rem}[tuiCell][data-size=s]>tui-avatar,[tuiCell][data-size=s]>tui-avatar-stack tui-avatar,[tuiCell][data-size=s]>[tuiCellSide] tui-avatar,[tuiCell][data-size=s]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 1.5rem}[tuiCell][data-size=m]{--t-height: calc(var(--tui-height-m) - .75rem);--t-padding: .375rem 1rem}[tuiCell][data-size=m] [tuiTitle]{font:var(--tui-font-text-s-2);grid-gap:.125rem;gap:.125rem}[tuiCell][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-xs-2)}[tuiCell][data-size=m]>*:not(:first-child),[tuiCell][data-size=m]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:.75rem;margin-inline-start:.75rem}[tuiCell][data-size=m]>tui-avatar,[tuiCell][data-size=m]>tui-avatar-stack tui-avatar,[tuiCell][data-size=m]>[tuiCellSide] tui-avatar,[tuiCell][data-size=m]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 2rem}[tuiCell][data-size=l]{--t-height: calc(var(--tui-height-l) - 1rem);--t-padding: .5rem 1rem}[tuiCell][data-size=l]>*:not(:first-child),[tuiCell][data-size=l]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:1rem;margin-inline-start:1rem}[tuiCell][data-size=l]>tui-avatar,[tuiCell][data-size=l]>tui-avatar-stack tui-avatar,[tuiCell][data-size=l]>[tuiCellSide] tui-avatar,[tuiCell][data-size=l]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 2.5rem}[tuiCell]:hover [tuiCellActions]~*{opacity:0}[tuiCell]:hover [tuiCellActions] button,[tuiCell]:hover [tuiCellActions] a{opacity:1}[tuiOption] [tuiCell],tui-primitive-textfield [tuiCell]{padding:0}@media (hover: hover) and (pointer: fine){a[tuiCell]:hover,button[tuiCell]:hover{background:var(--tui-clear);cursor:pointer}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
34
+ TuiCellComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCellComponent, selector: "ng-component", host: { classAttribute: "tui-cell" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiCell]{transition-property:background;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;position:relative;display:flex;align-items:center;box-sizing:content-box;isolation:isolate;color:var(--tui-text-01);padding:var(--t-padding);min-height:var(--t-height);--tui-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem}[tuiCell] [tuiCellSide]{position:relative;display:flex;max-height:var(--t-height);align-items:center;align-self:stretch}[tuiCell] [tuiCellActions]{position:absolute;right:0;z-index:1;padding-right:inherit}[tuiCell] [tuiCellActions]~*{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out}[tuiCell] [tuiCellActions] button,[tuiCell] [tuiCellActions] a{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;opacity:0}[tuiCell] [tuiCellActions] button:focus-visible,[tuiCell] [tuiCellActions] a:focus-visible{opacity:1}[tuiCell] [tuiSubtitle]{display:flex;align-items:center;grid-gap:.25rem;gap:.25rem;color:var(--tui-text-02)}[tuiCell] [tuiTitle]{flex-shrink:7;-webkit-margin-end:auto;margin-inline-end:auto;align-items:normal}[tuiCell] [tuiTitle]~[tuiTitle]{flex-shrink:3;-webkit-margin-end:0;margin-inline-end:0;text-align:right;align-items:flex-end}[tuiCell] tui-badge-notification[data-size=xs]{position:absolute;top:50%;transform:translateY(-50%);left:-.625rem}[tuiCell][data-size=s]{--t-height: calc(var(--tui-height-s) - .5rem);--t-padding: .125rem 1rem}[tuiCell][data-size=s] [tuiTitle]{max-height:100%;font:var(--tui-font-text-s-2);grid-gap:0;gap:0}[tuiCell][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs-s)}[tuiCell][data-size=s]>*:not(:first-child),[tuiCell][data-size=s]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:.5rem;margin-inline-start:.5rem}[tuiCell][data-size=s]>tui-avatar,[tuiCell][data-size=s]>tui-avatar-stack tui-avatar,[tuiCell][data-size=s]>[tuiCellSide] tui-avatar,[tuiCell][data-size=s]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 1.5rem}[tuiCell][data-size=m]{--t-height: calc(var(--tui-height-m) - .75rem);--t-padding: .375rem 1rem}[tuiCell][data-size=m] [tuiTitle]{font:var(--tui-font-text-s-2);grid-gap:.125rem;gap:.125rem}[tuiCell][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-xs-2)}[tuiCell][data-size=m]>*:not(:first-child),[tuiCell][data-size=m]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:.75rem;margin-inline-start:.75rem}[tuiCell][data-size=m]>tui-avatar,[tuiCell][data-size=m]>tui-avatar-stack tui-avatar,[tuiCell][data-size=m]>[tuiCellSide] tui-avatar,[tuiCell][data-size=m]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 2rem}[tuiCell][data-size=l]{--t-height: calc(var(--tui-height-l) - 1rem);--t-padding: .5rem 1rem}[tuiCell][data-size=l]>*:not(:first-child),[tuiCell][data-size=l]>[tuiCellSide]>*:not(:first-child){-webkit-margin-start:1rem;margin-inline-start:1rem}[tuiCell][data-size=l]>tui-avatar,[tuiCell][data-size=l]>tui-avatar-stack tui-avatar,[tuiCell][data-size=l]>[tuiCellSide] tui-avatar,[tuiCell][data-size=l]>[tuiCellSide] tui-avatar-stack tui-avatar{--t-size: 2.5rem}[tuiCell]:hover [tuiCellActions]~*{opacity:0}[tuiCell]:hover [tuiCellActions] button,[tuiCell]:hover [tuiCellActions] a{opacity:1}[tuiOption] [tuiCell],tui-primitive-textfield [tuiCell]{padding:0}@media (hover: hover) and (pointer: fine){a[tuiCell]:hover,button[tuiCell]:hover{background:var(--tui-clear);cursor:pointer}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
35
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCellComponent, decorators: [{
36
36
  type: i0.Component,
37
37
  args: [{
@@ -31,7 +31,7 @@
31
31
  return TuiProgressSegmentedComponent;
32
32
  }());
33
33
  TuiProgressSegmentedComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiProgressSegmentedComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
- TuiProgressSegmentedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressSegmentedComponent, selector: "ng-component", host: { classAttribute: "tui-progress-segmented" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiProgressBar]._segmented{-webkit-mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - .5rem) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - .5rem),transparent calc(100% - calc(var(--t-height) / 2) - .5rem));mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - .5rem) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - .5rem),transparent calc(100% - calc(var(--t-height) / 2) - .5rem));-webkit-mask-size:calc(100% * var(--t-segment-width) + .5rem * var(--t-segment-width));mask-size:calc(100% * var(--t-segment-width) + .5rem * var(--t-segment-width))}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
34
+ TuiProgressSegmentedComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiProgressSegmentedComponent, selector: "ng-component", host: { classAttribute: "tui-progress-segmented" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiProgressBar]._segmented{--tui-segment-gap: .5rem;-webkit-mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)),transparent calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)));mask-image:radial-gradient(circle closest-side at calc(var(--t-height) / 2) center,#999 0 99%,transparent calc(99% + .6px) 100%),radial-gradient(circle closest-side at calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)) center,#999 0 99%,transparent calc(99% + .6px) 100%),linear-gradient(to right,transparent 0 calc(var(--t-height) / 2),#999 calc(var(--t-height) / 2) calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)),transparent calc(100% - calc(var(--t-height) / 2) - var(--tui-segment-gap)));-webkit-mask-size:calc(100% * var(--t-segment-width) + var(--tui-segment-gap) * var(--t-segment-width));mask-size:calc(100% * var(--t-segment-width) + var(--tui-segment-gap) * var(--t-segment-width))}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
35
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiProgressSegmentedComponent, decorators: [{
36
36
  type: i0.Component,
37
37
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-directives-progress-segmented.umd.js","sources":["../../../projects/experimental/directives/progress-segmented/progress-segmented.component.ts","../../../projects/experimental/directives/progress-segmented/progress-segmented.directive.ts","../../../projects/experimental/directives/progress-segmented/progress-segmented.module.ts","../../../projects/experimental/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {class: 'tui-progress-segmented'},\n template: '',\n styleUrls: ['./progress-segmented.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressSegmentedComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiProgressSegmentedComponent} from './progress-segmented.component';\n\n@Directive({\n selector: '[tuiProgressBar][segments]',\n host: {\n class: '_segmented',\n '[style.--t-segment-width]': '1 / segments',\n '[attr.new]': '\"\"', // TODO: drop in v4.0\n },\n})\nexport class TuiProgressSegmentedDirective {\n @Input()\n segments = 1;\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiProgressSegmentedComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiProgressSegmentedComponent} from './progress-segmented.component';\nimport {TuiProgressSegmentedDirective} from './progress-segmented.directive';\n\n/**\n * TODO: Move to TuiProgressModule (from `@taiga-ui/kit`) in 4.0\n * TODO: delete the previous version of the same component\n */\n@NgModule({\n declarations: [TuiProgressSegmentedComponent, TuiProgressSegmentedDirective],\n exports: [TuiProgressSegmentedDirective],\n})\nexport class TuiProgressSegmentedModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,YAAA,6BAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,6BAAA,GAAA;;;;yJAAa,6BAA6B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAA7B,6BAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,o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cAAA,EAAA,YAAA,EAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,CAAA,CAAA;0HAA7B,6BAA6B,EAAA,UAAA,EAAA,CAAA;0BARzCK,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,4BAA4B;QACtC,oBAAA,IAAI,EAAE;QACF,wBAAA,KAAK,EAAE,YAAY;QACnB,wBAAA,2BAA2B,EAAE,cAAc;gCAC3C,YAAY,EAAE,IAAI;QACrB,qBAAA;yBACJ,CAAA;;;sCAMQC,SAAM;uCAACF,4BAAyB,CAAA;;iCAHrC,QAAQ,EAAA,CAAA;8BADPG,QAAK;;;QCTV;;;QAGG;AAKH,YAAA,0BAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,0BAAA,GAAA;;;;sJAAa,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAP,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;QAA1B,0BAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,0BAA0B,EAHpB,YAAA,EAAA,CAAA,6BAA6B,EAAE,6BAA6B,aACjE,6BAA6B,CAAA,EAAA,CAAA,CAAA;uJAE9B,0BAA0B,EAAA,CAAA,CAAA;0HAA1B,0BAA0B,EAAA,UAAA,EAAA,CAAA;0BAJtCQ,WAAQ;QAAC,YAAA,IAAA,EAAA,CAAA;QACN,oBAAA,YAAY,EAAE,CAAC,6BAA6B,EAAE,6BAA6B,CAAC;4BAC5E,OAAO,EAAE,CAAC,6BAA6B,CAAC;yBAC3C,CAAA;;;QCZD;;QAEG;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-experimental-directives-progress-segmented.umd.js","sources":["../../../projects/experimental/directives/progress-segmented/progress-segmented.component.ts","../../../projects/experimental/directives/progress-segmented/progress-segmented.directive.ts","../../../projects/experimental/directives/progress-segmented/progress-segmented.module.ts","../../../projects/experimental/directives/progress-segmented/taiga-ui-experimental-directives-progress-segmented.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n host: {class: 'tui-progress-segmented'},\n template: '',\n styleUrls: ['./progress-segmented.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressSegmentedComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiProgressSegmentedComponent} from './progress-segmented.component';\n\n@Directive({\n selector: '[tuiProgressBar][segments]',\n host: {\n class: '_segmented',\n '[style.--t-segment-width]': '1 / segments',\n '[attr.new]': '\"\"', // TODO: drop in v4.0\n },\n})\nexport class TuiProgressSegmentedDirective {\n @Input()\n segments = 1;\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiProgressSegmentedComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiProgressSegmentedComponent} from './progress-segmented.component';\nimport {TuiProgressSegmentedDirective} from './progress-segmented.directive';\n\n/**\n * TODO: Move to TuiProgressModule (from `@taiga-ui/kit`) in 4.0\n * TODO: delete the previous version of the same component\n */\n@NgModule({\n declarations: [TuiProgressSegmentedComponent, TuiProgressSegmentedDirective],\n exports: [TuiProgressSegmentedDirective],\n})\nexport class TuiProgressSegmentedModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,YAAA,6BAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,6BAAA,GAAA;;;;yJAAa,6BAA6B,EAAA,IAAA,EA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;;;;"}
@@ -31,7 +31,7 @@
31
31
  return TuiSensitiveComponent;
32
32
  }());
33
33
  TuiSensitiveComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
- TuiSensitiveComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSensitiveComponent, selector: "ng-component", host: { classAttribute: "tui-sensitive-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: [".tui-sensitive{position:relative;display:inline-block;border-radius:.25rem;line-height:1em}.tui-sensitive:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";background:currentColor;border-radius:inherit;-webkit-mask-image:url('data:image/svg+xml,<svg width=\"360\" height=\"48\" viewBox=\"0 0 360 48\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/></svg>');mask-image:url('data:image/svg+xml,<svg width=\"360\" height=\"48\" viewBox=\"0 0 360 48\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/></svg>');-webkit-mask-size:auto 99%;mask-size:auto 99%;-webkit-mask-position:var(--t-offset, 0) 0;mask-position:var(--t-offset, 0) 0}.tui-sensitive.tui-sensitive{-webkit-text-fill-color:transparent}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
34
+ TuiSensitiveComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSensitiveComponent, selector: "ng-component", host: { classAttribute: "tui-sensitive-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: [".tui-sensitive{position:relative;display:inline-block;line-height:1em;-webkit-clip-path:inset(0 round .25rem);clip-path:inset(0 round .25rem)}.tui-sensitive:before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";background:currentColor;border-radius:inherit;-webkit-mask-image:url('data:image/svg+xml,<svg width=\"360\" height=\"48\" viewBox=\"0 0 360 48\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/></svg>');mask-image:url('data:image/svg+xml,<svg width=\"360\" height=\"48\" viewBox=\"0 0 360 48\" fill=\"black\" xmlns=\"http://www.w3.org/2000/svg\"><rect opacity=\"0.2\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"336\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"120\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"216\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"312\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"144\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.25\" x=\"192\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"48\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"288\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"96\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"240\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.24\" x=\"72\" width=\"24\" height=\"24\"/><rect opacity=\"0.34\" x=\"264\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"168\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.35\" x=\"336\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"120\" y=\"0\" width=\"24\" height=\"24\" /><rect opacity=\"0.3\" x=\"216\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"24\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.3\" x=\"312\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"144\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.36\" x=\"192\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"48\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.4\" x=\"288\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.38\" x=\"96\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.21\" x=\"240\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"72\" y=\"24\" width=\"24\" height=\"24\"/><rect opacity=\"0.2\" x=\"264\" y=\"0\" width=\"24\" height=\"24\"/><rect opacity=\"0.32\" x=\"168\" y=\"0\" width=\"24\" height=\"24\"/></svg>');-webkit-mask-size:auto 99%;mask-size:auto 99%;-webkit-mask-position:var(--t-offset, 0) 0;mask-position:var(--t-offset, 0) 0}.tui-sensitive.tui-sensitive{-webkit-text-fill-color:transparent}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
35
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveComponent, decorators: [{
36
36
  type: i0.Component,
37
37
  args: [{
@@ -79,12 +79,12 @@
79
79
  return TuiSensitiveModule;
80
80
  }());
81
81
  TuiSensitiveModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
82
- TuiSensitiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveModule, declarations: [TuiSensitiveDirective], exports: [TuiSensitiveDirective] });
82
+ TuiSensitiveModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveModule, declarations: [TuiSensitiveDirective, TuiSensitiveComponent], exports: [TuiSensitiveDirective] });
83
83
  TuiSensitiveModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveModule });
84
84
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSensitiveModule, decorators: [{
85
85
  type: i0.NgModule,
86
86
  args: [{
87
- declarations: [TuiSensitiveDirective],
87
+ declarations: [TuiSensitiveDirective, TuiSensitiveComponent],
88
88
  exports: [TuiSensitiveDirective],
89
89
  }]
90
90
  }] });
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-directives-sensitive.umd.js","sources":["../../../projects/experimental/directives/sensitive/sensitive.component.ts","../../../projects/experimental/directives/sensitive/sensitive.directive.ts","../../../projects/experimental/directives/sensitive/sensitive.module.ts","../../../projects/experimental/directives/sensitive/taiga-ui-experimental-directives-sensitive.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./sensitive.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-sensitive-styles',\n },\n})\nexport class TuiSensitiveComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSensitiveComponent} from './sensitive.component';\n\n@Directive({\n selector: '[tuiSensitive]',\n host: {\n '[style.--t-offset.px]': 'offset',\n '[class.tui-sensitive]': 'tuiSensitive',\n },\n})\nexport class TuiSensitiveDirective {\n @Input()\n tuiSensitive: boolean | null = false;\n\n readonly offset = Math.round(Math.random() * 10) * 10;\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSensitiveComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSensitiveDirective} from './sensitive.directive';\n\n@NgModule({\n declarations: [TuiSensitiveDirective],\n exports: [TuiSensitiveDirective],\n})\nexport class TuiSensitiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,YAAA,qBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,qBAAA,GAAA;;;;iJAAa,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAArB,qBAAA,CAAA,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AAA,gBAAA,EAAA,MAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,qBAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,cAAA,EAAA,EAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,CAAA,CAAA;0HAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;0BAPjCK,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,gBAAgB;QAC1B,oBAAA,IAAI,EAAE;QACF,wBAAA,uBAAuB,EAAE,QAAQ;QACjC,wBAAA,uBAAuB,EAAE,cAAc;QAC1C,qBAAA;yBACJ,CAAA;;;sCAQQC,SAAM;uCAACF,4BAAyB,CAAA;;iCALrC,YAAY,EAAA,CAAA;8BADXG,QAAK;;;ACLV,YAAA,kBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,kBAAA,GAAA;;;;8IAAa,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAP,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+IAAlB,kBAAkB,EAAA,YAAA,EAAA,CAHZ,qBAAqB,CAAA,EAAA,OAAA,EAAA,CAC1B,qBAAqB,CAAA,EAAA,CAAA,CAAA;+IAEtB,kBAAkB,EAAA,CAAA,CAAA;0HAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;0BAJ9BQ,WAAQ;QAAC,YAAA,IAAA,EAAA,CAAA;4BACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;4BACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;yBACnC,CAAA;;;QCPD;;QAEG;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-experimental-directives-sensitive.umd.js","sources":["../../../projects/experimental/directives/sensitive/sensitive.component.ts","../../../projects/experimental/directives/sensitive/sensitive.directive.ts","../../../projects/experimental/directives/sensitive/sensitive.module.ts","../../../projects/experimental/directives/sensitive/taiga-ui-experimental-directives-sensitive.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./sensitive.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-sensitive-styles',\n },\n})\nexport class TuiSensitiveComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSensitiveComponent} from './sensitive.component';\n\n@Directive({\n selector: '[tuiSensitive]',\n host: {\n '[style.--t-offset.px]': 'offset',\n '[class.tui-sensitive]': 'tuiSensitive',\n },\n})\nexport class TuiSensitiveDirective {\n @Input()\n tuiSensitive: boolean | null = false;\n\n readonly offset = Math.round(Math.random() * 10) * 10;\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSensitiveComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSensitiveComponent} from './sensitive.component';\nimport {TuiSensitiveDirective} from './sensitive.directive';\n\n@NgModule({\n declarations: [TuiSensitiveDirective, TuiSensitiveComponent],\n exports: [TuiSensitiveDirective],\n})\nexport class TuiSensitiveModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,YAAA,qBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,qBAAA,GAAA;;;;iJAAa,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAArB,qBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OA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ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSurfaceComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
- TuiSurfaceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSurfaceComponent, selector: "ng-component", host: { classAttribute: "tui-surface-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[data-surface]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;border-radius:var(--tui-radius-l);box-sizing:border-box;padding:1.25rem;background-size:cover;background-repeat:no-repeat;overflow:hidden;isolation:isolate;outline-color:var(--tui-focus);transition-property:background,border-radius,box-shadow,transform,-webkit-backdrop-filter,-webkit-mask;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform,-webkit-backdrop-filter,-webkit-mask}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[data-surface]:before{mix-blend-mode:multiply}}button[data-surface]{cursor:pointer}[data-surface]:before,[data-surface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;width:100%;height:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,transform,-webkit-backdrop-filter;transition-property:opacity,backdrop-filter,transform;transition-property:opacity,backdrop-filter,transform,-webkit-backdrop-filter}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-accent);-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-base-03)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-base-03)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}[data-surface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}}[data-surface=elevated]{box-shadow:0 .25rem 1.5rem #0000001f;border-radius:var(--tui-radius-xl);background:var(--tui-elevation-01)}button[data-surface=elevated]:active,a[data-surface=elevated]:active{box-shadow:0 .25rem 1.5rem #0000001f;transform:scale(.95)}@media (hover: hover) and (pointer: fine){button[data-surface=elevated]:hover,a[data-surface=elevated]:hover{box-shadow:0 .75rem 2.25rem #0003;transform:translateY(-.25rem)}}[data-surface=flat]{border-radius:var(--tui-radius-xl);background:var(--tui-clear)}button[data-surface=flat]:active,a[data-surface=flat]:active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){button[data-surface=flat]:hover,a[data-surface=flat]:hover{transform:scale(1.15)}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
34
+ TuiSurfaceComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiSurfaceComponent, selector: "ng-component", host: { classAttribute: "tui-surface-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[data-surface]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;--tui-gap: .25rem;position:relative;border-radius:var(--tui-radius-l);box-sizing:border-box;padding:1.25rem;background-size:cover;background-repeat:no-repeat;overflow:hidden;isolation:isolate;outline-color:var(--tui-focus);transition-property:background,border-radius,box-shadow,transform,-webkit-backdrop-filter,-webkit-mask;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform;transition-property:backdrop-filter,background,border-radius,box-shadow,mask,transform,-webkit-backdrop-filter,-webkit-mask}@supports (not (-moz-appearance: none)) and (not (-webkit-hyphens: none)){[data-surface]:before{mix-blend-mode:multiply}}button[data-surface]{cursor:pointer}[data-surface]:before,[data-surface]:after,[tuiSurfaceLayer]:before,[tuiSurfaceLayer]:after{position:absolute;top:0;left:0;width:100%;height:100%;transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";z-index:-1;border-radius:inherit;pointer-events:none;background-size:cover;background-repeat:no-repeat;transition-property:opacity,transform,-webkit-backdrop-filter;transition-property:opacity,backdrop-filter,transform;transition-property:opacity,backdrop-filter,transform,-webkit-backdrop-filter}[tuiSurfaceLayer]{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:absolute;top:0;left:0;width:100%;height:100%;position:absolute!important;z-index:-1;object-fit:cover;border-radius:inherit;box-sizing:border-box;transition-property:box-shadow,filter,padding}input[tuiSurfaceLayer]+[tuiSurfaceLayer]{will-change:padding;background-clip:content-box;overflow:clip;overflow-clip-margin:content-box}input[tuiSurfaceLayer]:checked+[tuiSurfaceLayer]{padding:var(--tui-gap)}input[tuiSurfaceLayer]:focus-visible+[tuiSurfaceLayer]{padding:var(--tui-gap)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]+[tuiSurfaceLayer]{padding:var(--tui-gap)}}input[tuiSurfaceLayer]{color:var(--tui-accent);-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;border-radius:inherit;outline:none;box-shadow:inset 0 0,inset 0 0 var(--tui-base-03)}input[tuiSurfaceLayer]:checked{box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 var(--tui-base-03)}input[tuiSurfaceLayer]:focus-visible{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}input[tuiSurfaceLayer]:checked:focus-visible{filter:brightness(.7);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}@media (hover: hover) and (pointer: fine){[data-surface]:hover input[tuiSurfaceLayer]{box-shadow:inset 0 0,inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}[data-surface]:hover input[tuiSurfaceLayer]:checked{filter:brightness(.9);box-shadow:inset 0 0 0 calc(var(--tui-gap) / 2),inset 0 0 0 calc(var(--tui-gap) / 2) var(--tui-base-03)}}[data-surface=elevated]{box-shadow:0 .25rem 1.5rem #0000001f;border-radius:var(--tui-radius-xl);background:var(--tui-elevation-01)}button[data-surface=elevated]:active,a[data-surface=elevated]:active{box-shadow:0 .25rem 1.5rem #0000001f;transform:scale(.95)}@media (hover: hover) and (pointer: fine){button[data-surface=elevated]:hover,a[data-surface=elevated]:hover{box-shadow:0 .75rem 2.25rem #0003;transform:translateY(-.25rem)}}[data-surface=flat]{border-radius:var(--tui-radius-xl);background:var(--tui-clear)}button[data-surface=flat]:active,a[data-surface=flat]:active{transform:scale(.95)}@media (hover: hover) and (pointer: fine){button[data-surface=flat]:hover,a[data-surface=flat]:hover{transform:scale(1.15)}}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
35
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSurfaceComponent, decorators: [{
36
36
  type: i0.Component,
37
37
  args: [{
@@ -53,11 +53,15 @@
53
53
  return TuiSurfaceDirective;
54
54
  }());
55
55
  TuiSurfaceDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSurfaceDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
56
- TuiSurfaceDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiSurfaceDirective, selector: "[tuiSurface]", inputs: { tuiSurface: "tuiSurface" }, host: { properties: { "attr.data-surface": "this.tuiSurface" } }, ngImport: i0__namespace });
56
+ TuiSurfaceDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiSurfaceDirective, selector: "[tuiSurface]", inputs: { tuiSurface: "tuiSurface" }, host: { attributes: { "tuiSurface": "" }, properties: { "attr.data-surface": "tuiSurface" } }, ngImport: i0__namespace });
57
57
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiSurfaceDirective, decorators: [{
58
58
  type: i0.Directive,
59
59
  args: [{
60
60
  selector: '[tuiSurface]',
61
+ host: {
62
+ tuiSurface: '',
63
+ '[attr.data-surface]': 'tuiSurface',
64
+ },
61
65
  }]
62
66
  }], ctorParameters: function () {
63
67
  return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
@@ -66,9 +70,6 @@
66
70
  }] }];
67
71
  }, propDecorators: { tuiSurface: [{
68
72
  type: i0.Input
69
- }, {
70
- type: i0.HostBinding,
71
- args: ['attr.data-surface']
72
73
  }] } });
73
74
 
74
75
  var TuiSurfaceModule = /** @class */ (function () {
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-directives-surface.umd.js","sources":["../../../projects/experimental/directives/surface/surface.component.ts","../../../projects/experimental/directives/surface/surface.directive.ts","../../../projects/experimental/directives/surface/surface.module.ts","../../../projects/experimental/directives/surface/taiga-ui-experimental-directives-surface.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./surface.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-surface-styles',\n },\n})\nexport class TuiSurfaceComponent {}\n","import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSurfaceComponent} from './surface.component';\n\n@Directive({\n selector: '[tuiSurface]',\n})\nexport class TuiSurfaceDirective {\n @Input()\n @HostBinding('attr.data-surface')\n tuiSurface = '';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSurfaceComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSurfaceComponent} from './surface.component';\nimport {TuiSurfaceDirective} from './surface.directive';\n\n@NgModule({\n declarations: [TuiSurfaceComponent, TuiSurfaceDirective],\n exports: [TuiSurfaceDirective],\n})\nexport class TuiSurfaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","HostBinding","NgModule"],"mappings":";;;;;;;;;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"taiga-ui-experimental-directives-surface.umd.js","sources":["../../../projects/experimental/directives/surface/surface.component.ts","../../../projects/experimental/directives/surface/surface.directive.ts","../../../projects/experimental/directives/surface/surface.module.ts","../../../projects/experimental/directives/surface/taiga-ui-experimental-directives-surface.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./surface.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-surface-styles',\n },\n})\nexport class TuiSurfaceComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiSurfaceComponent} from './surface.component';\n\n@Directive({\n selector: '[tuiSurface]',\n host: {\n tuiSurface: '',\n '[attr.data-surface]': 'tuiSurface',\n },\n})\nexport class TuiSurfaceDirective {\n @Input()\n tuiSurface = '';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiSurfaceComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSurfaceComponent} from './surface.component';\nimport {TuiSurfaceDirective} from './surface.directive';\n\n@NgModule({\n declarations: [TuiSurfaceComponent, TuiSurfaceDirective],\n exports: [TuiSurfaceDirective],\n})\nexport class TuiSurfaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,YAAA,mBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,mBAAA,GAAA;;;;+IAAa,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAAnB,mBAAA,CAAA,IAAA,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AAA,UAAA,EAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,CAAA,CAAA;0HAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;0BAP/BK,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,cAAc;QACxB,oBAAA,IAAI,EAAE;QACF,wBAAA,UAAU,EAAE,EAAE;QACd,wBAAA,qBAAqB,EAAE,YAAY;QACtC,qBAAA;yBACJ,CAAA;;;sCAMQC,SAAM;uCAACF,4BAAyB,CAAA;;iCAHrC,UAAU,EAAA,CAAA;8BADTG,QAAK;;;ACJV,YAAA,gBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,gBAAA,GAAA;;;;4IAAa,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAP,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;QAAhB,gBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,gBAAgB,EAHV,YAAA,EAAA,CAAA,mBAAmB,EAAE,mBAAmB,aAC7C,mBAAmB,CAAA,EAAA,CAAA,CAAA;6IAEpB,gBAAgB,EAAA,CAAA,CAAA;0HAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;0BAJ5BQ,WAAQ;QAAC,YAAA,IAAA,EAAA,CAAA;QACN,oBAAA,YAAY,EAAE,CAAC,mBAAmB,EAAE,mBAAmB,CAAC;4BACxD,OAAO,EAAE,CAAC,mBAAmB,CAAC;yBACjC,CAAA;;;QCRD;;QAEG;;;;;;;;;;;;"}
@@ -1,13 +1,25 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/experimental/directives/card'), require('@taiga-ui/experimental/directives/cell'), require('@taiga-ui/experimental/directives/fade'), require('@taiga-ui/experimental/directives/progress-segmented'), require('@taiga-ui/experimental/directives/sensitive'), require('@taiga-ui/experimental/directives/surface'), require('@taiga-ui/experimental/directives/title')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/directives', ['exports', '@taiga-ui/experimental/directives/card', '@taiga-ui/experimental/directives/cell', '@taiga-ui/experimental/directives/fade', '@taiga-ui/experimental/directives/progress-segmented', '@taiga-ui/experimental/directives/sensitive', '@taiga-ui/experimental/directives/surface', '@taiga-ui/experimental/directives/title'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.directives = {}), global["taiga-ui"].experimental.directives.card, global["taiga-ui"].experimental.directives.cell, global["taiga-ui"].experimental.directives.fade, global["taiga-ui"].experimental.directives["progress-segmented"], global["taiga-ui"].experimental.directives.sensitive, global["taiga-ui"].experimental.directives.surface, global["taiga-ui"].experimental.directives.title));
5
- })(this, (function (exports, card, cell, fade, progressSegmented, sensitive, surface, title) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/experimental/directives/appearance'), require('@taiga-ui/experimental/directives/button-vertical'), require('@taiga-ui/experimental/directives/card'), require('@taiga-ui/experimental/directives/cell'), require('@taiga-ui/experimental/directives/fade'), require('@taiga-ui/experimental/directives/progress-segmented'), require('@taiga-ui/experimental/directives/sensitive'), require('@taiga-ui/experimental/directives/surface'), require('@taiga-ui/experimental/directives/title')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/directives', ['exports', '@taiga-ui/experimental/directives/appearance', '@taiga-ui/experimental/directives/button-vertical', '@taiga-ui/experimental/directives/card', '@taiga-ui/experimental/directives/cell', '@taiga-ui/experimental/directives/fade', '@taiga-ui/experimental/directives/progress-segmented', '@taiga-ui/experimental/directives/sensitive', '@taiga-ui/experimental/directives/surface', '@taiga-ui/experimental/directives/title'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.directives = {}), global["taiga-ui"].experimental.directives.appearance, global["taiga-ui"].experimental.directives["button-vertical"], global["taiga-ui"].experimental.directives.card, global["taiga-ui"].experimental.directives.cell, global["taiga-ui"].experimental.directives.fade, global["taiga-ui"].experimental.directives["progress-segmented"], global["taiga-ui"].experimental.directives.sensitive, global["taiga-ui"].experimental.directives.surface, global["taiga-ui"].experimental.directives.title));
5
+ })(this, (function (exports, appearance, buttonVertical, card, cell, fade, progressSegmented, sensitive, surface, title) { 'use strict';
6
6
 
7
7
  /**
8
8
  * Generated bundle index. Do not edit.
9
9
  */
10
10
 
11
+ Object.keys(appearance).forEach(function (k) {
12
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
13
+ enumerable: true,
14
+ get: function () { return appearance[k]; }
15
+ });
16
+ });
17
+ Object.keys(buttonVertical).forEach(function (k) {
18
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
19
+ enumerable: true,
20
+ get: function () { return buttonVertical[k]; }
21
+ });
22
+ });
11
23
  Object.keys(card).forEach(function (k) {
12
24
  if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
13
25
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-directives.umd.js","sources":["../../../projects/experimental/directives/taiga-ui-experimental-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-experimental-directives.umd.js","sources":["../../../projects/experimental/directives/taiga-ui-experimental-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,31 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/cdk')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/tokens', ['exports', '@taiga-ui/cdk'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.tokens = {}), global.cdk));
5
+ })(this, (function (exports, cdk) { 'use strict';
6
+
7
+ var TUI_ICON_RESOLVER = cdk.tuiCreateTokenFromFactory(
8
+ // TODO: Remove backwards compatibility in 4.0
9
+ function () { return function (icon) { return !icon || icon.includes("/")
10
+ ? icon
11
+ : "/assets/taiga-ui/icons/" + (icon.includes("Outline")
12
+ ? icon
13
+ : icon.replace("Large", "").concat("Outline")) + ".svg"; }; });
14
+ function tuiIconResolverProvider(useValue) {
15
+ return {
16
+ provide: TUI_ICON_RESOLVER,
17
+ useValue: useValue,
18
+ };
19
+ }
20
+
21
+ /**
22
+ * Generated bundle index. Do not edit.
23
+ */
24
+
25
+ exports.TUI_ICON_RESOLVER = TUI_ICON_RESOLVER;
26
+ exports.tuiIconResolverProvider = tuiIconResolverProvider;
27
+
28
+ Object.defineProperty(exports, '__esModule', { value: true });
29
+
30
+ }));
31
+ //# sourceMappingURL=taiga-ui-experimental-tokens.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-tokens.umd.js","sources":["../../../projects/experimental/tokens/icon-resolver.ts","../../../projects/experimental/tokens/taiga-ui-experimental-tokens.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateTokenFromFactory, TuiStringHandler} from '@taiga-ui/cdk';\n\nexport const TUI_ICON_RESOLVER = tuiCreateTokenFromFactory<TuiStringHandler<string>>(\n // TODO: Remove backwards compatibility in 4.0\n () => icon =>\n !icon || icon.includes(`/`)\n ? icon\n : `/assets/taiga-ui/icons/${\n icon.includes(`Outline`)\n ? icon\n : icon.replace(`Large`, ``).concat(`Outline`)\n }.svg`,\n);\n\nexport function tuiIconResolverProvider(useValue: TuiStringHandler<string>): Provider {\n return {\n provide: TUI_ICON_RESOLVER,\n useValue,\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiCreateTokenFromFactory"],"mappings":";;;;;;AAGO,QAAM,iBAAiB,GAAGA,6BAAyB;IACtD;IACA,YAAA,EAAM,OAAA,UAAA,IAAI,EAAA,EACN,OAAA,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC;IACvB,MAAE,IAAI;IACN,MAAE,yBACI,IAAA,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC;IACpB,UAAE,IAAI;cACJ,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,SAAS,CACpD,CAAM,GAAA,MAAA,CAAA,EAAA,CAPV,EAOU,EAClB;IAEI,SAAU,uBAAuB,CAAC,QAAkC,EAAA;QACtE,OAAO;IACH,QAAA,OAAO,EAAE,iBAAiB;IAC1B,QAAA,QAAQ,EAAA,QAAA;SACX,CAAC;IACN;;ICpBA;;IAEG;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/experimental/components'), require('@taiga-ui/experimental/directives'), require('@taiga-ui/experimental/pipes')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/experimental', ['exports', '@taiga-ui/experimental/components', '@taiga-ui/experimental/directives', '@taiga-ui/experimental/pipes'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = {}), global["taiga-ui"].experimental.components, global["taiga-ui"].experimental.directives, global["taiga-ui"].experimental.pipes));
5
- })(this, (function (exports, components, directives, pipes) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/experimental/components'), require('@taiga-ui/experimental/directives'), require('@taiga-ui/experimental/pipes'), require('@taiga-ui/experimental/tokens')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/experimental', ['exports', '@taiga-ui/experimental/components', '@taiga-ui/experimental/directives', '@taiga-ui/experimental/pipes', '@taiga-ui/experimental/tokens'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = {}), global["taiga-ui"].experimental.components, global["taiga-ui"].experimental.directives, global["taiga-ui"].experimental.pipes, global["taiga-ui"].experimental.tokens));
5
+ })(this, (function (exports, components, directives, pipes, tokens) { 'use strict';
6
6
 
7
7
  /**
8
8
  * Generated bundle index. Do not edit.
@@ -26,6 +26,12 @@
26
26
  get: function () { return pipes[k]; }
27
27
  });
28
28
  });
29
+ Object.keys(tokens).forEach(function (k) {
30
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
31
+ enumerable: true,
32
+ get: function () { return tokens[k]; }
33
+ });
34
+ });
29
35
 
30
36
  Object.defineProperty(exports, '__esModule', { value: true });
31
37
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental.umd.js","sources":["../../../projects/experimental/taiga-ui-experimental.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-experimental.umd.js","sources":["../../../projects/experimental/taiga-ui-experimental.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,16 +1,17 @@
1
1
  import { SafeResourceUrl } from '@angular/platform-browser';
2
- import { TuiPlatform } from '@taiga-ui/cdk';
2
+ import { TuiStringHandler } from '@taiga-ui/cdk';
3
3
  import { TuiAvatarOptions } from './avatar.options';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class TuiAvatarComponent {
6
6
  private readonly options;
7
- readonly platform: TuiPlatform;
7
+ readonly resolver: TuiStringHandler<string>;
8
8
  size: "m" | "l" | "xl" | "xxl" | "s" | "xs" | "xxs";
9
9
  round: boolean;
10
10
  src: SafeResourceUrl | string | null;
11
- constructor(options: TuiAvatarOptions, platform: TuiPlatform);
11
+ appearance: string;
12
+ constructor(options: TuiAvatarOptions, resolver: TuiStringHandler<string>);
12
13
  get value(): SafeResourceUrl | string;
13
14
  get type(): 'content' | 'icon' | 'img' | 'text';
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiAvatarComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiAvatarComponent, "tui-avatar", never, { "size": "size"; "round": "round"; "src": "src"; }, {}, never, ["*"]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiAvatarComponent, "tui-avatar", never, { "size": "size"; "round": "round"; "src": "src"; "appearance": "appearance"; }, {}, never, ["*"]>;
16
17
  }
@@ -1,10 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./avatar.component";
3
3
  import * as i2 from "@angular/common";
4
- import * as i3 from "@taiga-ui/core";
4
+ import * as i3 from "@taiga-ui/experimental/components/icon";
5
5
  import * as i4 from "@taiga-ui/kit";
6
6
  export declare class TuiAvatarModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiAvatarModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAvatarModule, [typeof i1.TuiAvatarComponent], [typeof i2.CommonModule, typeof i3.TuiSvgModule, typeof i4.TuiLazyLoadingModule], [typeof i1.TuiAvatarComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiAvatarModule, [typeof i1.TuiAvatarComponent], [typeof i2.CommonModule, typeof i3.TuiIconModule, typeof i4.TuiLazyLoadingModule], [typeof i1.TuiAvatarComponent]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiAvatarModule>;
10
10
  }
@@ -1,15 +1,5 @@
1
- import { TuiPlatform } from '@taiga-ui/cdk';
2
- import { TuiBrightness } from '@taiga-ui/core';
3
- import { Observable } from 'rxjs';
4
- import { TuiBadgeOptions } from './badge.options';
5
1
  import * as i0 from "@angular/core";
6
2
  export declare class TuiBadgeComponent {
7
- private readonly options;
8
- readonly mode$: Observable<TuiBrightness | null>;
9
- readonly platform: TuiPlatform;
10
- size: "m" | "s" | "l" | "xl";
11
- appearance: import("@taiga-ui/kit/types").TuiStatus | "accent" | "light";
12
- constructor(options: TuiBadgeOptions, mode$: Observable<TuiBrightness | null>, platform: TuiPlatform);
13
3
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiBadgeComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiBadgeComponent, "tui-badge", never, { "size": "size"; "appearance": "appearance"; }, {}, never, ["img", "tui-svg", "*"]>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiBadgeComponent, "ng-component", never, {}, {}, never, never>;
15
5
  }
@@ -0,0 +1,13 @@
1
+ import { TuiDirectiveStylesService, TuiPlatform } from '@taiga-ui/cdk';
2
+ import { TuiBadgeOptions } from './badge.options';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TuiBadgeDirective {
5
+ private readonly options;
6
+ readonly platform: TuiPlatform;
7
+ size: "m" | "s" | "l" | "xl";
8
+ appearance: string;
9
+ dot: boolean;
10
+ constructor(options: TuiBadgeOptions, platform: TuiPlatform, directiveStyles: TuiDirectiveStylesService);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiBadgeDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiBadgeDirective, "tui-badge,[tuiBadge]", never, { "size": "size"; "appearance": "appearance"; "dot": "dot"; }, {}, never>;
13
+ }
@@ -1,7 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./badge.component";
3
+ import * as i2 from "./badge.directive";
3
4
  export declare class TuiBadgeModule {
4
5
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiBadgeModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiBadgeModule, [typeof i1.TuiBadgeComponent], never, [typeof i1.TuiBadgeComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiBadgeModule, [typeof i1.TuiBadgeComponent, typeof i2.TuiBadgeDirective], never, [typeof i2.TuiBadgeDirective]>;
6
7
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiBadgeModule>;
7
8
  }
@@ -1,10 +1,9 @@
1
1
  import { Provider } from '@angular/core';
2
2
  import { TuiSizeS, TuiSizeXL } from '@taiga-ui/core';
3
- import { TuiStatus } from '@taiga-ui/kit';
4
3
  export interface TuiBadgeOptions {
5
- readonly appearance: TuiStatus | 'accent' | 'light';
4
+ readonly appearance: string;
6
5
  readonly size: TuiSizeS | TuiSizeXL;
7
- readonly hoverable: boolean;
6
+ readonly dot: boolean;
8
7
  }
9
8
  export declare const TUI_BADGE_DEFAULT_OPTIONS: TuiBadgeOptions;
10
9
  export declare const TUI_BADGE_OPTIONS: import("@angular/core").InjectionToken<TuiBadgeOptions>;
@@ -1,3 +1,4 @@
1
1
  export * from './badge.component';
2
+ export * from './badge.directive';
2
3
  export * from './badge.module';
3
4
  export * from './badge.options';
@@ -5,12 +5,10 @@ export declare class TuiButtonComponent {
5
5
  private readonly options;
6
6
  size: "m" | "l" | "xl" | "s" | "xs";
7
7
  loading: boolean | string | null;
8
- iconLeft: string;
9
- iconRight: string;
10
8
  constructor(options: TuiButtonOptions);
11
9
  get loaderSize(): TuiSizeS;
12
10
  get label(): string;
13
11
  onClick(event: MouseEvent): void;
14
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonComponent, "[tuiButton][loading],[tuiIconButton][loading],[tuiButton][iconLeft],[tuiButton][iconRight],[tuiIconButton][iconLeft]", never, { "size": "size"; "loading": "loading"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never, ["*"]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonComponent, "[tuiButton][loading],[tuiIconButton][loading]", never, { "size": "size"; "loading": "loading"; }, {}, never, ["*"]>;
16
14
  }
@@ -1,4 +1,4 @@
1
- import { TuiDirectiveStylesService, TuiPlatform } from '@taiga-ui/cdk';
1
+ import { TuiDirectiveStylesService, TuiPlatform, TuiStringHandler } from '@taiga-ui/cdk';
2
2
  import { TuiBrightness } from '@taiga-ui/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { TuiButtonOptions } from './button.options';
@@ -8,12 +8,15 @@ export declare class TuiButtonStylesComponent {
8
8
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiButtonStylesComponent, "ng-component", never, {}, {}, never, never>;
9
9
  }
10
10
  export declare class TuiButtonDirective {
11
+ readonly resolver: TuiStringHandler<string>;
11
12
  private readonly options;
12
13
  readonly platform: TuiPlatform;
13
14
  readonly mode$: Observable<TuiBrightness | null>;
14
15
  size: "m" | "l" | "xl" | "s" | "xs";
15
16
  appearance: string;
16
- constructor(options: TuiButtonOptions, platform: TuiPlatform, mode$: Observable<TuiBrightness | null>, directiveStyles: TuiDirectiveStylesService);
17
+ iconLeft: string;
18
+ iconRight: string;
19
+ constructor(resolver: TuiStringHandler<string>, options: TuiButtonOptions, platform: TuiPlatform, mode$: Observable<TuiBrightness | null>, directiveStyles: TuiDirectiveStylesService);
17
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiButtonDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonDirective, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": "size"; "appearance": "appearance"; }, {}, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiButtonDirective, "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", never, { "size": "size"; "appearance": "appearance"; "iconLeft": "iconLeft"; "iconRight": "iconRight"; }, {}, never>;
19
22
  }
@@ -1,14 +1,13 @@
1
1
  import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
2
2
  import { NgControl } from '@angular/forms';
3
- import { TuiPlatform } from '@taiga-ui/cdk';
4
- import { TuiBrightness, TuiSvgOptions } from '@taiga-ui/core';
3
+ import { TuiPlatform, TuiStringHandler } from '@taiga-ui/cdk';
4
+ import { TuiBrightness } from '@taiga-ui/core';
5
5
  import { Observable } from 'rxjs';
6
6
  import { TuiCheckboxOptions } from './checkbox.options';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class TuiCheckboxComponent implements OnInit {
9
9
  private readonly cdr;
10
- private readonly baseHref;
11
- private readonly svg;
10
+ private readonly resolver;
12
11
  private readonly options;
13
12
  private readonly destroy$;
14
13
  private readonly el;
@@ -16,9 +15,9 @@ export declare class TuiCheckboxComponent implements OnInit {
16
15
  readonly platform: TuiPlatform;
17
16
  readonly control: NgControl | null;
18
17
  size: import("@taiga-ui/core").TuiSizeS;
19
- constructor(cdr: ChangeDetectorRef, baseHref: string, svg: TuiSvgOptions, options: TuiCheckboxOptions, destroy$: Observable<unknown>, el: ElementRef<HTMLInputElement>, mode$: Observable<TuiBrightness | null>, platform: TuiPlatform, control: NgControl | null);
18
+ constructor(cdr: ChangeDetectorRef, resolver: TuiStringHandler<string>, options: TuiCheckboxOptions, destroy$: Observable<unknown>, el: ElementRef<HTMLInputElement>, mode$: Observable<TuiBrightness | null>, platform: TuiPlatform, control: NgControl | null);
20
19
  get icon(): string;
21
20
  ngOnInit(): void;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxComponent, [null, null, null, null, { self: true; }, null, null, null, { optional: true; }]>;
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiCheckboxComponent, [null, null, null, { self: true; }, null, null, null, { optional: true; }]>;
23
22
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiCheckboxComponent, "input[type=\"checkbox\"][tuiCheckbox]", never, { "size": "size"; }, {}, never, never>;
24
23
  }
@@ -1,6 +1,10 @@
1
+ import { TuiStringHandler } from '@taiga-ui/cdk';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class TuiIconComponent {
4
+ readonly resolver: TuiStringHandler<string>;
3
5
  icon: string;
6
+ background: string;
7
+ constructor(resolver: TuiStringHandler<string>);
4
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<TuiIconComponent, "tui-icon", never, { "icon": "icon"; }, {}, never, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TuiIconComponent, "tui-icon", never, { "icon": "icon"; "background": "background"; }, {}, never, never>;
6
10
  }
@@ -1,8 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./icon.component";
3
- import * as i2 from "./icon.pipe";
4
3
  export declare class TuiIconModule {
5
4
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiIconModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<TuiIconModule, [typeof i1.TuiIconComponent, typeof i2.TuiIconPipe], never, [typeof i1.TuiIconComponent, typeof i2.TuiIconPipe]>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TuiIconModule, [typeof i1.TuiIconComponent], never, [typeof i1.TuiIconComponent]>;
7
6
  static ɵinj: i0.ɵɵInjectorDeclaration<TuiIconModule>;
8
7
  }
@@ -1,3 +1,2 @@
1
1
  export * from './icon.component';
2
2
  export * from './icon.module';
3
- export * from './icon.pipe';
@@ -1,20 +1,15 @@
1
1
  import { NgControl } from '@angular/forms';
2
- import { TuiPlatform } from '@taiga-ui/cdk';
3
- import { TuiBrightness, TuiSvgOptions } from '@taiga-ui/core';
4
- import { Observable } from 'rxjs';
2
+ import { TuiStringHandler } from '@taiga-ui/cdk';
5
3
  import { TuiToggleOptions } from './toggle.options';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class TuiToggleComponent {
8
- private readonly baseHref;
9
- private readonly svg;
6
+ private readonly resolver;
10
7
  private readonly options;
11
- readonly mode$: Observable<TuiBrightness | null>;
12
- readonly platform: TuiPlatform;
13
8
  readonly control: NgControl | null;
14
- size: import("@taiga-ui/core").TuiSizeS;
9
+ size: import("@taiga-ui/core/types").TuiSizeS;
15
10
  showIcons: boolean;
16
- constructor(baseHref: string, svg: TuiSvgOptions, options: TuiToggleOptions, mode$: Observable<TuiBrightness | null>, platform: TuiPlatform, control: NgControl | null);
11
+ constructor(resolver: TuiStringHandler<string>, options: TuiToggleOptions, control: NgControl | null);
17
12
  get icon(): string;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiToggleComponent, [null, null, null, null, null, { optional: true; }]>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiToggleComponent, [null, null, { optional: true; }]>;
19
14
  static ɵcmp: i0.ɵɵComponentDeclaration<TuiToggleComponent, "input[type=\"checkbox\"][tuiToggle]", never, { "size": "size"; "showIcons": "showIcons"; }, {}, never, never>;
20
15
  }