
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
@fluentui-contrib/react-draggable-dialog
Advanced tools
A draggable dialog component powered by Fluent UI.
A draggable dialog component powered by Fluent UI.
yarn add @fluentui-contrib/react-draggable-dialog
npm install @fluentui-contrib/react-draggable-dialog
import * as React from 'react';
import { Button, DialogContent, DialogTrigger, DialogActions, DialogBody, DialogTitle } from '@fluentui/react-components';
import { DraggableDialog, DraggableDialogSurface, DraggableDialogHandle } from '@fluentui-contrib/react-draggable-dialog';
export const DraggableDialog = () => {
return (
<DraggableDialog>
<DialogTrigger>
<Button>Toggle dialog</Button>
</DialogTrigger>
<DraggableDialogSurface>
<DialogBody>
<DraggableDialogHandle>
<DialogTitle>Drag me</DialogTitle>
</DraggableDialogHandle>
<DialogContent>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam exercitationem cumque repellendus eaque est dolor eius expedita nulla ullam? Tenetur reprehenderit aut voluptatum impedit voluptates in natus iure cumque eaque?</p>
</DialogContent>
<DialogActions>
<DialogTrigger disableButtonEnhancement>
<Button appearance="secondary">Close</Button>
</DialogTrigger>
<Button appearance="primary">Do Something</Button>
</DialogActions>
</DialogBody>
</DraggableDialogSurface>
</DraggableDialog>
);
};
FAQs
A draggable dialog component powered by Fluent UI.
The npm package @fluentui-contrib/react-draggable-dialog receives a total of 124 weekly downloads. As such, @fluentui-contrib/react-draggable-dialog popularity was classified as not popular.
We found that @fluentui-contrib/react-draggable-dialog demonstrated a healthy version release cadence and project activity because the last version was released less than 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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.