@taiga-ui/core 2.33.0 → 2.36.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 (193) hide show
  1. package/bundles/taiga-ui-core-components-button.umd.js +7 -2
  2. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-button.umd.min.js +2 -2
  4. package/bundles/taiga-ui-core-components-button.umd.min.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-loader.umd.js +26 -6
  6. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-loader.umd.min.js +1 -1
  8. package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +2 -6
  10. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +2 -2
  12. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +7 -2
  14. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +1 -1
  16. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +9 -5
  18. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
  20. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js +2 -2
  22. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js +1 -1
  24. package/bundles/taiga-ui-core-components-primitive-year-picker.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-root.umd.js +13 -7
  26. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-root.umd.min.js +2 -2
  28. package/bundles/taiga-ui-core-components-root.umd.min.js.map +1 -1
  29. package/bundles/taiga-ui-core-constants.umd.js +1 -1
  30. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
  32. package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-core-directives-described-by.umd.js +4 -4
  34. package/bundles/taiga-ui-core-directives-described-by.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-directives-described-by.umd.min.js +1 -1
  36. package/bundles/taiga-ui-core-directives-described-by.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-core-directives-hint.umd.js +5 -0
  38. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-directives-hint.umd.min.js +1 -1
  40. package/bundles/taiga-ui-core-directives-hint.umd.min.js.map +1 -1
  41. package/bundles/taiga-ui-core-directives-manual-hint.umd.js +5 -0
  42. package/bundles/taiga-ui-core-directives-manual-hint.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js +1 -1
  44. package/bundles/taiga-ui-core-directives-manual-hint.umd.min.js.map +1 -1
  45. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js +5 -0
  46. package/bundles/taiga-ui-core-directives-pointer-hint.umd.js.map +1 -1
  47. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js +1 -1
  48. package/bundles/taiga-ui-core-directives-pointer-hint.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-core-tokens.umd.js +5 -0
  50. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  51. package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
  52. package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
  53. package/bundles/taiga-ui-core-utils-polyfills.umd.js +5 -5
  54. package/bundles/taiga-ui-core-utils-polyfills.umd.js.map +1 -1
  55. package/bundles/taiga-ui-core-utils-polyfills.umd.min.js +1 -1
  56. package/bundles/taiga-ui-core-utils-polyfills.umd.min.js.map +1 -1
  57. package/components/button/button-options.d.ts +10 -4
  58. package/components/button/button.component.d.ts +3 -3
  59. package/components/button/taiga-ui-core-components-button.metadata.json +1 -1
  60. package/components/loader/index.d.ts +1 -0
  61. package/components/loader/loader-options.d.ts +11 -0
  62. package/components/loader/loader.component.d.ts +4 -3
  63. package/components/loader/taiga-ui-core-components-loader.metadata.json +1 -1
  64. package/components/primitive-calendar/primitive-calendar.component.d.ts +0 -1
  65. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +1 -1
  66. package/components/primitive-checkbox/checkbox-options.d.ts +10 -4
  67. package/components/primitive-checkbox/primitive-checkbox.component.d.ts +2 -2
  68. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +1 -1
  69. package/components/primitive-textfield/primitive-textfield-options.d.ts +2 -1
  70. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
  71. package/components/primitive-year-picker/taiga-ui-core-components-primitive-year-picker.metadata.json +1 -1
  72. package/components/root/root.component.d.ts +1 -1
  73. package/components/root/taiga-ui-core-components-root.metadata.json +1 -1
  74. package/constants/taiga-ui-core-constants.metadata.json +1 -1
  75. package/constants/version.d.ts +1 -1
  76. package/directives/described-by/taiga-ui-core-directives-described-by.metadata.json +1 -1
  77. package/directives/hint/hint-options.d.ts +2 -1
  78. package/directives/hint/taiga-ui-core-directives-hint.metadata.json +1 -1
  79. package/directives/manual-hint/manual-hint-options.d.ts +2 -1
  80. package/directives/manual-hint/taiga-ui-core-directives-manual-hint.metadata.json +1 -1
  81. package/directives/pointer-hint/pointer-hint-options.d.ts +2 -1
  82. package/directives/pointer-hint/taiga-ui-core-directives-pointer-hint.metadata.json +1 -1
  83. package/esm2015/components/button/button-options.js +5 -1
  84. package/esm2015/components/button/button.component.js +3 -3
  85. package/esm2015/components/loader/index.js +2 -1
  86. package/esm2015/components/loader/loader-options.js +15 -0
  87. package/esm2015/components/loader/loader.component.js +11 -7
  88. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +3 -7
  89. package/esm2015/components/primitive-checkbox/checkbox-options.js +5 -1
  90. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
  91. package/esm2015/components/primitive-textfield/primitive-textfield-options.js +5 -1
  92. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +3 -3
  93. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +2 -3
  94. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
  95. package/esm2015/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
  96. package/esm2015/components/root/root.component.js +11 -5
  97. package/esm2015/constants/version.js +2 -2
  98. package/esm2015/directives/described-by/described-by.providers.js +6 -6
  99. package/esm2015/directives/hint/hint-options.js +5 -1
  100. package/esm2015/directives/manual-hint/manual-hint-options.js +5 -1
  101. package/esm2015/directives/pointer-hint/pointer-hint-options.js +5 -1
  102. package/esm2015/tokens/index.js +2 -1
  103. package/esm2015/tokens/theme.js +5 -0
  104. package/esm2015/utils/polyfills/inner-HTML.js +3 -2
  105. package/esm5/components/button/button-options.js +6 -1
  106. package/esm5/components/button/button.component.js +3 -3
  107. package/esm5/components/loader/index.js +2 -1
  108. package/esm5/components/loader/loader-options.js +16 -0
  109. package/esm5/components/loader/loader.component.js +11 -7
  110. package/esm5/components/primitive-calendar/primitive-calendar.component.js +3 -7
  111. package/esm5/components/primitive-checkbox/checkbox-options.js +6 -1
  112. package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +3 -3
  113. package/esm5/components/primitive-textfield/primitive-textfield-options.js +6 -1
  114. package/esm5/components/primitive-textfield/primitive-textfield.component.js +3 -3
  115. package/esm5/components/primitive-textfield/primitive-textfield.module.js +2 -3
  116. package/esm5/components/primitive-textfield/textfield/textfield.component.js +3 -3
  117. package/esm5/components/primitive-year-picker/primitive-year-picker.component.js +3 -3
  118. package/esm5/components/root/root.component.js +12 -5
  119. package/esm5/constants/version.js +2 -2
  120. package/esm5/directives/described-by/described-by.providers.js +7 -7
  121. package/esm5/directives/hint/hint-options.js +5 -1
  122. package/esm5/directives/manual-hint/manual-hint-options.js +5 -1
  123. package/esm5/directives/pointer-hint/pointer-hint-options.js +5 -1
  124. package/esm5/tokens/index.js +2 -1
  125. package/esm5/tokens/theme.js +5 -0
  126. package/esm5/utils/polyfills/inner-HTML.js +3 -2
  127. package/fesm2015/taiga-ui-core-components-button.js +7 -3
  128. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  129. package/fesm2015/taiga-ui-core-components-loader.js +25 -8
  130. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  131. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +2 -6
  132. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  133. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +7 -3
  134. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  135. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +10 -7
  136. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  137. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js +2 -2
  138. package/fesm2015/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  139. package/fesm2015/taiga-ui-core-components-root.js +10 -5
  140. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  141. package/fesm2015/taiga-ui-core-constants.js +1 -1
  142. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  143. package/fesm2015/taiga-ui-core-directives-described-by.js +6 -6
  144. package/fesm2015/taiga-ui-core-directives-described-by.js.map +1 -1
  145. package/fesm2015/taiga-ui-core-directives-hint.js +5 -1
  146. package/fesm2015/taiga-ui-core-directives-hint.js.map +1 -1
  147. package/fesm2015/taiga-ui-core-directives-manual-hint.js +5 -1
  148. package/fesm2015/taiga-ui-core-directives-manual-hint.js.map +1 -1
  149. package/fesm2015/taiga-ui-core-directives-pointer-hint.js +5 -1
  150. package/fesm2015/taiga-ui-core-directives-pointer-hint.js.map +1 -1
  151. package/fesm2015/taiga-ui-core-tokens.js +5 -1
  152. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  153. package/fesm2015/taiga-ui-core-utils-polyfills.js +3 -1
  154. package/fesm2015/taiga-ui-core-utils-polyfills.js.map +1 -1
  155. package/fesm5/taiga-ui-core-components-button.js +8 -4
  156. package/fesm5/taiga-ui-core-components-button.js.map +1 -1
  157. package/fesm5/taiga-ui-core-components-loader.js +26 -9
  158. package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
  159. package/fesm5/taiga-ui-core-components-primitive-calendar.js +2 -6
  160. package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  161. package/fesm5/taiga-ui-core-components-primitive-checkbox.js +8 -4
  162. package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  163. package/fesm5/taiga-ui-core-components-primitive-textfield.js +11 -8
  164. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  165. package/fesm5/taiga-ui-core-components-primitive-year-picker.js +2 -2
  166. package/fesm5/taiga-ui-core-components-primitive-year-picker.js.map +1 -1
  167. package/fesm5/taiga-ui-core-components-root.js +11 -5
  168. package/fesm5/taiga-ui-core-components-root.js.map +1 -1
  169. package/fesm5/taiga-ui-core-constants.js +1 -1
  170. package/fesm5/taiga-ui-core-constants.js.map +1 -1
  171. package/fesm5/taiga-ui-core-directives-described-by.js +7 -7
  172. package/fesm5/taiga-ui-core-directives-described-by.js.map +1 -1
  173. package/fesm5/taiga-ui-core-directives-hint.js +5 -1
  174. package/fesm5/taiga-ui-core-directives-hint.js.map +1 -1
  175. package/fesm5/taiga-ui-core-directives-manual-hint.js +5 -1
  176. package/fesm5/taiga-ui-core-directives-manual-hint.js.map +1 -1
  177. package/fesm5/taiga-ui-core-directives-pointer-hint.js +5 -1
  178. package/fesm5/taiga-ui-core-directives-pointer-hint.js.map +1 -1
  179. package/fesm5/taiga-ui-core-tokens.js +5 -1
  180. package/fesm5/taiga-ui-core-tokens.js.map +1 -1
  181. package/fesm5/taiga-ui-core-utils-polyfills.js +3 -1
  182. package/fesm5/taiga-ui-core-utils-polyfills.js.map +1 -1
  183. package/package.json +4 -4
  184. package/styles/markup/tui-form-old.less +13 -11
  185. package/styles/markup/tui-form.less +12 -15
  186. package/styles/mixins/picker.less +10 -10
  187. package/styles/mixins/picker.scss +10 -10
  188. package/styles/mixins/textfield.less +19 -18
  189. package/styles/mixins/textfield.scss +21 -21
  190. package/styles/theme/variables.less +1 -0
  191. package/tokens/index.d.ts +1 -0
  192. package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
  193. package/tokens/theme.d.ts +2 -0
