hrm_ui_lib 4.0.0 → 4.0.2
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/components/DatePicker/types.d.ts +1 -1
- package/components/Input/types.d.ts +1 -0
- package/components/Radio/types.d.ts +1 -1
- package/components/SVGIcons/IconLayoutGrid.d.ts +4 -0
- package/components/SVGIcons/IconLayoutGrid.js +8 -0
- package/components/SVGIcons/IconLayoutList.d.ts +4 -0
- package/components/SVGIcons/IconLayoutList.js +8 -0
- package/package.json +1 -1
- package/type/base.d.ts +1 -0
|
@@ -34,7 +34,7 @@ export interface ITimePickerProps extends TDatepickerBaseProps {
|
|
|
34
34
|
}
|
|
35
35
|
export interface IRangeDatePickerProps extends TDatepickerBaseProps {
|
|
36
36
|
currentDates?: TRangePickerValues;
|
|
37
|
-
changeHandler
|
|
37
|
+
changeHandler?: (date: TRangePickerValues) => void;
|
|
38
38
|
maxDate?: Date | undefined;
|
|
39
39
|
value?: [Date, Date];
|
|
40
40
|
}
|
|
@@ -19,7 +19,7 @@ export interface TRadioGroupProps extends IFormCompProps {
|
|
|
19
19
|
label?: string | ReactElement;
|
|
20
20
|
className?: string;
|
|
21
21
|
isHorizontal?: boolean;
|
|
22
|
-
selected
|
|
22
|
+
selected?: number | string;
|
|
23
23
|
options: TRadioOptionItem[];
|
|
24
24
|
handleChange?: (selected: number | string) => void;
|
|
25
25
|
required?: boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
const IconLayoutGrid = ({ size, type, className = '', onClick, refHandler, id, dataTestId }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: classNames('svg-icon', {
|
|
4
|
+
[`svg-icon__size-${size}`]: size,
|
|
5
|
+
[`svg-icon__type-${type}`]: type,
|
|
6
|
+
[className]: className
|
|
7
|
+
}), viewBox: "0 0 24 24", fill: "none", onClick: onClick, ref: refHandler, id: id, "data-test-id": dataTestId ? `${dataTestId}-svg-icon` : '', stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [_jsx("rect", { width: "7", height: "7", x: "3", y: "3", rx: "1" }), _jsx("rect", { width: "7", height: "7", x: "14", y: "3", rx: "1" }), _jsx("rect", { width: "7", height: "7", x: "14", y: "14", rx: "1" }), _jsx("rect", { width: "7", height: "7", x: "3", y: "14", rx: "1" })] }));
|
|
8
|
+
export default IconLayoutGrid;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
const IconLayoutList = ({ size, type, className = '', onClick, refHandler, id, dataTestId }) => (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", className: classNames('svg-icon', {
|
|
4
|
+
[`svg-icon__size-${size}`]: size,
|
|
5
|
+
[`svg-icon__type-${type}`]: type,
|
|
6
|
+
[className]: className
|
|
7
|
+
}), viewBox: "0 0 24 24", fill: "none", onClick: onClick, ref: refHandler, id: id, "data-test-id": dataTestId ? `${dataTestId}-svg-icon` : '', stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [_jsx("rect", { width: "18", height: "18", x: "3", y: "3", rx: "2" }), _jsx("path", { d: "M12 3v18" })] }));
|
|
8
|
+
export default IconLayoutList;
|
package/package.json
CHANGED
package/type/base.d.ts
CHANGED