@taiga-ui/core 4.7.0 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/components/data-list/data-list.component.d.ts +2 -1
  2. package/components/dialog/dialog.component.d.ts +14 -4
  3. package/components/loader/loader.component.d.ts +2 -8
  4. package/components/textfield/textfield.component.d.ts +6 -7
  5. package/directives/appearance/appearance.directive.d.ts +3 -1
  6. package/directives/appearance/appearance.options.d.ts +2 -1
  7. package/esm2022/components/calendar/calendar-sheet.component.mjs +3 -3
  8. package/esm2022/components/calendar/calendar-year.component.mjs +3 -3
  9. package/esm2022/components/data-list/data-list.component.mjs +10 -5
  10. package/esm2022/components/dialog/dialog.component.mjs +13 -19
  11. package/esm2022/components/link/link.directive.mjs +2 -2
  12. package/esm2022/components/loader/loader.component.mjs +10 -27
  13. package/esm2022/components/root/root.component.mjs +1 -1
  14. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +2 -2
  15. package/esm2022/components/textfield/textfield.component.mjs +15 -17
  16. package/esm2022/directives/appearance/appearance.bindings.mjs +1 -1
  17. package/esm2022/directives/appearance/appearance.directive.mjs +15 -6
  18. package/esm2022/directives/appearance/appearance.options.mjs +1 -1
  19. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +6 -5
  20. package/esm2022/directives/dropdown/dropdown.component.mjs +3 -3
  21. package/esm2022/pipes/flag/flag.pipe.mjs +1 -1
  22. package/fesm2022/taiga-ui-core-components-calendar.mjs +4 -4
  23. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-core-components-data-list.mjs +9 -5
  25. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-core-components-dialog.mjs +11 -16
  27. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-core-components-link.mjs +2 -2
  29. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-core-components-loader.mjs +9 -26
  31. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-core-components-root.mjs +1 -1
  33. package/fesm2022/taiga-ui-core-components-textfield.mjs +15 -18
  34. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-core-directives-appearance.mjs +14 -5
  36. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +7 -6
  38. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  40. package/package.json +7 -7
  41. package/pipes/flag/flag.pipe.d.ts +6 -3
  42. package/styles/components/appearance.less +4 -0
  43. package/styles/components/link.less +1 -0
  44. package/styles/components/textfield.less +10 -10
  45. package/styles/mixins/date-picker.less +4 -4
  46. package/styles/mixins/mixins.less +17 -0
  47. package/styles/mixins/mixins.scss +17 -0
  48. package/styles/theme/appearance/textfield.less +0 -1
@@ -129,3 +129,20 @@
129
129
  overflow: hidden;
130
130
  padding: 0;
131
131
  }
132
+
133
+ // prevent scrolling to focused element on IOS
134
+ .tui-prevent-ios-scroll() {
135
+ &:focus {
136
+ animation: tuiPreventIOSScroll 0.001s;
137
+ }
138
+
139
+ @keyframes tuiPreventIOSScroll {
140
+ 0% {
141
+ opacity: 0;
142
+ }
143
+
144
+ 100% {
145
+ opacity: 1;
146
+ }
147
+ }
148
+ }
@@ -128,3 +128,20 @@
128
128
  overflow: hidden;
129
129
  padding: 0;
130
130
  }
131
+
132
+ // prevent scrolling to focused element on IOS
133
+ @mixin tui-prevent-ios-scroll() {
134
+ &:focus {
135
+ animation: tuiPreventIOSScroll 0.001s;
136
+ }
137
+
138
+ @keyframes tuiPreventIOSScroll {
139
+ 0% {
140
+ opacity: 0;
141
+ }
142
+
143
+ 100% {
144
+ opacity: 1;
145
+ }
146
+ }
147
+ }
@@ -40,7 +40,6 @@
40
40
  &:-webkit-autofill {
41
41
  -webkit-text-fill-color: var(--tui-text-primary) !important;
42
42
  caret-color: var(--tui-text-primary) !important;
43
- border-color: var(--tui-service-autofill-background) !important;
44
43
  box-shadow: 0 0 0 100rem var(--tui-service-autofill-background) inset !important;
45
44
  transition: background-color 600000s 0s;
46
45