@@ -96,7 +96,7 @@
96
96
  }
97
97
  }
98
98
 
99
- &[data-tui-element-range] {
99
+ &[data-range] {
100
100
  &:after {
101
101
  background-color: var(--tui-primary-text);
102
102
  }
@@ -110,18 +110,18 @@
110
110
  }
111
111
  }
112
112
 
113
- &[data-tui-element-state='hovered'] > .t-item:before,
114
- &[data-tui-element-state='hovered'] > .t-item:after {
113
+ &[data-state='hovered'] > .t-item:before,
114
+ &[data-state='hovered'] > .t-item:after {
115
115
  background-color: var(--tui-primary-hover);
116
116
  }
117
117
 
118
- &[data-tui-element-state='pressed'] > .t-item:before,
119
- &[data-tui-element-state='pressed'] > .t-item:after {
118
+ &[data-state='pressed'] > .t-item:before,
119
+ &[data-state='pressed'] > .t-item:after {
120
120
  background-color: var(--tui-primary-active);
121
121
  }
122
122
  }
123
123
 
124
- &[data-tui-element-range='end'] > .t-item {
124
+ &[data-range='end'] > .t-item {
125
125
  &:before {
126
126
  left: 0.25rem;
127
127
  }
@@ -133,7 +133,7 @@
133
133
  }
134
134
  }
135
135
 
136
- &[data-tui-element-range='start'] > .t-item {
136
+ &[data-range='start'] > .t-item {
137
137
  &:before {
138
138
  right: 0.25rem;
139
139
  }
@@ -145,7 +145,7 @@
145
145
  }
146
146
  }
147
147
 
148
- &[data-tui-element-state='disabled'] {
148
+ &[data-state='disabled'] {
149
149
  pointer-events: none;
150
150
 
151
151
  & > .t-item {
@@ -153,11 +153,11 @@
153
153
  }
154
154
  }
155
155
 
156
- &[data-tui-element-state='hovered']:hover:not([data-tui-element-range]) > .t-item {
156
+ &[data-state='hovered']:hover:not([data-range]) > .t-item {
157
157
  background-color: var(--tui-secondary-hover);
158
158
  }
159
159
 
160
- &[data-tui-element-state='pressed']:hover:not([data-tui-element-range]) > .t-item {
160
+ &[data-state='pressed']:hover:not([data-range]) > .t-item {
161
161
  background-color: var(--tui-secondary-active);
162
162
  }
163
163
  }
@@ -96,7 +96,7 @@
96
96
  }
97
97
  }
98
98
 
99
- &[data-tui-element-range] {
99
+ &[data-range] {
100
100
  &:after {
101
101
  background-color: var(--tui-primary-text);
102
102
  }
@@ -110,18 +110,18 @@
110
110
  }
111
111
  }
112
112
 
113
- &[data-tui-element-state='hovered'] > .t-item:before,
114
- &[data-tui-element-state='hovered'] > .t-item:after {
113
+ &[data-state='hovered'] > .t-item:before,
114
+ &[data-state='hovered'] > .t-item:after {
115
115
  background-color: var(--tui-primary-hover);
116
116
  }
117
117
 
118
- &[data-tui-element-state='pressed'] > .t-item:before,
119
- &[data-tui-element-state='pressed'] > .t-item:after {
118
+ &[data-state='pressed'] > .t-item:before,
119
+ &[data-state='pressed'] > .t-item:after {
120
120
  background-color: var(--tui-primary-active);
121
121
  }
122
122
  }
123
123
 
124
- &[data-tui-element-range='end'] > .t-item {
124
+ &[data-range='end'] > .t-item {
125
125
  &:before {
126
126
  left: 4px;
127
127
  }
@@ -133,7 +133,7 @@
133
133
  }
134
134
  }
135
135
 
136
- &[data-tui-element-range='start'] > .t-item {
136
+ &[data-range='start'] > .t-item {
137
137
  &:before {
138
138
  right: 4px;
139
139
  }
@@ -145,7 +145,7 @@
145
145
  }
146
146
  }
147
147
 
148
- &[data-tui-element-state='disabled'] {
148
+ &[data-state='disabled'] {
149
149
  pointer-events: none;
150
150
 
151
151
  & > .t-item {
@@ -153,12 +153,12 @@
153
153
  }
154
154
  }
155
155
 
156
- &[data-tui-element-state='hovered']:hover:not([data-tui-element-range])
156
+ &[data-state='hovered']:hover:not([data-range])
157
157
  > .t-item {
158
158
  background-color: var(--tui-secondary-hover);
159
159
  }
160
160
 
161
- &[data-tui-element-state='pressed']:hover:not([data-tui-element-range])
161
+ &[data-state='pressed']:hover:not([data-range])
162
162
  > .t-item {
163
163
  background-color: var(--tui-secondary-active);
164
164
  }
@@ -57,34 +57,39 @@
57
57
  .clearinput();
58
58
  .fullsize();
59
59
  padding: 0 var(--tui-padding-m);
60
- border: 0 solid transparent;
61
- border-width: 0 var(--border-end) 0 var(--border-start);
62
- border-inline-start-width: var(--border-start);
63
- border-inline-end-width: var(--border-end);
60
+ border: solid transparent;
61
+ border-width: 0 var(--border-end, 0) 0 var(--border-start, 0);
62
+ border-inline-start-width: var(--border-start, 0);
63
+ border-inline-end-width: var(--border-end, 0);
64
64
  text-indent: var(--text-indent);
65
65
  text-align: inherit;
66
66
  box-sizing: border-box;
67
67
  white-space: nowrap;
68
68
  overflow: hidden;
69
69
  text-transform: inherit;
70
+ resize: none;
70
71
 
71
72
  :host[data-mode='onDark'] &,
72
- :host-context(tui-primitive-textfield[data-mode='onDark']) {
73
+ :host-context(tui-primitive-textfield[data-mode='onDark']),
74
+ :host-context(tui-text-area[data-mode='onDark']) {
73
75
  .autofill(dark);
74
76
  }
75
77
 
76
78
  :host[data-size='s'] &,
77
- :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield) {
79
+ :host-context(tui-primitive-textfield[data-size='s']):not(tui-primitive-textfield),
80
+ :host-context(tui-text-area[data-size='s']):not(tui-text-area) {
78
81
  padding: 0 var(--tui-padding-s);
79
82
  }
80
83
 
81
84
  :host[data-size='l'] &,
82
- :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield) {
85
+ :host-context(tui-primitive-textfield[data-size='l']):not(tui-primitive-textfield),
86
+ :host-context(tui-text-area[data-size='l']):not(tui-text-area) {
83
87
  padding: 0 var(--tui-padding-l);
84
88
  }
85
89
 
86
90
  :host._disabled &,
87
- :host-context(tui-primitive-textfield._disabled) {
91
+ :host-context(tui-primitive-textfield._disabled),
92
+ :host-context(tui-text-area._disabled) {
88
93
  // @bad TODO: research why you can reach disabled textfield with mask inside a label without that
89
94
  pointer-events: none;
90
95
  }
@@ -240,23 +245,19 @@
240
245
  .textfield-host();
241
246
  }
242
247
 
243
- .input {
248
+ .t-input {
244
249
  .textfield-input();
245
250
  }
246
251
 
247
- .filler {
248
- vertical-align: middle;
249
- }
250
-
251
- .content {
252
+ .t-content {
252
253
  .textfield-content();
253
254
  }
254
255
 
255
- .wrapper {
256
+ .t-wrapper {
256
257
  .textfield-wrapper();
257
258
  }
258
259
 
259
- .placeholder {
260
+ .t-placeholder {
260
261
  .textfield-placeholder();
261
262
 
262
263
  /* Safari 9+ */
@@ -267,12 +268,12 @@
267
268
  }
268
269
  }
269
270
 
270
- .cleaner {
271
+ .t-cleaner {
271
272
  .icon-button();
272
273
  }
273
274
 
274
275
  // @bad TODO: Refactor this and interactive icons together
275
- .icon {
276
+ .t-icon {
276
277
  .input-icon();
277
278
 
278
279
  &_left {
@@ -4,19 +4,19 @@
4
4
  display: block;
5
5
  border-radius: var(--tui-radius-m);
6
6
 
7
- &[data-tui-host-size='s'] {
7
+ &[data-size='s'] {
8
8
  height: var(--tui-height-s);
9
9
  min-height: var(--tui-height-s);
10
10
  max-height: var(--tui-height-s);
11
11
  }
12
12
 
13
- &[data-tui-host-size='m'] {
13
+ &[data-size='m'] {
14
14
  height: var(--tui-height-m);
15
15
  min-height: var(--tui-height-m);
16
16
  max-height: var(--tui-height-m);
17
17
  }
18
18
 
19
- &[data-tui-host-size='l'] {
19
+ &[data-size='l'] {
20
20
  height: var(--tui-height-l);
21
21
  min-height: var(--tui-height-l);
22
22
  max-height: var(--tui-height-l);
@@ -33,11 +33,11 @@
33
33
  align-items: center;
34
34
  overflow: hidden;
35
35
 
36
- :host[data-tui-host-size='s'] & {
36
+ :host[data-size='s'] & {
37
37
  padding-right: 8px;
38
38
  }
39
39
 
40
- :host[data-tui-host-size='l'] & {
40
+ :host[data-size='l'] & {
41
41
  padding-left: 16px;
42
42
  }
43
43
  }
@@ -52,11 +52,11 @@
52
52
  overflow: hidden;
53
53
  text-transform: inherit;
54
54
 
55
- :host[data-tui-host-size='s'] & {
55
+ :host[data-size='s'] & {
56
56
  padding: 0 8px 0 12px;
57
57
  }
58
58
 
59
- :host[data-tui-host-size='l'] & {
59
+ :host[data-size='l'] & {
60
60
  padding: 0 16px;
61
61
  }
62
62
 
@@ -65,7 +65,7 @@
65
65
  pointer-events: none;
66
66
  }
67
67
 
68
- :host[data-tui-host-size='l']:not(._label-outside) & {
68
+ :host[data-size='l']:not(._label-outside) & {
69
69
  padding-top: 20px;
70
70
 
71
71
  // Workaround for raising placeholder in temporary autofill
@@ -75,7 +75,7 @@
75
75
  }
76
76
  }
77
77
 
78
- :host[data-tui-host-size='m']:not(._label-outside) & {
78
+ :host[data-size='m']:not(._label-outside) & {
79
79
  padding-top: 18px;
80
80
 
81
81
  // Workaround for raising placeholder in temporary autofill
@@ -112,7 +112,7 @@
112
112
  width: 114%; // compensation of scale(0.87)
113
113
  transform: translateY(-10px) scale(0.87);
114
114
 
115
- :host[data-tui-host-size='m'] & {
115
+ :host[data-size='m'] & {
116
116
  width: 118%;
117
117
  transform: translateY(-8px) scale(0.85);
118
118
  letter-spacing: 0.025rem;
@@ -130,17 +130,17 @@
130
130
  }
131
131
 
132
132
  :host._focused &,
133
- :host[data-tui-host-size='m']._focused._label-outside &,
134
- :host[data-tui-host-size='l']._focused._label-outside & {
133
+ :host[data-size='m']._focused._label-outside &,
134
+ :host[data-size='l']._focused._label-outside & {
135
135
  color: var(--tui-text-03);
136
136
  }
137
137
 
138
- :host[data-tui-host-size='l'] & {
138
+ :host[data-size='l'] & {
139
139
  font-size: 15px;
140
140
  }
141
141
 
142
- :host[data-tui-host-size='m']._focused:not(._label-outside) &,
143
- :host[data-tui-host-size='l']._focused:not(._label-outside) & {
142
+ :host[data-size='m']._focused:not(._label-outside) &,
143
+ :host[data-size='l']._focused:not(._label-outside) & {
144
144
  color: var(--tui-text-01);
145
145
  }
146
146
 
@@ -150,14 +150,14 @@
150
150
  color: var(--tui-text-02-night);
151
151
  }
152
152
 
153
- :host[data-tui-host-size='m'][data-mode='onDark']._focused:not(._label-outside) &,
154
- :host[data-tui-host-size='l'][data-mode='onDark']._focused:not(._label-outside) & {
153
+ :host[data-size='m'][data-mode='onDark']._focused:not(._label-outside) &,
154
+ :host[data-size='l'][data-mode='onDark']._focused:not(._label-outside) & {
155
155
  color: var(--tui-text-01-night);
156
156
  }
157
157
 
158
158
  :host[data-mode='onDark']._focused &,
159
- :host[data-tui-host-size='m'][data-mode='onDark']._focused._label-outside &,
160
- :host[data-tui-host-size='l'][data-mode='onDark']._focused._label-outside & {
159
+ :host[data-size='m'][data-mode='onDark']._focused._label-outside &,
160
+ :host[data-size='l'][data-mode='onDark']._focused._label-outside & {
161
161
  color: var(--tui-text-02-night);
162
162
  }
163
163
  /* stylelint-enable selector-max-specificity */
@@ -213,7 +213,7 @@
213
213
  letter-spacing: normal;
214
214
  text-transform: none;
215
215
 
216
- :host[data-tui-host-size='m']._label-outside & {
216
+ :host[data-size='m']._label-outside & {
217
217
  margin-top: -19px;
218
218
  }
219
219
 
@@ -286,7 +286,7 @@
286
286
  &_left {
287
287
  margin: 0 2 * $space 0 -$space;
288
288
 
289
- :host[data-tui-host-size='s'] & {
289
+ :host[data-size='s'] & {
290
290
  margin-right: $space;
291
291
  }
292
292
  }
@@ -143,5 +143,6 @@
143
143
  --tui-support-19: #d2e9a2;
144
144
  --tui-support-20: #aadc42;
145
145
  --tui-support-21: #a0c5df;
146
+ // Deprecated This color does not exist in our palette TODO delete it v3.0
146
147
  --tui-support-22: #3c7ba8;
147
148
  }
package/tokens/index.d.ts CHANGED
@@ -22,4 +22,5 @@ export * from './scroll-ref';
22
22
  export * from './svg-src-processor';
23
23
  export * from './textfield-appearance';
24
24
  export * from './textfield-host';
25
+ export * from './theme';
25
26
  export * from './value-accessor';
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":18,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":23,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":26,"character":17,"module":"./notification-options"}]},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":18,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":23,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":26,"character":17,"module":"./notification-options"}]},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_THEME":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["Theme name",{"__symbolic":"error","message":"Lambda not supported","line":3,"character":13,"module":"./theme"}]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_THEME":"./theme","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
@@ -0,0 +1,2 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export declare const TUI_THEME: InjectionToken<string>;