Update release notes and deploy workspace
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
@click="selectOption(option)"
|
||||
>
|
||||
<span class="native-select__option-label">{{ option.label }}</span>
|
||||
<span v-if="option.meta" class="native-select__option-meta">{{ option.meta }}</span>
|
||||
<Check v-if="isSelected(option)" class="native-select__check" :size="18" :stroke-width="3" />
|
||||
</button>
|
||||
</template>
|
||||
@@ -71,6 +72,7 @@ type SelectOptionValue = string | number | null
|
||||
type SelectOption = {
|
||||
label: string
|
||||
value: SelectOptionValue
|
||||
meta?: string
|
||||
disabled?: boolean
|
||||
group?: string
|
||||
}
|
||||
@@ -424,12 +426,31 @@ onBeforeUnmount(() => {
|
||||
}
|
||||
|
||||
.native-select__option-label{
|
||||
flex:1 1 auto;
|
||||
min-width:0;
|
||||
overflow:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
.native-select__option-meta{
|
||||
flex:none;
|
||||
margin-left:auto;
|
||||
border-radius:999px;
|
||||
background:#f1eafd;
|
||||
color:#6d45cc;
|
||||
padding:4px 9px;
|
||||
font-size:11px;
|
||||
font-weight:850;
|
||||
line-height:1;
|
||||
white-space:nowrap;
|
||||
}
|
||||
|
||||
.native-select__option--selected .native-select__option-meta{
|
||||
background:#fff;
|
||||
color:#6d45cc;
|
||||
}
|
||||
|
||||
.native-select__check{
|
||||
flex:none;
|
||||
color:#7c5bd2;
|
||||
|
||||
Reference in New Issue
Block a user