@recursyve/nice-ui-kit.v2 13.2.0-beta.99 → 14.0.0-beta.101

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 (280) hide show
  1. package/esm2020/lib/api/interceptors/transform-response.interceptor.mjs +3 -3
  2. package/esm2020/lib/components/alert/alert.component.mjs +6 -6
  3. package/esm2020/lib/components/alert/alert.module.mjs +7 -9
  4. package/esm2020/lib/components/alert/alert.service.mjs +3 -3
  5. package/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +43 -23
  6. package/esm2020/lib/components/assets-carousel/assets-carousel.module.mjs +15 -16
  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 +17 -15
  10. package/esm2020/lib/components/async-typeahead/async-typeahead.module.mjs +13 -15
  11. package/esm2020/lib/components/async-typeahead/providers/async-typeahead.service.mjs +3 -3
  12. package/esm2020/lib/components/base-form/base-form.component.mjs +3 -3
  13. package/esm2020/lib/components/base-form/base-form.module.mjs +4 -4
  14. package/esm2020/lib/components/base-form/form-submit.directive.mjs +3 -3
  15. package/esm2020/lib/components/card/card.component.mjs +4 -4
  16. package/esm2020/lib/components/card/card.module.mjs +5 -7
  17. package/esm2020/lib/components/carousel/carousel.component.mjs +3 -3
  18. package/esm2020/lib/components/carousel/carousel.module.mjs +9 -11
  19. package/esm2020/lib/components/carousel/picture-modal/picture-modal.component.mjs +3 -3
  20. package/esm2020/lib/components/carousel/picture-modal/picture-modal.service.mjs +3 -3
  21. package/esm2020/lib/components/carousel/pipe/carousel-layout.pipe.mjs +3 -3
  22. package/esm2020/lib/components/collapsable/collapsable.component.mjs +36 -0
  23. package/esm2020/lib/components/collapsable/collapsable.module.mjs +25 -0
  24. package/esm2020/lib/components/collapsable/index.mjs +2 -0
  25. package/esm2020/lib/components/collapsable/public-api.mjs +3 -0
  26. package/esm2020/lib/components/date-range-picker/components/header/header.component.mjs +57 -0
  27. package/esm2020/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +107 -0
  28. package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +74 -0
  29. package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +56 -0
  30. package/esm2020/lib/components/date-range-picker/index.mjs +2 -0
  31. package/esm2020/lib/components/date-range-picker/providers/date-range-picker.service.mjs +17 -0
  32. package/esm2020/lib/components/date-range-picker/public-api.mjs +3 -0
  33. package/esm2020/lib/components/drawer/drawer.component.mjs +4 -4
  34. package/esm2020/lib/components/drawer/drawer.module.mjs +6 -8
  35. package/esm2020/lib/components/drawer/drawer.service.mjs +3 -3
  36. package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +5 -5
  37. package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +6 -6
  38. package/esm2020/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +6 -6
  39. package/esm2020/lib/components/form-error/control-status.directive.mjs +4 -4
  40. package/esm2020/lib/components/form-error/form-error.component.mjs +5 -5
  41. package/esm2020/lib/components/form-error/form-error.module.mjs +5 -5
  42. package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +4 -4
  43. package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +7 -9
  44. package/esm2020/lib/components/horizontal-stepper/step.component.mjs +3 -3
  45. package/esm2020/lib/components/image-cropper/image-cropper.component.mjs +11 -11
  46. package/esm2020/lib/components/image-cropper/image-cropper.module.mjs +5 -5
  47. package/esm2020/lib/components/layout/layout.component.mjs +3 -3
  48. package/esm2020/lib/components/layout/layout.module.mjs +5 -5
  49. package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
  50. package/esm2020/lib/components/loading-spinner/loading-spinner.module.mjs +6 -8
  51. package/esm2020/lib/components/loading-spinner/loading.directive.mjs +3 -3
  52. package/esm2020/lib/components/lottie/lottie.component.mjs +3 -3
  53. package/esm2020/lib/components/lottie/lottie.module.mjs +5 -5
  54. package/esm2020/lib/components/navigation/directives/show-hint.directive.mjs +163 -0
  55. package/esm2020/lib/components/navigation/horizontal/components/basic/basic.component.mjs +9 -9
  56. package/esm2020/lib/components/navigation/horizontal/components/branch/branch.component.mjs +11 -10
  57. package/esm2020/lib/components/navigation/horizontal/components/divider/divider.component.mjs +5 -5
  58. package/esm2020/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +5 -5
  59. package/esm2020/lib/components/navigation/horizontal/horizontal.component.mjs +10 -9
  60. package/esm2020/lib/components/navigation/navigation.component.mjs +3 -3
  61. package/esm2020/lib/components/navigation/navigation.module.mjs +26 -17
  62. package/esm2020/lib/components/navigation/navigation.service.mjs +3 -3
  63. package/esm2020/lib/components/navigation/navigation.types.mjs +1 -1
  64. package/esm2020/lib/components/navigation/pipes/should-hide.pipe.mjs +31 -0
  65. package/esm2020/lib/components/navigation/pipes/should-show-hint.pipe.mjs +32 -0
  66. package/esm2020/lib/components/navigation/providers/hide-item.resolver.mjs +3 -0
  67. package/esm2020/lib/components/navigation/providers/hint.resolver.mjs +3 -0
  68. package/esm2020/lib/components/navigation/providers/hint.service.mjs +20 -0
  69. package/esm2020/lib/components/navigation/public-api.mjs +3 -1
  70. package/esm2020/lib/components/navigation/vertical/components/aside/aside.component.mjs +12 -12
  71. package/esm2020/lib/components/navigation/vertical/components/basic/basic.component.mjs +10 -8
  72. package/esm2020/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +14 -22
  73. package/esm2020/lib/components/navigation/vertical/components/divider/divider.component.mjs +5 -5
  74. package/esm2020/lib/components/navigation/vertical/components/group/group.component.mjs +12 -11
  75. package/esm2020/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +5 -5
  76. package/esm2020/lib/components/navigation/vertical/vertical.component.mjs +33 -16
  77. package/esm2020/lib/components/public-api.mjs +3 -1
  78. package/esm2020/lib/components/search-bar/search-bar.component.mjs +8 -8
  79. package/esm2020/lib/components/search-bar/search-bar.module.mjs +9 -11
  80. package/esm2020/lib/components/sweet-alert/public-api.mjs +2 -1
  81. package/esm2020/lib/components/sweet-alert/sweet-alert.component.mjs +5 -5
  82. package/esm2020/lib/components/sweet-alert/sweet-alert.directive.mjs +37 -0
  83. package/esm2020/lib/components/sweet-alert/sweet-alert.module.mjs +9 -7
  84. package/esm2020/lib/components/sweet-alert/sweet-alert.service.mjs +24 -7
  85. package/esm2020/lib/components/toast/toast.component.mjs +5 -5
  86. package/esm2020/lib/components/toast/toast.module.mjs +5 -5
  87. package/esm2020/lib/components/toast/toast.service.mjs +3 -3
  88. package/esm2020/lib/components/toggle-button-group/toggle-button-group.component.mjs +4 -4
  89. package/esm2020/lib/components/toggle-button-group/toggle-button-group.module.mjs +6 -8
  90. package/esm2020/lib/components/toggle-button-group/toggle-button.component.mjs +3 -3
  91. package/esm2020/lib/components/typeahead/directives/options-scroll.directive.mjs +3 -3
  92. package/esm2020/lib/components/typeahead/directives/options-scroll.module.mjs +4 -4
  93. package/esm2020/lib/components/typeahead/typeahead.component.mjs +12 -12
  94. package/esm2020/lib/components/typeahead/typeahead.module.mjs +15 -17
  95. package/esm2020/lib/directives/autofocus/autofocus.directive.mjs +3 -3
  96. package/esm2020/lib/directives/autofocus/autofocus.module.mjs +4 -4
  97. package/esm2020/lib/directives/autogrow/autogrow.directive.mjs +3 -3
  98. package/esm2020/lib/directives/autogrow/autogrow.module.mjs +4 -4
  99. package/esm2020/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +3 -3
  100. package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +3 -3
  101. package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +24 -10
  102. package/esm2020/lib/directives/chip-list/chip-list.constant.mjs +3 -0
  103. package/esm2020/lib/directives/chip-list/chip-list.directive.mjs +43 -12
  104. package/esm2020/lib/directives/chip-list/chip-list.module.mjs +24 -5
  105. package/esm2020/lib/directives/dropzone/dropzone.directive.mjs +3 -3
  106. package/esm2020/lib/directives/dropzone/dropzone.module.mjs +5 -5
  107. package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +3 -3
  108. package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +4 -4
  109. package/esm2020/lib/directives/material/material.module.mjs +4 -4
  110. package/esm2020/lib/directives/material/nice-material-style.directive.mjs +3 -3
  111. package/esm2020/lib/directives/material/nice-rounded-style.directive.mjs +3 -3
  112. package/esm2020/lib/directives/modals/modal-on-click.directive.mjs +3 -3
  113. package/esm2020/lib/directives/modals/modal-opener.directive.mjs +3 -3
  114. package/esm2020/lib/directives/public-api.mjs +2 -1
  115. package/esm2020/lib/directives/scroll-reset/scroll-reset.directive.mjs +3 -3
  116. package/esm2020/lib/directives/scroll-reset/scroll-reset.module.mjs +4 -4
  117. package/esm2020/lib/directives/scrollbar/scrollbar.directive.mjs +3 -3
  118. package/esm2020/lib/directives/scrollbar/scrollbar.module.mjs +4 -4
  119. package/esm2020/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +3 -3
  120. package/esm2020/lib/directives/stop-propagation/stop-propagation.module.mjs +4 -4
  121. package/esm2020/lib/directives/window/prevent-close-window.directive.mjs +3 -3
  122. package/esm2020/lib/directives/window/window-directive.module.mjs +4 -4
  123. package/esm2020/lib/nice.module.mjs +8 -10
  124. package/esm2020/lib/pipes/boolean.pipe.mjs +3 -3
  125. package/esm2020/lib/pipes/capitalize-first-letter.pipe.mjs +3 -3
  126. package/esm2020/lib/pipes/ceil.pipe.mjs +3 -3
  127. package/esm2020/lib/pipes/entries.pipe.mjs +3 -3
  128. package/esm2020/lib/pipes/find-by-key.pipe.mjs +3 -3
  129. package/esm2020/lib/pipes/first-letter.pipe.mjs +3 -3
  130. package/esm2020/lib/pipes/floor.pipe.mjs +3 -3
  131. package/esm2020/lib/pipes/join-if-defined.pipe.mjs +3 -3
  132. package/esm2020/lib/pipes/link.pipe.mjs +3 -3
  133. package/esm2020/lib/pipes/localized-boolean.pipe.mjs +3 -3
  134. package/esm2020/lib/pipes/localized-currency.pipe.mjs +3 -3
  135. package/esm2020/lib/pipes/localized-date-only.pipe.mjs +3 -3
  136. package/esm2020/lib/pipes/localized-date.pipe.mjs +3 -3
  137. package/esm2020/lib/pipes/minutes-to-time.pipe.mjs +3 -3
  138. package/esm2020/lib/pipes/number-to-ordinal-indicator.pipe.mjs +3 -3
  139. package/esm2020/lib/pipes/pad.pipe.mjs +3 -3
  140. package/esm2020/lib/pipes/phone.pipe.mjs +3 -3
  141. package/esm2020/lib/pipes/pipes.module.mjs +4 -4
  142. package/esm2020/lib/pipes/postal-code.pipe.mjs +3 -3
  143. package/esm2020/lib/pipes/range.pipe.mjs +3 -3
  144. package/esm2020/lib/pipes/round.pipe.mjs +3 -3
  145. package/esm2020/lib/pipes/sanitize-bypass.pipe.mjs +3 -3
  146. package/esm2020/lib/pipes/seconds-to-time.pipe.mjs +3 -3
  147. package/esm2020/lib/providers/config/config.module.mjs +4 -4
  148. package/esm2020/lib/providers/config/config.service.mjs +3 -3
  149. package/esm2020/lib/providers/media-watcher/media-watcher.module.mjs +4 -4
  150. package/esm2020/lib/providers/media-watcher/media-watcher.service.mjs +3 -3
  151. package/esm2020/lib/providers/overlay/dynamic-overlay-container.service.mjs +3 -3
  152. package/esm2020/lib/providers/overlay/dynamic-overlay.service.mjs +3 -3
  153. package/esm2020/lib/providers/splash-screen/splash-screen.module.mjs +4 -4
  154. package/esm2020/lib/providers/splash-screen/splash-screen.service.mjs +3 -3
  155. package/esm2020/lib/providers/utils/utils.module.mjs +4 -4
  156. package/esm2020/lib/providers/utils/utils.service.mjs +3 -3
  157. package/esm2020/lib/utils/keyboard.utils.mjs +2 -1
  158. package/fesm2015/recursyve-nice-ui-kit.v2.mjs +3568 -2883
  159. package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  160. package/fesm2020/recursyve-nice-ui-kit.v2.mjs +3559 -2882
  161. package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  162. package/{recursyve-nice-ui-kit.v2.d.ts → index.d.ts} +0 -0
  163. package/lib/components/alert/alert.component.d.ts +1 -1
  164. package/lib/components/assets-carousel/assets-carousel.component.d.ts +8 -2
  165. package/lib/components/assets-carousel/assets-carousel.module.d.ts +9 -8
  166. package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts +8 -0
  167. package/lib/components/assets-carousel/public-api.d.ts +1 -0
  168. package/lib/components/async-typeahead/async-typeahead.component.d.ts +3 -3
  169. package/lib/components/base-form/base-form.component.d.ts +1 -1
  170. package/lib/components/base-form/form-submit.directive.d.ts +1 -1
  171. package/lib/components/card/card.component.d.ts +1 -1
  172. package/lib/components/carousel/carousel.component.d.ts +1 -1
  173. package/lib/components/carousel/picture-modal/picture-modal.component.d.ts +1 -1
  174. package/lib/components/carousel/pipe/carousel-layout.pipe.d.ts +1 -1
  175. package/lib/components/collapsable/collapsable.component.d.ts +15 -0
  176. package/lib/components/collapsable/collapsable.module.d.ts +9 -0
  177. package/lib/components/collapsable/index.d.ts +1 -0
  178. package/lib/components/collapsable/public-api.d.ts +2 -0
  179. package/lib/components/date-range-picker/components/header/header.component.d.ts +20 -0
  180. package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +23 -0
  181. package/lib/components/date-range-picker/date-range-picker.component.d.ts +29 -0
  182. package/lib/components/date-range-picker/date-range-picker.module.d.ts +18 -0
  183. package/lib/components/date-range-picker/index.d.ts +1 -0
  184. package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +8 -0
  185. package/lib/components/date-range-picker/public-api.d.ts +2 -0
  186. package/lib/components/drawer/drawer.component.d.ts +1 -1
  187. package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +1 -1
  188. package/lib/components/form-error/control-status.directive.d.ts +4 -6
  189. package/lib/components/form-error/form-error.component.d.ts +1 -1
  190. package/lib/components/horizontal-stepper/horizontal-stepper.component.d.ts +1 -1
  191. package/lib/components/horizontal-stepper/step.component.d.ts +1 -1
  192. package/lib/components/image-cropper/image-cropper.component.d.ts +2 -2
  193. package/lib/components/layout/layout.component.d.ts +1 -1
  194. package/lib/components/loading-spinner/loading-spinner.component.d.ts +1 -1
  195. package/lib/components/loading-spinner/loading.directive.d.ts +1 -1
  196. package/lib/components/lottie/lottie.component.d.ts +1 -1
  197. package/lib/components/navigation/directives/show-hint.directive.d.ts +36 -0
  198. package/lib/components/navigation/horizontal/components/basic/basic.component.d.ts +1 -1
  199. package/lib/components/navigation/horizontal/components/branch/branch.component.d.ts +1 -1
  200. package/lib/components/navigation/horizontal/components/divider/divider.component.d.ts +1 -1
  201. package/lib/components/navigation/horizontal/components/spacer/spacer.component.d.ts +1 -1
  202. package/lib/components/navigation/horizontal/horizontal.component.d.ts +1 -1
  203. package/lib/components/navigation/navigation.component.d.ts +1 -1
  204. package/lib/components/navigation/navigation.module.d.ts +13 -10
  205. package/lib/components/navigation/navigation.types.d.ts +8 -1
  206. package/lib/components/navigation/pipes/should-hide.pipe.d.ts +11 -0
  207. package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +12 -0
  208. package/lib/components/navigation/providers/hide-item.resolver.d.ts +5 -0
  209. package/lib/components/navigation/providers/hint.resolver.d.ts +4 -0
  210. package/lib/components/navigation/providers/hint.service.d.ts +9 -0
  211. package/lib/components/navigation/public-api.d.ts +2 -0
  212. package/lib/components/navigation/vertical/components/aside/aside.component.d.ts +1 -1
  213. package/lib/components/navigation/vertical/components/basic/basic.component.d.ts +1 -1
  214. package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +1 -1
  215. package/lib/components/navigation/vertical/components/divider/divider.component.d.ts +1 -1
  216. package/lib/components/navigation/vertical/components/group/group.component.d.ts +1 -1
  217. package/lib/components/navigation/vertical/components/spacer/spacer.component.d.ts +1 -1
  218. package/lib/components/navigation/vertical/vertical.component.d.ts +6 -2
  219. package/lib/components/public-api.d.ts +2 -0
  220. package/lib/components/search-bar/search-bar.component.d.ts +1 -1
  221. package/lib/components/sweet-alert/public-api.d.ts +1 -0
  222. package/lib/components/sweet-alert/sweet-alert.component.d.ts +1 -1
  223. package/lib/components/sweet-alert/sweet-alert.directive.d.ts +13 -0
  224. package/lib/components/sweet-alert/sweet-alert.module.d.ts +7 -6
  225. package/lib/components/sweet-alert/sweet-alert.service.d.ts +11 -0
  226. package/lib/components/toast/toast.component.d.ts +1 -1
  227. package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +1 -1
  228. package/lib/components/toggle-button-group/toggle-button.component.d.ts +1 -1
  229. package/lib/components/typeahead/directives/options-scroll.directive.d.ts +1 -1
  230. package/lib/components/typeahead/typeahead.component.d.ts +2 -2
  231. package/lib/directives/autofocus/autofocus.directive.d.ts +1 -1
  232. package/lib/directives/autogrow/autogrow.directive.d.ts +1 -1
  233. package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +1 -1
  234. package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +1 -1
  235. package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +14 -2
  236. package/lib/directives/chip-list/chip-list.constant.d.ts +2 -0
  237. package/lib/directives/chip-list/chip-list.directive.d.ts +5 -1
  238. package/lib/directives/chip-list/chip-list.module.d.ts +3 -0
  239. package/lib/directives/dropzone/dropzone.directive.d.ts +1 -1
  240. package/lib/directives/image-error-placeholder/image-error-placeholder.directive.d.ts +1 -1
  241. package/lib/directives/material/nice-material-style.directive.d.ts +1 -1
  242. package/lib/directives/material/nice-rounded-style.directive.d.ts +1 -1
  243. package/lib/directives/modals/modal-on-click.directive.d.ts +1 -1
  244. package/lib/directives/modals/modal-opener.directive.d.ts +1 -1
  245. package/lib/directives/public-api.d.ts +1 -0
  246. package/lib/directives/scroll-reset/scroll-reset.directive.d.ts +1 -1
  247. package/lib/directives/scrollbar/scrollbar.directive.d.ts +1 -1
  248. package/lib/directives/stop-propagation/click-stop-propagation.directive.d.ts +1 -1
  249. package/lib/directives/window/prevent-close-window.directive.d.ts +1 -1
  250. package/lib/pipes/boolean.pipe.d.ts +1 -1
  251. package/lib/pipes/capitalize-first-letter.pipe.d.ts +1 -1
  252. package/lib/pipes/ceil.pipe.d.ts +1 -1
  253. package/lib/pipes/entries.pipe.d.ts +1 -1
  254. package/lib/pipes/find-by-key.pipe.d.ts +1 -1
  255. package/lib/pipes/first-letter.pipe.d.ts +1 -1
  256. package/lib/pipes/floor.pipe.d.ts +1 -1
  257. package/lib/pipes/join-if-defined.pipe.d.ts +1 -1
  258. package/lib/pipes/link.pipe.d.ts +1 -1
  259. package/lib/pipes/localized-boolean.pipe.d.ts +1 -1
  260. package/lib/pipes/localized-currency.pipe.d.ts +1 -1
  261. package/lib/pipes/localized-date-only.pipe.d.ts +1 -1
  262. package/lib/pipes/localized-date.pipe.d.ts +1 -1
  263. package/lib/pipes/minutes-to-time.pipe.d.ts +1 -1
  264. package/lib/pipes/number-to-ordinal-indicator.pipe.d.ts +1 -1
  265. package/lib/pipes/pad.pipe.d.ts +1 -1
  266. package/lib/pipes/phone.pipe.d.ts +1 -1
  267. package/lib/pipes/postal-code.pipe.d.ts +1 -1
  268. package/lib/pipes/range.pipe.d.ts +1 -1
  269. package/lib/pipes/round.pipe.d.ts +1 -1
  270. package/lib/pipes/sanitize-bypass.pipe.d.ts +1 -1
  271. package/lib/pipes/seconds-to-time.pipe.d.ts +1 -1
  272. package/lib/utils/array.utils.d.ts +1 -1
  273. package/lib/utils/keyboard.utils.d.ts +2 -1
  274. package/package.json +11 -11
  275. package/src/lib/components/assets-carousel/assets-carousel.theme.scss +44 -38
  276. package/src/lib/components/collapsable/collapsable.theme.scss +51 -0
  277. package/src/lib/components/date-range-picker/date-range-picker.theme.scss +47 -0
  278. package/src/lib/components/navigation/vertical/styles/appearances/default.theme.scss +38 -0
  279. package/src/lib/components/navigation/vertical/styles/appearances/dense.theme.scss +2 -2
  280. package/src/lib/nice.theme.scss +4 -0
