@mediusinc/mng-commons-layout 7.4.0 → 8.0.0-rc.2
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/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs +6 -6
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs +17 -11
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs +6 -6
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs +134 -124
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout.mjs +50 -38
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
- package/package.json +11 -14
- package/styles/atlantis/index.scss +1 -15
- package/styles/atlantis/layout/_breadcrumb.scss +2 -2
- package/styles/atlantis/layout/_layout.scss +18 -0
- package/styles/atlantis/layout/_main.scss +1 -1
- package/styles/atlantis/layout/_responsive.scss +64 -68
- package/styles/atlantis/layout/_sidebar_drawer.scss +209 -193
- package/styles/atlantis/layout/_sidebar_horizontal.scss +115 -106
- package/styles/atlantis/layout/_sidebar_reveal.scss +138 -132
- package/styles/atlantis/layout/_sidebar_slim.scss +109 -96
- package/styles/atlantis/layout/_sidebar_slim_plus.scss +101 -101
- package/styles/atlantis/layout/_sidebar_vertical.scss +17 -5
- package/styles/atlantis/layout/_topbar.scss +34 -10
- package/styles/tailwindcss-commons/atlantis/layout/breadcrumb.css +2 -2
- package/styles/tailwindcss-commons/atlantis/layout/main.css +2 -1
- package/styles/tailwindcss-commons/atlantis/layout/responsive.css +64 -68
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-drawer.css +186 -189
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-reveal.css +128 -132
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim-plus.css +98 -101
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim.css +107 -96
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-vertical.css +38 -24
- package/styles/tailwindcss-commons/atlantis/layout/topbar.css +34 -10
- package/types/mediusinc-mng-commons-layout-components.d.ts +9 -6
- package/types/mediusinc-mng-commons-layout.d.ts +5 -5
- package/styles/atlantis/layout/atlantis.scss +0 -0
- package/styles/atlantis/layout/layout.scss +0 -32
|
@@ -1,181 +1,177 @@
|
|
|
1
1
|
@variant media-lg {
|
|
2
|
-
.layout-
|
|
3
|
-
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
display: none;
|
|
7
|
-
}
|
|
2
|
+
.layout-reveal {
|
|
3
|
+
.layout-topbar {
|
|
4
|
+
.topbar-menubutton {
|
|
5
|
+
display: none;
|
|
8
6
|
}
|
|
7
|
+
}
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.app-logo-normal {
|
|
34
|
-
display: none;
|
|
35
|
-
}
|
|
9
|
+
.layout-sidebar {
|
|
10
|
+
height: 100%;
|
|
11
|
+
top: 0;
|
|
12
|
+
transition: transform 0.3s cubic-bezier(0, 0, 0.2, 1);
|
|
13
|
+
transform: translateX(-15.5rem);
|
|
14
|
+
z-index: 999;
|
|
15
|
+
background: var(--surface-ground);
|
|
16
|
+
padding-bottom: 3rem;
|
|
17
|
+
.sidebar-header {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: flex-end;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 1rem;
|
|
22
|
+
padding: 1.5rem 1rem;
|
|
23
|
+
height: 5.71rem;
|
|
24
|
+
.app-logo {
|
|
25
|
+
text-align: right;
|
|
26
|
+
.app-logo-small {
|
|
27
|
+
display: inline;
|
|
28
|
+
order: 1;
|
|
29
|
+
margin-right: 0.5rem;
|
|
36
30
|
}
|
|
37
31
|
|
|
38
|
-
.
|
|
32
|
+
.app-logo-normal {
|
|
39
33
|
display: none;
|
|
40
|
-
width: 1.25rem;
|
|
41
|
-
height: 1.25rem;
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
border: 2px solid var(--primary-color);
|
|
44
|
-
background-color: transparent;
|
|
45
|
-
transition:
|
|
46
|
-
background-color var(--layout-section-transition-duration),
|
|
47
|
-
transform 0.3s;
|
|
48
34
|
}
|
|
49
35
|
}
|
|
50
|
-
|
|
51
|
-
|
|
36
|
+
|
|
37
|
+
.layout-sidebar-anchor {
|
|
38
|
+
display: none;
|
|
39
|
+
padding: 0;
|
|
40
|
+
width: 1.388rem;
|
|
41
|
+
height: 1.25rem;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
border: 2px solid var(--primary-color);
|
|
44
|
+
background-color: transparent;
|
|
45
|
+
transition:
|
|
46
|
+
background-color var(--transition-duration),
|
|
47
|
+
transform 0.3s;
|
|
52
48
|
}
|
|
49
|
+
}
|
|
50
|
+
.layout-menu-container {
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
}
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
54
|
+
.layout-menu {
|
|
55
|
+
.layout-root-menuitem {
|
|
56
|
+
> .layout-menuitem-root-text {
|
|
57
|
+
> span {
|
|
58
|
+
margin-right: auto;
|
|
59
|
+
}
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
61
|
+
> .layout-menuitem-root-icon {
|
|
62
|
+
display: block;
|
|
63
|
+
margin-right: 0.125rem;
|
|
65
64
|
}
|
|
66
65
|
}
|
|
66
|
+
}
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
68
|
+
ul {
|
|
69
|
+
margin: 0;
|
|
70
|
+
padding: 0;
|
|
71
|
+
list-style-type: none;
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
a {
|
|
74
|
+
padding: 0.5rem 1rem;
|
|
75
|
+
.layout-menuitem-text {
|
|
76
|
+
order: 1;
|
|
77
|
+
margin-right: auto;
|
|
78
|
+
}
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
.layout-submenu-toggler {
|
|
81
|
+
order: 2;
|
|
82
|
+
display: none;
|
|
83
|
+
margin-right: 0.5rem;
|
|
84
|
+
}
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
86
|
+
.layout-menuitem-icon {
|
|
87
|
+
order: 3;
|
|
88
|
+
margin-right: 0;
|
|
89
|
+
font-size: 1rem;
|
|
90
|
+
width: auto;
|
|
92
91
|
}
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
94
|
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.layout-content-wrapper {
|
|
98
|
+
margin-left: 4.25rem;
|
|
99
|
+
transition: margin-left 0.3s cubic-bezier(0, 0, 0.2, 1);
|
|
100
|
+
}
|
|
96
101
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
&.layout-sidebar-expanded {
|
|
103
|
+
.layout-sidebar {
|
|
104
|
+
padding-bottom: 0rem;
|
|
105
|
+
transform: translateX(0);
|
|
106
|
+
.layout-menu-container {
|
|
107
|
+
overflow: auto;
|
|
101
108
|
}
|
|
102
|
-
|
|
109
|
+
.sidebar-header {
|
|
110
|
+
padding: 1.5rem 2rem;
|
|
111
|
+
justify-content: space-between;
|
|
112
|
+
.app-logo {
|
|
113
|
+
text-align: left;
|
|
114
|
+
.app-logo-normal {
|
|
115
|
+
display: inline;
|
|
116
|
+
}
|
|
103
117
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
transform: translateX(0);
|
|
108
|
-
.layout-menu-container {
|
|
109
|
-
overflow: auto;
|
|
118
|
+
.app-logo-small {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
110
121
|
}
|
|
111
|
-
.sidebar-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
.app-logo-normal {
|
|
117
|
-
display: inline;
|
|
118
|
-
}
|
|
122
|
+
.layout-sidebar-anchor {
|
|
123
|
+
display: block;
|
|
124
|
+
animation: px-fadein 0.15s linear;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
119
127
|
|
|
120
|
-
|
|
128
|
+
.layout-menu {
|
|
129
|
+
.layout-root-menuitem {
|
|
130
|
+
> .layout-menuitem-root-text {
|
|
131
|
+
> .layout-menuitem-root-icon {
|
|
121
132
|
display: none;
|
|
122
133
|
}
|
|
123
134
|
}
|
|
124
|
-
.layout-sidebar-anchor {
|
|
125
|
-
display: block;
|
|
126
|
-
animation: px-fadein 0.15s linear;
|
|
127
|
-
flex-shrink: 0;
|
|
128
|
-
}
|
|
129
135
|
}
|
|
130
136
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
display: none;
|
|
136
|
-
}
|
|
137
|
+
ul {
|
|
138
|
+
a {
|
|
139
|
+
.layout-submenu-toggler {
|
|
140
|
+
display: block;
|
|
137
141
|
}
|
|
138
142
|
}
|
|
139
|
-
|
|
140
143
|
ul {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
border-radius: var(--border-radius);
|
|
146
|
+
|
|
147
|
+
li {
|
|
148
|
+
a {
|
|
149
|
+
padding-left: 2.5rem;
|
|
144
150
|
}
|
|
145
|
-
}
|
|
146
|
-
ul {
|
|
147
|
-
overflow: hidden;
|
|
148
|
-
border-radius: var(--border-radius);
|
|
149
151
|
|
|
150
152
|
li {
|
|
151
153
|
a {
|
|
152
|
-
padding-left:
|
|
154
|
+
padding-left: 3rem;
|
|
153
155
|
}
|
|
154
156
|
|
|
155
157
|
li {
|
|
156
158
|
a {
|
|
157
|
-
padding-left:
|
|
159
|
+
padding-left: 3.5rem;
|
|
158
160
|
}
|
|
159
161
|
|
|
160
162
|
li {
|
|
161
163
|
a {
|
|
162
|
-
padding-left:
|
|
164
|
+
padding-left: 4rem;
|
|
163
165
|
}
|
|
164
166
|
|
|
165
167
|
li {
|
|
166
168
|
a {
|
|
167
|
-
padding-left:
|
|
169
|
+
padding-left: 5.5rem;
|
|
168
170
|
}
|
|
169
171
|
|
|
170
172
|
li {
|
|
171
173
|
a {
|
|
172
|
-
padding-left:
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
li {
|
|
176
|
-
a {
|
|
177
|
-
padding-left: 5rem;
|
|
178
|
-
}
|
|
174
|
+
padding-left: 5rem;
|
|
179
175
|
}
|
|
180
176
|
}
|
|
181
177
|
}
|
|
@@ -187,17 +183,17 @@
|
|
|
187
183
|
}
|
|
188
184
|
}
|
|
189
185
|
}
|
|
186
|
+
}
|
|
190
187
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
188
|
+
&.layout-sidebar-anchored {
|
|
189
|
+
.sidebar-header {
|
|
190
|
+
.layout-sidebar-anchor {
|
|
191
|
+
background-color: var(--primary-color);
|
|
196
192
|
}
|
|
193
|
+
}
|
|
197
194
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
195
|
+
.layout-content-wrapper {
|
|
196
|
+
margin-left: 22rem;
|
|
201
197
|
}
|
|
202
198
|
}
|
|
203
199
|
}
|
|
@@ -1,93 +1,118 @@
|
|
|
1
1
|
@variant media-lg {
|
|
2
|
-
.layout-
|
|
3
|
-
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
display: none;
|
|
7
|
-
}
|
|
2
|
+
.layout-slim-plus {
|
|
3
|
+
.layout-topbar {
|
|
4
|
+
.topbar-menubutton {
|
|
5
|
+
display: none;
|
|
8
6
|
}
|
|
7
|
+
}
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
.sidebar-header {
|
|
10
|
+
justify-content: center;
|
|
11
|
+
padding: 1.7rem 0;
|
|
12
|
+
.app-logo {
|
|
13
|
+
display: flex;
|
|
11
14
|
justify-content: center;
|
|
12
|
-
|
|
13
|
-
.app-logo {
|
|
14
|
-
display:
|
|
15
|
-
|
|
16
|
-
align-items: center;
|
|
17
|
-
.app-logo-normal {
|
|
18
|
-
display: none;
|
|
19
|
-
}
|
|
15
|
+
align-items: center;
|
|
16
|
+
.app-logo-normal {
|
|
17
|
+
display: none;
|
|
18
|
+
}
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
20
|
+
.app-logo-small {
|
|
21
|
+
display: inline;
|
|
22
|
+
align-items: center;
|
|
25
23
|
}
|
|
26
24
|
}
|
|
25
|
+
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
.layout-sidebar {
|
|
28
|
+
width: 8rem;
|
|
29
|
+
overflow: visible;
|
|
30
|
+
z-index: 999;
|
|
31
|
+
.layout-menu-container {
|
|
32
|
+
overflow: auto;
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
34
|
+
&::-webkit-scrollbar {
|
|
35
|
+
display: none;
|
|
38
36
|
}
|
|
39
37
|
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.layout-content-wrapper {
|
|
41
|
+
margin-left: 8rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.layout-menu {
|
|
45
|
+
padding: 0 1rem;
|
|
46
|
+
ul {
|
|
47
|
+
display: none;
|
|
48
|
+
}
|
|
40
49
|
|
|
41
|
-
.
|
|
42
|
-
|
|
50
|
+
li.active-menuitem {
|
|
51
|
+
> ul {
|
|
52
|
+
display: block;
|
|
53
|
+
}
|
|
43
54
|
}
|
|
44
55
|
|
|
45
|
-
.layout-
|
|
46
|
-
|
|
47
|
-
ul {
|
|
56
|
+
.layout-root-menuitem {
|
|
57
|
+
> .layout-menuitem-root-text {
|
|
48
58
|
display: none;
|
|
49
59
|
}
|
|
50
60
|
|
|
51
|
-
|
|
52
|
-
|
|
61
|
+
> a {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
border-radius: 12px;
|
|
67
|
+
text-align: center;
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
border: none;
|
|
70
|
+
outline: none;
|
|
71
|
+
width: auto;
|
|
72
|
+
height: auto;
|
|
73
|
+
margin: 0 auto 1rem auto;
|
|
74
|
+
padding: 8px;
|
|
75
|
+
|
|
76
|
+
.layout-submenu-toggler {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.layout-menuitem-icon {
|
|
81
|
+
font-size: 1.5rem;
|
|
82
|
+
color: var(--text-color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.layout-menuitem-text {
|
|
86
|
+
font-size: 0.875rem;
|
|
53
87
|
display: block;
|
|
88
|
+
margin-top: 0.25rem;
|
|
89
|
+
color: var(--text-color);
|
|
54
90
|
}
|
|
55
|
-
}
|
|
56
91
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
display: none;
|
|
92
|
+
&:hover {
|
|
93
|
+
background-color: var(--root-menu-item-hover-bg);
|
|
60
94
|
}
|
|
95
|
+
}
|
|
61
96
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
height: auto;
|
|
75
|
-
margin: 0 auto 1rem auto;
|
|
76
|
-
padding: 8px;
|
|
77
|
-
|
|
78
|
-
.layout-submenu-toggler {
|
|
79
|
-
display: none;
|
|
80
|
-
}
|
|
97
|
+
> ul {
|
|
98
|
+
position: fixed;
|
|
99
|
+
left: 8rem;
|
|
100
|
+
top: auto;
|
|
101
|
+
min-width: 15rem;
|
|
102
|
+
background: var(--surface-ground);
|
|
103
|
+
border-radius: var(--border-radius);
|
|
104
|
+
box-shadow: var(--sidebar-shadow);
|
|
105
|
+
padding: 0.5rem;
|
|
106
|
+
max-height: 20rem;
|
|
107
|
+
overflow: auto;
|
|
108
|
+
z-index: 999;
|
|
81
109
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
110
|
+
a {
|
|
111
|
+
padding-right: 0.5rem;
|
|
112
|
+
color: var(--text-color);
|
|
113
|
+
border-radius: var(--border-radius);
|
|
86
114
|
|
|
87
|
-
.layout-menuitem-
|
|
88
|
-
font-size: 0.875rem;
|
|
89
|
-
display: block;
|
|
90
|
-
margin-top: 0.25rem;
|
|
115
|
+
.layout-menuitem-icon {
|
|
91
116
|
color: var(--text-color);
|
|
92
117
|
}
|
|
93
118
|
|
|
@@ -96,62 +121,34 @@
|
|
|
96
121
|
}
|
|
97
122
|
}
|
|
98
123
|
|
|
99
|
-
|
|
100
|
-
position: absolute;
|
|
101
|
-
left: 8rem;
|
|
102
|
-
top: 0;
|
|
103
|
-
min-width: 15rem;
|
|
104
|
-
background: var(--surface-ground);
|
|
105
|
-
border-radius: var(--border-radius);
|
|
106
|
-
box-shadow: var(--sidebar-shadow);
|
|
107
|
-
padding: 0.5rem;
|
|
108
|
-
max-height: 20rem;
|
|
109
|
-
overflow: auto;
|
|
110
|
-
z-index: 999;
|
|
111
|
-
|
|
124
|
+
li {
|
|
112
125
|
a {
|
|
113
|
-
padding-
|
|
114
|
-
color: var(--text-color);
|
|
115
|
-
border-radius: var(--border-radius);
|
|
116
|
-
|
|
117
|
-
.layout-menuitem-icon {
|
|
118
|
-
color: var(--text-color);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:hover {
|
|
122
|
-
background-color: var(--root-menu-item-hover-bg);
|
|
123
|
-
}
|
|
126
|
+
padding-left: 0.5rem;
|
|
124
127
|
}
|
|
125
128
|
|
|
126
129
|
li {
|
|
127
130
|
a {
|
|
128
|
-
padding-left:
|
|
131
|
+
padding-left: 1rem;
|
|
129
132
|
}
|
|
130
133
|
|
|
131
134
|
li {
|
|
132
135
|
a {
|
|
133
|
-
padding-left:
|
|
136
|
+
padding-left: 1.5rem;
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
li {
|
|
137
140
|
a {
|
|
138
|
-
padding-left:
|
|
141
|
+
padding-left: 2rem;
|
|
139
142
|
}
|
|
140
143
|
|
|
141
144
|
li {
|
|
142
145
|
a {
|
|
143
|
-
padding-left:
|
|
146
|
+
padding-left: 2.5rem;
|
|
144
147
|
}
|
|
145
148
|
|
|
146
149
|
li {
|
|
147
150
|
a {
|
|
148
|
-
padding-left:
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
li {
|
|
152
|
-
a {
|
|
153
|
-
padding-left: 3rem;
|
|
154
|
-
}
|
|
151
|
+
padding-left: 3rem;
|
|
155
152
|
}
|
|
156
153
|
}
|
|
157
154
|
}
|