magneto365.ui 2.50.1 → 2.50.3
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/organism/UserTerms/UserTerms.interface.d.ts +49 -3
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/organism/UserTerms/UserTerms.interface.d.ts +49 -3
- package/dist/index.d.ts +49 -3
- package/package.json +1 -1
|
@@ -11,26 +11,68 @@ export interface IUserTerm {
|
|
|
11
11
|
/**
|
|
12
12
|
* this property closes the ui
|
|
13
13
|
*/
|
|
14
|
-
onClose
|
|
14
|
+
onClose?: () => void;
|
|
15
15
|
}
|
|
16
16
|
export declare namespace IUserTerm {
|
|
17
17
|
interface Title {
|
|
18
|
+
/**
|
|
19
|
+
* this property sets custom styles
|
|
20
|
+
*/
|
|
18
21
|
className?: string;
|
|
22
|
+
/**
|
|
23
|
+
* this property sets children elements
|
|
24
|
+
*/
|
|
25
|
+
children?: React.ReactNode;
|
|
19
26
|
}
|
|
20
27
|
interface SubTitle {
|
|
28
|
+
/**
|
|
29
|
+
* this property sets custom styles
|
|
30
|
+
*/
|
|
21
31
|
className?: string;
|
|
32
|
+
/**
|
|
33
|
+
* this property sets children elements
|
|
34
|
+
*/
|
|
35
|
+
children?: React.ReactNode;
|
|
22
36
|
}
|
|
23
37
|
interface Highlight {
|
|
38
|
+
/**
|
|
39
|
+
* this property sets custom styles
|
|
40
|
+
*/
|
|
24
41
|
className?: string;
|
|
42
|
+
/**
|
|
43
|
+
* this property sets children elements
|
|
44
|
+
*/
|
|
45
|
+
children?: React.ReactNode;
|
|
25
46
|
}
|
|
26
47
|
interface Text {
|
|
48
|
+
/**
|
|
49
|
+
* this property sets custom styles
|
|
50
|
+
*/
|
|
27
51
|
className?: string;
|
|
52
|
+
/**
|
|
53
|
+
* this property sets children elements
|
|
54
|
+
*/
|
|
55
|
+
children?: React.ReactNode;
|
|
28
56
|
}
|
|
29
57
|
interface Content {
|
|
58
|
+
/**
|
|
59
|
+
* this property sets custom styles
|
|
60
|
+
*/
|
|
30
61
|
className?: string;
|
|
62
|
+
/**
|
|
63
|
+
* this property sets children elements
|
|
64
|
+
*/
|
|
65
|
+
children?: React.ReactNode;
|
|
31
66
|
}
|
|
32
67
|
interface UlList {
|
|
68
|
+
/**
|
|
69
|
+
* this property sets custom styles
|
|
70
|
+
*/
|
|
33
71
|
className?: string;
|
|
72
|
+
/**
|
|
73
|
+
* this property sets children elements
|
|
74
|
+
*/
|
|
75
|
+
children?: React.ReactNode;
|
|
34
76
|
}
|
|
35
77
|
interface Check {
|
|
36
78
|
/**
|
|
@@ -40,11 +82,15 @@ export declare namespace IUserTerm {
|
|
|
40
82
|
/**
|
|
41
83
|
* this property check the input
|
|
42
84
|
*/
|
|
43
|
-
isChecked
|
|
85
|
+
isChecked?: boolean;
|
|
44
86
|
/**
|
|
45
87
|
* this fn returns true or false depending on checked
|
|
46
88
|
*/
|
|
47
|
-
onChange
|
|
89
|
+
onChange?: (value: boolean) => void;
|
|
90
|
+
/**
|
|
91
|
+
* this property sets children elements
|
|
92
|
+
*/
|
|
93
|
+
children?: React.ReactNode;
|
|
48
94
|
}
|
|
49
95
|
interface Submit extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
50
96
|
/**
|
package/dist/esm/index.js
CHANGED
|
@@ -7078,7 +7078,7 @@ var UserTermUList = Component$8;
|
|
|
7078
7078
|
|
|
7079
7079
|
var cx = classNames.bind(styles$8);
|
|
7080
7080
|
var Component$7 = function (_a) {
|
|
7081
|
-
var children = _a.children, isOpen = _a.isOpen,
|
|
7081
|
+
var children = _a.children, isOpen = _a.isOpen, _b = _a.onClose, onClose = _b === void 0 ? function () { return ({}); } : _b;
|
|
7082
7082
|
var container = useMediaQuery(React.createElement(Modal$1, { className: cx('user-term-modal'), blockBackgroundClose: true, isOpen: isOpen, onClose: onClose }, children), {
|
|
7083
7083
|
sm: (React.createElement(MobileDrawer, { className: cx('user-term-drawer'), blockBackgroundClose: true, isOpen: isOpen, onClose: onClose }, children))
|
|
7084
7084
|
});
|