Commit Graph

416 Commits

Author SHA1 Message Date
Dominic Go
c643eecae5 🛠 iOS Project: Re-Add Files 2021-11-21 06:59:07 +08:00
Dominic Go
847138bc91 🛠 Rename FIle
Summary: Rename `RNIMenuImageType` to `RNIMenuIcon`
2021-11-21 06:57:24 +08:00
Dominic Go
ffbf8b37a8 📝 README WIP: Add README-next FIle
readme next (next) 🎶
readme next (next) 🎶
2021-11-21 06:42:35 +08:00
Dominic Go
19d375fe65 📝 Update README 2021-11-21 06:34:10 +08:00
Dominic Go
e87901f363 📝 Update TODO 2021-11-21 06:18:26 +08:00
Dominic Go
f03079b0c5 💫 Types - Update MenuConfig 2021-11-21 06:03:35 +08:00
Dominic Go
6957cdb1f5 💄 Minor Changes 2021-11-21 06:03:35 +08:00
Dominic Go
e1764385c3 💫 Update MenuConfig To Use ImageItemConfig 2021-11-21 06:03:35 +08:00
Dominic Go
e02d96e187 ☯️ Add ImageItemConfig
Summary: Copy over `RNIWrapperView` native component impl. from `react-native-ios-navigator`.
2021-11-21 06:03:35 +08:00
Dominic Go
3c25c859d8 ️ Impl. MenuConfig.actionSubtitle 2021-11-21 06:03:35 +08:00
Dominic Go
97fa40c60f 🛠 Refactor To Use RNIImageItem For Menu Icon 2021-11-17 06:45:14 +08:00
Dominic Go
a440f0bf0f 🛠 Rename RCTMenuIcon To RNIMenuIcon 2021-11-17 04:15:17 +08:00
Dominic Go
836f0a3419 ☯️ Add RNIImageItem
Summary: Copy over `RNIWrapperView` native component impl. from `react-native-ios-navigator`.
2021-11-17 04:14:42 +08:00
Dominic Go
c45c576f16 🐞 Fix Preview Memory Leak (Again) 2021-11-16 07:15:14 +08:00
Dominic Go
4c755635f9 ️ Impl. shouldUseDiscoverabilityTitleAsFallbackValueForSubtitle
Summary: On iOS 15+, the `MenuActionConfig.discoverabilityTitle` is no longer displayed as as a subtitle under the menu action (instead you need to set a different property called `subtitle`).

This prop will revert the old behavior for backwards compatibility.

The `discoverabilityTitle` property is now used for the "discoverability heads-up display" (e.g when an app supports keyboard shortcuts, holding down the command key presents a list of shortcuts; the `discoverabilityTitle` is then used as the title for the shortcut).
2021-11-16 06:38:28 +08:00
Dominic Go
a787554180 ↩️ Revert "Fix Preview Memory Leak" 2021-11-16 06:33:58 +08:00
Dominic Go
19533b29fa 🐞 Fix Preview Memory Leak 2021-11-16 00:53:55 +08:00
Dominic Go
b76edf7c66 ️ Add RNIContextMenuViewModule
Summary: Replace `RNIContextMenuView` view manager commands with native modules.
2021-11-16 00:47:08 +08:00
Dominic Go
edc76d6a46 💫 Update RNIContextMenuView To Use RNIWrapperView 2021-11-16 00:43:01 +08:00
Dominic Go
1b39b35946 ☯️ Add RNIWrapperView Native Component
Summary:  Copy over `RNIWrapperView` native component impl. from `react-native-ios-navigator`.
2021-11-16 00:38:15 +08:00
Dominic Go
6ddabaee88 🐞 Partial Fix For Memory Leak 2021-11-15 08:15:27 +08:00
Dominic Go
dcb565e62b 💫 Update IosContextMenu-Bridging-Header 2021-11-15 07:47:51 +08:00
Dominic Go
447e0cd7b8 ☯️ Added RNIUtilities.swift
Summary: Updated to use the implementation in `react-native-ios-navigator`.
* Commit: `ca5beff72212869848245a787cb1d5b68567d560 `
* Link: ca5beff722
2021-11-15 07:35:08 +08:00
Dominic Go
3927611c30 📝 Update TODO 2021-11-15 07:16:47 +08:00
Dominic Go
b1b480f456 ⚙️ chore: release 1.4.0 2021-11-15 07:16:03 +08:00
Dominic Go
34afca0ea5 💫 Update package.json 2021-11-15 07:14:53 +08:00
Dominic Go
ea1be00e49 💫 Updated ActionSheetFallback 2021-11-15 07:06:36 +08:00
Dominic Go
47a97bc397 ️ Types - Added Types For Helpers 2021-11-15 06:50:27 +08:00
Dominic Go
a9b275860c 🛠 Rename File 2021-11-15 06:37:58 +08:00
Dominic Go
25bf0b2dc1 ️ Types - Partially Add Types For ActionSheetFallback 2021-11-15 06:34:31 +08:00
Dominic Go
51c53ba553 💫 Types - Update MenuConfig Types 2021-11-15 05:57:52 +08:00
Dominic Go
f63eba367a 🐞 Fix Preview Not Displaying 2021-11-15 05:42:36 +08:00
Dominic Go
158baabef2 📝 Update README 2021-11-14 16:11:38 +08:00
Dominic Go
453745e4a2 🛠 Types - Rename Types 2021-11-14 16:04:39 +08:00
Dominic Go
9cda8f88ba Minor Changes: Rename File 2021-11-14 16:04:39 +08:00
Dominic Go
fd8363470b 🚚 Move Enums.js To src/constants 2021-11-14 16:04:39 +08:00
Dominic Go
6e81dcf93c 💫 Update package.json 2021-11-14 15:36:24 +08:00
Dominic Go
b64cf27a73 Minor Change: Rename File 2021-11-14 15:15:38 +08:00
Dominic Go
e0bc64f027 ️ Types - Added Types For ContextMenuButton 2021-11-14 15:14:58 +08:00
Dominic Go
0a68d6dd00 💫 Types - Updated Prop Types 2021-11-14 15:07:17 +08:00
Dominic Go
22a389db70 💫 Updated MenuEvents Type + Event Handlers 2021-11-14 01:34:10 +08:00
Dominic Go
e9d1a4ae30 📝 Update TODO 2021-11-13 07:02:03 +08:00
Dominic Go
ede57c7bc7 💄 Clean Up + Update/Add Comments 2021-11-13 07:01:52 +08:00
Dominic Go
732a7fb80a 🛠 Rename RNIMenuActionItem Computed Properties 2021-11-13 06:38:48 +08:00
Dominic Go
2db16c84c7 📝 Update TODO 2021-11-13 06:21:29 +08:00
Dominic Go
348d2f9477 ️ Types - Added MenuEvents
Summary: Added type declaration for `ContextMenuView`  events.
2021-11-13 06:18:06 +08:00
Dominic Go
8c72054ef8 ️ Types - Partially Added Types For ContextMenuView 2021-11-12 23:16:15 +08:00
Dominic Go
1fd63e61f6 📝 Update TODO 2021-11-12 21:39:22 +08:00
Dominic Go
0d710809c0 🛠 Extracted Constants to LibEnv
Summary: Extract constants (e.g. `isContextMenuButtonSupported`, `isContextMenuViewSupported`) to its own separate file.
2021-11-12 21:37:36 +08:00
Dominic Go
4b64760e25 ↩️ Revert "🛁 Breaking Change: Remove Legacy Icon Config"
This reverts commit 3041c9c912.
2021-11-12 21:18:27 +08:00