From 94c49186e16d84d77a637bbdfe00e7cb880204fe Mon Sep 17 00:00:00 2001 From: Malik-Jouda <48517781+Malik-Jouda@users.noreply.github.com> Date: Mon, 28 Oct 2024 22:37:01 +0200 Subject: [PATCH] feat(components): improve RTL support (#2433) Co-authored-by: Benjamin Canac --- playground-vue/src/app.vue | 2 +- playground/app/app.vue | 2 +- playground/app/pages/components/badge.vue | 2 +- .../app/pages/components/button-group.vue | 2 +- playground/app/pages/components/button.vue | 14 +- playground/app/pages/components/checkbox.vue | 4 +- .../app/pages/components/form-field.vue | 2 +- playground/app/pages/components/kbd.vue | 4 +- .../app/pages/components/navigation-menu.vue | 2 +- .../app/pages/components/radio-group.vue | 8 +- playground/app/pages/components/switch.vue | 8 +- playground/app/pages/components/table.vue | 4 +- playground/app/pages/components/tooltip.vue | 2 +- src/theme/accordion.ts | 2 +- src/theme/carousel.ts | 8 +- src/theme/command-palette.ts | 2 +- src/theme/input.ts | 42 +- src/theme/modal.ts | 2 +- src/theme/navigation-menu.ts | 10 +- src/theme/slideover.ts | 2 +- src/theme/switch.ts | 12 +- src/theme/table.ts | 4 +- src/theme/tabs.ts | 4 +- src/theme/tooltip.ts | 2 +- test/components/Modal.spec.ts | 2 +- test/components/Slideover.spec.ts | 2 +- .../__snapshots__/Accordion-vue.spec.ts.snap | 216 ++--- .../__snapshots__/Accordion.spec.ts.snap | 216 ++--- .../__snapshots__/Carousel-vue.spec.ts.snap | 160 ++-- .../__snapshots__/Carousel.spec.ts.snap | 160 ++-- .../CommandPalette-vue.spec.ts.snap | 374 ++++---- .../__snapshots__/CommandPalette.spec.ts.snap | 374 ++++---- .../__snapshots__/Input-vue.spec.ts.snap | 40 +- .../__snapshots__/Input.spec.ts.snap | 40 +- .../__snapshots__/InputMenu-vue.spec.ts.snap | 182 ++-- .../__snapshots__/InputMenu.spec.ts.snap | 182 ++-- .../__snapshots__/Modal-vue.spec.ts.snap | 28 +- .../__snapshots__/Modal.spec.ts.snap | 28 +- .../__snapshots__/Select-vue.spec.ts.snap | 174 ++-- .../__snapshots__/Select.spec.ts.snap | 174 ++-- .../__snapshots__/SelectMenu-vue.spec.ts.snap | 194 ++-- .../__snapshots__/SelectMenu.spec.ts.snap | 194 ++-- .../__snapshots__/Slideover-vue.spec.ts.snap | 32 +- .../__snapshots__/Slideover.spec.ts.snap | 32 +- .../__snapshots__/Switch-vue.spec.ts.snap | 46 +- .../__snapshots__/Switch.spec.ts.snap | 46 +- .../__snapshots__/Table-vue.spec.ts.snap | 852 +++++++++--------- .../__snapshots__/Table.spec.ts.snap | 852 +++++++++--------- .../__snapshots__/Tooltip-vue.spec.ts.snap | 2 +- .../__snapshots__/Tooltip.spec.ts.snap | 2 +- 50 files changed, 2375 insertions(+), 2375 deletions(-) diff --git a/playground-vue/src/app.vue b/playground-vue/src/app.vue index abd46fe55f..5989e95f6e 100644 --- a/playground-vue/src/app.vue +++ b/playground-vue/src/app.vue @@ -80,7 +80,7 @@ defineShortcuts({