-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove portal from header (#159)
# What ❔ - Remove Portal link from the top menu - Do not show an error reason for the failed transaction if it's empty - Docker compose starts services in production and not in development mode - Add zkVM filter option for solc compilers on the verification page ## Why ❔ To fix bug reports / implement feature requests. ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [X] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [X] Tests for the changes have been added / updated. --------- Co-authored-by: Oleh Bairak <[email protected]>
- Loading branch information
1 parent
7c8cab5
commit 0c6232a
Showing
25 changed files
with
229 additions
and
145 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
**/dist/ | ||
**/dist/ | ||
**.env |
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
29 changes: 29 additions & 0 deletions
29
packages/app/src/components/common/CheckBoxInput.stories.ts
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,29 @@ | ||
import CheckBoxInput from "./CheckBoxInput.vue"; | ||
|
||
export default { | ||
title: "Common/CheckBoxInput", | ||
component: CheckBoxInput, | ||
}; | ||
|
||
type Args = { | ||
modelValue: boolean; | ||
}; | ||
|
||
const Template = (args: Args) => ({ | ||
components: { CheckBoxInput }, | ||
setup() { | ||
return { args }; | ||
}, | ||
template: ` | ||
<CheckBoxInput v-bind="args">CheckBox Input</CheckBoxInput>`, | ||
}); | ||
|
||
export const Checked = Template.bind({}) as unknown as { args: Args }; | ||
Checked.args = { | ||
modelValue: true, | ||
}; | ||
|
||
export const Unchecked = Template.bind({}) as unknown as { args: Args }; | ||
Unchecked.args = { | ||
modelValue: false, | ||
}; |
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,42 @@ | ||
<template> | ||
<label class="checkbox-input-container" :class="{ checked: inputted }"> | ||
<input type="checkbox" :checked="inputted" v-model="inputted" v-bind="$attrs" /> | ||
<slot /> | ||
</label> | ||
</template> | ||
|
||
<script lang="ts"> | ||
export default { | ||
inheritAttrs: false, | ||
}; | ||
</script> | ||
|
||
<script setup lang="ts"> | ||
import { computed } from "vue"; | ||
const props = defineProps({ | ||
modelValue: { | ||
type: Boolean, | ||
default: null, | ||
}, | ||
}); | ||
const emit = defineEmits<{ | ||
(eventName: "update:modelValue", value: unknown): void; | ||
}>(); | ||
const inputted = computed({ | ||
get: () => props.modelValue, | ||
set: (value: unknown) => { | ||
emit("update:modelValue", value); | ||
}, | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
.checkbox-input-container { | ||
@apply flex items-center mb-1 cursor-pointer float-right leading-snug; | ||
input { | ||
@apply rounded me-1 text-primary-600 cursor-pointer border-neutral-200 checked:border-primary-600 hover:border-primary-600 ring-transparent; | ||
} | ||
} | ||
</style> |
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 |
---|---|---|
|
@@ -42,7 +42,7 @@ defineProps({ | |
} | ||
.label-inline-block { | ||
.form-item-label { | ||
@apply inline-block; | ||
@apply float-left; | ||
} | ||
} | ||
</style> |
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 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
Oops, something went wrong.