diff --git a/test/components/ContextMenu.spec.ts b/test/components/ContextMenu.spec.ts index d7659fbd2b..99c1c015a8 100644 --- a/test/components/ContextMenu.spec.ts +++ b/test/components/ContextMenu.spec.ts @@ -23,6 +23,7 @@ describe('ContextMenu', () => { }], [{ label: 'Show Sidebar', + color: 'primary', kbds: ['meta', 'S'] }, { label: 'Show Toolbar', diff --git a/test/components/DropdownMenu.spec.ts b/test/components/DropdownMenu.spec.ts index bb622ace46..3e1841b6f6 100644 --- a/test/components/DropdownMenu.spec.ts +++ b/test/components/DropdownMenu.spec.ts @@ -79,6 +79,7 @@ describe('DropdownMenu', () => { disabled: true }], [{ label: 'Logout', + color: 'error', icon: 'i-heroicons-arrow-right-start-on-rectangle', kbds: ['shift', 'meta', 'q'] }] diff --git a/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap b/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap index 6fc6070ee6..97e767a42b 100644 --- a/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap +++ b/test/components/__snapshots__/DropdownMenu-vue.spec.ts.snap @@ -27,7 +27,7 @@ exports[`DropdownMenu > renders with arrow correctly 1`] = `
GitHubSupport
-
@@ -65,7 +65,7 @@ exports[`DropdownMenu > renders with class correctly 1`] = `
GitHubSupport
-
@@ -103,7 +103,7 @@ exports[`DropdownMenu > renders with custom slot correctly 1`] = `
GitHubSupport
-
@@ -141,7 +141,7 @@ exports[`DropdownMenu > renders with default slot correctly 1`] = `
GitHubSupport
-
@@ -179,7 +179,7 @@ exports[`DropdownMenu > renders with disabled correctly 1`] = `
GitHubSupport
-
@@ -211,7 +211,7 @@ exports[`DropdownMenu > renders with item slot correctly 1`] = `
Item slotItem slot
-
+
@@ -247,7 +247,7 @@ exports[`DropdownMenu > renders with item-label slot correctly 1`] = `
Item label slotItem label slot
-
@@ -285,7 +285,7 @@ exports[`DropdownMenu > renders with item-leading slot correctly 1`] = `
Item leading slotGitHubItem leading slotSupport
-
@@ -317,7 +317,7 @@ exports[`DropdownMenu > renders with item-trailing slot correctly 1`] = `
GitHubItem trailing slotSupportItem trailing slot
-
+
@@ -353,7 +353,7 @@ exports[`DropdownMenu > renders with items correctly 1`] = `
GitHubSupport
-
@@ -393,7 +393,7 @@ exports[`DropdownMenu > renders with labelKey correctly 1`] = `
i-simple-icons-githubi-heroicons-lifebuoy
-
@@ -431,7 +431,7 @@ exports[`DropdownMenu > renders with size lg correctly 1`] = `
GitHubSupport
-
@@ -469,7 +469,7 @@ exports[`DropdownMenu > renders with size md correctly 1`] = `
GitHubSupport
-
@@ -507,7 +507,7 @@ exports[`DropdownMenu > renders with size sm correctly 1`] = `
GitHubSupport
-
@@ -545,7 +545,7 @@ exports[`DropdownMenu > renders with size xl correctly 1`] = `
GitHubSupport
-
@@ -583,7 +583,7 @@ exports[`DropdownMenu > renders with size xs correctly 1`] = `
GitHubSupport
-
@@ -621,7 +621,7 @@ exports[`DropdownMenu > renders with ui correctly 1`] = `
GitHubSupport
-
diff --git a/test/components/__snapshots__/DropdownMenu.spec.ts.snap b/test/components/__snapshots__/DropdownMenu.spec.ts.snap index 80866fe6ba..a57364721d 100644 --- a/test/components/__snapshots__/DropdownMenu.spec.ts.snap +++ b/test/components/__snapshots__/DropdownMenu.spec.ts.snap @@ -29,7 +29,7 @@ exports[`DropdownMenu > renders with arrow correctly 1`] = `
GitHubSupport
-
@@ -69,7 +69,7 @@ exports[`DropdownMenu > renders with class correctly 1`] = `
GitHubSupport
-
@@ -109,7 +109,7 @@ exports[`DropdownMenu > renders with custom slot correctly 1`] = `
GitHubSupport
-
@@ -149,7 +149,7 @@ exports[`DropdownMenu > renders with default slot correctly 1`] = `
GitHubSupport
-
@@ -189,7 +189,7 @@ exports[`DropdownMenu > renders with disabled correctly 1`] = `
GitHubSupport
-
@@ -221,7 +221,7 @@ exports[`DropdownMenu > renders with item slot correctly 1`] = `
Item slotItem slot
-
+
@@ -259,7 +259,7 @@ exports[`DropdownMenu > renders with item-label slot correctly 1`] = `
Item label slotItem label slot
-
@@ -299,7 +299,7 @@ exports[`DropdownMenu > renders with item-leading slot correctly 1`] = `
Item leading slotGitHubItem leading slotSupport
-
@@ -331,7 +331,7 @@ exports[`DropdownMenu > renders with item-trailing slot correctly 1`] = `
GitHubItem trailing slotSupportItem trailing slot
-
+
@@ -369,7 +369,7 @@ exports[`DropdownMenu > renders with items correctly 1`] = `
GitHubSupport
-
@@ -411,7 +411,7 @@ exports[`DropdownMenu > renders with labelKey correctly 1`] = `
i-simple-icons-githubi-heroicons-lifebuoy
-
@@ -451,7 +451,7 @@ exports[`DropdownMenu > renders with size lg correctly 1`] = `
GitHubSupport
-
@@ -491,7 +491,7 @@ exports[`DropdownMenu > renders with size md correctly 1`] = `
GitHubSupport
-
@@ -531,7 +531,7 @@ exports[`DropdownMenu > renders with size sm correctly 1`] = `
GitHubSupport
-
@@ -571,7 +571,7 @@ exports[`DropdownMenu > renders with size xl correctly 1`] = `
GitHubSupport
-
@@ -611,7 +611,7 @@ exports[`DropdownMenu > renders with size xs correctly 1`] = `
GitHubSupport
-
@@ -651,7 +651,7 @@ exports[`DropdownMenu > renders with ui correctly 1`] = `
GitHubSupport
-