@omniumretail/component-library 1.0.98 → 1.1.0
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/bundle.js +1 -12069
- package/dist/main.css +26 -1308
- package/dist/types/components/AnalyticsBar/index.d.ts +1 -1
- package/dist/types/components/Button/index.d.ts +1 -1
- package/dist/types/components/Category/CategoryContent/index.d.ts +1 -1
- package/dist/types/components/Category/CategorySidebar/index.d.ts +1 -1
- package/dist/types/components/Category/index.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +1 -1
- package/dist/types/components/DatePickerTag/index.d.ts +1 -1
- package/dist/types/components/Footer/index.d.ts +1 -1
- package/dist/types/components/Input/index.d.ts +2 -2
- package/dist/types/components/InputCountryCode/index.d.ts +1 -1
- package/dist/types/components/Label/index.d.ts +1 -1
- package/dist/types/components/Link/index.d.ts +1 -1
- package/dist/types/components/Menu/index.d.ts +1 -2
- package/dist/types/components/ModalConfirmation/index.d.ts +1 -1
- package/dist/types/components/ModalWithTable/index.d.ts +1 -1
- package/dist/types/components/Navigation/index.d.ts +1 -1
- package/dist/types/components/Questions/SingleQuestion/index.d.ts +1 -1
- package/dist/types/components/Questions/index.d.ts +1 -1
- package/dist/types/components/Radio/index.d.ts +2 -2
- package/dist/types/components/Separator/index.d.ts +1 -1
- package/dist/types/components/Sidebar/index.d.ts +1 -1
- package/dist/types/components/Switch/index.d.ts +1 -1
- package/dist/types/components/Table/index.d.ts +1 -1
- package/dist/types/components/Tag/index.d.ts +1 -1
- package/dist/types/components/Upload/index.d.ts +1 -1
- package/dist/types/components/UserInfo/index.d.ts +1 -1
- package/package.json +7 -14
- package/webpack.config.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { AnalyticsBarProps } from './interfaces/analyticsBar';
|
|
2
|
-
export declare const AnalyticsBar: (props: AnalyticsBarProps) => JSX.Element;
|
|
2
|
+
export declare const AnalyticsBar: (props: AnalyticsBarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface CustomButtonProps extends ButtonProps {
|
|
|
4
4
|
buttonStyle?: string;
|
|
5
5
|
customClass?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const Button: ({ customClass, ...props }: CustomButtonProps) => JSX.Element;
|
|
7
|
+
export declare const Button: ({ customClass, ...props }: CustomButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,5 +3,5 @@ interface categoryContent {
|
|
|
3
3
|
categoryContentInfo: any;
|
|
4
4
|
categorySidebarData: any;
|
|
5
5
|
}
|
|
6
|
-
export declare const CategoryContent: (props: categoryContent) => JSX.Element;
|
|
6
|
+
export declare const CategoryContent: (props: categoryContent) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -22,5 +22,5 @@ interface SidebarProps {
|
|
|
22
22
|
categoryContentFinalData: any;
|
|
23
23
|
data: DataNode[];
|
|
24
24
|
}
|
|
25
|
-
export declare const CategorySidebar: (props: SidebarProps) => JSX.Element;
|
|
25
|
+
export declare const CategorySidebar: (props: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
26
|
export {};
|
|
@@ -5,4 +5,4 @@ export type CustomDatePickerProps = DatePickerProps & {
|
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
defaultValue?: any;
|
|
7
7
|
};
|
|
8
|
-
export declare const CustomDatePicker: ({ className, onChange, value, isRangePicker, disabled, defaultValue, ...rest }: CustomDatePickerProps) => JSX.Element;
|
|
8
|
+
export declare const CustomDatePicker: ({ className, onChange, value, isRangePicker, disabled, defaultValue, ...rest }: CustomDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface DatePickerTagProps extends TagProps {
|
|
|
3
3
|
customTags?: any;
|
|
4
4
|
tagsInfo?: any;
|
|
5
5
|
}
|
|
6
|
-
export declare const DatePickerTag: (props: DatePickerTagProps) => JSX.Element;
|
|
6
|
+
export declare const DatePickerTag: (props: DatePickerTagProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,5 +6,5 @@ export interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
|
|
|
6
6
|
export interface inputPropsCustom extends InputProps {
|
|
7
7
|
customClass?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const InputField: ({ customClass, ...inputProps }: inputPropsCustom) => JSX.Element;
|
|
10
|
-
export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => JSX.Element;
|
|
9
|
+
export declare const InputField: ({ customClass, ...inputProps }: inputPropsCustom) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface FormInputCountryCodeProps extends Omit<FormItemProps, "name"> {
|
|
|
7
7
|
value?: string;
|
|
8
8
|
onChange?: (value: any) => void;
|
|
9
9
|
}
|
|
10
|
-
export declare const InputCountryCode: ({ inputProps, selectProps, name, inputWithSelectBoxValue, value, onChange, ...itemProps }: FormInputCountryCodeProps) => JSX.Element;
|
|
10
|
+
export declare const InputCountryCode: ({ inputProps, selectProps, name, inputWithSelectBoxValue, value, onChange, ...itemProps }: FormInputCountryCodeProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface CustomLinkProps extends ButtonProps {
|
|
|
4
4
|
linkSecondary?: boolean;
|
|
5
5
|
customClass?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const Link: ({ customClass, iconAlignRight, linkSecondary, ...props }: CustomLinkProps) => JSX.Element;
|
|
7
|
+
export declare const Link: ({ customClass, iconAlignRight, linkSecondary, ...props }: CustomLinkProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface ModalConfirmationProps {
|
|
|
6
6
|
isOpen: boolean;
|
|
7
7
|
modalData?: any;
|
|
8
8
|
}
|
|
9
|
-
export declare const ModalConfirmation: (props: ModalConfirmationProps) => JSX.Element;
|
|
9
|
+
export declare const ModalConfirmation: (props: ModalConfirmationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,4 +8,4 @@ export interface NavigationProps {
|
|
|
8
8
|
backLinkOnClickFunction?: () => void;
|
|
9
9
|
homeOnClickFunction?: () => void;
|
|
10
10
|
}
|
|
11
|
-
export declare const Navigation: (props: NavigationProps) => JSX.Element;
|
|
11
|
+
export declare const Navigation: (props: NavigationProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SingleQuestion: ({ key, provided, snapshot, remove, name, showGrade, handleChanges, ...restField }: any) => JSX.Element;
|
|
1
|
+
export declare const SingleQuestion: ({ key, provided, snapshot, remove, name, showGrade, handleChanges, ...restField }: any) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { RadioProps } from 'antd';
|
|
2
2
|
import type { RadioGroupProps } from 'antd/lib/radio';
|
|
3
|
-
export declare const Radio: ({ ...radioProps }: RadioProps) => JSX.Element;
|
|
3
|
+
export declare const Radio: ({ ...radioProps }: RadioProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export interface CustomRadioGroupProps extends RadioGroupProps {
|
|
5
5
|
options: {
|
|
6
6
|
label: string;
|
|
7
7
|
value: string;
|
|
8
8
|
}[];
|
|
9
9
|
}
|
|
10
|
-
export declare const RadioGroup: ({ options, ...radioGroupProps }: CustomRadioGroupProps) => JSX.Element;
|
|
10
|
+
export declare const RadioGroup: ({ options, ...radioGroupProps }: CustomRadioGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface SidebarProps {
|
|
|
12
12
|
links: Links[];
|
|
13
13
|
navigateFunction: (targetRoute: string) => void;
|
|
14
14
|
}
|
|
15
|
-
export declare const Sidebar: (props: SidebarProps) => JSX.Element;
|
|
15
|
+
export declare const Sidebar: (props: SidebarProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SwitchProps } from 'antd';
|
|
2
|
-
export declare const Switch: ({ ...props }: SwitchProps) => JSX.Element;
|
|
2
|
+
export declare const Switch: ({ ...props }: SwitchProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -38,4 +38,4 @@ export interface TableCustomProps extends TableProps<any> {
|
|
|
38
38
|
side: 'left' | 'right';
|
|
39
39
|
}[];
|
|
40
40
|
}
|
|
41
|
-
export declare const Table: (props: TableCustomProps) => JSX.Element;
|
|
41
|
+
export declare const Table: (props: TableCustomProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,5 +4,5 @@ interface UploadPropsExtended extends UploadProps {
|
|
|
4
4
|
initialFileList?: UploadFile[];
|
|
5
5
|
initialImageUrl?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare const Upload: (props: UploadPropsExtended) => JSX.Element;
|
|
7
|
+
export declare const Upload: (props: UploadPropsExtended) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -6,4 +6,4 @@ export interface UserInfoProps {
|
|
|
6
6
|
userInfoTranslationsKey?: string;
|
|
7
7
|
customClass?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare const UserInfo: ({ userData, customClass, userImage, userName, userCode, userInfoTranslationsKey, }: UserInfoProps) => JSX.Element;
|
|
9
|
+
export declare const UserInfo: ({ userData, customClass, userImage, userName, userCode, userInfoTranslationsKey, }: UserInfoProps) => import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@omniumretail/component-library",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.00",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "dist/bundle.js",
|
|
6
6
|
"typings": "./dist/types/index",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@ant-design/icons": "^4.8.0",
|
|
9
|
-
"@babel/core": "^7.16.0",
|
|
10
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
11
9
|
"@svgr/webpack": "^5.5.0",
|
|
12
10
|
"@testing-library/jest-dom": "^5.14.1",
|
|
13
11
|
"@testing-library/react": "^13.0.0",
|
|
@@ -23,7 +21,6 @@
|
|
|
23
21
|
"babel-loader": "^8.2.3",
|
|
24
22
|
"babel-plugin-named-asset-import": "^0.3.8",
|
|
25
23
|
"babel-preset-react-app": "^10.0.1",
|
|
26
|
-
"bfj": "^7.0.2",
|
|
27
24
|
"browser-image-compression": "^2.0.2",
|
|
28
25
|
"browserslist": "^4.18.1",
|
|
29
26
|
"camelcase": "^6.2.1",
|
|
@@ -50,10 +47,7 @@
|
|
|
50
47
|
"mini-css-extract-plugin": "^2.7.2",
|
|
51
48
|
"moment": "^2.29.4",
|
|
52
49
|
"postcss": "^8.4.4",
|
|
53
|
-
"postcss-flexbugs-fixes": "^5.0.2",
|
|
54
50
|
"postcss-loader": "^6.2.1",
|
|
55
|
-
"postcss-normalize": "^10.0.1",
|
|
56
|
-
"postcss-preset-env": "^7.0.1",
|
|
57
51
|
"prompts": "^2.4.2",
|
|
58
52
|
"rc-tween-one": "^3.0.6",
|
|
59
53
|
"react": "^18.2.0",
|
|
@@ -63,19 +57,19 @@
|
|
|
63
57
|
"react-dom": "^18.2.0",
|
|
64
58
|
"react-easy-crop": "^4.7.4",
|
|
65
59
|
"react-i18next": "^12.1.4",
|
|
66
|
-
"react-refresh": "^0.11.0",
|
|
67
|
-
"resolve": "^1.20.0",
|
|
68
|
-
"resolve-url-loader": "^4.0.0",
|
|
69
60
|
"sass": "^1.56.1",
|
|
70
61
|
"sass-loader": "^12.3.0",
|
|
71
|
-
"semver": "^7.3.5",
|
|
72
|
-
"source-map-loader": "^3.0.0",
|
|
73
62
|
"style-loader": "^3.3.1",
|
|
74
|
-
"tailwindcss": "^3.0.2",
|
|
75
63
|
"terser-webpack-plugin": "^5.2.5",
|
|
76
64
|
"typescript": "^4.9.3",
|
|
77
65
|
"url-loader": "^4.1.1",
|
|
78
66
|
"web-vitals": "^2.1.0",
|
|
67
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
68
|
+
"bfj": "^7.0.2",
|
|
69
|
+
"postcss-flexbugs-fixes": "^5.0.2",
|
|
70
|
+
"postcss-normalize": "^10.0.1",
|
|
71
|
+
"postcss-preset-env": "^7.0.1",
|
|
72
|
+
"react-refresh": "^0.11.0",
|
|
79
73
|
"webpack-dev-server": "^4.6.0",
|
|
80
74
|
"webpack-manifest-plugin": "^4.0.2",
|
|
81
75
|
"workbox-webpack-plugin": "^6.4.1"
|
|
@@ -128,7 +122,6 @@
|
|
|
128
122
|
"@storybook/preset-create-react-app": "^4.1.2",
|
|
129
123
|
"@storybook/react": "^6.5.14",
|
|
130
124
|
"@storybook/testing-library": "^0.0.13",
|
|
131
|
-
"babel-plugin-named-exports-order": "^0.0.2",
|
|
132
125
|
"prop-types": "^15.8.1",
|
|
133
126
|
"react-scripts": "^5.0.1",
|
|
134
127
|
"storybook-addon-sass-postcss": "^0.1.3",
|
package/webpack.config.js
CHANGED