Boolean
$dialog-disable-everything: false !default;
Boolean
$dialog-disable-default-transition: false !default;
Boolean
$dialog-disable-fixed: false !default;
Boolean
$dialog-disable-header: false !default;
Boolean
$dialog-disable-title: false !default;
Boolean
$dialog-disable-content: false !default;
Boolean
$dialog-disable-footer: false !default;
Boolean
$dialog-disable-focus-outline: false !default;
Boolean
$dialog-disable-footer-flex-vertical: false !default;
Boolean
$dialog-disable-footer-flex-start: false !default;
Boolean
$dialog-disable-footer-space-between: false !default;
Boolean
$dialog-disable-footer-flex-end: false !default;
Number
$dialog-elevation: 16 !default;
Number
$dialog-z-index: utils.$temporary-element-z-index !default;
Color
$dialog-background-color: if(
theme.$disable-dark-elevation,
theme.theme-get-var(surface-color),
null
) !default;
Color
$dialog-color: if(
theme.$disable-dark-elevation,
theme.theme-get-var(text-primary-color),
null
) !default;
Number
$dialog-min-width: 17.5rem !default;
Number
$dialog-small-width: 25rem !default;
Number
$dialog-medium-width: 40rem !default;
Number
$dialog-large-width: 60rem !default;
Number
$dialog-extra-large-width: 80rem !default;
Number
$dialog-horizontal-margin: calc(spacing.get-var(lg) * 1.25) !default;
Number
$dialog-vertical-margin: spacing.get-var(lg) !default;
Number
$dialog-transition-distance: 1.875rem !default;
Number
$dialog-enter-duration: transition.$enter-duration !default;
Number
$dialog-enter-timing-function: transition.$deceleration-timing-function !default;
Number
$dialog-leave-timing-function: transition.$acceleration-timing-function !default;
Number
$dialog-leave-duration: transition.$leave-duration !default;
Number
$dialog-header-padding: spacing.get-var(lg) !default;
Number
$dialog-header-padding-bottom: calc(spacing.get-var(md) * 1.25) !default;
Number
$dialog-content-padding: spacing.get-var(lg) !default;
Number
$dialog-footer-padding: spacing.get-var(sm) !default;
List
$dialog-variables: (
min-width,
horizontal-margin,
vertical-margin,
z-index,
header-padding,
header-padding-bottom,
content-padding,
footer-padding,
width,
small-width,
medium-width,
large-width,
extra-large-width
);
mixin
@mixin set-var($name, $value) { … }
mixin
@mixin use-var($property, $name: $property, $fallback: null) { … }
mixin
@mixin variables { … }
mixin
@mixin styles($disable-layer: false) { … }
function
@function get-var($name, $fallback: null) { … }
String
Set to true
to disable all the styles
Set to true
of the default dialog enter/exit transition styles should not be generated.
Set to true
when the FixedDialog
will not be used.
Set to true
if the DialogHeader
will not be used.
Set to true
if the DialogTitle
will not be used.
Set to true
if the DialogContent
will not be used.
Set to true
if the DialogFooter
will not be used.
Set to true
if the Dialog
component will never gain focus because each
Dialog
usage has a child component with defaultFocus
enabled.
Set to true
if the DialogFooter
will never set align="stacked-start"
and align="stacked-end"
Set to true
if the DialogFooter
will never set align="start"
and
align="stacked-start"
.
Set to true
if the DialogFooter
will never set align="between"
.
Set to true
if the DialogFooter
will never set align="end"
and
`align="stacked-end".
A number between 0-24 representing the box-shadow elevation for the dialog.
The z-index to apply to the Dialog
.
The default background color for a dialog.
The default text color for a dialog.
The min-width
to apply to all Dialog
s.
The width
to use when width="small"
.
The width
to use when width="medium"
.
The width
to use when width="large"
.
The width
to use when width="extra-large"
.
The amount of spacing to apply to the left and right of the dialog when it is centered.
The amount of spacing to apply to the top and bottom of the dialog when it is centered.
The distance to move while the dialog enters and exits.
The Dialog
enter transition duration. If this value changes, the
Dialog.timeout
should be updated as well.
The Dialog
enter transition timing function.
If this value changes, the Dialog.timeout
should be updated as well.
The Dialog
exit transition timing function.
The amount of padding to apply to the DialogHeader
component.
The amount of padding-bottom to apply to the DialogHeader
component.
The amount of padding-bottom to apply to the DialogContent
component.
The amount of padding-bottom to apply to the DialogFooter
component.
The available configurable css variables and mostly used internally for the
get-var
, set-var
, and use-var
utils.
The supported variable name
The value to set the variable to. Supports null
which will just be a no-op.
The css property to apply the variable to
The supported variable name
An optional fallback value if the variable has not been set
Conditionally applies the css variables based on feature flags
Generates all the styles based on feature flags.
Set this to true
to disable the layer behavior
a var()
statement
The supported variable name
An optional fallback value