@gravitee/ui-particles-angular 12.5.0-renovate-all-devdependencies-minor-patch-c62673d → 12.6.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/esm2022/lib/oem-theme/gio-menu/gio-menu.service.mjs +2 -1
- package/fesm2022/gravitee-ui-particles-angular.mjs +2 -1
- package/fesm2022/gravitee-ui-particles-angular.mjs.map +1 -1
- package/lib/oem-theme/gio-menu/gio-menu.service.d.ts +1 -0
- package/package.json +1 -1
- package/src/lib/gio-description-list/gio-description-list.scss +49 -0
- package/src/lib/gio-scss-components.scss +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2024 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 '../../scss/gio-mat-palettes' as palettes;
|
|
20
|
+
@use '../../scss/gio-mat-theme-variable' as theme;
|
|
21
|
+
|
|
22
|
+
$foreground: map.get(theme.$mat-theme, foreground);
|
|
23
|
+
$typography: map.get(theme.$mat-theme, typography);
|
|
24
|
+
|
|
25
|
+
@mixin theme() {
|
|
26
|
+
dl.gio-description-list {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-flow: row wrap;
|
|
29
|
+
|
|
30
|
+
dt {
|
|
31
|
+
flex: 1 1 30%;
|
|
32
|
+
padding: 6px 8px;
|
|
33
|
+
color: mat.get-color-from-palette(palettes.$mat-space-palette, 'lighter40');
|
|
34
|
+
@include mat.typography-level($typography, body-1);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
dd {
|
|
38
|
+
flex: 1 1 70%;
|
|
39
|
+
padding: 6px 8px;
|
|
40
|
+
margin: 0;
|
|
41
|
+
@include mat.typography-level($typography, subtitle-2);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
dd ~ dd,
|
|
45
|
+
dd ~ dt {
|
|
46
|
+
border-top: 1px solid mat.get-color-from-palette($foreground, divider);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -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-description-list/gio-description-list';
|
|
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-description-list.theme;
|
|
33
35
|
}
|