sccoreui 4.2.1 → 4.2.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/dist/App.js CHANGED
@@ -5,6 +5,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  require("./App.scss");
6
6
  // import Home from "./pages/home";
7
7
  const App = () => {
8
- return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)("div", {}) }));
8
+ return ((0, jsx_runtime_1.jsx)("div", {}));
9
9
  };
10
10
  exports.default = App;
package/dist/App.scss CHANGED
@@ -18,43 +18,47 @@
18
18
 
19
19
  // @font-face {
20
20
  // font-family: "Lato";
21
+ // src: url("./assets/fonts/Lato-Regular.ttf") format("truetype");
21
22
  // }
22
23
 
23
24
  // @font-face {
24
- // font-family: "Lato";
25
+ // font-family: "Lato-600";
25
26
  // font-weight: 600;
26
27
  // src: url("./assets/fonts/Lato-Regular.ttf") format("truetype");
27
28
  // }
28
29
 
30
+ // * {
31
+ // padding: 0;
32
+ // margin: 0;
33
+ // }
29
34
 
30
35
  body {
31
36
  font-family: 'Lato', sans-serif;
32
37
  -webkit-font-smoothing: antialiased;
33
38
  -moz-osx-font-smoothing: grayscale;
34
- line-height: 20px;
39
+ line-height: var(--lh);
35
40
  padding: 0;
36
41
  margin: 0;
37
- color: var(--gray-700);
38
42
  }
39
43
 
40
44
  code {
41
45
  font-family: 'Lato', sans-serif;
42
46
  }
43
47
 
44
- // h1 {
45
- // font-size: var(--fs-24);
46
- // font-weight: var(--fw-600);
47
- // }
48
+ h1 {
49
+ font-size: var(--fs-24);
50
+ font-weight: var(--fw-600);
51
+ }
48
52
 
49
- // h2 {
50
- // font-size: var(--fs-18);
51
- // font-weight: var(--fw-600);
52
- // }
53
+ h2 {
54
+ font-size: var(--fs-18);
55
+ font-weight: var(--fw-600);
56
+ }
53
57
 
54
- // h3 {
55
- // font-size: var(--fs-16);
56
- // font-weight: var(--fw-400);
57
- // }
58
+ h3 {
59
+ font-size: var(--fs-16);
60
+ font-weight: var(--fw-400);
61
+ }
58
62
 
59
63
  // ============= custom progress steps =============== //
60
64
 
