-
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release(3.0.0 next.10): MazInputTags (#211)
* refactor(lib): bump version into package-lock * docs(docs): MazInputTags - add doc for maz-input-tags component * feat(lib): MazInputTags - add new component * refactor(lib): code format * refactor(lib): code format
- Loading branch information
1 parent
50e4014
commit 453386a
Showing
16 changed files
with
136 additions
and
56 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,45 @@ | ||
--- | ||
description: MazInputTags is a stand-alone component like free inputs to help user select many values and return an Array of strings, color option available. | ||
--- | ||
|
||
# MazInputTags | ||
|
||
> Before you have to import the global css files in your project, follow instructions in [Getting Started](/maz-ui-3/guide/getting-started.html) | ||
## Basic usage | ||
|
||
<MazInputTags | ||
v-model="tags" | ||
label="Enter tags" | ||
color="info" | ||
/> | ||
|
||
`tags: {{ tags }}` | ||
|
||
<script lang="ts" setup> | ||
import { ref } from 'vue' | ||
|
||
const tags = ref(['tags 1', 'tags 2']) | ||
</script> | ||
|
||
```vue | ||
<template> | ||
<MazInputTags | ||
v-model="tags" | ||
placeholder="Enter tags" | ||
color="info" | ||
/> | ||
</template> | ||
<script lang="ts" setup> | ||
import { ref } from 'vue' | ||
import MazInputTags from 'maz-ui/components/MazInputTags' | ||
const tags = ref(['tags 1', 'tags 2']) | ||
</script> | ||
``` | ||
|
||
## Props, Events emitted | ||
|
||
<ComponentPropDoc component="MazInputTags" /> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* stylelint-disable no-descending-specificity */ | ||
html.--backdrop-present { | ||
overflow-y: hidden; | ||
height: 100vh; | ||
|
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,5 +1,3 @@ | ||
/* stylelint-disable no-descending-specificity */ | ||
|
||
.m-drawer { | ||
@apply maz-items-stretch maz-justify-end; | ||
|
||
|
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