urfu-ui-kit-vanilla 1.0.41 → 1.0.42
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/package.json +9 -3
- package/src/js/upward.js +11 -0
- package/src/main.css +63 -5
- package/src/main.ts +10 -0
package/package.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
"description": "UrFU UI-Kit for Vanilla Web",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.42",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"start": "vite
|
|
9
|
+
"start": "vite",
|
|
10
10
|
"build": "vite build",
|
|
11
11
|
"preview": "vite preview"
|
|
12
12
|
},
|
|
@@ -19,5 +19,11 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"air-datepicker": "^3.3.5"
|
|
21
21
|
},
|
|
22
|
-
"files": [
|
|
22
|
+
"files": [
|
|
23
|
+
"src/main.ts",
|
|
24
|
+
"src/js/*",
|
|
25
|
+
"src/main.css",
|
|
26
|
+
"src/ui-icons.css",
|
|
27
|
+
"src/fonts/*"
|
|
28
|
+
]
|
|
23
29
|
}
|
package/src/js/upward.js
ADDED
package/src/main.css
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
@import "ui-icons.css";
|
|
2
2
|
@import "ui-icons.css";
|
|
3
|
+
@font-face {
|
|
4
|
+
font-family: 'Montserrat';
|
|
5
|
+
font-style: normal;
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
font-display: swap;
|
|
8
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCtr6Ew-.ttf) format('truetype');
|
|
9
|
+
}
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Montserrat';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 600;
|
|
14
|
+
font-display: swap;
|
|
15
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCu170w-.ttf) format('truetype');
|
|
16
|
+
}
|
|
17
|
+
@font-face {
|
|
18
|
+
font-family: 'Montserrat';
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 700;
|
|
21
|
+
font-display: swap;
|
|
22
|
+
src: url(https://fonts.gstatic.com/s/montserrat/v26/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w-.ttf) format('truetype');
|
|
23
|
+
}
|
|
3
24
|
* {
|
|
4
25
|
box-sizing: border-box;
|
|
5
26
|
}
|
|
@@ -1523,13 +1544,21 @@ button {
|
|
|
1523
1544
|
transition-duration: 0.15s;
|
|
1524
1545
|
transition-timing-function: ease-in-out;
|
|
1525
1546
|
background-color: transparent;
|
|
1526
|
-
color: #
|
|
1547
|
+
color: #A7A7A7;
|
|
1548
|
+
border-bottom: 1px solid #A7A7A7;
|
|
1549
|
+
}
|
|
1550
|
+
.u-tab-line:hover {
|
|
1551
|
+
color: #748AB9;
|
|
1552
|
+
background-color: #F2F3F5;
|
|
1553
|
+
border-bottom: 1px solid #748AB9;
|
|
1554
|
+
border-top-left-radius: 10px;
|
|
1555
|
+
border-top-right-radius: 10px;
|
|
1527
1556
|
}
|
|
1528
|
-
.u-tab-line:hover,
|
|
1529
1557
|
.u-tab-line:focus,
|
|
1530
1558
|
.u-tab-line.u-tab-active {
|
|
1531
1559
|
color: #1E4391;
|
|
1532
1560
|
border-bottom: 2px solid #1E4391;
|
|
1561
|
+
background-color: transparent;
|
|
1533
1562
|
}
|
|
1534
1563
|
.u-tab-line-secondary {
|
|
1535
1564
|
cursor: pointer;
|
|
@@ -1770,7 +1799,7 @@ button {
|
|
|
1770
1799
|
white-space: nowrap;
|
|
1771
1800
|
font-size: 10px;
|
|
1772
1801
|
line-height: 1.6;
|
|
1773
|
-
font-weight:
|
|
1802
|
+
font-weight: 600;
|
|
1774
1803
|
height: 20px;
|
|
1775
1804
|
padding: 0 8px;
|
|
1776
1805
|
border-radius: 8px;
|
|
@@ -3006,7 +3035,7 @@ button {
|
|
|
3006
3035
|
height: 100%;
|
|
3007
3036
|
justify-content: space-between;
|
|
3008
3037
|
min-height: 188px;
|
|
3009
|
-
padding: 20px;
|
|
3038
|
+
padding: 20px 20px 62px;
|
|
3010
3039
|
color: #1e4391;
|
|
3011
3040
|
font-size: 24px;
|
|
3012
3041
|
font-weight: 600;
|
|
@@ -3043,7 +3072,7 @@ button {
|
|
|
3043
3072
|
height: 100%;
|
|
3044
3073
|
justify-content: space-between;
|
|
3045
3074
|
min-height: 188px;
|
|
3046
|
-
padding: 20px;
|
|
3075
|
+
padding: 20px 20px 62px;
|
|
3047
3076
|
font-size: 24px;
|
|
3048
3077
|
font-weight: 600;
|
|
3049
3078
|
line-height: 28px;
|
|
@@ -3069,6 +3098,35 @@ button {
|
|
|
3069
3098
|
bottom: 20px;
|
|
3070
3099
|
right: 20px;
|
|
3071
3100
|
}
|
|
3101
|
+
.u-upward {
|
|
3102
|
+
position: fixed;
|
|
3103
|
+
bottom: 700px;
|
|
3104
|
+
right: 25px;
|
|
3105
|
+
width: 62px;
|
|
3106
|
+
height: 62px;
|
|
3107
|
+
background-image: url("data:image/svg+xml, %3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M13.6402 7.7682C13.2159 8.12176 12.5853 8.06444 12.2318 7.64016L7.99997 2.56202L3.7682 7.64016C3.41463 8.06444 2.78407 8.12176 2.35979 7.7682C1.93551 7.41463 1.87819 6.78407 2.23175 6.35979L7.23174 0.359791C7.42174 0.131798 7.70318 -2.47955e-05 7.99996 -2.47955e-05C8.29674 -2.47955e-05 8.57819 0.131797 8.76819 0.359789L13.7682 6.35979C14.1218 6.78407 14.0644 7.41463 13.6402 7.7682Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8 2.14258C8.55228 2.14258 9 2.59029 9 3.14258L9 14.1426C9 14.6949 8.55229 15.1426 8 15.1426C7.44772 15.1426 7 14.6949 7 14.1426L7 3.14258C7 2.59029 7.44772 2.14258 8 2.14258Z' fill='%231E4391'/%3E%3C/svg%3E%0A");
|
|
3108
|
+
background-repeat: no-repeat;
|
|
3109
|
+
background-position: center;
|
|
3110
|
+
box-shadow: 0px 0px 6px rgba(111, 127, 150, 0.25);
|
|
3111
|
+
cursor: pointer;
|
|
3112
|
+
visibility: hidden;
|
|
3113
|
+
opacity: 0;
|
|
3114
|
+
z-index: 100;
|
|
3115
|
+
border-radius: 50%;
|
|
3116
|
+
transition: 0.5s;
|
|
3117
|
+
background-color: #E7F2FF;
|
|
3118
|
+
border: 1px solid #E3EAF1;
|
|
3119
|
+
filter: drop-shadow(0px 0px 6px rgba(111, 127, 150, 0.25));
|
|
3120
|
+
}
|
|
3121
|
+
.u-upward.active {
|
|
3122
|
+
bottom: 25px;
|
|
3123
|
+
visibility: visible;
|
|
3124
|
+
opacity: 1;
|
|
3125
|
+
}
|
|
3126
|
+
.u-upward:hover {
|
|
3127
|
+
border: 1px solid #CAD1E1;
|
|
3128
|
+
filter: drop-shadow(0px 0px 6px rgba(111, 127, 150, 0.25));
|
|
3129
|
+
}
|
|
3072
3130
|
.bg-gradient-main {
|
|
3073
3131
|
background: linear-gradient(270deg, #FF2D7F -0.71%, #FB3727 47.63%, #FEEA0F 100%);
|
|
3074
3132
|
}
|
package/src/main.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// import AirDatepicker from 'air-datepicker';
|
|
2
|
+
// import 'air-datepicker/air-datepicker.css';
|
|
3
|
+
import "./main.css";
|
|
4
|
+
import "./js/upward.js"
|
|
5
|
+
|
|
6
|
+
// new AirDatepicker('#airdatepicker', {
|
|
7
|
+
// toggleSelected: true,
|
|
8
|
+
// range: true,
|
|
9
|
+
// position: "bottom right",
|
|
10
|
+
// })
|