sccoreui 5.5.1 → 5.5.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/App.scss CHANGED
@@ -823,11 +823,9 @@ button[aria-expanded="true"] {
823
823
  }
824
824
 
825
825
  .sc_multiSelect.noShowSelectedCount{
826
- .p-multiselect {
827
826
  .p-multiselect-label {
828
827
  padding-right: 0px;
829
828
  }
830
- }
831
829
  }
832
830
 
833
831
  .sc_multiSelect.hideChipremoveIcon {
@@ -319,14 +319,14 @@ const FormulaCoponent = (props) => {
319
319
  switch (optiontype) {
320
320
  case "INCREASE_BY_VALUE":
321
321
  case "DECREASE_BY_VALUE": {
322
- return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
322
+ return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => props === null || props === void 0 ? void 0 : props.onChange(e), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
323
323
  }
324
324
  case "INCREASE_BY_PERCENTAGE":
325
325
  case "DECREASE_BY_PERCENTAGE": {
326
- return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'w-8 relative' }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'absolute left-0 h-full flex align-items-center px-2' }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "percent-01", size: 16, color: '#344054' }) })), (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-full', inputClassName: 'border-none \tpl-8 focus:shadow-none' })] })));
326
+ return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: 'w-8 relative' }, { children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ className: 'absolute left-0 h-full flex align-items-center px-2' }, { children: (0, jsx_runtime_1.jsx)(svg_component_1.default, { icon: "percent-01", size: 16, color: '#344054' }) })), (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => props === null || props === void 0 ? void 0 : props.onChange(e), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-full', inputClassName: 'border-none \tpl-8 focus:shadow-none' })] })));
327
327
  }
328
328
  case "MANUAL": {
329
- return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
329
+ return (0, jsx_runtime_1.jsx)(inputnumber_1.InputNumber, { onChange: (e) => props === null || props === void 0 ? void 0 : props.onChange(e), placeholder: 'Enter Number', value: props === null || props === void 0 ? void 0 : props.inputValue, className: 'border-none w-8', inputClassName: 'border-none \tfocus:shadow-none' });
330
330
  }
331
331
  case "CALCULATION": {
332
332
  const pattern = /[a-f0-9]{24}/g;
@@ -307,6 +307,7 @@ export interface FormulaTemplateTypes {
307
307
  footerTemplateClassName?: string;
308
308
  onSaveFormula?: (payload: any) => void;
309
309
  onClose?: () => void;
310
+ onChange?: (payload: any) => void;
310
311
  options: ConfigurValueOptionsTypes[];
311
312
  optionLabel?: string;
312
313
  menuClassName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sccoreui",
3
- "version": "5.5.1",
3
+ "version": "5.5.3",
4
4
  "description": "ui-sccore",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",