Feature/306#315
Open
szafran89 wants to merge 5 commits into
Open
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/snowdog/alpaca-ui/3uyt3U1HJMitcJC563DwxJ9XvMVE |
ofrankowska
suggested changes
Jul 16, 2021
ofrankowska
left a comment
There was a problem hiding this comment.
can you merge changes from update, update colors and add config in the new way?
| @@ -0,0 +1,34 @@ | |||
| <div :class="getClass('input')"> | |||
| <!-- @slot Label (Named slot) --> | |||
| <slot name="label" v-bind="{ label, id }"> | |||
Comment on lines
+6
to
+12
| 'transition-all ease-linear transition-300', | ||
| { | ||
| 'text-xs inline-flex': variant ==='primary' | ||
| }, | ||
| { | ||
| 'flex-shrink-0 mr-4': variant !=='primary' | ||
| }, |
There was a problem hiding this comment.
why are these classes added here instead of config?
| ]" | ||
| > | ||
| <!-- @slot Icon (Named slot) --> | ||
| <slot name="icon" v-bind:variant="variant" /> |
| @@ -0,0 +1,92 @@ | |||
| import { mount, shallowMount } from '@vue/test-utils' | |||
There was a problem hiding this comment.
'shallowMount' is declared but its value is never read
Comment on lines
+10
to
+19
| id: { | ||
| control: { | ||
| type: 'text' | ||
| } | ||
| }, | ||
| label: { | ||
| control: { | ||
| type: 'text' | ||
| } | ||
| }, |
There was a problem hiding this comment.
text controls for props generate automatically so I think this can be removed
Comment on lines
+79
to
+83
| :class="[ | ||
| 'h-12 w-12', | ||
| 'flex items-center justify-center', | ||
| 'absolute right-0', | ||
| variant === 'primary' ? 'top-6' : 'top-0' |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.