urfu-ui-kit-vanilla 2.1.0 → 2.1.1

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 CHANGED
@@ -3,16 +3,19 @@
3
3
  "description": "UrFU UI-Kit for Vanilla Web",
4
4
  "license": "Apache-2.0",
5
5
  "private": false,
6
- "version": "2.1.0",
6
+ "version": "2.1.1",
7
7
  "type": "module",
8
8
  "scripts": {
9
- "start": "vite",
9
+ "start": "npm-run-all --parallel less:watch vite",
10
10
  "build": "vite build && copy LICENSE dist\\",
11
- "preview": "vite preview"
11
+ "less:watch": "chokidar \"src/**/*.less\" -c \"npx lessc src/main.less src/main.css\"",
12
+ "vite": "vite"
12
13
  },
13
14
  "devDependencies": {
14
15
  "@types/node": "^18.15.11",
16
+ "chokidar-cli": "^3.0.0",
15
17
  "less": "^4.1.3",
18
+ "npm-run-all": "^4.1.5",
16
19
  "typescript": "^4.9.3",
17
20
  "vite": "^4.2.0"
18
21
  },
package/src/main.css CHANGED
@@ -1,5 +1,4 @@
1
1
  @import "ui-icons.css";
2
- @import "ui-icons.css";
3
2
  * {
4
3
  box-sizing: border-box;
5
4
  }
@@ -54,126 +53,126 @@ button {
54
53
  }
