Skip to content

Commit 111424f

Browse files
authored
Merge pull request #117 from js-template/dev
Update Dev to Main
2 parents 05c7993 + f4d69eb commit 111424f

File tree

79 files changed

+1282
-1458
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1282
-1458
lines changed

docs/docs/pages/plugins/_meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"toc": true
1818
}
1919
},
20-
"packages": {
20+
"components": {
2121
"title": "Components",
2222
"theme": {
2323
"toc": true
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"header": {
3+
"title": "Headers",
4+
"theme": {
5+
"toc": true
6+
}
7+
},
8+
"blocks": {
9+
"title": "Blocks",
10+
"theme": {
11+
"toc": true
12+
}
13+
},
14+
"widgets": {
15+
"title": "Widgets",
16+
"theme": {
17+
"toc": true
18+
}
19+
},
20+
"configs": {
21+
"title": "Config",
22+
"theme": {
23+
"toc": true
24+
}
25+
}
26+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"banner": {
3+
"title": "Banner",
4+
"theme": {
5+
"toc": true
6+
}
7+
},
8+
"breadcrumbs": {
9+
"title": "Breadcrumbs",
10+
"theme": {
11+
"toc": true
12+
}
13+
},
14+
"category-card": {
15+
"title": "Category Card",
16+
"theme": {
17+
"toc": true
18+
}
19+
},
20+
"content-box": {
21+
"title": "Content Box",
22+
"theme": {
23+
"toc": true
24+
}
25+
},
26+
"image-carousel": {
27+
"title": "Image Carousel",
28+
"theme": {
29+
"toc": true
30+
}
31+
},
32+
"image-gallary": {
33+
"title": "Image Gallary",
34+
"theme": {
35+
"toc": true
36+
}
37+
},
38+
"review-block": {
39+
"title": "Review Block",
40+
"theme": {
41+
"toc": true
42+
}
43+
}
44+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
import { Callout } from 'nextra/components'
3+
4+
# Banner Component
5+
Version- `1.0.0`
6+
7+
## Uses
8+
The `Banner` component is used within dynamic collections of `public-page`.
9+
10+
11+
## Attributes
12+
13+
```json
14+
{
15+
"attributes": {
16+
"content": {
17+
"type": "component",
18+
"repeatable": false,
19+
"component": "config.section-title"
20+
},
21+
"style": {
22+
"type": "component",
23+
"repeatable": false,
24+
"component": "config.style-section"
25+
},
26+
"variation": {
27+
"type": "enumeration",
28+
"enum": [
29+
"simple",
30+
"center",
31+
"bottom right",
32+
"left right",
33+
"box left",
34+
"box right",
35+
"circle"
36+
],
37+
"default": "simple"
38+
}
39+
}
40+
}
41+
```
42+
43+
{/* ## API Documentation
44+
45+
- **Request**: [Banner Component Request API Documentation](#) */}
46+
47+
48+
49+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
2+
import { Callout } from 'nextra/components'
3+
4+
# Blog Post
5+
Version- `1.0.0`
6+
7+
## Uses
8+
The `Blog Post` component is used within dynamic collections of `public-page`.
9+
10+
11+
## Attributes
12+
13+
```json
14+
{
15+
"attributes": {
16+
"content": {
17+
"type": "component",
18+
"repeatable": false,
19+
"component": "config.section-title"
20+
},
21+
"posts": {
22+
"type": "relation",
23+
"relation": "oneToMany",
24+
"target": "plugin::padma-backend.post"
25+
},
26+
"empty": {
27+
"type": "component",
28+
"repeatable": false,
29+
"component": "shared.empty"
30+
},
31+
"button": {
32+
"type": "component",
33+
"repeatable": false,
34+
"component": "config.link"
35+
},
36+
"style": {
37+
"type": "component",
38+
"repeatable": false,
39+
"component": "config.style-section"
40+
}
41+
}
42+
}
43+
```
44+
45+
{/* ## API Documentation
46+
47+
- **Request**: [Banner Component Request API Documentation](#) */}
48+
49+
50+
51+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
import { Callout } from 'nextra/components'
3+
4+
# Breadcrumbs
5+
Version- `1.0.0`
6+
7+
## Uses
8+
The `Breadcrumbs` component is used within dynamic collections of `public-page`.
9+
10+
11+
## Attributes
12+
13+
```json
14+
{
15+
"attributes": {
16+
"separator": {
17+
"type": "string",
18+
"default": "/",
19+
"required": true
20+
},
21+
"variation": {
22+
"type": "enumeration",
23+
"enum": ["default", "simple", "minimal"],
24+
"default": "default"
25+
},
26+
"style": {
27+
"type": "component",
28+
"repeatable": false,
29+
"component": "config.style-section"
30+
},
31+
"items": {
32+
"type": "json"
33+
}
34+
}
35+
}
36+
```
37+
38+
{/* ## API Documentation
39+
40+
- **Request**: [Banner Component Request API Documentation](#) */}
41+
42+
43+
44+
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
2+
import { Callout } from 'nextra/components'
3+
4+
# Category Cards
5+
Version- `1.0.0`
6+
7+
## Uses
8+
The `Category Card` component is used within dynamic collections of `public-page`.
9+
10+
11+
## Attributes
12+
13+
```json
14+
{
15+
"attributes": {
16+
"content": {
17+
"type": "component",
18+
"repeatable": false,
19+
"component": "config.section-title"
20+
},
21+
"category": {
22+
"type": "relation",
23+
"relation": "oneToMany",
24+
"target": "plugin::padma-backend.category"
25+
},
26+
"empty": {
27+
"type": "component",
28+
"repeatable": false,
29+
"component": "shared.empty"
30+
},
31+
"button": {
32+
"type": "component",
33+
"repeatable": false,
34+
"component": "config.link"
35+
},
36+
"style": {
37+
"type": "component",
38+
"repeatable": false,
39+
"component": "config.style-section"
40+
}
41+
}
42+
}
43+
}
44+
```
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
2+
import { Callout } from 'nextra/components'
3+
4+
# Content Box
5+
Version- `1.0.0`
6+
7+
## Uses
8+
The `Content Box` component is used within dynamic collections of `public-page`.
9+
10+
11+
## Attributes
12+
13+
```json
14+
{
15+
"attributes": {
16+
"content": {
17+
"type": "component",
18+
"repeatable": true,
19+
"component": "config.section-title"
20+
},
21+
"icon_box": {
22+
"type": "component",
23+
"repeatable": true,
24+
"component": "component.icon-box"
25+
},
26+
"empty": {
27+
"type": "component",
28+
"repeatable": false,
29+
"component": "shared.empty"
30+
},
31+
"style": {
32+
"type": "component",
33+
"repeatable": false,
34+
"component": "config.style-section"
35+
}
36+
}
37+
}
38+
```
39+
40+
{/* ## API Documentation
41+
42+
- **Request**: [Banner Component Request API Documentation](#) */}
43+
44+
45+
46+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
2+
import { Callout } from 'nextra/components'
3+
4+
# Image Carousel
5+
Version- `1.0.0`
6+
7+
## Uses
8+
The `Image Carousel` component is used within dynamic collections of `public-page`.
9+
10+
11+
## Attributes
12+
13+
```json
14+
{
15+
"attributes": {
16+
"cards": {
17+
"type": "component",
18+
"repeatable": true,
19+
"component": "config.carousel-card",
20+
"required": true
21+
},
22+
"style": {
23+
"type": "component",
24+
"repeatable": false,
25+
"component": "config.style-section"
26+
},
27+
"autoplay": {
28+
"type": "boolean",
29+
"default": true,
30+
"required": false
31+
},
32+
"interval": {
33+
"type": "integer",
34+
"default": 3000,
35+
"required": false,
36+
"description": "Time in milliseconds for slide interval when autoplay is enabled."
37+
},
38+
"variation": {
39+
"type": "enumeration",
40+
"enum": ["default", "fade", "slide", "zoom"],
41+
"default": "default"
42+
}
43+
}
44+
}
45+
```
46+
47+
{/* ## API Documentation
48+
49+
- **Request**: [Banner Component Request API Documentation](#) */}
50+
51+
52+
53+

0 commit comments

Comments
 (0)