uiw 4.11.0 → 4.11.4

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
@@ -100,7 +100,8 @@ Package | Version | Description
100
100
  [`@uiw/react-descriptions`](/packages/react-descriptions)| [![npm version](https://img.shields.io/npm/v/@uiw/react-descriptions.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-descriptions) | -
101
101
  [`@uiw/react-divider`](/packages/react-divider)| [![npm version](https://img.shields.io/npm/v/@uiw/react-divider.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-divider) | -
102
102
  [`@uiw/react-drawer`](/packages/react-drawer)| [![npm version](https://img.shields.io/npm/v/@uiw/react-drawer.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-drawer) | -
103
- [`@uiw/react-dropdown`](/packages/react-dropdown)| [![npm version](https://img.shields.io/npm/v/@uiw/react-dropdown.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-dropdown) | -
103
+ [`@uiw/react-dropdown`](/packages/react-dropdown)| [![npm version](https://img.shields.io/npm/v/@uiw/react-dropdown.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-dropdown)
104
+ [`@uiw/react-empty`](/packages/react-empty)| [![npm version](https://img.shields.io/npm/v/@uiw/react-empty.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-empty) | -
104
105
  [`@uiw/react-file-input`](/packages/react-file-input)| [![npm version](https://img.shields.io/npm/v/@uiw/react-file-input.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-file-input) | -
105
106
  [`@uiw/react-form`](/packages/react-form)| [![npm version](https://img.shields.io/npm/v/@uiw/react-form.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-form) | -
106
107
  [`@uiw/react-grid`](/packages/react-grid)| [![npm version](https://img.shields.io/npm/v/@uiw/react-grid.svg?maxAge=3600)](https://www.npmjs.com/package/@uiw/react-grid) | -
package/dist/uiw.css CHANGED
@@ -1251,7 +1251,8 @@ sup.w-badge-count {
1251
1251
  .w-timepicker-spinner > ul > li {
1252
1252
  cursor: pointer;
1253
1253
  text-align: center;
1254
- padding: 5px 0;
1254
+ height: 28px;
1255
+ line-height: 28px;
1255
1256
  transition: all 0.3s;
1256
1257
  color: #393e48;
1257
1258
  }
@@ -2246,23 +2247,15 @@ sup.w-badge-count {
2246
2247
  }
2247
2248
 
2248
2249
  .w-empty {
2249
- position: -webkit-sticky;
2250
- position: sticky;
2251
- left: 0;
2252
- overflow: hidden;
2253
- margin: -5px -8px;
2254
- padding: 32px 0;
2255
- display: flex;
2256
- align-items: center;
2257
- flex-direction: column;
2258
- }
2259
- .w-empty-text {
2260
- color: rgba(0, 0, 0, 0.25);
2261
- margin-top: 10px;
2250
+ color: #c7c7c7;
2251
+ text-align: center;
2262
2252
  }
2263
2253
  .w-empty-description {
2264
2254
  margin-top: 10px;
2265
2255
  }
2256
+ .w-empty-footer {
2257
+ margin-top: 16px;
2258
+ }
2266
2259
 
2267
2260
  .w-fileinput input::-webkit-file-upload-button {
2268
2261
  background: transparent;
@@ -3747,6 +3740,104 @@ a.w-list-item:hover:not(.w-disabled) {
3747
3740
  width: 50%;
3748
3741
  }
3749
3742
 
3743
+ .w-tag {
3744
+ border-radius: 2px;
3745
+ display: inline-block;
3746
+ -webkit-user-select: none;
3747
+ -moz-user-select: none;
3748
+ -ms-user-select: none;
3749
+ user-select: none;
3750
+ font-size: 12px;
3751
+ padding: 1px 5px;
3752
+ position: relative;
3753
+ white-space: nowrap;
3754
+ vertical-align: middle;
3755
+ }
3756
+ .w-tag + .w-tag {
3757
+ margin-left: 5px;
3758
+ }
3759
+ .w-tag.disabled {
3760
+ opacity: 0.75;
3761
+ cursor: not-allowed;
3762
+ }
3763
+ .w-tag-light .w-tag-close:hover {
3764
+ background-color: currentcolor;
3765
+ }
3766
+ .w-tag-light .w-tag-close:hover path {
3767
+ fill: #fff;
3768
+ }
3769
+ .w-tag-light .w-tag-close:active {
3770
+ background-color: rgba(0, 0, 0, 0.15);
3771
+ }
3772
+ .w-tag-close {
3773
+ vertical-align: bottom;
3774
+ margin: 0px -3px 0 2px;
3775
+ border-radius: 2px;
3776
+ position: relative;
3777
+ top: -1px;
3778
+ fill: currentcolor;
3779
+ transition: all 0.3s;
3780
+ cursor: pointer;
3781
+ }
3782
+ .w-tag-close:hover {
3783
+ background-color: rgba(0, 0, 0, 0.22);
3784
+ }
3785
+ .w-tag-close:active {
3786
+ background-color: rgba(0, 0, 0, 0.32);
3787
+ }
3788
+
3789
+ .w-search-select-input-contents input {
3790
+ box-shadow: none;
3791
+ padding: 0px;
3792
+ height: 20px;
3793
+ }
3794
+ .w-search-select-input-contents .w-input-inner:hover {
3795
+ box-shadow: none !important;
3796
+ }
3797
+ .w-search-select-input-contents .w-input-inner:focus {
3798
+ box-shadow: none !important;
3799
+ }
3800
+ .w-search-select-inner {
3801
+ display: flex;
3802
+ justify-content: space-between;
3803
+ outline: none;
3804
+ border: none;
3805
+ align-items: center;
3806
+ border-radius: 3px;
3807
+ box-shadow: 0 0 0 0 rgba(19, 124, 189, 0), 0 0 0 0 rgba(19, 124, 189, 0), inset 0 0 0 1px rgba(16, 22, 26, 0.15), inset 0 1px 1px rgba(16, 22, 26, 0.2);
3808
+ box-sizing: border-box;
3809
+ background: #fff;
3810
+ min-height: 30px;
3811
+ margin: 0 !important;
3812
+ padding: 3px 10px 3px 10px;
3813
+ vertical-align: middle;
3814
+ line-height: 30px;
3815
+ color: #393e48;
3816
+ font-weight: 400;
3817
+ font-size: inherit;
3818
+ transition: box-shadow 0.3s cubic-bezier(0.4, 1, 0.75, 0.9);
3819
+ -webkit-appearance: none;
3820
+ -moz-appearance: none;
3821
+ appearance: none;
3822
+ }
3823
+ .w-search-select-inner:focus {
3824
+ box-shadow: 0 0 0 1px #393e48, 0 0 0 3px rgba(57, 62, 72, 0.17), inset 0 1px 1px rgba(16, 22, 26, 0.2);
3825
+ }
3826
+ .w-search-select-inner:hover {
3827
+ box-shadow: 0 0 0 1px #6e6e6e, 0 0 0 3px rgba(57, 62, 72, 0), inset 0 1px 1px rgba(16, 22, 26, 0.2);
3828
+ }
3829
+ .w-search-select-inner:focus.w-search-select-inner:hover {
3830
+ box-shadow: 0 0 0 1px #6e6e6e, 0 0 0 3px rgba(57, 62, 72, 0.17), inset 0 1px 1px rgba(16, 22, 26, 0.2);
3831
+ }
3832
+ .w-search-select-inner:disabled {
3833
+ box-shadow: none;
3834
+ background: #dddddd;
3835
+ opacity: 0.75;
3836
+ color: #a5a5a5;
3837
+ cursor: not-allowed;
3838
+ resize: none;
3839
+ }
3840
+
3750
3841
  .w-split {
3751
3842
  height: 100%;
3752
3843
  display: flex;
@@ -4556,52 +4647,6 @@ a.w-list-item:hover:not(.w-disabled) {
4556
4647
  z-index: 1;
4557
4648
  }
4558
4649
 
4559
- .w-tag {
4560
- border-radius: 2px;
4561
- display: inline-block;
4562
- -webkit-user-select: none;
4563
- -moz-user-select: none;
4564
- -ms-user-select: none;
4565
- user-select: none;
4566
- font-size: 12px;
4567
- padding: 1px 5px;
4568
- position: relative;
4569
- white-space: nowrap;
4570
- vertical-align: middle;
4571
- }
4572
- .w-tag + .w-tag {
4573
- margin-left: 5px;
4574
- }
4575
- .w-tag.disabled {
4576
- opacity: 0.75;
4577
- cursor: not-allowed;
4578
- }
4579
- .w-tag-light .w-tag-close:hover {
4580
- background-color: currentcolor;
4581
- }
4582
- .w-tag-light .w-tag-close:hover path {
4583
- fill: #fff;
4584
- }
4585
- .w-tag-light .w-tag-close:active {
4586
- background-color: rgba(0, 0, 0, 0.15);
4587
- }
4588
- .w-tag-close {
4589
- vertical-align: bottom;
4590
- margin: 0px -3px 0 2px;
4591
- border-radius: 2px;
4592
- position: relative;
4593
- top: -1px;
4594
- fill: currentcolor;
4595
- transition: all 0.3s;
4596
- cursor: pointer;
4597
- }
4598
- .w-tag-close:hover {
4599
- background-color: rgba(0, 0, 0, 0.22);
4600
- }
4601
- .w-tag-close:active {
4602
- background-color: rgba(0, 0, 0, 0.32);
4603
- }
4604
-
4605
4650
  .w-textarea {
4606
4651
  position: relative;
4607
4652
  font-size: 14px;