dhre-ui-kit 2.0.6 → 2.0.8
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/lib/index.d.ts +3 -1
- package/lib/index.js +39 -9
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +40 -10
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -422,9 +422,10 @@ interface CustomSearchBarProps extends TextInputProps {
|
|
|
422
422
|
value: string | undefined;
|
|
423
423
|
handlePress?: (event: GestureResponderEvent) => void;
|
|
424
424
|
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto' | undefined;
|
|
425
|
+
autoFocus?: boolean;
|
|
425
426
|
}
|
|
426
427
|
|
|
427
|
-
declare const CustomSearchBar: ({ value, height, disabled, testID, inputContainerStyle, searchIconStyle, crossIconStyle, inputStyle, onSearchIconPress, onCrossIconPress, handleOnChangeText, setValue, searchIcon, rightIcon, disableBorderColor, borderColor, disablePlaceHolderStyle, enablePlaceHolderStyle, handlePress, pointerEvents, ...props }: CustomSearchBarProps) => React$1.JSX.Element;
|
|
428
|
+
declare const CustomSearchBar: ({ value, height, disabled, testID, inputContainerStyle, searchIconStyle, crossIconStyle, inputStyle, onSearchIconPress, onCrossIconPress, handleOnChangeText, setValue, searchIcon, rightIcon, disableBorderColor, borderColor, disablePlaceHolderStyle, enablePlaceHolderStyle, handlePress, pointerEvents, autoFocus, ...props }: CustomSearchBarProps) => React$1.JSX.Element;
|
|
428
429
|
|
|
429
430
|
interface CustomHeaderProps {
|
|
430
431
|
title: string;
|
|
@@ -590,6 +591,7 @@ interface ScrollableListProps {
|
|
|
590
591
|
activeTab?: string;
|
|
591
592
|
errorStyle?: object;
|
|
592
593
|
activeTextStyle?: TextStyle;
|
|
594
|
+
enableTextWrap?: boolean;
|
|
593
595
|
}
|
|
594
596
|
declare const _default$7: (props: ScrollableListProps) => React$1.JSX.Element;
|
|
595
597
|
|
package/lib/index.js
CHANGED
|
@@ -274,7 +274,7 @@ const theme = {
|
|
|
274
274
|
},
|
|
275
275
|
[Theme.BORDER_SEPERATOR_HEADER]: {
|
|
276
276
|
light: "#E1E1E1",
|
|
277
|
-
dark: "#
|
|
277
|
+
dark: "#19394A"
|
|
278
278
|
},
|
|
279
279
|
[Theme.WARNING]: {
|
|
280
280
|
light: "#B65E01",
|
|
@@ -5280,6 +5280,8 @@ const NakheelLoader = {
|
|
|
5280
5280
|
"markers": []
|
|
5281
5281
|
};
|
|
5282
5282
|
|
|
5283
|
+
const NakheelLoaderDark = { "v": "5.9.0", "fr": 29.9700012207031, "ip": 0, "op": 35.0000014255792, "w": 1080, "h": 1080, "nm": "Nakheel Final", "ddd": 0, "assets": [], "layers": [{ "ddd": 0, "ind": 1, "ty": 4, "nm": "N", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [240.021, 540, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [14.65, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 3, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 11, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 21, "s": [410, 410, 100] }, { "t": 31.0000012626559, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-65.445, -15], [-65.445, 14.739], [-71.738, -15], [-85.001, -15], [-85.001, 14.997], [-78.204, 14.997], [-78.204, -14.742], [-71.868, 15], [-58.645, 15], [-58.645, -15]], "c": true }, "ix": 2 }, "nm": "Path 8", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 3.00000012219251, "op": 153.000006231818, "st": 4.00000016292334, "bm": 0 }, { "ddd": 0, "ind": 2, "ty": 4, "nm": "A", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [356.431, 540, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [42.144, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 6, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 14, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 24, "s": [410, 410, 100] }, { "t": 34.0000013848484, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-50.242, -15], [-56.451, 15], [-49.732, 15], [-48.507, 9.042], [-38.622, 9.042], [-37.4, 15], [-30.684, 15], [-36.896, -15]], "c": true }, "ix": 2 }, "nm": "Path 6", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ind": 1, "ty": "sh", "ix": 2, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0]], "v": [[-43.568, -14.742], [-39.767, 3.687], [-47.37, 3.687]], "c": true }, "ix": 2 }, "nm": "Path 7", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 4, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 6.00000024438501, "op": 156.00000635401, "st": 6.00000024438501, "bm": 0 }, { "ddd": 0, "ind": 3, "ty": 4, "nm": "K", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [469.856, 541, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [68.933, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 9, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 17, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 27, "s": [410, 410, 100] }, { "t": 37.0000015070409, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[-12.4, -15], [-20.975, 0.171], [-20.975, -15], [-28.493, -15], [-28.493, 15], [-20.974, 15], [-20.974, 3.47], [-16.327, 3.47], [-12.398, 14.997], [-4.797, 14.997], [-8.893, 2.956], [-15.016, 2.956], [-15.018, 2.959], [-4.839, -15]], "c": true }, "ix": 2 }, "nm": "Path 5", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 9.00000036657752, "op": 159.000006476203, "st": 9.00000036657752, "bm": 0 }, { "ddd": 0, "ind": 4, "ty": 4, "nm": "H", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [580.296, 540, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [95.017, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 12, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 20, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 30, "s": [410, 410, 100] }, { "t": 40.0000016292334, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[13.574, -15], [13.574, -3.303], [13.574, -3.298], [8.421, -3.298], [5.042, 2.23], [5.042, -15], [-2.477, -15], [-2.477, 15], [5.044, 15], [5.044, 2.572], [13.575, 2.572], [13.575, 15], [21.094, 15], [21.094, -15]], "c": true }, "ix": 2 }, "nm": "Path 4", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 12.00000048877, "op": 162.000006598395, "st": 12.00000048877, "bm": 0 }, { "ddd": 0, "ind": 5, "ty": 4, "nm": "E", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [686.258, 540, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [120.044, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 15, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 23, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 33, "s": [410, 410, 100] }, { "t": 43.0000017514259, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[24.725, -15], [24.725, 15], [43.433, 15], [43.433, 9.43], [32.243, 9.43], [32.243, 2.443], [41.195, 2.443], [41.195, -3.129], [35.41, -3.129], [32.243, 2.014], [32.243, -9.429], [43.433, -9.429], [43.433, -15]], "c": true }, "ix": 2 }, "nm": "Path 3", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 15.0000006109625, "op": 165.000006720588, "st": 15.0000006109625, "bm": 0 }, { "ddd": 0, "ind": 6, "ty": 4, "nm": "E", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [780.281, 540, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [142.251, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 18, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 26, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 36, "s": [410, 410, 100] }, { "t": 46.0000018736184, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[46.382, -15], [46.382, 15], [65.093, 15], [65.093, 9.43], [53.903, 9.43], [53.903, 2.443], [62.854, 2.443], [62.854, -3.129], [57.068, -3.129], [53.9, 2.014], [53.9, -9.429], [65.093, -9.429], [65.093, -15]], "c": true }, "ix": 2 }, "nm": "Path 2", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 18.000000733155, "op": 168.00000684278, "st": 18.000000733155, "bm": 0 }, { "ddd": 0, "ind": 7, "ty": 4, "nm": "L", "sr": 1, "ks": { "o": { "a": 0, "k": 100, "ix": 11 }, "r": { "a": 0, "k": 0, "ix": 10 }, "p": { "a": 0, "k": [866.842, 540, 0], "ix": 2, "l": 2 }, "a": { "a": 0, "k": [162.695, 15.5, 0], "ix": 1, "l": 2 }, "s": { "a": 1, "k": [{ "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 21, "s": [0, 0, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 29, "s": [440, 440, 100] }, { "i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] }, "o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] }, "t": 39, "s": [410, 410, 100] }, { "t": 49.0000019958109, "s": [423.4, 423.4, 100] }], "ix": 6, "l": 2 } }, "ao": 0, "shapes": [{ "ty": "gr", "it": [{ "ind": 0, "ty": "sh", "ix": 1, "ks": { "a": 0, "k": { "i": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "o": [[0, 0], [0, 0], [0, 0], [0, 0], [0, 0], [0, 0]], "v": [[68.049, -15], [68.049, 15], [85.001, 15], [85.001, 9.429], [75.57, 9.429], [75.57, -15]], "c": true }, "ix": 2 }, "nm": "Path 1", "mn": "ADBE Vector Shape - Group", "hd": false }, { "ty": "mm", "mm": 1, "nm": "Merge Paths 1", "mn": "ADBE Vector Filter - Merge", "hd": false }, { "ty": "fl", "c": { "a": 0, "k": [0, 0.149019607843, 0.227450995352, 1], "ix": 4 }, "o": { "a": 0, "k": 100, "ix": 5 }, "r": 1, "bm": 0, "nm": "Fill 1", "mn": "ADBE Vector Graphic - Fill", "hd": false }, { "ty": "tr", "p": { "a": 0, "k": [85.25, 15.25], "ix": 2 }, "a": { "a": 0, "k": [0, 0], "ix": 1 }, "s": { "a": 0, "k": [100, 100], "ix": 3 }, "r": { "a": 0, "k": 0, "ix": 6 }, "o": { "a": 0, "k": 100, "ix": 7 }, "sk": { "a": 0, "k": 0, "ix": 4 }, "sa": { "a": 0, "k": 0, "ix": 5 }, "nm": "Transform" }], "nm": "Group 1", "np": 3, "cix": 2, "bm": 0, "ix": 1, "mn": "ADBE Vector Group", "hd": false }], "ip": 21.0000008553475, "op": 171.000006964973, "st": 21.0000008553475, "bm": 0 }], "markers": [] };
|
|
5284
|
+
|
|
5283
5285
|
const CustomLoader = ({
|
|
5284
5286
|
loading,
|
|
5285
5287
|
brandName = "DP",
|
|
@@ -5310,7 +5312,7 @@ const CustomLoader = ({
|
|
|
5310
5312
|
LottieView__default["default"],
|
|
5311
5313
|
{
|
|
5312
5314
|
style: styles.loader,
|
|
5313
|
-
source: isDP ? DEFAULT_LOADER : isNakheel ? NakheelLoader : mode === "dark" ? LOADER_LIGHT : LOADER_DARK,
|
|
5315
|
+
source: isDP ? DEFAULT_LOADER : isNakheel ? mode !== "dark" ? NakheelLoaderDark : NakheelLoader : mode === "dark" ? LOADER_LIGHT : LOADER_DARK,
|
|
5314
5316
|
autoPlay: true,
|
|
5315
5317
|
loop: true
|
|
5316
5318
|
}
|
|
@@ -6806,6 +6808,7 @@ const CustomSearchBar = ({
|
|
|
6806
6808
|
enablePlaceHolderStyle = "#A7A7A7",
|
|
6807
6809
|
handlePress,
|
|
6808
6810
|
pointerEvents,
|
|
6811
|
+
autoFocus,
|
|
6809
6812
|
...props
|
|
6810
6813
|
}) => {
|
|
6811
6814
|
return /* @__PURE__ */ React__default["default"].createElement(
|
|
@@ -6850,7 +6853,8 @@ const CustomSearchBar = ({
|
|
|
6850
6853
|
setValue(val);
|
|
6851
6854
|
handleOnChangeText?.(val);
|
|
6852
6855
|
},
|
|
6853
|
-
pointerEvents
|
|
6856
|
+
pointerEvents,
|
|
6857
|
+
autoFocus
|
|
6854
6858
|
}
|
|
6855
6859
|
),
|
|
6856
6860
|
value && /* @__PURE__ */ React__default["default"].createElement(
|
|
@@ -7630,7 +7634,8 @@ const ScrollableList = ({
|
|
|
7630
7634
|
defaultItemTextColor = "CONTENT_SECONDRY",
|
|
7631
7635
|
activeTab,
|
|
7632
7636
|
errorStyle,
|
|
7633
|
-
activeTextStyle
|
|
7637
|
+
activeTextStyle,
|
|
7638
|
+
enableTextWrap
|
|
7634
7639
|
}) => {
|
|
7635
7640
|
const [selectedItem, setSelectedItem] = React.useState(
|
|
7636
7641
|
data && data.length > 0 ? data[0].name : null
|
|
@@ -7664,7 +7669,7 @@ const ScrollableList = ({
|
|
|
7664
7669
|
handleSelectCategory(item.name, item.value);
|
|
7665
7670
|
}
|
|
7666
7671
|
},
|
|
7667
|
-
/* @__PURE__ */ React__default["default"].createElement(
|
|
7672
|
+
/* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [enableTextWrap && styles.enableTextWrapStyle] }, /* @__PURE__ */ React__default["default"].createElement(
|
|
7668
7673
|
CustomText$1,
|
|
7669
7674
|
{
|
|
7670
7675
|
text: item.name,
|
|
@@ -7672,7 +7677,7 @@ const ScrollableList = ({
|
|
|
7672
7677
|
textColor: (activeTab ?? selectedItem) === item.name ? selectedItemTextColor : defaultItemTextColor,
|
|
7673
7678
|
style: (activeTab ?? selectedItem) === item.name ? activeTextStyle ? activeTextStyle : {} : {}
|
|
7674
7679
|
}
|
|
7675
|
-
),
|
|
7680
|
+
)),
|
|
7676
7681
|
item?.isError ? /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: [styles.errorViewStyle, errorStyle] }, item?.errorText ? /* @__PURE__ */ React__default["default"].createElement(
|
|
7677
7682
|
CustomText$1,
|
|
7678
7683
|
{
|
|
@@ -7700,7 +7705,12 @@ const createStyles$2 = (theme) => {
|
|
|
7700
7705
|
gap: 8,
|
|
7701
7706
|
padding: 12,
|
|
7702
7707
|
borderBottomWidth: 1,
|
|
7703
|
-
borderBottomColor: theme[Theme.BORDER_SEPERATOR_HEADER]
|
|
7708
|
+
borderBottomColor: theme[Theme.BORDER_SEPERATOR_HEADER],
|
|
7709
|
+
flexShrink: 1
|
|
7710
|
+
},
|
|
7711
|
+
enableTextWrapStyle: {
|
|
7712
|
+
flexShrink: 1,
|
|
7713
|
+
flexGrow: 1
|
|
7704
7714
|
},
|
|
7705
7715
|
selectedItem: {
|
|
7706
7716
|
borderBottomWidth: 2,
|
|
@@ -8003,10 +8013,27 @@ const CommonTextInput = (props) => {
|
|
|
8003
8013
|
secureTextEntry: isSecureTextEntry,
|
|
8004
8014
|
keyboardType,
|
|
8005
8015
|
theme: {
|
|
8016
|
+
...reactNativePaper.MD3LightTheme,
|
|
8006
8017
|
colors: {
|
|
8018
|
+
...reactNativePaper.MD3LightTheme.colors,
|
|
8007
8019
|
onSurfaceVariant: currentBorderColor,
|
|
8008
8020
|
error: errorMessage?.length || onlyErrorBorderLabel ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : currentBorderColor,
|
|
8009
8021
|
primary: errorMessage?.length || onlyErrorBorderLabel ? DHRE_DEFAULT.DH_SEMENTIC_ERROR : currentBorderColor
|
|
8022
|
+
},
|
|
8023
|
+
fonts: {
|
|
8024
|
+
...reactNativePaper.MD3LightTheme.fonts,
|
|
8025
|
+
bodyLarge: {
|
|
8026
|
+
...reactNativePaper.MD3LightTheme.fonts.bodyLarge,
|
|
8027
|
+
fontFamily: "Nakheel-TextRegular"
|
|
8028
|
+
},
|
|
8029
|
+
bodyMedium: {
|
|
8030
|
+
...reactNativePaper.MD3LightTheme.fonts.bodyMedium,
|
|
8031
|
+
fontFamily: "Nakheel-TextRegular"
|
|
8032
|
+
},
|
|
8033
|
+
labelLarge: {
|
|
8034
|
+
...reactNativePaper.MD3LightTheme.fonts.labelLarge,
|
|
8035
|
+
fontFamily: "Nakheel-TextRegular"
|
|
8036
|
+
}
|
|
8010
8037
|
}
|
|
8011
8038
|
},
|
|
8012
8039
|
style: [
|
|
@@ -8015,6 +8042,9 @@ const CommonTextInput = (props) => {
|
|
|
8015
8042
|
multiline && styles$9.multilineInput
|
|
8016
8043
|
// Apply multiline style if true
|
|
8017
8044
|
],
|
|
8045
|
+
contentStyle: {
|
|
8046
|
+
fontFamily: "Nakheel-TextRegular"
|
|
8047
|
+
},
|
|
8018
8048
|
maxLength,
|
|
8019
8049
|
textColor,
|
|
8020
8050
|
placeholder: placeholderText,
|
|
@@ -8174,7 +8204,7 @@ const CustomDropdown = (props) => {
|
|
|
8174
8204
|
dropdownPosition: "bottom",
|
|
8175
8205
|
renderItem,
|
|
8176
8206
|
itemTextStyle,
|
|
8177
|
-
containerStyle: menuContainerStyle,
|
|
8207
|
+
containerStyle: [{ marginTop: verticalScale(5) }, menuContainerStyle],
|
|
8178
8208
|
activeColor,
|
|
8179
8209
|
itemContainerStyle: [styles$8.itemListStyle, itemContainerStyle],
|
|
8180
8210
|
disable,
|
|
@@ -8417,7 +8447,7 @@ const createStyles = (theme) => {
|
|
|
8417
8447
|
alignItems: "center",
|
|
8418
8448
|
paddingVertical: 8,
|
|
8419
8449
|
paddingHorizontal: 12,
|
|
8420
|
-
borderRadius:
|
|
8450
|
+
borderRadius: 0,
|
|
8421
8451
|
marginHorizontal: 8
|
|
8422
8452
|
},
|
|
8423
8453
|
selectedTagButton: {
|