feat(poc): add stencil boilerplate for bar-chart component
CI / lint-and-format (push) Failing after 34s
CI / changeset-check (push) Successful in 24s
CI / unit-tests (push) Successful in 30s
CI / component-tests (push) Successful in 35s

- Generated the bar chart component
- Showing it in storybook
- Added title as parameter for testing
This commit is contained in:
2026-09-17 17:40:26 +02:00
parent 47697eb744
commit 3ee26d1550
9 changed files with 165 additions and 124 deletions
+25 -69
View File
@@ -1,94 +1,45 @@
{
"timestamp": "2026-08-01T23:02:04",
"timestamp": "2026-09-17T15:31:03",
"compiler": {
"name": "@stencil/core",
"version": "4.43.5",
"version": "4.44.2",
"typescriptVersion": "5.8.3"
},
"components": [
{
"filePath": "src/components/my-component/my-component.tsx",
"filePath": "src/components/charts/bar-chart/bar-chart.tsx",
"encapsulation": "shadow",
"tag": "my-component",
"readme": "# my-component\n\n\n",
"tag": "bar-chart",
"readme": "# bar-chart\n\n\n",
"docs": "",
"docsTags": [],
"usage": {},
"props": [
{
"name": "first",
"type": "string | undefined",
"name": "title",
"type": "string",
"complexType": {
"original": "string",
"resolved": "string | undefined",
"resolved": "string",
"references": {}
},
"mutable": false,
"attr": "first",
"attr": "title",
"reflectToAttr": false,
"docs": "The first name",
"docsTags": [],
"docs": "",
"docsTags": [
{
"name": "default",
"text": "\"Hello World\""
}
],
"default": "\"Hello World\"",
"values": [
{
"type": "string"
},
{
"type": "undefined"
}
],
"optional": true,
"required": false,
"getter": false,
"setter": false
},
{
"name": "last",
"type": "string | undefined",
"complexType": {
"original": "string",
"resolved": "string | undefined",
"references": {}
},
"mutable": false,
"attr": "last",
"reflectToAttr": false,
"docs": "The last name",
"docsTags": [],
"values": [
{
"type": "string"
},
{
"type": "undefined"
}
],
"optional": true,
"required": false,
"getter": false,
"setter": false
},
{
"name": "middle",
"type": "string | undefined",
"complexType": {
"original": "string",
"resolved": "string | undefined",
"references": {}
},
"mutable": false,
"attr": "middle",
"reflectToAttr": false,
"docs": "The middle name",
"docsTags": [],
"values": [
{
"type": "string"
},
{
"type": "undefined"
}
],
"optional": true,
"optional": false,
"required": false,
"getter": false,
"setter": false
@@ -98,7 +49,12 @@
"events": [],
"listeners": [],
"styles": [],
"slots": [],
"slots": [
{
"name": "",
"docs": "The default slot"
}
],
"parts": [],
"states": [],
"dependents": [],
@@ -107,4 +63,4 @@
}
],
"typeLibrary": {}
}
}