mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
feat(ui): add the Vue component kit with UiRail, UiTooltip and UiIcon
This commit is contained in:
1 parent
c13c487dcf
commit
7307c11c74
13 files changed
+340
-3
No files matched your search
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* @typedef {object} UiRailItem
|
||||
* @property {string} id Item identity, emitted on selection.
|
||||
* @property {string} label Translated name, shown as the tooltip and accessible name.
|
||||
* @property {string} icon Material Symbols glyph.
|
||||
* @property {boolean} [disabled] Shown but not selectable.
|
||||
* @property {boolean} [separatorBefore] Draw a divider above this item.
|
||||
* @property {string|number} [badge] Small count or marker on the icon.
|
||||
*/
|
||||
|
||||
/** How long the pointer rests on an item before its tip shows over an open panel. */
|
||||
export const RAIL_PANEL_OPEN_TOOLTIP_DELAY_MS = 400;
|
||||
Reference in new issue
Block a user