1.3.2 • Published 5 months ago

@maggioli-design-system/mds-keyboard v1.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 months ago

mds-keyboard

Properties

PropertyAttributeDescriptionTypeDefault
testtestShows the keyboard key combination test result"fail" \| "pass" \| undefinedundefined
trytrySets if the keyboard key combination test is enabledboolean \| undefinedundefined

Methods

updateLang() => Promise<void>

Returns

Type: Promise<void>

CSS Custom Properties

NameDescription
--mds-keyboard-backgroundSet the background color of the keyboard area.
--mds-keyboard-background-defaultprivate Set the default background color of the keyboard area.
--mds-keyboard-background-failSet the background color of the keyboard area when the test fails.
--mds-keyboard-background-passSet the background color of the keyboard area when the test passes.
--mds-keyboard-colorSet the text color of the keyboard area, will impact on mds-keyboard-key component.
--mds-keyboard-fill-failSet the fill color of the combination-checker button when the test fails.
--mds-keyboard-fill-passSet the fill color of the combination-checker button when the test passes.
--mds-keyboard-illumination-darkSet the dark illumination.
--mds-keyboard-illumination-dark-opacitySet the opacity of the dark illumination.
--mds-keyboard-illumination-dark-sizeSet the size of the dark illumination.
--mds-keyboard-illumination-lightSet the light illumination.
--mds-keyboard-illumination-light-opacitySet the opacity of the light illumination.
--mds-keyboard-illumination-light-sizeSet the size of the light illumination.
--mds-keyboard-illumination-shadowSet the shadow of the keyboard area.
--mds-keyboard-key-backgroundSet the background color of the keyboard key.
--mds-keyboard-key-illumination-dark-opacitySet the opacity of the dark illumination of the keyboard key.
--mds-keyboard-key-illumination-light-opacitySet the opacity of the light illumination of the keyboard key.
--mds-keyboard-key-illumination-shadowSet the shadow of the keyboard key.
--mds-keyboard-paddingSet the padding of the keyboard area.
--mds-keyboard-spinner-durationSet the duration of the spinner animation.

Dependencies

Depends on

Graph

graph TD;
  mds-keyboard --> mds-text
  mds-keyboard --> mds-button
  mds-keyboard --> mds-tooltip
  mds-button --> mds-spinner
  mds-button --> mds-icon
  mds-button --> mds-text
  mds-tooltip --> mds-text
  style mds-keyboard fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department