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

cosmo-ui

Package Overview
Dependencies
Maintainers
3
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmo-ui - npm Package Compare versions

Comparing version 0.1.93 to 0.1.94

12

dist/web/modal.js

@@ -8,5 +8,5 @@ "use strict";

var styles = require('../../src/styles/components/modal.scss');
var _ModalPopup = (function (_super) {
tslib_1.__extends(_ModalPopup, _super);
function _ModalPopup() {
var _ModalRoot = (function (_super) {
tslib_1.__extends(_ModalRoot, _super);
function _ModalRoot() {
var _this = _super !== null && _super.apply(this, arguments) || this;

@@ -18,3 +18,3 @@ _this.handleContainerClick = function (e) {

}
_ModalPopup.prototype.render = function () {
_ModalRoot.prototype.render = function () {
var state = this.props.state;

@@ -28,3 +28,3 @@ if (state.modalType === '')

};
return _ModalPopup;
return _ModalRoot;
}(React.Component));

@@ -37,3 +37,3 @@ var mapStateToProps = function (state) { return ({

};
exports.ModalPopup = ReactRedux.connect(mapStateToProps, mapActionsToProps)(_ModalPopup);
exports.ModalRoot = ReactRedux.connect(mapStateToProps, mapActionsToProps)(_ModalRoot);
//# sourceMappingURL=modal.js.map

@@ -9,3 +9,2 @@ import { Component } from 'react'

export class Column extends Component<I.ColumnProps, any>{ }
export class Confirmation extends Component<I.ConfirmationProps, any>{ }
export class Container extends Component<I.ContainerProps, any>{ }

@@ -19,3 +18,3 @@ export class Divider extends Component<I.DividerProps, any>{ }

export class ListItem extends Component<I.ListItemProps, any>{ }
export class Modal extends Component<I.ModalProps, any>{ }
export class ModalRoot extends Component<I.ModalRootProps, any>{ }
export class NumberInput extends Component<I.NumberInputProps, any>{ }

@@ -22,0 +21,0 @@ export class RadioButton extends Component<I.RadioButtonProps, any>{ }

{
"name": "cosmo-ui",
"version": "0.1.93",
"version": "0.1.94",
"description": "Common React components",

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

@@ -1,16 +0,6 @@

import { StylableComponent } from '.'
import { ModalState } from '../data'
export interface ModalButton {
label: string
onClick: (e: React.SyntheticEvent<any>) => any
disabled?: boolean
}
export interface ModalProps extends StylableComponent {
export interface ModalRootProps {
state: ModalState
onHide: () => any
mkTitle?: (state: object) => string | null
mkButtons?: (state: object) => ModalButton[]
mkIcon?: (state: object) => string
closeModal: () => any
}

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