sccoreui 3.6.2 → 3.6.4

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/App.scss CHANGED
@@ -161,6 +161,8 @@ h3 {
161
161
  border-left: 2px solid #132067;
162
162
  border-bottom: 2px solid #132067;
163
163
  transform: rotate(-45deg);
164
+ position: absolute;
165
+ right: 10px;
164
166
  }
165
167
  }
166
168
  }
@@ -168,7 +170,6 @@ h3 {
168
170
 
169
171
  .sc_custom_multiselect {
170
172
  // max-width: 197px;
171
- margin: 0 4px;
172
173
  width: max-content;
173
174
 
174
175
  * {
@@ -313,7 +314,7 @@ h3 {
313
314
  position: absolute;
314
315
  transform: translateY(-50%);
315
316
  top: 50%;
316
- left: 0px;
317
+ left: 10px;
317
318
  border-radius: 50px;
318
319
  }
319
320
 
@@ -333,16 +334,17 @@ h3 {
333
334
  .custom_date_picker_sec {
334
335
 
335
336
  .custom_date_picker {
337
+
336
338
  // padding-left: 134px;
337
- .p-inputtext{
339
+ .p-inputtext {
338
340
  padding-right: 16px;
339
341
  width: 130px;
340
342
  // max-width: max-content;
341
343
  }
342
344
  }
343
-
345
+
344
346
  .custom_date_picker.multiple {
345
- .p-inputtext{
347
+ .p-inputtext {
346
348
  width: 236px;
347
349
  // max-width: max-content;
348
350
  }
@@ -361,9 +363,11 @@ h3 {
361
363
  background: #fff;
362
364
  height: 100%;
363
365
  padding: 4px 16px;
366
+
364
367
  li {
365
368
  height: 40px;
366
- &:hover{
369
+
370
+ &:hover {
367
371
  background: #F9FAFB;
368
372
  }
369
373
  }
@@ -372,7 +376,7 @@ h3 {
372
376
  background: #F9FAFB;
373
377
  }
374
378
 
375
-
379
+
376
380
  }
377
381
 
378
382
  div:has(ul.date_filter) .p-datepicker-group-container {
@@ -402,7 +406,7 @@ div:has(ul.date_filter) .p-datepicker-group-container .p-datepicker-group {
402
406
  border-top: 0;
403
407
  }
404
408
 
405
- div:has(ul.date_filter) .p-datepicker-group-container div:nth-child(2){
409
+ div:has(ul.date_filter) .p-datepicker-group-container div:nth-child(2) {
406
410
  border-right: 0;
407
411
  }
408
412
 
@@ -415,6 +419,39 @@ div:has(ul.date_filter) .p-datepicker-footer {
415
419
  margin: -8px;
416
420
  }
417
421
 
422
+ .panel_status {
423
+ .p-multiselect-filter-container {
424
+ display: none;
425
+ }
426
+
427
+ .p-multiselect-header {
428
+ padding: 0 !important;
429
+ border-bottom: 0;
430
+ }
431
+ }
432
+
433
+ .p-multiselect-panel {
434
+ .p-multiselect-items {
435
+ padding: 6px;
436
+ min-width: 140px !important;
437
+
438
+ }
439
+ }
440
+
441
+ .panel_withIcon.p-multiselect-panel {
442
+ .p-multiselect-items {
443
+ .p-multiselect-item {
444
+ padding: 0 10px;
445
+ }
446
+ }
447
+ }
448
+
418
449
  // div:has(ul.date_filter) .p-datepicker-group-container {
419
450
  // padding: 0;
420
- // }
451
+ // }
452
+
453
+ .Multi_select_dropdown_panel.hidePanelHeader {
454
+ .p-multiselect-header{
455
+ display: none;
456
+ }
457
+ }
@@ -43,10 +43,10 @@ const MultiSelectDropDown = (props) => {
43
43
  setItems(props.value);
44
44
  }, [props.value]);
45
45
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [props.dropdownType !== '' &&
46
- (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative ${(props.dropdownType !== undefined && props.dropdownType === "status") ? 'status_dropdown' : ''} ${isMoreThanOne ? `selected_multile ${`selected_num_` + items.length}` : ''}` }, { children: [(0, jsx_runtime_1.jsx)(LeftSection, {}), (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", itemTemplate: props.dropdownType === 'status' ? (option) => { return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: `status_dropdown_item pl-3 ${option.name}` }, { children: option.name })) })); } : '', filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, className: `w-full md:w-20rem` }), items.length > 0 &&
46
+ (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative ${(props.dropdownType !== undefined && props.dropdownType === "status") ? 'status_dropdown' : ''} ${isMoreThanOne ? `selected_multile ${`selected_num_` + items.length}` : ''}` }, { children: [(0, jsx_runtime_1.jsx)(LeftSection, {}), (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { panelClassName: `Multi_select_dropdown_panel panel_${props.dropdownType} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", itemTemplate: props.dropdownType === 'status' ? (option) => { return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ className: `status_dropdown_item pl-6 ${option.name}` }, { children: option.name })) })); } : '', filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, className: `w-full md:w-20rem` }), items.length > 0 &&
47
47
  (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: "flex align-items-center" }, { children: [isMoreThanOne && (0, jsx_runtime_1.jsxs)("span", Object.assign({ className: "selected_moreThan_one absolute z-5" }, { children: [" +", items.length - props.maxSelectedLabels] })), props.clear &&
48
48
  clearIcon()] }))] })), props.dropdownType === '' &&
49
- (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, className: `w-full md:w-20rem` })] }));
49
+ (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { value: items, panelClassName: `Multi_select_dropdown_panel ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, className: `w-full md:w-20rem` })] }));
50
50
  };
51
51
  exports.MultiSelectDropDown = MultiSelectDropDown;
52
52
  exports.default = exports.MultiSelectDropDown;
@@ -8930,5 +8930,11 @@ exports.iconList = [
8930
8930
  </svg>
8931
8931
  `,
8932
8932
  },
8933
+ {
8934
+ name: "file-check-03",
8935
+ svg: `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
8936
+ <path d="M11.6654 1.8913V5.33341C11.6654 5.80012 11.6654 6.03348 11.7562 6.21174C11.8361 6.36854 11.9636 6.49602 12.1204 6.57592C12.2986 6.66675 12.532 6.66675 12.9987 6.66675H16.4408M7.4987 13.3334L9.16536 15L12.9154 11.25M11.6654 1.66669H7.33203C5.9319 1.66669 5.23183 1.66669 4.69705 1.93917C4.22665 2.17885 3.8442 2.56131 3.60451 3.03171C3.33203 3.56649 3.33203 4.26656 3.33203 5.66669V14.3334C3.33203 15.7335 3.33203 16.4336 3.60451 16.9683C3.8442 17.4387 4.22665 17.8212 4.69705 18.0609C5.23183 18.3334 5.9319 18.3334 7.33203 18.3334H12.6654C14.0655 18.3334 14.7656 18.3334 15.3003 18.0609C15.7707 17.8212 16.1532 17.4387 16.3929 16.9683C16.6654 16.4336 16.6654 15.7335 16.6654 14.3334V6.66669L11.6654 1.66669Z" stroke="#667085" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round"/>
8937
+ </svg>`
8938
+ }
8933
8939
  ];
8934
8940
  // console.log(iconList.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "3.6.2",
3
+ "version": "3.6.4",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",