react-native-tinyui 0.4.0 → 1.0.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 (157) hide show
  1. package/README.md +383 -53
  2. package/ios/ConcentricView/TinyuiConcentricView.h +12 -0
  3. package/ios/ConcentricView/TinyuiConcentricView.mm +60 -0
  4. package/ios/Core/Tinyui.mm +54 -0
  5. package/ios/Core/TinyuiComponentClasses.mm +44 -0
  6. package/ios/LiquidGlassText/TinyuiLiquidGlassTextProvider.swift +64 -79
  7. package/ios/LiquidGlassText/TinyuiLiquidGlassTextShadowNode.h +46 -0
  8. package/ios/LiquidGlassText/TinyuiLiquidGlassTextShadowNode.mm +159 -0
  9. package/ios/LiquidGlassText/TinyuiLiquidGlassTextView.mm +6 -27
  10. package/ios/LiquidGlassText/TinyuiTextOutlineShape.swift +5 -2
  11. package/ios/Menu/TinyuiMenuBuilder.swift +238 -0
  12. package/ios/Menu/TinyuiMenuProvider.swift +51 -85
  13. package/ios/Menu/TinyuiMenuView.mm +13 -35
  14. package/ios/Popover/TinyuiPopoverProvider.swift +198 -44
  15. package/ios/Popover/TinyuiPopoverView.mm +26 -1
  16. package/ios/SFSymbol/TinyuiSFSymbolEffects.h +9 -0
  17. package/ios/SFSymbol/TinyuiSFSymbolEffects.mm +180 -0
  18. package/ios/SFSymbol/TinyuiSFSymbolImage.h +8 -0
  19. package/ios/SFSymbol/TinyuiSFSymbolImage.mm +141 -0
  20. package/ios/SFSymbol/TinyuiSFSymbolShadowNode.h +31 -0
  21. package/ios/SFSymbol/TinyuiSFSymbolShadowNode.mm +30 -0
  22. package/ios/SFSymbol/TinyuiSFSymbolView.h +4 -0
  23. package/ios/SFSymbol/TinyuiSFSymbolView.mm +173 -0
  24. package/ios/Stepper/TinyuiStepperShadowNode.h +32 -0
  25. package/ios/Stepper/TinyuiStepperShadowNode.mm +28 -0
  26. package/ios/Stepper/TinyuiStepperView.h +12 -0
  27. package/ios/Stepper/TinyuiStepperView.mm +128 -0
  28. package/ios/TipKit/TinyuiTip.swift +31 -0
  29. package/ios/TipKit/TinyuiTipPopoverProvider.swift +276 -0
  30. package/ios/TipKit/TinyuiTipPopoverView.h +8 -0
  31. package/ios/TipKit/TinyuiTipPopoverView.mm +114 -0
  32. package/ios/TipKit/TinyuiTipsRuntime.swift +148 -0
  33. package/lib/module/ConcentricView/ConcentricViewNativeComponent.ts +14 -0
  34. package/lib/module/ConcentricView/index.js +29 -0
  35. package/lib/module/ConcentricView/index.js.map +1 -0
  36. package/lib/module/ConcentricView/types.js +4 -0
  37. package/lib/module/ConcentricView/types.js.map +1 -0
  38. package/lib/module/LiquidGlassText/LiquidGlassTextNativeComponent.ts +2 -12
  39. package/lib/module/LiquidGlassText/index.js +60 -35
  40. package/lib/module/LiquidGlassText/index.js.map +1 -1
  41. package/lib/module/Menu/MenuNativeComponent.ts +7 -5
  42. package/lib/module/Menu/index.js +4 -9
  43. package/lib/module/Menu/index.js.map +1 -1
  44. package/lib/module/Menu/options.js +4 -12
  45. package/lib/module/Menu/options.js.map +1 -1
  46. package/lib/module/NativeTinyui.js.map +1 -1
  47. package/lib/module/Popover/index.js +4 -2
  48. package/lib/module/Popover/index.js.map +1 -1
  49. package/lib/module/SFSymbol/SFSymbolNativeComponent.ts +20 -0
  50. package/lib/module/SFSymbol/index.js +73 -0
  51. package/lib/module/SFSymbol/index.js.map +1 -0
  52. package/lib/module/SFSymbol/options.js +79 -0
  53. package/lib/module/SFSymbol/options.js.map +1 -0
  54. package/lib/module/SFSymbol/types.js +4 -0
  55. package/lib/module/SFSymbol/types.js.map +1 -0
  56. package/lib/module/Stepper/StepperNativeComponent.ts +29 -0
  57. package/lib/module/Stepper/index.js +75 -0
  58. package/lib/module/Stepper/index.js.map +1 -0
  59. package/lib/module/Stepper/types.js +4 -0
  60. package/lib/module/Stepper/types.js.map +1 -0
  61. package/lib/module/TipKit/Popover.js +89 -0
  62. package/lib/module/TipKit/Popover.js.map +1 -0
  63. package/lib/module/TipKit/TipPopoverNativeComponent.ts +37 -0
  64. package/lib/module/TipKit/index.js +28 -0
  65. package/lib/module/TipKit/index.js.map +1 -0
  66. package/lib/module/TipKit/types.js +4 -0
  67. package/lib/module/TipKit/types.js.map +1 -0
  68. package/lib/module/TipKit/validation.js +24 -0
  69. package/lib/module/TipKit/validation.js.map +1 -0
  70. package/lib/module/index.js +4 -0
  71. package/lib/module/index.js.map +1 -1
  72. package/lib/module/utils/getNativeTinyui.js.map +1 -1
  73. package/lib/typescript/src/ConcentricView/ConcentricViewNativeComponent.d.ts +7 -0
  74. package/lib/typescript/src/ConcentricView/ConcentricViewNativeComponent.d.ts.map +1 -0
  75. package/lib/typescript/src/ConcentricView/index.d.ts +4 -0
  76. package/lib/typescript/src/ConcentricView/index.d.ts.map +1 -0
  77. package/lib/typescript/src/ConcentricView/types.d.ts +6 -0
  78. package/lib/typescript/src/ConcentricView/types.d.ts.map +1 -0
  79. package/lib/typescript/src/LiquidGlassText/LiquidGlassTextNativeComponent.d.ts +2 -8
  80. package/lib/typescript/src/LiquidGlassText/LiquidGlassTextNativeComponent.d.ts.map +1 -1
  81. package/lib/typescript/src/LiquidGlassText/index.d.ts +1 -1
  82. package/lib/typescript/src/LiquidGlassText/index.d.ts.map +1 -1
  83. package/lib/typescript/src/LiquidGlassText/types.d.ts +13 -22
  84. package/lib/typescript/src/LiquidGlassText/types.d.ts.map +1 -1
  85. package/lib/typescript/src/Menu/MenuNativeComponent.d.ts +4 -5
  86. package/lib/typescript/src/Menu/MenuNativeComponent.d.ts.map +1 -1
  87. package/lib/typescript/src/Menu/index.d.ts +1 -1
  88. package/lib/typescript/src/Menu/index.d.ts.map +1 -1
  89. package/lib/typescript/src/Menu/options.d.ts +40 -4
  90. package/lib/typescript/src/Menu/options.d.ts.map +1 -1
  91. package/lib/typescript/src/Menu/types.d.ts +16 -4
  92. package/lib/typescript/src/Menu/types.d.ts.map +1 -1
  93. package/lib/typescript/src/NativeTinyui.d.ts +2 -0
  94. package/lib/typescript/src/NativeTinyui.d.ts.map +1 -1
  95. package/lib/typescript/src/Popover/index.d.ts.map +1 -1
  96. package/lib/typescript/src/Popover/types.d.ts +2 -0
  97. package/lib/typescript/src/Popover/types.d.ts.map +1 -1
  98. package/lib/typescript/src/SFSymbol/SFSymbolNativeComponent.d.ts +11 -0
  99. package/lib/typescript/src/SFSymbol/SFSymbolNativeComponent.d.ts.map +1 -0
  100. package/lib/typescript/src/SFSymbol/index.d.ts +4 -0
  101. package/lib/typescript/src/SFSymbol/index.d.ts.map +1 -0
  102. package/lib/typescript/src/SFSymbol/options.d.ts +86 -0
  103. package/lib/typescript/src/SFSymbol/options.d.ts.map +1 -0
  104. package/lib/typescript/src/SFSymbol/types.d.ts +113 -0
  105. package/lib/typescript/src/SFSymbol/types.d.ts.map +1 -0
  106. package/lib/typescript/src/Stepper/StepperNativeComponent.d.ts +21 -0
  107. package/lib/typescript/src/Stepper/StepperNativeComponent.d.ts.map +1 -0
  108. package/lib/typescript/src/Stepper/index.d.ts +4 -0
  109. package/lib/typescript/src/Stepper/index.d.ts.map +1 -0
  110. package/lib/typescript/src/Stepper/types.d.ts +24 -0
  111. package/lib/typescript/src/Stepper/types.d.ts.map +1 -0
  112. package/lib/typescript/src/TipKit/Popover.d.ts +3 -0
  113. package/lib/typescript/src/TipKit/Popover.d.ts.map +1 -0
  114. package/lib/typescript/src/TipKit/TipPopoverNativeComponent.d.ts +38 -0
  115. package/lib/typescript/src/TipKit/TipPopoverNativeComponent.d.ts.map +1 -0
  116. package/lib/typescript/src/TipKit/index.d.ts +10 -0
  117. package/lib/typescript/src/TipKit/index.d.ts.map +1 -0
  118. package/lib/typescript/src/TipKit/types.d.ts +46 -0
  119. package/lib/typescript/src/TipKit/types.d.ts.map +1 -0
  120. package/lib/typescript/src/TipKit/validation.d.ts +4 -0
  121. package/lib/typescript/src/TipKit/validation.d.ts.map +1 -0
  122. package/lib/typescript/src/index.d.ts +10 -2
  123. package/lib/typescript/src/index.d.ts.map +1 -1
  124. package/lib/typescript/src/utils/getNativeTinyui.d.ts +1 -1
  125. package/lib/typescript/src/utils/getNativeTinyui.d.ts.map +1 -1
  126. package/package.json +37 -2
  127. package/{Tinyui.podspec → react-native-tinyui.podspec} +23 -2
  128. package/src/ConcentricView/ConcentricViewNativeComponent.ts +14 -0
  129. package/src/ConcentricView/index.tsx +34 -0
  130. package/src/ConcentricView/types.ts +6 -0
  131. package/src/LiquidGlassText/LiquidGlassTextNativeComponent.ts +2 -12
  132. package/src/LiquidGlassText/index.tsx +73 -39
  133. package/src/LiquidGlassText/types.ts +24 -50
  134. package/src/Menu/MenuNativeComponent.ts +7 -5
  135. package/src/Menu/index.tsx +6 -6
  136. package/src/Menu/options.ts +4 -18
  137. package/src/Menu/types.ts +18 -4
  138. package/src/NativeTinyui.ts +2 -0
  139. package/src/Popover/index.tsx +8 -3
  140. package/src/Popover/types.ts +2 -0
  141. package/src/SFSymbol/SFSymbolNativeComponent.ts +20 -0
  142. package/src/SFSymbol/index.tsx +89 -0
  143. package/src/SFSymbol/options.ts +116 -0
  144. package/src/SFSymbol/types.ts +158 -0
  145. package/src/Stepper/StepperNativeComponent.ts +29 -0
  146. package/src/Stepper/index.tsx +91 -0
  147. package/src/Stepper/types.ts +24 -0
  148. package/src/TipKit/Popover.tsx +87 -0
  149. package/src/TipKit/TipPopoverNativeComponent.ts +37 -0
  150. package/src/TipKit/index.ts +47 -0
  151. package/src/TipKit/types.ts +57 -0
  152. package/src/TipKit/validation.ts +39 -0
  153. package/src/index.tsx +32 -4
  154. package/src/utils/getNativeTinyui.ts +8 -1
  155. package/ios/Core/TinyuiHostingHelpers.swift +0 -74
  156. package/ios/Menu/TinyuiMenuViewSwift.swift +0 -408
  157. package/ios/Popover/TinyuiPopoverViewSwift.swift +0 -88
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["Stepper/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ import { forwardRef } from 'react';
4
+ import { View } from 'react-native';
5
+ import { assertComponentEnabled } from "../utils/index.js";
6
+ import NativeTipPopoverView from './TipPopoverNativeComponent';
7
+ import { validateTip } from "./validation.js";
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ export const Popover = /*#__PURE__*/forwardRef(function TipPopoverRoot(props, ref) {
10
+ assertComponentEnabled('TipKit');
11
+ validateTip(props);
12
+ const {
13
+ children,
14
+ tipId,
15
+ title,
16
+ message,
17
+ systemImage,
18
+ actions,
19
+ enabled = true,
20
+ maxDisplayCount,
21
+ ignoresDisplayFrequency = false,
22
+ arrowEdge = 'auto',
23
+ onStatusChange,
24
+ onVisibleChange,
25
+ onActionPress,
26
+ onError,
27
+ ...viewProps
28
+ } = props;
29
+ return /*#__PURE__*/_jsx(NativeTipPopoverView, {
30
+ ...viewProps,
31
+ ref: ref,
32
+ collapsable: false,
33
+ tipId: tipId,
34
+ title: title,
35
+ message: message,
36
+ systemImage: systemImage,
37
+ actions: actions,
38
+ enabled: enabled,
39
+ maxDisplayCount: maxDisplayCount ?? 0,
40
+ ignoresDisplayFrequency: ignoresDisplayFrequency,
41
+ arrowEdge: arrowEdge,
42
+ onTipStatusChange: ({
43
+ nativeEvent
44
+ }) => {
45
+ if (nativeEvent.tipId !== tipId) return;
46
+ if (nativeEvent.status === 'invalidated') {
47
+ onStatusChange?.({
48
+ status: 'invalidated',
49
+ reason: nativeEvent.reason
50
+ });
51
+ } else if (nativeEvent.status === 'pending' || nativeEvent.status === 'available') {
52
+ onStatusChange?.({
53
+ status: nativeEvent.status
54
+ });
55
+ }
56
+ },
57
+ onTipVisibleChange: ({
58
+ nativeEvent
59
+ }) => {
60
+ if (nativeEvent.tipId === tipId) onVisibleChange?.(nativeEvent.visible);
61
+ },
62
+ onTipAction: ({
63
+ nativeEvent
64
+ }) => {
65
+ if (nativeEvent.tipId === tipId) {
66
+ onActionPress?.({
67
+ id: nativeEvent.id,
68
+ title: nativeEvent.title
69
+ });
70
+ }
71
+ },
72
+ onTipError: ({
73
+ nativeEvent
74
+ }) => {
75
+ if (nativeEvent.tipId !== tipId) return;
76
+ const error = {
77
+ code: nativeEvent.code,
78
+ message: nativeEvent.message
79
+ };
80
+ if (onError) onError(error);else console.warn(`[TinyUI] TipKit.Popover ${error.code}: ${error.message}`);
81
+ },
82
+ children: /*#__PURE__*/_jsx(View, {
83
+ collapsable: false,
84
+ children: children
85
+ })
86
+ });
87
+ });
88
+ Popover.displayName = 'TipKit.Popover';
89
+ //# sourceMappingURL=Popover.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","View","assertComponentEnabled","NativeTipPopoverView","validateTip","jsx","_jsx","Popover","TipPopoverRoot","props","ref","children","tipId","title","message","systemImage","actions","enabled","maxDisplayCount","ignoresDisplayFrequency","arrowEdge","onStatusChange","onVisibleChange","onActionPress","onError","viewProps","collapsable","onTipStatusChange","nativeEvent","status","reason","onTipVisibleChange","visible","onTipAction","id","onTipError","error","code","console","warn","displayName"],"sourceRoot":"../../../src","sources":["TipKit/Popover.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAA2B,OAAO;AACrD,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,sBAAsB,QAAQ,mBAAU;AACjD,OAAOC,oBAAoB,MAAM,6BAA6B;AAE9D,SAASC,WAAW,QAAQ,iBAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE3C,OAAO,MAAMC,OAAO,gBAAGP,UAAU,CAC/B,SAASQ,cAAcA,CAACC,KAAK,EAAEC,GAAG,EAAE;EAClCR,sBAAsB,CAAC,QAAQ,CAAC;EAChCE,WAAW,CAACK,KAAK,CAAC;EAClB,MAAM;IACJE,QAAQ;IACRC,KAAK;IACLC,KAAK;IACLC,OAAO;IACPC,WAAW;IACXC,OAAO;IACPC,OAAO,GAAG,IAAI;IACdC,eAAe;IACfC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W,CAACM,EAAE;UAAErB,KAAK,EAAEe,WAAW,CAACf;QAAM,CAAC,CAAC;MACnE;IACF,CAAE;IACFsB,UAAU,EAAEA,CAAC;MAAEP;IAAY,CAAC,KAAK;MAC/B,IAAIA,WAAW,CAAChB,KAAK,KAAKA,KAAK,EAAE;MACjC,MAAMwB,KAAK,GAAG;QACZC,IAAI,EAAET,WAAW,CAACS,IAAI;QACtBvB,OAAO,EAAEc,WAAW,CAACd;MACvB,CAAC;MACD,IAAIU,OAAO,EAAEA,OAAO,CAACY,KAAK,CAAC,CAAC,KAE1BE,OAAO,CAACC,IAAI,CACV,2BAA2BH,KAAK,CAACC,IAAI,KAAKD,KAAK,CAACtB,OAAO,EACzD,CAAC;IACL,CAAE;IAAAH,QAAA,eAEFL,IAAA,CAACL,IAAI;MAACyB,WAAW,EAAE,KAAM;MAAAf,QAAA,EAAEA;IAAQ,CAAO;EAAC,CACvB,CAAC;AAE3B,CACF,CAAC;AAEDJ,OAAO,CAACiC,WAAW,GAAG,gBAAgB","ignoreList":[]}
@@ -0,0 +1,37 @@
1
+ import {
2
+ codegenNativeComponent,
3
+ type CodegenTypes,
4
+ type ViewProps,
5
+ } from 'react-native';
6
+ import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
7
+
8
+ export interface NativeTipPopoverProps extends ViewProps {
9
+ tipId: string;
10
+ title: string;
11
+ message?: string;
12
+ systemImage?: string;
13
+ actions?: ReadonlyArray<Readonly<{ id: string; title: string }>>;
14
+ enabled?: boolean;
15
+ maxDisplayCount?: CodegenTypes.Int32;
16
+ ignoresDisplayFrequency?: boolean;
17
+ arrowEdge?: string;
18
+ onTipStatusChange?: DirectEventHandler<
19
+ Readonly<{ tipId: string; status: string; reason: string }>
20
+ >;
21
+ onTipVisibleChange?: DirectEventHandler<
22
+ Readonly<{ tipId: string; visible: boolean }>
23
+ >;
24
+ onTipAction?: DirectEventHandler<
25
+ Readonly<{ tipId: string; id: string; title: string }>
26
+ >;
27
+ onTipError?: DirectEventHandler<
28
+ Readonly<{ tipId: string; code: string; message: string }>
29
+ >;
30
+ }
31
+
32
+ export default codegenNativeComponent<NativeTipPopoverProps>(
33
+ 'TinyuiTipPopoverView',
34
+ {
35
+ excludedPlatforms: ['android'],
36
+ }
37
+ );
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ import { assertComponentEnabled, getNativeTinyui } from "../utils/index.js";
4
+ import { validateTipId } from "./validation.js";
5
+ import { Popover } from "./Popover.js";
6
+ export const TipKit = {
7
+ Popover,
8
+ /** Configure TipKit once before mounting tips. Repeating the same options is safe. */
9
+ async configure({
10
+ displayFrequency = 'daily'
11
+ } = {}) {
12
+ assertComponentEnabled('TipKit');
13
+ if (!['immediate', 'hourly', 'daily', 'weekly', 'monthly'].includes(displayFrequency)) {
14
+ throw new Error('[TinyUI] TipKit.configure received an invalid displayFrequency.');
15
+ }
16
+ await getNativeTinyui().configureTips(displayFrequency);
17
+ },
18
+ /** Persistently invalidate a tip, including when its view is not mounted. */
19
+ async invalidate(tipId, reason = 'actionPerformed') {
20
+ assertComponentEnabled('TipKit');
21
+ validateTipId(tipId);
22
+ if (reason !== 'actionPerformed' && reason !== 'tipClosed') {
23
+ throw new Error('[TinyUI] TipKit.invalidate received an invalid reason.');
24
+ }
25
+ await getNativeTinyui().invalidateTip(tipId, reason);
26
+ }
27
+ };
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["assertComponentEnabled","getNativeTinyui","validateTipId","Popover","TipKit","configure","displayFrequency","includes","Error","configureTips","invalidate","tipId","reason","invalidateTip"],"sourceRoot":"../../../src","sources":["TipKit/index.ts"],"mappings":";;AAAA,SAASA,sBAAsB,EAAEC,eAAe,QAAQ,mBAAU;AAElE,SAASC,aAAa,QAAQ,iBAAc;AAC5C,SAASC,OAAO,QAAQ,cAAW;AAEnC,OAAO,MAAMC,MAAM,GAAG;EACpBD,OAAO;EACP;EACA,MAAME,SAASA,CAAC;IACdC,gBAAgB,GAAG;EACA,CAAC,GAAG,CAAC,CAAC,EAAiB;IAC1CN,sBAAsB,CAAC,QAAQ,CAAC;IAChC,IACE,CAAC,CAAC,WAAW,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,CAAC,CAACO,QAAQ,CAC7DD,gBACF,CAAC,EACD;MACA,MAAM,IAAIE,KAAK,CACb,iEACF,CAAC;IACH;IACA,MAAMP,eAAe,CAAC,CAAC,CAACQ,aAAa,CAACH,gBAAgB,CAAC;EACzD,CAAC;EAED;EACA,MAAMI,UAAUA,CACdC,KAAa,EACbC,MAA6B,GAAG,iBAAiB,EAClC;IACfZ,sBAAsB,CAAC,QAAQ,CAAC;IAChCE,aAAa,CAACS,KAAK,CAAC;IACpB,IAAIC,MAAM,KAAK,iBAAiB,IAAIA,MAAM,KAAK,WAAW,EAAE;MAC1D,MAAM,IAAIJ,KAAK,CAAC,wDAAwD,CAAC;IAC3E;IACA,MAAMP,eAAe,CAAC,CAAC,CAACY,aAAa,CAACF,KAAK,EAAEC,MAAM,CAAC;EACtD;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["TipKit/types.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ export function validateTipId(tipId) {
4
+ if (typeof tipId !== 'string' || tipId.trim().length === 0) {
5
+ throw new Error('[TinyUI] TipKit tipId must be a nonempty string.');
6
+ }
7
+ }
8
+ export function validateTip(props) {
9
+ validateTipId(props.tipId);
10
+ if (typeof props.title !== 'string' || props.title.trim().length === 0) {
11
+ throw new Error('[TinyUI] TipKit.Popover title must be a nonempty string.');
12
+ }
13
+ if (props.maxDisplayCount !== undefined && (!Number.isInteger(props.maxDisplayCount) || props.maxDisplayCount < 1 || props.maxDisplayCount > 2147483647)) {
14
+ throw new Error('[TinyUI] TipKit.Popover maxDisplayCount must be a positive 32-bit integer.');
15
+ }
16
+ const ids = new Set();
17
+ for (const action of props.actions ?? []) {
18
+ if (typeof action.id !== 'string' || action.id.trim().length === 0 || typeof action.title !== 'string' || action.title.trim().length === 0 || ids.has(action.id)) {
19
+ throw new Error('[TinyUI] TipKit.Popover actions need unique nonempty ids and nonempty titles.');
20
+ }
21
+ ids.add(action.id);
22
+ }
23
+ }
24
+ //# sourceMappingURL=validation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["validateTipId","tipId","trim","length","Error","validateTip","props","title","maxDisplayCount","undefined","Number","isInteger","ids","Set","action","actions","id","has","add"],"sourceRoot":"../../../src","sources":["TipKit/validation.ts"],"mappings":";;AAEA,OAAO,SAASA,aAAaA,CAACC,KAAa,EAAQ;EACjD,IAAI,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,CAACC,IAAI,CAAC,CAAC,CAACC,MAAM,KAAK,CAAC,EAAE;IAC1D,MAAM,IAAIC,KAAK,CAAC,kDAAkD,CAAC;EACrE;AACF;AAEA,OAAO,SAASC,WAAWA,CAACC,KAAsB,EAAQ;EACxDN,aAAa,CAACM,KAAK,CAACL,KAAK,CAAC;EAC1B,IAAI,OAAOK,KAAK,CAACC,KAAK,KAAK,QAAQ,IAAID,KAAK,CAACC,KAAK,CAACL,IAAI,CAAC,CAAC,CAACC,MAAM,KAAK,CAAC,EAAE;IACtE,MAAM,IAAIC,KAAK,CAAC,0DAA0D,CAAC;EAC7E;EACA,IACEE,KAAK,CAACE,eAAe,KAAKC,SAAS,KAClC,CAACC,MAAM,CAACC,SAAS,CAACL,KAAK,CAACE,eAAe,CAAC,IACvCF,KAAK,CAACE,eAAe,GAAG,CAAC,IACzBF,KAAK,CAACE,eAAe,GAAG,UAAU,CAAC,EACrC;IACA,MAAM,IAAIJ,KAAK,CACb,4EACF,CAAC;EACH;EACA,MAAMQ,GAAG,GAAG,IAAIC,GAAG,CAAS,CAAC;EAC7B,KAAK,MAAMC,MAAM,IAAIR,KAAK,CAACS,OAAO,IAAI,EAAE,EAAE;IACxC,IACE,OAAOD,MAAM,CAACE,EAAE,KAAK,QAAQ,IAC7BF,MAAM,CAACE,EAAE,CAACd,IAAI,CAAC,CAAC,CAACC,MAAM,KAAK,CAAC,IAC7B,OAAOW,MAAM,CAACP,KAAK,KAAK,QAAQ,IAChCO,MAAM,CAACP,KAAK,CAACL,IAAI,CAAC,CAAC,CAACC,MAAM,KAAK,CAAC,IAChCS,GAAG,CAACK,GAAG,CAACH,MAAM,CAACE,EAAE,CAAC,EAClB;MACA,MAAM,IAAIZ,KAAK,CACb,+EACF,CAAC;IACH;IACAQ,GAAG,CAACM,GAAG,CAACJ,MAAM,CAACE,EAAE,CAAC;EACpB;AACF","ignoreList":[]}
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
 
3
3
  export { Menu } from "./Menu/index.js";
4
+ export { TipKit } from "./TipKit/index.js";
5
+ export { Stepper } from "./Stepper/index.js";
6
+ export { ConcentricView } from "./ConcentricView/index.js";
7
+ export { SFSymbol } from "./SFSymbol/index.js";
4
8
  export { Popover, PopoverClose } from "./Popover/index.js";
5
9
  export { getNativeTinyui, assertComponentEnabled } from "./utils/index.js";
6
10
  export { LiquidGlassText } from "./LiquidGlassText/index.js";
@@ -1 +1 @@
1
- {"version":3,"names":["Menu","Popover","PopoverClose","getNativeTinyui","assertComponentEnabled","LiquidGlassText"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,iBAAQ;AAW7B,SAASC,OAAO,EAAEC,YAAY,QAAQ,oBAAW;AAUjD,SAASC,eAAe,EAAEC,sBAAsB,QAAQ,kBAAS;AAGjE,SAASC,eAAe,QAAQ,4BAAmB","ignoreList":[]}
1
+ {"version":3,"names":["Menu","TipKit","Stepper","ConcentricView","SFSymbol","Popover","PopoverClose","getNativeTinyui","assertComponentEnabled","LiquidGlassText"],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,SAASA,IAAI,QAAQ,iBAAQ;AAC7B,SAASC,MAAM,QAAQ,mBAAU;AAsBjC,SAASC,OAAO,QAAQ,oBAAW;AAGnC,SAASC,cAAc,QAAQ,2BAAkB;AAGjD,SAASC,QAAQ,QAAQ,qBAAY;AAYrC,SAASC,OAAO,EAAEC,YAAY,QAAQ,oBAAW;AAUjD,SAASC,eAAe,EAAEC,sBAAsB,QAAQ,kBAAS;AAGjE,SAASC,eAAe,QAAQ,4BAAmB","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["NativeTinyui","nativeTinyui","enabledComponents","getNativeTinyui","Error","assertComponentEnabled","component","tinyui","Set","getEnabledComponents","has"],"sourceRoot":"../../../src","sources":["utils/getNativeTinyui.ts"],"mappings":";;AAAA,OAAOA,YAAY,MAAqB,oBAAiB;AAIzD,IAAIC,YAAqC;AACzC,IAAIC,iBAAkD;;AAEtD;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAAA,EAAS;EACtCF,YAAY,KAAKD,YAAY;EAC7B,IAAIC,YAAY,IAAI,IAAI,EAAE;IACxB,MAAM,IAAIG,KAAK,CACb,sDAAsD,GACpD,8DACJ,CAAC;EACH;EACA,OAAOH,YAAY;AACrB;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASI,sBAAsBA,CAACC,SAA0B,EAAQ;EACvE,MAAMC,MAAM,GAAGJ,eAAe,CAAC,CAAC;EAChCD,iBAAiB,KAAK,IAAIM,GAAG,CAACD,MAAM,CAACE,oBAAoB,CAAC,CAAC,CAAC;EAE5D,IAAI,CAACP,iBAAiB,CAACQ,GAAG,CAACJ,SAAS,CAAC,EAAE;IACrC,MAAM,IAAIF,KAAK,CACb,gBAAgBE,SAAS,+BAA+B,GACtD,QAAQA,SAAS,kDAAkD,GACnE,sCACJ,CAAC;EACH;AACF","ignoreList":[]}
1
+ {"version":3,"names":["NativeTinyui","nativeTinyui","enabledComponents","getNativeTinyui","Error","assertComponentEnabled","component","tinyui","Set","getEnabledComponents","has"],"sourceRoot":"../../../src","sources":["utils/getNativeTinyui.ts"],"mappings":";;AAAA,OAAOA,YAAY,MAAqB,oBAAiB;AAWzD,IAAIC,YAAqC;AACzC,IAAIC,iBAAkD;;AAEtD;AACA;AACA;AACA;AACA,OAAO,SAASC,eAAeA,CAAA,EAAS;EACtCF,YAAY,KAAKD,YAAY;EAC7B,IAAIC,YAAY,IAAI,IAAI,EAAE;IACxB,MAAM,IAAIG,KAAK,CACb,sDAAsD,GACpD,8DACJ,CAAC;EACH;EACA,OAAOH,YAAY;AACrB;;AAEA;AACA;AACA;AACA;AACA,OAAO,SAASI,sBAAsBA,CAACC,SAA0B,EAAQ;EACvE,MAAMC,MAAM,GAAGJ,eAAe,CAAC,CAAC;EAChCD,iBAAiB,KAAK,IAAIM,GAAG,CAACD,MAAM,CAACE,oBAAoB,CAAC,CAAC,CAAC;EAE5D,IAAI,CAACP,iBAAiB,CAACQ,GAAG,CAACJ,SAAS,CAAC,EAAE;IACrC,MAAM,IAAIF,KAAK,CACb,gBAAgBE,SAAS,+BAA+B,GACtD,QAAQA,SAAS,kDAAkD,GACnE,sCACJ,CAAC;EACH;AACF","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import { type CodegenTypes, type ViewProps } from 'react-native';
2
+ export interface NativeConcentricViewProps extends ViewProps {
3
+ minimumRadius?: CodegenTypes.WithDefault<CodegenTypes.Double, 0>;
4
+ }
5
+ declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeConcentricViewProps>;
6
+ export default _default;
7
+ //# sourceMappingURL=ConcentricViewNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConcentricViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/ConcentricView/ConcentricViewNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,yBAA0B,SAAQ,SAAS;IAC1D,aAAa,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,YAAY,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;CAClE;;AAED,wBAGE"}
@@ -0,0 +1,4 @@
1
+ import type { ConcentricViewProps } from './types.js';
2
+ export declare const ConcentricView: import("react").ForwardRefExoticComponent<ConcentricViewProps & import("react").RefAttributes<import("react-native/types_generated/src/private/webapis/dom/nodes/ReactNativeElement").default>>;
3
+ export type { ConcentricViewProps } from './types.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ConcentricView/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAS,CAAC;AAEnD,eAAO,MAAM,cAAc,iMAoBzB,CAAC;AAMH,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAS,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ViewProps } from 'react-native';
2
+ export interface ConcentricViewProps extends ViewProps {
3
+ /** Fixed fallback radius on iOS < 26. Defaults to 0. Ignored on iOS 26+. */
4
+ minimumRadius?: number;
5
+ }
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/ConcentricView/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,13 +1,7 @@
1
- import { type ColorValue, type ViewProps } from 'react-native';
2
- import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes';
1
+ import { type CodegenTypes, type ColorValue, type ViewProps } from 'react-native';
3
2
  export interface NativeLiquidGlassTextProps extends ViewProps {
4
- configuration: string;
3
+ configuration: CodegenTypes.UnsafeMixed;
5
4
  tintColor?: ColorValue;
6
- onContentSizeChange?: DirectEventHandler<Readonly<{
7
- width: Double;
8
- height: Double;
9
- configuration: string;
10
- }>>;
11
5
  }
12
6
  declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeLiquidGlassTextProps>;
13
7
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"LiquidGlassTextNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/LiquidGlassText/LiquidGlassTextNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EACV,kBAAkB,EAClB,MAAM,EACP,MAAM,2CAA2C,CAAC;AAEnD,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,mBAAmB,CAAC,EAAE,kBAAkB,CACtC,QAAQ,CAAC;QACP,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC,CACH,CAAC;CACH;;AAED,wBAGE"}
1
+ {"version":3,"file":"LiquidGlassTextNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/LiquidGlassText/LiquidGlassTextNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,aAAa,EAAE,YAAY,CAAC,WAAW,CAAC;IACxC,SAAS,CAAC,EAAE,UAAU,CAAC;CACxB;;AAED,wBAGE"}
@@ -1,4 +1,4 @@
1
1
  import type { LiquidGlassTextProps } from './types.js';
2
2
  export declare const LiquidGlassText: import("react").ForwardRefExoticComponent<LiquidGlassTextProps & import("react").RefAttributes<import("react-native/types_generated/src/private/webapis/dom/nodes/ReactNativeElement").default>>;
3
- export type { LiquidGlassTextFont, LiquidGlassTextFontDesign, LiquidGlassTextFontStyle, LiquidGlassTextFontWeight, LiquidGlassTextGlass, LiquidGlassTextProps, } from './types.js';
3
+ export type { LiquidGlassTextFontDesign, LiquidGlassTextEffect, LiquidGlassTextProps, LiquidGlassTextStyle, } from './types.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/LiquidGlassText/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAS,CAAC;AAGpD,eAAO,MAAM,eAAe,kMA8D1B,CAAC;AAEH,YAAY,EACV,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/LiquidGlassText/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,YAAS,CAAC;AA4CpD,eAAO,MAAM,eAAe,kMAyD1B,CAAC;AAEH,YAAY,EACV,yBAAyB,EACzB,qBAAqB,EACrB,oBAAoB,EACpB,oBAAoB,GACrB,MAAM,YAAS,CAAC"}
@@ -1,30 +1,21 @@
1
- import type { ColorValue, ViewProps } from 'react-native';
1
+ import type { ColorValue, StyleProp, TextStyle, ViewProps } from 'react-native';
2
2
  export type LiquidGlassTextFontDesign = 'default' | 'serif' | 'monospaced' | 'rounded';
3
- export type LiquidGlassTextFontWeight = 'ultraLight' | 'thin' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'heavy' | 'black';
4
- export type LiquidGlassTextFontStyle = 'largeTitle' | 'title' | 'title2' | 'title3' | 'headline' | 'subheadline' | 'body' | 'callout' | 'footnote' | 'caption' | 'caption2';
5
- export type LiquidGlassTextFont = LiquidGlassTextFontStyle | Readonly<{
6
- size: number;
7
- weight?: LiquidGlassTextFontWeight;
8
- design?: LiquidGlassTextFontDesign;
9
- /** PostScript name of a font installed in the containing app. */
10
- family?: string;
11
- }>;
12
- export type LiquidGlassTextGlass = 'clear' | 'regular' | 'identity' | Readonly<{
13
- effect?: 'clear' | 'regular' | 'identity';
14
- tint?: ColorValue;
15
- interactive?: boolean;
16
- }>;
3
+ export type LiquidGlassTextEffect = 'clear' | 'regular' | 'identity';
4
+ /** React Native text styles supported by the native glass renderer. */
5
+ export type LiquidGlassTextStyle = Readonly<Pick<TextStyle, 'color' | 'fontFamily' | 'fontSize' | 'fontStyle' | 'fontWeight' | 'letterSpacing' | 'textAlign'>>;
17
6
  export interface LiquidGlassTextProps extends Omit<ViewProps, 'children'> {
18
7
  /** Text to display. Pass translated strings from JavaScript if needed. */
19
8
  text: string;
20
- /** Defaults to clear. Native glass requires iOS 26+. */
21
- glass?: LiquidGlassTextGlass;
22
- /** SwiftUI text style or an explicit system/custom font. Defaults to body. */
23
- font?: LiquidGlassTextFont;
24
- /** Overrides the weight specified in font. */
25
- fontWeight?: LiquidGlassTextFontWeight;
26
- /** Overrides the design specified in font. */
9
+ /** Glass effect. Defaults to clear. Native glass requires iOS 26+. */
10
+ effect?: LiquidGlassTextEffect;
11
+ /** Glass tint and fallback text color. */
12
+ tint?: ColorValue;
13
+ /** Whether the glass responds to pointer and touch interaction. */
14
+ interactive?: boolean;
15
+ /** Overrides the system font design. */
27
16
  fontDesign?: LiquidGlassTextFontDesign;
17
+ /** Familiar React Native text styles. Explicit alignment takes precedence. */
18
+ textStyle?: StyleProp<LiquidGlassTextStyle>;
28
19
  /** Aligns explicit newline-separated lines. Defaults to leading. */
29
20
  multilineTextAlignment?: 'leading' | 'center' | 'trailing';
30
21
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/LiquidGlassText/types.ts"],"names":[],"m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yB,CAAC;IACvC,oEAAoE;IACpE,sBAAsB,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;CAC5D"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/LiquidGlassText/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhF,MAAM,MAAM,yBAAyB,GACnC,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,SAAS,CAAC;AAEjD,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAErE,uEAAuE;AACvE,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CACzC,IAAI,CACF,SAAS,EACP,OAAO,GACP,YAAY,GACZ,UAAU,GACV,WAAW,GACX,YAAY,GACZ,eAAe,GACf,WAAW,CACd,CACF,CAAC;AAEF,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACvE,0EAA0E;IAC1E,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,0CAA0C;IAC1C,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,mEAAmE;IACnE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wCAAwC;IACxC,UAAU,CAAC,EAAE,yBAAyB,CAAC;IACvC,8EAA8E;IAC9E,SAAS,CAAC,EAAE,SAAS,CAAC,oBAAoB,CAAC,CAAC;IAC5C,oEAAoE;IACpE,sBAAsB,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;CAC5D"}
@@ -1,14 +1,13 @@
1
- import { type ViewProps } from 'react-native';
1
+ import { type CodegenTypes, type ViewProps } from 'react-native';
2
2
  import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
3
3
  export interface NativeMenuProps extends ViewProps {
4
- menuConfig: string;
4
+ menuConfig: CodegenTypes.UnsafeMixed;
5
5
  title?: string;
6
6
  disabled?: boolean;
7
- hasPrimaryAction?: boolean;
8
- onItemPress?: DirectEventHandler<Readonly<{
7
+ onActionPress?: DirectEventHandler<Readonly<{
9
8
  id: string;
9
+ title: string;
10
10
  }>>;
11
- onPrimaryAction?: DirectEventHandler<null>;
12
11
  }
13
12
  declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeMenuProps>;
14
13
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"MenuNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/Menu/MenuNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC;IAC3D,eAAe,CAAC,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;CAC5C;;AAED,wBAEG"}
1
+ {"version":3,"file":"MenuNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/Menu/MenuNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,MAAM,WAAW,eAAgB,SAAQ,SAAS;IAChD,UAAU,EAAE,YAAY,CAAC,WAAW,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,kBAAkB,CAAC,QAAQ,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC,CAAC;CAC7E;;AAED,wBAEG"}
@@ -1,4 +1,4 @@
1
1
  import type { MenuComponent } from './types.js';
2
2
  export declare const Menu: MenuComponent;
3
- export type { MenuActionOption, MenuDividerOption, MenuItemState, MenuOption, MenuProps, MenuSectionOption, MenuSubmenuOption, } from './types.js';
3
+ export type { MenuActionOption, MenuActionPressEvent, MenuActionPressEventData, MenuDividerOption, MenuItemState, MenuOption, MenuProps, MenuSectionOption, MenuSubmenuOption, } from './types.js';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Menu/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,YAAS,CAAC;AAuCxD,eAAO,MAAM,IAAI,EAAe,aAAa,CAAC;AAE9C,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,YAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Menu/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAa,MAAM,YAAS,CAAC;AAqCxD,eAAO,MAAM,IAAI,EAAe,aAAa,CAAC;AAE9C,YAAY,EACV,gBAAgB,EAChB,oBAAoB,EACpB,wBAAwB,EACxB,iBAAiB,EACjB,aAAa,EACb,UAAU,EACV,SAAS,EACT,iBAAiB,EACjB,iBAAiB,GAClB,MAAM,YAAS,CAAC"}
@@ -1,7 +1,43 @@
1
+ import { processColor } from 'react-native';
1
2
  import type { MenuOption } from './types.js';
2
- export interface SerializedMenuOptions {
3
- config: string;
4
- callbacks: Map<string, () => void>;
3
+ type NativeMenuColor = ReturnType<typeof processColor>;
4
+ interface NativeMenuLabel {
5
+ title: string;
6
+ subtitle?: string;
7
+ systemImage?: string;
8
+ icon?: string;
9
+ iconColor?: NativeMenuColor;
10
+ titleColor?: NativeMenuColor;
5
11
  }
6
- export declare function serializeMenuOptions(options: readonly MenuOption[]): SerializedMenuOptions;
12
+ interface NativeMenuAction extends NativeMenuLabel {
13
+ type: 'action';
14
+ id: string;
15
+ state: 'off' | 'on' | 'mixed';
16
+ destructive: boolean;
17
+ disabled: boolean;
18
+ hidden: boolean;
19
+ keepOpen: boolean;
20
+ }
21
+ interface NativeMenuSubmenu extends NativeMenuLabel {
22
+ type: 'submenu';
23
+ destructive: boolean;
24
+ disabled: boolean;
25
+ hidden: boolean;
26
+ displayInline: boolean;
27
+ children: NativeMenuElement[];
28
+ }
29
+ interface NativeMenuSection {
30
+ type: 'section';
31
+ title?: string;
32
+ children: NativeMenuElement[];
33
+ }
34
+ interface NativeMenuSeparator {
35
+ type: 'separator';
36
+ }
37
+ type NativeMenuElement = NativeMenuAction | NativeMenuSubmenu | NativeMenuSection | NativeMenuSeparator;
38
+ interface NativeMenuConfiguration {
39
+ items: NativeMenuElement[];
40
+ }
41
+ export declare function serializeMenuOptions(options: readonly MenuOption[]): NativeMenuConfiguration;
42
+ export {};
7
43
  //# sourceMappingURL=options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../src/Menu/options.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAS,CAAC;AAgD1C,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,IAAI,CAAC,CAAC;CACpC;AAMD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,UAAU,EAAE,GAC7B,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AiB,GACjB,iBAAiB,GACjB,mBAAmB,CAAC;AAExB,UAAU,uBAAuB;IAC/B,KAAK,EAAE,iBAAiB,EAAE,CAAC;CAC5B;AAMD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,SAAS,UAAU,EAAE,GAC7B,uBAAuB,CAEzB"}
@@ -10,7 +10,11 @@ interface MenuOptionLabel {
10
10
  icon?: string;
11
11
  /** Tint applied to `icon` or `systemImage`. */
12
12
  iconColor?: ColorValue;
13
- /** Foreground color applied to the option title. */
13
+ /**
14
+ * Retained for source compatibility. UIKit menu elements don't expose a
15
+ * public custom title-color API; use `destructive` for system red styling.
16
+ * @deprecated UIKit ignores custom menu title colors.
17
+ */
14
18
  titleColor?: ColorValue;
15
19
  }
16
20
  export interface MenuActionOption extends MenuOptionLabel {
@@ -24,7 +28,6 @@ export interface MenuActionOption extends MenuOptionLabel {
24
28
  hidden?: boolean;
25
29
  /** Keep the menu visible after selection on iOS 16 and newer. */
26
30
  keepOpen?: boolean;
27
- onSelect?: () => void;
28
31
  }
29
32
  export interface MenuSubmenuOption extends MenuOptionLabel {
30
33
  type: 'submenu';
@@ -47,6 +50,15 @@ export interface MenuDividerOption {
47
50
  type: 'divider';
48
51
  }
49
52
  export type MenuOption = MenuActionOption | MenuSubmenuOption | MenuSectionOption | MenuDividerOption;
53
+ export interface MenuActionPressEventData {
54
+ /** The selected action's explicit id, or its generated menu-path id. */
55
+ id: string;
56
+ /** The selected action's displayed title. */
57
+ title: string;
58
+ }
59
+ export type MenuActionPressEvent = Readonly<{
60
+ nativeEvent: Readonly<MenuActionPressEventData>;
61
+ }>;
50
62
  export interface MenuProps extends Omit<ViewProps, 'children'> {
51
63
  /** The trigger element. */
52
64
  children: ReactNode;
@@ -56,8 +68,8 @@ export interface MenuProps extends Omit<ViewProps, 'children'> {
56
68
  options: readonly MenuOption[];
57
69
  /** Prevents the trigger from opening the menu. */
58
70
  disabled?: boolean;
59
- /** Called on a normal tap. When set, a long press opens the menu. */
60
- onPrimaryAction?: () => void;
71
+ /** Called whenever an enabled action is selected. */
72
+ onActionPress?: (event: MenuActionPressEvent) => void;
61
73
  }
62
74
  export interface MenuComponent extends ForwardRefExoticComponent<MenuProps & RefAttributes<ComponentRef<typeof View>>> {
63
75
  }
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/Menu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,aAAa,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEhE,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,IAAI,GAAG,OAAO,CAAC;AAEnD,UAAU,eAAe;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sBAAsB;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+FAA+F;IAC/F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+CAA+C;IAC/C,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,oDAAoD;IACpD,UAAU,CAAC,EAAE,UAAU,CAAC;CACzB;AAED,MAAM,WAAW,gBAAiB,SAAQ,eAAe;IACvD,mEAAmE;IACnE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,gEAAgE;IAChE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,iBAAkB,SAAQ,eAAe;IACxD,IAAI,EAAE,SAAS,CAAC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ACjB;AAED,MAAM,MAAM,UAAU,GACpB,gBAAgB,GAAG,iBAAiB,GAAG,iBAAiB,GAAG,iBAAiB,CAAC;AAE/E,MAAM,WAAW,wBAAwB;IACvC,wEAAwE;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,oBAAoB,GAAG,QAAQ,CAAC;IAC1C,WAAW,EAAE,QAAQ,CAAC,wBAAwB,CAAC,CAAC;CACjD,CAAC,CAAC;AAEH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC5D,2BAA2B;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,OAAO,EAAE,SAAS,UAAU,EAAE,CAAC;IAC/B,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qDAAqD;IACrD,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,KAAK,IAAI,CAAC;CACvD;AAED,MAAM,WAAW,aAAc,SAAQ,yBAAyB,CAC9D,SAAS,GAAG,aAAa,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CACrD;CAAG"}
@@ -5,6 +5,8 @@ export interface Spec extends TurboModule {
5
5
  * based on the `react-native-tinyui.components` array in package.json.
6
6
  */
7
7
  getEnabledComponents(): ReadonlyArray<string>;
8
+ configureTips(displayFrequency: string): Promise<void>;
9
+ invalidateTip(tipId: string, reason: string): Promise<void>;
8
10
  }
9
11
  declare const _default: Spec | null | undefined;
10
12
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeTinyui.d.ts","sourceRoot":"","sources":["../../../src/NativeTinyui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC;;;OAGG;IACH,oBAAoB,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;CAC/C;;AAED,wBAAuD"}
1
+ {"version":3,"file":"NativeTinyui.d.ts","sourceRoot":"","sources":["../../../src/NativeTinyui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC;;;OAGG;IACH,oBAAoB,IAAI,aAAa,CAAC,MAAM,CAAC,CAAC;IAC9C,aAAa,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CAC7D;;AAED,wBAAuD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Popover/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,gBAAgB,EAIjB,MAAM,YAAS,CAAC;AA0EjB,eAAO,MAAM,OAAO,EAEd,gBAAgB,GAAG;IACvB,KAAK,EAAE,OAAO,YAAY,CAAC;CAC5B,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,YAAY,EACV,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,wBAAwB,EACxB,YAAY,GACb,MAAM,YAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Popover/index.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,gBAAgB,EAIjB,MAAM,YAAS,CAAC;AA+EjB,eAAO,MAAM,OAAO,EAEd,gBAAgB,GAAG;IACvB,KAAK,EAAE,OAAO,YAAY,CAAC;CAC5B,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB,YAAY,EACV,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,cAAc,EACd,wBAAwB,EACxB,YAAY,GACb,MAAM,YAAS,CAAC"}
@@ -15,6 +15,8 @@ export interface PopoverProps extends Omit<ViewProps, 'children'> {
15
15
  /**
16
16
  * Content shown inside the popover. Pass a node, or a render function that
17
17
  * receives `{ close }` to dismiss the popover from within the content.
18
+ * The content's layout determines the popover size, including live updates.
19
+ * Leave its background transparent to reveal the system popover material.
18
20
  */
19
21
  content: PopoverContent;
20
22
  /** Controlled presentation state. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/Popover/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,yBAAyB,EACzB,aAAa,EACd,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GACjC,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GAC1B,SAAS,GAAG,UAAU,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAErD,uDAAuD;AACvD,MAAM,WAAW,wBAAwB;IACvC,6BAA6B;IAC7B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,MAAM,cAAc,GACxB,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,wBAAwB,KAAK,SAAS,CAAC,CAAC;AAE9D,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/D,yDAAyD;IACzD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,OAAO,EAAE,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,CAAC;IAC/D,yDAAyD;IACzD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;OAKG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,mDAAmD;IACnD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,uBAAuB,CAAC;IAC3C,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAED,MAAM,WAAW,gBAAiB,SAAQ,yBAAyB,CACjE,YAAY,GAAG,aAAa,CAAC,YAAY,CAAC,OAAO,IAAI,CAAC,CAAC,CACxD;CAAG;AAEJ,mDAAmD;AACnD,MAAM,WAAW,iBAAkB,SAAQ,cAAc;IACvD,qFAAqF;IACrF,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB"}
@@ -0,0 +1,11 @@
1
+ import { type CodegenTypes, type ViewProps } from 'react-native';
2
+ export interface NativeSFSymbolProps extends ViewProps {
3
+ configuration: CodegenTypes.UnsafeMixed;
4
+ effects: CodegenTypes.UnsafeMixed;
5
+ contentTransition: CodegenTypes.UnsafeMixed;
6
+ resizeMode?: CodegenTypes.WithDefault<string, 'center'>;
7
+ respectReduceMotion?: CodegenTypes.WithDefault<boolean, true>;
8
+ }
9
+ declare const _default: import("react-native/types_generated/Libraries/Utilities/codegenNativeComponent").NativeComponentType<NativeSFSymbolProps>;
10
+ export default _default;
11
+ //# sourceMappingURL=SFSymbolNativeComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SFSymbolNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/SFSymbol/SFSymbolNativeComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,aAAa,EAAE,YAAY,CAAC,WAAW,CAAC;IACxC,OAAO,EAAE,YAAY,CAAC,WAAW,CAAC;IAClC,iBAAiB,EAAE,YAAY,CAAC,WAAW,CAAC;IAC5C,UAAU,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACxD,mBAAmB,CAAC,EAAE,YAAY,CAAC,WAAW,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;CAC/D;;AAED,wBAKE"}
@@ -0,0 +1,4 @@
1
+ import type { SFSymbolProps } from './types.js';
2
+ export declare const SFSymbol: import("react").ForwardRefExoticComponent<SFSymbolProps & import("react").RefAttributes<import("react-native/types_generated/src/private/webapis/dom/nodes/ReactNativeElement").default>>;
3
+ export type { SFSymbolContentTransition, SFSymbolEffect, SFSymbolEffectOptions, SFSymbolProps, SFSymbolRenderingMode, SFSymbolScale, SFSymbolTextStyle, SFSymbolWeight, } from './types.js';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/SFSymbol/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAS,CAAC;AAE7C,eAAO,MAAM,QAAQ,2LAmEpB,CAAC;AAIF,YAAY,EACV,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACrB,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,iBAAiB,EACjB,cAAc,GACf,MAAM,YAAS,CAAC"}