Plugin API 2.7.0. Needs Termix 26.11.2.
Added
- Inside a frame,
useSlotContributions,useExtensions,getExtensionandusePluginComponentnow return other plugins' parts. Their components draw as placeholders and Termix draws the real view over each one, soComponentSlot,ActionSlotandPluginComponentwork in frames too ForeignSlotin/uidraws such a part with your own class, style andinteractiveflag;ForeignInteractiveturns clicks off for every part inside it (an edit mode)useForeignOccluderandForeignOccluderin/uihide other plugins' parts under a menu or popover you draw yourself. Popover, DropdownMenu, Select, Sheet, Dialog, AlertDialog, Tooltip, InlineView and PanePrompt do it alreadydeclareActionSlottakesfit: "overlay": the part covers the box, is see-through and only takes clicks while it draws something- A frame may place the parts of a slot it declared, an extension point or component id under its own plugin id, or any id in its manifest
contributes.uses useShell()answers inside a frame with a read only view: tabs, the active tab, splits, the user and whether it is mobile.tabs.setActiveworks right after the person used the framerenderWithApptakesotherswith other plugins' slot parts, extension items and components for a plugin that draws them