@legendapp/spark 0.0.4 → 0.0.6
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.
- package/package.json +4 -4
- package/skills/spark/UPGRADING.md +105 -0
- package/skills/spark/storage-settings.md +2 -28
- package/skills/spark/ui.md +27 -1
- package/vendor/node_modules/@legendapp/spark-ai/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-audio/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-auth-session/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/build.js +47 -25
- package/vendor/node_modules/@legendapp/spark-cli/dist/expo-desktop-template-bare-minimum-55.83.10.tgz +0 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/migrations.cjs +6 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/package.js +4 -8
- package/vendor/node_modules/@legendapp/spark-cli/dist/project.js +5 -3
- package/vendor/node_modules/@legendapp/spark-cli/dist/publish-directory.js +40 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/release-app.js +139 -0
- package/vendor/node_modules/@legendapp/spark-cli/dist/release.json +21 -21
- package/vendor/node_modules/@legendapp/spark-cli/dist/signing.js +61 -41
- package/vendor/node_modules/@legendapp/spark-cli/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-cli/templates/blank-typescript/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/templates/universal/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-cli/templates/windows/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-clipboard/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-codex/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-commands/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-context-menu/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkTestDriver.h +2 -0
- package/vendor/node_modules/@legendapp/spark-desktop-app/macos/SparkTestDriver.mm +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-app/package.json +1 -1
- package/vendor/node_modules/@legendapp/spark-desktop-config/app.plugin.cjs +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.cjs +15 -1
- package/vendor/node_modules/@legendapp/spark-desktop-config/native-patches.d.cts +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-desktop-config/rpaths.cjs +20 -0
- package/vendor/node_modules/@legendapp/spark-desktop-config/rpaths.d.cts +1 -0
- package/vendor/node_modules/@legendapp/spark-desktop-host/AppDelegate.mm +16 -5
- package/vendor/node_modules/@legendapp/spark-desktop-host/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-links/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-shortcuts/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-desktop-windows/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-documents/package.json +7 -7
- package/vendor/node_modules/@legendapp/spark-drag-drop/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-expo-compat/package.json +4 -4
- package/vendor/node_modules/@legendapp/spark-file-dialog/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-file-system/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-global-shortcuts/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-html/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-markdown/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-message-dialog/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-native-menu/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-notifications/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-processes/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-rich-text/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-secure-storage/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-settings/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-settings-ui/package.json +5 -5
- package/vendor/node_modules/@legendapp/spark-settings-ui/src/heading.tsx +14 -0
- package/vendor/node_modules/@legendapp/spark-settings-ui/src/index.tsx +132 -332
- package/vendor/node_modules/@legendapp/spark-settings-ui/src/rows.tsx +185 -0
- package/vendor/node_modules/@legendapp/spark-sqlite/package.json +3 -3
- package/vendor/node_modules/@legendapp/spark-system/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-tray/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-ui/macos/native-select/RNNativeSegmentedControl.mm +29 -0
- package/vendor/node_modules/@legendapp/spark-ui/macos/native-select/RNNativeSelect.mm +17 -1
- package/vendor/node_modules/@legendapp/spark-ui/macos/sidebar/RNSidebar.mm +20 -0
- package/vendor/node_modules/@legendapp/spark-ui/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-ui/src/availability.ts +2 -1
- package/vendor/node_modules/@legendapp/spark-ui/src/control.ts +1 -1
- package/vendor/node_modules/@legendapp/spark-ui/src/desktop.tsx +15 -12
- package/vendor/node_modules/@legendapp/spark-ui/src/index.android.tsx +7 -6
- package/vendor/node_modules/@legendapp/spark-ui/src/index.ios.tsx +10 -9
- package/vendor/node_modules/@legendapp/spark-ui/src/index.web.tsx +6 -4
- package/vendor/node_modules/@legendapp/spark-ui/src/native-select/NativeSegmentedControlNativeComponent.ts +2 -1
- package/vendor/node_modules/@legendapp/spark-ui/src/native-select/NativeSelectNativeComponent.ts +1 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/select.ts +4 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/switch.tsx +13 -0
- package/vendor/node_modules/@legendapp/spark-ui/src/types.ts +16 -4
- package/vendor/node_modules/@legendapp/spark-updates/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-webview/package.json +2 -2
- package/vendor/node_modules/@legendapp/spark-window-options/package.json +1 -1
- /package/{settings-window.ts → ui-settings.ts} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const marker = "# spark: remove Swift toolchain runpath";
|
|
2
|
+
const toolchain = '"${TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"';
|
|
3
|
+
|
|
4
|
+
function stripSwiftToolchainRunpath(podfile) {
|
|
5
|
+
if (podfile.includes(marker)) return podfile;
|
|
6
|
+
const postInstall = /^[ \t]*post_install do \|installer\|[ \t]*$/m;
|
|
7
|
+
if (!postInstall.test(podfile)) throw new Error("Missing post_install block for Spark's macOS runpath configuration.");
|
|
8
|
+
return podfile.replace(postInstall, line => `${line}
|
|
9
|
+
${marker}
|
|
10
|
+
installer.aggregate_targets.each do |aggregate|
|
|
11
|
+
aggregate.xcconfigs.each do |configuration, xcconfig|
|
|
12
|
+
paths = xcconfig.attributes['LD_RUNPATH_SEARCH_PATHS']
|
|
13
|
+
next unless paths&.include?('${toolchain}')
|
|
14
|
+
xcconfig.attributes['LD_RUNPATH_SEARCH_PATHS'] = paths.gsub('${toolchain}', '')
|
|
15
|
+
xcconfig.save_as(aggregate.xcconfig_path(configuration))
|
|
16
|
+
end
|
|
17
|
+
end`);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
module.exports = { stripSwiftToolchainRunpath };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function stripSwiftToolchainRunpath(podfile: string): string;
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
@property (nonatomic, assign) BOOL sparkPrimaryInstance;
|
|
20
20
|
@property (nonatomic, weak) NSWindow *sparkLastFocusedWindow;
|
|
21
21
|
@property (nonatomic, strong) NSColor *sparkStartupColor;
|
|
22
|
+
@property (nonatomic, weak) RCTSurfacePresenter *sparkDriverPresenter;
|
|
22
23
|
@end
|
|
23
24
|
|
|
24
25
|
@implementation AppDelegate
|
|
@@ -125,11 +126,7 @@
|
|
|
125
126
|
- (void)loadReactNativeWindow:(NSDictionary *)launchOptions {
|
|
126
127
|
[self sparkPrepareMainWindow];
|
|
127
128
|
NSView *root = [self.rootViewFactory viewWithModuleName:self.moduleName initialProperties:self.initialProps launchOptions:launchOptions];
|
|
128
|
-
if (SparkTestDriverActive())
|
|
129
|
-
RCTSurfacePresenter *presenter = self.rootViewFactory.reactHost.surfacePresenter;
|
|
130
|
-
if (!presenter) [NSException raise:NSInternalInconsistencyException format:@"The test driver needs the Fabric surface presenter"];
|
|
131
|
-
[presenter addObserver:self];
|
|
132
|
-
}
|
|
129
|
+
if (SparkTestDriverActive()) [self sparkObserveDriverMounts:self.rootViewFactory.reactHost];
|
|
133
130
|
root.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
|
|
134
131
|
NSDictionary *options = SparkWindowConfiguration();
|
|
135
132
|
if ([options[@"transparent"] boolValue] || options[@"backgroundColor"] || SparkLifecycleConfiguration()[@"mainWindow"][@"backgroundColors"])
|
|
@@ -153,7 +150,21 @@
|
|
|
153
150
|
}
|
|
154
151
|
});
|
|
155
152
|
}
|
|
153
|
+
- (void)sparkObserveDriverMounts:(RCTHost *)host {
|
|
154
|
+
RCTSurfacePresenter *presenter = host.surfacePresenter;
|
|
155
|
+
if (!presenter) [NSException raise:NSInternalInconsistencyException format:@"The test driver needs the Fabric surface presenter"];
|
|
156
|
+
[self.sparkDriverPresenter removeObserver:self];
|
|
157
|
+
self.sparkDriverPresenter = presenter;
|
|
158
|
+
[presenter addObserver:self];
|
|
159
|
+
}
|
|
156
160
|
- (void)didMountComponentsWithRootTag:(NSInteger)rootTag { SparkTestDriverDidMount(); }
|
|
161
|
+
- (void)hostDidStart:(RCTHost *)host {
|
|
162
|
+
[super hostDidStart:host];
|
|
163
|
+
if (SparkTestDriverActive() && host == self.rootViewFactory.reactHost) {
|
|
164
|
+
SparkTestDriverDidReload();
|
|
165
|
+
[self sparkObserveDriverMounts:host];
|
|
166
|
+
}
|
|
167
|
+
}
|
|
157
168
|
- (BOOL)windowShouldClose:(NSWindow *)window {
|
|
158
169
|
NSString *behavior = SparkLifecycleConfiguration()[@"mainWindow"][@"closeBehavior"];
|
|
159
170
|
if ([behavior isEqual:@"hide"]) { [window orderOut:nil]; return NO; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-desktop-host",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"AppDelegate.mm",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"SparkCustomize.mm"
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
12
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
13
13
|
},
|
|
14
14
|
"private": true
|
|
15
15
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-desktop-links",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index",
|
|
6
6
|
"react-native": "src/index",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
38
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
39
39
|
},
|
|
40
40
|
"peerDependenciesMeta": {
|
|
41
41
|
"expo-linking": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-desktop-shortcuts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index",
|
|
6
6
|
"react-native": "src/index",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
36
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
37
37
|
},
|
|
38
38
|
"private": true
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-desktop-windows",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index",
|
|
6
6
|
"react-native": "src/index",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
37
|
-
"@legendapp/spark-window-options": "0.0.
|
|
36
|
+
"@legendapp/spark-desktop-app": "0.0.6",
|
|
37
|
+
"@legendapp/spark-window-options": "0.0.6",
|
|
38
38
|
"@legendapp/state": "^3.0.0-beta.42"
|
|
39
39
|
},
|
|
40
40
|
"private": true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-documents",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.tsx",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"src"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@legendapp/spark-file-dialog": "0.0.
|
|
12
|
-
"@legendapp/spark-file-system": "0.0.
|
|
13
|
-
"@legendapp/spark-native-menu": "0.0.
|
|
14
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
15
|
-
"@legendapp/spark-desktop-windows": "0.0.
|
|
16
|
-
"@legendapp/spark-desktop-links": "0.0.
|
|
11
|
+
"@legendapp/spark-file-dialog": "0.0.6",
|
|
12
|
+
"@legendapp/spark-file-system": "0.0.6",
|
|
13
|
+
"@legendapp/spark-native-menu": "0.0.6",
|
|
14
|
+
"@legendapp/spark-desktop-app": "0.0.6",
|
|
15
|
+
"@legendapp/spark-desktop-windows": "0.0.6",
|
|
16
|
+
"@legendapp/spark-desktop-links": "0.0.6"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"react": "^19.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-drag-drop",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"react-native": "src/index.tsx",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
37
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
38
38
|
},
|
|
39
39
|
"private": true
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-expo-compat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"metro.cjs"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@legendapp/spark-clipboard": "0.0.
|
|
11
|
+
"@legendapp/spark-clipboard": "0.0.6",
|
|
12
12
|
"base64-js": "1.5.1",
|
|
13
|
-
"@legendapp/spark-file-dialog": "0.0.
|
|
14
|
-
"@legendapp/spark-file-system": "0.0.
|
|
13
|
+
"@legendapp/spark-file-dialog": "0.0.6",
|
|
14
|
+
"@legendapp/spark-file-system": "0.0.6"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": "^19.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-file-dialog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"main": "src/index",
|
|
5
5
|
"react-native": "src/index",
|
|
6
6
|
"codegenConfig": {
|
|
@@ -38,6 +38,6 @@
|
|
|
38
38
|
},
|
|
39
39
|
"private": true,
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
41
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-file-system",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
38
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
39
39
|
},
|
|
40
40
|
"private": true
|
|
41
41
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-global-shortcuts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
37
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
38
38
|
},
|
|
39
39
|
"private": true
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-html",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-native-enriched-html": "1.1.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@legendapp/spark-rich-text": "0.0.
|
|
17
|
+
"@legendapp/spark-rich-text": "0.0.6"
|
|
18
18
|
},
|
|
19
19
|
"peerDependenciesMeta": {
|
|
20
20
|
"react-native-enriched-html": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-markdown",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"react-native-enriched-markdown": "1.1.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@legendapp/spark-rich-text": "0.0.
|
|
17
|
+
"@legendapp/spark-rich-text": "0.0.6"
|
|
18
18
|
},
|
|
19
19
|
"peerDependenciesMeta": {
|
|
20
20
|
"react-native-enriched-markdown": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-message-dialog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
36
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
37
37
|
},
|
|
38
38
|
"private": true
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-native-menu",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"main": "src/index",
|
|
5
5
|
"react-native": "src/index",
|
|
6
6
|
"codegenConfig": {
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
},
|
|
36
36
|
"private": true,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
38
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-notifications",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
]
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
36
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
37
37
|
},
|
|
38
38
|
"private": true
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-processes",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
37
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
38
38
|
},
|
|
39
39
|
"private": true
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-rich-text",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"react-native": "0.83.10"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@legendapp/spark-desktop-shortcuts": "0.0.
|
|
16
|
+
"@legendapp/spark-desktop-shortcuts": "0.0.6"
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-secure-storage",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index",
|
|
6
6
|
"react-native": "src/index",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
37
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
38
38
|
},
|
|
39
39
|
"peerDependenciesMeta": {
|
|
40
40
|
"expo-secure-store": {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-settings",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"src"
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@legendapp/spark-file-system": "0.0.
|
|
10
|
+
"@legendapp/spark-file-system": "0.0.6",
|
|
11
11
|
"@legendapp/state": "^3.0.0-beta.42",
|
|
12
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
12
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
13
13
|
},
|
|
14
14
|
"private": true,
|
|
15
15
|
"spark": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@legendapp/spark-settings-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.tsx",
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
"src"
|
|
9
9
|
],
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@legendapp/spark-ui": "0.0.
|
|
12
|
-
"@legendapp/spark-desktop-windows": "0.0.
|
|
13
|
-
"@legendapp/spark-desktop-app": "0.0.
|
|
11
|
+
"@legendapp/spark-ui": "0.0.6",
|
|
12
|
+
"@legendapp/spark-desktop-windows": "0.0.6",
|
|
13
|
+
"@legendapp/spark-desktop-app": "0.0.6"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
16
|
"react": "^19.2.0",
|
|
17
17
|
"react-native": "0.83.10",
|
|
18
|
-
"@legendapp/list": ">=3.3.
|
|
18
|
+
"@legendapp/list": ">=3.3.4"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PlatformColor, StyleSheet, Text } from "react-native";
|
|
2
|
+
|
|
3
|
+
export const settingsRowInset = 12;
|
|
4
|
+
export const settingsHeadingGap = 10;
|
|
5
|
+
|
|
6
|
+
export function SettingsHeading({ title, variant }: { title: string; variant: "page" | "section" }) {
|
|
7
|
+
return <Text accessibilityRole="header" style={[styles.inset, styles[variant], { color: PlatformColor("labelColor") }]}>{title}</Text>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const styles = StyleSheet.create({
|
|
11
|
+
inset: { marginHorizontal: settingsRowInset },
|
|
12
|
+
page: { fontSize: 17, lineHeight: 22, fontWeight: "400" },
|
|
13
|
+
section: { fontSize: 13, lineHeight: 16, fontWeight: "600" },
|
|
14
|
+
});
|