@homecode/ui 4.26.7 → 4.26.9
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/dist/esm/src/components/Autocomplete/Autocomplete.js +1 -1
- package/dist/esm/src/components/Container/Container.js +4 -3
- package/dist/esm/src/components/Icon/icons/lock.svg.js +3 -4
- package/dist/esm/src/components/Icon/icons/lockOpen.svg.js +5 -9
- package/dist/esm/src/components/InputFile/InputFile.js +1 -1
- package/dist/esm/types/src/components/Container/Container.d.ts +1 -1
- package/package.json +1 -1
|
@@ -26,7 +26,7 @@ import 'justorm/react';
|
|
|
26
26
|
import 'lodash.omit';
|
|
27
27
|
import 'nanoid';
|
|
28
28
|
import '../Checkbox/Checkbox.styl.js';
|
|
29
|
-
import '../Container/Container.
|
|
29
|
+
import '../Container/Container.js';
|
|
30
30
|
import '../DatePicker/DatePicker.styl.js';
|
|
31
31
|
import 'moment';
|
|
32
32
|
import '../DatePickerInput/DatePickerInput.styl.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import S from './Container.styl.js';
|
|
4
|
+
import { forwardRef } from 'react';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
const Container = forwardRef((props, ref) => {
|
|
6
7
|
const { className, children, size, alignItemsCenter, justifyContentCenter, vertical, fullHeight, fullWidth, scrolledX, scrolledY, style, ...rest } = props;
|
|
7
8
|
const classes = cn(S.root, size && S[`size-${size}`], alignItemsCenter && S.alignItemsCenter, justifyContentCenter && S.justifyContentCenter, vertical && S.vertical, scrolledX && S.scrolledX, scrolledY && S.scrolledY, fullHeight && S.fullHeight, fullWidth && S.fullWidth, className);
|
|
8
9
|
const stylesObj = { ...style };
|
|
9
|
-
return (jsx("div", { className: classes, ...rest, style: stylesObj, children: children }));
|
|
10
|
-
}
|
|
10
|
+
return (jsx("div", { className: classes, ...rest, style: stylesObj, ref: ref, children: children }));
|
|
11
|
+
});
|
|
11
12
|
|
|
12
13
|
export { Container };
|
|
@@ -5,15 +5,14 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function
|
|
|
5
5
|
var SvgLock = function SvgLock(props) {
|
|
6
6
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
|
|
9
|
-
height: 24,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
10
9
|
fill: "none"
|
|
11
10
|
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
12
11
|
stroke: "currentColor",
|
|
13
12
|
strokeLinecap: "round",
|
|
14
13
|
strokeLinejoin: "round",
|
|
15
|
-
strokeWidth: 1.
|
|
16
|
-
d: "
|
|
14
|
+
strokeWidth: 1.969,
|
|
15
|
+
d: "M11.994 17.928v-2.396m4.801-4.793V5.947a4.81 4.788 0 0 0-4.8-4.792 4.81 4.788 0 0 0-4.802 4.792v4.792M4.792 22.72h14.404a3.605 3.588 0 0 0 3.602-3.594v-4.792a3.605 3.588 0 0 0-3.602-3.595H4.792a3.605 3.588 0 0 0-3.601 3.595v4.792a3.605 3.588 0 0 0 3.6 3.594"
|
|
17
16
|
})));
|
|
18
17
|
};
|
|
19
18
|
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
|
|
3
|
+
var _path;
|
|
3
4
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
5
|
var SvgLockOpen = function SvgLockOpen(props) {
|
|
5
6
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
6
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
-
|
|
8
|
-
height: 24,
|
|
8
|
+
viewBox: "0 0 24 24",
|
|
9
9
|
fill: "none"
|
|
10
|
-
}, props), /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
11
11
|
stroke: "currentColor",
|
|
12
12
|
strokeLinecap: "round",
|
|
13
13
|
strokeLinejoin: "round",
|
|
14
14
|
strokeWidth: 1.969,
|
|
15
|
-
d: "M13.199 16.784h-2.408m-3.613-6.01V5.966a4.81 4.81 0 0 1 4.817-4.808 4.81 4.81 0 0 1 4.816 4.808M4.771 22.794H19.22a3.61 3.61 0 0 0 3.612-3.606V14.38a3.61 3.61 0 0 0-3.612-3.606H4.77a3.61 3.61 0 0 0-3.612 3.606v4.808a3.61 3.61 0 0 0 3.612 3.606"
|
|
16
|
-
|
|
17
|
-
stroke: "currentColor",
|
|
18
|
-
strokeOpacity: 1
|
|
19
|
-
}
|
|
20
|
-
}));
|
|
15
|
+
d: "M13.199 16.784h-2.408m-3.613-6.01V5.966a4.81 4.81 0 0 1 4.817-4.808 4.81 4.81 0 0 1 4.816 4.808M4.771 22.794H19.22a3.61 3.61 0 0 0 3.612-3.606V14.38a3.61 3.61 0 0 0-3.612-3.606H4.77a3.61 3.61 0 0 0-3.612 3.606v4.808a3.61 3.61 0 0 0 3.612 3.606"
|
|
16
|
+
})));
|
|
21
17
|
};
|
|
22
18
|
|
|
23
19
|
export { SvgLockOpen as default };
|
|
@@ -30,7 +30,7 @@ import '../RequiredStar/RequiredStar.styl.js';
|
|
|
30
30
|
import '../Select/Select.styl.js';
|
|
31
31
|
import 'lodash.omit';
|
|
32
32
|
import '../Checkbox/Checkbox.styl.js';
|
|
33
|
-
import '../Container/Container.
|
|
33
|
+
import '../Container/Container.js';
|
|
34
34
|
import '../DatePicker/DatePicker.styl.js';
|
|
35
35
|
import 'moment';
|
|
36
36
|
import '../DatePickerInput/DatePickerInput.styl.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as T from './Container.types';
|
|
2
|
-
export declare
|
|
2
|
+
export declare const Container: import("react").ForwardRefExoticComponent<T.Props & import("react").RefAttributes<HTMLDivElement>>;
|