Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

feat(components): create component implementation#472

Merged
bmdalex merged 3 commits intomasterfrom
feat/create-component
Nov 14, 2018
Merged

feat(components): create component implementation#472
bmdalex merged 3 commits intomasterfrom
feat/create-component

Conversation

@bmdalex
Copy link
Collaborator

@bmdalex bmdalex commented Nov 13, 2018

Create component

Description

This PR introduces:

  • the createComponent factory method for creating custom Stardust components (having all Stardust capabilities)
  • example of usage by rewriting Slot component to use createComponent

TODO

  • Unit Tests
  • handle focus zone
  • generate propTypes
  • Update the CHANGELOG.md

Blockers:

@codecov
Copy link

codecov bot commented Nov 14, 2018

Codecov Report

Merging #472 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
- Coverage   88.96%   88.94%   -0.03%     
==========================================
  Files          41       41              
  Lines        1387     1384       -3     
  Branches      202      202              
==========================================
- Hits         1234     1231       -3     
  Misses        149      149              
  Partials        4        4
Impacted Files Coverage Δ
src/components/Input/Input.tsx 100% <100%> (ø) ⬆️
src/components/Segment/Segment.tsx 100% <100%> (ø) ⬆️
src/components/Button/Button.tsx 95.74% <100%> (ø) ⬆️
src/components/Chat/ChatItem.tsx 95.65% <100%> (ø) ⬆️
src/components/Form/FormField.tsx 100% <100%> (ø) ⬆️
src/components/Slot/Slot.tsx 100% <100%> (ø) ⬆️
src/components/Chat/ChatMessage.tsx 96.22% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a27d42...db764e1. Read the comment docs.

@bmdalex bmdalex force-pushed the feat/create-component branch from 88cc6b1 to db764e1 Compare November 14, 2018 12:11
@bmdalex bmdalex merged commit 6493ae4 into master Nov 14, 2018
@bmdalex bmdalex deleted the feat/create-component branch November 14, 2018 12:19
@bmdalex bmdalex mentioned this pull request Nov 14, 2018
6 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants