Skip to content

Commit

Permalink
Stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
gabro committed May 2, 2024
1 parent 90b5b41 commit 804e33d
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 10 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/storybook-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Build and Publish Storybook to GitHub Pages

on:
push:
branches:
- "main"

permissions:
contents: read
pages: write
id-token: write

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: "20"

- uses: bitovi/[email protected]
with:
build_command: npm run ng run layout-components:build-storybook
path: storybook-static # default: dist/storybook
checkout: false
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,6 @@
"ng-packagr": "^17.3.0",
"storybook": "^8.0.9",
"typescript": "~5.4.2"
}
},
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
}
16 changes: 8 additions & 8 deletions projects/layout-components/documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,15 +425,15 @@
"extends": []
},
{
"name": "TileComponent",
"id": "component-TileComponent-7e5a0f8c7c2f197cb276fc4df549a3cbcbfe517cd4b0d4d460ef892ae05d3f98dda262b67596a9e5c815d465722e61ed68cb38e6ccf4a3d125c3e6fab4de70ec",
"file": "projects/layout-components/src/lib/tile/tile.component.ts",
"name": "TilesComponent",
"id": "component-TilesComponent-60e428fe3c753abd77e9c8a6c0da5406788cfef3f3d08e45ffcd5bdd8c64cacdbe5ef316b93d5ee9e306b8cd935b4511ceb7ca26dc4e06c8bd511ea391d412ae",
"file": "projects/layout-components/src/lib/tiles/tiles.component.ts",
"encapsulation": [],
"entryComponents": [],
"inputs": [],
"outputs": [],
"providers": [],
"selector": "tile",
"selector": "tiles",
"styleUrls": [],
"styles": [],
"template": "<ng-content></ng-content>",
Expand Down Expand Up @@ -490,8 +490,8 @@
"description": "",
"rawdescription": "\n",
"type": "component",
"sourceCode": "import { Component, HostBinding, Input } from '@angular/core';\nimport { Gap, Padding } from '../common';\n\n@Component({\n selector: 'tile',\n standalone: true,\n imports: [],\n template: `<ng-content></ng-content>`,\n styleUrl: './tile.component.css',\n})\nexport class TileComponent {\n @HostBinding('style.gap') @Input() gap: Gap = '0';\n @HostBinding('style.grid-template-columns')\n @Input()\n gridTemplateColumns: string = 'repeat(4, 1fr)';\n @HostBinding('style.grid-template-rows') @Input() gridTemplateRows: string =\n 'auto';\n @HostBinding('style.padding') @Input() padding: Padding = '0';\n}\n",
"styleUrl": "./tile.component.css",
"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-columns')\n @Input()\n gridTemplateColumns: string = 'repeat(4, 1fr)';\n @HostBinding('style.grid-template-rows') @Input() gridTemplateRows: string =\n 'auto';\n @HostBinding('style.padding') @Input() padding: Padding = '0';\n}\n",
"styleUrl": "./tiles.component.css",
"assetsDirs": [],
"styleUrlsData": "",
"stylesData": "",
Expand Down Expand Up @@ -771,10 +771,10 @@
"status": "low"
},
{
"filePath": "projects/layout-components/src/lib/tile/tile.component.ts",
"filePath": "projects/layout-components/src/lib/tiles/tiles.component.ts",
"type": "component",
"linktype": "component",
"name": "TileComponent",
"name": "TilesComponent",
"coveragePercent": 0,
"coverageCount": "0/5",
"status": "low"
Expand Down
2 changes: 1 addition & 1 deletion projects/layout-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@buildo/angular-layout-components",
"repository": {
"type": "git",
"url": "https://github.com/buildo/angular-layout-components.git"
"url": "git+https://github.com/buildo/angular-layout-components.git"
},
"version": "0.1.7",
"peerDependencies": {
Expand Down

0 comments on commit 804e33d

Please sign in to comment.