dhre-ui-kit 0.0.145 → 0.0.146

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 CHANGED
@@ -3029,32 +3029,34 @@ const createStyles$1 = (theme) => {
3029
3029
  flex: 1,
3030
3030
  padding: 20,
3031
3031
  justifyContent: "center",
3032
- backgroundColor: theme[Theme.SURFACE_PRIMARY]
3032
+ backgroundColor: theme.SURFACE_PRIMARY
3033
3033
  },
3034
3034
  headerText: {
3035
- color: theme[Theme.CONTENT_PRIMARY],
3035
+ color: theme.CONTENT_PRIMARY,
3036
3036
  marginBottom: 20
3037
3037
  },
3038
3038
  textInput: {
3039
3039
  borderRadius: 10,
3040
- padding: 15,
3041
- color: theme[Theme.CONTENT_SECONDRY],
3040
+ padding: 8,
3041
+ color: DHRE_COLORS_TEXT.DH_BLACK,
3042
3042
  textAlignVertical: "top",
3043
3043
  minHeight: 100,
3044
- borderColor: theme[Theme.BORDER_PRIMARY]
3044
+ borderColor: theme.BORDER_INVERTED,
3045
+ borderWidth: 1,
3046
+ backgroundColor: DHRE_COLORS_TEXT.DH_WHITE
3045
3047
  },
3046
3048
  charCounter: {
3047
3049
  textAlign: "left",
3048
3050
  marginTop: 10,
3049
- color: theme[Theme.CONTENT_SECONDRY]
3051
+ color: theme.CONTENT_SECONDRY
3050
3052
  },
3051
3053
  buttonContainer: {
3052
3054
  flexDirection: "row",
3053
3055
  marginTop: 20
3054
3056
  },
3055
3057
  feedbackButton: {
3056
- backgroundColor: theme[Theme.SURFACE_PRIMARY],
3057
- borderColor: theme[Theme.BORDER_INVERTED],
3058
+ backgroundColor: theme.SURFACE_PRIMARY,
3059
+ borderColor: theme.BORDER_INVERTED,
3058
3060
  borderWidth: 1,
3059
3061
  paddingVertical: 10,
3060
3062
  paddingHorizontal: 20,
@@ -3093,8 +3095,8 @@ const FeedbackForm = ({
3093
3095
  {
3094
3096
  style: [styles.textInput, { height: Math.max(100) }],
3095
3097
  placeholder: inputText,
3096
- placeholderTextColor: "gray",
3097
3098
  multiline: true,
3099
+ placeholderTextColor: Theme.CONTENT_SECONDRY,
3098
3100
  maxLength: maxChars,
3099
3101
  value: feedback,
3100
3102
  onChangeText: (text) => setFeedback(text)