nitro-ui-macos 0.0.1 → 0.0.2

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/CONTRIBUTING.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Contributing to nitro-ui-macos
2
2
 
3
- This document explains how to keep `nitro-ui-macos` and `nitro-ui-desktop` in sync with new upstream NitroUI releases without modifying upstream NitroUI files.
3
+ This document explains how to keep `nitro-ui-macos` and `nitro-ui-desktop` in sync with new upstream NitroUI releases.
4
4
 
5
5
  ## Upgrading to a new NitroUI version
6
6
 
@@ -47,10 +47,3 @@ This document explains how to keep `nitro-ui-macos` and `nitro-ui-desktop` in sy
47
47
  - Run `bun run --cwd packages/nitro-ui-desktop typecheck`.
48
48
  - Build `apps/macos-example` in Debug and Release (`bun run --cwd apps/macos-example nitro-ui-macos build` and `--release`) and run its self-test suite (`NITRO_MACOS_SELF_TEST=1`).
49
49
  - Pack tarballs for `nitro-ui-macos` and `nitro-ui-desktop` and verify a fresh consumer app created with `create-nitro-ui@<target-version>` builds cleanly.
50
-
51
- ## Note on upstream CI workflows
52
-
53
- Upstream workflows (`.github/workflows/typecheck.yml`, `app.yml`, and `platforms.yml`) are left untouched so this branch stays cleanly rebaseable against upstream `main`:
54
-
55
- - On pull requests in forks where `NUCLEO_LICENSE_KEY` or `ADC_API_KEY` secrets are not configured, upstream's `docs` typecheck job and `harness` Android job may fail due to missing upstream secrets.
56
- - macOS desktop verification runs in its own isolated workflow: `.github/workflows/macos-desktop.yml`.
package/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
3
  Copyright (c) 2026 Margelo
4
+ Copyright (c) 2026 Parbez
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Out-of-tree native macOS (AppKit) target, bundler platform plugin, and CLI for NitroUI applications. Add it to an existing NitroUI `0.3.0` app without modifying upstream packages or touching your iOS and Android builds.
7
7
 
