@oliasoft-open-source/react-ui-library 4.2.1 → 4.3.0-beta-1

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 (91) hide show
  1. package/dist/storybook/assets/{Color-6VNJS4EI-11a1508d.js → Color-6VNJS4EI-caa8bffa.js} +1 -1
  2. package/dist/storybook/assets/{DocsRenderer-NNNQARDV-8f214a0a.js → DocsRenderer-NNNQARDV-e463e8a5.js} +1 -1
  3. package/dist/storybook/assets/{WithTooltip-4HIR6TLV-bcdb019a.js → WithTooltip-4HIR6TLV-9514f93a.js} +1 -1
  4. package/dist/storybook/assets/accordion-with-default-toggle-0b4845c8.js +1 -0
  5. package/dist/storybook/assets/accordion.stories-ad491954.js +170 -0
  6. package/dist/storybook/assets/{afe.stories-afb9be07.js → afe.stories-49904fdb.js} +1 -1
  7. package/dist/storybook/assets/breadcrumb-f8742fbd.js +1 -0
  8. package/dist/storybook/assets/breadcrumb.stories-b5582cfb.js +1 -0
  9. package/dist/storybook/assets/buttons-and-links-6c701fa6.js +14 -0
  10. package/dist/storybook/assets/{casing-loads.stories-cfbab702.js → casing-loads.stories-dff0b8fc.js} +1 -1
  11. package/dist/storybook/assets/{chunk-HLWAVYOI-6a96cff0.js → chunk-HLWAVYOI-d8be29f3.js} +1 -1
  12. package/dist/storybook/assets/{color-9bdf643a.js → color-9e78f280.js} +1 -1
  13. package/dist/storybook/assets/{drawer.stories-39625e91.js → drawer.stories-59cd794a.js} +1 -1
  14. package/dist/storybook/assets/empty-2d83d50b.js +1 -0
  15. package/dist/storybook/assets/empty.stories-c98807b8.js +1 -0
  16. package/dist/storybook/assets/file-input-a3594635.js +1 -0
  17. package/dist/storybook/assets/file-input.stories-3d2e95e7.js +55 -0
  18. package/dist/storybook/assets/{formatter-SWP5E3XI-06c7911e.js → formatter-SWP5E3XI-c42be4d9.js} +1 -1
  19. package/dist/storybook/assets/{preview-d47a2f40.css → global-aa71ac9c.css} +1 -1
  20. package/dist/storybook/assets/iframe-8d80f428.js +1 -0
  21. package/dist/storybook/assets/{index-97b8789c.js → index-56f304c1.js} +4 -4
  22. package/dist/storybook/assets/{input-validation-64e7abcc.js → input-validation-1b895773.js} +1 -1
  23. package/dist/storybook/assets/{inputs-e48e1acb.js → inputs-e51c1c31.js} +2 -2
  24. package/dist/storybook/assets/{layout-forms-289235b9.js → layout-forms-29ceb520.js} +1 -1
  25. package/dist/storybook/assets/{layout-general-545e69b0.js → layout-general-245ef20f.js} +1 -1
  26. package/dist/storybook/assets/{list-0dc3df85.js → list-e6e7e5ed.js} +1 -1
  27. package/dist/storybook/assets/{list.stories-5715452e.js → list.stories-e2d00aea.js} +1 -1
  28. package/dist/storybook/assets/{message-7e627e60.js → message-dabd76a8.js} +1 -1
  29. package/dist/storybook/assets/{message.stories-f41a0c22.js → message.stories-6f612f7c.js} +1 -1
  30. package/dist/storybook/assets/meta-content-6f132e03.js +1 -0
  31. package/dist/storybook/assets/modal-ad69eee9.js +1 -0
  32. package/dist/storybook/assets/modal-f1e8e468.css +1 -0
  33. package/dist/storybook/assets/{modal.stories-0e068cc1.js → modal.stories-448cc75d.js} +1 -1
  34. package/dist/storybook/assets/option-dropdown-fbe54c09.js +1 -0
  35. package/dist/storybook/assets/option-dropdown.stories-8b7ee529.js +21 -0
  36. package/dist/storybook/assets/{padding-and-spacing-7aefd342.js → padding-and-spacing-27e63c65.js} +1 -1
  37. package/dist/storybook/assets/page.stories-4ad3bea8.js +57 -0
  38. package/dist/storybook/assets/pop-confirm-e6b7cc0c.js +1 -0
  39. package/dist/storybook/assets/pop-confirm.stories-27da1975.js +7 -0
  40. package/dist/storybook/assets/preview-608a4ee9.js +1 -0
  41. package/dist/storybook/assets/{preview-88cc5d68.js → preview-72d84988.js} +3 -3
  42. package/dist/storybook/assets/preview-a5b25924.css +1 -0
  43. package/dist/storybook/assets/print-header-bd013690.js +1 -0
  44. package/dist/storybook/assets/{projects.stories-3884a80c.js → projects.stories-c383cdce.js} +1 -1
  45. package/dist/storybook/assets/{reservoirs.stories-6b14a37f.js → reservoirs.stories-b4549b91.js} +1 -1
  46. package/dist/storybook/assets/{rich-text-input.stories-661f34f1.js → rich-text-input-977847ce.js} +52 -127
  47. package/dist/storybook/assets/rich-text-input.stories-b770908d.js +76 -0
  48. package/dist/storybook/assets/{site.stories-dee8ce1c.js → site.stories-80a441ea.js} +1 -1
  49. package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-5e884b35.js → syntaxhighlighter-NMPM6SWI-73149e16.js} +1 -1
  50. package/dist/storybook/assets/text-link-f4589768.js +1 -0
  51. package/dist/storybook/assets/text-link.stories-6b7c8329.js +1 -0
  52. package/dist/storybook/assets/{toaster-541ce85b.js → toaster-3fba1dd3.js} +1 -1
  53. package/dist/storybook/assets/{toaster.stories-5e4d95b1.js → toaster.stories-4cdefe35.js} +1 -1
  54. package/dist/storybook/assets/tree-a5de7d3a.js +6 -0
  55. package/dist/storybook/assets/tree.stories-b16724d6.js +123 -0
  56. package/dist/storybook/assets/unit-input-9bf08434.js +1 -0
  57. package/dist/storybook/assets/unit-input.stories-65646cf3.js +273 -0
  58. package/dist/storybook/assets/unit-table.stories-4706910f.js +229 -0
  59. package/dist/storybook/iframe.html +1 -1
  60. package/dist/storybook/index.json +1 -1
  61. package/dist/storybook/project.json +1 -1
  62. package/dist/storybook/stories.json +1 -1
  63. package/package.json +1 -1
  64. package/dist/404.html +0 -1
  65. package/dist/storybook/assets/accordion.stories-0f8af16e.js +0 -170
  66. package/dist/storybook/assets/breadcrumb.stories-e4334a75.js +0 -1
  67. package/dist/storybook/assets/buttons-and-links-72daa9ae.js +0 -14
  68. package/dist/storybook/assets/dialog-8e840c50.css +0 -1
  69. package/dist/storybook/assets/dialog-cd58dd09.js +0 -1
  70. package/dist/storybook/assets/empty.stories-e0e3ac78.js +0 -1
  71. package/dist/storybook/assets/file-input.stories-1c6ce0ea.js +0 -55
  72. package/dist/storybook/assets/iframe-c1fab5c5.js +0 -1
  73. package/dist/storybook/assets/list-heading-88cc8a9b.js +0 -1
  74. package/dist/storybook/assets/option-dropdown.stories-5030bdb8.js +0 -21
  75. package/dist/storybook/assets/page.stories-7cb68fed.js +0 -57
  76. package/dist/storybook/assets/pop-confirm.stories-81b30901.js +0 -7
  77. package/dist/storybook/assets/preview-5405e1e8.js +0 -1
  78. package/dist/storybook/assets/text-link.stories-c1227c6f.js +0 -1
  79. package/dist/storybook/assets/tree.stories-590bdd69.js +0 -128
  80. package/dist/storybook/assets/unit-input.stories-50ac8b0f.js +0 -257
  81. /package/dist/storybook/assets/{accordion.stories-e92bccf3.css → accordion-with-default-toggle-e92bccf3.css} +0 -0
  82. /package/dist/storybook/assets/{breadcrumb.stories-a644544e.css → breadcrumb-a644544e.css} +0 -0
  83. /package/dist/storybook/assets/{empty.stories-9914c767.css → empty-9914c767.css} +0 -0
  84. /package/dist/storybook/assets/{file-input.stories-f40408e6.css → file-input-f40408e6.css} +0 -0
  85. /package/dist/storybook/assets/{list-heading-d7e578fa.css → meta-content-d7e578fa.css} +0 -0
  86. /package/dist/storybook/assets/{option-dropdown.stories-ddc96b15.css → option-dropdown-ddc96b15.css} +0 -0
  87. /package/dist/storybook/assets/{pop-confirm.stories-c9faec6b.css → pop-confirm-c9faec6b.css} +0 -0
  88. /package/dist/storybook/assets/{page.stories-dd8c1b35.css → print-header-dd8c1b35.css} +0 -0
  89. /package/dist/storybook/assets/{rich-text-input.stories-023a1c99.css → rich-text-input-023a1c99.css} +0 -0
  90. /package/dist/storybook/assets/{tree.stories-3406c5f6.css → tree-3406c5f6.css} +0 -0
  91. /package/dist/storybook/assets/{unit-input.stories-c251e2c8.css → unit-input-c251e2c8.css} +0 -0
