Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjm committed Aug 11, 2023
1 parent 9e50ec7 commit 947ba35
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
"ssh://git-codecommit.eu-west-1.amazonaws.com/v1/repos/honeycomb"
ssh_private_key:
${{ secrets.CODECOMMIT_SSH_PRIVATE_KEY }}
ssh_username:
${{ secrets.CODECOMMIT_SSH_PRIVATE_KEY_ID }}
target_repo_url: 'ssh://git-codecommit.eu-west-1.amazonaws.com/v1/repos/honeycomb'
ssh_private_key: ${{ secrets.CODECOMMIT_SSH_PRIVATE_KEY }}
ssh_username: ${{ secrets.CODECOMMIT_SSH_PRIVATE_KEY_ID }}
2 changes: 1 addition & 1 deletion src/components/Checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default defineComponent({
<label
class="relative flex min-h-8 min-w-8 cursor-pointer p-2"
:class="[{ 'pointer-events-none': readonly }, className]"
:style="(style as string)">
:style="style as string">
<input
v-model="model"
type="checkbox"
Expand Down
8 changes: 6 additions & 2 deletions src/components/Combobox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,11 @@ export default defineComponent({
})
</script>
<template>
<Combobox v-model="model" as="div" :class="{ 'relative': !escapeOverflow }" :multiple="isMultiSelect">
<Combobox
v-model="model"
as="div"
:class="{ relative: !escapeOverflow }"
:multiple="isMultiSelect">
<!-- @slot named `#input` slot. Requires ComboboxInput component from headless-ui to work, and optionally ComboboxButton. Slot props: `query<string>`, calculated `displayValue<string>`, and `updateQuery<(value:string)=>void>` callback to be used with text input v-model update event-->
<slot name="input" :query="query" :display-value="displayValue" :update-query="updateQuery">
<ComboboxButton
Expand Down Expand Up @@ -291,7 +295,7 @@ export default defineComponent({
ref="inputRef"
class="truncate bg-transparent focus:focus-none disabled:a-text-input-disabled"
:style="`width: ${inputSize + 1}ch`"
:display-value="(value) => displayValue(value as string | string[])"
:display-value="value => displayValue(value as string | string[])"
:placeholder="placeholderString"
:disabled="$attrs.disabled"
@focus="isInputFocused = true"
Expand Down
2 changes: 1 addition & 1 deletion src/components/Listbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default defineComponent({
})
</script>
<template>
<Listbox v-model="model" as="div" class="group" :class="{ 'relative': !escapeOverflow }">
<Listbox v-model="model" as="div" class="group" :class="{ relative: !escapeOverflow }">
<ListboxButton
ref="listboxButton"
class="a-text-input flex items-center group-focus-within:a-text-input-focus"
Expand Down
2 changes: 1 addition & 1 deletion src/components/RadioInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineComponent({
<label
class="relative flex min-h-8 min-w-8 cursor-pointer"
:class="classAttribute"
:style="(style as string)">
:style="style as string">
<input
v-model="model"
type="radio"
Expand Down
1 change: 0 additions & 1 deletion src/stories/Combobox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -328,4 +328,3 @@ A typical use case would be a Combobox inside a Dialog.
<Canvas>
<Story id="components-combobox--overflow-container" />
</Canvas>

1 change: 0 additions & 1 deletion src/stories/Combobox.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -836,4 +836,3 @@ const TemplateOverflow: StoryFn = () => ({

export const OverflowContainer = TemplateOverflow.bind({})
OverflowContainer.play = openCombobox

2 changes: 1 addition & 1 deletion src/stories/Tag.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ To use `a-tag` as a link with a `router-link` component, use the [custom](https:

**Note on the disabled state:**

As any other `<a>` element, `<a-tag>` with `href` does not accept a `disabled` attribute.
As any other `<a>` element, `<a-tag>` with `href` does not accept a `disabled` attribute.

## Custom content via slot

Expand Down

0 comments on commit 947ba35

Please sign in to comment.