@rmwc/dialog
Advanced tools
Comparing version 1.10.1-alpha.0 to 2.0.0-alpha.0
@@ -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" /> | ||
``` |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
48765
6
1084
95
+ Added@material/button@0.39.3(transitive)
+ Added@rmwc/base@2.2.0(transitive)
+ Added@rmwc/button@2.2.2(transitive)
+ Added@rmwc/icon@2.2.2(transitive)
+ Added@rmwc/provider@2.2.0(transitive)
+ Added@rmwc/ripple@2.2.0(transitive)
- Removed@rmwc/base@1.10.1-alpha.0(transitive)
- Removed@rmwc/button@1.10.1-alpha.0(transitive)
- Removed@rmwc/icon@1.10.1-alpha.0(transitive)
- Removed@rmwc/provider@1.10.1-alpha.0(transitive)
- Removed@rmwc/ripple@1.10.1-alpha.0(transitive)
Updated@rmwc/base@^2.0.0-alpha.0
Updated@rmwc/button@^2.0.0-alpha.0