This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(button): converted button to render function
- Loading branch information
1 parent
ff211cb
commit 73b17b2
Showing
8 changed files
with
126 additions
and
83 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
File renamed without changes.
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,16 @@ | ||
import styled from 'vue-styled-components' | ||
import Box from '../Box' | ||
|
||
const VisuallyHidden = styled(Box)` | ||
border: 0px; | ||
clip: rect(0px, 0px, 0px, 0px); | ||
height: 1px; | ||
width: 1px; | ||
margin: -1px; | ||
padding: 0px; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
position: absolute; | ||
` | ||
|
||
export default VisuallyHidden |
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,3 +1,18 @@ | ||
export { default as baseProps } from './props' | ||
import baseProps from './props' | ||
import pseudoProps from './pseudo' | ||
export { default as propsConfig } from './props.config' | ||
export { default as pseudoProps } from './pseudo' | ||
|
||
export { | ||
baseProps, | ||
pseudoProps | ||
} | ||
|
||
/** | ||
* Style props object | ||
*/ | ||
const styleProps = { | ||
...baseProps, | ||
...pseudoProps | ||
} | ||
|
||
export default styleProps |
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,2 +1,3 @@ | ||
export { default as Box } from '../../components/Box' | ||
export { default as PseudoBox } from '../../components/PseudoBox' | ||
export { default as Button } from '../../components/Button' |