|
1 | 1 |
|
2 | | -<div data-stepper-container data-initial-step="1" class="w-full"> |
| 2 | +<div data-dui-stepper-container data-dui-initial-step="1" class="w-full"> |
3 | 3 | <div class="flex w-full items-center justify-between"> |
4 | | - <div aria-disabled="false" data-step class="group w-full flex items-center"> |
| 4 | + <div aria-disabled="false" data-dui-step class="group w-full flex items-center"> |
5 | 5 | <div class="relative"> |
6 | 6 | <span class="relative grid h-10 w-10 place-items-center rounded-full bg-stone-200 group-data-[active=true]:bg-stone-800 group-data-[active=true]:text-white group-data-[completed=true]:bg-stone-800 group-data-[completed=true]:text-white"> |
7 | 7 | <svg width="1.5em" height="1.5em" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="h-6 w-6"> |
|
13 | 13 | </div> |
14 | 14 | <div class="flex-1 h-1 bg-stone-200 group-data-[completed=true]:bg-stone-800"></div> |
15 | 15 | </div> |
16 | | - <div aria-disabled="true" data-step class="group w-full flex items-center"> |
| 16 | + <div aria-disabled="true" data-dui-step class="group w-full flex items-center"> |
17 | 17 | <div class="relative"> |
18 | 18 | <span class="relative grid h-10 w-10 place-items-center rounded-full bg-stone-200 group-data-[active=true]:bg-stone-800 group-data-[active=true]:text-white group-data-[completed=true]:bg-stone-800 group-data-[completed=true]:text-white"> |
19 | 19 | <svg width="1.5em" height="1.5em" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="h-6 w-6"> |
|
26 | 26 | </div> |
27 | 27 | <div class="flex-1 h-1 bg-stone-200 group-data-[completed=true]:bg-stone-800"></div> |
28 | 28 | </div> |
29 | | - <div aria-disabled="true" data-step class="group flex items-center"> |
| 29 | + <div aria-disabled="true" data-dui-step class="group flex items-center"> |
30 | 30 | <div class="relative"> |
31 | 31 | <span class="relative grid h-10 w-10 place-items-center rounded-full bg-stone-200 group-data-[active=true]:bg-stone-800 group-data-[active=true]:text-white group-data-[completed=true]:bg-stone-800 group-data-[completed=true]:text-white"> |
32 | 32 | <svg width="1.5em" height="1.5em" stroke-width="1.5" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" color="currentColor" class="h-6 w-6"> |
|
40 | 40 | </div> |
41 | 41 |
|
42 | 42 | <div class="mt-12"> |
43 | | - <div data-step-content="1" class="step-content hidden"> |
| 43 | + <div data-dui-step-content="1" class="step-content hidden"> |
44 | 44 | <p class="text-stone-500">This is the content for step 1. Add whatever content you need here.</p> |
45 | 45 | </div> |
46 | | - <div data-step-content="2" class="step-content"> |
| 46 | + <div data-dui-step-content="2" class="step-content"> |
47 | 47 | <p class="text-stone-500">This is the content for step 2. Add whatever content you need here.</p> |
48 | 48 | </div> |
49 | | - <div data-step-content="3" class="step-content hidden"> |
| 49 | + <div data-dui-step-content="3" class="step-content hidden"> |
50 | 50 | <p class="text-stone-500">This is the content for step 3. Add whatever content you need here.</p> |
51 | 51 | </div> |
52 | 52 | </div> |
53 | 53 |
|
54 | 54 | <div class="mt-6 flex w-full justify-between gap-4"> |
55 | 55 | <button |
56 | | - data-stepper-prev |
| 56 | + data-dui-stepper-prev |
57 | 57 | class="inline-flex items-center justify-center border align-middle select-none font-sans font-medium text-center duration-300 ease-in disabled:opacity-50 disabled:shadow-none disabled:cursor-not-allowed focus:shadow-none text-sm py-2 px-4 shadow-sm hover:shadow-md bg-stone-800 hover:bg-stone-700 relative bg-gradient-to-b from-stone-700 to-stone-800 border-stone-900 text-stone-50 rounded-lg hover:bg-gradient-to-b hover:from-stone-800 hover:to-stone-800 hover:border-stone-900 after:absolute after:inset-0 after:rounded-[inherit] after:box-shadow after:shadow-[inset_0_1px_0px_rgba(255,255,255,0.25),inset_0_-2px_0px_rgba(0,0,0,0.35)] after:pointer-events-none transition antialiased"> |
58 | 58 | Previous |
59 | 59 | </button> |
60 | 60 | <button |
61 | | - data-stepper-next |
| 61 | + data-dui-stepper-next |
62 | 62 | class="inline-flex items-center justify-center border align-middle select-none font-sans font-medium text-center duration-300 ease-in disabled:opacity-50 disabled:shadow-none disabled:cursor-not-allowed focus:shadow-none text-sm py-2 px-4 shadow-sm hover:shadow-md bg-stone-800 hover:bg-stone-700 relative bg-gradient-to-b from-stone-700 to-stone-800 border-stone-900 text-stone-50 rounded-lg hover:bg-gradient-to-b hover:from-stone-800 hover:to-stone-800 hover:border-stone-900 after:absolute after:inset-0 after:rounded-[inherit] after:box-shadow after:shadow-[inset_0_1px_0px_rgba(255,255,255,0.25),inset_0_-2px_0px_rgba(0,0,0,0.35)] after:pointer-events-none transition antialiased"> |
63 | 63 | Next |
64 | 64 | </button> |
|
0 commit comments