@nutui/nutui-react-taro 2.1.1-beta.1 → 2.2.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 (100) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist/esm/ActionSheet/style/style.css +1 -1
  3. package/dist/esm/Address/style/style.css +1 -1
  4. package/dist/esm/Audio/style/style.css +1 -1
  5. package/dist/esm/Badge/style/style.css +1 -1
  6. package/dist/esm/Button/style/style.css +1 -1
  7. package/dist/esm/Calendar/style/style.css +1 -1
  8. package/dist/esm/CalendarCard/style/style.css +1 -1
  9. package/dist/esm/Card/style/style.css +1 -1
  10. package/dist/esm/Cascader/style/style.css +1 -1
  11. package/dist/esm/Cell/style/style.css +1 -1
  12. package/dist/esm/CellGroup/style/style.css +1 -1
  13. package/dist/esm/Checkbox/style/style.css +1 -1
  14. package/dist/esm/CircleProgress/style/style.css +1 -1
  15. package/dist/esm/Collapse/style/style.css +1 -1
  16. package/dist/esm/CollapseItem/style/style.css +1 -1
  17. package/dist/esm/DatePicker/style/style.css +1 -1
  18. package/dist/esm/Dialog/style/style.css +1 -1
  19. package/dist/esm/Divider/style/style.css +1 -1
  20. package/dist/esm/Elevator/style/style.css +1 -1
  21. package/dist/esm/Ellipsis/style/style.css +1 -1
  22. package/dist/esm/FixedNav/style/style.css +1 -1
  23. package/dist/esm/Form/style/style.css +1 -1
  24. package/dist/esm/FormItem/style/style.css +1 -1
  25. package/dist/esm/Grid/style/style.css +1 -1
  26. package/dist/esm/GridItem/style/style.css +1 -1
  27. package/dist/esm/ImagePreview/style/style.css +1 -1
  28. package/dist/esm/Indicator/style/style.css +1 -1
  29. package/dist/esm/InfiniteLoading/style/style.css +1 -1
  30. package/dist/esm/Input/style/style.css +1 -1
  31. package/dist/esm/Menu/style/style.css +1 -1
  32. package/dist/esm/MenuItem/style/style.css +1 -1
  33. package/dist/esm/NavBar/style/style.css +1 -1
  34. package/dist/esm/Notify/style/style.css +1 -1
  35. package/dist/esm/NumberKeyboard/style/style.css +1 -1
  36. package/dist/esm/Pagination/style/style.css +1 -1
  37. package/dist/esm/Picker/style/style.css +1 -1
  38. package/dist/esm/Popover/style/style.css +1 -1
  39. package/dist/esm/Popup/style/style.css +1 -1
  40. package/dist/esm/Price/style/style.css +1 -1
  41. package/dist/esm/Progress/style/style.css +1 -1
  42. package/dist/esm/Radio/style/style.css +1 -1
  43. package/dist/esm/RadioGroup/style/style.css +1 -1
  44. package/dist/esm/Range/style/style.css +1 -1
  45. package/dist/esm/Rate/style/style.css +1 -1
  46. package/dist/esm/SearchBar/style/style.css +1 -1
  47. package/dist/esm/ShortPassword/style/style.css +1 -1
  48. package/dist/esm/SideNavBar/style/style.css +1 -1
  49. package/dist/esm/Signature/style/style.css +1 -1
  50. package/dist/esm/Step/style/style.css +1 -1
  51. package/dist/esm/Steps/style/style.css +1 -1
  52. package/dist/esm/Swiper/style/style.css +1 -1
  53. package/dist/esm/Switch/style/style.css +1 -1
  54. package/dist/esm/Tabbar/style/style.css +1 -1
  55. package/dist/esm/TabbarItem/style/style.css +1 -1
  56. package/dist/esm/Table/style/style.css +1 -1
  57. package/dist/esm/Tabs/style/style.css +1 -1
  58. package/dist/esm/Tag/style/style.css +1 -1
  59. package/dist/esm/TextArea/style/style.css +1 -1
  60. package/dist/esm/TimeDetail/style/style.css +1 -1
  61. package/dist/esm/TimeSelect/style/style.css +1 -1
  62. package/dist/esm/Toast/style/style.css +1 -1
  63. package/dist/esm/Tour/style/style.css +1 -1
  64. package/dist/esm/Uploader/style/style.css +1 -1
  65. package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
  66. package/dist/locales/base.js +1 -1
  67. package/dist/locales/en-US.js +1 -1
  68. package/dist/locales/id-ID.js +1 -1
  69. package/dist/locales/tr-TR.js +1 -1
  70. package/dist/locales/zh-CN.js +1 -1
  71. package/dist/locales/zh-TW.js +1 -1
  72. package/dist/locales/zh-UG.js +1 -1
  73. package/dist/nutui.react.es.js +1 -1
  74. package/dist/nutui.react.umd.js +1 -1
  75. package/dist/packages/address/address.scss +2 -2
  76. package/dist/packages/calendar/calendar.scss +4 -4
  77. package/dist/packages/calendarcard/calendarcard.scss +2 -2
  78. package/dist/packages/card/card.scss +1 -1
  79. package/dist/packages/checkbox/checkbox.scss +2 -2
  80. package/dist/packages/dialog/dialog.scss +2 -2
  81. package/dist/packages/divider/divider.scss +6 -6
  82. package/dist/packages/elevator/elevator.scss +1 -1
  83. package/dist/packages/fixednav/fixednav.scss +1 -1
  84. package/dist/packages/menuitem/menuitem.scss +1 -1
  85. package/dist/packages/price/price.scss +2 -2
  86. package/dist/packages/range/range.scss +2 -2
  87. package/dist/packages/shortpassword/shortpassword.scss +11 -11
  88. package/dist/packages/step/step.scss +1 -1
  89. package/dist/packages/switch/switch.scss +3 -3
  90. package/dist/packages/table/table.scss +1 -1
  91. package/dist/packages/tour/tour.scss +1 -1
  92. package/dist/style.css +1 -1
  93. package/dist/style.mjs +1 -1
  94. package/dist/styles/theme-dark.scss +118 -12
  95. package/dist/styles/theme-default.scss +117 -13
  96. package/dist/styles/theme-jmapp.scss +161 -12
  97. package/dist/styles/variables-jmapp.scss +321 -173
  98. package/dist/styles/variables.scss +311 -186
  99. package/dist/types/packages/configprovider/types.d.ts +1 -1
  100. package/package.json +1 -1
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  /*!
8
- * @nutui/nutui-react-taro v2.1.1 Wed Nov 22 2023 15:32:26 GMT+0800 (China Standard Time)
8
+ * @nutui/nutui-react-taro v2.2.0 Fri Nov 24 2023 15:10:12 GMT+0800 (China Standard Time)
9
9
  * (c) 2023 @jdf2e.
10
10
  * Released under the MIT License.
11
11
  */
