Skip to content

Commit aa8bd1e

Browse files
committed
fix: update new things
1 parent 61603a3 commit aa8bd1e

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

app/components/Button/ButtonBase.stories.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const Secondary: Story = {
5252

5353
export const Small: Story = {
5454
args: {
55-
size: 'small',
55+
size: 'sm',
5656
},
5757
render: args => ({
5858
components: { ButtonBase },

app/components/Package/Likes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ const likeAction = async () => {
130130
>
131131
<ButtonBase
132132
@click="likeAction"
133-
size="medium"
133+
size="md"
134134
:aria-label="
135135
likesData?.userHasLiked ? $t('package.likes.unlike') : $t('package.likes.like')
136136
"

app/pages/package/[[org]]/[name]/versions.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const flatItems = computed<FlatItem[]>(() => {
203203
type="text"
204204
:placeholder="$t('package.versions.version_filter_placeholder')"
205205
:aria-label="$t('package.versions.version_filter_label')"
206-
size="small"
206+
size="sm"
207207
class="w-36 sm:w-44"
208208
/>
209209
</div>

app/pages/translation-status.vue

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ ${template}`
186186
<h4 class="text-sm font-medium text-fg my-0">
187187
{{ $t('translation_status.missing_keys', {}, { locale: localeEntry.lang }) }}
188188
</h4>
189-
<ButtonBase type="button" size="small" @click="copyMissingKeys(localeEntry)">
189+
<ButtonBase type="button" size="sm" @click="copyMissingKeys(localeEntry)">
190190
{{
191191
copied
192192
? $t('common.copied', {}, { locale: localeEntry.lang })
@@ -209,11 +209,7 @@ ${template}`
209209
</ul>
210210
</div>
211211
<div class="mt-4">
212-
<LinkBase
213-
:to="localeEntry.githubEditUrl"
214-
variant="button-secondary"
215-
size="medium"
216-
>
212+
<LinkBase :to="localeEntry.githubEditUrl" variant="button-secondary" size="md">
217213
{{ $t('i18n.edit_on_github', {}, { locale: localeEntry.lang }) }}
218214
</LinkBase>
219215
</div>

0 commit comments

Comments
 (0)