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

@spark-ui/internal-utils

Package Overview
Dependencies
Maintainers
7
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-ui/internal-utils - npm Package Compare versions

Comparing version 1.4.0 to 1.5.0

6

CHANGELOG.md

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

# [1.5.0](https://github.com/adevinta/spark/compare/@spark-ui/internal-utils@1.4.0...@spark-ui/internal-utils@1.5.0) (2023-04-19)
### Features
- **internal-utils:** add current values and make variants partial ([5b1eb81](https://github.com/adevinta/spark/commit/5b1eb817fcbf1f05143e919fb4d37864828c257c))
# [1.4.0](https://github.com/adevinta/spark/compare/@spark-ui/internal-utils@1.3.0...@spark-ui/internal-utils@1.4.0) (2023-04-06)

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

2

dist/index.js

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

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),r=Object.freeze(Object.defineProperty({__proto__:null,designs:["filled","outlined","tinted","ghost","contrast"],intents:["primary","secondary","success","error","info","alert","danger","neutral","surface"],shapes:["rounded","square","pill"],sizes:["sm","md","lg"]},Symbol.toStringTag,{value:"Module"}));exports.VariantTypes=t,exports.makeVariants=function(e){return e},exports.tw=function(e){return e},exports.variantConstants=r;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),r=Object.freeze(Object.defineProperty({__proto__:null,designs:["filled","outlined","tinted","ghost","contrast"],intents:["current","primary","secondary","success","error","info","alert","danger","neutral","surface"],shapes:["rounded","square","pill"],sizes:["current","sm","md","lg"]},Symbol.toStringTag,{value:"Module"}));exports.VariantTypes=t,exports.makeVariants=function(e){return e},exports.tw=function(e){return e},exports.variantConstants=r;

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

declare const sizes: readonly ["sm", "md", "lg"];
declare const intents: readonly ["primary", "secondary", "success", "error", "info", "alert", "danger", "neutral", "surface"];
declare const sizes: readonly ["current", "sm", "md", "lg"];
declare const intents: readonly ["current", "primary", "secondary", "success", "error", "info", "alert", "danger", "neutral", "surface"];
declare const designs: readonly ["filled", "outlined", "tinted", "ghost", "contrast"];
declare const shapes: readonly ["rounded", "square", "pill"];
export { sizes, intents, designs, shapes };

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

import { Picks, VariantLookup } from './types';
declare function makeVariants<Variant extends 'design' | 'intent' | 'shape' | 'size', P extends (keyof VariantLookup[Variant])[] = []>(variants: P extends [] ? VariantLookup[Variant] : Picks<VariantLookup[Variant], P>): P extends [] ? VariantLookup[Variant] : Picks<VariantLookup[Variant], P>;
import { VariantLookup } from './types';
declare function makeVariants<Variant extends 'design' | 'intent' | 'shape' | 'size'>(variants: Partial<VariantLookup[Variant]>): Partial<VariantLookup[Variant]>;
export { makeVariants };
{
"name": "@spark-ui/internal-utils",
"version": "1.4.0",
"version": "1.5.0",
"description": "package for sharing reusable code and resources across the codebase",

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

},
"gitHead": "a5a87741408264a57672bf562f14b97a3a63582a"
"gitHead": "ad5cc14d188d9e9319f7782cd1a454bd926f0a67"
}

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