Many dependency updates

@storybook 6.4.20 blocks most of others like: react 18, webpack 5,
and keeps lots of unnecessary dependencies due to chakra 2 dep.
This commit is contained in:
Filip Proborszcz
2022-04-07 17:21:34 +02:00
parent f5646f57d1
commit ab00c9f426
6 changed files with 7126 additions and 7811 deletions

View File

@@ -4,7 +4,7 @@ import cloneDeep from 'lodash.clonedeep'
import clamp from 'lodash.clamp'
import get from 'lodash.get'
import {unset} from 'lodash'
import arrayMove from 'array-move'
import {arrayMoveImmutable} from 'array-move'
import url from 'url'
import hash from "string-hash";
@@ -486,7 +486,7 @@ export default class App extends React.Component {
}
layers = layers.slice(0);
layers = arrayMove(layers, oldIndex, newIndex);
layers = arrayMoveMutable(layers, oldIndex, newIndex);
this.onLayersChange(layers);
}

View File

@@ -276,26 +276,6 @@ export default class DataProperty extends React.Component {
{deleteStopBtn}
</td>
</tr>
return <Block
error={error}
key={key}
action={deleteStopBtn}
label=""
>
{zoomInput}
<div className="maputnik-data-spec-property-stop-data">
{dataInput}
</div>
<div className="maputnik-data-spec-property-stop-value">
<InputSpec
fieldName={this.props.fieldName}
fieldSpec={this.props.fieldSpec}
value={value}
onChange={(_, newValue) => this.changeStop(idx, {zoom: zoomLevel, value: dataLevel}, newValue)}
/>
</div>
</Block>
})
}