@pepperi-addons/ngx-lib 0.2.61 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/address/address.component.theme.scss +4 -7
  2. package/address/pepperi-addons-ngx-lib-address.metadata.json +1 -1
  3. package/attachment/attachment.component.d.ts +1 -0
  4. package/attachment/attachment.component.theme.scss +3 -2
  5. package/attachment/pepperi-addons-ngx-lib-attachment.metadata.json +1 -1
  6. package/bread-crumbs/bread-crumbs.component.theme.scss +7 -7
  7. package/bread-crumbs/pepperi-addons-ngx-lib-bread-crumbs.metadata.json +1 -1
  8. package/bundles/pepperi-addons-ngx-lib-address.umd.js +1 -1
  9. package/bundles/pepperi-addons-ngx-lib-address.umd.js.map +1 -1
  10. package/bundles/pepperi-addons-ngx-lib-attachment.umd.js +7 -2
  11. package/bundles/pepperi-addons-ngx-lib-attachment.umd.js.map +1 -1
  12. package/bundles/pepperi-addons-ngx-lib-bread-crumbs.umd.js +1 -1
  13. package/bundles/pepperi-addons-ngx-lib-bread-crumbs.umd.js.map +1 -1
  14. package/bundles/pepperi-addons-ngx-lib-button.umd.js +1 -1
  15. package/bundles/pepperi-addons-ngx-lib-button.umd.js.map +1 -1
  16. package/bundles/pepperi-addons-ngx-lib-checkbox.umd.js +4 -1
  17. package/bundles/pepperi-addons-ngx-lib-checkbox.umd.js.map +1 -1
  18. package/bundles/pepperi-addons-ngx-lib-color.umd.js +8 -3
  19. package/bundles/pepperi-addons-ngx-lib-color.umd.js.map +1 -1
  20. package/bundles/pepperi-addons-ngx-lib-date.umd.js +4 -1
  21. package/bundles/pepperi-addons-ngx-lib-date.umd.js.map +1 -1
  22. package/bundles/pepperi-addons-ngx-lib-dialog.umd.js +1 -1
  23. package/bundles/pepperi-addons-ngx-lib-dialog.umd.js.map +1 -1
  24. package/bundles/pepperi-addons-ngx-lib-field-title.umd.js +1 -1
  25. package/bundles/pepperi-addons-ngx-lib-field-title.umd.js.map +1 -1
  26. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js +1 -1
  27. package/bundles/pepperi-addons-ngx-lib-files-uploader.umd.js.map +1 -1
  28. package/bundles/pepperi-addons-ngx-lib-form.umd.js +19 -16
  29. package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
  30. package/bundles/pepperi-addons-ngx-lib-group-buttons.umd.js +1 -1
  31. package/bundles/pepperi-addons-ngx-lib-group-buttons.umd.js.map +1 -1
  32. package/bundles/pepperi-addons-ngx-lib-image.umd.js +7 -2
  33. package/bundles/pepperi-addons-ngx-lib-image.umd.js.map +1 -1
  34. package/bundles/pepperi-addons-ngx-lib-images-filmstrip.umd.js +7 -2
  35. package/bundles/pepperi-addons-ngx-lib-images-filmstrip.umd.js.map +1 -1
  36. package/bundles/pepperi-addons-ngx-lib-list.umd.js +1 -1
  37. package/bundles/pepperi-addons-ngx-lib-list.umd.js.map +1 -1
  38. package/bundles/pepperi-addons-ngx-lib-quantity-selector.umd.js +7 -2
  39. package/bundles/pepperi-addons-ngx-lib-quantity-selector.umd.js.map +1 -1
  40. package/bundles/pepperi-addons-ngx-lib-query-builder.umd.js +1104 -0
  41. package/bundles/pepperi-addons-ngx-lib-query-builder.umd.js.map +1 -0
  42. package/bundles/pepperi-addons-ngx-lib-rich-html-textarea.umd.js +7 -2
  43. package/bundles/pepperi-addons-ngx-lib-rich-html-textarea.umd.js.map +1 -1
  44. package/bundles/pepperi-addons-ngx-lib-select.umd.js +7 -2
  45. package/bundles/pepperi-addons-ngx-lib-select.umd.js.map +1 -1
  46. package/bundles/pepperi-addons-ngx-lib-separator.umd.js +9 -1
  47. package/bundles/pepperi-addons-ngx-lib-separator.umd.js.map +1 -1
  48. package/bundles/pepperi-addons-ngx-lib-side-bar.umd.js +1 -1
  49. package/bundles/pepperi-addons-ngx-lib-side-bar.umd.js.map +1 -1
  50. package/bundles/pepperi-addons-ngx-lib-signature.umd.js +7 -2
  51. package/bundles/pepperi-addons-ngx-lib-signature.umd.js.map +1 -1
  52. package/bundles/pepperi-addons-ngx-lib-slider.umd.js +1 -1
  53. package/bundles/pepperi-addons-ngx-lib-slider.umd.js.map +1 -1
  54. package/bundles/pepperi-addons-ngx-lib-smart-filters.umd.js +306 -39
  55. package/bundles/pepperi-addons-ngx-lib-smart-filters.umd.js.map +1 -1
  56. package/bundles/pepperi-addons-ngx-lib-textarea.umd.js +7 -2
  57. package/bundles/pepperi-addons-ngx-lib-textarea.umd.js.map +1 -1
  58. package/bundles/pepperi-addons-ngx-lib-textbox.umd.js +5 -3
  59. package/bundles/pepperi-addons-ngx-lib-textbox.umd.js.map +1 -1
  60. package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js +1 -1
  61. package/bundles/pepperi-addons-ngx-lib-top-bar.umd.js.map +1 -1
  62. package/bundles/pepperi-addons-ngx-lib.umd.js +3 -1
  63. package/bundles/pepperi-addons-ngx-lib.umd.js.map +1 -1
  64. package/button/button.component.theme.scss +0 -2
  65. package/button/pepperi-addons-ngx-lib-button.metadata.json +1 -1
  66. package/checkbox/checkbox.component.theme.scss +0 -2
  67. package/checkbox/pepperi-addons-ngx-lib-checkbox.metadata.json +1 -1
  68. package/color/color-picker.component.theme.scss +123 -128
  69. package/color/color.component.d.ts +1 -0
  70. package/color/color.component.theme.scss +0 -7
  71. package/color/pepperi-addons-ngx-lib-color.metadata.json +1 -1
  72. package/core/customization/customization.service.d.ts +1 -0
  73. package/date/date.component.theme.scss +163 -169
  74. package/date/pepperi-addons-ngx-lib-date.metadata.json +1 -1
  75. package/dialog/dialog.component.theme.scss +4 -4
  76. package/dialog/pepperi-addons-ngx-lib-dialog.metadata.json +1 -1
  77. package/esm2015/address/address.component.js +2 -2
  78. package/esm2015/attachment/attachment.component.js +8 -3
  79. package/esm2015/bread-crumbs/bread-crumbs.component.js +2 -2
  80. package/esm2015/button/button.component.js +2 -2
  81. package/esm2015/checkbox/checkbox.component.js +5 -2
  82. package/esm2015/color/color-picker.component.js +2 -2
  83. package/esm2015/color/color.component.js +8 -3
  84. package/esm2015/core/customization/customization.service.js +4 -2
  85. package/esm2015/date/date.component.js +5 -2
  86. package/esm2015/dialog/dialog.component.js +2 -2
  87. package/esm2015/field-title/field-title.component.js +2 -2
  88. package/esm2015/files-uploader/files-uploader.component.js +2 -2
  89. package/esm2015/form/indicators.component.js +2 -2
  90. package/esm2015/form/internal-button.component.js +20 -17
  91. package/esm2015/group-buttons/group-buttons.component.js +2 -2
  92. package/esm2015/image/image.component.js +8 -3
  93. package/esm2015/images-filmstrip/images-filmstrip.component.js +8 -3
  94. package/esm2015/list/list-total.component.js +2 -2
  95. package/esm2015/quantity-selector/quantity-selector.component.js +8 -3
  96. package/esm2015/query-builder/common/model/field.js +2 -0
  97. package/esm2015/query-builder/common/model/filter.js +2 -0
  98. package/esm2015/query-builder/common/model/legacy.js +2 -0
  99. package/esm2015/query-builder/common/model/operator-unit.js +42 -0
  100. package/esm2015/query-builder/common/model/operator.js +207 -0
  101. package/esm2015/query-builder/common/model/structure.js +2 -0
  102. package/esm2015/query-builder/common/model/type-map.js +27 -0
  103. package/esm2015/query-builder/common/model/type.js +6 -0
  104. package/esm2015/query-builder/common/services/output-query.service.js +111 -0
  105. package/esm2015/query-builder/common/services/type-convertor.service.js +40 -0
  106. package/esm2015/query-builder/pepperi-addons-ngx-lib-query-builder.js +9 -0
  107. package/esm2015/query-builder/public-api.js +8 -0
  108. package/esm2015/query-builder/query-builder-item/query-builder-item.component.js +116 -0
  109. package/esm2015/query-builder/query-builder-section/query-builder-section.component.js +64 -0
  110. package/esm2015/query-builder/query-builder.component.js +104 -0
  111. package/esm2015/query-builder/query-builder.module.js +35 -0
  112. package/esm2015/query-builder/query-builder.service.js +282 -0
  113. package/esm2015/rich-html-textarea/rich-html-textarea.component.js +8 -3
  114. package/esm2015/select/select.component.js +8 -3
  115. package/esm2015/separator/separator.component.js +10 -2
  116. package/esm2015/side-bar/side-bar.component.js +2 -2
  117. package/esm2015/signature/signature.component.js +8 -3
  118. package/esm2015/slider/slider.component.js +2 -2
  119. package/esm2015/smart-filters/boolean-filter/boolean-filter.component.js +23 -3
  120. package/esm2015/smart-filters/common/model/base-filter-component.js +35 -8
  121. package/esm2015/smart-filters/common/model/creator.js +8 -2
  122. package/esm2015/smart-filters/common/model/field.js +12 -1
  123. package/esm2015/smart-filters/common/model/operator.js +8 -8
  124. package/esm2015/smart-filters/common/model/type.js +1 -1
  125. package/esm2015/smart-filters/date-filter/date-filter.component.js +45 -2
  126. package/esm2015/smart-filters/multi-select-filter/multi-select-filter.component.js +53 -14
  127. package/esm2015/smart-filters/number-filter/number-filter.component.js +27 -2
  128. package/esm2015/smart-filters/public-api.js +2 -1
  129. package/esm2015/smart-filters/smart-filters.component.js +2 -2
  130. package/esm2015/smart-filters/smart-filters.module.js +16 -3
  131. package/esm2015/smart-filters/text-filter/text-filter.component.js +79 -0
  132. package/esm2015/textarea/textarea.component.js +8 -3
  133. package/esm2015/textbox/textbox.component.js +6 -4
  134. package/esm2015/top-bar/top-bar.component.js +2 -2
  135. package/fesm2015/pepperi-addons-ngx-lib-address.js +1 -1
  136. package/fesm2015/pepperi-addons-ngx-lib-address.js.map +1 -1
  137. package/fesm2015/pepperi-addons-ngx-lib-attachment.js +7 -2
  138. package/fesm2015/pepperi-addons-ngx-lib-attachment.js.map +1 -1
  139. package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.js +1 -1
  140. package/fesm2015/pepperi-addons-ngx-lib-bread-crumbs.js.map +1 -1
  141. package/fesm2015/pepperi-addons-ngx-lib-button.js +1 -1
  142. package/fesm2015/pepperi-addons-ngx-lib-button.js.map +1 -1
  143. package/fesm2015/pepperi-addons-ngx-lib-checkbox.js +4 -1
  144. package/fesm2015/pepperi-addons-ngx-lib-checkbox.js.map +1 -1
  145. package/fesm2015/pepperi-addons-ngx-lib-color.js +8 -3
  146. package/fesm2015/pepperi-addons-ngx-lib-color.js.map +1 -1
  147. package/fesm2015/pepperi-addons-ngx-lib-date.js +4 -1
  148. package/fesm2015/pepperi-addons-ngx-lib-date.js.map +1 -1
  149. package/fesm2015/pepperi-addons-ngx-lib-dialog.js +1 -1
  150. package/fesm2015/pepperi-addons-ngx-lib-dialog.js.map +1 -1
  151. package/fesm2015/pepperi-addons-ngx-lib-field-title.js +1 -1
  152. package/fesm2015/pepperi-addons-ngx-lib-field-title.js.map +1 -1
  153. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js +1 -1
  154. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.js.map +1 -1
  155. package/fesm2015/pepperi-addons-ngx-lib-form.js +19 -16
  156. package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
  157. package/fesm2015/pepperi-addons-ngx-lib-group-buttons.js +1 -1
  158. package/fesm2015/pepperi-addons-ngx-lib-group-buttons.js.map +1 -1
  159. package/fesm2015/pepperi-addons-ngx-lib-image.js +7 -2
  160. package/fesm2015/pepperi-addons-ngx-lib-image.js.map +1 -1
  161. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.js +7 -2
  162. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.js.map +1 -1
  163. package/fesm2015/pepperi-addons-ngx-lib-list.js +1 -1
  164. package/fesm2015/pepperi-addons-ngx-lib-list.js.map +1 -1
  165. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.js +7 -2
  166. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.js.map +1 -1
  167. package/fesm2015/pepperi-addons-ngx-lib-query-builder.js +1014 -0
  168. package/fesm2015/pepperi-addons-ngx-lib-query-builder.js.map +1 -0
  169. package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.js +7 -2
  170. package/fesm2015/pepperi-addons-ngx-lib-rich-html-textarea.js.map +1 -1
  171. package/fesm2015/pepperi-addons-ngx-lib-select.js +7 -2
  172. package/fesm2015/pepperi-addons-ngx-lib-select.js.map +1 -1
  173. package/fesm2015/pepperi-addons-ngx-lib-separator.js +9 -1
  174. package/fesm2015/pepperi-addons-ngx-lib-separator.js.map +1 -1
  175. package/fesm2015/pepperi-addons-ngx-lib-side-bar.js +1 -1
  176. package/fesm2015/pepperi-addons-ngx-lib-side-bar.js.map +1 -1
  177. package/fesm2015/pepperi-addons-ngx-lib-signature.js +7 -2
  178. package/fesm2015/pepperi-addons-ngx-lib-signature.js.map +1 -1
  179. package/fesm2015/pepperi-addons-ngx-lib-slider.js +1 -1
  180. package/fesm2015/pepperi-addons-ngx-lib-slider.js.map +1 -1
  181. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.js +293 -36
  182. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.js.map +1 -1
  183. package/fesm2015/pepperi-addons-ngx-lib-textarea.js +7 -2
  184. package/fesm2015/pepperi-addons-ngx-lib-textarea.js.map +1 -1
  185. package/fesm2015/pepperi-addons-ngx-lib-textbox.js +5 -3
  186. package/fesm2015/pepperi-addons-ngx-lib-textbox.js.map +1 -1
  187. package/fesm2015/pepperi-addons-ngx-lib-top-bar.js +1 -1
  188. package/fesm2015/pepperi-addons-ngx-lib-top-bar.js.map +1 -1
  189. package/fesm2015/pepperi-addons-ngx-lib.js +3 -1
  190. package/fesm2015/pepperi-addons-ngx-lib.js.map +1 -1
  191. package/field-title/field-title.component.theme.scss +0 -2
  192. package/field-title/pepperi-addons-ngx-lib-field-title.metadata.json +1 -1
  193. package/files-uploader/files-uploader.component.theme.scss +3 -2
  194. package/files-uploader/pepperi-addons-ngx-lib-files-uploader.metadata.json +1 -1
  195. package/form/indicators.component.theme.scss +5 -5
  196. package/form/internal-button.component.d.ts +0 -1
  197. package/form/pepperi-addons-ngx-lib-form.metadata.json +1 -1
  198. package/group-buttons/group-buttons.component.theme.scss +11 -11
  199. package/group-buttons/pepperi-addons-ngx-lib-group-buttons.metadata.json +1 -1
  200. package/image/image.component.d.ts +1 -0
  201. package/image/image.component.theme.scss +28 -27
  202. package/image/pepperi-addons-ngx-lib-image.metadata.json +1 -1
  203. package/images-filmstrip/images-filmstrip.component.d.ts +1 -0
  204. package/images-filmstrip/images-filmstrip.component.theme.scss +27 -26
  205. package/images-filmstrip/pepperi-addons-ngx-lib-images-filmstrip.metadata.json +1 -1
  206. package/list/list-total.component.theme.scss +6 -6
  207. package/list/pepperi-addons-ngx-lib-list.metadata.json +1 -1
  208. package/package.json +5 -5
  209. package/page-layout/page-layout.component.theme.scss +6 -6
  210. package/pepperi-addons-ngx-lib.metadata.json +1 -1
  211. package/quantity-selector/pepperi-addons-ngx-lib-quantity-selector.metadata.json +1 -1
  212. package/quantity-selector/quantity-selector.component.d.ts +1 -0
  213. package/quantity-selector/quantity-selector.component.theme.scss +21 -21
  214. package/query-builder/common/model/field.d.ts +8 -0
  215. package/query-builder/common/model/filter.d.ts +6 -0
  216. package/query-builder/common/model/legacy.d.ts +29 -0
  217. package/query-builder/common/model/operator-unit.d.ts +13 -0
  218. package/query-builder/common/model/operator.d.ts +21 -0
  219. package/query-builder/common/model/structure.d.ts +4 -0
  220. package/query-builder/common/model/type-map.d.ts +12 -0
  221. package/query-builder/common/model/type.d.ts +4 -0
  222. package/query-builder/common/services/output-query.service.d.ts +44 -0
  223. package/query-builder/common/services/type-convertor.service.d.ts +10 -0
  224. package/query-builder/package.json +14 -0
  225. package/query-builder/pepperi-addons-ngx-lib-query-builder.d.ts +8 -0
  226. package/query-builder/pepperi-addons-ngx-lib-query-builder.metadata.json +1 -0
  227. package/query-builder/public-api.d.ts +4 -0
  228. package/query-builder/query-builder-item/query-builder-item.component.d.ts +37 -0
  229. package/query-builder/query-builder-section/query-builder-section.component.d.ts +27 -0
  230. package/query-builder/query-builder-section/query-builder-section.component.theme.scss +7 -0
  231. package/query-builder/query-builder.component.d.ts +35 -0
  232. package/query-builder/query-builder.module.d.ts +2 -0
  233. package/query-builder/query-builder.service.d.ts +94 -0
  234. package/rich-html-textarea/pepperi-addons-ngx-lib-rich-html-textarea.metadata.json +1 -1
  235. package/rich-html-textarea/rich-html-textarea.component.d.ts +1 -0
  236. package/rich-html-textarea/rich-html-textarea.component.theme.scss +77 -70
  237. package/select/pepperi-addons-ngx-lib-select.metadata.json +1 -1
  238. package/select/select.component.d.ts +1 -0
  239. package/select/select.component.theme.scss +98 -2
  240. package/separator/pepperi-addons-ngx-lib-separator.metadata.json +1 -1
  241. package/separator/separator.component.theme.scss +1 -1
  242. package/side-bar/pepperi-addons-ngx-lib-side-bar.metadata.json +1 -1
  243. package/side-bar/side-bar.component.theme.scss +17 -16
  244. package/signature/pepperi-addons-ngx-lib-signature.metadata.json +1 -1
  245. package/signature/signature.component.d.ts +1 -0
  246. package/signature/signature.component.theme.scss +5 -21
  247. package/slider/pepperi-addons-ngx-lib-slider.metadata.json +1 -1
  248. package/slider/slider.component.theme.scss +55 -53
  249. package/smart-filters/boolean-filter/boolean-filter.component.d.ts +6 -1
  250. package/smart-filters/common/model/base-filter-component.d.ts +7 -0
  251. package/smart-filters/common/model/field.d.ts +4 -0
  252. package/smart-filters/common/model/operator.d.ts +1 -0
  253. package/smart-filters/common/model/type.d.ts +2 -2
  254. package/smart-filters/date-filter/date-filter.component.d.ts +8 -1
  255. package/smart-filters/multi-select-filter/multi-select-filter.component.d.ts +6 -0
  256. package/smart-filters/number-filter/number-filter.component.d.ts +5 -0
  257. package/smart-filters/pepperi-addons-ngx-lib-smart-filters.metadata.json +1 -1
  258. package/smart-filters/public-api.d.ts +1 -0
  259. package/smart-filters/smart-filters.component.theme.scss +6 -7
  260. package/smart-filters/text-filter/text-filter.component.d.ts +17 -0
  261. package/src/assets/i18n/en.ngx-lib.json +2 -1
  262. package/src/core/style/abstracts/breakpoints.scss +4 -2
  263. package/src/core/style/abstracts/functions.scss +233 -216
  264. package/src/core/style/abstracts/mixins.scss +191 -188
  265. package/src/core/style/base/base.scss +125 -124
  266. package/src/core/style/base/grids.scss +1 -1
  267. package/src/core/style/base/typography.scss +66 -62
  268. package/src/core/style/components/button.scss +57 -60
  269. package/src/core/style/components/checkbox.scss +41 -38
  270. package/src/core/style/components/datetime.scss +182 -22
  271. package/src/core/style/components/file.scss +159 -141
  272. package/src/core/style/components/general.scss +175 -287
  273. package/src/core/style/components/input.scss +22 -24
  274. package/src/core/style/components/quantity-selector.scss +15 -12
  275. package/src/core/style/components/radio-button.scss +22 -38
  276. package/src/core/style/components/select.scss +184 -182
  277. package/src/core/style/components/signature.scss +14 -12
  278. package/src/core/style/components/splitter.scss +58 -55
  279. package/src/core/style/components/textarea.scss +90 -78
  280. package/textarea/pepperi-addons-ngx-lib-textarea.metadata.json +1 -1
  281. package/textarea/textarea.component.d.ts +1 -0
  282. package/textarea/textarea.component.theme.scss +3 -2
  283. package/textbox/pepperi-addons-ngx-lib-textbox.metadata.json +1 -1
  284. package/textbox/textbox.component.theme.scss +1 -1
  285. package/theming.scss +50 -144
  286. package/top-bar/pepperi-addons-ngx-lib-top-bar.metadata.json +1 -1
  287. package/top-bar/top-bar.component.theme.scss +7 -7
  288. package/form/form.component.theme.scss +0 -2
  289. package/form/internal-button.component.theme.scss +0 -2
  290. package/form/internal-menu.component.theme.scss +0 -3
  291. package/list/list-actions.component.theme.scss +0 -3
  292. package/list/list-carousel.component.theme.scss +0 -9
  293. package/list/list-chooser.component.theme.scss +0 -3
  294. package/list/list-pager.component.theme.scss +0 -3
  295. package/list/list-sorting.component.theme.scss +0 -3
  296. package/list/list-views.component.theme.scss +0 -3
  297. package/list/list.component.theme.scss +0 -5
  298. package/list/list_old.component.theme.scss +0 -5
  299. package/menu/menu.component.theme.scss +0 -2
  300. package/search/search.component.theme.scss +0 -3
  301. package/textbox-icon/textbox-icon.component.theme.scss +0 -3
