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

@potok/forms

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@potok/forms - npm Package Compare versions

Comparing version 0.0.27 to 0.0.28

2

components/Checkbox/styled/index.js

@@ -87,3 +87,3 @@ import styled, { css } from 'styled-components';

color: ${ifProp('checked', colors.N900, colors.N600)};
padding-left: 20px;
padding-left: 10px;
`,

@@ -90,0 +90,0 @@ })};

@@ -20,2 +20,4 @@ // @flow

onChange: (e: SyntheticInputEvent<HTMLInputElement>) => void,
/** SC Wrapper className */
className?: string,
};

@@ -33,6 +35,14 @@

render() {
const { name, checked, label, value, disabled, onChange } = this.props;
const {
name,
checked,
label,
value,
disabled,
onChange,
className,
} = this.props;
return (
<Container checked={checked} disabled={disabled}>
<Container checked={checked} disabled={disabled} className={className}>
<span>

@@ -39,0 +49,0 @@ <Input

@@ -39,3 +39,3 @@ import styled, { css } from 'styled-components';

position: absolute;
top: 4px;
top: 6px;
left: 4px;

@@ -55,8 +55,8 @@ width: 6px;

[themeDevices.desktop]: css`
width: 16px;
height: 16px;
width: 18px;
height: 18px;
&:after {
top: 4px;
left: 4px;
top: 5px;
left: 5px;
}

@@ -78,3 +78,3 @@ `,

margin-left: 8px;
font-weight: 300;
font-weight: 500;
font-size: 14px;

@@ -84,2 +84,7 @@ cursor: ${cursor};

${switchProp('theme.device', {
[themeDevices.desktop]: css`
margin-left: 8px;
line-height: 18px;
color: ${ifProp('checked', colors.N900, colors.N600)};
`,
[themeDevices.mobile]: css`

@@ -86,0 +91,0 @@ margin-left: 20px;

{
"name": "@potok/forms",
"version": "0.0.27",
"version": "0.0.28",
"description": "Potok.io UI Kit Form Components",

@@ -5,0 +5,0 @@ "main": "./components/index.js",

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