![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@wolf_and_associates/popover
Advanced tools
A reusable menu, iframe, and content outlet for use with Wolf & Associates projects.
A reusable menu, iframe, and content outlet for use with Wolf & Associates projects.
This library must use the same Angular Compiler version as the project you are adding it to.
Import the PopoverModule
in your project's app.module.ts
:
import { PopoverModule } from '@wolf_and_associates/popover';
@NgModule({
// ...
imports: [
// ...
PopoverModule
]
})
Property | Type | Description |
---|---|---|
type | 'new_tab' or 'iframe' or 'menu' or 'route' or 'content_outlet' | What kind of action does this take? |
url | string | Used to execute the action |
Property | Type | Description |
---|---|---|
placeholder? | string | The placeholder displayed to the user in the admin portal |
prefix? | string | Used in the admin portal for the 'type' dropdown text |
our_tools? | PopoverMenuItem[] | If this is an Our Tools item, this property will be an array of PopoverMenuItems |
data? | PopoverMenuItem[] | If this is an Menu item, this property will be an array of PopoverMenuItems |
action | PopoverMenuItemAction | What kind of action will this item take? |
title | string | The title displayed to the user |
route_prefix? | string[] | If the action type is a 'menu' or 'route' then this is added before the route executes |
omit_base_action_url | boolean | If the action type is a 'menu' the base article url will be omitted when fetching items using the MenuOutletComponent |
A full-screen vertical menu. Utilizes an API call to the PopoverMenuItem.action.url
to retrieve items.
Input | Type | Description |
---|---|---|
domain | string | Overwride the protocol and domain. Currently using window.location.protocol and window.location.hostname |
Event | Parameters | Description |
---|---|---|
onOpen | EventEmitter<ComponentRef> | When the popover opens |
onClosed | EventEmitter<ComponentRef> | When the popover closes |
onContentOutletClick | EventEmitter | The user clicked a content_outlet PopoverMenuItem |
onIframeOutletClick | EventEmitter | The user clicked an iframe PopoverMenuItem |
Property | Type | Description |
---|---|---|
popovers | { subscriptions: Subscription[]; component: ComponentRef }[] | All open popovers |
Method | Parameters | Description |
---|---|---|
createMenu | item: PopoverMenuItem | Create and display a Menu. Will fetch the menu items if not already present |
close | Close the most recently opened Popover |
<popover-menu-outlet [items]="[]"></popover-menu-outlet>
A full-screen content outlet. Accepts any html
or Component.
Property | Type | Description |
---|---|---|
visible | boolean | Is the popover visible |
Method | Parameters | Description |
---|---|---|
toggle | Toggle the visibility of the popover | |
open | Open the popover | |
close | Close the popover |
<popover-content-outlet>
<h2>This is an H2 heading in a popover</h2>
</popover-content-outlet>
A full-screen iframe
embed.
Input | Type | Default | Description |
---|---|---|---|
show_close_button | bolean | true | Should the close button be shown? |
iframe_url | string | undefined | The iFrame URL |
Event | Parameters | Description |
---|---|---|
onOpen | EventEmitter | When the popover opens |
onClosed | EventEmitter | When the popover closes |
Property | Type | Description |
---|---|---|
visible | boolean | Is the popover visible |
Method | Parameters | Description |
---|---|---|
toggle | Toggle the visibility of the popover | |
open | Open the popover | |
close | Close the popover |
<popover-iframe [iframe_url]="some_url">
<h1>Here's a heading above the <code>iframe</code>!</h1>
</popover-iframe>
Build the project and then add it to the destination project node_modules
folder using the example below:
ng build --project=popover --watch
In another terminal window:
cd destination-project/
npm i ../wolfltc-ngx/dist/popover
FAQs
A reusable menu, iframe, and content outlet for use with Wolf & Associates projects.
The npm package @wolf_and_associates/popover receives a total of 0 weekly downloads. As such, @wolf_and_associates/popover popularity was classified as not popular.
We found that @wolf_and_associates/popover demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.