@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.
- package/SKILL.md +129 -3
- package/build/components/Accordion/Accordion.figma.d.ts +15 -0
- package/build/components/Accordion/Accordion.figma.js +20 -0
- package/build/components/Accordion/AccordionItem.figma.d.ts +17 -0
- package/build/components/Accordion/AccordionItem.figma.js +26 -0
- package/build/components/Alert/Alert.figma.d.ts +33 -0
- package/build/components/Alert/Alert.figma.js +40 -0
- package/build/components/Avatar/Avatar.figma.d.ts +16 -0
- package/build/components/Avatar/Avatar.figma.js +29 -0
- package/build/components/Badge/Badge.figma.d.ts +21 -0
- package/build/components/Badge/Badge.figma.js +47 -0
- package/build/components/Banner/Banner.figma.d.ts +26 -0
- package/build/components/Banner/Banner.figma.js +47 -0
- package/build/components/Banner/BannerIllustration.figma.d.ts +11 -0
- package/build/components/Banner/BannerIllustration.figma.js +13 -0
- package/build/components/BottomSheet/BottomSheetModal.figma.d.ts +11 -0
- package/build/components/BottomSheet/BottomSheetModal.figma.js +11 -0
- package/build/components/Button/Button.figma.d.ts +38 -0
- package/build/components/Button/Button.figma.js +84 -0
- package/build/components/Card/Card.figma.d.ts +16 -0
- package/build/components/Card/Card.figma.js +49 -0
- package/build/components/Card/CardAction/CardAction.figma.d.ts +35 -0
- package/build/components/Card/CardAction/CardAction.figma.js +104 -0
- package/build/components/Carousel/Carousel.figma.d.ts +17 -0
- package/build/components/Carousel/Carousel.figma.js +18 -0
- package/build/components/Checkbox/Checkbox.figma.d.ts +22 -0
- package/build/components/Checkbox/Checkbox.figma.js +29 -0
- package/build/components/Checkbox/CheckboxGroup.figma.d.ts +26 -0
- package/build/components/Checkbox/CheckboxGroup.figma.js +46 -0
- package/build/components/Checkbox/CheckboxImage.figma.d.ts +11 -0
- package/build/components/Checkbox/CheckboxImage.figma.js +10 -0
- package/build/components/Checkbox/CheckboxTileRoot.figma.d.ts +20 -0
- package/build/components/Checkbox/CheckboxTileRoot.figma.js +22 -0
- package/build/components/Combobox/Combobox.figma.d.ts +23 -0
- package/build/components/Combobox/Combobox.figma.js +69 -0
- package/build/components/CurrencyInput/CurrencyInput.figma.d.ts +31 -0
- package/build/components/CurrencyInput/CurrencyInput.figma.js +51 -0
- package/build/components/DateInput/DateInput.figma.d.ts +41 -0
- package/build/components/DateInput/DateInput.figma.js +87 -0
- package/build/components/DatePicker/DatePicker.figma.d.ts +25 -0
- package/build/components/DatePicker/DatePicker.figma.js +23 -0
- package/build/components/DatePickerInput/DatePickerInput.figma.d.ts +25 -0
- package/build/components/DatePickerInput/DatePickerInput.figma.js +52 -0
- package/build/components/DescriptionList/DescriptionList.figma.d.ts +26 -0
- package/build/components/DescriptionList/DescriptionList.figma.js +59 -0
- package/build/components/DescriptionList/DescriptionListItem.figma.d.ts +22 -0
- package/build/components/DescriptionList/DescriptionListItem.figma.js +42 -0
- package/build/components/Divider/Divider.figma.d.ts +13 -0
- package/build/components/Divider/Divider.figma.js +14 -0
- package/build/components/ExpandableCard/ExpandableCard.figma.d.ts +28 -0
- package/build/components/ExpandableCard/ExpandableCard.figma.js +52 -0
- package/build/components/ExpandableCard/ExpandableCardGroup.figma.d.ts +23 -0
- package/build/components/ExpandableCard/ExpandableCardGroup.figma.js +55 -0
- package/build/components/FormField/FormField.figma.d.ts +15 -0
- package/build/components/FormField/FormField.figma.js +27 -0
- package/build/components/Helper/HelperText.figma.d.ts +13 -0
- package/build/components/Helper/HelperText.figma.js +12 -0
- package/build/components/HighlightBanner/HighlightBanner.figma.d.ts +19 -0
- package/build/components/HighlightBanner/HighlightBanner.figma.js +45 -0
- package/build/components/IconButton/IconButton.figma.d.ts +22 -0
- package/build/components/IconButton/IconButton.figma.js +47 -0
- package/build/components/IconContainer/IconContainer.figma.d.ts +20 -0
- package/build/components/IconContainer/IconContainer.figma.js +43 -0
- package/build/components/IndicatorIconButton/IndicatorIconButton.figma.d.ts +17 -0
- package/build/components/IndicatorIconButton/IndicatorIconButton.figma.js +23 -0
- package/build/components/InlineLink/InlineLink.d.ts +1 -1
- package/build/components/InlineLink/InlineLink.js +7 -2
- package/build/components/InlineLink/InlineLink.props.d.ts +2 -0
- package/build/components/InlineLink/InlineLinkRoot.d.ts +1 -1
- package/build/components/InlineLink/InlineLinkRoot.js +8 -3
- package/build/components/Input/Input.figma.d.ts +28 -0
- package/build/components/Input/Input.figma.js +67 -0
- package/build/components/Input/Input_1.figma.d.ts +22 -0
- package/build/components/Input/Input_1.figma.js +54 -0
- package/build/components/Input/Input_2.figma.d.ts +17 -0
- package/build/components/Input/Input_2.figma.js +34 -0
- package/build/components/Label/Label.figma.d.ts +14 -0
- package/build/components/Label/Label.figma.js +19 -0
- package/build/components/Link/Link.d.ts +1 -1
- package/build/components/Link/Link.figma.d.ts +27 -0
- package/build/components/Link/Link.figma.js +45 -0
- package/build/components/Link/Link.js +7 -2
- package/build/components/Link/Link.props.d.ts +2 -0
- package/build/components/Link/LinkRoot.d.ts +1 -1
- package/build/components/Link/LinkRoot.js +8 -3
- package/build/components/List/List.figma.d.ts +21 -0
- package/build/components/List/List.figma.js +49 -0
- package/build/components/List/ListAction/ListAction.figma.d.ts +15 -0
- package/build/components/List/ListAction/ListAction.figma.js +17 -0
- package/build/components/List/ListItem/ListItem.figma.d.ts +33 -0
- package/build/components/List/ListItem/ListItem.figma.js +83 -0
- package/build/components/List/ListItem/ListItemLeadingContent.figma.d.ts +14 -0
- package/build/components/List/ListItem/ListItemLeadingContent.figma.js +17 -0
- package/build/components/List/ListItem/ListItemTrailingContent.figma.d.ts +13 -0
- package/build/components/List/ListItem/ListItemTrailingContent.figma.js +14 -0
- package/build/components/Menu/Menu.figma.d.ts +14 -0
- package/build/components/Menu/Menu.figma.js +33 -0
- package/build/components/Menu/MenuItem.figma.d.ts +29 -0
- package/build/components/Menu/MenuItem.figma.js +45 -0
- package/build/components/Modal/Modal.figma.d.ts +24 -0
- package/build/components/Modal/Modal.figma.js +64 -0
- package/build/components/NavModal/NavModal.figma.d.ts +19 -0
- package/build/components/NavModal/NavModal.figma.js +42 -0
- package/build/components/Pagination/Pagination.figma.d.ts +16 -0
- package/build/components/Pagination/Pagination.figma.js +20 -0
- package/build/components/PillGroup/Pill.figma.d.ts +17 -0
- package/build/components/PillGroup/Pill.figma.js +21 -0
- package/build/components/PillGroup/PillGroup.figma.d.ts +13 -0
- package/build/components/PillGroup/PillGroup.figma.js +18 -0
- package/build/components/ProgressBar/ProgressBar.circular.figma.d.ts +16 -0
- package/build/components/ProgressBar/ProgressBar.circular.figma.js +35 -0
- package/build/components/ProgressBar/ProgressBar.figma.d.ts +15 -0
- package/build/components/ProgressBar/ProgressBar.figma.js +31 -0
- package/build/components/ProgressStepper/ProgressStep.figma.d.ts +15 -0
- package/build/components/ProgressStepper/ProgressStep.figma.js +17 -0
- package/build/components/ProgressStepper/ProgressStepper.figma.d.ts +13 -0
- package/build/components/ProgressStepper/ProgressStepper.figma.js +14 -0
- package/build/components/Radio/Radio.figma.d.ts +15 -0
- package/build/components/Radio/Radio.figma.js +17 -0
- package/build/components/Radio/RadioGroup.figma.d.ts +19 -0
- package/build/components/Radio/RadioGroup.figma.js +45 -0
- package/build/components/Radio/RadioImage.figma.d.ts +11 -0
- package/build/components/Radio/RadioImage.figma.js +10 -0
- package/build/components/Radio/RadioTile.figma.d.ts +16 -0
- package/build/components/Radio/RadioTile.figma.js +23 -0
- package/build/components/RadioCard/RadioCard.figma.d.ts +16 -0
- package/build/components/RadioCard/RadioCard.figma.js +22 -0
- package/build/components/Rating/Rating.figma.d.ts +12 -0
- package/build/components/Rating/Rating.figma.js +18 -0
- package/build/components/Roundel/Roundel.figma.d.ts +13 -0
- package/build/components/Roundel/Roundel.figma.js +15 -0
- package/build/components/SectionHeader/SectionHeader.figma.d.ts +21 -0
- package/build/components/SectionHeader/SectionHeader.figma.js +50 -0
- package/build/components/SegmentedControl/SegmentedControl.figma.d.ts +16 -0
- package/build/components/SegmentedControl/SegmentedControl.figma.js +20 -0
- package/build/components/SegmentedControl/SegmentedControlOption.figma.d.ts +17 -0
- package/build/components/SegmentedControl/SegmentedControlOption.figma.js +23 -0
- package/build/components/Select/Select.figma.d.ts +24 -0
- package/build/components/Select/Select.figma.js +65 -0
- package/build/components/Select/SelectOption.figma.d.ts +15 -0
- package/build/components/Select/SelectOption.figma.js +27 -0
- package/build/components/Spinner/Spinner.figma.d.ts +13 -0
- package/build/components/Spinner/Spinner.figma.js +16 -0
- package/build/components/Spinner/Spinner.js +1 -1
- package/build/components/Spinner/Spinner.web.js +1 -1
- package/build/components/StepperInput/StepperInput.figma.d.ts +25 -0
- package/build/components/StepperInput/StepperInput.figma.js +32 -0
- package/build/components/Switch/Switch.figma.d.ts +15 -0
- package/build/components/Switch/Switch.figma.js +18 -0
- package/build/components/Table/Table.figma.d.ts +14 -0
- package/build/components/Table/Table.figma.js +38 -0
- package/build/components/Table/TableHeaderCell.figma.d.ts +15 -0
- package/build/components/Table/TableHeaderCell.figma.js +31 -0
- package/build/components/Tabs/Tab.figma.d.ts +14 -0
- package/build/components/Tabs/Tab.figma.js +14 -0
- package/build/components/Tabs/Tab.js +1 -1
- package/build/components/Tabs/Tabs.figma.d.ts +14 -0
- package/build/components/Tabs/Tabs.figma.js +21 -0
- package/build/components/Textarea/Textarea.figma.d.ts +27 -0
- package/build/components/Textarea/Textarea.figma.js +53 -0
- package/build/components/TimePicker/TimePicker.figma.d.ts +16 -0
- package/build/components/TimePicker/TimePicker.figma.js +30 -0
- package/build/components/TimePickerInput/TimePickerInput.figma.d.ts +29 -0
- package/build/components/TimePickerInput/TimePickerInput.figma.js +53 -0
- package/build/components/Timeline/Timeline.figma.d.ts +14 -0
- package/build/components/Timeline/Timeline.figma.js +23 -0
- package/build/components/Timeline/TimelineItemProgress.figma.d.ts +16 -0
- package/build/components/Timeline/TimelineItemProgress.figma.js +30 -0
- package/build/components/Timeline/TimelineItemStatic.figma.d.ts +16 -0
- package/build/components/Timeline/TimelineItemStatic.figma.js +30 -0
- package/build/components/Toast/ToastItem.figma.d.ts +20 -0
- package/build/components/Toast/ToastItem.figma.js +42 -0
- package/build/components/ToggleButtonCard/ToggleButtonCard.figma.d.ts +14 -0
- package/build/components/ToggleButtonCard/ToggleButtonCard.figma.js +28 -0
- package/build/components/ToggleButtonCard/ToggleButtonCardRoot.js +16 -3
- package/build/components/UnstyledIconButton/UnstyledIconButton.figma.d.ts +21 -0
- package/build/components/UnstyledIconButton/UnstyledIconButton.figma.js +32 -0
- package/build/components/VerificationInput/VerificationInput.figma.d.ts +19 -0
- package/build/components/VerificationInput/VerificationInput.figma.js +22 -0
- package/build/components/index.d.ts +1 -0
- package/build/components/index.js +1 -0
- package/package.json +5 -4
- package/public/llms/components/list.md +6 -11
- package/public/llms/docs/ai-tooling.md +27 -5
- 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
|
|
30
|
-
server to your agent configuration, and ensure that your agent has
|
|
31
|
-
the latest Hearth React Native documentation and usage guidance.
|
|
32
|
-
|
|
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.
|
|
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
|
|