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.1.1 to 0.1.2

6

cjs/index.js

@@ -733,2 +733,6 @@ "use strict"

})
const fontSmoothing = style({
propsKeys: ["fontSmoothing", "fsm"],
styleKeys: ["WebkitFontSmoothing"]
})
const fontStyle = style({

@@ -773,2 +777,3 @@ propsKeys: ["fontStyle", "fst"]

fontSize,
fontSmoothing,
fontStyle,

@@ -890,2 +895,3 @@ fontWeight,

exports.fontSize = fontSize
exports.fontSmoothing = fontSmoothing
exports.fontStyle = fontStyle

@@ -892,0 +898,0 @@ exports.fontWeight = fontWeight

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

})
const fontSmoothing = style({
propsKeys: ["fontSmoothing", "fsm"],
styleKeys: ["WebkitFontSmoothing"]
})
const fontStyle = style({

@@ -769,2 +773,3 @@ propsKeys: ["fontStyle", "fst"]

fontSize,
fontSmoothing,
fontStyle,

@@ -887,2 +892,3 @@ fontWeight,

fontSize,
fontSmoothing,
fontStyle,

@@ -889,0 +895,0 @@ fontWeight,

4

package.json
{
"name": "onno",
"license": "MIT",
"version": "0.1.1",
"version": "0.1.2",
"description": "Responsive style props for building themed design systems",

@@ -33,3 +33,3 @@ "homepage": "https://github.com/wagerfield/onno/tree/master/packages/onno#readme",

},
"gitHead": "4676df533538c17c1d8b05f61177f586fa004878"
"gitHead": "5f2759828c790ef6ff9eb09a6c8587f80a5ba528"
}

@@ -27,2 +27,20 @@ import * as C from "csstype"

export declare const fontSize: T.RenderFunction<FontSizeProps, FontSizeStyle>
export declare type FontSmoothingValue =
| C.Globals
| "auto"
| "none"
| "antialiased"
| "subpixel-antialiased"
export declare type FontSmoothingProp = T.Prop<FontSmoothingValue>
export interface FontSmoothingProps extends T.ThemeProps {
fontSmoothing?: FontSmoothingProp
fsm?: FontSmoothingProp
}
export interface FontSmoothingStyle extends T.Style {
WebkitFontSmoothing?: FontSmoothingValue
}
export declare const fontSmoothing: T.RenderFunction<
FontSmoothingProps,
FontSmoothingStyle
>
export declare type FontStyleValue = C.FontStyleProperty

@@ -117,2 +135,3 @@ export declare type FontStyleProp = T.Prop<FontStyleValue>

FontSizeProps &
FontSmoothingProps &
FontStyleProps &

@@ -128,2 +147,3 @@ FontWeightProps &

FontSizeStyle &
FontSmoothingStyle &
FontStyleStyle &

@@ -130,0 +150,0 @@ FontWeightStyle &

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