-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional search and listing page tweaks, New BaseTag component (#467)
* adjustments after more search testing * fixing topic display in search results list * adding BaseTag and adding it to HeroMedium * changing way theme is set (not set by module). minor EDU theme tweaks * differentiating font weight in BaseTag between default and edu themes * lint
- Loading branch information
1 parent
1f2a60f
commit ffb4960
Showing
37 changed files
with
260 additions
and
246 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
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,34 @@ | ||
import BaseTag from '@explorer-1/vue/src/components/BaseTag/BaseTag.vue' | ||
|
||
export default { | ||
title: 'Components/Base/BaseTag', | ||
component: BaseTag, | ||
argTypes: { | ||
variant: { | ||
type: { name: 'string', required: false }, | ||
description: 'The variant (color) of the tag', | ||
control: { type: 'select' }, | ||
options: ['primary', 'secondary', 'action'] | ||
}, | ||
size: { | ||
type: { name: 'string', required: false }, | ||
description: 'The size of the tag', | ||
control: { type: 'select' }, | ||
options: ['sm', 'md', 'lg'] | ||
} | ||
}, | ||
parameters: { | ||
slots: { | ||
default: 'Default slot' | ||
} | ||
} | ||
} | ||
|
||
// stories | ||
export const PrimaryMedium = { | ||
args: { size: 'md', variant: 'primary', default: 'Psyche Asteroid' } | ||
} | ||
|
||
export const SecondarySmall = { | ||
args: { size: 'sm', variant: 'secondary', default: 'Do it yourself' } | ||
} |
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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
export default defineNuxtConfig({ | ||
modules: ['../src/module'], | ||
explorer1: { | ||
theme: 'ThemeEdu' | ||
}, | ||
explorer1: {}, | ||
devtools: { enabled: 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.