Skip to content

v2.8.1

Compare
Choose a tag to compare
@taufik-nurrohman taufik-nurrohman released this 21 Nov 17:16
· 405 commits to main since this release
  • Added CSS variables to support theming by third-party extension and layout.
  • Added card and cards type.
  • Added column and columns type so we can have sidebars.
  • Added description and title option for menu.
  • Added gap option for tabs.
  • Added row and rows type.
  • Added stack and stacks type.
  • Added toggle option for tab and tabs.
  • Added version update check feature.
  • Improved keyboard accessibility by adding some navigation shortcuts:
    • Press ArrowDown or ArrowRight or Home or PageDown to focus to the first stack when focusing on the stacks block.
    • Press ArrowDown or ArrowRight or Home or PageDown to focus to the first tab when focusing on the tabs block.
    • Press ArrowDown or ArrowUp to switch between menu links when focusing on the menu link.
    • Press ArrowDown or ArrowUp to toggle the tab panel visibility if toggle option is enabled. If tab panel is already hidden, this navigation will works as the way ArrowLeft and ArrowRight works.
    • Press ArrowDown or Home to focus to the first menu link when focusing on the menu block.
    • Press ArrowDown to show the menu and then focus to the first menu link when focusing on the menu trigger.
    • Press ArrowLeft or ArrowRight to switch between links when focusing on the links list.
    • Press ArrowLeft or ArrowRight to switch between stacks when focusing on the stack trigger.
    • Press ArrowLeft or ArrowRight to switch between tabs when focusing on the tab trigger.
    • Press ArrowLeft or ArrowRight to switch between tasks when focusing on the tasks list.
    • Press ArrowLeft or ArrowRight to toggle the stack panel visibility if toggle option is enabled. If stack panel is already hidden, this navigation will works as the way ArrowDown and ArrowUp works.
    • Press ArrowLeft or End to focus to the last link when focusing on the links list.
    • Press ArrowLeft or End to focus to the last task when focusing on the tasks list.
    • Press ArrowLeft or Escape to hide the current menu and then focus to the nearest parent menu link.
    • Press ArrowRight or Home to focus to the first link when focusing on the links list.
    • Press ArrowRight or Home to focus to the first task when focusing on the tasks list.
    • Press ArrowRight to show the child menu and then focus to the first child menu link.
    • Press ArrowUp or ArrowLeft or End or PageUp to focus to the last stack when focusing on the stacks block.
    • Press ArrowUp or ArrowLeft or End or PageUp to focus to the last tab when focusing on the tabs block.
    • Press ArrowUp or End to focus to the last menu link when focusing on the menu block.
    • Press ControlAltPageDown to go to the next stack when focusing anywhere in the stacks block.
    • Press ControlAltPageDown to go to the next tab when focusing anywhere in the tabs block.
    • Press ControlAltPageUp to go to the previous stack when focusing anywhere in the stacks block.
    • Press ControlAltPageUp to go to the previous tab when focusing anywhere in the tabs block.
    • Press Enter or Space to toggle the menu visibility when focusing on the menu trigger.
    • Press Enter or Space to toggle the stack panel visibility if toggle option is enabled.
    • Press Enter or Space to toggle the tab panel visibility if toggle option is enabled.
    • Press Escape to focus to the parent block if possible.
    • Press F10 to focus to the first main navigation item if any.
    • Press F3 to focus to the main search form if any.
  • Moved _.alert(), _.confirm(), and _.prompt() to the _.dialog namespace. In the future, users should be able to set custom dialog window via _.dialog().
  • Moved the default skin to a separate extension.