urfu-ui-kit-vanilla 2.0.4 → 2.1.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/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ Copyright 2024 ФГАОУ ВО «УрФУ имени первого Президента России Б.Н. Ельцина»
8
+
9
+ Licensed under the Apache License, Version 2.0 (the "License");
10
+ you may not use this file except in compliance with the License.
11
+ You may obtain a copy of the License at
12
+
13
+ http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+ Unless required by applicable law or agreed to in writing, software
16
+ distributed under the License is distributed on an "AS IS" BASIS,
17
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+ See the License for the specific language governing permissions and
19
+ limitations under the License.
package/README.md CHANGED
@@ -1 +1,5 @@
1
- Документация: https://uikit.my1.urfu.ru
1
+ Documentation: https://uikit.my1.urfu.ru
2
+
3
+ ## License
4
+
5
+ This project is licensed under the Apache License 2.0 — see the [LICENSE](./LICENSE) file for details.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "urfu-ui-kit-vanilla",
3
3
  "description": "UrFU UI-Kit for Vanilla Web",
4
- "license": "UNLICENSED",
4
+ "license": "Apache-2.0",
5
5
  "private": false,
6
- "version": "2.0.4",
6
+ "version": "2.1.0",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "start": "vite",
10
- "build": "vite build",
10
+ "build": "vite build && copy LICENSE dist\\",
11
11
  "preview": "vite preview"
12
12
  },
13
13
  "devDependencies": {
package/src/main.css CHANGED
@@ -1,26 +1,5 @@
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/v30/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/v30/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/v30/JTUHjIg1_i6t8kCHKm4532VJOt5-QNFgpCuM70w-.ttf) format('truetype');
23
- }
24
3
  * {
25
4
  box-sizing: border-box;
26
5
  }
@@ -75,126 +54,126 @@ button {
75
54
  }
76
55
  @font-face {
77
56
  font-family: 'Montserrat';
78
- src: url('../fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
57
+ src: url('fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
79
58
  font-weight: 100;
80
59
  font-style: normal;
81
60
  font-display: swap;
82
61
  }
83
62
  @font-face {
84
63
  font-family: 'Montserrat';
85
- src: url('../fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
64
+ src: url('fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
86
65
  font-weight: 100;
87
66
  font-style: italic;
88
67
  font-display: swap;
89
68
  }
90
69
  @font-face {
91
70
  font-family: 'Montserrat';
92
- src: url('../fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
71
+ src: url('fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
93
72
  font-weight: 200;
94
73
  font-style: normal;
95
74
  font-display: swap;
96
75
  }
97
76
  @font-face {
98
77
  font-family: 'Montserrat';
99
- src: url('../fonts/montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
78
+ src: url('fonts/montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
100
79
  font-weight: 200;
101
80
  font-style: italic;
102
81
  font-display: swap;
103
82
  }
104
83
  @font-face {
105
84
  font-family: 'Montserrat';
106
- src: url('../fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
85
+ src: url('fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
107
86
  font-weight: 300;
108
87
  font-style: normal;
109
88
  font-display: swap;
110
89
  }
111
90
  @font-face {
112
91
  font-family: 'Montserrat';
113
- src: url('../fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
92
+ src: url('fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
114
93
  font-weight: 300;
115
94
  font-style: italic;
116
95
  font-display: swap;
117
96
  }
118
97
  @font-face {
119
98
  font-family: 'Montserrat';
120
- src: url('../fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
99
+ src: url('fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
121
100
  font-weight: 400;
122
101
  font-style: normal;
123
102
  font-display: swap;
124
103
  }
125
104
  @font-face {
126
105
  font-family: 'Montserrat';
127
- src: url('../fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
106
+ src: url('fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
128
107
  font-weight: 400;
129
108
  font-style: italic;
130
109
  font-display: swap;
131
110
  }
132
111
  @font-face {
133
112
  font-family: 'Montserrat';
134
- src: url('../fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
113
+ src: url('fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
135
114
  font-weight: 500;
136
115
  font-style: normal;
137
116
  font-display: swap;
138
117
  }
139
118
  @font-face {
140
119
  font-family: 'Montserrat';
141
- src: url('../fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
120
+ src: url('fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
142
121
  font-weight: 500;
143
122
  font-style: italic;
144
123
  font-display: swap;
145
124
  }
146
125
  @font-face {
147
126
  font-family: 'Montserrat';
148
- src: url('../fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
127
+ src: url('fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
149
128
  font-weight: 600;
150
129
  font-style: normal;
151
130
  font-display: swap;
152
131
  }
153
132
  @font-face {
154
133
  font-family: 'Montserrat';
155
- src: url('../fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
134
+ src: url('fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
156
135
  font-weight: 600;
157
136
  font-style: italic;
158
137
  font-display: swap;
159
138
  }
160
139
  @font-face {
161
140
  font-family: 'Montserrat';
162
- src: url('../fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
141
+ src: url('fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
163
142
  font-weight: 700;
164
143
  font-style: normal;
165
144
  font-display: swap;
166
145
  }
167
146
  @font-face {
168
147
  font-family: 'Montserrat';
169
- src: url('../fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
148
+ src: url('fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
170
149
  font-weight: 700;
171
150
  font-style: italic;
172
151
  font-display: swap;
173
152
  }
174
153
  @font-face {
175
154
  font-family: 'Montserrat';
176
- src: url('../fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
155
+ src: url('fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
177
156
  font-weight: 800;
178
157
  font-style: normal;
179
158
  font-display: swap;
180
159
  }
181
160
  @font-face {
182
161
  font-family: 'Montserrat';
183
- src: url('../fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
162
+ src: url('fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
184
163
  font-weight: 800;
185
164
  font-style: italic;
186
165
  font-display: swap;
187
166
  }
188
167
  @font-face {
189
168
  font-family: 'Montserrat';
190
- src: url('../fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
169
+ src: url('fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
191
170
  font-weight: 900;
192
171
  font-style: normal;
193
172
  font-display: swap;
194
173
  }
195
174
  @font-face {
196
175
  font-family: 'Montserrat';
197
- src: url('../fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
176
+ src: url('fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
198
177
  font-weight: 900;
199
178
  font-style: italic;
200
179
  font-display: swap;