@pepperi-addons/ngx-lib 0.4.2-beta.9 → 0.4.2-beta.91

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 (196) hide show
  1. package/attachment/attachment.component.d.ts +11 -2
  2. package/button/button.component.d.ts +8 -8
  3. package/core/common/services/color.service.d.ts +1 -0
  4. package/core/common/services/file.service.d.ts +7 -2
  5. package/dialog/dialog.service.d.ts +1 -0
  6. package/draggable-items/draggable-items.component.d.ts +3 -3
  7. package/draggable-items/draggable-items.module.d.ts +1 -1
  8. package/esm2020/address/address.component.mjs +1 -1
  9. package/esm2020/attachment/attachment.component.mjs +38 -18
  10. package/esm2020/button/button.component.mjs +7 -7
  11. package/esm2020/chips/chips.component.mjs +2 -2
  12. package/esm2020/color/color-picker.component.mjs +1 -1
  13. package/esm2020/core/common/services/color.service.mjs +27 -1
  14. package/esm2020/core/common/services/file.service.mjs +57 -20
  15. package/esm2020/core/common/services/session.service.mjs +2 -1
  16. package/esm2020/core/customization/customization.model.mjs +7 -6
  17. package/esm2020/core/customization/customization.service.mjs +13 -4
  18. package/esm2020/core/http/services/http.service.mjs +1 -1
  19. package/esm2020/dialog/dialog.component.mjs +3 -3
  20. package/esm2020/dialog/dialog.service.mjs +22 -1
  21. package/esm2020/draggable-items/draggable-items.component.mjs +7 -7
  22. package/esm2020/draggable-items/draggable-items.module.mjs +6 -6
  23. package/esm2020/files-uploader/files-uploader.component.mjs +50 -45
  24. package/esm2020/form/field-generator.component.mjs +3 -3
  25. package/esm2020/form/form.component.mjs +4 -3
  26. package/esm2020/form/internal-field-generator.component.mjs +1 -1
  27. package/esm2020/form/internal-form.component.mjs +1 -1
  28. package/esm2020/form/internal-list.component.mjs +2 -2
  29. package/esm2020/image/image.component.mjs +32 -16
  30. package/esm2020/image/image.service.mjs +2 -4
  31. package/esm2020/images-filmstrip/images-filmstrip.component.mjs +2 -2
  32. package/esm2020/link/link.component.mjs +33 -58
  33. package/esm2020/list/list.component.mjs +109 -18
  34. package/esm2020/list/list.model.mjs +1 -1
  35. package/esm2020/menu/menu.component.mjs +3 -3
  36. package/esm2020/profile-data-views-list/profile-data-views-list.component.mjs +1 -1
  37. package/esm2020/quantity-selector/quantity-selector.component.mjs +20 -25
  38. package/esm2020/query-builder/common/model/operator.mjs +2 -2
  39. package/esm2020/query-builder/query-builder-item/query-builder-item.component.mjs +1 -1
  40. package/esm2020/select/select.component.mjs +66 -40
  41. package/esm2020/select-panel/select-panel.component.mjs +2 -2
  42. package/esm2020/signature/public-api.mjs +2 -1
  43. package/esm2020/signature/signature-dialog.component.mjs +78 -0
  44. package/esm2020/signature/signature.component.mjs +117 -89
  45. package/esm2020/signature/signature.module.mjs +6 -5
  46. package/esm2020/skeleton-loader/pepperi-addons-ngx-lib-skeleton-loader.mjs +5 -0
  47. package/esm2020/skeleton-loader/public-api.mjs +6 -0
  48. package/esm2020/skeleton-loader/skeleton-loader.component.mjs +44 -0
  49. package/esm2020/skeleton-loader/skeleton-loader.module.mjs +24 -0
  50. package/esm2020/smart-filters/boolean-filter/boolean-filter.component.mjs +3 -3
  51. package/esm2020/smart-filters/date-filter/date-filter.component.mjs +1 -1
  52. package/esm2020/smart-filters/multi-select-filter/multi-select-filter.component.mjs +1 -1
  53. package/esm2020/smart-filters/number-filter/number-filter.component.mjs +3 -3
  54. package/esm2020/smart-filters/text-filter/text-filter.component.mjs +1 -1
  55. package/esm2020/textbox/textbox.component.mjs +9 -3
  56. package/esm2020/top-bar/top-bar.component.mjs +2 -2
  57. package/fesm2015/pepperi-addons-ngx-lib-address.mjs +1 -1
  58. package/fesm2015/pepperi-addons-ngx-lib-address.mjs.map +1 -1
  59. package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs +37 -17
  60. package/fesm2015/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
  61. package/fesm2015/pepperi-addons-ngx-lib-button.mjs +6 -6
  62. package/fesm2015/pepperi-addons-ngx-lib-button.mjs.map +1 -1
  63. package/fesm2015/pepperi-addons-ngx-lib-chips.mjs +2 -2
  64. package/fesm2015/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
  65. package/fesm2015/pepperi-addons-ngx-lib-color.mjs.map +1 -1
  66. package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs +23 -2
  67. package/fesm2015/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
  68. package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs +11 -11
  69. package/fesm2015/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
  70. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs +49 -44
  71. package/fesm2015/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -1
  72. package/fesm2015/pepperi-addons-ngx-lib-form.mjs +8 -7
  73. package/fesm2015/pepperi-addons-ngx-lib-form.mjs.map +1 -1
  74. package/fesm2015/pepperi-addons-ngx-lib-image.mjs +32 -18
  75. package/fesm2015/pepperi-addons-ngx-lib-image.mjs.map +1 -1
  76. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs +1 -1
  77. package/fesm2015/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -1
  78. package/fesm2015/pepperi-addons-ngx-lib-link.mjs +32 -57
  79. package/fesm2015/pepperi-addons-ngx-lib-link.mjs.map +1 -1
  80. package/fesm2015/pepperi-addons-ngx-lib-list.mjs +108 -18
  81. package/fesm2015/pepperi-addons-ngx-lib-list.mjs.map +1 -1
  82. package/fesm2015/pepperi-addons-ngx-lib-menu.mjs +2 -2
  83. package/fesm2015/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
  84. package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs +1 -1
  85. package/fesm2015/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
  86. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs +19 -24
  87. package/fesm2015/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
  88. package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs +2 -2
  89. package/fesm2015/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
  90. package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs +2 -2
  91. package/fesm2015/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
  92. package/fesm2015/pepperi-addons-ngx-lib-select.mjs +64 -38
  93. package/fesm2015/pepperi-addons-ngx-lib-select.mjs.map +1 -1
  94. package/fesm2015/pepperi-addons-ngx-lib-signature.mjs +205 -102
  95. package/fesm2015/pepperi-addons-ngx-lib-signature.mjs.map +1 -1
  96. package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs +78 -0
  97. package/fesm2015/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -0
  98. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs +7 -7
  99. package/fesm2015/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
  100. package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs +8 -2
  101. package/fesm2015/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
  102. package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs +2 -2
  103. package/fesm2015/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
  104. package/fesm2015/pepperi-addons-ngx-lib.mjs +101 -27
  105. package/fesm2015/pepperi-addons-ngx-lib.mjs.map +1 -1
  106. package/fesm2020/pepperi-addons-ngx-lib-address.mjs +1 -1
  107. package/fesm2020/pepperi-addons-ngx-lib-address.mjs.map +1 -1
  108. package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs +37 -17
  109. package/fesm2020/pepperi-addons-ngx-lib-attachment.mjs.map +1 -1
  110. package/fesm2020/pepperi-addons-ngx-lib-button.mjs +6 -6
  111. package/fesm2020/pepperi-addons-ngx-lib-button.mjs.map +1 -1
  112. package/fesm2020/pepperi-addons-ngx-lib-chips.mjs +2 -2
  113. package/fesm2020/pepperi-addons-ngx-lib-chips.mjs.map +1 -1
  114. package/fesm2020/pepperi-addons-ngx-lib-color.mjs.map +1 -1
  115. package/fesm2020/pepperi-addons-ngx-lib-dialog.mjs +23 -2
  116. package/fesm2020/pepperi-addons-ngx-lib-dialog.mjs.map +1 -1
  117. package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs +11 -11
  118. package/fesm2020/pepperi-addons-ngx-lib-draggable-items.mjs.map +1 -1
  119. package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs +49 -44
  120. package/fesm2020/pepperi-addons-ngx-lib-files-uploader.mjs.map +1 -1
  121. package/fesm2020/pepperi-addons-ngx-lib-form.mjs +8 -7
  122. package/fesm2020/pepperi-addons-ngx-lib-form.mjs.map +1 -1
  123. package/fesm2020/pepperi-addons-ngx-lib-image.mjs +32 -18
  124. package/fesm2020/pepperi-addons-ngx-lib-image.mjs.map +1 -1
  125. package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs +1 -1
  126. package/fesm2020/pepperi-addons-ngx-lib-images-filmstrip.mjs.map +1 -1
  127. package/fesm2020/pepperi-addons-ngx-lib-link.mjs +32 -57
  128. package/fesm2020/pepperi-addons-ngx-lib-link.mjs.map +1 -1
  129. package/fesm2020/pepperi-addons-ngx-lib-list.mjs +108 -17
  130. package/fesm2020/pepperi-addons-ngx-lib-list.mjs.map +1 -1
  131. package/fesm2020/pepperi-addons-ngx-lib-menu.mjs +2 -2
  132. package/fesm2020/pepperi-addons-ngx-lib-menu.mjs.map +1 -1
  133. package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs +1 -1
  134. package/fesm2020/pepperi-addons-ngx-lib-profile-data-views-list.mjs.map +1 -1
  135. package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs +19 -24
  136. package/fesm2020/pepperi-addons-ngx-lib-quantity-selector.mjs.map +1 -1
  137. package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs +2 -2
  138. package/fesm2020/pepperi-addons-ngx-lib-query-builder.mjs.map +1 -1
  139. package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs +2 -2
  140. package/fesm2020/pepperi-addons-ngx-lib-select-panel.mjs.map +1 -1
  141. package/fesm2020/pepperi-addons-ngx-lib-select.mjs +64 -38
  142. package/fesm2020/pepperi-addons-ngx-lib-select.mjs.map +1 -1
  143. package/fesm2020/pepperi-addons-ngx-lib-signature.mjs +201 -102
  144. package/fesm2020/pepperi-addons-ngx-lib-signature.mjs.map +1 -1
  145. package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs +76 -0
  146. package/fesm2020/pepperi-addons-ngx-lib-skeleton-loader.mjs.map +1 -0
  147. package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs +7 -7
  148. package/fesm2020/pepperi-addons-ngx-lib-smart-filters.mjs.map +1 -1
  149. package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs +8 -2
  150. package/fesm2020/pepperi-addons-ngx-lib-textbox.mjs.map +1 -1
  151. package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs +2 -2
  152. package/fesm2020/pepperi-addons-ngx-lib-top-bar.mjs.map +1 -1
  153. package/fesm2020/pepperi-addons-ngx-lib.mjs +101 -27
  154. package/fesm2020/pepperi-addons-ngx-lib.mjs.map +1 -1
  155. package/files-uploader/files-uploader.component.d.ts +7 -4
  156. package/image/image.component.d.ts +11 -3
  157. package/link/link.component.d.ts +23 -27
  158. package/list/list.component.d.ts +10 -2
  159. package/list/list.model.d.ts +3 -1
  160. package/menu/menu.component.d.ts +1 -1
  161. package/package.json +10 -2
  162. package/quantity-selector/quantity-selector.component.d.ts +0 -2
  163. package/select/select.component.d.ts +10 -2
  164. package/signature/public-api.d.ts +1 -0
  165. package/signature/signature-dialog.component.d.ts +29 -0
  166. package/signature/signature.component.d.ts +7 -16
  167. package/signature/signature.module.d.ts +16 -15
  168. package/skeleton-loader/index.d.ts +5 -0
  169. package/skeleton-loader/public-api.d.ts +2 -0
  170. package/skeleton-loader/skeleton-loader.component.d.ts +20 -0
  171. package/skeleton-loader/skeleton-loader.component.theme.scss +15 -0
  172. package/skeleton-loader/skeleton-loader.module.d.ts +9 -0
  173. package/src/core/style/abstracts/AbstractsIntro.stories.mdx +7 -0
  174. package/src/core/style/abstracts/functions.scss +11 -11
  175. package/src/core/style/abstracts/mixins.scss +9 -6
  176. package/src/core/style/abstracts/variables.scss +38 -18
  177. package/src/core/style/base/BorderRadius.stories.mdx +59 -0
  178. package/src/core/style/base/Breakpoints.stories.mdx +36 -0
  179. package/src/core/style/base/Colors.stories.mdx +128 -0
  180. package/src/core/style/base/Shadows.stories.mdx +69 -0
  181. package/src/core/style/base/Spacing.stories.mdx +75 -0
  182. package/src/core/style/base/States.stories.mdx +62 -0
  183. package/src/core/style/base/Typography.stories.mdx +89 -0
  184. package/src/core/style/base/ZIndex.stories.mdx +47 -0
  185. package/src/core/style/base/base.scss +8 -10
  186. package/src/core/style/base/borderRadius.component.ts +27 -0
  187. package/src/core/style/base/breakpoints.component.ts +14 -0
  188. package/src/core/style/base/colors.component.ts +174 -0
  189. package/src/core/style/base/shadows.component.ts +90 -0
  190. package/src/core/style/base/spacing.component.ts +71 -0
  191. package/src/core/style/base/states.component.ts +84 -0
  192. package/src/core/style/base/typography.component.ts +94 -0
  193. package/src/core/style/base/typography.scss +52 -50
  194. package/src/core/style/base/zIndex.component.ts +25 -0
  195. package/src/core/style/components/file.scss +4 -4
  196. package/src/core/style/components/general.scss +5 -1
