@gravitee/ui-particles-angular 7.57.0-angular15-c3976bc → 7.57.0-feat-apim-3748-08f52b8

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 (194) hide show
  1. package/README.md +1 -1
  2. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.component.mjs +4 -4
  3. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.module.mjs +5 -5
  4. package/esm2020/lib/gio-asciidoctor/gio-asciidoctor.service.mjs +3 -3
  5. package/esm2020/lib/gio-avatar/gio-avatar.component.mjs +7 -7
  6. package/esm2020/lib/gio-avatar/gio-avatar.module.mjs +5 -5
  7. package/esm2020/lib/gio-banner/gio-banner.component.mjs +29 -29
  8. package/esm2020/lib/gio-banner/gio-banner.module.mjs +5 -5
  9. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb-item.directive.mjs +3 -3
  10. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.component.mjs +5 -5
  11. package/esm2020/lib/gio-breadcrumb/gio-breadcrumb.module.mjs +5 -5
  12. package/esm2020/lib/gio-clipboard/gio-clipboard-copy-icon.component.mjs +8 -8
  13. package/esm2020/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.mjs +7 -7
  14. package/esm2020/lib/gio-clipboard/gio-clipboard.base.component.mjs +3 -3
  15. package/esm2020/lib/gio-clipboard/gio-clipboard.module.mjs +5 -5
  16. package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.mjs +14 -13
  17. package/esm2020/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.module.mjs +5 -5
  18. package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.component.mjs +5 -5
  19. package/esm2020/lib/gio-confirm-dialog/gio-confirm-dialog.module.mjs +5 -5
  20. package/esm2020/lib/gio-form-cron/gio-form-cron-hint.component.mjs +3 -3
  21. package/esm2020/lib/gio-form-cron/gio-form-cron-label.component.mjs +3 -3
  22. package/esm2020/lib/gio-form-cron/gio-form-cron.component.mjs +24 -24
  23. package/esm2020/lib/gio-form-cron/gio-form-cron.module.mjs +15 -13
  24. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.mjs +6 -6
  25. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.mjs +3 -3
  26. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.mjs +3 -3
  27. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.component.mjs +14 -14
  28. package/esm2020/lib/gio-form-file-picker/gio-form-file-picker.module.mjs +5 -5
  29. package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.mjs +3 -3
  30. package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.mjs +9 -9
  31. package/esm2020/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.module.mjs +4 -4
  32. package/esm2020/lib/gio-form-headers/gio-form-headers-label.component.mjs +3 -3
  33. package/esm2020/lib/gio-form-headers/gio-form-headers.component.mjs +26 -26
  34. package/esm2020/lib/gio-form-headers/gio-form-headers.harness.mjs +2 -2
  35. package/esm2020/lib/gio-form-headers/gio-form-headers.module.mjs +14 -12
  36. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.component.mjs +17 -17
  37. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +63 -61
  38. package/esm2020/lib/gio-form-json-schema/gio-formly-json-schema.service.mjs +3 -3
  39. package/esm2020/lib/gio-form-json-schema/type-component/array-type.component.mjs +9 -9
  40. package/esm2020/lib/gio-form-json-schema/type-component/code-editor-type.component.mjs +21 -10
  41. package/esm2020/lib/gio-form-json-schema/type-component/headers-type.component.mjs +10 -10
  42. package/esm2020/lib/gio-form-json-schema/type-component/multischema-type.component.mjs +7 -7
  43. package/esm2020/lib/gio-form-json-schema/type-component/null-type.component.mjs +3 -3
  44. package/esm2020/lib/gio-form-json-schema/type-component/object-type.component.mjs +7 -7
  45. package/esm2020/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +9 -9
  46. package/esm2020/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.mjs +4 -4
  47. package/esm2020/lib/gio-form-json-schema/wrappers/gio-password-eye.component.mjs +9 -10
  48. package/esm2020/lib/gio-form-slide-toggle/gio-form-label.directive.mjs +9 -9
  49. package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.mjs +5 -5
  50. package/esm2020/lib/gio-form-slide-toggle/gio-form-slide-toggle.module.mjs +6 -5
  51. package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.component.mjs +67 -67
  52. package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.harness.mjs +11 -14
  53. package/esm2020/lib/gio-form-tags-input/gio-form-tags-input.module.mjs +15 -13
  54. package/esm2020/lib/gio-icons/gio-icons.module.mjs +5 -5
  55. package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +7 -7
  56. package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.module.mjs +6 -5
  57. package/esm2020/lib/gio-license/gio-license.directive.mjs +3 -3
  58. package/esm2020/lib/gio-license/gio-license.module.mjs +5 -5
  59. package/esm2020/lib/gio-license/gio-license.service.mjs +3 -3
  60. package/esm2020/lib/gio-license/gio-license.testing.module.mjs +6 -6
  61. package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.mjs +14 -9
  62. package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +5 -5
  63. package/esm2020/lib/gio-loader/gio-loader.component.mjs +3 -3
  64. package/esm2020/lib/gio-loader/gio-loader.module.mjs +5 -5
  65. package/esm2020/lib/gio-mat-config/gio-mat-config.module.mjs +6 -13
  66. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +24 -24
  67. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +3 -3
  68. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +6 -6
  69. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +3 -3
  70. package/esm2020/lib/gio-monaco-editor/services/gio-language-json.service.mjs +3 -3
  71. package/esm2020/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +3 -3
  72. package/esm2020/lib/gio-pipe/gio.pipe.module.mjs +5 -5
  73. package/esm2020/lib/gio-pipe/safe.pipe.mjs +3 -3
  74. package/esm2020/lib/gio-prismjs/gio-prismjs.service.mjs +3 -3
  75. package/esm2020/lib/gio-radio-button/gio-radio-button-content.component.mjs +12 -12
  76. package/esm2020/lib/gio-radio-button/gio-radio-button.module.mjs +5 -5
  77. package/esm2020/lib/gio-save-bar/gio-save-bar.component.mjs +8 -8
  78. package/esm2020/lib/gio-save-bar/gio-save-bar.module.mjs +5 -5
  79. package/esm2020/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +3 -3
  80. package/esm2020/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +3 -3
  81. package/esm2020/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +5 -5
  82. package/esm2020/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +3 -3
  83. package/esm2020/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +3 -3
  84. package/esm2020/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +7 -6
  85. package/esm2020/lib/oem-theme/gio-menu/gio-menu.component.mjs +5 -5
  86. package/esm2020/lib/oem-theme/gio-menu/gio-menu.module.mjs +5 -5
  87. package/esm2020/lib/oem-theme/gio-menu/gio-menu.service.mjs +3 -3
  88. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +3 -3
  89. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +5 -5
  90. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +6 -6
  91. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +5 -5
  92. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +4 -4
  93. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +4 -4
  94. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +5 -5
  95. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +3 -3
  96. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +5 -5
  97. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +4 -4
  98. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +5 -5
  99. package/esm2020/lib/oem-theme/oem-theme.service.mjs +2 -2
  100. package/fesm2015/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  101. package/fesm2015/gravitee-ui-particles-angular.mjs +664 -653
  102. package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
  103. package/fesm2020/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  104. package/fesm2020/gravitee-ui-particles-angular.mjs +664 -653
  105. package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
  106. package/lib/gio-asciidoctor/gio-asciidoctor.component.d.ts +1 -1
  107. package/lib/gio-asciidoctor/gio-asciidoctor.service.d.ts +1 -1
  108. package/lib/gio-avatar/gio-avatar.component.d.ts +1 -1
  109. package/lib/gio-banner/gio-banner.component.d.ts +8 -8
  110. package/lib/gio-breadcrumb/gio-breadcrumb-item.directive.d.ts +1 -1
  111. package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +1 -1
  112. package/lib/gio-clipboard/gio-clipboard-copy-icon.component.d.ts +1 -1
  113. package/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.d.ts +1 -1
  114. package/lib/gio-clipboard/gio-clipboard.base.component.d.ts +1 -1
  115. package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.d.ts +5 -3
  116. package/lib/gio-confirm-dialog/gio-confirm-dialog.component.d.ts +2 -2
  117. package/lib/gio-form-cron/gio-form-cron-hint.component.d.ts +1 -1
  118. package/lib/gio-form-cron/gio-form-cron-label.component.d.ts +1 -1
  119. package/lib/gio-form-cron/gio-form-cron.adapter.d.ts +1 -1
  120. package/lib/gio-form-cron/gio-form-cron.component.d.ts +3 -3
  121. package/lib/gio-form-cron/gio-form-cron.harness.d.ts +1 -1
  122. package/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.d.ts +1 -1
  123. package/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.d.ts +1 -1
  124. package/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.d.ts +1 -1
  125. package/lib/gio-form-file-picker/gio-form-file-picker.component.d.ts +2 -2
  126. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.d.ts +1 -1
  127. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.d.ts +3 -3
  128. package/lib/gio-form-headers/gio-form-headers-label.component.d.ts +1 -1
  129. package/lib/gio-form-headers/gio-form-headers.component.d.ts +6 -6
  130. package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +3 -3
  131. package/lib/gio-form-json-schema/model/GioJsonSchema.d.ts +3 -3
  132. package/lib/gio-form-json-schema/type-component/array-type.component.d.ts +1 -1
  133. package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +3 -3
  134. package/lib/gio-form-json-schema/type-component/headers-type.component.d.ts +2 -2
  135. package/lib/gio-form-json-schema/type-component/multischema-type.component.d.ts +1 -1
  136. package/lib/gio-form-json-schema/type-component/null-type.component.d.ts +1 -1
  137. package/lib/gio-form-json-schema/type-component/object-type.component.d.ts +1 -1
  138. package/lib/gio-form-json-schema/type-component/toggle-type.component.d.ts +2 -2
  139. package/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.d.ts +1 -1
  140. package/lib/gio-form-json-schema/wrappers/gio-password-eye.component.d.ts +1 -1
  141. package/lib/gio-form-slide-toggle/gio-form-label.directive.d.ts +3 -3
  142. package/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.d.ts +2 -2
  143. package/lib/gio-form-tags-input/gio-form-tags-input.component.d.ts +4 -4
  144. package/lib/gio-form-tags-input/gio-form-tags-input.harness.d.ts +3 -3
  145. package/lib/gio-license/gio-license-dialog/gio-license-dialog.component.d.ts +2 -2
  146. package/lib/gio-license/gio-license.directive.d.ts +1 -1
  147. package/lib/gio-license/gio-license.service.d.ts +1 -1
  148. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.d.ts +1 -1
  149. package/lib/gio-loader/gio-loader.component.d.ts +1 -1
  150. package/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.d.ts +1 -1
  151. package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +2 -2
  152. package/lib/gio-monaco-editor/gio-monaco-editor.harness.d.ts +1 -1
  153. package/lib/gio-monaco-editor/gio-monaco-editor.testing.component.d.ts +1 -1
  154. package/lib/gio-monaco-editor/models/GioMonacoEditorConfig.d.ts +1 -1
  155. package/lib/gio-monaco-editor/models/MonacoEditorTheme.d.ts +1 -1
  156. package/lib/gio-pipe/safe.pipe.d.ts +1 -1
  157. package/lib/gio-radio-button/gio-radio-button-content.component.d.ts +3 -3
  158. package/lib/gio-save-bar/gio-save-bar.component.d.ts +3 -3
  159. package/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.d.ts +1 -1
  160. package/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.d.ts +1 -1
  161. package/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +1 -1
  162. package/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.d.ts +1 -1
  163. package/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.d.ts +1 -1
  164. package/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.d.ts +2 -2
  165. package/lib/oem-theme/gio-menu/gio-menu.component.d.ts +1 -1
  166. package/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.d.ts +1 -1
  167. package/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.d.ts +1 -1
  168. package/lib/oem-theme/gio-submenu/gio-submenu.component.d.ts +3 -3
  169. package/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.d.ts +2 -2
  170. package/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.d.ts +1 -1
  171. package/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.d.ts +1 -1
  172. package/lib/oem-theme/gio-top-bar/gio-top-bar.component.d.ts +2 -2
  173. package/lib/oem-theme/oem-theme.service.d.ts +1 -1
  174. package/package.json +14 -14
  175. package/src/lib/gio-button-toggle-group/gio-button-toggle-group.scss +1 -1
  176. package/src/lib/gio-radio-button/gio-radio-button.scss +2 -23
  177. package/src/lib/gio-table-light/gio-table-light.scss +2 -2
  178. package/src/scss/gio-mat-theme-variable.scss +11 -12
  179. package/src/scss/gio-mat-theme.scss +2 -35
  180. package/src/scss/index.scss +0 -1
  181. package/src/scss/mat-override/mat-button.scss +0 -13
  182. package/src/scss/mat-override/mat-card.scss +0 -6
  183. package/src/scss/mat-override/mat-form-field.scss +0 -11
  184. package/src/scss/mat-override/mat-list.scss +0 -13
  185. package/src/scss/mat-override/mat-option.scss +2 -10
  186. package/src/scss/mat-override/mat-table.scss +0 -8
  187. package/src/scss/mat-override/mat-tabs.scss +0 -1
  188. package/src/scss/theme/color/gio-palettes.stories.scss +15 -36
  189. package/testing/harnesses/div.harness.d.ts +1 -1
  190. package/testing/harnesses/span.harness.d.ts +1 -1
  191. package/testing/package.json +10 -0
  192. package/src/scss/gio-mat-legacy-theme-variable.scss +0 -100
  193. /package/{index.d.ts → gravitee-ui-particles-angular.d.ts} +0 -0
  194. /package/testing/{index.d.ts → gravitee-ui-particles-angular-testing.d.ts} +0 -0
