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

@comparaonline/ui-fieldset

Package Overview
Dependencies
Maintainers
20
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comparaonline/ui-fieldset - npm Package Compare versions

Comparing version 0.0.30-alpha.0 to 0.0.31-alpha.0

dist/styles.d.ts

6

dist/Fieldset.d.ts
import React from 'react';
import { TypographyProps } from '@material-ui/core/Typography';
import { WithStyles, Theme } from '@material-ui/core/styles';
export declare const styles: (theme: Theme) => Record<"d1Title" | "d1SubTitle" | "d1Body", import("@material-ui/core/styles/withStyles").CSSProperties>;
import { WithStyles } from '@material-ui/core/styles';
import { styles } from './styles';
declare enum Variant {

@@ -19,3 +19,3 @@ d1 = "d1"

children?: React.ReactNode;
}, "children" | "title" | "variant" | "titleVariant" | "titleAlign" | "subtitle" | "subtitleVariant" | "subtitleAlign"> & import("@material-ui/core/styles").StyledComponentProps<"d1Title" | "d1SubTitle" | "d1Body">>;
}, "children" | "title" | "variant" | "titleVariant" | "titleAlign" | "subtitle" | "subtitleVariant" | "subtitleAlign"> & import("@material-ui/core/styles").StyledComponentProps<string>>;
export {};

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

module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.Fieldset=n.Fieldset},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(2),l=i.__importDefault(r(3)),o=i.__importDefault(r(4)),u=r(5);t.styles=function(e){return u.createStyles({d1Title:{fontSize:"1.5rem",fontWeight:600},d1SubTitle:{fontSize:"1em",marginTop:e.spacing.unit},d1Body:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",minHeight:15*e.spacing.unit,padding:e.spacing.unit}})},function(e){e.d1="d1"}(n||(n={}));var a=function(e){var t=e.children,r=e.titleVariant,n=e.titleAlign,i=e.title,u=e.subtitle,a=e.subtitleVariant,c=e.subtitleAlign,s=e.classes,f=e.variant;return l.default.createElement(l.default.Fragment,null,l.default.createElement("div",{className:s[f+"Body"]},l.default.createElement(o.default,{variant:r,align:n,color:"textPrimary",className:f?s[f+"Title"]:void 0},i),u&&l.default.createElement(o.default,{variant:a,align:c,color:"textPrimary",className:f?s[f+"SubTitle"]:void 0},u)),t)};a.defaultProps={titleVariant:"h4",titleAlign:"center",subtitleVariant:"body1",subtitleAlign:"center",variant:n.d1},t.Fieldset=u.withStyles(t.styles)(a)},function(e,t){e.exports=require("tslib")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@material-ui/core/Typography")},function(e,t){e.exports=require("@material-ui/core/styles")}]);
module.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(1);t.Fieldset=n.Fieldset},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(2),o=i.__importDefault(r(3)),l=i.__importDefault(r(4)),u=r(5),a=r(6);!function(e){e.d1="d1"}(n||(n={}));var c=function(e){var t=e.children,r=e.titleVariant,n=e.titleAlign,i=e.title,u=e.subtitle,a=e.subtitleVariant,c=e.subtitleAlign,s=e.classes,f=e.variant;return o.default.createElement(o.default.Fragment,null,o.default.createElement("div",{className:s[f+"Body"]},o.default.createElement(l.default,{variant:r,align:n,color:"textPrimary",className:f?s[f+"Title"]:void 0},i),u&&o.default.createElement(l.default,{variant:a,align:c,color:"textPrimary",className:f?s[f+"SubTitle"]:void 0},u)),t)};c.defaultProps={titleVariant:"h4",titleAlign:"center",subtitleVariant:"body1",subtitleAlign:"center",variant:n.d1},t.Fieldset=u.withStyles(a.styles)(c)},function(e,t){e.exports=require("tslib")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@material-ui/core/Typography")},function(e,t){e.exports=require("@material-ui/core/styles")},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.styles=function(e){var t;return{d1Title:(t={fontSize:e.typography.pxToRem(22),fontWeight:e.typography.fontWeightMedium},t[e.breakpoints.up("sm")]={fontSize:e.typography.pxToRem(26)},t),d1SubTitle:{fontSize:e.typography.pxToRem(16),marginTop:e.spacing.unit},d1Body:{boxSizing:"border-box",display:"flex",flexDirection:"column",justifyContent:"center",minHeight:15*e.spacing.unit,marginBottom:2*e.spacing.unit}}}}]);
//# sourceMappingURL=ui-fieldset.js.map
{
"name": "@comparaonline/ui-fieldset",
"version": "0.0.30-alpha.0",
"version": "0.0.31-alpha.0",
"main": "dist/ui-fieldset.js",

@@ -46,3 +46,3 @@ "types": "dist/index.d.ts",

},
"gitHead": "98e37eba20e410c8fced71392498237963ad04ec"
"gitHead": "5cae9de71d2971d19e06a293d2b82dcfcd365fa4"
}

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