@@ -0,0 +1,84 @@
1
+ import { Component, Input } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'storybook-states',
5
+ template: `<div *ngIf="storyIndex === 1" class="set-grid">
6
+ <div class="color-text-grid">
7
+ <span>
8
+ <span class="side-grid-col">
9
+ <h2 class="body-lg color-dimmed">Weak</h2>
10
+ <pre class="body-xs">class="pep-button weak"</pre>
11
+ <button class="size-it pep-button weak"></button>
12
+ <hr />
13
+ <h3 class="body-sm color-dimmed">Caution</h3>
14
+ <pre class="body-xs">class="pep-button weak caution"</pre>
15
+ <button class="size-it pep-button weak caution"></button>
16
+ <h3 class="body-sm color-dimmed">Success</h3>
17
+ <pre class="body-xs">class="pep-button weak success"</pre>
18
+ <button class="size-it pep-button weak success"></button>
19
+ <h3 class="body-sm color-dimmed">System</h3>
20
+ <pre class="body-xs">class="pep-button weak system-primary"</pre>
21
+ <button class="size-it pep-button weak system-primary"></button>
22
+ <h3 class="body-sm color-dimmed">Primary</h3>
23
+ <pre class="body-xs">class="pep-button weak user-primary"</pre>
24
+ <button class="size-it pep-button weak user-primary"></button>
25
+ <h3 class="body-sm color-dimmed">Secondary</h3>
26
+ <pre class="body-xs">class="pep-button weak user-secondary"</pre>
27
+ <button class="size-it pep-button weak user-secondary"></button>
28
+ </span>
29
+ </span>
30
+ <span>
31
+ <span class="side-grid-col">
32
+ <h2 class="body-lg color-dimmed">Regular</h2>
33
+ <pre class="body-xs">class="pep-button regular"</pre>
34
+ <button class="size-it pep-button regular"></button>
35
+ <hr />
36
+ <h3 class="body-sm color-dimmed">...</h3>
37
+ <pre class="body-xs">class="pep-button regular caution"</pre>
38
+ <button class="size-it pep-button regular caution"></button>
39
+ <h3 class="body-sm color-dimmed">...</h3>
40
+ <pre class="body-xs">class="pep-button regular success"</pre>
41
+ <button class="size-it pep-button regular success"></button>
42
+ <h3 class="body-sm color-dimmed">...</h3>
43
+ <pre class="body-xs">class="pep-button regular system-primary"</pre>
44
+ <button class="size-it pep-button regular system-primary"></button>
45
+ <h3 class="body-sm color-dimmed">...</h3>
46
+ <pre class="body-xs">class="pep-button regular user-primary"</pre>
47
+ <button class="size-it pep-button regular user-primary"></button>
48
+ <h3 class="body-sm color-dimmed">...</h3>
49
+ <pre class="body-xs">class="pep-button regular user-secondary"</pre>
50
+ <button class="size-it pep-button regular user-secondary"></button>
51
+ </span>
52
+ </span>
53
+ <span>
54
+ <span class="side-grid-col">
55
+ <h2 class="body-lg color-dimmed">Strong</h2>
56
+ <pre class="body-xs">class="pep-button strong"</pre>
57
+ <button class="size-it pep-button strong"></button>
58
+ <hr />
59
+ <h3 class="body-sm color-dimmed">...</h3>
60
+ <pre class="body-xs">class="pep-button strong caution"</pre>
61
+ <button class="size-it pep-button strong caution"></button>
62
+ <h3 class="body-sm color-dimmed">...</h3>
63
+ <pre class="body-xs">class="pep-button strong success"</pre>
64
+ <button class="size-it pep-button strong success"></button>
65
+ <h3 class="body-sm color-dimmed">...</h3>
66
+ <pre class="body-xs">class="pep-button strong system-primary"</pre>
67
+ <button class="size-it pep-button strong system-primary"></button>
68
+ <h3 class="body-sm color-dimmed">...</h3>
69
+ <pre class="body-xs">class="pep-button strong user-primary"</pre>
70
+ <button class="size-it pep-button strong user-primary"></button>
71
+ <h3 class="body-sm color-dimmed">...</h3>
72
+ <pre class="body-xs">class="pep-button strong user-secondary"</pre>
73
+ <button class="size-it pep-button strong user-secondary"></button>
74
+ </span>
75
+ </span>
76
+ </div>
77
+ </div> `,
78
+ })
79
+ export default class StatesComponent {
80
+ /**
81
+ */
82
+ @Input()
83
+ storyIndex?: number = 1;
84
+ }
@@ -0,0 +1,94 @@
1
+ import { Component, Input } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'storybook-typography',
5
+ template: `<div *ngIf="storyIndex === 1" class="set-grid">
6
+ <pre>.title-2xs</pre>
7
+ <span class="title-2xs">This is a 2XS title </span>
8
+ <pre>.title-xs</pre>
9
+ <span class="title-xs">This is a XS title </span>
10
+ <pre>.title-sm</pre>
11
+ <span class="title-sm">This is a SM title </span>
12
+ <pre>.title-md</pre>
13
+ <span class="title-md">This is a MD title </span>
14
+ <pre>.title-lg</pre>
15
+ <span class="title-lg">This is a LG title </span>
16
+ <pre>.title-xl</pre>
17
+ <span class="title-xl">This is a XL title </span>
18
+ <pre>.title-2xl</pre>
19
+ <span class="title-2xl">This is a 2XL title </span>
20
+ <pre>.title-3xl</pre>
21
+ <span class="title-3xl">This is a 3XL title </span>
22
+ <pre>.title-4xl</pre>
23
+ <span class="title-4xl">This is a 4XL title </span>
24
+ <pre>.title-5xl</pre>
25
+ <span class="title-5xl">This is a 5XL title </span>
26
+ <pre>.title-6xl</pre>
27
+ <span class="title-6xl">This is a 6XL title </span>
28
+ <pre>.title-7xl</pre>
29
+ <span class="title-7xl">This is a 7XL title </span>
30
+ <pre>.title-8xl</pre>
31
+ <span class="title-8xl">This is a 8XL title </span>
32
+ </div>
33
+ <div *ngIf="storyIndex === 2" class="set-grid">
34
+ <pre>&#60;h6&#62;</pre>
35
+ <h6>This is an h6 tag</h6>
36
+ <pre>&#60;h5&#62;</pre>
37
+ <h5>This is an h5 tag</h5>
38
+ <pre>&#60;h4&#62;</pre>
39
+ <h4>This is an h4 tag</h4>
40
+ <pre>&#60;h3&#62;</pre>
41
+ <h3>This is an h3 tag</h3>
42
+ <pre>&#60;h2&#62;</pre>
43
+ <h2>This is an h2 tag</h2>
44
+ <pre>&#60;h1&#62;</pre>
45
+ <h1>This is an h1 tag</h1>
46
+ </div>
47
+ <div *ngIf="storyIndex === 3" class="set-grid">
48
+ <pre>.body-2xs</pre>
49
+ <span class="body-2xs">This is a 2XS body class</span>
50
+ <pre>.body-xs</pre>
51
+ <span class="body-xs">This is a XS body class</span>
52
+ <pre>.body-sm</pre>
53
+ <span class="body-sm">This is a SM body class</span>
54
+ <pre>.body-md</pre>
55
+ <span class="body-md">This is a MD body class</span>
56
+ <pre>.body-lg</pre>
57
+ <span class="body-lg">This is a LG body class</span>
58
+ <pre>.body-xl</pre>
59
+ <span class="body-xl">This is a XL body class</span>
60
+ <pre>.body-2xl</pre>
61
+ <span class="body-2xl">This is a 2XL body class</span>
62
+ <hr/>
63
+ <p>This is a classless <strong>&#60;p&#62;</strong> tag</p>
64
+ </div>
65
+ <div *ngIf="storyIndex === 4" class="set-grid">
66
+ <pre>.color-user-primary</pre>
67
+ <p class="color-user-primary">This one is using the <strong>primary</strong> color class</p>
68
+ <pre>.color-user-secondary</pre>
69
+ <p class="color-user-secondary">This one is using the <strong>secondary</strong> color class</p>
70
+ <pre>.color-main</pre>
71
+ <p class="color-main">This one is using the <strong>main</strong> color class</p>
72
+ <pre>.color-invert</pre>
73
+ <p class="color-invert">This one is using the <strong>invert</strong> color class</p>
74
+ <pre>.color-link</pre>
75
+ <p class="color-link">This one is using the <strong>link</strong> color class</p>
76
+ <pre>.color-caution</pre>
77
+ <p class="color-caution">This one is using the <strong>caution</strong> color class</p>
78
+ <pre>.color-success</pre>
79
+ <p class="color-success">This one is using the <strong>success</strong> color class</p>
80
+ <pre>.color-dimmed class</pre>
81
+ <p class="color-dimmed">This one is using the <strong>dimmed</strong> color class</p>
82
+ </div>
83
+ <div *ngIf="storyIndex === 5" class="set-grid">
84
+ <p class="color-user-primary body-md">Unify B2B eCommerce, SFA & Trade Promotions</p>
85
+ <h4 class="color-dimmed body-xl">Unify B2B eCommerce, SFA & Trade Promotions</h4>
86
+ <span class="color-caution title-md">Unify B2B eCommerce, SFA & Trade Promotions</span>
87
+ </div>`,
88
+ })
89
+ export default class TypographyComponent {
90
+ /**
91
+ */
92
+ @Input()
93
+ storyIndex?: number = 1;
94
+ }
@@ -1,6 +1,6 @@
1
- @use '../abstracts/variables';
2
- @use '../abstracts/mixins';
3
- @use '../abstracts/functions';
1
+ @use "../abstracts/variables";
2
+ @use "../abstracts/mixins";
3
+ @use "../abstracts/functions";
4
4
 