@@ -14,7 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  @mixin mat-button() {
17
- // Legacy mat-button
18
17
  .mat-button.mat-button-base,
19
18
  .mat-stroked-button.mat-button-base,
20
19
  .mat-raised-button.mat-button-base,
@@ -83,16 +82,4 @@
83
82
  line-height: 18px;
84
83
  }
85
84
  }
86
-
87
- // MDC mat-button
88
- .mdc-button {
89
- &:has(.mdc-button__label:empty) {
90
- min-width: 36px;
91
-
92
- .mat-icon {
93
- margin-right: -6px;
94
- margin-left: -6px;
95
- }
96
- }
97
- }
98
85
  }
@@ -16,13 +16,7 @@
16
16
  @use '@angular/material' as mat;
17
17
 
18
18
  @mixin mat-card() {
19
- // Legacy mat-card
20
19
  .mat-card:not(.mat-card .mat-card, [class*='mat-elevation-z']) {
21
20
  @include mat.elevation(3);
22
21
  }
23
-
24
- // Mat card MDC
25
- .mat-mdc-card:not(.mat-mdc-card .mat-mdc-card, [class*='mat-mdc-elevation-z'], [class*='mat-elevation-z']) {
26
- @include mat.elevation(3);
27
- }
28
22
  }
@@ -20,7 +20,6 @@
20
20
  @use '../gio-mat-palettes' as palettes;
