@onesy/ui-react 1.0.0 → 1.0.1
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/Zoom/Zoom.d.ts +1 -1
- package/Zoom/Zoom.js +1 -1
- package/esm/Zoom/Zoom.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +2 -2
package/Zoom/Zoom.d.ts
CHANGED
package/Zoom/Zoom.js
CHANGED
@@ -18,7 +18,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
18
18
|
const react_1 = __importDefault(require("react"));
|
19
19
|
const utils_1 = require("@onesy/utils");
|
20
20
|
const style_react_1 = require("@onesy/style-react");
|
21
|
-
const __1 = require("
|
21
|
+
const __1 = require("..");
|
22
22
|
const Zoom = react_1.default.forwardRef((props_, ref) => {
|
23
23
|
const theme = (0, style_react_1.useOnesyTheme)();
|
24
24
|
const props = react_1.default.useMemo(() => { var _a, _b, _c, _d, _e, _f, _g, _h; return (Object.assign(Object.assign(Object.assign({}, (_d = (_c = (_b = (_a = theme === null || theme === void 0 ? void 0 : theme.ui) === null || _a === void 0 ? void 0 : _a.elements) === null || _b === void 0 ? void 0 : _b.all) === null || _c === void 0 ? void 0 : _c.props) === null || _d === void 0 ? void 0 : _d.default), (_h = (_g = (_f = (_e = theme === null || theme === void 0 ? void 0 : theme.ui) === null || _e === void 0 ? void 0 : _e.elements) === null || _f === void 0 ? void 0 : _f.onesyZoom) === null || _g === void 0 ? void 0 : _g.props) === null || _h === void 0 ? void 0 : _h.default), props_)); }, [props_]);
|
package/esm/Zoom/Zoom.js
CHANGED
@@ -6,7 +6,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
6
6
|
import React from 'react';
|
7
7
|
import { is } from '@onesy/utils';
|
8
8
|
import { classNames, useOnesyTheme } from '@onesy/style-react';
|
9
|
-
import { Transition } from '
|
9
|
+
import { Transition } from '..';
|
10
10
|
const Zoom = /*#__PURE__*/React.forwardRef((props_, ref) => {
|
11
11
|
const theme = useOnesyTheme();
|
12
12
|
const props = React.useMemo(() => _objectSpread(_objectSpread(_objectSpread({}, theme?.ui?.elements?.all?.props?.default), theme?.ui?.elements?.onesyZoom?.props?.default), props_), [props_]);
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@onesy/ui-react",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.1",
|
4
4
|
"description": "UI for React",
|
5
5
|
"repository": "https://github.com/onesy-org/onesy.git",
|
6
6
|
"author": "Lazar <lazareric2@gmail.com>",
|
@@ -38,7 +38,7 @@
|
|
38
38
|
"dependencies": {
|
39
39
|
"@onesy/date": "^1.0.0",
|
40
40
|
"@onesy/errors": "^1.0.0",
|
41
|
-
"@
|
41
|
+
"@onesy/icons-material-rounded-react": "^1.0.1",
|
42
42
|
"@onesy/log": "^1.0.0",
|
43
43
|
"@onesy/subscription": "^1.0.0",
|
44
44
|
"@onesy/utils": "^1.0.0"
|