@gravitee/ui-particles-angular 7.29.3 → 7.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/{scss/component → lib}/gio-badge/gio-badge.scss +2 -2
- package/src/lib/gio-button-toggle-group/gio-button-toggle-group.scss +54 -0
- package/src/{scss/component → lib}/gio-caption-2/gio-caption-2.scss +1 -1
- package/src/{scss/component → lib}/gio-code/gio-code.scss +1 -1
- package/src/{scss/component → lib}/gio-link/gio-link.scss +1 -1
- package/src/{scss/component → lib}/gio-method-badge/gio-method-badge.scss +2 -2
- package/src/{scss/gio-components.scss → lib/gio-scss-components.scss} +9 -7
- package/src/{scss/component → lib}/gio-table-light/gio-table-light.scss +2 -2
- package/src/lib/public-api.scss +19 -0
- package/src/scss/index.scss +3 -1
package/package.json
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
@use 'sass:map';
|
|
17
17
|
@use '@angular/material' as mat;
|
|
18
18
|
|
|
19
|
-
@use '../../gio-mat-palettes.scss' as palettes;
|
|
20
|
-
@use '../../gio-mat-theme-variable' as theme;
|
|
19
|
+
@use '../../scss/gio-mat-palettes.scss' as palettes;
|
|
20
|
+
@use '../../scss/gio-mat-theme-variable' as theme;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Gravitee.io version of bootstrap "badge" element
|
|
@@ -0,0 +1,54 @@
|
|
|
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-button-toggle-group {
|
|
24
|
+
width: fit-content;
|
|
25
|
+
height: 44px;
|
|
26
|
+
padding: 4px;
|
|
27
|
+
border: solid 1px mat.get-color-from-palette(palettes.$mat-dove-palette, 'darker20');
|
|
28
|
+
margin-bottom: 16px;
|
|
29
|
+
|
|
30
|
+
.mat-button-toggle {
|
|
31
|
+
@include mat.typography-level($typography, body-2);
|
|
32
|
+
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
align-items: center;
|
|
36
|
+
border-radius: 4px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.mat-button-toggle.mat-button-toggle-checked {
|
|
40
|
+
background-color: mat.get-color-from-palette(palettes.$mat-accent-palette, 'darker20');
|
|
41
|
+
color: mat.get-color-from-palette(palettes.$mat-accent-palette, default-contrast);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.mat-button-toggle.mat-button-toggle + .mat-button-toggle {
|
|
45
|
+
border: none;
|
|
46
|
+
margin-left: 8px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@mixin theme() {
|
|
51
|
+
.gio-button-toggle-group {
|
|
52
|
+
@include gio-button-toggle-group;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
@use '../../theme/typography/gio-typography' as typo;
|
|
16
|
+
@use '../../scss/theme/typography/gio-typography' as typo;
|
|
17
17
|
|
|
18
18
|
@mixin theme() {
|
|
19
19
|
.gio-caption-2,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
@use '../../theme/typography/gio-typography' as typo;
|
|
16
|
+
@use '../../scss/theme/typography/gio-typography' as typo;
|
|
17
17
|
|
|
18
18
|
@mixin theme() {
|
|
19
19
|
code,
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
@use '../../theme/typography/gio-typography' as typo;
|
|
16
|
+
@use '../../scss/theme/typography/gio-typography' as typo;
|
|
17
17
|
|
|
18
18
|
@mixin theme() {
|
|
19
19
|
a {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
@use 'sass:map';
|
|
17
17
|
@use '@angular/material' as mat;
|
|
18
18
|
|
|
19
|
-
@use '../../gio-mat-palettes.scss' as palettes;
|
|
20
|
-
@use '../../gio-mat-theme-variable' as theme;
|
|
19
|
+
@use '../../scss/gio-mat-palettes.scss' as palettes;
|
|
20
|
+
@use '../../scss/gio-mat-theme-variable' as theme;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Gravitee.io version of bootstrap "badge" element dedicated to HTTP verbs
|
|
@@ -13,14 +13,15 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
@use './
|
|
17
|
-
@use './
|
|
18
|
-
@use './
|
|
19
|
-
@use './
|
|
20
|
-
@use './
|
|
21
|
-
@use './
|
|
16
|
+
@use './gio-badge/gio-badge';
|
|
17
|
+
@use './gio-method-badge/gio-method-badge';
|
|
18
|
+
@use './gio-code/gio-code';
|
|
19
|
+
@use './gio-table-light/gio-table-light';
|
|
20
|
+
@use './gio-link/gio-link';
|
|
21
|
+
@use './gio-caption-2/gio-caption-2';
|
|
22
|
+
@use './gio-button-toggle-group/gio-button-toggle-group';
|
|
22
23
|
|
|
23
|
-
// All Gravitee.io SCSS components
|
|
24
|
+
// All Gravitee.io SCSS components to add globally in main.scss
|
|
24
25
|
@mixin all-components() {
|
|
25
26
|
@include gio-badge.theme;
|
|
26
27
|
@include gio-method-badge.theme;
|
|
@@ -28,4 +29,5 @@
|
|
|
28
29
|
@include gio-table-light.theme;
|
|
29
30
|
@include gio-link.theme;
|
|
30
31
|
@include gio-caption-2.theme;
|
|
32
|
+
@include gio-button-toggle-group.theme;
|
|
31
33
|
}
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
@use 'sass:map';
|
|
17
17
|
@use '@angular/material' as mat;
|
|
18
18
|
|
|
19
|
-
@use '../../gio-mat-palettes.scss' as palettes;
|
|
20
|
-
@use '../../gio-mat-theme-variable' as theme;
|
|
19
|
+
@use '../../scss/gio-mat-palettes.scss' as palettes;
|
|
20
|
+
@use '../../scss/gio-mat-theme-variable' as theme;
|
|
21
21
|
|
|
22
22
|
$background: map.get(theme.$mat-theme, background);
|
|
23
23
|
$typography: map.get(theme.$mat-theme, typography);
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
|
|
17
|
+
// Forwards mixins to use in scss files
|
|
18
|
+
|
|
19
|
+
@forward './gio-button-toggle-group/gio-button-toggle-group' show gio-button-toggle-group;
|