@rmwc/dialog
Advanced tools
Comparing version 2.0.2 to 2.1.0
@@ -42,6 +42,6 @@ [ | ||
"scrollable": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Make it scrollable." | ||
@@ -72,3 +72,2 @@ } | ||
"name": "nextProps", | ||
"optional": false, | ||
"type": { | ||
@@ -182,10 +181,9 @@ "name": "signature", | ||
"open": { | ||
"required": true, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": true, | ||
"description": "Whether or not the Dialog is showing." | ||
}, | ||
"onAccept": { | ||
"required": false, | ||
"flowType": { | ||
@@ -215,6 +213,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the accept Button is pressed." | ||
}, | ||
"onCancel": { | ||
"required": false, | ||
"flowType": { | ||
@@ -244,6 +242,6 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the Dialog was closed without acceptance." | ||
}, | ||
"onClose": { | ||
"required": false, | ||
"flowType": { | ||
@@ -273,2 +271,3 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the Dialog closes." | ||
@@ -284,3 +283,2 @@ } | ||
"title": { | ||
"required": false, | ||
"flowType": { | ||
@@ -290,2 +288,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "A title for the default Dialog template.", | ||
@@ -298,3 +297,2 @@ "defaultValue": { | ||
"header": { | ||
"required": false, | ||
"flowType": { | ||
@@ -304,2 +302,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Additional Dialog header content for the default Dialog template.", | ||
@@ -312,3 +311,2 @@ "defaultValue": { | ||
"body": { | ||
"required": false, | ||
"flowType": { | ||
@@ -318,2 +316,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Body content for the default Dialog template, rendered before children.", | ||
@@ -326,3 +325,2 @@ "defaultValue": { | ||
"footer": { | ||
"required": false, | ||
"flowType": { | ||
@@ -332,2 +330,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Additional footer content for the default Dialog template, rendered before any buttons.", | ||
@@ -340,3 +339,2 @@ "defaultValue": { | ||
"acceptLabel": { | ||
"required": false, | ||
"flowType": { | ||
@@ -346,2 +344,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Creates an accept button for the default Dialog template with a given label. You can pass `null` to remove the button.", | ||
@@ -354,3 +353,2 @@ "defaultValue": { | ||
"cancelLabel": { | ||
"required": false, | ||
"flowType": { | ||
@@ -360,2 +358,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Creates an cancel button for the default Dialog with a given label. You can pass `null` to remove the button.", | ||
@@ -368,3 +367,2 @@ "defaultValue": { | ||
"children": { | ||
"required": false, | ||
"flowType": { | ||
@@ -374,2 +372,3 @@ "name": "ReactNode", | ||
}, | ||
"required": false, | ||
"description": "Any children will be rendered in the body of the default Dialog template.", | ||
@@ -382,6 +381,6 @@ "defaultValue": { | ||
"scrollable": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Allow the body to be scrollable", | ||
@@ -394,6 +393,6 @@ "defaultValue": { | ||
"open": { | ||
"required": false, | ||
"flowType": { | ||
"name": "boolean" | ||
}, | ||
"required": false, | ||
"description": "Whether or not the Dialog is showing.", | ||
@@ -406,3 +405,2 @@ "defaultValue": { | ||
"onAccept": { | ||
"required": false, | ||
"flowType": { | ||
@@ -432,2 +430,3 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the accept Button is pressed.", | ||
@@ -440,3 +439,2 @@ "defaultValue": { | ||
"onCancel": { | ||
"required": false, | ||
"flowType": { | ||
@@ -466,2 +464,3 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the Dialog was closed without acceptance.", | ||
@@ -474,3 +473,2 @@ "defaultValue": { | ||
"onClose": { | ||
"required": false, | ||
"flowType": { | ||
@@ -500,2 +498,3 @@ "name": "signature", | ||
}, | ||
"required": false, | ||
"description": "Callback for when the Dialog closes.", | ||
@@ -502,0 +501,0 @@ "defaultValue": { |
@@ -209,3 +209,3 @@ 'use strict'; | ||
), | ||
!!header && { header: header } | ||
!!header && header | ||
), | ||
@@ -212,0 +212,0 @@ (!!body || children) && React.createElement( |
{ | ||
"name": "@rmwc/dialog", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "RMWC Dialog component", | ||
@@ -31,4 +31,4 @@ "main": "index.js", | ||
"@rmwc/base": "^2.0.2", | ||
"@rmwc/button": "^2.0.2" | ||
"@rmwc/button": "^2.1.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
39133
846
Updated@rmwc/button@^2.1.0