@prosperitainova/mirage-ui 1.1.69 → 1.1.72

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ButtonProps } from "./Button";
2
3
  import { Story } from "@storybook/react";
3
4
  declare const ButtonStories: {
@@ -3,6 +3,7 @@ export type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
3
3
  total: number;
4
4
  limit: number;
5
5
  offset?: number;
6
+ activePageIndex?: number;
6
7
  changePage?: (page: number) => void;
7
8
  setOffset?: (offset: number) => void;
8
9
  };
package/dist/index.d.ts CHANGED
@@ -355,6 +355,7 @@ type PaginationProps = LiHTMLAttributes<HTMLLIElement> & {
355
355
  total: number;
356
356
  limit: number;
357
357
  offset?: number;
358
+ activePageIndex?: number;
358
359
  changePage?: (page: number) => void;
359
360
  setOffset?: (offset: number) => void;
360
361
  };
package/package.json CHANGED
@@ -1,109 +1,109 @@
1
1
  {
2
- "name": "@prosperitainova/mirage-ui",
3
- "version": "1.1.69",
4
- "private": false,
5
- "license": "MIT",
6
- "publishConfig": {
7
- "access": "public"
8
- },
9
- "dependencies": {
10
- "@fortawesome/free-regular-svg-icons": "^6.2.1",
11
- "bootstrap": "^5.2.3",
12
- "formik": "^2.4.3",
13
- "react-content-loader": "^6.2.1",
14
- "react-currency-input": "^1.3.6",
15
- "react-currency-input-field": "^3.6.11",
16
- "react-dropzone": "^14.2.3",
17
- "react-input-mask": "^2.0.4",
18
- "react-number-format": "^5.2.2",
19
- "react-select": "^5.7.0",
20
- "react-toastify": "^9.1.3",
21
- "reactstrap": "^9.2.0",
22
- "typescript": "^4.9.4"
23
- },
24
- "scripts": {
25
- "start": "react-scripts start",
26
- "build": "react-scripts build",
27
- "test": "react-scripts test",
28
- "eject": "react-scripts eject",
29
- "storybook": "start-storybook -p 6006 -s public",
30
- "build-storybook": "build-storybook -s public & node copy.js",
31
- "rollup": "rollup -c --bundleConfigAsCjs"
32
- },
33
- "eslintConfig": {
34
- "extends": [
35
- "react-app",
36
- "react-app/jest"
37
- ],
38
- "overrides": [
39
- {
40
- "files": [
41
- "**/*.stories.*"
42
- ],
43
- "rules": {
44
- "import/no-anonymous-default-export": "off"
45
- }
46
- }
47
- ]
48
- },
49
- "browserslist": {
50
- "production": [
51
- ">0.2%",
52
- "not dead",
53
- "not op_mini all"
2
+ "name": "@prosperitainova/mirage-ui",
3
+ "version": "1.1.72",
4
+ "private": false,
5
+ "license": "MIT",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "dependencies": {
10
+ "@fortawesome/free-regular-svg-icons": "^6.2.1",
11
+ "bootstrap": "^5.2.3",
12
+ "formik": "^2.4.3",
13
+ "react-content-loader": "^6.2.1",
14
+ "react-currency-input": "^1.3.6",
15
+ "react-currency-input-field": "^3.6.11",
16
+ "react-dropzone": "^14.2.3",
17
+ "react-input-mask": "^2.0.4",
18
+ "react-number-format": "^5.2.2",
19
+ "react-select": "^5.7.0",
20
+ "react-toastify": "^9.1.3",
21
+ "reactstrap": "^9.2.0",
22
+ "typescript": "^4.9.4"
23
+ },
24
+ "scripts": {
25
+ "start": "react-scripts start",
26
+ "build": "react-scripts build",
27
+ "test": "react-scripts test",
28
+ "eject": "react-scripts eject",
29
+ "storybook": "start-storybook -p 6006 -s public",
30
+ "build-storybook": "build-storybook -s public & node copy.js",
31
+ "rollup": "rollup -c --bundleConfigAsCjs"
32
+ },
33
+ "eslintConfig": {
34
+ "extends": [
35
+ "react-app",
36
+ "react-app/jest"
37
+ ],
38
+ "overrides": [
39
+ {
40
+ "files": [
41
+ "**/*.stories.*"
54
42
  ],
55
- "development": [
56
- "last 1 chrome version",
57
- "last 1 firefox version",
58
- "last 1 safari version"
59
- ]
60
- },
61
- "peerDependencies": {
62
- "react": "^18.2.0",
63
- "react-dom": "^18.2.0",
64
- "react-scripts": "5.0.1",
65
- "styled-components": "^5.3.6"
66
- },
67
- "devDependencies": {
68
- "@rollup/plugin-babel": "^6.0.3",
69
- "@rollup/plugin-commonjs": "^24.0.0",
70
- "@rollup/plugin-node-resolve": "^15.0.1",
71
- "@rollup/plugin-typescript": "^11.0.0",
72
- "@rollup/plugin-url": "^8.0.1",
73
- "@storybook/addon-actions": "^6.5.14",
74
- "@storybook/addon-essentials": "^6.5.14",
75
- "@storybook/addon-interactions": "^6.5.14",
76
- "@storybook/addon-links": "^6.5.14",
77
- "@storybook/builder-webpack5": "^6.5.14",
78
- "@storybook/manager-webpack5": "^6.5.14",
79
- "@storybook/node-logger": "^6.5.14",
80
- "@storybook/preset-create-react-app": "^4.1.2",
81
- "@storybook/react": "^6.5.14",
82
- "@storybook/testing-library": "^0.0.13",
83
- "@types/node": "^16.18.8",
84
- "@types/react": "^18.0.26",
85
- "@types/react-input-mask": "^3.0.2",
86
- "@types/styled-components": "^5.1.26",
87
- "babel-plugin-named-exports-order": "^0.0.2",
88
- "postcss": "^8.4.21",
89
- "postcss-assets": "^6.0.0",
90
- "prop-types": "^15.8.1",
91
- "react": "^18.2.0",
92
- "react-dom": "^18.2.0",
93
- "react-scripts": "^5.0.1",
94
- "rollup": "^3.10.0",
95
- "rollup-plugin-dts": "^5.1.1",
96
- "rollup-plugin-peer-deps-external": "^2.2.4",
97
- "rollup-plugin-postcss": "^4.0.2",
98
- "rollup-plugin-terser": "^7.0.2",
99
- "storybook-addon-styled-component-theme": "^2.0.0",
100
- "styled-components": "^5.3.6",
101
- "webpack": "^5.75.0"
102
- },
103
- "main": "dist/cjs/index.js",
104
- "module": "dist/esm/index.js",
105
- "files": [
106
- "dist"
43
+ "rules": {
44
+ "import/no-anonymous-default-export": "off"
45
+ }
46
+ }
47
+ ]
48
+ },
49
+ "browserslist": {
50
+ "production": [
51
+ ">0.2%",
52
+ "not dead",
53
+ "not op_mini all"
107
54
  ],
108
- "types": "dist/index.d.ts"
109
- }
55
+ "development": [
56
+ "last 1 chrome version",
57
+ "last 1 firefox version",
58
+ "last 1 safari version"
59
+ ]
60
+ },
61
+ "peerDependencies": {
62
+ "react": "^18.2.0",
63
+ "react-dom": "^18.2.0",
64
+ "react-scripts": "5.0.1",
65
+ "styled-components": "^5.3.6"
66
+ },
67
+ "devDependencies": {
68
+ "@rollup/plugin-babel": "^6.0.3",
69
+ "@rollup/plugin-commonjs": "^24.0.0",
70
+ "@rollup/plugin-node-resolve": "^15.0.1",
71
+ "@rollup/plugin-typescript": "^11.0.0",
72
+ "@rollup/plugin-url": "^8.0.1",
73
+ "@storybook/addon-actions": "^6.5.14",
74
+ "@storybook/addon-essentials": "^6.5.14",
75
+ "@storybook/addon-interactions": "^6.5.14",
76
+ "@storybook/addon-links": "^6.5.14",
77
+ "@storybook/builder-webpack5": "^6.5.14",
78
+ "@storybook/manager-webpack5": "^6.5.14",
79
+ "@storybook/node-logger": "^6.5.14",
80
+ "@storybook/preset-create-react-app": "^4.1.2",
81
+ "@storybook/react": "^6.5.14",
82
+ "@storybook/testing-library": "^0.0.13",
83
+ "@types/node": "^16.18.8",
84
+ "@types/react": "^18.0.26",
85
+ "@types/react-input-mask": "^3.0.2",
86
+ "@types/styled-components": "^5.1.26",
87
+ "babel-plugin-named-exports-order": "^0.0.2",
88
+ "postcss": "^8.4.21",
89
+ "postcss-assets": "^6.0.0",
90
+ "prop-types": "^15.8.1",
91
+ "react": "^18.2.0",
92
+ "react-dom": "^18.2.0",
93
+ "react-scripts": "^5.0.1",
94
+ "rollup": "^3.10.0",
95
+ "rollup-plugin-dts": "^5.1.1",
96
+ "rollup-plugin-peer-deps-external": "^2.2.4",
97
+ "rollup-plugin-postcss": "^4.0.2",
98
+ "rollup-plugin-terser": "^7.0.2",
99
+ "storybook-addon-styled-component-theme": "^2.0.0",
100
+ "styled-components": "^5.3.6",
101
+ "webpack": "^5.75.0"
102
+ },
103
+ "main": "dist/cjs/index.js",
104
+ "module": "dist/esm/index.js",
105
+ "files": [
106
+ "dist"
107
+ ],
108
+ "types": "dist/index.d.ts"
109
+ }