bleam 0.0.11 → 0.0.13

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 (66) hide show
  1. package/dist/ai.cjs +2315 -2173
  2. package/dist/ai.d.cts +227 -322
  3. package/dist/ai.d.ts +227 -322
  4. package/dist/ai.js +2310 -2159
  5. package/dist/app-storage-D8W4n8ey.cjs +39 -0
  6. package/dist/app-storage-Isi5Bo0R.js +34 -0
  7. package/dist/cli.cjs +148 -22
  8. package/dist/cli.d.cts +14 -1
  9. package/dist/cli.d.ts +13 -0
  10. package/dist/cli.js +148 -22
  11. package/dist/config.d.cts +1 -1
  12. package/dist/elements-CFk0QHw0.d.cts +127 -0
  13. package/dist/{ui-CHc4xEs_.d.ts → elements-ClGQ41Sc.d.ts} +84 -49
  14. package/dist/{ui.cjs → elements.cjs} +307 -168
  15. package/dist/elements.d.cts +2 -0
  16. package/dist/elements.d.ts +2 -0
  17. package/dist/{ui.js → elements.js} +306 -169
  18. package/dist/{files-Ds1wT8C2.js → files-DErLhzCB.js} +11 -12
  19. package/dist/{files-Bo7h9fik.cjs → files-lMk-CpL_.cjs} +16 -11
  20. package/dist/files.cjs +1 -1
  21. package/dist/files.d.cts +1 -1
  22. package/dist/files.js +1 -1
  23. package/dist/index.d.cts +1 -1
  24. package/dist/schema-B7ELMpuI.js +226 -0
  25. package/dist/schema-B7SLUBLN.cjs +286 -0
  26. package/dist/schema-BWsDPc6c.d.cts +125 -0
  27. package/dist/schema-LxnzAfgw.d.ts +125 -0
  28. package/dist/schema.cjs +10 -2
  29. package/dist/schema.d.cts +2 -2
  30. package/dist/schema.d.ts +2 -2
  31. package/dist/schema.js +2 -2
  32. package/dist/secrets.cjs +146 -0
  33. package/dist/secrets.d.cts +14 -0
  34. package/dist/secrets.d.ts +14 -0
  35. package/dist/secrets.js +142 -0
  36. package/dist/state-BZYyrE2-.cjs +936 -0
  37. package/dist/state-DkaRFkZJ.js +843 -0
  38. package/dist/state.cjs +17 -12
  39. package/dist/state.d.cts +144 -140
  40. package/dist/state.d.ts +145 -140
  41. package/dist/state.js +4 -3
  42. package/dist/window.d.cts +1 -1
  43. package/dist/window.d.ts +3 -3
  44. package/package.json +13 -6
  45. package/templates/basic/app/index.tsx +2 -2
  46. package/templates/foundation-models/app/index.tsx +78 -16
  47. package/templates/image-generation/app/index.tsx +4 -4
  48. package/templates/native/ios/Bleam.xcodeproj/project.pbxproj +46 -46
  49. package/templates/native/ios/Podfile.lock +173 -173
  50. package/templates/native/modules/bleam-runtime/ios/AIModule.swift +42 -365
  51. package/templates/state/app/index.tsx +2 -2
  52. package/templates/text-generation/app/index.tsx +83 -52
  53. package/templates/updates/README.md +1 -1
  54. package/dist/schema-Bo5Jvqus.js +0 -90
  55. package/dist/schema-CYh6n8GS.d.ts +0 -58
  56. package/dist/schema-oeOrd3i1.d.cts +0 -58
  57. package/dist/schema-rQ13mrpD.cjs +0 -102
  58. package/dist/state-Bx0VlTlO.cjs +0 -852
  59. package/dist/state-CAwe-Vw1.js +0 -767
  60. package/dist/ui-1WepaMS4.d.cts +0 -92
  61. package/dist/ui.d.cts +0 -2
  62. package/dist/ui.d.ts +0 -2
  63. /package/dist/{config-CufOVJV3.d.cts → config-COcRnn5a.d.cts} +0 -0
  64. /package/dist/{files-Dt5mbzLq.d.cts → files-DwA7pzr3.d.cts} +0 -0
  65. /package/dist/{native-sqlite-yQLD5s9i.cjs → native-sqlite-Dw--FI9a.cjs} +0 -0
  66. /package/dist/{native-sqlite-xcGdamRD.js → native-sqlite-WzRNzCSh.js} +0 -0
