You've already forked system.css
mirror of
https://github.com/sakofchit/system.css.git
synced 2026-05-05 06:01:22 +09:00
move a couple things around + version bump
This commit is contained in:
@@ -197,14 +197,11 @@
|
||||
</blockquote>
|
||||
|
||||
<p>A menu bar consists of menu elements that name menu items and they typically have a dropdown menu associated with them.</p>
|
||||
<p>In case of a menu item as a single children or plain text with no menu dropdown associated with it, use <code>aria-haspopup="false"</code> attribute.</p>
|
||||
|
||||
<p>To create a menu bar we will use the <code>.menu-bar</code> class. </p>
|
||||
|
||||
<%- example(`
|
||||
<ul role="menu-bar">
|
||||
<li role="menu-item" tabindex="0" aria-haspopup="false">Single Item</li>
|
||||
<li role="menu-item" tabindex="0" aria-haspopup="false"><a target="_blank" href="https://github.com/sakofchit/system.css">System.css on GitHub</a></li>
|
||||
<li role="menu-item" tabindex="0" aria-haspopup="true">
|
||||
File
|
||||
<ul role="menu">
|
||||
@@ -242,6 +239,14 @@
|
||||
</ul>
|
||||
`)%>
|
||||
|
||||
<p>In case of a menu item as a single children or plain text with no menu dropdown associated with it, use <code>aria-haspopup="false"</code> attribute.</p>
|
||||
<%- example(`
|
||||
<ul role="menu-bar">
|
||||
<li role="menu-item" tabindex="0" aria-haspopup="false">Single Item</li>
|
||||
<li role="menu-item" tabindex="0" aria-haspopup="false"><a target="_blank" href="https://github.com/sakofchit/system.css">System.css on GitHub</a></li>
|
||||
</ul>
|
||||
`)%>
|
||||
|
||||
<p>We can also manipulate a menu bar into a standard dropdown.</p>
|
||||
|
||||
<%- example(`
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sakun/system.css",
|
||||
"version": "0.1.10",
|
||||
"version": "0.1.11",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@sakun/system.css",
|
||||
"version": "0.1.10",
|
||||
"version": "0.1.11",
|
||||
"description": "A design system for building retro Apple interfaces",
|
||||
"main": "dist/system.css",
|
||||
"directories": {
|
||||
|
||||
Reference in New Issue
Block a user