react-ui89 0.19.2 → 0.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-ui89",
3
3
  "description": "A collection of React components that mimic a common style of user interfaces from the late 80s and early 90s.",
4
- "version": "0.19.2",
4
+ "version": "0.20.1",
5
5
  "author": "Daniel Araujo",
6
6
  "module": "dist/esm/index.js",
7
7
  "files": [
@@ -16,7 +16,8 @@
16
16
  "url": "https://github.com/daniel-araujo/react-ui89.git"
17
17
  },
18
18
  "peerDependencies": {
19
- "react": "^18.3.1"
19
+ "react": "^18.3.1",
20
+ "react-dom": "^18.3.1"
20
21
  },
21
22
  "scripts": {
22
23
  "build": "rollup -c",
@@ -73,6 +74,7 @@
73
74
  "vite-plugin-svgr": "^4.3.0"
74
75
  },
75
76
  "dependencies": {
77
+ "react-toastify": "^11.0.2",
76
78
  "react-virtualized-auto-sizer": "^1.0.24",
77
79
  "react-window": "^1.8.10",
78
80
  "smart-timeout": "^2.7.1"
@@ -1,14 +0,0 @@
1
- import React from 'react';
2
- interface ButtonProps {
3
- theme?: string;
4
- size?: string;
5
- block?: boolean;
6
- onClick?: () => void;
7
- href?: string;
8
- children: React.ReactNode;
9
- autoDisableOnClick?: boolean;
10
- disabled?: boolean;
11
- activated?: boolean;
12
- }
13
- export default function Button({ theme, size, block, onClick, href, children, autoDisableOnClick, disabled, activated, }: ButtonProps): React.JSX.Element;
14
- export {};
@@ -1,8 +0,0 @@
1
- import React from "react";
2
- import { Ui89Theme } from "../theme";
3
- interface Ui89ButtonProps {
4
- theme?: Ui89Theme | string;
5
- children: React.ReactNode;
6
- }
7
- export declare function Ui89Background({ theme, children, }: Ui89ButtonProps): React.JSX.Element;
8
- export {};
@@ -1,11 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Ui89Background } from "./Ui89Background";
3
- declare const meta: Meta<typeof Ui89Background>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const ThemePrimary: Story;
7
- export declare const ThemeSecondary: Story;
8
- export declare const ThemeSuccess: Story;
9
- export declare const ThemeDanger: Story;
10
- export declare const ThemeInfo: Story;
11
- export declare const ThemeWarning: Story;
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare function Ui89DigitalTimeClock(): React.JSX.Element;
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react";
2
- import { Ui89DigitalTimeClock } from "./Ui89DigitalTimeClock";
3
- declare const meta: Meta<typeof Ui89DigitalTimeClock>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Time: Story;
@@ -1,2 +0,0 @@
1
- import { Decorator } from "@storybook/react/*";
2
- export declare const BackgroundDecorator: Decorator;