diff --git a/apps/showcase/assets/images/island1.jpg b/apps/showcase/assets/images/island1.jpg new file mode 100644 index 000000000..14fc6218b Binary files /dev/null and b/apps/showcase/assets/images/island1.jpg differ diff --git a/apps/showcase/assets/images/island2.jpg b/apps/showcase/assets/images/island2.jpg new file mode 100644 index 000000000..dad67080c Binary files /dev/null and b/apps/showcase/assets/images/island2.jpg differ diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json index 781612878..e0f4040ee 100644 --- a/apps/showcase/assets/menu/menu.json +++ b/apps/showcase/assets/menu/menu.json @@ -416,8 +416,8 @@ "to": "/image" }, { - "name": "ImageDiff", - "to": "/imagediff", + "name": "ImageCompare", + "to": "/imagecompare", "badge": "NEW" } ] diff --git a/apps/showcase/doc/imagediff/AccessibilityDoc.vue b/apps/showcase/doc/imagecompare/AccessibilityDoc.vue similarity index 100% rename from apps/showcase/doc/imagediff/AccessibilityDoc.vue rename to apps/showcase/doc/imagecompare/AccessibilityDoc.vue diff --git a/apps/showcase/doc/imagecompare/BasicDoc.vue b/apps/showcase/doc/imagecompare/BasicDoc.vue new file mode 100644 index 000000000..5057fadc2 --- /dev/null +++ b/apps/showcase/doc/imagecompare/BasicDoc.vue @@ -0,0 +1,65 @@ + + + diff --git a/apps/showcase/doc/imagediff/ImportDoc.vue b/apps/showcase/doc/imagecompare/ImportDoc.vue similarity index 85% rename from apps/showcase/doc/imagediff/ImportDoc.vue rename to apps/showcase/doc/imagecompare/ImportDoc.vue index 6d1c0e4de..571ddb772 100644 --- a/apps/showcase/doc/imagediff/ImportDoc.vue +++ b/apps/showcase/doc/imagecompare/ImportDoc.vue @@ -9,7 +9,7 @@ export default { return { code: { basic: ` -import ImageDiff from 'primevue/imagediff'; +import ImageCompare from 'primevue/imagecompare'; ` } }; diff --git a/apps/showcase/doc/imagecompare/ResponsiveDoc.vue b/apps/showcase/doc/imagecompare/ResponsiveDoc.vue new file mode 100644 index 000000000..4ad16941c --- /dev/null +++ b/apps/showcase/doc/imagecompare/ResponsiveDoc.vue @@ -0,0 +1,65 @@ + + + diff --git a/apps/showcase/doc/imagecompare/pt/PTViewer.vue b/apps/showcase/doc/imagecompare/pt/PTViewer.vue new file mode 100644 index 000000000..f4f60a89c --- /dev/null +++ b/apps/showcase/doc/imagecompare/pt/PTViewer.vue @@ -0,0 +1,29 @@ + + + diff --git a/apps/showcase/doc/imagediff/pt/index.vue b/apps/showcase/doc/imagecompare/pt/index.vue similarity index 77% rename from apps/showcase/doc/imagediff/pt/index.vue rename to apps/showcase/doc/imagecompare/pt/index.vue index 605d9671f..16b711368 100644 --- a/apps/showcase/doc/imagediff/pt/index.vue +++ b/apps/showcase/doc/imagecompare/pt/index.vue @@ -1,7 +1,7 @@