-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
99 changed files
with
1,312 additions
and
346 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"tag":"sbb-link-list-anchor", | ||
"content":"<sbb-link-list-anchor class='demo-item' size='s' title-level='2' title-content='Title'><sbb-block-link href='#'>Link 1</sbb-block-link><sbb-block-link href='#'>Link 2</sbb-block-link><sbb-block-link href='#'>Link 3</sbb-block-link></sbb-link-list-anchor>", | ||
"configuration" : [{ | ||
"attribute":"title-content", | ||
"label":"title-content", | ||
"target":"demo-item", | ||
"default":"Title", | ||
"mode":"property", | ||
"options" : [{ | ||
"value":"Title", | ||
"label":"true" | ||
}, | ||
{ | ||
"value":"", | ||
"label":"false" | ||
}] | ||
}, | ||
{ | ||
"attribute":"size", | ||
"label":"size", | ||
"target":"demo-item", | ||
"default":"s", | ||
"mode":"property", | ||
"options" : [{ | ||
"value":"xs", | ||
"label":"xs" | ||
}, | ||
{ | ||
"value":"s", | ||
"label":"s" | ||
}, | ||
{ | ||
"value":"m", | ||
"label":"m" | ||
}] | ||
}, | ||
{ | ||
"attribute":"negative", | ||
"label":"negative", | ||
"target":"demo-item", | ||
"default":"false", | ||
"mode":"boolean", | ||
"options" : [{ | ||
"value":"false", | ||
"label":"false" | ||
}, | ||
{ | ||
"value":"true", | ||
"label":"true" | ||
}] | ||
} | ||
|
||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"tag":"sbb-mini-button-group", | ||
"content":"<sbb-mini-button-group size='m' class='demo-item'><sbb-mini-button aria-label='previous' icon-name='chevron-small-left-small'></sbb-mini-button><sbb-mini-button aria-label='next' icon-name='chevron-small-right-small'></sbb-mini-button><sbb-divider orientation='vertical'></sbb-divider><sbb-mini-button aria-label='edit' icon-name='pen-small'></sbb-mini-button><sbb-mini-button aria-label='duplicate' icon-name='copy-small'></sbb-mini-button><sbb-mini-button aria-label='delete' icon-name='trash-small'></sbb-mini-button><sbb-divider orientation='vertical'></sbb-divider><sbb-mini-button aria-label='bookmark' icon-name='star-small'></sbb-mini-button></sbb-mini-button-group>", | ||
"configuration" : [ | ||
{ | ||
"attribute":"size", | ||
"label":"size", | ||
"target":"demo-item", | ||
"default":"m", | ||
"mode":"property", | ||
"options" : [{ | ||
"value":"s", | ||
"label":"s" | ||
}, | ||
{ | ||
"value":"m", | ||
"label":"m" | ||
}, | ||
{ | ||
"value":"l", | ||
"label":"l" | ||
}, | ||
{ | ||
"value":"xl", | ||
"label":"xl" | ||
}] | ||
}, | ||
|
||
{ | ||
"attribute":"negative", | ||
"label":"negative", | ||
"target":"demo-item", | ||
"default":"false", | ||
"mode":"boolean", | ||
"options" : [{ | ||
"value":"false", | ||
"label":"false" | ||
}, | ||
{ | ||
"value":"true", | ||
"label":"true" | ||
}] | ||
} | ||
|
||
] | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"tag":"sbb-teaser-hero", | ||
"content":"<sbb-teaser-product class='demo-item' image-alignment='after' href='#'><sbb-image slot='image' image-src='https://cdn.img.sbb.ch/content/dam/internet/lyne/online-kaufen.jpg'></sbb-image><sbb-title level='3' class='sbb-teaser-product--spacing'>Benefit from up to 70% discount</sbb-title><p class='sbb-teaser-product--spacing'> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium felis sit amet felis viverra lacinia. Donec et enim mi. Aliquam erat volutpat. Proin ut odio tellus. Donec tempor mi vel dapibus lobortis. Sed at ex sit amet leo suscipit fermentum. Donec consequat hendrerit tortor, ut laoreet velit congue in.</p><sbb-button-static class='sbb-teaser-product--spacing'>Label</sbb-button-static><p slot='footnote' class='footnote' class='sbb-teaser-product--spacing'>Footnote Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium felis sitamet felis viverra lacinia. Donec et enim mi. Aliquam erat volutpat. Proin ut odio tellus. Donectempor mi vel dapibus lobortis.</p></sbb-teaser-product>", | ||
"configuration" : [ | ||
{ | ||
"attribute":"image-alignment", | ||
"label":"image-alignment", | ||
"target":"demo-item", | ||
"default":"after", | ||
"mode":"property", | ||
"options" : [{ | ||
"value":"after", | ||
"label":"after" | ||
}, | ||
{ | ||
"value":"before", | ||
"label":"before" | ||
}] | ||
}, | ||
{ | ||
"attribute":"negative", | ||
"label":"negative", | ||
"target":"demo-item", | ||
"default":"false", | ||
"mode":"boolean", | ||
"options" : [{ | ||
"value":"false", | ||
"label":"false" | ||
}, | ||
{ | ||
"value":"true", | ||
"label":"true" | ||
}] | ||
}, | ||
{ | ||
"attribute":"footnote", | ||
"label":"footnote", | ||
"target":"footnote", | ||
"default":"footnote", | ||
"mode":"slot", | ||
"options" : [{ | ||
"value":"footnote", | ||
"label":"true" | ||
}, | ||
{ | ||
"value":"test", | ||
"label":"false" | ||
} | ||
] | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"tag":"sbb-teaser-hero", | ||
"content":"<sbb-teaser-product-static class='demo-item' image-alignment='after'><sbb-image slot='image' image-src='https://cdn.img.sbb.ch/content/dam/internet/lyne/online-kaufen.jpg'></sbb-image><sbb-title level='3' class='sbb-teaser-product--spacing'>Benefit from up to 70% discount</sbb-title><p class='sbb-teaser-product--spacing'>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium felis sit amet felis viverra lacinia. Donec et enim mi. Aliquam erat volutpat. Proin ut odio tellus. Donec tempor mi vel dapibus lobortis. Sed at ex sit amet leo suscipit fermentum. Donec consequat hendrerit tortor, ut laoreet velit congue in.</p><sbb-action-group class='sbb-teaser-product--spacing'><sbb-button>Label</sbb-button><sbb-secondary-button>Label</sbb-secondary-button></sbb-action-group><p slot='footnote' class='footnote' class='sbb-teaser-product--spacing'>Footnote Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium felis sitamet felis viverra lacinia. Donec et enim mi. Aliquam erat volutpat. Proin ut odio tellus. Donectempor mi vel dapibus lobortis.</p></sbb-teaser-product-static>", | ||
"configuration" : [ | ||
{ | ||
"attribute":"image-alignment", | ||
"label":"image-alignment", | ||
"target":"demo-item", | ||
"default":"after", | ||
"mode":"property", | ||
"options" : [{ | ||
"value":"after", | ||
"label":"after" | ||
}, | ||
{ | ||
"value":"before", | ||
"label":"before" | ||
}] | ||
}, | ||
{ | ||
"attribute":"negative", | ||
"label":"negative", | ||
"target":"demo-item", | ||
"default":"false", | ||
"mode":"boolean", | ||
"options" : [{ | ||
"value":"false", | ||
"label":"false" | ||
}, | ||
{ | ||
"value":"true", | ||
"label":"true" | ||
}] | ||
}, | ||
{ | ||
"attribute":"footnote", | ||
"label":"footnote", | ||
"target":"footnote", | ||
"default":"footnote", | ||
"mode":"slot", | ||
"options" : [{ | ||
"value":"footnote", | ||
"label":"true" | ||
}, | ||
{ | ||
"value":"test", | ||
"label":"false" | ||
} | ||
] | ||
} | ||
] | ||
} |
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
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const EleventyFetch = require("@11ty/eleventy-fetch"); | ||
|
||
var lyneversion = require('../../lyneversion'); | ||
|
||
let url = lyneversion.url+lyneversion.branch+lyneversion.path+"link-list/link-list-anchor"+lyneversion.dok; | ||
|
||
const md = async function() { | ||
return EleventyFetch(url, { | ||
duration: "1s", | ||
type: "text" | ||
}); | ||
} | ||
|
||
module.exports = async function() { | ||
let result = await md(); | ||
return result; | ||
}; |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const EleventyFetch = require("@11ty/eleventy-fetch"); | ||
|
||
var lyneversion = require('../../lyneversion'); | ||
|
||
let url = lyneversion.url+lyneversion.branch+lyneversion.path+"teaser-product/teaser-product"+lyneversion.dok; | ||
|
||
const md = async function() { | ||
return EleventyFetch(url, { | ||
duration: "1s", | ||
type: "text" | ||
}); | ||
} | ||
|
||
module.exports = async function() { | ||
let result = await md(); | ||
return result; | ||
}; |
17 changes: 17 additions & 0 deletions
17
src/_data/lyne/readmes/teaserproduct/teaserproductstatic.js
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const EleventyFetch = require("@11ty/eleventy-fetch"); | ||
|
||
var lyneversion = require('../../lyneversion'); | ||
|
||
let url = lyneversion.url+lyneversion.branch+lyneversion.path+"teaser-product/teaser-product-static"+lyneversion.dok; | ||
|
||
const md = async function() { | ||
return EleventyFetch(url, { | ||
duration: "1s", | ||
type: "text" | ||
}); | ||
} | ||
|
||
module.exports = async function() { | ||
let result = await md(); | ||
return result; | ||
}; |
Oops, something went wrong.