@@ -1,92 +0,0 @@
1
- import { ReactNode } from "react";
2
- import { ColorValue, StyleProp, TextStyle, ViewStyle } from "react-native";
3
- import * as _nativescript_react_native27 from "@nativescript/react-native";
4
-
5
- //#region src/ui/shared.d.ts
6
- type NativeStyle = ViewStyle & TextStyle;
7
- //#endregion
8
- //#region src/ui/button.d.ts
9
- type ButtonVariant = 'primary' | 'secondary' | 'plain';
10
- type ButtonSize = 'regular' | 'small' | 'large';
11
- type ButtonProps = {
12
- children?: ReactNode;
13
- title?: string;
14
- variant?: ButtonVariant;
15
- size?: ButtonSize;
16
- disabled?: boolean;
17
- loading?: boolean;
18
- onPress?: () => void;
19
- style?: StyleProp<NativeStyle>;
20
- };
21
- declare const Button: _nativescript_react_native27.UIKitViewComponent<ButtonProps, UIButton>;
22
- //#endregion
23
- //#region src/ui/label.d.ts
24
- type LabelTone = 'primary' | 'secondary' | 'tertiary';
25
- type LabelProps = {
26
- children?: ReactNode;
27
- text?: string;
28
- tone?: LabelTone;
29
- numberOfLines?: number;
30
- style?: StyleProp<NativeStyle>;
31
- };
32
- declare const Label: _nativescript_react_native27.UIKitViewComponent<LabelProps, UILabel>;
33
- //#endregion
34
- //#region src/ui/symbol.d.ts
35
- type SymbolName = string;
36
- type SymbolWeight = 'ultraLight' | 'thin' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'heavy' | 'black';
37
- type SymbolScale = 'small' | 'medium' | 'large';
38
- type SymbolProps = {
39
- symbol: SymbolName;
40
- size?: number;
41
- weight?: SymbolWeight;
42
- scale?: SymbolScale;
43
- color?: ColorValue;
44
- style?: StyleProp<NativeStyle>;
45
- };
46
- declare const Symbol: _nativescript_react_native27.UIKitViewComponent<SymbolProps, UIImageView>;
47
- //#endregion
48
- //#region src/ui/glass-shared.d.ts
49
- type GlassStyle = 'regular' | 'clear' | 'none';
50
- type GlassEffectStyleConfig = {
51
- style: GlassStyle;
52
- animate?: boolean;
53
- animationDuration?: number;
54
- };
55
- type GlassVisualStyle = {
56
- cornerRadius?: number;
57
- borderWidth?: number;
58
- borderColor?: ColorValue;
59
- };
60
- type GlassViewProps = {
61
- children?: ReactNode;
62
- style?: StyleProp<NativeStyle>;
63
- glassStyle?: GlassVisualStyle;
64
- glassEffectStyle?: GlassStyle | GlassEffectStyleConfig;
65
- tintColor?: string;
66
- isInteractive?: boolean;
67
- };
68
- type GlassContainerProps = {
69
- children?: ReactNode;
70
- style?: StyleProp<NativeStyle>;
71
- glassStyle?: GlassVisualStyle;
72
- spacing?: number;
73
- };
74
- //#endregion
75
- //#region src/ui/glass-view.d.ts
76
- declare const GlassView: _nativescript_react_native27.UIKitViewComponent<GlassViewProps, _nativescript_react_native27.UIKitContainerResult<UIVisualEffectView, UIView>>;
77
- //#endregion
78
- //#region src/ui/glass-container.d.ts
79
- declare const GlassContainer: _nativescript_react_native27.UIKitViewComponent<GlassContainerProps, _nativescript_react_native27.UIKitContainerResult<UIVisualEffectView, UIView>>;
80
- //#endregion
81
- //#region src/ui/blur-view.d.ts
82
- type BlurIntensity = 'ultraThin' | 'thin' | 'regular' | 'thick' | 'chrome';
83
- type BlurColorScheme = 'auto' | 'light' | 'dark';
84
- type BlurViewProps = {
85
- children?: ReactNode;
86
- style?: StyleProp<NativeStyle>;
87
- intensity?: BlurIntensity;
88
- colorScheme?: BlurColorScheme;
89
- };
90
- declare const BlurView: _nativescript_react_native27.UIKitViewComponent<BlurViewProps, _nativescript_react_native27.UIKitContainerResult<UIVisualEffectView, UIView>>;
91
- //#endregion
92
- export { ButtonVariant as C, ButtonSize as S, Label as _, GlassContainer as a, Button as b, GlassEffectStyleConfig as c, GlassVisualStyle as d, Symbol as f, SymbolWeight as g, SymbolScale as h, BlurViewProps as i, GlassStyle as l, SymbolProps as m, BlurIntensity as n, GlassView as o, SymbolName as p, BlurView as r, GlassContainerProps as s, BlurColorScheme as t, GlassViewProps as u, LabelProps as v, ButtonProps as x, LabelTone as y };
package/dist/ui.d.cts DELETED
@@ -1,2 +0,0 @@
1
- import { C as ButtonVariant, S as ButtonSize, _ as Label, a as GlassContainer, b as Button, c as GlassEffectStyleConfig, d as GlassVisualStyle, f as Symbol, g as SymbolWeight, h as SymbolScale, i as BlurViewProps, l as GlassStyle, m as SymbolProps, n as BlurIntensity, o as GlassView, p as SymbolName, r as BlurView, s as GlassContainerProps, t as BlurColorScheme, u as GlassViewProps, v as LabelProps, x as ButtonProps, y as LabelTone } from "./ui-1WepaMS4.cjs";
2
- export { BlurColorScheme, BlurIntensity, BlurView, BlurViewProps, Button, ButtonProps, ButtonSize, ButtonVariant, GlassContainer, GlassContainerProps, GlassEffectStyleConfig, GlassStyle, GlassView, GlassViewProps, GlassVisualStyle, Label, LabelProps, LabelTone, Symbol, SymbolName, SymbolProps, SymbolScale, SymbolWeight };
package/dist/ui.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { C as ButtonVariant, S as ButtonSize, _ as Label, a as GlassContainer, b as Button, c as GlassEffectStyleConfig, d as GlassVisualStyle, f as Symbol, g as SymbolWeight, h as SymbolScale, i as BlurViewProps, l as GlassStyle, m as SymbolProps, n as BlurIntensity, o as GlassView, p as SymbolName, r as BlurView, s as GlassContainerProps, t as BlurColorScheme, u as GlassViewProps, v as LabelProps, x as ButtonProps, y as LabelTone } from "./ui-CHc4xEs_.js";
2
- export { BlurColorScheme, BlurIntensity, BlurView, BlurViewProps, Button, ButtonProps, ButtonSize, ButtonVariant, GlassContainer, GlassContainerProps, GlassEffectStyleConfig, GlassStyle, GlassView, GlassViewProps, GlassVisualStyle, Label, LabelProps, LabelTone, Symbol, SymbolName, SymbolProps, SymbolScale, SymbolWeight };