Socket
Socket
Sign inDemoInstall

@bedrock-layout/css-reset

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock-layout/css-reset - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/index.js

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

var n=require("styled-components");function t(n,t){return t||(t=n.slice(0)),n.raw=t,n}function i(){var n=t(["\n ","\n"]);return i=function(){return n},n}function o(){var n=t(["\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n ul[class],\n ol[class] {\n padding: 0;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n p,\n ul[class],\n ol[class],\n li,\n figure,\n figcaption,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n body {\n min-height: 100vh;\n scroll-behavior: smooth;\n text-rendering: optimizeSpeed;\n line-height: 1.5;\n font-size: 100%;\n }\n\n ul[class],\n ol[class] {\n list-style: none;\n }\n\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n img {\n max-width: 100%;\n display: block;\n }\n\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n @media (prefers-reduced-motion: reduce) {\n * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n li,\n figcaption {\n max-width: 60ch;\n }\n\n .js-focus-visible :focus:not(.focus-visible) {\n outline: none;\n }\n"]);return o=function(){return n},n}var e=n.css(o()),r=n.createGlobalStyle(i(),e);exports.GlobalStyles=r,exports.reset=e;
var n=require("styled-components");function i(n,i){return i||(i=n.slice(0)),n.raw=i,n}function t(){var n=i(["\n ","\n"]);return t=function(){return n},n}function e(){var n=i(["\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n ul[class],\n ol[class] {\n padding: 0;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n p,\n ul[class],\n ol[class],\n li,\n figure,\n figcaption,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n body {\n min-height: 100vh;\n min-block-size: 100vh;\n scroll-behavior: smooth;\n text-rendering: optimizeSpeed;\n line-height: 1.5;\n font-size: 100%;\n }\n\n ul[class],\n ol[class] {\n list-style: none;\n }\n\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n img {\n max-width: 100%;\n max-inline-size: 100%;\n display: block;\n }\n\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n @media (prefers-reduced-motion: reduce) {\n * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n li,\n figcaption {\n max-width: 60ch;\n max-inline-size: 60ch;\n }\n\n .js-focus-visible :focus:not(.focus-visible) {\n outline: none;\n }\n"]);return e=function(){return n},n}var o=n.css(e()),r=n.createGlobalStyle(t(),o);exports.GlobalStyles=r,exports.reset=o;
//# sourceMappingURL=index.js.map

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

import{css as n,createGlobalStyle as t}from"styled-components";function i(n,t){return t||(t=n.slice(0)),n.raw=t,n}function o(){var n=i(["\n ","\n"]);return o=function(){return n},n}function e(){var n=i(["\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n ul[class],\n ol[class] {\n padding: 0;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n p,\n ul[class],\n ol[class],\n li,\n figure,\n figcaption,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n body {\n min-height: 100vh;\n scroll-behavior: smooth;\n text-rendering: optimizeSpeed;\n line-height: 1.5;\n font-size: 100%;\n }\n\n ul[class],\n ol[class] {\n list-style: none;\n }\n\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n img {\n max-width: 100%;\n display: block;\n }\n\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n @media (prefers-reduced-motion: reduce) {\n * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n li,\n figcaption {\n max-width: 60ch;\n }\n\n .js-focus-visible :focus:not(.focus-visible) {\n outline: none;\n }\n"]);return e=function(){return n},n}var r=n(e()),a=t(o(),r);export{a as GlobalStyles,r as reset};
import{css as n,createGlobalStyle as i}from"styled-components";function t(n,i){return i||(i=n.slice(0)),n.raw=i,n}function o(){var n=t(["\n ","\n"]);return o=function(){return n},n}function e(){var n=t(["\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n ul[class],\n ol[class] {\n padding: 0;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n p,\n ul[class],\n ol[class],\n li,\n figure,\n figcaption,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n body {\n min-height: 100vh;\n min-block-size: 100vh;\n scroll-behavior: smooth;\n text-rendering: optimizeSpeed;\n line-height: 1.5;\n font-size: 100%;\n }\n\n ul[class],\n ol[class] {\n list-style: none;\n }\n\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n img {\n max-width: 100%;\n max-inline-size: 100%;\n display: block;\n }\n\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n @media (prefers-reduced-motion: reduce) {\n * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n li,\n figcaption {\n max-width: 60ch;\n max-inline-size: 60ch;\n }\n\n .js-focus-visible :focus:not(.focus-visible) {\n outline: none;\n }\n"]);return e=function(){return n},n}var r=n(e()),a=i(o(),r);export{a as GlobalStyles,r as reset};
//# sourceMappingURL=index.m.js.map

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

