0.2.0 - Mid migration

This commit is contained in:
Daniel Mason 2022-04-25 14:47:15 +12:00
parent 139e6a915e
commit 7e38fdbd7d
42393 changed files with 5358157 additions and 62 deletions

View file

@ -0,0 +1,6 @@
import { Story, Meta } from '@storybook/react/types-6-0';
import { PopupProps } from '../src/types';
import './index.css';
declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
export default _default;
export declare const SimpleTooltip: Story<PopupProps>;

View file

@ -0,0 +1,13 @@
import { Story, Meta } from '@storybook/react/types-6-0';
import { PopupProps } from '../src/types';
import '../src/index.css';
declare const _default: Meta<import("@storybook/addons").Args>;
export default _default;
export declare const SimpleModal: Story<PopupProps>;
export declare const ContentAsFun: Story<PopupProps>;
export declare const MultipleModal: Story<PopupProps>;
export declare const MultipleModalAccessibility: Story<PopupProps>;
export declare const NestedModal: Story<PopupProps>;
export declare const ControlledModal: Story<PopupProps>;
export declare const ModalEffects: Story<PopupProps>;
export declare const GlobalModalWithRef: Story<PopupProps>;

View file

@ -0,0 +1,13 @@
import { Story, Meta } from '@storybook/react/types-6-0';
import { PopupProps } from '../src/types';
declare const _default: Meta<import("@storybook/addons").Args>;
export default _default;
export declare const SimpleTooltip: Story<PopupProps>;
export declare const CenteredTextTooltip: Story<PopupProps>;
export declare const PositionsTooltip: Story<PopupProps>;
export declare const TriggerAsFun: Story<PopupProps>;
export declare const MultipleTooltip: Story<PopupProps>;
export declare const NestedTooltip: Story<PopupProps>;
export declare const ControlledTooltip: Story<PopupProps>;
export declare const BoundedTooltip: Story<PopupProps>;
export declare const TooltipEffects: Story<PopupProps>;

View file

@ -0,0 +1,2 @@
import React from 'react';
export declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;

View file

@ -0,0 +1,4 @@
import { ReactNode } from 'react';
export declare const Center: ({ children }: {
children: ReactNode;
}) => JSX.Element;

View file

@ -0,0 +1,8 @@
import { ReactNode } from 'react';
declare type Props = {
children: ReactNode;
close?: () => void;
title?: string;
};
export declare const Content: ({ children, close, title, }: Props) => JSX.Element;
export {};

View file

@ -0,0 +1,4 @@
import './index.css';
export * from './Button';
export * from './Content';
export * from './Center';