@unif/react-native-design 0.33.1 → 0.35.0

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.
Files changed (229) hide show
  1. package/jest-preset.js +1 -1
  2. package/jest-setup.js +16 -1
  3. package/lib/module/components/business/GlassStats/GlassStats.js +6 -7
  4. package/lib/module/components/business/GlassStats/GlassStats.js.map +1 -1
  5. package/lib/module/components/business/GlassStats/styles.js +5 -1
  6. package/lib/module/components/business/GlassStats/styles.js.map +1 -1
  7. package/lib/module/components/ui/ActionMenuContent/ActionMenuContent.js +97 -0
  8. package/lib/module/components/ui/ActionMenuContent/ActionMenuContent.js.map +1 -0
  9. package/lib/module/components/ui/ActionMenuContent/index.js +4 -0
  10. package/lib/module/components/ui/ActionMenuContent/index.js.map +1 -0
  11. package/lib/module/components/ui/ActionMenuContent/styles.js +54 -0
  12. package/lib/module/components/ui/ActionMenuContent/styles.js.map +1 -0
  13. package/lib/module/components/ui/ActionMenuContent/types.js.map +1 -0
  14. package/lib/module/components/ui/Button/ButtonBase.js +10 -2
  15. package/lib/module/components/ui/Button/ButtonBase.js.map +1 -1
  16. package/lib/module/components/ui/GlassLayer/GlassLayer.js +39 -0
  17. package/lib/module/components/ui/GlassLayer/GlassLayer.js.map +1 -0
  18. package/lib/module/components/ui/GlassLayer/GlassLayer.web.js +36 -0
  19. package/lib/module/components/ui/GlassLayer/GlassLayer.web.js.map +1 -0
  20. package/lib/module/components/ui/GlassLayer/constants.js +8 -0
  21. package/lib/module/components/ui/GlassLayer/constants.js.map +1 -0
  22. package/lib/module/components/ui/GlassLayer/index.js +4 -0
  23. package/lib/module/components/ui/GlassLayer/index.js.map +1 -0
  24. package/lib/module/components/ui/{BorderBeam → GlassLayer}/types.js.map +1 -1
  25. package/lib/module/components/ui/IconButton/IconButton.js +5 -1
  26. package/lib/module/components/ui/IconButton/IconButton.js.map +1 -1
  27. package/lib/module/components/ui/ImagePreview/ImagePreview.js +200 -0
  28. package/lib/module/components/ui/ImagePreview/ImagePreview.js.map +1 -0
  29. package/lib/module/components/ui/ImagePreview/constants.js +5 -0
  30. package/lib/module/components/ui/ImagePreview/constants.js.map +1 -0
  31. package/lib/module/components/ui/ImagePreview/index.js +4 -0
  32. package/lib/module/components/ui/ImagePreview/index.js.map +1 -0
  33. package/lib/module/components/ui/ImagePreview/styles.js +55 -0
  34. package/lib/module/components/ui/ImagePreview/styles.js.map +1 -0
  35. package/lib/module/components/ui/ImagePreview/types.js +4 -0
  36. package/lib/module/components/ui/ImagePreview/types.js.map +1 -0
  37. package/lib/module/components/ui/Sheet/Sheet.js +40 -0
  38. package/lib/module/components/ui/Sheet/Sheet.js.map +1 -0
  39. package/lib/module/components/ui/Sheet/index.js +4 -0
  40. package/lib/module/components/ui/Sheet/index.js.map +1 -0
  41. package/lib/module/components/ui/Sheet/styles.js +41 -0
  42. package/lib/module/components/ui/Sheet/styles.js.map +1 -0
  43. package/lib/module/components/ui/Sheet/types.js +4 -0
  44. package/lib/module/components/ui/Sheet/types.js.map +1 -0
  45. package/lib/module/components/ui/SmsField/SmsField.js +40 -0
  46. package/lib/module/components/ui/SmsField/SmsField.js.map +1 -0
  47. package/lib/module/components/ui/SmsField/index.js +4 -0
  48. package/lib/module/components/ui/SmsField/index.js.map +1 -0
  49. package/lib/module/components/ui/SmsField/types.js +4 -0
  50. package/lib/module/components/ui/SmsField/types.js.map +1 -0
  51. package/lib/module/components/ui/TextEntryContent/TextEntryContent.js +60 -0
  52. package/lib/module/components/ui/TextEntryContent/TextEntryContent.js.map +1 -0
  53. package/lib/module/components/ui/TextEntryContent/index.js +4 -0
  54. package/lib/module/components/ui/TextEntryContent/index.js.map +1 -0
  55. package/lib/module/components/ui/TextEntryContent/styles.js +29 -0
  56. package/lib/module/components/ui/TextEntryContent/styles.js.map +1 -0
  57. package/lib/module/components/ui/TextEntryContent/types.js +4 -0
  58. package/lib/module/components/ui/TextEntryContent/types.js.map +1 -0
  59. package/lib/module/components/ui/index.js +6 -2
  60. package/lib/module/components/ui/index.js.map +1 -1
  61. package/lib/module/icons/data.js +87 -1
  62. package/lib/module/icons/data.js.map +1 -1
  63. package/lib/module/theme/colors.js +4 -7
  64. package/lib/module/theme/colors.js.map +1 -1
  65. package/lib/module/theme/index.js +0 -1
  66. package/lib/module/theme/index.js.map +1 -1
  67. package/lib/typescript/src/components/business/GlassStats/GlassStats.d.ts +2 -4
  68. package/lib/typescript/src/components/business/GlassStats/GlassStats.d.ts.map +1 -1
  69. package/lib/typescript/src/components/business/GlassStats/styles.d.ts +4 -1
  70. package/lib/typescript/src/components/business/GlassStats/styles.d.ts.map +1 -1
  71. package/lib/typescript/src/components/ui/ActionMenuContent/ActionMenuContent.d.ts +4 -0
  72. package/lib/typescript/src/components/ui/ActionMenuContent/ActionMenuContent.d.ts.map +1 -0
  73. package/lib/typescript/src/components/ui/ActionMenuContent/index.d.ts +3 -0
  74. package/lib/typescript/src/components/ui/ActionMenuContent/index.d.ts.map +1 -0
  75. package/lib/typescript/src/components/ui/ActionMenuContent/styles.d.ts +51 -0
  76. package/lib/typescript/src/components/ui/ActionMenuContent/styles.d.ts.map +1 -0
  77. package/lib/typescript/src/components/ui/ActionMenuContent/types.d.ts +25 -0
  78. package/lib/typescript/src/components/ui/ActionMenuContent/types.d.ts.map +1 -0
  79. package/lib/typescript/src/components/ui/Button/ButtonBase.d.ts +3 -1
  80. package/lib/typescript/src/components/ui/Button/ButtonBase.d.ts.map +1 -1
  81. package/lib/typescript/src/components/ui/GlassLayer/GlassLayer.d.ts +5 -0
  82. package/lib/typescript/src/components/ui/GlassLayer/GlassLayer.d.ts.map +1 -0
  83. package/lib/typescript/src/components/ui/GlassLayer/GlassLayer.web.d.ts +5 -0
  84. package/lib/typescript/src/components/ui/GlassLayer/GlassLayer.web.d.ts.map +1 -0
  85. package/lib/typescript/src/components/ui/GlassLayer/constants.d.ts +6 -0
  86. package/lib/typescript/src/components/ui/GlassLayer/constants.d.ts.map +1 -0
  87. package/lib/typescript/src/components/ui/GlassLayer/index.d.ts +3 -0
  88. package/lib/typescript/src/components/ui/{BorderBeam → GlassLayer}/index.d.ts.map +1 -1
  89. package/lib/typescript/src/components/ui/GlassLayer/types.d.ts +13 -0
  90. package/lib/typescript/src/components/ui/GlassLayer/types.d.ts.map +1 -0
  91. package/lib/typescript/src/components/ui/IconButton/IconButton.d.ts +1 -1
  92. package/lib/typescript/src/components/ui/IconButton/IconButton.d.ts.map +1 -1
  93. package/lib/typescript/src/components/ui/IconButton/types.d.ts +4 -0
  94. package/lib/typescript/src/components/ui/IconButton/types.d.ts.map +1 -1
  95. package/lib/typescript/src/components/ui/ImagePreview/ImagePreview.d.ts +3 -0
  96. package/lib/typescript/src/components/ui/ImagePreview/ImagePreview.d.ts.map +1 -0
  97. package/lib/typescript/src/components/ui/ImagePreview/constants.d.ts +3 -0
  98. package/lib/typescript/src/components/ui/ImagePreview/constants.d.ts.map +1 -0
  99. package/lib/typescript/src/components/ui/ImagePreview/index.d.ts +3 -0
  100. package/lib/typescript/src/components/ui/ImagePreview/index.d.ts.map +1 -0
  101. package/lib/typescript/src/components/ui/ImagePreview/styles.d.ts +56 -0
  102. package/lib/typescript/src/components/ui/ImagePreview/styles.d.ts.map +1 -0
  103. package/lib/typescript/src/components/ui/ImagePreview/types.d.ts +33 -0
  104. package/lib/typescript/src/components/ui/ImagePreview/types.d.ts.map +1 -0
  105. package/lib/typescript/src/components/ui/Sheet/Sheet.d.ts +4 -0
  106. package/lib/typescript/src/components/ui/Sheet/Sheet.d.ts.map +1 -0
  107. package/lib/typescript/src/components/ui/Sheet/index.d.ts +3 -0
  108. package/lib/typescript/src/components/ui/Sheet/index.d.ts.map +1 -0
  109. package/lib/typescript/src/components/ui/Sheet/styles.d.ts +38 -0
  110. package/lib/typescript/src/components/ui/Sheet/styles.d.ts.map +1 -0
  111. package/lib/typescript/src/components/ui/Sheet/types.d.ts +13 -0
  112. package/lib/typescript/src/components/ui/Sheet/types.d.ts.map +1 -0
  113. package/lib/typescript/src/components/ui/SmsField/SmsField.d.ts +4 -0
  114. package/lib/typescript/src/components/ui/SmsField/SmsField.d.ts.map +1 -0
  115. package/lib/typescript/src/components/ui/SmsField/index.d.ts +3 -0
  116. package/lib/typescript/src/components/ui/SmsField/index.d.ts.map +1 -0
  117. package/lib/typescript/src/components/ui/SmsField/types.d.ts +12 -0
  118. package/lib/typescript/src/components/ui/SmsField/types.d.ts.map +1 -0
  119. package/lib/typescript/src/components/ui/TextEntryContent/TextEntryContent.d.ts +4 -0
  120. package/lib/typescript/src/components/ui/TextEntryContent/TextEntryContent.d.ts.map +1 -0
  121. package/lib/typescript/src/components/ui/TextEntryContent/index.d.ts +3 -0
  122. package/lib/typescript/src/components/ui/TextEntryContent/index.d.ts.map +1 -0
  123. package/lib/typescript/src/components/ui/TextEntryContent/styles.d.ts +26 -0
  124. package/lib/typescript/src/components/ui/TextEntryContent/styles.d.ts.map +1 -0
  125. package/lib/typescript/src/components/ui/TextEntryContent/types.d.ts +18 -0
  126. package/lib/typescript/src/components/ui/TextEntryContent/types.d.ts.map +1 -0
  127. package/lib/typescript/src/components/ui/index.d.ts +12 -4
  128. package/lib/typescript/src/components/ui/index.d.ts.map +1 -1
  129. package/lib/typescript/src/icons/data.d.ts +1 -1
  130. package/lib/typescript/src/icons/data.d.ts.map +1 -1
  131. package/lib/typescript/src/theme/colors.d.ts +2 -5
  132. package/lib/typescript/src/theme/colors.d.ts.map +1 -1
  133. package/lib/typescript/src/theme/index.d.ts +0 -2
  134. package/lib/typescript/src/theme/index.d.ts.map +1 -1
  135. package/lib/typescript/type-tests/content-api.d.ts +2 -0
  136. package/lib/typescript/type-tests/content-api.d.ts.map +1 -0
  137. package/package.json +3 -3
  138. package/src/components/business/GlassStats/GlassStats.tsx +4 -6
  139. package/src/components/business/GlassStats/styles.ts +3 -1
  140. package/src/components/ui/ActionMenuContent/ActionMenuContent.tsx +118 -0
  141. package/src/components/ui/ActionMenuContent/index.ts +6 -0
  142. package/src/components/ui/ActionMenuContent/styles.ts +47 -0
  143. package/src/components/ui/ActionMenuContent/types.ts +27 -0
  144. package/src/components/ui/Button/ButtonBase.tsx +11 -2
  145. package/src/components/ui/GlassLayer/GlassLayer.tsx +42 -0
  146. package/src/components/ui/GlassLayer/GlassLayer.web.tsx +37 -0
  147. package/src/components/ui/GlassLayer/constants.ts +2 -0
  148. package/src/components/ui/GlassLayer/index.ts +2 -0
  149. package/src/components/ui/GlassLayer/types.ts +14 -0
  150. package/src/components/ui/IconButton/IconButton.tsx +9 -1
  151. package/src/components/ui/IconButton/types.ts +4 -0
  152. package/src/components/ui/ImagePreview/ImagePreview.tsx +243 -0
  153. package/src/components/ui/ImagePreview/constants.ts +2 -0
  154. package/src/components/ui/ImagePreview/index.ts +6 -0
  155. package/src/components/ui/ImagePreview/styles.ts +48 -0
  156. package/src/components/ui/ImagePreview/types.ts +37 -0
  157. package/src/components/ui/Sheet/Sheet.tsx +43 -0
  158. package/src/components/ui/Sheet/index.ts +2 -0
  159. package/src/components/ui/Sheet/styles.ts +40 -0
  160. package/src/components/ui/Sheet/types.ts +14 -0
  161. package/src/components/ui/SmsField/SmsField.tsx +40 -0
  162. package/src/components/ui/SmsField/index.ts +2 -0
  163. package/src/components/ui/SmsField/types.ts +15 -0
  164. package/src/components/ui/TextEntryContent/TextEntryContent.tsx +56 -0
  165. package/src/components/ui/TextEntryContent/index.ts +2 -0
  166. package/src/components/ui/TextEntryContent/styles.ts +17 -0
  167. package/src/components/ui/TextEntryContent/types.ts +18 -0
  168. package/src/components/ui/index.ts +20 -4
  169. package/src/icons/data.ts +134 -0
  170. package/src/theme/colors.ts +4 -7
  171. package/src/theme/index.ts +0 -3
  172. package/lib/module/components/ui/BlurLayer/BlurLayer.js +0 -45
  173. package/lib/module/components/ui/BlurLayer/BlurLayer.js.map +0 -1
  174. package/lib/module/components/ui/BlurLayer/BlurLayer.web.js +0 -46
  175. package/lib/module/components/ui/BlurLayer/BlurLayer.web.js.map +0 -1
  176. package/lib/module/components/ui/BlurLayer/index.js +0 -4
  177. package/lib/module/components/ui/BlurLayer/index.js.map +0 -1
  178. package/lib/module/components/ui/BlurLayer/types.js.map +0 -1
  179. package/lib/module/components/ui/BorderBeam/BorderBeam.js +0 -102
  180. package/lib/module/components/ui/BorderBeam/BorderBeam.js.map +0 -1
  181. package/lib/module/components/ui/BorderBeam/BorderBeam.web.js +0 -108
  182. package/lib/module/components/ui/BorderBeam/BorderBeam.web.js.map +0 -1
  183. package/lib/module/components/ui/BorderBeam/index.js +0 -4
  184. package/lib/module/components/ui/BorderBeam/index.js.map +0 -1
  185. package/lib/module/components/ui/BorderBeam/normalizeBorderBeam.js +0 -23
  186. package/lib/module/components/ui/BorderBeam/normalizeBorderBeam.js.map +0 -1
  187. package/lib/module/components/ui/BorderBeam/shared.js +0 -54
  188. package/lib/module/components/ui/BorderBeam/shared.js.map +0 -1
  189. package/lib/module/components/ui/BorderBeam/styles.js +0 -18
  190. package/lib/module/components/ui/BorderBeam/styles.js.map +0 -1
  191. package/lib/module/theme/blur.js +0 -12
  192. package/lib/module/theme/blur.js.map +0 -1
  193. package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.d.ts +0 -10
  194. package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.d.ts.map +0 -1
  195. package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.web.d.ts +0 -12
  196. package/lib/typescript/src/components/ui/BlurLayer/BlurLayer.web.d.ts.map +0 -1
  197. package/lib/typescript/src/components/ui/BlurLayer/index.d.ts +0 -3
  198. package/lib/typescript/src/components/ui/BlurLayer/index.d.ts.map +0 -1
  199. package/lib/typescript/src/components/ui/BlurLayer/types.d.ts +0 -15
  200. package/lib/typescript/src/components/ui/BlurLayer/types.d.ts.map +0 -1
  201. package/lib/typescript/src/components/ui/BorderBeam/BorderBeam.d.ts +0 -10
  202. package/lib/typescript/src/components/ui/BorderBeam/BorderBeam.d.ts.map +0 -1
  203. package/lib/typescript/src/components/ui/BorderBeam/BorderBeam.web.d.ts +0 -5
  204. package/lib/typescript/src/components/ui/BorderBeam/BorderBeam.web.d.ts.map +0 -1
  205. package/lib/typescript/src/components/ui/BorderBeam/index.d.ts +0 -3
  206. package/lib/typescript/src/components/ui/BorderBeam/normalizeBorderBeam.d.ts +0 -16
  207. package/lib/typescript/src/components/ui/BorderBeam/normalizeBorderBeam.d.ts.map +0 -1
  208. package/lib/typescript/src/components/ui/BorderBeam/shared.d.ts +0 -28
  209. package/lib/typescript/src/components/ui/BorderBeam/shared.d.ts.map +0 -1
  210. package/lib/typescript/src/components/ui/BorderBeam/styles.d.ts +0 -15
  211. package/lib/typescript/src/components/ui/BorderBeam/styles.d.ts.map +0 -1
  212. package/lib/typescript/src/components/ui/BorderBeam/types.d.ts +0 -23
  213. package/lib/typescript/src/components/ui/BorderBeam/types.d.ts.map +0 -1
  214. package/lib/typescript/src/theme/blur.d.ts +0 -11
  215. package/lib/typescript/src/theme/blur.d.ts.map +0 -1
  216. package/src/components/ui/BlurLayer/BlurLayer.tsx +0 -47
  217. package/src/components/ui/BlurLayer/BlurLayer.web.tsx +0 -46
  218. package/src/components/ui/BlurLayer/index.ts +0 -2
  219. package/src/components/ui/BlurLayer/types.ts +0 -15
  220. package/src/components/ui/BorderBeam/BorderBeam.tsx +0 -130
  221. package/src/components/ui/BorderBeam/BorderBeam.web.tsx +0 -127
  222. package/src/components/ui/BorderBeam/index.ts +0 -2
  223. package/src/components/ui/BorderBeam/normalizeBorderBeam.ts +0 -58
  224. package/src/components/ui/BorderBeam/shared.ts +0 -47
  225. package/src/components/ui/BorderBeam/styles.ts +0 -16
  226. package/src/components/ui/BorderBeam/types.ts +0 -23
  227. package/src/theme/blur.ts +0 -11
  228. /package/lib/module/components/ui/{BlurLayer → ActionMenuContent}/types.js +0 -0
  229. /package/lib/module/components/ui/{BorderBeam → GlassLayer}/types.js +0 -0
