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