@ray-js/lamp-style-slider 0.0.6-beta-5 → 0.0.6-beta-6
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/lib/index.js +3 -2
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -77,7 +77,7 @@ function OpacitySlider(props) {
|
|
|
77
77
|
}).run;
|
|
78
78
|
return /*#__PURE__*/React.createElement(View, {
|
|
79
79
|
style: style
|
|
80
|
-
}, label && (() => {
|
|
80
|
+
}, label && controllerValue !== -1 && (() => {
|
|
81
81
|
return /*#__PURE__*/React.createElement(View, {
|
|
82
82
|
className: styles.textRow
|
|
83
83
|
}, /*#__PURE__*/React.createElement(Text, {
|
|
@@ -161,7 +161,8 @@ function OpacitySlider(props) {
|
|
|
161
161
|
border: '8rpx solid #fff',
|
|
162
162
|
borderRadius: '50%',
|
|
163
163
|
boxShadow: 'rgb(255 255 255 / 10%) 0px 0px 1px',
|
|
164
|
-
background: `${'transparent'}
|
|
164
|
+
background: `${'transparent'}`,
|
|
165
|
+
transition: 'opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1)'
|
|
165
166
|
}, thumbStyle)),
|
|
166
167
|
thumbStyleRenderFormatter: {
|
|
167
168
|
background: props === null || props === void 0 ? void 0 : (_props$thumbColorForm = props.thumbColorFormatterConfig) === null || _props$thumbColorForm === void 0 ? void 0 : _props$thumbColorForm.formatter
|