5
5
  // -----------------------------------------------------------------------------
6
6
  // Typography style - This file contains all @font-face declarations, if any.
@@ -8,9 +8,8 @@
8
8
 
9
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');
10
10
 
11
- // Calculation
12
- @media screen and (max-width: variables.$screen-max-size-2xs) {
13
- // Smaller then XXS
11
+ @media screen and (min-width: variables.$screen-max-size-2xs) {
12
+ // Bigger then XXS
14
13
  .body-2xs {
15
14
  @include mixins.font-body(variables.$fs-2xs, variables.$lh-2xs);
16
15
  }
@@ -51,56 +50,30 @@
51
50
  .title-2xl {
52
51
  @include mixins.font-title(variables.$fs-2xl, variables.$lh-2xl);
53
52
  }
54
- }
55
-
56
- @media screen and (min-width: variables.$screen-max-size-2xs) {
57
- // Bigger then XXS
58
- .body-2xs {
59
- @include mixins.font-body(variables.$fs-2xs, variables.$lh-2xs);
53
+ .title-3xl {
54
+ @include mixins.font-title(variables.$fs-3xl, variables.$lh-3xl);
60
55
  }
61
- .body-xs {
62
- @include mixins.font-body(variables.$fs-xs, variables.$lh-xs);
56
+ .title-4xl {
57
+ @include mixins.font-title(variables.$fs-4xl, variables.$lh-4xl);
63
58
  }
64
- .body-sm {
65
- @include mixins.font-body(variables.$fs-sm, variables.$lh-sm);
59
+ .title-5xl {
60
+ @include mixins.font-title(variables.$fs-5xl, variables.$lh-5xl);
66
61
  }
67
- .body-md {
68
- @include mixins.font-body(variables.$fs-md, variables.$lh-md);
69
- }
70
- .body-lg {
71
- @include mixins.font-body(variables.$fs-lg, variables.$lh-lg);
72
- }
73
- .body-xl {
74
- @include mixins.font-body(variables.$fs-xl, variables.$lh-xl);
62
+ .title-6xl {
63
+ @include mixins.font-title(variables.$fs-6xl, variables.$lh-6xl);
75
64
  }
76
- .body-2xl {
77
- @include mixins.font-body(variables.$fs-2xl, variables.$lh-2xl);
65
+ .title-7xl {
66
+ @include mixins.font-title(variables.$fs-7xl, variables.$lh-7xl);
78
67
  }
79
-
80
- .title-xs {
81
- @include mixins.font-title(variables.$fs-xs, variables.$lh-xs);
82
- }
83
- .title-sm {
84
- @include mixins.font-title(variables.$fs-sm, variables.$lh-sm);
85
- }
86
- .title-md {
87
- @include mixins.font-title(variables.$fs-md, variables.$lh-md);
88
- }
89
- .title-lg {
90
- @include mixins.font-title(variables.$fs-lg, variables.$lh-lg);
91
- }
92
- .title-xl {
93
- @include mixins.font-title(variables.$fs-xl, variables.$lh-xl);
94
- }
95
- .title-2xl {
96
- @include mixins.font-title(variables.$fs-2xl, variables.$lh-2xl);
68
+ .title-8xl {
69
+ @include mixins.font-title(variables.$fs-8xl, variables.$lh-8xl);
97
70
  }
98
71
  }
99
72
 
100
73
  @supports (font-variation-settings: normal) {
101
74
  html,
102
75
  body {
103
- font-family: 'Inter var', sans-serif;
76
+ font-family: "Inter var", sans-serif;
104
77
  }
105
78
  }
106
79
 
@@ -123,9 +96,14 @@ body {
123
96
  /*.lang-he {
124
97
  font-family: 'Open Sans Hebrew' !important;
125
98
  }*/
126
- // .mat-expansion-panel-content {
127
- // font:unset !important;
128
- // }
99
+
100
+ // Init Material fonts here
101
+ // ***********************************************
102
+ // .mat-expansion-panel-content,
103
+ .mat-expansion-panel-content {
104
+ font:unset !important;
105
+ }
106
+ // ***********************************************
129
107
  }
130
108
 
131
109
  // Font weight
@@ -160,6 +138,24 @@ h2,
160
138
  h1 {
161
139
  font-family: variables.$font-family-title !important;
162
140
  }
141
+ h6 {
142
+ @include mixins.font-title(variables.$fs-lg, variables.$lh-lg);
143
+ }
144
+ h5 {
145
+ @include mixins.font-title(variables.$fs-xl, variables.$lh-xl);
146
+ }
147
+ h4 {
148
+ @include mixins.font-title(variables.$fs-2xl, variables.$lh-2xl);
149
+ }
150
+ h3 {
151
+ @include mixins.font-title(variables.$fs-3xl, variables.$lh-3xl);
152
+ }
153
+ h2 {
154
+ @include mixins.font-title(variables.$fs-4xl, variables.$lh-4xl);
155
+ }
156
+ h1 {
157
+ @include mixins.font-title(variables.$fs-5xl, variables.$lh-5xl);
158
+ }
163
159
 
164
160
  /**
165
161
  * Basic styles for links
@@ -195,14 +191,20 @@ a {
195
191
  color: functions.get-pep-color(color-user-primary, color-base);
196
192
  }
197
193
  .background-color-user-primary {
198
- background-color: functions.get-pep-color(color-user-primary, color-base);
194
+ background-color: functions.get-pep-color(
195
+ color-user-primary,
196
+ color-base
197
+ );
199
198
  }
200
199
 
201
200
  .color-user-secondary {
202
201
  color: functions.get-pep-color(color-user-secondary, color-base);
203
202
  }
204
203
  .background-color-user-secondary {
205
- background-color: functions.get-pep-color(color-user-secondary, color-base);
204
+ background-color: functions.get-pep-color(
205
+ color-user-secondary,
206
+ color-base
207
+ );
206
208
  }
207
209
 
208
210
  .color-system-primary,
@@ -0,0 +1,25 @@
1
+ import { Component, Input } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'storybook-z-index',
5
+ template: `<div *ngIf="storyIndex === 1" class="set-grid">
6
+ <div class="z-grid">
7
+ <div class="z-grid__1">
8
+ <code>variables.$z-index-high</code>
9
+ </div>
10
+ <div class="z-grid__2">
11
+ <code>variables.$z-index-medium</code>
12
+ </div>
13
+ <div class="z-grid__3"><code>variables.$z-index-low</code></div>
14
+ <div class="z-grid__4">
15
+ <code>variables.$z-index-lowest</code>
16
+ </div>
17
+ </div>
18
+ </div> `,
19
+ })
20
+ export default class ZIndexComponent {
21
+ /**
22
+ */
23
+ @Input()
24
+ storyIndex?: number = 1;
25
+ }
@@ -50,10 +50,10 @@ $file-input-z-index: 1;
50
50
 
51
51
  img {
52
52
  object-fit: contain;
53
- max-height: 100%;
54
- max-height: stretch;
55
- max-width: 100%;
56
- max-width: stretch;
53
+ max-height: 100% !important;
54
+ // max-height: stretch;
55
+ max-width: 100% !important;
56
+ // max-width: stretch;
57
57
  position: absolute;
58
58
  top: 50%;
59
59
  left: 50%;
@@ -125,6 +125,11 @@
125
125
  width: 100%;
126
126
  display: flex;
127
127
 
128
+ // Bug fix (DI-23724)
129
+ .mat-select {
130
+ z-index: variables.$z-index-lowest;
131
+ }
132
+
128
133
  .mat-input-element {
129
134
  // vertical-align: unset;
130
135
  z-index: variables.$z-index-lowest;
@@ -155,7 +160,6 @@
155
160
  .mat-form-field-flex {
156
161
  border-radius: variables.$border-radius-md;
157
162
  }
158
-
159
163
  }
160
164
 
161
165
  @mixin pep-field-size($size: 'md') {