-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e51020
commit 59a3dad
Showing
4 changed files
with
85 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@swisspost/design-system-components-angular", | ||
"version": "0.0.1-beta", | ||
"version": "0.0.5-beta", | ||
"description": "Swiss Post Design System - Angular Wrapper Components", | ||
"author": "Swiss Post <[email protected]>", | ||
"license": "Apache-2.0", | ||
|
@@ -12,20 +12,17 @@ | |
"bugs": { | ||
"url": "https://github.com/swisspost/design-system/issues" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"publishConfig": { | ||
"directory": "../../dist/components", | ||
"access": "public", | ||
"linkDirectory": true, | ||
"directory": "../../dist/components" | ||
"linkDirectory": true | ||
}, | ||
"dependencies": { | ||
"tslib": "2.3.0" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "16.2.0", | ||
"@angular/core": "16.2.0", | ||
"@angular/common": "^16.2.0", | ||
"@angular/core": "^16.2.0", | ||
"@swisspost/design-system-components": "workspace:1.6.3" | ||
}, | ||
"sideEffects": false | ||
|
61 changes: 60 additions & 1 deletion
61
packages/components-angular/projects/consumer-app/src/app/app.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,63 @@ | ||
<h1>Hurray, it works!</h1> | ||
|
||
<h2 class="h5">Post-Icon Component</h2> | ||
<post-accordion> | ||
<post-collapsible> | ||
<span slot="header">Titulum 1</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-collapsible> | ||
|
||
<post-collapsible> | ||
<span slot="header">Titulum 2</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-collapsible> | ||
|
||
<post-collapsible> | ||
<span slot="header">Titulum 3</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-collapsible> | ||
</post-accordion> | ||
|
||
<hr class="border-dark my-5" /> | ||
|
||
<post-alert><p>Contentus momentus vero siteos et accusam iretea et justo.</p></post-alert> | ||
|
||
<hr class="border-dark my-5" /> | ||
|
||
<post-collapsible> | ||
<span slot="header">Titulum</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-collapsible> | ||
|
||
<hr class="border-dark my-5" /> | ||
|
||
<post-icon name="1001" class="fs-big"></post-icon> | ||
|
||
<hr class="border-dark my-5" /> | ||
|
||
<post-tabs> | ||
<post-tab-header slot="tabs" panel="unua">Unua langeto</post-tab-header> | ||
<post-tab-header slot="tabs" panel="dua">Dua langeto</post-tab-header> | ||
<post-tab-header slot="tabs" panel="tria">Tria langeto</post-tab-header> | ||
|
||
<post-tab-panel name="unua"> | ||
Jen la enhavo de la unua langeto. Defaŭlte ĝi montriĝas komence. | ||
</post-tab-panel> | ||
<post-tab-panel name="dua"> | ||
Jen la enhavo de la dua langeto. Defaŭlte ĝi estas kaŝita komence. | ||
</post-tab-panel> | ||
<post-tab-panel name="tria"> | ||
Jen la enhavo de la tria langeto. Defaŭlte ĝi ankaŭ estas kaŝita komence. | ||
</post-tab-panel> | ||
</post-tabs> | ||
|
||
<hr class="border-dark my-5" /> | ||
|
||
<button class="btn btn-secondary btn-large" data-tooltip-target="tooltip-one">Button</button> | ||
<post-tooltip class="hydrated" id="tooltip-one">Hi there 👋</post-tooltip> | ||
|
||
<hr class="border-dark my-5" /> | ||
|
||
<!-- <button class="btn btn-secondary btn-large" data-popover-target="popover">Button</button> | ||
<post-popover id="popover">Hi there 👋</post-popover> --> | ||
|
||
<hr class="border-dark my-5" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.