Closed lederer closed 5 years ago
Button
colors
Dialog
If there are any of the following in this PR, provide proper instructions on how to upgrade:
Button theme changes:
intents.colors.default
base.colors.color
base.colors.defaultBg
base.colors.bg
base.colors.defaultBorder
base.colors.border
base.colors.darkText
base.colors.colorDark
base.colors.lightText
base.colors.colorLight
base.hover.colors.defaultBg
base.colors.bgHover
base.hover.*
base.hover
Dialog prop changes:
opacity
overlayOpacity
overlayColor
zIndex
portalClassName
overlayClassName
className
bodyOpenClassName
htmlOpenClassName
Dialog theme changes:
colors.overlay
colors.focus
zIndices.zIndex
opacities.overlay
durations.closeTimeoutMS
transitions.overlay.{base, afterOpen, beforeClose}
transitions.dialog.{base, afterOpen, beforeClose}
Tweaked replaceThemeRefs() in utils.js to help prevent call stack errors.
replaceThemeRefs()
Hard coded Dialog classnames, for simplicity.
Hid Field, ToggleField, and NavBar docs pages. They're to be deprecated.
Closes #210 Closes #211 Closes #212 Closes #213
Nice catches. Ready for another look.
Overview
Button
colors
.Dialog
Checklist
Upgrade instructions
If there are any of the following in this PR, provide proper instructions on how to upgrade:
Button theme changes:
intents.colors.default
is nowbase.colors.color
base.colors.defaultBg
is nowbase.colors.bg
base.colors.defaultBorder
is nowbase.colors.border
base.colors.darkText
is nowbase.colors.colorDark
base.colors.lightText
is nowbase.colors.colorLight
base.hover.colors.defaultBg
is nowbase.colors.bgHover
base.hover.*
properties deprecated, andbase.hover
removed.Dialog prop changes:
opacity
should now affect dialog opacity, not overlay opacityoverlayOpacity
overlayColor
zIndex
portalClassName
,overlayClassName
,className
,bodyOpenClassName
,htmlOpenClassName
Dialog theme changes:
colors.overlay
colors.focus
zIndices.zIndex
opacities.overlay
durations.closeTimeoutMS
transitions.overlay.{base, afterOpen, beforeClose}
transitions.dialog.{base, afterOpen, beforeClose}
Notes
Tweaked
replaceThemeRefs()
in utils.js to help prevent call stack errors.Hard coded Dialog classnames, for simplicity.
Hid Field, ToggleField, and NavBar docs pages. They're to be deprecated.
Testing Instructions
Closes #210 Closes #211 Closes #212 Closes #213