Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ueaweb/button

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ueaweb/button - npm Package Compare versions

Comparing version 0.3.6 to 0.3.7

2

./dist/button.umd.js

@@ -1,1 +0,1 @@

(function(_,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],n):(_=typeof globalThis<"u"?globalThis:_||self,_["@ueaweb/button"]=n(_.jsxRuntime))})(this,function(_){"use strict";const t={Button:"_Button_1n0mn_1",Button__full:"_Button__full_1n0mn_11",Button__auto:"_Button__auto_1n0mn_14","Button__overide--white":"_Button__overide--white_1n0mn_17","Button__overide--orange":"_Button__overide--orange_1n0mn_23","Button__overide--blue":"_Button__overide--blue_1n0mn_29","Button__overide--green":"_Button__overide--green_1n0mn_35","Button__overide--lilac":"_Button__overide--lilac_1n0mn_41","Button__overide--pink":"_Button__overide--pink_1n0mn_47","Button__overide--black":"_Button__overide--black_1n0mn_53","Button__overide--grey":"_Button__overide--grey_1n0mn_59","Button__overide--lightGrey":"_Button__overide--lightGrey_1n0mn_65","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1n0mn_71",Button__primary:"_Button__primary_1n0mn_77","Button__primary--white":"_Button__primary--white_1n0mn_83","Button__primary--orange":"_Button__primary--orange_1n0mn_92","Button__primary--blue":"_Button__primary--blue_1n0mn_101","Button__primary--green":"_Button__primary--green_1n0mn_110","Button__primary--lilac":"_Button__primary--lilac_1n0mn_119","Button__primary--pink":"_Button__primary--pink_1n0mn_128","Button__primary--black":"_Button__primary--black_1n0mn_137","Button__primary--grey":"_Button__primary--grey_1n0mn_146","Button__primary--lightGrey":"_Button__primary--lightGrey_1n0mn_155","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1n0mn_164",Button__secondary:"_Button__secondary_1n0mn_179","Button__secondary--white":"_Button__secondary--white_1n0mn_184","Button__secondary--orange":"_Button__secondary--orange_1n0mn_192","Button__secondary--blue":"_Button__secondary--blue_1n0mn_200","Button__secondary--green":"_Button__secondary--green_1n0mn_208","Button__secondary--lilac":"_Button__secondary--lilac_1n0mn_216","Button__secondary--pink":"_Button__secondary--pink_1n0mn_224","Button__secondary--black":"_Button__secondary--black_1n0mn_232","Button__secondary--grey":"_Button__secondary--grey_1n0mn_240","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1n0mn_248","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1n0mn_256"};return u=>{const{url:i,linkText:o,newWindow:B,type:e="__primary",colour:a="--black",width:y="auto",text_colour:r=!1}=u,m={className:[t.Button,t["Button"+e],t["Button__"+y],t["Button"+e+a],r?t["Button__overide"+r]:"","SB027_2"].join(" "),href:i,...B?{target:"_blank"}:{},title:o};return _.jsx("a",{...m,children:o})}});
(function(t,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],o):(t=typeof globalThis<"u"?globalThis:t||self,t["@ueaweb/button"]=o(t.jsxRuntime))})(this,function(t){"use strict";const _={Button:"_Button_1dct2_1",Button__full:"_Button__full_1dct2_11",Button__auto:"_Button__auto_1dct2_17","Button__overide--white":"_Button__overide--white_1dct2_20","Button__overide--orange":"_Button__overide--orange_1dct2_26","Button__overide--blue":"_Button__overide--blue_1dct2_32","Button__overide--green":"_Button__overide--green_1dct2_38","Button__overide--lilac":"_Button__overide--lilac_1dct2_44","Button__overide--pink":"_Button__overide--pink_1dct2_50","Button__overide--black":"_Button__overide--black_1dct2_56","Button__overide--grey":"_Button__overide--grey_1dct2_62","Button__overide--lightGrey":"_Button__overide--lightGrey_1dct2_68","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1dct2_74","Button__overide--brightWhite":"_Button__overide--brightWhite_1dct2_80",Button__primary:"_Button__primary_1dct2_86","Button__primary--white":"_Button__primary--white_1dct2_92","Button__primary--orange":"_Button__primary--orange_1dct2_101","Button__primary--blue":"_Button__primary--blue_1dct2_110","Button__primary--green":"_Button__primary--green_1dct2_119","Button__primary--lilac":"_Button__primary--lilac_1dct2_128","Button__primary--pink":"_Button__primary--pink_1dct2_137","Button__primary--black":"_Button__primary--black_1dct2_146","Button__primary--grey":"_Button__primary--grey_1dct2_155","Button__primary--lightGrey":"_Button__primary--lightGrey_1dct2_164","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1dct2_173","Button__primary--brightWhite":"_Button__primary--brightWhite_1dct2_182",Button__secondary:"_Button__secondary_1dct2_197","Button__secondary--white":"_Button__secondary--white_1dct2_202","Button__secondary--orange":"_Button__secondary--orange_1dct2_210","Button__secondary--blue":"_Button__secondary--blue_1dct2_218","Button__secondary--green":"_Button__secondary--green_1dct2_226","Button__secondary--lilac":"_Button__secondary--lilac_1dct2_234","Button__secondary--pink":"_Button__secondary--pink_1dct2_242","Button__secondary--black":"_Button__secondary--black_1dct2_250","Button__secondary--grey":"_Button__secondary--grey_1dct2_258","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1dct2_266","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1dct2_274","Button__secondary--brightWhite":"_Button__secondary--brightWhite_1dct2_282"};return u=>{const{url:i,linkText:e,newWindow:d,type:n="__primary",colour:c="--black",width:B="auto",text_colour:r=!1}=u,a={className:[_.Button,_["Button"+n],_["Button__"+B],_["Button"+n+c],r?_["Button__overide"+r]:"","SB027_2"].join(" "),href:i,...d?{target:"_blank"}:{},title:e};return t.jsx("a",{...a,children:e})}});