@@ -1,4 +1,4 @@
1
- @import '../abstracts/variables';
1
+ // @use '../abstracts/variables';
2
2
 
3
3
  // Layout - General
4
4
  // -----------------------------------------------------
@@ -1,3 +1,7 @@
1
+ @use '../abstracts/variables';
2
+ @use '../abstracts/mixins';
3
+ @use '../abstracts/functions';
4
+
1
5
  // -----------------------------------------------------------------------------
2
6
  // Typography style - This file contains all @font-face declarations, if any.
3
7
  // -----------------------------------------------------------------------------
@@ -5,91 +9,91 @@
5
9
  @import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200;300;400;500;600;700;800&family=Crimson+Pro:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=David+Libre:wght@400;500;700&family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&family=Work+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
6
10
 
7
11
  // Calculation
8
- @media screen and (max-width: $screen-max-size-2xs) {
12
+ @media screen and (max-width: variables.$screen-max-size-2xs) {
9
13
  // Smaller then XXS
10
14
  .body-2xs {
11
- @include font-body($fs-2xs, $lh-2xs);
15
+ @include mixins.font-body(variables.$fs-2xs, variables.$lh-2xs);
12
16
  }
13
17
  .body-xs {
14
- @include font-body($fs-xs, $lh-xs);
18
+ @include mixins.font-body(variables.$fs-xs, variables.$lh-xs);
15
19
  }
16
20
  .body-sm {
17
- @include font-body($fs-sm, $lh-sm);
21
+ @include mixins.font-body(variables.$fs-sm, variables.$lh-sm);
18
22
  }
19
23
  .body-md {
20
- @include font-body($fs-md, $lh-md);
24
+ @include mixins.font-body(variables.$fs-md, variables.$lh-md);
21
25
  }
22
26
  .body-lg {
23
- @include font-body($fs-lg, $lh-lg);
27
+ @include mixins.font-body(variables.$fs-lg, variables.$lh-lg);
24
28
  }
25
29
  .body-xl {
26
- @include font-body($fs-xl, $lh-xl);
30
+ @include mixins.font-body(variables.$fs-xl, variables.$lh-xl);
27
31
  }
28
32
  .body-2xl {
29
- @include font-body($fs-2xl, $lh-2xl);
33
+ @include mixins.font-body(variables.$fs-2xl, variables.$lh-2xl);
30
34
  }
31
35
 
32
36
  .title-xs {
33
- @include font-title($fs-xs, $lh-xs);
37
+ @include mixins.font-title(variables.$fs-xs, variables.$lh-xs);
34
38
  }
35
39
  .title-sm {
36
- @include font-title($fs-sm, $lh-sm);
40
+ @include mixins.font-title(variables.$fs-sm, variables.$lh-sm);
37
41
  }
38
42
  .title-md {
39
- @include font-title($fs-md, $lh-md);
43
+ @include mixins.font-title(variables.$fs-md, variables.$lh-md);
40
44
  }
41
45
  .title-lg {
42
- @include font-title($fs-lg, $lh-lg);
46
+ @include mixins.font-title(variables.$fs-lg, variables.$lh-lg);
43
47
  }
44
48
  .title-xl {
45
- @include font-title($fs-xl, $lh-xl);
49
+ @include mixins.font-title(variables.$fs-xl, variables.$lh-xl);
46
50
  }
47
51
  .title-2xl {
48
- @include font-title($fs-2xl, $lh-2xl);
52
+ @include mixins.font-title(variables.$fs-2xl, variables.$lh-2xl);
49
53
  }
50
54
  }
51
55
 
52
- @media screen and (min-width: $screen-max-size-2xs) {
56
+ @media screen and (min-width: variables.$screen-max-size-2xs) {
53
57
  // Bigger then XXS
54
58
  .body-2xs {
55
- @include font-body($fs-2xs, $lh-2xs);
59
+ @include mixins.font-body(variables.$fs-2xs, variables.$lh-2xs);
56
60
  }
57
61
  .body-xs {
58
- @include font-body($fs-xs, $lh-xs);
62
+ @include mixins.font-body(variables.$fs-xs, variables.$lh-xs);
59
63
  }
60
64
  .body-sm {
61
- @include font-body($fs-sm, $lh-sm);
65
+ @include mixins.font-body(variables.$fs-sm, variables.$lh-sm);
62
66
  }
63
67
  .body-md {
64
- @include font-body($fs-md, $lh-md);
68
+ @include mixins.font-body(variables.$fs-md, variables.$lh-md);
65
69
  }
66
70
  .body-lg {
67
- @include font-body($fs-lg, $lh-lg);
71
+ @include mixins.font-body(variables.$fs-lg, variables.$lh-lg);
68
72
  }
69
73
  .body-xl {
70
- @include font-body($fs-xl, $lh-xl);
74
+ @include mixins.font-body(variables.$fs-xl, variables.$lh-xl);
71
75
  }
72
76
  .body-2xl {
73
- @include font-body($fs-2xl, $lh-2xl);
77
+ @include mixins.font-body(variables.$fs-2xl, variables.$lh-2xl);
74
78
  }
75
79
 
76
80
  .title-xs {
77
- @include font-title($fs-xs, $lh-xs);
81
+ @include mixins.font-title(variables.$fs-xs, variables.$lh-xs);
78
82
  }
79
83
  .title-sm {
80
- @include font-title($fs-sm, $lh-sm);
84
+ @include mixins.font-title(variables.$fs-sm, variables.$lh-sm);
81
85
  }
82
86
  .title-md {
83
- @include font-title($fs-md, $lh-md);
87
+ @include mixins.font-title(variables.$fs-md, variables.$lh-md);
84
88
  }
85
89
  .title-lg {
86
- @include font-title($fs-lg, $lh-lg);
90
+ @include mixins.font-title(variables.$fs-lg, variables.$lh-lg);
87
91
  }
88
92
  .title-xl {
89
- @include font-title($fs-xl, $lh-xl);
93
+ @include mixins.font-title(variables.$fs-xl, variables.$lh-xl);
90
94
  }
91
95
  .title-2xl {
92
- @include font-title($fs-2xl, $lh-2xl);
96
+ @include mixins.font-title(variables.$fs-2xl, variables.$lh-2xl);
93
97
  }
94
98
  }
95
99
 
@@ -104,15 +108,15 @@ html,
104
108
  body {
105
109
  $font-size: 16px;
106
110
 
107
- font-family: $font-family-body;
108
- font-weight: $font-weight-normal;
111
+ font-family: variables.$font-family-body;
112
+ font-weight: variables.$font-weight-normal;
109
113
  font-size: $font-size;
110
114
 
111
115
  // Override default user agent stylesheet
112
116
  button {
113
- font: $font-weight-normal $font-size $font-family-body;
117
+ font: variables.$font-weight-normal $font-size variables.$font-family-body;
114
118
  }
115
- // line-height: $lh-md;
119
+ // line-height: variables.$lh-md;
116
120
 
117
121
  /*.lang-he {
118
122
  font-family: 'Open Sans Hebrew' !important;
@@ -122,17 +126,17 @@ body {
122
126
  // Font weight
123
127
  // ------------------------
124
128
  .normal {
125
- font-weight: $font-weight-normal !important;
129
+ font-weight: variables.$font-weight-normal !important;
126
130
  }
127
131
  .bold {
128
- font-weight: $font-weight-bold !important;
132
+ font-weight: variables.$font-weight-bold !important;
129
133
  }
130
134
  .bolder {
131
- font-weight: $font-weight-bolder !important;
135
+ font-weight: variables.$font-weight-bolder !important;
132
136
  }
133
137
 
134
138
  .ellipsis {
135
- @include ellipsis();
139
+ @include mixins.ellipsis();
136
140
  }
137
141
 
138
142
  h6,
@@ -141,7 +145,7 @@ h4,
141
145
  h3,
142
146
  h2,
143
147
  h1 {
144
- font-family: $font-family-title;
148
+ font-family: variables.$font-family-title;
145
149
  }
146
150
 
147
151
  /**
@@ -154,9 +158,9 @@ a {
154
158
  display: block;
155
159
  text-anchor: end;
156
160
  text-decoration: underline;
157
- // @include box-sizing(border-box);
161
+ // @include mixins.box-sizing(border-box);
158
162
  box-sizing: border-box;
159
- @include ellipsis();
163
+ @include mixins.ellipsis();
160
164
  }
161
165
 
162
166
  &.disable,
@@ -164,92 +168,92 @@ a {
164
168
  pointer-events: none;
165
169
  }
166
170
 
167
- @include on-event {
171
+ @include mixins.on-event {
168
172
  text-decoration: underline;
169
173
  }
170
174
  }
171
175
 
172
- @mixin declare-system-typography-theme($pepperi-theme) {
176
+ @mixin declare-system-typography-theme() {
173
177
  body {
174
- color: get-pep-color($pepperi-theme, color-text, color-main);
178
+ color: functions.get-pep-color(color-text, color-main);
175
179
  }
176
180
 
177
181
  .color-user-primary {
178
- color: get-pep-color($pepperi-theme, color-user-primary, color-base);
182
+ color: functions.get-pep-color(color-user-primary, color-base);
179
183
  }
180
184
  .background-color-user-primary {
181
- background-color: get-pep-color($pepperi-theme, color-user-primary, color-base);
185
+ background-color: functions.get-pep-color(color-user-primary, color-base);
182
186
  }
183
187
 
184
188
  .color-user-secondary {
185
- color: get-pep-color($pepperi-theme, color-user-secondary, color-base);
189
+ color: functions.get-pep-color(color-user-secondary, color-base);
186
190
  }
187
191
  .background-color-user-secondary {
188
- background-color: get-pep-color($pepperi-theme, color-user-secondary, color-base);
192
+ background-color: functions.get-pep-color(color-user-secondary, color-base);
189
193
  }
190
194
 
191
195
  .color-system-primary,
192
196
  .color-main {
193
- color: get-pep-color($pepperi-theme, color-text, color-main);
197
+ color: functions.get-pep-color(color-text, color-main);
194
198
  }
195
199
  .background-color-main {
196
- background-color: get-pep-color($pepperi-theme, color-text, color-main);
200
+ background-color: functions.get-pep-color(color-text, color-main);
197
201
  }
198
202
 
199
203
  .color-invert {
200
- color: get-pep-color($pepperi-theme, color-text, color-invert);
204
+ color: functions.get-pep-color(color-text, color-invert);
201
205
  }
202
206
  .background-color-invert {
203
- background-color: get-pep-color($pepperi-theme, color-text, color-invert);
207
+ background-color: functions.get-pep-color(color-text, color-invert);
204
208
  }
205
209
 
206
210
  .color-link {
207
- color: get-pep-color($pepperi-theme, color-text, color-link);
211
+ color: functions.get-pep-color(color-text, color-link);
208
212
  }
209
213
  .background-color-link {
210
- background-color: get-pep-color($pepperi-theme, color-text, color-link);
214
+ background-color: functions.get-pep-color(color-text, color-link);
211
215
  }
212
216
 
213
217
  .red,
214
218
  .color-caution {
215
- color: get-pep-color($pepperi-theme, color-text, color-caution);
219
+ color: functions.get-pep-color(color-text, color-caution);
216
220
  }
217
221
  .background-color-caution {
218
- background-color: get-pep-color($pepperi-theme, color-text, color-caution);
222
+ background-color: functions.get-pep-color(color-text, color-caution);
219
223
  }
220
224
 
221
225
  .color-success {
222
- color: get-pep-color($pepperi-theme, color-text, color-success);
226
+ color: functions.get-pep-color(color-text, color-success);
223
227
  }
224
228
  .background-color-success {
225
- background-color: get-pep-color($pepperi-theme, color-text, color-success);
229
+ background-color: functions.get-pep-color(color-text, color-success);
226
230
  }
227
231
 
228
232
  .color-dimmed {
229
- color: get-pep-color($pepperi-theme, color-text, color-dimmed);
233
+ color: functions.get-pep-color(color-text, color-dimmed);
230
234
  }
231
235
  .background-color-dimmed {
232
- background-color: get-pep-color($pepperi-theme, color-text, color-dimmed);
236
+ background-color: functions.get-pep-color(color-text, color-dimmed);
233
237
  }
234
238
 
235
239
  a {
236
240
  // &.color-link {
237
- // color: get-pep-color($pepperi-theme, color-text, color-link);
241
+ // color: functions.get-pep-color(color-text, color-link);
238
242
  // }
239
243
 
240
244
  &.disable,
241
245
  &:disabled {
242
- @include state-weak-disable($pepperi-theme);
246
+ @include mixins.state-weak-disable();
243
247
  background: transparent !important;
244
248
  }
245
249
  }
246
250
 
247
251
  ::selection {
248
- background: get-pep-color($pepperi-theme, color-text, color-link-focus);
252
+ background: functions.get-pep-color(color-text, color-link-focus);
249
253
  }
250
254
 
251
255
  .mat-drawer-container {
252
256
  background-color: transparent !important;
253
- color: get-pep-color($pepperi-theme, color-text, color-main);
257
+ color: functions.get-pep-color(color-text, color-main);
254
258
  }
255
259
  }
@@ -1,3 +1,6 @@
1
+ @use '../abstracts/variables';
2
+ @use '../abstracts/mixins';
3
+
1
4
  // -----------------------------------------------------
2
5
  // Button
3
6
  // -----------------------------------------------------
@@ -78,35 +81,35 @@
78
81
  width: $button-icon-height;
79
82
  // height: $button-icon-height !important;
80
83
  // width: $button-icon-height !important;
81
- @include align-center();
84
+ @include mixins.align-center();
82
85
  }
83
86
  }
84
87
  }
85
88
 
86
- @mixin pep-button-state-none($pepperi-theme) {
87
- @include pep-button-states($pepperi-theme, none);
89
+ @mixin pep-button-state-none() {
90
+ @include mixins.pep-button-states(none);
88
91
  }
89
92
 
90
- @mixin pep-button-state-weak-invert($pepperi-theme) {
91
- @include pep-button-states($pepperi-theme, weak-invert);
93
+ @mixin pep-button-state-weak-invert() {
94
+ @include mixins.pep-button-states(weak-invert);
92
95
  }
93
96
 
94
- @mixin pep-button-state-weak($pepperi-theme, $color: null) {
95
- @include pep-button-states($pepperi-theme, weak, $color);
97
+ @mixin pep-button-state-weak($color: null) {
98
+ @include mixins.pep-button-states(weak, $color);
96
99
  }
97
100
 
98
- @mixin pep-button-state-regular($pepperi-theme, $color: null) {
99
- @include pep-button-states($pepperi-theme, regular, $color);
101
+ @mixin pep-button-state-regular($color: null) {
102
+ @include mixins.pep-button-states(regular, $color);
100
103
  }
101
104
 
102
- @mixin pep-button-state-strong($pepperi-theme, $color: null) {
103
- @include pep-button-states($pepperi-theme, strong, $color);
105
+ @mixin pep-button-state-strong($color: null) {
106
+ @include mixins.pep-button-states(strong, $color);
104
107
  }
105
108
 
106
109
  .pepperi-button, .pep-button {
107
- @include fix-inline-z-index();
110
+ @include mixins.fix-inline-z-index();
108
111
  transition: all 0.25s;
109
- border-radius: $border-radius-md;
112
+ border-radius: variables.$border-radius-md;
110
113
  border: none;
111
114
  text-align: center;
112
115
  text-decoration: none;
@@ -116,25 +119,20 @@
116
119
  padding-top: 0;
117
120
 
118
121
  .button-title {
119
- @include ellipsis();
120
- // @include calc(max-width, '100%'); // For none icon
122
+ @include mixins.ellipsis();
121
123
  max-width: calc(100%); // For none icon
122
124
  }
123
125
 
124
126
  .button-title-with-icon {
125
- margin-inline-end: $spacing-sm;
126
- @include ellipsis();
127
- // @include calc(max-width, '100% - 1rem'); // For icon if exist
128
- // max-width: calc(100% - 1rem); // For icon if exist
127
+ margin-inline-end: variables.$spacing-sm;
128
+ @include mixins.ellipsis();
129
129
 
130
130
  &.icon-before {
131
131
  margin-inline-end: unset;
132
- margin-inline-start: $spacing-sm;
132
+ margin-inline-start: variables.$spacing-sm;
133
133
  }
134
134
  }
135
- // Default size
136
- // @include pep-button-size('md');
137
-
135
+
138
136
  &.chip {
139
137
  border-radius: 2rem !important;
140
138
  }
@@ -143,7 +141,7 @@
143
141
  max-width: 11.25rem;
144
142
  }
145
143
 
146
- @media (max-width: $screen-max-size-sm) {
144
+ @media (max-width: variables.$screen-max-size-sm) {
147
145
  &.pepperi-button-limited-width, &.pep-button-limited-width {
148
146
  max-width: 8.25rem;
149
147
  }
@@ -153,11 +151,11 @@
153
151
  @include pep-button-size('xl');
154
152
 
155
153
  .button-title-with-icon {
156
- margin-inline-end: $spacing-md;
154
+ margin-inline-end: variables.$spacing-md;
157
155
 
158
156
  &.icon-before {
159
157
  margin-inline-end: unset;
160
- margin-inline-start: $spacing-md;
158
+ margin-inline-start: variables.$spacing-md;
161
159
  }
162
160
  }
163
161
  }
@@ -174,11 +172,11 @@
174
172
  @include pep-button-size('xs');
175
173
 
176
174
  .button-title-with-icon {
177
- margin-inline-end: $spacing-xs;
175
+ margin-inline-end: variables.$spacing-xs;
178
176
 
179
177
  &.icon-before {
180
178
  margin-inline-end: unset;
181
- margin-inline-start: $spacing-xs;
179
+ margin-inline-start: variables.$spacing-xs;
182
180
  }
183
181
  }
184
182
  }
@@ -203,14 +201,14 @@
203
201
  // Override material style
204
202
  // -----------------------------------------------------
205
203
  &.mat-button {
206
- border-radius: $border-radius-md; // override material.
204
+ border-radius: variables.$border-radius-md; // override material.
207
205
 
208
206
  span {
209
207
  &.mat-button-wrapper {
210
208
  // display: block !important;
211
209
  display: grid!important;
212
210
  grid-auto-flow: column;
213
- @include ellipsis();
211
+ @include mixins.ellipsis();
214
212
  max-width: inherit;
215
213
  }
216
214
  }
@@ -220,10 +218,10 @@
220
218
  height: 100%;
221
219
  width: 100%;
222
220
 
223
- @include align-center();
221
+ @include mixins.align-center();
224
222
 
225
223
  .mat-icon {
226
- @include align-center();
224
+ @include mixins.align-center();
227
225
  vertical-align: unset; // Init material middle style
228
226
  line-height: inherit;
229
227
  height: inherit;
@@ -231,112 +229,111 @@
231
229
  }
232
230
 
233
231
  .mat-badge-content {
234
- @include mat-badge-content();
232
+ @include mixins.mat-badge-content();
235
233
  }
236
234
 
237
235
  &.right-alignment {
238
236
  .mat-badge-content {
239
- left: calc(#{$spacing-xs} * -1) !important;
237
+ left: calc(#{variables.$spacing-xs} * -1) !important;
240
238
  }
241
239
  }
242
240
 
243
241
  &.left-alignment {
244
242
  .mat-badge-content {
245
- right: calc(#{$spacing-xs} * -1) !important;
243
+ right: calc(#{variables.$spacing-xs} * -1) !important;
246
244
  }
247
245
  }
248
246
 
249
247
  &.mat-badge-small {
250
248
  .mat-badge-content {
251
249
  font-size: 70%;
252
- // @include calc(max-width, '100% + .5rem');
253
250
  max-width: calc(100% + .5rem);
254
251
  }
255
252
  }
256
253
  }
257
254
  }
258
255
 
259
- @mixin pep-button-theme($pepperi-theme) {
256
+ @mixin pep-button-theme() {
260
257
  .pepperi-button, .pep-button {
261
258
  outline: unset;
262
259
 
263
260
  &.weak {
264
- @include pep-button-state-weak($pepperi-theme);
261
+ @include pep-button-state-weak();
265
262
 
266
263
  &.system-primary {
267
- @include pep-button-state-weak($pepperi-theme, color-system-primary);
264
+ @include pep-button-state-weak(color-system-primary);
268
265
  }
269
266
  &.user-primary {
270
- @include pep-button-state-weak($pepperi-theme, color-user-primary);
267
+ @include pep-button-state-weak(color-user-primary);
271
268
  }
272
269
  &.user-secondary {
273
- @include pep-button-state-weak($pepperi-theme, color-user-secondary);
270
+ @include pep-button-state-weak(color-user-secondary);
274
271
  }
275
272
  &.caution {
276
- @include pep-button-state-weak($pepperi-theme, color-system-caution);
273
+ @include pep-button-state-weak(color-system-caution);
277
274
  }
278
275
  &.success {
279
- @include pep-button-state-weak($pepperi-theme, color-system-success);
276
+ @include pep-button-state-weak(color-system-success);
280
277
  }
281
278
  &.invert {
282
- @include pep-button-state-weak-invert($pepperi-theme);
279
+ @include pep-button-state-weak-invert();
283
280
  }
284
281
  }
285
282
 
286
283
  &.weak-invert {
287
- @include pep-button-state-weak-invert($pepperi-theme);
284
+ @include pep-button-state-weak-invert();
288
285
  }
289
286
 
290
287
  &.regular {
291
- @include pep-button-state-regular($pepperi-theme);
288
+ @include pep-button-state-regular();
292
289
 
293
290
  &.system-primary {
294
- @include pep-button-state-regular($pepperi-theme, color-system-primary);
291
+ @include pep-button-state-regular(color-system-primary);
295
292
  }
296
293
  &.user-primary {
297
- @include pep-button-state-regular($pepperi-theme, color-user-primary);
294
+ @include pep-button-state-regular(color-user-primary);
298
295
  }
299
296
  &.user-secondary {
300
- @include pep-button-state-regular($pepperi-theme, color-user-secondary);
297
+ @include pep-button-state-regular(color-user-secondary);
301
298
  }
302
299
  &.caution {
303
- @include pep-button-state-regular($pepperi-theme, color-system-caution);
300
+ @include pep-button-state-regular(color-system-caution);
304
301
  }
305
302
  &.success {
306
- @include pep-button-state-regular($pepperi-theme, color-system-success);
303
+ @include pep-button-state-regular(color-system-success);
307
304
  }
308
305
  }
309
306
 
310
307
  &.strong {
311
- @include pep-button-state-strong($pepperi-theme);
308
+ @include pep-button-state-strong();
312
309
 
313
310
  &.system-primary {
314
- @include pep-button-state-strong($pepperi-theme, color-system-primary);
311
+ @include pep-button-state-strong(color-system-primary);
315
312
  }
316
313
  &.user-primary {
317
- @include pep-button-state-strong($pepperi-theme, color-user-primary);
314
+ @include pep-button-state-strong(color-user-primary);
318
315
  }
319
316
  &.user-secondary {
320
- @include pep-button-state-strong($pepperi-theme, color-user-secondary);
317
+ @include pep-button-state-strong(color-user-secondary);
321
318
  }
322
319
  &.caution {
323
- @include pep-button-state-strong($pepperi-theme, color-system-caution);
320
+ @include pep-button-state-strong(color-system-caution);
324
321
  }
325
322
  &.success {
326
- @include pep-button-state-strong($pepperi-theme, color-system-success);
323
+ @include pep-button-state-strong(color-system-success);
327
324
  }
328
325
  }
329
326
 
330
327
  &.none {
331
- @include pep-button-state-none($pepperi-theme);
328
+ @include pep-button-state-none();
332
329
  }
333
330
 
334
331
  &.focused {
335
- @include focus($pepperi-theme, true);
332
+ @include mixins.focus(true);
336
333
  }
337
334
 
338
335
  &.mat-button {
339
- @include pep-badge($pepperi-theme);
336
+ @include mixins.pep-badge();
340
337
 
341
338
  &:hover {
342
339
  .mat-button-focus-overlay {