@@ -8,7 +8,7 @@ var __publicField = (obj, key, value) => {
8
8
  return value;
9
9
  };
10
10
  /*!
11
- * @nutui/nutui-react-taro v2.1.1 Wed Nov 22 2023 15:32:26 GMT+0800 (China Standard Time)
11
+ * @nutui/nutui-react-taro v2.2.0 Fri Nov 24 2023 15:10:12 GMT+0800 (China Standard Time)
12
12
  * (c) 2023 @jdf2e.
13
13
  * Released under the MIT License.
14
14
  */
@@ -16,7 +16,7 @@
16
16
  display: flex;
17
17
  align-items: center;
18
18
  margin-bottom: 20px;
19
- font-size: $font-size-1;
19
+ font-size: $font-size-small;
20
20
  line-height: 14px;
21
21
  color: $title-color;
22
22
 
@@ -45,7 +45,7 @@
45
45
  background: $button-primary-background-color;
46
46
  border-radius: 21px;
47
47
  font-size: 15px;
48
- color: $primary-text-color;
48
+ color: $color-primary-text;
49
49
  }
50
50
  }
51
51
  }
@@ -92,7 +92,7 @@
92
92
  top: -50px;
93
93
  left: 0;
94
94
  right: 0;
95
- font-size: $font-size-1;
95
+ font-size: $font-size-small;
96
96
  color: $text-color;
97
97
  }
98
98
  }
@@ -160,7 +160,7 @@
160
160
 
161
161
  &-active {
162
162
  background-color: $calendar-active-background-color;
163
- color: $primary-text-color !important;
163
+ color: $color-primary-text !important;
164
164
  border-radius: $calendar-day-active-border-radius;
165
165
 
166
166
  &.active-start {
@@ -176,7 +176,7 @@
176
176
  }
177
177
 
178
178
  .nut-calendar-day-info {
179
- color: $primary-text-color;
179
+ color: $color-primary-text;
180
180
  }
181
181
  }
182
182
 
@@ -215,7 +215,7 @@
215
215
  margin: 10px 18px;
216
216
  border-radius: 22px;
217
217
  background: $button-primary-background-color;
