0.0.54 โ€ข Published 1 year ago

@hired/hcl v0.0.54

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

๐Ÿ“š Take me to Storybook

hcl ๐Ÿงช

hcl is a component library developed for implementing UI at hired.com.

The library is built on the following principles:

  1. Look pretty close to the rest of hired.com
  2. Make components rapidly available
  3. Be as accessible as possible given development timeframes
  4. Don't collide with the myriad other UI implementations on the platform
  5. Enable development without full reliance on design input
  6. Don't expose implementation details (yes, that means Tailwind is not coming to the hired.com codebase)
  7. Provide easy access to additional styling and overrides where appropriate
  8. Don't reinvent the wheel, use existing headless UI libraries when we can
  9. Target the tech stack and versioning of the hired.com codebase dependencies
  10. Be consistent

Developing hcl

Running hcl locally

  1. Run yarn storybook to start the Storybook server. This is where you will develop and document hcl components.

Linking hcl to hired/hired

Linking hcl with hired allows you to see changes you've made to hcl locally within the hired dev environment.

  1. From the hcl repo, run yarn link
  2. From the hired repo, run yarn link @hired/hcl

Running into issues with linking?

Running yarn build within hired/hired will create artifacts that will be served to the browser and may result in changes to your linked package not being shown on screen, as well as runtime errors. One workaround is to run rails assets:clobber in your hired/hired project (this will remove public/vite-dev as well as vite caches) and to serve JS assets via yarn start instead.

Note: running your rails server without running the yarn server will also trigger a build, causing the same issue detailed above.

๐Ÿค“ Please add any new issues and solutions that may arise ๐Ÿค“

๐Ÿšจ Remember to: ๐Ÿšจ

  1. Export your components in src/components/index.ts
  2. Increment the semantic version of the package whenever making an update on anything that gets exported from the library
  3. Bump up the version of hcl in hired/hired any time a new version is published
0.0.52

1 year ago

0.0.53

1 year ago

0.0.54

1 year ago

0.0.51

1 year ago

0.0.50

1 year ago

0.0.48

1 year ago

0.0.49

1 year ago

0.0.46

1 year ago

0.0.47

1 year ago

0.0.44

1 year ago

0.0.45

1 year ago

0.0.45-rc

1 year ago

0.0.41

1 year ago

0.0.42

1 year ago

0.0.43

1 year ago

0.0.40

1 year ago

0.0.39

1 year ago

0.0.38

1 year ago

0.0.37

1 year ago

0.0.30

1 year ago

0.0.31

1 year ago

0.0.32

1 year ago

0.0.33

1 year ago

0.0.28

1 year ago

0.0.29

1 year ago

0.0.25

1 year ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.21

1 year ago

0.0.22

1 year ago

0.0.23

1 year ago

0.0.24

1 year ago

0.0.20

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.13

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.5

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.3

1 year ago

0.0.4

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago