Skip to content

Commit 942efa5

Browse files
committed
Display component in documentation
1 parent 34d1aaa commit 942efa5

Some content is hidden

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

58 files changed

+471
-130
lines changed

src/Toolkit/Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
.PHONY: build
22
build:
3-
./bin/build-registry.php --destination=registry/default
3+
./bin/build-registry.php \
4+
--destination=registry/default \
5+
--licenses="MIT" \
6+
Symfony "https://www.symfony.com"

src/Toolkit/registry/default/components/Avatar/AvatarFallback.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'flex h-full w-full items-center justify-center rounded-full bg-muted',\n variants: {},\n compoundVariants: []\n) -%}\n\n<span\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</span>\n",
77
"fingerprint": "0170d9f5db25ece504dde4646320a3e1",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Avatar"
910
}

src/Toolkit/registry/default/components/Avatar/AvatarImage.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'aspect-square h-full w-full',\n variants: {},\n compoundVariants: []\n) -%}\n\n<img\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n/>",
77
"fingerprint": "0b34d0e7f0f6eeffea6dabaa5b84d908",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Avatar"
910
}

src/Toolkit/registry/default/components/Breadcrumb/BreadcrumbEllipsis.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'flex h-9 w-9 items-center justify-center',\n variants: {},\n compoundVariants: []\n) -%}\n\n<span\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n role=\"presentation\"\n aria-hidden=\"true\"\n>\n {% set _block = block('content') %}\n {% if content is defined and content is not empty %}\n {% block content %}{% endblock %}\n {% else %}\n <span class=\"h-4 w-4\">...</span>\n {% endif %}\n</span>\n",
77
"fingerprint": "c1725f1ef14bef095bdc4db7ab29d75f",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
910
}

src/Toolkit/registry/default/components/Breadcrumb/BreadcrumbItem.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'inline-flex items-center gap-1.5',\n variants: {},\n compoundVariants: []\n) -%}\n\n<li\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</li>\n",
77
"fingerprint": "566c0fb53c2203aa5e33b7fed04381e6",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
910
}

src/Toolkit/registry/default/components/Breadcrumb/BreadcrumbLink.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'transition-colors hover:text-foreground',\n variants: {},\n compoundVariants: []\n) -%}\n\n<a\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</a>\n",
77
"fingerprint": "fd5fd349e1b64d6e74b9c9de9951f398",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
910
}

src/Toolkit/registry/default/components/Breadcrumb/BreadcrumbList.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5',\n variants: {},\n compoundVariants: []\n) -%}\n\n<ol\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</ol>\n",
77
"fingerprint": "ed441b8c8f02142eb07081ef4708669c",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
910
}

src/Toolkit/registry/default/components/Breadcrumb/BreadcrumbPage.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props \n disabled = false\n-%}\n{%- set style = html_cva(\n base: 'font-normal text-foreground',\n variants: {},\n compoundVariants: []\n) -%}\n\n<span\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n role=\"link\"\n aria-disabled=\"{{ disabled ? 'true' : 'false' }}\"\n aria-current=\"page\"\n>\n {% block content %}{% endblock %}\n</span>\n",
77
"fingerprint": "28c28a5f7fcb66306c9fb7aa8563870a",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
910
}

src/Toolkit/registry/default/components/Breadcrumb/BreadcrumbSeparator.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: '[&>svg]:w-3.5 [&>svg]:h-3.5',\n variants: {},\n compoundVariants: []\n) -%}\n\n<li\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n role=\"presentation\"\n aria-hidden=\"true\"\n>\n {% set _block = block('content') %}\n {% if content is defined and content is not empty %}\n {% block content %}{% endblock %}\n {% else %}\n <twig:ux:Icon name=\"mdi:chevron-right\" />\n {% endif %}\n</li>\n",
77
"fingerprint": "968a5bd3d8061b5611acfa662499d109",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
910
}

src/Toolkit/registry/default/components/Card/CardContent.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'p-6 pt-0',\n variants: {},\n compoundVariants: []\n) -%}\n\n<div\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>\n",
77
"fingerprint": "6d82a1d647e98c8da2d89a1f91085a5d",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Card"
910
}

src/Toolkit/registry/default/components/Card/CardDescription.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'text-sm text-muted-foreground',\n variants: {},\n compoundVariants: []\n) -%}\n\n<div\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>\n",
77
"fingerprint": "581b2452e39ddcce59114e83699d91e7",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Card"
910
}

src/Toolkit/registry/default/components/Card/CardFooter.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'flex items-center p-6 pt-0',\n variants: {},\n compoundVariants: []\n) -%}\n\n<div\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>\n",
77
"fingerprint": "e832021c9cf976ced3995fd270e7ff70",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Card"
910
}

src/Toolkit/registry/default/components/Card/CardHeader.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'flex flex-col space-y-1.5 p-6',\n variants: {},\n compoundVariants: []\n) -%}\n\n<div\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>\n",
77
"fingerprint": "fc0e5987e8cdb25615177dbfae2fdc1c",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Card"
910
}

src/Toolkit/registry/default/components/Card/CardTitle.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'font-semibold leading-none tracking-tight',\n variants: {},\n compoundVariants: []\n) -%}\n\n<div\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>\n",
77
"fingerprint": "d7d884e4f029c8e8501521eabc735b4e",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Card"
910
}

src/Toolkit/registry/default/components/Grid/Col.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props\n xs = 0,\n sm = 0,\n md = 0,\n lg = 0,\n xl = 0,\n xsOffset = 0,\n smOffset = 0,\n mdOffset = 0,\n lgOffset = 0,\n xlOffset = 0,\n first = false,\n last = false,\n-%}\n\n{% set xsCols = false %}{% if xs > 0 %}{% set xsCols = \"true\" %}{% endif %}\n{% set smCols = false %}{% if sm > 0 %}{% set smCols = \"true\" %}{% endif %}\n{% set mdCols = false %}{% if md > 0 %}{% set mdCols = \"true\" %}{% endif %}\n{% set lgCols = false %}{% if lg > 0 %}{% set lgCols = \"true\" %}{% endif %}\n{% set xlCols = false %}{% if xl > 0 %}{% set xlCols = \"true\" %}{% endif %}\n\n{% set xsOffsetCols = false %}{% if xsOffset > 0 %}{% set xsOffsetCols = \"true\" %}{% endif %}\n{% set smOffsetCols = false %}{% if smOffset > 0 %}{% set smOffsetCols = \"true\" %}{% endif %}\n{% set mdOffsetCols = false %}{% if mdOffset > 0 %}{% set mdOffsetCols = \"true\" %}{% endif %}\n{% set lgOffsetCols = false %}{% if lgOffset > 0 %}{% set lgOffsetCols = \"true\" %}{% endif %}\n{% set xlOffsetCols = false %}{% if xlOffset > 0 %}{% set xlOffsetCols = \"true\" %}{% endif %}\n\n{% set firstClass = false %}{% if first %}{% set firstClass = \"true\" %}{% endif %}\n{% set lastClass = false %}{% if last %}{% set lastClass = \"true\" %}{% endif %}\n\n{%- set style = html_cva(\n base: '',\n variants: {\n xsCols: {\n \"true\": 'col-span-' ~ xs,\n },\n smCols: {\n \"true\": 'sm:col-span-' ~ sm,\n },\n mdCols: {\n \"true\": 'md:col-span-' ~ md,\n },\n lgCols: {\n \"true\": 'lg:col-span-' ~ lg,\n },\n xlCols: {\n \"true\": 'xl:col-span-' ~ xl,\n },\n xsOffsetCols: {\n \"true\": 'col-start-' ~ (xsOffset + 1),\n },\n smOffsetCols: {\n \"true\": 'sm:col-start-' ~ (smOffset + 1),\n },\n mdOffsetCols: {\n \"true\": 'md:col-start-' ~ (mdOffset + 1),\n },\n lgOffsetCols: {\n \"true\": 'lg:col-start-' ~ (lgOffset + 1),\n },\n xlOffsetCols: {\n \"true\": 'xl:col-start-' ~ (xlOffset + 1),\n },\n firstClass: {\n \"true\": 'order-first',\n },\n lastClass: {\n \"true\": 'order-last',\n },\n },\n) -%}\n<div\n class=\"{{ style.apply({xsCols, smCols, mdCols, lgCols, xlCols, xsOffsetCols, smOffsetCols, mdOffsetCols, lgOffsetCols, xlOffsetCols, firstClass, lastClass}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>",
77
"fingerprint": "cf18a5ece91ee1e4b0a2a23ea4d50d76",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Grid"
910
}

