urfu-ui-kit-vanilla 2.4.2 → 2.5.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.
Files changed (2) hide show
  1. package/package.json +31 -31
  2. package/src/main.css +37 -37
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "urfu-ui-kit-vanilla",
3
- "description": "UrFU UI-Kit for Vanilla Web",
4
- "license": "UNLICENSED",
5
- "version": "2.4.2",
6
- "type": "module",
7
- "scripts": {
8
- "icons:build": "node scripts/generate-icons.mjs",
9
- "start": "npm-run-all --parallel less:watch vite",
10
- "build": "vite build",
11
- "less:build": "lessc src/main.less src/main.css",
12
- "less:watch": "chokidar \"src/**/*.less\" -c \"npx lessc src/main.less src/main.css\"",
13
- "vite": "vite"
14
- },
15
- "devDependencies": {
16
- "@types/node": "^18.15.11",
17
- "@types/minimatch": "^5.1.2",
18
- "chokidar-cli": "^3.0.0",
19
- "less": "^4.1.3",
20
- "npm-run-all": "^4.1.5",
21
- "typescript": "^4.9.3",
22
- "vite": "^4.2.0",
23
- "webfont": "^9.0.0"
24
- },
25
- "files": [
26
- "src/main.ts",
27
- "src/main.d.ts",
28
- "src/main.css",
29
- "src/ui-icons.css",
30
- "src/fonts/*"
31
- ]
1
+ {
2
+ "name": "urfu-ui-kit-vanilla",
3
+ "description": "UrFU UI-Kit for Vanilla Web",
4
+ "license": "UNLICENSED",
5
+ "version": "2.5.0",
6
+ "type": "module",
7
+ "scripts": {
8
+ "icons:build": "node scripts/generate-icons.mjs",
9
+ "start": "npm-run-all --parallel less:watch vite",
10
+ "build": "vite build",
11
+ "less:build": "lessc src/main.less src/main.css",
12
+ "less:watch": "chokidar \"src/**/*.less\" -c \"npx lessc src/main.less src/main.css\"",
13
+ "vite": "vite"
14
+ },
15
+ "devDependencies": {
16
+ "@types/node": "^18.15.11",
17
+ "@types/minimatch": "^5.1.2",
18
+ "chokidar-cli": "^3.0.0",
19
+ "less": "^4.1.3",
20
+ "npm-run-all": "^4.1.5",
21
+ "typescript": "^4.9.3",
22
+ "vite": "^4.2.0",
23
+ "webfont": "^9.0.0"
24
+ },
25
+ "files": [
26
+ "src/main.ts",
27
+ "src/main.d.ts",
28
+ "src/main.css",
29
+ "src/ui-icons.css",
30
+ "src/fonts/*"
31
+ ]
32
32
  }
package/src/main.css CHANGED
@@ -211,7 +211,7 @@ button {
211
211
  background-color: #0F2B5E;
212
212
  }
213
213
  .u-button:disabled {
214
- cursor: not-allowed;
214
+ cursor: default;
215
215
  background-color: #9FAECD;
216
216
  }
