@prosperitainova/mirage-ui 1.0.0 → 1.0.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.
Files changed (51) hide show
  1. package/dist/cjs/types/src/lib/Breadcrumb/Breadcrumb.d.ts +0 -1
  2. package/dist/cjs/types/src/lib/Breadcrumb/Breadcrumb.stories.d.ts +0 -1
  3. package/dist/cjs/types/src/lib/Button/Button.stories.d.ts +0 -1
  4. package/dist/cjs/types/src/lib/ButtonDropdown/ButtonDropdown.stories.d.ts +0 -1
  5. package/dist/cjs/types/src/lib/Checkbox/Checkbox.d.ts +0 -1
  6. package/dist/cjs/types/src/lib/Checkbox/Checkbox.stories.d.ts +0 -1
  7. package/dist/cjs/types/src/lib/Input/Input.stories.d.ts +0 -1
  8. package/dist/cjs/types/src/lib/InteractiveModal/InteractiveModal.stories.d.ts +0 -1
  9. package/dist/cjs/types/src/lib/LateralModal/LateralModal.stories.d.ts +0 -1
  10. package/dist/cjs/types/src/lib/MenuDropdown/MenuDropdown.stories.d.ts +0 -1
  11. package/dist/cjs/types/src/lib/NotificationsBar/NotificationsBar.d.ts +0 -1
  12. package/dist/cjs/types/src/lib/NotificationsBar/NotificationsBar.stories.d.ts +0 -1
  13. package/dist/cjs/types/src/lib/Radio/Radio.d.ts +0 -1
  14. package/dist/cjs/types/src/lib/RadioGroup/RadioGroup.stories.d.ts +0 -1
  15. package/dist/cjs/types/src/lib/Search/Search.stories.d.ts +0 -1
  16. package/dist/cjs/types/src/lib/Sellect/Sellect.d.ts +0 -1
  17. package/dist/cjs/types/src/lib/SideBar/SideBar.d.ts +0 -1
  18. package/dist/cjs/types/src/lib/SideBar/SideBar.stories.d.ts +0 -1
  19. package/dist/cjs/types/src/lib/Spacer/Spacer.d.ts +0 -1
  20. package/dist/cjs/types/src/lib/TabMenu/TabMenu.d.ts +0 -1
  21. package/dist/cjs/types/src/lib/TabMenu/TabMenu.stories.d.ts +0 -1
  22. package/dist/cjs/types/src/lib/Table/Table.stories.d.ts +0 -1
  23. package/dist/cjs/types/src/lib/Toast/Toast.stories.d.ts +0 -1
  24. package/dist/cjs/types/src/lib/Toggle/Toggle.d.ts +0 -1
  25. package/dist/cjs/types/src/lib/Toggle/Toggle.stories.d.ts +0 -1
  26. package/dist/esm/types/src/lib/Breadcrumb/Breadcrumb.d.ts +0 -1
  27. package/dist/esm/types/src/lib/Breadcrumb/Breadcrumb.stories.d.ts +0 -1
  28. package/dist/esm/types/src/lib/Button/Button.stories.d.ts +0 -1
  29. package/dist/esm/types/src/lib/ButtonDropdown/ButtonDropdown.stories.d.ts +0 -1
  30. package/dist/esm/types/src/lib/Checkbox/Checkbox.d.ts +0 -1
  31. package/dist/esm/types/src/lib/Checkbox/Checkbox.stories.d.ts +0 -1
  32. package/dist/esm/types/src/lib/Input/Input.stories.d.ts +0 -1
  33. package/dist/esm/types/src/lib/InteractiveModal/InteractiveModal.stories.d.ts +0 -1
  34. package/dist/esm/types/src/lib/LateralModal/LateralModal.stories.d.ts +0 -1
  35. package/dist/esm/types/src/lib/MenuDropdown/MenuDropdown.stories.d.ts +0 -1
  36. package/dist/esm/types/src/lib/NotificationsBar/NotificationsBar.d.ts +0 -1
  37. package/dist/esm/types/src/lib/NotificationsBar/NotificationsBar.stories.d.ts +0 -1
  38. package/dist/esm/types/src/lib/Radio/Radio.d.ts +0 -1
  39. package/dist/esm/types/src/lib/RadioGroup/RadioGroup.stories.d.ts +0 -1
  40. package/dist/esm/types/src/lib/Search/Search.stories.d.ts +0 -1
  41. package/dist/esm/types/src/lib/Sellect/Sellect.d.ts +0 -1
  42. package/dist/esm/types/src/lib/SideBar/SideBar.d.ts +0 -1
  43. package/dist/esm/types/src/lib/SideBar/SideBar.stories.d.ts +0 -1
  44. package/dist/esm/types/src/lib/Spacer/Spacer.d.ts +0 -1
  45. package/dist/esm/types/src/lib/TabMenu/TabMenu.d.ts +0 -1
  46. package/dist/esm/types/src/lib/TabMenu/TabMenu.stories.d.ts +0 -1
  47. package/dist/esm/types/src/lib/Table/Table.stories.d.ts +0 -1
  48. package/dist/esm/types/src/lib/Toast/Toast.stories.d.ts +0 -1
  49. package/dist/esm/types/src/lib/Toggle/Toggle.d.ts +0 -1
  50. package/dist/esm/types/src/lib/Toggle/Toggle.stories.d.ts +0 -1
  51. package/package.json +5 -13
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ItemsProps = {
3
2
  label: string;
4
3
  href: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  declare const BreadcrumbStories: {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from "./Button";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const ButtonStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonDropdownProps } from "./ButtonDropdown";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const ButtonStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type CheckboxProps = {
3
2
  label?: string;
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from "./Checkbox";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const CheckStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from "./Input";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const InputStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { ModalProps } from "./InteractiveModal";
4
3
  declare const InteractiveModalStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { ModalProps } from "./LateralModal";
4
3
  declare const LateraleModalStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuDropdownProps } from "./MenuDropdown";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const MenuDropdownStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type NotificationsProps = {
3
2
  img: string;
4
3
  text: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NotificationsBarProps } from "./NotificationsBar";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const SearchStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type RadioProps = {
3
2
  label: string;
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { RadioGroupProps } from "./RadioGroup";
4
3
  declare const RadioGroupStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchProps } from "./Search";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const SearchStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Props as ReactSelectProps } from "react-select";
3
2
  export type SelectProps = ReactSelectProps & {
4
3
  error?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type TopMenusProps = {
3
2
  icon: string;
4
3
  text: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  declare const SideBarStories: {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type SpacerProps = {
3
2
  top?: number;
4
3
  bottom?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type MenusProps = {
3
2
  label: string;
4
3
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { TabMenuProps } from "./TabMenu";
4
3
  declare const TabMenuStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from "./Table";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const TableStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { ToastProps } from "./Toast";
4
3
  declare const ToastStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ToggleProps = {
3
2
  mode: "small" | "large";
4
3
  actived?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToggleProps } from "./Toggle";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const ButtonStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type ItemsProps = {
3
2
  label: string;
4
3
  href: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  declare const BreadcrumbStories: {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from "./Button";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const ButtonStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonDropdownProps } from "./ButtonDropdown";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const ButtonStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type CheckboxProps = {
3
2
  label?: string;
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from "./Checkbox";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const CheckStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from "./Input";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const InputStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { ModalProps } from "./InteractiveModal";
4
3
  declare const InteractiveModalStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { ModalProps } from "./LateralModal";
4
3
  declare const LateraleModalStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MenuDropdownProps } from "./MenuDropdown";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const MenuDropdownStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type NotificationsProps = {
3
2
  img: string;
4
3
  text: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NotificationsBarProps } from "./NotificationsBar";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const SearchStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type RadioProps = {
3
2
  label: string;
4
3
  disabled?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { RadioGroupProps } from "./RadioGroup";
4
3
  declare const RadioGroupStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SearchProps } from "./Search";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const SearchStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Props as ReactSelectProps } from "react-select";
3
2
  export type SelectProps = ReactSelectProps & {
4
3
  error?: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type TopMenusProps = {
3
2
  icon: string;
4
3
  text: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  declare const SideBarStories: {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type SpacerProps = {
3
2
  top?: number;
4
3
  bottom?: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type MenusProps = {
3
2
  label: string;
4
3
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { TabMenuProps } from "./TabMenu";
4
3
  declare const TabMenuStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from "./Table";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const TableStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Story } from "@storybook/react";
3
2
  import { ToastProps } from "./Toast";
4
3
  declare const ToastStories: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export type ToggleProps = {
3
2
  mode: "small" | "large";
4
3
  actived?: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToggleProps } from "./Toggle";
3
2
  import { Story } from "@storybook/react";
4
3
  declare const ButtonStories: {
package/package.json CHANGED
@@ -1,28 +1,22 @@
1
1
  {
2
2
  "name": "@prosperitainova/mirage-ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
+ "license": "MIT",
5
6
  "publishConfig": {
6
7
  "access": "public"
7
8
  },
8
9
  "dependencies": {
9
10
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
10
- "@testing-library/jest-dom": "^5.16.5",
11
- "@testing-library/react": "^13.4.0",
12
- "@testing-library/user-event": "^13.5.0",
13
- "@types/jest": "^27.5.2",
14
11
  "@types/node": "^16.18.8",
15
12
  "@types/react": "^18.0.26",
16
- "@types/react-dom": "^18.0.9",
17
13
  "react": "^18.2.0",
18
14
  "react-dom": "^18.2.0",
19
15
  "react-dropzone": "^14.2.3",
20
- "react-router-dom": "^6.6.1",
21
16
  "react-scripts": "5.0.1",
22
17
  "react-select": "^5.7.0",
23
18
  "styled-components": "^5.3.6",
24
- "typescript": "^4.9.4",
25
- "web-vitals": "^2.1.4"
19
+ "typescript": "^4.9.4"
26
20
  },
27
21
  "scripts": {
28
22
  "start": "react-scripts start",
@@ -31,8 +25,7 @@
31
25
  "eject": "react-scripts eject",
32
26
  "storybook": "start-storybook -p 6006 -s public",
33
27
  "build-storybook": "build-storybook -s public",
34
- "rollup": "rollup -c rollup.config.js --environment NODE_ENV:production --silent --no-treeshake --no-strict --bundleConfigAsCjs --configPlugin typescript",
35
- "rollup-simple": "rollup -c --bundleConfigAsCjs"
28
+ "rollup": "rollup -c --bundleConfigAsCjs"
36
29
  },
37
30
  "eslintConfig": {
38
31
  "extends": [
@@ -97,6 +90,5 @@
97
90
  "files": [
98
91
  "dist"
99
92
  ],
100
- "types": "dist/index.d.ts",
101
- "type": "module"
93
+ "types": "dist/index.d.ts"
102
94
  }