dhre-ui-kit 0.0.145 → 0.0.147
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.js +12 -10
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +12 -10
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -2996,32 +2996,34 @@ const createStyles$1 = (theme) => {
|
|
|
2996
2996
|
flex: 1,
|
|
2997
2997
|
padding: 20,
|
|
2998
2998
|
justifyContent: "center",
|
|
2999
|
-
backgroundColor: theme
|
|
2999
|
+
backgroundColor: theme.SURFACE_PRIMARY
|
|
3000
3000
|
},
|
|
3001
3001
|
headerText: {
|
|
3002
|
-
color: theme
|
|
3002
|
+
color: theme.CONTENT_PRIMARY,
|
|
3003
3003
|
marginBottom: 20
|
|
3004
3004
|
},
|
|
3005
3005
|
textInput: {
|
|
3006
3006
|
borderRadius: 10,
|
|
3007
|
-
padding:
|
|
3008
|
-
color:
|
|
3007
|
+
padding: 8,
|
|
3008
|
+
color: DHRE_COLORS_TEXT.DH_BLACK,
|
|
3009
3009
|
textAlignVertical: "top",
|
|
3010
3010
|
minHeight: 100,
|
|
3011
|
-
borderColor: theme
|
|
3011
|
+
borderColor: theme.BORDER_INVERTED,
|
|
3012
|
+
borderWidth: 1,
|
|
3013
|
+
backgroundColor: DHRE_COLORS_TEXT.DH_WHITE
|
|
3012
3014
|
},
|
|
3013
3015
|
charCounter: {
|
|
3014
3016
|
textAlign: "left",
|
|
3015
3017
|
marginTop: 10,
|
|
3016
|
-
color: theme
|
|
3018
|
+
color: theme.CONTENT_SECONDRY
|
|
3017
3019
|
},
|
|
3018
3020
|
buttonContainer: {
|
|
3019
3021
|
flexDirection: "row",
|
|
3020
3022
|
marginTop: 20
|
|
3021
3023
|
},
|
|
3022
3024
|
feedbackButton: {
|
|
3023
|
-
backgroundColor: theme
|
|
3024
|
-
borderColor: theme
|
|
3025
|
+
backgroundColor: theme.SURFACE_PRIMARY,
|
|
3026
|
+
borderColor: theme.BORDER_INVERTED,
|
|
3025
3027
|
borderWidth: 1,
|
|
3026
3028
|
paddingVertical: 10,
|
|
3027
3029
|
paddingHorizontal: 20,
|
|
@@ -3046,7 +3048,7 @@ const FeedbackForm = ({
|
|
|
3046
3048
|
}) => {
|
|
3047
3049
|
const maxChars = 200;
|
|
3048
3050
|
const { theme } = useTheme();
|
|
3049
|
-
const styles = createStyles$1(
|
|
3051
|
+
const styles = createStyles$1(theme);
|
|
3050
3052
|
return /* @__PURE__ */ React.createElement(View, { style: styles.container }, /* @__PURE__ */ React.createElement(
|
|
3051
3053
|
CustomText$1,
|
|
3052
3054
|
{
|
|
@@ -3060,8 +3062,8 @@ const FeedbackForm = ({
|
|
|
3060
3062
|
{
|
|
3061
3063
|
style: [styles.textInput, { height: Math.max(100) }],
|
|
3062
3064
|
placeholder: inputText,
|
|
3063
|
-
placeholderTextColor: "gray",
|
|
3064
3065
|
multiline: true,
|
|
3066
|
+
placeholderTextColor: Theme.CONTENT_SECONDRY,
|
|
3065
3067
|
maxLength: maxChars,
|
|
3066
3068
|
value: feedback,
|
|
3067
3069
|
onChangeText: (text) => setFeedback(text)
|