218
- color: $primary-text-color;
218
+ color: $color-primary-text;
219
219
  text-align: center;
220
220
  line-height: 44px;
221
221
  }
@@ -64,7 +64,7 @@
64
64
  &.start,
65
65
  &.end {
66
66
  background-color: $calendar-active-background-color;
67
- color: $primary-text-color !important;
67
+ color: $color-primary-text !important;
68
68
  border-radius: $calendar-day-active-border-radius;
69
69
  }
70
70
 
@@ -90,7 +90,7 @@
90
90
  }
91
91
 
92
92
  .nut-calendar-day-info {
93
- color: $primary-text-color;
93
+ color: $color-primary-text;
94
94
  }
95
95
 
96
96
  // 上个月、下个月
@@ -59,7 +59,7 @@
59
59
  .nut-tag {
60
60
  padding: 0 2px;
61
61
  margin-right: 5px;
62
- font-size: $font-size-0;
62
+ font-size: $font-size-xs;
63
63
  }
64
64
  }
65
65
  .nut-cardright-shop {
@@ -23,7 +23,7 @@
23
23
  }
24
24
 
25
25
  &__icon {
26
- color: $primary-color;
26
+ color: $color-primary;
27
27
  font-size: $checkbox-icon-font-size;
28
28
  transition-duration: 0.3s;
29
29
  transition-property: color, border-color, background-color;
@@ -35,7 +35,7 @@
35
35
  }
36
36
 
37
37
  &__icon--indeterminate {
38
- color: $primary-color;
38
+ color: $color-primary;
39
39
  font-size: $checkbox-icon-font-size;
40
40
  }
41
41
 
@@ -35,7 +35,7 @@
35
35
  &__header {
36
36
  display: block;
37
37
  text-align: center;
38
- font-size: $font-size-3;
38
+ font-size: $font-size-large;
39
39
  font-weight: $dialog-header-font-weight;
40
40
  color: $title-color;
41
41
  @include oneline-ellipsis();
@@ -46,7 +46,7 @@
46
46
  margin: $dialog-content-margin;
47
47
  max-height: $dialog-content-max-height;
48
48
  line-height: $dialog-content-line-height;
49
- font-size: $font-size-1;
49
+ font-size: $font-size-small;
50
50
  color: $text-color;
51
51
  word-wrap: break-word;
52
52
  word-break: break-all;
@@ -4,7 +4,7 @@
4
4
  font-size: $divider-text-font-size;
5
5
  color: $divider-text-color;
6
6
  margin: $divider-margin;
7
- border: 0 solid currentColor;
7
+ border: 0 solid $divider-border-color;
8
8
  width: 100%;
9
9
 
10
10
  &::before,
@@ -21,23 +21,23 @@
21
21
  &__left,
22
22
  &__right {
23
23
  &::before {
24
- margin-right: $divider-before-margin-right;
24
+ margin-right: $divider-spacing;
25
25
  }
26
26
 
27
27
  &::after {
28
- margin-left: $divider-after-margin-left;
28
+ margin-left: $divider-spacing;
29
29
  }
30
30
  }
31
31
 
32
32
  &__left {
33
33
  &::before {
34
- max-width: 10%;
34
+ max-width: $divider-side-width;
35
35
  }
36
36
  }
37
37
 
38
38
  &__right {
39
39
  &::after {
40
- max-width: 10%;
40
+ max-width: $divider-side-width;
41
41
  }
42
42
  }
43
43
 
@@ -53,7 +53,7 @@
53
53
  top: $divider-vertical-top;
54
54
  display: inline-block;
55
55
  height: $divider-vertical-height;
56
- border-left: 1px solid $divider-vertical-border-left;
56
+ border-left: 1px solid $divider-border-color;
57
57
  margin: $divider-vertical-margin;
58
58
  width: auto;
59
59
  }
@@ -45,7 +45,7 @@
45
45
  line-height: $elevator-list-item-name-line-height;
46
46
 
47
47
  &--highcolor {
48
- color: $primary-color;
48
+ color: $color-primary;
49
49
  }
50
50
  }
51
51
  }
@@ -97,7 +97,7 @@
97
97
  font-size: 10px;
98
98
  padding: 0 3px;
99
99
  color: white;
100
- background: $primary-color;
100
+ background: $color-primary;
101
101
  border-radius: 7px;
102
102
  text-align: center;
103
103
  min-width: 12px;
@@ -16,7 +16,7 @@
16
16
 
