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

@kaakao-ui/styled-mixins

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaakao-ui/styled-mixins - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

20

dist/index.cjs.js

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

if (!Object.keys(m)) return undefined;
m.b = m.b && m.b !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(m.b)] : m.b;
m.l = m.l && m.l !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(m.l)] : m.l;
m.m = m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(m.m)] : m.m;
m.r = m.r && m.r !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(m.r)] : m.r;
m.t = m.t && m.t !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(m.t)] : m.t;
m.b = m.b && m.b !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(m.b)]) || m.b : '';
m.l = m.l && m.l !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(m.l)]) || m.l : '';
m.m = m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(m.m)]) || m.m : '';
m.r = m.r && m.r !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(m.r)]) || m.r : '';
m.t = m.t && m.t !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(m.t)]) || m.t : '';
return styledComponents.css(["margin:", ";margin-block-end:", ";margin-block-start:", ";margin-inline-end:", ";margin-inline-start:", ";@supports not (margin-block-end:1rem){margin-bottom:", ";margin-left:", ";margin-right:", ";margin-top:", ";}"], m.m, m.b, m.t, m.r, m.l, m.b, m.t, m.r, m.l);

@@ -38,7 +38,7 @@ }

if (!Object.keys(p)) return undefined;
p.b = p.b && p.b !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(p.b)] : p.b;
p.l = p.l && p.l !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(p.l)] : p.l;
p.m = p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(p.m)] : p.m;
p.r = p.r && p.r !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(p.r)] : p.r;
p.t = p.t && p.t !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(p.t)] : p.t;
p.b = p.b && p.b !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(p.b)]) || p.b : '';
p.l = p.l && p.l !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(p.l)]) || p.l : '';
p.m = p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(p.m)]) || p.m : '';
p.r = p.r && p.r !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(p.r)]) || p.r : '';
p.t = p.t && p.t !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(p.t)]) || p.t : '';
return styledComponents.css(["padding:", ";padding-block-end:", ";padding-block-start:", ";padding-inline-end:", ";padding-inline-start:", ";@supports not (padding-block-end:1rem){padding-bottom:", ";padding-left:", ";padding-right:", ";padding-top:", ";}"], p.m, p.b, p.t, p.r, p.l, p.b, p.t, p.r, p.l);

@@ -45,0 +45,0 @@ }

@@ -14,7 +14,7 @@ import { useTheme, css } from 'styled-components';

if (!Object.keys(m)) return undefined;
m.b = m.b && m.b !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(m.b)] : m.b;
m.l = m.l && m.l !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(m.l)] : m.l;
m.m = m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(m.m)] : m.m;
m.r = m.r && m.r !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(m.r)] : m.r;
m.t = m.t && m.t !== m.m ? theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(m.t)] : m.t;
m.b = m.b && m.b !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(m.b)]) || m.b : '';
m.l = m.l && m.l !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(m.l)]) || m.l : '';
m.m = m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(m.m)]) || m.m : '';
m.r = m.r && m.r !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(m.r)]) || m.r : '';
m.t = m.t && m.t !== m.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(m.t)]) || m.t : '';
return css(["margin:", ";margin-block-end:", ";margin-block-start:", ";margin-inline-end:", ";margin-inline-start:", ";@supports not (margin-block-end:1rem){margin-bottom:", ";margin-left:", ";margin-right:", ";margin-top:", ";}"], m.m, m.b, m.t, m.r, m.l, m.b, m.t, m.r, m.l);

@@ -34,7 +34,7 @@ }

if (!Object.keys(p)) return undefined;
p.b = p.b && p.b !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(p.b)] : p.b;
p.l = p.l && p.l !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(p.l)] : p.l;
p.m = p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(p.m)] : p.m;
p.r = p.r && p.r !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(p.r)] : p.r;
p.t = p.t && p.t !== p.m ? theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(p.t)] : p.t;
p.b = p.b && p.b !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space = theme.space) === null || _theme$space === void 0 ? void 0 : _theme$space[Number(p.b)]) || p.b : '';
p.l = p.l && p.l !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space2 = theme.space) === null || _theme$space2 === void 0 ? void 0 : _theme$space2[Number(p.l)]) || p.l : '';
p.m = p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space3 = theme.space) === null || _theme$space3 === void 0 ? void 0 : _theme$space3[Number(p.m)]) || p.m : '';
p.r = p.r && p.r !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space4 = theme.space) === null || _theme$space4 === void 0 ? void 0 : _theme$space4[Number(p.r)]) || p.r : '';
p.t = p.t && p.t !== p.m ? (theme === null || theme === void 0 ? void 0 : (_theme$space5 = theme.space) === null || _theme$space5 === void 0 ? void 0 : _theme$space5[Number(p.t)]) || p.t : '';
return css(["padding:", ";padding-block-end:", ";padding-block-start:", ";padding-inline-end:", ";padding-inline-start:", ";@supports not (padding-block-end:1rem){padding-bottom:", ";padding-left:", ";padding-right:", ";padding-top:", ";}"], p.m, p.b, p.t, p.r, p.l, p.b, p.t, p.r, p.l);

@@ -41,0 +41,0 @@ }

import { FlattenSimpleInterpolation } from 'styled-components';
import { ISpace } from './Space.types';
declare function Space(props: ISpace): FlattenSimpleInterpolation | undefined;
declare function Space(props: ISpace): FlattenSimpleInterpolation;
export default Space;
{
"name": "@kaakao-ui/styled-mixins",
"version": "0.0.5",
"version": "0.0.6",
"description": "A framework-agnostic collection of Styled Components mixins for creating logical CSS styles with appropriate fallbacks.",

@@ -5,0 +5,0 @@ "license": "MIT",

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