@oliasoft-open-source/react-ui-library 4.8.0-beta-2 → 4.8.0-beta-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.
Files changed (80) hide show
  1. package/dist/assets/{index-Csdt18_R.js → index-GTFdS-JF.js} +1008 -862
  2. package/dist/index.d.ts +7 -2
  3. package/dist/index.html +1 -1
  4. package/dist/index.js +1013 -890
  5. package/dist/index.js.map +1 -1
  6. package/dist/storybook/assets/{Color-KGDBMAHA-BS-rAnbo.js → Color-KGDBMAHA-BfJnf8wl.js} +1 -1
  7. package/dist/storybook/assets/{DocsRenderer-PKQXORMH-DZ7r3cmw.js → DocsRenderer-PKQXORMH-pB_sm_Dd.js} +1 -1
  8. package/dist/storybook/assets/{accordion.stories-CKrpJWRn.js → accordion.stories-YV-J9E1H.js} +1 -1
  9. package/dist/storybook/assets/{afe.stories-80-X2oCf.js → afe.stories-BnD7J0sn.js} +1 -1
  10. package/dist/storybook/assets/{blowout.stories-ES-Fuaqn.js → blowout.stories-BlyKeeED.js} +1 -1
  11. package/dist/storybook/assets/{buttons-and-links-sTGnmj6h.js → buttons-and-links-Ca04lY9X.js} +2 -2
  12. package/dist/storybook/assets/{casing-loads.stories-Do3mZuX2.js → casing-loads.stories-CEKi9p48.js} +1 -1
  13. package/dist/storybook/assets/{cell.stories-B0YsumDa.js → cell.stories-B0IK4EXk.js} +1 -1
  14. package/dist/storybook/assets/{check-box.stories-B6vW-2Fd.js → check-box.stories-C_7Z7Ss6.js} +1 -1
  15. package/dist/storybook/assets/{chunk-HLWAVYOI-BqK-R5cR.js → chunk-HLWAVYOI-HYUErAMH.js} +1 -1
  16. package/dist/storybook/assets/{color-Cvx86PKp.js → color-DGvuSSEr.js} +2 -2
  17. package/dist/storybook/assets/{column.stories-BxfR9Tla.js → column.stories-DDTHFELF.js} +1 -1
  18. package/dist/storybook/assets/{footer.stories-CMN_mVki.js → footer.stories-Bl3gEVhY.js} +1 -1
  19. package/dist/storybook/assets/{form.stories-C1Qx3M_1.js → form.stories-JRw9Y_sV.js} +1 -1
  20. package/dist/storybook/assets/{formation.stories-CCJYaUpG.js → formation.stories-DNNvbCAo.js} +1 -1
  21. package/dist/storybook/assets/{grid-B6LFPf51.js → grid-DRkC-bt8.js} +1 -1
  22. package/dist/storybook/assets/{grid.stories-BhjMGl59.js → grid.stories-DqjhHHwX.js} +1 -1
  23. package/dist/storybook/assets/{icon.stories-C1hZXIMX.js → icon.stories-fnZUR-LK.js} +1 -1
  24. package/dist/storybook/assets/iframe-Csk0Yhc_.js +2 -0
  25. package/dist/storybook/assets/index-C0x1JmaP.js +14 -0
  26. package/dist/storybook/assets/{index-B8zF6D3V.js → index-CvQIWAVm.js} +95 -95
  27. package/dist/storybook/assets/{index-Be0hXiyp.js → index-DMAnyMX5.js} +1 -1
  28. package/dist/storybook/assets/{index-omjWi7I7.js → index-RtWQonQy.js} +1 -1
  29. package/dist/storybook/assets/{input-group.stories-44quIZTV.js → input-group.stories-D7nvlp0S.js} +1 -1
  30. package/dist/storybook/assets/{input-validation-BREYBXzB.js → input-validation-C2ibmhTz.js} +1 -1
  31. package/dist/storybook/assets/{inputs-DkxT6vDD.js → inputs-DwngOtgA.js} +2 -2
  32. package/dist/storybook/assets/{layout-forms-Y0Chz5wF.js → layout-forms-Dh0s7R-p.js} +1 -1
  33. package/dist/storybook/assets/{layout-general-CRJUCd3s.js → layout-general-CQq0CjM9.js} +1 -1
  34. package/dist/storybook/assets/{menu.stories-Dozt6Npk.js → menu.stories-mt3LwVCk.js} +1 -1
  35. package/dist/storybook/assets/{message.stories-K3bQ-5bJ.js → message.stories-DEMcK-wa.js} +1 -1
  36. package/dist/storybook/assets/{modal.stories-BX49dKIM.js → modal.stories-Benu2pYo.js} +1 -1
  37. package/dist/storybook/assets/number-input-FjN2w5Zq.js +4 -0
  38. package/dist/storybook/assets/number-input.stories-CjeUb5EQ.js +166 -0
  39. package/dist/storybook/assets/{padding-and-spacing-DYx_u7EA.js → padding-and-spacing-CNMAhndq.js} +1 -1
  40. package/dist/storybook/assets/{pagination-iSMIbR33.js → pagination-DXnrsBZs.js} +1 -1
  41. package/dist/storybook/assets/{pagination.stories-BUPaZD5R.js → pagination.stories-DKSBeVH-.js} +1 -1
  42. package/dist/storybook/assets/{popover.stories-Duemqiqp.js → popover.stories-BKImRt9k.js} +1 -1
  43. package/dist/storybook/assets/{preview-B2Xzz4-3.js → preview-BXgx9U1c.js} +1 -1
  44. package/dist/storybook/assets/{preview-kt6m1zZo.js → preview-BjWBoeyd.js} +2 -2
  45. package/dist/storybook/assets/{projects.stories-DU-QlBa6.js → projects.stories-BfMSNrkX.js} +1 -1
  46. package/dist/storybook/assets/{radio-button.stories-8QEKlNvO.js → radio-button.stories-CGJnfCk-.js} +1 -1
  47. package/dist/storybook/assets/{reservoirs.stories-aSZ9r1Pu.js → reservoirs.stories-CZme5ZCc.js} +1 -1
  48. package/dist/storybook/assets/rich-text-input.stories-a2GSF6vM.js +256 -0
  49. package/dist/storybook/assets/{row-4iAGREkV.js → row-Bmiy2Lh0.js} +1 -1
  50. package/dist/storybook/assets/{row.stories-ZCrMoTuY.js → row.stories-UAENUT5Q.js} +1 -1
  51. package/dist/storybook/assets/{select-C8iu4-uz.js → select-Br1k0mOD.js} +1 -1
  52. package/dist/storybook/assets/{select.stories-DbgjgsiX.js → select.stories-Bj6BwvfZ.js} +1 -1
  53. package/dist/storybook/assets/{site.stories-Ci4g5W2A.js → site.stories-CRc-gQlK.js} +1 -1
  54. package/dist/storybook/assets/{smart-upload-modal.stories-DgnJ79fa.js → smart-upload-modal.stories-BStZdEeo.js} +1 -1
  55. package/dist/storybook/assets/styled-components.browser.esm-BQ9GQzDc.js +2 -0
  56. package/dist/storybook/assets/{table-ZQD4ELIM.js → table-DMsE4ks-.js} +1 -1
  57. package/dist/storybook/assets/{table.stories-DGedoAir.js → table.stories-CvFBGBd6.js} +1 -1
  58. package/dist/storybook/assets/{title.stories-jQBBSflc.js → title.stories-DvTVQphz.js} +1 -1
  59. package/dist/storybook/assets/{toaster.stories-CAqrDYpd.js → toaster.stories-Dxg5K32_.js} +1 -1
  60. package/dist/storybook/assets/{toggle.stories-t0T4HV1D.js → toggle.stories-mjk0JIle.js} +1 -1
  61. package/dist/storybook/assets/unit-input-5P4Cogho.css +1 -0
  62. package/dist/storybook/assets/unit-input.stories-CT4Qgaiw.js +359 -0
  63. package/dist/storybook/assets/unit-table.stories-DtWOiSyD.js +152 -0
  64. package/dist/storybook/iframe.html +1 -1
  65. package/dist/storybook/index.json +1 -1
  66. package/dist/storybook/project.json +1 -1
  67. package/dist/storybook/sb-addons/interactions-2/manager-bundle.js +1 -0
  68. package/dist/storybook/sb-manager/globals-runtime.js +1 -1
  69. package/dist/storybook/sb-manager/globals.js +48 -0
  70. package/dist/storybook/sb-preview/runtime.js +1 -0
  71. package/package.json +8 -4
  72. package/dist/storybook/assets/iframe-CUVhB5TR.js +0 -2
  73. package/dist/storybook/assets/index-DQs5XS8h.js +0 -14
  74. package/dist/storybook/assets/number-input-CD-fbjVQ.js +0 -4
  75. package/dist/storybook/assets/number-input.stories-h1PlFB_G.js +0 -105
  76. package/dist/storybook/assets/rich-text-input.stories-CsFyrKRA.js +0 -256
  77. package/dist/storybook/assets/styled-components.browser.esm-Bf0q9Yjk.js +0 -2
  78. package/dist/storybook/assets/unit-input-CoFS2qhN.css +0 -1
  79. package/dist/storybook/assets/unit-input.stories-C7XlUSaC.js +0 -290
  80. package/dist/storybook/assets/unit-table.stories-BJbxGp7Y.js +0 -150
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { ChangeEvent } from 'react';
2
+ import { Context } from 'react';
2
3
  import { CSSProperties } from 'react';
