prlg-ui 1.8.315 → 1.8.316
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/dist/scss/animations.scss +137 -18
- package/dist/scss/colors.scss +1 -4
- package/dist/scss/global.scss +21 -0
- package/dist/scss/main.scss +6 -32
- package/dist/scss/mixins.scss +37 -47
- package/dist/scss/reset.scss +27 -25
- package/dist/scss/typography.scss +41 -0
- package/dist/scss/vars.scss +19 -0
- package/package.json +1 -1
- package/dist/scss/root-vars.scss +0 -12
|
@@ -1,30 +1,149 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
// Classes animation vue (https://vuejs.org/guide/built-ins/transition#css-based-transitions)
|
|
2
|
+
// 1. v-enter-from
|
|
3
|
+
// 2. v-enter-active
|
|
4
|
+
// 3. v-enter-to
|
|
5
|
+
// 4. v-leave-from
|
|
6
|
+
// 5. v-leave-active
|
|
7
|
+
// 6. v-leave-to
|
|
5
8
|
|
|
6
|
-
|
|
7
|
-
|
|
9
|
+
//FADE
|
|
10
|
+
.fade-enter-from,
|
|
11
|
+
.fade-leave-to {
|
|
8
12
|
opacity: 0;
|
|
9
13
|
}
|
|
10
14
|
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
.fade-enter-active,
|
|
16
|
+
.fade-leave-active {
|
|
17
|
+
transition: opacity var(--animation-duration) ease-in-out;
|
|
14
18
|
}
|
|
15
19
|
|
|
16
|
-
//
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
//FADE-IN
|
|
21
|
+
@keyframes fadeIn {
|
|
22
|
+
from {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|
|
25
|
+
to {
|
|
26
|
+
opacity: 1;
|
|
27
|
+
}
|
|
20
28
|
}
|
|
21
29
|
|
|
22
|
-
.
|
|
23
|
-
|
|
30
|
+
.fadeIn-enter-from,
|
|
31
|
+
.fadeIn-leave-to {
|
|
24
32
|
opacity: 0;
|
|
25
33
|
}
|
|
26
34
|
|
|
27
|
-
.
|
|
28
|
-
|
|
35
|
+
.fadeIn-enter-to,
|
|
36
|
+
.fadeIn-leave-from {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.fadeIn-enter-active,
|
|
41
|
+
.fadeIn-leave-active {
|
|
42
|
+
transition: opacity var(--animation-duration) ease-in-out;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
//FADE-OUT
|
|
46
|
+
@keyframes fadeOut {
|
|
47
|
+
from {
|
|
48
|
+
opacity: 1;
|
|
49
|
+
}
|
|
50
|
+
to {
|
|
51
|
+
opacity: 0;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fadeOut-enter-from,
|
|
56
|
+
.fadeOut-leave-to {
|
|
57
|
+
opacity: 1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.fadeOut-enter-to,
|
|
61
|
+
.fadeOut-leave-from {
|
|
29
62
|
opacity: 0;
|
|
30
|
-
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.fadeOut-enter-active,
|
|
66
|
+
.fadeOut-leave-active {
|
|
67
|
+
transition: opacity var(--animation-duration) ease-in-out;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
//SLIDE-RIGHT-IN
|
|
71
|
+
@keyframes slideRightIn {
|
|
72
|
+
from {
|
|
73
|
+
transform: translateX(200%);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
to {
|
|
77
|
+
transform: translateX(0%);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@keyframes slideRightOut {
|
|
82
|
+
from {
|
|
83
|
+
transform: translateX(0%);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
to {
|
|
87
|
+
transform: translateX(200%);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@keyframes slideTopIn {
|
|
92
|
+
from {
|
|
93
|
+
transform: translateY(-200%);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
to {
|
|
97
|
+
transform: translateY(0%);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@keyframes slideTopOut {
|
|
102
|
+
from {
|
|
103
|
+
transform: translateY(0%);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
to {
|
|
107
|
+
transform: translateY(-200%);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@keyframes slideLeftIn {
|
|
112
|
+
from {
|
|
113
|
+
transform: translateX(-200%);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
to {
|
|
117
|
+
transform: translateX(0%);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@keyframes slideLeftOut {
|
|
122
|
+
from {
|
|
123
|
+
transform: translateX(0%);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
to {
|
|
127
|
+
transform: translateX(-200%);
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
@keyframes slideBottomIn {
|
|
132
|
+
from {
|
|
133
|
+
transform: translateY(200%);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
to {
|
|
137
|
+
transform: translateY(0%);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@keyframes slideBottomOut {
|
|
142
|
+
from {
|
|
143
|
+
transform: translateY(0%);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
to {
|
|
147
|
+
transform: translateY(200%);
|
|
148
|
+
}
|
|
149
|
+
}
|
package/dist/scss/colors.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
//GLOBAL
|
|
2
2
|
:root {
|
|
3
3
|
--theme-color-m: #e3e9ed;
|
|
4
|
-
--animate-duration: 0.3s;
|
|
5
4
|
}
|
|
6
5
|
|
|
7
6
|
//NEUTRAL
|
|
@@ -16,7 +15,6 @@
|
|
|
16
15
|
--theme-neutral-400: #bfbfbf;
|
|
17
16
|
--theme-neutral-400_40: #bfbfbf66;
|
|
18
17
|
--theme-neutral-500: #a1a1a1; //use btn icon
|
|
19
|
-
--theme-neutral-550: #7b7b7b;
|
|
20
18
|
--theme-neutral-600: #525252;
|
|
21
19
|
--theme-neutral-700: #3d3d3d;
|
|
22
20
|
--theme-neutral-800: #292929;
|
|
@@ -40,7 +38,7 @@
|
|
|
40
38
|
--theme-neutral-icon-primary: #90a4ae;
|
|
41
39
|
--theme-neutral-icon-secondary: var(--theme-neutral-400);
|
|
42
40
|
--theme-neutral-icon-caption: var(--theme-neutral-500);
|
|
43
|
-
--theme-neutral-icon-disabled:
|
|
41
|
+
--theme-neutral-icon-disabled: var(--theme-neutral-300);
|
|
44
42
|
--theme-neutral-icon-negative: var(--theme-neutral-0);
|
|
45
43
|
|
|
46
44
|
--theme-neutral-border-default: var(--theme-neutral-300);
|
|
@@ -105,7 +103,6 @@
|
|
|
105
103
|
|
|
106
104
|
//WARN
|
|
107
105
|
:root {
|
|
108
|
-
--theme-warn-50: #faf4ee; //use fill
|
|
109
106
|
--theme-warn-100: #fdf4ea; //use fill
|
|
110
107
|
--theme-warn-200: #fadfc1; //use stroke
|
|
111
108
|
--theme-warn-300: #f4c083; //hover
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.overlay {
|
|
2
|
+
position: fixed;
|
|
3
|
+
top: 0;
|
|
4
|
+
right: 0;
|
|
5
|
+
bottom: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
|
|
8
|
+
width: 100dvw;
|
|
9
|
+
height: 100dvh;
|
|
10
|
+
|
|
11
|
+
background-color: rgba(#000, 0.3);
|
|
12
|
+
z-index: 1000;
|
|
13
|
+
|
|
14
|
+
&[data-state="open"] {
|
|
15
|
+
animation: fadeIn var(--animation-duration) ease-in-out;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&[data-state="closed"] {
|
|
19
|
+
animation: fadeOut var(--animation-duration) ease-in-out;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/dist/scss/main.scss
CHANGED
|
@@ -1,35 +1,9 @@
|
|
|
1
|
-
@use "./
|
|
1
|
+
@use "./vars.scss";
|
|
2
2
|
@use "./colors.scss";
|
|
3
|
-
@use "./
|
|
4
|
-
@use "./mixins.scss"
|
|
3
|
+
@use "./animations.scss";
|
|
4
|
+
@use "./mixins.scss";
|
|
5
5
|
@use "./fonts.scss";
|
|
6
|
+
@use "./reset.scss";
|
|
7
|
+
@use "./typography.scss";
|
|
6
8
|
|
|
7
|
-
.
|
|
8
|
-
width: 100%;
|
|
9
|
-
margin: 0 auto;
|
|
10
|
-
padding: 0 10px;
|
|
11
|
-
max-width: 768px; // Базовая ширина для мобильных
|
|
12
|
-
|
|
13
|
-
@include respond(lg) {
|
|
14
|
-
max-width: 991px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@include respond(xl) {
|
|
18
|
-
max-width: 1200px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@include respond(xxl) {
|
|
22
|
-
max-width: 1400px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@include respond(xxxl) {
|
|
26
|
-
max-width: 1600px;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.page-title {
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
font-size: 24px;
|
|
33
|
-
line-height: 120%;
|
|
34
|
-
color: var(--theme-neutral-text-title);
|
|
35
|
-
}
|
|
9
|
+
@use "./global.scss";
|
package/dist/scss/mixins.scss
CHANGED
|
@@ -19,48 +19,49 @@
|
|
|
19
19
|
@mixin font-face($font-family, $weights) {
|
|
20
20
|
@each $weight in $weights {
|
|
21
21
|
$weight-name: if(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
22
|
+
$weight == 100,
|
|
23
|
+
"Thin",
|
|
24
|
+
if(
|
|
25
|
+
$weight == 200,
|
|
26
|
+
"ExtraLight",
|
|
27
|
+
if(
|
|
28
|
+
$weight == 300,
|
|
29
|
+
"Light",
|
|
30
|
+
if(
|
|
31
|
+
$weight == 400,
|
|
32
|
+
"Regular",
|
|
33
|
+
if(
|
|
34
|
+
$weight == 500,
|
|
35
|
+
"Medium",
|
|
36
|
+
if(
|
|
37
|
+
$weight == 600,
|
|
38
|
+
"SemiBold",
|
|
39
|
+
if(
|
|
40
|
+
$weight == 700,
|
|
41
|
+
"Bold",
|
|
42
|
+
if(
|
|
43
|
+
$weight == 800,
|
|
44
|
+
"ExtraBold",
|
|
45
|
+
if($weight == 900, "Black", $weight)
|
|
46
|
+
)
|
|
47
|
+
)
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
)
|
|
51
|
+
)
|
|
52
|
+
)
|
|
53
53
|
);
|
|
54
54
|
@font-face {
|
|
55
55
|
font-family: "#{$font-family}";
|
|
56
56
|
font-weight: #{$weight};
|
|
57
|
-
src: url("/fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff2")
|
|
58
|
-
|
|
57
|
+
src: url("/fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff2")
|
|
58
|
+
format("woff2"),
|
|
59
|
+
url("/fonts/#{$font-family}/#{$font-family}-#{$weight-name}.woff")
|
|
60
|
+
format("woff");
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
}
|
|
62
64
|
|
|
63
|
-
|
|
64
65
|
/**
|
|
65
66
|
* Миксин для создания медиа-запросов с минимальной шириной
|
|
66
67
|
*
|
|
@@ -76,7 +77,6 @@
|
|
|
76
77
|
* Применит стили для экранов шириной от 768px и больше
|
|
77
78
|
*/
|
|
78
79
|
|
|
79
|
-
|
|
80
80
|
@mixin media-min-width($width) {
|
|
81
81
|
@media screen and (min-width: $width) {
|
|
82
82
|
@content;
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
} @else if $breakpoint == xl {
|
|
120
120
|
@media (min-width: 1220px) {
|
|
121
121
|
@content;
|
|
122
|
-
}
|
|
122
|
+
}
|
|
123
123
|
} @else if $breakpoint == xxl {
|
|
124
124
|
@media (min-width: 1420px) {
|
|
125
125
|
@content;
|
|
@@ -164,14 +164,4 @@
|
|
|
164
164
|
&::-webkit-scrollbar-corner {
|
|
165
165
|
background: transparent;
|
|
166
166
|
}
|
|
167
|
-
|
|
168
|
-
// Add paddings depending on direction
|
|
169
|
-
// @if $direction == "right" {
|
|
170
|
-
// padding-right: 10px;
|
|
171
|
-
// } @else if $direction == "bottom" {
|
|
172
|
-
// padding-bottom: 10px;
|
|
173
|
-
// } @else if $direction == "both" {
|
|
174
|
-
// padding-right: 10px;
|
|
175
|
-
// padding-bottom: 10px;
|
|
176
|
-
// }
|
|
177
|
-
}
|
|
167
|
+
}
|
package/dist/scss/reset.scss
CHANGED
|
@@ -1,53 +1,55 @@
|
|
|
1
1
|
* {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
box-sizing: border-box;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
html,
|
|
8
8
|
body {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
font-size: var(--font-size);
|
|
13
|
+
line-height: 1.5;
|
|
11
14
|
}
|
|
12
15
|
|
|
13
16
|
body {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
color: #333;
|
|
17
|
+
font-family: "Inter", sans-serif;
|
|
18
|
+
-webkit-font-smoothing: antialiased;
|
|
19
|
+
-moz-osx-font-smoothing: grayscale;
|
|
20
|
+
|
|
21
|
+
color: var(--theme-neutral-950);
|
|
20
22
|
}
|
|
21
23
|
|
|
22
24
|
a {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
+
text-decoration: none;
|
|
26
|
+
color: inherit;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
button {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
border: none;
|
|
31
|
+
background: none;
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
font: inherit;
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
ul,
|
|
35
37
|
ol {
|
|
36
|
-
|
|
38
|
+
list-style: none;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
img {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
max-width: 100%;
|
|
43
|
+
height: auto;
|
|
44
|
+
display: block;
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
input,
|
|
46
48
|
textarea,
|
|
47
49
|
select {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
font: inherit;
|
|
51
|
+
border: none;
|
|
52
|
+
outline: none;
|
|
51
53
|
}
|
|
52
54
|
|
|
53
55
|
h1,
|
|
@@ -56,5 +58,5 @@ h3,
|
|
|
56
58
|
h4,
|
|
57
59
|
h5,
|
|
58
60
|
h6 {
|
|
59
|
-
|
|
61
|
+
font-weight: normal;
|
|
60
62
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
h1 {
|
|
2
|
+
font-size: 1.5rem;
|
|
3
|
+
line-height: 120%;
|
|
4
|
+
color: var(--theme-neutral-text-title);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
h2 {
|
|
8
|
+
font-size: 1.25rem;
|
|
9
|
+
line-height: 120%;
|
|
10
|
+
color: var(--theme-neutral-text-title);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
h3 {
|
|
14
|
+
font-size: 1.1875rem;
|
|
15
|
+
line-height: 120%;
|
|
16
|
+
color: var(--theme-neutral-text-title);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
h4 {
|
|
20
|
+
font-size: 1rem;
|
|
21
|
+
line-height: 120%;
|
|
22
|
+
color: var(--theme-neutral-text-title);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h5 {
|
|
26
|
+
font-size: 0.9375rem;
|
|
27
|
+
line-height: 120%;
|
|
28
|
+
color: var(--theme-neutral-text-title);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
h6 {
|
|
32
|
+
font-size: 0.8125rem;
|
|
33
|
+
line-height: 120%;
|
|
34
|
+
color: var(--theme-neutral-text-title);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
p {
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
line-height: 160%;
|
|
40
|
+
color: var(--theme-neutral-text-body);
|
|
41
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use "./mixins.scss" as *;
|
|
2
|
+
|
|
3
|
+
//1rem = 16px
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
//GLOBAL
|
|
7
|
+
--animation-duration: 0.3s;
|
|
8
|
+
--font-size: 14px;
|
|
9
|
+
|
|
10
|
+
--card-border-box-shadow: 1px 0px 0px 0px #74889c33 inset,
|
|
11
|
+
-1px 0px 0px 0px #74889c33 inset, 0px 1px 0px 0px #74889c33 inset,
|
|
12
|
+
0px -1px 0px 0px #74889c33 inset;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include respond(md) {
|
|
16
|
+
:root {
|
|
17
|
+
--font-size: 16px;
|
|
18
|
+
}
|
|
19
|
+
}
|
package/package.json
CHANGED
package/dist/scss/root-vars.scss
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//MODAL
|
|
2
|
-
:root {
|
|
3
|
-
--modal-z-index: 1000;
|
|
4
|
-
--drawer-z-index: 1000;
|
|
5
|
-
--confirm-z-index: 1008;
|
|
6
|
-
--toast-z-index: 1009;
|
|
7
|
-
|
|
8
|
-
//BOX-SHADOW
|
|
9
|
-
--dropdown-shadow: -1px 1px 10px 0 #8D8F9340;
|
|
10
|
-
--popover-shadow: 0 12px 25px 0 #0000001A, 0 0 8px 0 #0000001A;
|
|
11
|
-
|
|
12
|
-
}
|