Skip to content

Commit 56e3c46

Browse files
committed
[Toolkit] Create Component Meta files
1 parent 4882187 commit 56e3c46

Some content is hidden

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

47 files changed

+709
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"$schema": "../../../../schemas/component.json",
3+
"name": "Alert",
4+
"description": "A notification component that displays important messages with an icon, title, and description",
5+
"props": {
6+
"variant": {
7+
"type": "string",
8+
"default": "default",
9+
"description": "The visual style variant of the alert",
10+
"options": ["default", "destructive"]
11+
}
12+
},
13+
"dependencies": [
14+
{
15+
"type": "php",
16+
"package": "twig/extra-bundle"
17+
},
18+
{
19+
"type": "php",
20+
"package": "twig/html-extra:^3.12.0"
21+
},
22+
{
23+
"type": "php",
24+
"package": "tales-from-a-dev/twig-tailwind-extra"
25+
}
26+
]
27+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "../../../../../schemas/component.json",
3+
"name": "Alert:Description",
4+
"description": "A description component for alerts",
5+
"props": {},
6+
"dependencies": [
7+
{
8+
"type": "php",
9+
"package": "tales-from-a-dev/twig-tailwind-extra"
10+
}
11+
]
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "../../../../../schemas/component.json",
3+
"name": "Alert:Title",
4+
"description": "A title component for alerts",
5+
"props": {},
6+
"dependencies": [
7+
{
8+
"type": "php",
9+
"package": "tales-from-a-dev/twig-tailwind-extra"
10+
}
11+
]
12+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "../../../../schemas/component.json",
3+
"name": "AspectRatio",
4+
"description": "A container that maintains a specific width-to-height ratio for its content",
5+
"props": {
6+
"ratio": {
7+
"type": "string",
8+
"description": "The aspect ratio to maintain (e.g. '16/9', '4/3')"
9+
},
10+
"style": {
11+
"type": "string",
12+
"default": "",
13+
"description": "Additional inline styles to apply"
14+
}
15+
},
16+
"dependencies": []
17+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "../../../../schemas/component.json",
3+
"name": "Avatar",
4+
"description": "A circular element that displays a user's profile image or initials as a fallback",
5+
"props": {},
6+
"dependencies": [
7+
{
8+
"type": "php",
9+
"package": "tales-from-a-dev/twig-tailwind-extra"
10+
}
11+
]
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "../../../../../schemas/component.json",
3+
"name": "Avatar:Image",
4+
"description": "An image component for avatars",
5+
"props": {},
6+
"dependencies": [
7+
{
8+
"type": "php",
9+
"package": "tales-from-a-dev/twig-tailwind-extra"
10+
}
11+
]
12+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "../../../../../schemas/component.json",
3+
"name": "Avatar:Text",
4+
"description": "A text component for avatars",
5+
"props": {},
6+
"dependencies": [
7+
{
8+
"type": "php",
9+
"package": "tales-from-a-dev/twig-tailwind-extra"
10+
}
11+
]
12+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"$schema": "../../../../schemas/component.json",
3+
"name": "Badge",
4+
"description": "A small element that displays status, counts, or labels with optional icons",
5+
"props": {
6+
"variant": {
7+
"type": "string",
8+
"default": "default",
9+
"description": "The visual style variant of the badge",
10+
"options": ["default", "secondary", "destructive", "outline"]
11+
},
12+
"outline": {
13+
"type": "boolean",
14+
"default": false,
15+
"description": "Whether to use the outline variant"
16+
}
17+
},
18+
"dependencies": [
19+
{
20+
"type": "php",
21+
"package": "twig/extra-bundle"
22+
},
23+
{
24+
"type": "php",
25+
"package": "twig/html-extra:^3.12.0"
26+
},
27+
{
28+
"type": "php",
29+
"package": "tales-from-a-dev/twig-tailwind-extra"
30+
}
31+
]
32+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "../../../../schemas/component.json",
3+
"name": "Breadcrumb",
4+
"description": "A navigation element that shows the current page's location in the site hierarchy with clickable links",
5+
"props": {},
6+
"dependencies": []
7+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "../../../../../schemas/component.json",
3+
"name": "Breadcrumb:Ellipsis",
4+
"description": "An ellipsis component for breadcrumb navigation",
5+
"props": {},
6+
"dependencies": [
7+
{
8+
"type": "php",
9+
"package": "tales-from-a-dev/twig-tailwind-extra"
10+
}
11+
]
12+
}

0 commit comments

Comments
 (0)