@@ -101,7 +105,7 @@ code {
101
105
 
102
106
  .progress-step-item {
103
107
  &.horizontal {
104
-
108
+ // transform: translateX(10%);
105
109
 
106
110
  &:nth-of-type(1) {
107
111
  transform: translateX(-50%);
@@ -123,438 +127,4 @@ code {
123
127
  transform: translateY(100%);
124
128
  }
125
129
  }
126
- }
127
-
128
- // CUSTOM multiselect style started
129
- .Multi_select_dropdown_panel {
130
- .p-multiselect-header {
131
- display: block;
132
- padding: 8px 0;
133
-
134
- .p-checkbox,
135
- .p-multiselect-close {
136
- display: none;
137
- }
138
-
139
- .p-multiselect-filter-container {
140
- .p-inputtext {
141
- padding-right: 12px;
142
- padding-left: 1.75rem;
143
- }
144
-
145
- .p-multiselect-filter-icon {
146
- left: 0.55rem;
147
- }
148
- }
149
- }
150
-
151
- .p-multiselect-items-wrapper {
152
- .p-multiselect-item.p-highlight {
153
- &::after {
154
- content: "";
155
- width: 14px;
156
- height: 6px;
157
- border-left: 2px solid #132067;
158
- border-bottom: 2px solid #132067;
159
- transform: rotate(-45deg);
160
- position: absolute;
161
- right: 10px;
162
- }
163
- }
164
- }
165
- }
166
-
167
- .sc_custom_multiselect {
168
-
169
- width: max-content;
170
-
171
- * {
172
- color: #344054;
173
- font-weight: 700;
174
- }
175
-
176
- .left_section_item {
177
- left: 1rem;
178
- }
179
-
180
- .right_section_item {
181
- right: 1rem;
182
- }
183
-
184
- .selected_moreThan_one {
185
- right: 44px;
186
- }
187
-
188
- .p-inputwrapper-filled {
189
- background: #F5F6FD;
190
- border: 1px solid #8190E8;
191
- }
192
-
193
- .p-multiselect {
194
- max-width: 100%;
195
- width: max-content !important;
196
-
197
- .p-multiselect-label {
198
- padding: 0;
199
- padding-left: 44px;
200
- max-width: 100%;
201
-
202
- .p-multiselect-token {
203
- border: none;
204
- width: max-content;
205
- min-width: max-content;
206
- background: none;
207
- padding-left: 0;
208
-
209
- .p-multiselect-token-label {
210
- width: 100%;
211
- white-space: nowrap;
212
- overflow: hidden;
213
- text-overflow: ellipsis;
214
- }
215
- }
216
-
217
- svg {
218
- display: none;
219
- }
220
- }
221
- }
222
-
223
-
224
-
225
- .p-multiselect-trigger {
226
- width: 2rem;
227
-
228
- svg {
229
- display: none;
230
- }
231
- }
232
- }
233
-
234
- .no_icon {
235
-
236
- .p-multiselect-label {
237
- padding-left: 16px !important;
238
- }
239
- }
240
-
241
- .status_dropdown {
242
- .p-multiselect {
243
- .p-multiselect-label {
244
- padding-left: 34px;
245
- }
246
- }
247
-
248
- .select_status_prv {
249
- ul {
250
- li {
251
- width: 10px;
252
- height: 10px;
253
- border-radius: 8px;
254
- position: absolute;
255
- transform: translateY(-50%);
256
- }
257
-
258
- li.all {
259
- background: #667085;
260
- }
261
-
262
-
263
- li:nth-child(2) {
264
- left: 6px;
265
- }
266
-
267
- li:nth-child(3) {
268
- left: 12px;
269
- }
270
-
271
- }
272
- }
273
- }
274
-
275
- .selected_multile {
276
- .p-multiselect-token-label {
277
- padding-right: 18px;
278
- }
279
- }
280
-
281
- .selected_multile.selected_num_2 {
282
- .p-multiselect .p-multiselect-label {
283
- padding-left: 40px;
284
- }
285
- }
286
-
287
- .selected_multile.selected_num_3 , .selected_multile.moreThanThreeItems {
288
- .p-multiselect .p-multiselect-label {
289
- padding-left: 44px;
290
- }
291
- }
292
-
293
-
294
-
295
- .status_dropdown.selected_multile {
296
- .left_section_item {
297
- max-width: 28px;
298
- overflow: hidden;
299
- height: 11px;
300
- width: -webkit-fill-available;
301
- align-items: center;
302
- display: flex;
303
- }
304
- }
305
-
306
-
307
- .status_dropdown_item.Active::before {
308
- background: #12B76A;
309
- }
310
-
311
- .status_dropdown_item.Inactive::before {
312
- background: #F04438;
313
- }
314
-
315
- .status_dropdown_item.Draft::before {
316
- background: #162578;
317
- }
318
-
319
- .status_dropdown_item {
320
- .status_dot {
321
- width: 10px;
322
- height: 10px;
323
- border-radius: 50px;
324
- position: absolute;
325
- transform: translateY(-50%);
326
- top: 50%;
327
- left: 10px;
328
- }
329
- }
330
-
331
-
332
- .custom_date_picker_sec {
333
- .custom_date_picker {
334
-
335
-
336
- .p-inputtext {
337
- padding-right: 16px;
338
- width: 130px;
339
- }
340
-
341
- .p-inputtext {
342
- &:enabled {
343
- &:focus {
344
- box-shadow: none !important;
345
- border-color: #d0d5dd !important;
346
- }
347
- }
348
- }
349
-
350
- .p-datepicker-trigger {
351
- &:focus {
352
- box-shadow: none !important;
353
- border-color: #d0d5dd !important;
354
- }
355
- }
356
- }
357
-
358
- .custom_date_picker.multiple {
359
- .p-inputtext {
360
- width: 236px;
361
-
362
- }
363
- }
364
-
365
- .clear_icon_sec {
366
- right: 32px;
367
- }
368
- }
369
-
370
- .date_filter {
371
- margin: 0;
372
- position: absolute;
373
- top: 0;
374
- left: 0px;
375
- background: #fff;
376
- height: 100%;
377
- padding: 4px 16px;
378
-
379
- li {
380
- height: 40px;
381
-
382
- &:hover {
383
- background: #F9FAFB;
384
- }
385
- }
386
-
387
- .active {
388
- background: #F9FAFB;
389
- }
390
-
391
-
392
- }
393
-
394
- div:has(ul.date_filter) .p-datepicker-group-container {
395
- padding-left: 116px;
396
- margin: -8px;
397
- }
398
-
399
- .bottom_date_filters {
400
- width: calc(100% - 116px);
401
- border-left: 1px solid #dee2e6;
402
- }
403
-
404
- div:has(ul.date_filter) .p-datepicker-group-container .p-datepicker table td>span {
405
- width: 40px;
406
- height: 40px;
407
- }
408
-
409
-
410
-
411
- div:has(ul.date_filter) .p-datepicker-group-container .p-datepicker-group {
412
- width: 328px;
413
- max-width: 328px;
414
- padding: 8px 20px !important;
415
- border: 1px solid #dee2e6;
416
- border-top: 0;
417
- }
418
-
419
- div:has(ul.date_filter) .p-datepicker-group-container div:nth-child(2) {
420
- border-right: 0;
421
- }
422
-
423
- div:has(ul.date_filter) .p-datepicker-group-container table td {
424
- padding: 0;
425
-
426
- }
427
-
428
- div:has(ul.date_filter) .p-datepicker-footer {
429
- margin: -8px;
430
- }
431
-
432
- .panel_status {
433
- .p-multiselect-filter-container {
434
- display: none;
435
- }
436
-
437
- .p-multiselect-header {
438
- padding: 0 !important;
439
- border-bottom: 0;
440
- }
441
- }
442
-
443
- .p-multiselect-panel {
444
- .p-multiselect-items {
445
- padding: 6px;
446
- min-width: 140px !important;
447
-
448
- }
449
- }
450
-
451
- .panel_withIcon.p-multiselect-panel {
452
- .p-multiselect-items {
453
- .p-multiselect-item {
454
- padding: 0 10px;
455
- }
456
- }
457
- }
458
-
459
-
460
-
461
- .Multi_select_dropdown_panel.hidePanelHeader {
462
- .p-multiselect-header {
463
- display: none;
464
- }
465
- }
466
-
467
- .errorField {
468
- color: var(--red-500);
469
- }
470
-
471
- .full_form_field {
472
- width: 37.125rem;
473
- }
474
-
475
- .form_field {
476
- width: 18.063rem;
477
- }
478
-
479
- #fontFamily-1 {
480
- border: 1px solid var(--gray-300);
481
- }
482
-
483
- .fr-toolbar .fr-btn-grp {
484
- margin-right: 0px;
485
- margin-left: 8px;
486
- }
487
-
488
- .PhoneInput {
489
- background: #ffffff;
490
- border: 1px solid var(--gray-300);
491
- transition: background-color 0.2s, color 0.2s, border-color 0.2s,
492
- box-shadow 0.2s;
493
- border-radius: 8px;
494
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05);
495
- padding-top: 10px;
496
- padding-bottom: 10px;
497
- padding-right: 12px;
498
- padding-left: 0px;
499
- height: 40px;
500
- :focus-visible {
501
- outline: none;
502
- }
503
- &:focus-within {
504
- outline: 0 none;
505
- outline-offset: 0;
506
- box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05),
507
- 0px 0px 0px 4px var(--primary-100);
508
- border-radius: 8px;
509
- border: 1px solid var(--primary-300);
510
- }
511
-
512
- .PhoneInputInput {
513
- border: none;
514
- }
515
- }
516
-
517
- .PhoneInputCountry {
518
- .PhoneInputCountryIcon--border {
519
- box-shadow: none;
520
- background-color: #ffffff;
521
- }
522
- .PhoneInputCountryIconImg {
523
- width: 20px;
524
- height: 20px;
525
- object-fit: cover;
526
- border-radius: 100%;
527
- position: absolute;
528
- top: 0;
529
- }
530
- }
531
-
532
- .phoneNumberClass {
533
- margin-left: 14.5rem;
534
- }
535
-
536
- #customCountryDropDown {
537
- .p-dropdown {
538
- border: none;
539
- box-shadow: none;
540
- background: none;
541
- padding: 0;
542
- .p-dropdown-label {
543
- padding: 0;
544
- padding-right: 4px;
545
- }
546
- .p-dropdown-trigger {
547
- padding-top: 20px;
548
- }
549
- .p-dropdown-trigger[aria-expanded="true"] {
550
- padding-bottom: 20px;
551
- }
552
- }
553
-
554
- }
555
-
556
- .customNumberField{
557
- .p-inputnumber-input {
558
- padding-left: 24px;
559
- }
560
130
  }