217
217
  .u-button .u-icon {
@@ -233,7 +233,7 @@ button {
233
233
  border: 2px solid #0F2B5E;
234
234
  }
235
235
  .u-button-outline:disabled {
236
- cursor: not-allowed;
236
+ cursor: default;
237
237
  background-color: #9FAECD;
238
238
  color: #FFFFFF;
239
239
  border: 2px solid #9FAECD;
@@ -247,7 +247,7 @@ button {
247
247
  background-color: #C0231F;
248
248
  }
249
249
  .u-button-danger:disabled {
250
- cursor: not-allowed;
250
+ cursor: default;
251
251
  background-color: #F58380;
252
252
  }
253
253
  .u-button-danger-outline {
@@ -262,7 +262,7 @@ button {
262
262
  border: 2px solid #C0231F;
263
263
  }
264
264
  .u-button-danger-outline:disabled {
265
- cursor: not-allowed;
265
+ cursor: default;
266
266
  background-color: #F58380;
267
267
  color: #FFFFFF;
268
268
  border: 2px solid #F58380;
@@ -279,7 +279,7 @@ button {
279
279
  color: #222222;
280
280
  }
281
281
  .u-button-simple:disabled {
282
- cursor: not-allowed;
282
+ cursor: default;
283
283
  border: 2px solid #E9E9E9;
284
284
  background-color: #E9E9E9;
285
285
  color: #545454;
@@ -298,7 +298,7 @@ button {
298
298
  color: #1E4391;
299
299
  }
300
300
  .u-button-icon:disabled {
301
- cursor: not-allowed;
301
+ cursor: default;
302
302
  border: 1px solid #D3D3D3;
303
303
  background-color: #FFFFFF;
304
304
  color: #D3D3D3;
@@ -365,7 +365,7 @@ button {
365
365
  color: #0F2B5E;
366
366
  }
367
367
  .u-button-text:disabled {
368
- cursor: not-allowed;
368
+ cursor: default;
369
369
  color: #9FAECD;
370
370
  }
371
371
  .u-button-text .u-icon {
@@ -392,7 +392,7 @@ button {
392
392
  color: #0F2B5E;
393
393
  }
394
394
  .u-button-text-table:disabled {
395
- cursor: not-allowed;
395
+ cursor: default;
396
396
  color: #CAD1E1;
397
397
  }
398
398
  .u-button-text-danger {
@@ -403,7 +403,7 @@ button {
403
403
  color: #B62C48;
404
404
  }
405
405
  .u-button-text-danger:disabled {
406
- cursor: not-allowed;
406
+ cursor: default;
407
407
  color: #D995A2;
408
408
  }
409
409
  .u-button-text-danger-table {
@@ -415,7 +415,7 @@ button {
415
415
  color: #E54B6A;
416
416
  }
417
417
  .u-button-text-danger-table:disabled {
418
- cursor: not-allowed;
418
+ cursor: default;
419
419
  color: #FE514D1F;
420
420
  }
421
421
  .u-input {
@@ -443,7 +443,7 @@ button {
443
443
  }
444
444
  .u-input:disabled,
445
445
  .u-input.disabled {
446
- cursor: not-allowed;
446
+ cursor: default;
447
447
  border: none;
448
448
  background-color: #F6F6F6;
449
449
  }
@@ -550,7 +550,7 @@ button {
550
550
  }
551
551
  .u-textarea:disabled,
552
552
  .u-textarea.disabled {
553
- cursor: not-allowed;
553
+ cursor: default;
554
554
  border: none;
555
555
  background-color: #F6F6F6;
556
556
  }
@@ -665,7 +665,7 @@ button {
665
665
  position: relative;
666
666
  }
667
667
  .u-selectbox.u-selectbox-disabled * {
668
- cursor: not-allowed;
668
+ cursor: default;
669
669
  }
670
670
  .u-selectbox.u-selectbox-disabled .u-selectbox-select {
671
671
  border: none;
@@ -707,7 +707,7 @@ button {
707
707
  }
708
708
  .u-selectbox-select:disabled,
709
709
  .u-selectbox-select.disabled {
710
- cursor: not-allowed;
710
+ cursor: default;
711
711
  border: none;
712
712
  background-color: #F6F6F6;
713
713
  }
@@ -877,7 +877,7 @@ button {
877
877
  border: 1px solid #748AB9;
878
878
  }
879
879
  .u-multiselectbox.u-multiselectbox-disabled * {
880
- cursor: not-allowed;
880
+ cursor: default;
881
881
  }
882
882
  .u-multiselectbox.u-multiselectbox-disabled .u-multiselectbox-select {
883
883
  border: 1px solid #F6F6F6;
@@ -948,7 +948,7 @@ button {
948
948
  }
949
949
  .u-multiselectbox-select:disabled,
950
950
  .u-multiselectbox-select.disabled {
951
- cursor: not-allowed;
951
+ cursor: default;
952
952
  border: none;
953
953
  background-color: #F6F6F6;
954
954
  }
@@ -1159,7 +1159,7 @@ button {
1159
1159
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='%231E4391' stroke='%23174496'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3478 4C12.1701 3.9993 11.9926 4.07723 11.8626 4.23169L7.03896 9.96824L4.09412 7.0596C3.82512 6.79422 3.41063 6.81809 3.16843 7.11295C2.92614 7.40781 2.94782 7.86275 3.21692 8.12813L6.5806 11.4504C6.87819 11.7443 7.36472 11.7162 7.62643 11.3899V11.3899L8.01435 10.9315L12.8264 5.20614C13.0718 4.91409 13.055 4.45985 12.7889 4.19026C12.6637 4.06389 12.5056 4.00071 12.3478 4Z' fill='white'/%3E%3C/svg%3E ");
1160
1160
  }
1161
1161
  .u-multiselectbox-option-checkbox input:disabled + div {
1162
- cursor: not-allowed;
1162
+ cursor: default;
1163
1163
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='%23F6F6F6' stroke='%23D3D3D3'/%3E%3C/svg%3E ");
1164
1164
  }
1165
1165
  .u-multiselectbox-option-checkbox input:disabled:checked + div {
@@ -1189,7 +1189,7 @@ button {
1189
1189
  border: 1px solid #748AB9;
1190
1190
  }
1191
1191
  .u-multiselectbox-simple.u-multiselectbox-simple-disabled * {
1192
- cursor: not-allowed;
1192
+ cursor: default;
1193
1193
  }
1194
1194
  .u-multiselectbox-simple.u-multiselectbox-simple-disabled .u-multiselectbox-simple-select {
1195
1195
  border: none;
@@ -1239,7 +1239,7 @@ button {
1239
1239
  }
1240
1240
  .u-multiselectbox-simple-select:disabled,
1241
1241
  .u-multiselectbox-simple-select.disabled {
1242
- cursor: not-allowed;
1242
+ cursor: default;
1243
1243
  border: none;
1244
1244
  background-color: #F6F6F6;
1245
1245
  }
@@ -1405,7 +1405,7 @@ button {
1405
1405
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='%231E4391' stroke='%23174496'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3478 4C12.1701 3.9993 11.9926 4.07723 11.8626 4.23169L7.03896 9.96824L4.09412 7.0596C3.82512 6.79422 3.41063 6.81809 3.16843 7.11295C2.92614 7.40781 2.94782 7.86275 3.21692 8.12813L6.5806 11.4504C6.87819 11.7443 7.36472 11.7162 7.62643 11.3899V11.3899L8.01435 10.9315L12.8264 5.20614C13.0718 4.91409 13.055 4.45985 12.7889 4.19026C12.6637 4.06389 12.5056 4.00071 12.3478 4Z' fill='white'/%3E%3C/svg%3E ");
1406
1406
  }
1407
1407
  .u-multiselectbox-simple-option-checkbox input:disabled + div {
1408
- cursor: not-allowed;
1408
+ cursor: default;
1409
1409
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='%23F6F6F6' stroke='%23D3D3D3'/%3E%3C/svg%3E ");
1410
1410
  }
1411
1411
  .u-multiselectbox-simple-option-checkbox input:disabled:checked + div {
@@ -1688,7 +1688,7 @@ button {
1688
1688
  }
1689
1689
  .u-expand-input:disabled,
1690
1690
  .u-expand-input.disabled {
1691
- cursor: not-allowed;
1691
+ cursor: default;
1692
1692
  border: none;
1693
1693
  background-color: #F6F6F6;
1694
1694
  }
@@ -1742,7 +1742,7 @@ button {
1742
1742
  }
1743
1743
  .u-expand-input-required:disabled,
1744
1744
  .u-expand-input-required.disabled {
1745
- cursor: not-allowed;
1745
+ cursor: default;
1746
1746
  border: none;
1747
1747
  background-color: #F6F6F6;
1748
1748
  }
@@ -1796,7 +1796,7 @@ button {
1796
1796
  }
1797
1797
  .u-calendar:disabled,
1798
1798
  .u-calendar.disabled {
1799
- cursor: not-allowed;
1799
+ cursor: default;
1800
1800
  border: none;
1801
1801
  background-color: #F6F6F6;
1802
1802
  }
@@ -1823,7 +1823,7 @@ button {
1823
1823
  left: calc(100% - 23.2px);
1824
1824
  }
1825
1825
  .u-switch input:disabled + .u-switch__point {
1826
- cursor: not-allowed;
1826
+ cursor: default;
1827
1827
  border-color: #D3D3D3;
1828
1828
  background-color: #F9F9F9;
1829
1829
  }
@@ -1831,7 +1831,7 @@ button {
1831
1831
  background-color: #A7A7A7;
1832
1832
  }
1833
1833
  .u-switch input:disabled:hover + .u-switch__point {
1834
- cursor: not-allowed;
1834
+ cursor: default;
1835
1835
  border-color: #D3D3D3;
1836
1836
  background-color: #F9F9F9;
1837
1837
  }
@@ -1907,7 +1907,7 @@ button {
1907
1907
  left: calc(100% - 26px);
1908
1908
  }
1909
1909
  .u-switch-gradient input:disabled + .u-switch-gradient__point {
1910
- cursor: not-allowed;
1910
+ cursor: default;
1911
1911
  background-image: linear-gradient(0, #D3D3D3 100%, #D3D3D3 100%, #D3D3D3 100%);
1912
1912
  }
1913
1913
  .u-switch-gradient input:checked + .u-switch-gradient__point {
@@ -1916,7 +1916,7 @@ button {
1916
1916
  animation-duration: 0.2s;
1917
1917
  }
1918
1918
  .u-switch-gradient input:checked:disabled + .u-switch-gradient__point {
1919
- cursor: not-allowed;
1919
+ cursor: default;
1920
1920
  background-image: linear-gradient(0, #D3D3D3 100%, #D3D3D3 100%, #D3D3D3 100%);
1921
1921
  }
1922
1922
  .u-switch-gradient__point {
@@ -2001,7 +2001,7 @@ button {
2001
2001
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='7.5' stroke='%231E4391'/%3E%3Crect x='4' y='4' width='8' height='8' rx='4' fill='%231E4391'/%3E%3C/svg%3E%0A");
2002
2002
  }
2003
2003
  .u-radio input:disabled + div.u-radio-input {
2004
- cursor: not-allowed;
2004
+ cursor: default;
2005
2005
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='7.5' fill='%23F6F6F6' stroke='%23D3D3D3'/%3E%3C/svg%3E%0A");
2006
2006
  }
2007
2007
  .u-radio input:disabled:checked + div.u-radio-input {
@@ -2034,7 +2034,7 @@ button {
2034
2034
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='%231E4391' stroke='%23174496'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.3478 4C12.1701 3.9993 11.9926 4.07723 11.8626 4.23169L7.03896 9.96824L4.09412 7.0596C3.82512 6.79422 3.41063 6.81809 3.16843 7.11295C2.92614 7.40781 2.94782 7.86275 3.21692 8.12813L6.5806 11.4504C6.87819 11.7443 7.36472 11.7162 7.62643 11.3899V11.3899L8.01435 10.9315L12.8264 5.20614C13.0718 4.91409 13.055 4.45985 12.7889 4.19026C12.6637 4.06389 12.5056 4.00071 12.3478 4Z' fill='white'/%3E%3C/svg%3E ");
2035
2035
  }
2036
2036
  .u-checkbox input:disabled + div.u-checkbox-input {
2037
- cursor: not-allowed;
2037
+ cursor: default;
2038
2038
  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%3Crect x='0.5' y='0.5' width='15' height='15' rx='1.5' fill='%23F6F6F6' stroke='%23D3D3D3'/%3E%3C/svg%3E ");
2039
2039
  }
2040
2040
  .u-checkbox input:disabled:checked + div.u-checkbox-input {
@@ -2401,11 +2401,11 @@ button {
2401
2401
  background-position: center;
2402
2402
  }
2403
2403
  .u-pagination .u-paginator__arrow-btn-right_inactive {
2404
- cursor: not-allowed;
2404
+ cursor: default;
2405
2405
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.29289 11.7071C0.902369 11.3166 0.902369 10.6834 1.29289 10.2929L5.58579 5.99999L1.29289 1.70711C0.902369 1.31658 0.902368 0.683418 1.29289 0.292894C1.68342 -0.0976305 2.31658 -0.0976315 2.70711 0.292892L7.70711 5.29288C7.89464 5.48042 8 5.73477 8 5.99999C8 6.26521 7.89464 6.51956 7.70711 6.7071L2.70711 11.7071C2.31658 12.0976 1.68342 12.0976 1.29289 11.7071Z' fill='%23A7A7A7'/%3E%3C/svg%3E ");
2406
2406
  }
2407
2407
  .u-pagination .u-paginator__arrow-btn_inactive {
2408
- cursor: not-allowed;
2408
+ cursor: default;
2409
2409
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.70711 11.7071C7.09763 11.3166 7.09763 10.6834 6.70711 10.2929L2.41421 5.99999L6.70711 1.70711C7.09763 1.31658 7.09763 0.683418 6.70711 0.292894C6.31658 -0.0976305 5.68342 -0.0976315 5.29289 0.292892L0.292894 5.29288C0.105357 5.48042 7.50699e-07 5.73477 2.62269e-07 5.99999C-2.26161e-07 6.26521 0.105356 6.51956 0.292893 6.7071L5.29289 11.7071C5.68342 12.0976 6.31658 12.0976 6.70711 11.7071Z' fill='%23A7A7A7'/%3E%3C/svg%3E%0A");
2410
2410
  }
2411
2411
  .u-pagination .u-paginator__pages {
@@ -2893,7 +2893,7 @@ button {
2893
2893
  }
2894
2894
  .u-table.thead-fixed {
2895
2895
  height: 100%;
2896
- max-height: calc(100vh - 100px);
2896
+ max-height: calc(100% - 100px);
2897
2897
  overflow-y: auto;
2898
2898
  }
2899
2899
  .u-table.thead-fixed table thead {
@@ -3562,7 +3562,7 @@ button {
3562
3562
  .u-menu-list {
3563
3563
  overflow-y: auto;
3564
3564
  overflow-x: hidden;
3565
- max-height: 100vh;
3565
+ max-height: 100%;
3566
3566
  }
3567
3567
  .u-menu-list-item {
3568
3568
  display: flex;
@@ -3674,16 +3674,16 @@ button {
3674
3674
  }
3675
3675
  .u-collapsible-menu-body {
3676
3676
  max-width: 268px;
3677
- overflow: hidden;
3677
+ overflow-x: hidden;
3678
+ overflow-y: auto;
3678
3679
  background-color: #F9F9F9;
3679
3680
  box-shadow: 1px 0px 2px 0px rgba(0, 0, 0, 0.1);
3680
3681
  -webkit-transition: max-width 0.2s ease-in-out;
3681
3682
  transition: max-width 0.2s ease-in-out;
3682
3683
  }
3683
3684
  .u-collapsible-menu-list {
3684
- overflow-y: auto;
3685
- overflow-x: hidden;
3686
- max-height: 100vh;
3685
+ overflow: hidden;
3686
+ max-height: 100%;
3687
3687
  }
3688
3688
  .u-collapsible-menu-list-item {
3689
3689
  display: flex;