diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8b47bfa0d..ee0d00b63 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,26 @@
# Changelog
-## [4.0.6](https://github.com/primefaces/primevue/tree/4.0.6) (2024-09-19)
+## [4.0.7](https://github.com/primefaces/primevue/tree/4.0.7) (2024-09-11)
+
+[Full Changelog](https://github.com/primefaces/primevue/compare/4.0.6...4.0.7)
+
+**Fixed bugs:**
+
+- SelectButton pt name correction [\#6382](https://github.com/primefaces/primevue/issues/6382)
+- ToggleButton: aria-label and aria-labelledby not observed [\#6377](https://github.com/primefaces/primevue/issues/6377)
+- FileUpload: Fix type of FileUploadState.messages [\#6370](https://github.com/primefaces/primevue/issues/6370)
+- TreeTable: click and arrow key defect [\#6368](https://github.com/primefaces/primevue/issues/6368)
+- Dialog: no dragstart event to accompany dragend [\#6357](https://github.com/primefaces/primevue/issues/6357)
+- Dialog: dragging state is not reset when closed while dragging [\#6356](https://github.com/primefaces/primevue/issues/6356)
+- InputOtp: IntegerOnly mode accepts "space" [\#6353](https://github.com/primefaces/primevue/issues/6353)
+- InputOtp: Pasting adds an extra character [\#6351](https://github.com/primefaces/primevue/issues/6351)
+- DatePicker: Pick month does not work [\#6342](https://github.com/primefaces/primevue/issues/6342)
+- DataTable: Cannot set properties of null (setting 'tabIndex') [\#6323](https://github.com/primefaces/primevue/issues/6323)
+- DatePicker showOtherMonths wrong behaviour [\#6307](https://github.com/primefaces/primevue/issues/6307)
+- Click outside only when not modal [\#6284](https://github.com/primefaces/primevue/pull/6284)
+- Select: Chinese IME input will be stopped in filter input element [\#6279](https://github.com/primefaces/primevue/issues/6279)
+
+## [4.0.6](https://github.com/primefaces/primevue/tree/4.0.6) (2024-09-10)
[Full Changelog](https://github.com/primefaces/primevue/compare/4.0.5...4.0.6)
diff --git a/apps/showcase/assets/data/news.json b/apps/showcase/assets/data/news.json
index 3a861c750..a96d79d08 100644
--- a/apps/showcase/assets/data/news.json
+++ b/apps/showcase/assets/data/news.json
@@ -1,6 +1,6 @@
{
- "id": 65,
- "content": "Summer Sale: Up to 50% Off 🛍️",
- "linkText": "Visit Store",
- "linkHref": "https://primefaces.org/store"
+ "id": 67,
+ "content": "480 Vue Components with Tailwind 🚀",
+ "linkText": "Visit PrimeBlocks",
+ "linkHref": "https://primeblocks.org"
}
diff --git a/apps/showcase/assets/menu/menu.json b/apps/showcase/assets/menu/menu.json
index 247a22588..bdc8a016b 100644
--- a/apps/showcase/assets/menu/menu.json
+++ b/apps/showcase/assets/menu/menu.json
@@ -433,14 +433,14 @@
"name": "FocusTrap",
"to": "/focustrap"
},
- {
- "name": "Inplace",
- "to": "/inplace"
- },
{
"name": "Fluid",
"to": "/fluid"
},
+ {
+ "name": "Inplace",
+ "to": "/inplace"
+ },
{
"name": "MeterGroup",
"to": "/metergroup"
@@ -527,7 +527,8 @@
{
"name": "PrimeBlocks",
"icon": "pi pi-server",
- "href": "https://blocks.primevue.org"
+ "href": "https://primeblocks.org",
+ "badge": "NEW"
},
{
"name": "Guides",
@@ -572,8 +573,7 @@
{
"name": "Contribution",
"to": "/contribution",
- "icon": "pi pi-users",
- "badge": "NEW"
+ "icon": "pi pi-users"
},
{
"name": "Discover",
diff --git a/apps/showcase/assets/styles/layout/_doc.scss b/apps/showcase/assets/styles/layout/_doc.scss
index bdd532c67..55dea0f82 100644
--- a/apps/showcase/assets/styles/layout/_doc.scss
+++ b/apps/showcase/assets/styles/layout/_doc.scss
@@ -432,3 +432,46 @@
}
}
}
+
+.doc-ptviewerwrapper {
+ display: flex;
+ flex-direction: row;
+ padding: 0 !important;
+
+ .doc-ptviewer {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ border-color: var(--p-content-border-color);
+ border-width: 0 1px 0 0;
+ padding: 1rem;
+ width: 75%;
+ }
+
+ .doc-ptoptions {
+ display: flex;
+ flex-direction: column;
+ gap: .5rem;
+ padding: .5rem;
+ width: 25%;
+ max-height: 720px;
+ overflow-y: auto;
+
+ .doc-ptoption {
+ display: flex;
+ flex-direction: column;
+ padding: .5rem;
+ cursor: pointer;
+
+ &:hover {
+ background-color: var(--p-content-hover-background);
+ }
+
+ .doc-ptoption-text {
+ color: var(--p-text-muted-color);
+ font-size: 0.875rem;
+ line-height: 1.25rem;
+ }
+ }
+ }
+}
diff --git a/apps/showcase/assets/styles/layout/_responsive.scss b/apps/showcase/assets/styles/layout/_responsive.scss
index c63712e8f..6f34ce658 100644
--- a/apps/showcase/assets/styles/layout/_responsive.scss
+++ b/apps/showcase/assets/styles/layout/_responsive.scss
@@ -13,7 +13,7 @@
}
@media screen and (max-width: 1199px) {
- .layout-topbar-inner {
+ .layout-topbar-inner {
padding-left: 2rem;
padding-right: 2rem;
@@ -128,6 +128,20 @@
.DocSearch-Container {
position: fixed !important;
}
+
+ .doc-ptviewerwrapper {
+ flex-direction: column;
+
+ .doc-ptviewer {
+ width: 100%;
+ border-width: 0 0 1px 0;
+ }
+
+ .doc-ptoptions {
+ width: 100%;
+ padding: 1rem;
+ }
+ }
}
@media screen and (max-width: 575px) {
@@ -174,4 +188,4 @@
display: none;
}
}
-}
\ No newline at end of file
+}
diff --git a/apps/showcase/components/doc/DocPTViewer.vue b/apps/showcase/components/doc/DocPTViewer.vue
new file mode 100644
index 000000000..1152f45f0
--- /dev/null
+++ b/apps/showcase/components/doc/DocPTViewer.vue
@@ -0,0 +1,60 @@
+
+
400+ ready to copy-paste UI blocks to build spectacular applications in no time.
{{ $attrs.description }}
-+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo + consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. +
++ Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim + ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Consectetur, adipisci velit, sed quia non numquam eius modi. +
++ At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa + qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus. +
+{{ $attrs.description }}
-