Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#43842] updated action bar stories

Eric Schubert6b2899cbea76
diff --git a/frontend/src/stories/ActionBar.example.html b/frontend/src/stories/ActionBar.example.html
index 5de75296fce..1ecc8028eb2 100644
--- a/frontend/src/stories/ActionBar.example.html
+++ b/frontend/src/stories/ActionBar.example.html
@@ -1,12 +1,14 @@
<div class="spot-action-bar">
<div class="spot-action-bar--left">
- <a
- class="spot-link spot-action-bar--action"
- href="#"
+ <spot-selector-field
+ class="spot-action-bar--action"
+ [label]="'Remember this choice'"
>
- <span class="spot-icon spot-icon_external-link"></span>
- <span>Side action</span>
- </a>
+ <spot-checkbox
+ slot="input"
+ class="spot-checkbox"
+ ></spot-checkbox>
+ </spot-selector-field>
</div>
<div class="spot-action-bar--right">
<button
diff --git a/frontend/src/stories/ActionBarLeftButtons.example.html b/frontend/src/stories/ActionBarLeftButtons.example.html
index 1ff9cdc48c3..f32bfe9e718 100644
--- a/frontend/src/stories/ActionBarLeftButtons.example.html
+++ b/frontend/src/stories/ActionBarLeftButtons.example.html
@@ -10,9 +10,14 @@
>Save</button>
</div>
<div class="spot-action-bar--right">
- <label class="spot-action-bar--action">
- Remember this choice
- <spot-checkbox></spot-checkbox>
- </label>
+ <spot-selector-field
+ class="spot-action-bar--action"
+ [label]="'Remember this choice'"
+ >
+ <spot-checkbox
+ slot="input"
+ class="spot-checkbox"
+ ></spot-checkbox>
+ </spot-selector-field>
</div>
</div>
diff --git a/frontend/src/stories/ActionBarTransparent.example.html b/frontend/src/stories/ActionBarTransparent.example.html
index 99556186192..ccc313ba06e 100644
--- a/frontend/src/stories/ActionBarTransparent.example.html
+++ b/frontend/src/stories/ActionBarTransparent.example.html
@@ -1,11 +1,14 @@
<div class="spot-action-bar spot-action-bar_transparent">
<div class="spot-action-bar--left">
- <a
- class="spot-link spot-action-bar--action"
- href="#"
+ <spot-selector-field
+ class="spot-action-bar--action"
+ [label]="'Remember this choice'"
>
- <span>Side action</span>
- </a>
+ <spot-checkbox
+ slot="input"
+ class="spot-checkbox"
+ ></spot-checkbox>
+ </spot-selector-field>
</div>
<div class="spot-action-bar--right">
<button