Skip to content

Commit

Permalink
UPDATE: Stack
Browse files Browse the repository at this point in the history
  • Loading branch information
vepor committed Oct 18, 2018
1 parent 10ca1e2 commit 77a2c13
Show file tree
Hide file tree
Showing 26 changed files with 28,431 additions and 1,673 deletions.
2 changes: 1 addition & 1 deletion src/Alert/__snapshots__/Alert.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ exports[`Storyshots Alert Playground 1`] = `
data-test={undefined}
>
<div
className="Stack__StyledStack-cGIpQG iukPUF"
className="Stack__StyledStack-cGIpQG fGTogO"
>
<div>
Also you can change the message by changing the Message knob
Expand Down
6 changes: 3 additions & 3 deletions src/Checkbox/__snapshots__/Checkbox.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exports[`Storyshots CheckBox Default 1`] = `
}
>
<label
className="Checkbox__Label-gCTMrH bPokpO"
className="Checkbox__Label-gCTMrH cXBlLc"
data-test={undefined}
>
<input
Expand Down Expand Up @@ -394,7 +394,7 @@ exports[`Storyshots CheckBox Playground 1`] = `
}
>
<label
className="Checkbox__Label-gCTMrH cOjsRL"
className="Checkbox__Label-gCTMrH jWlWlb"
data-test="test"
>
<input
Expand Down Expand Up @@ -815,7 +815,7 @@ exports[`Storyshots CheckBox With help 1`] = `
}
>
<label
className="Checkbox__Label-gCTMrH bPokpO"
className="Checkbox__Label-gCTMrH cXBlLc"
data-test={undefined}
>
<input
Expand Down
1 change: 1 addition & 0 deletions src/Checkbox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ const Label = styled(({ className, children, dataTest }) => (
))`
font-family: ${({ theme }) => theme.orbit.fontFamily};
display: flex;
width: 100%;
flex-direction: row;
align-items: self-start;
opacity: ${({ disabled, theme }) => (disabled ? theme.orbit.opacityCheckboxDisabled : "1")};
Expand Down
24 changes: 12 additions & 12 deletions src/InputField/__snapshots__/InputField.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exports[`Storyshots InputField Compact input 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -509,7 +509,7 @@ exports[`Storyshots InputField Default input 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -841,7 +841,7 @@ exports[`Storyshots InputField Email input 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -1253,7 +1253,7 @@ exports[`Storyshots InputField Number input 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -1678,7 +1678,7 @@ exports[`Storyshots InputField Password input 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -2040,7 +2040,7 @@ exports[`Storyshots InputField Playground 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test="test"
>
<span
Expand Down Expand Up @@ -2938,7 +2938,7 @@ exports[`Storyshots InputField Required field 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -3286,7 +3286,7 @@ exports[`Storyshots InputField Small input 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -3648,7 +3648,7 @@ exports[`Storyshots InputField With ButtonLink suffix 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -4039,7 +4039,7 @@ exports[`Storyshots InputField With Icon prefix 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -4416,7 +4416,7 @@ exports[`Storyshots InputField With ServiceLogo prefix 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down Expand Up @@ -4790,7 +4790,7 @@ exports[`Storyshots InputField With text prefix 1`] = `
}
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<span
Expand Down
1 change: 1 addition & 0 deletions src/InputField/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const Field = styled.label`
display: block;
z-index: 2;
flex: 1 1 100%;
width: 100%;
`;

Field.defaultProps = {
Expand Down
10 changes: 5 additions & 5 deletions src/InputFile/__snapshots__/InputFile.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exports[`Storyshots InputFile Default 1`] = `
}
>
<label
className="InputFile__Field-jAueAE erafpp"
className="InputFile__Field-jAueAE gftuqy"
data-test={undefined}
>
<input
Expand Down Expand Up @@ -488,7 +488,7 @@ exports[`Storyshots InputFile Filled with file 1`] = `
}
>
<label
className="InputFile__Field-jAueAE erafpp"
className="InputFile__Field-jAueAE gftuqy"
data-test={undefined}
>
<input
Expand Down Expand Up @@ -931,7 +931,7 @@ exports[`Storyshots InputFile Playground 1`] = `
}
>
<label
className="InputFile__Field-jAueAE erafpp"
className="InputFile__Field-jAueAE gftuqy"
data-test="test"
>
<input
Expand Down Expand Up @@ -1600,7 +1600,7 @@ exports[`Storyshots InputFile With error 1`] = `
}
>
<label
className="InputFile__Field-jAueAE erafpp"
className="InputFile__Field-jAueAE gftuqy"
data-test={undefined}
>
<input
Expand Down Expand Up @@ -2025,7 +2025,7 @@ exports[`Storyshots InputFile With help 1`] = `
}
>
<label
className="InputFile__Field-jAueAE erafpp"
className="InputFile__Field-jAueAE gftuqy"
data-test={undefined}
>
<input
Expand Down
1 change: 1 addition & 0 deletions src/InputFile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const Field = styled.label`
font-family: ${({ theme }) => theme.orbit.fontfamily};
display: block;
position: relative;
width: 100%;
`;

Field.defaultProps = {
Expand Down
24 changes: 12 additions & 12 deletions src/InputGroup/__snapshots__/InputGroup.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ exports[`Storyshots InputGroup Date of birth 1`] = `
}
>
<div
className="InputGroup__StyledInputGroup-boKjnP dJzbyy"
className="InputGroup__StyledInputGroup-boKjnP hAugXU"
data-test={undefined}
>
<span
Expand All @@ -117,7 +117,7 @@ exports[`Storyshots InputGroup Date of birth 1`] = `
className="InputGroup__StyledChild-bpaCT eKlxAZ"
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -148,7 +148,7 @@ exports[`Storyshots InputGroup Date of birth 1`] = `
className="InputGroup__StyledChild-bpaCT jLivMh"
>
<label
className="Select__Label-hzoCkw fshYAU"
className="Select__Label-hzoCkw inFCSO"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -262,7 +262,7 @@ exports[`Storyshots InputGroup Date of birth 1`] = `
className="InputGroup__StyledChild-bpaCT dHAcLQ"
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -1160,7 +1160,7 @@ exports[`Storyshots InputGroup Phone number 1`] = `
}
>
<div
className="InputGroup__StyledInputGroup-boKjnP jgBxYZ"
className="InputGroup__StyledInputGroup-boKjnP BDSot"
data-test={undefined}
>
<div
Expand All @@ -1170,7 +1170,7 @@ exports[`Storyshots InputGroup Phone number 1`] = `
className="InputGroup__StyledChild-bpaCT iMHnHh"
>
<label
className="Select__Label-hzoCkw fshYAU"
className="Select__Label-hzoCkw inFCSO"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -1230,7 +1230,7 @@ exports[`Storyshots InputGroup Phone number 1`] = `
className="InputGroup__StyledChild-bpaCT jLivMh"
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -2029,7 +2029,7 @@ exports[`Storyshots InputGroup Playground 1`] = `
}
>
<div
className="InputGroup__StyledInputGroup-boKjnP dJzbyy"
className="InputGroup__StyledInputGroup-boKjnP hAugXU"
data-test="test"
>
<span
Expand All @@ -2047,7 +2047,7 @@ exports[`Storyshots InputGroup Playground 1`] = `
className="InputGroup__StyledChild-bpaCT daJJeL"
>
<label
className="Select__Label-hzoCkw fshYAU"
className="Select__Label-hzoCkw inFCSO"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -2095,7 +2095,7 @@ exports[`Storyshots InputGroup Playground 1`] = `
className="InputGroup__StyledChild-bpaCT jLivMh"
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -2126,7 +2126,7 @@ exports[`Storyshots InputGroup Playground 1`] = `
className="InputGroup__StyledChild-bpaCT frCGBA"
>
<label
className="Select__Label-hzoCkw fshYAU"
className="Select__Label-hzoCkw inFCSO"
data-test={undefined}
>
<div
Expand Down Expand Up @@ -2174,7 +2174,7 @@ exports[`Storyshots InputGroup Playground 1`] = `
className="InputGroup__StyledChild-bpaCT ifkQYU"
>
<label
className="InputField__Field-hAVqzR gZONT"
className="InputField__Field-hAVqzR ffRkrY"
data-test={undefined}
>
<div
Expand Down
1 change: 1 addition & 0 deletions src/InputGroup/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const StyledInputGroup = styled(({ children, className, dataTest }) => (
</div>
))`
display: flex;
width: 100%;
flex-direction: column;
position: relative;
Expand Down
6 changes: 3 additions & 3 deletions src/Radio/__snapshots__/Radio.stories.storyshot
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ exports[`Storyshots Radio Default 1`] = `
>
<label
checked={false}
className="Radio__Label-bpjkjl iJHPXt"
className="Radio__Label-bpjkjl bjtIrm"
data-test={undefined}
>
<input
Expand Down Expand Up @@ -390,7 +390,7 @@ exports[`Storyshots Radio Playground 1`] = `
>
<label
checked={true}
className="Radio__Label-bpjkjl rQIqE"
className="Radio__Label-bpjkjl LjWUQ"
data-test="test"
>
<input
Expand Down Expand Up @@ -806,7 +806,7 @@ exports[`Storyshots Radio With help 1`] = `
>
<label
checked={false}
className="Radio__Label-bpjkjl iJHPXt"
className="Radio__Label-bpjkjl bjtIrm"
data-test={undefined}
>
<input
Expand Down
1 change: 1 addition & 0 deletions src/Radio/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const Label = styled(({ disabled, theme, type, hasError, ...props }) => (
))`
font-family: ${({ theme }) => theme.orbit.fontFamily};
display: flex;
width: 100%;
flex-direction: row;
align-items: self-start;
opacity: ${({ disabled, theme }) => (disabled ? theme.orbit.opacityCheckboxDisabled : "1")};
Expand Down
Loading

0 comments on commit 77a2c13

Please sign in to comment.