@@ -1,64 +0,67 @@

import { jsx as y } from "react/jsx-runtime";
const m = "_Button_1n0mn_1", c = "_Button__full_1n0mn_11", d = "_Button__auto_1n0mn_14", l = "_Button__primary_1n0mn_77", s = "_Button__secondary_1n0mn_179", _ = {
Button: m,
Button__full: c,
Button__auto: d,
"Button__overide--white": "_Button__overide--white_1n0mn_17",
"Button__overide--orange": "_Button__overide--orange_1n0mn_23",
"Button__overide--blue": "_Button__overide--blue_1n0mn_29",
"Button__overide--green": "_Button__overide--green_1n0mn_35",
"Button__overide--lilac": "_Button__overide--lilac_1n0mn_41",
"Button__overide--pink": "_Button__overide--pink_1n0mn_47",
"Button__overide--black": "_Button__overide--black_1n0mn_53",
"Button__overide--grey": "_Button__overide--grey_1n0mn_59",
"Button__overide--lightGrey": "_Button__overide--lightGrey_1n0mn_65",
"Button__overide--veryLightGrey": "_Button__overide--veryLightGrey_1n0mn_71",
Button__primary: l,
"Button__primary--white": "_Button__primary--white_1n0mn_83",
"Button__primary--orange": "_Button__primary--orange_1n0mn_92",
"Button__primary--blue": "_Button__primary--blue_1n0mn_101",
"Button__primary--green": "_Button__primary--green_1n0mn_110",
"Button__primary--lilac": "_Button__primary--lilac_1n0mn_119",
"Button__primary--pink": "_Button__primary--pink_1n0mn_128",
"Button__primary--black": "_Button__primary--black_1n0mn_137",
"Button__primary--grey": "_Button__primary--grey_1n0mn_146",
"Button__primary--lightGrey": "_Button__primary--lightGrey_1n0mn_155",
"Button__primary--veryLightGrey": "_Button__primary--veryLightGrey_1n0mn_164",
Button__secondary: s,
"Button__secondary--white": "_Button__secondary--white_1n0mn_184",
"Button__secondary--orange": "_Button__secondary--orange_1n0mn_192",
"Button__secondary--blue": "_Button__secondary--blue_1n0mn_200",
"Button__secondary--green": "_Button__secondary--green_1n0mn_208",
"Button__secondary--lilac": "_Button__secondary--lilac_1n0mn_216",
"Button__secondary--pink": "_Button__secondary--pink_1n0mn_224",
"Button__secondary--black": "_Button__secondary--black_1n0mn_232",
"Button__secondary--grey": "_Button__secondary--grey_1n0mn_240",
"Button__secondary--lightGrey": "_Button__secondary--lightGrey_1n0mn_248",
"Button__secondary--veryLightGrey": "_Button__secondary--veryLightGrey_1n0mn_256"
}, g = (r) => {
import { jsx as B } from "react/jsx-runtime";
const a = "_Button_1dct2_1", y = "_Button__full_1dct2_11", l = "_Button__auto_1dct2_17", s = "_Button__primary_1dct2_86", g = "_Button__secondary_1dct2_197", _ = {
Button: a,
Button__full: y,
Button__auto: l,
"Button__overide--white": "_Button__overide--white_1dct2_20",
"Button__overide--orange": "_Button__overide--orange_1dct2_26",
"Button__overide--blue": "_Button__overide--blue_1dct2_32",
"Button__overide--green": "_Button__overide--green_1dct2_38",
"Button__overide--lilac": "_Button__overide--lilac_1dct2_44",
"Button__overide--pink": "_Button__overide--pink_1dct2_50",
"Button__overide--black": "_Button__overide--black_1dct2_56",
"Button__overide--grey": "_Button__overide--grey_1dct2_62",
"Button__overide--lightGrey": "_Button__overide--lightGrey_1dct2_68",
"Button__overide--veryLightGrey": "_Button__overide--veryLightGrey_1dct2_74",
"Button__overide--brightWhite": "_Button__overide--brightWhite_1dct2_80",
Button__primary: s,
"Button__primary--white": "_Button__primary--white_1dct2_92",
"Button__primary--orange": "_Button__primary--orange_1dct2_101",
"Button__primary--blue": "_Button__primary--blue_1dct2_110",
"Button__primary--green": "_Button__primary--green_1dct2_119",
"Button__primary--lilac": "_Button__primary--lilac_1dct2_128",
"Button__primary--pink": "_Button__primary--pink_1dct2_137",
"Button__primary--black": "_Button__primary--black_1dct2_146",
"Button__primary--grey": "_Button__primary--grey_1dct2_155",
"Button__primary--lightGrey": "_Button__primary--lightGrey_1dct2_164",
"Button__primary--veryLightGrey": "_Button__primary--veryLightGrey_1dct2_173",
"Button__primary--brightWhite": "_Button__primary--brightWhite_1dct2_182",
Button__secondary: g,
"Button__secondary--white": "_Button__secondary--white_1dct2_202",
"Button__secondary--orange": "_Button__secondary--orange_1dct2_210",
"Button__secondary--blue": "_Button__secondary--blue_1dct2_218",
"Button__secondary--green": "_Button__secondary--green_1dct2_226",
"Button__secondary--lilac": "_Button__secondary--lilac_1dct2_234",
"Button__secondary--pink": "_Button__secondary--pink_1dct2_242",
"Button__secondary--black": "_Button__secondary--black_1dct2_250",
"Button__secondary--grey": "_Button__secondary--grey_1dct2_258",
"Button__secondary--lightGrey": "_Button__secondary--lightGrey_1dct2_266",
"Button__secondary--veryLightGrey": "_Button__secondary--veryLightGrey_1dct2_274",
"Button__secondary--brightWhite": "_Button__secondary--brightWhite_1dct2_282"
}, h = (e) => {
const {
url: e,
url: n,
linkText: t,
newWindow: u,
type: n = "__primary",
type: o = "__primary",
colour: i = "--black",
width: B = "auto",
text_colour: o = !1
} = r, a = {
width: d = "auto",
text_colour: r = !1
} = e, c = {
className: [
_.Button,
_["Button" + n],
_["Button__" + B],
_["Button" + n + i],
o ? _["Button__overide" + o] : "",
_["Button" + o],
_["Button__" + d],
_["Button" + o + i],
r ? _["Button__overide" + r] : "",
"SB027_2"
].join(" "),
href: e,
href: n,
...u ? { target: "_blank" } : {},
title: t
};
return /* @__PURE__ */ y("a", { ...a, children: t });
return /* @__PURE__ */ B("a", { ...c, children: t });
};
export {
g as default
h as default
};

@@ -1,1 +0,1 @@

(function(_,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],n):(_=typeof globalThis<"u"?globalThis:_||self,_["@ueaweb/button"]=n(_.jsxRuntime))})(this,function(_){"use strict";const t={Button:"_Button_1n0mn_1",Button__full:"_Button__full_1n0mn_11",Button__auto:"_Button__auto_1n0mn_14","Button__overide--white":"_Button__overide--white_1n0mn_17","Button__overide--orange":"_Button__overide--orange_1n0mn_23","Button__overide--blue":"_Button__overide--blue_1n0mn_29","Button__overide--green":"_Button__overide--green_1n0mn_35","Button__overide--lilac":"_Button__overide--lilac_1n0mn_41","Button__overide--pink":"_Button__overide--pink_1n0mn_47","Button__overide--black":"_Button__overide--black_1n0mn_53","Button__overide--grey":"_Button__overide--grey_1n0mn_59","Button__overide--lightGrey":"_Button__overide--lightGrey_1n0mn_65","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1n0mn_71",Button__primary:"_Button__primary_1n0mn_77","Button__primary--white":"_Button__primary--white_1n0mn_83","Button__primary--orange":"_Button__primary--orange_1n0mn_92","Button__primary--blue":"_Button__primary--blue_1n0mn_101","Button__primary--green":"_Button__primary--green_1n0mn_110","Button__primary--lilac":"_Button__primary--lilac_1n0mn_119","Button__primary--pink":"_Button__primary--pink_1n0mn_128","Button__primary--black":"_Button__primary--black_1n0mn_137","Button__primary--grey":"_Button__primary--grey_1n0mn_146","Button__primary--lightGrey":"_Button__primary--lightGrey_1n0mn_155","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1n0mn_164",Button__secondary:"_Button__secondary_1n0mn_179","Button__secondary--white":"_Button__secondary--white_1n0mn_184","Button__secondary--orange":"_Button__secondary--orange_1n0mn_192","Button__secondary--blue":"_Button__secondary--blue_1n0mn_200","Button__secondary--green":"_Button__secondary--green_1n0mn_208","Button__secondary--lilac":"_Button__secondary--lilac_1n0mn_216","Button__secondary--pink":"_Button__secondary--pink_1n0mn_224","Button__secondary--black":"_Button__secondary--black_1n0mn_232","Button__secondary--grey":"_Button__secondary--grey_1n0mn_240","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1n0mn_248","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1n0mn_256"};return u=>{const{url:i,linkText:o,newWindow:B,type:e="__primary",colour:a="--black",width:y="auto",text_colour:r=!1}=u,m={className:[t.Button,t["Button"+e],t["Button__"+y],t["Button"+e+a],r?t["Button__overide"+r]:"","SB027_2"].join(" "),href:i,...B?{target:"_blank"}:{},title:o};return _.jsx("a",{...m,children:o})}});
(function(t,o){typeof exports=="object"&&typeof module<"u"?module.exports=o(require("react/jsx-runtime")):typeof define=="function"&&define.amd?define(["react/jsx-runtime"],o):(t=typeof globalThis<"u"?globalThis:t||self,t["@ueaweb/button"]=o(t.jsxRuntime))})(this,function(t){"use strict";const _={Button:"_Button_1dct2_1",Button__full:"_Button__full_1dct2_11",Button__auto:"_Button__auto_1dct2_17","Button__overide--white":"_Button__overide--white_1dct2_20","Button__overide--orange":"_Button__overide--orange_1dct2_26","Button__overide--blue":"_Button__overide--blue_1dct2_32","Button__overide--green":"_Button__overide--green_1dct2_38","Button__overide--lilac":"_Button__overide--lilac_1dct2_44","Button__overide--pink":"_Button__overide--pink_1dct2_50","Button__overide--black":"_Button__overide--black_1dct2_56","Button__overide--grey":"_Button__overide--grey_1dct2_62","Button__overide--lightGrey":"_Button__overide--lightGrey_1dct2_68","Button__overide--veryLightGrey":"_Button__overide--veryLightGrey_1dct2_74","Button__overide--brightWhite":"_Button__overide--brightWhite_1dct2_80",Button__primary:"_Button__primary_1dct2_86","Button__primary--white":"_Button__primary--white_1dct2_92","Button__primary--orange":"_Button__primary--orange_1dct2_101","Button__primary--blue":"_Button__primary--blue_1dct2_110","Button__primary--green":"_Button__primary--green_1dct2_119","Button__primary--lilac":"_Button__primary--lilac_1dct2_128","Button__primary--pink":"_Button__primary--pink_1dct2_137","Button__primary--black":"_Button__primary--black_1dct2_146","Button__primary--grey":"_Button__primary--grey_1dct2_155","Button__primary--lightGrey":"_Button__primary--lightGrey_1dct2_164","Button__primary--veryLightGrey":"_Button__primary--veryLightGrey_1dct2_173","Button__primary--brightWhite":"_Button__primary--brightWhite_1dct2_182",Button__secondary:"_Button__secondary_1dct2_197","Button__secondary--white":"_Button__secondary--white_1dct2_202","Button__secondary--orange":"_Button__secondary--orange_1dct2_210","Button__secondary--blue":"_Button__secondary--blue_1dct2_218","Button__secondary--green":"_Button__secondary--green_1dct2_226","Button__secondary--lilac":"_Button__secondary--lilac_1dct2_234","Button__secondary--pink":"_Button__secondary--pink_1dct2_242","Button__secondary--black":"_Button__secondary--black_1dct2_250","Button__secondary--grey":"_Button__secondary--grey_1dct2_258","Button__secondary--lightGrey":"_Button__secondary--lightGrey_1dct2_266","Button__secondary--veryLightGrey":"_Button__secondary--veryLightGrey_1dct2_274","Button__secondary--brightWhite":"_Button__secondary--brightWhite_1dct2_282"};return u=>{const{url:i,linkText:e,newWindow:d,type:n="__primary",colour:c="--black",width:B="auto",text_colour:r=!1}=u,a={className:[_.Button,_["Button"+n],_["Button__"+B],_["Button"+n+c],r?_["Button__overide"+r]:"","SB027_2"].join(" "),href:i,...d?{target:"_blank"}:{},title:e};return t.jsx("a",{...a,children:e})}});
{
"name": "@ueaweb/button",
"private": false,
"version": "0.3.6",
"version": "0.3.7",
"type": "module",

@@ -32,3 +32,3 @@ "files": [

"license": "ISC",
"gitHead": "87438488bbe618eaad2bb13b3ea154a28756bcb2"
"gitHead": "354fcd4bad6d6ad2251bccf38eaa6bccab52d044"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc