@awes-io/ui 2.118.1 → 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 +30 -0
- package/assets/css/components/button-nav.css +16 -7
- package/assets/css/components/header-notification.css +32 -0
- package/assets/css/components/more.css +21 -12
- package/assets/css/components/page-header.css +28 -44
- package/assets/css/components/search.css +2 -5
- package/assets/js/constants.js +15 -4
- package/components/1_atoms/AwRefreshWrapper.vue +18 -12
- package/components/3_organisms/AwTable/AwTableBuilder.vue +5 -0
- package/components/4_pages/AwPage.vue +21 -0
- package/components/4_pages/_AwPageHeader.vue +17 -10
- package/components/5_layouts/_AwHeaderNotification.vue +24 -16
- package/nuxt/pages/more.vue +13 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
|
|
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)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* typo ([0950dc7](https://github.com/awes-io/client/commit/0950dc75e1e88f838831bc744e2964493cfd1475))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* add ignore refrhes props for refresh wrapper ([ae5cc60](https://github.com/awes-io/client/commit/ae5cc60cf1fe6aeac2c1591d0cb348d1a177b08e))
|
|
29
|
+
* change style for page header ([6751e08](https://github.com/awes-io/client/commit/6751e0835d54018b98e59dcf522a111bc68efdbd))
|
|
30
|
+
* change style for search ([44318f0](https://github.com/awes-io/client/commit/44318f02455649715b7cc1f73087f74486b4bd12))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [2.118.1](https://github.com/awes-io/client/compare/@awes-io/ui@2.118.0...@awes-io/ui@2.118.1) (2024-11-29)
|
|
7
37
|
|
|
8
38
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
border-radius: 0.625rem;
|
|
6
6
|
|
|
7
7
|
/* & .aw-slider__scroller {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
padding: theme('spacing.1') 0;
|
|
9
|
+
} */
|
|
10
10
|
|
|
11
11
|
&__wrapper {
|
|
12
12
|
padding: 0;
|
|
@@ -85,10 +85,19 @@
|
|
|
85
85
|
cursor: not-allowed;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
+
&--expand {
|
|
89
|
+
min-width: var(--nav-min-width, 100%);
|
|
90
|
+
|
|
91
|
+
.aw-button-nav__toggler {
|
|
92
|
+
flex: var(--nav-toggler-grow, 1) 0 auto;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
88
96
|
&--fullwidth {
|
|
89
97
|
margin-left: calc(-1 * var(--container-padding));
|
|
90
98
|
margin-right: calc(-1 * var(--container-padding));
|
|
91
99
|
max-width: calc(100% + 2 * var(--container-padding));
|
|
100
|
+
width: calc(100% + 2 * var(--container-padding));
|
|
92
101
|
|
|
93
102
|
.aw-slider__scroller:before,
|
|
94
103
|
.aw-slider__scroller:after {
|
|
@@ -107,13 +116,9 @@
|
|
|
107
116
|
.aw-slider__scroller > :last-child {
|
|
108
117
|
scroll-snap-align: end;
|
|
109
118
|
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&--expand {
|
|
113
|
-
min-width: var(--nav-min-width, 100%);
|
|
114
119
|
|
|
115
120
|
.aw-button-nav__toggler {
|
|
116
|
-
flex:
|
|
121
|
+
flex: auto;
|
|
117
122
|
}
|
|
118
123
|
}
|
|
119
124
|
|
|
@@ -221,6 +226,10 @@
|
|
|
221
226
|
}
|
|
222
227
|
}
|
|
223
228
|
|
|
229
|
+
&--fullwidth {
|
|
230
|
+
width: auto;
|
|
231
|
+
}
|
|
232
|
+
|
|
224
233
|
&--without-min-with {
|
|
225
234
|
.aw-button-nav__toggler {
|
|
226
235
|
& > span {
|
|
@@ -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
|
+
}
|
|
@@ -6,17 +6,26 @@
|
|
|
6
6
|
padding-bottom: 9.5rem;
|
|
7
7
|
|
|
8
8
|
&__buttons {
|
|
9
|
+
@apply bg-page-bg;
|
|
10
|
+
|
|
9
11
|
display: flex;
|
|
10
12
|
justify-content: space-between;
|
|
11
13
|
gap: 1rem;
|
|
12
|
-
padding: 0.5rem 1.5rem
|
|
14
|
+
padding: 0.5rem 1.5rem 1rem;
|
|
13
15
|
padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
|
|
16
|
+
position: sticky;
|
|
17
|
+
top: 0;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
|
|
20
|
+
&--sticky {
|
|
21
|
+
box-shadow: 0px 10px 20px 0px rgba(37, 38, 41, 0.05);
|
|
22
|
+
}
|
|
14
23
|
|
|
15
24
|
&-wrapper {
|
|
16
25
|
display: flex;
|
|
17
26
|
align-items: center;
|
|
18
27
|
gap: 1rem;
|
|
19
|
-
|
|
28
|
+
}
|
|
20
29
|
}
|
|
21
30
|
|
|
22
31
|
&__user-profile {
|
|
@@ -24,15 +33,15 @@
|
|
|
24
33
|
padding-bottom: 2.5rem;
|
|
25
34
|
|
|
26
35
|
&:after {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
+
@apply bg-mono-800;
|
|
37
|
+
content: '';
|
|
38
|
+
display: block;
|
|
39
|
+
height: 1px;
|
|
40
|
+
|
|
41
|
+
position: absolute;
|
|
42
|
+
bottom: calc(0.75rem - 1px);
|
|
43
|
+
left: 1.5rem;
|
|
44
|
+
right: 1.5rem;
|
|
36
45
|
}
|
|
37
46
|
}
|
|
38
47
|
|
|
@@ -42,7 +51,7 @@
|
|
|
42
51
|
align-items: center;
|
|
43
52
|
flex-direction: column;
|
|
44
53
|
|
|
45
|
-
padding:
|
|
54
|
+
padding: 0 1.5rem 1rem;
|
|
46
55
|
}
|
|
47
56
|
|
|
48
57
|
&__theme {
|
|
@@ -1,11 +1,11 @@
|
|
|
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
|
-
padding: var(--header-padding-top) var(--header-padding-horizontal)
|
|
7
|
-
|
|
8
|
-
height: var(--header-height);
|
|
7
|
+
padding: var(--header-padding-top) var(--header-padding-horizontal) var(--header-padding-bottom);
|
|
8
|
+
min-height: var(--header-height);
|
|
9
9
|
box-shadow: none;
|
|
10
10
|
|
|
11
11
|
position: relative;
|
|
@@ -58,7 +58,11 @@
|
|
|
58
58
|
font-size: 1.25rem;
|
|
59
59
|
line-height: 1.4285;
|
|
60
60
|
font-weight: 700;
|
|
61
|
-
text-align:
|
|
61
|
+
text-align: center;
|
|
62
|
+
overflow: hidden;
|
|
63
|
+
text-overflow: ellipsis;
|
|
64
|
+
white-space: nowrap;
|
|
65
|
+
display: block;
|
|
62
66
|
|
|
63
67
|
&--showable {
|
|
64
68
|
opacity: 0;
|
|
@@ -72,12 +76,17 @@
|
|
|
72
76
|
}
|
|
73
77
|
}
|
|
74
78
|
|
|
79
|
+
&__breadcrumbs {
|
|
80
|
+
align-self: flex-start;
|
|
81
|
+
}
|
|
82
|
+
|
|
75
83
|
&__breadcrumbs,
|
|
76
84
|
&__buttons {
|
|
77
|
-
flex:
|
|
85
|
+
flex: unset;
|
|
78
86
|
|
|
79
87
|
display: flex;
|
|
80
88
|
gap: 1rem;
|
|
89
|
+
min-width: 3rem;
|
|
81
90
|
}
|
|
82
91
|
|
|
83
92
|
&__buttons {
|
|
@@ -91,22 +100,13 @@
|
|
|
91
100
|
&__title {
|
|
92
101
|
flex: 1 1 max-content;
|
|
93
102
|
}
|
|
94
|
-
|
|
95
|
-
&__breadcrumbs,
|
|
96
|
-
&__buttons {
|
|
97
|
-
flex: 1 0 max-content;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&__buttons {
|
|
101
|
-
min-width: max-content;
|
|
102
|
-
}
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
@screen lg {
|
|
107
107
|
.aw-page-header {
|
|
108
108
|
/* padding-left: 2.5rem;
|
|
109
|
-
|
|
109
|
+
padding-right: 2.5rem; */
|
|
110
110
|
|
|
111
111
|
&--primary {
|
|
112
112
|
@apply bg-surface;
|
|
@@ -118,43 +118,27 @@
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
&--container {
|
|
121
|
-
gap: 0;
|
|
122
|
-
width: 100%;
|
|
123
|
-
margin-left: 0;
|
|
124
|
-
margin-right: 0;
|
|
125
|
-
|
|
126
121
|
position: static;
|
|
127
122
|
}
|
|
128
123
|
|
|
129
|
-
:where(&--container) &__breadcrumbs {
|
|
130
|
-
flex: 0 0
|
|
131
|
-
calc(
|
|
132
|
-
50% - var(--header-container-width) / 2 +
|
|
133
|
-
var(--header-padding-horizontal)
|
|
134
|
-
);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&:where(:not(&--container)) &__title {
|
|
138
|
-
position: absolute;
|
|
139
|
-
top: 50%;
|
|
140
|
-
left: 50%;
|
|
141
|
-
transform: translate(-50%, -50%);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
124
|
:where(&--container) &__title {
|
|
145
125
|
text-align: left;
|
|
146
|
-
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&__breadcrumbs,
|
|
129
|
+
&__buttons {
|
|
130
|
+
min-width: 2.5rem;
|
|
147
131
|
}
|
|
148
132
|
|
|
149
133
|
/* :where(&--container) &__buttons {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
134
|
+
margin-right: max(
|
|
135
|
+
0px,
|
|
136
|
+
calc(
|
|
137
|
+
50% - var(--header-container-width) / 2 +
|
|
138
|
+
var(--header-padding-horizontal)
|
|
139
|
+
)
|
|
140
|
+
);
|
|
141
|
+
} */
|
|
158
142
|
}
|
|
159
143
|
}
|
|
160
144
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.aw-search {
|
|
2
2
|
background: transparent;
|
|
3
|
-
border-radius:
|
|
3
|
+
border-radius: 0.625rem;
|
|
4
4
|
|
|
5
5
|
.aw-text-field__element,
|
|
6
6
|
input {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
padding-right: 3rem;
|
|
9
9
|
padding-left: 1rem;
|
|
10
10
|
height: 2.875rem;
|
|
11
|
-
border-radius:
|
|
11
|
+
border-radius: 0.625rem;
|
|
12
12
|
font-size: 0.875rem;
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -35,11 +35,8 @@
|
|
|
35
35
|
|
|
36
36
|
@screen lg {
|
|
37
37
|
.aw-search {
|
|
38
|
-
border-radius: 0.625rem;
|
|
39
|
-
|
|
40
38
|
.aw-text-field__element,
|
|
41
39
|
input {
|
|
42
|
-
border-radius: 0.625rem;
|
|
43
40
|
height: 2.375rem;
|
|
44
41
|
}
|
|
45
42
|
}
|
package/assets/js/constants.js
CHANGED
|
@@ -12,10 +12,21 @@ export const TABLE_DATA_FETCHED = 'data-fetched'
|
|
|
12
12
|
|
|
13
13
|
export const FORM_ENTER_SKIP_ATTR = 'data-enter-skip'
|
|
14
14
|
|
|
15
|
-
export const COLORS = Object.keys(CUSTOM_COLORS).map((color) => ({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}))
|
|
15
|
+
// export const COLORS = Object.keys(CUSTOM_COLORS).map((color) => ({
|
|
16
|
+
// color: toColor(color),
|
|
17
|
+
// onColor: toOnColor(color)
|
|
18
|
+
// }))
|
|
19
|
+
|
|
20
|
+
export const COLORS = Object.keys(CUSTOM_COLORS).reduce((acc, color) => {
|
|
21
|
+
if (color !== 'black') {
|
|
22
|
+
return acc.concat({
|
|
23
|
+
color: toColor(color),
|
|
24
|
+
onColor: toOnColor(color)
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return acc
|
|
29
|
+
}, [])
|
|
19
30
|
|
|
20
31
|
export const TEST_ID_ATTR = 'data-testid'
|
|
21
32
|
|
|
@@ -34,7 +34,9 @@ export default {
|
|
|
34
34
|
name: 'AwRefreshWrapper',
|
|
35
35
|
|
|
36
36
|
props: {
|
|
37
|
-
loading: Boolean
|
|
37
|
+
loading: Boolean,
|
|
38
|
+
|
|
39
|
+
ignoreRefresh: Boolean
|
|
38
40
|
},
|
|
39
41
|
|
|
40
42
|
data: () => ({
|
|
@@ -51,21 +53,25 @@ export default {
|
|
|
51
53
|
},
|
|
52
54
|
|
|
53
55
|
mounted() {
|
|
54
|
-
this
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
if (!this.ignoreRefresh) {
|
|
57
|
+
this.$refs.refreshLoader.addEventListener(
|
|
58
|
+
'touchmove',
|
|
59
|
+
this.onTouchStartMove,
|
|
60
|
+
{ passive: false }
|
|
61
|
+
)
|
|
62
|
+
}
|
|
59
63
|
},
|
|
60
64
|
|
|
61
65
|
beforeDestroy() {
|
|
62
|
-
this.
|
|
66
|
+
if (!this.ignoreRefresh) {
|
|
67
|
+
this.removeListeners()
|
|
63
68
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
this.$refs.refreshLoader.removeEventListener(
|
|
70
|
+
'touchmove',
|
|
71
|
+
this.onTouchStartMove,
|
|
72
|
+
{ passive: false }
|
|
73
|
+
)
|
|
74
|
+
}
|
|
69
75
|
},
|
|
70
76
|
|
|
71
77
|
methods: {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<AwRefreshWrapper
|
|
3
3
|
class="aw-table-builder relative"
|
|
4
4
|
:loading="collection.loading"
|
|
5
|
+
:ignore-refresh="ignoreRefresh"
|
|
5
6
|
@refresh="fetch"
|
|
6
7
|
>
|
|
7
8
|
<template #before>
|
|
@@ -283,6 +284,10 @@ export default {
|
|
|
283
284
|
*/
|
|
284
285
|
noFetch: Boolean,
|
|
285
286
|
|
|
287
|
+
/**
|
|
288
|
+
* Disable pull-to-refresh on a table
|
|
289
|
+
*/
|
|
290
|
+
ignoreRefresh: Boolean,
|
|
286
291
|
/**
|
|
287
292
|
* Disable auto fetching on page or limit change
|
|
288
293
|
*/
|
|
@@ -44,6 +44,27 @@
|
|
|
44
44
|
<slot name="after-breadcrumb" />
|
|
45
45
|
</template>
|
|
46
46
|
|
|
47
|
+
<template #title="{ title, titleShowable, hideTitle }">
|
|
48
|
+
<slot
|
|
49
|
+
name="title"
|
|
50
|
+
:title="title"
|
|
51
|
+
:titleShowable="titleShowable"
|
|
52
|
+
:hideTitle="hideTitle"
|
|
53
|
+
>
|
|
54
|
+
<h1
|
|
55
|
+
v-if="title"
|
|
56
|
+
class="aw-page-header__title"
|
|
57
|
+
:class="{
|
|
58
|
+
'sr-only': !titleShowable && hideTitle,
|
|
59
|
+
'aw-page-header__title--showable': titleShowable,
|
|
60
|
+
'aw-page-header__title--visible': !hideTitle
|
|
61
|
+
}"
|
|
62
|
+
>
|
|
63
|
+
{{ title }}
|
|
64
|
+
</h1>
|
|
65
|
+
</slot>
|
|
66
|
+
</template>
|
|
67
|
+
|
|
47
68
|
<template #default>
|
|
48
69
|
<slot name="buttons"></slot>
|
|
49
70
|
</template>
|
|
@@ -12,17 +12,24 @@
|
|
|
12
12
|
<slot name="breadcrumbs"> </slot>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
:
|
|
19
|
-
|
|
20
|
-
'aw-page-header__title--showable': titleShowable,
|
|
21
|
-
'aw-page-header__title--visible': !hideTitle
|
|
22
|
-
}"
|
|
15
|
+
<slot
|
|
16
|
+
name="title"
|
|
17
|
+
:title="title"
|
|
18
|
+
:titleShowable="titleShowable"
|
|
19
|
+
:hideTitle="hideTitle"
|
|
23
20
|
>
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
<h1
|
|
22
|
+
v-if="title"
|
|
23
|
+
class="aw-page-header__title"
|
|
24
|
+
:class="{
|
|
25
|
+
'sr-only': !titleShowable && hideTitle,
|
|
26
|
+
'aw-page-header__title--showable': titleShowable,
|
|
27
|
+
'aw-page-header__title--visible': !hideTitle
|
|
28
|
+
}"
|
|
29
|
+
>
|
|
30
|
+
{{ title }}
|
|
31
|
+
</h1>
|
|
32
|
+
</slot>
|
|
26
33
|
|
|
27
34
|
<div class="aw-page-header__buttons">
|
|
28
35
|
<slot />
|
|
@@ -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/nuxt/pages/more.vue
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="aw-more">
|
|
3
|
-
<div
|
|
3
|
+
<div
|
|
4
|
+
ref="topScrollMark"
|
|
5
|
+
class="aw-page__top-scroll-mark"
|
|
6
|
+
aria-hidden="true"
|
|
7
|
+
></div>
|
|
8
|
+
|
|
9
|
+
<div
|
|
10
|
+
class="aw-more__buttons"
|
|
11
|
+
:class="{ 'aw-more__buttons--sticky': isHeaderStuck }"
|
|
12
|
+
>
|
|
4
13
|
<AwButton color="mono" icon="awesio/arrow" @click="onClickGoBack" />
|
|
5
14
|
|
|
6
15
|
<div
|
|
@@ -117,6 +126,7 @@ import { lensProp, pathOr, viewOr } from 'rambdax'
|
|
|
117
126
|
import AwMobileMenuNav from '@AwLayouts/_AwMobileMenuNav.vue'
|
|
118
127
|
import AwMobileMenuItem from '@AwLayouts/_AwMobileMenuItem.vue'
|
|
119
128
|
import { VISIBLE_ITEMS_COUNT } from '@AwOrganisms/AwBottomBar.vue'
|
|
129
|
+
import pageMixin from '@AwMixins/page'
|
|
120
130
|
|
|
121
131
|
export default {
|
|
122
132
|
name: 'More',
|
|
@@ -134,6 +144,8 @@ export default {
|
|
|
134
144
|
AwMobileMenuItem
|
|
135
145
|
},
|
|
136
146
|
|
|
147
|
+
mixins: [pageMixin],
|
|
148
|
+
|
|
137
149
|
computed: {
|
|
138
150
|
...mapState('awesIo', ['bottomBarAction']),
|
|
139
151
|
|
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
|
}
|