@oliasoft-open-source/react-ui-library 3.13.12 → 3.13.13
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/404.html +1 -1
- package/dist/assets/{index-1127a527.js → index-4238df81.js} +14 -14
- package/dist/global.css +102 -102
- package/dist/index.html +1 -1
- package/dist/index.js +26 -26
- package/dist/storybook/assets/{Color-6VNJS4EI-cb5c4788.js → Color-6VNJS4EI-cefe79ec.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-17347ae5.js → DocsRenderer-NNNQARDV-fb3fe131.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-3275a5af.js → WithTooltip-4HIR6TLV-0862d786.js} +1 -1
- package/dist/storybook/assets/{afe.stories-bee1e150.js → afe.stories-309aa48a.js} +1 -1
- package/dist/storybook/assets/{blowout.stories-20f00bc9.js → blowout.stories-2591ca22.js} +1 -1
- package/dist/storybook/assets/{buttons-and-links-f13c8e28.js → buttons-and-links-374b31a9.js} +1 -1
- package/dist/storybook/assets/{casing-loads.stories-f7e2f8cc.js → casing-loads.stories-1f1eb04e.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-d7c21eea.js → chunk-HLWAVYOI-ae8e1c50.js} +1 -1
- package/dist/storybook/assets/{color-5add850b.js → color-b356ce0c.js} +1 -1
- package/dist/storybook/assets/{column.stories-e1a47fca.js → column.stories-2f7ed5c1.js} +1 -1
- package/dist/storybook/assets/{formation.stories-1292ac52.js → formation.stories-9efe9a06.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-238c3a92.js → formatter-SWP5E3XI-e5eab0b3.js} +1 -1
- package/dist/storybook/assets/{iframe-0f97428a.js → iframe-e53c8858.js} +1 -1
- package/dist/storybook/assets/{index-6ee8b3c0.js → index-783abb9b.js} +4 -4
- package/dist/storybook/assets/{input-validation-0dc0d8a4.js → input-validation-9eb9e168.js} +1 -1
- package/dist/storybook/assets/{inputs-286807c7.js → inputs-71afa000.js} +1 -1
- package/dist/storybook/assets/{layout-forms-62893d5e.js → layout-forms-e397902f.js} +1 -1
- package/dist/storybook/assets/{layout-general-23feddd6.js → layout-general-695c8e11.js} +1 -1
- package/dist/storybook/assets/preview-4d45db3d.js +1 -0
- package/dist/storybook/assets/{preview-df2826f0.js → preview-76383759.js} +1 -1
- package/dist/storybook/assets/{projects.stories-80ce9234.js → projects.stories-d5cca87f.js} +1 -1
- package/dist/storybook/assets/{reservoirs.stories-c685a1c3.js → reservoirs.stories-bb46900d.js} +1 -1
- package/dist/storybook/assets/row-f26d47b5.js +39 -0
- package/dist/storybook/assets/{site.stories-bcbe8ab9.js → site.stories-be444eee.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-e3c1ae2d.js → syntaxhighlighter-NMPM6SWI-fbc99436.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/project.json +1 -1
- package/package.json +1 -1
- package/dist/storybook/assets/preview-f10109a7.js +0 -1
- package/dist/storybook/assets/row-cb504f7d.js +0 -39
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import{j as n}from"./jsx-runtime-f961835c.js";import{n as v,s as V}from"./styled-components.browser.esm-416d73e5.js";import{r as q,R as x}from"./index-f80c8c95.js";import{c as _}from"./index-a80ed1cf.js";const $=v`
|
|
2
|
-
scrollbar-width: none;
|
|
3
|
-
-ms-overflow-style: none;
|
|
4
|
-
&::-webkit-scrollbar {
|
|
5
|
-
display: none;
|
|
6
|
-
}
|
|
7
|
-
`,N=V.div`
|
|
8
|
-
position: relative; // for react-laag
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
min-width: 0;
|
|
12
|
-
flex-basis: ${e=>e.width||"auto"};
|
|
13
|
-
flex-grow: ${e=>!e.width&&e.flex?"1":"0"};
|
|
14
|
-
flex-shrink: ${e=>e.width||!e.flex?"0":"1"};
|
|
15
|
-
overflow: ${e=>e.scroll?"auto":"initial"};
|
|
16
|
-
background: ${e=>e.background};
|
|
17
|
-
border-left: ${e=>e.borderLeft===!0?"1px solid var(--color-border)":e.borderLeft};
|
|
18
|
-
border-right: ${e=>e.borderRight===!0?"1px solid var(--color-border)":e.borderRight};
|
|
19
|
-
padding: ${e=>e.spacing?`0 ${e.spacing/2}px`:"0"};
|
|
20
|
-
${e=>!e.showScrollbar&&$}
|
|
21
|
-
|
|
22
|
-
@media (max-width: 992px) {
|
|
23
|
-
${e=>e.widthTablet&&`flex-basis: ${e.widthTablet};`}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
@media (max-width: 575px) {
|
|
27
|
-
${e=>e.widthMobile&&`flex-basis: ${e.widthMobile};`}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
> .inner {
|
|
31
|
-
flex-basis: 100%;
|
|
32
|
-
position: relative;
|
|
33
|
-
z-index: 0;
|
|
34
|
-
min-height: 0;
|
|
35
|
-
display: ${e=>e.flexbox&&!e.scroll?"flex":"block"};
|
|
36
|
-
${e=>e.flexbox&&"flex-direction: column;"}
|
|
37
|
-
padding: ${e=>e.padding===!0?"16px 20px":e.padding};
|
|
38
|
-
}
|
|
39
|
-
`,y=({background:e="transparent",borderLeft:o,borderRight:a,children:r=null,flex:s=!0,flexbox:d=!1,padding:u=!1,scroll:t=!1,showScrollbar:m=!0,spacing:f=20,width:g,widthMobile:p,widthTablet:l,testId:c})=>{const b=i=>typeof i=="string"?i:typeof i=="number"?`${i}px`:void 0,w=N;return n.jsx(w,{background:e,borderLeft:o,borderRight:a,flex:s,flexbox:d,padding:u,scroll:t,showScrollbar:m,spacing:f,width:b(g),widthTablet:b(l),widthMobile:b(p),children:n.jsx("div",{className:"inner","data-testid":c,children:r})})};try{y.displayName="Column",y.__docgenInfo={description:"",displayName:"Column",props:{background:{defaultValue:{value:"transparent"},description:"",name:"background",required:!1,type:{name:"string"}},borderLeft:{defaultValue:null,description:"",name:"borderLeft",required:!1,type:{name:"string | boolean"}},borderRight:{defaultValue:null,description:"",name:"borderRight",required:!1,type:{name:"string | boolean"}},flex:{defaultValue:{value:"true"},description:"",name:"flex",required:!1,type:{name:"boolean"}},flexbox:{defaultValue:{value:"false"},description:"",name:"flexbox",required:!1,type:{name:"boolean"}},padding:{defaultValue:{value:"false"},description:"",name:"padding",required:!1,type:{name:"string | boolean"}},scroll:{defaultValue:{value:"false"},description:"",name:"scroll",required:!1,type:{name:"boolean"}},showScrollbar:{defaultValue:{value:"true"},description:"",name:"showScrollbar",required:!1,type:{name:"boolean"}},spacing:{defaultValue:{value:"20"},description:"",name:"spacing",required:!1,type:{name:"string | number"}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"string | number"}},widthMobile:{defaultValue:null,description:"",name:"widthMobile",required:!1,type:{name:"string | number"}},widthTablet:{defaultValue:null,description:"",name:"widthTablet",required:!1,type:{name:"string | number"}},testId:{defaultValue:null,description:"",name:"testId",required:!1,type:{name:"string"}}}}}catch{}const R="_row_1abun_341",S={row:R},h=({alignItems:e="initial",justifyContent:o="initial",children:a=null,flex:r=!1,height:s="auto",marginBottom:d="0",marginTop:u="0",spacing:t=20,wrap:m=!1,testId:f=null})=>{const p=(a===null||a===!1?[]:Array.isArray(a)?a.filter(l=>q.isValidElement(l)):[a]).map((l,c)=>n.jsx(x.Fragment,{children:x.cloneElement(l,{spacing:t})},c));return n.jsx("div",{className:_(S.row),style:{alignItems:e,justifyContent:o,flexGrow:r?1:0,flexShrink:r?1:0,flexWrap:m?"wrap":"nowrap",height:s,marginLeft:Number(t)*-.5,marginRight:Number(t)*-.5,marginBottom:d,marginTop:u},"data-testid":f,children:p})};try{h.displayName="Row",h.__docgenInfo={description:"",displayName:"Row",props:{alignItems:{defaultValue:{value:"initial"},description:"",name:"alignItems",required:!1,type:{name:"AlignItems"}},justifyContent:{defaultValue:{value:"initial"},description:"",name:"justifyContent",required:!1,type:{name:"JustifyContent"}},flex:{defaultValue:{value:"false"},description:"",name:"flex",required:!1,type:{name:"boolean"}},height:{defaultValue:{value:"auto"},description:"",name:"height",required:!1,type:{name:"TStringOrNumber"}},marginBottom:{defaultValue:{value:"0"},description:"",name:"marginBottom",required:!1,type:{name:"TStringOrNumber"}},marginTop:{defaultValue:{value:"0"},description:"",name:"marginTop",required:!1,type:{name:"TStringOrNumber"}},spacing:{defaultValue:{value:"20"},description:"",name:"spacing",required:!1,type:{name:"TStringOrNumber"}},wrap:{defaultValue:{value:"false"},description:"",name:"wrap",required:!1,type:{name:"boolean"}},testId:{defaultValue:{value:"null"},description:"",name:"testId",required:!1,type:{name:"string | null"}}}}}catch{}export{y as C,h as R};
|