@codezee/sixtify-brahma 0.2.187 → 0.2.189
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/package.json +2 -1
- package/packages/shared-components/dist/Drawer/CloseDrawer/CloseDrawerMenuItemList.js +2 -2
- package/packages/shared-components/dist/Drawer/CloseDrawer/Popper.d.ts.map +1 -1
- package/packages/shared-components/dist/Drawer/CloseDrawer/Popper.js +5 -1
- package/packages/shared-components/dist/Drawer/OpenDrawer/OpenDrawerMenuItemList.js +1 -1
- package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.d.ts +2 -2
- package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/Autocomplete/Autocomplete.js +1 -1
- package/packages/shared-components/dist/FormFields/Autocomplete/Skeleton.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/Autocomplete/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/DatePicker/DatePicker.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/DatePicker/DatePicker.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/DatePicker/Skeleton.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/DatePicker/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/DateTimePicker/DateTimePicker.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/DateTimePicker/DateTimePicker.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/DateTimePicker/Skeleton.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/DateTimePicker/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/DecimalTextField/DecimalTextField.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/DecimalTextField/DecimalTextField.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.d.ts +3 -1
- package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.js +5 -30
- package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.styled.d.ts +10 -0
- package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.styled.d.ts.map +1 -0
- package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.styled.js +214 -0
- package/packages/shared-components/dist/FormFields/PhoneInputField/Skeleton.d.ts +3 -1
- package/packages/shared-components/dist/FormFields/PhoneInputField/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/PhoneInputField/Skeleton.js +2 -2
- package/packages/shared-components/dist/FormFields/RadioGroupField/RadioGroupField.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/RadioGroupField/RadioGroupField.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/RadioGroupField/RadioGroupField.js +24 -16
- package/packages/shared-components/dist/FormFields/Select/Select.d.ts +2 -2
- package/packages/shared-components/dist/FormFields/Select/Select.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/TextField/Skeleton.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/TextField/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/TextField/TextField.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/TextField/TextField.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/TimeField/Skeleton.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/TimeField/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/TimeField/TimeField.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/TimeField/TimeField.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/TimePicker/Skeleton.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/TimePicker/Skeleton.d.ts.map +1 -1
- package/packages/shared-components/dist/FormFields/TimePicker/TimePicker.d.ts +2 -1
- package/packages/shared-components/dist/FormFields/TimePicker/TimePicker.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.d.ts +2 -1
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/CellRenderer.js +12 -11
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/FacetedFilter.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/FacetedFilter.js +17 -34
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/VirtualCheckboxList.d.ts +2 -2
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/VirtualCheckboxList.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/FacetedFilter/VirtualCheckboxList.js +21 -5
- package/packages/shared-components/dist/SmartGrid/Components/FilterStatusPanel.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/FilterStatusPanel.js +13 -6
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts +10 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupAreaOverlay.js +82 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupChip.d.ts +10 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupChip.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupChip.js +73 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedColumn.d.ts +8 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedColumn.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedColumn.js +64 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedPanel.d.ts +10 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedPanel.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/Components/Grouped/GroupedPanel.js +53 -0
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderCell.d.ts +2 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderCell.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderCell.js +2 -2
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/DraggableHeaderGroupRows.js +12 -8
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.d.ts +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/HeaderCells/HeaderCell.js +47 -27
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/DateRangeInput.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/DateRangeInput.js +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/DateRangeInput/StyleDateRangeWrapper.js +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/GetRenderInputs.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/SearchFilterRow/SearchFilterRow.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/TableFooterComponent/TableFooterComponent.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.d.ts +3 -2
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/Components/TableRowComponent.js +75 -57
- package/packages/shared-components/dist/SmartGrid/SmartGrid.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/SmartGrid.js +103 -47
- package/packages/shared-components/dist/SmartGrid/hooks/useGetColumnWidth.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetFacetedFilter.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetGroupedColumn.d.ts +18 -6
- package/packages/shared-components/dist/SmartGrid/hooks/useGetGroupedColumn.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetGroupedColumn.js +160 -6
- package/packages/shared-components/dist/SmartGrid/hooks/useGetPinningColumns.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetRowSelection.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetSortedColumn.d.ts +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetSortedColumn.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useGetSortedColumn.js +1 -2
- package/packages/shared-components/dist/SmartGrid/hooks/useProcessColumnsForGroupDisplay.d.ts +11 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useProcessColumnsForGroupDisplay.d.ts.map +1 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useProcessColumnsForGroupDisplay.js +30 -0
- package/packages/shared-components/dist/SmartGrid/hooks/useTableState.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/hooks/useTableState.js +51 -4
- package/packages/shared-components/dist/SmartGrid/utils/helper.d.ts +1 -0
- package/packages/shared-components/dist/SmartGrid/utils/helper.d.ts.map +1 -1
- package/packages/shared-components/dist/SmartGrid/utils/helper.js +7 -5
- package/packages/shared-components/dist/SmartGrid/utils/summaryCalculations.d.ts.map +1 -1
- package/packages/shared-components/dist/utils/theme/colorPalette.js +3 -3
- package/packages/shared-components/dist/utils/types.d.ts +1 -0
- package/packages/shared-components/dist/utils/types.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codezee/sixtify-brahma",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.189",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/hardikranpariya/sixtify-brahma.git"
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
"gh-pages": "^6.3.0",
|
|
125
125
|
"html2canvas": "^1.4.1",
|
|
126
126
|
"i18next": "^23.12.1",
|
|
127
|
+
"iconoir-react": "^7.11.0",
|
|
127
128
|
"jszip": "^3.10.1",
|
|
128
129
|
"lodash": "^4.17.21",
|
|
129
130
|
"luxon": "^3.4.4",
|
|
@@ -30,7 +30,7 @@ const CloseDrawerMenuItemList = ({ menuItems, currentPathname, anchorEl, setAnch
|
|
|
30
30
|
const { onClick, key: key1, icon, menuItems = [] } = menuItem;
|
|
31
31
|
const handleClick = (target) => {
|
|
32
32
|
if (onClick) {
|
|
33
|
-
if (key1 === "
|
|
33
|
+
if (key1 === "") {
|
|
34
34
|
onClick("/", target);
|
|
35
35
|
return;
|
|
36
36
|
}
|
|
@@ -41,7 +41,7 @@ const CloseDrawerMenuItemList = ({ menuItems, currentPathname, anchorEl, setAnch
|
|
|
41
41
|
if (menuItems.length > 0) {
|
|
42
42
|
setAnchorEl(event.currentTarget);
|
|
43
43
|
setCurrentMenuItem(menuItem);
|
|
44
|
-
setCurrentMenuIndex(i);
|
|
44
|
+
setCurrentMenuIndex(i + 1);
|
|
45
45
|
}
|
|
46
46
|
else {
|
|
47
47
|
handleClose();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../src/Drawer/CloseDrawer/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,KAAK,oBAAoB,GAAG;IAC1B,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,MAAM,GAAI,iDAKpB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"Popper.d.ts","sourceRoot":"","sources":["../../../src/Drawer/CloseDrawer/Popper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiC,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,KAAK,oBAAoB,GAAG;IAC1B,gBAAgB,EAAE,MAAM,CAAC;CAC1B,GAAG,iBAAiB,CAAC,WAAW,CAAC,CAAC;AAEnC,eAAO,MAAM,MAAM,GAAI,iDAKpB,oBAAoB,4CAkCtB,CAAC"}
|
|
@@ -12,7 +12,7 @@ const Popper = ({ open, anchorEl, children, currentMenuIndex, }) => {
|
|
|
12
12
|
options: {
|
|
13
13
|
offset: [
|
|
14
14
|
currentMenuIndex ? 79 : 203,
|
|
15
|
-
currentMenuIndex ? currentMenuIndex * 43.5 +
|
|
15
|
+
currentMenuIndex ? currentMenuIndex * 43.5 + 37 : -40,
|
|
16
16
|
],
|
|
17
17
|
},
|
|
18
18
|
},
|
|
@@ -20,6 +20,10 @@ const Popper = ({ open, anchorEl, children, currentMenuIndex, }) => {
|
|
|
20
20
|
background: mirage[900],
|
|
21
21
|
width: "203px",
|
|
22
22
|
zIndex: 1300,
|
|
23
|
+
// need to add important to override the default MUI styles
|
|
24
|
+
inset: !currentMenuIndex
|
|
25
|
+
? "1px 0px auto auto !important"
|
|
26
|
+
: "0px auto auto 0px !important",
|
|
23
27
|
}, children: children }));
|
|
24
28
|
};
|
|
25
29
|
exports.Popper = Popper;
|
|
@@ -90,7 +90,7 @@ const MenuItemRecursive = ({ menuItem, level = 0, parentPath = "", subMenusOpen,
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
else if (onClick && !isMenuSelected) {
|
|
93
|
-
const path = key === "
|
|
93
|
+
const path = key === "" ? "/" : `/${currentPath}`;
|
|
94
94
|
onClick(path, target);
|
|
95
95
|
}
|
|
96
96
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AutocompleteValue, AutocompleteProps as MuiAutocompleteProps, StackProps } from "@mui/material";
|
|
2
2
|
import { type ControllerRenderProps, type FieldValues, type UseControllerProps, type UseFormSetValue } from "react-hook-form";
|
|
3
3
|
import { type NavigationKey } from "../../utils/hooks/useFormFieldFocus";
|
|
4
|
-
import type { OnAction } from "../../utils/types";
|
|
4
|
+
import type { OnAction, Styling } from "../../utils/types";
|
|
5
5
|
export type Option = {
|
|
6
6
|
heading?: string;
|
|
7
7
|
label: string;
|
|
@@ -37,7 +37,7 @@ export type AutocompleteProps<P extends FieldValues> = UseControllerProps<P> & O
|
|
|
37
37
|
disableClearable?: boolean;
|
|
38
38
|
setValue?: UseFormSetValue<P>;
|
|
39
39
|
containerProps?: StackProps;
|
|
40
|
-
styling?:
|
|
40
|
+
styling?: Styling;
|
|
41
41
|
disabledAction?: boolean;
|
|
42
42
|
navigationKey?: NavigationKey;
|
|
43
43
|
customOnChange?: (selected: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,IAAI,oBAAoB,EACzC,UAAU,EACX,MAAM,eAAe,CAAC;AA0BvB,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAEhB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AAMzB,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,iBAAiB,EACjB,iBAAiB,IAAI,oBAAoB,EACzC,UAAU,EACX,MAAM,eAAe,C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,EACR,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,SAAiB,EACjB,aAAa,EACb,gBAA0C,EAC1C,cAAc,EACd,QAAQ,EACR,SAAa,EACb,OAAkB,EAClB,aAAqB,EACrB,cAAc,EACd,cAAsB,EACtB,GAAG,SAAS,EACb,EAAE,iBAAiB,CAAC,CAAC,CAAC,2CAo0BtB"}
|
|
@@ -327,7 +327,7 @@ function Autocomplete({ control, defaultValue, name, required = false, label, mu
|
|
|
327
327
|
onAction?.();
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
|
-
const actionIconElement = actionIcon ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, { tabIndex: isDisabledAction ? -1 : 0, onClick: handleActionClick, onMouseDown: handleMouseDown, onKeyDown: handleKeyDown, sx: {
|
|
330
|
+
const actionIconElement = actionIcon ? ((0, jsx_runtime_1.jsx)(material_1.IconButton, { tabIndex: isDisabledAction ? -1 : 0, onClick: handleActionClick, disabled: isDisabledAction, onMouseDown: handleMouseDown, onKeyDown: handleKeyDown, sx: {
|
|
331
331
|
width: "28px",
|
|
332
332
|
height: "28px",
|
|
333
333
|
margin: "0px",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { Styling } from "../../utils/types";
|
|
1
2
|
type SkeletonProps = {
|
|
2
3
|
label?: string;
|
|
3
|
-
styling:
|
|
4
|
+
styling: Styling;
|
|
4
5
|
};
|
|
5
6
|
export declare const Skeleton: ({ label, styling }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Autocomplete/Skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/Autocomplete/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,eAAO,MAAM,QAAQ,GAAI,oBAAoB,aAAa,4CAoBzD,CAAC"}
|
|
@@ -4,6 +4,7 @@ import type { DateView, PickerValidDate } from "@mui/x-date-pickers/models";
|
|
|
4
4
|
import React from "react";
|
|
5
5
|
import type { FieldError, FieldValues, UseControllerProps } from "react-hook-form";
|
|
6
6
|
import { type NavigationKey } from "../../utils/hooks/useFormFieldFocus";
|
|
7
|
+
import type { Styling } from "../../utils/types";
|
|
7
8
|
export type DatePickerProps<P extends FieldValues> = UseControllerProps<P> & MuiDatePickerProps<PickerValidDate> & Partial<{
|
|
8
9
|
label?: string;
|
|
9
10
|
required: boolean;
|
|
@@ -21,7 +22,7 @@ export type DatePickerProps<P extends FieldValues> = UseControllerProps<P> & Mui
|
|
|
21
22
|
message?: string;
|
|
22
23
|
}) => void;
|
|
23
24
|
containerProps?: StackProps;
|
|
24
|
-
styling?:
|
|
25
|
+
styling?: Styling;
|
|
25
26
|
navigationKey?: NavigationKey;
|
|
26
27
|
}>;
|
|
27
28
|
export declare const dateFormats: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA+B,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAC7E,OAAO,KAAK,EAAE,eAAe,IAAI,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAE5F,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAG5E,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCA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EAAE,UAAU,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC,CAAC;AAEL,eAAO,MAAM,WAAW;;;CAGvB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAcjC,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAclC,CAAC;AAEF,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,EAAE,EAChD,QAAQ,EACR,OAAO,EACP,YAAY,EACZ,QAAgB,EAChB,KAAK,EACL,QAAgB,EAChB,IAAI,EACJ,KAAa,EACb,UAAU,EACV,OAAe,EACf,QAAgB,EAChB,SAAmC,EACnC,KAAK,EACL,oBAA4B,EAC5B,gBAAwB,EACxB,KAAgC,EAChC,MAAqC,EACrC,cAAc,EACd,OAAkB,EAClB,aAAqB,EACrB,GAAG,SAAS,EACb,EAAE,eAAe,CAAC,CAAC,CAAC,2CAkOpB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { Styling } from "../../utils/types";
|
|
1
2
|
type SkeletonProps = {
|
|
2
3
|
label?: string;
|
|
3
|
-
styling:
|
|
4
|
+
styling: Styling;
|
|
4
5
|
};
|
|
5
6
|
export declare const Skeleton: ({ label, styling }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DatePicker/Skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DatePicker/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,oBAAoB,aAAa,4CAqBzD,CAAC"}
|
|
@@ -3,6 +3,7 @@ import type { PickerValidDate } from "@mui/x-date-pickers/models";
|
|
|
3
3
|
import { type ReactElement } from "react";
|
|
4
4
|
import type { FieldError, FieldValues, UseControllerProps } from "react-hook-form";
|
|
5
5
|
import { type NavigationKey } from "../../utils/hooks/useFormFieldFocus";
|
|
6
|
+
import type { Styling } from "../../utils/types";
|
|
6
7
|
export type DateTimePickerProps<P extends FieldValues> = UseControllerProps<P> & MuiDateTimePickerProps<PickerValidDate> & Partial<{
|
|
7
8
|
label: string;
|
|
8
9
|
required: boolean;
|
|
@@ -19,7 +20,7 @@ export type DateTimePickerProps<P extends FieldValues> = UseControllerProps<P> &
|
|
|
19
20
|
type: string;
|
|
20
21
|
message?: string;
|
|
21
22
|
}) => void;
|
|
22
|
-
styling?:
|
|
23
|
+
styling?: Styling;
|
|
23
24
|
navigationKey?: NavigationKey;
|
|
24
25
|
}>;
|
|
25
26
|
export declare function DateTimePicker<P extends FieldValues>({ control, defaultValue, disabled, label, readOnly, name, error, helperText, loading, required, clearable, rules, format, helperIcon, toolTipText, timeStepsMinutes, styling, navigationKey, ...restProps }: DateTimePickerProps<P>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DateTimePicker/DateTimePicker.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,IAAI,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAExG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAElE,OAAc,EAAY,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EAGX,kBAAkB,EACnB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EAEL,KAAK,aAAa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AE,aAAa,CAAC;CAC/B,CAAC,CAAC;AAwCL,wBAAgB,cAAc,CAAC,CAAC,SAAS,WAAW,EAAE,EACpD,OAAO,EACP,YAAY,EACZ,QAAgB,EAChB,KAAK,EACL,QAAgB,EAChB,IAAI,EACJ,KAAa,EACb,UAAU,EACV,OAAe,EACf,QAAgB,EAChB,SAAmC,EACnC,KAAK,EACL,MAA2B,EAC3B,UAAU,EACV,WAAW,EACX,gBAAoB,EACpB,OAAkB,EAClB,aAAqB,EACrB,GAAG,SAAS,EACb,EAAE,mBAAmB,CAAC,CAAC,CAAC,2CAwOxB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import type { Styling } from "../../utils/types";
|
|
1
2
|
type SkeletonProps = {
|
|
2
3
|
label?: string;
|
|
3
|
-
styling:
|
|
4
|
+
styling: Styling;
|
|
4
5
|
};
|
|
5
6
|
export declare const Skeleton: ({ label, styling }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DateTimePicker/Skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DateTimePicker/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,aAAa,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,oBAAoB,aAAa,4CAqBzD,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { type TextFieldProps as MuiTextFieldProps, type StackProps } from "@mui/material";
|
|
2
2
|
import type { FieldValues, UseControllerProps } from "react-hook-form";
|
|
3
3
|
import { type NavigationKey } from "../../utils/hooks/useFormFieldFocus";
|
|
4
|
+
import type { Styling } from "../../utils/types";
|
|
4
5
|
export type DecimalTextFieldProps<P extends FieldValues> = UseControllerProps<P> & Omit<MuiTextFieldProps, keyof UseControllerProps<P> | "type" | "value" | "onChange"> & {
|
|
5
6
|
label?: string;
|
|
6
7
|
loading?: boolean;
|
|
7
8
|
containerProps?: StackProps;
|
|
8
|
-
styling?:
|
|
9
|
+
styling?: Styling;
|
|
9
10
|
infoMessage?: React.ReactNode;
|
|
10
11
|
decimalScale: number;
|
|
11
12
|
defaultFallbackValue?: number;
|
package/packages/shared-components/dist/FormFields/DecimalTextField/DecimalTextField.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DecimalTextField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DecimalTextField/DecimalTextField.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,cAAc,IAAI,iBAAiB,EACxC,KAAK,UAAU,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAIvE,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"DecimalTextField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/DecimalTextField/DecimalTextField.tsx"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,cAAc,IAAI,iBAAiB,EACxC,KAAK,UAAU,EAChB,MAAM,eAAe,CAAC;AAEvB,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAIvE,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAM7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,WAAW,IACrD,kBAAkB,CAAC,CAAC,CAAC,GACnB,IAAI,CACF,iBAAiB,EACjB,MAAM,kBAAkB,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAC5D,GAAG;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAEN,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,WAAW,EAAE,EACtD,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,oBAAwB,EACxB,GAAG,EACH,GAAG,EACH,YAAY,EACZ,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,OAAe,EACf,WAAgB,EAChB,cAAc,EACd,OAAkB,EAClB,WAAW,EACX,cAAc,EACd,aAAqB,EACrB,GAAG,SAAS,EACb,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAsW1B"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type ControllerRenderProps, type FieldValues, type UseControllerProps } from "react-hook-form";
|
|
2
2
|
import type { PhoneInputProps } from "react-phone-input-2";
|
|
3
3
|
import { type NavigationKey } from "../../utils/hooks/useFormFieldFocus";
|
|
4
|
+
import type { Styling } from "../../utils/types";
|
|
4
5
|
export type PhoneInputFieldProps<P extends FieldValues> = UseControllerProps<P> & Omit<PhoneInputProps, keyof ControllerRenderProps<P>> & {
|
|
5
6
|
label?: string;
|
|
6
7
|
loading?: boolean;
|
|
@@ -9,6 +10,7 @@ export type PhoneInputFieldProps<P extends FieldValues> = UseControllerProps<P>
|
|
|
9
10
|
error?: boolean;
|
|
10
11
|
helperText?: string;
|
|
11
12
|
navigationKey?: NavigationKey;
|
|
13
|
+
styling?: Styling;
|
|
12
14
|
};
|
|
13
|
-
export declare function PhoneInputField<P extends FieldValues>({ control, name, defaultValue, rules, label, disabled, required, rows, loading, placeholder, error, helperText, navigationKey, ...phoneInputProps }: PhoneInputFieldProps<P>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare function PhoneInputField<P extends FieldValues>({ control, name, defaultValue, rules, label, disabled, required, rows, loading, placeholder, error, helperText, navigationKey, styling, ...phoneInputProps }: PhoneInputFieldProps<P>): import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
//# sourceMappingURL=PhoneInputField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneInputField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/PhoneInputField/PhoneInputField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAG7C,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,WAAW,IACpD,kBAAkB,CAAC,CAAC,CAAC,GACnB,IAAI,CAAC,eAAe,EAAE,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC,GAAG;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"PhoneInputField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/PhoneInputField/PhoneInputField.tsx"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAG7C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,WAAW,IACpD,kBAAkB,CAAC,CAAC,CAAC,GACnB,IAAI,CAAC,eAAe,EAAE,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC,GAAG;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEN,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,EAAE,EACrD,OAAO,EACP,IAAI,EACJ,YAAY,EACZ,KAAK,EACL,KAAK,EACL,QAAgB,EAChB,QAAQ,EACR,IAAI,EACJ,OAAe,EACf,WAAgB,EAChB,KAAK,EACL,UAAU,EACV,aAAqB,EACrB,OAAkB,EAClB,GAAG,eAAe,EACnB,EAAE,oBAAoB,CAAC,CAAC,CAAC,2CAkMzB"}
|
|
@@ -11,10 +11,11 @@ const react_1 = require("react");
|
|
|
11
11
|
const react_hook_form_1 = require("react-hook-form");
|
|
12
12
|
const react_phone_input_2_1 = __importDefault(require("react-phone-input-2"));
|
|
13
13
|
const useFormFieldFocus_1 = require("../../utils/hooks/useFormFieldFocus");
|
|
14
|
+
const PhoneInputField_styled_1 = require("./PhoneInputField.styled");
|
|
14
15
|
const Skeleton_1 = require("./Skeleton");
|
|
15
|
-
function PhoneInputField({ control, name, defaultValue, rules, label, disabled = false, required, rows, loading = false, placeholder = "", error, helperText, navigationKey = "tab", ...phoneInputProps }) {
|
|
16
|
+
function PhoneInputField({ control, name, defaultValue, rules, label, disabled = false, required, rows, loading = false, placeholder = "", error, helperText, navigationKey = "tab", styling = "custom", ...phoneInputProps }) {
|
|
16
17
|
const theme = (0, material_1.useTheme)();
|
|
17
|
-
const { iron, red,
|
|
18
|
+
const { iron, red, slate } = theme.palette.app.color;
|
|
18
19
|
const { field: { value, onChange, ...restField }, } = (0, react_hook_form_1.useController)({
|
|
19
20
|
name,
|
|
20
21
|
control,
|
|
@@ -84,35 +85,9 @@ function PhoneInputField({ control, name, defaultValue, rules, label, disabled =
|
|
|
84
85
|
};
|
|
85
86
|
}, [setInputRef, restField, disabled]);
|
|
86
87
|
if (loading) {
|
|
87
|
-
return (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { label: label, rows: rows });
|
|
88
|
+
return (0, jsx_runtime_1.jsx)(Skeleton_1.Skeleton, { label: label, rows: rows, styling: styling });
|
|
88
89
|
}
|
|
89
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "4px", children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "5px", children: [label && ((0, jsx_runtime_1.jsx)(material_1.InputLabel, { required: required, disabled: disabled, children: label })), (0, jsx_runtime_1.jsx)(
|
|
90
|
-
"& .phone-input-container": {
|
|
91
|
-
...(disabled
|
|
92
|
-
? {}
|
|
93
|
-
: {
|
|
94
|
-
"&:focus-within": {
|
|
95
|
-
border: `2px solid ${butterflyBlue[900]} !important`,
|
|
96
|
-
},
|
|
97
|
-
}),
|
|
98
|
-
},
|
|
99
|
-
"& .phone-input-field": {
|
|
100
|
-
...(disabled
|
|
101
|
-
? {}
|
|
102
|
-
: {
|
|
103
|
-
"&:focus": {
|
|
104
|
-
"& ~ .flag-dropdown": {
|
|
105
|
-
borderColor: error ? red[900] : butterflyBlue[900],
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
}),
|
|
109
|
-
},
|
|
110
|
-
"& .flag-dropdown": {
|
|
111
|
-
"&.open": {
|
|
112
|
-
borderColor: error ? red[900] : butterflyBlue[900],
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
}, children: (0, jsx_runtime_1.jsx)(react_phone_input_2_1.default, { country: "in", enableSearch: true, disabled: disabled, placeholder: placeholder || label, onChange: (phone) => {
|
|
90
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "4px", children: [(0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "5px", children: [label && styling === "custom" && ((0, jsx_runtime_1.jsx)(material_1.InputLabel, { required: required, disabled: disabled, children: label })), (0, jsx_runtime_1.jsx)(PhoneInputField_styled_1.PhoneInputWrapper, { ref: containerRef, styling: styling, error: error, className: styling === "custom" ? "custom_phone_input" : "default_phone_input", children: (0, jsx_runtime_1.jsx)(react_phone_input_2_1.default, { country: "in", enableSearch: true, disabled: disabled, specialLabel: label ?? "", placeholder: placeholder || label, onChange: (phone) => {
|
|
116
91
|
onChange(phone);
|
|
117
92
|
}, value: value, onBlur: () => {
|
|
118
93
|
restField.onBlur();
|
package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.styled.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type BoxProps } from "@mui/material";
|
|
2
|
+
import type { ComponentType } from "react";
|
|
3
|
+
import type { Styling } from "../../utils/types";
|
|
4
|
+
type PhoneInputWrapperProps = BoxProps & {
|
|
5
|
+
styling?: Styling;
|
|
6
|
+
error?: boolean;
|
|
7
|
+
};
|
|
8
|
+
export declare const PhoneInputWrapper: ComponentType<PhoneInputWrapperProps>;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=PhoneInputField.styled.d.ts.map
|
package/packages/shared-components/dist/FormFields/PhoneInputField/PhoneInputField.styled.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PhoneInputField.styled.d.ts","sourceRoot":"","sources":["../../../src/FormFields/PhoneInputField/PhoneInputField.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,QAAQ,EAAkB,MAAM,eAAe,CAAC;AAC3E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,sBAAsB,GAAG,QAAQ,GAAG;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,sBAAsB,CAuNlE,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PhoneInputWrapper = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
exports.PhoneInputWrapper = (0, material_1.styled)(material_1.Box)(({ styling, theme, error }) => {
|
|
6
|
+
const baseStyles = {
|
|
7
|
+
position: "relative",
|
|
8
|
+
};
|
|
9
|
+
const { red, butterflyBlue, iron, slate, black } = theme.palette.app.color;
|
|
10
|
+
if (styling === "custom") {
|
|
11
|
+
return {
|
|
12
|
+
...baseStyles,
|
|
13
|
+
"&.custom_phone_input": {
|
|
14
|
+
"& .phone-input-container": {
|
|
15
|
+
"&:focus-within": {
|
|
16
|
+
border: `2px solid ${butterflyBlue[900]} !important`,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
"& .phone-input-field": {
|
|
20
|
+
padding: "8.5px 50px 8.5px 30px",
|
|
21
|
+
"&:focus": {
|
|
22
|
+
"& ~ .flag-dropdown": {
|
|
23
|
+
borderColor: error ? red[900] : butterflyBlue[900],
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
"& .flag-dropdown": {
|
|
28
|
+
"&.open": {
|
|
29
|
+
borderColor: error ? red[900] : butterflyBlue[900],
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
"&.default_phone_input": {
|
|
37
|
+
"& .react-tel-input": {
|
|
38
|
+
"& .form-control": {
|
|
39
|
+
fontSize: "16px",
|
|
40
|
+
background: iron[600],
|
|
41
|
+
border: `1px solid ${slate[100]}`,
|
|
42
|
+
borderRadius: "5px",
|
|
43
|
+
width: "300px",
|
|
44
|
+
outline: "none",
|
|
45
|
+
padding: "18.5px 14px 18.5px 58px",
|
|
46
|
+
transition: "box-shadow ease .25s, border-color ease .25s",
|
|
47
|
+
"&:focus": {
|
|
48
|
+
borderColor: butterflyBlue[900],
|
|
49
|
+
boxShadow: `0 0 0 2px ${butterflyBlue[900]}`,
|
|
50
|
+
},
|
|
51
|
+
"&.invalid-number": {
|
|
52
|
+
border: `1px solid ${red[900]}`,
|
|
53
|
+
"&:focus": {
|
|
54
|
+
boxShadow: `0 0 0 2px ${red[900]}`,
|
|
55
|
+
},
|
|
56
|
+
"&+div:before": {
|
|
57
|
+
content: "'Error'",
|
|
58
|
+
display: "none",
|
|
59
|
+
color: `${red[900]}`,
|
|
60
|
+
width: "27px",
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
"& .flag-dropdown": {
|
|
65
|
+
position: "absolute",
|
|
66
|
+
top: "0",
|
|
67
|
+
bottom: "0",
|
|
68
|
+
padding: "0",
|
|
69
|
+
backgroundColor: iron[600],
|
|
70
|
+
borderRadius: "3px 0 0 3px",
|
|
71
|
+
"&:hover, &:focus": {
|
|
72
|
+
cursor: "pointer",
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
"& input[disabled]": {
|
|
76
|
+
"&+.flag-dropdown": {
|
|
77
|
+
"&:hover": {
|
|
78
|
+
cursor: "default",
|
|
79
|
+
borderColor: slate[100],
|
|
80
|
+
"& .selected-flag": {
|
|
81
|
+
backgroundColor: "transparent",
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
"& .selected-flag": {
|
|
87
|
+
outline: "none",
|
|
88
|
+
position: "relative",
|
|
89
|
+
height: "100%",
|
|
90
|
+
padding: "0 0 0 8px",
|
|
91
|
+
borderRadius: "3px 0 0 3px",
|
|
92
|
+
"&:focus": {
|
|
93
|
+
"& .arrow": {
|
|
94
|
+
borderLeftWidth: "4px",
|
|
95
|
+
borderRightWidth: "4px",
|
|
96
|
+
borderTop: `5px solid ${butterflyBlue[900]}`,
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
"& .flag": {
|
|
100
|
+
position: "absolute",
|
|
101
|
+
top: "50%",
|
|
102
|
+
marginTop: "-6px",
|
|
103
|
+
},
|
|
104
|
+
"& .arrow": {
|
|
105
|
+
position: "relative",
|
|
106
|
+
top: "50%",
|
|
107
|
+
marginTop: "-1px",
|
|
108
|
+
width: "0",
|
|
109
|
+
height: "0",
|
|
110
|
+
borderLeft: "3px solid transparent",
|
|
111
|
+
borderRight: "3px solid transparent",
|
|
112
|
+
borderTop: "4px solid #555",
|
|
113
|
+
"&.up": {
|
|
114
|
+
borderTop: "none",
|
|
115
|
+
borderBottom: "4px solid #555",
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
"& .country-list": {
|
|
120
|
+
outline: "none",
|
|
121
|
+
zIndex: 1,
|
|
122
|
+
listStyle: "none",
|
|
123
|
+
position: "absolute",
|
|
124
|
+
padding: "0",
|
|
125
|
+
margin: "10px 0 10px -1px",
|
|
126
|
+
boxShadow: `1px 2px 18px ${black[900]}`,
|
|
127
|
+
backgroundColor: "white",
|
|
128
|
+
width: "300px",
|
|
129
|
+
maxHeight: "220px",
|
|
130
|
+
overflowY: "scroll",
|
|
131
|
+
borderRadius: "7px",
|
|
132
|
+
"& .flag": {
|
|
133
|
+
display: "inline-block",
|
|
134
|
+
position: "absolute",
|
|
135
|
+
left: "13px",
|
|
136
|
+
top: "8px",
|
|
137
|
+
marginRight: "7px",
|
|
138
|
+
marginTop: "2px",
|
|
139
|
+
},
|
|
140
|
+
"& .divider": {
|
|
141
|
+
paddingBottom: "5px",
|
|
142
|
+
marginBottom: "5px",
|
|
143
|
+
borderBottom: "1px solid #ccc",
|
|
144
|
+
},
|
|
145
|
+
"& .country": {
|
|
146
|
+
position: "relative",
|
|
147
|
+
padding: "12px 9px 13px 46px",
|
|
148
|
+
"& .dial-code": {
|
|
149
|
+
color: "#6b6b6b",
|
|
150
|
+
},
|
|
151
|
+
"&:hover": {
|
|
152
|
+
backgroundColor: "hsl(0, 0.00%, 94.50%)",
|
|
153
|
+
},
|
|
154
|
+
"&.highlight": {
|
|
155
|
+
backgroundColor: slate[300],
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
"& .country-name": {
|
|
159
|
+
marginRight: "6px",
|
|
160
|
+
},
|
|
161
|
+
"& .search": {
|
|
162
|
+
zIndex: 2,
|
|
163
|
+
position: "sticky",
|
|
164
|
+
top: "0",
|
|
165
|
+
backgroundColor: "#fff",
|
|
166
|
+
padding: "10px 0 6px 10px",
|
|
167
|
+
},
|
|
168
|
+
"& .search-emoji": {
|
|
169
|
+
display: "none",
|
|
170
|
+
fontSize: "15px",
|
|
171
|
+
},
|
|
172
|
+
"& .search-box": {
|
|
173
|
+
border: `1px solid ${slate[100]}`,
|
|
174
|
+
borderRadius: "3px",
|
|
175
|
+
fontSize: "15px",
|
|
176
|
+
lineHeight: "15px",
|
|
177
|
+
marginLeft: "6px",
|
|
178
|
+
padding: "3px 8px 5px",
|
|
179
|
+
outline: "none",
|
|
180
|
+
"&:hover": {
|
|
181
|
+
borderColor: slate[50],
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
"& .no-entries-message": {
|
|
185
|
+
padding: "7px 10px 11px",
|
|
186
|
+
opacity: ".7",
|
|
187
|
+
},
|
|
188
|
+
},
|
|
189
|
+
"& .invalid-number-message": {
|
|
190
|
+
position: "absolute",
|
|
191
|
+
zIndex: 1,
|
|
192
|
+
fontSize: "13px",
|
|
193
|
+
left: "25px",
|
|
194
|
+
top: "-7px",
|
|
195
|
+
background: "#fff",
|
|
196
|
+
padding: "0 5px",
|
|
197
|
+
color: red[900],
|
|
198
|
+
},
|
|
199
|
+
"& .special-label": {
|
|
200
|
+
position: "absolute",
|
|
201
|
+
zIndex: 5,
|
|
202
|
+
top: "-7px",
|
|
203
|
+
left: "10px",
|
|
204
|
+
display: "block",
|
|
205
|
+
background: iron[600],
|
|
206
|
+
opacity: "0.8",
|
|
207
|
+
fontSize: "10.5px",
|
|
208
|
+
whiteSpace: "nowrap",
|
|
209
|
+
lineHeight: "1.1",
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
};
|
|
214
|
+
});
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import type { Styling } from "../../utils/types";
|
|
1
2
|
type SkeletonProps = {
|
|
2
3
|
rows?: number;
|
|
3
4
|
label?: string;
|
|
5
|
+
styling: Styling;
|
|
4
6
|
};
|
|
5
|
-
export declare const Skeleton: ({ rows, label }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const Skeleton: ({ rows, label, styling }: SkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
8
|
export {};
|
|
7
9
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/PhoneInputField/Skeleton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/FormFields/PhoneInputField/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAEjD,KAAK,aAAa,GAAG;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,0BAA0B,aAAa,4CAuB/D,CAAC"}
|
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Skeleton = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const material_1 = require("@mui/material");
|
|
6
|
-
const Skeleton = ({ rows, label }) => {
|
|
6
|
+
const Skeleton = ({ rows, label, styling }) => {
|
|
7
7
|
const height = rows === undefined ? 35.69 : rows * 26.5;
|
|
8
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "10px", children: [label && ((0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: 120, height: "18.69px", sx: {
|
|
8
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Stack, { gap: "10px", children: [label && styling === "custom" && ((0, jsx_runtime_1.jsx)(material_1.Skeleton, { width: 120, height: "18.69px", sx: {
|
|
9
9
|
transform: "scale(1)",
|
|
10
10
|
} })), (0, jsx_runtime_1.jsx)(material_1.Skeleton, { height: `${height}px`, sx: {
|
|
11
11
|
transform: "scale(1)",
|
|
@@ -19,7 +19,8 @@ export type RadioGroupFieldProps<P extends FieldValues> = UseControllerProps<P>
|
|
|
19
19
|
isHorizontal?: boolean;
|
|
20
20
|
containerProps?: StackProps;
|
|
21
21
|
navigationKey?: NavigationKey;
|
|
22
|
+
customOnChange?: (selected: Options) => void;
|
|
22
23
|
};
|
|
23
|
-
export declare function RadioGroupField<P extends FieldValues>({ name, rules, label, control, options, defaultValue, size, color, loading, required, direction, sx, containerProps, isHorizontal, navigationKey, ...restRadioButtonProps }: RadioGroupFieldProps<P>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function RadioGroupField<P extends FieldValues>({ name, rules, label, control, options, defaultValue, size, color, loading, required, direction, sx, containerProps, isHorizontal, navigationKey, customOnChange, ...restRadioButtonProps }: RadioGroupFieldProps<P>): import("react/jsx-runtime").JSX.Element;
|
|
24
25
|
export {};
|
|
25
26
|
//# sourceMappingURL=RadioGroupField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioGroupField.d.ts","sourceRoot":"","sources":["../../../src/FormFields/RadioGroupField/RadioGroupField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EAClB,KAAK,UAAU,EACf,KAAK,OAAO,EACb,MAAM,eAAe,CAAC;AACvB,OAAc,EAAE,KAAK,UAAU,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACxB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,qCAAqC,CAAC;AAG7C,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,WAAW,IACpD,kBAAkB,CAAC,CAAC,CAAC,GACnB,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,EAAE,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC,GAAG;IACrE,KA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