diff --git a/src/theme/stepper.ts b/src/theme/stepper.ts index b503893588..aebcc6f804 100644 --- a/src/theme/stepper.ts +++ b/src/theme/stepper.ts @@ -26,8 +26,8 @@ export default (options: Required) => ({ }, vertical: { header: 'flex-col gap-4', - item: 'flex text-left', - separator: 'left-[calc(50%-1px)] -bottom-[10px] w-0.5' + item: 'flex text-start', + separator: 'start-[calc(50%-1px)] -bottom-[10px] w-0.5' } }, @@ -84,23 +84,23 @@ export default (options: Required) => ({ compoundVariants: [{ orientation: 'horizontal', size: 'xs', - class: { separator: 'left-[calc(50%+16px)] right-[calc(-50%+16px)]' } + class: { separator: 'start-[calc(50%+16px)] end-[calc(-50%+16px)]' } }, { orientation: 'horizontal', size: 'sm', - class: { separator: 'left-[calc(50%+20px)] right-[calc(-50%+20px)]' } + class: { separator: 'start-[calc(50%+20px)] end-[calc(-50%+20px)]' } }, { orientation: 'horizontal', size: 'md', - class: { separator: 'left-[calc(50%+28px)] right-[calc(-50%+28px)]' } + class: { separator: 'start-[calc(50%+28px)] end-[calc(-50%+28px)]' } }, { orientation: 'horizontal', size: 'lg', - class: { separator: 'left-[calc(50%+32px)] right-[calc(-50%+32px)]' } + class: { separator: 'start-[calc(50%+32px)] end-[calc(-50%+32px)]' } }, { orientation: 'horizontal', size: 'xl', - class: { separator: 'left-[calc(50%+36px)] right-[calc(-50%+36px)]' } + class: { separator: 'start-[calc(50%+36px)] end-[calc(-50%+36px)]' } }, { orientation: 'vertical', size: 'xs', diff --git a/test/components/__snapshots__/Stepper-vue.spec.ts.snap b/test/components/__snapshots__/Stepper-vue.spec.ts.snap index 2cbe2a65b3..2921f99b61 100644 --- a/test/components/__snapshots__/Stepper-vue.spec.ts.snap +++ b/test/components/__snapshots__/Stepper-vue.spec.ts.snap @@ -7,7 +7,7 @@ exports[`Stepper > renders with as correctly 1`] = `
-
+

Address

@@ -18,7 +18,7 @@ exports[`Stepper > renders with as correctly 1`] = `
-
+

Shipping

@@ -49,7 +49,7 @@ exports[`Stepper > renders with class correctly 1`] = `
-
+

Address

@@ -60,7 +60,7 @@ exports[`Stepper > renders with class correctly 1`] = `
-
+

Shipping

@@ -91,7 +91,7 @@ exports[`Stepper > renders with content slot correctly 1`] = `
-
+

Address

@@ -102,7 +102,7 @@ exports[`Stepper > renders with content slot correctly 1`] = `
-
+

Shipping

@@ -133,7 +133,7 @@ exports[`Stepper > renders with custom slot correctly 1`] = `
-
+

Address

@@ -144,7 +144,7 @@ exports[`Stepper > renders with custom slot correctly 1`] = `
-
+

Shipping

@@ -175,7 +175,7 @@ exports[`Stepper > renders with default slot correctly 1`] = `
-
+

Address

@@ -186,7 +186,7 @@ exports[`Stepper > renders with default slot correctly 1`] = `
-
+

Shipping

@@ -217,7 +217,7 @@ exports[`Stepper > renders with defaultValue correctly 1`] = `
-
+

Address

@@ -228,7 +228,7 @@ exports[`Stepper > renders with defaultValue correctly 1`] = `
-
+

Shipping

@@ -259,7 +259,7 @@ exports[`Stepper > renders with description slot correctly 1`] = `
-
+

Address

@@ -270,7 +270,7 @@ exports[`Stepper > renders with description slot correctly 1`] = `
-
+

Shipping

@@ -301,7 +301,7 @@ exports[`Stepper > renders with indicator slot correctly 1`] = `
-
+

Address

@@ -312,7 +312,7 @@ exports[`Stepper > renders with indicator slot correctly 1`] = `
-
+

Shipping

@@ -343,7 +343,7 @@ exports[`Stepper > renders with items correctly 1`] = `
-
+

Address

@@ -354,7 +354,7 @@ exports[`Stepper > renders with items correctly 1`] = `
-
+

Shipping

@@ -385,7 +385,7 @@ exports[`Stepper > renders with modelValue correctly 1`] = `
-
+

Address

@@ -396,7 +396,7 @@ exports[`Stepper > renders with modelValue correctly 1`] = `
-
+

Shipping

@@ -427,7 +427,7 @@ exports[`Stepper > renders with neutral color correctly 1`] = `
-
+

Address

@@ -438,7 +438,7 @@ exports[`Stepper > renders with neutral color correctly 1`] = `
-
+

Shipping

@@ -469,7 +469,7 @@ exports[`Stepper > renders with size lg horizontal correctly 1`] = `
-
+

Address

@@ -480,7 +480,7 @@ exports[`Stepper > renders with size lg horizontal correctly 1`] = `
-
+

Shipping

@@ -507,29 +507,29 @@ exports[`Stepper > renders with size lg horizontal correctly 1`] = ` exports[`Stepper > renders with size lg vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -553,7 +553,7 @@ exports[`Stepper > renders with size md horizontal correctly 1`] = `
-
+

Address

@@ -564,7 +564,7 @@ exports[`Stepper > renders with size md horizontal correctly 1`] = `
-
+

Shipping

@@ -591,29 +591,29 @@ exports[`Stepper > renders with size md horizontal correctly 1`] = ` exports[`Stepper > renders with size md vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -637,7 +637,7 @@ exports[`Stepper > renders with size sm horizontal correctly 1`] = `
-
+

Address

@@ -648,7 +648,7 @@ exports[`Stepper > renders with size sm horizontal correctly 1`] = `
-
+

Shipping

@@ -675,29 +675,29 @@ exports[`Stepper > renders with size sm horizontal correctly 1`] = ` exports[`Stepper > renders with size sm vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -721,7 +721,7 @@ exports[`Stepper > renders with size xl horizontal correctly 1`] = `
-
+

Address

@@ -732,7 +732,7 @@ exports[`Stepper > renders with size xl horizontal correctly 1`] = `
-
+

Shipping

@@ -759,29 +759,29 @@ exports[`Stepper > renders with size xl horizontal correctly 1`] = ` exports[`Stepper > renders with size xl vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -805,7 +805,7 @@ exports[`Stepper > renders with size xs horizontal correctly 1`] = `
-
+

Address

@@ -816,7 +816,7 @@ exports[`Stepper > renders with size xs horizontal correctly 1`] = `
-
+

Shipping

@@ -843,29 +843,29 @@ exports[`Stepper > renders with size xs horizontal correctly 1`] = ` exports[`Stepper > renders with size xs vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -889,7 +889,7 @@ exports[`Stepper > renders with title slot correctly 1`] = `
-
+

Title slot

@@ -900,7 +900,7 @@ exports[`Stepper > renders with title slot correctly 1`] = `
-
+

Title slot

@@ -931,7 +931,7 @@ exports[`Stepper > renders with ui correctly 1`] = `
-
+

Address

@@ -942,7 +942,7 @@ exports[`Stepper > renders with ui correctly 1`] = `
-
+

Shipping

@@ -973,7 +973,7 @@ exports[`Stepper > renders without linear correctly 1`] = `
-
+

Address

@@ -984,7 +984,7 @@ exports[`Stepper > renders without linear correctly 1`] = `
-
+

Shipping

diff --git a/test/components/__snapshots__/Stepper.spec.ts.snap b/test/components/__snapshots__/Stepper.spec.ts.snap index a1ef1d490d..3472863b12 100644 --- a/test/components/__snapshots__/Stepper.spec.ts.snap +++ b/test/components/__snapshots__/Stepper.spec.ts.snap @@ -7,7 +7,7 @@ exports[`Stepper > renders with as correctly 1`] = `
-
+

Address

@@ -18,7 +18,7 @@ exports[`Stepper > renders with as correctly 1`] = `
-
+

Shipping

@@ -49,7 +49,7 @@ exports[`Stepper > renders with class correctly 1`] = `
-
+

Address

@@ -60,7 +60,7 @@ exports[`Stepper > renders with class correctly 1`] = `
-
+

Shipping

@@ -91,7 +91,7 @@ exports[`Stepper > renders with content slot correctly 1`] = `
-
+

Address

@@ -102,7 +102,7 @@ exports[`Stepper > renders with content slot correctly 1`] = `
-
+

Shipping

@@ -133,7 +133,7 @@ exports[`Stepper > renders with custom slot correctly 1`] = `
-
+

Address

@@ -144,7 +144,7 @@ exports[`Stepper > renders with custom slot correctly 1`] = `
-
+

Shipping

@@ -175,7 +175,7 @@ exports[`Stepper > renders with default slot correctly 1`] = `
-
+

Address

@@ -186,7 +186,7 @@ exports[`Stepper > renders with default slot correctly 1`] = `
-
+

Shipping

@@ -217,7 +217,7 @@ exports[`Stepper > renders with defaultValue correctly 1`] = `
-
+

Address

@@ -228,7 +228,7 @@ exports[`Stepper > renders with defaultValue correctly 1`] = `
-
+

Shipping

@@ -259,7 +259,7 @@ exports[`Stepper > renders with description slot correctly 1`] = `
-
+

Address

@@ -270,7 +270,7 @@ exports[`Stepper > renders with description slot correctly 1`] = `
-
+

Shipping

@@ -301,7 +301,7 @@ exports[`Stepper > renders with indicator slot correctly 1`] = `
-
+

Address

@@ -312,7 +312,7 @@ exports[`Stepper > renders with indicator slot correctly 1`] = `
-
+

Shipping

@@ -343,7 +343,7 @@ exports[`Stepper > renders with items correctly 1`] = `
-
+

Address

@@ -354,7 +354,7 @@ exports[`Stepper > renders with items correctly 1`] = `
-
+

Shipping

@@ -385,7 +385,7 @@ exports[`Stepper > renders with modelValue correctly 1`] = `
-
+

Address

@@ -396,7 +396,7 @@ exports[`Stepper > renders with modelValue correctly 1`] = `
-
+

Shipping

@@ -427,7 +427,7 @@ exports[`Stepper > renders with neutral color correctly 1`] = `
-
+

Address

@@ -438,7 +438,7 @@ exports[`Stepper > renders with neutral color correctly 1`] = `
-
+

Shipping

@@ -469,7 +469,7 @@ exports[`Stepper > renders with size lg horizontal correctly 1`] = `
-
+

Address

@@ -480,7 +480,7 @@ exports[`Stepper > renders with size lg horizontal correctly 1`] = `
-
+

Shipping

@@ -507,29 +507,29 @@ exports[`Stepper > renders with size lg horizontal correctly 1`] = ` exports[`Stepper > renders with size lg vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -553,7 +553,7 @@ exports[`Stepper > renders with size md horizontal correctly 1`] = `
-
+

Address

@@ -564,7 +564,7 @@ exports[`Stepper > renders with size md horizontal correctly 1`] = `
-
+

Shipping

@@ -591,29 +591,29 @@ exports[`Stepper > renders with size md horizontal correctly 1`] = ` exports[`Stepper > renders with size md vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -637,7 +637,7 @@ exports[`Stepper > renders with size sm horizontal correctly 1`] = `
-
+

Address

@@ -648,7 +648,7 @@ exports[`Stepper > renders with size sm horizontal correctly 1`] = `
-
+

Shipping

@@ -675,29 +675,29 @@ exports[`Stepper > renders with size sm horizontal correctly 1`] = ` exports[`Stepper > renders with size sm vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -721,7 +721,7 @@ exports[`Stepper > renders with size xl horizontal correctly 1`] = `
-
+

Address

@@ -732,7 +732,7 @@ exports[`Stepper > renders with size xl horizontal correctly 1`] = `
-
+

Shipping

@@ -759,29 +759,29 @@ exports[`Stepper > renders with size xl horizontal correctly 1`] = ` exports[`Stepper > renders with size xl vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -805,7 +805,7 @@ exports[`Stepper > renders with size xs horizontal correctly 1`] = `
-
+

Address

@@ -816,7 +816,7 @@ exports[`Stepper > renders with size xs horizontal correctly 1`] = `
-
+

Shipping

@@ -843,29 +843,29 @@ exports[`Stepper > renders with size xs horizontal correctly 1`] = ` exports[`Stepper > renders with size xs vertical correctly 1`] = ` "
-
+
-
+

Address

Add your address here

-
+
-
+

Shipping

Set your preferred shipping method

-
+
@@ -889,7 +889,7 @@ exports[`Stepper > renders with title slot correctly 1`] = `
-
+

Title slot

@@ -900,7 +900,7 @@ exports[`Stepper > renders with title slot correctly 1`] = `
-
+

Title slot

@@ -931,7 +931,7 @@ exports[`Stepper > renders with ui correctly 1`] = `
-
+

Address

@@ -942,7 +942,7 @@ exports[`Stepper > renders with ui correctly 1`] = `
-
+

Shipping

@@ -973,7 +973,7 @@ exports[`Stepper > renders without linear correctly 1`] = `
-
+

Address

@@ -984,7 +984,7 @@ exports[`Stepper > renders without linear correctly 1`] = `
-
+

Shipping