@utilitywarehouse/hearth-react-native 0.35.7 → 0.35.8

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 (185) hide show
  1. package/SKILL.md +129 -3
  2. package/build/components/Accordion/Accordion.figma.d.ts +15 -0
  3. package/build/components/Accordion/Accordion.figma.js +20 -0
  4. package/build/components/Accordion/AccordionItem.figma.d.ts +17 -0
  5. package/build/components/Accordion/AccordionItem.figma.js +26 -0
  6. package/build/components/Alert/Alert.figma.d.ts +33 -0
  7. package/build/components/Alert/Alert.figma.js +40 -0
  8. package/build/components/Avatar/Avatar.figma.d.ts +16 -0
  9. package/build/components/Avatar/Avatar.figma.js +29 -0
  10. package/build/components/Badge/Badge.figma.d.ts +21 -0
  11. package/build/components/Badge/Badge.figma.js +47 -0
  12. package/build/components/Banner/Banner.figma.d.ts +26 -0
  13. package/build/components/Banner/Banner.figma.js +47 -0
  14. package/build/components/Banner/BannerIllustration.figma.d.ts +11 -0
  15. package/build/components/Banner/BannerIllustration.figma.js +13 -0
  16. package/build/components/BottomSheet/BottomSheetModal.figma.d.ts +11 -0
  17. package/build/components/BottomSheet/BottomSheetModal.figma.js +11 -0
  18. package/build/components/Button/Button.figma.d.ts +38 -0
  19. package/build/components/Button/Button.figma.js +84 -0
  20. package/build/components/Card/Card.figma.d.ts +16 -0
  21. package/build/components/Card/Card.figma.js +49 -0
  22. package/build/components/Card/CardAction/CardAction.figma.d.ts +35 -0
  23. package/build/components/Card/CardAction/CardAction.figma.js +104 -0
  24. package/build/components/Carousel/Carousel.figma.d.ts +17 -0
  25. package/build/components/Carousel/Carousel.figma.js +18 -0
  26. package/build/components/Checkbox/Checkbox.figma.d.ts +22 -0
  27. package/build/components/Checkbox/Checkbox.figma.js +29 -0
  28. package/build/components/Checkbox/CheckboxGroup.figma.d.ts +26 -0
  29. package/build/components/Checkbox/CheckboxGroup.figma.js +46 -0
  30. package/build/components/Checkbox/CheckboxImage.figma.d.ts +11 -0
  31. package/build/components/Checkbox/CheckboxImage.figma.js +10 -0
  32. package/build/components/Checkbox/CheckboxTileRoot.figma.d.ts +20 -0
  33. package/build/components/Checkbox/CheckboxTileRoot.figma.js +22 -0
  34. package/build/components/Combobox/Combobox.figma.d.ts +23 -0
  35. package/build/components/Combobox/Combobox.figma.js +69 -0
  36. package/build/components/CurrencyInput/CurrencyInput.figma.d.ts +31 -0
  37. package/build/components/CurrencyInput/CurrencyInput.figma.js +51 -0
  38. package/build/components/DateInput/DateInput.figma.d.ts +41 -0
  39. package/build/components/DateInput/DateInput.figma.js +87 -0
  40. package/build/components/DatePicker/DatePicker.figma.d.ts +25 -0
  41. package/build/components/DatePicker/DatePicker.figma.js +23 -0
  42. package/build/components/DatePickerInput/DatePickerInput.figma.d.ts +25 -0
  43. package/build/components/DatePickerInput/DatePickerInput.figma.js +52 -0
  44. package/build/components/DescriptionList/DescriptionList.figma.d.ts +26 -0
  45. package/build/components/DescriptionList/DescriptionList.figma.js +59 -0
  46. package/build/components/DescriptionList/DescriptionListItem.figma.d.ts +22 -0
  47. package/build/components/DescriptionList/DescriptionListItem.figma.js +42 -0
  48. package/build/components/Divider/Divider.figma.d.ts +13 -0
  49. package/build/components/Divider/Divider.figma.js +14 -0
  50. package/build/components/ExpandableCard/ExpandableCard.figma.d.ts +28 -0
  51. package/build/components/ExpandableCard/ExpandableCard.figma.js +52 -0
  52. package/build/components/ExpandableCard/ExpandableCardGroup.figma.d.ts +23 -0
  53. package/build/components/ExpandableCard/ExpandableCardGroup.figma.js +55 -0
  54. package/build/components/FormField/FormField.figma.d.ts +15 -0
  55. package/build/components/FormField/FormField.figma.js +27 -0
  56. package/build/components/Helper/HelperText.figma.d.ts +13 -0
  57. package/build/components/Helper/HelperText.figma.js +12 -0
  58. package/build/components/HighlightBanner/HighlightBanner.figma.d.ts +19 -0
  59. package/build/components/HighlightBanner/HighlightBanner.figma.js +45 -0
  60. package/build/components/IconButton/IconButton.figma.d.ts +22 -0
  61. package/build/components/IconButton/IconButton.figma.js +47 -0
  62. package/build/components/IconContainer/IconContainer.figma.d.ts +20 -0
  63. package/build/components/IconContainer/IconContainer.figma.js +43 -0
  64. package/build/components/IndicatorIconButton/IndicatorIconButton.figma.d.ts +17 -0
  65. package/build/components/IndicatorIconButton/IndicatorIconButton.figma.js +23 -0
  66. package/build/components/InlineLink/InlineLink.d.ts +1 -1
  67. package/build/components/InlineLink/InlineLink.js +7 -2
  68. package/build/components/InlineLink/InlineLink.props.d.ts +2 -0
  69. package/build/components/InlineLink/InlineLinkRoot.d.ts +1 -1
  70. package/build/components/InlineLink/InlineLinkRoot.js +8 -3
  71. package/build/components/Input/Input.figma.d.ts +28 -0
  72. package/build/components/Input/Input.figma.js +67 -0
  73. package/build/components/Input/Input_1.figma.d.ts +22 -0
  74. package/build/components/Input/Input_1.figma.js +54 -0
  75. package/build/components/Input/Input_2.figma.d.ts +17 -0
  76. package/build/components/Input/Input_2.figma.js +34 -0
  77. package/build/components/Label/Label.figma.d.ts +14 -0
  78. package/build/components/Label/Label.figma.js +19 -0
  79. package/build/components/Link/Link.d.ts +1 -1
  80. package/build/components/Link/Link.figma.d.ts +27 -0
  81. package/build/components/Link/Link.figma.js +45 -0
  82. package/build/components/Link/Link.js +7 -2
  83. package/build/components/Link/Link.props.d.ts +2 -0
  84. package/build/components/Link/LinkRoot.d.ts +1 -1
  85. package/build/components/Link/LinkRoot.js +8 -3
  86. package/build/components/List/List.figma.d.ts +21 -0
  87. package/build/components/List/List.figma.js +49 -0
  88. package/build/components/List/ListAction/ListAction.figma.d.ts +15 -0
  89. package/build/components/List/ListAction/ListAction.figma.js +17 -0
  90. package/build/components/List/ListItem/ListItem.figma.d.ts +33 -0
  91. package/build/components/List/ListItem/ListItem.figma.js +83 -0
  92. package/build/components/List/ListItem/ListItemLeadingContent.figma.d.ts +14 -0
  93. package/build/components/List/ListItem/ListItemLeadingContent.figma.js +17 -0
  94. package/build/components/List/ListItem/ListItemTrailingContent.figma.d.ts +13 -0
  95. package/build/components/List/ListItem/ListItemTrailingContent.figma.js +14 -0
  96. package/build/components/Menu/Menu.figma.d.ts +14 -0
  97. package/build/components/Menu/Menu.figma.js +33 -0
  98. package/build/components/Menu/MenuItem.figma.d.ts +29 -0
  99. package/build/components/Menu/MenuItem.figma.js +45 -0
  100. package/build/components/Modal/Modal.figma.d.ts +24 -0
  101. package/build/components/Modal/Modal.figma.js +64 -0
  102. package/build/components/NavModal/NavModal.figma.d.ts +19 -0
  103. package/build/components/NavModal/NavModal.figma.js +42 -0
  104. package/build/components/Pagination/Pagination.figma.d.ts +16 -0
  105. package/build/components/Pagination/Pagination.figma.js +20 -0
  106. package/build/components/PillGroup/Pill.figma.d.ts +17 -0
  107. package/build/components/PillGroup/Pill.figma.js +21 -0
  108. package/build/components/PillGroup/PillGroup.figma.d.ts +13 -0
  109. package/build/components/PillGroup/PillGroup.figma.js +18 -0
  110. package/build/components/ProgressBar/ProgressBar.circular.figma.d.ts +16 -0
  111. package/build/components/ProgressBar/ProgressBar.circular.figma.js +35 -0
  112. package/build/components/ProgressBar/ProgressBar.figma.d.ts +15 -0
  113. package/build/components/ProgressBar/ProgressBar.figma.js +31 -0
  114. package/build/components/ProgressStepper/ProgressStep.figma.d.ts +15 -0
  115. package/build/components/ProgressStepper/ProgressStep.figma.js +17 -0
  116. package/build/components/ProgressStepper/ProgressStepper.figma.d.ts +13 -0
  117. package/build/components/ProgressStepper/ProgressStepper.figma.js +14 -0
  118. package/build/components/Radio/Radio.figma.d.ts +15 -0
  119. package/build/components/Radio/Radio.figma.js +17 -0
  120. package/build/components/Radio/RadioGroup.figma.d.ts +19 -0
  121. package/build/components/Radio/RadioGroup.figma.js +45 -0
  122. package/build/components/Radio/RadioImage.figma.d.ts +11 -0
  123. package/build/components/Radio/RadioImage.figma.js +10 -0
  124. package/build/components/Radio/RadioTile.figma.d.ts +16 -0
  125. package/build/components/Radio/RadioTile.figma.js +23 -0
  126. package/build/components/RadioCard/RadioCard.figma.d.ts +16 -0
  127. package/build/components/RadioCard/RadioCard.figma.js +22 -0
  128. package/build/components/Rating/Rating.figma.d.ts +12 -0
  129. package/build/components/Rating/Rating.figma.js +18 -0
  130. package/build/components/Roundel/Roundel.figma.d.ts +13 -0
  131. package/build/components/Roundel/Roundel.figma.js +15 -0
  132. package/build/components/SectionHeader/SectionHeader.figma.d.ts +21 -0
  133. package/build/components/SectionHeader/SectionHeader.figma.js +50 -0
  134. package/build/components/SegmentedControl/SegmentedControl.figma.d.ts +16 -0
  135. package/build/components/SegmentedControl/SegmentedControl.figma.js +20 -0
  136. package/build/components/SegmentedControl/SegmentedControlOption.figma.d.ts +17 -0
  137. package/build/components/SegmentedControl/SegmentedControlOption.figma.js +23 -0
  138. package/build/components/Select/Select.figma.d.ts +24 -0
  139. package/build/components/Select/Select.figma.js +65 -0
  140. package/build/components/Select/SelectOption.figma.d.ts +15 -0
  141. package/build/components/Select/SelectOption.figma.js +27 -0
  142. package/build/components/Spinner/Spinner.figma.d.ts +13 -0
  143. package/build/components/Spinner/Spinner.figma.js +16 -0
  144. package/build/components/Spinner/Spinner.js +1 -1
  145. package/build/components/Spinner/Spinner.web.js +1 -1
  146. package/build/components/StepperInput/StepperInput.figma.d.ts +25 -0
  147. package/build/components/StepperInput/StepperInput.figma.js +32 -0
  148. package/build/components/Switch/Switch.figma.d.ts +15 -0
  149. package/build/components/Switch/Switch.figma.js +18 -0
  150. package/build/components/Table/Table.figma.d.ts +14 -0
  151. package/build/components/Table/Table.figma.js +38 -0
  152. package/build/components/Table/TableHeaderCell.figma.d.ts +15 -0
  153. package/build/components/Table/TableHeaderCell.figma.js +31 -0
  154. package/build/components/Tabs/Tab.figma.d.ts +14 -0
  155. package/build/components/Tabs/Tab.figma.js +14 -0
  156. package/build/components/Tabs/Tab.js +1 -1
  157. package/build/components/Tabs/Tabs.figma.d.ts +14 -0
  158. package/build/components/Tabs/Tabs.figma.js +21 -0
  159. package/build/components/Textarea/Textarea.figma.d.ts +27 -0
  160. package/build/components/Textarea/Textarea.figma.js +53 -0
  161. package/build/components/TimePicker/TimePicker.figma.d.ts +16 -0
  162. package/build/components/TimePicker/TimePicker.figma.js +30 -0
  163. package/build/components/TimePickerInput/TimePickerInput.figma.d.ts +29 -0
  164. package/build/components/TimePickerInput/TimePickerInput.figma.js +53 -0
  165. package/build/components/Timeline/Timeline.figma.d.ts +14 -0
  166. package/build/components/Timeline/Timeline.figma.js +23 -0
  167. package/build/components/Timeline/TimelineItemProgress.figma.d.ts +16 -0
  168. package/build/components/Timeline/TimelineItemProgress.figma.js +30 -0
  169. package/build/components/Timeline/TimelineItemStatic.figma.d.ts +16 -0
  170. package/build/components/Timeline/TimelineItemStatic.figma.js +30 -0
  171. package/build/components/Toast/ToastItem.figma.d.ts +20 -0
  172. package/build/components/Toast/ToastItem.figma.js +42 -0
  173. package/build/components/ToggleButtonCard/ToggleButtonCard.figma.d.ts +14 -0
  174. package/build/components/ToggleButtonCard/ToggleButtonCard.figma.js +28 -0
  175. package/build/components/ToggleButtonCard/ToggleButtonCardRoot.js +16 -3
  176. package/build/components/UnstyledIconButton/UnstyledIconButton.figma.d.ts +21 -0
  177. package/build/components/UnstyledIconButton/UnstyledIconButton.figma.js +32 -0
  178. package/build/components/VerificationInput/VerificationInput.figma.d.ts +19 -0
  179. package/build/components/VerificationInput/VerificationInput.figma.js +22 -0
  180. package/build/components/index.d.ts +1 -0
  181. package/build/components/index.js +1 -0
  182. package/package.json +5 -4
  183. package/public/llms/components/list.md +6 -11
  184. package/public/llms/docs/ai-tooling.md +27 -5
  185. package/public/llms/docs/introduction.md +1 -1
