diff --git a/docs/docs/pages/plugins/_meta.json b/docs/docs/pages/plugins/_meta.json index 0ab58b4..9dce695 100644 --- a/docs/docs/pages/plugins/_meta.json +++ b/docs/docs/pages/plugins/_meta.json @@ -17,7 +17,7 @@ "toc": true } }, - "packages": { + "components": { "title": "Components", "theme": { "toc": true diff --git a/docs/docs/pages/plugins/components/_meta.json b/docs/docs/pages/plugins/components/_meta.json new file mode 100644 index 0000000..d722e4e --- /dev/null +++ b/docs/docs/pages/plugins/components/_meta.json @@ -0,0 +1,26 @@ +{ + "header": { + "title": "Headers", + "theme": { + "toc": true + } + }, + "blocks": { + "title": "Blocks", + "theme": { + "toc": true + } + }, + "widgets": { + "title": "Widgets", + "theme": { + "toc": true + } + }, + "configs": { + "title": "Config", + "theme": { + "toc": true + } + } +} diff --git a/docs/docs/pages/plugins/components/blocks/_meta.json b/docs/docs/pages/plugins/components/blocks/_meta.json new file mode 100644 index 0000000..c805d78 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/_meta.json @@ -0,0 +1,44 @@ +{ + "banner": { + "title": "Banner", + "theme": { + "toc": true + } + }, + "breadcrumbs": { + "title": "Breadcrumbs", + "theme": { + "toc": true + } + }, + "category-card": { + "title": "Category Card", + "theme": { + "toc": true + } + }, + "content-box": { + "title": "Content Box", + "theme": { + "toc": true + } + }, + "image-carousel": { + "title": "Image Carousel", + "theme": { + "toc": true + } + }, + "image-gallary": { + "title": "Image Gallary", + "theme": { + "toc": true + } + }, + "review-block": { + "title": "Review Block", + "theme": { + "toc": true + } + } +} diff --git a/docs/docs/pages/plugins/components/blocks/banner.mdx b/docs/docs/pages/plugins/components/blocks/banner.mdx new file mode 100644 index 0000000..b14223f --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/banner.mdx @@ -0,0 +1,49 @@ + +import { Callout } from 'nextra/components' + +# Banner Component +Version- `1.0.0` + +## Uses +The `Banner` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "component", + "repeatable": false, + "component": "config.section-title" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + }, + "variation": { + "type": "enumeration", + "enum": [ + "simple", + "center", + "bottom right", + "left right", + "box left", + "box right", + "circle" + ], + "default": "simple" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/blocks/blog-post.mdx b/docs/docs/pages/plugins/components/blocks/blog-post.mdx new file mode 100644 index 0000000..202e862 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/blog-post.mdx @@ -0,0 +1,51 @@ + +import { Callout } from 'nextra/components' + +# Blog Post +Version- `1.0.0` + +## Uses +The `Blog Post` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "component", + "repeatable": false, + "component": "config.section-title" + }, + "posts": { + "type": "relation", + "relation": "oneToMany", + "target": "plugin::padma-backend.post" + }, + "empty": { + "type": "component", + "repeatable": false, + "component": "shared.empty" + }, + "button": { + "type": "component", + "repeatable": false, + "component": "config.link" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/blocks/breadcrumbs.mdx b/docs/docs/pages/plugins/components/blocks/breadcrumbs.mdx new file mode 100644 index 0000000..70949f6 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/breadcrumbs.mdx @@ -0,0 +1,44 @@ + +import { Callout } from 'nextra/components' + +# Breadcrumbs +Version- `1.0.0` + +## Uses +The `Breadcrumbs` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "separator": { + "type": "string", + "default": "/", + "required": true + }, + "variation": { + "type": "enumeration", + "enum": ["default", "simple", "minimal"], + "default": "default" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + }, + "items": { + "type": "json" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/blocks/category-card.mdx b/docs/docs/pages/plugins/components/blocks/category-card.mdx new file mode 100644 index 0000000..aeea7e6 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/category-card.mdx @@ -0,0 +1,44 @@ + +import { Callout } from 'nextra/components' + +# Category Cards +Version- `1.0.0` + +## Uses +The `Category Card` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json + { + "attributes": { + "content": { + "type": "component", + "repeatable": false, + "component": "config.section-title" + }, + "category": { + "type": "relation", + "relation": "oneToMany", + "target": "plugin::padma-backend.category" + }, + "empty": { + "type": "component", + "repeatable": false, + "component": "shared.empty" + }, + "button": { + "type": "component", + "repeatable": false, + "component": "config.link" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } + } +} +``` \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/blocks/content-box.mdx b/docs/docs/pages/plugins/components/blocks/content-box.mdx new file mode 100644 index 0000000..78da312 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/content-box.mdx @@ -0,0 +1,46 @@ + +import { Callout } from 'nextra/components' + +# Content Box +Version- `1.0.0` + +## Uses +The `Content Box` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "component", + "repeatable": true, + "component": "config.section-title" + }, + "icon_box": { + "type": "component", + "repeatable": true, + "component": "component.icon-box" + }, + "empty": { + "type": "component", + "repeatable": false, + "component": "shared.empty" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/blocks/image-carousel.mdx b/docs/docs/pages/plugins/components/blocks/image-carousel.mdx new file mode 100644 index 0000000..2c756ba --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/image-carousel.mdx @@ -0,0 +1,53 @@ + +import { Callout } from 'nextra/components' + +# Image Carousel +Version- `1.0.0` + +## Uses +The `Image Carousel` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "cards": { + "type": "component", + "repeatable": true, + "component": "config.carousel-card", + "required": true + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + }, + "autoplay": { + "type": "boolean", + "default": true, + "required": false + }, + "interval": { + "type": "integer", + "default": 3000, + "required": false, + "description": "Time in milliseconds for slide interval when autoplay is enabled." + }, + "variation": { + "type": "enumeration", + "enum": ["default", "fade", "slide", "zoom"], + "default": "default" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/blocks/image-gallery.mdx b/docs/docs/pages/plugins/components/blocks/image-gallery.mdx new file mode 100644 index 0000000..5309b99 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/image-gallery.mdx @@ -0,0 +1,48 @@ + +import { Callout } from 'nextra/components' + +# Image Gallery +Version- `1.0.0` + +## Uses +The `Image Gallery` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "component", + "repeatable": false, + "component": "config.section-title" + }, + "variation": { + "type": "enumeration", + "enum": ["grid", "masonry", "carousel", "grid-with-title"], + "default": "grid", + "required": true + }, + + "images": { + "type": "media", + "multiple": true, + "required": true + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/blocks/index.mdx b/docs/docs/pages/plugins/components/blocks/index.mdx new file mode 100644 index 0000000..12992be --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/index.mdx @@ -0,0 +1,10 @@ +- [Banner Component API](https://github.com/js-template/padma/issues/67) +- [Blog Post](https://github.com/js-template/padma/issues/57) +- [Breadcrumbs Components API](https://github.com/js-template/padma/issues/64) +- [Carousel Card Config](https://github.com/js-template/padma/issues/70) +- [Category Card Component API](https://github.com/js-template/padma/issues/65) +- [Content Box Component API](https://github.com/js-template/padma/issues/68) +- [Icon Box Component API](https://github.com/js-template/padma/issues/60) +- [Image Carousel Component API](https://github.com/js-template/padma/issues/69) +- [Image Gallery Component API](https://github.com/js-template/padma/issues/71) +- [Review Block Component API](https://github.com/js-template/padma/issues/66) diff --git a/docs/docs/pages/plugins/components/blocks/review-blocks.mdx b/docs/docs/pages/plugins/components/blocks/review-blocks.mdx new file mode 100644 index 0000000..5ef53f8 --- /dev/null +++ b/docs/docs/pages/plugins/components/blocks/review-blocks.mdx @@ -0,0 +1,56 @@ + +import { Callout } from 'nextra/components' + +# Review Block +Version- `1.0.0` + +## Uses +The `Review Block` component is used within dynamic collections of `public-page`. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "component", + "repeatable": false, + "component": "config.section-title" + }, + "reviews": { + "type": "component", + "repeatable": true, + "component": "config.review-card" + }, + "empty": { + "type": "component", + "repeatable": false, + "component": "shared.empty" + }, + "button": { + "type": "component", + "repeatable": false, + "component": "config.link" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + }, + "variation": { + "type": "enumeration", + "enum": ["default", "compact", "detailed"], + "default": "default" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} + + + + diff --git a/docs/docs/pages/plugins/components/config/_meta.json b/docs/docs/pages/plugins/components/config/_meta.json new file mode 100644 index 0000000..99ed405 --- /dev/null +++ b/docs/docs/pages/plugins/components/config/_meta.json @@ -0,0 +1,38 @@ +{ + "carousel-card": { + "title": "Carousel Card", + "theme": { + "toc": true + } + }, + "link-config": { + "title": "Link Config", + "theme": { + "toc": true + } + }, + "menu-config": { + "title": "Menu Config", + "theme": { + "toc": true + } + }, + "single-page": { + "title": "Single Page", + "theme": { + "toc": true + } + }, + "style-config": { + "title": "Style Config", + "theme": { + "toc": true + } + }, + "title-config": { + "title": "Title Config", + "theme": { + "toc": true + } + } +} diff --git a/docs/docs/pages/plugins/components/config/carousel-card.mdx b/docs/docs/pages/plugins/components/config/carousel-card.mdx new file mode 100644 index 0000000..ac8998e --- /dev/null +++ b/docs/docs/pages/plugins/components/config/carousel-card.mdx @@ -0,0 +1,36 @@ + +import { Callout } from 'nextra/components' + +# Carousel Card +Version- `1.0.0` + +## Uses +The `Carousel Card` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "title": { + "type": "string", + "required": false + }, + "paragraph": { + "type": "text", + "required": false + }, + "image": { + "type": "media", + "allowedTypes": ["images"], + "multiple": false, + "required": false + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/config/link-config.mdx b/docs/docs/pages/plugins/components/config/link-config.mdx new file mode 100644 index 0000000..1549588 --- /dev/null +++ b/docs/docs/pages/plugins/components/config/link-config.mdx @@ -0,0 +1,46 @@ + +import { Callout } from 'nextra/components' + +# Link +Version- `1.0.0` + +## Uses +The `Link` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "label": { + "type": "string" + }, + "link": { + "type": "string" + }, + "type": { + "type": "enumeration", + "enum": ["External", "Internal"] + }, + "target": { + "type": "enumeration", + "enum": ["_blank", "_self"] + }, + "icon": { + "type": "string", + "unique": false, + "required": false, + "default": "bx:smile" + }, + "disabled": { + "type": "boolean", + "default": false + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/config/menu-config.mdx b/docs/docs/pages/plugins/components/config/menu-config.mdx new file mode 100644 index 0000000..7c93ab3 --- /dev/null +++ b/docs/docs/pages/plugins/components/config/menu-config.mdx @@ -0,0 +1,51 @@ + +import { Callout } from 'nextra/components' + +# Menu +Version- `1.0.0` + +## Uses +The `Menu` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "label": { + "type": "string", + "required": true + }, + "link": { + "type": "string", + "required": true + }, + "type": { + "type": "enumeration", + "enum": ["External", "Internal"] + }, + "target": { + "type": "enumeration", + "enum": ["_blank", "_self"] + }, + "icon": { + "type": "string", + "default": "bx:smile" + }, + "disabled": { + "type": "boolean", + "default": false + }, + "child": { + "type": "component", + "repeatable": true, + "component": "config.link" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/config/single-page.mdx b/docs/docs/pages/plugins/components/config/single-page.mdx new file mode 100644 index 0000000..c00f08a --- /dev/null +++ b/docs/docs/pages/plugins/components/config/single-page.mdx @@ -0,0 +1,32 @@ + +import { Callout } from 'nextra/components' + +# Single Page +Version- `1.0.0` + +## Uses +The `Single Page` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "slug": { + "type": "string" + }, + "collectionModel": { + "type": "string", + "default": "api/padma-backend/posts" + }, + "singelModel": { + "type": "string" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/config/style-config.mdx b/docs/docs/pages/plugins/components/config/style-config.mdx new file mode 100644 index 0000000..2cab471 --- /dev/null +++ b/docs/docs/pages/plugins/components/config/style-config.mdx @@ -0,0 +1,48 @@ + +import { Callout } from 'nextra/components' + +# Single Page +Version- `1.0.0` + +## Uses +The `Single Page` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "color": { + "type": "string" + }, + "backgroundColor": { + "type": "string" + }, + "mobile": { + "type": "integer", + "max": 12, + "min": 1, + "default": 12, + "required": true + }, + "tab": { + "type": "integer", + "min": 1, + "default": 12, + "required": true + }, + "desktop": { + "type": "integer", + "max": 12, + "min": 1, + "default": 12, + "required": true + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/config/title-config.mdx b/docs/docs/pages/plugins/components/config/title-config.mdx new file mode 100644 index 0000000..8cbfe23 --- /dev/null +++ b/docs/docs/pages/plugins/components/config/title-config.mdx @@ -0,0 +1,35 @@ + +import { Callout } from 'nextra/components' + +# Section Title +Version- `1.0.0` + +## Uses +The `Section Title` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "title": { + "type": "string" + }, + "sub_title": { + "type": "text" + }, + "variation": { + "type": "enumeration", + "enum": [ + "Variation One", + "Variation Two" + ] + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/configs.mdx b/docs/docs/pages/plugins/components/configs.mdx new file mode 100644 index 0000000..bbd44c3 --- /dev/null +++ b/docs/docs/pages/plugins/components/configs.mdx @@ -0,0 +1,3 @@ +- [Link Config](https://github.com/js-template/padma/issues/59) +- [Style Section Config](https://github.com/js-template/padma/issues/105) +- [Menu Config](https://github.com/js-template/padma/issues/102) diff --git a/docs/docs/pages/plugins/components/header/_meta.json b/docs/docs/pages/plugins/components/header/_meta.json new file mode 100644 index 0000000..1d5009b --- /dev/null +++ b/docs/docs/pages/plugins/components/header/_meta.json @@ -0,0 +1,20 @@ +{ + "topbar": { + "title": "Top Bar", + "theme": { + "toc": true + } + }, + "main-menu": { + "title": "Main Menu", + "theme": { + "toc": true + } + }, + "bottom-menu": { + "title": "Bottom Menu", + "theme": { + "toc": true + } + } +} diff --git a/docs/docs/pages/plugins/components/header/bottom-menu.mdx b/docs/docs/pages/plugins/components/header/bottom-menu.mdx new file mode 100644 index 0000000..62e06ce --- /dev/null +++ b/docs/docs/pages/plugins/components/header/bottom-menu.mdx @@ -0,0 +1,48 @@ + +import { Callout } from 'nextra/components' + + +# Header bottom +Version- `1.0.0` + +## Uses +The `Header bottom` component is used within `layout` dynamic zone. + + +## Attributes + +```json +{ + "attributes": { + "menu": { + "type": "component", + "repeatable": true, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "component": "config.menu" + }, + "button": { + "type": "component", + "repeatable": true, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "component": "config.link" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/header/main-menu.mdx b/docs/docs/pages/plugins/components/header/main-menu.mdx new file mode 100644 index 0000000..a3c850d --- /dev/null +++ b/docs/docs/pages/plugins/components/header/main-menu.mdx @@ -0,0 +1,76 @@ + +import { Callout } from 'nextra/components' + + +# Main Menu +Version- `1.0.0` + +## Uses +The `Main Menu` component is used within `layout` dynamic zone. + + +## Attributes + +```json +{ + "attributes": { + "light_logo": { + "type": "component", + "repeatable": false, + "component": "config.logo" + }, + "dark_logo": { + "type": "component", + "repeatable": false, + "component": "config.logo" + }, + "dark_mode": { + "type": "boolean", + "default": true + }, + "notification": { + "type": "boolean", + "default": true + }, + "main_menu": { + "type": "component", + "repeatable": true, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "component": "config.menu" + }, + "langague": { + "type": "component", + "repeatable": true, + "pluginOptions": { + "i18n": { + "localized": false + } + }, + "component": "config.link" + }, + "button": { + "type": "component", + "repeatable": true, + "pluginOptions": { + "i18n": { + "localized": true + } + }, + "component": "config.link" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/header/topbar.mdx b/docs/docs/pages/plugins/components/header/topbar.mdx new file mode 100644 index 0000000..3aa60c0 --- /dev/null +++ b/docs/docs/pages/plugins/components/header/topbar.mdx @@ -0,0 +1,37 @@ + +import { Callout } from 'nextra/components' + + +# Top Bar +Version- `1.0.0` + +## Uses +The `Top bar` component is used within `layout` dynamic zone. + + +## Attributes + +```json +{ + "attributes": { + "left_content": { + "type": "text", + "required": false + }, + "right_content": { + "type": "component", + "repeatable": true, + "component": "config.link" + }, + "style": { + "type": "component", + "repeatable": false, + "component": "config.style-section" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/shared/empty.mdx b/docs/docs/pages/plugins/components/shared/empty.mdx new file mode 100644 index 0000000..8f00c32 --- /dev/null +++ b/docs/docs/pages/plugins/components/shared/empty.mdx @@ -0,0 +1,37 @@ + +import { Callout } from 'nextra/components' + + +# Empty State +Version- `1.0.0` + + +This Components Documentation in progress. + + +## Uses +The `Empty State` component is available to most dynamic zeone. + + +## Attributes + +```json +{ + "attributes": { + "title": { + "type": "string", + "required": true, + "default": "No Data Founds" + }, + "description": { + "type": "text", + "required": true, + "default": "Try to refresh the page or check back later" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/widget/contact-info.mdx b/docs/docs/pages/plugins/components/widget/contact-info.mdx new file mode 100644 index 0000000..4fb069f --- /dev/null +++ b/docs/docs/pages/plugins/components/widget/contact-info.mdx @@ -0,0 +1,30 @@ + +import { Callout } from 'nextra/components' + + +# Contact Info +Version- `1.0.0` + + +This Components Documentation in progress. + + +## Uses +The `Contact Info` component is used within another component. Config can be added form dynamic pages. + + +## Attributes + +```json +{ + "attributes": { + "title": { + "type": "string" + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/widget/copyright.mdx b/docs/docs/pages/plugins/components/widget/copyright.mdx new file mode 100644 index 0000000..f822243 --- /dev/null +++ b/docs/docs/pages/plugins/components/widget/copyright.mdx @@ -0,0 +1,31 @@ + +import { Callout } from 'nextra/components' + + +# Copyright +Version- `1.0.0` + + +This Components Documentation in progress. + + +## Uses +The `Copyright` component is used within `layout` dynamic zone. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "text", + "required": true + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/docs/docs/pages/plugins/components/widget/menu.mdx b/docs/docs/pages/plugins/components/widget/menu.mdx new file mode 100644 index 0000000..a9b46b0 --- /dev/null +++ b/docs/docs/pages/plugins/components/widget/menu.mdx @@ -0,0 +1,27 @@ + +import { Callout } from 'nextra/components' + + +# Menu Widget +Version- `1.0.0` + +## Uses +The `Menu Widget` component is used within `layout` dynamic zone. + + +## Attributes + +```json +{ + "attributes": { + "content": { + "type": "text", + "required": true + } + } +} +``` + +{/* ## API Documentation + +- **Request**: [Banner Component Request API Documentation](#) */} \ No newline at end of file diff --git a/packages/backend/.strapi-updater.json b/packages/backend/.strapi-updater.json index ba7de3a..68fb6d5 100644 --- a/packages/backend/.strapi-updater.json +++ b/packages/backend/.strapi-updater.json @@ -1,5 +1,5 @@ { - "latest": "5.4.2", - "lastUpdateCheck": 1733292073442, - "lastNotification": 1732240945477 + "latest": "5.5.0", + "lastUpdateCheck": 1733638205708, + "lastNotification": 1733660964818 } \ No newline at end of file diff --git a/packages/backend/src/components/config/single-page.json b/packages/backend/src/components/config/single-page.json index 33379e3..d674781 100644 --- a/packages/backend/src/components/config/single-page.json +++ b/packages/backend/src/components/config/single-page.json @@ -1,7 +1,7 @@ { "collectionName": "components_config_single_pages", "info": { - "displayName": "singlePage", + "displayName": "Single Page", "icon": "arrowRight", "description": "" }, diff --git a/packages/backend/src/components/config/style-section.json b/packages/backend/src/components/config/style-section.json index 0da9331..b3e3ba1 100644 --- a/packages/backend/src/components/config/style-section.json +++ b/packages/backend/src/components/config/style-section.json @@ -1,7 +1,7 @@ { "collectionName": "components_component_style_sections", "info": { - "displayName": "style Section", + "displayName": "Style Section", "icon": "arrowUp", "description": "" }, diff --git a/packages/backend/src/components/shared/empty.json b/packages/backend/src/components/shared/empty.json index 8924c8f..23187fd 100644 --- a/packages/backend/src/components/shared/empty.json +++ b/packages/backend/src/components/shared/empty.json @@ -1,7 +1,7 @@ { "collectionName": "components_shared_empties", "info": { - "displayName": "empty", + "displayName": "Empty State", "icon": "archive", "description": "" }, diff --git a/packages/backend/src/components/widget/contact-widget.json b/packages/backend/src/components/widget/contact-widget.json index e6bff0f..5098edf 100644 --- a/packages/backend/src/components/widget/contact-widget.json +++ b/packages/backend/src/components/widget/contact-widget.json @@ -1,7 +1,7 @@ { "collectionName": "components_footer_contact_widgets", "info": { - "displayName": "Contact Widget", + "displayName": "Contact Info", "icon": "envelop" }, "options": {}, diff --git a/packages/backend/types/generated/components.d.ts b/packages/backend/types/generated/components.d.ts index 0ea5540..b2439dc 100644 --- a/packages/backend/types/generated/components.d.ts +++ b/packages/backend/types/generated/components.d.ts @@ -351,7 +351,7 @@ export interface ConfigSinglePage extends Struct.ComponentSchema { collectionName: 'components_config_single_pages'; info: { description: ''; - displayName: 'singlePage'; + displayName: 'Single Page'; icon: 'arrowRight'; }; attributes: { @@ -366,7 +366,7 @@ export interface ConfigStyleSection extends Struct.ComponentSchema { collectionName: 'components_component_style_sections'; info: { description: ''; - displayName: 'style Section'; + displayName: 'Style Section'; icon: 'arrowUp'; }; attributes: { @@ -480,7 +480,7 @@ export interface SharedEmpty extends Struct.ComponentSchema { collectionName: 'components_shared_empties'; info: { description: ''; - displayName: 'empty'; + displayName: 'Empty State'; icon: 'archive'; }; attributes: { @@ -633,7 +633,7 @@ export interface SingleTypeBlogDetails extends Struct.ComponentSchema { export interface WidgetContactWidget extends Struct.ComponentSchema { collectionName: 'components_footer_contact_widgets'; info: { - displayName: 'Contact Widget'; + displayName: 'Contact Info'; icon: 'envelop'; }; attributes: {