@modul/mbui 0.0.62-beta-pv-54366-e81246c5 → 0.0.62-beta-pv-54172-pdf-6263e1e9
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/dist/Alert/index.js +1 -1
- package/dist/AlertDialog/index.js +116 -6
- package/dist/Audio/index.js +17 -1
- package/dist/Badge/index.js +13 -1
- package/dist/BankCardIcon/index.js +2 -1
- package/dist/BankCardImage/index.js +2 -1
- package/dist/BankLogosRounded/index.js +1 -1
- package/dist/Base/Input/index.js +1 -1
- package/dist/Base/Links/index.js +1 -1
- package/dist/BottomNavigation/index.js +23 -1
- package/dist/Button/index.js +71 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/Carousel/index.js +2 -1
- package/dist/Chat/index.js +1 -1
- package/dist/Checkbox/index.js +23 -1
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/Chip/index.js +1 -1
- package/dist/Collapsible/index.js +14 -1
- package/dist/Counter/index.js +30 -1
- package/dist/CurrencyFlag/index.js +1 -1
- package/dist/CurrencySymbol/index.js +1 -1
- package/dist/DatePicker/index.js +62 -1
- package/dist/DigitKeyPad/index.js +15 -1
- package/dist/Drawer/index.js +42 -2
- package/dist/DrawerDatePicker/index.js +80 -2
- package/dist/FavoritePyments/index.js +12 -1
- package/dist/Form/index.js +1 -1
- package/dist/Icon/icons/index.js +1 -1
- package/dist/Icon/index.js +1 -1
- package/dist/Input/index.js +16 -1
- package/dist/Input-OTP/Input.d.ts +4 -4
- package/dist/Input-OTP/index.js +11 -2
- package/dist/Label/index.js +1 -1
- package/dist/Loading/index.js +1 -1
- package/dist/Logo/index.js +1 -1
- package/dist/Navbar/index.js +1 -1
- package/dist/PDFViewer/PDFViewer.d.ts +13 -0
- package/dist/PDFViewer/index.css +1 -0
- package/dist/PDFViewer/index.d.ts +1 -0
- package/dist/PDFViewer/index.js +14 -0
- package/dist/Page/index.js +31 -1
- package/dist/Popover/index.js +61 -1
- package/dist/Progress/index.js +6 -2
- package/dist/Radio/index.js +22 -1
- package/dist/Select/SelectBase.d.ts +1 -3
- package/dist/Select/SelectDrawer/index.js +87 -2
- package/dist/Select/components/index.js +17 -1
- package/dist/Select/index.d.ts +0 -1
- package/dist/Select/index.js +131 -2
- package/dist/Skeleton/index.js +1 -1
- package/dist/Slider/index.js +17 -1
- package/dist/Swipe2Show/index.js +2 -1
- package/dist/Switch/index.js +35 -1
- package/dist/Tabs/index.js +42 -1
- package/dist/Textarea/index.js +19 -1
- package/dist/Toaster/index.js +2 -2
- package/dist/assets/css/global.css +1 -1
- package/dist/assets/pdf.worker.min.mjs +54 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.js +603 -12
- package/package.json +14 -12
- package/dist/Select/Autocomplete.d.ts +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modul/mbui",
|
|
3
|
-
"version": "0.0.62-beta-pv-
|
|
3
|
+
"version": "0.0.62-beta-pv-54172-pdf-6263e1e9",
|
|
4
4
|
"packageManager": "yarn@3.5.1",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"build:demo": "webpack --config ./demo/webpack.config.js",
|
|
13
13
|
"dev:demo": "webpack serve --config ./demo/webpack.config.js --open",
|
|
14
14
|
"demo": "yarn dlx http-server demo/dist -so -c-1",
|
|
15
|
-
"storybook": "storybook dev -p 6006",
|
|
16
|
-
"build:storybook": "storybook build",
|
|
15
|
+
"storybook": "cross-env STORYBOOK=true storybook dev -p 6006",
|
|
16
|
+
"build:storybook": "cross-env STORYBOOK=true storybook build",
|
|
17
17
|
"test": "jest"
|
|
18
18
|
},
|
|
19
19
|
"lintConfig": "./.eslintrc.json",
|
|
@@ -44,10 +44,12 @@
|
|
|
44
44
|
"embla-carousel-react": "^8.3.1",
|
|
45
45
|
"input-otp": "1.2.4",
|
|
46
46
|
"lodash": "4.17.5",
|
|
47
|
+
"pdfjs-dist": "4.8.69",
|
|
47
48
|
"react-day-picker": "^9.0.8",
|
|
48
49
|
"react-hook-form": "7.53.0",
|
|
49
50
|
"react-imask": "7.6.1",
|
|
50
51
|
"react-number-format": "^5.4.4",
|
|
52
|
+
"react-pdf": "^9.2.1",
|
|
51
53
|
"react-select": "5.8.0",
|
|
52
54
|
"react-swipeable": "7.0.1",
|
|
53
55
|
"sonner": "^1.5.0",
|
|
@@ -63,15 +65,14 @@
|
|
|
63
65
|
"@babel/preset-react": "^7.9.4",
|
|
64
66
|
"@babel/preset-typescript": "^7.21.5",
|
|
65
67
|
"@chromatic-com/storybook": "^3.2.6",
|
|
66
|
-
"@storybook/addon-essentials": "^8.6.
|
|
67
|
-
"@storybook/addon-interactions": "^8.6.
|
|
68
|
-
"@storybook/addon-links": "^8.6.
|
|
69
|
-
"@storybook/addon-mdx-gfm": "^8.6.14",
|
|
68
|
+
"@storybook/addon-essentials": "^8.6.12",
|
|
69
|
+
"@storybook/addon-interactions": "^8.6.12",
|
|
70
|
+
"@storybook/addon-links": "^8.6.12",
|
|
70
71
|
"@storybook/addon-webpack5-compiler-babel": "^3.0.6",
|
|
71
|
-
"@storybook/blocks": "^8.6.
|
|
72
|
-
"@storybook/react": "^8.6.
|
|
73
|
-
"@storybook/react-webpack5": "^8.6.
|
|
74
|
-
"@storybook/test": "^8.6.
|
|
72
|
+
"@storybook/blocks": "^8.6.12",
|
|
73
|
+
"@storybook/react": "^8.6.12",
|
|
74
|
+
"@storybook/react-webpack5": "^8.6.12",
|
|
75
|
+
"@storybook/test": "^8.6.12",
|
|
75
76
|
"@svgr/cli": "8.1.0",
|
|
76
77
|
"@tailwindcss/forms": "^0.5.7",
|
|
77
78
|
"@testing-library/dom": "^10.4.0",
|
|
@@ -93,6 +94,7 @@
|
|
|
93
94
|
"clean-webpack-plugin": "^4.0.0",
|
|
94
95
|
"config": "3.3.9",
|
|
95
96
|
"copy-webpack-plugin": "^12.0.2",
|
|
97
|
+
"cross-env": "^7.0.3",
|
|
96
98
|
"css-loader": "^6.8.1",
|
|
97
99
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
98
100
|
"date-fns": "^2.30.0",
|
|
@@ -120,7 +122,7 @@
|
|
|
120
122
|
"prettier": "2.7.1",
|
|
121
123
|
"react": "18.2.0",
|
|
122
124
|
"react-dom": "^18.2.0",
|
|
123
|
-
"storybook": "^8.6.
|
|
125
|
+
"storybook": "^8.6.12",
|
|
124
126
|
"style-loader": "^3.3.3",
|
|
125
127
|
"terser-webpack-plugin": "^5.3.10",
|
|
126
128
|
"ts-jest": "^29.2.6",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Props as SelectProps } from 'react-select';
|
|
3
|
-
interface Option {
|
|
4
|
-
value: any;
|
|
5
|
-
label: string;
|
|
6
|
-
[key: string]: any;
|
|
7
|
-
}
|
|
8
|
-
interface GroupedOption {
|
|
9
|
-
label: string;
|
|
10
|
-
options: Option[];
|
|
11
|
-
}
|
|
12
|
-
declare type AutocompleteProps = SelectProps<Option, false, GroupedOption> & {
|
|
13
|
-
onSearch?: (value: string) => void;
|
|
14
|
-
emptyText?: (value: string) => string;
|
|
15
|
-
components?: {
|
|
16
|
-
Input?: React.ComponentType<any>;
|
|
17
|
-
Option?: React.ComponentType<any>;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
declare const Autocomplete: React.FC<AutocompleteProps>;
|
|
21
|
-
export { Autocomplete };
|