Skip to content

Commit

Permalink
fix alert in lyne.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcilurzo committed Jan 15, 2024
1 parent 2cb8c3d commit f0bad44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions src/_data/lyne/alert.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"label":"alert",
"id":"sbb-alert",
"link": "https://lyne-storybook.app.sbb.ch/?path=/docs/components-sbb-alert--docs#stories",
"tag":"<sbb-alert class='demo-item' size='m' disable-animation title-content='Interruption between Berne and Olten' icon-name='disruption' href='https://www.sbb.ch'>Between Bern and Olten from 03.11.2021 to 05.12.2022 each time from 22:30 to 06:00 o'clock construction work will take place. You have to expect changed travel times and changed connections.</sbb-alert>",
"tag":"<sbb-alert class='demo-item' size='m' disable-animation title-content='Interruption between Berne and Olten' icon-name='disruption' href='#'>Between Bern and Olten from 03.11.2021 to 05.12.2022 each time from 22:30 to 06:00 o'clock construction work will take place. You have to expect changed travel times and changed connections.</sbb-alert>",



Expand Down Expand Up @@ -38,15 +38,16 @@
{
"id":"href",
"target":"demo-item",
"default":"",
"default":"#",
"mode":"property",
"radios" : [{
"value":"",
"id":"false"
},
"radios" : [
{
"value":"#",
"id":"true"
},
{
"value":"",
"id":"false"
}]
}
]
Expand Down
2 changes: 1 addition & 1 deletion src/_data/lyne/alertgroup.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"label":"Alert-Group",
"id":"sbb-alert-group",
"link": "https://lyne-storybook.app.sbb.ch/?path=/docs/components-sbb-alert-group--docs#slots",
"tag":"<sbb-alert-group class='demo-item' accessibility-title='Disruptions' accessibility-title-level='2' role='status'><sbb-alert readonly disable-animation title-content='Interruption between Genève and Lausanne' href='https://www.sbb.ch' size='m'>The rail traffic between Allaman and Morges is interrupted. All trains are cancelled.</sbb-alert><sbb-alert disable-animation title-content='Interruption between Berne and Olten' href='https://www.sbb.ch'>Between Berne and Olten from 03.11.2021 to 05.12.2022 each time from 22:30 to 06:00 o'clock construction work will take place. You have to expect changed travel times and changed connections.</sbb-alert></sbb-alert-group>",
"tag":"<sbb-alert-group class='demo-item' accessibility-title='Disruptions' accessibility-title-level='2' role='status'><sbb-alert readonly disable-animation title-content='Interruption between Genève and Lausanne' href='#' size='m'>The rail traffic between Allaman and Morges is interrupted. All trains are cancelled.</sbb-alert><sbb-alert disable-animation title-content='Interruption between Berne and Olten' href='https://www.sbb.ch'>Between Berne and Olten from 03.11.2021 to 05.12.2022 each time from 22:30 to 06:00 o'clock construction work will take place. You have to expect changed travel times and changed connections.</sbb-alert></sbb-alert-group>",
"configuration" : [
]
}
Expand Down

0 comments on commit f0bad44

Please sign in to comment.