@taiga-ui/core 3.1.0 → 3.3.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 (83) hide show
  1. package/README.md +1 -6
  2. package/bundles/taiga-ui-core-components-button.umd.js +1 -1
  3. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  4. package/bundles/taiga-ui-core-components-dialog.umd.js +2 -2
  5. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  6. package/bundles/taiga-ui-core-components-loader.umd.js +1 -1
  7. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  8. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +1 -1
  9. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  10. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +4 -4
  11. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  12. package/bundles/taiga-ui-core-components-root.umd.js +1 -1
  13. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +7 -7
  14. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-tokens.umd.js +33 -33
  16. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  17. package/esm2015/components/button/button-options.js +2 -2
  18. package/esm2015/components/dialog/dialog.providers.js +3 -3
  19. package/esm2015/components/loader/loader-options.js +2 -2
  20. package/esm2015/components/primitive-checkbox/checkbox-options.js +2 -2
  21. package/esm2015/components/primitive-textfield/primitive-textfield-options.js +2 -2
  22. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +1 -1
  23. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +3 -3
  24. package/esm2015/components/root/root.component.js +1 -1
  25. package/esm2015/directives/textfield-controller/textfield-cleaner.directive.js +2 -2
  26. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +2 -2
  27. package/esm2015/directives/textfield-controller/textfield-custom-content.directive.js +2 -2
  28. package/esm2015/directives/textfield-controller/textfield-icon-left.directive.js +2 -2
  29. package/esm2015/directives/textfield-controller/textfield-icon.directive.js +2 -2
  30. package/esm2015/directives/textfield-controller/textfield-label-outside.directive.js +2 -2
  31. package/esm2015/directives/textfield-controller/textfield-size.directive.js +2 -2
  32. package/esm2015/tokens/animation-options.js +2 -2
  33. package/esm2015/tokens/animations-duration.js +2 -2
  34. package/esm2015/tokens/assert-enabled.js +2 -2
  35. package/esm2015/tokens/data-list-accessor.js +2 -2
  36. package/esm2015/tokens/data-list-host.js +2 -2
  37. package/esm2015/tokens/document-or-shadow-root.js +2 -2
  38. package/esm2015/tokens/element-ref.js +2 -2
  39. package/esm2015/tokens/first-day-of-week.js +2 -2
  40. package/esm2015/tokens/i18n.js +7 -7
  41. package/esm2015/tokens/icon-place.js +2 -2
  42. package/esm2015/tokens/icons-path.js +2 -2
  43. package/esm2015/tokens/icons.js +2 -2
  44. package/esm2015/tokens/is-mobile-resolution.js +2 -2
  45. package/esm2015/tokens/media.js +2 -2
  46. package/esm2015/tokens/mode.js +2 -2
  47. package/esm2015/tokens/notification-options.js +2 -2
  48. package/esm2015/tokens/number-format.js +2 -2
  49. package/esm2015/tokens/option-content.js +2 -2
  50. package/esm2015/tokens/ordered-short-week-days.js +2 -2
  51. package/esm2015/tokens/sanitizer.js +2 -2
  52. package/esm2015/tokens/scroll-ref.js +2 -2
  53. package/esm2015/tokens/selection-stream.js +2 -2
  54. package/esm2015/tokens/svg-content-processor.js +2 -2
  55. package/esm2015/tokens/svg-src-processor.js +2 -2
  56. package/esm2015/tokens/textfield-appearance.js +2 -2
  57. package/esm2015/tokens/textfield-host.js +2 -2
  58. package/esm2015/tokens/theme.js +2 -2
  59. package/esm2015/tokens/value-accessor.js +2 -2
  60. package/fesm2015/taiga-ui-core-components-button.js +1 -1
  61. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  62. package/fesm2015/taiga-ui-core-components-dialog.js +2 -2
  63. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  64. package/fesm2015/taiga-ui-core-components-loader.js +1 -1
  65. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  66. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +1 -1
  67. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  68. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +4 -4
  69. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  70. package/fesm2015/taiga-ui-core-components-root.js +1 -1
  71. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +7 -7
  72. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  73. package/fesm2015/taiga-ui-core-tokens.js +33 -33
  74. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  75. package/package.json +4 -4
  76. package/styles/mixins/mixins.scss +35 -20
  77. package/styles/mixins/picker.scss +13 -13
  78. package/styles/mixins/slider.scss +17 -0
  79. package/styles/mixins/text.scss +2 -0
  80. package/styles/mixins/textfield.less +1 -0
  81. package/styles/mixins/textfield.scss +89 -94
  82. package/styles/mixins/wrapper.scss +5 -3
  83. package/styles/variables/media.scss +21 -0
@@ -1,7 +1,9 @@
1
1
  @mixin wrapper-hover {
2
- &:hover:not(._no-hover),
3
- &[data-state='hover'] {
4
- @content;
2
+ @media (hover: hover) {
3
+ &:hover:not(._no-hover),
4
+ &[data-state='hover'] {
5
+ @content;
6
+ }
5
7
  }
6
8
  }
7
9
 
@@ -1,3 +1,24 @@
1
+ $tui-media-retina: '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)';
2
+ $tui-media-retina-mobile: '(-webkit-min-device-pixel-ratio: 2) and (max-width: 37.4625em), (min-resolution: 192dpi) and (max-width: 37.4625em)';
3
+ $tui-media-retina-tablet: '(-webkit-min-device-pixel-ratio: 2) and (max-width: 63.9625em), (min-resolution: 192dpi) and (max-width: 63.9625em)';
4
+ $tui-media-retina-desktop: '(-webkit-min-device-pixel-ratio: 2) and (max-width: 84.9625em), (min-resolution: 192dpi) and (max-width: 84.9625em)';
5
+
6
+ $tui-mobile: 'screen and (max-width: 47.9625em)';
7
+ $tui-mobile-min: 'screen and (min-width: 22.5em)';
8
+ $tui-mobile-interval: '(min-width: 22.5em) and (max-width: 47.9625em)';
9
+
10
+ $tui-tablet: 'screen and (max-width: 63.9625em)';
11
+ $tui-tablet-min: 'screen and (min-width: 48em)';
12
+ $tui-tablet-interval: '(min-width: 48em) and (max-width: 63.9625em)';
13
+
14
+ $tui-desktop: 'screen and (max-width: 79.9625em)';
15
+ $tui-desktop-min: 'screen and (min-width: 64em)';
16
+ $tui-desktop-interval: '(min-width: 64em) and (max-width: 79.9625em)';
17
+
18
+ $tui-desktop-lg-min: 'screen and (min-width: 80em)';
19
+
20
+ // TODO: 4.0 delete all deprecations below
21
+ // deprecated
1
22
  $media-retina: '(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)';
2
23
  $media-retina-mobile: '(-webkit-min-device-pixel-ratio: 2) and (max-width: 599px), (min-resolution: 192dpi) and (max-width: 599px)';
3
24
  $media-retina-tablet: '(-webkit-min-device-pixel-ratio: 2) and (max-width: 1023px), (min-resolution: 192dpi) and (max-width: 1023px)';