21
21
 
22
22
  @mixin mat-form-field() {
23
- // Legacy mat-form-field
24
23
  .mat-form-field:not([class*='mat-paginator']) {
25
24
  // Increase default padding to have space for two lines of hint & error bellow the input
26
25
  padding-bottom: 16px;
@@ -49,14 +48,4 @@
49
48
  .mat-form-field-appearance-outline .mat-form-field-infix {
50
49
  padding-top: 0.8em;
51
50
  }
52
-
53
- // MDC mat-form-field
54
-
55
- .mat-mdc-form-field {
56
- margin: 0.45em 0;
57
- }
58
-
59
- .mat-mdc-form-field.mat-form-field-disabled {
60
- cursor: not-allowed !important;
61
- }
62
51
  }
@@ -21,8 +21,6 @@
21
21
  $background: map.get(theme.$mat-theme, background);
22
22
 
23
23
  @mixin mat-list() {
24
- // Legacy mat-list
25
-
26
24
  /**
27
25
  * When a Mat List is inside a Mat Card then set a negative to balance default padding of the Mat Card
28
26
  */
@@ -38,15 +36,4 @@ $background: map.get(theme.$mat-theme, background);
38
36
  background-color: mat.get-color-from-palette($background, hover);
39
37
  }
40
38
  }
41
-
42
- // MDC mat-list
43
-
44
- /**
45
- * Change background color of each list item on hover
46
- */
47
- .mat-mdc-list-item {
48
- &:hover {
49
- background-color: mat.get-color-from-palette($background, hover);
50
- }
51
- }
52
39
  }
@@ -16,21 +16,13 @@
16
16
 
17
17
  @use '@angular/material' as mat;
18
18
 
19
- @use '../gio-mat-legacy-theme-variable' as theme-legacy;
20
19
  @use '../gio-mat-theme-variable' as theme;
21
20
 
22
21
  @mixin mat-option() {
23
- // Legacy mat-option
24
22
  .mat-option,
25
23
  .mat-typography .mat-option {
26
24
  height: 40px;
27
- font-size: mat.font-size(theme-legacy.$mat-legacy-typography, input);
28
- line-height: mat.line-height(theme-legacy.$mat-legacy-typography, input);
29
- }
30
-
31
- // MDC mat-option
32
- .mat-typography .mat-mdc-option {
33
- min-height: 40px;
34
- @include mat.typography-level(theme.$mat-typography, 'body-2');
25
+ font-size: mat.font-size(theme.$mat-typography, input);
26
+ line-height: mat.line-height(theme.$mat-typography, input);
35
27
  }
36
28
  }