@@ -6,5 +6,5 @@ export declare class LocalizedCurrencyPipe extends CurrencyPipe implements PipeT
6
6
  private readonly translateService;
7
7
  constructor(translateService: TranslateService);
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedCurrencyPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedCurrencyPipe, "localizedCurrency">;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedCurrencyPipe, "localizedCurrency", false>;
10
10
  }
@@ -6,5 +6,5 @@ export declare class LocalizedDateOnlyPipe implements PipeTransform {
6
6
  constructor(translateService: TranslateService);
7
7
  transform(value: any, pattern?: string, fallbackWithNull?: boolean): string;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedDateOnlyPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDateOnlyPipe, "localizedDateOnly">;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDateOnlyPipe, "localizedDateOnly", false>;
10
10
  }
@@ -7,5 +7,5 @@ export declare class LocalizedDatePipe implements PipeTransform {
7
7
  transform(value: any, pattern?: string, fallbackWithNull?: boolean, timeZone?: string): string;
8
8
  private getMediumDateWithoutYearPattern;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedDatePipe, never>;
10
- static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDatePipe, "localizedDate">;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedDatePipe, "localizedDate", false>;
11
11
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class MinutesToTimePipe implements PipeTransform {
4
4
  transform(totalMinutes: number, separator?: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<MinutesToTimePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<MinutesToTimePipe, "minutesToTime">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<MinutesToTimePipe, "minutesToTime", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class NumberToOrdinalIndicatorPipe implements PipeTransform {
4
4
  transform(value: number): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<NumberToOrdinalIndicatorPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<NumberToOrdinalIndicatorPipe, "numberToOrdinalIndicator">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<NumberToOrdinalIndicatorPipe, "numberToOrdinalIndicator", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class PadPipe implements PipeTransform {
4
4
  transform(value: number | string, length: number, direction?: "start" | "end", maxLength?: number, fillString?: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<PadPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<PadPipe, "pad">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<PadPipe, "pad", false>;
7
7
  }
@@ -6,5 +6,5 @@ export declare class PhonePipe implements PipeTransform {
6
6
  constructor(maskApplierService: MaskApplierService);
7
7
  transform(rawPhoneNumber: string, extension?: string): string;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PhonePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<PhonePipe, "phone">;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<PhonePipe, "phone", false>;
10
10
  }
@@ -6,5 +6,5 @@ export declare class PostalCodePipe implements PipeTransform {
6
6
  constructor(maskApplierService: MaskApplierService);
7
7
  transform(postalCode: string): string;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PostalCodePipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<PostalCodePipe, "postalCode">;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<PostalCodePipe, "postalCode", false>;
10
10
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class RangePipe implements PipeTransform {
4
4
  transform(value: number): number[];
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<RangePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<RangePipe, "range">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<RangePipe, "range", false>;
7
7
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class RoundPipe implements PipeTransform {
4
4
  transform(input: number): number;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<RoundPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<RoundPipe, "round", false>;
7
7
  }
@@ -6,5 +6,5 @@ export declare class SanitizeBypassPipe implements PipeTransform {
6
6
  constructor(sanitizer: DomSanitizer);
7
7
  transform(value: any, bypass: "html" | "style"): any;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<SanitizeBypassPipe, never>;
9
- static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeBypassPipe, "sanitizeBypass">;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<SanitizeBypassPipe, "sanitizeBypass", false>;
10
10
  }
@@ -3,5 +3,5 @@ import * as i0 from "@angular/core";
3
3
  export declare class SecondsToTimePipe implements PipeTransform {
4
4
  transform(value: number, separator?: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<SecondsToTimePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<SecondsToTimePipe, "secondsToTime">;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<SecondsToTimePipe, "secondsToTime", false>;
7
7
  }
@@ -8,7 +8,7 @@ export declare class ArrayUtils {
8
8
  }): boolean;
9
9
  private static unorderedShallowEquals;
10
10
  static sortByKey(array: any[], key: string): any[];
11
- static sortByKeyFn(key: string): (a: any, b: any) => 0 | 1 | -1;
11
+ static sortByKeyFn(key: string): (a: any, b: any) => 1 | -1 | 0;
12
12
  static groupBy<Item, Key, Value>(array: Item[], keySelector: (item: Item) => Key, valueSelector: (item: Item) => Value[] | Value): Map<Key, Value[]>;
13
13
  }
14
14
  declare global {
@@ -2,5 +2,6 @@ export declare enum KeyboardCodes {
2
2
  ArrowUp = "ArrowUp",
3
3
  ArrowDown = "ArrowDown",
4
4
  Enter = "Enter",
5
- Shift = "Shift"
5
+ Shift = "Shift",
6
+ Comma = "Comma"
6
7
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "13.2.0-beta.99",
3
+ "version": "14.0.0-beta.101",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",
7
- "types": "./recursyve-nice-ui-kit.v2.d.ts",
7
+ "types": "./index.d.ts",
8
8
  "esm2020": "./esm2020/recursyve-nice-ui-kit.v2.mjs",
9
9
  "es2020": "./fesm2020/recursyve-nice-ui-kit.v2.mjs",
10
10
  "es2015": "./fesm2015/recursyve-nice-ui-kit.v2.mjs",
@@ -16,16 +16,16 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "@angular/cdk": "^13.0.0",
20
- "@angular/common": "^13.0.0",
21
- "@angular/core": "^13.0.0",
22
- "@angular/forms": "^13.0.0",
23
- "@angular/material": "^13.0.0",
19
+ "@angular/cdk": "^14.0.0",
20
+ "@angular/common": "^14.0.0",
21
+ "@angular/core": "^14.0.0",
22
+ "@angular/forms": "^14.0.0",
23
+ "@angular/material": "^14.0.0",
24
24
  "@ngx-translate/core": "^14.0.0",
25
- "@recursyve/ngx-form-generator": "^13.0.0-beta.19",
26
- "ngx-mask": "^13.0.0",
25
+ "@recursyve/ngx-form-generator": ">= 14.0.0-beta.36",
26
+ "ngx-mask": "^14.0.0",
27
27
  "perfect-scrollbar": "^1.5.3",
28
- "uuid": "^3.4.0"
28
+ "uuid": ">= 9.0.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "tslib": "^2.0.0",
@@ -37,6 +37,6 @@
37
37
  "esm2020": "esm2020/recursyve-nice-ui-kit.v2.mjs",
38
38
  "fesm2020": "fesm2020/recursyve-nice-ui-kit.v2.mjs",
39
39
  "fesm2015": "fesm2015/recursyve-nice-ui-kit.v2.mjs",
40
- "typings": "recursyve-nice-ui-kit.v2.d.ts",
40
+ "typings": "index.d.ts",
41
41
  "sideEffects": false
42
42
  }
@@ -1,5 +1,12 @@
1
1
  @use "../../nice.utils" as nice;
2
2
 
3
+ /* Variables */
4
+ :root {
5
+ --nice-assets-carousel-asset-width: 90px;
6
+ --nice-assets-carousel-asset-height: 60px;
7
+ --nice-assets-carousel-asset-gap: 0.75rem;
8
+ }
9
+
3
10
  @mixin nice-assets-carousel-theme($theme) {
4
11
  nice-assets-carousel {
5
12
  .carousel-container {
@@ -42,47 +49,46 @@
42
49
  }
43
50
 
44
51
  .carousel {
45
- @apply flex flex-row items-center;
52
+ @apply relative flex flex-row items-center;
46
53
 
47
54
  .asset-list-container {
48
- @apply flex flex-row overflow-x-hidden;
49
-
50
- min-width: 400px;
51
- max-width: 400px;
55
+ @apply flex flex-row overflow-x-hidden min-w-full max-w-full;
52
56
 
53
57
  .asset-list {
54
58
  @apply flex flex-row;
55
59
 
60
+ gap: var(--nice-assets-carousel-asset-gap);
56
61
  transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
57
62
  }
58
63
  }
64
+ }
59
65
 
60
- .action-button {
61
- @apply mx-2;
62
- }
66
+ .left-arrow {
67
+ @apply -left-[10%];
68
+ }
69
+
70
+ .right-arrow {
71
+ @apply -right-[10%];
63
72
  }
64
73
 
65
74
  image, img, video {
66
- width: 100%;
67
- height: 100%;
75
+ @apply w-full h-full select-none object-cover;
76
+ }
68
77
 
69
- -webkit-user-select: none;
70
- user-select: none;
71
- object-fit: cover;
72
- border-radius: 4px;
78
+ .action-button {
79
+ @apply absolute w-8 h-8 min-w-8 min-h-8;
80
+
81
+ .mat-button-wrapper {
82
+ @apply w-full;
83
+ }
73
84
  }
74
85
 
75
86
  .active-image {
76
- @apply mx-14 relative;
77
-
78
- width: 400px;
87
+ @apply relative cursor-pointer mb-4 w-full rounded;
79
88
  height: 280px;
80
89
 
81
- margin-bottom: 16px;
82
- border-radius: 4px;
83
-
84
90
  &.empty-state {
85
- @apply border border-white select-none cursor-pointer;
91
+ @apply border border-white select-none;
86
92
 
87
93
  .empty-state-content {
88
94
  @apply h-full flex flex-col justify-center items-center;
@@ -101,10 +107,9 @@
101
107
  @apply absolute top-3 right-3 flex flex-row;
102
108
 
103
109
  .mat-icon-button {
104
- @apply bg-white ml-2.5;
110
+ @apply bg-white ml-2.5 rounded;
105
111
 
106
112
  @include nice.override-mat-icon-size(32, true);
107
- border-radius: 4px;
108
113
 
109
114
  &[disabled] * {
110
115
  @apply text-black text-opacity-80 #{!important};
@@ -119,22 +124,26 @@
119
124
  }
120
125
  }
121
126
 
127
+ .active-image-overlay {
128
+ @apply absolute top-0 w-full h-full bg-default bg-opacity-50;
129
+
130
+ .mat-icon {
131
+ @include nice.override-mat-icon-size(60, true);
132
+ }
133
+ }
134
+
122
135
  .arrows {
123
136
  @include nice.override-mat-icon-size(16, true);
124
137
  }
125
138
 
126
139
  .add-asset-container {
127
- @apply bg-default z-50 cursor-pointer select-none;
140
+ @apply bg-default z-50 cursor-pointer select-none mr-3;
128
141
 
129
- min-width: 90px;
130
- min-height: 60px;
131
- margin-right: 12px;
142
+ min-width: var(--nice-assets-carousel-asset-width);
143
+ min-height: var(--nice-assets-carousel-asset-height);
132
144
 
133
145
  .add-asset {
134
- @apply h-full w-full flex justify-center items-center;
135
- @apply border border-white border-solid;
136
-
137
- border-radius: 4px;
146
+ @apply h-full w-full flex justify-center items-center border border-white border-solid rounded;
138
147
 
139
148
  .mat-icon {
140
149
  @apply text-default text-opacity-50 #{!important};
@@ -143,16 +152,13 @@
143
152
  }
144
153
 
145
154
  .asset {
146
- width: 90px;
147
- height: 60px;
148
- border-radius: 4px;
149
-
150
- margin-right: 12px;
155
+ width: var(--nice-assets-carousel-asset-width);
156
+ height: var(--nice-assets-carousel-asset-height);
151
157
 
152
- cursor: pointer;
158
+ @apply rounded cursor-pointer overflow-hidden border border-transparent;
153
159
 
154
160
  &.active {
155
- @apply border border-opacity-100 #{!important};
161
+ @apply border-opacity-100 #{!important};
156
162
 
157
163
  &.primary {
158
164
  @apply border-primary;
@@ -0,0 +1,51 @@
1
+ /* From https://github.com/saadeghi/daisyui/blob/master/src/components/unstyled/collapse.css */
2
+
3
+ @mixin nice-collapsable-theme($theme) {
4
+ nice-collapsable {
5
+ .collapse.collapse {
6
+ @apply visible;
7
+ }
8
+ .collapse {
9
+ @apply relative grid overflow-hidden;
10
+ }
11
+ .collapse-title,
12
+ .collapse > input[type="checkbox"],
13
+ .collapse-content {
14
+ @apply col-start-1 row-start-1;
15
+ }
16
+ .collapse > input[type="checkbox"] {
17
+ @apply opacity-0;
18
+
19
+ appearance: none;
20
+ -webkit-appearance: none;
21
+ -ms-progress-appearance: none;
22
+ }
23
+ .collapse-content {
24
+ @apply row-start-2 overflow-hidden;
25
+ max-height: 0px;
26
+ }
27
+ .collapse-open .collapse-content,
28
+ .collapse:focus:not(.collapse-close) .collapse-content,
29
+ .collapse:not(.collapse-close)
30
+ input[type="checkbox"]:checked
31
+ ~ .collapse-content {
32
+ max-height: 9000px;
33
+ }
34
+
35
+ .collapse-title {
36
+ @apply bg-card p-4;
37
+ }
38
+
39
+ .peer:hover ~ .collapse-title {
40
+ @apply shadow-2xl;
41
+ }
42
+
43
+ .collapse-content {
44
+ @apply bg-card;
45
+ }
46
+
47
+ .peer:checked ~ .collapse-content {
48
+ @apply p-4;
49
+ }
50
+ }
51
+ }
@@ -0,0 +1,47 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ @mixin nice-date-picker-theme($theme) {
4
+ $accent: map-get($theme, accent);
5
+ $background: map-get($theme, background);
6
+ $foreground: map-get($theme, foreground);
7
+
8
+ mat-calendar {
9
+ .mat-calendar-body-in-range::before {
10
+ background: mat.get-color-from-palette($accent, 0.2) !important;
11
+ }
12
+ }
13
+
14
+ nice-date-range-picker {
15
+ .from-to {
16
+ @apply flex;
17
+
18
+ color: map-get($foreground, text);
19
+ }
20
+
21
+ .nice-date-picker-container {
22
+ @apply flex justify-center items-center;
23
+
24
+ .nice-date-picker-header {
25
+ @apply mr-3;
26
+ }
27
+ }
28
+
29
+ .separator {
30
+ @apply px-3;
31
+ }
32
+ }
33
+
34
+ nice-range-preset {
35
+ background-color: map-get($background, background);
36
+
37
+ button {
38
+ .mat-button-focus-overlay {
39
+ background: mat.get-color-from-palette($accent) !important;
40
+ }
41
+ }
42
+
43
+ .mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay {
44
+ opacity: 0.2 !important;
45
+ }
46
+ }
47
+ }
@@ -240,6 +240,14 @@
240
240
  opacity: 0.4;
241
241
  }
242
242
 
243
+ .nice-vertical-navigation-item-icon-wrapper {
244
+ position: relative;
245
+
246
+ .nice-vertical-navigation-hint {
247
+ display: none;
248
+ }
249
+ }
250
+
243
251
  .nice-vertical-navigation-item-icon {
244
252
  margin-right: 16px;
245
253
 
@@ -254,6 +262,20 @@
254
262
  }
255
263
 
256
264
  .nice-vertical-navigation-item-title-wrapper {
265
+ .nice-vertical-navigation-item-title {
266
+ position: relative;
267
+
268
+ span {
269
+ padding: 16px;
270
+ }
271
+ }
272
+
273
+ .nice-vertical-navigation-hint {
274
+ width: 8px;
275
+ height: 8px;
276
+ top: -4px;
277
+ right: 4px
278
+ }
257
279
 
258
280
  .nice-vertical-navigation-item-subtitle {
259
281
  font-size: 11px;
@@ -481,6 +503,9 @@
481
503
  nice-vertical-navigation-basic-item,
482
504
  nice-vertical-navigation-collapsable-item,
483
505
  nice-vertical-navigation-group-item {
506
+ .nice-vertical-navigation-hint {
507
+ @apply absolute h-2 w-2 rounded-full bg-accent;
508
+ }
484
509
 
485
510
  .nice-vertical-navigation-item-wrapper {
486
511
 
@@ -602,4 +627,17 @@
602
627
  }
603
628
  }
604
629
  }
630
+
631
+ nice-vertical-navigation {
632
+ &.nice-vertical-navigation-appearance-dense:not(.nice-vertical-navigation-hover):not(.nice-vertical-navigation-has-hint) {
633
+ .nice-vertical-navigation-hint {
634
+ display: block !important;
635
+
636
+ width: 8px;
637
+ height: 8px;
638
+ top: -4px;
639
+ right: 8px
640
+ }
641
+ }
642
+ }
605
643
  }
@@ -94,7 +94,7 @@
94
94
  }
95
95
  }
96
96
 
97
- &:not(.nice-vertical-navigation-hover):not(.nice-vertical-navigation-mode-over) {
97
+ &:not(.nice-vertical-navigation-hover):not(.nice-vertical-navigation-mode-over):not(.nice-vertical-navigation-has-hint) {
98
98
 
99
99
  /* Wrapper */
100
100
  .nice-vertical-navigation-wrapper {
@@ -149,7 +149,7 @@
149
149
  }
150
150
 
151
151
  /* Hover */
152
- &.nice-vertical-navigation-hover {
152
+ &.nice-vertical-navigation-hover, &.nice-vertical-navigation-has-hint {
153
153
 
154
154
  .nice-vertical-navigation-wrapper {
155
155
  width: var(--nice-vertical-navigation-width);
@@ -8,6 +8,8 @@
8
8
  @import "./components/assets-carousel/assets-carousel.theme";
9
9
  @import "./components/base-form/base-form.theme";
10
10
  @import "./components/card/card.theme";
11
+ @import "./components/collapsable/collapsable.theme";
12
+ @import "./components/date-range-picker/date-range-picker.theme";
11
13
  @import "./components/drawer/drawer.theme";
12
14
  @import "./components/horizontal-stepper/horizontal-stepper.theme";
13
15
  @import "./components/navigation/horizontal/horizontal.theme";
@@ -21,6 +23,8 @@
21
23
  @include nice-assets-carousel-theme($theme);
22
24
  @include nice-base-form-theme($theme);
23
25
  @include nice-card-theme($theme);
26
+ @include nice-collapsable-theme($theme);
27
+ @include nice-date-picker-theme($theme);
24
28
  @include nice-drawer-theme($theme);
25
29
  @include nice-horizontal-stepper-theme($theme);
26
30
  @include nice-toggle-button-group-theme($theme);