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.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[Theme.SURFACE_PRIMARY]
2999
+ backgroundColor: theme.SURFACE_PRIMARY
3000
3000
  },
3001
3001
  headerText: {
3002
- color: theme[Theme.CONTENT_PRIMARY],
3002
+ color: theme.CONTENT_PRIMARY,
3003
3003
  marginBottom: 20
3004
3004
  },
3005
3005
  textInput: {
3006
3006
  borderRadius: 10,
3007
- padding: 15,
3008
- color: theme[Theme.CONTENT_SECONDRY],
3007
+ padding: 8,
3008
+ color: DHRE_COLORS_TEXT.DH_BLACK,
3009
3009
  textAlignVertical: "top",
3010
3010
  minHeight: 100,
3011
- borderColor: theme[Theme.BORDER_PRIMARY]
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[Theme.CONTENT_SECONDRY]
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[Theme.SURFACE_PRIMARY],
3024
- borderColor: theme[Theme.BORDER_INVERTED],
3025
+ backgroundColor: theme.SURFACE_PRIMARY,
3026
+ borderColor: theme.BORDER_INVERTED,
3025
3027
  borderWidth: 1,
3026
3028
  paddingVertical: 10,
3027
3029
  paddingHorizontal: 20,
@@ -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)