@ueaweb/button
Advanced tools
Comparing version 0.3.11 to 0.3.12
@@ -1,1 +0,1 @@ | ||
(function(_,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],o):(_=typeof globalThis<"u"?globalThis:_||self,_["@ueaweb/button"]=o(_.jsxRuntime))})(this,function(_){"use strict";const t={Button:"_Button_1m95c_2",Button__full:"_Button__full_1m95c_13",Button__auto:"_Button__auto_1m95c_19","Button__overide--white":"_Button__overide--white_1m95c_22","Button__overide--orange":"_Button__overide--orange_1m95c_28","Button__overide--blue":"_Button__overide--blue_1m95c_34","Button__overide--green":"_Button__overide--green_1m95c_40","Button__overide--lilac":"_Button__overide--lilac_1m95c_46","Button__overide--pink":"_Button__overide--pink_1m95c_52","Button__overide--black":"_Button__overide--black_1m95c_58","Button__overide--grey":"_Button__overide--grey_1m95c_64","Button__overide--lightGrey":"_Button__overide--lightGrey_1m95c_70","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1m95c_76","Button__overide--brightWhite":"_Button__overide--brightWhite_1m95c_82",Button__primary:"_Button__primary_1m95c_88","Button__primary--white":"_Button__primary--white_1m95c_94","Button__primary--orange":"_Button__primary--orange_1m95c_103","Button__primary--blue":"_Button__primary--blue_1m95c_112","Button__primary--green":"_Button__primary--green_1m95c_121","Button__primary--lilac":"_Button__primary--lilac_1m95c_130","Button__primary--pink":"_Button__primary--pink_1m95c_139","Button__primary--black":"_Button__primary--black_1m95c_148","Button__primary--grey":"_Button__primary--grey_1m95c_157","Button__primary--lightGrey":"_Button__primary--lightGrey_1m95c_166","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1m95c_175","Button__primary--brightWhite":"_Button__primary--brightWhite_1m95c_184",Button__secondary:"_Button__secondary_1m95c_199","Button__secondary--white":"_Button__secondary--white_1m95c_204","Button__secondary--orange":"_Button__secondary--orange_1m95c_212","Button__secondary--blue":"_Button__secondary--blue_1m95c_220","Button__secondary--green":"_Button__secondary--green_1m95c_228","Button__secondary--lilac":"_Button__secondary--lilac_1m95c_236","Button__secondary--pink":"_Button__secondary--pink_1m95c_244","Button__secondary--black":"_Button__secondary--black_1m95c_252","Button__secondary--grey":"_Button__secondary--grey_1m95c_260","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1m95c_268","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1m95c_276","Button__secondary--brightWhite":"_Button__secondary--brightWhite_1m95c_284",Button__plain:"_Button__plain_1m95c_321"};return u=>{const{url:i,linkText:n,newWindow:B,type:e="__primary",colour:c="--black",width:a="auto",text_colour:r=!1}=u,y={className:[t.Button,t["Button"+e],t["Button__"+a],t["Button"+e+c],r?t["Button__overide"+r]:"","SB027_2"].filter(m=>m).join(" "),href:i,...B?{target:"_blank"}:{},title:n};return _.jsx("a",{...y,children:n})}}); | ||
(function(_,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],o):(_=typeof globalThis<"u"?globalThis:_||self,_["@ueaweb/button"]=o(_.jsxRuntime))})(this,function(_){"use strict";const t={Button:"_Button_108gi_2",Button__full:"_Button__full_108gi_13",Button__auto:"_Button__auto_108gi_19","Button__overide--white":"_Button__overide--white_108gi_22","Button__overide--orange":"_Button__overide--orange_108gi_28","Button__overide--blue":"_Button__overide--blue_108gi_34","Button__overide--green":"_Button__overide--green_108gi_40","Button__overide--lilac":"_Button__overide--lilac_108gi_46","Button__overide--pink":"_Button__overide--pink_108gi_52","Button__overide--black":"_Button__overide--black_108gi_58","Button__overide--grey":"_Button__overide--grey_108gi_64","Button__overide--lightGrey":"_Button__overide--lightGrey_108gi_70","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_108gi_76","Button__overide--brightWhite":"_Button__overide--brightWhite_108gi_82",Button__primary:"_Button__primary_108gi_88","Button__primary--white":"_Button__primary--white_108gi_94","Button__primary--orange":"_Button__primary--orange_108gi_103","Button__primary--blue":"_Button__primary--blue_108gi_112","Button__primary--green":"_Button__primary--green_108gi_121","Button__primary--lilac":"_Button__primary--lilac_108gi_130","Button__primary--pink":"_Button__primary--pink_108gi_139","Button__primary--black":"_Button__primary--black_108gi_148","Button__primary--grey":"_Button__primary--grey_108gi_157","Button__primary--lightGrey":"_Button__primary--lightGrey_108gi_166","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_108gi_175","Button__primary--brightWhite":"_Button__primary--brightWhite_108gi_184",Button__secondary:"_Button__secondary_108gi_199","Button__secondary--white":"_Button__secondary--white_108gi_204","Button__secondary--orange":"_Button__secondary--orange_108gi_212","Button__secondary--blue":"_Button__secondary--blue_108gi_220","Button__secondary--green":"_Button__secondary--green_108gi_228","Button__secondary--lilac":"_Button__secondary--lilac_108gi_236","Button__secondary--pink":"_Button__secondary--pink_108gi_244","Button__secondary--black":"_Button__secondary--black_108gi_252","Button__secondary--grey":"_Button__secondary--grey_108gi_260","Button__secondary--lightGrey":"_Button__secondary--lightGrey_108gi_268","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_108gi_276","Button__secondary--brightWhite":"_Button__secondary--brightWhite_108gi_284",Button__plain:"_Button__plain_108gi_317"};return i=>{const{url:u,linkText:n,newWindow:B,type:e="__primary",colour:a="--black",width:y="auto",text_colour:r=!1}=i,g={className:[t.Button,t["Button"+e],t["Button__"+y],t["Button"+e+a],r?t["Button__overide"+r]:"","SB027_2"].filter(d=>d).join(" "),href:u,...B?{target:"_blank"}:{},title:n};return _.jsx("a",{...g,children:n})}}); |
@@ -1,1 +0,1 @@ | ||
"use strict";const y=require("react/jsx-runtime"),m="_Button_1m95c_2",d="_Button__full_1m95c_13",l="_Button__auto_1m95c_19",s="_Button__primary_1m95c_88",g="_Button__secondary_1m95c_199",p="_Button__plain_1m95c_321",_={Button:m,Button__full:d,Button__auto:l,"Button__overide--white":"_Button__overide--white_1m95c_22","Button__overide--orange":"_Button__overide--orange_1m95c_28","Button__overide--blue":"_Button__overide--blue_1m95c_34","Button__overide--green":"_Button__overide--green_1m95c_40","Button__overide--lilac":"_Button__overide--lilac_1m95c_46","Button__overide--pink":"_Button__overide--pink_1m95c_52","Button__overide--black":"_Button__overide--black_1m95c_58","Button__overide--grey":"_Button__overide--grey_1m95c_64","Button__overide--lightGrey":"_Button__overide--lightGrey_1m95c_70","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1m95c_76","Button__overide--brightWhite":"_Button__overide--brightWhite_1m95c_82",Button__primary:s,"Button__primary--white":"_Button__primary--white_1m95c_94","Button__primary--orange":"_Button__primary--orange_1m95c_103","Button__primary--blue":"_Button__primary--blue_1m95c_112","Button__primary--green":"_Button__primary--green_1m95c_121","Button__primary--lilac":"_Button__primary--lilac_1m95c_130","Button__primary--pink":"_Button__primary--pink_1m95c_139","Button__primary--black":"_Button__primary--black_1m95c_148","Button__primary--grey":"_Button__primary--grey_1m95c_157","Button__primary--lightGrey":"_Button__primary--lightGrey_1m95c_166","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1m95c_175","Button__primary--brightWhite":"_Button__primary--brightWhite_1m95c_184",Button__secondary:g,"Button__secondary--white":"_Button__secondary--white_1m95c_204","Button__secondary--orange":"_Button__secondary--orange_1m95c_212","Button__secondary--blue":"_Button__secondary--blue_1m95c_220","Button__secondary--green":"_Button__secondary--green_1m95c_228","Button__secondary--lilac":"_Button__secondary--lilac_1m95c_236","Button__secondary--pink":"_Button__secondary--pink_1m95c_244","Button__secondary--black":"_Button__secondary--black_1m95c_252","Button__secondary--grey":"_Button__secondary--grey_1m95c_260","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1m95c_268","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1m95c_276","Button__secondary--brightWhite":"_Button__secondary--brightWhite_1m95c_284",Button__plain:p},h=n=>{const{url:e,linkText:t,newWindow:u,type:o="__primary",colour:i="--black",width:c="auto",text_colour:r=!1}=n,B={className:[_.Button,_["Button"+o],_["Button__"+c],_["Button"+o+i],r?_["Button__overide"+r]:"","SB027_2"].filter(a=>a).join(" "),href:e,...u?{target:"_blank"}:{},title:t};return y.jsx("a",{...B,children:t})};module.exports=h; | ||
"use strict";const g=require("react/jsx-runtime"),c="_Button_108gi_2",d="_Button__full_108gi_13",l="_Button__auto_108gi_19",s="_Button__primary_108gi_88",p="_Button__secondary_108gi_199",h="_Button__plain_108gi_317",_={Button:c,Button__full:d,Button__auto:l,"Button__overide--white":"_Button__overide--white_108gi_22","Button__overide--orange":"_Button__overide--orange_108gi_28","Button__overide--blue":"_Button__overide--blue_108gi_34","Button__overide--green":"_Button__overide--green_108gi_40","Button__overide--lilac":"_Button__overide--lilac_108gi_46","Button__overide--pink":"_Button__overide--pink_108gi_52","Button__overide--black":"_Button__overide--black_108gi_58","Button__overide--grey":"_Button__overide--grey_108gi_64","Button__overide--lightGrey":"_Button__overide--lightGrey_108gi_70","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_108gi_76","Button__overide--brightWhite":"_Button__overide--brightWhite_108gi_82",Button__primary:s,"Button__primary--white":"_Button__primary--white_108gi_94","Button__primary--orange":"_Button__primary--orange_108gi_103","Button__primary--blue":"_Button__primary--blue_108gi_112","Button__primary--green":"_Button__primary--green_108gi_121","Button__primary--lilac":"_Button__primary--lilac_108gi_130","Button__primary--pink":"_Button__primary--pink_108gi_139","Button__primary--black":"_Button__primary--black_108gi_148","Button__primary--grey":"_Button__primary--grey_108gi_157","Button__primary--lightGrey":"_Button__primary--lightGrey_108gi_166","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_108gi_175","Button__primary--brightWhite":"_Button__primary--brightWhite_108gi_184",Button__secondary:p,"Button__secondary--white":"_Button__secondary--white_108gi_204","Button__secondary--orange":"_Button__secondary--orange_108gi_212","Button__secondary--blue":"_Button__secondary--blue_108gi_220","Button__secondary--green":"_Button__secondary--green_108gi_228","Button__secondary--lilac":"_Button__secondary--lilac_108gi_236","Button__secondary--pink":"_Button__secondary--pink_108gi_244","Button__secondary--black":"_Button__secondary--black_108gi_252","Button__secondary--grey":"_Button__secondary--grey_108gi_260","Button__secondary--lightGrey":"_Button__secondary--lightGrey_108gi_268","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_108gi_276","Button__secondary--brightWhite":"_Button__secondary--brightWhite_108gi_284",Button__plain:h},v=n=>{const{url:e,linkText:t,newWindow:i,type:o="__primary",colour:u="--black",width:B="auto",text_colour:r=!1}=n,a={className:[_.Button,_["Button"+o],_["Button__"+B],_["Button"+o+u],r?_["Button__overide"+r]:"","SB027_2"].filter(y=>y).join(" "),href:e,...i?{target:"_blank"}:{},title:t};return g.jsx("a",{...a,children:t})};module.exports=v; |
@@ -1,42 +0,42 @@ | ||
import { jsx as y } from "react/jsx-runtime"; | ||
const m = "_Button_1m95c_2", d = "_Button__full_1m95c_13", l = "_Button__auto_1m95c_19", s = "_Button__primary_1m95c_88", p = "_Button__secondary_1m95c_199", g = "_Button__plain_1m95c_321", _ = { | ||
Button: m, | ||
import { jsx as g } from "react/jsx-runtime"; | ||
const c = "_Button_108gi_2", d = "_Button__full_108gi_13", l = "_Button__auto_108gi_19", s = "_Button__primary_108gi_88", p = "_Button__secondary_108gi_199", h = "_Button__plain_108gi_317", _ = { | ||
Button: c, | ||
Button__full: d, | ||
Button__auto: l, | ||
"Button__overide--white": "_Button__overide--white_1m95c_22", | ||
"Button__overide--orange": "_Button__overide--orange_1m95c_28", | ||
"Button__overide--blue": "_Button__overide--blue_1m95c_34", | ||
"Button__overide--green": "_Button__overide--green_1m95c_40", | ||
"Button__overide--lilac": "_Button__overide--lilac_1m95c_46", | ||
"Button__overide--pink": "_Button__overide--pink_1m95c_52", | ||
"Button__overide--black": "_Button__overide--black_1m95c_58", | ||
"Button__overide--grey": "_Button__overide--grey_1m95c_64", | ||
"Button__overide--lightGrey": "_Button__overide--lightGrey_1m95c_70", | ||
"Button__overide--veryLightGrey": "_Button__overide--veryLightGrey_1m95c_76", | ||
"Button__overide--brightWhite": "_Button__overide--brightWhite_1m95c_82", | ||
"Button__overide--white": "_Button__overide--white_108gi_22", | ||
"Button__overide--orange": "_Button__overide--orange_108gi_28", | ||
"Button__overide--blue": "_Button__overide--blue_108gi_34", | ||
"Button__overide--green": "_Button__overide--green_108gi_40", | ||
"Button__overide--lilac": "_Button__overide--lilac_108gi_46", | ||
"Button__overide--pink": "_Button__overide--pink_108gi_52", | ||
"Button__overide--black": "_Button__overide--black_108gi_58", | ||
"Button__overide--grey": "_Button__overide--grey_108gi_64", | ||
"Button__overide--lightGrey": "_Button__overide--lightGrey_108gi_70", | ||
"Button__overide--veryLightGrey": "_Button__overide--veryLightGrey_108gi_76", | ||
"Button__overide--brightWhite": "_Button__overide--brightWhite_108gi_82", | ||
Button__primary: s, | ||
"Button__primary--white": "_Button__primary--white_1m95c_94", | ||
"Button__primary--orange": "_Button__primary--orange_1m95c_103", | ||
"Button__primary--blue": "_Button__primary--blue_1m95c_112", | ||
"Button__primary--green": "_Button__primary--green_1m95c_121", | ||
"Button__primary--lilac": "_Button__primary--lilac_1m95c_130", | ||
"Button__primary--pink": "_Button__primary--pink_1m95c_139", | ||
"Button__primary--black": "_Button__primary--black_1m95c_148", | ||
"Button__primary--grey": "_Button__primary--grey_1m95c_157", | ||
"Button__primary--lightGrey": "_Button__primary--lightGrey_1m95c_166", | ||
"Button__primary--veryLightGrey": "_Button__primary--veryLightGrey_1m95c_175", | ||
"Button__primary--brightWhite": "_Button__primary--brightWhite_1m95c_184", | ||
"Button__primary--white": "_Button__primary--white_108gi_94", | ||
"Button__primary--orange": "_Button__primary--orange_108gi_103", | ||
"Button__primary--blue": "_Button__primary--blue_108gi_112", | ||
"Button__primary--green": "_Button__primary--green_108gi_121", | ||
"Button__primary--lilac": "_Button__primary--lilac_108gi_130", | ||
"Button__primary--pink": "_Button__primary--pink_108gi_139", | ||
"Button__primary--black": "_Button__primary--black_108gi_148", | ||
"Button__primary--grey": "_Button__primary--grey_108gi_157", | ||
"Button__primary--lightGrey": "_Button__primary--lightGrey_108gi_166", | ||
"Button__primary--veryLightGrey": "_Button__primary--veryLightGrey_108gi_175", | ||
"Button__primary--brightWhite": "_Button__primary--brightWhite_108gi_184", | ||
Button__secondary: p, | ||
"Button__secondary--white": "_Button__secondary--white_1m95c_204", | ||
"Button__secondary--orange": "_Button__secondary--orange_1m95c_212", | ||
"Button__secondary--blue": "_Button__secondary--blue_1m95c_220", | ||
"Button__secondary--green": "_Button__secondary--green_1m95c_228", | ||
"Button__secondary--lilac": "_Button__secondary--lilac_1m95c_236", | ||
"Button__secondary--pink": "_Button__secondary--pink_1m95c_244", | ||
"Button__secondary--black": "_Button__secondary--black_1m95c_252", | ||
"Button__secondary--grey": "_Button__secondary--grey_1m95c_260", | ||
"Button__secondary--lightGrey": "_Button__secondary--lightGrey_1m95c_268", | ||
"Button__secondary--veryLightGrey": "_Button__secondary--veryLightGrey_1m95c_276", | ||
"Button__secondary--brightWhite": "_Button__secondary--brightWhite_1m95c_284", | ||
Button__plain: g | ||
"Button__secondary--white": "_Button__secondary--white_108gi_204", | ||
"Button__secondary--orange": "_Button__secondary--orange_108gi_212", | ||
"Button__secondary--blue": "_Button__secondary--blue_108gi_220", | ||
"Button__secondary--green": "_Button__secondary--green_108gi_228", | ||
"Button__secondary--lilac": "_Button__secondary--lilac_108gi_236", | ||
"Button__secondary--pink": "_Button__secondary--pink_108gi_244", | ||
"Button__secondary--black": "_Button__secondary--black_108gi_252", | ||
"Button__secondary--grey": "_Button__secondary--grey_108gi_260", | ||
"Button__secondary--lightGrey": "_Button__secondary--lightGrey_108gi_268", | ||
"Button__secondary--veryLightGrey": "_Button__secondary--veryLightGrey_108gi_276", | ||
"Button__secondary--brightWhite": "_Button__secondary--brightWhite_108gi_284", | ||
Button__plain: h | ||
}, v = (n) => { | ||
@@ -46,21 +46,21 @@ const { | ||
linkText: t, | ||
newWindow: u, | ||
newWindow: i, | ||
type: o = "__primary", | ||
colour: i = "--black", | ||
width: c = "auto", | ||
colour: u = "--black", | ||
width: B = "auto", | ||
text_colour: r = !1 | ||
} = n, B = { | ||
} = n, a = { | ||
className: [ | ||
_.Button, | ||
_["Button" + o], | ||
_["Button__" + c], | ||
_["Button" + o + i], | ||
_["Button__" + B], | ||
_["Button" + o + u], | ||
r ? _["Button__overide" + r] : "", | ||
"SB027_2" | ||
].filter((a) => a).join(" "), | ||
].filter((y) => y).join(" "), | ||
href: e, | ||
...u ? { target: "_blank" } : {}, | ||
...i ? { target: "_blank" } : {}, | ||
title: t | ||
}; | ||
return /* @__PURE__ */ y("a", { ...B, children: t }); | ||
return /* @__PURE__ */ g("a", { ...a, children: t }); | ||
}; | ||
@@ -67,0 +67,0 @@ export { |
@@ -1,1 +0,1 @@ | ||
(function(_,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],o):(_=typeof globalThis<"u"?globalThis:_||self,_["@ueaweb/button"]=o(_.jsxRuntime))})(this,function(_){"use strict";const t={Button:"_Button_1m95c_2",Button__full:"_Button__full_1m95c_13",Button__auto:"_Button__auto_1m95c_19","Button__overide--white":"_Button__overide--white_1m95c_22","Button__overide--orange":"_Button__overide--orange_1m95c_28","Button__overide--blue":"_Button__overide--blue_1m95c_34","Button__overide--green":"_Button__overide--green_1m95c_40","Button__overide--lilac":"_Button__overide--lilac_1m95c_46","Button__overide--pink":"_Button__overide--pink_1m95c_52","Button__overide--black":"_Button__overide--black_1m95c_58","Button__overide--grey":"_Button__overide--grey_1m95c_64","Button__overide--lightGrey":"_Button__overide--lightGrey_1m95c_70","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1m95c_76","Button__overide--brightWhite":"_Button__overide--brightWhite_1m95c_82",Button__primary:"_Button__primary_1m95c_88","Button__primary--white":"_Button__primary--white_1m95c_94","Button__primary--orange":"_Button__primary--orange_1m95c_103","Button__primary--blue":"_Button__primary--blue_1m95c_112","Button__primary--green":"_Button__primary--green_1m95c_121","Button__primary--lilac":"_Button__primary--lilac_1m95c_130","Button__primary--pink":"_Button__primary--pink_1m95c_139","Button__primary--black":"_Button__primary--black_1m95c_148","Button__primary--grey":"_Button__primary--grey_1m95c_157","Button__primary--lightGrey":"_Button__primary--lightGrey_1m95c_166","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1m95c_175","Button__primary--brightWhite":"_Button__primary--brightWhite_1m95c_184",Button__secondary:"_Button__secondary_1m95c_199","Button__secondary--white":"_Button__secondary--white_1m95c_204","Button__secondary--orange":"_Button__secondary--orange_1m95c_212","Button__secondary--blue":"_Button__secondary--blue_1m95c_220","Button__secondary--green":"_Button__secondary--green_1m95c_228","Button__secondary--lilac":"_Button__secondary--lilac_1m95c_236","Button__secondary--pink":"_Button__secondary--pink_1m95c_244","Button__secondary--black":"_Button__secondary--black_1m95c_252","Button__secondary--grey":"_Button__secondary--grey_1m95c_260","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1m95c_268","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1m95c_276","Button__secondary--brightWhite":"_Button__secondary--brightWhite_1m95c_284",Button__plain:"_Button__plain_1m95c_321"};return u=>{const{url:i,linkText:n,newWindow:B,type:e="__primary",colour:c="--black",width:a="auto",text_colour:r=!1}=u,y={className:[t.Button,t["Button"+e],t["Button__"+a],t["Button"+e+c],r?t["Button__overide"+r]:"","SB027_2"].filter(m=>m).join(" "),href:i,...B?{target:"_blank"}:{},title:n};return _.jsx("a",{...y,children:n})}}); | ||
(function(_,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],o):(_=typeof globalThis<"u"?globalThis:_||self,_["@ueaweb/button"]=o(_.jsxRuntime))})(this,function(_){"use strict";const t={Button:"_Button_108gi_2",Button__full:"_Button__full_108gi_13",Button__auto:"_Button__auto_108gi_19","Button__overide--white":"_Button__overide--white_108gi_22","Button__overide--orange":"_Button__overide--orange_108gi_28","Button__overide--blue":"_Button__overide--blue_108gi_34","Button__overide--green":"_Button__overide--green_108gi_40","Button__overide--lilac":"_Button__overide--lilac_108gi_46","Button__overide--pink":"_Button__overide--pink_108gi_52","Button__overide--black":"_Button__overide--black_108gi_58","Button__overide--grey":"_Button__overide--grey_108gi_64","Button__overide--lightGrey":"_Button__overide--lightGrey_108gi_70","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_108gi_76","Button__overide--brightWhite":"_Button__overide--brightWhite_108gi_82",Button__primary:"_Button__primary_108gi_88","Button__primary--white":"_Button__primary--white_108gi_94","Button__primary--orange":"_Button__primary--orange_108gi_103","Button__primary--blue":"_Button__primary--blue_108gi_112","Button__primary--green":"_Button__primary--green_108gi_121","Button__primary--lilac":"_Button__primary--lilac_108gi_130","Button__primary--pink":"_Button__primary--pink_108gi_139","Button__primary--black":"_Button__primary--black_108gi_148","Button__primary--grey":"_Button__primary--grey_108gi_157","Button__primary--lightGrey":"_Button__primary--lightGrey_108gi_166","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_108gi_175","Button__primary--brightWhite":"_Button__primary--brightWhite_108gi_184",Button__secondary:"_Button__secondary_108gi_199","Button__secondary--white":"_Button__secondary--white_108gi_204","Button__secondary--orange":"_Button__secondary--orange_108gi_212","Button__secondary--blue":"_Button__secondary--blue_108gi_220","Button__secondary--green":"_Button__secondary--green_108gi_228","Button__secondary--lilac":"_Button__secondary--lilac_108gi_236","Button__secondary--pink":"_Button__secondary--pink_108gi_244","Button__secondary--black":"_Button__secondary--black_108gi_252","Button__secondary--grey":"_Button__secondary--grey_108gi_260","Button__secondary--lightGrey":"_Button__secondary--lightGrey_108gi_268","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_108gi_276","Button__secondary--brightWhite":"_Button__secondary--brightWhite_108gi_284",Button__plain:"_Button__plain_108gi_317"};return i=>{const{url:u,linkText:n,newWindow:B,type:e="__primary",colour:a="--black",width:y="auto",text_colour:r=!1}=i,g={className:[t.Button,t["Button"+e],t["Button__"+y],t["Button"+e+a],r?t["Button__overide"+r]:"","SB027_2"].filter(d=>d).join(" "),href:u,...B?{target:"_blank"}:{},title:n};return _.jsx("a",{...g,children:n})}}); |
{ | ||
"name": "@ueaweb/button", | ||
"private": false, | ||
"version": "0.3.11", | ||
"version": "0.3.12", | ||
"type": "module", | ||
@@ -32,3 +32,3 @@ "files": [ | ||
"license": "ISC", | ||
"gitHead": "b744d443410ae8a8c3a283e64d7f70e4155d430e" | ||
"gitHead": "b44c2c9c914a833815bb4ec5595f93883fcb34a5" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22645