uiw 4.10.3 → 4.10.7

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/README.md CHANGED
@@ -51,7 +51,7 @@ You can use [`kkt`](https://github.com/kktjs/kkt) to quickly create a react + ui
51
51
  npx create-kkt my-app -e uiw
52
52
  ```
53
53
 
54
- You can use the [`uiw v1.x`](https://github.com/uiwjs/uiw/tree/v1) version. [Please see here for instructions](https://github.com/uiwjs/uiw/tree/v1). ([**npx**](https://github.com/npm/npm/releases/tag/v5.2.0) comes with npm 5.2+ and higher.)
54
+ You can use the [`uiw v1.x`](https://github.com/uiwjs/uiw/tree/v1) version. [Please see here for instructions](https://github.com/uiwjs/uiw/tree/v1). ([**npx**](https://github.com/npm/npm/releases/tag/v5.2.0) comes with npm `5.2+` and higher.)
55
55
 
56
56
  ### Basic Usage
57
57
 
@@ -151,7 +151,7 @@ Or clone locally:
151
151
  $ git clone https://github.com/uiwjs/uiwjs.github.io.git --recurse-submodules
152
152
  ```
153
153
 
154
- Compiled component code.
154
+ Install dependencies & compile component code.
155
155
 
156
156
  ```bash
157
157
  $ npm install # Install dependencies
@@ -189,6 +189,12 @@ Folders
189
189
      └── react-affix
190
190
  ```
191
191
 
192
+ ### Contributors
193
+
194
+ <a href="https://github.com/uiwjs/uiw/graphs/contributors">
195
+ <img src="https://uiwjs.github.io/uiw/CONTRIBUTORS.svg" />
196
+ </a>
197
+
192
198
  ### License
193
199
 
194
200
  Licensed under the MIT License.
package/dist/uiw.css CHANGED
@@ -2286,29 +2286,30 @@ sup.w-badge-count {
2286
2286
  .w-fileinput-card {
2287
2287
  margin-right: -8px;
2288
2288
  }
2289
- .w-fileinput-card_box {
2290
- width: 104px;
2291
- height: 104px;
2289
+ .w-fileinput-card-box {
2292
2290
  margin-right: 8px;
2293
2291
  margin-bottom: 8px;
2294
2292
  text-align: center;
2295
2293
  vertical-align: top;
2296
2294
  background-color: #fafafa;
2297
2295
  border: 1px dashed #d9d9d9;
2296
+ overflow: hidden;
2298
2297
  border-radius: 2px;
2299
2298
  cursor: pointer;
2300
2299
  transition: border-color 0.3s;
2301
2300
  display: inline-flex;
2302
2301
  position: relative;
2303
2302
  }
2304
- .w-fileinput-card_box_info {
2305
- padding: 5px;
2303
+ .w-fileinput-card-box-info {
2304
+ box-sizing: border-box;
2305
+ width: 100%;
2306
+ height: 100%;
2306
2307
  }
2307
- .w-fileinput-card_box_info img {
2308
+ .w-fileinput-card-box-info img {
2308
2309
  width: 100%;
2309
2310
  height: 100%;
2310
2311
  }
2311
- .w-fileinput-card_actions {
2312
+ .w-fileinput-card-actions {
2312
2313
  position: absolute;
2313
2314
  left: 0;
2314
2315
  top: 0;
@@ -2322,7 +2323,7 @@ sup.w-badge-count {
2322
2323
  background: rgba(0, 0, 0, 0.6);
2323
2324
  border-radius: 2px;
2324
2325
  }
2325
- .w-fileinput-card_actions_remove {
2326
+ .w-fileinput-card-actions-remove {
2326
2327
  width: 24px;
2327
2328
  height: 20px;
2328
2329
  display: flex;
@@ -2330,17 +2331,36 @@ sup.w-badge-count {
2330
2331
  justify-content: center;
2331
2332
  cursor: pointer;
2332
2333
  }
2333
- .w-fileinput-card_btn {
2334
+ .w-fileinput-card-btn {
2334
2335
  align-items: center;
2335
2336
  justify-content: center;
2336
2337
  }
2337
- .w-fileinput-card_box:hover .w-fileinput-card_actions {
2338
+ .w-fileinput-card-box:hover .w-fileinput-card-actions {
2338
2339
  opacity: 1;
2339
2340
  }
2341
+ .w-fileinput-card-size-large .w-fileinput-card-box {
2342
+ width: 110px;
2343
+ height: 110px;
2344
+ }
2345
+ .w-fileinput-card-size-middle .w-fileinput-card-box {
2346
+ width: 80px;
2347
+ height: 80px;
2348
+ }
2349
+ .w-fileinput-card-size-small .w-fileinput-card-box {
2350
+ width: 50px;
2351
+ height: 50px;
2352
+ }
2353
+ .w-fileinput-card-shape-round .w-fileinput-card-box {
2354
+ border-radius: 2px;
2355
+ }
2356
+ .w-fileinput-card-shape-circle .w-fileinput-card-box {
2357
+ border-radius: 50%;
2358
+ }
2340
2359
  .w-fileinput-list {
2341
2360
  padding-bottom: 8px;
2361
+ width: 100%;
2342
2362
  }
2343
- .w-fileinput-list_actions {
2363
+ .w-fileinput-list-actions {
2344
2364
  position: absolute;
2345
2365
  left: 0;
2346
2366
  top: 0;
@@ -2354,7 +2374,7 @@ sup.w-badge-count {
2354
2374
  background: rgba(0, 0, 0, 0.6);
2355
2375
  border-radius: 2px;
2356
2376
  }
2357
- .w-fileinput-list_actions_search {
2377
+ .w-fileinput-list-actions-search {
2358
2378
  width: 24px;
2359
2379
  height: 20px;
2360
2380
  display: flex;
@@ -2362,49 +2382,68 @@ sup.w-badge-count {
2362
2382
  justify-content: center;
2363
2383
  cursor: pointer;
2364
2384
  }
2365
- .w-fileinput-list_info:hover .w-fileinput-list_actions {
2385
+ .w-fileinput-list-info:hover .w-fileinput-list-actions {
2366
2386
  opacity: 1;
2367
2387
  }
2368
- .w-fileinput-list_picture {
2388
+ .w-fileinput-list-picture {
2369
2389
  border: 1px solid #d9d9d9;
2370
2390
  display: flex;
2371
2391
  align-items: center;
2372
2392
  padding: 5px;
2373
2393
  margin-top: 8px;
2374
2394
  }
2375
- .w-fileinput-list_picture_info {
2395
+ .w-fileinput-list-picture-info {
2376
2396
  margin-right: 10px;
2377
2397
  position: relative;
2398
+ overflow: hidden;
2378
2399
  }
2379
- .w-fileinput-list_picture_info img {
2400
+ .w-fileinput-list-picture-info img {
2380
2401
  width: 48px;
2381
2402
  height: 48px;
2382
2403
  display: block;
2383
2404
  }
2384
- .w-fileinput-list_picture_text {
2405
+ .w-fileinput-list-picture-text {
2385
2406
  flex: 1 1;
2386
2407
  }
2387
- .w-fileinput-list_picture_icon {
2408
+ .w-fileinput-list-picture-icon {
2388
2409
  padding: 5px;
2389
2410
  cursor: pointer;
2390
2411
  }
2391
- .w-fileinput-list_text {
2412
+ .w-fileinput-list-size-large .w-fileinput-list-picture-info img {
2413
+ width: 70px;
2414
+ height: 70px;
2415
+ }
2416
+ .w-fileinput-list-size-middle .w-fileinput-list-picture-info img {
2417
+ width: 50px;
2418
+ height: 50px;
2419
+ }
2420
+ .w-fileinput-list-size-small .w-fileinput-list-picture-info img {
2421
+ width: 30px;
2422
+ height: 30px;
2423
+ }
2424
+ .w-fileinput-list-shape-round .w-fileinput-list-picture-info {
2425
+ border-radius: 2px;
2426
+ }
2427
+ .w-fileinput-list-shape-circle .w-fileinput-list-box-info {
2428
+ border-radius: 50px;
2429
+ }
2430
+ .w-fileinput-list-text {
2392
2431
  border: 1px solid transparent;
2393
2432
  display: flex;
2394
2433
  align-items: center;
2395
2434
  padding: 5px;
2396
2435
  transition: all 0.5s;
2397
2436
  }
2398
- .w-fileinput-list_text:hover {
2437
+ .w-fileinput-list-text:hover {
2399
2438
  background: #f5f5f5;
2400
2439
  }
2401
- .w-fileinput-list_text:first-child {
2440
+ .w-fileinput-list-text:first-child {
2402
2441
  margin-top: 8px;
2403
2442
  }
2404
- .w-fileinput-list_text_text {
2443
+ .w-fileinput-list-text-text {
2405
2444
  flex: 1 1;
2406
2445
  }
2407
- .w-fileinput-list_text_icon {
2446
+ .w-fileinput-list-text-icon {
2408
2447
  padding: 0 5px;
2409
2448
  cursor: pointer;
2410
2449
  }
@@ -3295,6 +3334,57 @@ a.w-list-item:hover:not(.w-disabled) {
3295
3334
  right: 0;
3296
3335
  }
3297
3336
 
3337
+ .w-select {
3338
+ display: inline-flex;
3339
+ font-size: 14px;
3340
+ -webkit-appearance: none;
3341
+ -moz-appearance: none;
3342
+ appearance: none;
3343
+ cursor: pointer;
3344
+ color: #182026;
3345
+ padding: 6px 25px 6px 10px;
3346
+ width: 100%;
3347
+ max-width: 100%;
3348
+ margin: 0;
3349
+ line-height: 18px;
3350
+ vertical-align: middle;
3351
+ box-sizing: border-box;
3352
+ border: none;
3353
+ box-shadow: inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
3354
+ border-radius: 3px;
3355
+ background-color: #f5f8fa;
3356
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDEyIDE2Ij4gIDxwYXRoIGZpbGw9IiMzOTNFNDgiIGQ9Ik0wLjIyMiw1LjYxMyBMNS40NTEsMC4yMjMgQzUuNzU2MjEyMDksLTAuMDc0MzYzMjMzMyA2LjI0Mjc4NzkxLC0wLjA3NDM2MzIzMzMgNi41NDgsMC4yMjMgTDExLjc3OCw1LjYxMyBDMTIuMTgsNi4wMjcgMTIuMDI1LDYuNjY3IDExLjQwNyw2LjY2NyBMMC41OTIsNi42NjcgQy0wLjAyNCw2LjY2NyAtMC4xOCw2LjAyNyAwLjIyMiw1LjYxMyBaIE0wLjU5Miw5LjMzMyBMMTEuNDA3LDkuMzMzIEMxMi4wMjUsOS4zMzMgMTIuMTgsOS45NzMgMTEuNzc3LDEwLjM4NyBMNi41NDcsMTUuNzc3IEM2LjI0MTkxMjU4LDE2LjA3MzcxNDMgNS43NTYwODc0MiwxNi4wNzM3MTQzIDUuNDUxLDE1Ljc3NyBMMC4yMjIsMTAuMzg3IEMtMC4xOCw5Ljk3MyAtMC4wMjQsOS4zMzMgMC41OTIsOS4zMzMgWiIvPjwvc3ZnPg==), linear-gradient(180deg, hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));
3357
+ background-repeat: no-repeat, repeat;
3358
+ background-position: right 0.7em top 50%, 0 0;
3359
+ background-size: 0.62em auto, 100%;
3360
+ }
3361
+ .w-select:focus {
3362
+ outline: none !important;
3363
+ }
3364
+ .w-select:hover {
3365
+ box-shadow: inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
3366
+ background-clip: padding-box;
3367
+ background-color: #ebf1f5;
3368
+ }
3369
+ .w-select:disabled {
3370
+ box-shadow: none;
3371
+ background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDEyIDE2Ij4gIDxwYXRoIGZpbGw9IiMzOTNFNDgiIGQ9Ik0wLjIyMiw1LjYxMyBMNS40NTEsMC4yMjMgQzUuNzU2MjEyMDksLTAuMDc0MzYzMjMzMyA2LjI0Mjc4NzkxLC0wLjA3NDM2MzIzMzMgNi41NDgsMC4yMjMgTDExLjc3OCw1LjYxMyBDMTIuMTgsNi4wMjcgMTIuMDI1LDYuNjY3IDExLjQwNyw2LjY2NyBMMC41OTIsNi42NjcgQy0wLjAyNCw2LjY2NyAtMC4xOCw2LjAyNyAwLjIyMiw1LjYxMyBaIE0wLjU5Miw5LjMzMyBMMTEuNDA3LDkuMzMzIEMxMi4wMjUsOS4zMzMgMTIuMTgsOS45NzMgMTEuNzc3LDEwLjM4NyBMNi41NDcsMTUuNzc3IEM2LjI0MTkxMjU4LDE2LjA3MzcxNDMgNS43NTYwODc0MiwxNi4wNzM3MTQzIDUuNDUxLDE1Ljc3NyBMMC4yMjIsMTAuMzg3IEMtMC4xOCw5Ljk3MyAtMC4wMjQsOS4zMzMgMC41OTIsOS4zMzMgWiIvPjwvc3ZnPg==);
3372
+ background-size: 0.52em auto, 100%;
3373
+ background-color: #dddddd;
3374
+ opacity: 0.75;
3375
+ color: #a5a5a5;
3376
+ cursor: not-allowed;
3377
+ resize: none;
3378
+ }
3379
+ .w-select-large {
3380
+ padding: 9px 25px 9px 12px;
3381
+ font-size: 16px;
3382
+ }
3383
+ .w-select-small {
3384
+ padding: 3px 25px 3px 7px;
3385
+ font-size: 12px;
3386
+ }
3387
+
3298
3388
  .w-pagination {
3299
3389
  padding: 0 !important;
3300
3390
  margin: 0 !important;
@@ -3415,6 +3505,16 @@ a.w-list-item:hover:not(.w-disabled) {
3415
3505
  .w-pagination.default.divider li {
3416
3506
  border-radius: 4px;
3417
3507
  }
3508
+ .w-pagination-options {
3509
+ margin-left: 8px !important;
3510
+ }
3511
+ .w-pagination-options .w-select {
3512
+ border: none !important;
3513
+ padding-top: 0;
3514
+ padding-bottom: 0;
3515
+ box-shadow: none !important;
3516
+ height: 100%;
3517
+ }
3418
3518
 
3419
3519
  .w-pin-code {
3420
3520
  display: flex;
@@ -3628,57 +3728,6 @@ a.w-list-item:hover:not(.w-disabled) {
3628
3728
  width: 50%;
3629
3729
  }
3630
3730
 
3631
- .w-select {
3632
- display: inline-flex;
3633
- font-size: 14px;
3634
- -webkit-appearance: none;
3635
- -moz-appearance: none;
3636
- appearance: none;
3637
- cursor: pointer;
3638
- color: #182026;
3639
- padding: 6px 25px 6px 10px;
3640
- width: 100%;
3641
- max-width: 100%;
3642
- margin: 0;
3643
- line-height: 18px;
3644
- vertical-align: middle;
3645
- box-sizing: border-box;
3646
- border: none;
3647
- box-shadow: inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
3648
- border-radius: 3px;
3649
- background-color: #f5f8fa;
3650
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDEyIDE2Ij4gIDxwYXRoIGZpbGw9IiMzOTNFNDgiIGQ9Ik0wLjIyMiw1LjYxMyBMNS40NTEsMC4yMjMgQzUuNzU2MjEyMDksLTAuMDc0MzYzMjMzMyA2LjI0Mjc4NzkxLC0wLjA3NDM2MzIzMzMgNi41NDgsMC4yMjMgTDExLjc3OCw1LjYxMyBDMTIuMTgsNi4wMjcgMTIuMDI1LDYuNjY3IDExLjQwNyw2LjY2NyBMMC41OTIsNi42NjcgQy0wLjAyNCw2LjY2NyAtMC4xOCw2LjAyNyAwLjIyMiw1LjYxMyBaIE0wLjU5Miw5LjMzMyBMMTEuNDA3LDkuMzMzIEMxMi4wMjUsOS4zMzMgMTIuMTgsOS45NzMgMTEuNzc3LDEwLjM4NyBMNi41NDcsMTUuNzc3IEM2LjI0MTkxMjU4LDE2LjA3MzcxNDMgNS43NTYwODc0MiwxNi4wNzM3MTQzIDUuNDUxLDE1Ljc3NyBMMC4yMjIsMTAuMzg3IEMtMC4xOCw5Ljk3MyAtMC4wMjQsOS4zMzMgMC41OTIsOS4zMzMgWiIvPjwvc3ZnPg==), linear-gradient(180deg, hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));
3651
- background-repeat: no-repeat, repeat;
3652
- background-position: right 0.7em top 50%, 0 0;
3653
- background-size: 0.62em auto, 100%;
3654
- }
3655
- .w-select:focus {
3656
- outline: none !important;
3657
- }
3658
- .w-select:hover {
3659
- box-shadow: inset 0 0 0 1px rgba(16, 22, 26, 0.2), inset 0 -1px 0 rgba(16, 22, 26, 0.1);
3660
- background-clip: padding-box;
3661
- background-color: #ebf1f5;
3662
- }
3663
- .w-select:disabled {
3664
- box-shadow: none;
3665
- background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDEyIDE2Ij4gIDxwYXRoIGZpbGw9IiMzOTNFNDgiIGQ9Ik0wLjIyMiw1LjYxMyBMNS40NTEsMC4yMjMgQzUuNzU2MjEyMDksLTAuMDc0MzYzMjMzMyA2LjI0Mjc4NzkxLC0wLjA3NDM2MzIzMzMgNi41NDgsMC4yMjMgTDExLjc3OCw1LjYxMyBDMTIuMTgsNi4wMjcgMTIuMDI1LDYuNjY3IDExLjQwNyw2LjY2NyBMMC41OTIsNi42NjcgQy0wLjAyNCw2LjY2NyAtMC4xOCw2LjAyNyAwLjIyMiw1LjYxMyBaIE0wLjU5Miw5LjMzMyBMMTEuNDA3LDkuMzMzIEMxMi4wMjUsOS4zMzMgMTIuMTgsOS45NzMgMTEuNzc3LDEwLjM4NyBMNi41NDcsMTUuNzc3IEM2LjI0MTkxMjU4LDE2LjA3MzcxNDMgNS43NTYwODc0MiwxNi4wNzM3MTQzIDUuNDUxLDE1Ljc3NyBMMC4yMjIsMTAuMzg3IEMtMC4xOCw5Ljk3MyAtMC4wMjQsOS4zMzMgMC41OTIsOS4zMzMgWiIvPjwvc3ZnPg==);
3666
- background-size: 0.52em auto, 100%;
3667
- background-color: #dddddd;
3668
- opacity: 0.75;
3669
- color: #a5a5a5;
3670
- cursor: not-allowed;
3671
- resize: none;
3672
- }
3673
- .w-select-large {
3674
- padding: 9px 25px 9px 12px;
3675
- font-size: 16px;
3676
- }
3677
- .w-select-small {
3678
- padding: 3px 25px 3px 7px;
3679
- font-size: 12px;
3680
- }
3681
-
3682
3731
  .w-split {
3683
3732
  height: 100%;
3684
3733
  display: flex;