Skip to content

Conversation

@DanCouper
Copy link
Contributor

@DanCouper DanCouper commented May 20, 2021

This is a big job, but it can't really be PRed in bits, it needs a pretty much fully-functional result to be usefully reviewed.

Tasks

  • create working environments: @thingco/component-library-v2 and @thingco/component-library-native-v2
  • create React Native playground to allow development of latter in parallel to former
  • install Stitches for former

Links

(here so I can reference them easily rather than having them in a few of the million and one tabs I have open)

TS/React stuff

SVG Stuff -- this is a painful workflow but it'll do to get the icons functional:

Material Design -- not the prettiest thing ever but need the thinking behind it

Other systems

Various articles

Various stuff

Useful resources

DanCouper added 14 commits May 12, 2021 14:38
…ound

NOTES:
- no tooltips yet
- definitely need to sort out the annotations
- switch Yarn to use node-modules for now to allow Node to use ESModules. NOTE I don't really want to do this, but it'll all work the same, and can bring PnP back in once ESModule support is finalised.
- add zx as a dependency
- write a script to create new packages
- create @thingco/component-lib-v2 package
…cluding icon generation

- set up Stitches
- added a type scale to generate font/general sizings
- filled in basics of the theme
- added a few basic components (Text, mainly)
- added a very primitive design tool to aid in producing the lib
- added all this to playground
- ported Polymorphic component type from radix-ui in preparation for building out components
- zx scripting added to generate line icons
- initial checks on sanity of generated code done
- script to build icons now functions, and generates code that works
- it accepts a directory of files and builds a file called LineIcons.tsx
- this typechecks
- NOTE to allow it to typecheck, have had to set skipLibCheck to true in the component lib tsconfig, will open issue on stitches for it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants