@neatui/css 3.0.0-beta.8 → 3.0.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 (140) hide show
  1. package/components/anim/am-view-aa.scss +7 -11
  2. package/components/anim/am-view-ab.scss +7 -11
  3. package/components/anim/am-view-ad.scss +7 -11
  4. package/components/anim/am-view-ae.scss +7 -11
  5. package/components/anim/am-view-af.scss +4 -8
  6. package/components/anim/am-view-ag.scss +92 -1541
  7. package/components/anim/am-view-ah.scss +7 -11
  8. package/components/anim/am-view-ai.scss +7 -11
  9. package/components/anim/am-view-aj.scss +7 -11
  10. package/components/anim/am-view-ak.scss +7 -11
  11. package/components/anim/am-view-al.scss +7 -11
  12. package/components/anim/am-view-am.scss +7 -11
  13. package/components/anim/am-view-an.scss +7 -11
  14. package/components/anim/am-view-ao.scss +11 -15
  15. package/components/anim/am-view-ap.scss +7 -11
  16. package/components/anim/am-view-aq.scss +7 -11
  17. package/components/anim/am-view-ar.scss +7 -11
  18. package/components/anim/am-view-as.scss +8 -12
  19. package/components/anim/am-view-at.scss +8 -12
  20. package/components/anim/index.scss +22 -0
  21. package/components/btns/base.scss +2 -0
  22. package/components/btns/btns@a.scss +2 -1
  23. package/components/btns/index.scss +1 -0
  24. package/components/card/card@a.scss +10 -8
  25. package/components/card/card@b.scss +2 -0
  26. package/components/card/index.scss +2 -0
  27. package/components/form/base.scss +3 -0
  28. package/components/form/form@a/base.scss +1 -1
  29. package/components/form/form@a/checkbox.scss +1 -1
  30. package/components/form/form@a/date.scss +2 -2
  31. package/components/form/form@a/index.scss +9 -9
  32. package/components/form/form@a/input.scss +3 -4
  33. package/components/form/form@a/radio.scss +1 -1
  34. package/components/form/form@a/select.scss +2 -2
  35. package/components/form/form@a/switch.scss +0 -1
  36. package/components/form/form@a/textarea.scss +2 -3
  37. package/components/form/form@b/base.scss +1 -1
  38. package/components/form/form@b/checkbox.scss +0 -1
  39. package/components/form/form@b/date.scss +2 -2
  40. package/components/form/form@b/index.scss +9 -9
  41. package/components/form/form@b/input.scss +3 -4
  42. package/components/form/form@b/radio.scss +0 -1
  43. package/components/form/form@b/select.scss +2 -2
  44. package/components/form/form@b/switch.scss +0 -1
  45. package/components/form/form@b/textarea.scss +2 -3
  46. package/components/form/form@c/base.scss +1 -1
  47. package/components/form/form@c/checkbox.scss +0 -1
  48. package/components/form/form@c/date.scss +2 -2
  49. package/components/form/form@c/index.scss +9 -9
  50. package/components/form/form@c/input.scss +3 -4
  51. package/components/form/form@c/radio.scss +0 -1
  52. package/components/form/form@c/select.scss +2 -2
  53. package/components/form/form@c/switch.scss +0 -1
  54. package/components/form/form@c/textarea.scss +2 -2
  55. package/components/form/form@d/base.scss +1 -1
  56. package/components/form/form@d/checkbox.scss +0 -1
  57. package/components/form/form@d/date.scss +2 -2
  58. package/components/form/form@d/input.scss +3 -4
  59. package/components/form/form@d/radio.scss +0 -1
  60. package/components/form/form@d/select.scss +2 -2
  61. package/components/form/form@d/switch.scss +0 -1
  62. package/components/form/form@d/textarea.scss +2 -2
  63. package/components/form/index.scss +3 -0
  64. package/components/form/vars.scss +2 -0
  65. package/components/icon/index.scss +21 -0
  66. package/components/imgs/imgs@a.scss +1 -1
  67. package/components/imgs/index.scss +1 -0
  68. package/components/line/index.scss +2 -0
  69. package/components/list/index.scss +2 -0
  70. package/components/list/list@a.scss +2 -2
  71. package/components/list/list@b.scss +1 -1
  72. package/components/load/index.scss +8 -0
  73. package/components/menu/index.scss +1 -0
  74. package/components/navs/index.scss +2 -0
  75. package/components/note/index.scss +2 -0
  76. package/components/note/note@a.scss +2 -2
  77. package/components/note/note@b.scss +2 -2
  78. package/components/opts/index.scss +1 -0
  79. package/components/path/index.scss +1 -0
  80. package/components/path/path@a.scss +2 -0
  81. package/components/steps/index.scss +2 -0
  82. package/components/steps/steps@a.scss +5 -4
  83. package/components/steps/steps@v.scss +5 -5
  84. package/components/table/index.scss +3 -0
  85. package/components/table/table@b.scss +1 -1
  86. package/components/table/table@c.scss +1 -1
  87. package/components/tabs/index.scss +3 -0
  88. package/components/tabs/tabs@a.scss +3 -3
  89. package/components/tabs/tabs@b.scss +3 -3
  90. package/components/tabs/tabs@c.scss +3 -3
  91. package/components/tags/index.scss +2 -0
  92. package/components/tags/tags@a.scss +4 -4
  93. package/components/tags/tags@b.scss +4 -4
  94. package/components/tips/index.scss +1 -0
  95. package/components/tips/tips@a.scss +1 -1
  96. package/components/title/index.scss +2 -0
  97. package/core/{base.scss → basic.scss} +2 -0
  98. package/core/border.scss +6 -4
  99. package/core/cols.scss +1 -1
  100. package/core/cover.scss +6 -0
  101. package/core/flex.scss +1 -1
  102. package/core/grid.scss +251 -0
  103. package/core/media copy.scss +270 -0
  104. package/core/media.scss +1 -0
  105. package/core/neatui.core.scss.backup +34 -0
  106. package/core/reset.scss +0 -4
  107. package/core/scroll.scss +2 -0
  108. package/core/size.scss +1 -7
  109. package/core/theme-v2.scss +378 -0
  110. package/core/theme.scss +169 -126
  111. package/core/trim.scss +2 -0
  112. package/core/ux.scss +2 -0
  113. package/core/vars.scss +3 -0
  114. package/neatui.scss +54 -23
  115. package/package.json +1 -1
  116. package/components/anim/mcui@anim.scss +0 -22
  117. package/components/btns/mcui@btns.scss +0 -1
  118. package/components/card/mcui@card.scss +0 -2
  119. package/components/form/mcui@form.scss +0 -4
  120. package/components/icon/mcui@icon.scss +0 -21
  121. package/components/imgs/mcui@imgs.scss +0 -1
  122. package/components/line/mcui@line.scss +0 -2
  123. package/components/list/mcui@list.scss +0 -2
  124. package/components/load/mcui@load.scss +0 -8
  125. package/components/menu/mcui@menu.scss +0 -1
  126. package/components/navs/mcui@navs.scss +0 -2
  127. package/components/note/mcui@note.scss +0 -2
  128. package/components/opts/mcui@opts.scss +0 -1
  129. package/components/path/mcui@path.scss +0 -1
  130. package/components/steps/mcui@steps.scss +0 -2
  131. package/components/table/mcui@table.scss +0 -3
  132. package/components/tabs/mcui@tabs.scss +0 -3
  133. package/components/tags/mcui@tags.scss +0 -2
  134. package/components/tips/mcui@tips.scss +0 -1
  135. package/components/title/mcui@title.scss +0 -2
  136. package/core/neatui@core.scss +0 -30
  137. /package/components/chat/{mcui@chat.scss → index.scss} +0 -0
  138. /package/components/demo/{mcui@demo.scss → index.scss} +0 -0
  139. /package/components/grid/{mcui@grid.scss → index.scss} +0 -0
  140. /package/components/side/{mcui@side.scss → index.scss} +0 -0
@@ -31,24 +31,24 @@
31
31
  }
32
32
 
33
33
  // 传参调用
34
- @mixin am-view-aa($time: 350ms, $delay: 100ms) {
34
+ @mixin am-view-aa() {
35
35
  &.show,
36
36
  &[view='2'] {
37
37
  & > * {
38
38
  @extend %am-show-aa;
39
- animation: am-show-aa $time $delay both;
39
+ animation: am-show-aa 350ms 100ms both;
40
40
  }
41
41
  }
42
42
 
43
43
  &.hide,
44
44
  &[view='1'] {
45
45
  opacity: 0;
46
- transition: $time $delay;
46
+ transition: 350ms 100ms;
47
47
  pointer-events: none;
48
48
 
49
49
  & > * {
50
50
  @extend %am-hide-aa;
51
- animation: am-hide-aa $time $delay both;
51
+ animation: am-hide-aa 350ms 100ms both;
52
52
  }
53
53
  }
54
54
 
@@ -58,29 +58,25 @@
58
58
  }
59
59
  }
60
60
 
61
- // 动画时间
62
- $time: 350ms;
63
- $delay: 100ms;
64
-
65
61
  // 全套引用
66
62
  [am-view='aa'] {
67
63
  &.show,
68
64
  &[view='2'] {
69
65
  & > * {
70
66
  @extend %am-show-aa;
71
- animation: am-show-aa $time $delay both;
67
+ animation: am-show-aa 350ms 100ms both;
72
68
  }
73
69
  }
74
70
 
75
71
  &.hide,
76
72
  &[view='1'] {
77
73
  opacity: 0;
78
- transition: $time $delay;
74
+ transition: 350ms 100ms;
79
75
  pointer-events: none;
80
76
 
81
77
  & > * {
82
78
  @extend %am-hide-aa;
83
- animation: am-hide-aa $time $delay both;
79
+ animation: am-hide-aa 350ms 100ms both;
84
80
  }
85
81
  }
86
82
 
@@ -47,24 +47,24 @@
47
47
  }
48
48
 
49
49
  // 传参调用
50
- @mixin am-view-ab($time: 350ms, $delay: 100ms) {
50
+ @mixin am-view-ab() {
51
51
  &.show,
52
52
  &[view='2'] {
53
53
  & > * {
54
54
  @extend %am-show-ab;
55
- animation: am-show-ab $time $delay both;
55
+ animation: am-show-ab 350ms 100ms both;
56
56
  }
57
57
  }
58
58
 
59
59
  &.hide,
60
60
  &[view='1'] {
61
61
  opacity: 0;
62
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
62
+ transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
63
63
  pointer-events: none;
64
64
 
65
65
  & > * {
66
66
  @extend %am-hide-ab;
67
- animation: am-hide-ab $time $delay both;
67
+ animation: am-hide-ab 350ms 100ms both;
68
68
  }
69
69
  }
70
70
 
@@ -74,29 +74,25 @@
74
74
  }
75
75
  }
76
76
 
77
- // 动画时间
78
- $time: 350ms;
79
- $delay: 100ms;
80
-
81
77
  // 全套引用
82
78
  [am-view='ab'] {
83
79
  &.show,
84
80
  &[view='2'] {
85
81
  & > * {
86
82
  @extend %am-show-ab;
87
- animation: am-show-ab $time $delay both;
83
+ animation: am-show-ab 350ms 100ms both;
88
84
  }
89
85
  }
90
86
 
91
87
  &.hide,
92
88
  &[view='1'] {
93
89
  opacity: 0;
94
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
90
+ transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
95
91
  pointer-events: none;
96
92
 
97
93
  & > * {
98
94
  @extend %am-hide-ab;
99
- animation: am-hide-ab $time $delay both;
95
+ animation: am-hide-ab 350ms 100ms both;
100
96
  }
101
97
  }
102
98
 
@@ -49,24 +49,24 @@
49
49
  }
50
50
 
51
51
  // 传参调用
52
- @mixin am-view-ad($time: 350ms, $delay: 100ms) {
52
+ @mixin am-view-ad() {
53
53
  &.show,
54
54
  &[view='2'] {
55
55
  & > * {
56
56
  @extend %am-show-ad;
57
- animation: am-show-ad $time $delay both;
57
+ animation: am-show-ad 350ms 100ms both;
58
58
  }
59
59
  }
60
60
 
61
61
  &.hide,
62
62
  &[view='1'] {
63
63
  opacity: 0;
64
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
64
+ transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
65
65
  pointer-events: none;
66
66
 
67
67
  & > * {
68
68
  @extend %am-hide-ad;
69
- animation: am-hide-ad $time $delay both;
69
+ animation: am-hide-ad 350ms 100ms both;
70
70
  }
71
71
  }
72
72
 
@@ -76,29 +76,25 @@
76
76
  }
77
77
  }
78
78
 
79
- // 动画时间
80
- $time: 350ms;
81
- $delay: 100ms;
82
-
83
79
  // 全套引用
84
80
  [am-view='ad'] {
85
81
  &.show,
86
82
  &[view='2'] {
87
83
  & > * {
88
84
  @extend %am-show-ad;
89
- animation: am-show-ad $time $delay both;
85
+ animation: am-show-ad 350ms 100ms both;
90
86
  }
91
87
  }
92
88
 
93
89
  &.hide,
94
90
  &[view='1'] {
95
91
  opacity: 0;
96
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
92
+ transition: (350ms + 100ms) * (4 * 0.1) (350ms + 100ms) * (6 * 0.1);
97
93
  pointer-events: none;
98
94
 
99
95
  & > * {
100
96
  @extend %am-hide-ad;
101
- animation: am-hide-ad $time $delay both;
97
+ animation: am-hide-ad 350ms 100ms both;
102
98
  }
103
99
  }
104
100
 
@@ -49,24 +49,24 @@
49
49
  }
50
50
 
51
51
  // 传参调用
52
- @mixin am-view-ae($time: 500ms, $delay: 100ms) {
52
+ @mixin am-view-ae() {
53
53
  &.show,
54
54
  &[view='2'] {
55
55
  & > * {
56
56
  @extend %am-show-ae;
57
- animation: am-show-ae $time $delay both;
57
+ animation: am-show-ae 500ms 100ms both;
58
58
  }
59
59
  }
60
60
 
61
61
  &.hide,
62
62
  &[view='1'] {
63
63
  opacity: 0;
64
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
64
+ transition: (500ms + 100ms) * (4 * 0.1) (500ms + 100ms) * (6 * 0.1);
65
65
  pointer-events: none;
66
66
 
67
67
  & > * {
68
68
  @extend %am-hide-ae;
69
- animation: am-hide-ae $time $delay both;
69
+ animation: am-hide-ae 500ms 100ms both;
70
70
  }
71
71
  }
72
72
 
@@ -76,29 +76,25 @@
76
76
  }
77
77
  }
78
78
 
79
- // 动画时间
80
- $time: 500ms;
81
- $delay: 100ms;
82
-
83
79
  // 全套引用
84
80
  [am-view='ae'] {
85
81
  &.show,
86
82
  &[view='2'] {
87
83
  & > * {
88
84
  @extend %am-show-ae;
89
- animation: am-show-ae $time $delay both;
85
+ animation: am-show-ae 500ms 100ms both;
90
86
  }
91
87
  }
92
88
 
93
89
  &.hide,
94
90
  &[view='1'] {
95
91
  opacity: 0;
96
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
92
+ transition: (500ms + 100ms) * (4 * 0.1) (500ms + 100ms) * (6 * 0.1);
97
93
  pointer-events: none;
98
94
 
99
95
  & > * {
100
96
  @extend %am-hide-ae;
101
- animation: am-hide-ae $time $delay both;
97
+ animation: am-hide-ae 500ms 100ms both;
102
98
  }
103
99
  }
104
100
 
@@ -41,32 +41,28 @@
41
41
  opacity: 0;
42
42
  }
43
43
  }
44
-
45
- // 动画时间
46
- $time: 750ms;
47
- $delay: 100ms;
48
44
  // 引用显示
49
45
  %am-show-af {
50
46
  & > * {
51
47
  transform: rotateX(45deg);
52
48
  opacity: 0;
53
- animation: am-show-af $time $delay both;
49
+ animation: am-show-af 750ms 100ms both;
54
50
  }
55
51
  }
56
52
 
57
53
  // 引用隐藏
58
54
  %am-hide-af {
59
55
  opacity: 0;
60
- transition: ($time + $delay) * (4 * 0.1) ($time + $delay) * (6 * 0.1);
56
+ transition: (750ms + 100ms) * (4 * 0.1) (750ms + 100ms) * (6 * 0.1);
61
57
  pointer-events: none;
62
58
  & > * {
63
59
  opacity: 1;
64
- animation: am-hide-af ($time + $delay) * (6 * 0.1) both;
60
+ animation: am-hide-af (750ms + 100ms) * (6 * 0.1) both;
65
61
  }
66
62
  }
67
63
 
68
64
  // 传参调用
69
- @mixin am-view-af($time: 750ms, $delay: 100ms) {
65
+ @mixin am-view-af() {
70
66
  perspective: 500;
71
67
  &.show,
72
68
  &[view='2'] {