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.9-alpha.0 to 0.0.10-alpha.0

17

dist/Fieldset.d.ts
import React from 'react';
import { TypographyProps } from '@material-ui/core/Typography';
export interface FieldsetProps {
title: TypographyProps['children'];
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>;
declare enum Variant {
d1 = "d1"
}
export interface FieldsetProps extends WithStyles<typeof styles> {
title?: TypographyProps['children'];
subtitle?: TypographyProps['children'];

@@ -10,5 +15,7 @@ titleAlign?: TypographyProps['align'];

subtitleVariant?: TypographyProps['variant'];
htmlProps?: React.HTMLProps<HTMLDivElement>;
variant?: Variant;
}
declare const Fieldset: React.SFC<FieldsetProps>;
export { Fieldset };
export declare const Fieldset: React.ComponentType<Pick<FieldsetProps & {
children?: React.ReactNode;
}, "children" | "title" | "variant" | "titleVariant" | "titleAlign" | "subtitle" | "subtitleVariant" | "subtitleAlign"> & import("@material-ui/core/styles").StyledComponentProps<"d1Title" | "d1SubTitle" | "d1Body">>;
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=r(2),i=n.__importDefault(r(3)),u=n.__importDefault(r(4)),o=function(e){var t=e.children,r=e.title,o=e.titleVariant,l=e.titleAlign,a=e.subtitle,f=e.subtitleVariant,c=e.subtitleAlign,s=e.htmlProps;return i.default.createElement("div",n.__assign({},s),i.default.createElement(u.default,{variant:o,gutterBottom:!0,align:l},r),a&&i.default.createElement(u.default,{variant:f,gutterBottom:!0,align:c},a),t)};t.Fieldset=o,o.defaultProps={titleVariant:"h4",titleAlign:"center",subtitleVariant:"body1",subtitleAlign:"center"}},function(e,t){e.exports=require("tslib")},function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@material-ui/core/Typography")}]);
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")}]);
//# sourceMappingURL=ui-fieldset.js.map
{
"name": "@comparaonline/ui-fieldset",
"version": "0.0.9-alpha.0",
"version": "0.0.10-alpha.0",
"main": "dist/ui-fieldset.js",

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

},
"gitHead": "1de70f237267288d064e268450c19b6ac35973d7"
"gitHead": "45cf20e8a48bb8282bc56b9017a9b2399ff563c0"
}

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