@ecohouse/ui 0.1.35 → 0.1.38

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 (51) hide show
  1. package/README.md +3 -0
  2. package/dist/index.cjs +1221 -531
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +231 -128
  5. package/dist/index.d.ts +231 -128
  6. package/dist/index.js +1144 -463
  7. package/dist/index.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/components/Accordion/Accordion.stories.tsx +47 -0
  10. package/src/components/Accordion/Accordion.tsx +165 -0
  11. package/src/components/Accordion/index.ts +2 -0
  12. package/src/components/AutocompleteInput/AutocompleteInput.stories.tsx +80 -0
  13. package/src/components/AutocompleteInput/AutocompleteInput.tsx +313 -0
  14. package/src/components/AutocompleteInput/index.ts +2 -0
  15. package/src/components/Counter/Counter.tsx +61 -26
  16. package/src/components/QuantityInput/QuantityInput.stories.tsx +45 -0
  17. package/src/components/QuantityInput/QuantityInput.tsx +153 -0
  18. package/src/components/QuantityInput/index.ts +2 -0
  19. package/src/components/SegmentedToggle/SegmentedToggle.stories.tsx +9 -0
  20. package/src/components/SegmentedToggle/SegmentedToggle.tsx +19 -13
  21. package/src/components/index.ts +9 -0
  22. package/src/icons/ArrowLeft/ArrowLeftIcon.test.ts +10 -0
  23. package/src/icons/ArrowLeft/ArrowLeftIcon.tsx +21 -0
  24. package/src/icons/ArrowLeft/ArrowLeftIcon.web.tsx +26 -0
  25. package/src/icons/ArrowLeft/arrowLeftPath.ts +3 -0
  26. package/src/icons/ArrowLeft/index.ts +1 -0
  27. package/src/icons/CurrentLocation/CurrentLocationIcon.test.ts +10 -0
  28. package/src/icons/CurrentLocation/CurrentLocationIcon.tsx +25 -0
  29. package/src/icons/CurrentLocation/CurrentLocationIcon.web.tsx +30 -0
  30. package/src/icons/CurrentLocation/currentLocationPath.ts +3 -0
  31. package/src/icons/CurrentLocation/index.ts +1 -0
  32. package/src/icons/MoreHorizontal/MoreHorizontalIcon.tsx +26 -0
  33. package/src/icons/MoreHorizontal/MoreHorizontalIcon.web.tsx +25 -0
  34. package/src/icons/MoreHorizontal/index.ts +1 -0
  35. package/src/icons/MoreHorizontal/moreHorizontalPath.ts +2 -0
  36. package/src/icons/TableView/TableViewIcon.tsx +20 -0
  37. package/src/icons/TableView/TableViewIcon.web.tsx +26 -0
  38. package/src/icons/TableView/index.ts +1 -0
  39. package/src/icons/TableView/tableViewPath.ts +2 -0
  40. package/src/icons/index.ts +4 -0
  41. package/src/icons/registry.ts +12 -0
  42. package/src/index.ts +15 -0
  43. package/src/primitives/IconStatusBadge/IconStatusBadge.stories.tsx +21 -0
  44. package/src/primitives/IconStatusBadge/IconStatusBadge.tsx +76 -0
  45. package/src/primitives/IconStatusBadge/index.ts +2 -0
  46. package/src/primitives/InfoCardV2/InfoCardV2.stories.tsx +64 -0
  47. package/src/primitives/InfoCardV2/InfoCardV2.tsx +116 -0
  48. package/src/primitives/InfoCardV2/index.ts +2 -0
  49. package/src/primitives/index.ts +7 -0
  50. package/src/theme/colors.test.ts +1 -0
  51. package/src/theme/colors.ts +1 -0
package/README.md CHANGED
@@ -7,10 +7,12 @@ Cross-platform UI component library for EcoHouse. Built with React Native primit
7
7
  | Component | Description |
8
8
  | ----------------------- | ----------------------------------------------------------------------------- |
9
9
  | `Button` | Pill CTA — `primary` / `secondary`, sizes `lg` / `sm`, optional arrow badge |
10
+ | `Accordion` | Expandable surface that safely supports arbitrary interactive content |
10
11
  | `Badge` | Pill label chip — `default` / `transparent`, optional leading icon |
11
12
  | `StatusBadge` | Compact status chip — `active` / `completed` / `cancelled` (booking headers) |
12
13
  | `PaginationDots` | Carousel dots — track `48` wide, height `6`, gap `4` |
13
14
  | `InfoTile` | Icon + title + description tile (house rules / info cards) |
15
+ | `InfoCardV2` | Dashboard metric card with icon, muted label, and emphasized value |
14
16
  | `StepList` | Vertical numbered process steps with connector lines |
15
17
  | `AccountHeader` | Account page header — title, optional back/menu, badge slot, notifications |
16
18
  | `Input` | Text field with label, hint, left/right icons, error & disabled states |
@@ -20,6 +22,7 @@ Cross-platform UI component library for EcoHouse. Built with React Native primit
20
22
  | `Select` | Single/multi-select dropdown with search and keyboard navigation |
21
23
  | `DatePicker` | Single/range calendar dropdown with month navigation and min/max bounds |
22
24
  | `Textarea` | Multi-line text field, same label/hint/state chrome as `Input` |
25
+ | `QuantityInput` | Labeled icon field with controlled/uncontrolled quantity stepper |
23
26
  | `Avatar` | Logged-in user chip (image/name/email) with an optional account dropdown menu |
24
27
  | `AvatarSimple` | Compact account card (avatar + name/email + logout) for sidebars |
25
28
  | `Sidebar` | Account sidebar — logo, nav items, collapse, AvatarSimple footer |