@ledvance/base 1.1.4 → 1.1.5

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.4",
7
+ "version": "1.1.5",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
@@ -2,15 +2,11 @@ import {View} from 'react-native'
2
2
  import React from 'react'
3
3
  import LdvColorSlider from './ldvColorSlider'
4
4
  import {hex2Hsv, hsv2Hex} from '../utils'
5
- import Spacer from './Spacer'
6
5
  import LdvPresetView from './ldvPresetView'
7
- import {Utils} from 'tuya-panel-kit'
8
6
  import LdvSaturation from './ldvSaturation'
9
7
  import LdvColorBrightness from './ldvColorBrightness'
10
8
  import I18n from '../i18n/index'
11
9
 
12
- const {convertX: cx} = Utils.RatioUtils
13
-
14
10
  export interface ColorAdjustViewProps {
15
11
  h: number
16
12
  s: number
@@ -41,7 +37,6 @@ const ColorAdjustView = (props: ColorAdjustViewProps) => {
41
37
  props.onHSVChangeComplete(hsv.h, hsv.s, hsv.v)
42
38
  }
43
39
  }}/>
44
- <Spacer height={cx(10)}/>
45
40
  <LdvSaturation
46
41
  value={props.s}
47
42
  onValueChange={s => {