-
+
+
diff --git a/doc/steps/ControlledDoc.vue b/doc/steps/ControlledDoc.vue
new file mode 100644
index 000000000..c5a17d76f
--- /dev/null
+++ b/doc/steps/ControlledDoc.vue
@@ -0,0 +1,108 @@
+
+
+ Steps can be controlled programmatically using activeStep property.
+
+
+
+
+
+
diff --git a/doc/steps/InteractiveDoc.vue b/doc/steps/InteractiveDoc.vue
deleted file mode 100644
index 108c2f46d..000000000
--- a/doc/steps/InteractiveDoc.vue
+++ /dev/null
@@ -1,571 +0,0 @@
-
-
- In order to add interactivity to the component, disable readonly to control the Steps.
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/doc/steps/LinearDoc.vue b/doc/steps/LinearDoc.vue
new file mode 100644
index 000000000..3fda1ca35
--- /dev/null
+++ b/doc/steps/LinearDoc.vue
@@ -0,0 +1,85 @@
+
+
+ Steps is linear by default to enforce completion of a previus step to proceed, set readonly as false for non-linear mode.
+
+
+
+
+
+
+
+
diff --git a/doc/steps/RouterDoc.vue b/doc/steps/RouterDoc.vue
deleted file mode 100644
index bf7d6248e..000000000
--- a/doc/steps/RouterDoc.vue
+++ /dev/null
@@ -1,218 +0,0 @@
-
-
-
- Since v3.33.0 the vue-router dependency of menu components is deprecated and templating should be used to define router links instead. This approach provides flexibility to be able to use any kind of router link component such as
- NuxtLink or router-link . Here is an example with vue-router.
-
-
-
-
-
-
-
diff --git a/doc/steps/TemplateDoc.vue b/doc/steps/TemplateDoc.vue
new file mode 100644
index 000000000..ac104f727
--- /dev/null
+++ b/doc/steps/TemplateDoc.vue
@@ -0,0 +1,118 @@
+
+
+ Steps offers item customization with the item template that receives the item instance from the model as a parameter.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/steps.vue b/pages/steps.vue
deleted file mode 100755
index ceef7382b..000000000
--- a/pages/steps.vue
+++ /dev/null
@@ -1,57 +0,0 @@
-
-
-
-
-
diff --git a/pages/steps/Confirmation.vue b/pages/steps/Confirmation.vue
deleted file mode 100755
index 16bd424f7..000000000
--- a/pages/steps/Confirmation.vue
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
- Confirmation
-
-
- Name
- {{ formData.firstname ? formData.firstname : '-' }} {{ formData.lastname ? formData.lastname : '-' }}
-
-
- Age
- {{ formData.age ? formData.age : '-' }}
-
-
- Seat Class
- {{ formData.class ? formData.class : '-' }}
-
-
- Wagon Number
- {{ formData.vagon ? formData.vagon : '-' }}
-
-
- Seat
- {{ formData.seat ? formData.seat : '-' }}
-
-
- Cardholder Name
- {{ formData.cardholderName ? formData.cardholderName : '-' }}
-
-
- Card Number
- {{ formData.cardholderNumber ? formData.cardholderNumber : '-' }}
-
-
- Date
- {{ formData.date ? formData.date : '-' }}
-
-
- CVV
- {{ formData.cvv && formData.cvv.length === 3 ? '**' + formData.cvv[2] : '-' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/steps/Payment.vue b/pages/steps/Payment.vue
deleted file mode 100755
index 4174abb3a..000000000
--- a/pages/steps/Payment.vue
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-
- Payment Information
- Enter your card details
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/steps/Seat.vue b/pages/steps/Seat.vue
deleted file mode 100755
index b122c968f..000000000
--- a/pages/steps/Seat.vue
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
- Seat Information
- Choose your seat
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/steps/index.vue b/pages/steps/index.vue
old mode 100755
new mode 100644
index bc8d2bdc8..1872f7fb5
--- a/pages/steps/index.vue
+++ b/pages/steps/index.vue
@@ -1,65 +1,63 @@
-
-
- Personal Information
- Enter your personal information
-
-
-
- Firstname
-
- Firstname is required.
-
-
- Lastname
-
- Lastname is required.
-
-
- Age
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/public/themes/lara-dark-blue/theme.css b/public/themes/lara-dark-blue/theme.css
index b4b319380..32ef9b271 100644
--- a/public/themes/lara-dark-blue/theme.css
+++ b/public/themes/lara-dark-blue/theme.css
@@ -5729,4 +5729,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #60a5fa;
+ color: #030712;
+ }
}
diff --git a/public/themes/lara-dark-indigo/theme.css b/public/themes/lara-dark-indigo/theme.css
index a2111e809..2769ef51a 100644
--- a/public/themes/lara-dark-indigo/theme.css
+++ b/public/themes/lara-dark-indigo/theme.css
@@ -5729,4 +5729,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #818cf8;
+ color: #030712;
+ }
}
diff --git a/public/themes/lara-dark-purple/theme.css b/public/themes/lara-dark-purple/theme.css
index 91b83692a..616fee3e4 100644
--- a/public/themes/lara-dark-purple/theme.css
+++ b/public/themes/lara-dark-purple/theme.css
@@ -5729,4 +5729,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #a78bfa;
+ color: #030712;
+ }
}
diff --git a/public/themes/lara-dark-teal/theme.css b/public/themes/lara-dark-teal/theme.css
index 1d313868a..975558e66 100644
--- a/public/themes/lara-dark-teal/theme.css
+++ b/public/themes/lara-dark-teal/theme.css
@@ -5729,4 +5729,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #34d399;
+ color: #030712;
+ }
}
diff --git a/public/themes/lara-light-blue/theme.css b/public/themes/lara-light-blue/theme.css
index 84a63fde0..ddd89ed22 100644
--- a/public/themes/lara-light-blue/theme.css
+++ b/public/themes/lara-light-blue/theme.css
@@ -5721,4 +5721,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #3B82F6;
+ color: #ffffff;
+ }
}
diff --git a/public/themes/lara-light-indigo/theme.css b/public/themes/lara-light-indigo/theme.css
index 27ee281d3..a71c9e702 100644
--- a/public/themes/lara-light-indigo/theme.css
+++ b/public/themes/lara-light-indigo/theme.css
@@ -5721,4 +5721,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #6366F1;
+ color: #ffffff;
+ }
}
diff --git a/public/themes/lara-light-purple/theme.css b/public/themes/lara-light-purple/theme.css
index 176dd41de..8e596ac9a 100644
--- a/public/themes/lara-light-purple/theme.css
+++ b/public/themes/lara-light-purple/theme.css
@@ -5721,4 +5721,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #8B5CF6;
+ color: #ffffff;
+ }
}
diff --git a/public/themes/lara-light-teal/theme.css b/public/themes/lara-light-teal/theme.css
index c258a70ae..695a10e74 100644
--- a/public/themes/lara-light-teal/theme.css
+++ b/public/themes/lara-light-teal/theme.css
@@ -5721,4 +5721,9 @@
.p-orderlist-controls .p-button {
transition: opacity 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
+
+ .p-steps .p-steps-item.p-highlight .p-steps-number {
+ background: #10b981;
+ color: #ffffff;
+ }
}