@@ -329,15 +329,9 @@ You can use the `SectionHeader` component to add a heading and supporting text t
329
329
 
330
330
  ```tsx
331
331
  // Example usage
332
- import {
333
- List,
334
- ListItem,
335
- ListItemIcon,
336
- ListItemTrailingIcon,
337
- } from '@utilitywarehouse/hearth-react-native';
332
+ import { List, ListItem, ListItemIcon } from '@utilitywarehouse/hearth-react-native';
338
333
  import {
339
334
  BillMediumIcon,
340
- ChevronRightSmallIcon,
341
335
  PaymentMediumIcon,
342
336
  HomeMediumIcon,
343
337
  UserMediumIcon,
@@ -353,34 +347,35 @@ const MyComponent = ({ navigate }) => (
353
347
  heading="Bills"
354
348
  helperText="View your bills"
355
349
  leadingContent={<ListItemIcon as={BillMediumIcon} />}
356
- trailingContent={<ListItemTrailingIcon as={ChevronRightSmallIcon} />}
357
350
  onPress={() => console.log('pressed')}
358
351
  />
359
352
  <ListItem
360
353
  heading="Payments"
361
354
  helperText="Make a payment"
362
355
  leadingContent={<ListItemIcon as={PaymentMediumIcon} />}
363
- trailingContent={<ListItemTrailingIcon as={ChevronRightSmallIcon} />}
364
356
  onPress={() => console.log('pressed')}
365
357
  />
366
358
  <ListItem
367
359
  heading="Moving home"
368
360
  helperText="Tell us if you're moving"
369
361
  leadingContent={<ListItemIcon as={HomeMediumIcon} />}
370
- trailingContent={<ListItemTrailingIcon as={ChevronRightSmallIcon} />}
371
362
  onPress={() => console.log('pressed')}
372
363
  />
373
364
  <ListItem
374
365
  heading="Refer a friend"
375
366
  helperText="Get rewarded with a friend"
376
367
  leadingContent={<ListItemIcon as={UserMediumIcon} />}
377
- trailingContent={<ListItemTrailingIcon as={ChevronRightSmallIcon} />}
378
368
  onPress={() => console.log('pressed')}
379
369
  />
380
370
  </List>
381
371
  );
382
372
  ```
