Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@chartiq/finsemble-react-controls
Advanced tools
The FinsembleMenu is a React control to help you to quickly assemble a menu. A menu is just an ephemeral Finsemble component that shows up when a button is clicked, hides when the menu loses focus, and hides on escape
. This control provides styling, and handles those events common to all menus.
This control is part of a collection of controls. In order to make sure that your menu component has appropriate classes and styling, adhere to this hierarchy.
Prop | Type | Possible Values | Default Value | Description |
---|---|---|---|---|
padding | object | Padding object. By default, FSBL.Clients.WindowClient.fitToDOM will fit to the content of the menu. If you pass in the padding object, fitToDOM will give the component's innards some breathing room. | ||
padding.height | number | N/A | null | Extra height to add. |
padding.width | number | N/A | null | Extra width to add. |
className | string | N/A | null | Class name for the menu component. |
children | ? |
The code below is the render method for our our fileMenu.
render() {
let padding = {
height: 10,
width: 40
}
return (<FinsembleMenu padding={padding}>
<FinsembleMenuSectionLabel>
Finsemble
</FinsembleMenuSectionLabel>
{/*Options in the file menu.*/}
<FinsembleMenuSection className='menu-primary'>
<FinsembleMenuItem label="Central Console" onClick={FileMenuActions.showCentralConsole}/>
<FinsembleMenuItem label="Documentation" onClick={FileMenuActions.spawnDocs}/>
<FinsembleMenuItem label="Logout" onClick={FileMenuActions.logout}/>
<FinsembleMenuItem label="Quit" onClick={FileMenuActions.shutdownApplication}/>
</FinsembleMenuSection>
</FinsembleMenu>);
};
FAQs
Unknown package
We found that @chartiq/finsemble-react-controls 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.