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

shira

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shira - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

lib/index.cjs.js

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react");function _interopDefaultLegacy(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var React__default=_interopDefaultLegacy(React),__assign=function(){return(__assign=Object.assign||function(t){for(var o,e=1,n=arguments.length;e<n;e++)for(var r in o=arguments[e])Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);return t}).apply(this,arguments)};function __rest(t,o){var e={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&o.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)o.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(e[r[n]]=t[r[n]]);return e}function styleInject(t,o){var e,n,o=(o=void 0===o?{}:o).insertAt;t&&"undefined"!=typeof document&&(e=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css","top"===o&&e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)))}var css_248z='.index-module_storybookButton__1WDkY {\n font-family: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-weight: 700;\n border: 0;\n border-radius: 3em;\n cursor: pointer;\n display: inline-block;\n line-height: 1;\n}\n\n.index-module_storybookButtonPrimary__thpoG {\n color: white;\n background-color: #fd1e8e;\n}\n\n.index-module_storybookButtonSecondary__F-HDz {\n color: #333;\n background-color: transparent;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;\n}\n\n.index-module_storybookButtonSmall__4rGEM {\n font-size: 12px;\n padding: 10px 16px;\n}\n\n.index-module_storybookButtonMedium__1VD7c {\n font-size: 14px;\n padding: 11px 20px;\n}\n\n.index-module_storybookButtonLarge__CaF-c {\n font-size: 16px;\n padding: 12px 24px;\n}',style={storybookButton:"index-module_storybookButton__1WDkY",storybookButtonPrimary:"index-module_storybookButtonPrimary__thpoG",storybookButtonSecondary:"index-module_storybookButtonSecondary__F-HDz",storybookButtonSmall:"index-module_storybookButtonSmall__4rGEM",storybookButtonMedium:"index-module_storybookButtonMedium__1VD7c",storybookButtonLarge:"index-module_storybookButtonLarge__CaF-c"},Button=(styleInject(css_248z),function(t){var o=t.primary,o=void 0!==o&&o,e=t.size,e=void 0===e?"Medium":e,n=t.backgroundColor,r=t.label,t=__rest(t,["primary","size","backgroundColor","label"]),o=o?style.storybookButtonPrimary:style.storybookButtonSecondary;return React__default.default.createElement("button",__assign({type:"button",className:"".concat(style.storybookButton," ").concat(style["storybookButton".concat(e)]," ").concat(o),style:{backgroundColor:n}},t),r)}),shira={Button:Button};exports.Button=Button,exports.default=shira;
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var React=require("react");function _interopDefaultLegacy(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var React__default=_interopDefaultLegacy(React),__assign=function(){return(__assign=Object.assign||function(t){for(var o,e=1,n=arguments.length;e<n;e++)for(var r in o=arguments[e])Object.prototype.hasOwnProperty.call(o,r)&&(t[r]=o[r]);return t}).apply(this,arguments)};function __rest(t,o){var e={};for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&o.indexOf(r)<0&&(e[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(t);n<r.length;n++)o.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(t,r[n])&&(e[r[n]]=t[r[n]]);return e}var e=function(t){for(var o=t[0].toUpperCase(),e=1;e<t.length;e++)o+=t[e];return o};function styleInject(t,o){var e,n,o=(o=void 0===o?{}:o).insertAt;t&&"undefined"!=typeof document&&(e=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css","top"===o&&e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)))}Object.freeze({__proto__:null,cap:e});var css_248z='.index-module_storybookButton__1WDkY {\n font-family: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-weight: 700;\n border: 0;\n border-radius: 3em;\n cursor: pointer;\n display: inline-block;\n line-height: 1;\n}\n\n.index-module_storybookButtonPrimary__thpoG {\n color: white;\n background-color: #fd1e8e;\n}\n\n.index-module_storybookButtonSecondary__F-HDz {\n color: #333;\n background-color: transparent;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;\n}\n\n.index-module_storybookButtonSmall__4rGEM {\n font-size: 12px;\n padding: 10px 16px;\n}\n\n.index-module_storybookButtonMedium__1VD7c {\n font-size: 14px;\n padding: 11px 20px;\n}\n\n.index-module_storybookButtonLarge__CaF-c {\n font-size: 16px;\n padding: 12px 24px;\n}',style={storybookButton:"index-module_storybookButton__1WDkY",storybookButtonPrimary:"index-module_storybookButtonPrimary__thpoG",storybookButtonSecondary:"index-module_storybookButtonSecondary__F-HDz",storybookButtonSmall:"index-module_storybookButtonSmall__4rGEM",storybookButtonMedium:"index-module_storybookButtonMedium__1VD7c",storybookButtonLarge:"index-module_storybookButtonLarge__CaF-c"},Button=(styleInject(css_248z),function(t){var o=t.primary,o=void 0!==o&&o,n=t.size,n=void 0===n?"medium":n,r=t.backgroundColor,a=t.label,t=__rest(t,["primary","size","backgroundColor","label"]),o=o?style.storybookButtonPrimary:style.storybookButtonSecondary;return React__default.default.createElement("button",__assign({type:"button",className:"".concat(style.storybookButton," ").concat(style["storybookButton".concat(e(n))]," ").concat(o),style:{backgroundColor:r}},t),a)}),shira={Button:Button};exports.Button=Button,exports.default=shira;

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

*/
size?: 'Small' | 'Medium' | 'Large';
size?: 'small' | 'medium' | 'large';
/**

@@ -17,0 +17,0 @@ * Button contents

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

import React from"react";var __assign=function(){return(__assign=Object.assign||function(o){for(var t,n=1,e=arguments.length;n<e;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o}).apply(this,arguments)};function __rest(o,t){var n={};for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&t.indexOf(r)<0&&(n[r]=o[r]);if(null!=o&&"function"==typeof Object.getOwnPropertySymbols)for(var e=0,r=Object.getOwnPropertySymbols(o);e<r.length;e++)t.indexOf(r[e])<0&&Object.prototype.propertyIsEnumerable.call(o,r[e])&&(n[r[e]]=o[r[e]]);return n}function styleInject(o,t){var n,e,t=(t=void 0===t?{}:t).insertAt;o&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(e=document.createElement("style")).type="text/css","top"===t&&n.firstChild?n.insertBefore(e,n.firstChild):n.appendChild(e),e.styleSheet?e.styleSheet.cssText=o:e.appendChild(document.createTextNode(o)))}var css_248z='.index-module_storybookButton__1WDkY {\n font-family: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-weight: 700;\n border: 0;\n border-radius: 3em;\n cursor: pointer;\n display: inline-block;\n line-height: 1;\n}\n\n.index-module_storybookButtonPrimary__thpoG {\n color: white;\n background-color: #fd1e8e;\n}\n\n.index-module_storybookButtonSecondary__F-HDz {\n color: #333;\n background-color: transparent;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;\n}\n\n.index-module_storybookButtonSmall__4rGEM {\n font-size: 12px;\n padding: 10px 16px;\n}\n\n.index-module_storybookButtonMedium__1VD7c {\n font-size: 14px;\n padding: 11px 20px;\n}\n\n.index-module_storybookButtonLarge__CaF-c {\n font-size: 16px;\n padding: 12px 24px;\n}',style={storybookButton:"index-module_storybookButton__1WDkY",storybookButtonPrimary:"index-module_storybookButtonPrimary__thpoG",storybookButtonSecondary:"index-module_storybookButtonSecondary__F-HDz",storybookButtonSmall:"index-module_storybookButtonSmall__4rGEM",storybookButtonMedium:"index-module_storybookButtonMedium__1VD7c",storybookButtonLarge:"index-module_storybookButtonLarge__CaF-c"},Button=(styleInject(css_248z),function(o){var t=o.primary,t=void 0!==t&&t,n=o.size,n=void 0===n?"Medium":n,e=o.backgroundColor,r=o.label,o=__rest(o,["primary","size","backgroundColor","label"]),t=t?style.storybookButtonPrimary:style.storybookButtonSecondary;return React.createElement("button",__assign({type:"button",className:"".concat(style.storybookButton," ").concat(style["storybookButton".concat(n)]," ").concat(t),style:{backgroundColor:e}},o),r)}),shira={Button:Button};export{Button,shira as default};
import React from"react";var __assign=function(){return(__assign=Object.assign||function(o){for(var t,e=1,n=arguments.length;e<n;e++)for(var r in t=arguments[e])Object.prototype.hasOwnProperty.call(t,r)&&(o[r]=t[r]);return o}).apply(this,arguments)};function __rest(o,t){var e={};for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&t.indexOf(r)<0&&(e[r]=o[r]);if(null!=o&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(o);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(o,r[n])&&(e[r[n]]=o[r[n]]);return e}var e=function(o){for(var t=o[0].toUpperCase(),e=1;e<o.length;e++)t+=o[e];return t};function styleInject(o,t){var e,n,t=(t=void 0===t?{}:t).insertAt;o&&"undefined"!=typeof document&&(e=document.head||document.getElementsByTagName("head")[0],(n=document.createElement("style")).type="text/css","top"===t&&e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n),n.styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o)))}Object.freeze({__proto__:null,cap:e});var css_248z='.index-module_storybookButton__1WDkY {\n font-family: "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;\n font-weight: 700;\n border: 0;\n border-radius: 3em;\n cursor: pointer;\n display: inline-block;\n line-height: 1;\n}\n\n.index-module_storybookButtonPrimary__thpoG {\n color: white;\n background-color: #fd1e8e;\n}\n\n.index-module_storybookButtonSecondary__F-HDz {\n color: #333;\n background-color: transparent;\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;\n}\n\n.index-module_storybookButtonSmall__4rGEM {\n font-size: 12px;\n padding: 10px 16px;\n}\n\n.index-module_storybookButtonMedium__1VD7c {\n font-size: 14px;\n padding: 11px 20px;\n}\n\n.index-module_storybookButtonLarge__CaF-c {\n font-size: 16px;\n padding: 12px 24px;\n}',style={storybookButton:"index-module_storybookButton__1WDkY",storybookButtonPrimary:"index-module_storybookButtonPrimary__thpoG",storybookButtonSecondary:"index-module_storybookButtonSecondary__F-HDz",storybookButtonSmall:"index-module_storybookButtonSmall__4rGEM",storybookButtonMedium:"index-module_storybookButtonMedium__1VD7c",storybookButtonLarge:"index-module_storybookButtonLarge__CaF-c"},Button=(styleInject(css_248z),function(o){var t=o.primary,t=void 0!==t&&t,n=o.size,n=void 0===n?"medium":n,r=o.backgroundColor,a=o.label,o=__rest(o,["primary","size","backgroundColor","label"]),t=t?style.storybookButtonPrimary:style.storybookButtonSecondary;return React.createElement("button",__assign({type:"button",className:"".concat(style.storybookButton," ").concat(style["storybookButton".concat(e(n))]," ").concat(t),style:{backgroundColor:r}},o),a)}),shira={Button:Button};export{Button,shira as default};

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

*/
size?: 'Small' | 'Medium' | 'Large';
size?: 'small' | 'medium' | 'large';
/**

@@ -17,0 +17,0 @@ * Button contents

{
"name": "shira",
"version": "1.0.5",
"version": "1.0.6",
"description": "UI components",

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

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