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

Lines changed: 4 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 2 additions & 1 deletion
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
}

0 commit comments

Comments
 (0)