New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stianlarsen/react-ui-kit

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stianlarsen/react-ui-kit - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

3

dist/components/button/button.js

@@ -18,2 +18,3 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";

const { href, onClick, ...linkProps } = rest;
const { border, ...finalProps } = linkProps;
// Prioritize onClick over href if both are provided

@@ -26,3 +27,3 @@ const linkHandler = onClick

: undefined;
return (_jsx("a", { ...commonProps, href: href, onClick: linkHandler, ...linkProps, children: loading ? (_jsxs("span", { className: "isLoading", children: [_jsx(Loader, {}), loadingText] })) : (children) }));
return (_jsx("a", { ...commonProps, href: href, onClick: linkHandler, ...finalProps, children: loading ? (_jsxs("span", { className: "isLoading", children: [_jsx(Loader, {}), loadingText] })) : (children) }));
}

@@ -29,0 +30,0 @@ else {

{
"name": "@stianlarsen/react-ui-kit",
"version": "1.1.3",
"version": "1.1.4",
"description": "A versatile React UI kit focused on delivering ready-to-use, customizable buttons for every use case. Designed to save developers time and streamline UI development, this kit offers a range of button styles and loaders, ensuring immediate integration and thematic coherence across projects.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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