src/Toolkit/registry/default/components/Grid/Row.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props\n start = 'auto',\n center = false,\n end = false,\n top = false,\n middle = false,\n bottom = false,\n around = false,\n between = false,\n reverse = false,\n-%}\n\n{% set startClass = false %}{% if start != 'auto' %}{% set startClass = \"true\" %}{% endif %}\n{% set centerClass = false %}{% if center %}{% set centerClass = \"true\" %}{% endif %}\n{% set endClass = false %}{% if end %}{% set endClass = \"true\" %}{% endif %}\n{% set topClass = false %}{% if top %}{% set topClass = \"true\" %}{% endif %}\n{% set middleClass = false %}{% if middle %}{% set middleClass = \"true\" %}{% endif %}\n{% set bottomClass = false %}{% if bottom %}{% set bottomClass = \"true\" %}{% endif %}\n{% set aroundClass = false %}{% if around %}{% set aroundClass = \"true\" %}{% endif %}\n{% set betweenClass = false %}{% if between %}{% set betweenClass = \"true\" %}{% endif %}\n{% set reverseClass = false %}{% if reverse %}{% set reverseClass = \"true\" %}{% endif %}\n\n{%- set style = html_cva(\n base: 'flex flex-wrap',\n variants: {\n startClass: {\n \"true\": 'justify-start',\n },\n centerClass: {\n \"true\": 'justify-center',\n },\n endClass: {\n \"true\": 'justify-end',\n },\n topClass: {\n \"true\": 'items-start',\n },\n middleClass: {\n \"true\": 'items-center',\n },\n bottomClass: {\n \"true\": 'items-end',\n },\n aroundClass: {\n \"true\": 'justify-around',\n },\n betweenClass: {\n \"true\": 'justify-between',\n },\n reverseClass: {\n \"true\": 'flex-row-reverse',\n },\n },\n) -%}\n<div\n class=\"{{ style.apply({startClass, centerClass, endClass, topClass, middleClass, bottomClass, aroundClass, betweenClass, reverseClass}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>",
77
"fingerprint": "0943905f322e9765cb66c65daa5bccb8",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Grid"
910
}

src/Toolkit/registry/default/components/Table/TableBody.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: '[&_tr:last-child]:border-0',\n variants: {},\n compoundVariants: []\n) -%}\n\n<tbody\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</tbody>\n",
77
"fingerprint": "cc7177549ce5e93b4e5588c1ae01e0f7",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}

src/Toolkit/registry/default/components/Table/TableCaption.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'text-muted-foreground mt-4 text-sm',\n variants: {},\n compoundVariants: []\n) -%}\n\n<caption\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</caption>\n",
77
"fingerprint": "96777b5ee80f417361d81a9975613e56",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}

src/Toolkit/registry/default/components/Table/TableCell.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n variants: {},\n compoundVariants: []\n) -%}\n\n<td\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</td>\n",
77
"fingerprint": "998e5e25f363731f40cb0d64797dadfd",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}

src/Toolkit/registry/default/components/Table/TableFooter.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'bg-muted/50 border-t font-medium [&>tr]:last:border-b-0',\n variants: {},\n compoundVariants: []\n) -%}\n\n<tfoot\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</tfoot>\n",
77
"fingerprint": "cad323f00c8108b98851df8aac2819ad",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}

src/Toolkit/registry/default/components/Table/TableHead.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'text-muted-foreground h-10 px-2 text-left align-middle font-medium [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]',\n variants: {},\n compoundVariants: []\n) -%}\n\n<th\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</th>\n",
77
"fingerprint": "a0a72a22e9d7253be3336e60304424da",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}

src/Toolkit/registry/default/components/Table/TableHeader.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: '[&_tr]:border-b',\n variants: {},\n compoundVariants: []\n) -%}\n\n<div\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</div>\n",
77
"fingerprint": "ad7e6c772f20c83f09dafe9ee8687f8f",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}

