@recursyve/nice-ui-kit.v2 14.0.0-beta.99 → 15.0.0-beta.120

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 (325) hide show
  1. package/esm2020/lib/api/interceptors/transform-response.interceptor.mjs +3 -3
  2. package/esm2020/lib/components/alert/alert.component.mjs +4 -4
  3. package/esm2020/lib/components/alert/alert.module.mjs +4 -4
  4. package/esm2020/lib/components/alert/alert.service.mjs +3 -3
  5. package/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +78 -49
  6. package/esm2020/lib/components/assets-carousel/assets-carousel.module.mjs +15 -10
  7. package/esm2020/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.mjs +14 -0
  8. package/esm2020/lib/components/assets-carousel/public-api.mjs +2 -1
  9. package/esm2020/lib/components/async-typeahead/async-typeahead.component.mjs +48 -35
  10. package/esm2020/lib/components/async-typeahead/async-typeahead.module.mjs +4 -4
  11. package/esm2020/lib/components/async-typeahead/providers/async-typeahead.service.mjs +15 -4
  12. package/esm2020/lib/components/async-typeahead/public-api.mjs +2 -1
  13. package/esm2020/lib/components/base-form/base-form.component.mjs +3 -3
  14. package/esm2020/lib/components/base-form/base-form.module.mjs +4 -4
  15. package/esm2020/lib/components/base-form/form-submit.directive.mjs +3 -3
  16. package/esm2020/lib/components/card/card.component.mjs +3 -3
  17. package/esm2020/lib/components/card/card.module.mjs +4 -4
  18. package/esm2020/lib/components/carousel/carousel.component.mjs +7 -7
  19. package/esm2020/lib/components/carousel/carousel.module.mjs +4 -4
  20. package/esm2020/lib/components/carousel/picture-modal/picture-modal.component.mjs +3 -3
  21. package/esm2020/lib/components/carousel/picture-modal/picture-modal.service.mjs +3 -3
  22. package/esm2020/lib/components/carousel/pipe/carousel-layout.pipe.mjs +3 -3
  23. package/esm2020/lib/components/collapsable/collapsable.component.mjs +36 -0
  24. package/esm2020/lib/components/collapsable/collapsable.module.mjs +25 -0
  25. package/esm2020/lib/components/collapsable/index.mjs +2 -0
  26. package/esm2020/lib/components/collapsable/public-api.mjs +3 -0
  27. package/esm2020/lib/components/date-range-picker/components/header/header.component.mjs +57 -0
  28. package/esm2020/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +107 -0
  29. package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +74 -0
  30. package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +56 -0
  31. package/esm2020/lib/components/date-range-picker/index.mjs +2 -0
  32. package/esm2020/lib/components/date-range-picker/providers/date-range-picker.service.mjs +17 -0
  33. package/esm2020/lib/components/date-range-picker/public-api.mjs +3 -0
  34. package/esm2020/lib/components/drawer/drawer.component.mjs +3 -3
  35. package/esm2020/lib/components/drawer/drawer.module.mjs +4 -4
  36. package/esm2020/lib/components/drawer/drawer.service.mjs +3 -3
  37. package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +6 -7
  38. package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +4 -4
  39. package/esm2020/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +6 -6
  40. package/esm2020/lib/components/form-error/control-status.directive.mjs +31 -11
  41. package/esm2020/lib/components/form-error/form-error.component.mjs +12 -21
  42. package/esm2020/lib/components/form-error/form-error.module.mjs +6 -7
  43. package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +3 -3
  44. package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +4 -4
  45. package/esm2020/lib/components/horizontal-stepper/step.component.mjs +3 -3
  46. package/esm2020/lib/components/image-cropper/image-cropper.component.mjs +35 -35
  47. package/esm2020/lib/components/image-cropper/image-cropper.module.mjs +4 -4
  48. package/esm2020/lib/components/layout/layout.component.mjs +3 -3
  49. package/esm2020/lib/components/layout/layout.module.mjs +4 -4
  50. package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
  51. package/esm2020/lib/components/loading-spinner/loading-spinner.module.mjs +4 -4
  52. package/esm2020/lib/components/loading-spinner/loading.directive.mjs +10 -10
  53. package/esm2020/lib/components/lottie/lottie.component.mjs +3 -3
  54. package/esm2020/lib/components/lottie/lottie.module.mjs +4 -4
  55. package/esm2020/lib/components/navigation/components/hint-component-base.mjs +120 -0
  56. package/esm2020/lib/components/navigation/directives/show-hint.directive.mjs +187 -0
  57. package/esm2020/lib/components/navigation/horizontal/components/basic/basic.component.mjs +3 -3
  58. package/esm2020/lib/components/navigation/horizontal/components/branch/branch.component.mjs +6 -5
  59. package/esm2020/lib/components/navigation/horizontal/components/divider/divider.component.mjs +3 -3
  60. package/esm2020/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +3 -3
  61. package/esm2020/lib/components/navigation/horizontal/horizontal.component.mjs +13 -12
  62. package/esm2020/lib/components/navigation/navigation.component.mjs +3 -3
  63. package/esm2020/lib/components/navigation/navigation.module.mjs +18 -7
  64. package/esm2020/lib/components/navigation/navigation.service.mjs +3 -3
  65. package/esm2020/lib/components/navigation/navigation.types.mjs +1 -1
  66. package/esm2020/lib/components/navigation/pipes/should-hide.pipe.mjs +31 -0
  67. package/esm2020/lib/components/navigation/pipes/should-show-hint.pipe.mjs +32 -0
  68. package/esm2020/lib/components/navigation/providers/hide-item.resolver.mjs +3 -0
  69. package/esm2020/lib/components/navigation/providers/hint.resolver.mjs +3 -0
  70. package/esm2020/lib/components/navigation/providers/hint.service.mjs +20 -0
  71. package/esm2020/lib/components/navigation/public-api.mjs +4 -1
  72. package/esm2020/lib/components/navigation/vertical/components/aside/aside.component.mjs +3 -3
  73. package/esm2020/lib/components/navigation/vertical/components/basic/basic.component.mjs +8 -6
  74. package/esm2020/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +7 -5
  75. package/esm2020/lib/components/navigation/vertical/components/divider/divider.component.mjs +3 -3
  76. package/esm2020/lib/components/navigation/vertical/components/group/group.component.mjs +6 -5
  77. package/esm2020/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +3 -3
  78. package/esm2020/lib/components/navigation/vertical/vertical.component.mjs +47 -24
  79. package/esm2020/lib/components/public-api.mjs +4 -1
  80. package/esm2020/lib/components/search-bar/search-bar.component.mjs +5 -5
  81. package/esm2020/lib/components/search-bar/search-bar.module.mjs +4 -4
  82. package/esm2020/lib/components/sweet-alert/sweet-alert.component.mjs +3 -3
  83. package/esm2020/lib/components/sweet-alert/sweet-alert.directive.mjs +3 -3
  84. package/esm2020/lib/components/sweet-alert/sweet-alert.module.mjs +4 -4
  85. package/esm2020/lib/components/sweet-alert/sweet-alert.service.mjs +3 -3
  86. package/esm2020/lib/components/toast/toast.component.mjs +4 -4
  87. package/esm2020/lib/components/toast/toast.module.mjs +4 -4
  88. package/esm2020/lib/components/toast/toast.service.mjs +3 -3
  89. package/esm2020/lib/components/toggle-button-group/toggle-button-group.component.mjs +5 -5
  90. package/esm2020/lib/components/toggle-button-group/toggle-button-group.module.mjs +4 -4
  91. package/esm2020/lib/components/toggle-button-group/toggle-button.component.mjs +3 -3
  92. package/esm2020/lib/components/translation-form/components/textarea/translation-form-textarea.component.mjs +37 -0
  93. package/esm2020/lib/components/translation-form/components/textfield/translation-form-textfield.component.mjs +25 -0
  94. package/esm2020/lib/components/translation-form/components/translation-form.component.mjs +164 -0
  95. package/esm2020/lib/components/translation-form/components/translation-form.module.mjs +71 -0
  96. package/esm2020/lib/components/translation-form/decorators/translation-form.decorator.mjs +4 -0
  97. package/esm2020/lib/components/translation-form/directives/translation-context.directive.mjs +34 -0
  98. package/esm2020/lib/components/translation-form/index.mjs +2 -0
  99. package/esm2020/lib/components/translation-form/providers/translation-form.service.mjs +46 -0
  100. package/esm2020/lib/components/translation-form/public-api.mjs +10 -0
  101. package/esm2020/lib/components/translation-form/toggle/translation-toggle.component.mjs +26 -0
  102. package/esm2020/lib/components/translation-form/translation.form.mjs +6 -0
  103. package/esm2020/lib/components/translation-form/validators/require-for-languages.validator.mjs +42 -0
  104. package/esm2020/lib/components/typeahead/directives/options-scroll.directive.mjs +3 -3
  105. package/esm2020/lib/components/typeahead/directives/options-scroll.module.mjs +4 -4
  106. package/esm2020/lib/components/typeahead/typeahead.component.mjs +60 -60
  107. package/esm2020/lib/components/typeahead/typeahead.module.mjs +4 -4
  108. package/esm2020/lib/directives/autofocus/autofocus.directive.mjs +3 -3
  109. package/esm2020/lib/directives/autofocus/autofocus.module.mjs +4 -4
  110. package/esm2020/lib/directives/autogrow/autogrow.directive.mjs +3 -3
  111. package/esm2020/lib/directives/autogrow/autogrow.module.mjs +4 -4
  112. package/esm2020/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +3 -3
  113. package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +3 -3
  114. package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +22 -8
  115. package/esm2020/lib/directives/chip-list/chip-list.constant.mjs +3 -0
  116. package/esm2020/lib/directives/chip-list/chip-list.directive.mjs +44 -17
  117. package/esm2020/lib/directives/chip-list/chip-list.module.mjs +24 -5
  118. package/esm2020/lib/directives/draggable-list/draggable-list.directive.mjs +94 -0
  119. package/esm2020/lib/directives/draggable-list/draggable-list.module.mjs +18 -0
  120. package/esm2020/lib/directives/draggable-list/index.mjs +2 -0
  121. package/esm2020/lib/directives/draggable-list/public-api.mjs +3 -0
  122. package/esm2020/lib/directives/dropzone/dropzone.directive.mjs +3 -3
  123. package/esm2020/lib/directives/dropzone/dropzone.module.mjs +4 -4
  124. package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +3 -3
  125. package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +4 -4
  126. package/esm2020/lib/directives/material/material.module.mjs +4 -4
  127. package/esm2020/lib/directives/material/nice-material-style.directive.mjs +4 -4
  128. package/esm2020/lib/directives/material/nice-rounded-style.directive.mjs +4 -4
  129. package/esm2020/lib/directives/modals/modal-on-click.directive.mjs +3 -3
  130. package/esm2020/lib/directives/modals/modal-opener.directive.mjs +3 -3
  131. package/esm2020/lib/directives/public-api.mjs +4 -1
  132. package/esm2020/lib/directives/rerender/index.mjs +2 -0
  133. package/esm2020/lib/directives/rerender/public-api.mjs +2 -0
  134. package/esm2020/lib/directives/rerender/rerender.directive.mjs +22 -0
  135. package/esm2020/lib/directives/resolve/index.mjs +2 -0
  136. package/esm2020/lib/directives/resolve/public-api.mjs +2 -0
  137. package/esm2020/lib/directives/resolve/resolve.directive.mjs +32 -0
  138. package/esm2020/lib/directives/scroll-reset/scroll-reset.directive.mjs +3 -3
  139. package/esm2020/lib/directives/scroll-reset/scroll-reset.module.mjs +4 -4
  140. package/esm2020/lib/directives/scrollbar/scrollbar.directive.mjs +3 -3
  141. package/esm2020/lib/directives/scrollbar/scrollbar.module.mjs +4 -4
  142. package/esm2020/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +3 -3
  143. package/esm2020/lib/directives/stop-propagation/stop-propagation.module.mjs +4 -4
  144. package/esm2020/lib/directives/window/prevent-close-window.directive.mjs +3 -3
  145. package/esm2020/lib/directives/window/window-directive.module.mjs +4 -4
  146. package/esm2020/lib/nice.module.mjs +57 -5
  147. package/esm2020/lib/pipes/boolean.pipe.mjs +3 -3
  148. package/esm2020/lib/pipes/capitalize-first-letter.pipe.mjs +3 -3
  149. package/esm2020/lib/pipes/ceil.pipe.mjs +3 -3
  150. package/esm2020/lib/pipes/entries.pipe.mjs +3 -3
  151. package/esm2020/lib/pipes/find-by-key.pipe.mjs +3 -3
  152. package/esm2020/lib/pipes/first-letter.pipe.mjs +3 -3
  153. package/esm2020/lib/pipes/floor.pipe.mjs +3 -3
  154. package/esm2020/lib/pipes/join-if-defined.pipe.mjs +3 -3
  155. package/esm2020/lib/pipes/link.pipe.mjs +3 -3
  156. package/esm2020/lib/pipes/localized-boolean.pipe.mjs +3 -3
  157. package/esm2020/lib/pipes/localized-currency.pipe.mjs +3 -3
  158. package/esm2020/lib/pipes/localized-date-only.pipe.mjs +3 -3
  159. package/esm2020/lib/pipes/localized-date.pipe.mjs +3 -3
  160. package/esm2020/lib/pipes/minutes-to-time.pipe.mjs +3 -3
  161. package/esm2020/lib/pipes/number-to-ordinal-indicator.pipe.mjs +3 -3
  162. package/esm2020/lib/pipes/pad.pipe.mjs +3 -3
  163. package/esm2020/lib/pipes/phone.pipe.mjs +9 -9
  164. package/esm2020/lib/pipes/pipes.module.mjs +14 -9
  165. package/esm2020/lib/pipes/postal-code.pipe.mjs +9 -9
  166. package/esm2020/lib/pipes/public-api.mjs +2 -1
  167. package/esm2020/lib/pipes/range.pipe.mjs +3 -3
  168. package/esm2020/lib/pipes/round.pipe.mjs +3 -3
  169. package/esm2020/lib/pipes/sanitize-bypass.pipe.mjs +3 -3
  170. package/esm2020/lib/pipes/seconds-to-time.pipe.mjs +3 -3
  171. package/esm2020/lib/pipes/track-by-prop.pipe.mjs +14 -0
  172. package/esm2020/lib/providers/config/config.module.mjs +4 -4
  173. package/esm2020/lib/providers/config/config.service.mjs +3 -3
  174. package/esm2020/lib/providers/media-watcher/media-watcher.module.mjs +4 -4
  175. package/esm2020/lib/providers/media-watcher/media-watcher.service.mjs +3 -3
  176. package/esm2020/lib/providers/overlay/dynamic-overlay-container.service.mjs +3 -3
  177. package/esm2020/lib/providers/overlay/dynamic-overlay.service.mjs +3 -3
  178. package/esm2020/lib/providers/splash-screen/splash-screen.module.mjs +4 -4
  179. package/esm2020/lib/providers/splash-screen/splash-screen.service.mjs +3 -3
  180. package/esm2020/lib/providers/utils/utils.module.mjs +4 -4
  181. package/esm2020/lib/providers/utils/utils.service.mjs +3 -3
  182. package/esm2020/lib/utils/case.utils.mjs +7 -5
  183. package/esm2020/lib/utils/keyboard.utils.mjs +2 -1
  184. package/esm2020/lib/utils/lexorank.utils.mjs +28 -0
  185. package/esm2020/lib/utils/public-api.mjs +2 -1
  186. package/fesm2015/recursyve-nice-ui-kit.v2.mjs +3130 -1631
  187. package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  188. package/fesm2020/recursyve-nice-ui-kit.v2.mjs +3069 -1578
  189. package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  190. package/lib/api/nice.api.d.ts +1 -1
  191. package/lib/components/alert/alert.component.d.ts +1 -1
  192. package/lib/components/alert/alert.types.d.ts +3 -3
  193. package/lib/components/assets-carousel/assets-carousel.component.d.ts +9 -3
  194. package/lib/components/assets-carousel/assets-carousel.module.d.ts +10 -8
  195. package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts +8 -0
  196. package/lib/components/assets-carousel/public-api.d.ts +1 -0
  197. package/lib/components/async-typeahead/async-typeahead.component.d.ts +5 -1
  198. package/lib/components/async-typeahead/public-api.d.ts +1 -0
  199. package/lib/components/base-form/base-form.component.d.ts +1 -1
  200. package/lib/components/base-form/form-submit.directive.d.ts +1 -1
  201. package/lib/components/card/card.component.d.ts +1 -1
  202. package/lib/components/card/card.types.d.ts +1 -1
  203. package/lib/components/carousel/carousel.component.d.ts +1 -1
  204. package/lib/components/carousel/picture-modal/picture-modal.component.d.ts +1 -1
  205. package/lib/components/collapsable/collapsable.component.d.ts +15 -0
  206. package/lib/components/collapsable/collapsable.module.d.ts +9 -0
  207. package/lib/components/collapsable/index.d.ts +1 -0
  208. package/lib/components/collapsable/public-api.d.ts +2 -0
  209. package/lib/components/date-range-picker/components/header/header.component.d.ts +20 -0
  210. package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +23 -0
  211. package/lib/components/date-range-picker/date-range-picker.component.d.ts +29 -0
  212. package/lib/components/date-range-picker/date-range-picker.module.d.ts +18 -0
  213. package/lib/components/date-range-picker/index.d.ts +1 -0
  214. package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +8 -0
  215. package/lib/components/date-range-picker/public-api.d.ts +2 -0
  216. package/lib/components/drawer/drawer.component.d.ts +1 -1
  217. package/lib/components/drawer/drawer.types.d.ts +2 -2
  218. package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +1 -1
  219. package/lib/components/export-bottom-sheet/models/export-strategy.model.d.ts +1 -1
  220. package/lib/components/form-error/control-status.directive.d.ts +1 -1
  221. package/lib/components/form-error/form-error.component.d.ts +1 -1
  222. package/lib/components/horizontal-stepper/horizontal-stepper.component.d.ts +1 -1
  223. package/lib/components/horizontal-stepper/step.component.d.ts +1 -1
  224. package/lib/components/image-cropper/image-cropper.component.d.ts +2 -2
  225. package/lib/components/layout/layout.component.d.ts +1 -1
  226. package/lib/components/loading-spinner/loading-spinner.component.d.ts +1 -1
  227. package/lib/components/loading-spinner/loading.directive.d.ts +1 -1
  228. package/lib/components/lottie/lottie.component.d.ts +1 -1
  229. package/lib/components/navigation/components/hint-component-base.d.ts +65 -0
  230. package/lib/components/navigation/directives/show-hint.directive.d.ts +39 -0
  231. package/lib/components/navigation/horizontal/components/basic/basic.component.d.ts +1 -1
  232. package/lib/components/navigation/horizontal/components/branch/branch.component.d.ts +1 -1
  233. package/lib/components/navigation/horizontal/components/divider/divider.component.d.ts +1 -1
  234. package/lib/components/navigation/horizontal/components/spacer/spacer.component.d.ts +1 -1
  235. package/lib/components/navigation/horizontal/horizontal.component.d.ts +1 -1
  236. package/lib/components/navigation/navigation.component.d.ts +1 -1
  237. package/lib/components/navigation/navigation.module.d.ts +13 -10
  238. package/lib/components/navigation/navigation.types.d.ts +12 -5
  239. package/lib/components/navigation/pipes/should-hide.pipe.d.ts +11 -0
  240. package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +12 -0
  241. package/lib/components/navigation/providers/hide-item.resolver.d.ts +5 -0
  242. package/lib/components/navigation/providers/hint.resolver.d.ts +4 -0
  243. package/lib/components/navigation/providers/hint.service.d.ts +9 -0
  244. package/lib/components/navigation/public-api.d.ts +3 -0
  245. package/lib/components/navigation/vertical/components/aside/aside.component.d.ts +1 -1
  246. package/lib/components/navigation/vertical/components/basic/basic.component.d.ts +1 -1
  247. package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +1 -1
  248. package/lib/components/navigation/vertical/components/divider/divider.component.d.ts +1 -1
  249. package/lib/components/navigation/vertical/components/group/group.component.d.ts +1 -1
  250. package/lib/components/navigation/vertical/components/spacer/spacer.component.d.ts +1 -1
  251. package/lib/components/navigation/vertical/vertical.component.d.ts +8 -2
  252. package/lib/components/public-api.d.ts +3 -0
  253. package/lib/components/search-bar/search-bar.component.d.ts +1 -1
  254. package/lib/components/sweet-alert/sweet-alert.component.d.ts +1 -1
  255. package/lib/components/sweet-alert/sweet-alert.directive.d.ts +1 -1
  256. package/lib/components/toast/toast.component.d.ts +1 -1
  257. package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +2 -2
  258. package/lib/components/toggle-button-group/toggle-button.component.d.ts +1 -1
  259. package/lib/components/translation-form/components/textarea/translation-form-textarea.component.d.ts +9 -0
  260. package/lib/components/translation-form/components/textfield/translation-form-textfield.component.d.ts +6 -0
  261. package/lib/components/translation-form/components/translation-form.component.d.ts +55 -0
  262. package/lib/components/translation-form/components/translation-form.module.d.ts +16 -0
  263. package/lib/components/translation-form/decorators/translation-form.decorator.d.ts +1 -0
  264. package/lib/components/translation-form/directives/translation-context.directive.d.ts +15 -0
  265. package/lib/components/translation-form/index.d.ts +1 -0
  266. package/lib/components/translation-form/providers/translation-form.service.d.ts +12 -0
  267. package/lib/components/translation-form/public-api.d.ts +9 -0
  268. package/lib/components/translation-form/toggle/translation-toggle.component.d.ts +14 -0
  269. package/lib/components/translation-form/translation.form.d.ts +5 -0
  270. package/lib/components/translation-form/validators/require-for-languages.validator.d.ts +14 -0
  271. package/lib/components/typeahead/directives/options-scroll.directive.d.ts +1 -1
  272. package/lib/components/typeahead/typeahead.component.d.ts +1 -1
  273. package/lib/directives/autofocus/autofocus.directive.d.ts +1 -1
  274. package/lib/directives/autogrow/autogrow.directive.d.ts +1 -1
  275. package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +1 -1
  276. package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +1 -1
  277. package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +14 -2
  278. package/lib/directives/chip-list/chip-list.constant.d.ts +2 -0
  279. package/lib/directives/chip-list/chip-list.directive.d.ts +7 -4
  280. package/lib/directives/chip-list/chip-list.module.d.ts +3 -0
  281. package/lib/directives/draggable-list/draggable-list.directive.d.ts +24 -0
  282. package/lib/directives/draggable-list/draggable-list.module.d.ts +8 -0
  283. package/lib/directives/draggable-list/index.d.ts +1 -0
  284. package/lib/directives/draggable-list/public-api.d.ts +2 -0
  285. package/lib/directives/dropzone/dropzone.directive.d.ts +1 -1
  286. package/lib/directives/image-error-placeholder/image-error-placeholder.directive.d.ts +1 -1
  287. package/lib/directives/material/nice-material-style.directive.d.ts +1 -1
  288. package/lib/directives/material/nice-rounded-style.directive.d.ts +1 -1
  289. package/lib/directives/modals/modal-on-click.directive.d.ts +1 -1
  290. package/lib/directives/modals/modal-opener.directive.d.ts +1 -1
  291. package/lib/directives/public-api.d.ts +3 -0
  292. package/lib/directives/rerender/index.d.ts +1 -0
  293. package/lib/directives/rerender/public-api.d.ts +1 -0
  294. package/lib/directives/rerender/rerender.directive.d.ts +10 -0
  295. package/lib/directives/resolve/index.d.ts +1 -0
  296. package/lib/directives/resolve/public-api.d.ts +1 -0
  297. package/lib/directives/resolve/resolve.directive.d.ts +18 -0
  298. package/lib/directives/scroll-reset/scroll-reset.directive.d.ts +1 -1
  299. package/lib/directives/scrollbar/scrollbar.directive.d.ts +1 -1
  300. package/lib/directives/stop-propagation/click-stop-propagation.directive.d.ts +1 -1
  301. package/lib/directives/window/prevent-close-window.directive.d.ts +1 -1
  302. package/lib/pipes/phone.pipe.d.ts +3 -3
  303. package/lib/pipes/pipes.module.d.ts +2 -1
  304. package/lib/pipes/postal-code.pipe.d.ts +3 -3
  305. package/lib/pipes/public-api.d.ts +1 -0
  306. package/lib/pipes/track-by-prop.pipe.d.ts +7 -0
  307. package/lib/providers/config/config.model.d.ts +3 -3
  308. package/lib/types/constructor.d.ts +2 -2
  309. package/lib/utils/array.utils.d.ts +1 -1
  310. package/lib/utils/keyboard.utils.d.ts +2 -1
  311. package/lib/utils/lexorank.utils.d.ts +6 -0
  312. package/lib/utils/public-api.d.ts +1 -0
  313. package/package.json +10 -10
  314. package/src/lib/components/assets-carousel/assets-carousel.theme.scss +21 -15
  315. package/src/lib/components/collapsable/collapsable.theme.scss +48 -0
  316. package/src/lib/components/date-range-picker/date-range-picker.theme.scss +47 -0
  317. package/src/lib/components/navigation/vertical/styles/appearances/default.theme.scss +38 -0
  318. package/src/lib/components/navigation/vertical/styles/appearances/dense.theme.scss +2 -2
  319. package/src/lib/directives/chip-list/chip-list-items/chip-list-items.theme.scss +5 -1
  320. package/src/lib/nice.theme.scss +26 -9
  321. package/styles/main.scss +1 -4
  322. package/styles/overrides/angular-material.scss +505 -766
  323. package/styles/overrides/quill.scss +42 -5
  324. package/styles/tailwind.scss +47 -1
  325. package/styles/core/tailwind-config.scss +0 -6
