forstok-ui-lib 5.1.16 → 5.2.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/index.d.ts +8 -1
- package/dist/index.js +35 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +35 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
- package/src/assets/stylesheets/shares.styles.ts +79 -1
- package/src/components/button/index.tsx +2 -1
package/dist/index.mjs
CHANGED
|
@@ -238,7 +238,7 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
238
238
|
height: 14px;
|
|
239
239
|
margin-top: -7px;
|
|
240
240
|
${({color:e})=>{let t="";return e&&"initial"!==e&&(t+=`\n fill: ${e};\n stroke: ${e};\n `),t}}
|
|
241
|
-
`,se=e=>{var{children:t,$mode:n,$isIndicatorArrow:r=!1,isIndicatorArrowColor:i="initial",$isShown:o=!0,$shadow:a=!1,$isLoading:s=!1,refContainer:l,$activated:c=!1,$size:u,$iconLeft:d}=e,p=m(e,["children","$mode","$isIndicatorArrow","isIndicatorArrowColor","$isShown","$shadow","$isLoading","refContainer","$activated","$size","$iconLeft"]);const{disabled:
|
|
241
|
+
`,se=e=>{var{children:t,$mode:n,$isIndicatorArrow:r=!1,isIndicatorArrowColor:i="initial",$isShown:o=!0,$shadow:a=!1,$isLoading:s=!1,refContainer:l,$activated:c=!1,$size:u,$iconLeft:d}=e,p=m(e,["children","$mode","$isIndicatorArrow","isIndicatorArrowColor","$isShown","$shadow","$isLoading","refContainer","$activated","$size","$iconLeft"]);const{type:g,disabled:h}=p,f=r?w.jsx(ae,{color:i,height:"20",width:"20",viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",children:w.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"})}):null;return w.jsxs(oe,Object.assign({type:g||"button"},n&&{name:n},{$mode:n,$isIndicatorArrow:!!r,$isShown:!!o,$shadow:!!a,disabled:h||s||!1,$isLoading:!!s,ref:l,$activated:!!c,$size:u,$iconLeft:d},p,{children:[t,f]}))},le=f`
|
|
242
242
|
display: block;
|
|
243
243
|
margin: 8px 0;
|
|
244
244
|
`,ce=f`
|
|
@@ -925,5 +925,38 @@ import*as e from"react";import t,{useState as n,useEffect as r,forwardRef as i,u
|
|
|
925
925
|
overflow-wrap: break-word;
|
|
926
926
|
word-break: break-word;
|
|
927
927
|
}
|
|
928
|
-
|
|
928
|
+
`,Jd=h.span`
|
|
929
|
+
color: var(--mt-clr);
|
|
930
|
+
font-size: 12px;
|
|
931
|
+
word-break: break-all;
|
|
932
|
+
&._refWithIcon {
|
|
933
|
+
display: grid;
|
|
934
|
+
grid-auto-flow: column;
|
|
935
|
+
justify-content: start;
|
|
936
|
+
grid-gap: 4px;
|
|
937
|
+
* {
|
|
938
|
+
margin-right: 0;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
${({$size:e})=>{if("medium"===e)return f`
|
|
942
|
+
font-size: 13px;
|
|
943
|
+
line-height: 12px;
|
|
944
|
+
* {
|
|
945
|
+
margin-right: 4px;
|
|
946
|
+
}
|
|
947
|
+
`}}
|
|
948
|
+
`,Qd=h.article`
|
|
949
|
+
> label,
|
|
950
|
+
> aside {
|
|
951
|
+
${P}
|
|
952
|
+
margin-bottom: 6px;
|
|
953
|
+
padding: 0 6px;
|
|
954
|
+
display: block;
|
|
955
|
+
font-size: 14px;
|
|
956
|
+
}
|
|
957
|
+
> div {
|
|
958
|
+
display: grid;
|
|
959
|
+
}
|
|
960
|
+
${({$mode:e,$required:t})=>{let n="";return"column"===e?n+=" \n display: grid;\n grid-auto-flow: column;\n grid-template-columns: 1.1fr 2fr;\n align-items: baseline;\n grid-gap: 10px;\n > label, > aside {\n padding: 0;\n margin: 0;\n }\n ":"column-product"===e&&(n+=` \n > div {\n display: grid;\n grid-auto-flow: column;\n grid-template-columns: max-content auto;\n grid-gap: 10px;\n ${Jd} {\n display: grid;\n align-items: center;\n }\n }\n `),t&&(n+=" \n > label, > aside {\n &:after {\n content: '*';\n color: red;\n }\n }\n "),n}}
|
|
961
|
+
`;export{se as ButtonComponent,re as CheckboxComponent,De as DropdownComponent,bd as ErrorComponent,zd as FoContainer,Od as FormContainer,jd as HeaderContainer,me as IconComponent,co as ImageComponent,Zd as InfoGroup,K as InputComponent,Qd as InputGroup,$ as InputRefComponent,de as LabelComponent,z as LinkComponent,Wd as ListContainer,he as LoadingComponent,Re as MessageComponent,Ji as MessageQuestionComponent,Jd as MuteLabel,Pd as PanelContainer,Md as PanelWrapper,oo as PopupComponent,be as ReactPortalComponent,Ad as SelectComponent,Vd as SingleFormContainer,Hd as TabsContainer,Yd as TabsContent,D as TextComponent,Rd as Title,Ld as UploadComponent,Xd as UploadDragDropComponent,T as boxBase,G as clearList,O as dropBase,N as elipsis,P as formLabel,V as headTable,L as multiElipsis,S as responseWidth,X as thirdElipsis};
|
|
929
962
|
//# sourceMappingURL=index.mjs.map
|