Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3006b9b
feat(Switch): handle`switch` in RTL mode
malik-jouda Oct 21, 2024
5b34c3c
feat(Input): handle `Input` in RTL mode
malik-jouda Oct 21, 2024
c4846db
Merge branch 'v3' into improve-rtl-support
malik-jouda Oct 23, 2024
5e1f9ea
feat(Modal): handle`modal` in RTL mode
malik-jouda Oct 23, 2024
4c8a8a0
fix(Slideover): handle `slideover` in RTL mode
malik-jouda Oct 23, 2024
da5bdd8
up
malik-jouda Oct 23, 2024
57f511b
Merge branch 'v3' into improve-rtl-support
malik-jouda Oct 23, 2024
b5edeb3
fix(CommandPalette): handle `CommandPalette` in RTL mode
malik-jouda Oct 24, 2024
9e0b818
Merge branch 'v3' into improve-rtl-support
benjamincanac Oct 24, 2024
f85c23d
Merge branch 'v3' into improve-rtl-support
benjamincanac Oct 24, 2024
576d543
feat(Input): remove the ! important marks
malik-jouda Oct 25, 2024
fdd8a35
fix(NavigationMenu): handle `NavigationMenu` in RTL mode
malik-jouda Oct 25, 2024
8d74090
fix(Tabs): handle `Tabs` in RTL mode
malik-jouda Oct 25, 2024
5ba374d
fix(Tooltip): handle `Tooltip` in RTL mode
malik-jouda Oct 25, 2024
c6e1632
up
malik-jouda Oct 25, 2024
88d8e92
fix(Carousel): handle `carousel` in RTL mode
malik-jouda Oct 25, 2024
51f3018
up
malik-jouda Oct 25, 2024
8e2d061
fix(Table): handle `Table` in RTL mode
malik-jouda Oct 25, 2024
c349ce2
fix(Accordion) handle `Accordion` in RTL mode
malik-jouda Oct 25, 2024
e1e6706
Merge branch 'v3' into improve-rtl-support
malik-jouda Oct 25, 2024
bab3eb3
test: update vue snapshots
benjamincanac Oct 25, 2024
55aaa61
playground: RTL support
malik-jouda Oct 25, 2024
c6b0ffd
Merge branch 'v3' into improve-rtl-support
malik-jouda Oct 28, 2024
f5c6d1f
Merge branch 'v3' into improve-rtl-support
malik-jouda Oct 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(NavigationMenu): handle NavigationMenu in RTL mode
  • Loading branch information
malik-jouda committed Oct 25, 2024
commit fdd8a35e9d66a79e7c757f90cdfd400b900e8b23
2 changes: 1 addition & 1 deletion playground/app/pages/components/navigation-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const items = [
:orientation="orientation"
:highlight="highlight"
:highlight-color="highlightColor"
:class="highlight && 'data-[orientation=horizontal]:border-b data-[orientation=vertical]:border-l border-[var(--ui-border)]'"
:class="highlight && 'data-[orientation=horizontal]:border-b data-[orientation=vertical]:border-s border-[var(--ui-border)]'"
/>
</div>
</template>
10 changes: 5 additions & 5 deletions src/theme/navigation-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default (options: Required<ModuleOptions>) => ({
linkLabelExternalIcon: 'size-3 align-top text-[var(--ui-text-dimmed)]',
childList: '',
childItem: '',
childLink: 'group size-full px-3 py-2 rounded-[calc(var(--ui-radius)*1.5)] flex items-start gap-2 text-left',
childLink: 'group size-full px-3 py-2 rounded-[calc(var(--ui-radius)*1.5)] flex items-start gap-2 text-start',
childLinkWrapper: 'flex flex-col items-start',
childLinkIcon: 'size-5 shrink-0',
childLinkLabel: 'font-semibold text-sm relative inline-flex',
Expand Down Expand Up @@ -61,8 +61,8 @@ export default (options: Required<ModuleOptions>) => ({
vertical: {
root: 'flex-col',
link: 'flex-row px-2.5 py-1.5 before:inset-y-px before:inset-x-0',
childList: 'ml-5 border-l border-[var(--ui-border)]',
childItem: 'pl-1.5 -ml-px'
childList: 'ms-5 border-s border-[var(--ui-border)]',
childItem: 'ps-1.5 -ms-px'
}
},
active: {
Expand Down Expand Up @@ -97,8 +97,8 @@ export default (options: Required<ModuleOptions>) => ({
highlight: true,
orientation: 'vertical',
class: {
item: 'px-1.5 -ml-px',
link: 'after:absolute after:-left-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full'
item: 'px-1.5 -ms-px',
link: 'after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full'
}
}, {
disabled: false,
Expand Down