Skip to content

Commit 804e33d

Browse files
committed
Stuff
1 parent 90b5b41 commit 804e33d

File tree

4 files changed

+38
-10
lines changed

4 files changed

+38
-10
lines changed

Diff for: .github/workflows/storybook-publish.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build and Publish Storybook to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
deploy:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: "20"
22+
23+
- uses: bitovi/[email protected]
24+
with:
25+
build_command: npm run ng run layout-components:build-storybook
26+
path: storybook-static # default: dist/storybook
27+
checkout: false

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@
5858
"ng-packagr": "^17.3.0",
5959
"storybook": "^8.0.9",
6060
"typescript": "~5.4.2"
61-
}
61+
},
62+
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589"
6263
}

Diff for: projects/layout-components/documentation.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -425,15 +425,15 @@
425425
"extends": []
426426
},
427427
{
428-
"name": "TileComponent",
429-
"id": "component-TileComponent-7e5a0f8c7c2f197cb276fc4df549a3cbcbfe517cd4b0d4d460ef892ae05d3f98dda262b67596a9e5c815d465722e61ed68cb38e6ccf4a3d125c3e6fab4de70ec",
430-
"file": "projects/layout-components/src/lib/tile/tile.component.ts",
428+
"name": "TilesComponent",
429+
"id": "component-TilesComponent-60e428fe3c753abd77e9c8a6c0da5406788cfef3f3d08e45ffcd5bdd8c64cacdbe5ef316b93d5ee9e306b8cd935b4511ceb7ca26dc4e06c8bd511ea391d412ae",
430+
"file": "projects/layout-components/src/lib/tiles/tiles.component.ts",
431431
"encapsulation": [],
432432
"entryComponents": [],
433433
"inputs": [],
434434
"outputs": [],
435435
"providers": [],
436-
"selector": "tile",
436+
"selector": "tiles",
437437
"styleUrls": [],
438438
"styles": [],
439439
"template": "<ng-content></ng-content>",
@@ -490,8 +490,8 @@
490490
"description": "",
491491
"rawdescription": "\n",
492492
"type": "component",
493-
"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",
494-
"styleUrl": "./tile.component.css",
493+
"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",
494+
"styleUrl": "./tiles.component.css",
495495
"assetsDirs": [],
496496
"styleUrlsData": "",
497497
"stylesData": "",
@@ -771,10 +771,10 @@
771771
"status": "low"
772772
},
773773
{
774-
"filePath": "projects/layout-components/src/lib/tile/tile.component.ts",
774+
"filePath": "projects/layout-components/src/lib/tiles/tiles.component.ts",
775775
"type": "component",
776776
"linktype": "component",
777-
"name": "TileComponent",
777+
"name": "TilesComponent",
778778
"coveragePercent": 0,
779779
"coverageCount": "0/5",
780780
"status": "low"

Diff for: projects/layout-components/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@buildo/angular-layout-components",
33
"repository": {
44
"type": "git",
5-
"url": "https://github.com/buildo/angular-layout-components.git"
5+
"url": "git+https://github.com/buildo/angular-layout-components.git"
66
},
77
"version": "0.1.7",
88
"peerDependencies": {

0 commit comments

Comments
 (0)