Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

paku

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.12 to 0.0.13

6

lib/components/button/button.js

@@ -8,10 +8,6 @@ "use strict";

const button_styles_1 = require("./button.styles");
const fse = require('file-system');
const path = require('path');
const path1 = path.join(__dirname, 'button.styles.tsx');
const fscheck = fse.existsSync(path1);
const Button = ({ customStyle, children, ...props }) => {
return (react_1.default.createElement(button_styles_1.ButtonBase, Object.assign({ customStyle: customStyle }, props), path1 + String(fscheck)));
return (react_1.default.createElement(button_styles_1.ButtonBase, Object.assign({ customStyle: customStyle }, props), children));
};
exports.default = Button;
//# sourceMappingURL=button.js.map

7

lib/components/button/button.styles.js

@@ -5,2 +5,3 @@ "use strict";

};
var _a;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -21,10 +22,10 @@ const styled_1 = __importDefault(require("@emotion/styled"));

boxShadow: '0 0 0 1px #3498db',
...theme_1.default.button['&:hover'],
...((theme_1.default === null || theme_1.default === void 0 ? void 0 : theme_1.default.button) && (theme_1.default === null || theme_1.default === void 0 ? void 0 : theme_1.default.button['&:hover'])),
},
i: {
color: '#000',
...theme_1.default.button.i,
...(_a = theme_1.default === null || theme_1.default === void 0 ? void 0 : theme_1.default.button) === null || _a === void 0 ? void 0 : _a.i,
},
...theme_1.default.button,
...theme_1.default === null || theme_1.default === void 0 ? void 0 : theme_1.default.button,
}, ({ customStyle }) => ({ ...customStyle }));
//# sourceMappingURL=button.styles.js.map
/// <reference types="react" />
import { TObjectStyles } from '../../theme/theme.types';
export interface IButton extends React.HTMLAttributes<HTMLButtonElement> {
customStyle?: TObjectStyles;
customStyle?: any;
}
export interface IButtonBase {
customStyle?: TObjectStyles;
customStyle?: any;
as?: React.ElementType;
}

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

import { ITheme } from './theme.types';
declare const theme: ITheme;
declare const theme: any;
export default theme;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const theme = {
button: {},
};
const fs = require('fs');
const path = require('path');
let customTheme = {};
try {
if (fs.existsSync(path.join(__dirname, '../../../../paku.config.js'))) {
customTheme = require('../../../../paku.config.js').theme;
}
}
catch (err) {
console.warn(err);
}
const theme = customTheme;
exports.default = theme;
//# sourceMappingURL=theme.js.map
{
"name": "paku",
"version": "0.0.12",
"version": "0.0.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc