Skip to content

Commit

Permalink
Update Svelte API
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Oct 19, 2024
1 parent c47cc31 commit 5a7c9dc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion web/stories/ui/button.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script context="module" lang="ts">
<script lang="ts" module>
import { mdiPlusCircleOutline, mdiTrashCanOutline } from '@mdi/js'
import { defineMeta } from '@storybook/addon-svelte-csf'
Expand Down
2 changes: 1 addition & 1 deletion web/stories/ui/loader.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script context="module" lang="ts">
<script lang="ts" module>
import { defineMeta } from '@storybook/addon-svelte-csf'
import Loader from '../../ui/loader.svelte'
Expand Down
2 changes: 1 addition & 1 deletion web/stories/ui/select-field.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script context="module" lang="ts">
<script lang="ts" module>
import { defineMeta } from '@storybook/addon-svelte-csf'
import SelectField from '../../ui/select-field.svelte'
Expand Down
2 changes: 1 addition & 1 deletion web/stories/ui/text-field.stories.svelte
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script context="module" lang="ts">
<script lang="ts" module>
import { defineMeta } from '@storybook/addon-svelte-csf'
import Card from '../../ui/card.svelte'
Expand Down
1 change: 1 addition & 0 deletions web/ui/pagination-bar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<a
class="pagination-bar_segment"
class:is-past={page <= currentPage}
aria-label={`${page}`}
href={`?page=${page}`}
onclick={() => {
if (onclick) onclick(page)
Expand Down

0 comments on commit 5a7c9dc

Please sign in to comment.