@neatui/css 5.4.0 → 5.5.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/core/basic.scss CHANGED
@@ -178,13 +178,6 @@
178
178
  overflow-y: auto;
179
179
  }
180
180
 
181
- .#{$d}wrap {
182
- white-space: normal;
183
- }
184
- .#{$d}nowrap {
185
- white-space: nowrap;
186
- }
187
-
188
181
  .#{$d}upper {
189
182
  text-transform: uppercase;
190
183
  }
@@ -205,10 +198,11 @@
205
198
  @include base("mob\\:");
206
199
  }
207
200
 
208
- // 按断点换行:有 ui-wrap 即默认不换行,列出的范围换行
209
- // 取值同 ui-hide(>pad / <pad / =pad 及九档细分值),可空格组合;all 全部换行,空值全部不换行
210
- // 必须位于 wrap / nowrap / pad: / mob: 之后,写了 ui-wrap 时由它全权决定
211
- [ui-wrap] {
201
+ // 换行只用 ui-wrap(已移除 wrap / nowrap 类):
202
+ // no = 不换行(no + wrap,同 CSS nowrap);all = 全部换行;
203
+ // 断点值同 ui-hide(>pad / <pad / =pad 及九档细分值),可空格组合,列出的范围换行、其余不换行
204
+ [ui-wrap],
205
+ [ui-wrap~='no'] {
212
206
  white-space: nowrap;
213
207
  }
214
208
  [ui-wrap~='all'] {
package/dist/neatui.css CHANGED
@@ -601,14 +601,6 @@ sup{
601
601
  overflow-y:auto;
602
602
  }
603
603
 
604
- .wrap{
605
- white-space:normal;
606
- }
607
-
608
- .nowrap{
609
- white-space:nowrap;
610
- }
611
-
612
604
  .upper{
613
605
  text-transform:uppercase;
614
606
  }
@@ -765,12 +757,6 @@ sup{
765
757
  .pad\:scroll-y{
766
758
  overflow-y:auto;
767
759
  }
768
- .pad\:wrap{
769
- white-space:normal;
770
- }
771
- .pad\:nowrap{
772
- white-space:nowrap;
773
- }
774
760
  .pad\:upper{
775
761
  text-transform:uppercase;
776
762
  }
@@ -926,12 +912,6 @@ sup{
926
912
  .mob\:scroll-y{
927
913
  overflow-y:auto;
928
914
  }
929
- .mob\:wrap{
930
- white-space:normal;
931
- }
932
- .mob\:nowrap{
933
- white-space:nowrap;
934
- }
935
915
  .mob\:upper{
936
916
  text-transform:uppercase;
937
917
  }
@@ -939,7 +919,7 @@ sup{
939
919
  text-transform:lowercase;
940
920
  }
941
921
  }
942
- [ui-wrap]{
922
+ [ui-wrap],[ui-wrap~=no]{
943
923
  white-space:nowrap;
944
924
  }
945
925