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

@spark-ui/spinner

Package Overview
Dependencies
Maintainers
7
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/spinner - npm Package Compare versions

Comparing version 2.0.5 to 2.1.0

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

# [2.1.0](https://github.com/adevinta/spark/compare/@spark-ui/spinner@2.0.5...@spark-ui/spinner@2.1.0) (2023-08-16)
### Features
- **spinner:** add full size to spinner ([4ecce88](https://github.com/adevinta/spark/commit/4ecce88a544154726644fec0e612af7115a590d7))
## [2.0.5](https://github.com/adevinta/spark/compare/@spark-ui/spinner@2.0.4...@spark-ui/spinner@2.0.5) (2023-08-16)

@@ -8,0 +14,0 @@

2

dist/index.js

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

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("@spark-ui/visually-hidden"),u=require("@spark-ui/internal-utils"),l=require("class-variance-authority").cva(["inline-block","border-solid","rounded-full","border-md","animate-spin"],{variants:{size:{current:["u-current-font-size"],sm:["w-sz-20","h-sz-20"],md:["w-sz-28","h-sz-28"]},intent:u.makeVariants({current:["border-current"],main:["border-main"],support:["border-support"],accent:["border-accent"],basic:["border-basic"],success:["border-success"],alert:["border-alert"],error:["border-error"],info:["border-info"],neutral:["border-neutral"]}),isBackgroundVisible:{true:["border-b-neutral-container","border-l-neutral-container"],false:["border-b-transparent","border-l-transparent"]}},defaultVariants:{intent:"current",size:"current",isBackgroundVisible:!1}}),d=r.forwardRef(({className:n,size:t="current",intent:a="current",label:e,isBackgroundVisible:s,...i},o)=>r.createElement("div",{role:"status","data-spark-component":"spinner",ref:o,className:l({className:n,size:t,intent:a,isBackgroundVisible:s}),...i},e&&r.createElement(c.VisuallyHidden,null,e)));exports.Spinner=d;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),l=require("@spark-ui/visually-hidden"),u=require("@spark-ui/internal-utils"),c=require("class-variance-authority").cva(["inline-block","border-solid","rounded-full","border-md","animate-spin"],{variants:{size:{current:["u-current-font-size"],sm:["w-sz-20","h-sz-20"],md:["w-sz-28","h-sz-28"],full:["w-full","h-full"]},intent:u.makeVariants({current:["border-current"],main:["border-main"],support:["border-support"],accent:["border-accent"],basic:["border-basic"],success:["border-success"],alert:["border-alert"],error:["border-error"],info:["border-info"],neutral:["border-neutral"]}),isBackgroundVisible:{true:["border-b-neutral-container","border-l-neutral-container"],false:["border-b-transparent","border-l-transparent"]}},defaultVariants:{intent:"current",size:"current",isBackgroundVisible:!1}}),d=r.forwardRef(({className:n,size:t="current",intent:a="current",label:e,isBackgroundVisible:s,...i},o)=>r.createElement("div",{role:"status","data-spark-component":"spinner",ref:o,className:c({className:n,size:t,intent:a,isBackgroundVisible:s}),...i},e&&r.createElement(l.VisuallyHidden,null,e)));exports.Spinner=d;
import { VariantProps } from 'class-variance-authority';
export declare const spinnerStyles: (props?: ({
size?: "current" | "sm" | "md" | null | undefined;
size?: "current" | "sm" | "md" | "full" | null | undefined;
intent?: "current" | "main" | "support" | "accent" | "basic" | "success" | "alert" | "error" | "info" | "neutral" | null | undefined;

@@ -5,0 +5,0 @@ isBackgroundVisible?: boolean | null | undefined;

{
"name": "@spark-ui/spinner",
"version": "2.0.5",
"version": "2.1.0",
"description": "Spinners provide a visual cue that an action is processing awaiting a course of change or a result.",

@@ -35,3 +35,3 @@ "publishConfig": {

"license": "MIT",
"gitHead": "d3d5a985670e50f7e63d31d0b6ccdd5112366394"
"gitHead": "a0ed88f6a2b17b6c0d24d0d7d0255c64a2c5656c"
}

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