dhre-ui-kit 3.0.0 → 3.0.1
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/components/customIcon/CustomIcon.interface.d.ts +2 -1
- package/lib/components/dateRangePicker/DateRangePicker.styles.d.ts +26 -126
- package/lib/components/property-details/property-details.interface.d.ts +1 -0
- package/lib/components/property-details/styles.d.ts +17 -10
- package/lib/index.js +348 -155
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +348 -157
- package/lib/index.mjs.map +1 -1
- package/lib/theme/colors.d.ts +8 -0
- package/lib/theme/themes.d.ts +4 -0
- package/lib/utils/appEnum.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TextStyle, ViewStyle } from 'react-native';
|
|
2
|
+
import { ColorValue, TextStyle, ViewStyle } from 'react-native';
|
|
3
3
|
import { FontStyle } from '../../utils/appEnum';
|
|
4
4
|
/** Visual type variant — maps to Figma "Buttons/Icon" types */
|
|
5
5
|
export type CustomIconType = 'dark' | 'light' | 'blur' | 'outlined';
|
|
@@ -37,4 +37,5 @@ export interface CustomIconProps {
|
|
|
37
37
|
* Adjusts the outer Pressable's flex direction and gap.
|
|
38
38
|
*/
|
|
39
39
|
labelPosition?: CustomIconLabelPosition;
|
|
40
|
+
outlinedBackgroundColor?: ColorValue;
|
|
40
41
|
}
|
|
@@ -1,136 +1,36 @@
|
|
|
1
1
|
declare const styles: {
|
|
2
|
+
calendarCard: {
|
|
3
|
+
borderRadius: number;
|
|
4
|
+
padding: number;
|
|
5
|
+
overflow: "hidden";
|
|
6
|
+
};
|
|
7
|
+
calendarHeader: {
|
|
8
|
+
flex: number;
|
|
9
|
+
flexDirection: "row";
|
|
10
|
+
justifyContent: "space-between";
|
|
11
|
+
alignItems: "center";
|
|
12
|
+
paddingBottom: number;
|
|
13
|
+
borderBottomWidth: number;
|
|
14
|
+
};
|
|
15
|
+
monthText: {
|
|
16
|
+
fontSize: number;
|
|
17
|
+
fontWeight: "300";
|
|
18
|
+
lineHeight: number;
|
|
19
|
+
};
|
|
20
|
+
arrowsContainer: {
|
|
21
|
+
flexDirection: "row";
|
|
22
|
+
gap: number;
|
|
23
|
+
};
|
|
2
24
|
applyButton: {
|
|
3
25
|
marginTop: number;
|
|
26
|
+
height: number;
|
|
27
|
+
minHeight: number;
|
|
28
|
+
paddingHorizontal: number;
|
|
4
29
|
paddingVertical: number;
|
|
5
30
|
justifyContent: "center";
|
|
6
31
|
alignItems: "center";
|
|
7
32
|
borderRadius: number;
|
|
8
|
-
|
|
9
|
-
applyButtonText: {
|
|
10
|
-
color?: import("react-native").ColorValue | undefined;
|
|
11
|
-
fontFamily?: string | undefined;
|
|
12
|
-
fontSize?: number | undefined;
|
|
13
|
-
fontStyle?: "normal" | "italic" | undefined;
|
|
14
|
-
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
|
|
15
|
-
letterSpacing?: number | undefined;
|
|
16
|
-
lineHeight?: number | undefined;
|
|
17
|
-
textAlign?: "auto" | "left" | "right" | "center" | "justify" | undefined;
|
|
18
|
-
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through" | undefined;
|
|
19
|
-
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed" | undefined;
|
|
20
|
-
textDecorationColor?: import("react-native").ColorValue | undefined;
|
|
21
|
-
textShadowColor?: import("react-native").ColorValue | undefined;
|
|
22
|
-
textShadowOffset?: {
|
|
23
|
-
width: number;
|
|
24
|
-
height: number;
|
|
25
|
-
} | undefined;
|
|
26
|
-
textShadowRadius?: number | undefined;
|
|
27
|
-
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase" | undefined;
|
|
28
|
-
testID?: string | undefined;
|
|
29
|
-
fontVariant?: import("react-native").FontVariant[] | undefined;
|
|
30
|
-
writingDirection?: "auto" | "ltr" | "rtl" | undefined;
|
|
31
|
-
backfaceVisibility?: "visible" | "hidden" | undefined;
|
|
32
|
-
backgroundColor?: import("react-native").ColorValue | undefined;
|
|
33
|
-
borderBlockColor?: import("react-native").ColorValue | undefined;
|
|
34
|
-
borderBlockEndColor?: import("react-native").ColorValue | undefined;
|
|
35
|
-
borderBlockStartColor?: import("react-native").ColorValue | undefined;
|
|
36
|
-
borderBottomColor?: import("react-native").ColorValue | undefined;
|
|
37
|
-
borderBottomEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
38
|
-
borderBottomLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
39
|
-
borderBottomRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
40
|
-
borderBottomStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
41
|
-
borderColor?: import("react-native").ColorValue | undefined;
|
|
42
|
-
borderCurve?: "circular" | "continuous" | undefined;
|
|
43
|
-
borderEndColor?: import("react-native").ColorValue | undefined;
|
|
44
|
-
borderEndEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
45
|
-
borderEndStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
46
|
-
borderLeftColor?: import("react-native").ColorValue | undefined;
|
|
47
|
-
borderRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
48
|
-
borderRightColor?: import("react-native").ColorValue | undefined;
|
|
49
|
-
borderStartColor?: import("react-native").ColorValue | undefined;
|
|
50
|
-
borderStartEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
51
|
-
borderStartStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
52
|
-
borderStyle?: "solid" | "dotted" | "dashed" | undefined;
|
|
53
|
-
borderTopColor?: import("react-native").ColorValue | undefined;
|
|
54
|
-
borderTopEndRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
55
|
-
borderTopLeftRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
56
|
-
borderTopRightRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
57
|
-
borderTopStartRadius?: import("react-native").AnimatableNumericValue | undefined;
|
|
58
|
-
opacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
59
|
-
elevation?: number | undefined;
|
|
60
|
-
pointerEvents?: "box-none" | "none" | "box-only" | "auto" | undefined;
|
|
61
|
-
alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
|
62
|
-
alignItems?: import("react-native").FlexAlignType | undefined;
|
|
63
|
-
alignSelf?: "auto" | import("react-native").FlexAlignType | undefined;
|
|
64
|
-
aspectRatio?: number | string | undefined;
|
|
65
|
-
borderBottomWidth?: number | undefined;
|
|
66
|
-
borderEndWidth?: number | undefined;
|
|
67
|
-
borderLeftWidth?: number | undefined;
|
|
68
|
-
borderRightWidth?: number | undefined;
|
|
69
|
-
borderStartWidth?: number | undefined;
|
|
70
|
-
borderTopWidth?: number | undefined;
|
|
71
|
-
borderWidth?: number | undefined;
|
|
72
|
-
bottom?: import("react-native").DimensionValue | undefined;
|
|
73
|
-
display?: "none" | "flex" | undefined;
|
|
74
|
-
end?: import("react-native").DimensionValue | undefined;
|
|
75
|
-
flex?: number | undefined;
|
|
76
|
-
flexBasis?: import("react-native").DimensionValue | undefined;
|
|
77
|
-
flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
|
|
78
|
-
rowGap?: number | undefined;
|
|
79
|
-
gap?: number | undefined;
|
|
80
|
-
columnGap?: number | undefined;
|
|
81
|
-
flexGrow?: number | undefined;
|
|
82
|
-
flexShrink?: number | undefined;
|
|
83
|
-
flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
84
|
-
height?: import("react-native").DimensionValue | undefined;
|
|
85
|
-
justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
86
|
-
left?: import("react-native").DimensionValue | undefined;
|
|
87
|
-
margin?: import("react-native").DimensionValue | undefined;
|
|
88
|
-
marginBottom?: import("react-native").DimensionValue | undefined;
|
|
89
|
-
marginEnd?: import("react-native").DimensionValue | undefined;
|
|
90
|
-
marginHorizontal?: import("react-native").DimensionValue | undefined;
|
|
91
|
-
marginLeft?: import("react-native").DimensionValue | undefined;
|
|
92
|
-
marginRight?: import("react-native").DimensionValue | undefined;
|
|
93
|
-
marginStart?: import("react-native").DimensionValue | undefined;
|
|
94
|
-
marginTop?: import("react-native").DimensionValue | undefined;
|
|
95
|
-
marginVertical?: import("react-native").DimensionValue | undefined;
|
|
96
|
-
maxHeight?: import("react-native").DimensionValue | undefined;
|
|
97
|
-
maxWidth?: import("react-native").DimensionValue | undefined;
|
|
98
|
-
minHeight?: import("react-native").DimensionValue | undefined;
|
|
99
|
-
minWidth?: import("react-native").DimensionValue | undefined;
|
|
100
|
-
overflow?: "visible" | "hidden" | "scroll" | undefined;
|
|
101
|
-
padding?: import("react-native").DimensionValue | undefined;
|
|
102
|
-
paddingBottom?: import("react-native").DimensionValue | undefined;
|
|
103
|
-
paddingEnd?: import("react-native").DimensionValue | undefined;
|
|
104
|
-
paddingHorizontal?: import("react-native").DimensionValue | undefined;
|
|
105
|
-
paddingLeft?: import("react-native").DimensionValue | undefined;
|
|
106
|
-
paddingRight?: import("react-native").DimensionValue | undefined;
|
|
107
|
-
paddingStart?: import("react-native").DimensionValue | undefined;
|
|
108
|
-
paddingTop?: import("react-native").DimensionValue | undefined;
|
|
109
|
-
paddingVertical?: import("react-native").DimensionValue | undefined;
|
|
110
|
-
position?: "absolute" | "relative" | undefined;
|
|
111
|
-
right?: import("react-native").DimensionValue | undefined;
|
|
112
|
-
start?: import("react-native").DimensionValue | undefined;
|
|
113
|
-
top?: import("react-native").DimensionValue | undefined;
|
|
114
|
-
width?: import("react-native").DimensionValue | undefined;
|
|
115
|
-
zIndex?: number | undefined;
|
|
116
|
-
direction?: "inherit" | "ltr" | "rtl" | undefined;
|
|
117
|
-
shadowColor?: import("react-native").ColorValue | undefined;
|
|
118
|
-
shadowOffset?: Readonly<{
|
|
119
|
-
width: number;
|
|
120
|
-
height: number;
|
|
121
|
-
}> | undefined;
|
|
122
|
-
shadowOpacity?: import("react-native").AnimatableNumericValue | undefined;
|
|
123
|
-
shadowRadius?: number | undefined;
|
|
124
|
-
transform?: (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
125
|
-
transformMatrix?: Array<number> | undefined;
|
|
126
|
-
rotation?: import("react-native").AnimatableNumericValue | undefined;
|
|
127
|
-
scaleX?: import("react-native").AnimatableNumericValue | undefined;
|
|
128
|
-
scaleY?: import("react-native").AnimatableNumericValue | undefined;
|
|
129
|
-
translateX?: import("react-native").AnimatableNumericValue | undefined;
|
|
130
|
-
translateY?: import("react-native").AnimatableNumericValue | undefined;
|
|
131
|
-
textAlignVertical?: "auto" | "top" | "bottom" | "center" | undefined;
|
|
132
|
-
verticalAlign?: "auto" | "top" | "bottom" | "middle" | undefined;
|
|
133
|
-
includeFontPadding?: boolean | undefined;
|
|
33
|
+
borderWidth: number;
|
|
134
34
|
};
|
|
135
35
|
};
|
|
136
36
|
export default styles;
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
declare const styles: {
|
|
2
2
|
container: {
|
|
3
3
|
flexDirection: "row";
|
|
4
|
-
justifyContent: "space-between";
|
|
5
4
|
alignItems: "center";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
borderTopWidth: number;
|
|
9
|
-
borderBottomWidth: number;
|
|
10
|
-
};
|
|
11
|
-
propertyInfo: {
|
|
12
|
-
flex: number;
|
|
13
|
-
rowGap: number;
|
|
5
|
+
padding: number;
|
|
6
|
+
columnGap: number;
|
|
14
7
|
};
|
|
15
|
-
|
|
8
|
+
imageWrapper: {
|
|
16
9
|
width: number;
|
|
17
10
|
height: number;
|
|
18
11
|
borderRadius: number;
|
|
12
|
+
overflow: "hidden";
|
|
13
|
+
};
|
|
14
|
+
brandBadge: {
|
|
15
|
+
position: "absolute";
|
|
16
|
+
top: number;
|
|
17
|
+
right: number;
|
|
18
|
+
overflow: "hidden";
|
|
19
|
+
alignItems: "center";
|
|
20
|
+
justifyContent: "center";
|
|
21
|
+
};
|
|
22
|
+
propertyInfo: {
|
|
23
|
+
flex: number;
|
|
24
|
+
justifyContent: "center";
|
|
25
|
+
rowGap: number;
|
|
19
26
|
};
|
|
20
27
|
propertyNumber: {
|
|
21
28
|
flexDirection: "row";
|