Skip to content

Commit

Permalink
New components refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
mgendron-equisofte authored and christian-roy committed Aug 20, 2019
1 parent c0ee19a commit d23f445
Show file tree
Hide file tree
Showing 37 changed files with 62 additions and 765 deletions.
4 changes: 0 additions & 4 deletions packages/react/src/components/a11y/styles/visuallyhidden.js

This file was deleted.

21 changes: 0 additions & 21 deletions packages/react/src/components/a11y/visuallyhidden.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/react/src/components/buttons/abstract-button.js

This file was deleted.

24 changes: 0 additions & 24 deletions packages/react/src/components/buttons/add-button.js

This file was deleted.

33 changes: 0 additions & 33 deletions packages/react/src/components/buttons/button.js

This file was deleted.

22 changes: 0 additions & 22 deletions packages/react/src/components/buttons/search-button.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/react/src/components/buttons/styles/abstract.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/react/src/components/buttons/styles/primary.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/react/src/components/buttons/styles/secondary.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/react/src/components/buttons/styles/tertiary.js

This file was deleted.

13 changes: 0 additions & 13 deletions packages/react/src/components/card.js

This file was deleted.

14 changes: 0 additions & 14 deletions packages/react/src/components/enso-spinner.js

This file was deleted.

20 changes: 0 additions & 20 deletions packages/react/src/components/feedbacks/invalid-field.js

This file was deleted.

40 changes: 0 additions & 40 deletions packages/react/src/components/forms/field-container.js

This file was deleted.

4 changes: 2 additions & 2 deletions packages/react/src/components/forms/field-container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ const StyledDiv = styled.div`
input,
select,
textarea {
border-color: ${(props: FieldContainerProps) => (props.valid ? 'rgb(217, 221, 226)' : 'rgb(164, 12, 46)')};
border-color: ${(props: {valid: boolean}) => (props.valid ? 'rgb(217, 221, 226)' : 'rgb(164, 12, 46)')};
}
&:focus {
border-color: ${(props: FieldContainerProps) => (props.valid ? 'rgb(0, 128, 165)' : 'rgb(164, 12, 46)')};
border-color: ${(props: {valid: boolean}) => (props.valid ? 'rgb(0, 128, 165)' : 'rgb(164, 12, 46)')};
}
`;

Expand Down
26 changes: 0 additions & 26 deletions packages/react/src/components/forms/inputs/checkbox.js

This file was deleted.

21 changes: 0 additions & 21 deletions packages/react/src/components/forms/inputs/option-button.js

This file was deleted.

12 changes: 0 additions & 12 deletions packages/react/src/components/forms/inputs/search-contextual.js

This file was deleted.

Loading

0 comments on commit d23f445

Please sign in to comment.