Commit Graph

115 Commits

Author SHA1 Message Date
Dominic Go
6c16087930 💄 Minor Changes - Update Comments 2022-05-14 04:37:04 +08:00
Dominic Go
f9fba6de0a Remove: OnAuxiliaryPreviewSizeRequest Impl.
Summary: Remove `ContextMenuView.OnAuxiliaryPreviewSizeRequest` event implementation.
2022-05-06 05:33:31 +08:00
Dominic Go
7996176292 ️ Impl. onAuxiliaryPreviewSizeRequest Event
Summary: Implement `RNIContextMenuView.onAuxiliaryPreviewSizeRequest` event.
2022-05-06 05:20:03 +08:00
Dominic Go
5850f3e169 Remove: onRequestSizeOverride Impl.
Summary: Remove `RNIWrapperView.onRequestSizeOverride` event implementation.
2022-05-06 05:17:54 +08:00
Dominic Go
f2b18e9d8f ️ Impl. RNIWrapperView.onRequestSizeOverrideEvent
Summary: Implemented `onRequestSizeOverrideEvent` event for `RNIWrapperView`.
2022-05-05 18:56:09 +08:00
Dominic Go
4b286a093c 💫 WIP: Context Menu Auxiliary Preview
Summary: Expose `auxiliaryPreviewConfig` via props.
2022-05-01 06:07:08 +08:00
Dominic Go
b1208deb27 💫 WIP: Context Menu Auxiliary Preview
Summary:
* Impl. `RNIContextMenuAuxiliaryPreviewConfig` struct.,
* Fix typo in `MenuAuxiliaryPreviewConfig`.
2022-02-09 18:53:24 +08:00
Dominic Go
6f30a80736 💫 WIP: Context Menu Auxiliary Preview
Summary: Impl. `MenuAuxiliaryPreviewConfig` types.
2022-02-09 11:11:08 +08:00
Dominic Go
f02d3dcd68 💫 WIP: Context Menu Auxiliary Preview
* `ContextMenuView`: Impl. initial logic for `renderAuxillaryPreview` prop.,
* `RNIContextMenuView`: Impl. initial logic for receiving/using the `renderAuxillaryPreview` prop.,
* `ContextMenuViewExample01`: Update to test `renderAuxillaryPreview` prop.
2022-02-08 13:20:46 +08:00
Dominic Go
8171dd491c ↩️ Revert "MenuConfig: Make menuTitle Optional"
This reverts commit 0588f43b98.
2022-02-02 07:03:25 +08:00
Dominic Go
0588f43b98 MenuConfig: Make menuTitle Optional 2022-02-02 07:03:00 +08:00
Dominic Go
e4e86265f8 💄 Minor Changes 2022-01-13 06:37:33 +08:00
Dominic Go
56d3c650e0 💄 Minor Changes 2022-01-11 20:42:32 +08:00
Dominic Go
756514b50d ContextMenuButton: Impl. dismissMenu 2022-01-02 14:53:19 +08:00
Dominic Go
5fe92e85d1 💫 Re-Impl. Platform Specific Exports
Summary: Use platform specific exports for native components.
2022-01-02 14:50:48 +08:00
Dominic Go
ba004128d9 ↩️ Revert - Re-Impl. Platform-Specific Extensions​ 2022-01-02 14:12:38 +08:00
Dominic Go
3190dd5448 🐞 Fix Type Errors 2022-01-02 06:32:24 +08:00
Dominic Go
0acea051a2 🐞 ContextMenuButton: Re-Impl. Platform-Specific Extensions​ 2022-01-02 06:23:37 +08:00
Dominic Go
8ef2ad8ace 🛠 Refactor ContextMenuButton: Use index Export 2022-01-02 06:11:45 +08:00
Dominic Go
e57aabee29 🐞 ContextMenuView: Re-Impl. Platform-Specific Extensions​ 2022-01-02 06:08:04 +08:00
Dominic Go
6f8a225315 🛠 Refactor ContextMenuView: Use index Export 2022-01-02 05:52:41 +08:00
Dominic Go
23cccb21c4 ↩️ Revert - RNIContextMenuView: Platform Specific Export
This reverts commit 2a250d2a16.
2022-01-02 05:51:07 +08:00
Dominic Go
2a250d2a16 🐞 RNIContextMenuView: Platform Specific Export 2022-01-02 04:56:24 +08:00
Dominic Go
750ce5a229 💄 Minor Changes 2021-11-30 07:47:21 +08:00
Dominic Go
6b606da0fd ️ Impl. ContextMenuView.isContextMenuEnabled 2021-11-30 07:45:18 +08:00
Dominic Go
4d063f9e11 ️ Impl. useMenuButtonContext 2021-11-26 10:01:38 +08:00
Dominic Go
9caf7d7c4d ️ Impl. ContextMenuButtonContext 2021-11-26 10:01:07 +08:00
Dominic Go
9f4e332721 💫 Remove ContextMenuButton.wrapNativeComponent Prop 2021-11-26 09:57:27 +08:00
Dominic Go
494f10461f 💫 Update ContextMenuView 2021-11-26 09:57:27 +08:00
Dominic Go
52c0459512 💫 Types - Update Exports 2021-11-26 05:06:24 +08:00
Dominic Go
7045e619d1 🛠 Make menuConfig Prop Optional 2021-11-25 17:25:50 +08:00
Dominic Go
2310b7e99d 🐞 Types - Fix MenuConfig.menuAttributes 2021-11-25 14:41:07 +08:00
Dominic Go
05f6c73454 ️ Impl. useMenuContext 2021-11-23 11:23:32 +08:00
Dominic Go
2c55fdbd39 ️ Impl. ContextMenuViewContext 2021-11-23 11:16:04 +08:00
Dominic Go
8e7e4de90f 🛠 Types - Rename Type To ImageItemConfig 2021-11-22 00:31:23 +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
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
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