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

onno

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onno - npm Package Compare versions

Comparing version 0.4.6 to 0.4.7

13

cjs/index.js

@@ -331,2 +331,5 @@ "use strict"

})
const fill = ex({
propsKeys: ["fill", "fc"]
})
const outlineColor = ex({

@@ -337,3 +340,10 @@ propsKeys: ["outlineColor", "olc"]

name: "color",
renderers: [background, backgroundColor, borderColor, color, outlineColor]
renderers: [
background,
backgroundColor,
borderColor,
color,
fill,
outlineColor
]
})

@@ -953,2 +963,3 @@

exports.extend = extend
exports.fill = fill
exports.filter = filter

@@ -955,0 +966,0 @@ exports.flex = flex

@@ -327,2 +327,5 @@ const PX_SCALE = [0, 2, 4, 8, 16, 32, 64, 128, 256, 512]

})
const fill = ex({
propsKeys: ["fill", "fc"]
})
const outlineColor = ex({

@@ -333,3 +336,10 @@ propsKeys: ["outlineColor", "olc"]

name: "color",
renderers: [background, backgroundColor, borderColor, color, outlineColor]
renderers: [
background,
backgroundColor,
borderColor,
color,
fill,
outlineColor
]
})

@@ -950,2 +960,3 @@

extend,
fill,
filter,

@@ -952,0 +963,0 @@ flex,

4

package.json
{
"name": "onno",
"license": "MIT",
"version": "0.4.6",
"version": "0.4.7",
"homepage": "https://onnojs.com",

@@ -33,3 +33,3 @@ "description": "Responsive style props for building themed design systems",

},
"gitHead": "a8c64efff232eaff9e6ec87ec63758263bc90319"
"gitHead": "89ef42b92731ae98e7e826a8afdc7faa4aeb464a"
}

@@ -52,2 +52,12 @@ import * as C from "csstype"

export declare const color: T.RenderFunction<ColorProps, ColorStyle>
export declare type FillValue = C.FillProperty
export declare type FillProp = T.Prop<FillValue>
export interface FillProps extends T.ThemeProps {
fill?: FillProp
fc?: FillProp
}
export interface FillStyle extends T.Style {
fill?: FillValue
}
export declare const fill: T.RenderFunction<FillProps, FillStyle>
export declare type OutlineColorValue = C.OutlineColorProperty

@@ -70,2 +80,3 @@ export declare type OutlineColorProp = T.Prop<OutlineColorValue | number>

ColorProps &
FillProps &
OutlineColorProps

@@ -76,2 +87,3 @@ export declare type ColorSetStyle = BackgroundStyle &

ColorStyle &
FillStyle &
OutlineColorStyle

@@ -78,0 +90,0 @@ export declare const colorSet: T.ComposedRenderFunction<

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