@@ -21,7 +21,6 @@
21
21
  $background: map.get(theme.$mat-theme, background);
22
22
 
23
23
  @mixin mat-table() {
24
- // Legacy mat-table
25
24
  .mat-table {
26
25
  tbody tr:hover {
27
26
  background-color: mat.get-color-from-palette($background, hover);
@@ -50,11 +49,4 @@ $background: map.get(theme.$mat-theme, background);
50
49
  }
51
50
  }
52
51
  }
53
-
54
- // MDC mat-table
55
- .mat-mdc-table {
56
- tbody tr.mat-mdc-row:hover {
57
- background-color: mat.get-color-from-palette($background, hover);
58
- }
59
- }
60
52
  }
@@ -14,7 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
  @mixin mat-tabs() {
17
- // Legacy mat-tabs
18
17
  .mat-tab-group {
19
18
  .mat-tab-label {
20
19
  min-width: unset;
@@ -27,15 +27,12 @@ $palettes: (
27
27
  );
28
28
 
29
29
  /* stylelint-disable selector-pseudo-class-no-unknown */
30
- :root {
30
+ :export {
31
31
  @each $paletteName, $palette in $palettes {
32
32
  @each $colorName in $colorNames {
33
33
  @if map.has-key($palette, $colorName) {
34
- $color: mat.get-color-from-palette($palette, $colorName);
35
- $color-contrast: mat.get-color-from-palette($palette, #{$colorName}-contrast);
36
-
37
- --gp--#{$paletteName}__#{$colorName}: #{$color};
38
- --gp--#{$paletteName}__#{$colorName}-contrast: #{$color-contrast};
34
+ #{$paletteName}__#{$colorName}: mat.get-color-from-palette($palette, $colorName);
35
+ #{$paletteName}__#{$colorName}-contrast: mat.get-color-from-palette($palette, #{$colorName}-contrast);
39
36
  }
40
37
  }
41
38
  }
@@ -43,50 +40,32 @@ $palettes: (
43
40
  // Special palettes
44
41
 
45
42
  @each $colorName in (patch, post, put, get, delete, option, trace, head) {
46
- $color: mat.get-color-from-palette(gio.$mat-method-palette, $colorName);
47
- $color-contrast: mat.get-color-from-palette(gio.$mat-method-palette, #{$colorName}-contrast);
48
-
49
- --gp--method__#{$colorName}: #{$color};
50
- --gp--method__#{$colorName}-contrast: #{$color-contrast};
43
+ method__#{$colorName}: mat.get-color-from-palette(gio.$mat-method-palette, $colorName);
44
+ method__#{$colorName}-contrast: mat.get-color-from-palette(gio.$mat-method-palette, #{$colorName}-contrast);
51
45
  }
52
46
 
53
47
  @each $colorName in (white, black, disabled) {
54
- $color: mat.get-color-from-palette(gio.$mat-basic-palette, $colorName);
55
- $color-contrast: mat.get-color-from-palette(gio.$mat-basic-palette, #{$colorName}-contrast);
56
-
57
- --gp--basic__#{$colorName}: #{$color};
58
- --gp--basic__#{$colorName}-contrast: #{$color-contrast};
48
+ basic__#{$colorName}: mat.get-color-from-palette(gio.$mat-basic-palette, $colorName);
49
+ basic__#{$colorName}-contrast: mat.get-color-from-palette(gio.$mat-basic-palette, #{$colorName}-contrast);
59
50
  }
60
51
 
61
52
  @each $colorName in (lighter80, lighter70, lighter60, lighter50, lighter40, lighter30, lighter20, lighter10, default) {
62
- $color: mat.get-color-from-palette(gio.$mat-space-palette, $colorName);
63
- $color-contrast: mat.get-color-from-palette(gio.$mat-space-palette, #{$colorName}-contrast);
64
-
65
- --gp--space__#{$colorName}: #{$color};
66
- --gp--space__#{$colorName}-contrast: #{$color-contrast};
53
+ space__#{$colorName}: mat.get-color-from-palette(gio.$mat-space-palette, $colorName);
54
+ space__#{$colorName}-contrast: mat.get-color-from-palette(gio.$mat-space-palette, #{$colorName}-contrast);
67
55
  }
68
56
 
69
57
  @each $colorName in (darker80, darker70, darker60, darker50, darker40, darker30, darker20, darker10, default) {
70
- $color: mat.get-color-from-palette(gio.$mat-dove-palette, $colorName);
71
- $color-contrast: mat.get-color-from-palette(gio.$mat-dove-palette, #{$colorName}-contrast);
72
-
73
- --gp--dove__#{$colorName}: #{$color};
74
- --gp--dove__#{$colorName}-contrast: #{$color-contrast};
58
+ dove__#{$colorName}: mat.get-color-from-palette(gio.$mat-dove-palette, $colorName);
59
+ dove__#{$colorName}-contrast: mat.get-color-from-palette(gio.$mat-dove-palette, #{$colorName}-contrast);
75
60
  }
76
61
 
77
62
  @each $colorName in (lighter80, lighter60, lighter40, lighter20, default) {
78
- $color: mat.get-color-from-palette(gio.$mat-cyan-palette, $colorName);
79
- $color-contrast: mat.get-color-from-palette(gio.$mat-cyan-palette, #{$colorName}-contrast);
80
-
81
- --gp--cyan__#{$colorName}: #{$color};
82
- --gp--cyan__#{$colorName}-contrast: #{$color-contrast};
63
+ cyan__#{$colorName}: mat.get-color-from-palette(gio.$mat-cyan-palette, $colorName);
64
+ cyan__#{$colorName}-contrast: mat.get-color-from-palette(gio.$mat-cyan-palette, #{$colorName}-contrast);
83
65
  }
84
66
 
85
67
  @each $colorName in (lighter80, lighter60, lighter40, lighter20, default) {
86
- $color: mat.get-color-from-palette(gio.$mat-blue-palette, $colorName);
87
- $color-contrast: mat.get-color-from-palette(gio.$mat-blue-palette, #{$colorName}-contrast);
88
-
89
- --gp--blue__#{$colorName}: #{$color};
90
- --gp--blue__#{$colorName}-contrast: #{$color-contrast};
68
+ blue__#{$colorName}: mat.get-color-from-palette(gio.$mat-blue-palette, $colorName);
69
+ blue__#{$colorName}-contrast: mat.get-color-from-palette(gio.$mat-blue-palette, #{$colorName}-contrast);
91
70
  }
92
71
  }
@@ -1,5 +1,5 @@
1
1
  import { AsyncFactoryFn, BaseHarnessFilters, ComponentHarness, HarnessPredicate, HarnessQuery } from '@angular/cdk/testing';
2
- export type DivHarnessFilters = BaseHarnessFilters & {
2
+ export declare type DivHarnessFilters = BaseHarnessFilters & {
3
3
  /** Filters based on the text */
4
4
  text?: string | RegExp;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { AsyncFactoryFn, BaseHarnessFilters, ComponentHarness, HarnessPredicate, HarnessQuery } from '@angular/cdk/testing';
2
- export type SpanHarnessFilters = BaseHarnessFilters & {
2
+ export declare type SpanHarnessFilters = BaseHarnessFilters & {
3
3
  /** Filters based on the text */
4
4
  text?: string | RegExp;
5
5
  };
@@ -0,0 +1,10 @@
1
+ {
2
+ "module": "../fesm2015/gravitee-ui-particles-angular-testing.mjs",
3
+ "es2020": "../fesm2020/gravitee-ui-particles-angular-testing.mjs",
4
+ "esm2020": "../esm2020/testing/gravitee-ui-particles-angular-testing.mjs",
5
+ "fesm2020": "../fesm2020/gravitee-ui-particles-angular-testing.mjs",
6
+ "fesm2015": "../fesm2015/gravitee-ui-particles-angular-testing.mjs",
7
+ "typings": "gravitee-ui-particles-angular-testing.d.ts",
8
+ "sideEffects": false,
9
+ "name": "@gravitee/ui-particles-angular/testing"
10
+ }
@@ -1,100 +0,0 @@
1
- /*
2
- * Copyright (C) 2021 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- @use 'sass:map';
17
- @use '@angular/material' as mat;
18
-
19
- @use './gio-mat-palettes' as palettes;
20
-
21
- // Config mat Typography
22
- $mat-legacy-typography: mat.define-legacy-typography-config(
23
- $font-family: '"Golos UI", Roboto, "Helvetica Neue", sans-serif',
24
- $display-4: mat.define-typography-level(112px, 112px, 400, $letter-spacing: -0.05em),
25
- $display-3: mat.define-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
26
- $display-2: mat.define-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),
27
- $display-1: mat.define-typography-level(60px, 66px, 600, $letter-spacing: -0.5px),
28
- $headline: mat.define-typography-level(42px, 52px, 600),
29
- $title: mat.define-typography-level(26px, 36px, 600),
30
- $subheading-2: mat.define-typography-level(18px, 24px, 600, $letter-spacing: 0.4px),
31
- $subheading-1: mat.define-typography-level(16px, 24px, 600, $letter-spacing: 0.4px),
32
- $body-2: mat.define-typography-level(14px, 20px, 600, $letter-spacing: 0.4px),
33
- $body-1: mat.define-typography-level(14px, 20px, 400, $letter-spacing: 0.4px),
34
- $caption: mat.define-typography-level(12px, 16px, 400),
35
- $button: mat.define-typography-level(14px, 14px, 500),
36
- $input: mat.define-typography-level(inherit, 1.125, 400),
37
- );
38
-
39
- // Mat default light theme
40
- $mat-theme-default: mat.define-light-theme(
41
- (
42
- color: (
43
- primary: palettes.$mat-primary-palette,
44
- accent: palettes.$mat-accent-palette,
45
- warn: palettes.$mat-error-palette,
46
- ),
47
- typography: $mat-legacy-typography,
48
- )
49
- );
50
-
51
- // Mat default dark theme
52
- $mat-legacy-theme-dark: mat.define-dark-theme(
53
- (
54
- color: (
55
- primary: palettes.$mat-primary-palette,
56
- accent: palettes.$mat-accent-palette,
57
- warn: palettes.$mat-error-palette,
58
- ),
59
- typography: $mat-legacy-typography,
60
- )
61
- );
62
-
63
- // Custom mat background & foreground color
64
- $mat-background: map.get($mat-theme-default, background);
65
- $mat-foreground: map.get($mat-theme-default, foreground);
66
-
67
- // Override $light-theme-background-palette config from node_modules/@angular/material/core/theming/_palette.scss
68
- $gio-background: map.merge(
69
- $mat-background,
70
- (
71
- background: mat.get-color-from-palette(palettes.$mat-dove-palette, default),
72
- tooltip: mat.get-color-from-palette(palettes.$mat-space-palette, default),
73
- )
74
- );
75
-
76
- // Override $light-theme-foreground-palette config from node_modules/@angular/material/core/theming/_palette.scss
77
- $gio-foreground: map.merge(
78
- $mat-foreground,
79
- (
80
- text: mat.get-color-from-palette(palettes.$mat-space-palette, default),
81
- slider-min: mat.get-color-from-palette(palettes.$mat-space-palette, default),
82
- )
83
- );
84
- $gio-background-foreground: (
85
- background: $gio-background,
86
- foreground: $gio-foreground,
87
- );
88
-
89
- // For backward compatibility with Material Design merge $gio-background-foreground into $mat-theme-default and into $mat-theme-default.color.
90
- // Otherwise the colors of bg and fg seton partially applied
91
- $mat-legacy-color: map.merge(map.get($mat-theme-default, color), $gio-background-foreground);
92
- $mat-legacy-theme: map.merge(
93
- $mat-theme-default,
94
- map.merge(
95
- $gio-background-foreground,
96
- (
97
- color: $mat-legacy-color,
98
- )
99
- )
100
- );