-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove :invalid pseudoclass from InputBox.Option (#94)
- Loading branch information
Showing
10 changed files
with
44 additions
and
5 deletions.
There are no files selected for viewing
Binary file modified
BIN
+7.64 KB
(110%)
...ges/fuselage/.loki/reference/chrome_iphone7_Forms_Inputs_SelectInput_States.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.21 KB
(110%)
...ages/fuselage/.loki/reference/chrome_laptop_Forms_Inputs_SelectInput_States.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
import React from 'react'; | ||
|
||
import { createStyledComponent } from '../../styles'; | ||
|
||
const Container = createStyledComponent('rcx-divider', 'hr'); | ||
|
||
export const Divider = (props) => <Container {...props}/>; |
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,10 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
|
||
import { Divider } from '../..'; | ||
|
||
it('renders without crashing', () => { | ||
const div = document.createElement('div'); | ||
ReactDOM.render(<Divider />, div); | ||
ReactDOM.unmountComponentAtNode(div); | ||
}); |
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 { action } from '@storybook/addon-actions'; | ||
import { Meta, Preview, Props, Story } from '@storybook/addon-docs/blocks'; | ||
|
||
import { Divider } from '../..'; | ||
|
||
<Meta title='Misc|Divider' parameters={{ jest: ['Divider/spec'] }} /> | ||
|
||
# Divider | ||
|
||
<Preview> | ||
<Story name='Default'> | ||
<Divider/> | ||
</Story> | ||
</Preview> | ||
|
||
<Props of={Divider}/> |
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,7 @@ | ||
@import '~@rocket.chat/fuselage-tokens/colors.scss'; | ||
|
||
.rcx-divider { | ||
border: #{ $borders-width-x1 } solid #{ map-get($colors, dark300) }; | ||
margin-block-end: #{ $spaces-x16 }; | ||
margin-block-start: #{ $spaces-x16 }; | ||
} |
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