wjec-one 4.1.4 → 4.1.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/config/webpack.common.config.js +10 -7
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/umd/index.js +2 -2
|
@@ -49,14 +49,17 @@ module.exports = (_env, { mode }) => ({
|
|
|
49
49
|
'#2E3638': 'currentColor'
|
|
50
50
|
},
|
|
51
51
|
svgoConfig: {
|
|
52
|
-
plugins: [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
52
|
+
plugins: [
|
|
53
|
+
{
|
|
54
|
+
name: 'preset-default',
|
|
55
|
+
params: {
|
|
56
|
+
overrides: {
|
|
57
|
+
removeViewBox: false,
|
|
58
|
+
cleanupIds: false
|
|
59
|
+
}
|
|
60
|
+
},
|
|
58
61
|
}
|
|
59
|
-
|
|
62
|
+
]
|
|
60
63
|
},
|
|
61
64
|
svgProps: {
|
|
62
65
|
xmlns: 'http://www.w3.org/2000/svg'
|
package/index.d.ts
CHANGED
|
@@ -1740,7 +1740,7 @@ type Options = KeyframeAnimationOptions & {
|
|
|
1740
1740
|
declare const useAnimation: <T extends KeyframeParams>(elementRef: MutableRefObject<HTMLElement | SVGElement>, keyframes: KeyframesArray<T> | KeyframesObject<T>, { onCancelled, onFinished, onStarted, playImmediately, ...options }?: Options) => {
|
|
1741
1741
|
cancel: () => void;
|
|
1742
1742
|
pause: () => void;
|
|
1743
|
-
play: (values?: KeyframeValues<T
|
|
1743
|
+
play: (values?: KeyframeValues<T>, optionOverrides?: KeyframeAnimationOptions) => Animation;
|
|
1744
1744
|
readonly playState: AnimationPlayState;
|
|
1745
1745
|
};
|
|
1746
1746
|
|