@awes-io/ui 2.119.0 → 2.120.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.120.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.119.0...@awes-io/ui@2.120.0) (2024-12-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* change style for header and header notification ([d9ba150](https://github.com/awes-io/client/commit/d9ba150a719410cb26e2fcd8a70a47f4b8b65a3c))
|
|
12
|
+
* change style place in header notification ([e56664e](https://github.com/awes-io/client/commit/e56664e735fcdeb0dc90e11341c1ad63e9c97c8b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [2.119.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.118.1...@awes-io/ui@2.119.0) (2024-12-03)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -3,6 +3,24 @@
|
|
|
3
3
|
align-items: flex-start;
|
|
4
4
|
padding-top: env(safe-area-inset-top, 0px);
|
|
5
5
|
|
|
6
|
+
&__wrapper {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex: auto;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 1rem;
|
|
11
|
+
padding: 1rem 0.5rem 1rem 1rem;
|
|
12
|
+
|
|
13
|
+
&-content {
|
|
14
|
+
display: flex;
|
|
15
|
+
gap: 0.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&-buttons {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 1rem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
6
24
|
&__content {
|
|
7
25
|
flex-grow: 1;
|
|
8
26
|
|
|
@@ -32,3 +50,17 @@
|
|
|
32
50
|
--header-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-padding-bottom, 0.5rem));
|
|
33
51
|
}
|
|
34
52
|
}
|
|
53
|
+
|
|
54
|
+
@screen md {
|
|
55
|
+
.aw-header-notification {
|
|
56
|
+
&__wrapper {
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
|
|
61
|
+
&-content {
|
|
62
|
+
align-items: center;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
.aw-page-header {
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
4
5
|
gap: 1rem;
|
|
5
6
|
|
|
6
7
|
padding: var(--header-padding-top) var(--header-padding-horizontal) var(--header-padding-bottom);
|
|
@@ -57,7 +58,11 @@
|
|
|
57
58
|
font-size: 1.25rem;
|
|
58
59
|
line-height: 1.4285;
|
|
59
60
|
font-weight: 700;
|
|
60
|
-
text-align:
|
|
61
|
+
text-align: center;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
display: block;
|
|
61
66
|
|
|
62
67
|
&--showable {
|
|
63
68
|
opacity: 0;
|
|
@@ -77,10 +82,11 @@
|
|
|
77
82
|
|
|
78
83
|
&__breadcrumbs,
|
|
79
84
|
&__buttons {
|
|
80
|
-
flex:
|
|
85
|
+
flex: unset;
|
|
81
86
|
|
|
82
87
|
display: flex;
|
|
83
88
|
gap: 1rem;
|
|
89
|
+
min-width: 3rem;
|
|
84
90
|
}
|
|
85
91
|
|
|
86
92
|
&__buttons {
|
|
@@ -94,15 +100,6 @@
|
|
|
94
100
|
&__title {
|
|
95
101
|
flex: 1 1 max-content;
|
|
96
102
|
}
|
|
97
|
-
|
|
98
|
-
&__breadcrumbs,
|
|
99
|
-
&__buttons {
|
|
100
|
-
flex: 1 0 max-content;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&__buttons {
|
|
104
|
-
min-width: max-content;
|
|
105
|
-
}
|
|
106
103
|
}
|
|
107
104
|
}
|
|
108
105
|
|
|
@@ -121,25 +118,16 @@
|
|
|
121
118
|
}
|
|
122
119
|
|
|
123
120
|
&--container {
|
|
124
|
-
gap: 0;
|
|
125
|
-
|
|
126
121
|
position: static;
|
|
127
122
|
}
|
|
128
123
|
|
|
129
|
-
:where(&--container) &__breadcrumbs {
|
|
130
|
-
flex: 0 0 calc(50% - var(--header-container-width) / 2 + var(--header-padding-horizontal));
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&:where(:not(&--container)) &__title {
|
|
134
|
-
position: absolute;
|
|
135
|
-
top: 50%;
|
|
136
|
-
left: 50%;
|
|
137
|
-
transform: translate(-50%, -50%);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
124
|
:where(&--container) &__title {
|
|
141
125
|
text-align: left;
|
|
142
|
-
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&__breadcrumbs,
|
|
129
|
+
&__buttons {
|
|
130
|
+
min-width: 2.5rem;
|
|
143
131
|
}
|
|
144
132
|
|
|
145
133
|
/* :where(&--container) &__buttons {
|
package/assets/js/styles.js
CHANGED
|
@@ -56,7 +56,6 @@ export const CUSTOM_COLORS_BG_DARK = {
|
|
|
56
56
|
export default {
|
|
57
57
|
default: {
|
|
58
58
|
colors: {
|
|
59
|
-
white: '#ffffff',
|
|
60
59
|
accent: '#56af40',
|
|
61
60
|
'accent-hover': '#469E30',
|
|
62
61
|
success: '#56af40',
|
|
@@ -115,7 +114,6 @@ export default {
|
|
|
115
114
|
},
|
|
116
115
|
dark: {
|
|
117
116
|
colors: {
|
|
118
|
-
white: '#ffffff',
|
|
119
117
|
accent: '#56af40',
|
|
120
118
|
success: '#56af40',
|
|
121
119
|
info: '#4a7fe4',
|
|
@@ -7,22 +7,30 @@
|
|
|
7
7
|
}"
|
|
8
8
|
class="aw-header-notification"
|
|
9
9
|
>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
v-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
<div class="aw-header-notification__wrapper">
|
|
11
|
+
<div class="aw-header-notification__wrapper-content">
|
|
12
|
+
<AwIcon
|
|
13
|
+
v-if="config.icon"
|
|
14
|
+
class="flex-none"
|
|
15
|
+
:name="config.icon"
|
|
16
|
+
/>
|
|
17
|
+
|
|
18
|
+
<div v-html="$sanitize(config.text)" />
|
|
19
|
+
</div>
|
|
20
|
+
|
|
21
|
+
<div
|
|
22
|
+
v-if="config.buttons.length"
|
|
23
|
+
class="aw-header-notification__wrapper-buttons"
|
|
24
|
+
>
|
|
25
|
+
<AwButton
|
|
26
|
+
v-for="({ listeners, ...props }, i) in config.buttons"
|
|
27
|
+
:key="i"
|
|
28
|
+
size="xs"
|
|
29
|
+
v-bind="props"
|
|
30
|
+
v-on="listeners"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
26
34
|
|
|
27
35
|
<!-- close -->
|
|
28
36
|
<AwButton
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.120.0",
|
|
4
4
|
"description": "User Interface (UI) components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"rollup-plugin-visualizer": "^2.6.0",
|
|
115
115
|
"rollup-plugin-vue": "^5.0.1"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "33d3086b8b7731150f900b92fa1146c1c29209c8"
|
|
118
118
|
}
|