@gravitee/ui-particles-angular 7.55.0-angular15-120d56f → 7.55.0-apim-3663-export-component-96c3e8d

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 (199) 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 +72 -0
  62. package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.harness.mjs +44 -0
  63. package/esm2020/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.mjs +36 -0
  64. package/esm2020/lib/gio-loader/gio-loader.component.mjs +3 -3
  65. package/esm2020/lib/gio-loader/gio-loader.module.mjs +5 -5
  66. package/esm2020/lib/gio-mat-config/gio-mat-config.module.mjs +6 -13
  67. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.mjs +24 -24
  68. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.component.mjs +3 -3
  69. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.module.mjs +6 -6
  70. package/esm2020/lib/gio-monaco-editor/gio-monaco-editor.testing.component.mjs +3 -3
  71. package/esm2020/lib/gio-monaco-editor/services/gio-language-json.service.mjs +3 -3
  72. package/esm2020/lib/gio-monaco-editor/services/gio-monaco-editor.service.mjs +3 -3
  73. package/esm2020/lib/gio-pipe/gio.pipe.module.mjs +5 -5
  74. package/esm2020/lib/gio-pipe/safe.pipe.mjs +3 -3
  75. package/esm2020/lib/gio-prismjs/gio-prismjs.service.mjs +3 -3
  76. package/esm2020/lib/gio-radio-button/gio-radio-button-content.component.mjs +12 -12
  77. package/esm2020/lib/gio-radio-button/gio-radio-button.module.mjs +5 -5
  78. package/esm2020/lib/gio-save-bar/gio-save-bar.component.mjs +8 -8
  79. package/esm2020/lib/gio-save-bar/gio-save-bar.module.mjs +5 -5
  80. package/esm2020/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.mjs +3 -3
  81. package/esm2020/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.mjs +3 -3
  82. package/esm2020/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.mjs +5 -5
  83. package/esm2020/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.mjs +3 -3
  84. package/esm2020/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.mjs +3 -3
  85. package/esm2020/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.mjs +7 -6
  86. package/esm2020/lib/oem-theme/gio-menu/gio-menu.component.mjs +5 -5
  87. package/esm2020/lib/oem-theme/gio-menu/gio-menu.module.mjs +5 -5
  88. package/esm2020/lib/oem-theme/gio-menu/gio-menu.service.mjs +3 -3
  89. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.mjs +3 -3
  90. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.mjs +5 -5
  91. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.component.mjs +6 -6
  92. package/esm2020/lib/oem-theme/gio-submenu/gio-submenu.module.mjs +5 -5
  93. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.mjs +4 -4
  94. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.mjs +4 -4
  95. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.module.mjs +5 -5
  96. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.mjs +3 -3
  97. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.module.mjs +5 -5
  98. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.component.mjs +4 -4
  99. package/esm2020/lib/oem-theme/gio-top-bar/gio-top-bar.module.mjs +5 -5
  100. package/esm2020/lib/oem-theme/oem-theme.service.mjs +2 -2
  101. package/esm2020/lib/public-api.mjs +4 -1
  102. package/fesm2015/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  103. package/fesm2015/gravitee-ui-particles-angular.mjs +791 -650
  104. package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
  105. package/fesm2020/gravitee-ui-particles-angular-testing.mjs.map +1 -1
  106. package/fesm2020/gravitee-ui-particles-angular.mjs +796 -650
  107. package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
  108. package/lib/gio-asciidoctor/gio-asciidoctor.component.d.ts +1 -1
  109. package/lib/gio-asciidoctor/gio-asciidoctor.service.d.ts +1 -1
  110. package/lib/gio-avatar/gio-avatar.component.d.ts +1 -1
  111. package/lib/gio-banner/gio-banner.component.d.ts +8 -8
  112. package/lib/gio-breadcrumb/gio-breadcrumb-item.directive.d.ts +1 -1
  113. package/lib/gio-breadcrumb/gio-breadcrumb.component.d.ts +1 -1
  114. package/lib/gio-clipboard/gio-clipboard-copy-icon.component.d.ts +1 -1
  115. package/lib/gio-clipboard/gio-clipboard-copy-wrapper.component.d.ts +1 -1
  116. package/lib/gio-clipboard/gio-clipboard.base.component.d.ts +1 -1
  117. package/lib/gio-confirm-and-validate-dialog/gio-confirm-and-validate-dialog.component.d.ts +5 -3
  118. package/lib/gio-confirm-dialog/gio-confirm-dialog.component.d.ts +2 -2
  119. package/lib/gio-form-cron/gio-form-cron-hint.component.d.ts +1 -1
  120. package/lib/gio-form-cron/gio-form-cron-label.component.d.ts +1 -1
  121. package/lib/gio-form-cron/gio-form-cron.adapter.d.ts +1 -1
  122. package/lib/gio-form-cron/gio-form-cron.component.d.ts +3 -3
  123. package/lib/gio-form-cron/gio-form-cron.harness.d.ts +1 -1
  124. package/lib/gio-form-file-picker/gio-form-file-picker-add-button/gio-form-file-picker-add-button.component.d.ts +1 -1
  125. package/lib/gio-form-file-picker/gio-form-file-picker-empty/gio-form-file-picker-empty.component.d.ts +1 -1
  126. package/lib/gio-form-file-picker/gio-form-file-picker-label/gio-form-file-picker-label.component.d.ts +1 -1
  127. package/lib/gio-form-file-picker/gio-form-file-picker.component.d.ts +2 -2
  128. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive.d.ts +1 -1
  129. package/lib/gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive.d.ts +3 -3
  130. package/lib/gio-form-headers/gio-form-headers-label.component.d.ts +1 -1
  131. package/lib/gio-form-headers/gio-form-headers.component.d.ts +6 -6
  132. package/lib/gio-form-json-schema/gio-form-json-schema.component.d.ts +3 -3
  133. package/lib/gio-form-json-schema/model/GioJsonSchema.d.ts +3 -3
  134. package/lib/gio-form-json-schema/type-component/array-type.component.d.ts +1 -1
  135. package/lib/gio-form-json-schema/type-component/code-editor-type.component.d.ts +3 -3
  136. package/lib/gio-form-json-schema/type-component/headers-type.component.d.ts +2 -2
  137. package/lib/gio-form-json-schema/type-component/multischema-type.component.d.ts +1 -1
  138. package/lib/gio-form-json-schema/type-component/null-type.component.d.ts +1 -1
  139. package/lib/gio-form-json-schema/type-component/object-type.component.d.ts +1 -1
  140. package/lib/gio-form-json-schema/type-component/toggle-type.component.d.ts +2 -2
  141. package/lib/gio-form-json-schema/wrappers/gio-banner-wrapper.component.d.ts +1 -1
  142. package/lib/gio-form-json-schema/wrappers/gio-password-eye.component.d.ts +1 -1
  143. package/lib/gio-form-slide-toggle/gio-form-label.directive.d.ts +3 -3
  144. package/lib/gio-form-slide-toggle/gio-form-slide-toggle.component.d.ts +2 -2
  145. package/lib/gio-form-tags-input/gio-form-tags-input.component.d.ts +4 -4
  146. package/lib/gio-form-tags-input/gio-form-tags-input.harness.d.ts +3 -3
  147. package/lib/gio-license/gio-license-dialog/gio-license-dialog.component.d.ts +2 -2
  148. package/lib/gio-license/gio-license.directive.d.ts +1 -1
  149. package/lib/gio-license/gio-license.service.d.ts +1 -1
  150. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.component.d.ts +17 -0
  151. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.harness.d.ts +13 -0
  152. package/lib/gio-license-expiration-notification/gio-license-expiration-notification.module.d.ts +11 -0
  153. package/lib/gio-loader/gio-loader.component.d.ts +1 -1
  154. package/lib/gio-monaco-editor/gio-monaco-editor-form-field.directive.d.ts +1 -1
  155. package/lib/gio-monaco-editor/gio-monaco-editor.component.d.ts +2 -2
  156. package/lib/gio-monaco-editor/gio-monaco-editor.harness.d.ts +1 -1
  157. package/lib/gio-monaco-editor/gio-monaco-editor.testing.component.d.ts +1 -1
  158. package/lib/gio-monaco-editor/models/GioMonacoEditorConfig.d.ts +1 -1
  159. package/lib/gio-monaco-editor/models/MonacoEditorTheme.d.ts +1 -1
  160. package/lib/gio-pipe/safe.pipe.d.ts +1 -1
  161. package/lib/gio-radio-button/gio-radio-button-content.component.d.ts +3 -3
  162. package/lib/gio-save-bar/gio-save-bar.component.d.ts +3 -3
  163. package/lib/oem-theme/gio-menu/gio-menu-footer/gio-menu-footer.component.d.ts +1 -1
  164. package/lib/oem-theme/gio-menu/gio-menu-header/gio-menu-header.component.d.ts +1 -1
  165. package/lib/oem-theme/gio-menu/gio-menu-item/gio-menu-item.component.d.ts +1 -1
  166. package/lib/oem-theme/gio-menu/gio-menu-license-expiration-notification/gio-menu-license-expiration-notification.component.d.ts +1 -1
  167. package/lib/oem-theme/gio-menu/gio-menu-list/gio-menu-list.component.d.ts +1 -1
  168. package/lib/oem-theme/gio-menu/gio-menu-selector/gio-menu-selector.component.d.ts +2 -2
  169. package/lib/oem-theme/gio-menu/gio-menu.component.d.ts +1 -1
  170. package/lib/oem-theme/gio-submenu/gio-submenu-group/gio-submenu-group.component.d.ts +1 -1
  171. package/lib/oem-theme/gio-submenu/gio-submenu-item/gio-submenu-item.component.d.ts +1 -1
  172. package/lib/oem-theme/gio-submenu/gio-submenu.component.d.ts +3 -3
  173. package/lib/oem-theme/gio-top-bar/gio-top-bar-content/gio-top-bar-content.component.d.ts +2 -2
  174. package/lib/oem-theme/gio-top-bar/gio-top-bar-link/gio-top-bar-link.component.d.ts +1 -1
  175. package/lib/oem-theme/gio-top-bar/gio-top-bar-menu/gio-top-bar-menu.component.d.ts +1 -1
  176. package/lib/oem-theme/gio-top-bar/gio-top-bar.component.d.ts +2 -2
  177. package/lib/oem-theme/oem-theme.service.d.ts +1 -1
  178. package/lib/public-api.d.ts +3 -0
  179. package/package.json +14 -14
  180. package/src/lib/gio-button-toggle-group/gio-button-toggle-group.scss +1 -1
  181. package/src/lib/gio-radio-button/gio-radio-button.scss +2 -23
  182. package/src/lib/gio-table-light/gio-table-light.scss +2 -2
  183. package/src/scss/gio-mat-theme-variable.scss +11 -11
  184. package/src/scss/gio-mat-theme.scss +2 -33
  185. package/src/scss/index.scss +0 -1
  186. package/src/scss/mat-override/mat-button.scss +0 -13
  187. package/src/scss/mat-override/mat-card.scss +0 -6
  188. package/src/scss/mat-override/mat-form-field.scss +0 -11
  189. package/src/scss/mat-override/mat-list.scss +0 -13
  190. package/src/scss/mat-override/mat-option.scss +2 -10
  191. package/src/scss/mat-override/mat-table.scss +0 -8
  192. package/src/scss/mat-override/mat-tabs.scss +0 -1
  193. package/src/scss/theme/color/gio-palettes.stories.scss +15 -36
  194. package/testing/harnesses/div.harness.d.ts +1 -1
  195. package/testing/harnesses/span.harness.d.ts +1 -1
  196. package/testing/package.json +10 -0
  197. package/src/scss/gio-mat-legacy-theme-variable.scss +0 -100
  198. /package/{index.d.ts → gravitee-ui-particles-angular.d.ts} +0 -0
  199. /package/testing/{index.d.ts → gravitee-ui-particles-angular-testing.d.ts} +0 -0