@@ -1777,7 +1777,7 @@ a {
1777
1777
  .p-multiselect .p-multiselect-label.p-placeholder {
1778
1778
  color: var(--gray-500);
1779
1779
  font-size: 16px;
1780
- font-weight: lighter;
1780
+ font-weight: normal;
1781
1781
  }
1782
1782
  .p-multiselect.p-multiselect-chip .p-multiselect-token {
1783
1783
  padding: 0px 10px;
@@ -2,53 +2,58 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const react_1 = require("react");
6
+ require("froala-editor/css/froala_editor.pkgd.min.css");
7
+ require("froala-editor/css/froala_style.min.css");
5
8
  const react_froala_wysiwyg_1 = tslib_1.__importDefault(require("react-froala-wysiwyg"));
6
9
  require("froala-editor/js/plugins.pkgd.min.js");
7
- require("froala-editor/js/third_party/embedly.min.js");
8
- require("froala-editor/css/froala_style.min.css");
9
- require("froala-editor/css/froala_editor.pkgd.min.css");
10
- const TextEditor = (props) => {
11
- const { model, onModelChange, placeholder } = props;
12
- const config = {
13
- fontFamilySelection: true,
14
- fontFamily: {
15
- 'Arial,Helvetica,sans-serif': 'Font 1',
16
- 'Impact,Charcoal,sans-serif': 'Font 2',
17
- 'Tahoma,Geneva,sans-serif': 'Font 3'
18
- },
19
- fontFamilyDefaultSelection: 'Font 2',
20
- placeholderText: placeholder,
21
- key: "5OA4gB3A3B3E3B5D3E3F-11SLJCKHXOSLMc1YGSGb1ZXHSe1CgB5A4D4G4E3C2A12A19A6B4==",
22
- charCounterCount: false,
23
- toolbarSticky: false,
24
- quickInsertEnabled: false,
25
- toolbarInline: false,
26
- attribution: false,
27
- heightMax: 160,
28
- heightMin: 130,
29
- fullPage: true,
30
- toolbarButtons: {
31
- 'fontFamily': {
32
- 'buttons': ['fontFamily'],
33
- 'class': 'customCard'
34
- },
35
- 'moreText': {
36
- 'buttons': ['bold', 'italic', 'underline', 'strikeThrough', 'fontSize', 'subscript', 'superscript', 'textColor', 'backgroundColor', 'inlineClass', 'inlineStyle', 'clearFormatting'],
37
- 'buttonsVisible': 2
38
- },
39
- 'moreParagraph': {
40
- 'buttons': ['formatOL', 'formatUL', 'alignLeft', 'alignCenter', 'formatOLSimple', 'alignRight', 'alignJustify', 'paragraphFormat', 'paragraphStyle', 'lineHeight', 'outdent', 'indent', 'quote'],
41
- 'buttonsVisible': 2
42
- },
43
- 'moreRich': {
44
- 'buttons': ['insertLink', 'insertImage', 'insertHR', 'undo', 'redo', 'html'],
45
- 'buttonsVisible': 2
46
- },
47
- 'fullscreen': {
48
- 'button': 'fullscreen'
49
- }
50
- },
10
+ const MyEditor = () => {
11
+ const editorRef = (0, react_1.useRef)(null);
12
+ const html = ``;
13
+ const [editorContent, setEditorContent] = (0, react_1.useState)(html);
14
+ // Callback function to handle content changes
15
+ const handleModelChange = (content) => {
16
+ setEditorContent(content);
51
17
  };
52
- return ((0, jsx_runtime_1.jsx)("div", Object.assign({ id: "editor", className: "full_form_field" }, { children: (0, jsx_runtime_1.jsx)(react_froala_wysiwyg_1.default, { config: config, tag: "textarea", model: model, onModelChange: onModelChange }) })));
18
+ return ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsx)(react_froala_wysiwyg_1.default, { tag: "textarea", config: {
19
+ fontFamilySelection: true,
20
+ fontFamily: {
21
+ 'Arial,Helvetica,sans-serif': 'Font 1',
22
+ 'Impact,Charcoal,sans-serif': 'Font 2',
23
+ 'RobotoItalic,Charcoal,sans-serif': 'RobotoItalic',
24
+ 'Tahoma,Geneva,sans-serif': 'Font 3'
25
+ },
26
+ fontFamilyDefaultSelection: 'Font 2',
27
+ placeholderText: 'placeholder',
28
+ key: "5OA4gB3A3B3E3B5D3E3F-11SLJCKHXOSLMc1YGSGb1ZXHSe1CgB5A4D4G4E3C2A12A19A6B4==",
29
+ charCounterCount: false,
30
+ toolbarSticky: false,
31
+ quickInsertEnabled: false,
32
+ toolbarInline: false,
33
+ attribution: false,
34
+ heightMax: 160,
35
+ heightMin: 130,
36
+ toolbarButtons: {
37
+ 'fontFamily': {
38
+ 'buttons': ['fontFamily'],
39
+ 'class': 'customCard'
40
+ },
41
+ 'moreText': {
42
+ 'buttons': ['bold', 'italic', 'underline', 'strikeThrough', 'fontSize', 'subscript', 'superscript', 'textColor', 'backgroundColor', 'inlineClass', 'inlineStyle', 'clearFormatting'],
43
+ 'buttonsVisible': 2
44
+ },
45
+ 'moreParagraph': {
46
+ 'buttons': ['formatOL', 'formatUL', 'alignLeft', 'alignCenter', 'formatOLSimple', 'alignRight', 'alignJustify', 'paragraphFormat', 'paragraphStyle', 'lineHeight', 'outdent', 'indent', 'quote'],
47
+ 'buttonsVisible': 2
48
+ },
49
+ 'moreRich': {
50
+ 'buttons': ['insertLink', 'insertImage', 'insertHR', 'undo', 'redo', 'html'],
51
+ 'buttonsVisible': 2
52
+ },
53
+ 'fullscreen': {
54
+ 'button': 'fullscreen'
55
+ }
56
+ },
57
+ }, model: editorContent, onModelChange: handleModelChange, ref: editorRef }) }));
53
58
  };
54
- exports.default = TextEditor;
59
+ exports.default = MyEditor;
@@ -46,17 +46,17 @@ const MultiSelectDropDown = (props) => {
46
46
  return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `status_dropdown_item pl-6 ${option.name.replaceAll(' ', '').toLowerCase()}` }, { children: [(0, jsx_runtime_1.jsx)("div", { className: 'status_dot', style: { background: option.color } }), (0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'otption_name mr-8' }, { children: option.name }))] })) }));
47
47
  };
48
48
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [props.dropdownType === 'withIcon' &&
49
- (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative ${props.className} ${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.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, 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` }), items.length > 0 &&
50
- (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 && items.length >= 1) &&
49
+ (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative ${props.className} ${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.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, style: { maxWidth: props.maxWidth ? props.maxWidth + 'px' : '' }, className: `w-full md:w-20rem ${props.maxWidth ? `${'optionBodyMaxWidth_' + props.maxWidth}` : ''}`, panelStyle: { width: props.panelWidth ? props.panelWidth + 'px' : '' } }), items.length > 0 &&
50
+ (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 &&
51
51
  clearIcon()] }))] })), props.dropdownType === 'default' &&
52
52
  (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative ${props.className} ${props.icon !== undefined ? 'left_icon' : 'no_icon'} ${isMoreThanOne ? `selected_multile ${`selected_num_` + items.length}` : ''}` }, { children: [props.icon !== undefined &&
53
- (0, jsx_runtime_1.jsx)(LeftSection, {}), (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { panelClassName: `Multi_select_dropdown_panel panel_${props.dropdownType} ${props.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, 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` }), items.length > 0 &&
53
+ (0, jsx_runtime_1.jsx)(LeftSection, {}), (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { panelClassName: `Multi_select_dropdown_panel panel_${props.dropdownType} ${props.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, style: { maxWidth: props.maxWidth ? props.maxWidth + 'px' : '' }, className: `w-full md:w-20rem`, panelStyle: { width: props.panelWidth ? props.panelWidth + 'px' : '' } }), items.length > 0 &&
54
54
  (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 &&
55
55
  clearIcon()] }))] })), props.dropdownType === 'status' &&
56
- (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative status_dropdown ${props.className} ${isMoreThanOne ? `selected_multile ${`selected_num_` + items.length}` : ''} ${items.length > 3 ? 'moreThanThreeItems' : ''}` }, { children: [(0, jsx_runtime_1.jsx)(LeftSection, {}), (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { panelClassName: `Multi_select_dropdown_panel panel_${props.dropdownType} ${props.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", itemTemplate: (option) => itemTemplate(option), filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, className: `w-full md:w-20rem` }), items.length > 0 &&
56
+ (0, jsx_runtime_1.jsxs)("div", Object.assign({ className: `sc_custom_multiselect flex align-items-center relative status_dropdown ${props.className} ${isMoreThanOne ? `selected_multile ${`selected_num_` + items.length}` : ''} ${items.length > 3 ? 'moreThanThreeItems' : ''}` }, { children: [(0, jsx_runtime_1.jsx)(LeftSection, {}), (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { panelClassName: `Multi_select_dropdown_panel panel_${props.dropdownType} ${props.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, value: items, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", itemTemplate: (option) => itemTemplate(option), filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, style: { maxWidth: props.maxWidth ? props.maxWidth + 'px' : '' }, className: `w-full md:w-20rem`, panelStyle: { width: props.panelWidth ? props.panelWidth + 'px' : '' } }), items.length > 0 &&
57
57
  (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 &&
58
58
  clearIcon()] }))] })), props.dropdownType === '' &&
59
- (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { value: items, panelClassName: `Multi_select_dropdown_panel ${props.panelClassName} ${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` })] }));
59
+ (0, jsx_runtime_1.jsx)(multiselect_1.MultiSelect, { value: items, panelClassName: `Multi_select_dropdown_panel ${props.panelClassName} ${props.hidePanelHeader !== undefined ? 'hidePanelHeader' : ''}`, onChange: (e) => onChange(e), options: props.options, optionLabel: "name", filter: true, placeholder: props.placeholder, display: "chip", maxSelectedLabels: props.maxSelectedLabels, style: { maxWidth: props.maxWidth ? props.maxWidth + 'px' : '' }, className: `w-full md:w-20rem`, panelStyle: { width: props.panelWidth ? props.panelWidth + 'px' : '' } })] }));
60
60
  };
61
61
  exports.MultiSelectDropDown = MultiSelectDropDown;
62
62
  exports.default = exports.MultiSelectDropDown;
@@ -1,6 +1,5 @@
1
- import 'froala-editor/js/plugins.pkgd.min.js';
2
- import 'froala-editor/js/third_party/embedly.min.js';
3
- import 'froala-editor/css/froala_style.min.css';
4
1
  import 'froala-editor/css/froala_editor.pkgd.min.css';
5
- declare const TextEditor: (props: any) => import("react/jsx-runtime").JSX.Element;
6
- export default TextEditor;
2
+ import 'froala-editor/css/froala_style.min.css';
3
+ import 'froala-editor/js/plugins.pkgd.min.js';
4
+ declare const MyEditor: any;
5
+ export default MyEditor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",