@@ -0,0 +1,6 @@
1
+ /** 仅用于 Web CSS 近似效果的像素值,不表示原生材质的模糊半径。 */
2
+ export declare const webGlassBlur: {
3
+ readonly clear: 10;
4
+ readonly regular: 40;
5
+ };
6
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/GlassLayer/constants.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,eAAO,MAAM,YAAY;;;CAAsC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { GlassLayer } from './GlassLayer';
2
+ export type { GlassEffect, GlassLayerProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/BorderBeam/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/GlassLayer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { ColorValue, StyleProp, ViewStyle } from 'react-native';
2
+ export type GlassEffect = 'clear' | 'regular';
3
+ export interface GlassLayerProps {
4
+ /** 玻璃材质,默认 regular;clear 更通透。Web 使用对应的 CSS 近似效果。 */
5
+ effect?: GlassEffect;
6
+ /** 默认 clear 使用 glassTintLight,regular 使用 sheetBackdrop;降级时作为背景色。 */
7
+ tintColor?: ColorValue;
8
+ /** 布局、定位与圆角;默认 absoluteFill,材质颜色通过 tintColor 设置。 */
9
+ style?: StyleProp<ViewStyle>;
10
+ /** E2E / 测试定位。 */
11
+ testID?: string;
12
+ }
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/GlassLayer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,CAAC;AAE9C,MAAM,WAAW,eAAe;IAC9B,oDAAoD;IACpD,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,oEAAoE;IACpE,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,oDAAoD;IACpD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,kBAAkB;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -9,5 +9,5 @@ import type { IconButtonProps } from './types';
9
9
  * `accessibilityLabel` TypeScript 强制必填 —— icon-only 无文本提示语义,
10
10
  * SR 必须靠 a11y label 朗读。
11
11
  */
12
- export declare function IconButton({ icon, onPress, size, variant, color, disabled, loading, accessibilityLabel, accessibilityHint, accessibilityState, style, testID, }: IconButtonProps): React.JSX.Element;
12
+ export declare function IconButton({ icon, onPress, size, iconSize, surfaceSize, variant, color, disabled, loading, accessibilityLabel, accessibilityHint, accessibilityState, style, testID, }: IconButtonProps): React.JSX.Element;
13
13
  //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,IAAW,EACX,OAAiB,EACjB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA+BrC"}
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/IconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAKzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI/C;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,OAAO,EACP,IAAW,EACX,QAAQ,EACR,WAAW,EACX,OAAiB,EACjB,KAAK,EACL,QAAQ,EACR,OAAO,EACP,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,EACL,MAAM,GACP,EAAE,eAAe,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAqCrC"}
@@ -10,6 +10,10 @@ export type IconButtonProps = {
10
10
  onPress: () => void;
11
11
  /** 尺寸,默认 'md'(28 / 36 / 44 方形) */
12
12
  size?: ButtonSize;
13
+ /** 独立图标及加载指示尺寸;默认沿用 size 对应值。 */
14
+ iconSize?: number;
15
+ /** 方形表面边长;同时据此补足 44pt 命中区。默认沿用 size。 */
16
+ surfaceSize?: number;
13
17
  /** 视觉变体,默认 'ghost'(透明底,适合 header right-tray 场景)。
14
18
  * 不支持 'text'——text variant 撕除高度,与 square 方形布局冲突。 */
15
19
  variant?: IconButtonVariant;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/IconButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEjE,iEAAiE;AACjE,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,aAAa,EAAE,MAAM,CAAC,CAA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kC;IAClC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;yDACqD;IACrD,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B;;iEAE6D;IAC7D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mDAAmD;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6BAA6B;IAC7B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,2CAA2C;IAC3C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,IAAI,CAAC,kBAAkB,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;IACnE,WAAW;IACX,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,iBAAiB;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { ImagePreviewHandle, ImagePreviewProps } from './types';
2
+ export declare const ImagePreview: import("react").ForwardRefExoticComponent<ImagePreviewProps & import("react").RefAttributes<ImagePreviewHandle>>;
3
+ //# sourceMappingURL=ImagePreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImagePreview.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/ImagePreview/ImagePreview.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,kBAAkB,EAClB,iBAAiB,EAGlB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,YAAY,kHA2NxB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export declare const IMAGE_UNAVAILABLE = "\u56FE\u7247\u6682\u4E0D\u53EF\u9884\u89C8";
2
+ export declare const DELETE_LABEL = "\u5220\u9664\u5F53\u524D\u7167\u7247";
3
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/ImagePreview/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,+CAAY,CAAC;AAC3C,eAAO,MAAM,YAAY,yCAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ImagePreview } from './ImagePreview';
2
+ export type { ImagePreviewItem, ImagePreviewProps, ImagePreviewHandle, } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/ImagePreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { ColorTokens } from '../../../theme';
2
+ export declare const makeStyles: (colors: ColorTokens) => Readonly<{
3
+ container: {
4
+ alignItems: "center";
5
+ gap: number;
6
+ };
7
+ media: {
8
+ backgroundColor: string;
9
+ borderRadius: number;
10
+ overflow: "hidden";
11
+ };
12
+ border: {
13
+ borderColor: string;
14
+ borderWidth: number;
15
+ borderRadius: number;
16
+ position: "absolute";
17
+ left: 0;
18
+ right: 0;
19
+ top: 0;
20
+ bottom: 0;
21
+ };
22
+ image: {
23
+ backgroundColor: string;
24
+ };
25
+ placeholder: {
26
+ width: string;
27
+ height: string;
28
+ backgroundColor: string;
29
+ justifyContent: "center";
30
+ alignItems: "center";
31
+ paddingHorizontal: number;
32
+ };
33
+ placeholderText: {
34
+ color: string;
35
+ fontSize: number;
36
+ textAlign: "center";
37
+ };
38
+ counter: {
39
+ alignSelf: "center";
40
+ paddingVertical: number;
41
+ paddingHorizontal: number;
42
+ borderRadius: 999;
43
+ borderWidth: number;
44
+ borderColor: string;
45
+ backgroundColor: string;
46
+ };
47
+ counterText: {
48
+ color: string;
49
+ fontSize: number;
50
+ fontFamily: string;
51
+ };
52
+ deleteButton: {
53
+ borderRadius: 999;
54
+ };
55
+ }>;
56
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/ImagePreview/styles.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,UAAU,GAAI,QAAQ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2C1C,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { ImageSourcePropType, StyleProp, ViewStyle } from 'react-native';
2
+ export interface ImagePreviewItem {
3
+ id: string;
4
+ source?: ImageSourcePropType;
5
+ label?: string;
6
+ canDelete?: boolean;
7
+ deleting?: boolean;
8
+ }
9
+ export interface ImagePreviewProps {
10
+ items: readonly ImagePreviewItem[];
11
+ width: number;
12
+ height: number;
13
+ initialId?: string;
14
+ onCurrentChange?(item: Readonly<ImagePreviewItem>): void;
15
+ onRequestDelete?(item: Readonly<ImagePreviewItem>): void;
16
+ style?: StyleProp<ViewStyle>;
17
+ testID?: string;
18
+ }
19
+ export interface ImagePreviewHandle {
20
+ scrollTo(id: string, animated?: boolean): void;
21
+ getCurrent(): Readonly<ImagePreviewItem> | undefined;
22
+ }
23
+ export interface ImagePreviewSelection {
24
+ items: readonly ImagePreviewItem[];
25
+ index: number;
26
+ initialized: boolean;
27
+ carouselRevision: number;
28
+ }
29
+ export interface ImagePreviewScrollRequest {
30
+ id: string;
31
+ animated: boolean;
32
+ }
33
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/ImagePreview/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9E,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACzD,eAAe,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACzD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAC/C,UAAU,IAAI,QAAQ,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;CACtD;AAED,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,yBAAyB;IACxC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { SheetProps } from './types';
3
+ export declare function Sheet({ children, header, footer, contentMode, contentContainerStyle, style, testID, }: SheetProps): React.JSX.Element;
4
+ //# sourceMappingURL=Sheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Sheet/Sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,wBAAgB,KAAK,CAAC,EACpB,QAAQ,EACR,MAAM,EACN,MAAM,EACN,WAAqB,EACrB,qBAAqB,EACrB,KAAK,EACL,MAAM,GACP,EAAE,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA4BhC"}
@@ -0,0 +1,3 @@
1
+ export { Sheet } from './Sheet';
2
+ export type { SheetContentMode, SheetProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Sheet/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,38 @@
1
+ import { type ColorTokens } from '../../../theme';
2
+ export declare const makeStyles: (colors: ColorTokens) => Readonly<{
3
+ root: {
4
+ flex: number;
5
+ minHeight: number;
6
+ backgroundColor: string;
7
+ };
8
+ grabberContainer: {
9
+ alignItems: "center";
10
+ paddingTop: number;
11
+ paddingBottom: number;
12
+ };
13
+ grabber: {
14
+ width: number;
15
+ height: number;
16
+ borderRadius: number;
17
+ backgroundColor: string;
18
+ };
19
+ contentRegion: {
20
+ flex: number;
21
+ minHeight: number;
22
+ };
23
+ content: {
24
+ paddingHorizontal: number;
25
+ paddingTop: number;
26
+ paddingBottom: number;
27
+ gap: number;
28
+ };
29
+ footer: {
30
+ backgroundColor: string;
31
+ paddingHorizontal: number;
32
+ paddingTop: number;
33
+ paddingBottom: number;
34
+ borderTopWidth: number;
35
+ borderTopColor: string;
36
+ };
37
+ }>;
38
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Sheet/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAAS,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,UAAU,GAAI,QAAQ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoC1C,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { ReactNode } from 'react';
2
+ import type { StyleProp, ViewStyle } from 'react-native';
3
+ export type SheetContentMode = 'fixed' | 'scroll' | 'external-scroll';
4
+ export interface SheetProps {
5
+ children: ReactNode;
6
+ header?: ReactNode;
7
+ footer?: ReactNode;
8
+ contentMode?: SheetContentMode;
9
+ contentContainerStyle?: StyleProp<ViewStyle>;
10
+ style?: StyleProp<ViewStyle>;
11
+ testID?: string;
12
+ }
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Sheet/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,iBAAiB,CAAC;AAEtE,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { SmsFieldProps } from './types';
3
+ export declare function SmsField({ value, onChangeText, remainingSeconds, sendDisabled, onSend, sendLabel, sendAccessibilityLabel, ...inputProps }: SmsFieldProps): React.JSX.Element;
4
+ //# sourceMappingURL=SmsField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SmsField.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/SmsField/SmsField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,MAAM,EACN,SAAS,EACT,sBAAsB,EACtB,GAAG,UAAU,EACd,EAAE,aAAa,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAyBnC"}
@@ -0,0 +1,3 @@
1
+ export { SmsField } from './SmsField';
2
+ export type { SmsFieldProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/SmsField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { InputProps } from '../Input';
2
+ /** 长度、提示及发送文案由调用方提供;remainingSeconds 只控制冷却禁用。 */
3
+ export interface SmsFieldProps extends Pick<InputProps, 'maxLength' | 'placeholder' | 'editable' | 'accessibilityLabel' | 'testID'> {
4
+ value: string;
5
+ onChangeText(value: string): void;
6
+ remainingSeconds: number;
7
+ sendLabel: string;
8
+ sendAccessibilityLabel?: string;
9
+ sendDisabled?: boolean;
10
+ onSend(): void;
11
+ }
12
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/SmsField/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,iDAAiD;AACjD,MAAM,WAAW,aAAc,SAAQ,IAAI,CACzC,UAAU,EACV,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,oBAAoB,GAAG,QAAQ,CAC3E;IACC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,gBAAgB,EAAE,MAAM,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,MAAM,IAAI,IAAI,CAAC;CAChB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { TextEntryContentProps } from './types';
3
+ export declare function TextEntryContent({ title, value, onChangeText, onSubmit, onCancel, message, busy, maxLength, confirmLabel, cancelLabel, autoFocus, style, testID, }: TextEntryContentProps): React.JSX.Element;
4
+ //# sourceMappingURL=TextEntryContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TextEntryContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/TextEntryContent/TextEntryContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAErD,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,IAAY,EACZ,SAAS,EACT,YAAmB,EACnB,WAAkB,EAClB,SAAgB,EAChB,KAAK,EACL,MAAM,GACP,EAAE,qBAAqB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiC3C"}
@@ -0,0 +1,3 @@
1
+ export { TextEntryContent } from './TextEntryContent';
2
+ export type { TextEntryContentProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/TextEntryContent/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,26 @@
1
+ import { type ColorTokens } from '../../../theme';
2
+ export declare const makeStyles: (colors: ColorTokens) => Readonly<{
3
+ root: {
4
+ gap: number;
5
+ padding: number;
6
+ borderWidth: number;
7
+ borderColor: string;
8
+ borderRadius: number;
9
+ backgroundColor: string;
10
+ };
11
+ title: {
12
+ color: string;
13
+ fontSize: number;
14
+ fontWeight: "600";
15
+ };
16
+ message: {
17
+ color: string;
18
+ fontSize: number;
19
+ };
20
+ actions: {
21
+ flexDirection: "row";
22
+ flexWrap: "wrap";
23
+ gap: number;
24
+ };
25
+ }>;
26
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/TextEntryContent/styles.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE3E,eAAO,MAAM,UAAU,GAAI,QAAQ,WAAW;;;;;;;;;;;;;;;;;;;;;;;EAa1C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { StyleProp, ViewStyle } from 'react-native';
2
+ /** 受控文字编辑内容;弹层、键盘和业务提交结果由宿主负责。 */
3
+ export interface TextEntryContentProps {
4
+ title: string;
5
+ value: string;
6
+ onChangeText(value: string): void;
7
+ onSubmit(value: string): void;
8
+ onCancel(): void;
9
+ message?: string;
10
+ busy?: boolean;
11
+ maxLength?: number;
12
+ confirmLabel?: string;
13
+ cancelLabel?: string;
14
+ autoFocus?: boolean;
15
+ style?: StyleProp<ViewStyle>;
16
+ testID?: string;
17
+ }
18
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/TextEntryContent/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,kCAAkC;AAClC,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,IAAI,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -2,10 +2,8 @@ export { Avatar } from './Avatar';
2
2
  export type { AvatarProps, AvatarShape, AvatarSize, AvatarVariant, } from './Avatar';
3
3
  export { AvatarGroup } from './AvatarGroup';
4
4
  export type { AvatarGroupItem, AvatarGroupProps } from './AvatarGroup';
5
- export { BlurLayer } from './BlurLayer';
6
- export type { BlurLayerProps } from './BlurLayer';
7
- export { BorderBeam } from './BorderBeam';
8
- export type { BorderBeamProps } from './BorderBeam';
5
+ export { GlassLayer } from './GlassLayer';
6
+ export type { GlassEffect, GlassLayerProps } from './GlassLayer';
9
7
  export { Button } from './Button';
10
8
  export type { ButtonProps, ButtonSize, ButtonVariant } from './Button';
11
9
  export { Card } from './Card';
@@ -78,4 +76,14 @@ export { Thumbnail } from './Thumbnail';
78
76
  export type { ThumbnailImageStyle, ThumbnailDimensions, ThumbnailProps, ThumbnailSize, } from './Thumbnail';
79
77
  export { toast, ToastHost } from './Toast';
80
78
  export type { ToastEntry, ToastHostProps, ToastInput, ToastKind, ToastPosition, } from './Toast';
79
+ export { ActionMenuContent } from './ActionMenuContent';
80
+ export type { ActionMenuAction, ActionMenuConfirmation, ActionMenuContentProps, } from './ActionMenuContent';
81
+ export { ImagePreview } from './ImagePreview';
82
+ export type { ImagePreviewItem, ImagePreviewProps, ImagePreviewHandle, } from './ImagePreview';
83
+ export { Sheet } from './Sheet';
84
+ export type { SheetContentMode, SheetProps } from './Sheet';
85
+ export { SmsField } from './SmsField';
86
+ export type { SmsFieldProps } from './SmsField';
87
+ export { TextEntryContent } from './TextEntryContent';
88
+ export type { TextEntryContentProps } from './TextEntryContent';
81
89
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EACV,WAAW,EACX,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM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B,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { IconDef } from './types';
2
- export type IconName = 'alert' | 'app-fallback' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'aspect-16-9' | 'aspect-4-3' | 'attachment' | 'bag-check' | 'bell' | 'bluetooth' | 'bot' | 'box-list' | 'box-up' | 'building' | 'calculator' | 'calendar-route' | 'calendar' | 'camera-flip' | 'camera-off' | 'camera' | 'card' | 'chat-plus' | 'chat-star' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-minus' | 'circle-plus' | 'clipboard-search' | 'clipboard-user' | 'clipboard' | 'close' | 'coin' | 'copy' | 'dashboard-megaphone' | 'dashboard-star' | 'download' | 'edit-pencil' | 'edit' | 'error-alert' | 'error' | 'eye-off' | 'eye' | 'file' | 'filter' | 'flag' | 'flash-auto' | 'flash-off' | 'flash-on' | 'grid' | 'hand' | 'heart' | 'home' | 'image' | 'info' | 'keyboard' | 'lens-flip' | 'lightbulb' | 'list' | 'location' | 'lock' | 'logout' | 'mail' | 'maximize' | 'menu' | 'mic-on' | 'mic' | 'minimize' | 'more-h' | 'more-v' | 'order' | 'package' | 'paperclip' | 'pause' | 'permission-denied' | 'phone' | 'pin-search' | 'play' | 'plus' | 'qr' | 'refresh' | 'retry' | 'route' | 'scan' | 'scanner' | 'search' | 'send' | 'settings' | 'share' | 'shelf-pay' | 'shield-check' | 'shutter-recording' | 'shutter' | 'sidebar' | 'sort' | 'sound-off' | 'sound' | 'spark' | 'star' | 'stop' | 'storefront-ai' | 'storefront-arrow' | 'storefront-check' | 'storefront-tag' | 'storefront' | 'success' | 'tag' | 'thinking' | 'trash' | 'undo' | 'upload' | 'user' | 'users-search' | 'visit' | 'warning';
2
+ export type IconName = 'alert' | 'app-fallback' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'aspect-16-9' | 'aspect-4-3' | 'attachment' | 'bag-check' | 'bank' | 'bed' | 'bell' | 'bluetooth' | 'bot' | 'box-list' | 'box-up' | 'building' | 'calculator' | 'calendar-route' | 'calendar' | 'camera-flip' | 'camera-off' | 'camera' | 'card' | 'chat-plus' | 'chat-star' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle-minus' | 'circle-plus' | 'clipboard-search' | 'clipboard-user' | 'clipboard' | 'close' | 'coffee' | 'coin' | 'copy' | 'crosshair' | 'dashboard-megaphone' | 'dashboard-star' | 'download' | 'edit-pencil' | 'edit' | 'error-alert' | 'error' | 'eye-off' | 'eye' | 'file' | 'filter' | 'flag' | 'flash-auto' | 'flash-off' | 'flash-on' | 'fuel' | 'grid' | 'hand' | 'heart' | 'home' | 'image' | 'info' | 'keyboard' | 'lens-flip' | 'lightbulb' | 'list' | 'location' | 'lock' | 'logout' | 'mail' | 'maximize' | 'medical-cross' | 'menu' | 'mic-on' | 'mic' | 'minimize' | 'minus' | 'more-h' | 'more-v' | 'navigation-pointer' | 'order' | 'package' | 'paperclip' | 'pause' | 'permission-denied' | 'phone' | 'pin-search' | 'play' | 'plus' | 'qr' | 'refresh' | 'retry' | 'route' | 'scan' | 'scanner' | 'search' | 'send' | 'settings' | 'share' | 'shelf-pay' | 'shield-check' | 'shopping-bag' | 'shutter-recording' | 'shutter' | 'sidebar' | 'sort' | 'sound-off' | 'sound' | 'spark' | 'star-filled' | 'star' | 'stop' | 'store' | 'storefront-ai' | 'storefront-arrow' | 'storefront-check' | 'storefront-tag' | 'storefront' | 'success' | 'tag' | 'thinking' | 'trash' | 'undo' | 'upload' | 'user' | 'users-search' | 'utensils' | 'visit' | 'warning';
3
3
  export declare const ICONS: Record<IconName, IconDef>;
4
4
  export declare const ICON_NAMES: IconName[];
5
5
  //# sourceMappingURL=data.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/icons/data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,UAAU,GACV,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,MAAM,GACN,WAAW,GACX,KAAK,GACL,UAAU,GACV,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,WAAW,GACX,WAAW,GACX,OAAO,GACP,cAAc,GACd,cAAc,GACd,eAAe,GACf,YAAY,GACZ,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,gBAAgB,GAChB,WAAW,GACX,OAAO,GACP,MAAM,GACN,MAAM,GACN,qBAAqB,GACrB,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,MAAM,GACN,aAAa,GACb,OAAO,GACP,SAAS,GACT,KAAK,GACL,MAAM,GACN,QAAQ,GACR,MAAM,GACN,YAAY,GACZ,WAAW,GACX,UAAU,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,UAAU,GACV,WAAW,GACX,WAAW,GACX,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,MAAM,GACN,UAAU,GACV,MAAM,GACN,QAAQ,GACR,KAAK,GACL,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,mBAAmB,GACnB,OAAO,GACP,YAAY,GACZ,MAAM,GACN,MAAM,GACN,IAAI,GACJ,SAAS,GACT,OAAO,GACP,OAAO,GACP,MAAM,GACN,SAAS,GACT,QAAQ,GACR,MAAM,GACN,UAAU,GACV,OAAO,GACP,WAAW,GACX,cAAc,GACd,mBAAmB,GACnB,SAAS,GACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,OAAO,GACP,OAAO,GACP,MAAM,GACN,MAAM,GACN,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,gBAAgB,GAChB,YAAY,GACZ,SAAS,GACT,KAAK,GACL,UAAU,GACV,OAAO,GACP,MAAM,GACN,QAAQ,GACR,MAAM,GACN,cAAc,GACd,OAAO,GACP,SAAS,CAAC;AAEd,eAAO,MAAM,KAAK,EAAE,MAAM,CAAC,QAAQ,EAAE,OAAO,CAy0E3C,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,EAwHhC,CAAC"}
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../src/icons/data.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,MAAM,MAAM,QAAQ,GAChB,OAAO,GACP,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,aAAa,GACb,UAAU,GACV,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,MAAM,GACN,KAAK,GACL,MAAM,GACN,WAAW,GACX,KAAK,GACL,UAAU,GACV,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,MAAM,GACN,WAAW,GACX,WAAW,GACX,OAAO,GACP,cAAc,G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CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,QAAQ,EAoIhC,CAAC"}
@@ -45,12 +45,9 @@ export declare const lightColors: {
45
45
  readonly glassTintLight: "rgba(255,255,255,0.55)";
46
46
  /** 玻璃容器内部分隔线 —— 暗色翻成对应低透白,保证暗底可见。 */
47
47
  readonly glassSeparator: "rgba(0,0,0,0.08)";
48
- /** 浮动玻璃胶囊外区 tint(TabBar 滚动玻璃门)。
49
- * 数值配合 blur.strong(blurAmount=40) 让"玻璃门外区滚动内容透过模糊显示"达成。
50
- * 跟 glassTintLight 区分:此 token 给"玻璃门外区"语义。 */
48
+ /** 玻璃容器的半透明背景,与轻薄染色 glassTintLight 分别表达表面与覆盖层。 */
51
49
  readonly glassSurface: "rgba(255,255,255,0.20)";
52
- /** TabBar 玻璃门 tint —— 跟 glassSurface 区分,真机实测 0.20 太厚看不清滚动内容,
53
- * TabBar 场景配合 blur.soft(blurAmount=10) 主导,语义不同不可复用同一个 alpha。 */
50
+ /** TabBar 的轻薄主题背景;只表达颜色,不定义原生玻璃材质或模糊半径。 */
54
51
  readonly tabBarGlassTint: "rgba(255,255,255,0.10)";
55
52
  /** 玻璃胶囊边框(亮 0.18 / 暗 0.14 白透)。 */
56
53
  readonly glassBorder: "rgba(255,255,255,0.18)";
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/colors.ts"],"names":[],"mappings":"AAEA;wBACwB;AACxB,eAAO,MAAM,YAAY,YAAY,CAAC;AAEtC,eAAO,MAAM,WAAW;;;;;IAMtB,+CAA+C;;IAE/C,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwCjC,mDAAmD;;IAEnD;2CACuC;;IAEvC,yDAAyD;;IAEzD,qCAAqC;;IAErC;;kDAE8C;;IAE9C;qEACiE;;IAEjE,kCAAkC;;IAElC,qCAAqC;;IAErC;wDACoD;;IAEpD;+BAC2B;;IAE3B,gEAAgE;;IAIhE,uDAAuD;;IAEvD,wBAAwB;;IAExB,+BAA+B;;IAG/B,+DAA+D;;IAE/D,oDAAoD;;IAOpD,yBAAyB;;IAEzB,sCAAsC;;IAEtC,2EAA2E;;IAG3E;qCACiC;;IAEjC,+BAA+B;;CAEvB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG;KAAG,CAAC,IAAI,MAAM,OAAO,WAAW,GAAG,MAAM;CAAE,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,WA6FxB,CAAC;AAEF;;kCAEkC;AAClC,eAAO,MAAM,cAAc,iCAAqC,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/theme/colors.ts"],"names":[],"mappings":"AAEA;wBACwB;AACxB,eAAO,MAAM,YAAY,YAAY,CAAC;AAEtC,eAAO,MAAM,WAAW;;;;;IAMtB,+CAA+C;;IAE/C,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwCjC,mDAAmD;;IAEnD;2CACuC;;IAEvC,yDAAyD;;IAEzD,qCAAqC;;IAErC,kDAAkD;;IAElD,2CAA2C;;IAE3C,kCAAkC;;IAElC,qCAAqC;;IAErC;wDACoD;;IAEpD;+BAC2B;;IAE3B,gEAAgE;;IAIhE,uDAAuD;;IAEvD,wBAAwB;;IAExB,+BAA+B;;IAG/B,+DAA+D;;IAE/D,oDAAoD;;IAOpD,yBAAyB;;IAEzB,sCAAsC;;IAEtC,2EAA2E;;IAG3E;qCACiC;;IAEjC,+BAA+B;;CAEvB,CAAC;AAEX,MAAM,MAAM,WAAW,GAAG;KAAG,CAAC,IAAI,MAAM,OAAO,WAAW,GAAG,MAAM;CAAE,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,WA6FxB,CAAC;AAEF;;kCAEkC;AAClC,eAAO,MAAM,cAAc,iCAAqC,CAAC"}
@@ -11,7 +11,5 @@ export { useThemedStyles } from './useThemedStyles';
11
11
  export type { StylesMaker } from './useThemedStyles';
12
12
  export { usePrefersReducedMotion } from './usePrefersReducedMotion';
13
13
  export { fontMono, type, fw, space, radius, avatar, icon, control, dim, fixed, motion, pressedOpacity, } from './tokens';
14
- export { blur } from './blur';
15
- export type { BlurIntensity } from './blur';
16
14
  export { r, rf } from './scale';
17
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,UAAU,EACV,cAAc,EACd,YAAY,GACb,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACnD,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,EAAE,EACF,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,MAAM,EACN,cAAc,GACf,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/theme/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,UAAU,EACV,cAAc,EACd,YAAY,GACb,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACnD,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChF,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACL,QAAQ,EACR,IAAI,EACJ,EAAE,EACF,KAAK,EACL,MAAM,EACN,MAAM,EACN,IAAI,EACJ,OAAO,EACP,GAAG,EACH,KAAK,EACL,MAAM,EACN,cAAc,GACf,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=content-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-api.d.ts","sourceRoot":"","sources":["../../../type-tests/content-api.tsx"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unif/react-native-design",
3
- "version": "0.33.1",
3
+ "version": "0.35.0",
4
4
  "description": "Unif React Native 设计系统:基础组件、主题、字体和图标",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -79,6 +79,7 @@
79
79
  },
80
80
  "devDependencies": {
81
81
  "@babel/core": "^7.29.7",
82
+ "@callstack/liquid-glass": "0.8.2",
82
83
  "@commitlint/config-conventional": "^21.0.1",
83
84
  "@eslint/compat": "^2.0.3",
84
85
  "@eslint/eslintrc": "^3.3.5",
@@ -91,7 +92,6 @@
91
92
  "@react-native/jest-preset": "0.86.3",
92
93
  "@react-native/metro-config": "0.86.3",
93
94
  "@release-it/conventional-changelog": "^11.0.0",
94
- "@sbaiahmed1/react-native-blur": "6.0.1",
95
95
  "@types/react": "^19.2.0",
96
96
  "commitlint": "^21.0.1",
97
97
  "del-cli": "^7.0.0",
@@ -118,7 +118,7 @@
118
118
  "typescript": "^6.0.2"
119
119
  },
120
120
  "peerDependencies": {
121
- "@sbaiahmed1/react-native-blur": ">=4",
121
+ "@callstack/liquid-glass": ">=0.8.2 <0.9.0",
122
122
  "react": ">=19.2.3 <20.0.0",
123
123
  "react-native": ">=0.86.0",
124
124
  "react-native-gesture-handler": ">=3.0.0 <4.0.0",
@@ -1,15 +1,13 @@
1
1
  import React from 'react';
2
2
  import { Text, View } from 'react-native';
3
- import { BlurLayer } from '../../ui/BlurLayer';
3
+ import { GlassLayer } from '../../ui/GlassLayer';
4
4
  import { useThemedStyles } from '../../../theme';
5
5
  import { makeGlassStatsStyles } from './styles';
6
6
  import type { GlassStatsProps } from './types';
7
7
 
8
8
  /**
9
- * 玻璃数据条 —— BlurLayer 真 backdrop blur + 内部 N 列数据。
10
- *
11
- * BlurLayer 接管 backdrop 双层结构(BlurView soft + glassTintLight tint),
12
- * blurType 跟 scheme 自动切。
9
+ * 玻璃数据条 —— GlassLayer 通透材质 + 内部 N 列数据。
10
+ * 材质、主题和平台降级由 GlassLayer 接管。
13
11
  */
14
12
  export function GlassStats({
15
13
  items,
@@ -23,7 +21,7 @@ export function GlassStats({
23
21
  // 单层 overflow + shadow 在 iOS 上 shadow 完全不可见。
24
22
  <View style={[styles.glassShell, style]} testID={testID}>
25
23
  <View style={styles.glass}>
26
- <BlurLayer intensity="soft" />
24
+ <GlassLayer effect="clear" style={styles.glassLayer} />
27
25
  {/* 顶部 1px inset 白高光,让数据条顶部"凸起" */}
28
26
  <View style={styles.topHighlight} pointerEvents="none" />
29
27
  <View style={styles.inner}>
@@ -9,11 +9,13 @@ import type { ColorTokens, ShadowTokens } from '../../../theme';
9
9
  * iOS Core Animation `masksToBounds=true` 会裁掉 outer shadow。
10
10
  * - `glass`:内层承担 borderRadius + overflow:hidden + border 边线。
11
11
  *
12
- * BlurView + tint 双层由 `<BlurLayer intensity="soft"/>` 接管。 */
12
+ * 玻璃材质与平台降级由 `<GlassLayer effect="clear"/>` 接管。 */
13
13
  export const makeGlassStatsStyles = (c: ColorTokens, s: ShadowTokens) => {
14
14
  /** count 数字 mono display 字号,无对应 type token,保留 rf(20) 走字号缩放(非 r)。 */
15
15
  const countSize = rf(20);
16
16
  return StyleSheet.create({
17
+ // LiquidGlassView 需要自身圆角,父容器的 overflow 裁切不足以定义材质轮廓。
18
+ glassLayer: { borderRadius: radius['2xl'] },
17
19
  glassShell: {
18
20
  borderRadius: radius['2xl'],
19
21
  ...s.glassBar,