@@ -1,4 +1,4 @@
1
- import{j as e}from"./jsx-runtime-f961835c.js";import{r as b}from"./index-f80c8c95.js";import{I as j}from"./common-types-2c81813f.js";import{T as w}from"./top-bar-a84b9365.js";import{S as L}from"./side-bar-88e8cf41.js";import{H as t}from"./heading-d29eb744.js";import{B as m}from"./button-74c97e4a.js";import{D as v}from"./drawer-7f450988.js";import{L as C}from"./list-0dc3df85.js";import{F as l}from"./field-a094cd72.js";import{I as i}from"./input-d68625a5.js";import{C as p}from"./check-box-e21258d5.js";import{R as h}from"./radio-button-135a9615.js";import{C as d}from"./card-3847c251.js";import{F}from"./form-row-19dd7f6e.js";import{P as g}from"./page-6d07f774.js";import{R as a,C as r}from"./row-2299f0e7.js";import{S as R}from"./select-205cd538.js";import{S as f}from"./spacer-54db0620.js";import"./index-a80ed1cf.js";import"./icon-e9cbb4d7.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";import"./actions-2d4e1c8e.js";import"./lodash-75c70a11.js";import"./tooltip-23e84186.js";import"./index-3d476d02.js";import"./types-cc224262.js";import"./types-332ceaf3.js";import"./badge-20e7ee0b.js";import"./index-c7f280f6.js";import"./help-icon-d4189b1b.js";import"./spinner-a81ebe38.js";import"./index.es-85cc7dfc.js";import"./redux-10ee6be7.js";import"./objectSpread2-fdee9b6d.js";import"./memoize-one.esm-52518564.js";import"./list-heading-88cc8a9b.js";import"./loader-87ec8334.js";import"./label-13d490a3.js";import"./select.input-88b6ebab.js";import"./styled-components.browser.esm-416d73e5.js";import"./assertThisInitialized-081f9914.js";import"./text-ad1f5f1d.js";const k=({width:s,height:n})=>e.jsx("div",{style:{background:"#ddd",width:s,height:n}}),Le={title:"Layout/Layout Examples",parameters:{layout:"fullscreen",docs:{story:{inline:!1,iframeHeight:400}}}},o=()=>{const[s,n]=b.useState(!0);return e.jsxs(e.Fragment,{children:[e.jsx(w,{}),e.jsx(L,{options:{title:"",sections:[]}}),e.jsx(g,{padding:!1,scroll:!1,children:e.jsxs(a,{spacing:0,height:"100%",children:[e.jsx(v,{button:e.jsx(m,{onClick:()=>n(!s),round:!0,icon:j.CHEVRON_LEFT}),open:s,width:300,closedWidth:"var(--size-sidebar)",children:e.jsx(C,{drawer:!0,narrow:!s,list:{name:"Reservoirs",items:[{id:1,name:"Lorem",active:!0},{id:2,name:"Ipsum"}]}})}),e.jsxs(r,{scroll:!0,padding:!0,borderLeft:!0,children:[e.jsxs(a,{children:[e.jsxs(r,{children:[e.jsx(t,{top:!0,children:"Reservoir name here"}),e.jsxs(F,{children:[e.jsx(l,{label:"Name",children:e.jsx(i,{value:"Reservoir name here",width:"200px"})}),e.jsx(l,{label:"Lorem",children:e.jsx(h,{name:"example",options:[{label:"Aardvarks",value:"termites"},{label:"Monkeys",value:"bananas"}],value:{label:"Monkeys",value:"bananas"},inline:!0})}),e.jsx(l,{label:"Ipsum",children:e.jsx(R,{name:"example",options:[{label:"Monkeys",value:"bananas"},{label:"Possums",value:"slugs"}],value:{label:"Monkeys",value:"bananas"},native:!0})}),e.jsx(l,{children:e.jsx(p,{label:"Dolor"})})]})]}),e.jsx(r,{flex:!1,children:e.jsx(m,{onClick:()=>{},round:!0,icon:"question"})})]}),e.jsxs(a,{children:[e.jsx(r,{width:"50%",children:e.jsx(d,{heading:e.jsx(t,{onClickHelp:()=>console.log("help!"),children:"Reservoir Zone"}),children:e.jsxs(a,{children:[e.jsxs(r,{width:"50%",children:[e.jsxs(l,{label:"Label",helpText:"Lorem ipsum",children:[e.jsx(h,{options:[{label:"Aardvarks",value:"termites"},{label:"Monkeys",value:"bananas"}],value:{label:"Monkeys",value:"bananas"},inline:!0}),e.jsx(i,{width:"100%"})]}),e.jsxs(l,{label:"Label",helpText:"Lorem ipsum",children:[e.jsx(p,{label:"Lorem ipsum"}),e.jsx(i,{width:"100%",disabled:!0})]}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})})]}),e.jsxs(r,{width:"50%",children:[e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})})]})]})})}),e.jsxs(r,{width:"50%",children:[e.jsx(d,{heading:e.jsx(t,{children:"Reservoir Size"}),children:e.jsxs(a,{children:[e.jsxs(r,{width:"160px",children:[e.jsx(l,{label:"Length",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Width",children:e.jsx(i,{width:"100%"})})]}),e.jsx(r,{children:e.jsx(k,{width:"100%",height:"100%"})})]})}),e.jsx(f,{}),e.jsx(d,{heading:e.jsx(t,{children:"Reservoir Properties"}),children:e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(l,{label:"Label",children:e.jsx(i,{width:"100%"})})}),e.jsx(r,{children:e.jsx(l,{label:"Label",children:e.jsx(i,{width:"100%"})})}),e.jsx(r,{children:e.jsx(l,{label:"Label",children:e.jsx(i,{width:"100%"})})})]})})]})]})]})]})})]})};var u,x,c;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`() => {
1
+ import{j as e}from"./jsx-runtime-f961835c.js";import{r as b}from"./index-f80c8c95.js";import{I as j}from"./common-types-2c81813f.js";import{T as w}from"./top-bar-a84b9365.js";import{S as L}from"./side-bar-88e8cf41.js";import{H as t}from"./heading-d29eb744.js";import{B as m}from"./button-74c97e4a.js";import{D as v}from"./drawer-7f450988.js";import{L as C}from"./list-e6e7e5ed.js";import{F as l}from"./field-a094cd72.js";import{I as i}from"./input-d68625a5.js";import{C as p}from"./check-box-e21258d5.js";import{R as h}from"./radio-button-135a9615.js";import{C as d}from"./card-3847c251.js";import{F}from"./form-row-19dd7f6e.js";import{P as g}from"./page-6d07f774.js";import{R as a,C as r}from"./row-2299f0e7.js";import{S as R}from"./select-205cd538.js";import{S as f}from"./spacer-54db0620.js";import"./index-a80ed1cf.js";import"./icon-e9cbb4d7.js";import"./inheritsLoose-d4851ab8.js";import"./tslib.es6-dfef685f.js";import"./index-c89a1915.js";import"./disabled-context-d654f6ff.js";import"./actions-2d4e1c8e.js";import"./lodash-75c70a11.js";import"./tooltip-23e84186.js";import"./index-3d476d02.js";import"./types-cc224262.js";import"./types-332ceaf3.js";import"./badge-20e7ee0b.js";import"./index-c7f280f6.js";import"./help-icon-d4189b1b.js";import"./spinner-a81ebe38.js";import"./index.es-85cc7dfc.js";import"./redux-10ee6be7.js";import"./objectSpread2-fdee9b6d.js";import"./memoize-one.esm-52518564.js";import"./meta-content-6f132e03.js";import"./loader-87ec8334.js";import"./label-13d490a3.js";import"./select.input-88b6ebab.js";import"./styled-components.browser.esm-416d73e5.js";import"./assertThisInitialized-081f9914.js";import"./text-ad1f5f1d.js";const k=({width:s,height:n})=>e.jsx("div",{style:{background:"#ddd",width:s,height:n}}),Le={title:"Layout/Layout Examples",parameters:{layout:"fullscreen",docs:{story:{inline:!1,iframeHeight:400}}}},o=()=>{const[s,n]=b.useState(!0);return e.jsxs(e.Fragment,{children:[e.jsx(w,{}),e.jsx(L,{options:{title:"",sections:[]}}),e.jsx(g,{padding:!1,scroll:!1,children:e.jsxs(a,{spacing:0,height:"100%",children:[e.jsx(v,{button:e.jsx(m,{onClick:()=>n(!s),round:!0,icon:j.CHEVRON_LEFT}),open:s,width:300,closedWidth:"var(--size-sidebar)",children:e.jsx(C,{drawer:!0,narrow:!s,list:{name:"Reservoirs",items:[{id:1,name:"Lorem",active:!0},{id:2,name:"Ipsum"}]}})}),e.jsxs(r,{scroll:!0,padding:!0,borderLeft:!0,children:[e.jsxs(a,{children:[e.jsxs(r,{children:[e.jsx(t,{top:!0,children:"Reservoir name here"}),e.jsxs(F,{children:[e.jsx(l,{label:"Name",children:e.jsx(i,{value:"Reservoir name here",width:"200px"})}),e.jsx(l,{label:"Lorem",children:e.jsx(h,{name:"example",options:[{label:"Aardvarks",value:"termites"},{label:"Monkeys",value:"bananas"}],value:{label:"Monkeys",value:"bananas"},inline:!0})}),e.jsx(l,{label:"Ipsum",children:e.jsx(R,{name:"example",options:[{label:"Monkeys",value:"bananas"},{label:"Possums",value:"slugs"}],value:{label:"Monkeys",value:"bananas"},native:!0})}),e.jsx(l,{children:e.jsx(p,{label:"Dolor"})})]})]}),e.jsx(r,{flex:!1,children:e.jsx(m,{onClick:()=>{},round:!0,icon:"question"})})]}),e.jsxs(a,{children:[e.jsx(r,{width:"50%",children:e.jsx(d,{heading:e.jsx(t,{onClickHelp:()=>console.log("help!"),children:"Reservoir Zone"}),children:e.jsxs(a,{children:[e.jsxs(r,{width:"50%",children:[e.jsxs(l,{label:"Label",helpText:"Lorem ipsum",children:[e.jsx(h,{options:[{label:"Aardvarks",value:"termites"},{label:"Monkeys",value:"bananas"}],value:{label:"Monkeys",value:"bananas"},inline:!0}),e.jsx(i,{width:"100%"})]}),e.jsxs(l,{label:"Label",helpText:"Lorem ipsum",children:[e.jsx(p,{label:"Lorem ipsum"}),e.jsx(i,{width:"100%",disabled:!0})]}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})})]}),e.jsxs(r,{width:"50%",children:[e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Label",helpText:"Lorem ipsum",children:e.jsx(i,{width:"100%"})})]})]})})}),e.jsxs(r,{width:"50%",children:[e.jsx(d,{heading:e.jsx(t,{children:"Reservoir Size"}),children:e.jsxs(a,{children:[e.jsxs(r,{width:"160px",children:[e.jsx(l,{label:"Length",children:e.jsx(i,{width:"100%"})}),e.jsx(l,{label:"Width",children:e.jsx(i,{width:"100%"})})]}),e.jsx(r,{children:e.jsx(k,{width:"100%",height:"100%"})})]})}),e.jsx(f,{}),e.jsx(d,{heading:e.jsx(t,{children:"Reservoir Properties"}),children:e.jsxs(a,{children:[e.jsx(r,{children:e.jsx(l,{label:"Label",children:e.jsx(i,{width:"100%"})})}),e.jsx(r,{children:e.jsx(l,{label:"Label",children:e.jsx(i,{width:"100%"})})}),e.jsx(r,{children:e.jsx(l,{label:"Label",children:e.jsx(i,{width:"100%"})})})]})})]})]})]})]})})]})};var u,x,c;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`() => {
2
2
  const [open, setOpen] = useState(true);
3
3
  return <>
4
4
  <TopBar />