From 3006b9b5ff6ae077d06f34c81044678ecd5c55f2 Mon Sep 17 00:00:00 2001 From: malik jouda <1999.malik.jouda@gmail.com> Date: Mon, 21 Oct 2024 23:24:39 +0300 Subject: [PATCH 01/17] feat(Switch): handle`switch` in RTL mode --- src/theme/switch.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/theme/switch.ts b/src/theme/switch.ts index 5bf7e4fcb2..cc40c98e8f 100644 --- a/src/theme/switch.ts +++ b/src/theme/switch.ts @@ -5,7 +5,7 @@ export default (options: Required) => ({ root: 'relative flex items-start', base: ['inline-flex items-center shrink-0 rounded-full border-2 border-transparent focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--ui-bg)] data-[state=unchecked]:bg-[var(--ui-bg-accented)]', options.theme.transitions && 'transition-colors duration-200'], container: 'flex items-center', - thumb: 'group pointer-events-none block rounded-full bg-[var(--ui-bg)] shadow-lg ring-0 transition-transform duration-200 data-[state=unchecked]:translate-x-0 flex items-center justify-center', + thumb: 'group pointer-events-none block rounded-full bg-[var(--ui-bg)] shadow-lg ring-0 transition-transform duration-200 data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center', icon: ['absolute shrink-0 group-data-[state=unchecked]:text-[var(--ui-text-dimmed)] opacity-0 size-10/12', options.theme.transitions && 'transition-[color,opacity] duration-200'], wrapper: 'ms-2', label: 'block font-medium text-[var(--ui-text)]', @@ -26,31 +26,31 @@ export default (options: Required) => ({ xs: { base: 'w-7', container: 'h-4', - thumb: 'size-3 data-[state=checked]:translate-x-3', + thumb: 'size-3 data-[state=checked]:translate-x-3 data-[state=checked]:rtl:-translate-x-3', wrapper: 'text-xs' }, sm: { base: 'w-8', container: 'h-4', - thumb: 'size-3.5 data-[state=checked]:translate-x-3.5', + thumb: 'size-3.5 data-[state=checked]:translate-x-3.5 data-[state=checked]:rtl:-translate-x-3.5', wrapper: 'text-xs' }, md: { base: 'w-9', container: 'h-5', - thumb: 'size-4 data-[state=checked]:translate-x-4', + thumb: 'size-4 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4', wrapper: 'text-sm' }, lg: { base: 'w-10', container: 'h-5', - thumb: 'size-4.5 data-[state=checked]:translate-x-4.5', + thumb: 'size-4.5 data-[state=checked]:translate-x-4.5 data-[state=checked]:rtl:-translate-x-4.5', wrapper: 'text-sm' }, xl: { base: 'w-11', container: 'h-6', - thumb: 'size-5 data-[state=checked]:translate-x-5', + thumb: 'size-5 data-[state=checked]:translate-x-5 data-[state=checked]:rtl:-translate-x-5', wrapper: 'text-base' } }, From 5b34c3c2c24c2603e84c2164f1bae506b8b144b8 Mon Sep 17 00:00:00 2001 From: malik jouda <1999.malik.jouda@gmail.com> Date: Tue, 22 Oct 2024 01:36:15 +0300 Subject: [PATCH 02/17] feat(Input): handle `Input` in RTL mode --- src/theme/input.ts | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/src/theme/input.ts b/src/theme/input.ts index 9e50426c14..3afa3071dc 100644 --- a/src/theme/input.ts +++ b/src/theme/input.ts @@ -17,40 +17,40 @@ export default (options: Required) => ({ size: { xs: { base: 'px-2 py-1 text-xs gap-1', - leading: 'pl-2', - trailing: 'pr-2', + leading: '!ps-2', + trailing: '!pe-2', leadingIcon: 'size-4', leadingAvatarSize: '3xs', trailingIcon: 'size-4' }, sm: { base: 'px-2.5 py-1.5 text-xs gap-1.5', - leading: 'pl-2.5', - trailing: 'pr-2.5', + leading: '!ps-2.5', + trailing: '!pe-2.5', leadingIcon: 'size-4', leadingAvatarSize: '3xs', trailingIcon: 'size-4' }, md: { base: 'px-2.5 py-1.5 text-sm gap-1.5', - leading: 'pl-2.5', - trailing: 'pr-2.5', + leading: '!ps-2.5', + trailing: '!pe-2.5', leadingIcon: 'size-5', leadingAvatarSize: '2xs', trailingIcon: 'size-5' }, lg: { base: 'px-3 py-2 text-sm gap-2', - leading: 'pl-3', - trailing: 'pr-3', + leading: '!ps-3', + trailing: '!pe-3', leadingIcon: 'size-5', leadingAvatarSize: '2xs', trailingIcon: 'size-5' }, xl: { base: 'px-3 py-2 text-base gap-2', - leading: 'pl-3', - trailing: 'pr-3', + leading: '!ps-3', + trailing: '!pe-3', leadingIcon: 'size-6', leadingAvatarSize: 'xs', trailingIcon: 'size-6' @@ -80,7 +80,7 @@ export default (options: Required) => ({ true: '' }, type: { - file: 'file:mr-1.5 file:font-medium file:text-[var(--ui-text-muted)] file:outline-none' + file: 'file:me-1.5 file:font-medium file:text-[var(--ui-text-muted)] file:outline-none' } }, compoundVariants: [...(options.theme.colors || []).map((color: string) => ({ @@ -102,43 +102,43 @@ export default (options: Required) => ({ }, { leading: true, size: 'xs', - class: 'pl-7' + class: '!ps-7' }, { leading: true, size: 'sm', - class: 'pl-8' + class: '!ps-8' }, { leading: true, size: 'md', - class: 'pl-9' + class: '!ps-9' }, { leading: true, size: 'lg', - class: 'pl-10' + class: '!ps-10' }, { leading: true, size: 'xl', - class: 'pl-11' + class: '!ps-11' }, { trailing: true, size: 'xs', - class: 'pr-7' + class: '!pe-7' }, { trailing: true, size: 'sm', - class: 'pr-8' + class: '!pe-8' }, { trailing: true, size: 'md', - class: 'pr-9' + class: '!pe-9' }, { trailing: true, size: 'lg', - class: 'pr-10' + class: '!pe-10' }, { trailing: true, size: 'xl', - class: 'pr-11' + class: '!pe-11' }, { loading: true, leading: true, From 5e1f9ea4e0fedfc7c794343f4c03ec4557c98efd Mon Sep 17 00:00:00 2001 From: malik jouda <1999.malik.jouda@gmail.com> Date: Wed, 23 Oct 2024 21:13:16 +0300 Subject: [PATCH 03/17] feat(Modal): handle`modal` in RTL mode --- src/theme/modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/modal.ts b/src/theme/modal.ts index 714233ce71..d93d90f40f 100644 --- a/src/theme/modal.ts +++ b/src/theme/modal.ts @@ -7,7 +7,7 @@ export default { footer: 'flex items-center gap-1.5 p-4 sm:px-6', title: 'text-[var(--ui-text-highlighted)] font-semibold', description: 'mt-1 text-[var(--ui-text-muted)] text-sm', - close: 'absolute top-4 right-4' + close: 'absolute top-4 end-4' }, variants: { transition: { From 4c8a8a0485a1cf9e0f1eac41f238d4333cd6d330 Mon Sep 17 00:00:00 2001 From: malik jouda <1999.malik.jouda@gmail.com> Date: Wed, 23 Oct 2024 21:25:16 +0300 Subject: [PATCH 04/17] fix(Slideover): handle `slideover` in RTL mode --- src/theme/slideover.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/slideover.ts b/src/theme/slideover.ts index d3a6f2aee7..f5a501fc34 100644 --- a/src/theme/slideover.ts +++ b/src/theme/slideover.ts @@ -7,7 +7,7 @@ export default { footer: 'flex items-center gap-1.5 p-4 sm:px-6', title: 'text-[var(--ui-text-highlighted)] font-semibold', description: 'mt-1 text-[var(--ui-text-muted)] text-sm', - close: 'absolute top-4 right-4' + close: 'absolute top-4 end-4' }, variants: { side: { From da5bdd8babdbd277eec20f59d5bd9125a1643f51 Mon Sep 17 00:00:00 2001 From: malik jouda <1999.malik.jouda@gmail.com> Date: Wed, 23 Oct 2024 22:46:32 +0300 Subject: [PATCH 05/17] up --- test/components/Modal.spec.ts | 2 +- test/components/Slideover.spec.ts | 2 +- .../__snapshots__/CommandPalette.spec.ts.snap | 46 ++--- .../__snapshots__/Input.spec.ts.snap | 40 ++-- .../__snapshots__/InputMenu.spec.ts.snap | 182 ++++++++-------- .../__snapshots__/Modal.spec.ts.snap | 28 +-- .../__snapshots__/Select.spec.ts.snap | 174 ++++++++-------- .../__snapshots__/SelectMenu.spec.ts.snap | 194 +++++++++--------- .../__snapshots__/Slideover.spec.ts.snap | 32 +-- .../__snapshots__/Switch.spec.ts.snap | 46 ++--- 10 files changed, 373 insertions(+), 373 deletions(-) diff --git a/test/components/Modal.spec.ts b/test/components/Modal.spec.ts index 4b339776e7..3398242cb8 100644 --- a/test/components/Modal.spec.ts +++ b/test/components/Modal.spec.ts @@ -16,7 +16,7 @@ describe('Modal', () => { ['without close', { props: { ...props, close: false, title: 'Title', description: 'Description' } }], ['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }], ['with class', { props: { ...props, class: 'bg-[var(--ui-bg-elevated)]' } }], - ['with ui', { props: { ...props, ui: { close: 'right-2' } } }], + ['with ui', { props: { ...props, ui: { close: 'end-2' } } }], // Slots ['with default slot', { props, slots: { default: () => 'Default slot' } }], ['with content slot', { props, slots: { content: () => 'Content slot' } }], diff --git a/test/components/Slideover.spec.ts b/test/components/Slideover.spec.ts index 31e635b2c0..bb56616740 100644 --- a/test/components/Slideover.spec.ts +++ b/test/components/Slideover.spec.ts @@ -18,7 +18,7 @@ describe('Slideover', () => { ['without close', { props: { ...props, close: false, title: 'Title', description: 'Description' } }], ['with closeIcon', { props: { ...props, closeIcon: 'i-heroicons-trash' } }], ['with class', { props: { ...props, class: 'bg-[var(--ui-bg-elevated)]' } }], - ['with ui', { props: { ...props, ui: { close: 'right-2' } } }], + ['with ui', { props: { ...props, ui: { close: 'end-2' } } }], // Slots ['with default slot', { props, slots: { default: () => 'Default slot' } }], ['with content slot', { props, slots: { content: () => 'Content slot' } }], diff --git a/test/components/__snapshots__/CommandPalette.spec.ts.snap b/test/components/__snapshots__/CommandPalette.spec.ts.snap index 9faf076ebb..40ab2eca01 100644 --- a/test/components/__snapshots__/CommandPalette.spec.ts.snap +++ b/test/components/__snapshots__/CommandPalette.spec.ts.snap @@ -2,7 +2,7 @@ exports[`CommandPalette > renders with as correctly 1`] = ` "
-
+
@@ -61,7 +61,7 @@ exports[`CommandPalette > renders with as correctly 1`] = ` exports[`CommandPalette > renders with class correctly 1`] = ` "
-
+
@@ -120,7 +120,7 @@ exports[`CommandPalette > renders with class correctly 1`] = ` exports[`CommandPalette > renders with close correctly 1`] = ` "
-
@@ -180,7 +180,7 @@ exports[`CommandPalette > renders with close correctly 1`] = ` exports[`CommandPalette > renders with close slot correctly 1`] = ` "
-
Close slot
+
Close slot
@@ -237,7 +237,7 @@ exports[`CommandPalette > renders with close slot correctly 1`] = ` exports[`CommandPalette > renders with closeIcon correctly 1`] = ` "
-
@@ -297,7 +297,7 @@ exports[`CommandPalette > renders with closeIcon correctly 1`] = ` exports[`CommandPalette > renders with custom slot correctly 1`] = ` "
-
+
@@ -354,7 +354,7 @@ exports[`CommandPalette > renders with custom slot correctly 1`] = ` exports[`CommandPalette > renders with defaultValue correctly 1`] = ` "
-
+
@@ -413,7 +413,7 @@ exports[`CommandPalette > renders with defaultValue correctly 1`] = ` exports[`CommandPalette > renders with disabled correctly 1`] = ` "
-
+
@@ -472,7 +472,7 @@ exports[`CommandPalette > renders with disabled correctly 1`] = ` exports[`CommandPalette > renders with empty slot correctly 1`] = ` "
-
+
@@ -531,7 +531,7 @@ exports[`CommandPalette > renders with empty slot correctly 1`] = ` exports[`CommandPalette > renders with groups correctly 1`] = ` "
-
+
@@ -590,7 +590,7 @@ exports[`CommandPalette > renders with groups correctly 1`] = ` exports[`CommandPalette > renders with icon correctly 1`] = ` "
-
+
@@ -649,7 +649,7 @@ exports[`CommandPalette > renders with icon correctly 1`] = ` exports[`CommandPalette > renders with item slot correctly 1`] = ` "
-
+
@@ -696,7 +696,7 @@ exports[`CommandPalette > renders with item slot correctly 1`] = ` exports[`CommandPalette > renders with item-label slot correctly 1`] = ` "
-
+
@@ -755,7 +755,7 @@ exports[`CommandPalette > renders with item-label slot correctly 1`] = ` exports[`CommandPalette > renders with item-leading slot correctly 1`] = ` "
-
+
@@ -808,7 +808,7 @@ exports[`CommandPalette > renders with item-leading slot correctly 1`] = ` exports[`CommandPalette > renders with item-trailing slot correctly 1`] = ` "
-
+
@@ -861,7 +861,7 @@ exports[`CommandPalette > renders with item-trailing slot correctly 1`] = ` exports[`CommandPalette > renders with labelKey correctly 1`] = ` "
-
+
@@ -925,7 +925,7 @@ exports[`CommandPalette > renders with labelKey correctly 1`] = ` exports[`CommandPalette > renders with loading correctly 1`] = ` "
-
+
@@ -984,7 +984,7 @@ exports[`CommandPalette > renders with loading correctly 1`] = ` exports[`CommandPalette > renders with loadingIcon correctly 1`] = ` "
-
+
@@ -1043,7 +1043,7 @@ exports[`CommandPalette > renders with loadingIcon correctly 1`] = ` exports[`CommandPalette > renders with modelValue correctly 1`] = ` "
-
+
@@ -1102,7 +1102,7 @@ exports[`CommandPalette > renders with modelValue correctly 1`] = ` exports[`CommandPalette > renders with placeholder correctly 1`] = ` "
-
+
@@ -1161,7 +1161,7 @@ exports[`CommandPalette > renders with placeholder correctly 1`] = ` exports[`CommandPalette > renders with selectedIcon correctly 1`] = ` "
-
+
@@ -1220,7 +1220,7 @@ exports[`CommandPalette > renders with selectedIcon correctly 1`] = ` exports[`CommandPalette > renders with ui correctly 1`] = ` "
-
+
@@ -1279,7 +1279,7 @@ exports[`CommandPalette > renders with ui correctly 1`] = ` exports[`CommandPalette > renders without results correctly 1`] = ` "
-
+
diff --git a/test/components/__snapshots__/Input.spec.ts.snap b/test/components/__snapshots__/Input.spec.ts.snap index bcafcd2d53..376eb07326 100644 --- a/test/components/__snapshots__/Input.spec.ts.snap +++ b/test/components/__snapshots__/Input.spec.ts.snap @@ -1,15 +1,15 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Input > renders with avatar and leadingIcon correctly 1`] = ` -"
+"
" `; -exports[`Input > renders with avatar and trailingIcon correctly 1`] = `"
"`; +exports[`Input > renders with avatar and trailingIcon correctly 1`] = `"
"`; exports[`Input > renders with avatar correctly 1`] = ` -"
+"
" `; @@ -36,14 +36,14 @@ exports[`Input > renders with disabled correctly 1`] = ` `; exports[`Input > renders with file type correctly 1`] = ` -"
+"
" `; exports[`Input > renders with icon correctly 1`] = ` -"
+"
" `; @@ -56,45 +56,45 @@ exports[`Input > renders with id correctly 1`] = ` `; exports[`Input > renders with leading and icon correctly 1`] = ` -"
+"
" `; exports[`Input > renders with leading slot correctly 1`] = ` -"
Leading slot +"
Leading slot
" `; exports[`Input > renders with leadingIcon correctly 1`] = ` -"
+"
" `; exports[`Input > renders with loading and avatar correctly 1`] = ` -"
+"
" `; exports[`Input > renders with loading correctly 1`] = ` -"
+"
" `; -exports[`Input > renders with loading trailing and avatar correctly 1`] = `"
"`; +exports[`Input > renders with loading trailing and avatar correctly 1`] = `"
"`; exports[`Input > renders with loading trailing correctly 1`] = ` -"
- +"
+
" `; exports[`Input > renders with loadingIcon correctly 1`] = ` -"
+"
" `; @@ -226,20 +226,20 @@ exports[`Input > renders with size xs correctly 1`] = ` `; exports[`Input > renders with trailing and icon correctly 1`] = ` -"
- +"
+
" `; exports[`Input > renders with trailing slot correctly 1`] = ` -"
- Trailing slot +"
+ Trailing slot
" `; exports[`Input > renders with trailingIcon correctly 1`] = ` -"
- +"
+
" `; diff --git a/test/components/__snapshots__/InputMenu.spec.ts.snap b/test/components/__snapshots__/InputMenu.spec.ts.snap index 976b460bcf..d1e011dd57 100644 --- a/test/components/__snapshots__/InputMenu.spec.ts.snap +++ b/test/components/__snapshots__/InputMenu.spec.ts.snap @@ -1,8 +1,8 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`InputMenu > renders with arrow correctly 1`] = ` -"
- +"
+
@@ -36,8 +36,8 @@ exports[`InputMenu > renders with arrow correctly 1`] = ` `; exports[`InputMenu > renders with as correctly 1`] = ` -"
- +"
+
@@ -71,7 +71,7 @@ exports[`InputMenu > renders with as correctly 1`] = ` `; exports[`InputMenu > renders with avatar and leadingIcon correctly 1`] = ` -"
+"
@@ -79,7 +79,7 @@ exports[`InputMenu > renders with avatar and leadingIcon correctly 1`] = ` `; exports[`InputMenu > renders with avatar and trailingIcon correctly 1`] = ` -"
+"
@@ -87,7 +87,7 @@ exports[`InputMenu > renders with avatar and trailingIcon correctly 1`] = ` `; exports[`InputMenu > renders with avatar correctly 1`] = ` -"
+"
@@ -95,8 +95,8 @@ exports[`InputMenu > renders with avatar correctly 1`] = ` `; exports[`InputMenu > renders with class correctly 1`] = ` -"
- +"
+
@@ -130,8 +130,8 @@ exports[`InputMenu > renders with class correctly 1`] = ` `; exports[`InputMenu > renders with default slot correctly 1`] = ` -"
- +"
+ @@ -139,8 +139,8 @@ exports[`InputMenu > renders with default slot correctly 1`] = ` `; exports[`InputMenu > renders with defaultValue correctly 1`] = ` -"
- +"
+
@@ -174,8 +174,8 @@ exports[`InputMenu > renders with defaultValue correctly 1`] = ` `; exports[`InputMenu > renders with disabled correctly 1`] = ` -"
- +"
+
@@ -209,7 +209,7 @@ exports[`InputMenu > renders with disabled correctly 1`] = ` `; exports[`InputMenu > renders with icon correctly 1`] = ` -"
+"
@@ -217,8 +217,8 @@ exports[`InputMenu > renders with icon correctly 1`] = ` `; exports[`InputMenu > renders with id correctly 1`] = ` -"
- +"
+
@@ -252,8 +252,8 @@ exports[`InputMenu > renders with id correctly 1`] = ` `; exports[`InputMenu > renders with item slot correctly 1`] = ` -"
- +"
+
@@ -287,8 +287,8 @@ exports[`InputMenu > renders with item slot correctly 1`] = ` `; exports[`InputMenu > renders with item-label slot correctly 1`] = ` -"
- +"
+
@@ -322,8 +322,8 @@ exports[`InputMenu > renders with item-label slot correctly 1`] = ` `; exports[`InputMenu > renders with item-leading slot correctly 1`] = ` -"
- +"
+
@@ -357,8 +357,8 @@ exports[`InputMenu > renders with item-leading slot correctly 1`] = ` `; exports[`InputMenu > renders with item-trailing slot correctly 1`] = ` -"
- +"
+
@@ -392,8 +392,8 @@ exports[`InputMenu > renders with item-trailing slot correctly 1`] = ` `; exports[`InputMenu > renders with items correctly 1`] = ` -"
- +"
+
@@ -427,8 +427,8 @@ exports[`InputMenu > renders with items correctly 1`] = ` `; exports[`InputMenu > renders with labelKey correctly 1`] = ` -"
- +"
+
@@ -462,7 +462,7 @@ exports[`InputMenu > renders with labelKey correctly 1`] = ` `; exports[`InputMenu > renders with leading and icon correctly 1`] = ` -"
+"
@@ -470,7 +470,7 @@ exports[`InputMenu > renders with leading and icon correctly 1`] = ` `; exports[`InputMenu > renders with leading slot correctly 1`] = ` -"
Leading slot +"
Leading slot @@ -478,7 +478,7 @@ exports[`InputMenu > renders with leading slot correctly 1`] = ` `; exports[`InputMenu > renders with leadingIcon correctly 1`] = ` -"
+"
@@ -486,7 +486,7 @@ exports[`InputMenu > renders with leadingIcon correctly 1`] = ` `; exports[`InputMenu > renders with loading and avatar correctly 1`] = ` -"
+"
@@ -494,7 +494,7 @@ exports[`InputMenu > renders with loading and avatar correctly 1`] = ` `; exports[`InputMenu > renders with loading correctly 1`] = ` -"
+"
@@ -502,7 +502,7 @@ exports[`InputMenu > renders with loading correctly 1`] = ` `; exports[`InputMenu > renders with loading trailing and avatar correctly 1`] = ` -"
+"
@@ -510,8 +510,8 @@ exports[`InputMenu > renders with loading trailing and avatar correctly 1`] = ` `; exports[`InputMenu > renders with loading trailing correctly 1`] = ` -"
- +"
+ @@ -519,7 +519,7 @@ exports[`InputMenu > renders with loading trailing correctly 1`] = ` `; exports[`InputMenu > renders with loadingIcon correctly 1`] = ` -"
+"
@@ -527,8 +527,8 @@ exports[`InputMenu > renders with loadingIcon correctly 1`] = ` `; exports[`InputMenu > renders with modelValue correctly 1`] = ` -"
- +"
+
@@ -562,8 +562,8 @@ exports[`InputMenu > renders with modelValue correctly 1`] = ` `; exports[`InputMenu > renders with name correctly 1`] = ` -"
- +"
+
@@ -597,8 +597,8 @@ exports[`InputMenu > renders with name correctly 1`] = ` `; exports[`InputMenu > renders with neutral variant ghost correctly 1`] = ` -"
- +"
+
@@ -632,8 +632,8 @@ exports[`InputMenu > renders with neutral variant ghost correctly 1`] = ` `; exports[`InputMenu > renders with neutral variant none correctly 1`] = ` -"
- +"
+
@@ -667,8 +667,8 @@ exports[`InputMenu > renders with neutral variant none correctly 1`] = ` `; exports[`InputMenu > renders with neutral variant outline correctly 1`] = ` -"
- +"
+
@@ -702,8 +702,8 @@ exports[`InputMenu > renders with neutral variant outline correctly 1`] = ` `; exports[`InputMenu > renders with neutral variant soft correctly 1`] = ` -"
- +"
+
@@ -737,8 +737,8 @@ exports[`InputMenu > renders with neutral variant soft correctly 1`] = ` `; exports[`InputMenu > renders with neutral variant subtle correctly 1`] = ` -"
- +"
+
@@ -772,8 +772,8 @@ exports[`InputMenu > renders with neutral variant subtle correctly 1`] = ` `; exports[`InputMenu > renders with placeholder correctly 1`] = ` -"
- +"
+
@@ -807,8 +807,8 @@ exports[`InputMenu > renders with placeholder correctly 1`] = ` `; exports[`InputMenu > renders with primary variant ghost correctly 1`] = ` -"
- +"
+
@@ -842,8 +842,8 @@ exports[`InputMenu > renders with primary variant ghost correctly 1`] = ` `; exports[`InputMenu > renders with primary variant none correctly 1`] = ` -"
- +"
+
@@ -877,8 +877,8 @@ exports[`InputMenu > renders with primary variant none correctly 1`] = ` `; exports[`InputMenu > renders with primary variant outline correctly 1`] = ` -"
- +"
+
@@ -912,8 +912,8 @@ exports[`InputMenu > renders with primary variant outline correctly 1`] = ` `; exports[`InputMenu > renders with primary variant soft correctly 1`] = ` -"
- +"
+
@@ -947,8 +947,8 @@ exports[`InputMenu > renders with primary variant soft correctly 1`] = ` `; exports[`InputMenu > renders with primary variant subtle correctly 1`] = ` -"
- +"
+
@@ -982,8 +982,8 @@ exports[`InputMenu > renders with primary variant subtle correctly 1`] = ` `; exports[`InputMenu > renders with required correctly 1`] = ` -"
- +"
+
@@ -1017,8 +1017,8 @@ exports[`InputMenu > renders with required correctly 1`] = ` `; exports[`InputMenu > renders with selectedIcon correctly 1`] = ` -"
- +"
+
@@ -1052,8 +1052,8 @@ exports[`InputMenu > renders with selectedIcon correctly 1`] = ` `; exports[`InputMenu > renders with size lg correctly 1`] = ` -"
- +"
+
@@ -1087,8 +1087,8 @@ exports[`InputMenu > renders with size lg correctly 1`] = ` `; exports[`InputMenu > renders with size md correctly 1`] = ` -"
- +"
+
@@ -1122,8 +1122,8 @@ exports[`InputMenu > renders with size md correctly 1`] = ` `; exports[`InputMenu > renders with size sm correctly 1`] = ` -"
- +"
+
@@ -1157,8 +1157,8 @@ exports[`InputMenu > renders with size sm correctly 1`] = ` `; exports[`InputMenu > renders with size xl correctly 1`] = ` -"
- +"
+
@@ -1192,8 +1192,8 @@ exports[`InputMenu > renders with size xl correctly 1`] = ` `; exports[`InputMenu > renders with size xs correctly 1`] = ` -"
- +"
+
@@ -1227,8 +1227,8 @@ exports[`InputMenu > renders with size xs correctly 1`] = ` `; exports[`InputMenu > renders with trailing and icon correctly 1`] = ` -"
- +"
+ @@ -1236,8 +1236,8 @@ exports[`InputMenu > renders with trailing and icon correctly 1`] = ` `; exports[`InputMenu > renders with trailing slot correctly 1`] = ` -"
- +"
+ @@ -1245,8 +1245,8 @@ exports[`InputMenu > renders with trailing slot correctly 1`] = ` `; exports[`InputMenu > renders with trailingIcon correctly 1`] = ` -"
- +"
+ @@ -1254,8 +1254,8 @@ exports[`InputMenu > renders with trailingIcon correctly 1`] = ` `; exports[`InputMenu > renders with trailingIcon correctly 2`] = ` -"
- +"
+
@@ -1289,8 +1289,8 @@ exports[`InputMenu > renders with trailingIcon correctly 2`] = ` `; exports[`InputMenu > renders with ui correctly 1`] = ` -"
- +"
+
@@ -1324,8 +1324,8 @@ exports[`InputMenu > renders with ui correctly 1`] = ` `; exports[`InputMenu > renders with valueKey correctly 1`] = ` -"
- +"
+
diff --git a/test/components/__snapshots__/Modal.spec.ts.snap b/test/components/__snapshots__/Modal.spec.ts.snap index 1b02b7116b..db7c49afd2 100644 --- a/test/components/__snapshots__/Modal.spec.ts.snap +++ b/test/components/__snapshots__/Modal.spec.ts.snap @@ -9,7 +9,7 @@ exports[`Modal > renders with body slot correctly 1`] = `