@nutui/nutui-react 4.0.0-beta.6 → 4.0.0-beta.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.
Files changed (100) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/packages/animate/style/style.css +27 -9
  3. package/dist/cjs/packages/animate/style-jmapp/style.css +27 -9
  4. package/dist/cjs/packages/animate/style-jrkf/style.css +27 -9
  5. package/dist/cjs/packages/audio/audio.js +8 -8
  6. package/dist/cjs/packages/badge/badge.js +9 -9
  7. package/dist/cjs/packages/button/style/style.css +20 -8
  8. package/dist/cjs/packages/button/style-jmapp/style.css +20 -8
  9. package/dist/cjs/packages/button/style-jrkf/style.css +20 -8
  10. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  11. package/dist/cjs/packages/indicator/indicator.js +6 -6
  12. package/dist/cjs/packages/infiniteloading/infiniteloading.js +9 -9
  13. package/dist/cjs/packages/navbar/style/style.css +3 -1
  14. package/dist/cjs/packages/navbar/style-jmapp/style.css +3 -1
  15. package/dist/cjs/packages/navbar/style-jrkf/style.css +3 -1
  16. package/dist/cjs/packages/noticebar/noticebar.js +115 -52
  17. package/dist/cjs/packages/noticebar/style/noticebar.scss +130 -10
  18. package/dist/cjs/packages/noticebar/style/style.css +138 -35
  19. package/dist/cjs/packages/noticebar/style-jmapp/noticebar.scss +130 -10
  20. package/dist/cjs/packages/noticebar/style-jmapp/style.css +113 -10
  21. package/dist/cjs/packages/noticebar/style-jrkf/noticebar.scss +130 -10
  22. package/dist/cjs/packages/noticebar/style-jrkf/style.css +113 -10
  23. package/dist/cjs/packages/notify/Notification.js +8 -8
  24. package/dist/cjs/packages/numberkeyboard/style/style.css +6 -6
  25. package/dist/cjs/packages/numberkeyboard/style-jmapp/style.css +6 -6
  26. package/dist/cjs/packages/numberkeyboard/style-jrkf/style.css +6 -6
  27. package/dist/cjs/packages/popover/popover.js +46 -37
  28. package/dist/cjs/packages/popover/style/popover.scss +79 -54
  29. package/dist/cjs/packages/popover/style/style.css +73 -61
  30. package/dist/cjs/packages/popover/style-jmapp/popover.scss +79 -54
  31. package/dist/cjs/packages/popover/style-jmapp/style.css +73 -61
  32. package/dist/cjs/packages/popover/style-jrkf/popover.scss +79 -54
  33. package/dist/cjs/packages/popover/style-jrkf/style.css +73 -61
  34. package/dist/cjs/packages/popup/style/style.css +12 -6
  35. package/dist/cjs/packages/popup/style-jmapp/style.css +12 -6
  36. package/dist/cjs/packages/popup/style-jrkf/style.css +12 -6
  37. package/dist/cjs/packages/pulltorefresh/pulltorefresh.js +35 -35
  38. package/dist/cjs/packages/skeleton/skeleton.js +15 -15
  39. package/dist/cjs/packages/swiper/swiper.js +11 -11
  40. package/dist/cjs/packages/toast/Notification.js +8 -8
  41. package/dist/cjs/packages/tour/tour.js +1 -1
  42. package/dist/cjs/types/spec/noticebar/base.d.ts +5 -1
  43. package/dist/cjs/types/spec/popover/base.d.ts +4 -0
  44. package/dist/cjs/utils/is-forward-ref-component.js +2 -2
  45. package/dist/cjs/utils/render.js +1 -1
  46. package/dist/es/packages/animate/style/style.css +27 -9
  47. package/dist/es/packages/animate/style-jmapp/style.css +27 -9
  48. package/dist/es/packages/animate/style-jrkf/style.css +27 -9
  49. package/dist/es/packages/audio/audio.js +8 -8
  50. package/dist/es/packages/badge/badge.js +9 -9
  51. package/dist/es/packages/button/style/style.css +20 -8
  52. package/dist/es/packages/button/style-jmapp/style.css +20 -8
  53. package/dist/es/packages/button/style-jrkf/style.css +20 -8
  54. package/dist/es/packages/configprovider/types.d.ts +1 -1
  55. package/dist/es/packages/indicator/indicator.js +6 -6
  56. package/dist/es/packages/infiniteloading/infiniteloading.js +9 -9
  57. package/dist/es/packages/navbar/style/style.css +3 -1
  58. package/dist/es/packages/navbar/style-jmapp/style.css +3 -1
  59. package/dist/es/packages/navbar/style-jrkf/style.css +3 -1
  60. package/dist/es/packages/noticebar/noticebar.js +117 -55
  61. package/dist/es/packages/noticebar/style/noticebar.scss +130 -10
  62. package/dist/es/packages/noticebar/style/style.css +138 -35
  63. package/dist/es/packages/noticebar/style-jmapp/noticebar.scss +130 -10
  64. package/dist/es/packages/noticebar/style-jmapp/style.css +113 -10
  65. package/dist/es/packages/noticebar/style-jrkf/noticebar.scss +130 -10
  66. package/dist/es/packages/noticebar/style-jrkf/style.css +113 -10
  67. package/dist/es/packages/notify/Notification.js +8 -8
  68. package/dist/es/packages/numberkeyboard/style/style.css +6 -6
  69. package/dist/es/packages/numberkeyboard/style-jmapp/style.css +6 -6
  70. package/dist/es/packages/numberkeyboard/style-jrkf/style.css +6 -6
  71. package/dist/es/packages/popover/popover.js +46 -37
  72. package/dist/es/packages/popover/style/popover.scss +79 -54
  73. package/dist/es/packages/popover/style/style.css +73 -61
  74. package/dist/es/packages/popover/style-jmapp/popover.scss +79 -54
  75. package/dist/es/packages/popover/style-jmapp/style.css +73 -61
  76. package/dist/es/packages/popover/style-jrkf/popover.scss +79 -54
  77. package/dist/es/packages/popover/style-jrkf/style.css +73 -61
  78. package/dist/es/packages/popup/style/style.css +12 -6
  79. package/dist/es/packages/popup/style-jmapp/style.css +12 -6
  80. package/dist/es/packages/popup/style-jrkf/style.css +12 -6
  81. package/dist/es/packages/pulltorefresh/pulltorefresh.js +35 -35
  82. package/dist/es/packages/skeleton/skeleton.js +15 -15
  83. package/dist/es/packages/swiper/swiper.js +11 -11
  84. package/dist/es/packages/toast/Notification.js +8 -8
  85. package/dist/es/packages/tour/tour.js +1 -1
  86. package/dist/es/types/spec/noticebar/base.d.ts +19 -3
  87. package/dist/es/types/spec/popover/base.d.ts +17 -1
  88. package/dist/es/utils/render.js +1 -1
  89. package/dist/nutui.react.umd.js +1614 -1254
  90. package/dist/style-jmapp.css +1 -1
  91. package/dist/style-jmapp.scss +31 -31
  92. package/dist/style-jrkf.css +1 -1
  93. package/dist/style-jrkf.scss +30 -30
  94. package/dist/style.css +1 -1
  95. package/dist/style.scss +31 -31
  96. package/dist/styles/variables-daojia.scss +55 -9
  97. package/dist/styles/variables-jmapp.scss +52 -6
  98. package/dist/styles/variables-jrkf.scss +52 -6
  99. package/dist/styles/variables.scss +123 -15
  100. package/package.json +1 -1
@@ -28,18 +28,21 @@ var _getscrollparent = require("../../utils/get-scroll-parent");
28
28
  var _configprovider = require("../configprovider");
29
29
  var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typings.ComponentDefaults), {
30
30
  list: [],
31
- theme: 'light',
31
+ type: 'status',
32
+ theme: 'dark',
32
33
  location: 'bottom',
33
34
  visible: false,
34
35
  offset: [
35
36
  0,
36
37
  8
37
38
  ],
38
- arrowOffset: 0,
39
+ arrowOffset: 20,
39
40
  targetId: '',
40
41
  showArrow: true,
41
42
  closeOnOutsideClick: true,
42
43
  closeOnActionClick: true,
44
+ autoShow: false,
45
+ duration: 0,
43
46
  overlay: false,
44
47
  onClick: function onClick() {},
45
48
  onOpen: function onOpen() {},
@@ -48,9 +51,10 @@ var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typing
48
51
  var classPrefix = "nut-popover";
49
52
  var Popover = function Popover(props) {
50
53
  var rtl = (0, _configprovider.useRtl)();
51
- var _$_object_spread = (0, _object_spread._)({}, defaultProps, props), children = _$_object_spread.children, list = _$_object_spread.list, theme = _$_object_spread.theme, location = _$_object_spread.location, visible = _$_object_spread.visible, offset = _$_object_spread.offset, arrowOffset = _$_object_spread.arrowOffset, targetId = _$_object_spread.targetId, overlay = _$_object_spread.overlay, closeOnOutsideClick = _$_object_spread.closeOnOutsideClick, closeOnActionClick = _$_object_spread.closeOnActionClick, className = _$_object_spread.className, showArrow = _$_object_spread.showArrow, style = _$_object_spread.style, onClick = _$_object_spread.onClick, onOpen = _$_object_spread.onOpen, onClose = _$_object_spread.onClose, onSelect = _$_object_spread.onSelect, rest = (0, _object_without_properties._)(_$_object_spread, [
54
+ var _$_object_spread = (0, _object_spread._)({}, defaultProps, props), children = _$_object_spread.children, list = _$_object_spread.list, type = _$_object_spread.type, theme = _$_object_spread.theme, location = _$_object_spread.location, visible = _$_object_spread.visible, offset = _$_object_spread.offset, arrowOffset = _$_object_spread.arrowOffset, targetId = _$_object_spread.targetId, overlay = _$_object_spread.overlay, closeOnOutsideClick = _$_object_spread.closeOnOutsideClick, closeOnActionClick = _$_object_spread.closeOnActionClick, autoShow = _$_object_spread.autoShow, duration = _$_object_spread.duration, className = _$_object_spread.className, showArrow = _$_object_spread.showArrow, style = _$_object_spread.style, onClick = _$_object_spread.onClick, onOpen = _$_object_spread.onOpen, onClose = _$_object_spread.onClose, onSelect = _$_object_spread.onSelect, rest = (0, _object_without_properties._)(_$_object_spread, [
52
55
  "children",
53
56
  "list",
57
+ "type",
54
58
  "theme",
55
59
  "location",
56
60
  "visible",
@@ -60,6 +64,8 @@ var Popover = function Popover(props) {
60
64
  "overlay",
61
65
  "closeOnOutsideClick",
62
66
  "closeOnActionClick",
67
+ "autoShow",
68
+ "duration",
63
69
  "className",
64
70
  "showArrow",
65
71
  "style",
@@ -83,6 +89,27 @@ var Popover = function Popover(props) {
83
89
  visible,
84
90
  location
85
91
  ]);
92
+ (0, _react.useEffect)(function() {
93
+ if (autoShow) {
94
+ onOpen === null || onOpen === void 0 ? void 0 : onOpen();
95
+ }
96
+ }, []);
97
+ (0, _react.useEffect)(function() {
98
+ if (visible && duration > 0) {
99
+ var timer = setTimeout(function() {
100
+ onClick === null || onClick === void 0 ? void 0 : onClick();
101
+ onClose === null || onClose === void 0 ? void 0 : onClose();
102
+ }, duration);
103
+ return function() {
104
+ return clearTimeout(timer);
105
+ };
106
+ }
107
+ }, [
108
+ visible,
109
+ duration,
110
+ onClick,
111
+ onClose
112
+ ]);
86
113
  var update = (0, _react.useRef)(function(e) {
87
114
  getWrapperPosition();
88
115
  });
@@ -137,7 +164,7 @@ var Popover = function Popover(props) {
137
164
  right: rtl ? left : right
138
165
  });
139
166
  };
140
- var classes = (0, _classnames.default)(classPrefix, (0, _define_property._)({}, "".concat(classPrefix, "-").concat(theme), theme === 'dark'), className);
167
+ var classes = (0, _classnames.default)(classPrefix, "".concat(classPrefix, "--").concat(type), (0, _define_property._)({}, "".concat(classPrefix, "-light"), theme === 'light'), className);
141
168
  var popoverArrow = function popoverArrow() {
142
169
  var prefixCls = 'nut-popover-arrow';
143
170
  var direction = location.split('-')[0];
@@ -164,6 +191,7 @@ var Popover = function Popover(props) {
164
191
  }
165
192
  if (width) {
166
193
  var dir = rtl ? 'right' : 'left';
194
+ var edgeOffset = arrowOffset;
167
195
  if ([
168
196
  'bottom',
169
197
  'top'
@@ -174,10 +202,10 @@ var Popover = function Popover(props) {
174
202
  styles[dir] = "".concat(-(popWidth - width) / 2 + wrapperPosition[dir] + parallel, "px");
175
203
  }
176
204
  if (skew === 'left') {
177
- styles.left = "".concat(left + parallel, "px");
205
+ styles.left = "".concat(left + width / 2 - edgeOffset + parallel, "px");
178
206
  }
179
207
  if (skew === 'right') {
180
- styles.left = "".concat(right + parallel, "px");
208
+ styles.left = "".concat(left + width / 2 + edgeOffset + parallel, "px");
181
209
  }
182
210
  }
183
211
  if ([
@@ -187,7 +215,7 @@ var Popover = function Popover(props) {
187
215
  var contentW = direction === 'left' ? -(popWidth + cross) : width + cross;
188
216
  styles.left = "".concat(left + contentW, "px");
189
217
  if (!skew) {
190
- styles.top = "".concat(top - popHeight / 2 + height / 2 - 4 + parallel, "px");
218
+ styles.top = "".concat(top - popHeight / 2 + height / 2 + parallel, "px");
191
219
  }
192
220
  if (skew === 'top') {
193
221
  styles.top = "".concat(top + parallel, "px");
@@ -204,37 +232,18 @@ var Popover = function Popover(props) {
204
232
  var styles = {};
205
233
  var direction = location.split('-')[0];
206
234
  var skew = location.split('-')[1];
207
- var base = 16;
208
- if (arrowOffset !== 0) {
209
- var dir = rtl ? 'right' : 'left';
210
- var dir2 = rtl ? 'left' : 'right';
211
- if ([
212
- 'bottom',
213
- 'top'
214
- ].includes(direction)) {
215
- if (!skew) {
216
- styles[dir] = "calc(50% + ".concat(arrowOffset, "px)");
217
- }
218
- if (skew === 'left') {
219
- styles[dir] = "".concat(base + arrowOffset, "px");
220
- }
221
- if (skew === 'right') {
222
- styles[dir2] = "".concat(base - arrowOffset, "px");
223
- }
235
+ var dir = rtl ? 'right' : 'left';
236
+ var dir2 = rtl ? 'left' : 'right';
237
+ var edgeOffset = arrowOffset;
238
+ if ([
239
+ 'bottom',
240
+ 'top'
241
+ ].includes(direction)) {
242
+ if (skew === 'left') {
243
+ styles[dir] = "".concat(edgeOffset, "px");
224
244
  }
225
- if ([
226
- 'left',
227
- 'right'
228
- ].includes(direction)) {
229
- if (!skew) {
230
- styles.top = "calc(50% - ".concat(arrowOffset, "px)");
231
- }
232
- if (skew === 'top') {
233
- styles.top = "".concat(base - arrowOffset, "px");
234
- }
235
- if (skew === 'bottom') {
236
- styles.bottom = "".concat(base + arrowOffset, "px");
237
- }
245
+ if (skew === 'right') {
246
+ styles[dir2] = "".concat(edgeOffset, "px");
238
247
  }
239
248
  }
240
249
  return styles;
@@ -6,25 +6,25 @@
6
6
  &-arrow {
7
7
  position: absolute;
8
8
  width: scale-px(8px);
9
- height: scale-px(4px);
9
+ height: scale-px(8px);
10
10
 
11
11
  .nut-icon-ArrowRadius {
12
12
  position: absolute;
13
13
  color: $popover-content-background-color;
14
14
  width: scale-px(8px);
15
- height: scale-px(4px);
15
+ height: scale-px(8px);
16
16
  }
17
17
 
18
18
  &-top {
19
- bottom: scale-px(-4px);
19
+ bottom: scale-px(-8px);
20
20
  }
21
21
 
22
22
  &-bottom {
23
- top: scale-px(-4px);
23
+ top: scale-px(-8px);
24
24
  }
25
25
 
26
26
  &-left {
27
- right: scale-px(-6px);
27
+ right: scale-px(-8px);
28
28
  transform-origin: center top;
29
29
 
30
30
  &.nut-popover-arrow-left {
@@ -33,15 +33,12 @@
33
33
  }
34
34
 
35
35
  &.nut-popover-arrow-left-top {
36
- top: scale-px(16px);
37
- right: scale-px(-8px);
36
+ right: scale-px(-12px);
38
37
  transform: rotate(90deg) translateY(0%);
39
38
  }
40
39
 
41
40
  &.nut-popover-arrow-left-bottom {
42
- top: auto;
43
- bottom: scale-px(16px);
44
- right: scale-px(-8px);
41
+ right: scale-px(-12px);
45
42
  transform: rotate(90deg) translateY(0%);
46
43
  }
47
44
  }
@@ -50,19 +47,17 @@
50
47
  transform-origin: center top;
51
48
  &.nut-popover-arrow-right {
52
49
  top: 50%;
53
- left: scale-px(-6px);
50
+ left: scale-px(-8px);
54
51
  transform: rotate(-90deg) translateY(-50%);
55
52
  }
56
53
 
57
54
  &.nut-popover-arrow-right-top {
58
- top: scale-px(16px);
59
- left: scale-px(-8px);
55
+ left: scale-px(-12px);
60
56
  transform: rotate(-90deg) translateY(0%);
61
57
  }
62
58
 
63
59
  &.nut-popover-arrow-right-bottom {
64
- bottom: scale-px(16px);
65
- left: scale-px(-8px);
60
+ left: scale-px(-12px);
66
61
  transform: rotate(-90deg) translateY(0%);
67
62
  }
68
63
  }
@@ -74,22 +69,24 @@
74
69
  border-radius: $popover-border-radius;
75
70
  font-size: $popover-font-size;
76
71
  color: $popover-text-color;
77
- line-height: scale-px(28px);
78
72
  /* #ifndef dynamic*/
79
73
  max-height: initial;
80
74
  overflow-y: initial;
81
75
  /* #endif */
82
76
 
83
77
  &-group {
84
- padding: 0 $popover-padding;
78
+ padding: 0 $popover-padding-horizontal;
79
+ overflow: visible;
85
80
  }
86
81
 
87
82
  .nut-popover-item {
83
+ box-sizing: border-box;
88
84
  display: flex;
89
85
  align-items: center;
90
86
  justify-content: center;
87
+ min-height: $popover-height;
88
+ padding: $popover-padding-vertical 0;
91
89
  border-bottom: scale-px(1px) solid $popover-divider-color;
92
- max-width: $popover-item-width;
93
90
  word-wrap: break-word;
94
91
 
95
92
  &:last-child {
@@ -99,16 +96,30 @@
99
96
 
100
97
  &-icon,
101
98
  &-action-icon {
99
+ position: relative;
102
100
  display: flex;
103
101
  justify-content: center;
104
102
  align-items: center;
105
- width: $font-size-s;
106
- height: $font-size-s;
107
- font-size: $font-size-s;
103
+ flex-shrink: 0;
104
+ align-self: stretch;
105
+ width: $popover-icon-size;
106
+ color: $popover-icon-color;
107
+
108
+ &::before {
109
+ content: '';
110
+ position: absolute;
111
+ top: 0;
112
+ bottom: 0;
113
+ left: 50%;
114
+ width: $popover-action-hotspot-size;
115
+ transform: translateX(-50%);
116
+ }
117
+
108
118
  .nut-icon {
109
- width: $font-size-s;
110
- height: $font-size-s;
111
- font-size: $font-size-s;
119
+ position: relative;
120
+ z-index: 1;
121
+ width: $popover-icon-size;
122
+ height: $popover-icon-size;
112
123
  }
113
124
  }
114
125
 
@@ -117,14 +128,17 @@
117
128
  }
118
129
 
119
130
  &-name {
120
- width: calc(100% - scale-px(34px));
121
131
  word-break: keep-all;
122
132
  flex: 1;
133
+ min-width: 0;
134
+ text-align: center;
135
+ line-height: calc(
136
+ #{$popover-height} - #{$popover-padding-vertical} * 2
137
+ );
123
138
  }
124
139
 
125
140
  &-action-icon {
126
- color: $color-text;
127
- margin-left: $spacing-base;
141
+ margin-left: $spacing-xxs;
128
142
  }
129
143
 
130
144
  &.nut-popover-item-disabled {
@@ -148,18 +162,16 @@
148
162
  &-top-right {
149
163
  right: 0;
150
164
  .nut-popover-arrow-top-right {
151
- right: scale-px(16px);
152
- bottom: scale-px(-3.5px);
153
- transform: rotate(180deg) translateX(0%);
165
+ transform-origin: center right;
166
+ transform: rotate(180deg) translateX(50%);
154
167
  }
155
168
  }
156
169
 
157
170
  &-top-left {
158
171
  left: 0;
159
172
  .nut-popover-arrow-top-left {
160
- left: scale-px(16px);
161
- bottom: scale-px(-3.5px);
162
- transform: rotate(180deg) translateX(0%);
173
+ transform-origin: center left;
174
+ transform: rotate(180deg) translateX(-50%);
163
175
  }
164
176
  }
165
177
 
@@ -173,16 +185,14 @@
173
185
  &-bottom-right {
174
186
  right: 0;
175
187
  .nut-popover-arrow-bottom-right {
176
- right: scale-px(16px);
177
- transform: translateX(0%);
188
+ transform: translateX(50%);
178
189
  }
179
190
  }
180
191
 
181
192
  &-bottom-left {
182
193
  left: 0;
183
194
  .nut-popover-arrow-bottom-left {
184
- left: scale-px(16px);
185
- transform: translateX(0%);
195
+ transform: translateX(-50%);
186
196
  }
187
197
  }
188
198
 
@@ -202,24 +212,42 @@
202
212
  top: 0;
203
213
  }
204
214
  }
205
- }
206
215
 
207
- .nut-popover-dark {
208
- background: $popover-text-color;
209
- color: $popover-content-background-color;
216
+ &--status {
217
+ .nut-popover-content .nut-popover-item {
218
+ max-width: $popover-status-max-width;
219
+ }
220
+ }
210
221
 
222
+ &--description {
223
+ .nut-popover-content .nut-popover-item {
224
+ max-width: $popover-description-max-width;
225
+ }
226
+ }
227
+ }
228
+
229
+ .nut-popover-light {
211
230
  .nut-popover-arrow {
212
- .nut-icon-ArrowRadius {
213
- color: $popover-text-color;
231
+ .nut-icon-ArrowRadius,
232
+ .nut-popover-arrow-svg {
233
+ color: $popover-light-content-background-color;
214
234
  }
215
235
  }
216
236
 
217
237
  .nut-popover-content {
218
- background: $popover-text-color !important;
219
- color: $popover-content-background-color !important;
238
+ background: $popover-light-content-background-color !important;
239
+ color: $popover-light-text-color !important;
240
+
220
241
  .nut-popover-item {
242
+ border-bottom-color: $popover-light-divider-color;
243
+
244
+ &-icon,
221
245
  &-action-icon {
222
- color: rgba(255, 255, 255, 0.8);
246
+ color: $popover-light-icon-color;
247
+
248
+ .nut-icon {
249
+ color: $popover-light-icon-color;
250
+ }
223
251
  }
224
252
  }
225
253
  }
@@ -229,13 +257,14 @@
229
257
  .nut-rtl .nut-popover {
230
258
  .nut-popover-content {
231
259
  .nut-popover-item {
232
- &-name {
233
- margin-left: 0;
234
- margin-right: scale-px(4px);
260
+ &-icon {
261
+ margin-right: 0;
262
+ margin-left: $spacing-xxs;
235
263
  }
236
264
 
237
265
  &-action-icon {
238
- right: auto;
266
+ margin-left: 0;
267
+ margin-right: $spacing-xxs;
239
268
  }
240
269
  }
241
270
  &-top {
@@ -251,7 +280,6 @@
251
280
 
252
281
  .nut-popover-arrow-top-right {
253
282
  right: auto;
254
- left: scale-px(16px);
255
283
  }
256
284
  }
257
285
 
@@ -261,7 +289,6 @@
261
289
 
262
290
  .nut-popover-arrow-top-left {
263
291
  left: auto;
264
- right: scale-px(16px);
265
292
  }
266
293
  }
267
294
 
@@ -279,7 +306,6 @@
279
306
 
280
307
  .nut-popover-arrow-bottom-right {
281
308
  right: auto;
282
- left: scale-px(16px);
283
309
  }
284
310
  }
285
311
 
@@ -289,7 +315,6 @@
289
315
 
290
316
  .nut-popover-arrow-bottom-left {
291
317
  left: auto;
292
- right: scale-px(16px);
293
318
  }
294
319
  }
295
320
  }