17
17
  .nut-menu-item__option {
18
18
  color: $title-color;
19
- font-size: $font-size-2;
19
+ font-size: $font-size-base;
20
20
  padding-top: $menu-item-option-padding-top;
21
21
  padding-bottom: $menu-item-option-padding-bottom;
22
22
  display: flex;
@@ -1,7 +1,7 @@
1
1
  .nut-price {
2
- font-size: $font-size-3;
2
+ font-size: $font-size-large;
3
3
  display: inline;
4
- color: $primary-color;
4
+ color: $color-primary;
5
5
  &--line {
6
6
  div {
7
7
  text-decoration: line-through;
@@ -6,7 +6,7 @@
6
6
  align-items: center;
7
7
  .min,
8
8
  .max {
9
- font-size: $font-size-1;
9
+ font-size: $font-size-small;
10
10
  color: $range-font-color;
11
11
  user-select: none;
12
12
  }
@@ -147,7 +147,7 @@
147
147
  align-items: center;
148
148
  justify-content: center;
149
149
  user-select: none;
150
- font-size: $font-size-1;
150
+ font-size: $font-size-small;
151
151
  color: $range-font-color;
152
152
  transform: translate3d(0, -100%, 0);
153
153
  }
@@ -2,7 +2,7 @@
2
2
  .nut-shortpassword {
3
3
  &__title {
4
4
  line-height: 1;
5
- font-size: $font-size-3;
5
+ font-size: $font-size-large;
6
6
  color: $title-color;
7
7
  }
8
8
 
@@ -10,7 +10,7 @@
10
10
  margin-top: 12px;
11
11
  margin-bottom: 24px;
12
12
  line-height: 1;
13
- font-size: $font-size-1;
13
+ font-size: $font-size-small;
14
14
  color: $text-color;
15
15
  }
16
16
 
@@ -75,13 +75,13 @@
75
75
 
76
76
  &__error {
77
77
  line-height: 1;
78
- font-size: $font-size-0;
78
+ font-size: $font-size-xs;
79
79
  color: $shortpassword-error;
80
80
  }
81
81
 
82
82
  &__forget {
83
83
  line-height: 1;
84
- font-size: $font-size-1;
84
+ font-size: $font-size-small;
85
85
  color: $shortpassword-forget;
86
86
  display: flex;
87
87
  align-items: center;
@@ -95,25 +95,25 @@
95
95
 
96
96
  &__cancel {
97
97
  background: $white;
98
- border: 1px solid $primary-color;
98
+ border: 1px solid $color-primary;
99
99
  border-radius: 15px;
100
100
  padding: 8px 38px;
101
101
  line-height: 1;
102
- font-size: $font-size-2;
103
- color: $primary-color;
102
+ font-size: $font-size-base;
103
+ color: $color-primary;
104
104
  }
105
105
 
106
106
  &__sure {
107
107
  background: linear-gradient(
108
108
  135deg,
109
- $primary-color 0%,
110
- $primary-color-end 100%
109
+ $color-primary 0%,
110
+ $color-primary-stop-2 100%
111
111
  );
112
112
  border-radius: 15px;
113
113
  padding: 8px 38px;
114
114
  line-height: 1;
115
- font-size: $font-size-2;
116
- color: $primary-text-color;
115
+ font-size: $font-size-base;
116
+ color: $color-primary-text;
117
117
  }
118
118
  }
119
119
  }
@@ -177,7 +177,7 @@
177
177
  margin-top: -7px;
178
178
  width: 14px;
179
179
  height: 14px;
180
- background-color: $primary-color-end;
180
+ background-color: $color-primary-stop-2;
181
181
  border-radius: 50%;
182
182
  opacity: 0.23;
183
183
  }
@@ -22,13 +22,13 @@
22
22
  align-items: center;
23
23
  justify-content: center;
24
24
  border-radius: 50%;
25
- background: $primary-text-color;
25
+ background: $color-primary-text;
26
26
  transition: transform 0.3s;
27
27
  }
28
28
 
29
29
  &__label {
30
- color: $primary-text-color;
31
- font-size: $font-size-1;
30
+ color: $color-primary-text;
31
+ font-size: $font-size-small;
32
32
  &.open {
33
33
  transform: translateX(-16px);
34
34
  }
@@ -2,7 +2,7 @@
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
5
- font-size: $font-size-2;
5
+ font-size: $font-size-base;
6
6
  color: $title-color;
7
7
 
8
8
  &__main {
@@ -54,7 +54,7 @@
54
54
  &.active {
55
55
  color: #fff;
56
56
  border: 0;
57
- background: $primary-color;
57
+ background: $color-primary;
58
58
  }
59
59
  }
60
60
  }