Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rmwc/dialog

Package Overview
Dependencies
Maintainers
1
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rmwc/dialog - npm Package Compare versions

Comparing version 1.10.1-alpha.0 to 2.0.0-alpha.0

docgen.json

6

index.d.ts

@@ -375,5 +375,5 @@ import { SimpleTagPropsT, CustomEventT } from '@rmwc/base';

open: boolean;
onAccept: () => void;
onCancel: () => void;
onClose: () => void;
onAccept: any;
onCancel: any;
onClose: any;
children: undefined;

@@ -380,0 +380,0 @@ };

{
"name": "@rmwc/dialog",
"version": "1.10.1-alpha.0",
"version": "2.0.0-alpha.0",
"description": "RMWC Dialog component",

@@ -23,3 +23,3 @@ "main": "index.js",

},
"homepage": "https://github.com/jamesmfriedman/rmwc/tree/master/src/Dialog#readme",
"homepage": "https://github.com/jamesmfriedman/rmwc/tree/master/src/dialog#readme",
"peerDependencies": {

@@ -31,5 +31,5 @@ "react": "^15.x.x || ^16.x.x",

"@material/dialog": "~0.39.1",
"@rmwc/base": "^1.10.1-alpha.0",
"@rmwc/button": "^1.10.1-alpha.0"
"@rmwc/base": "^2.0.0-alpha.0",
"@rmwc/button": "^2.0.0-alpha.0"
}
}

@@ -7,5 +7,7 @@ # Dialogs

- import from **rmwc/Dialog**
- import styles from **@material/dialog/dist/mdc.dialog.css**
- [https://material.io/develop/web/components/dialogs/](https://material.io/develop/web/components/dialogs/)
- import * from **'@rmwc/dialog'**;
- import styles:
- import **'@material/dialog/dist/mdc.dialog.css'**;
- import **'@material/button/dist/mdc.button.css'**;
- MDC Docs: [https://material.io/develop/web/components/dialogs/](https://material.io/develop/web/components/dialogs/)

@@ -25,5 +27,5 @@ ## Standard Usage

DialogBackdrop
} from 'rmwc/Dialog';
} from '@rmwc/dialog';
import { Button } from 'rmwc/Button';
import { Button } from '@rmwc/button';

@@ -59,4 +61,4 @@ {/** Standard dialog usage */}

```jsx render
import { SimpleDialog } from 'rmwc/Dialog';
import { Button } from 'rmwc/Button';
import { SimpleDialog } from '@rmwc/dialog';
import { Button } from '@rmwc/button';

@@ -83,13 +85,14 @@ {/** Simple Dialog usage */}

```jsx renderOnly
import { DocumentComponent } from 'rmwc/Base/utils/DocumentComponent';
import { DocumentComponent } from '@rmwc/base/utils/DocumentComponent';
import * as docs from './docgen.json';
<DocumentComponent displayName="Dialog" />
<DocumentComponent displayName="DialogSurface" />
<DocumentComponent displayName="DialogHeader" />
<DocumentComponent displayName="DialogHeaderTitle" />
<DocumentComponent displayName="DialogBody" />
<DocumentComponent displayName="DialogFooter" />
<DocumentComponent displayName="DialogFooterButton" composes={['Button']} />
<DocumentComponent displayName="DialogBackdrop" />
<DocumentComponent displayName="SimpleDialog" />
<DocumentComponent docs={docs} displayName="Dialog" />
<DocumentComponent docs={docs} displayName="DialogSurface" />
<DocumentComponent docs={docs} displayName="DialogHeader" />
<DocumentComponent docs={docs} displayName="DialogHeaderTitle" />
<DocumentComponent docs={docs} displayName="DialogBody" />
<DocumentComponent docs={docs} displayName="DialogFooter" />
<DocumentComponent docs={docs} displayName="DialogFooterButton" composes={['Button']} />
<DocumentComponent docs={docs} displayName="DialogBackdrop" />
<DocumentComponent docs={docs} displayName="SimpleDialog" />
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc