dhre-ui-kit 0.0.197 → 0.0.199
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 +10 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +10 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3105,6 +3105,14 @@ const createStyles$1 = (theme) => {
|
|
|
3105
3105
|
paddingHorizontal: 20,
|
|
3106
3106
|
borderRadius: 30
|
|
3107
3107
|
},
|
|
3108
|
+
feedbackButtonDisable: {
|
|
3109
|
+
backgroundColor: theme.SURFACE_PRIMARY,
|
|
3110
|
+
borderColor: theme.SURFACE_DISABLE,
|
|
3111
|
+
borderWidth: 1,
|
|
3112
|
+
paddingVertical: 10,
|
|
3113
|
+
paddingHorizontal: 20,
|
|
3114
|
+
borderRadius: 30
|
|
3115
|
+
},
|
|
3108
3116
|
cancelButton: {
|
|
3109
3117
|
paddingVertical: 10,
|
|
3110
3118
|
paddingHorizontal: 40
|
|
@@ -3152,12 +3160,12 @@ const FeedbackForm = ({
|
|
|
3152
3160
|
textColor: Theme.CONTENT_SECONDRY,
|
|
3153
3161
|
style: styles.charCounter
|
|
3154
3162
|
}
|
|
3155
|
-
), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles.buttonContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { style: styles.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React__default["default"].createElement(
|
|
3163
|
+
), /* @__PURE__ */ React__default["default"].createElement(reactNative.View, { style: styles.buttonContainer }, /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { disabled: feedback?.length < 1, style: feedback?.length < 1 ? styles.feedbackButtonDisable : styles.feedbackButton, onPress: handleSendFeedback }, /* @__PURE__ */ React__default["default"].createElement(
|
|
3156
3164
|
CustomText$1,
|
|
3157
3165
|
{
|
|
3158
3166
|
text: leftBtnTxt,
|
|
3159
3167
|
variant: FontStyle.L1_REGULAR,
|
|
3160
|
-
textColor: Theme.CONTENT_PRIMARY
|
|
3168
|
+
textColor: feedback?.length < 1 ? Theme.CONTENT_SECONDRY : Theme.CONTENT_PRIMARY
|
|
3161
3169
|
}
|
|
3162
3170
|
)), /* @__PURE__ */ React__default["default"].createElement(reactNative.Pressable, { style: styles.cancelButton, onPress: clearAllData }, /* @__PURE__ */ React__default["default"].createElement(
|
|
3163
3171
|
CustomText$1,
|