ui-kit-ck-consultant 0.5.212 → 0.5.215

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 CHANGED
@@ -1127,7 +1127,7 @@
1127
1127
  margin: auto;
1128
1128
  }
1129
1129
 
1130
- ._1zFpZ > ._2rKrR > p {
1130
+ ._1zFpZ>._2rKrR>p {
1131
1131
  margin: auto;
1132
1132
  padding-top: 20px;
1133
1133
  color: var(--primary-color);
@@ -1168,7 +1168,19 @@
1168
1168
  animation: _19crY 1s ease-in-out 0.45s infinite;
1169
1169
  }
1170
1170
 
1171
+ ._3BnES {
1172
+ position: absolute;
1173
+ top: 0;
1174
+ bottom: 0;
1175
+ left: 0;
1176
+ right: 0;
1177
+ cursor: not-allowed;
1178
+ background-color: rgba(0, 0, 0, 0.1);
1179
+ z-index: 10;
1180
+ }
1181
+
1171
1182
  @-webkit-keyframes _19crY {
1183
+
1172
1184
  0%,
1173
1185
  100% {
1174
1186
  transform: scaleY(1);
@@ -1180,6 +1192,7 @@
1180
1192
  }
1181
1193
 
1182
1194
  @keyframes _19crY {
1195
+
1183
1196
  0%,
1184
1197
  100% {
1185
1198
  transform: scaleY(1);
@@ -1213,25 +1226,25 @@
1213
1226
  margin-bottom: auto;
1214
1227
  }
1215
1228
 
1216
- ._2KSuY > h2,
1217
- ._3euMf > h2 {
1229
+ ._2KSuY>h2,
1230
+ ._3euMf>h2 {
1218
1231
  font-size: 18px;
1219
1232
  font-weight: bold;
1220
1233
  margin: 0;
1221
1234
  }
1222
1235
 
1223
- ._3euMf > h2 {
1236
+ ._3euMf>h2 {
1224
1237
  margin-right: 1rem;
1225
1238
  cursor: pointer;
1226
1239
  padding-bottom: 4px;
1227
1240
  transition: 0.3s;
1228
1241
  }
1229
1242
 
1230
- ._3euMf > h2:hover {
1243
+ ._3euMf>h2:hover {
1231
1244
  opacity: 0.7;
1232
1245
  }
1233
1246
 
1234
- ._3euMf > h2:active {
1247
+ ._3euMf>h2:active {
1235
1248
  opacity: 0.5;
1236
1249
  }
1237
1250
 
@@ -1250,9 +1263,11 @@
1250
1263
  transition: 0.4s;
1251
1264
  cursor: pointer;
1252
1265
  }
1266
+
1253
1267
  ._dmCgN:hover {
1254
1268
  opacity: 0.7;
1255
1269
  }
1270
+
1256
1271
  ._dmCgN:active {
1257
1272
  opacity: 0.5;
1258
1273
  }
@@ -1287,7 +1302,7 @@
1287
1302
  background-color: rgba(255, 255, 255, 0.25);
1288
1303
  }
1289
1304
 
1290
- ._1OCk3 > span {
1305
+ ._1OCk3>span {
1291
1306
  display: inline-block;
1292
1307
  font-size: 28px;
1293
1308
  font-weight: bold;
@@ -1316,12 +1331,12 @@
1316
1331
  margin: auto 20px;
1317
1332
  }
1318
1333
 
1319
- ._11M7t > span {
1334
+ ._11M7t>span {
1320
1335
  display: block;
1321
1336
  font-size: 16px;
1322
1337
  }
1323
1338
 
1324
- ._11M7t > span:first-child {
1339
+ ._11M7t>span:first-child {
1325
1340
  font-weight: bold;
1326
1341
  }
1327
1342
 
@@ -1358,15 +1373,17 @@
1358
1373
  margin-left: 0;
1359
1374
  }
1360
1375
 
1361
- ._1b4T4 > span:first-child {
1376
+ ._1b4T4>span:first-child {
1362
1377
  color: #67748e;
1363
1378
  font-size: 18px;
1364
1379
  }
1365
- ._1b4T4 > span:last-child {
1380
+
1381
+ ._1b4T4>span:last-child {
1366
1382
  font-size: 24px;
1367
1383
  font-weight: bold;
1368
1384
  }
1369
- ._1b4T4 > span:last-child > span {
1385
+
1386
+ ._1b4T4>span:last-child>span {
1370
1387
  font-size: 15px;
1371
1388
  padding-left: 6px;
1372
1389
  }
@@ -1384,7 +1401,7 @@
1384
1401
  font-size: 24px;
1385
1402
  }
1386
1403
 
1387
- ._1dkwV > svg {
1404
+ ._1dkwV>svg {
1388
1405
  margin: auto;
1389
1406
  }
1390
1407
 
package/dist/index.js CHANGED
@@ -279,6 +279,7 @@ var FormInput = /*#__PURE__*/function (_React$Component) {
279
279
  }, "*") : '') : '', /*#__PURE__*/React__default.createElement("div", {
280
280
  className: style$2.form_input_container_icon
281
281
  }, /*#__PURE__*/React__default.createElement("div", null, this.props.children), /*#__PURE__*/React__default.createElement("input", {
282
+ style: this.props.styleInput,
282
283
  className: style$2.form_input_icon,
283
284
  type: this.props.type,
284
285
  placeholder: this.props.placeholder,
@@ -302,6 +303,7 @@ var FormInput = /*#__PURE__*/function (_React$Component) {
302
303
  }, this.props.title, ' ', this.props.required ? /*#__PURE__*/React__default.createElement("span", {
303
304
  className: "red"
304
305
  }, "*") : '') : '', /*#__PURE__*/React__default.createElement("input", {
306
+ style: this.props.styleInput,
305
307
  className: style$2.form_input,
306
308
  type: this.props.type,
307
309
  placeholder: this.props.placeholder,
@@ -387,9 +389,10 @@ var FormSelect = /*#__PURE__*/function (_React$Component) {
387
389
  }, this.props.title, ' ', this.props.required ? /*#__PURE__*/React__default.createElement("span", {
388
390
  className: "red"
389
391
  }, "*") : '') : '', this.props.ignore !== true ? /*#__PURE__*/React__default.createElement("select", {
392
+ style: this.props.styleInput,
390
393
  className: style$5.form_select,
391
394
  onChange: this.props.onChange,
392
- value: this.props.value ? this.props.value : "DEFAULT",
395
+ value: this.props.value ? this.props.value : 'DEFAULT',
393
396
  name: this.props.name,
394
397
  required: this.props.required,
395
398
  disabled: this.props.disabled,
@@ -404,9 +407,10 @@ var FormSelect = /*#__PURE__*/function (_React$Component) {
404
407
  disabled: element.disabled ? element.disabled : false
405
408
  }, element.text);
406
409
  }) : '') : /*#__PURE__*/React__default.createElement("select", {
410
+ style: this.props.styleInput,
407
411
  className: style$5.form_select,
408
412
  onChange: this.props.onChange,
409
- value: this.props.value ? this.props.value : "DEFAULT",
413
+ value: this.props.value ? this.props.value : 'DEFAULT',
410
414
  name: this.props.name,
411
415
  required: this.props.required,
412
416
  disabled: this.props.disabled
@@ -855,7 +859,7 @@ var Header = /*#__PURE__*/function (_React$Component) {
855
859
  return Header;
856
860
  }(React__default.Component);
857
861
 
858
- var style$b = {"card":"_4T5PO","card_tabs":"_3qz0v","card_loader_container":"_1zFpZ","loader_element":"_2rKrR","loader":"_8eH6Y","grow":"_19crY","card_top_border":"_1ItWX","card_header":"_HBqZI","card_tabs_header":"_3iUeb","card_header_left":"_2KSuY","card_tabs_header_left":"_3euMf","card_tabs_header_active":"_3UmBd","card_header_right":"_2KPnI","card_header_action":"_dmCgN","card_header_action_disable":"_1XS9q","card_body":"_8DE3p","card_tabs_body":"_3UyXH","card_color":"_2D119","card_color_left":"_1OCk3","card_color_image_left":"_199hf","card_color_center":"_11M7t","card_color_right":"_ZiFPm","card_statistics":"_29tu3","card_statistics_body":"_1b4T4","card_statistics_icon":"_1dkwV"};
862
+ var style$b = {"card":"_4T5PO","card_tabs":"_3qz0v","card_loader_container":"_1zFpZ","loader_element":"_2rKrR","loader":"_8eH6Y","grow":"_19crY","card_disabled":"_3BnES","card_top_border":"_1ItWX","card_header":"_HBqZI","card_tabs_header":"_3iUeb","card_header_left":"_2KSuY","card_tabs_header_left":"_3euMf","card_tabs_header_active":"_3UmBd","card_header_right":"_2KPnI","card_header_action":"_dmCgN","card_header_action_disable":"_1XS9q","card_body":"_8DE3p","card_tabs_body":"_3UyXH","card_color":"_2D119","card_color_left":"_1OCk3","card_color_image_left":"_199hf","card_color_center":"_11M7t","card_color_right":"_ZiFPm","card_statistics":"_29tu3","card_statistics_body":"_1b4T4","card_statistics_icon":"_1dkwV"};
859
863
 
860
864
  var Card = /*#__PURE__*/function (_React$Component) {
861
865
  _inheritsLoose(Card, _React$Component);
@@ -901,7 +905,9 @@ var Card = /*#__PURE__*/function (_React$Component) {
901
905
  _proto.render = function render() {
902
906
  return /*#__PURE__*/React__default.createElement("div", {
903
907
  className: classNames$1(style$b.card, this.props.className)
904
- }, this.props.imgLeft ? /*#__PURE__*/React__default.createElement("div", {
908
+ }, this.props.disabled ? /*#__PURE__*/React__default.createElement("div", {
909
+ className: classNames$1(style$b.card_disabled)
910
+ }) : null, this.props.imgLeft ? /*#__PURE__*/React__default.createElement("div", {
905
911
  style: {
906
912
  overflow: 'hidden',
907
913
  width: this.props.customWidthImgLeft || '100%'
@@ -3088,7 +3094,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3088
3094
 
3089
3095
  reader.readAsDataURL(file);
3090
3096
  } else {
3091
- alert('Fichier trop volumineux');
3097
+ alert("Fichier trop volumineux - Taille maxium " + _this.props.maxFileSize + "Mo");
3092
3098
  _this.currentFile += 1;
3093
3099
 
3094
3100
  _this.nextFile(files);
@@ -3186,7 +3192,7 @@ var DropzoneMultiple = /*#__PURE__*/function (_React$Component) {
3186
3192
  className: classNames$1(style$o.dropzone_multiple_items)
3187
3193
  }), !_this2.state.files.length ? /*#__PURE__*/React__default.createElement("span", {
3188
3194
  className: classNames$1(style$o.background_text)
3189
- }, "Glisser et d\xE9poser vos fichiers ou cliquer pour en s\xE9lectionner...", ' ', _this2.props.extensions ? "Formats accept\xE9s : " + _this2.props.extensions.join(', ') : '') : null, /*#__PURE__*/React__default.createElement("input", getInputProps()), _this2.state.files.map(function (file, idx) {
3195
+ }, "Glisser et d\xE9poser vos fichiers ou cliquer pour en s\xE9lectionner...", ' ', _this2.props.extensions ? "Formats accept\xE9s : " + _this2.props.extensions.join(', ') : '', "$", _this2.props.maxFileSize ? " - Taille maximale " + _this2.props.maxFileSize + "Mo" : '') : null, /*#__PURE__*/React__default.createElement("input", getInputProps()), _this2.state.files.map(function (file, idx) {
3190
3196
  return _this2.getFileComponent(idx);
3191
3197
  })));
3192
3198
  });