383
373
 
374
+ `ListItem` renders its own trailing chevron automatically when `onPress` is
375
+ set and `trailingContent` is omitted — no need to pass
376
+ `trailingContent={<ListItemTrailingIcon as={ChevronRightSmallIcon} />}`
377
+ yourself unless you want a different trailing element.
378
+
384
379
  ### `List` with `ListAction`
385
380
 
386
381
  You can use the `ListAction` component to add actionable items to your list.
@@ -1,6 +1,8 @@
1
1
  # AI Tooling
2
2
 
3
3
  - [Plugin](#plugin)
4
+ - [Claude CLI](#claude-cli)
5
+ - [Claude Desktop](#claude-desktop)
4
6
  - [llms.txt and markdown docs](#llms-txt-and-markdown-docs)
5
7
  - [Agent Skill](#agent-skill)
6
8
  - [Hearth React Native MCP Server](#hearth-react-native-mcp-server)
@@ -13,7 +15,7 @@ context it needs to build with Hearth correctly.
13
15
  If you're building UI from a design in Figma, start with Figma's MCP Server.
14
16
  This should be the first step, since it gives your agent direct access to the
15
17
  design you're implementing. You can read more information about setting this up
16
- in the root AI Toolkit documentation.
18
+ in the [root AI Toolkit documentation](https://hearth.prod.uw.systems/?path=/docs/ai-toolkit--docs).
17
19
 
18
20
  Hearth's own AI tooling then supplements it for most use cases, filling in the
19
21
  parts of the Hearth React Native API and usage guidance that the design alone
@@ -26,10 +28,30 @@ doesn't capture:
26
28
  ## Plugin
27
29
 
28
30
  The Hearth AI Toolkit plugin is the recommended way to set up your agent with
29
- the Hearth React Native AI Tools. It will automatically add the skill and MCP
30
- server to your agent configuration, and ensure that your agent has access to
31
- the latest Hearth React Native documentation and usage guidance. How to install
32
- and use the plugin is documented in the root AI Toolkit documentation.
31
+ the Hearth React Native AI Tools. It will automatically add the `hearth-react-native`
32
+ skill and MCP server to your agent configuration, and ensure that your agent has
33
+ access to the latest Hearth React Native documentation and usage guidance.
34
+
35
+ ### Claude CLI
36
+
37
+ ```console
38
+ /plugin marketplace add utilitywarehouse/hearth
39
+ /plugin install hearth-ai-toolkit@hearth-plugins
40
+ ```
41
+
42
+ ### Claude Desktop
43
+
44
+ In the desktop app, click on **Customize** in the sidebar, then navigate to
45
+ **Plugins**. In the **Add** menu, choose **Add Marketplace**, then select the
46
+ **utilitywarehouse/hearth** repository, and click **Sync**.
47
+
48
+ This will add the `hearth-plugins` marketplace to Claude, and if you then click
49
+ the **+** symbol in the corner of the Hearth Design Systems card, you will have
50
+ the plugin installed and ready to use.
51
+
52
+ See the [root AI Toolkit documentation](https://hearth.prod.uw.systems/?path=/docs/ai-toolkit--docs)
53
+ for the full plugin scope (it also covers `hearth-react`), and for how to
54
+ combine it with the Figma MCP Server.
33
55
 
34
56
  ## llms.txt and markdown docs
35
57
 
@@ -1,7 +1,7 @@
1
1
  # Hearth React Native
2
2
 
3
3
  React Native component library for building UIs at Utility Warehouse.<br/>
4
- Current version: v0.35.7
4
+ Current version: v0.35.8
5
5
 
6
6
  Hearth React Native is a comprehensive design system library for React Native, providing reusable components, consistent styling, and tools to streamline UI development. It is built to enhance productivity and maintain design consistency across projects.
7
7