ui-kit-ck-consultant 0.5.283 → 0.5.285
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/index.css +12 -55
- package/dist/index.js +14 -6
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +14 -6
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
@@ -75,48 +75,31 @@
|
|
75
75
|
width: 900px;
|
76
76
|
}
|
77
77
|
|
78
|
-
.
|
79
|
-
|
80
|
-
right: 6rem;
|
81
|
-
top: 2rem;
|
82
|
-
font-size: 26px;
|
83
|
-
color: var(--primary-color);
|
84
|
-
cursor: pointer;
|
85
|
-
transition: 0.4s;
|
86
|
-
}
|
87
|
-
|
88
|
-
._RsujT {
|
78
|
+
._eWY0H {
|
79
|
+
display: flex;
|
89
80
|
position: absolute;
|
90
|
-
right: 4rem;
|
91
81
|
top: 2rem;
|
92
|
-
font-size: 26px;
|
93
|
-
color: var(--primary-color);
|
94
|
-
cursor: pointer;
|
95
|
-
transition: 0.4s;
|
96
|
-
}
|
97
|
-
._1AbTJ {
|
98
|
-
position: absolute;
|
99
82
|
right: 2rem;
|
100
|
-
top: 2rem;
|
101
|
-
font-size: 26px;
|
102
|
-
color: var(--primary-color);
|
103
|
-
cursor: pointer;
|
104
|
-
transition: 0.4s;
|
105
83
|
}
|
84
|
+
|
85
|
+
._20eCx,
|
86
|
+
._RsujT,
|
87
|
+
._1AbTJ,
|
106
88
|
._33Wb2 {
|
107
|
-
position: absolute;
|
108
|
-
right: 4rem;
|
109
|
-
top: 2rem;
|
110
89
|
font-size: 26px;
|
111
90
|
color: var(--primary-color);
|
112
91
|
cursor: pointer;
|
113
92
|
transition: 0.4s;
|
93
|
+
margin-left: 10px;
|
114
94
|
}
|
95
|
+
|
96
|
+
._20eCx:hover,
|
115
97
|
._RsujT:hover,
|
116
98
|
._1AbTJ:hover,
|
117
99
|
._33Wb2:hover {
|
118
100
|
opacity: 0.7;
|
119
101
|
}
|
102
|
+
._20eCx:active,
|
120
103
|
._RsujT:active,
|
121
104
|
._1AbTJ:active,
|
122
105
|
._33Wb2:active {
|
@@ -149,6 +132,7 @@
|
|
149
132
|
}
|
150
133
|
|
151
134
|
._2wSoq {
|
135
|
+
display: flex;
|
152
136
|
padding: 20px;
|
153
137
|
}
|
154
138
|
|
@@ -172,7 +156,7 @@
|
|
172
156
|
overflow-y: auto;
|
173
157
|
}
|
174
158
|
|
175
|
-
._3sTgK{
|
159
|
+
._3sTgK {
|
176
160
|
overflow-x: hidden !important;
|
177
161
|
overflow-y: hidden !important;
|
178
162
|
}
|
@@ -183,20 +167,6 @@
|
|
183
167
|
width: 400px;
|
184
168
|
max-width: 95%;
|
185
169
|
}
|
186
|
-
|
187
|
-
._2YluD ._RsujT {
|
188
|
-
right: 3.5rem;
|
189
|
-
top: 1.5rem;
|
190
|
-
}
|
191
|
-
._2YluD ._1AbTJ {
|
192
|
-
right: 1.5rem;
|
193
|
-
top: 1.5rem;
|
194
|
-
}
|
195
|
-
|
196
|
-
._2YluD ._33Wb2 {
|
197
|
-
right: 3.5rem;
|
198
|
-
top: 1.5rem;
|
199
|
-
}
|
200
170
|
}
|
201
171
|
|
202
172
|
@media screen and (max-width: 440px) {
|
@@ -204,19 +174,6 @@
|
|
204
174
|
padding: 16px;
|
205
175
|
max-width: 95%;
|
206
176
|
}
|
207
|
-
|
208
|
-
._2YluD ._RsujT {
|
209
|
-
right: 2.5rem;
|
210
|
-
top: 0.5rem;
|
211
|
-
}
|
212
|
-
._2YluD ._1AbTJ {
|
213
|
-
right: 0.5rem;
|
214
|
-
top: 0.5rem;
|
215
|
-
}
|
216
|
-
._2YluD ._33Wb2 {
|
217
|
-
right: 2.5rem;
|
218
|
-
top: 0.5rem;
|
219
|
-
}
|
220
177
|
}
|
221
178
|
|
222
179
|
._Dv_TK,
|
package/dist/index.js
CHANGED
@@ -45,7 +45,7 @@ function _setPrototypeOf(o, p) {
|
|
45
45
|
return _setPrototypeOf(o, p);
|
46
46
|
}
|
47
47
|
|
48
|
-
var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","modal_move":"_20eCx","modal_valid":"_RsujT","modal_close":"_1AbTJ","modal_custom":"_33Wb2","modal_header":"_2EzqX","modal_body":"_1-Y1J","full_modal_container":"_1w6wH","full_modal_header":"_2wSoq","full_modal_body":"_3bfp5","full_modal_body_no_padding":"_Pf5Uh","full_modal_body_no_overflow":"_3sTgK"};
|
48
|
+
var style = {"modal":"_Tr9L0","modal_container":"_2YluD","no_background":"_2vjgy","large":"_22C7A","modal_right":"_eWY0H","modal_move":"_20eCx","modal_valid":"_RsujT","modal_close":"_1AbTJ","modal_custom":"_33Wb2","modal_header":"_2EzqX","modal_body":"_1-Y1J","full_modal_container":"_1w6wH","full_modal_header":"_2wSoq","full_modal_body":"_3bfp5","full_modal_body_no_padding":"_Pf5Uh","full_modal_body_no_overflow":"_3sTgK"};
|
49
49
|
|
50
50
|
var Modal = /*#__PURE__*/function (_React$Component) {
|
51
51
|
_inheritsLoose(Modal, _React$Component);
|
@@ -124,6 +124,8 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
124
124
|
left: this.state.x && this.state.xStart ? this.state.x - this.state.xStart : 0,
|
125
125
|
top: this.state.y && this.state.yStart ? this.state.y - this.state.yStart : 0
|
126
126
|
}
|
127
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
128
|
+
className: style.modal_right
|
127
129
|
}, /*#__PURE__*/React__default.createElement("div", {
|
128
130
|
className: style.modal_move,
|
129
131
|
onMouseDown: function onMouseDown(e) {
|
@@ -148,9 +150,11 @@ var Modal = /*#__PURE__*/function (_React$Component) {
|
|
148
150
|
onClick: this.props.onClose
|
149
151
|
}, this.props.iconClose ? this.props.iconClose : /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
|
150
152
|
icon: freeSolidSvgIcons.faTimes
|
151
|
-
})) : null, /*#__PURE__*/React__default.createElement("div", {
|
153
|
+
})) : null), /*#__PURE__*/React__default.createElement("div", {
|
152
154
|
className: style.modal_header
|
153
|
-
}, /*#__PURE__*/React__default.createElement("h2",
|
155
|
+
}, /*#__PURE__*/React__default.createElement("h2", {
|
156
|
+
className: "mt-0"
|
157
|
+
}, this.props.title)), /*#__PURE__*/React__default.createElement("div", {
|
154
158
|
className: style.modal_body
|
155
159
|
}, this.props.children))));
|
156
160
|
};
|
@@ -176,6 +180,12 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
|
|
176
180
|
className: classNames$1(style.modal, this.props.className)
|
177
181
|
}, /*#__PURE__*/React__default.createElement("div", {
|
178
182
|
className: style.full_modal_container
|
183
|
+
}, this.props.title ? /*#__PURE__*/React__default.createElement("div", {
|
184
|
+
className: style.full_modal_header
|
185
|
+
}, /*#__PURE__*/React__default.createElement("h2", {
|
186
|
+
className: "mr-auto"
|
187
|
+
}, this.props.title), /*#__PURE__*/React__default.createElement("div", {
|
188
|
+
className: "d-flex m-auto mr-0"
|
179
189
|
}, /*#__PURE__*/React__default.createElement("div", {
|
180
190
|
className: style.modal_valid,
|
181
191
|
onClick: this.props.onValid
|
@@ -192,9 +202,7 @@ var FullModal = /*#__PURE__*/function (_React$Component) {
|
|
192
202
|
onClick: this.props.onCustom
|
193
203
|
}, /*#__PURE__*/React__default.createElement(reactFontawesome.FontAwesomeIcon, {
|
194
204
|
icon: this.props.customIcon
|
195
|
-
})) : null
|
196
|
-
className: style.full_modal_header
|
197
|
-
}, /*#__PURE__*/React__default.createElement("h2", null, this.props.title)) : null, /*#__PURE__*/React__default.createElement("div", {
|
205
|
+
})) : null)) : null, /*#__PURE__*/React__default.createElement("div", {
|
198
206
|
className: classNames$1(this.props.noPadding ? style.full_modal_body_no_padding : style.full_modal_body, this.props.noOverflow ? style.full_modal_body_no_overflow : {})
|
199
207
|
}, this.props.children))));
|
200
208
|
};
|