From a1c02c1937ae250b1f613a3742b1395d21ab5bcc Mon Sep 17 00:00:00 2001 From: Mateusz Russak Date: Mon, 26 Feb 2024 13:09:08 +0100 Subject: [PATCH 1/6] feat: added link component --- docs/docs/public/components/link.png | Bin 0 -> 7865 bytes ui/src/builder/BuilderFieldsText.vue | 12 ++- ui/src/core/templateMap.ts | 2 + ui/src/core_components/content/CoreLink.vue | 86 ++++++++++++++++++++ ui/src/streamsyncTypes.ts | 2 +- 5 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 docs/docs/public/components/link.png create mode 100644 ui/src/core_components/content/CoreLink.vue diff --git a/docs/docs/public/components/link.png b/docs/docs/public/components/link.png new file mode 100644 index 0000000000000000000000000000000000000000..00412bcc67cbe1d956365efef3b9ba28b4ebf00d GIT binary patch literal 7865 zcmcgvby!@>k{{eHxCEErPJ#_Cg9n`iADqD*0>LG?6CgMtI1B_QSOyR75S*Z4@IcTd z_uakk?e72E-&d!qtLj(PU3I?GecowlDB)pKVFLgFJdm=y_9LHtBo$2b$7jD%IT-+e z3$&Ay(*nuK(QCOmTiZEU0RYPH(hM-bI)h}nhRKQ2n1rpVtlm%LX0Z9nOfmBPpAE_wDa3 zR)GARt?1sCQgncCp)APAmfk{5g(Gwtk5C##ehoXq)fWw-ucpQvB;s@5_N5K$OM$U_ zs@+}vLuVGNsa6*X;9c;G9Mi7h&?`cK4~r%jJ8ICgO>S25Xe$bleC}W@*>*(rpMuITj>P zKr(@XcNjU}I_*jb?A%&1<-q*pEoG=!IPjM5We+x@_f0>3s9;!tzm}x4V8x`2P|hBD zX}k@?t&sW7sge*K0mj)NknQ+R2T4t4!Bf?}DpG7m7OA8h51-E*!;21@$J`)%>7-kn ztT{#);X)t5iJHU6wZ$x5NpK=7BjeIOX;aTEr9p{PHJn)cO66X{fH8qH=0YngWk7qs zbM%Qz>h*g+SAAIlI7t+DOc>}TVTIgJ-9%!#f^$l}554hJ=Sj+&mcI>UY1jzE(K*gx zg}5N)50jljHD)dy^V?huY%1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`@Rzee|BbCkX5-J6 zSQn8LKUG!PoLAb}Kd~uPE_oxgB*&_ahXCXE$|5K znA3byao^icEq0)UMT7#@te3(_#6G}ZPA1J zwI?TcGf}bDLJhr7_h&fSi3WkW;LutgNiIHf&IhSvWQ{6sC^CN%r>47N}}rQ8xC{qCbrZiOqK9M zxijCa+4H8cl#co?;5tOA$%~<2bA75ref?@(j*${>F*%L7rhz%#lv2brzqBM{vSRhD z-8W@O#BLI`k(o89=4_* zXyM`TA{`ql8z0N!?Zltr8Ai!0)LcE$#KdZm(Q4<+Qm9w+-UTRbA4 z9ZwuPAcx-@vdwPgZc)OH7-Ne9GI$5C@vz!`T1=;9sC{s^=P-7H`VC_Z_D^M}F!hbv z317kNNhu|HQg3T*`4_%;^OANS@qT94gK4da+R)vtu?Jtqb#gC$X7TawRejvMLap;2_`!Q$FCJqhSj*f7;3;nmF=111i^4o8wC z&2LU)3;Eko1=ZBFj;2AfIBvtmyAEYjQF9AbMk- zHuWO>$p2e)kBQnGST|@d2pN=xqn6_!t6&z9;3#r^ROWBthzsHeg-i28^!7Z=Q*=Ut zV4!dyB`lSG%(9#dxrClHq&G^>N+&{H4IfD-3Hwd}GFULySHX;2!c2bGD%m2NY*b~H(f4k?lB)2@gTjOOA!W%T z-^zffT$#H5KV!ky`tRfP#E|_V`mGiyPxqrUh=!%5GqX;J#?y-XE-jlCKJp7dDC7C3 zgcy-kh-agCtkeV4)MCMP#{x(?Ovn6K4$?hzL%v$pEablcu*7B^ literal 0 HcmV?d00001 diff --git a/ui/src/builder/BuilderFieldsText.vue b/ui/src/builder/BuilderFieldsText.vue index 5b775b785..b3bcd76be 100644 --- a/ui/src/builder/BuilderFieldsText.vue +++ b/ui/src/builder/BuilderFieldsText.vue @@ -26,7 +26,7 @@ :id="`list-${componentId}-${fieldKey}`" >