Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
c73f14c
Creates TextArea files.
Vesta-Nassone Apr 7, 2021
bf0261d
Exports the TextArea Component.
Vesta-Nassone Apr 7, 2021
e445d29
Implements the TextArea component.
Vesta-Nassone Apr 7, 2021
568bb6d
Creates a story for the TextArea component.
Vesta-Nassone Apr 7, 2021
eae9544
Adds placeholer prop to TextArea.
Vesta-Nassone Apr 7, 2021
d0203de
Adds a test for value prop to TextArea component.
Vesta-Nassone Apr 7, 2021
e42ebf5
Test TextArea component for placeholder text.
Vesta-Nassone Apr 7, 2021
17cbee7
Adds descriptions to Stroybook.
Vesta-Nassone Apr 7, 2021
1ff1f5c
Fixes possible linting issues.
Vesta-Nassone Apr 7, 2021
86486e3
Attempt to fix the font bug.
Vesta-Nassone Apr 8, 2021
890b26f
rebundled css files
AmoDinho Apr 8, 2021
d454a3d
updated the commnads
AmoDinho Apr 8, 2021
c0a16cc
Fixes Red Hex color to match Figma.
Vesta-Nassone Apr 8, 2021
b95c987
Adjusts the Buttons colors and Hover states to match Figma.
Vesta-Nassone Apr 8, 2021
05370a4
Add a container div around the TextArea.
Vesta-Nassone Apr 8, 2021
b9d8a88
Creates the Checkbox Componet.
Vesta-Nassone Apr 8, 2021
195fd34
Implements the Checkbox Component.
Vesta-Nassone Apr 8, 2021
c471b7d
Exports the Checkbox Component.
Vesta-Nassone Apr 8, 2021
c7d4067
Creates a Checkbox story in Storybook.
Vesta-Nassone Apr 8, 2021
9258b08
Modifies the Checkbox story.
Vesta-Nassone Apr 8, 2021
b89ebac
Merge branch 'master' into feat/TextArea
AmoDinho Apr 8, 2021
fc74b25
Adds the Checkbox states to Storybook.
Vesta-Nassone Apr 8, 2021
fd82472
Adds state to checkbox Component.
Vesta-Nassone Apr 8, 2021
9c305b4
Renames the DatePickerAPI component.
Vesta-Nassone Apr 8, 2021
93563e4
Refactors the DatePicker exports.
Vesta-Nassone Apr 8, 2021
52fc56e
Pulls changes from TeaxtArea.
Vesta-Nassone Apr 8, 2021
b7de7e2
Adds Captions to the Checkbox Stories.
Vesta-Nassone Apr 8, 2021
9e36521
Adjusts the Input size.
Vesta-Nassone Apr 8, 2021
dc39bad
Adjusts the Input Stories Headings.
Vesta-Nassone Apr 8, 2021
97332eb
Renames the DatePickerAPI component in the Tests.
Vesta-Nassone Apr 8, 2021
ce30cbc
Pulls the refence changes from TextArea
Vesta-Nassone Apr 8, 2021
8d58f73
Fixes the <li> descendent issue.
Vesta-Nassone Apr 8, 2021
49dc11c
Fixes the Checked state.
Vesta-Nassone Apr 8, 2021
50cbed3
Fixes the clip-rule and fill-rule issue in LoadingSpinner.
Vesta-Nassone Apr 8, 2021
db96cc0
Adds handleChangeFunction to Checkbox
Vesta-Nassone Apr 8, 2021
706d63f
Adds an id to Checkbox for Testing.
Vesta-Nassone Apr 8, 2021
82fed2d
Export Checkbox.
Vesta-Nassone Apr 8, 2021
4ba4063
Tests the Checkbox component for the correct classname.
Vesta-Nassone Apr 8, 2021
a1870c4
Adds a data-testid to checkbox for testing.
Vesta-Nassone Apr 8, 2021
45c4c3c
Checks the Checkbox component for the correct toggle state.
Vesta-Nassone Apr 8, 2021
32dda85
Rectifies the toggle Test for Checkbox.
Vesta-Nassone Apr 8, 2021
34d39ab
Adds an empty string to className as default.
Vesta-Nassone Apr 8, 2021
0e00f1d
Removes the variant from Checkbox.
Vesta-Nassone Apr 8, 2021
b273c6a
Adds rounded adges to Text area.
Vesta-Nassone Apr 9, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const LoadingSpinner: FC = () => (
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
fillRule="evenodd"
clipRule="evenodd"
d="M18.65 8.35L15.86 11.14C15.54 11.46 15.76 12 16.21 12H18C18 15.31 15.31 18 12 18C11.21 18 10.44 17.85 9.75003 17.56C9.39003 17.41 8.98003 17.52 8.71003 17.79C8.20003 18.3 8.38003 19.16 9.05003 19.43C9.96003 19.8 10.96 20 12 20C16.42 20 20 16.42 20 12H21.79C22.24 12 22.46 11.46 22.14 11.15L19.35 8.36C19.16 8.16 18.84 8.16 18.65 8.35V8.35ZM6.00003 12C6.00003 8.69 8.69003 6 12 6C12.79 6 13.56 6.15 14.25 6.44C14.61 6.59 15.02 6.48 15.29 6.21C15.8 5.7 15.62 4.84 14.95 4.57C14.04 4.2 13.04 4 12 4C7.58003 4 4.00003 7.58 4.00003 12H2.21003C1.76003 12 1.54003 12.54 1.86003 12.85L4.65003 15.64C4.85003 15.84 5.16003 15.84 5.36003 15.64L8.15003 12.85C8.46003 12.54 8.24003 12 7.79003 12H6.00003Z"
fill="white"
/>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
"lint": "tsdx lint",
"watch:css": "postcss src/tailwind.css -o src/index.css -w",
"prepare": "tsdx build",
"storybook": "start-storybook -p 6006",
"storybook": "start-storybook -p 6006 ",
"build-storybook": "build-storybook -o ./storybook-static",
"storybook-run": "npm-run-all --parallel watch:css storybook",
"semantic-release": "semantic-release"
},
"peerDependencies": {
Expand Down
26 changes: 13 additions & 13 deletions src/buttons/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const ImageLoading = styled.div`
`

const Button: FC<Props> = ({
className,
className='',
onClick,
children,
disabled,
Expand Down Expand Up @@ -60,45 +60,45 @@ const Button: FC<Props> = ({
dimensions: `${selectedDimension.height} ${selectedDimension.width}`,
textUtils: 'text-white font-poppins border-white rounded-lg',
hoverState:
'hover:bg-blue-100 focus:outline-none border-2 hover:border-blue-300 hover:text-blue-400',
'hover:bg-blue-100 focus:outline-none border hover:border-blue-300 hover:text-blue-300',
},
BlueDarkButton: {
borderColor: 'border-transparent',
backgroundColor: 'bg-blue-600',
backgroundColor: 'bg-blue-400',
dimensions: `${selectedDimension.height} ${selectedDimension.width}`,
textUtils: 'text-white font-poppins rounded',
hoverState:
'hover:bg-blue-100 focus:outline-none border-2 hover:border-blue-500 hover:text-blue-400',
'hover:bg-blue-100 focus:outline-none border hover:border-blue-400 hover:text-blue-400',
},
BlueDarkTransparentOutlinedButton: {
borderColor: 'border-2 border-solid border-blue-500',
borderColor: 'border border-solid border-blue-400',
backgroundColor: 'bg-transparent',
dimensions: `${selectedDimension.height} ${selectedDimension.width}`,
textUtils: 'text-blue-400 font-poppins rounded',
hoverState: 'hover:bg-blue-500 focus:outline-none hover:text-white',
hoverState: 'hover:bg-blue-400 focus:outline-none hover:text-white',
},
GreenButton: {
borderColor: 'border-transparent',
backgroundColor: 'bg-green-600',
backgroundColor: 'bg-green-300',
dimensions: `${selectedDimension.height} ${selectedDimension.width}`,
textUtils: 'text-white font-poppins rounded',
hoverState:
'hover:bg-green-100 focus:outline-none border-2 hover:border-green-500 hover:text-green-500',
'hover:bg-transparent focus:outline-none border hover:border-green-300 hover:text-green-300',
},
BlueLightestOutlinedButton: {
borderColor: 'border-2 border-solid border-blue-500',
borderColor: 'border border-solid border-blue-300',
backgroundColor: 'bg-blue-100',
dimensions: `${selectedDimension.height} ${selectedDimension.width}`,
textUtils: 'text-blue-500 font-poppins rounded',
hoverState: 'hover:bg-blue-500 focus:outline-none hover:text-white',
textUtils: 'text-blue-300 font-poppins rounded',
hoverState: 'hover:bg-blue-300 focus:outline-none hover:text-white',
},
RedButton: {
borderColor: 'border-transparent',
backgroundColor: 'bg-red-600',
backgroundColor: 'bg-red-300',
dimensions: `${selectedDimension.height} ${selectedDimension.width}`,
textUtils: 'text-white font-poppins rounded',
hoverState:
'hover:bg-red-100 focus:outline-none border-2 hover:border-red-500 hover:text-red-500',
'hover:bg-transparent focus:outline-none border hover:border-red-300 hover:text-red-300',
},
}

Expand Down
Loading