tp-react-elements-dev 1.12.6 → 1.12.7
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/App.d.ts +2 -2
- package/dist/App.test.d.ts +1 -1
- package/dist/Utilities/Constants/FormConstants.d.ts +10 -10
- package/dist/Utilities/Constants/FunctionConstants.d.ts +61 -0
- package/dist/Utilities/Interface/FormInterface.d.ts +69 -70
- package/dist/components/DeleteComponent/Delete.stories.d.ts +5 -4
- package/dist/components/DeleteComponent/DeleteField.d.ts +7 -7
- package/dist/components/Form/Form.stories.d.ts +5 -4
- package/dist/components/Form/Form.styles.d.ts +43 -40
- package/dist/components/Form/FormActiveSwitch.d.ts +3 -3
- package/dist/components/Form/FormConstants.d.ts +13 -13
- package/dist/components/Form/FormContainer.d.ts +2 -2
- package/dist/components/Form/FormRender.d.ts +3 -3
- package/dist/components/Form/FormRenderConstants.d.ts +15 -15
- package/dist/components/Form/FormRenderWrapper.d.ts +18 -18
- package/dist/components/FormComponents/DatePicker/DateRangePicker.d.ts +7 -7
- package/dist/components/FormComponents/DatePicker/DatepickerWrapperV2.d.ts +6 -6
- package/dist/components/FormComponents/DatePicker/MonthPicker.d.ts +2 -2
- package/dist/components/FormComponents/DatePicker/Monthpickerrender.d.ts +6 -6
- package/dist/components/FormComponents/FileUpload/FormRenderFileUpload.d.ts +6 -6
- package/dist/components/FormComponents/FileUpload/FormRenderMultiFileUpload.d.ts +6 -6
- package/dist/components/FormComponents/FormBottomField/FormBottomField.d.ts +3 -3
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.d.ts +6 -6
- package/dist/components/FormComponents/FormCheckBoxGroup/FormCheckBoxGroup.d.ts +6 -6
- package/dist/components/FormComponents/FormErrorField/FormErrorField.d.ts +3 -3
- package/dist/components/FormComponents/FormNumberField/FormNumberField.d.ts +6 -6
- package/dist/components/FormComponents/FormNumberField/FormNumberFieldDecimal.d.ts +6 -6
- package/dist/components/FormComponents/FormRadioGroup/FormRadioGroup.d.ts +6 -6
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.d.ts +6 -6
- package/dist/components/FormComponents/FormTextAreaField/FormTextAreaField.styles.d.ts +3 -3
- package/dist/components/FormComponents/FormTextField/FormTextField.d.ts +6 -6
- package/dist/components/FormComponents/FormTextField/FormTextField.styles.d.ts +5 -5
- package/dist/components/FormComponents/HelperText/HelperText.d.ts +3 -3
- package/dist/components/FormComponents/PasswordField/PasswordField.d.ts +6 -6
- package/dist/components/FormComponents/RichTextEditor/RichTextEditor.d.ts +5 -5
- package/dist/components/FormComponents/RichTextEditor/RichTextEditorWrapper.d.ts +6 -6
- package/dist/components/FormComponents/RichTextEditor/jodit.index.d.ts +17 -17
- package/dist/components/FormComponents/Select/MultiSelect.d.ts +2 -2
- package/dist/components/FormComponents/Select/MultiSelectv1.d.ts +5 -5
- package/dist/components/FormComponents/Select/SingleSelect.d.ts +6 -6
- package/dist/components/FormComponents/Select/SingleSelectNonAutoComplete.d.ts +6 -6
- package/dist/components/FormComponents/Select/SingleSelectSearchApi.d.ts +2 -2
- package/dist/components/FormComponents/TimePicker/TimePicker.d.ts +5 -5
- package/dist/components/FormComponents/YearPickerField/YearPickerField.d.ts +2 -2
- package/dist/components/Global.styles.d.ts +34 -35
- package/dist/components/ModalField/ConfirmationDialog.d.ts +11 -11
- package/dist/components/ModalField/ModalField.d.ts +17 -18
- package/dist/components/SelectField/MultiSelectFieldComponent.d.ts +11 -11
- package/dist/components/SessionTimeOut/SessionTimeOut.d.ts +10 -10
- package/dist/components/SessionTimeOut/SessionTimeOut.stories.d.ts +5 -4
- package/dist/components/TimePickerField/TimePickerField.d.ts +1 -1
- package/dist/components/index.d.ts +10 -10
- package/dist/index.d.ts +36 -22
- package/dist/index.esm.js +37 -1574
- package/dist/index.js +34 -1617
- package/dist/material-ui.css +1 -0
- package/dist/material-ui.d.ts +2 -0
- package/dist/material-ui.esm.css +1 -0
- package/dist/material-ui.esm.js +3 -0
- package/dist/material-ui.js +20 -0
- package/dist/mui-x-date-datepicker.d.ts +1 -0
- package/dist/redux-toolkit.d.ts +1 -0
- package/dist/reportWebVitals.d.ts +3 -3
- package/dist/setupTests.d.ts +1 -1
- package/dist/styles/theme.d.ts +9 -9
- package/dist/tanstack-react-query.d.ts +1 -0
- package/dist/theme.d.ts +10 -10
- package/package.json +18 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../assets/fonts/icon/flaticon_hvc.css";.m-form__input .prestashop-switch.switch{display:block;height:30px;position:relative;width:160px}.m-form__input .prestashop-switch.switch.stactv{display:block;height:30px;position:relative;width:162px}.prestashop-switch.switch{background-color:#eee;border:1px solid #ccc;border-radius:50px;-webkit-box-shadow:inset 0 1px 4px 1px #00000026;-moz-box-shadow:inset 0 1px 4px 1px #00000026;box-shadow:inset 0 1px 4px 1px #00000026;color:#333;text-align:center}.prestashop-switch.switch *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.m-form__input .prestashop-switch.switch *{outline:0!important}.m-form__input .prestashop-switch.switch input[type=radio]{line-height:normal;margin:4px 0 0;opacity:0;position:absolute}.m-form__input .prestashop-switch.switch label,.m-form__input .prestashop-switch.switch>span{display:inline-block;line-height:30px;max-width:100%;vertical-align:middle}.m-form__input .prestashop-switch.switch label{color:#bbb;cursor:pointer;float:left;font-size:11px;font-weight:400;height:100%;margin:0;position:relative;text-align:center;text-transform:uppercase;-webkit-transition:color .2s ease-out;-o-transition:color .2s ease-out;transition:color .2s ease-out;width:50%;z-index:2}.m-form__input .prestashop-switch.switch input:checked+label{color:#fff}.m-form__input .prestashop-switch.switch a,.m-form__input .prestashop-switch.switch span span{display:none}.m-form__input .prestashop-switch.switch a{background-color:green;border:1px solid green;border-radius:50px;-webkit-box-shadow:inset -1px 0 green;-moz-box-shadow:inset 0 -1px 0 green;box-shadow:inset 0 -1px 0 green;color:#fff;display:block;height:100%;left:0;padding:0;position:absolute;top:0;-webkit-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;width:50%;z-index:1}.m-form__input{align-items:center;display:flex}.m-form__input .prestashop-switch.switch input:last-of-type:checked~a{background-color:#ec5c29;border:1px solid #fb561c;-webkit-box-shadow:inset 0 -1px 0 #fb561c;-moz-box-shadow:inset 0 -1px 0 #fb561c;box-shadow:inset 0 -1px 0 #fb561c;left:50%}#list-component{background-color:#fff;max-height:200px;overflow:auto!important}#list-component #MuiScrol-listbox{max-height:none!important;overflow:visible}.css-k2lwa0,.css-svpvcz-MuiFormLabel-root-MuiInputLabel-root{background:#fff;font-size:14px!important}.rs-picker-default .rs-picker-toggle.rs-btn{padding-bottom:7px;padding-top:7px;width:282px}.rs-picker-default .rs-picker-toggle{border:1px solid #e5e5ea;color:#575757;cursor:pointer;display:inline-block;outline:none;padding-left:44px;padding-right:67px;position:relative;z-index:5}.rs-picker-toggle-caret{color:#8e8e93;display:inline-block;font-weight:400;margin-right:240px;position:absolute;right:12px;top:8px}.rs-picker-toolbar-right-btn-ok{background-color:#3498ff;border:none;border-radius:30px;color:#fff;cursor:pointer;font-size:14px;outline:0;padding:8px 12px;text-align:center;width:100px}.rs-picker-menu .rs-calendar .rs-calendar-table-cell-content{border-radius:21px;display:inline-block;padding-left:0;padding-right:0}.css-1xisk3n{background:#ebf4f8!important}.css-xpa0r5-MuiButtonBase-root-MuiIconButton-root{border-radius:4px!important}.calender h6,.calender p{font-size:11px!important}.calender .css-1fre31j,.calender .css-1j13ek9-MuiGrid-root{padding:0}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "../assets/fonts/icon/flaticon_hvc.css";.m-form__input .prestashop-switch.switch{display:block;height:30px;position:relative;width:160px}.m-form__input .prestashop-switch.switch.stactv{display:block;height:30px;position:relative;width:162px}.prestashop-switch.switch{background-color:#eee;border:1px solid #ccc;border-radius:50px;-webkit-box-shadow:inset 0 1px 4px 1px #00000026;-moz-box-shadow:inset 0 1px 4px 1px #00000026;box-shadow:inset 0 1px 4px 1px #00000026;color:#333;text-align:center}.prestashop-switch.switch *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.m-form__input .prestashop-switch.switch *{outline:0!important}.m-form__input .prestashop-switch.switch input[type=radio]{line-height:normal;margin:4px 0 0;opacity:0;position:absolute}.m-form__input .prestashop-switch.switch label,.m-form__input .prestashop-switch.switch>span{display:inline-block;line-height:30px;max-width:100%;vertical-align:middle}.m-form__input .prestashop-switch.switch label{color:#bbb;cursor:pointer;float:left;font-size:11px;font-weight:400;height:100%;margin:0;position:relative;text-align:center;text-transform:uppercase;-webkit-transition:color .2s ease-out;-o-transition:color .2s ease-out;transition:color .2s ease-out;width:50%;z-index:2}.m-form__input .prestashop-switch.switch input:checked+label{color:#fff}.m-form__input .prestashop-switch.switch a,.m-form__input .prestashop-switch.switch span span{display:none}.m-form__input .prestashop-switch.switch a{background-color:green;border:1px solid green;border-radius:50px;-webkit-box-shadow:inset -1px 0 green;-moz-box-shadow:inset 0 -1px 0 green;box-shadow:inset 0 -1px 0 green;color:#fff;display:block;height:100%;left:0;padding:0;position:absolute;top:0;-webkit-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out;width:50%;z-index:1}.m-form__input{align-items:center;display:flex}.m-form__input .prestashop-switch.switch input:last-of-type:checked~a{background-color:#ec5c29;border:1px solid #fb561c;-webkit-box-shadow:inset 0 -1px 0 #fb561c;-moz-box-shadow:inset 0 -1px 0 #fb561c;box-shadow:inset 0 -1px 0 #fb561c;left:50%}#list-component{background-color:#fff;max-height:200px;overflow:auto!important}#list-component #MuiScrol-listbox{max-height:none!important;overflow:visible}.css-k2lwa0,.css-svpvcz-MuiFormLabel-root-MuiInputLabel-root{background:#fff;font-size:14px!important}.rs-picker-default .rs-picker-toggle.rs-btn{padding-bottom:7px;padding-top:7px;width:282px}.rs-picker-default .rs-picker-toggle{border:1px solid #e5e5ea;color:#575757;cursor:pointer;display:inline-block;outline:none;padding-left:44px;padding-right:67px;position:relative;z-index:5}.rs-picker-toggle-caret{color:#8e8e93;display:inline-block;font-weight:400;margin-right:240px;position:absolute;right:12px;top:8px}.rs-picker-toolbar-right-btn-ok{background-color:#3498ff;border:none;border-radius:30px;color:#fff;cursor:pointer;font-size:14px;outline:0;padding:8px 12px;text-align:center;width:100px}.rs-picker-menu .rs-calendar .rs-calendar-table-cell-content{border-radius:21px;display:inline-block;padding-left:0;padding-right:0}.css-1xisk3n{background:#ebf4f8!important}.css-xpa0r5-MuiButtonBase-root-MuiIconButton-root{border-radius:4px!important}.calender h6,.calender p{font-size:11px!important}.calender .css-1fre31j,.calender .css-1j13ek9-MuiGrid-root{padding:0}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var material = require('@mui/material');
|
|
4
|
+
var styles = require('@mui/material/styles');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.keys(material).forEach(function (k) {
|
|
9
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return material[k]; }
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
Object.keys(styles).forEach(function (k) {
|
|
15
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return styles[k]; }
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=material-ui.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@mui/x-date-pickers";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@reduxjs/toolkit";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ReportHandler } from 'web-vitals';
|
|
2
|
-
declare const reportWebVitals: (onPerfEntry?: ReportHandler) => void;
|
|
3
|
-
export default reportWebVitals;
|
|
1
|
+
import { ReportHandler } from 'web-vitals';
|
|
2
|
+
declare const reportWebVitals: (onPerfEntry?: ReportHandler) => void;
|
|
3
|
+
export default reportWebVitals;
|
package/dist/setupTests.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
1
|
+
import '@testing-library/jest-dom';
|
package/dist/styles/theme.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ThemeOptions } from '@mui/material/styles';
|
|
2
|
-
interface CustomThemeOptions extends ThemeOptions {
|
|
3
|
-
callColors?: {
|
|
4
|
-
selectedTheme?: string;
|
|
5
|
-
themeButtonColor?: string;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
export declare const customTheme: CustomThemeOptions;
|
|
9
|
-
export default customTheme;
|
|
1
|
+
import { ThemeOptions } from '@mui/material/styles';
|
|
2
|
+
interface CustomThemeOptions extends ThemeOptions {
|
|
3
|
+
callColors?: {
|
|
4
|
+
selectedTheme?: string;
|
|
5
|
+
themeButtonColor?: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare const customTheme: CustomThemeOptions;
|
|
9
|
+
export default customTheme;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@tanstack/react-query";
|
package/dist/theme.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ThemeOptions } from '@mui/material/styles';
|
|
2
|
-
import './styles/main.scss';
|
|
3
|
-
interface CustomThemeOptions extends ThemeOptions {
|
|
4
|
-
callColors?: {
|
|
5
|
-
selectedTheme?: string;
|
|
6
|
-
themeButtonColor?: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare const customTheme: CustomThemeOptions;
|
|
10
|
-
export default customTheme;
|
|
1
|
+
import { ThemeOptions } from '@mui/material/styles';
|
|
2
|
+
import './styles/main.scss';
|
|
3
|
+
interface CustomThemeOptions extends ThemeOptions {
|
|
4
|
+
callColors?: {
|
|
5
|
+
selectedTheme?: string;
|
|
6
|
+
themeButtonColor?: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare const customTheme: CustomThemeOptions;
|
|
10
|
+
export default customTheme;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tp-react-elements-dev",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.7",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,6 +9,23 @@
|
|
|
9
9
|
"dist/*.css",
|
|
10
10
|
"dist/**/*.d.ts"
|
|
11
11
|
],
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/index.esm.js",
|
|
15
|
+
"require": "./dist/index.js",
|
|
16
|
+
"types": "./dist/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./material-ui": {
|
|
19
|
+
"import": "./dist/material-ui.esm.js",
|
|
20
|
+
"require": "./dist/material-ui.js",
|
|
21
|
+
"types": "./dist/material-ui.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./styles": {
|
|
24
|
+
"import": "./dist/styles.esm.js",
|
|
25
|
+
"require": "./dist/styles.js",
|
|
26
|
+
"types": "./dist/styles.d.ts"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
12
29
|
"dependencies": {
|
|
13
30
|
"@emotion/react": "^11.14.0",
|
|
14
31
|
"@emotion/styled": "^11.14.1",
|