8
- For desktop-specific APIs (multiple windows, menus, tray icons, file dialogs, clipboard, notifications, global shortcuts, and native AppKit controls), install [`nitro-ui-desktop`](https://github.com/imranbarbhuiya/nitro-ui/blob/desktop/macos/packages/nitro-ui-desktop/README.md) alongside this package.
8
+ For desktop-specific APIs (multiple windows, menus, tray icons, file dialogs, clipboard, notifications, global shortcuts, and native AppKit controls), install [`nitro-ui-desktop`](https://github.com/imranbarbhuiya/nitro-ui-desktop/blob/main/packages/nitro-ui-desktop/README.md) alongside this package.
9
9
 
10
10
  ## Supported versions
11
11
 
@@ -116,7 +116,7 @@ if (Platform.OS === 'macos') {
116
116
 
117
117
  ## What works
118
118
 
119
- See the complete member-by-member NitroUI `0.3.0` matrix in [`PARITY.md`](https://github.com/imranbarbhuiya/nitro-ui/blob/desktop/macos/packages/nitro-ui-macos/PARITY.md) (verified automatically against every `.nitro.ts` spec).
119
+ See the complete member-by-member NitroUI `0.3.0` matrix in [`PARITY.md`](https://github.com/imranbarbhuiya/nitro-ui-desktop/blob/main/packages/nitro-ui-macos/PARITY.md) (verified automatically against every `.nitro.ts` spec).
120
120
 
121
121
  - **AppKit renderer**: `View`, `Text`, `Image` (bitmaps, SVGs, WebP, SF Symbols, animated tintColor, drop shadows, corner radius), custom fonts, `ScrollView`, `TextInput` (IME marked text, undo, standard Edit menu, Tab focus ring), `ListView` (virtualized recycling, self-sizing, anchor alignment, animated snapshot mutations, trackpad overscroll pull-to-refresh), `MaskedView`, GPU and inset box shadows, animated gradients/shadows/borders/corners, tap/pan/long-press gestures, `Window.showSplashScreen`/`hideSplashScreen`, `Keyboard.dismiss` (blurring text first responder when `keepFocus` is false), accessibility roles/labels/`AXPress`, and keyboard focus/Tab order for inputs and pressables
122
122
  - **Native macOS navigation**: `NavigationSplit`, `NavigationStack` (with `NavigationSharedElement` snapshot zoom transitions, `headerShown`, `headerTintColor`, modal sheet detents/grabber/cornerRadius), `NavigationTabs`, and `NavigationScreen`
@@ -128,10 +128,10 @@ See the complete member-by-member NitroUI `0.3.0` matrix in [`PARITY.md`](https:
128
128
 
129
129
  ## What does not work / limitations
130
130
 
131
- - Requires exact NitroUI `0.3.0` and `nitro-core` `1.0.0-alpha.nightly.137.gd4793c40b8b8` (see [`CONTRIBUTING.md`](https://github.com/imranbarbhuiya/nitro-ui/blob/desktop/macos/packages/nitro-ui-macos/CONTRIBUTING.md) for upgrading to newer NitroUI releases)
131
+ - Requires exact NitroUI `0.3.0` and `nitro-core` `1.0.0-alpha.nightly.137.gd4793c40b8b8` (see [`CONTRIBUTING.md`](https://github.com/imranbarbhuiya/nitro-ui-desktop/blob/main/packages/nitro-ui-macos/CONTRIBUTING.md) for upgrading to newer NitroUI releases)
132
132
  - iOS-only Nitro modules that do not declare `.macOS(...)` in `Package.swift` are skipped on macOS
133
133
  - No `.macos.ts(x)` file extension resolution (matching upstream NitroUI 0.3.0, which uses `Platform.OS` and `Platform.select`)
134
- - Hardware/mobile-only APIs are intentional no-ops or return platform-appropriate values: `Screen.brightness` returns `NaN`, `Screen.displayCornerRadii` returns zeros, `WindowScene.homeIndicatorAutoHidden` and `statusBarStyle` are no-ops, `NavigationScreen` Android back hooks are no-ops, and `TextInput` touch-keyboard props (`keyboardType`, `returnKeyType`, `enablesReturnKeyAutomatically`, `textContentType`, `autoCapitalize`, `autoComplete`) are no-ops on macOS; full details are in [`PARITY.md`](https://github.com/imranbarbhuiya/nitro-ui/blob/desktop/macos/packages/nitro-ui-macos/PARITY.md)
134
+ - Hardware/mobile-only APIs are intentional no-ops or return platform-appropriate values: `Screen.brightness` returns `NaN`, `Screen.displayCornerRadii` returns zeros, `WindowScene.homeIndicatorAutoHidden` and `statusBarStyle` are no-ops, `NavigationScreen` Android back hooks are no-ops, and `TextInput` touch-keyboard props (`keyboardType`, `returnKeyType`, `enablesReturnKeyAutomatically`, `textContentType`, `autoCapitalize`, `autoComplete`) are no-ops on macOS; full details are in [`PARITY.md`](https://github.com/imranbarbhuiya/nitro-ui-desktop/blob/main/packages/nitro-ui-macos/PARITY.md)
135
135
  - `package --sign` and `--notarize` wrap Apple's `codesign`, `notarytool`, and `stapler` tools and require your own Apple Developer ID certificate and notarytool keychain profile
136
136
 
137
137
  ## Troubleshooting
@@ -145,4 +145,4 @@ See the complete member-by-member NitroUI `0.3.0` matrix in [`PARITY.md`](https:
145
145
 
146
146
  ## License
147
147
 
148
- MIT. See [LICENSE](https://github.com/imranbarbhuiya/nitro-ui/blob/desktop/macos/packages/nitro-ui-macos/LICENSE).
148
+ MIT. See [LICENSE](https://github.com/imranbarbhuiya/nitro-ui-desktop/blob/main/packages/nitro-ui-macos/LICENSE).
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "nitro-ui-macos",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Unofficial macOS (AppKit) target, bundler platform plugin, and CLI for NitroUI.",
5
5
  "license": "MIT",
6
- "homepage": "https://github.com/imranbarbhuiya/nitro-ui/tree/desktop/macos/packages/nitro-ui-macos",
6
+ "homepage": "https://github.com/imranbarbhuiya/nitro-ui-desktop/tree/main/packages/nitro-ui-macos#readme",
7
+ "bugs": "https://github.com/imranbarbhuiya/nitro-ui-desktop/issues",
7
8
  "repository": {
8
9
  "type": "git",
9
- "url": "git+https://github.com/imranbarbhuiya/nitro-ui.git",
10
+ "url": "git+https://github.com/imranbarbhuiya/nitro-ui-desktop.git",
10
11
  "directory": "packages/nitro-ui-macos"
11
12
  },
12
13
  "type": "module",
@@ -56,6 +57,7 @@
56
57
  },
57
58
  "devDependencies": {
58
59
  "@types/bun": "^1.4.2",
60
+ "nitro-ui-glass": "0.3.0",
59
61
  "typescript": "7.0.2"
60
62
  }
61
63
  }