@@ -15,46 +15,15 @@
15
15
  */
16
16
  @use '@angular/material' as mat;
17
17
 
18
- @use './gio-mat-legacy-theme-variable' as legacy-theme-variable;
19
18
  @use './gio-mat-theme-variable' as theme-variable;
20
19
 
21
20
  @use './mat-override' as override;
22
21
 
23
22
  // Config material theme with gio theme
24
- @mixin mat-theme($legacy: false) {
25
- // TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
26
- // The following line adds:
27
- // 1. Default typography styles for all components
28
- // 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
29
- // If you specify typography styles for the components you use elsewhere, you should delete this line.
30
- // If you don't need the default component typographies but still want the hierarchy styles,
31
- // you can delete this line and instead use:
32
- // `@include mat.legacy-typography-hierarchy(theme-variable.$mat-typography);`
33
-
34
- /*
35
- TODO(mdc-migration): Remove all-legacy-component-typographies once all legacy components are migrated
36
- */
37
- @include mat.all-legacy-component-typographies(legacy-theme-variable.$mat-legacy-typography);
38
- @include mat.all-component-typographies(theme-variable.$mat-typography);
39
-
40
- /*
41
- TODO(mdc-migration): Remove legacy-core once all legacy components are migrated
42
- */
43
- @include mat.legacy-core;
44
- @include mat.core;
45
-
46
- /*
47
- TODO(mdc-migration): Remove all-legacy-component-themes once all legacy components are migrated
48
- */
49
- @include mat.all-legacy-component-themes(legacy-theme-variable.$mat-legacy-theme);
23
+ @mixin mat-theme() {
24
+ @include mat.core(theme-variable.$mat-typography);
50
25
  @include mat.all-component-themes(theme-variable.$mat-theme);
51
26
 
52
- @if $legacy {
53
- @include mat.legacy-typography-hierarchy(legacy-theme-variable.$mat-legacy-typography);
54
- } @else {
55
- @include mat.typography-hierarchy(theme-variable.$mat-typography);
56
- }
57
-
58
27
  // Gio overrides
59
28
  @include override.mat-h5;
60
29
  @include override.mat-form-field;
@@ -22,7 +22,6 @@
22
22
  @forward './theme/typography/gio-typography' show subtitle-typography, code-typography, link-typography, caption-2;
23
23
 
24
24
  @forward './gio-mat-theme-variable' show $mat-theme, $mat-typography, $mat-theme-dark;
25
- @forward './gio-mat-legacy-theme-variable' show $mat-legacy-theme, $mat-legacy-typography, $mat-legacy-theme-dark;
26
25
 
27
26
  @forward './gio-fonts' show import-fonts;
28
27
 
@@ -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.25em 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
- );