Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed May 6, 2024
1 parent caa92d7 commit d2dd6dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 49 deletions.
12 changes: 6 additions & 6 deletions projects/layout-components/documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
},
{
"name": "TilesComponent",
"id": "component-TilesComponent-03266cf90b6daff9b03045a049a13b40dd6b8774a5b4bf72f484a4c6188fd91b00ed49343f53317f012689fc833a8cf3e9935789382b34de1e17d7b064b1592a",
"id": "component-TilesComponent-79d05d9319d9eb7a7a1d5dae6d3d387c35ab355c01c6392dd16c9bce7c7a724f2065583bb4c568ab2d0207707fb14a64599284601cdde061dbcad8f99dab2349",
"file": "projects/layout-components/src/lib/tiles/tiles.component.ts",
"encapsulation": [],
"entryComponents": [],
Expand All @@ -442,11 +442,11 @@
"hostDirectives": [],
"inputsClass": [
{
"required": true,
"required": false,
"name": "columns",
"defaultValue": "0",
"deprecated": false,
"deprecationMessage": "",
"optional": false,
"line": 16,
"type": "number",
"decorators": []
Expand Down Expand Up @@ -500,7 +500,7 @@
"description": "",
"rawdescription": "\n",
"type": "component",
"sourceCode": "import { Component, HostBinding, Input } from '@angular/core';\nimport { Gap, Padding } from '../common';\n\n@Component({\n selector: 'tiles',\n standalone: true,\n imports: [],\n template: `<ng-content></ng-content>`,\n styleUrl: './tiles.component.css',\n})\nexport class TilesComponent {\n @HostBinding('style.gap') @Input() gap: Gap = '0';\n @HostBinding('style.grid-template-rows') @Input() gridTemplateRows: string =\n 'auto';\n @HostBinding('style.padding') @Input() padding: Padding = '0';\n @Input({ required: true }) columns!: number;\n @HostBinding('style.grid-template-columns') get gridTemplateColumns() {\n return `repeat(${this.columns}, 1fr)`;\n }\n}\n",
"sourceCode": "import { Component, HostBinding, Input, numberAttribute } from '@angular/core';\nimport { Gap, Padding } from '../common';\n\n@Component({\n selector: 'tiles',\n standalone: true,\n imports: [],\n template: `<ng-content></ng-content>`,\n styleUrl: './tiles.component.css',\n})\nexport class TilesComponent {\n @HostBinding('style.gap') @Input() gap: Gap = '0';\n @HostBinding('style.grid-template-rows') @Input() gridTemplateRows: string =\n 'auto';\n @HostBinding('style.padding') @Input() padding: Padding = '0';\n @Input({ transform: numberAttribute }) columns: number = 0;\n @HostBinding('style.grid-template-columns') get gridTemplateColumns() {\n return `repeat(${this.columns}, 1fr)`;\n }\n}\n",
"styleUrl": "./tiles.component.css",
"assetsDirs": [],
"styleUrlsData": "",
Expand Down Expand Up @@ -580,7 +580,7 @@
"deprecated": false,
"deprecationMessage": "",
"type": "Story",
"defaultValue": "{\n args: {\n gap: '16px',\n },\n}"
"defaultValue": "{\n args: {\n gap: '16px',\n columns: 3,\n },\n}"
},
{
"name": "meta",
Expand Down Expand Up @@ -910,7 +910,7 @@
"deprecated": false,
"deprecationMessage": "",
"type": "Story",
"defaultValue": "{\n args: {\n gap: '16px',\n },\n}"
"defaultValue": "{\n args: {\n gap: '16px',\n columns: 3,\n },\n}"
},
{
"name": "meta",
Expand Down
43 changes: 0 additions & 43 deletions projects/layout-components/src/stories/intro.mdx

This file was deleted.

0 comments on commit d2dd6dd

Please sign in to comment.