@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.
Files changed (2) hide show
  1. package/lib/index.js +3 -2
  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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/lamp-style-slider",
3
- "version": "0.0.6-beta-5",
3
+ "version": "0.0.6-beta-6",
4
4
  "description": "照明样式的基础滑动条",
5
5
  "main": "lib/index",
6
6
  "files": [