import{css as o,createGlobalStyle as t}from"styled-components";let i,e,n=o=>o;const s=o(i||(i=n`
import{css as i,createGlobalStyle as o}from"styled-components";let t,e,n=i=>i;const s=i(t||(t=n`
*,

@@ -32,2 +32,3 @@ *::before,

min-height: 100vh;
min-block-size: 100vh;
scroll-behavior: smooth;

@@ -50,2 +51,3 @@ text-rendering: optimizeSpeed;

max-width: 100%;
max-inline-size: 100%;
display: block;

@@ -80,2 +82,3 @@ }

max-width: 60ch;
max-inline-size: 60ch;
}

@@ -86,5 +89,5 @@

}
`)),a=t(e||(e=n`
`)),a=o(e||(e=n`
${0}
`),s);export{a as GlobalStyles,s as reset};
//# sourceMappingURL=index.modern.js.map

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

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("styled-components")):"function"==typeof define&&define.amd?define(["exports","styled-components"],t):t((n=n||self).cssReset={},n.styledComponents)}(this,function(n,t){function e(n,t){return t||(t=n.slice(0)),n.raw=t,n}function o(){var n=e(["\n ","\n"]);return o=function(){return n},n}function i(){var n=e(["\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n ul[class],\n ol[class] {\n padding: 0;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n p,\n ul[class],\n ol[class],\n li,\n figure,\n figcaption,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n body {\n min-height: 100vh;\n scroll-behavior: smooth;\n text-rendering: optimizeSpeed;\n line-height: 1.5;\n font-size: 100%;\n }\n\n ul[class],\n ol[class] {\n list-style: none;\n }\n\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n img {\n max-width: 100%;\n display: block;\n }\n\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n @media (prefers-reduced-motion: reduce) {\n * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n li,\n figcaption {\n max-width: 60ch;\n }\n\n .js-focus-visible :focus:not(.focus-visible) {\n outline: none;\n }\n"]);return i=function(){return n},n}var s=t.css(i()),r=t.createGlobalStyle(o(),s);n.GlobalStyles=r,n.reset=s});
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("styled-components")):"function"==typeof define&&define.amd?define(["exports","styled-components"],e):e((n=n||self).cssReset={},n.styledComponents)}(this,function(n,e){function t(n,e){return e||(e=n.slice(0)),n.raw=e,n}function i(){var n=t(["\n ","\n"]);return i=function(){return n},n}function o(){var n=t(["\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n\n ul[class],\n ol[class] {\n padding: 0;\n }\n\n body,\n h1,\n h2,\n h3,\n h4,\n p,\n ul[class],\n ol[class],\n li,\n figure,\n figcaption,\n blockquote,\n dl,\n dd {\n margin: 0;\n }\n\n body {\n min-height: 100vh;\n min-block-size: 100vh;\n scroll-behavior: smooth;\n text-rendering: optimizeSpeed;\n line-height: 1.5;\n font-size: 100%;\n }\n\n ul[class],\n ol[class] {\n list-style: none;\n }\n\n a:not([class]) {\n text-decoration-skip-ink: auto;\n }\n\n img {\n max-width: 100%;\n max-inline-size: 100%;\n display: block;\n }\n\n input,\n button,\n textarea,\n select {\n font: inherit;\n }\n\n @media (prefers-reduced-motion: reduce) {\n * {\n animation-duration: 0.01ms !important;\n animation-iteration-count: 1 !important;\n transition-duration: 0.01ms !important;\n scroll-behavior: auto !important;\n }\n }\n\n p,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n li,\n figcaption {\n max-width: 60ch;\n max-inline-size: 60ch;\n }\n\n .js-focus-visible :focus:not(.focus-visible) {\n outline: none;\n }\n"]);return o=function(){return n},n}var s=e.css(o()),r=e.createGlobalStyle(i(),s);n.GlobalStyles=r,n.reset=s});
//# sourceMappingURL=index.umd.js.map
{
"name": "@bedrock-layout/css-reset",
"version": "1.0.3",
"version": "1.0.4",
"description": "bedrock-layout css reset",

@@ -54,3 +54,3 @@ "sideEffects": false,

},
"gitHead": "030d3891130b1b6831f2a57eb3ee3960b52fead0"
"gitHead": "cc6756259aadbdba7db78a59187a34215c33eb57"
}

@@ -5,2 +5,4 @@ # `@bedrock-layout/css-reset`

Full docs at: [bedrock-layout.dev](https://bedrock-layout.dev/)
## When to Use

@@ -7,0 +9,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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