55
54
  @font-face {
56
55
  font-family: 'Montserrat';
57
- src: url('fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
56
+ src: url('./fonts/Montserrat/Montserrat-Thin.ttf') format('truetype');
58
57
  font-weight: 100;
59
58
  font-style: normal;
60
59
  font-display: swap;
61
60
  }
62
61
  @font-face {
63
62
  font-family: 'Montserrat';
64
- src: url('fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
63
+ src: url('./fonts/Montserrat/Montserrat-ThinItalic.ttf') format('truetype');
65
64
  font-weight: 100;
66
65
  font-style: italic;
67
66
  font-display: swap;
68
67
  }
69
68
  @font-face {
70
69
  font-family: 'Montserrat';
71
- src: url('fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
70
+ src: url('./fonts/Montserrat/Montserrat-ExtraLight.ttf') format('truetype');
72
71
  font-weight: 200;
73
72
  font-style: normal;
74
73
  font-display: swap;
75
74
  }
76
75
  @font-face {
77
76
  font-family: 'Montserrat';
78
- src: url('fonts/montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
77
+ src: url('./fonts/montserrat/Montserrat-ExtraLightItalic.ttf') format('truetype');
79
78
  font-weight: 200;
80
79
  font-style: italic;
81
80
  font-display: swap;
82
81
  }
83
82
  @font-face {
84
83
  font-family: 'Montserrat';
85
- src: url('fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
84
+ src: url('./fonts/Montserrat/Montserrat-Light.ttf') format('truetype');
86
85
  font-weight: 300;
87
86
  font-style: normal;
88
87
  font-display: swap;
89
88
  }
90
89
  @font-face {
91
90
  font-family: 'Montserrat';
92
- src: url('fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
91
+ src: url('./fonts/Montserrat/Montserrat-LightItalic.ttf') format('truetype');
93
92
  font-weight: 300;
94
93
  font-style: italic;
95
94
  font-display: swap;
96
95
  }
97
96
  @font-face {
98
97
  font-family: 'Montserrat';
99
- src: url('fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
98
+ src: url('./fonts/Montserrat/Montserrat-Regular.ttf') format('truetype');
100
99
  font-weight: 400;
101
100
  font-style: normal;
102
101
  font-display: swap;
103
102
  }
104
103
  @font-face {
105
104
  font-family: 'Montserrat';
106
- src: url('fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
105
+ src: url('./fonts/Montserrat/Montserrat-Italic.ttf') format('truetype');
107
106
  font-weight: 400;
108
107
  font-style: italic;
109
108
  font-display: swap;
110
109
  }
111
110
  @font-face {
112
111
  font-family: 'Montserrat';
113
- src: url('fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
112
+ src: url('./fonts/Montserrat/Montserrat-Medium.ttf') format('truetype');
114
113
  font-weight: 500;
115
114
  font-style: normal;
116
115
  font-display: swap;
117
116
  }
118
117
  @font-face {
119
118
  font-family: 'Montserrat';
120
- src: url('fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
119
+ src: url('./fonts/Montserrat/Montserrat-MediumItalic.ttf') format('truetype');
121
120
  font-weight: 500;
122
121
  font-style: italic;
123
122
  font-display: swap;
124
123
  }
125
124
  @font-face {
126
125
  font-family: 'Montserrat';
127
- src: url('fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
126
+ src: url('./fonts/Montserrat/Montserrat-SemiBold.ttf') format('truetype');
128
127
  font-weight: 600;
129
128
  font-style: normal;
130
129
  font-display: swap;
131
130
  }
132
131
  @font-face {
133
132
  font-family: 'Montserrat';
134
- src: url('fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
133
+ src: url('./fonts/Montserrat/Montserrat-SemiBoldItalic.ttf') format('truetype');
135
134
  font-weight: 600;
136
135
  font-style: italic;
137
136
  font-display: swap;
138
137
  }
139
138
  @font-face {
140
139
  font-family: 'Montserrat';
141
- src: url('fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
140
+ src: url('./fonts/Montserrat/Montserrat-Bold.ttf') format('truetype');
142
141
  font-weight: 700;
143
142
  font-style: normal;
144
143
  font-display: swap;
145
144
  }
146
145
  @font-face {
147
146
  font-family: 'Montserrat';
148
- src: url('fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
147
+ src: url('./fonts/Montserrat/Montserrat-BoldItalic.ttf') format('truetype');
149
148
  font-weight: 700;
150
149
  font-style: italic;
151
150
  font-display: swap;
152
151
  }
153
152
  @font-face {
154
153
  font-family: 'Montserrat';
155
- src: url('fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
154
+ src: url('./fonts/Montserrat/Montserrat-ExtraBold.ttf') format('truetype');
156
155
  font-weight: 800;
157
156
  font-style: normal;
158
157
  font-display: swap;
159
158
  }
160
159
  @font-face {
161
160
  font-family: 'Montserrat';
162
- src: url('fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
161
+ src: url('./fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf') format('truetype');
163
162
  font-weight: 800;
164
163
  font-style: italic;
165
164
  font-display: swap;
166
165
  }
167
166
  @font-face {
168
167
  font-family: 'Montserrat';
169
- src: url('fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
168
+ src: url('./fonts/Montserrat/Montserrat-Black.ttf') format('truetype');
170
169
  font-weight: 900;
171
170
  font-style: normal;
172
171
  font-display: swap;
173
172
  }
174
173
  @font-face {
175
174
  font-family: 'Montserrat';
176
- src: url('fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
175
+ src: url('./fonts/Montserrat/Montserrat-BlackItalic.ttf') format('truetype');
177
176
  font-weight: 900;
178
177
  font-style: italic;
179
178
  font-display: swap;
@@ -12104,10 +12103,10 @@ h5,
12104
12103
  .utar {
12105
12104
  text-align: right;
12106
12105
  }
12107
- .uww {
12106
+ .uwsn {
12108
12107
  white-space: nowrap;
12109
12108
  }
12110
- .ubw {
12109
+ .uwbbw {
12111
12110
  word-break: break-word;
12112
12111
  }
12113
12112
  .uop0 {
package/src/main.ts CHANGED
@@ -1,3 +1 @@
1
- import "./main.css";
2
- // import "./main.less";
3
- // import "./js/upward.js"
1
+ import "./main.css";