@@ -9,9 +9,19 @@
9
9
  @apply bg-black bg-opacity-60 sm:bg-transparent #{'!important'};
10
10
  }
11
11
 
12
- /* ----------------------------------------------------------------------------------------------------- */
13
- /* @ Angular Material helpers & overrides
14
- /* ----------------------------------------------------------------------------------------------------- */
12
+ /* -------------------------------------------------------------------------- */
13
+ /* @ Font smoothing
14
+ /* -------------------------------------------------------------------------- */
15
+ *[class*=mat-],
16
+ *[class*=mat-mdc-] {
17
+ -webkit-font-smoothing: auto !important;
18
+ -moz-osx-font-smoothing: auto !important;
19
+
20
+ * {
21
+ -webkit-font-smoothing: auto !important;
22
+ -moz-osx-font-smoothing: auto !important;
23
+ }
24
+ }
15
25
 
16
26
  /* ----------------------------------------------------------------------------------------------------- */
17
27
  /* @ Accordion
@@ -82,35 +92,18 @@
82
92
  /* ----------------------------------------------------------------------------------------------------- */
83
93
  /* @ Buttons
84
94
  /* ----------------------------------------------------------------------------------------------------- */
85
- .mat-button,
86
- .mat-fab,
87
- .mat-flat-button,
88
- .mat-icon-button,
89
- .mat-mini-fab,
90
- .mat-raised-button,
91
- .mat-stroked-button {
92
- display: inline-flex !important;
93
- align-items: center;
94
- justify-content: center;
95
+ .mat-mdc-button,
96
+ .mat-mdc-raised-button,
97
+ .mat-mdc-outlined-button,
98
+ .mat-mdc-unelevated-button,
99
+ .mat-mdc-icon-button,
100
+ .mat-mdc-fab,
101
+ .mat-mdc-mini-fab {
95
102
  height: 40px;
96
103
  min-height: 40px;
97
104
  max-height: 40px;
98
105
  line-height: 1 !important;
99
106
 
100
- .mat-button-wrapper {
101
- position: relative;
102
- display: inline-flex !important;
103
- align-items: center;
104
- justify-content: center;
105
- height: 100%;
106
- z-index: 2; /* Move mat-button-wrapper above the ripple and focus overlay */
107
- }
108
-
109
- .mat-button-focus-overlay,
110
- .mat-button-ripple {
111
- z-index: 1;
112
- }
113
-
114
107
  /* Large button */
115
108
  &.nice-mat-button-large {
116
109
  height: 48px;
@@ -119,7 +112,7 @@
119
112
  }
120
113
 
121
114
  /* Lower the icon opacity on disabled buttons */
122
- &.mat-button-disabled {
115
+ &[disabled=true] {
123
116
 
124
117
  .mat-icon {
125
118
  opacity: 0.38 !important;
@@ -127,204 +120,134 @@
127
120
  }
128
121
  }
129
122
 
130
- .mat-fab {
131
- max-height: 56px;
132
- }
123
+ /* Icon buttons */
124
+ .mat-mdc-icon-button {
125
+ display: inline-flex !important;
126
+ align-items: center;
127
+ justify-content: center;
128
+ width: 40px !important;
129
+ padding: 0 !important;
133
130
 
134
- /* Rounded design */
135
- .mat-button,
136
- .mat-flat-button,
137
- .mat-raised-button,
138
- .mat-stroked-button {
139
- .-mat-rounded & {
140
- padding: 0 20px;
141
- border-radius: 9999px;
131
+ svg,
132
+ img {
133
+ height: auto !important;
142
134
  }
143
135
  }
144
136
 
145
- /* Target all buttons */
146
- .mat-button,
147
- .mat-fab,
148
- .mat-flat-button,
149
- .mat-icon-button,
150
- .mat-fab,
151
- .mat-mini-fab,
152
- .mat-raised-button,
153
- .mat-stroked-button {
154
-
155
- /* mat-progress-spinner inside buttons */
156
- .mat-progress-spinner {
157
-
158
- &.mat-progress-spinner-indeterminate-animation[mode=indeterminate] {
137
+ /* FAB buttons */
138
+ .mat-mdc-fab {
139
+ max-height: 56px;
140
+ border-radius: 16px !important;
159
141
 
160
- circle {
161
- animation-duration: 6000ms;
162
- }
163
- }
142
+ &:not(.mdc-fab--extended) .mdc-fab__ripple {
143
+ border-radius: 16px !important;
164
144
  }
165
145
  }
166
146
 
167
- /* Colored background buttons */
168
- .mat-flat-button,
169
- .mat-raised-button,
170
- .mat-fab,
171
- .mat-mini-fab {
172
-
173
- .mat-icon {
174
- color: currentColor !important;
175
- }
147
+ /* Mini FAB buttons */
148
+ .mat-mdc-mini-fab {
149
+ border-radius: 12px !important;
176
150
 
177
- /* Add hover and focus style on all buttons */
178
- .mat-button-focus-overlay {
179
- @apply bg-gray-400 bg-opacity-20 dark:bg-black dark:bg-opacity-5 #{'!important'};
151
+ &:not(.mdc-fab--extended) .mdc-fab__ripple {
152
+ border-radius: 12px !important;
180
153
  }
154
+ }
181
155
 
182
- /* On palette colored buttons, use a darker color */
183
- &.mat-primary,
184
- &.mat-accent,
185
- &.mat-warn {
156
+ /* Fix the alignment of icons when used within buttons */
157
+ .mat-mdc-button,
158
+ .mat-mdc-raised-button,
159
+ .mat-mdc-outlined-button,
160
+ .mat-mdc-unelevated-button {
186
161
 
187
- .mat-button-focus-overlay {
188
- background-color: rgba(0, 0, 0, 0.1) !important;
189
- }
162
+ & > .mat-icon {
163
+ margin-left: 0 !important;
164
+ margin-right: 0 !important;
190
165
  }
166
+ }
191
167
 
192
- &:hover,
193
- &.cdk-keyboard-focused,
194
- &.cdk-program-focused {
195
-
196
- .mat-button-focus-overlay {
197
- opacity: 1 !important;
198
- }
199
- }
168
+ /* Adjust the color of mat-progress-spinner when used within buttons */
169
+ .mat-mdc-button,
170
+ .mat-mdc-raised-button,
171
+ .mat-mdc-outlined-button,
172
+ .mat-mdc-unelevated-button,
173
+ .mat-mdc-icon-button,
174
+ .mat-mdc-fab,
175
+ .mat-mdc-mini-fab {
200
176
 
201
- @media (hover: none) {
177
+ .mat-mdc-progress-spinner {
202
178
 
203
- &:hover {
179
+ .mdc-circular-progress__indeterminate-container {
204
180
 
205
- .mat-button-focus-overlay {
206
- opacity: 0 !important;
181
+ circle {
182
+ stroke: currentColor !important;
183
+ animation-duration: 6000ms;
207
184
  }
208
185
  }
209
186
  }
210
-
211
- &.mat-button-disabled {
212
-
213
- .mat-button-focus-overlay {
214
- opacity: 0 !important;
215
- }
216
- }
217
187
  }
218
188
 
219
- /* Transparent background buttons */
220
- .mat-button,
221
- .mat-icon-button,
222
- .mat-stroked-button {
189
+ /* Adjust the focus, ripple and icon colors of colored background buttons */
190
+ .mat-mdc-raised-button,
191
+ .mat-mdc-unelevated-button,
192
+ .mat-mdc-fab,
193
+ .mat-mdc-mini-fab {
223
194
 
224
- /* Apply primary color */
225
- &.mat-primary:not(.mat-button-disabled) {
195
+ --mat-mdc-button-persistent-ripple-color: theme('colors.gray[400]') !important;
196
+ --mat-mdc-button-ripple-color: rgba(0, 0, 0, 0.1) !important;
226
197
 
227
- .mat-icon {
228
- @apply text-primary #{'!important'};
229
- }
198
+ .dark & {
199
+ --mat-mdc-button-persistent-ripple-color: theme('colors.black') !important;
200
+ --mat-mdc-button-ripple-color: rgba(0, 0, 0, 0.1) !important;
230
201
  }
231
202
 
232
- /* Apply accent color */
233
- &.mat-accent:not(.mat-button-disabled) {
234
-
235
- .mat-icon {
236
- @apply text-accent #{'!important'};
237
- }
238
- }
239
-
240
- /* Apply warn color */
241
- &.mat-warn:not(.mat-button-disabled) {
242
-
243
- .mat-icon {
244
- @apply text-warn #{'!important'};
245
- }
246
- }
247
-
248
- /* Add hover and focus styles */
249
- .mat-button-focus-overlay {
250
- @apply bg-gray-400 bg-opacity-20 dark:bg-black dark:bg-opacity-5 #{'!important'};
251
- }
252
-
253
- /* On primary colored buttons, use the primary color as focus overlay */
254
- &.mat-primary:not(.mat-button-disabled) {
255
-
256
- .mat-button-focus-overlay {
257
- @apply bg-primary #{'!important'};
258
- }
203
+ .mat-icon {
204
+ color: currentColor !important;
259
205
  }
260
206
 
261
- /* On accent colored buttons, use the accent color as focus overlay */
262
- &.mat-accent:not(.mat-button-disabled) {
263
-
264
- .mat-button-focus-overlay {
265
- @apply bg-accent #{'!important'};
266
- }
207
+ .mat-ripple-element {
208
+ @apply bg-black/10 #{'!important'};
267
209
  }
210
+ }
268
211
 
269
- /* On warn colored buttons, use the warn color as focus overlay */
270
- &.mat-warn:not(.mat-button-disabled) {
271
212
 
272
- .mat-button-focus-overlay {
273
- @apply bg-warn #{'!important'};
274
- }
275
- }
213
+ /* Color the icons of transparent background buttons */
214
+ .mat-mdc-button,
215
+ .mat-mdc-icon-button,
216
+ .mat-mdc-outlined-button {
276
217
 
277
- &.mat-primary:not(.mat-button-disabled),
278
- &.mat-accent:not(.mat-button-disabled),
279
- &.mat-warn:not(.mat-button-disabled) {
218
+ &:not([disabled=true]) {
280
219
 
281
- &:hover,
282
- &.cdk-keyboard-focused,
283
- &.cdk-program-focused {
220
+ /* Apply primary color */
221
+ &.mat-primary {
284
222
 
285
- .mat-button-focus-overlay {
286
- opacity: 0.1 !important;
223
+ .mat-icon {
224
+ @apply text-primary #{'!important'};
287
225
  }
288
226
  }
289
- }
290
227
 
291
- &:hover,
292
- &.cdk-keyboard-focused,
293
- &.cdk-program-focused {
228
+ /* Apply accent color */
229
+ &.mat-accent {
294
230
 
295
- .mat-button-focus-overlay {
296
- opacity: 1 !important;
297
- }
298
- }
299
-
300
- @media (hover: none) {
301
-
302
- &:hover {
303
-
304
- .mat-button-focus-overlay {
305
- opacity: 0 !important;
231
+ .mat-icon {
232
+ @apply text-accent #{'!important'};
306
233
  }
307
234
  }
308
- }
309
235
 
310
- &.mat-button-disabled {
236
+ /* Apply warn color */
237
+ &.mat-warn {
311
238
 
312
- .mat-button-focus-overlay {
313
- opacity: 0 !important;
239
+ .mat-icon {
240
+ @apply text-warn #{'!important'};
241
+ }
314
242
  }
315
243
  }
316
244
  }
317
245
 
318
- /* Stroked buttons */
319
- .mat-stroked-button {
246
+ /* Don't wrap the button label text */
247
+ .mdc-button {
320
248
 
321
- /* Border color */
322
- &:not(.mat-button-disabled) {
323
- @apply border-gray-300 dark:border-gray-500;
324
- }
325
-
326
- &.mat-button-disabled {
327
- @apply border-gray-200 dark:border-gray-600;
249
+ .mdc-button__label {
250
+ white-space: nowrap;
328
251
  }
329
252
  }
330
253
 
@@ -357,43 +280,28 @@
357
280
 
358
281
  .mat-button-toggle-label-content {
359
282
  padding: 0 20px;
283
+ line-height: 40px !important;
360
284
  @apply text-secondary;
361
285
  }
362
-
363
- .mat-ripple {
364
- border-radius: 9999px;
365
- }
366
286
  }
367
287
  }
368
288
 
289
+
369
290
  /* ----------------------------------------------------------------------------------------------------- */
370
291
  /* @ Checkbox
371
292
  /* ----------------------------------------------------------------------------------------------------- */
372
- .mat-checkbox {
373
- display: inline-flex;
374
-
375
- /* Allow multiline text */
376
- .mat-checkbox-layout {
377
- white-space: normal;
378
-
379
- .mat-checkbox-inner-container {
380
- display: inline-flex;
381
- align-items: center;
382
- margin: 0 8px 0 0;
383
-
384
- /* Add a zero-width space character to trick the container */
385
- /* into being the same height as a single line of the label */
386
- &:after {
387
- content: '\200b';
388
- }
389
- }
293
+ .mat-mdc-checkbox {
294
+ display: inline-flex !important;
390
295
 
391
- .mat-checkbox-label {
392
- line-height: inherit;
393
- }
296
+ .mdc-form-field {
297
+ padding-right: 12px;
394
298
  }
395
299
  }
396
300
 
301
+ .mdc-checkbox__native-control {
302
+ opacity: 0 !important;
303
+ }
304
+
397
305
  /* ----------------------------------------------------------------------------------------------------- */
398
306
  /* @ Chip
399
307
  /* ----------------------------------------------------------------------------------------------------- */
@@ -404,8 +312,12 @@
404
312
  /* ----------------------------------------------------------------------------------------------------- */
405
313
  /* @ Dialog
406
314
  /* ----------------------------------------------------------------------------------------------------- */
407
- .mat-dialog-container {
408
- border-radius: 16px !important;
315
+ .mat-mdc-dialog-container {
316
+
317
+ .mdc-dialog__surface {
318
+ border-radius: 16px !important;
319
+ padding: 24px;
320
+ }
409
321
  }
410
322
 
411
323
  /* ----------------------------------------------------------------------------------------------------- */
@@ -419,9 +331,8 @@
419
331
  /* @ Form fields
420
332
  /* ----------------------------------------------------------------------------------------------------- */
421
333
 
422
- /* Fuse only uses 'fill' style form fields and therefore */
423
- /* only provides fixes and tweaks for that style */
424
- .mat-form-field.mat-form-field-appearance-fill:not(.keep-material-style) {
334
+ /* "fill" appearance */
335
+ .mat-mdc-form-field.mat-form-field-appearance-fill:not(.keep-material-style) {
425
336
 
426
337
  /* Disabled */
427
338
  &.mat-form-field-disabled {
@@ -431,55 +342,58 @@
431
342
  /* Invalid */
432
343
  &.mat-form-field-invalid {
433
344
 
434
- .mat-form-field-wrapper {
345
+ /* Border color */
346
+ .mat-mdc-text-field-wrapper {
347
+ @apply border-warn dark:border-warn #{'!important'};
348
+ }
349
+
350
+ /* Select */
351
+ .mat-mdc-select {
435
352
 
436
- /* Border color */
437
- .mat-form-field-flex {
438
- @apply border-warn #{'!important'};
353
+ /* Placeholder color */
354
+ .mat-mdc-select-placeholder {
355
+ @apply text-warn #{'!important'};
439
356
  }
440
357
  }
358
+
359
+ .mat-mdc-form-field-required-marker {
360
+ @apply text-warn;
361
+ }
362
+ }
363
+
364
+ /* Hover */
365
+ &:hover {
366
+
367
+ .mat-mdc-form-field-focus-overlay {
368
+ opacity: 0 !important;
369
+ }
441
370
  }
442
371
 
443
372
  /* Focused */
444
373
  &.mat-focused {
445
374
 
446
- .mat-form-field-wrapper {
447
-
448
- /* Background color */
449
- .mat-form-field-flex {
450
- @apply bg-card #{'!important'};
451
- }
375
+ .mat-mdc-form-field-focus-overlay {
376
+ opacity: 0 !important;
452
377
  }
453
378
  }
454
379
 
455
380
  /* Focused and valid fields */
456
381
  &.mat-focused:not(.mat-form-field-invalid) {
457
382
 
458
- .mat-form-field-wrapper {
459
-
460
- /* Border color */
461
- .mat-form-field-flex {
462
- @apply border-primary #{'!important'};
463
- }
383
+ /* Border color */
384
+ .mat-mdc-text-field-wrapper {
385
+ @apply border-primary dark:border-primary #{'!important'};
464
386
  }
465
- }
466
-
467
- /* Disable floating mat-label */
468
- &.mat-form-field-has-label.mat-form-field-can-float.mat-form-field-should-float {
469
-
470
- .mat-form-field-label-wrapper {
471
387
 
472
- .mat-form-field-label {
473
- width: 100% !important;
474
- transform: none !important;
475
- }
388
+ .mat-mdc-form-field-required-marker {
389
+ @apply text-accent;
476
390
  }
477
391
  }
478
392
 
479
393
  /* Remove the default arrow for native select */
480
- &.mat-form-field-type-mat-native-select {
394
+ &.mat-mdc-form-field-type-mat-native-select {
481
395
 
482
- .mat-form-field-infix {
396
+ .mat-mdc-form-field-infix {
483
397
 
484
398
  select {
485
399
  top: auto;
@@ -503,64 +417,69 @@
503
417
  }
504
418
  }
505
419
 
506
- /* Adjustments for mat-label */
507
- &.mat-form-field-has-label {
420
+ /* Default style tweaks and enhancements */
421
+ .mat-mdc-text-field-wrapper {
422
+ padding: 0;
423
+ border-radius: 6px;
424
+ border-width: 1px;
425
+ border-style: solid;
426
+ @apply bg-card;
427
+ @apply shadow-sm #{'!important'};
508
428
 
509
- .mat-form-field-wrapper {
429
+ /* Adjust the top spacing and overflow when mat-label present */
430
+ &:not(.mdc-text-field--no-label) {
510
431
  margin-top: 24px;
432
+ overflow: visible;
511
433
  }
512
- }
513
434
 
514
- /* Default style tweaks and enhancements */
515
- .mat-form-field-wrapper {
516
- margin-bottom: 16px;
517
- padding-bottom: 0;
435
+ .mat-mdc-form-field-focus-overlay {
436
+ border-radius: 6px;
437
+ }
518
438
 
519
- .mat-form-field-flex {
439
+ /* Form field */
440
+ .mat-mdc-form-field-flex {
520
441
  position: relative;
521
442
  display: flex;
522
443
  align-items: stretch;
523
- min-height: 48px;
524
444
  border-radius: 6px;
525
445
  padding: 0 16px;
526
- border-width: 1px;
527
- @apply bg-card;
528
- @apply shadow-sm #{'!important'};
529
446
 
530
- .mat-form-field-prefix {
447
+ .mat-mdc-form-field-icon-prefix,
448
+ .mat-mdc-form-field-text-prefix {
449
+ padding: 0 !important;
531
450
 
532
451
  > .mat-icon {
533
452
  margin-right: 12px;
453
+ padding: 0 !important;
534
454
  }
535
455
 
536
- > .mat-icon-button {
456
+ > .mat-mdc-icon-button {
537
457
  margin: 0 4px 0 -10px;
538
458
  }
539
459
 
540
- > .mat-select {
460
+ > .mat-mdc-select {
541
461
  margin-right: 10px;
542
462
  }
543
463
 
544
464
  > .mat-datepicker-toggle {
545
465
  margin-left: -8px;
546
466
  }
547
-
548
- > *:not(.mat-icon):not(.mat-icon-button):not(.mat-select):not(.mat-datepicker-toggle) {
549
- margin-right: 12px;
550
- }
551
467
  }
552
468
 
553
- .mat-form-field-suffix {
469
+ .mat-mdc-form-field-icon-suffix,
470
+ .mat-mdc-form-field-text-suffix {
471
+ padding: 0 !important;
554
472
 
555
473
  > .mat-icon {
556
474
  margin-left: 12px;
475
+ padding: 0 !important;
557
476
  }
558
477
 
559
- > .mat-icon-button {
478
+ > .mat-mdc-icon-button {
560
479
  margin: 0 -10px 0 4px;
561
480
  }
562
481
 
563
- > .mat-select {
482
+ > .mat-mdc-select {
564
483
  margin-left: 10px;
565
484
  }
566
485
 
@@ -569,14 +488,16 @@
569
488
  }
570
489
  }
571
490
 
572
- .mat-form-field-prefix,
573
- .mat-form-field-suffix {
491
+ .mat-mdc-form-field-icon-prefix,
492
+ .mat-mdc-form-field-text-prefix,
493
+ .mat-mdc-form-field-icon-suffix,
494
+ .mat-mdc-form-field-text-suffix {
574
495
  display: inline-flex;
575
496
  align-items: center;
576
497
  justify-content: center;
577
498
  @apply text-hint #{'!important'};
578
499
 
579
- .mat-icon-button {
500
+ .mat-mdc-icon-button {
580
501
  width: 40px;
581
502
  min-width: 40px;
582
503
  height: 40px;
@@ -584,63 +505,47 @@
584
505
  }
585
506
 
586
507
  .mat-icon,
587
- .mat-icon-button:not(.mat-button-disabled),
588
- .mat-select-value {
508
+ .mat-mdc-icon-button:not([disabled]),
509
+ .mat-mdc-select-value {
589
510
  @apply text-hint;
590
511
  }
591
512
 
592
- /* Remove the margins from the mat-icon if it's inside a button */
593
- /* Force the icon size to 24 */
594
- .mat-button,
595
- .mat-raised-button,
596
- .mat-icon-button,
597
- .mat-stroked-button,
598
- .mat-flat-button,
599
- .mat-fab,
600
- .mat-mini-fab {
601
-
602
- .mat-icon {
603
- margin: 0 !important;
604
- @apply icon-size-6;
605
- }
606
- }
607
-
608
513
  /* Datepicker default icon size */
609
514
  .mat-datepicker-toggle-default-icon {
610
515
  @apply icon-size-6;
611
516
  }
612
517
 
613
518
  /* Make mat-select usable as prefix and suffix */
614
- .mat-select {
519
+ .mat-mdc-select {
615
520
  display: flex;
616
521
  align-items: center;
617
522
 
618
523
  &:focus {
619
524
 
620
- .mat-select-trigger {
525
+ .mat-mdc-select-trigger {
621
526
 
622
- .mat-select-value {
527
+ .mat-mdc-select-value {
623
528
  @apply text-primary #{'!important'};
624
529
  }
625
530
 
626
- .mat-select-arrow-wrapper {
531
+ .mat-mdc-select-arrow-wrapper {
627
532
 
628
- .mat-select-arrow {
533
+ .mat-mdc-select-arrow {
629
534
  border-top-color: var(--nice-primary) !important;
630
535
  }
631
536
  }
632
537
  }
633
538
  }
634
539
 
635
- .mat-select-trigger {
540
+ .mat-mdc-select-trigger {
636
541
  display: flex;
637
542
  align-items: center;
638
543
 
639
- .mat-select-value {
544
+ .mat-mdc-select-value {
640
545
  display: flex;
641
546
  max-width: none;
642
547
 
643
- mat-select-trigger {
548
+ mat-mdc-select-trigger {
644
549
 
645
550
  .mat-icon {
646
551
  margin: 0 !important;
@@ -648,13 +553,13 @@
648
553
  }
649
554
  }
650
555
 
651
- .mat-select-arrow-wrapper {
556
+ .mat-mdc-select-arrow-wrapper {
652
557
  display: flex;
653
558
  align-items: center;
654
559
  transform: none;
655
560
  margin-left: 4px;
656
561
 
657
- .mat-select-arrow {
562
+ .mat-mdc-select-arrow {
658
563
  min-height: 0;
659
564
  @apply text-gray-500 dark:text-gray-400 #{'!important'};
660
565
  }
@@ -663,192 +568,112 @@
663
568
  }
664
569
  }
665
570
 
666
- .mat-form-field-infix {
571
+ /* Infix */
572
+ .mat-mdc-form-field-infix {
667
573
  position: static;
668
574
  display: flex;
669
575
  align-items: center;
670
576
  width: 88px;
577
+ min-height: 48px;
671
578
  padding: 0;
672
579
  border: 0;
673
580
 
674
- .mat-input-element {
581
+ /* Floating label - disable floating action */
582
+ .mat-mdc-floating-label {
583
+ top: -25px !important;
584
+ left: 0 !important;
585
+ width: 100% !important;
586
+ transform: none !important;
587
+ pointer-events: auto;
588
+ font-weight: 500;
589
+ @apply text-default #{'!important'};
590
+ }
591
+
592
+ .mat-mdc-input-element, .mat-mdc-select {
675
593
  padding: 14px 0;
676
594
  margin-top: 0;
677
595
  }
678
596
 
679
597
  /* Textarea */
680
- textarea.mat-input-element {
681
- display: flex;
682
- align-self: stretch;
683
- min-height: 36px;
684
- height: auto;
685
- margin: 14px 0;
598
+ textarea.mat-mdc-input-element {
599
+ margin: 12px 0;
686
600
  padding: 0 6px 0 0;
687
- transform: none;
688
- }
689
-
690
- /* Select */
691
- .mat-select {
692
- display: inline-flex;
693
-
694
- .mat-select-trigger {
695
- display: inline-flex;
696
- align-items: center;
697
- width: 100%;
698
-
699
- .mat-select-value {
700
- display: flex;
701
- position: relative;
702
- max-width: none;
703
-
704
- .mat-select-value-text {
705
- display: inline-flex;
706
-
707
- > * {
708
- overflow: hidden;
709
- white-space: nowrap;
710
- text-overflow: ellipsis;
711
- }
712
- }
713
- }
714
- }
715
-
716
- .mat-select-arrow-wrapper {
717
- transform: translateY(0);
718
-
719
- .mat-select-arrow {
720
- margin: 0 0 0 8px;
721
- }
722
- }
723
601
  }
724
602
 
725
603
  /* Chips */
726
- .mat-chip-list {
604
+ .mat-mdc-chip-set {
727
605
  width: 100%;
728
606
  margin: 0 -8px;
729
-
730
- .mat-chip-input {
731
- margin: 0 0 0 8px;
732
- }
733
- }
734
-
735
- .mat-form-field-label-wrapper {
736
- top: -25px;
737
- height: auto;
738
- padding-top: 0;
739
- overflow: visible;
740
- pointer-events: auto;
741
-
742
- .mat-form-field-label {
743
- position: relative;
744
- top: 0;
745
- margin-top: 0;
746
- backface-visibility: hidden;
747
- transition: none;
748
- font-weight: 500;
749
- @apply text-default #{'!important'};
750
- }
751
607
  }
752
608
  }
753
609
  }
754
610
 
755
611
  /* Remove the underline */
756
- .mat-form-field-underline {
612
+ .mdc-line-ripple {
757
613
  display: none;
758
614
  }
615
+ }
759
616
 
760
- /* Subscript tweaks */
761
- .mat-form-field-subscript-wrapper {
762
- position: relative;
763
- top: auto;
764
- padding: 0;
765
- margin-top: 0;
766
- font-size: 12px;
767
- font-weight: 500;
768
- line-height: 1;
769
-
770
- > div {
771
- display: contents; /* Remove the div from flow to stop the subscript animation */
772
- }
617
+ /* Subscript tweaks */
618
+ .mat-mdc-form-field-subscript-wrapper {
619
+ font-size: 12px;
620
+ font-weight: 500;
773
621
 
774
- .mat-error,
775
- .mat-hint {
776
- display: block;
777
- margin-top: 4px;
778
- }
622
+ .mat-mdc-form-field-hint-wrapper,
623
+ .mat-mdc-form-field-error-wrapper {
624
+ padding: 0;
625
+ }
779
626
 
780
- .mat-hint {
781
- @apply text-hint #{'!important'};
782
- }
627
+ .mat-mdc-form-field-hint {
628
+ @apply text-hint #{'!important'};
783
629
  }
784
630
  }
785
631
 
786
632
  /* Adds better alignment for textarea inputs */
787
- &.nice-mat-textarea {
788
-
789
- .mat-form-field-wrapper {
633
+ &:has(textarea.mat-mdc-input-element) {
790
634
 
791
- .mat-form-field-flex {
635
+ .mat-mdc-text-field-wrapper {
792
636
 
793
- .mat-form-field-prefix,
794
- .mat-form-field-suffix {
795
- align-items: flex-start;
796
- }
797
-
798
- .mat-form-field-prefix {
799
- padding-top: 12px;
800
- }
637
+ .mat-mdc-form-field-flex {
801
638
 
802
- .mat-form-field-suffix {
803
- padding-top: 12px;
639
+ .mat-mdc-form-field-icon-prefix,
640
+ .mat-mdc-form-field-text-prefix,
641
+ .mat-mdc-form-field-icon-suffix,
642
+ .mat-mdc-form-field-text-suffix {
643
+ align-self: flex-start;
644
+ padding-top: 14px !important;
804
645
  }
805
646
  }
806
647
  }
807
648
  }
808
649
 
809
- /* Removes subscript space */
810
- &.nice-mat-no-subscript {
811
-
812
- .mat-form-field-wrapper {
813
- padding-bottom: 0;
814
- margin-bottom: 0;
815
-
816
- .mat-form-field-subscript-wrapper {
817
- display: none !important;
818
- height: 0 !important;
819
- }
820
- }
821
- }
822
-
823
650
  /* Rounded */
824
651
  &.nice-mat-rounded {
825
652
 
826
- .mat-form-field-wrapper {
827
-
828
- .mat-form-field-flex {
829
- border-radius: 24px;
830
- }
653
+ .mat-mdc-text-field-wrapper {
654
+ border-radius: 24px;
831
655
  }
832
656
 
833
657
  /* Emphasized affix */
834
658
  &.nice-mat-emphasized-affix {
835
659
 
836
- .mat-form-field-wrapper {
660
+ .mat-mdc-text-field-wrapper {
837
661
 
838
- .mat-form-field-flex {
662
+ .mat-mdc-form-field-flex {
839
663
 
840
- .mat-form-field-prefix {
664
+ .mat-mdc-form-field-icon-prefix,
665
+ .mat-mdc-form-field-text-prefix {
841
666
  border-radius: 24px 0 0 24px;
842
667
 
843
668
  > .mat-icon {
844
669
  margin-right: 12px;
845
670
  }
846
671
 
847
- > .mat-icon-button {
848
- margin-right: 2px;
672
+ > .mat-mdc-icon-button {
673
+ margin: 0 2px 0 -10px !important;
849
674
  }
850
675
 
851
- > .mat-select {
676
+ > .mat-mdc-select {
852
677
  margin-right: 8px;
853
678
  }
854
679
 
@@ -856,23 +681,24 @@
856
681
  margin-right: 4px;
857
682
  }
858
683
 
859
- > *:not(.mat-icon):not(.mat-icon-button):not(.mat-select):not(.mat-datepicker-toggle) {
684
+ > *:not(.mat-icon):not(.mat-mdc-icon-button):not(.mat-mdc-select):not(.mat-datepicker-toggle) {
860
685
  margin-right: 12px;
861
686
  }
862
687
  }
863
688
 
864
- .mat-form-field-suffix {
689
+ .mat-mdc-form-field-icon-suffix,
690
+ .mat-mdc-form-field-text-suffix {
865
691
  border-radius: 0 24px 24px 0;
866
692
 
867
693
  > .mat-icon {
868
694
  margin-left: 12px !important;
869
695
  }
870
696
 
871
- > .mat-icon-button {
872
- margin-left: 2px !important;
697
+ > .mat-mdc-icon-button {
698
+ margin: 0 -10px 0 2px !important;
873
699
  }
874
700
 
875
- > .mat-select {
701
+ > .mat-mdc-select {
876
702
  margin-left: 12px !important;
877
703
  }
878
704
 
@@ -880,7 +706,7 @@
880
706
  margin-left: 4px !important;
881
707
  }
882
708
 
883
- > *:not(.mat-icon):not(.mat-icon-button):not(.mat-select):not(.mat-datepicker-toggle) {
709
+ > *:not(.mat-icon):not(.mat-mdc-icon-button):not(.mat-mdc-select):not(.mat-datepicker-toggle) {
884
710
  margin-left: 12px !important;
885
711
  }
886
712
  }
@@ -892,69 +718,90 @@
892
718
  /* Dense */
893
719
  &.nice-mat-dense {
894
720
 
895
- .mat-form-field-wrapper {
721
+ .mat-mdc-text-field-wrapper {
896
722
 
897
- .mat-form-field-flex {
898
- min-height: 40px;
723
+ .mat-mdc-form-field-flex {
899
724
 
900
- .mat-form-field-prefix,
901
- .mat-form-field-suffix {
725
+ .mat-mdc-form-field-icon-prefix,
726
+ .mat-mdc-form-field-text-prefix,
727
+ .mat-mdc-form-field-icon-suffix,
728
+ .mat-mdc-form-field-text-suffix {
902
729
 
903
- .mat-icon-button {
904
- width: 32px;
730
+ .mat-mdc-icon-button {
731
+ width: 32px !important;
905
732
  min-width: 32px;
906
733
  height: 32px;
907
734
  min-height: 32px;
908
735
  }
909
736
  }
910
737
 
911
- .mat-form-field-prefix {
738
+ .mat-mdc-form-field-icon-prefix,
739
+ .mat-mdc-form-field-text-prefix {
912
740
 
913
- > .mat-icon-button {
741
+ > .mat-mdc-icon-button {
914
742
  margin-left: -6px;
915
743
  margin-right: 12px;
916
744
  }
917
745
  }
918
746
 
919
- .mat-form-field-suffix {
747
+ .mat-mdc-form-field-icon-suffix,
748
+ .mat-mdc-form-field-text-suffix {
920
749
 
921
- > .mat-icon-button {
750
+ > .mat-mdc-icon-button {
922
751
  margin-left: 12px;
923
752
  margin-right: -6px;
924
753
  }
925
754
  }
926
755
 
927
- .mat-form-field-infix {
756
+ .mat-mdc-form-field-infix {
757
+ min-height: 40px;
928
758
 
929
- .mat-input-element {
930
- padding: 11px 0;
759
+ /* Textarea */
760
+ textarea.mat-mdc-input-element {
761
+ margin: 8px 0;
931
762
  }
932
763
  }
933
764
  }
934
765
  }
935
766
 
936
- /* Rounded */
937
- &.nice-mat-rounded {
767
+ /* Adds better alignment for textarea inputs */
768
+ &:has(textarea.mat-mdc-input-element) {
938
769
 
939
- .mat-form-field-wrapper {
770
+ .mat-mdc-text-field-wrapper {
940
771
 
941
- .mat-form-field-flex {
942
- border-radius: 20px;
772
+ .mat-mdc-form-field-flex {
773
+
774
+ .mat-mdc-form-field-icon-prefix,
775
+ .mat-mdc-form-field-text-prefix,
776
+ .mat-mdc-form-field-icon-suffix,
777
+ .mat-mdc-form-field-text-suffix {
778
+ padding-top: 10px !important;
779
+ }
943
780
  }
944
781
  }
782
+ }
783
+
784
+ /* Rounded */
785
+ &.nice-mat-rounded {
786
+
787
+ .mat-mdc-text-field-wrapper {
788
+ border-radius: 20px;
789
+ }
945
790
 
946
791
  /* Emphasized affix */
947
792
  &.nice-mat-emphasized-affix {
948
793
 
949
- .mat-form-field-wrapper {
794
+ .mat-mdc-text-field-wrapper {
950
795
 
951
- .mat-form-field-flex {
796
+ .mat-mdc-form-field-flex {
952
797
 
953
- .mat-form-field-prefix {
798
+ .mat-mdc-form-field-icon-prefix,
799
+ .mat-mdc-form-field-text-prefix {
954
800
  border-radius: 20px 0 0 20px !important;
955
801
  }
956
802
 
957
- .mat-form-field-suffix {
803
+ .mat-mdc-form-field-icon-suffix,
804
+ .mat-mdc-form-field-text-suffix {
958
805
  border-radius: 0 20px 20px 0 !important;
959
806
  }
960
807
  }
@@ -966,282 +813,162 @@
966
813
  /* Emphasized affix */
967
814
  &.nice-mat-emphasized-affix {
968
815
 
969
- .mat-form-field-wrapper {
816
+ .mat-mdc-text-field-wrapper {
970
817
 
971
- .mat-form-field-flex {
818
+ .mat-mdc-form-field-flex {
972
819
 
973
- .mat-form-field-prefix {
974
- margin: 0 16px 0 -16px;
975
- padding-left: 16px;
820
+ .mat-mdc-form-field-icon-prefix,
821
+ .mat-mdc-form-field-text-prefix {
822
+ align-self: stretch !important;
823
+ margin: 0 16px 0 -16px !important;
824
+ padding-left: 16px !important;
976
825
  border-radius: 6px 0 0 6px;
977
826
  border-right-width: 1px;
827
+ border-style: solid;
978
828
 
979
829
  > .mat-icon {
980
830
  margin-right: 16px;
981
831
  }
982
832
 
983
- > .mat-icon-button {
984
- margin: 0 6px 0 -10px;
833
+ > .mat-mdc-icon-button {
834
+ margin: 0 6px 0 -10px !important;
985
835
  }
986
836
 
987
- > .mat-select {
988
- margin-right: 12px;
837
+ > .mat-mdc-select {
838
+ margin-right: 12px !important;
989
839
  }
990
840
 
991
841
  > .mat-datepicker-toggle {
992
842
  margin-right: 8px;
993
843
  }
994
844
 
995
- > *:not(.mat-icon):not(.mat-icon-button):not(.mat-select):not(.mat-datepicker-toggle) {
845
+ > *:not(.mat-icon):not(.mat-mdc-icon-button):not(.mat-mdc-select):not(.mat-datepicker-toggle) {
996
846
  margin-right: 16px;
997
847
  }
998
848
  }
999
849
 
1000
- .mat-form-field-suffix {
1001
- margin: 0 -16px 0 16px;
1002
- padding-right: 16px;
850
+ .mat-mdc-form-field-icon-suffix,
851
+ .mat-mdc-form-field-text-suffix {
852
+ align-self: stretch !important;
853
+ margin: 0 -16px 0 16px !important;
854
+ padding-right: 16px !important;
1003
855
  border-radius: 0 6px 6px 0;
1004
856
  border-left-width: 1px;
857
+ border-style: solid;
1005
858
 
1006
859
  > .mat-icon {
1007
860
  margin-left: 16px;
1008
861
  }
1009
862
 
1010
- > .mat-icon-button {
1011
- margin: 0 -10px 0 6px;
863
+ > .mat-mdc-icon-button {
864
+ margin: 0 -10px 0 6px !important;
1012
865
  }
1013
866
 
1014
- > .mat-select {
1015
- margin: 0 -4px 0 16px;
867
+ > .mat-mdc-select {
868
+ margin: 0 -4px 0 16px !important;
1016
869
  }
1017
870
 
1018
871
  > .mat-datepicker-toggle {
1019
872
  margin-left: 8px;
1020
873
  }
1021
874
 
1022
- > *:not(.mat-icon):not(.mat-icon-button):not(.mat-select):not(.mat-datepicker-toggle) {
875
+ > *:not(.mat-icon):not(.mat-mdc-icon-button):not(.mat-mdc-select):not(.mat-datepicker-toggle) {
1023
876
  margin-left: 16px;
1024
877
  }
1025
878
  }
1026
879
 
1027
- .mat-form-field-prefix,
1028
- .mat-form-field-suffix {
880
+ .mat-mdc-form-field-icon-prefix,
881
+ .mat-mdc-form-field-text-prefix,
882
+ .mat-mdc-form-field-icon-suffix,
883
+ .mat-mdc-form-field-text-suffix {
1029
884
  @apply bg-default border-gray-300 dark:border-gray-500 #{'!important'};
1030
885
  }
1031
886
  }
1032
887
  }
1033
- }
1034
-
1035
- /* Bolder border width */
1036
- &.nice-mat-bold {
1037
-
1038
- .mat-form-field-wrapper {
1039
-
1040
- .mat-form-field-flex {
1041
- border-width: 2px !important;
1042
- }
1043
- }
1044
- }
1045
- }
1046
888
 
1047
- /* Fix the outline appearance */
1048
- .mat-form-field.mat-form-field-appearance-outline:not(.keep-material-style) {
1049
- &.mat-form-field-invalid {
1050
- .mat-form-field-wrapper {
889
+ /* with Textarea */
890
+ &:has(textarea.mat-mdc-input-element) {
1051
891
 
1052
- /* Border color */
1053
- .mat-form-field-flex {
1054
- .mat-form-field-outline {
1055
- @apply text-warn #{'!important'};
1056
- }
1057
- }
1058
- }
1059
- }
892
+ .mat-mdc-text-field-wrapper {
1060
893
 
1061
- /* Focused and valid fields */
1062
- &.mat-accent.mat-focused:not(.mat-form-field-invalid) {
1063
- .mat-form-field-wrapper {
894
+ .mat-mdc-form-field-flex {
1064
895
 
1065
- /* Border color */
1066
- .mat-form-field-flex {
1067
- .mat-form-field-outline {
1068
- @apply text-accent #{'!important'};
896
+ .mat-mdc-form-field-icon-prefix,
897
+ .mat-mdc-form-field-text-prefix,
898
+ .mat-mdc-form-field-icon-suffix,
899
+ .mat-mdc-form-field-text-suffix {
900
+ align-items: flex-start;
901
+ }
1069
902
  }
1070
903
  }
1071
904
  }
1072
905
  }
1073
906
 
1074
- &.mat-primary.mat-focused:not(.mat-form-field-invalid) {
1075
- .mat-form-field-wrapper {
907
+ /* Bolder border width */
908
+ &.nice-mat-bold {
1076
909
 
1077
- /* Border color */
1078
- .mat-form-field-flex {
1079
- .mat-form-field-outline {
1080
- @apply text-primary #{'!important'};
1081
- }
1082
- }
910
+ .mat-mdc-text-field-wrapper {
911
+ border-width: 2px !important;
1083
912
  }
1084
913
  }
1085
914
  }
1086
915
 
1087
- .mat-form-field.mat-form-field-appearance-standard:not(.keep-material-style) {
1088
- width: 100%;
1089
- padding-bottom: 24px;
1090
-
1091
- .mat-form-field-underline {
1092
- .mat-form-field-ripple {
1093
- height: 0 !important;
1094
- }
1095
-
1096
- height: 0 !important;
1097
- }
1098
-
1099
- &.mat-form-field .mat-form-field-label {
1100
- font-weight: 600;
1101
- height: 100%;
1102
- }
1103
-
1104
- &.mat-form-field:not(.mat-form-field-should-float) .mat-form-field-label {
1105
- margin-top: 14px;
1106
- margin-left: 16px;
1107
- }
1108
-
1109
- .mat-form-field-prefix + .mat-form-field-infix .mat-form-field-label-wrapper {
1110
- margin-top: 0;
1111
- margin-left: -46px;
1112
- }
1113
-
1114
- .mat-form-field-flex {
1115
- @apply bg-card;
1116
-
1117
- padding-top: .25em !important;
1118
- align-items: center !important;
1119
- box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.06);
1120
- border: solid 1.5px transparent;
1121
- border-radius: 12px;
1122
- }
1123
-
1124
- .mat-select-trigger {
1125
- height: 100%;
1126
- padding-bottom: 8px;
1127
- }
1128
-
1129
- .mat-select-arrow-wrapper {
1130
- font-size: 26px;
1131
- margin-right: 30px;
1132
- margin-bottom: 15px;
1133
-
1134
- .mat-select-arrow {
1135
- font-family: 'Font Awesome 5 Pro';
1136
- font-weight: 300;
916
+ /* "outline" appearance */
917
+ .mat-mdc-form-field.mat-form-field-appearance-outline:not(.keep-material-style) {
1137
918
 
1138
- border: none;
1139
- margin: 0;
919
+ /* Invalid */
920
+ &.mat-form-field-invalid {
1140
921
 
1141
- &:before {
1142
- content: "\f107";
1143
- }
922
+ .mdc-notched-outline__leading,
923
+ .mdc-notched-outline__notch,
924
+ .mdc-notched-outline__trailing {
925
+ border-color: var(--nice-warn) !important;
1144
926
  }
1145
927
  }
1146
928
 
1147
- .mat-input-element, .mat-select, .stripe-element {
1148
- &:not(textarea) {
1149
- height: 40px;
1150
- }
1151
-
1152
- // font-size: 20px;
1153
- width: 90%;
1154
- padding-left: 12px;
1155
- padding-right: 12px;
1156
- padding-top: 4px;
1157
- font-weight: 300;
1158
-
1159
- border: 1.5px solid transparent;
1160
- border-top-right-radius: 12px;
1161
- border-bottom-right-radius: 12px;
929
+ /* Focused */
930
+ &.mat-focused:not(.mat-form-field-invalid) {
1162
931
 
1163
- // color: mat-color($default-primary-palette);
932
+ /* Primary */
933
+ &.mat-primary {
1164
934
 
1165
- &::placeholder {
1166
- color: #b3b3b3;
935
+ .mdc-notched-outline__leading,
936
+ .mdc-notched-outline__notch,
937
+ .mdc-notched-outline__trailing {
938
+ border-color: var(--nice-primary) !important;
939
+ }
1167
940
  }
1168
941
 
1169
- .mat-select-placeholder,
1170
- .mat-select-value-text {
1171
- margin-top: 8px;
1172
- padding-top: 8px;
1173
- padding-bottom: 8px;
942
+ /* Accent */
943
+ &.mat-accent {
1174
944
 
1175
- opacity: 1;
945
+ .mdc-notched-outline__leading,
946
+ .mdc-notched-outline__notch,
947
+ .mdc-notched-outline__trailing {
948
+ border-color: var(--nice-accent) !important;
949
+ }
1176
950
  }
1177
951
  }
1178
952
 
1179
- .mat-form-field-prefix {
1180
- padding-left: 16px;
1181
- padding-right: 4px;
1182
- }
1183
-
1184
- .mat-form-field-infix {
1185
- padding-bottom: 4px;
1186
- border: none;
1187
- padding-top: 0;
1188
- }
1189
-
1190
- &.mat-form-field-should-float {
1191
- .mat-form-field-label-wrapper {
1192
- font-size: 16px;
1193
- top: -24px;
1194
- }
1195
- }
953
+ /* Remove the extra border on the right side of the notch */
954
+ /* Tailwind's global border setter causes this issue */
955
+ .mat-mdc-text-field-wrapper {
1196
956
 
1197
- .mat-form-field-label-wrapper {
1198
- top: -20px;
957
+ .mat-mdc-form-field-flex {
1199
958
 
1200
- label {
1201
- // color: mat-color($default-primary-palette);
1202
- }
959
+ .mdc-notched-outline {
1203
960
 
1204
- .mat-form-field-label {
1205
- height: 20px;
961
+ .mdc-notched-outline__notch {
962
+ border-right-style: none !important;
963
+ }
964
+ }
1206
965
  }
1207
966
  }
1208
-
1209
- /* Change autocomplete styles in WebKit */
1210
- input:-webkit-autofill,
1211
- input:-webkit-autofill:hover,
1212
- input:-webkit-autofill:focus,
1213
- textarea:-webkit-autofill,
1214
- textarea:-webkit-autofill:hover,
1215
- textarea:-webkit-autofill:focus,
1216
- select:-webkit-autofill,
1217
- select:-webkit-autofill:hover,
1218
- select:-webkit-autofill:focus {
1219
- border: 1px solid transparent;
1220
- -webkit-text-fill-color: #000;
1221
- -webkit-box-shadow: 0 0 0 1000px transparent inset;
1222
- transition: background-color 5000s ease-in-out 0s;
1223
- }
1224
967
  }
1225
968
 
1226
969
  /* ----------------------------------------------------------------------------------------------------- */
1227
970
  /* @ Datepicker
1228
971
  /* ----------------------------------------------------------------------------------------------------- */
1229
- /* Hover and active cell content background opacity */
1230
- .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover,
1231
- .cdk-keyboard-focused .mat-calendar-body-active,
1232
- .cdk-program-focused .mat-calendar-body-active {
1233
- & > .mat-calendar-body-cell-content {
1234
- &:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical) {
1235
- @apply bg-primary bg-opacity-30 #{'!important'};
1236
- }
1237
- }
1238
- }
1239
-
1240
- .mat-datepicker-content {
1241
- .mat-calendar-body-in-range::before {
1242
- @apply opacity-20;
1243
- }
1244
- }
1245
972
 
1246
973
  /* ----------------------------------------------------------------------------------------------------- */
1247
974
  /* @ Icon
@@ -1262,7 +989,7 @@
1262
989
  /* ----------------------------------------------------------------------------------------------------- */
1263
990
  /* @ Inputs
1264
991
  /* ----------------------------------------------------------------------------------------------------- */
1265
- .mat-input-element {
992
+ .mat-mdc-input-element {
1266
993
 
1267
994
  &::placeholder {
1268
995
  transition: none !important;
@@ -1288,7 +1015,7 @@
1288
1015
  /* Invalid */
1289
1016
  .mat-form-field-invalid {
1290
1017
 
1291
- .mat-input-element {
1018
+ .mat-mdc-input-element {
1292
1019
 
1293
1020
  /* Placeholder color */
1294
1021
  &::placeholder {
@@ -1312,22 +1039,32 @@
1312
1039
  /* ----------------------------------------------------------------------------------------------------- */
1313
1040
  /* @ Menu
1314
1041
  /* ----------------------------------------------------------------------------------------------------- */
1315
- .mat-menu-panel {
1042
+ .mat-mdc-menu-panel {
1316
1043
  min-width: 144px !important;
1317
1044
 
1318
- .mat-menu-content {
1045
+ .mat-mdc-menu-content {
1319
1046
 
1320
- .mat-menu-item {
1047
+ .mat-mdc-menu-item {
1321
1048
  display: flex;
1322
1049
  align-items: center;
1323
1050
 
1324
- &.mat-menu-item-submenu-trigger {
1051
+ > span {
1052
+ display: inline-flex;
1053
+ align-items: center;
1054
+ }
1055
+
1056
+ &.mat-mdc-menu-item-submenu-trigger {
1325
1057
  padding-right: 40px;
1326
1058
  }
1327
1059
 
1328
1060
  .mat-icon {
1329
1061
  margin-right: 12px;
1330
1062
  }
1063
+
1064
+ .mat-icon-no-color {
1065
+ --tw-text-opacity: 1;
1066
+ color: rgba(var(--nice-mat-icon-rgb), var(--tw-text-opacity));
1067
+ }
1331
1068
  }
1332
1069
 
1333
1070
  /* Divider within mat-menu */
@@ -1340,18 +1077,18 @@
1340
1077
  /* ----------------------------------------------------------------------------------------------------- */
1341
1078
  /* @ Paginator
1342
1079
  /* ----------------------------------------------------------------------------------------------------- */
1343
- .mat-paginator {
1080
+ .mat-mdc-paginator {
1344
1081
 
1345
- .mat-paginator-container {
1082
+ .mat-mdc-paginator-container {
1346
1083
  padding: 8px 16px;
1347
1084
 
1348
1085
  /* Page size select */
1349
- .mat-paginator-page-size {
1086
+ .mat-mdc-paginator-page-size {
1350
1087
  align-items: center;
1351
1088
  min-height: 40px;
1352
1089
  margin: 8px;
1353
1090
 
1354
- .mat-paginator-page-size-label {
1091
+ .mat-mdc-paginator-page-size-label {
1355
1092
  display: none;
1356
1093
  margin-right: 12px;
1357
1094
 
@@ -1360,25 +1097,24 @@
1360
1097
  }
1361
1098
  }
1362
1099
 
1363
- .mat-paginator-page-size-select {
1100
+ .mat-mdc-paginator-page-size-select {
1364
1101
  margin: 0;
1365
1102
 
1366
- .mat-form-field-wrapper {
1367
- margin-bottom: 0;
1103
+ .mat-mdc-text-field-wrapper {
1104
+ padding: 0 10px;
1368
1105
 
1369
1106
  .mat-form-field-flex {
1370
1107
  min-height: 32px;
1371
- padding: 0 10px;
1372
1108
  }
1373
1109
  }
1374
1110
  }
1375
1111
  }
1376
1112
 
1377
1113
  /* Range actions */
1378
- .mat-paginator-range-actions {
1114
+ .mat-mdc-paginator-range-actions {
1379
1115
  margin: 8px 0;
1380
1116
 
1381
- .mat-paginator-range-label {
1117
+ .mat-mdc-paginator-range-label {
1382
1118
  margin-right: 16px;
1383
1119
  }
1384
1120
  }
@@ -1388,26 +1124,22 @@
1388
1124
  /* ----------------------------------------------------------------------------------------------------- */
1389
1125
  /* @ Select
1390
1126
  /* ----------------------------------------------------------------------------------------------------- */
1391
- .mat-select {
1392
- display: inline-flex;
1127
+ .mat-mdc-select {
1128
+ display: inline-flex !important;
1393
1129
 
1394
- .mat-select-placeholder {
1130
+ .mat-mdc-select-placeholder {
1395
1131
  transition: none !important;
1396
1132
  @apply text-hint #{'!important'};
1397
1133
  }
1398
1134
 
1399
- .mat-select-trigger {
1400
- display: inline-flex;
1401
- align-items: center;
1402
- width: 100%;
1403
- height: auto;
1135
+ .mat-mdc-select-trigger {
1404
1136
 
1405
- .mat-select-value {
1406
- display: flex;
1137
+ .mat-mdc-select-value {
1407
1138
  position: relative;
1139
+ display: flex;
1408
1140
  max-width: none;
1409
1141
 
1410
- .mat-select-value-text {
1142
+ .mat-mdc-select-value-text {
1411
1143
  display: inline-flex;
1412
1144
 
1413
1145
  > * {
@@ -1419,23 +1151,11 @@
1419
1151
  }
1420
1152
  }
1421
1153
 
1422
- .mat-select-arrow-wrapper {
1423
- transform: translateY(0);
1154
+ .mat-mdc-select-arrow-wrapper {
1155
+ transform: translateY(0) !important;
1424
1156
 
1425
- .mat-select-arrow {
1426
- margin: 0 4px 0 2px;
1427
- }
1428
- }
1429
- }
1430
-
1431
- /* Invalid */
1432
- .mat-form-field-invalid {
1433
-
1434
- .mat-select {
1435
-
1436
- /* Placeholder color */
1437
- .mat-select-placeholder {
1438
- @apply text-warn #{'!important'};
1157
+ .mat-mdc-select-arrow {
1158
+ margin: 0 0 0 8px;
1439
1159
  }
1440
1160
  }
1441
1161
  }
@@ -1443,17 +1163,6 @@
1443
1163
  /* ----------------------------------------------------------------------------------------------------- */
1444
1164
  /* @ Slide Toggle
1445
1165
  /* ----------------------------------------------------------------------------------------------------- */
1446
- .mat-slide-toggle.mat-checked .mat-slide-toggle-bar {
1447
- background-color: rgba(var(--nice-accent-500-rgb), 0.54) !important;
1448
- }
1449
-
1450
- .mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar {
1451
- background-color: rgba(var(--nice-primary-500-rgb), 0.54) !important;
1452
- }
1453
-
1454
- .mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar {
1455
- background-color: rgba(var(--nice-warn-500-rgb), 0.54) !important;
1456
- }
1457
1166
 
1458
1167
  /* ----------------------------------------------------------------------------------------------------- */
1459
1168
  /* @ Stepper
@@ -1471,80 +1180,32 @@
1471
1180
  font-weight: 500 !important;
1472
1181
  }
1473
1182
 
1474
- /* ----------------------------------------------------------------------------------------------------- */
1475
- /* @ Tabs
1476
- /* ----------------------------------------------------------------------------------------------------- */
1477
- .mat-tab-group.nice-rounded-style {
1478
-
1479
- /* No header */
1480
- &.nice-mat-no-header {
1183
+ /* -------------------------------------------------------------------------- */
1184
+ /* @ Table
1185
+ /* -------------------------------------------------------------------------- */
1186
+ .mat-mdc-table {
1481
1187
 
1482
- .mat-tab-header {
1483
- height: 0 !important;
1484
- max-height: 0 !important;
1485
- border: none !important;
1486
- visibility: hidden !important;
1487
- opacity: 0 !important;
1488
- }
1489
- }
1490
-
1491
- .mat-tab-header {
1492
- border-bottom: none !important;
1493
-
1494
- .mat-tab-label-container {
1495
- padding: 0 24px;
1496
-
1497
- .mat-tab-list {
1498
-
1499
- .mat-tab-labels {
1500
-
1501
- .mat-tab-label {
1502
- min-width: 0 !important;
1503
- height: 40px !important;
1504
- padding: 0 20px !important;
1505
- border-radius: 9999px !important;
1506
- @apply text-secondary;
1507
-
1508
- &.mat-tab-label-active {
1509
- @apply bg-gray-700 bg-opacity-10 dark:bg-gray-50 dark:bg-opacity-10 #{'!important'};
1510
- @apply text-default #{'!important'};
1511
- }
1512
-
1513
- + .mat-tab-label {
1514
- margin-left: 4px;
1515
- }
1516
-
1517
- .mat-tab-label-content {
1518
- line-height: 20px;
1519
- }
1520
- }
1521
- }
1522
-
1523
- .mat-ink-bar {
1524
- display: none !important;
1525
- }
1526
- }
1527
- }
1528
- }
1529
-
1530
- .mat-tab-body-content {
1531
- padding: 24px;
1188
+ .mdc-data-table__row:not(.mdc-data-table__row--selected):hover {
1189
+ background: none !important;
1532
1190
  }
1533
1191
  }
1534
1192
 
1535
- .mat-tab-group:not(.keep-material-style, .nice-rounded-style) {
1536
- .mat-tab-label-active {
1193
+ /* ----------------------------------------------------------------------------------------------------- */
1194
+ /* @ Tabs
1195
+ /* ----------------------------------------------------------------------------------------------------- */
1196
+ .mat-mdc-tab-group:not(.keep-material-style) {
1197
+ .mat-mdc-tab-label-active {
1537
1198
  opacity: 1 !important;
1538
1199
  }
1539
1200
 
1540
- .mat-tab-header {
1201
+ .mat-mdc-tab-header {
1541
1202
  border-bottom: none !important;
1542
1203
  }
1543
1204
 
1544
1205
  /* No header */
1545
1206
  &.nice-mat-no-header {
1546
1207
 
1547
- .mat-tab-header {
1208
+ .mat-mdc-tab-header {
1548
1209
  height: 0 !important;
1549
1210
  max-height: 0 !important;
1550
1211
  border: none !important;
@@ -1553,14 +1214,14 @@
1553
1214
  }
1554
1215
  }
1555
1216
 
1556
- .mat-tab-list {
1557
- .mat-tab-label {
1217
+ .mat-mdc-tab-list {
1218
+ .mat-mdc-tab {
1558
1219
  height: 36px;
1559
1220
  padding: 0;
1560
1221
  margin-right: 48px;
1561
1222
  justify-content: flex-start;
1562
1223
 
1563
- .mat-tab-label-content {
1224
+ .mdc-tab__content {
1564
1225
  font-size: 16px;
1565
1226
  }
1566
1227
 
@@ -1569,16 +1230,12 @@
1569
1230
  }
1570
1231
  }
1571
1232
 
1572
- .mat-ink-bar {
1233
+ .mdc-tab-indicator {
1573
1234
  width: 45px !important;
1574
1235
  }
1575
1236
  }
1576
1237
  }
1577
1238
 
1578
- .mat-tab-label {
1579
- opacity: 1 !important;
1580
- }
1581
-
1582
1239
  /* ----------------------------------------------------------------------------------------------------- */
1583
1240
  /* @ Textarea
1584
1241
  /* ----------------------------------------------------------------------------------------------------- */
@@ -1731,6 +1388,21 @@ table {
1731
1388
  }
1732
1389
  }
1733
1390
 
1391
+ /* -------------------------------------------------------------------------- */
1392
+ /* @ Tooltip
1393
+ /* -------------------------------------------------------------------------- */
1394
+
1395
+ .mat-mdc-tooltip .mdc-tooltip__surface {
1396
+ background-color: var(--nice-text-default) !important;
1397
+ color: white;
1398
+
1399
+ .dark & {
1400
+ background-color: var(--nice-text-secondary) !important;
1401
+ color: var(--nice-bg-default) !important;
1402
+ }
1403
+ }
1404
+
1405
+
1734
1406
  // -----------------------------------------------------------------------------------------------------
1735
1407
  // Avatar
1736
1408
  // -----------------------------------------------------------------------------------------------------
@@ -1745,3 +1417,70 @@ table {
1745
1417
  font-weight: 600;
1746
1418
  text-align: center;
1747
1419
  }
1420
+
1421
+ // -----------------------------------------------------------------------------------------------------
1422
+ // Chips
1423
+ // -----------------------------------------------------------------------------------------------------
1424
+ .mat-mdc-chip-set {
1425
+ .mat-mdc-chip-row {
1426
+ @apply bg-default #{!important};
1427
+ }
1428
+
1429
+ .mdc-evolution-chip-set__chips {
1430
+ @apply items-center;
1431
+ }
1432
+ }
1433
+
1434
+ // FIX FOR VAR
1435
+
1436
+ .mat-mdc-progress-bar {
1437
+ &.mat-accent {
1438
+ .mdc-linear-progress__buffer-bar {
1439
+ @apply bg-accent/25 #{!important};
1440
+ }
1441
+ }
1442
+
1443
+ &.mat-primary {
1444
+ .mdc-linear-progress__buffer-bar {
1445
+ @apply bg-primary/25 #{!important};
1446
+ }
1447
+ }
1448
+
1449
+ &.mat-warn {
1450
+ .mdc-linear-progress__buffer-bar {
1451
+ @apply bg-warn/25 #{!important};
1452
+ }
1453
+ }
1454
+ }
1455
+
1456
+ .mat-mdc-checkbox {
1457
+ &.mat-accent {
1458
+ .mdc-checkbox__checkmark {
1459
+ @apply text-on-accent #{!important};
1460
+ }
1461
+ }
1462
+
1463
+ &.mat-primary {
1464
+ .mdc-checkbox__checkmark {
1465
+ @apply text-on-primary #{!important};
1466
+ }
1467
+ }
1468
+
1469
+ &.mat-warn {
1470
+ .mdc-checkbox__checkmark {
1471
+ @apply text-on-warn #{!important};
1472
+ }
1473
+ }
1474
+ }
1475
+
1476
+ .mdc-list-item__accent-text {
1477
+ @apply text-accent #{!important};
1478
+ }
1479
+
1480
+ .mdc-list-item__primary-text {
1481
+ @apply text-primary #{!important};
1482
+ }
1483
+
1484
+ .mdc-list-item__warn-text {
1485
+ @apply text-warn #{!important};
1486
+ }