@gravitee/ui-particles-angular 7.33.0 → 7.34.0-create-custom-radio-toggle-8b4863a

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 (21) hide show
  1. package/esm2020/lib/gio-form-json-schema/gio-form-json-schema.module.mjs +2 -2
  2. package/esm2020/lib/gio-form-json-schema/type-component/toggle-type.component.mjs +2 -2
  3. package/esm2020/lib/{gio-form-slide-toogle → gio-form-slide-toggle}/gio-form-label.directive.mjs +1 -1
  4. package/esm2020/lib/{gio-form-slide-toogle → gio-form-slide-toggle}/gio-form-slide-toggle.component.mjs +1 -1
  5. package/esm2020/lib/{gio-form-slide-toogle → gio-form-slide-toggle}/gio-form-slide-toggle.module.mjs +1 -1
  6. package/esm2020/lib/gio-license/gio-license-dialog/gio-license-dialog.component.mjs +5 -4
  7. package/esm2020/lib/gio-license/gio-license.service.mjs +1 -1
  8. package/esm2020/lib/public-api.mjs +4 -4
  9. package/fesm2015/gravitee-ui-particles-angular.mjs +2 -2
  10. package/fesm2015/gravitee-ui-particles-angular.mjs.map +1 -1
  11. package/fesm2020/gravitee-ui-particles-angular.mjs +2 -2
  12. package/fesm2020/gravitee-ui-particles-angular.mjs.map +1 -1
  13. package/lib/gio-form-json-schema/gio-form-json-schema.module.d.ts +1 -1
  14. package/lib/gio-license/gio-license.service.d.ts +2 -0
  15. package/lib/public-api.d.ts +3 -3
  16. package/package.json +1 -1
  17. package/src/lib/gio-radio-button/gio-radio-button.scss +82 -0
  18. package/src/lib/gio-scss-components.scss +2 -0
  19. /package/lib/{gio-form-slide-toogle → gio-form-slide-toggle}/gio-form-label.directive.d.ts +0 -0
  20. /package/lib/{gio-form-slide-toogle → gio-form-slide-toggle}/gio-form-slide-toggle.component.d.ts +0 -0
  21. /package/lib/{gio-form-slide-toogle → gio-form-slide-toggle}/gio-form-slide-toggle.module.d.ts +0 -0
@@ -16,7 +16,7 @@ import * as i14 from "@ngx-formly/core";
16
16
  import * as i15 from "@ngx-formly/material";
17
17
  import * as i16 from "@angular/material/input";
18
18
  import * as i17 from "../gio-icons/gio-icons.module";
19
- import * as i18 from "../gio-form-slide-toogle/gio-form-slide-toggle.module";
19
+ import * as i18 from "../gio-form-slide-toggle/gio-form-slide-toggle.module";
20
20
  import * as i19 from "../gio-form-headers/gio-form-headers.module";
21
21
  import * as i20 from "../gio-monaco-editor/gio-monaco-editor.module";
22
22
  import * as i21 from "@angular/material/slide-toggle";
@@ -28,6 +28,8 @@ export interface FeatureInfo {
28
28
  image?: string;
29
29
  description?: string;
30
30
  title?: string;
31
+ trialButtonLabel?: string;
32
+ hideDays?: boolean;
31
33
  }
32
34
  export declare class GioLicenseService {
33
35
  private readonly http;
@@ -29,9 +29,9 @@ export * from './gio-mat-config';
29
29
  export * from './gio-form-json-schema/gio-form-json-schema.component';
30
30
  export * from './gio-form-json-schema/gio-form-json-schema.module';
31
31
  export * from './gio-form-json-schema/model/GioJsonSchema';
32
- export * from './gio-form-slide-toogle/gio-form-slide-toggle.component';
33
- export * from './gio-form-slide-toogle/gio-form-slide-toggle.module';
34
- export * from './gio-form-slide-toogle/gio-form-label.directive';
32
+ export * from './gio-form-slide-toggle/gio-form-slide-toggle.component';
33
+ export * from './gio-form-slide-toggle/gio-form-slide-toggle.module';
34
+ export * from './gio-form-slide-toggle/gio-form-label.directive';
35
35
  export * from './gio-form-focus-first-invalid/gio-form-focus-first-invalid.directive';
36
36
  export * from './gio-form-focus-first-invalid/gio-form-focus-first-invalid-ignore.directive';
37
37
  export * from './gio-form-focus-first-invalid/gio-form-focus-first-invalid.module';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-particles-angular",
3
- "version": "7.33.0",
3
+ "version": "7.34.0-create-custom-radio-toggle-8b4863a",
4
4
  "description": "Gravitee.io - UI Particles Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,82 @@
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
+ @use '../../scss/gio-mat-palettes' as palettes;
19
+ @use '../../scss/gio-mat-theme-variable' as theme;
20
+
21
+ $typography: map.get(theme.$mat-theme, typography);
22
+
23
+ @mixin gio-radio-group {
24
+ display: flex;
25
+ flex-direction: row;
26
+ gap: 24px;
27
+ }
28
+
29
+ @mixin gio-radio-button {
30
+ padding: 24px 32px;
31
+ border: 2px solid mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
32
+ border-radius: 4px;
33
+
34
+ &__content {
35
+ padding-left: 24px;
36
+
37
+ &__icon {
38
+ margin-bottom: 24px;
39
+
40
+ &__selected {
41
+ color: mat.get-color-from-palette(palettes.$mat-accent-palette, 'default') !important;
42
+ }
43
+ .mat-icon {
44
+ height: 32px;
45
+ width: 32px;
46
+ }
47
+ }
48
+
49
+ &__title {
50
+ @include mat.typography-level($typography, subheading-2);
51
+ margin-bottom: 8px;
52
+ }
53
+
54
+ &__subtitle {
55
+ }
56
+ }
57
+
58
+ .gio-radio-button.mat-radio-checked {
59
+ border: 2px solid mat.get-color-from-palette(palettes.$mat-accent-palette, 'default') !important;
60
+ }
61
+ .mat-radio-checked .mat-icon {
62
+ color: mat.get-color-from-palette(palettes.$mat-accent-palette, 'default') !important;
63
+ }
64
+ }
65
+
66
+ @mixin theme() {
67
+ .gio-radio-group {
68
+ @include gio-radio-group;
69
+ }
70
+
71
+ .gio-radio-button {
72
+ @include gio-radio-button;
73
+ }
74
+
75
+ .gio-radio-button.mat-radio-checked {
76
+ border: 2px solid mat.get-color-from-palette(palettes.$mat-accent-palette, 'default') !important;
77
+ }
78
+
79
+ .gio-radio-button.mat-radio-checked .mat-icon {
80
+ color: mat.get-color-from-palette(palettes.$mat-accent-palette, 'default') !important;
81
+ }
82
+ }
@@ -20,6 +20,7 @@
20
20
  @use './gio-link/gio-link';
21
21
  @use './gio-caption-2/gio-caption-2';
22
22
  @use './gio-button-toggle-group/gio-button-toggle-group';
23
+ @use './gio-radio-button/gio-radio-button';
23
24
 
24
25
  // All Gravitee.io SCSS components to add globally in main.scss
25
26
  @mixin all-components() {
@@ -30,4 +31,5 @@
30
31
  @include gio-link.theme;
31
32
  @include gio-caption-2.theme;
32
33
  @include gio-button-toggle-group.theme;
34
+ @include gio-radio-button.theme;
33
35
  }