Skip to content

Commit

Permalink
next: rename menu label (#674)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Sep 24, 2024
1 parent 01a8de9 commit 9cc6eb7
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/bits-ui/src/lib/bits/context-menu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export { default as Root } from "$lib/bits/menu/components/menu.svelte";
export { default as Sub } from "$lib/bits/menu/components/menu-sub.svelte";
export { default as Item } from "$lib/bits/menu/components/menu-item.svelte";
export { default as Group } from "$lib/bits/menu/components/menu-group.svelte";
export { default as GroupHeading } from "$lib/bits/menu/components/menu-group-label.svelte";
export { default as GroupHeading } from "$lib/bits/menu/components/menu-group-heading.svelte";
export { default as Arrow } from "$lib/bits/menu/components/menu-arrow.svelte";
export { default as Content } from "./components/context-menu-content.svelte";
export { default as ContentStatic } from "./components/context-menu-content-static.svelte";
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/lib/bits/dropdown-menu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export { default as Root } from "$lib/bits/menu/components/menu.svelte";
export { default as Sub } from "$lib/bits/menu/components/menu-sub.svelte";
export { default as Item } from "$lib/bits/menu/components/menu-item.svelte";
export { default as Group } from "$lib/bits/menu/components/menu-group.svelte";
export { default as GroupHeading } from "$lib/bits/menu/components/menu-group-label.svelte";
export { default as GroupHeading } from "$lib/bits/menu/components/menu-group-heading.svelte";
export { default as Arrow } from "$lib/bits/menu/components/menu-arrow.svelte";
export { default as Content } from "./components/dropdown-menu-content.svelte";
export { default as ContentStatic } from "./components/dropdown-menu-content-static.svelte";
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/lib/bits/menu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export { default as Content } from "./components/menu-content.svelte";
export { default as ContentStatic } from "./components/menu-content-static.svelte";
export { default as Group } from "./components/menu-group.svelte";
export { default as Item } from "./components/menu-item.svelte";
export { default as GroupHeading } from "./components/menu-group-label.svelte";
export { default as GroupHeading } from "./components/menu-group-heading.svelte";
export { default as Portal } from "$lib/bits/utilities/portal/portal.svelte";
export { default as RadioGroup } from "./components/menu-radio-group.svelte";
export { default as RadioItem } from "./components/menu-radio-item.svelte";
Expand Down
4 changes: 2 additions & 2 deletions packages/bits-ui/src/lib/bits/menubar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export { default as Trigger } from "./components/menubar-trigger.svelte";
export { default as Sub } from "$lib/bits/menu/components/menu-sub.svelte";
export { default as Item } from "$lib/bits/menu/components/menu-item.svelte";
export { default as Group } from "$lib/bits/menu/components/menu-group.svelte";
export { default as Label } from "$lib/bits/menu/components/menu-group-label.svelte";
export { default as GroupHeading } from "$lib/bits/menu/components/menu-group-heading.svelte";
export { default as Arrow } from "$lib/bits/menu/components/menu-arrow.svelte";
export { default as RadioItem } from "$lib/bits/menu/components/menu-radio-item.svelte";
export { default as Separator } from "$lib/bits/menu/components/menu-separator.svelte";
Expand All @@ -28,7 +28,7 @@ export type {
MenuSubPropsWithoutHTML as SubProps,
MenuItemProps as ItemProps,
MenuGroupProps as GroupProps,
MenuGroupHeadingProps as LabelProps,
MenuGroupHeadingProps as GroupHeadingProps,
MenuArrowProps as ArrowProps,
MenuRadioItemProps as RadioItemProps,
MenuSeparatorProps as SeparatorProps,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<Menubar.Content data-testid="{id}-content">
<Menubar.Separator data-testid="{id}-separator" />
<Menubar.Group data-testid="{id}-group">
<Menubar.Label data-testid="{id}-label">Stuff</Menubar.Label>
<Menubar.GroupHeading data-testid="{id}-group-heading">Stuff</Menubar.GroupHeading>
<Menubar.Item data-testid="{id}-item">
<span>item</span>
</Menubar.Item>
Expand Down
2 changes: 1 addition & 1 deletion packages/bits-ui/src/tests/menubar/menubar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe("menubar", () => {
"content",
"trigger",
"group",
"label",
"group-heading",
"separator",
"sub-trigger",
"item",
Expand Down

0 comments on commit 9cc6eb7

Please sign in to comment.