Socket
Socket
Sign inDemoInstall

@vanilla-extract/recipes

Package Overview
Dependencies
Maintainers
4
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vanilla-extract/recipes - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.cjs.d.ts.map

5

createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.cjs.d.ts
import { ComplexStyleRule } from '@vanilla-extract/css';
type Resolve<T> = {
[Key in keyof T]: T[Key];
} & {};
type RecipeStyleRule = ComplexStyleRule | string;

@@ -25,3 +28,3 @@ type VariantDefinitions = Record<string, RecipeStyleRule>;

};
type RuntimeFn<Variants extends VariantGroups> = ((options?: VariantSelection<Variants>) => string) & {
type RuntimeFn<Variants extends VariantGroups> = ((options?: Resolve<VariantSelection<Variants>>) => string) & {
variants: () => (keyof Variants)[];

@@ -28,0 +31,0 @@ classNames: RecipeClassNames<Variants>;

2

createRuntimeFn/dist/vanilla-extract-recipes-createRuntimeFn.cjs.dev.js

@@ -5,3 +5,3 @@ 'use strict';

var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('../../dist/createRuntimeFn-ccd358b3.cjs.dev.js');
var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('../../dist/createRuntimeFn-2f250aaf.cjs.dev.js');

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

@@ -5,3 +5,3 @@ 'use strict';

var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('../../dist/createRuntimeFn-eea83d16.cjs.prod.js');
var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('../../dist/createRuntimeFn-166334d7.cjs.prod.js');

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

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

export { c as createRuntimeFn } from '../../dist/createRuntimeFn-f8e161c6.esm.js';
export { c as createRuntimeFn } from '../../dist/createRuntimeFn-62c9670f.esm.js';

@@ -32,3 +32,3 @@ import { ComplexStyleRule } from '@vanilla-extract/css';

};
type RuntimeFn<Variants extends VariantGroups> = ((options?: VariantSelection<Variants>) => string) & {
type RuntimeFn<Variants extends VariantGroups> = ((options?: Resolve<VariantSelection<Variants>>) => string) & {
variants: () => (keyof Variants)[];

@@ -35,0 +35,0 @@ classNames: RecipeClassNames<Variants>;

@@ -7,3 +7,3 @@ 'use strict';

var css = require('@vanilla-extract/css');
var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('./createRuntimeFn-ccd358b3.cjs.dev.js');
var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('./createRuntimeFn-2f250aaf.cjs.dev.js');

@@ -10,0 +10,0 @@ function recipe(options, debugId) {

@@ -7,3 +7,3 @@ 'use strict';

var css = require('@vanilla-extract/css');
var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('./createRuntimeFn-eea83d16.cjs.prod.js');
var createRuntimeFn_dist_vanillaExtractRecipesCreateRuntimeFn = require('./createRuntimeFn-166334d7.cjs.prod.js');

@@ -10,0 +10,0 @@ function recipe(options, debugId) {

import { addRecipe } from '@vanilla-extract/css/recipe';
import { style, styleVariants } from '@vanilla-extract/css';
import { m as mapValues, c as createRuntimeFn } from './createRuntimeFn-f8e161c6.esm.js';
import { m as mapValues, c as createRuntimeFn } from './createRuntimeFn-62c9670f.esm.js';

@@ -5,0 +5,0 @@ function recipe(options, debugId) {

{
"name": "@vanilla-extract/recipes",
"version": "0.5.1",
"version": "0.5.2",
"description": "Create multi-variant styles with a type-safe runtime API, heavily inspired by https://stitches.dev",

@@ -5,0 +5,0 @@ "sideEffects": false,

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