@awes-io/ui 2.96.1 → 2.97.1
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,35 @@
|
|
|
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.97.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.97.0...@awes-io/ui@2.97.1) (2024-02-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **aw-bottom-bar:** safe padding restored ([8b3fd2a](https://github.com/awes-io/client/commit/8b3fd2ac75f506178c9c07f6f1ec40fa2d6e34c1))
|
|
12
|
+
* **aw-bottom-bar:** safe padding restored ([8db3d3f](https://github.com/awes-io/client/commit/8db3d3fbf14481dee734900dd7ff104b79554831))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [2.97.0](https://github.com/awes-io/client/compare/@awes-io/ui@2.96.1...@awes-io/ui@2.97.0) (2024-02-19)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* fix border style in table ([e548132](https://github.com/awes-io/client/commit/e548132e8ab938d5600df672174eb5f0878d1774))
|
|
24
|
+
* fix max-width in mobile menu items ([874d0e4](https://github.com/awes-io/client/commit/874d0e4ad84c8d501debd088262a2705dc4a4d54))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* change mono and surface colors ([79b060b](https://github.com/awes-io/client/commit/79b060b52f4999ef53458955e8561c6c87cf3e2c))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
6
35
|
## [2.96.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.96.0...@awes-io/ui@2.96.1) (2024-02-17)
|
|
7
36
|
|
|
8
37
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
box-shadow: none;
|
|
7
7
|
border-top: 1px solid rgba(var(--c-on-surface-rgb), .1);
|
|
8
|
+
padding-bottom: env(safe-area-inset-bottom, 0);
|
|
8
9
|
|
|
9
10
|
position: fixed;
|
|
10
11
|
bottom: 0;
|
|
@@ -18,6 +19,10 @@
|
|
|
18
19
|
flex-shrink: 1;
|
|
19
20
|
}
|
|
20
21
|
|
|
22
|
+
.aw-icon-menu-item {
|
|
23
|
+
max-width: var(--bottom-bar-item-max-width);
|
|
24
|
+
}
|
|
25
|
+
|
|
21
26
|
&:before,
|
|
22
27
|
&:after {
|
|
23
28
|
content: '';
|
package/assets/css/main.css
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
@screen lg {
|
|
49
49
|
:root[data-dark='true'] {
|
|
50
|
-
--c-surface: #
|
|
50
|
+
--c-surface: #2e2f33;
|
|
51
51
|
|
|
52
52
|
--c-page-bg: #1e1e21;
|
|
53
53
|
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
--c-mono-700: #6d6d70;
|
|
63
63
|
--c-mono-800: #46474a;
|
|
64
64
|
--c-mono-900: #434447;
|
|
65
|
-
--c-mono-1000: #2e2f33;
|
|
66
65
|
|
|
67
66
|
--c-surface-rgb: 49,50,54;
|
|
68
67
|
|
|
@@ -79,7 +78,6 @@
|
|
|
79
78
|
--c-mono-700-rgb: 109,109,112;
|
|
80
79
|
--c-mono-800-rgb: 70,71,74;
|
|
81
80
|
--c-mono-900-rgb: 67,68,71;
|
|
82
|
-
--c-mono-1000-rgb: 46,47,51;
|
|
83
81
|
}
|
|
84
82
|
}
|
|
85
83
|
|
package/assets/js/styles.js
CHANGED
|
@@ -71,7 +71,6 @@ export default {
|
|
|
71
71
|
'mono-700': '#d7dbde',
|
|
72
72
|
'mono-800': '#e7eaed',
|
|
73
73
|
'mono-900': '#f3f5f7',
|
|
74
|
-
'mono-1000': '#fff',
|
|
75
74
|
|
|
76
75
|
...CUSTOM_COLORS_BG_LIGHT
|
|
77
76
|
},
|
|
@@ -100,7 +99,6 @@ export default {
|
|
|
100
99
|
'mono-700': '#14171d',
|
|
101
100
|
'mono-800': '#14171d',
|
|
102
101
|
'mono-900': '#14171d',
|
|
103
|
-
'mono-1000': '#14171d',
|
|
104
102
|
|
|
105
103
|
...CUSTOM_COLORS
|
|
106
104
|
}
|
|
@@ -115,7 +113,7 @@ export default {
|
|
|
115
113
|
error: '#FF4931',
|
|
116
114
|
'error-hover': '#E6422C',
|
|
117
115
|
|
|
118
|
-
surface: '#
|
|
116
|
+
surface: '#292A2E',
|
|
119
117
|
'page-bg': '#010101',
|
|
120
118
|
overlay: 'rgba(0, 0, 0, 0.5)',
|
|
121
119
|
|
|
@@ -130,7 +128,6 @@ export default {
|
|
|
130
128
|
'mono-700': '#626265',
|
|
131
129
|
'mono-800': '#3C3D40',
|
|
132
130
|
'mono-900': '#434447',
|
|
133
|
-
'mono-1000': '#292A2E',
|
|
134
131
|
|
|
135
132
|
...CUSTOM_COLORS_BG_DARK
|
|
136
133
|
},
|
|
@@ -143,7 +140,7 @@ export default {
|
|
|
143
140
|
warning: '#333',
|
|
144
141
|
error: '#fff',
|
|
145
142
|
|
|
146
|
-
surface: '#
|
|
143
|
+
surface: '#D3D3D4',
|
|
147
144
|
'page-bg': '#e7eaed',
|
|
148
145
|
overlay: '#fff',
|
|
149
146
|
|
|
@@ -158,7 +155,6 @@ export default {
|
|
|
158
155
|
'mono-700': '#eaeaeb',
|
|
159
156
|
'mono-800': '#eaeaeb',
|
|
160
157
|
'mono-900': '#eaeaeb',
|
|
161
|
-
'mono-1000': '#eaeaeb',
|
|
162
158
|
|
|
163
159
|
...CUSTOM_COLORS
|
|
164
160
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div v-if="showMenu" class="aw-bottom-bar">
|
|
2
|
+
<div v-if="showMenu" class="aw-bottom-bar" :style="itemMaxWidthVar">
|
|
3
3
|
<slot name="bottom-bar-items">
|
|
4
4
|
<AwMenuItemIcon
|
|
5
5
|
v-for="(item, i) in items"
|
|
@@ -65,6 +65,13 @@ export default {
|
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
computed: {
|
|
68
|
+
itemMaxWidthVar() {
|
|
69
|
+
const itemsNumber = this.items.length + 1
|
|
70
|
+
|
|
71
|
+
return `--bottom-bar-item-max-width: min(${100 /
|
|
72
|
+
itemsNumber}%, 144px)`
|
|
73
|
+
},
|
|
74
|
+
|
|
68
75
|
actionButton() {
|
|
69
76
|
const button = this.$store.state.awesIo.bottomBarAction
|
|
70
77
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awes-io/ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.97.1",
|
|
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": "4d4f517ba81e113637c290eb086c17aa5f9125dc"
|
|
118
118
|
}
|