@particle-network/ui-native 0.0.27 → 0.0.28
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.
|
@@ -218,7 +218,7 @@ const UXModal = /*#__PURE__*/ forwardRef((props, scrollViewRef)=>{
|
|
|
218
218
|
w: 40
|
|
219
219
|
})
|
|
220
220
|
}),
|
|
221
|
-
title
|
|
221
|
+
!!title && /*#__PURE__*/ jsx(Flex, {
|
|
222
222
|
fullWidth: true,
|
|
223
223
|
justify: 'center' === titleAlign ? 'center' : 'start',
|
|
224
224
|
mt: -4,
|
|
@@ -226,7 +226,7 @@ const UXModal = /*#__PURE__*/ forwardRef((props, scrollViewRef)=>{
|
|
|
226
226
|
h3: true,
|
|
227
227
|
children: title
|
|
228
228
|
}) : title
|
|
229
|
-
})
|
|
229
|
+
}),
|
|
230
230
|
topContent,
|
|
231
231
|
/*#__PURE__*/ jsx(ScrollView, {
|
|
232
232
|
ref: scrollViewRef,
|
|
@@ -244,19 +244,19 @@ const UXModal = /*#__PURE__*/ forwardRef((props, scrollViewRef)=>{
|
|
|
244
244
|
...restScrollViewProps,
|
|
245
245
|
children: children
|
|
246
246
|
}),
|
|
247
|
-
/*#__PURE__*/ jsxs(VStack, {
|
|
247
|
+
!!footer || !!tip && /*#__PURE__*/ jsxs(VStack, {
|
|
248
248
|
fullWidth: true,
|
|
249
249
|
gap: "lg",
|
|
250
250
|
onLayout: (event)=>{
|
|
251
251
|
setFooterHeight(event.nativeEvent.layout.height);
|
|
252
252
|
},
|
|
253
253
|
children: [
|
|
254
|
-
footer
|
|
254
|
+
!!footer && /*#__PURE__*/ jsx(VStack, {
|
|
255
255
|
fullWidth: true,
|
|
256
256
|
gap: "lg",
|
|
257
257
|
children: footer
|
|
258
|
-
})
|
|
259
|
-
tip
|
|
258
|
+
}),
|
|
259
|
+
!!tip && /*#__PURE__*/ jsxs(Flex, {
|
|
260
260
|
gap: 8,
|
|
261
261
|
children: [
|
|
262
262
|
/*#__PURE__*/ jsx(Circle, {
|
|
@@ -271,7 +271,7 @@ const UXModal = /*#__PURE__*/ forwardRef((props, scrollViewRef)=>{
|
|
|
271
271
|
children: tip
|
|
272
272
|
})
|
|
273
273
|
]
|
|
274
|
-
})
|
|
274
|
+
})
|
|
275
275
|
]
|
|
276
276
|
})
|
|
277
277
|
]
|
|
@@ -9,7 +9,7 @@ export interface ValidationResult {
|
|
|
9
9
|
isValid: boolean;
|
|
10
10
|
errorMessage?: string;
|
|
11
11
|
}
|
|
12
|
-
export interface UXInputCommonProps extends Omit<TextInputProps, 'value' | 'defaultValue'> {
|
|
12
|
+
export interface UXInputCommonProps extends Omit<TextInputProps, 'style' | 'value' | 'defaultValue'> {
|
|
13
13
|
/**
|
|
14
14
|
* 最外层容器,包括 label 和 error
|
|
15
15
|
*/
|