src/Toolkit/registry/default/components/Table/TableRow.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"type": "component",
66
"code": "{%- props -%}\n{%- set style = html_cva(\n base: 'hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors',\n variants: {},\n compoundVariants: []\n) -%}\n\n<tr\n class=\"{{ style.apply({}, attributes.render('class'))|tailwind_merge }}\"\n {{ attributes.defaults({}).without('class') }}\n>\n {% block content %}{% endblock %}\n</tr>\n",
77
"fingerprint": "a3e2c0ce5de795c63afd94ce8b34f5aa",
8-
"dependencies": []
8+
"dependencies": [],
9+
"parentName": "Table"
910
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "AspectRatioDefault",
3+
"manifest": "examples/AspectRatio/AspectRatioDefault.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:AspectRatio ratio=\"16/9\">\n <img \n style=\"width: 100%;height: 100%;\"\n src=\"https://images.unsplash.com/photo-1535025183041-0991a977e25b?w=300&amp;dpr=2&amp;q=80\" alt=\"Landscape photograph by Tobias Tullius\"\n />\n</twig:AspectRatio>",
7+
"fingerprint": "eb827ab28e0df827a46f068d1c7927c0",
8+
"dependencies": [],
9+
"parentName": "AspectRatio"
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "AvatarFallback",
3+
"manifest": "examples/Avatar/AvatarFallback.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:Avatar>\n <twig:AvatarFallback>JF</twig:AvatarFallback>\n</twig:Avatar>",
7+
"fingerprint": "365cc9da891643d56a68d587ce56c686",
8+
"dependencies": [],
9+
"parentName": "Avatar"
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "AvatarImage",
3+
"manifest": "examples/Avatar/AvatarImage.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:Avatar>\n <twig:AvatarImage src=\"https://github.com/symfony.png\" alt=\"@symfony\" />\n</twig:Avatar>",
7+
"fingerprint": "58515c5da930b47a0997538ea4af695d",
8+
"dependencies": [],
9+
"parentName": "Avatar"
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "Badge",
3+
"manifest": "examples/Badge.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:Badge>Badge</twig:Badge>\n",
7+
"fingerprint": "6eeb538fce2bda2152dd7af729d01253",
8+
"dependencies": []
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "BadgeDefault",
3+
"manifest": "examples/Badge/BadgeDefault.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:Badge>Badge</twig:Badge>\n",
7+
"fingerprint": "6eeb538fce2bda2152dd7af729d01253",
8+
"dependencies": [],
9+
"parentName": "Badge"
10+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "BadgeOutline",
3+
"manifest": "examples/Badge/BadgeOutline.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:Badge outline>\n Badge\n</twig:Badge>\n",
7+
"fingerprint": "420f08450b190596a1ae25c0e58f4a5b",
8+
"dependencies": [],
9+
"parentName": "Badge"
10+
}

src/Toolkit/registry/default/examples/BadgeOutline.json

-9
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "BreadcrumbDefault",
3+
"manifest": "examples/Breadcrumb/BreadcrumbDefault.json",
4+
"theme": "",
5+
"type": "example",
6+
"code": "<twig:Breadcrumb>\n <twig:BreadcrumbList>\n <twig:BreadcrumbItem>\n <twig:BreadcrumbLink href=\"/\">Home</twig:BreadcrumbLink>\n </twig:BreadcrumbItem>\n <twig:BreadcrumbSeparator />\n <twig:BreadcrumbItem>\n <twig:BreadcrumbLink href=\"/docs\">Docs</twig:BreadcrumbLink>\n </twig:BreadcrumbItem>\n <twig:BreadcrumbSeparator />\n <twig:BreadcrumbItem>\n <twig:BreadcrumbLink href=\"/docs/components\">Components</twig:BreadcrumbLink>\n </twig:BreadcrumbItem>\n <twig:BreadcrumbSeparator />\n <twig:BreadcrumbItem>\n <twig:BreadcrumbPage>Breadcrumb</twig:BreadcrumbPage>\n </twig:BreadcrumbItem>\n </twig:BreadcrumbList>\n</twig:Breadcrumb>",
7+
"fingerprint": "189cc730241ee5755e0766511a619062",
8+
"dependencies": [],
9+
"parentName": "Breadcrumb"
10+
}

0 commit comments

Comments
 (0)