@ecohouse/ui 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +2 -1
  2. package/dist/index.cjs +1266 -109
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +188 -12
  5. package/dist/index.d.ts +188 -12
  6. package/dist/index.js +1260 -112
  7. package/dist/index.js.map +1 -1
  8. package/package.json +2 -1
  9. package/src/components/Button/Button.tsx +106 -88
  10. package/src/components/Checkbox/Checkbox.stories.tsx +112 -0
  11. package/src/components/Checkbox/Checkbox.tsx +150 -0
  12. package/src/components/Checkbox/index.ts +2 -0
  13. package/src/components/Input/Input.stories.tsx +11 -40
  14. package/src/components/Input/Input.tsx +58 -54
  15. package/src/components/Input/index.ts +1 -1
  16. package/src/components/Select/Select.stories.tsx +196 -0
  17. package/src/components/Select/Select.tsx +851 -0
  18. package/src/components/Select/index.ts +2 -0
  19. package/src/components/Textarea/Textarea.stories.tsx +71 -0
  20. package/src/components/Textarea/Textarea.tsx +241 -0
  21. package/src/components/Textarea/index.ts +2 -0
  22. package/src/components/Toggle/Toggle.stories.tsx +100 -0
  23. package/src/components/Toggle/Toggle.tsx +176 -0
  24. package/src/components/Toggle/index.ts +2 -0
  25. package/src/components/index.ts +13 -1
  26. package/src/icons/Check/CheckIcon.tsx +26 -0
  27. package/src/icons/Check/CheckIcon.web.tsx +32 -0
  28. package/src/icons/Check/checkPath.ts +2 -0
  29. package/src/icons/Check/index.ts +1 -0
  30. package/src/icons/ChevronDown/ChevronDownIcon.tsx +30 -0
  31. package/src/icons/ChevronDown/ChevronDownIcon.web.tsx +36 -0
  32. package/src/icons/ChevronDown/chevronDownPath.ts +2 -0
  33. package/src/icons/ChevronDown/index.ts +1 -0
  34. package/src/icons/Search/SearchIcon.tsx +37 -0
  35. package/src/icons/Search/SearchIcon.web.tsx +43 -0
  36. package/src/icons/Search/index.ts +1 -0
  37. package/src/icons/Search/searchPath.ts +5 -0
  38. package/src/icons/index.ts +3 -0
  39. package/src/icons/registry.ts +8 -2
  40. package/src/index.ts +21 -3
  41. package/src/theme/index.ts +7 -1
  42. package/src/theme/typography.ts +52 -2
  43. package/src/utils/mergeRefs.ts +20 -0
  44. package/src/web/styles/fonts.css +1 -0
  45. package/src/web/styles/typography.css +6 -2
package/README.md CHANGED
@@ -97,9 +97,10 @@ module.exports = {
97
97
  };
98
98
  ```
99
99
 
100
- Optional web typography helpers:
100
+ Optional web typography helpers (import fonts first):
101
101
 
102
102
  ```ts
103
+ import "@ecohouse/ui/web/fonts.css";
103
104
  import "@ecohouse/ui/web/typography.css";
104
105
  ```
105
106