3
4
  import { default as default_2 } from 'react';
4
5
  import { DependencyList } from 'react';
@@ -866,6 +867,8 @@ export declare interface INativeSelectProps {
866
867
  maxTooltipWidth?: TStringOrNumber;
867
868
  }
868
869
 
870
+ export declare const initializeContext: (context: Context<UnitContextType | null>) => void;
871
+
869
872
  export declare const Input: default_2.ForwardRefExoticComponent<IInputProps & default_2.RefAttributes<HTMLInputElement>>;
870
873
 
871
874
  export declare const InputGroup: ({ children, small, width, }: IInputGroupProps) => ReactElement;
@@ -902,7 +905,7 @@ declare interface INumberInputCell extends TCommonCell {
902
905
  allowEmpty?: boolean;
903
906
  enableCosmeticRounding: boolean;
904
907
  enableDisplayRounding: boolean;
905
- roundDisplayValue: (value: TStringNumberNull) => TStringNumberNull;
908
+ roundDisplayValue: (value: TStringOrNumber) => TStringOrNumber;
906
909
  }
907
910
 
908
911
  export declare interface INumberInputProps {
@@ -931,7 +934,7 @@ export declare interface INumberInputProps {
931
934
  groupOrder?: any;
932
935
  enableCosmeticRounding?: boolean;
933
936
  enableDisplayRounding?: boolean;
934
- roundDisplayValue?: (args: TStringNumberNull) => TStringNumberNull;
937
+ roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
935
938
  disableInternalErrorValidationMessages?: boolean;
936
939
  }
937
940
 
@@ -1862,6 +1865,8 @@ export declare type TTriggerType = 'Text' | 'Button' | 'DropDownButton' | 'Compo
1862
1865
 
1863
1866
  declare type TUnitTableCellShape = TCellShape | IUnitTableStaticCell | IUnitTableInputCell | IUnitTableNumberInputCell;
1864
1867
 
1868
+ declare type UnitContextType = any;
1869
+
1865
1870
  export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, doNotConvertValue, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, autoValue, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, }: IUnitInputProps) => JSX_2.Element;
1866
1871
 
1867
1872
  export declare const UnitTable: ({ table, unitConfig, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, }: IUnitTableProps) => JSX_2.Element;
package/dist/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-Csdt18_R.js"></script><link rel="stylesheet" crossorigin href="/react-ui-library/assets/index-Oe0PlEED.css"></head><body><div id="content"></div></body>
1
+ <!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-GTFdS-JF.js"></script><link rel="stylesheet" crossorigin href="/react-ui-library/assets/index-Oe0PlEED.css"></head><body><div id="content"></div></body>