New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@launchware/replicator

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchware/replicator - npm Package Compare versions

Comparing version
0.0.3
to
0.0.4
+1
-1
package.json
{
"name": "@launchware/replicator",
"version": "0.0.3",
"version": "0.0.4",
"description": "React components commonly used by Launch Academy developers",

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

export * from "./src/Modal";
export * from "./src/ConfirmationModal";
import { ConfirmationModalProps } from "./ConfirmationModal.d";
export declare const ConfirmationModal: ({ action, promptText, setVisibility, }: ConfirmationModalProps) => JSX.Element;
export default ConfirmationModal;
import "./css/confirmationModal.css";
import mdx from "./ConfirmationModal.mdx";
export declare const DefaultConfirmationModal: {
(): JSX.Element;
storyName: string;
};
declare const _default: {
title: string;
parameters: {
docs: {
page: typeof mdx;
};
};
};
export default _default;
import React from "react";
import { ConfirmationModalProps } from "../ConfirmationModal.d";
export declare const useConfirmationModal: ({ promptText, action, }: ConfirmationModalProps) => {
modal: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
showModal: () => void;
};
export { ConfirmationModal } from "./ConfirmationModal";
export { useConfirmationModal } from "./hooks/useConfirmationModal";
export * from "./Modal";
export * from "./ConfirmationModal";
/**
* useKeyPress
* @param {string} key - the name of the key to respond to, compared against event.key
* @param {function} action - the action to perform on key press
*/
export declare const useKeypress: (key: string, action: () => void) => void;
export { useKeypress } from "./hooks/useKeypress";
import { FC } from "react";
import { ReactElement } from "react";
import { ModalProps } from "../Modal.d";
export declare const useModal: (modalContent: FC<ModalProps>, { scrollToTop, portalParent, onVisibilityChange, }?: {
scrollToTop?: boolean | undefined;
portalParent?: Element | undefined;
onVisibilityChange?: ((isVisible: boolean) => void) | undefined;
}) => {
isVisible: boolean;
modal: ReactElement;
toggleVisibility: () => void;
setVisibility: (isVisible: boolean) => void;
};
import React, { FC } from "react";
export declare const useRoutedModal: (modalContents: FC, { path }: {
path: string;
}) => {
modal: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
};
export { Modal } from "./Modal";
export { useModal } from "./hooks/useModal";
export { useRoutedModal } from "./hooks/useRoutedModal";
import { FC } from "react";
import { ModalProps } from "./Modal.d";
export declare type Modal = FC<ModalProps>;
export declare const Modal: Modal;
import mdx from "./Modal.mdx";
import "./css/modal.css";
export declare const DefaultModal: {
(): JSX.Element;
storyName: string;
};
export declare const RoutedModal: {
(): JSX.Element;
storyName: string;
};
declare const _default: {
title: string;
parameters: {
docs: {
page: typeof mdx;
};
};
};
export default _default;

Sorry, the diff of this file is not supported yet