@unif/react-native-design 0.11.1 → 0.12.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.
@@ -6,6 +6,9 @@
6
6
  // navigation / store 耦合的(ScreenLayout / ModernAppCell / CellList /
7
7
  // SmsCodeInput)留在 consumer 仓库
8
8
  export { GradientWash, RadialHalo, ScreenBackdrop } from "./Decorations/index.js";
9
+ // SVG 渐变 id 生成 hook —— 喂 GradientWash / RadialHalo 的 gradientId,或消费者自建
10
+ // SVG 渐变复用;消毒 React 19 useId 的冒号(SVG id 非法字符)。
11
+ export { useSvgId } from "./useSvgId.js";
9
12
  export { GlassStats } from "./GlassStats/index.js";
10
13
  export { AvatarWithRing } from "./AvatarWithRing/index.js";
11
14
  export { VersionPill } from "./VersionPill/index.js";
@@ -1 +1 @@
1
- {"version":3,"names":["GradientWash","RadialHalo","ScreenBackdrop","GlassStats","AvatarWithRing","VersionPill"],"sourceRoot":"../../../../src","sources":["components/business/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,SAASA,YAAY,EAAEC,UAAU,EAAEC,cAAc,QAAQ,wBAAe;AAUxE,SAASC,UAAU,QAAQ,uBAAc;AAGzC,SAASC,cAAc,QAAQ,2BAAkB;AAGjD,SAASC,WAAW,QAAQ,wBAAe","ignoreList":[]}
1
+ {"version":3,"names":["GradientWash","RadialHalo","ScreenBackdrop","useSvgId","GlassStats","AvatarWithRing","VersionPill"],"sourceRoot":"../../../../src","sources":["components/business/index.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA,SAASA,YAAY,EAAEC,UAAU,EAAEC,cAAc,QAAQ,wBAAe;AAUxE;AACA;AACA,SAASC,QAAQ,QAAQ,eAAY;AAErC,SAASC,UAAU,QAAQ,uBAAc;AAGzC,SAASC,cAAc,QAAQ,2BAAkB;AAGjD,SAASC,WAAW,QAAQ,wBAAe","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  export { GradientWash, RadialHalo, ScreenBackdrop } from './Decorations';
2
2
  export type { GradientStop, GradientWashProps, RadialHaloProps, ScreenBackdropHalo, ScreenBackdropPreset, ScreenBackdropProps, } from './Decorations';
3
+ export { useSvgId } from './useSvgId';
3
4
  export { GlassStats } from './GlassStats';
4
5
  export type { GlassStatsProps, GlassStatItem } from './GlassStats';
5
6
  export { AvatarWithRing } from './AvatarWithRing';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/business/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzE,YAAY,EACV,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/business/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzE,YAAY,EACV,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,eAAe,CAAC;AAIvB,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAEnE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unif/react-native-design",
3
- "version": "0.11.1",
3
+ "version": "0.12.0",
4
4
  "description": "Unif 设计系统:theme + icons + utils + components",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -13,6 +13,10 @@ export type {
13
13
  ScreenBackdropProps,
14
14
  } from './Decorations';
15
15
 
16
+ // SVG 渐变 id 生成 hook —— 喂 GradientWash / RadialHalo 的 gradientId,或消费者自建
17
+ // SVG 渐变复用;消毒 React 19 useId 的冒号(SVG id 非法字符)。
18
+ export { useSvgId } from './useSvgId';
19
+
16
20
  export { GlassStats } from './GlassStats';
17
21
  export type { GlassStatsProps, GlassStatItem } from './GlassStats';
18
22