@awes-io/ui 2.70.0 → 2.71.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 +11 -0
- package/assets/css/components/_index.css +10 -0
- package/assets/css/components/address-block.css +29 -0
- package/assets/css/components/alert.css +16 -4
- package/assets/css/components/avatar.css +1 -0
- package/assets/css/components/bottom-bar.css +3 -2
- package/assets/css/components/button-fixed.css +4 -0
- package/assets/css/components/button-nav.css +125 -8
- package/assets/css/components/button.css +159 -3
- package/assets/css/components/calendar.css +2 -1
- package/assets/css/components/card.css +32 -4
- package/assets/css/components/chart.css +7 -0
- package/assets/css/components/context-menu.css +40 -0
- package/assets/css/components/date.css +4 -0
- package/assets/css/components/description.css +8 -0
- package/assets/css/components/dock.css +86 -0
- package/assets/css/components/dropdown-button.css +4 -0
- package/assets/css/components/dropdown.css +42 -9
- package/assets/css/components/file.css +20 -0
- package/assets/css/components/filter-date-range.css +21 -0
- package/assets/css/components/gmap.css +8 -0
- package/assets/css/components/header-notification.css +19 -0
- package/assets/css/components/headline.css +5 -2
- package/assets/css/components/icon-menu-item.css +42 -2
- package/assets/css/components/info.css +9 -1
- package/assets/css/components/island-avatar.css +1 -1
- package/assets/css/components/island.css +1 -0
- package/assets/css/components/layout-menu.css +3 -3
- package/assets/css/components/main.css +16 -0
- package/assets/css/components/mobile-menu-item.css +2 -2
- package/assets/css/components/mobile-menu-nav.css +12 -0
- package/assets/css/components/mobile-menu.css +15 -3
- package/assets/css/components/modal.css +116 -9
- package/assets/css/components/nav.css +2 -0
- package/assets/css/components/notification.css +9 -4
- package/assets/css/components/page-headline.css +49 -3
- package/assets/css/components/page-menu-buttons.css +25 -0
- package/assets/css/components/page.css +6 -0
- package/assets/css/components/search.css +45 -0
- package/assets/css/components/select.css +32 -1
- package/assets/css/components/sub-headline.css +8 -2
- package/assets/css/components/tab-nav.css +16 -0
- package/assets/css/components/table.css +95 -9
- package/assets/css/components/tags.css +8 -0
- package/assets/css/components/tel.css +4 -0
- package/assets/css/components/text-field.css +34 -3
- package/assets/css/components/title.css +7 -0
- package/assets/css/components/user-menu.css +10 -5
- package/assets/js/events.js +8 -0
- package/assets/js/icons/mono.js +3 -1
- package/assets/js/styles.js +65 -31
- package/components/1_atoms/AwDock.vue +195 -0
- package/components/1_atoms/AwFile.vue +21 -0
- package/components/1_atoms/AwTitle.vue +18 -0
- package/components/3_organisms/AwAddressBlock.vue +0 -8
- package/components/3_organisms/AwBottomBar.vue +6 -6
- package/components/3_organisms/AwContextMenu.vue +8 -3
- package/components/3_organisms/AwGmap.vue +0 -6
- package/components/3_organisms/AwModal.vue +2 -2
- package/components/4_pages/AwPageMenuButtons.vue +1 -0
- package/components/4_pages/_AwPageHeadline.vue +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
.aw-dock {
|
|
2
|
+
--dock-bottom: env(safe-area-inset-bottom, 0px);
|
|
3
|
+
--dock-height: calc(67vh - 2.75rem);
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: auto;
|
|
10
|
+
max-height: 100%;
|
|
11
|
+
|
|
12
|
+
position: fixed;
|
|
13
|
+
left: 0;
|
|
14
|
+
bottom: 0;
|
|
15
|
+
z-index: 10;
|
|
16
|
+
|
|
17
|
+
touch-action: pan-y;
|
|
18
|
+
|
|
19
|
+
&--active {
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__panel {
|
|
24
|
+
@apply bg-surface;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
|
|
28
|
+
padding: 0 1.25rem calc(var(--dock-bottom, 0px) + 1.25rem);
|
|
29
|
+
border-radius: 1.25rem 1.25rem 0 0;
|
|
30
|
+
box-shadow: 0 -20px 25px -5px rgba(var(--c-overlay-rgb), 0.1),
|
|
31
|
+
0 -10px 10px -5px rgba(var(--c-overlay-rgb), 0.04);
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: auto;
|
|
34
|
+
max-height: 67vh;
|
|
35
|
+
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__overlay {
|
|
40
|
+
@apply bg-overlay;
|
|
41
|
+
|
|
42
|
+
margin-bottom: -1.25rem;
|
|
43
|
+
flex: 1;
|
|
44
|
+
opacity: var(--dock-open-progress, 0);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__toggler {
|
|
48
|
+
display: flex;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
width: 100%;
|
|
52
|
+
padding: 0.5rem;
|
|
53
|
+
|
|
54
|
+
& > span {
|
|
55
|
+
@apply bg-mono-700;
|
|
56
|
+
display: block;
|
|
57
|
+
width: 1.5rem;
|
|
58
|
+
height: 0.25rem;
|
|
59
|
+
border-radius: 0.125rem;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__content {
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
opacity: calc(var(--dock-open-progress, 0) * 1.35 - 0.35);
|
|
66
|
+
padding-bottom: calc(var(--dock-open-progress, 0) * 1rem);
|
|
67
|
+
min-height: 0;
|
|
68
|
+
max-height: calc(var(--dock-open-progress, 0) * var(--dock-height));
|
|
69
|
+
transform: scaleX(
|
|
70
|
+
min(1, calc(0.9 + 0.1 * var(--dock-open-progress, 0)))
|
|
71
|
+
)
|
|
72
|
+
translateY(max(0, calc(15% - 15% * var(--dock-open-progress, 0))));
|
|
73
|
+
overflow: hidden;
|
|
74
|
+
overscroll-behavior: contain;
|
|
75
|
+
|
|
76
|
+
&--scroll {
|
|
77
|
+
overflow: auto;
|
|
78
|
+
padding-right: 0.75rem;
|
|
79
|
+
margin-right: -0.75rem;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__visible {
|
|
84
|
+
padding-top: 0.5rem;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
.aw-dropdown {
|
|
2
|
+
z-index: 21;
|
|
2
3
|
overscroll-behavior: contain;
|
|
3
4
|
|
|
4
5
|
&--desktop {
|
|
5
|
-
@apply bg-surface
|
|
6
|
-
min-width: 160px;
|
|
6
|
+
@apply bg-surface;
|
|
7
7
|
scrollbar-width: thin;
|
|
8
8
|
z-index: 30;
|
|
9
9
|
overflow: auto;
|
|
@@ -11,8 +11,16 @@
|
|
|
11
11
|
position: absolute;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
&--desktop,
|
|
15
|
+
.aw-select__dropdown {
|
|
16
|
+
box-shadow: 0px 20px 40px rgba(var(--c-overlay-rgb), 0.1);
|
|
17
|
+
border-radius: 10px;
|
|
18
|
+
min-width: 250px;
|
|
19
|
+
border: 1px solid var(--c-mono-900);
|
|
20
|
+
}
|
|
21
|
+
|
|
14
22
|
&--mobile {
|
|
15
|
-
padding: theme('spacing.2', 0.5rem);
|
|
23
|
+
padding: calc(env(safe-area-inset-top, 0px) + 0.5rem) theme('spacing.2', 0.5rem) calc(env(safe-area-inset-bottom, 0px) + 0.5rem);
|
|
16
24
|
|
|
17
25
|
display: flex;
|
|
18
26
|
flex-direction: column;
|
|
@@ -37,9 +45,21 @@
|
|
|
37
45
|
|
|
38
46
|
&__title {
|
|
39
47
|
text-align: center;
|
|
40
|
-
font-weight: bold;
|
|
41
|
-
margin: theme('spacing.4', 1rem) auto 0;
|
|
42
48
|
position: relative;
|
|
49
|
+
|
|
50
|
+
background-color: var(--c-surface);
|
|
51
|
+
color: var(--c-mono-400);
|
|
52
|
+
/* font-size: 0.75rem; */
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: 0.75rem 1.5rem;
|
|
56
|
+
border-radius: 0.625rem 0.625rem 0 0;
|
|
57
|
+
|
|
58
|
+
& + .aw-dropdown__content--mobile {
|
|
59
|
+
border-top-left-radius: 0;
|
|
60
|
+
border-top-right-radius: 0;
|
|
61
|
+
border-top: 1px solid var(--c-mono-900);
|
|
62
|
+
}
|
|
43
63
|
}
|
|
44
64
|
|
|
45
65
|
&__description {
|
|
@@ -51,28 +71,41 @@
|
|
|
51
71
|
|
|
52
72
|
&__content {
|
|
53
73
|
max-height: 100%;
|
|
74
|
+
|
|
75
|
+
hr + .aw-dropdown-button > span {
|
|
76
|
+
text-align: center;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
}
|
|
54
79
|
}
|
|
55
80
|
|
|
56
81
|
&__content--mobile {
|
|
57
82
|
@apply bg-surface;
|
|
58
|
-
margin-top: theme('spacing.4', 1rem);
|
|
59
|
-
border-radius: theme('borderRadius.md', 0.25rem);
|
|
60
83
|
/* max-height: 60%; */
|
|
61
84
|
flex-shrink: 1;
|
|
62
85
|
overflow: auto;
|
|
63
86
|
position: relative;
|
|
87
|
+
|
|
88
|
+
padding: 0;
|
|
89
|
+
border-radius: 0.9375rem;
|
|
90
|
+
margin-top: 0;
|
|
91
|
+
|
|
92
|
+
.aw-dropdown-button > span {
|
|
93
|
+
padding: 1rem 1.5rem;
|
|
94
|
+
}
|
|
64
95
|
}
|
|
65
96
|
|
|
66
97
|
&__close {
|
|
67
98
|
width: 100%;
|
|
68
99
|
margin-top: theme('spacing.2', 0.5rem);
|
|
69
|
-
padding-top:
|
|
70
|
-
padding-bottom:
|
|
100
|
+
padding-top: 0;
|
|
101
|
+
padding-bottom: 0;
|
|
71
102
|
flex-shrink: 0;
|
|
72
103
|
position: relative;
|
|
73
104
|
|
|
74
105
|
&.aw-button.theme-ghost.color-surface {
|
|
75
106
|
color: var(--c-on-overlay);
|
|
107
|
+
@apply bg-mono-900;
|
|
108
|
+
margin-top: 0.625rem;
|
|
76
109
|
}
|
|
77
110
|
}
|
|
78
111
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
.aw-file {
|
|
2
|
+
position: relative;
|
|
3
|
+
|
|
4
|
+
& > input[type='file'] {
|
|
5
|
+
appearance: none;
|
|
6
|
+
opacity: 0;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
|
|
11
|
+
position: absolute;
|
|
12
|
+
left: 0;
|
|
13
|
+
top: 0;
|
|
14
|
+
z-index: 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& > input[disabled] {
|
|
18
|
+
cursor: default;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.aw-filter-date-range {
|
|
2
|
+
&.aw-filter-date-range--width-full {
|
|
3
|
+
width: 100%;
|
|
4
|
+
|
|
5
|
+
.aw-button {
|
|
6
|
+
width: 100%;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@screen sm {
|
|
12
|
+
.aw-filter-date-range {
|
|
13
|
+
&.aw-filter-date-range--width-full {
|
|
14
|
+
width: auto;
|
|
15
|
+
|
|
16
|
+
.aw-button {
|
|
17
|
+
width: auto;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -11,5 +11,24 @@
|
|
|
11
11
|
|
|
12
12
|
padding-top: theme('spacing.3', 0.75rem);
|
|
13
13
|
padding-bottom: theme('spacing.3', 0.75rem);
|
|
14
|
+
|
|
15
|
+
& + .aw-button {
|
|
16
|
+
.aw-button__content {
|
|
17
|
+
width: 3rem;
|
|
18
|
+
height: 3rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.aw-button__text {
|
|
22
|
+
font-size: 1rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
& + * {
|
|
28
|
+
--header-padding-top: var(--header-padding-bottom, 0.5rem);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
& + * [class*="--fixed-top"] {
|
|
32
|
+
--header-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-padding-bottom, 0.5rem));
|
|
14
33
|
}
|
|
15
34
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
.aw-icon-menu-item {
|
|
13
13
|
&__icon,
|
|
14
14
|
&__text {
|
|
15
|
-
color: var(--c-
|
|
15
|
+
color: var(--c-mono-100);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
.aw-icon-menu-item {
|
|
22
22
|
&__icon,
|
|
23
23
|
&__text {
|
|
24
|
-
color: var(--c-
|
|
24
|
+
color: var(--c-mono-100);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -100,4 +100,44 @@
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
+
|
|
104
|
+
:root[data-dark="true"] {
|
|
105
|
+
.aw-icon-menu-item {
|
|
106
|
+
&--active {
|
|
107
|
+
&:before {
|
|
108
|
+
background-color: rgba(var(--c-mono-700-rgb), 0.5);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:root[data-dark="true"] {
|
|
116
|
+
.aw-icon-menu-item {
|
|
117
|
+
&:hover {
|
|
118
|
+
.aw-icon-menu-item {
|
|
119
|
+
&__icon,
|
|
120
|
+
&__text {
|
|
121
|
+
color: rgba(var(--c-on-surface-rgb), 0.9)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&--active {
|
|
127
|
+
.aw-icon-menu-item {
|
|
128
|
+
&__icon,
|
|
129
|
+
&__text {
|
|
130
|
+
color: rgba(var(--c-on-surface-rgb), 0.9)
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&__icon {
|
|
136
|
+
color: rgba(var(--c-on-surface-rgb), 0.8)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&__text {
|
|
140
|
+
color: var(--c-mono-400);
|
|
141
|
+
}
|
|
142
|
+
}
|
|
103
143
|
}
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
.aw-info {
|
|
2
|
+
overflow-wrap: break-word;
|
|
3
|
+
|
|
2
4
|
&__label {
|
|
3
|
-
|
|
5
|
+
font-size: theme('fontSize.xs', 0.75rem);
|
|
6
|
+
margin-bottom: 0;
|
|
7
|
+
|
|
8
|
+
& > .aw-description {
|
|
9
|
+
font-size: theme('fontSize.xs', 0.75rem);
|
|
10
|
+
margin-bottom: 0;
|
|
11
|
+
}
|
|
4
12
|
}
|
|
5
13
|
|
|
6
14
|
&__label--required:after {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
.aw-layout-menu {
|
|
2
|
-
@apply bg-
|
|
3
|
-
background-image: linear-gradient(var(--c-brand, transparent), var(--c-brand-tuned, transparent));
|
|
2
|
+
@apply bg-surface;
|
|
4
3
|
|
|
5
4
|
display: grid;
|
|
6
5
|
grid-template-columns: 72px auto;
|
|
7
6
|
grid-template-rows: 80px minmax(0, 2fr) minmax(0, 1fr) 80px minmax(0, auto);
|
|
8
7
|
|
|
9
|
-
z-index:
|
|
8
|
+
z-index: 4;
|
|
10
9
|
|
|
11
10
|
&__logo,
|
|
12
11
|
&__aw-user-menu {
|
|
@@ -56,6 +55,7 @@
|
|
|
56
55
|
@apply bg-surface;
|
|
57
56
|
width: 230px;
|
|
58
57
|
max-height: 100vh;
|
|
58
|
+
border-left: 1px solid var(--c-mono-900);
|
|
59
59
|
|
|
60
60
|
grid-column: 2;
|
|
61
61
|
grid-row: 1 / 6;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--header-padding-bottom: 0.5rem;
|
|
3
|
+
--header-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-padding-bottom, 0.5rem));
|
|
4
|
+
--header-padding-horizontal: var(--container-padding, 1.5rem);
|
|
5
|
+
--header-padding: var(--header-padding-top) var(--header-padding-horizontal) var(--header-padding-bottom);
|
|
6
|
+
--header-height: calc(env(safe-area-inset-top, 0px) + 4rem);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@screen lg {
|
|
10
|
+
:root {
|
|
11
|
+
--header-padding-bottom: 1.5rem;
|
|
12
|
+
--header-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-padding-bottom, 1.5rem));
|
|
13
|
+
--header-padding: var(--header-padding-top) var(--header-padding-horizontal) var(--header-padding-bottom);
|
|
14
|
+
--header-height: calc(env(safe-area-inset-top, 0px) + 5.5rem);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -38,3 +38,15 @@
|
|
|
38
38
|
margin-top: 0.125rem;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
.container .aw-mobile-menu-nav {
|
|
43
|
+
margin-left: calc(-1 * var(--container-padding, 0px));
|
|
44
|
+
margin-right: calc(-1 * var(--container-padding, 0px));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@screen lg {
|
|
48
|
+
.container .aw-mobile-menu-nav {
|
|
49
|
+
margin-left: 0;
|
|
50
|
+
margin-right: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
display: flex;
|
|
29
29
|
align-items: center;
|
|
30
30
|
|
|
31
|
-
padding:
|
|
31
|
+
padding: var(--header-padding);
|
|
32
32
|
|
|
33
33
|
position: sticky;
|
|
34
34
|
top: 0;
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
padding: 1.5rem;
|
|
51
51
|
|
|
52
52
|
position: relative;
|
|
53
|
+
border-radius: 1.25rem;
|
|
53
54
|
|
|
54
55
|
&:after {
|
|
55
56
|
@apply bg-mono-900;
|
|
@@ -131,13 +132,18 @@
|
|
|
131
132
|
max-width: 2rem;
|
|
132
133
|
margin: auto;
|
|
133
134
|
}
|
|
135
|
+
|
|
136
|
+
&.project-logo {
|
|
137
|
+
width: auto;
|
|
138
|
+
}
|
|
134
139
|
}
|
|
135
140
|
|
|
136
141
|
&__version {
|
|
137
142
|
display: block;
|
|
138
|
-
padding: 0 theme('spacing.2', 0.5rem) theme('spacing.2', 0.5rem);
|
|
139
143
|
font-size: theme('fontSize.xs', 0.75rem);
|
|
140
|
-
text-align: center
|
|
144
|
+
text-align: center;
|
|
145
|
+
padding: 0 1rem 0.75rem;
|
|
146
|
+
padding-bottom: calc(env(safe-area-inset-bottom, 0) + 0.5rem);
|
|
141
147
|
}
|
|
142
148
|
|
|
143
149
|
&__close {
|
|
@@ -168,4 +174,10 @@
|
|
|
168
174
|
visibility: visible;
|
|
169
175
|
transition: 60ms opacity ease-out, 0ms visibility;
|
|
170
176
|
}
|
|
177
|
+
|
|
178
|
+
&__back.aw-button,
|
|
179
|
+
&__close.aw-button {
|
|
180
|
+
width: 3rem;
|
|
181
|
+
height: 3rem;
|
|
182
|
+
}
|
|
171
183
|
}
|