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

@maker-ui/primitives

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maker-ui/primitives - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

12

dist/index.d.ts

@@ -80,14 +80,2 @@ /// <reference types="react" />

/**
* Alias for `Form` component props that includes all
* HTML form tag attributes.
*/
export interface FormProps extends MakerProps, React.HTMLAttributes<HTMLFormElement> {
}
/**
* A form that supports responsive css values and the breakpoints prop.
*
* @link https://maker-ui.com/docs/primitives/
*/
export declare const Form: import("react").ForwardRefExoticComponent<FormProps & import("react").RefAttributes<HTMLFormElement>>;
/**
* Alias for `Span` component props that includes all

@@ -94,0 +82,0 @@ * HTML span tag attributes.

@@ -147,14 +147,2 @@ 'use strict';

/**
* A form that supports responsive css values and the breakpoints prop.
*
* @link https://maker-ui.com/docs/primitives/
*/
var Form = /*#__PURE__*/react.forwardRef(function (props, ref) {
return css.jsx("form", _extends({
ref: ref
}, props));
});
Form.displayName = 'Form';
/**
* A span that supports responsive css values and the breakpoints prop.

@@ -375,3 +363,2 @@ *

exports.Flex = Flex;
exports.Form = Form;
exports.Grid = Grid;

@@ -378,0 +365,0 @@ exports.H1 = H1;

2

dist/primitives.cjs.production.min.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@maker-ui/css"),e=require("react");function a(){return(a=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(r[n]=a[n])}return r}).apply(this,arguments)}function n(r,e){if(null==r)return{};var a,n,t={},s=Object.keys(r);for(n=0;n<s.length;n++)e.indexOf(a=s[n])>=0||(t[a]=r[a]);return t}var t=["inline","align","justify","column","flex","wrap","css"],s=["columns","rows","gap","areas","center","css"],i=["children"],f=["src","alt"],o=["children"],l=["children"],d=["children"],p=["children"],u=["children"],c=["children"],x=["children"],v=e.forwardRef((function(e,n){return r.jsx("div",a({ref:n},e))}));v.displayName="Div";var m=e.forwardRef((function(e,s){var i=e.inline,f=e.align,o=e.justify,l=e.column,d=e.flex,p=e.wrap,u=e.css,c=n(e,t);return r.jsx("div",a({ref:s,css:a({display:i?"inline-flex":"flex",alignItems:f,justifyContent:o,flexDirection:l?"column":void 0,flexWrap:p?"wrap":void 0,flex:d},u)},c))}));m.displayName="Flex";var w=e.forwardRef((function(e,t){var i=e.columns,f=e.rows,o=e.gap,l=e.areas,d=e.center,p=e.css,u=n(e,s);return r.jsx("div",a({ref:t,css:a({display:"grid",gridTemplateColumns:i,gridTemplateRows:f,gridTemplateAreas:l,gap:o,placeItems:d?"center":void 0},p)},u))}));w.displayName="Grid";var y=e.forwardRef((function(e,n){return r.jsx("table",a({ref:n},e))}));y.displayName="Table";var h=e.forwardRef((function(e,n){return r.jsx("form",a({ref:n},e))}));h.displayName="Form";var j=e.forwardRef((function(e,n){return r.jsx("span",a({ref:n},e))}));j.displayName="Span";var R=e.forwardRef((function(e,n){return r.jsx("ol",a({ref:n},e))}));R.displayName="OList";var g=e.forwardRef((function(e,n){return r.jsx("ul",a({ref:n},e))}));g.displayName="UList";var N=e.forwardRef((function(e,n){return r.jsx("li",a({ref:n},e))}));N.displayName="ListItem";var H=e.forwardRef((function(e,n){return r.jsx("svg",a({ref:n,xmlns:"http://www.w3.org/2000/svg"},e))}));H.displayName="SVG";var L=e.forwardRef((function(e,n){return r.jsx("button",a({ref:n},e))}));L.displayName="Button";var O=e.forwardRef((function(e,t){var s=e.children,f=n(e,i);return r.jsx("a",a({ref:t},f),s)}));O.displayName="Link";var b=e.forwardRef((function(e,t){var s=e.src,i=e.alt,o=n(e,f);return r.jsx("img",a({ref:t,alt:i,src:s},o))}));b.displayName="Image";var I=e.forwardRef((function(e,t){var s=e.children,i=n(e,o);return r.jsx("p",a({ref:t},i),s)}));I.displayName="P";var T=e.forwardRef((function(e,t){var s=e.children,i=n(e,l);return r.jsx("h1",a({ref:t},i),s)}));T.displayName="H1";var k=e.forwardRef((function(e,t){var s=e.children,i=n(e,d);return r.jsx("h2",a({ref:t},i),s)}));k.displayName="H2";var F=e.forwardRef((function(e,t){var s=e.children,i=n(e,p);return r.jsx("h3",a({ref:t},i),s)}));F.displayName="H3";var G=e.forwardRef((function(e,t){var s=e.children,i=n(e,u);return r.jsx("h4",a({ref:t},i),s)}));G.displayName="H4";var P=e.forwardRef((function(e,t){var s=e.children,i=n(e,c);return r.jsx("h5",a({ref:t},i),s)}));P.displayName="H5";var S=e.forwardRef((function(e,t){var s=e.children,i=n(e,x);return r.jsx("h6",a({ref:t},i),s)}));S.displayName="H6",exports.A=O,exports.Button=L,exports.Div=v,exports.Flex=m,exports.Form=h,exports.Grid=w,exports.H1=T,exports.H2=k,exports.H3=F,exports.H4=G,exports.H5=P,exports.H6=S,exports.Image=b,exports.Img=b,exports.Li=N,exports.Link=O,exports.ListItem=N,exports.OList=R,exports.Ol=R,exports.P=I,exports.SVG=H,exports.Span=j,exports.Table=y,exports.UList=g,exports.Ul=g;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("@maker-ui/css"),e=require("react");function a(){return(a=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(r[n]=a[n])}return r}).apply(this,arguments)}function n(r,e){if(null==r)return{};var a,n,t={},s=Object.keys(r);for(n=0;n<s.length;n++)e.indexOf(a=s[n])>=0||(t[a]=r[a]);return t}var t=["inline","align","justify","column","flex","wrap","css"],s=["columns","rows","gap","areas","center","css"],i=["children"],f=["src","alt"],o=["children"],l=["children"],d=["children"],p=["children"],c=["children"],u=["children"],x=["children"],v=e.forwardRef((function(e,n){return r.jsx("div",a({ref:n},e))}));v.displayName="Div";var m=e.forwardRef((function(e,s){var i=e.inline,f=e.align,o=e.justify,l=e.column,d=e.flex,p=e.wrap,c=e.css,u=n(e,t);return r.jsx("div",a({ref:s,css:a({display:i?"inline-flex":"flex",alignItems:f,justifyContent:o,flexDirection:l?"column":void 0,flexWrap:p?"wrap":void 0,flex:d},c)},u))}));m.displayName="Flex";var w=e.forwardRef((function(e,t){var i=e.columns,f=e.rows,o=e.gap,l=e.areas,d=e.center,p=e.css,c=n(e,s);return r.jsx("div",a({ref:t,css:a({display:"grid",gridTemplateColumns:i,gridTemplateRows:f,gridTemplateAreas:l,gap:o,placeItems:d?"center":void 0},p)},c))}));w.displayName="Grid";var y=e.forwardRef((function(e,n){return r.jsx("table",a({ref:n},e))}));y.displayName="Table";var h=e.forwardRef((function(e,n){return r.jsx("span",a({ref:n},e))}));h.displayName="Span";var j=e.forwardRef((function(e,n){return r.jsx("ol",a({ref:n},e))}));j.displayName="OList";var g=e.forwardRef((function(e,n){return r.jsx("ul",a({ref:n},e))}));g.displayName="UList";var R=e.forwardRef((function(e,n){return r.jsx("li",a({ref:n},e))}));R.displayName="ListItem";var N=e.forwardRef((function(e,n){return r.jsx("svg",a({ref:n,xmlns:"http://www.w3.org/2000/svg"},e))}));N.displayName="SVG";var H=e.forwardRef((function(e,n){return r.jsx("button",a({ref:n},e))}));H.displayName="Button";var L=e.forwardRef((function(e,t){var s=e.children,f=n(e,i);return r.jsx("a",a({ref:t},f),s)}));L.displayName="Link";var O=e.forwardRef((function(e,t){var s=e.src,i=e.alt,o=n(e,f);return r.jsx("img",a({ref:t,alt:i,src:s},o))}));O.displayName="Image";var b=e.forwardRef((function(e,t){var s=e.children,i=n(e,o);return r.jsx("p",a({ref:t},i),s)}));b.displayName="P";var I=e.forwardRef((function(e,t){var s=e.children,i=n(e,l);return r.jsx("h1",a({ref:t},i),s)}));I.displayName="H1";var T=e.forwardRef((function(e,t){var s=e.children,i=n(e,d);return r.jsx("h2",a({ref:t},i),s)}));T.displayName="H2";var k=e.forwardRef((function(e,t){var s=e.children,i=n(e,p);return r.jsx("h3",a({ref:t},i),s)}));k.displayName="H3";var G=e.forwardRef((function(e,t){var s=e.children,i=n(e,c);return r.jsx("h4",a({ref:t},i),s)}));G.displayName="H4";var P=e.forwardRef((function(e,t){var s=e.children,i=n(e,u);return r.jsx("h5",a({ref:t},i),s)}));P.displayName="H5";var S=e.forwardRef((function(e,t){var s=e.children,i=n(e,x);return r.jsx("h6",a({ref:t},i),s)}));S.displayName="H6",exports.A=L,exports.Button=H,exports.Div=v,exports.Flex=m,exports.Grid=w,exports.H1=I,exports.H2=T,exports.H3=k,exports.H4=G,exports.H5=P,exports.H6=S,exports.Image=O,exports.Img=O,exports.Li=R,exports.Link=L,exports.ListItem=R,exports.OList=j,exports.Ol=j,exports.P=b,exports.SVG=N,exports.Span=h,exports.Table=y,exports.UList=g,exports.Ul=g;
//# sourceMappingURL=primitives.cjs.production.min.js.map

@@ -143,14 +143,2 @@ import { jsx } from '@maker-ui/css';

/**
* A form that supports responsive css values and the breakpoints prop.
*
* @link https://maker-ui.com/docs/primitives/
*/
var Form = /*#__PURE__*/forwardRef(function (props, ref) {
return jsx("form", _extends({
ref: ref
}, props));
});
Form.displayName = 'Form';
/**
* A span that supports responsive css values and the breakpoints prop.

@@ -367,3 +355,3 @@ *

export { Link as A, Button, Div, Flex, Form, Grid, H1, H2, H3, H4, H5, H6, Image, Image as Img, ListItem as Li, Link, ListItem, OList, OList as Ol, P, SVG, Span, Table, UList, UList as Ul };
export { Link as A, Button, Div, Flex, Grid, H1, H2, H3, H4, H5, H6, Image, Image as Img, ListItem as Li, Link, ListItem, OList, OList as Ol, P, SVG, Span, Table, UList, UList as Ul };
//# sourceMappingURL=primitives.esm.js.map
{
"name": "@maker-ui/primitives",
"version": "1.0.1",
"version": "1.0.2",
"author": "Mike Darche <mike@newcreative.io>",

@@ -17,3 +17,3 @@ "license": "Apache-2.0",

"dependencies": {
"@maker-ui/css": "1.0.1",
"@maker-ui/css": "1.0.2",
"csstype": "^3.0.6"

@@ -20,0 +20,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