@utilitywarehouse/hearth-react-native 0.35.9 → 0.36.0
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/build/components/Accordion/Accordion.d.ts +8 -8
- package/build/components/Accordion/AccordionContent.d.ts +1 -1
- package/build/components/Accordion/AccordionContentText.d.ts +1 -1
- package/build/components/Accordion/AccordionHeader.d.ts +1 -1
- package/build/components/Accordion/AccordionIcon.d.ts +1 -1
- package/build/components/Accordion/AccordionItemRoot.d.ts +1 -1
- package/build/components/Accordion/AccordionRoot.d.ts +1 -1
- package/build/components/Accordion/AccordionTitleText.d.ts +1 -1
- package/build/components/Accordion/AccordionTrigger.d.ts +1 -1
- package/build/components/Alert/Alert.d.ts +1 -1
- package/build/components/Alert/AlertCloseButton.d.ts +1 -1
- package/build/components/Alert/AlertContent.d.ts +1 -1
- package/build/components/Alert/AlertIcon.d.ts +1 -1
- package/build/components/Alert/AlertIconButton.d.ts +1 -1
- package/build/components/Alert/AlertLink.d.ts +1 -1
- package/build/components/Alert/AlertText.d.ts +1 -1
- package/build/components/Alert/AlertTitle.d.ts +1 -1
- package/build/components/Avatar/Avatar.d.ts +1 -1
- package/build/components/Badge/Badge.d.ts +1 -1
- package/build/components/Badge/BadgeIcon.d.ts +1 -1
- package/build/components/Badge/BadgeText.d.ts +1 -1
- package/build/components/Banner/Banner.d.ts +1 -1
- package/build/components/Banner/BannerIllustration.d.ts +1 -1
- package/build/components/Banner/BannerImage.d.ts +1 -1
- package/build/components/BodyText/BodyText.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheet.d.ts +2 -1
- package/build/components/BottomSheet/BottomSheetBackdrop.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheetFlatList.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheetHandle.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheetModal.d.ts +2 -1
- package/build/components/BottomSheet/BottomSheetModalProvider.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheetScrollView.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheetView.d.ts +1 -1
- package/build/components/BottomSheet/useBottomSheetLogic.d.ts +2 -2
- package/build/components/Box/Box.d.ts +2 -1
- package/build/components/Button/Button.d.ts +1 -1
- package/build/components/Button/ButtonGroup.d.ts +1 -1
- package/build/components/Button/ButtonGroupRoot.d.ts +1 -1
- package/build/components/Button/ButtonIcon.d.ts +1 -1
- package/build/components/Button/ButtonIcon.js +3 -4
- package/build/components/Button/ButtonRoot.d.ts +1 -1
- package/build/components/Button/ButtonSpinner.d.ts +1 -1
- package/build/components/Button/ButtonText.d.ts +1 -1
- package/build/components/Card/Card.d.ts +3 -3
- package/build/components/Card/CardAction/CardAction.d.ts +210 -3
- package/build/components/Card/CardAction/CardAction.props.d.ts +2 -2
- package/build/components/Card/CardAction/CardActionContent.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionHelperText.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionIcon.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionIcon.js +1 -2
- package/build/components/Card/CardAction/CardActionLeadingContent.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionRoot.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionText.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionTrailingContent.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionTrailingIcon.d.ts +1 -1
- package/build/components/Card/CardAction/CardActionTrailingIcon.js +1 -2
- package/build/components/Card/CardActions.d.ts +1 -1
- package/build/components/Card/CardContent.d.ts +1 -1
- package/build/components/Card/CardPressHandler.d.ts +1 -1
- package/build/components/Card/CardRoot.d.ts +1 -1
- package/build/components/Carousel/Carousel.d.ts +1 -1
- package/build/components/Carousel/CarouselControlItem.d.ts +4 -4
- package/build/components/Carousel/CarouselItem.d.ts +1 -1
- package/build/components/Center/Center.d.ts +1 -1
- package/build/components/Checkbox/Checkbox.d.ts +3 -3
- package/build/components/Checkbox/CheckboxGroup.d.ts +2 -1
- package/build/components/Checkbox/CheckboxGroupRoot.d.ts +1 -1
- package/build/components/Checkbox/CheckboxGroupTextContent.d.ts +1 -1
- package/build/components/Checkbox/CheckboxIcon.d.ts +1 -1
- package/build/components/Checkbox/CheckboxImage.d.ts +1 -1
- package/build/components/Checkbox/CheckboxIndicator.d.ts +1 -1
- package/build/components/Checkbox/CheckboxLabel.d.ts +1 -1
- package/build/components/Checkbox/CheckboxRoot.d.ts +1 -1
- package/build/components/Checkbox/CheckboxTextContent.d.ts +1 -1
- package/build/components/Checkbox/CheckboxTileRoot.d.ts +1 -1
- package/build/components/Combobox/Combobox.d.ts +2 -1
- package/build/components/Combobox/ComboboxOption.d.ts +1 -1
- package/build/components/Container/Container.d.ts +1 -1
- package/build/components/CurrencyInput/CurrencyInput.d.ts +1 -1
- package/build/components/DateInput/DateInput.d.ts +1 -1
- package/build/components/DateInput/DateInputSegment.d.ts +1 -1
- package/build/components/DatePicker/DatePicker.d.ts +1 -1
- package/build/components/DatePicker/DatePickerCalendar.d.ts +1 -1
- package/build/components/DatePicker/DatePickerDay.d.ts +2 -2
- package/build/components/DatePicker/DatePickerDays.d.ts +1 -1
- package/build/components/DatePicker/DatePickerFooter.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/DatePickerMonthButton.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/DatePickerNextButton.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/DatePickerPrevButton.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/DatePickerSelectors.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/DatePickerTimeButton.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/DatePickerYearButton.d.ts +1 -1
- package/build/components/DatePicker/DatePickerHeader/index.d.ts +1 -1
- package/build/components/DatePicker/DatePickerMonths.d.ts +1 -1
- package/build/components/DatePicker/DatePickerWeekdays.d.ts +1 -1
- package/build/components/DatePicker/DatePickerYears.d.ts +1 -1
- package/build/components/DatePickerInput/DatePickerInput.d.ts +1 -1
- package/build/components/DatePickerInput/DatePickerInputDoneButton.d.ts +1 -1
- package/build/components/DescriptionList/DescriptionList.d.ts +1 -1
- package/build/components/DescriptionList/DescriptionListItem.d.ts +1 -1
- package/build/components/DetailText/DetailText.d.ts +1 -1
- package/build/components/Divider/Divider.d.ts +1 -1
- package/build/components/Expandable/Expandable.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCard.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardContent.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardExpandedContent.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardGroup.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardHelperText.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardIcon.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardIcon.js +1 -2
- package/build/components/ExpandableCard/ExpandableCardLeadingContent.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardText.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardTrailingContent.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardTrailingIcon.d.ts +1 -1
- package/build/components/ExpandableCard/ExpandableCardTrailingIcon.js +1 -2
- package/build/components/ExpandableCard/ExpandableCardTrigger.d.ts +18 -3
- package/build/components/ExpandableCard/ExpandableCardTrigger.props.d.ts +3 -3
- package/build/components/ExpandableCard/ExpandableCardTriggerRoot.d.ts +1 -1
- package/build/components/Flex/Flex.d.ts +1 -1
- package/build/components/FormField/FormFielInvalidIcon.d.ts +1 -1
- package/build/components/FormField/FormField.d.ts +4 -4
- package/build/components/FormField/FormFieldHelper.d.ts +1 -1
- package/build/components/FormField/FormFieldInvalid.d.ts +1 -1
- package/build/components/FormField/FormFieldLabel.d.ts +1 -1
- package/build/components/FormField/FormFieldRoot.d.ts +1 -1
- package/build/components/FormField/FormFieldValid.d.ts +1 -1
- package/build/components/FormField/FormFieldValidIcon.d.ts +1 -1
- package/build/components/Grid/Grid.d.ts +2 -1
- package/build/components/HTMLElements/ListItem.d.ts +1 -1
- package/build/components/HTMLElements/OrderedList.d.ts +2 -1
- package/build/components/HTMLElements/UnorderedList.d.ts +2 -1
- package/build/components/Heading/Heading.d.ts +1 -1
- package/build/components/Helper/Helper.d.ts +1 -1
- package/build/components/Helper/HelperIcon.d.ts +1 -1
- package/build/components/Helper/HelperIcon.js +1 -2
- package/build/components/Helper/HelperText.d.ts +1 -1
- package/build/components/HighlightBanner/HighlightBanner.d.ts +1 -1
- package/build/components/HighlightBanner/HighlightBannerImage.d.ts +1 -1
- package/build/components/IconButton/IconButton.d.ts +1 -1
- package/build/components/IconButton/IconButtonIcon.d.ts +1 -1
- package/build/components/IconButton/IconButtonIcon.js +3 -4
- package/build/components/IconButton/IconButtonRoot.d.ts +1 -1
- package/build/components/IconButton/IconButtonSpinner.d.ts +1 -1
- package/build/components/IconContainer/IconContainer.d.ts +1 -1
- package/build/components/Icons/CircleIcon.d.ts +2 -2
- package/build/components/IndicatorIconButton/IndicatorIconButton.d.ts +2 -1
- package/build/components/InlineLink/InlineLink.d.ts +1 -1
- package/build/components/InlineLink/InlineLinkRoot.d.ts +1 -1
- package/build/components/Input/InputIcon.d.ts +1 -1
- package/build/components/Input/InputIcon.js +1 -2
- package/build/components/Input/InputRoot.d.ts +1 -1
- package/build/components/Input/InputSlot.d.ts +1 -1
- package/build/components/Label/Label.d.ts +1 -1
- package/build/components/Link/Link.d.ts +2 -2
- package/build/components/Link/LinkIcon.d.ts +1 -1
- package/build/components/Link/LinkIcon.js +3 -4
- package/build/components/Link/LinkRoot.d.ts +1 -1
- package/build/components/Link/LinkText.d.ts +1 -1
- package/build/components/List/List.d.ts +2 -1
- package/build/components/List/ListAction/ListAction.d.ts +3 -3
- package/build/components/List/ListAction/ListActionContent.d.ts +1 -1
- package/build/components/List/ListAction/ListActionText.d.ts +1 -1
- package/build/components/List/ListAction/ListActionTrailingContent.d.ts +1 -1
- package/build/components/List/ListAction/ListActionTrailingIcon.d.ts +1 -1
- package/build/components/List/ListAction/ListActionTrailingIcon.js +1 -2
- package/build/components/List/ListItem/ListItem.d.ts +18 -3
- package/build/components/List/ListItem/ListItemContent.d.ts +1 -1
- package/build/components/List/ListItem/ListItemHeading.d.ts +2 -2
- package/build/components/List/ListItem/ListItemHelperText.d.ts +1 -1
- package/build/components/List/ListItem/ListItemIcon.d.ts +1 -1
- package/build/components/List/ListItem/ListItemIcon.js +1 -2
- package/build/components/List/ListItem/ListItemLeadingContent.d.ts +1 -1
- package/build/components/List/ListItem/ListItemRoot.d.ts +1 -1
- package/build/components/List/ListItem/ListItemTrailingContent.d.ts +1 -1
- package/build/components/List/ListItem/ListItemTrailingIcon.d.ts +1 -1
- package/build/components/List/ListItem/ListItemTrailingIcon.js +1 -2
- package/build/components/Menu/MenuItem.d.ts +3 -3
- package/build/components/Modal/Modal.d.ts +1 -1
- package/build/components/Modal/Modal.web.d.ts +1 -1
- package/build/components/Modal/ModalImage.d.ts +1 -1
- package/build/components/NavModal/NavModal.d.ts +1 -1
- package/build/components/Pagination/Pagination.d.ts +1 -1
- package/build/components/PillGroup/Pill.d.ts +3 -3
- package/build/components/PillGroup/PillGroup.d.ts +1 -1
- package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
- package/build/components/ProgressBar/ProgressBarCircular.d.ts +2 -1
- package/build/components/ProgressBar/ProgressBarLinear.d.ts +1 -1
- package/build/components/ProgressStepper/ProgressStep.d.ts +2 -1
- package/build/components/ProgressStepper/ProgressStepper.d.ts +2 -1
- package/build/components/ProgressStepper/ProgressStepperRoot.d.ts +2 -1
- package/build/components/Radio/Radio.d.ts +3 -3
- package/build/components/Radio/RadioGroup.d.ts +2 -1
- package/build/components/Radio/RadioGroupRoot.d.ts +1 -1
- package/build/components/Radio/RadioGroupTextContent.d.ts +1 -1
- package/build/components/Radio/RadioIcon.d.ts +1 -1
- package/build/components/Radio/RadioIcon.js +1 -3
- package/build/components/Radio/RadioImage.d.ts +1 -1
- package/build/components/Radio/RadioIndicator.d.ts +1 -1
- package/build/components/Radio/RadioLabel.d.ts +1 -1
- package/build/components/Radio/RadioRoot.d.ts +1 -1
- package/build/components/Radio/RadioTextContent.d.ts +1 -1
- package/build/components/Radio/RadioTileRoot.d.ts +1 -1
- package/build/components/RadioCard/RadioCard.d.ts +2 -2
- package/build/components/RadioCard/RadioCardGroup.d.ts +1 -1
- package/build/components/RadioCard/RadioCardIcon.d.ts +1 -1
- package/build/components/RadioCard/RadioCardIndicator.d.ts +1 -1
- package/build/components/RadioCard/RadioCardLabel.d.ts +1 -1
- package/build/components/RadioCard/RadioCardRoot.d.ts +1 -1
- package/build/components/Rating/Rating.d.ts +1 -1
- package/build/components/Rating/RatingStarEmpty.d.ts +1 -1
- package/build/components/Rating/RatingStarFilled.d.ts +1 -1
- package/build/components/Roundel/Roundel.d.ts +1 -1
- package/build/components/SectionHeader/SectionHeader.d.ts +1 -1
- package/build/components/SectionHeader/SectionHeaderHeading.d.ts +1 -1
- package/build/components/SectionHeader/SectionHeaderHelperText.d.ts +1 -1
- package/build/components/SectionHeader/SectionHeaderTextContent.d.ts +1 -1
- package/build/components/SectionHeader/SectionHeaderTrailingContent.d.ts +1 -1
- package/build/components/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/build/components/SegmentedControl/SegmentedControlOption.d.ts +3 -3
- package/build/components/Select/Select.d.ts +2 -1
- package/build/components/Select/SelectOption.d.ts +1 -1
- package/build/components/Skeleton/Skeleton.d.ts +2 -1
- package/build/components/StepperInput/StepperButton.d.ts +3 -3
- package/build/components/StepperInput/StepperInput.d.ts +1 -1
- package/build/components/Switch/Switch.d.ts +1 -1
- package/build/components/Switch/Switch.js +2 -0
- package/build/components/Switch/Switch.web.d.ts +1 -1
- package/build/components/Switch/Switch.web.js +1 -0
- package/build/components/Table/Table.d.ts +1 -1
- package/build/components/Table/TableBody.d.ts +1 -1
- package/build/components/Table/TableCell.d.ts +1 -1
- package/build/components/Table/TableHeader.d.ts +1 -1
- package/build/components/Table/TableHeaderCell.d.ts +1 -1
- package/build/components/Table/TablePagination.d.ts +1 -1
- package/build/components/Table/TableRow.d.ts +1 -1
- package/build/components/Tabs/Tab.d.ts +3 -3
- package/build/components/Tabs/TabPanel.d.ts +1 -1
- package/build/components/Tabs/Tabs.d.ts +1 -1
- package/build/components/Tabs/TabsList.d.ts +1 -1
- package/build/components/Textarea/Textarea.d.ts +1 -1
- package/build/components/Textarea/TextareaField.d.ts +1 -1
- package/build/components/Textarea/TextareaRoot.d.ts +1 -1
- package/build/components/ThemedImage/ThemedImage.d.ts +1 -1
- package/build/components/TimePicker/TimePicker.d.ts +1 -1
- package/build/components/TimePicker/TimePickerView.d.ts +1 -1
- package/build/components/TimePicker/TimePickerWheel.d.ts +1 -1
- package/build/components/TimePicker/TimePickerWheel.js +2 -2
- package/build/components/TimePicker/TimePickerWheel.web.d.ts +1 -1
- package/build/components/TimePickerInput/TimePickerInput.d.ts +1 -1
- package/build/components/TimePickerInput/TimePickerInputDoneButton.d.ts +1 -1
- package/build/components/Timeline/Timeline.d.ts +2 -1
- package/build/components/Timeline/TimelineItem.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButton.d.ts +3 -3
- package/build/components/ToggleButton/ToggleButtonIcon.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButtonIcon.js +1 -2
- package/build/components/ToggleButton/ToggleButtonRoot.d.ts +1 -1
- package/build/components/ToggleButton/ToggleButtonText.d.ts +1 -1
- package/build/components/ToggleButtonCard/ToggleButtonCard.d.ts +2 -2
- package/build/components/ToggleButtonCard/ToggleButtonCardGroup.d.ts +1 -1
- package/build/components/ToggleButtonCard/ToggleButtonCardRoot.d.ts +1 -1
- package/build/components/UnstyledIconButton/UnstyledIconButton.d.ts +1 -1
- package/build/components/UnstyledIconButton/UnstyledIconButtonIcon.d.ts +1 -1
- package/build/components/UnstyledIconButton/UnstyledIconButtonIcon.js +3 -4
- package/build/components/UnstyledIconButton/UnstyledIconButtonRoot.d.ts +1 -1
- package/build/components/UnstyledIconButton/UnstyledIconButtonSpinner.d.ts +1 -1
- package/build/core/index.d.ts +2 -2
- package/build/core/index.js +1 -1
- package/package.json +24 -25
- package/public/llms/components/badge.md +15 -0
- package/public/llms/components/body-text.md +15 -0
- package/public/llms/components/button.md +12 -0
- package/public/llms/components/description-list.md +32 -0
- package/public/llms/components/detail-text.md +5 -0
- package/public/llms/components/heading.md +10 -0
- package/public/llms/components/icon-button.md +39 -0
- package/public/llms/components/icon-container.md +16 -0
- package/public/llms/components/themed-image.md +2 -6
- package/public/llms/docs/introduction.md +1 -1
|
@@ -2,7 +2,7 @@ import { type TextProps } from 'react-native';
|
|
|
2
2
|
declare const ToggleButtonText: {
|
|
3
3
|
({ children, toggled, ...props }: TextProps & {
|
|
4
4
|
toggled: boolean;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
export default ToggleButtonText;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import ToggleButtonCardProps from './ToggleButtonCard.props';
|
|
2
2
|
import ToggleButtonCardGroupProps from './ToggleButtonCardGroup.props';
|
|
3
3
|
declare const ToggleButtonCardGroup: {
|
|
4
|
-
({ onChange, onValueChange, ...props }: ToggleButtonCardGroupProps): import("react
|
|
4
|
+
({ onChange, onValueChange, ...props }: ToggleButtonCardGroupProps): import("react").JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
declare const ToggleButtonCard: {
|
|
8
|
-
({ children, contentStyle, ...props }: ToggleButtonCardProps): import("react
|
|
8
|
+
({ children, contentStyle, ...props }: ToggleButtonCardProps): import("react").JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
export { ToggleButtonCard, ToggleButtonCardGroup };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import ToggleButtonCardGroupProps from './ToggleButtonCardGroup.props';
|
|
2
2
|
declare const ToggleButtonCardGroup: {
|
|
3
|
-
({ children, gap, style, flexDirection, flexWrap, justifyContent, alignItems, columns, ...props }: ToggleButtonCardGroupProps): import("react
|
|
3
|
+
({ children, gap, style, flexDirection, flexWrap, justifyContent, alignItems, columns, ...props }: ToggleButtonCardGroupProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default ToggleButtonCardGroup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnstyledIconButtonProps } from './UnstyledIconButton.props';
|
|
2
2
|
declare const UnstyledIconButton: {
|
|
3
|
-
({ icon, disabled, pressed, size, inverted, iconStyle, ...props }: UnstyledIconButtonProps): import("react
|
|
3
|
+
({ icon, disabled, pressed, size, inverted, iconStyle, ...props }: UnstyledIconButtonProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default UnstyledIconButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import IconProps from '../Icon/Icon.props';
|
|
2
2
|
declare const UnstyledIconButtonIcon: {
|
|
3
|
-
({ children, ...props }: IconProps): import("react
|
|
3
|
+
({ children, ...props }: IconProps): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default UnstyledIconButtonIcon;
|
|
@@ -6,10 +6,9 @@ import { useUnstyledIconButtonContext } from './UnstyledIconButton.context';
|
|
|
6
6
|
const UnstyledIconButtonIcon = ({ children, ...props }) => {
|
|
7
7
|
const { active, inverted, size } = useUnstyledIconButtonContext();
|
|
8
8
|
styles.useVariants({ active, inverted, size });
|
|
9
|
-
return (_jsx(Icon, { ...props, style: Platform.OS === 'web'
|
|
10
|
-
?
|
|
11
|
-
|
|
12
|
-
: [styles.icon, props.style], children: children }));
|
|
9
|
+
return (_jsx(Icon, { ...props, style: (Platform.OS === 'web'
|
|
10
|
+
? { ...styles.icon, ...props.style }
|
|
11
|
+
: [styles.icon, props.style]), children: children }));
|
|
13
12
|
};
|
|
14
13
|
UnstyledIconButtonIcon.displayName = 'UnstyledIconButtonIcon';
|
|
15
14
|
const styles = StyleSheet.create(theme => ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpinnerProps } from '../Spinner';
|
|
2
2
|
declare const UnstyledIconButtonSpinner: {
|
|
3
|
-
({ color, ...props }: Omit<SpinnerProps, "size">): import("react
|
|
3
|
+
({ color, ...props }: Omit<SpinnerProps, "size">): import("react").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
6
6
|
export default UnstyledIconButtonSpinner;
|
package/build/core/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createUnistylesElement, Display, getServerUnistyles, Hide, hydrateServerUnistyles, mq, NavigationBar, resetServerUnistyles, ScopedTheme, StatusBar, StyleSheet, UnistylesRuntime, useServerUnistyles, useUnistyles, withUnistyles, } from 'react-native-unistyles';
|
|
2
|
-
export type { UnistylesBreakpoints, UnistylesThemes, UnistylesVariants, } from 'react-native-unistyles';
|
|
3
1
|
export * from './breakpoints';
|
|
4
2
|
export * from './themes';
|
|
3
|
+
export { Display, Hide, ScopedTheme, StyleSheet, UnistylesRuntime, createUnistylesElement, getServerUnistyles, hydrateServerUnistyles, mq, resetServerUnistyles, useServerUnistyles, useUnistyles, withUnistyles, } from 'react-native-unistyles';
|
|
4
|
+
export type { UnistylesBreakpoints, UnistylesThemes, UnistylesVariants, } from 'react-native-unistyles';
|
|
5
5
|
export type * from '../types/unistyles';
|
package/build/core/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { createUnistylesElement, Display, getServerUnistyles, Hide, hydrateServerUnistyles, mq, NavigationBar, resetServerUnistyles, ScopedTheme, StatusBar, StyleSheet, UnistylesRuntime, useServerUnistyles, useUnistyles, withUnistyles, } from 'react-native-unistyles';
|
|
2
1
|
export * from './breakpoints';
|
|
3
2
|
export * from './themes';
|
|
3
|
+
export { Display, Hide, ScopedTheme, StyleSheet, UnistylesRuntime, createUnistylesElement, getServerUnistyles, hydrateServerUnistyles, mq, resetServerUnistyles, useServerUnistyles, useUnistyles, withUnistyles, } from 'react-native-unistyles';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@utilitywarehouse/hearth-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
4
4
|
"description": "Utility Warehouse React Native UI library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -47,44 +47,43 @@
|
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
|
49
49
|
"@figma/code-connect": "^1.4.9",
|
|
50
|
-
"@gorhom/bottom-sheet": "5.2.
|
|
51
|
-
"@storybook/addon-a11y": "^10.
|
|
52
|
-
"@storybook/addon-docs": "^10.
|
|
53
|
-
"@storybook/addon-mcp": "^0.
|
|
54
|
-
"@storybook/addon-vitest": "^10.
|
|
55
|
-
"@storybook/react-native-web-vite": "^10.
|
|
50
|
+
"@gorhom/bottom-sheet": "5.2.14",
|
|
51
|
+
"@storybook/addon-a11y": "^10.5.6",
|
|
52
|
+
"@storybook/addon-docs": "^10.5.6",
|
|
53
|
+
"@storybook/addon-mcp": "^0.7.0",
|
|
54
|
+
"@storybook/addon-vitest": "^10.5.6",
|
|
55
|
+
"@storybook/react-native-web-vite": "^10.5.6",
|
|
56
56
|
"@types/prismjs": "^1.26.5",
|
|
57
|
-
"@types/react": "^19.
|
|
58
|
-
"@types/react-dom": "^19.
|
|
59
|
-
"@types/react-native": "^0.72.8",
|
|
57
|
+
"@types/react": "^19.2.18",
|
|
58
|
+
"@types/react-dom": "^19.2.3",
|
|
60
59
|
"@vitest/browser": "^3.2.4",
|
|
61
60
|
"@vitest/coverage-v8": "^3.2.4",
|
|
62
61
|
"globals": "^15.15.0",
|
|
63
62
|
"playwright": "^1.59.1",
|
|
64
63
|
"prismjs": "^1.30.0",
|
|
65
|
-
"react": "
|
|
66
|
-
"react-dom": "
|
|
67
|
-
"react-native": "0.
|
|
64
|
+
"react": "19.2.3",
|
|
65
|
+
"react-dom": "19.2.3",
|
|
66
|
+
"react-native": "0.86.2",
|
|
68
67
|
"react-native-edge-to-edge": "1.6.1",
|
|
69
|
-
"react-native-gesture-handler": "2.
|
|
70
|
-
"react-native-nitro-modules": "0.
|
|
71
|
-
"react-native-reanimated": "4.1
|
|
72
|
-
"react-native-safe-area-context": "5.
|
|
73
|
-
"react-native-svg": "
|
|
74
|
-
"react-native-unistyles": "3.0
|
|
68
|
+
"react-native-gesture-handler": "2.32.0",
|
|
69
|
+
"react-native-nitro-modules": "0.36.5",
|
|
70
|
+
"react-native-reanimated": "4.5.1",
|
|
71
|
+
"react-native-safe-area-context": "5.7.0",
|
|
72
|
+
"react-native-svg": "15.15.4",
|
|
73
|
+
"react-native-unistyles": "3.3.0",
|
|
75
74
|
"react-native-web": "^0.20.0",
|
|
76
|
-
"react-native-worklets": "
|
|
75
|
+
"react-native-worklets": "0.10.1",
|
|
77
76
|
"remark-gfm": "^4.0.1",
|
|
78
|
-
"storybook": "^10.
|
|
77
|
+
"storybook": "^10.5.6",
|
|
79
78
|
"vite": "^7.1.3",
|
|
80
79
|
"vite-plugin-svgr": "^4.5.0",
|
|
81
80
|
"vitest": "^4.1.7",
|
|
82
81
|
"@utilitywarehouse/hearth-fonts": "^0.1.1",
|
|
83
|
-
"@utilitywarehouse/hearth-react-icons": "^0.9.
|
|
84
|
-
"@utilitywarehouse/hearth-
|
|
82
|
+
"@utilitywarehouse/hearth-react-native-icons": "^0.9.2",
|
|
83
|
+
"@utilitywarehouse/hearth-svg-assets": "^0.6.6",
|
|
84
|
+
"@utilitywarehouse/hearth-react-icons": "^0.9.2",
|
|
85
85
|
"@utilitywarehouse/hearth-storybook-utils": "0.0.0",
|
|
86
|
-
"@utilitywarehouse/hearth-
|
|
87
|
-
"@utilitywarehouse/hearth-tokens": "^0.4.5"
|
|
86
|
+
"@utilitywarehouse/hearth-tokens": "^0.4.6"
|
|
88
87
|
},
|
|
89
88
|
"peerDependencies": {
|
|
90
89
|
"@gorhom/bottom-sheet": ">=5.0.0",
|
|
@@ -100,6 +100,21 @@ The `Badge` component has different sizes to style the spinner.
|
|
|
100
100
|
</Box>
|
|
101
101
|
);
|
|
102
102
|
})}
|
|
103
|
+
<VariantTitle title="Flat base">
|
|
104
|
+
<Flex direction="row" spacing="md">
|
|
105
|
+
<Badge colorScheme="info" variant="subtle" flatBase>
|
|
106
|
+
subtle flatBase
|
|
107
|
+
</Badge>
|
|
108
|
+
<Badge colorScheme="info" variant="emphasis" flatBase>
|
|
109
|
+
emphasis flatBase
|
|
110
|
+
</Badge>
|
|
111
|
+
</Flex>
|
|
112
|
+
</VariantTitle>
|
|
113
|
+
<VariantTitle title="With icon">
|
|
114
|
+
<Badge colorScheme="info" icon={TickSmallIcon}>
|
|
115
|
+
With icon
|
|
116
|
+
</Badge>
|
|
117
|
+
</VariantTitle>
|
|
103
118
|
</Flex>
|
|
104
119
|
```
|
|
105
120
|
|
|
@@ -77,5 +77,20 @@ The `BodyText` component has different sizes to style the text.
|
|
|
77
77
|
Hello there, I'm some body text!
|
|
78
78
|
</BodyText>
|
|
79
79
|
</VariantTitle>
|
|
80
|
+
<VariantTitle title="Semibold">
|
|
81
|
+
<BodyText {...args} weight="semibold">
|
|
82
|
+
Hello there, I'm some semi bold body text!
|
|
83
|
+
</BodyText>
|
|
84
|
+
</VariantTitle>
|
|
85
|
+
<VariantTitle title="Bold">
|
|
86
|
+
<BodyText {...args} weight="bold">
|
|
87
|
+
Hello there, I'm some bold body text!
|
|
88
|
+
</BodyText>
|
|
89
|
+
</VariantTitle>
|
|
90
|
+
<VariantTitle title="Underline">
|
|
91
|
+
<BodyText {...args} underline>
|
|
92
|
+
Hello there, I'm some underlined body text!
|
|
93
|
+
</BodyText>
|
|
94
|
+
</VariantTitle>
|
|
80
95
|
</Box>
|
|
81
96
|
```
|
|
@@ -163,6 +163,18 @@ const MyComponent = () => {
|
|
|
163
163
|
))}
|
|
164
164
|
</Flex>
|
|
165
165
|
))}
|
|
166
|
+
<Flex direction="column" spacing="lg">
|
|
167
|
+
<VariantTitle title="Padding None" invert={inverted}>
|
|
168
|
+
<Button
|
|
169
|
+
text={text}
|
|
170
|
+
colorScheme="functional"
|
|
171
|
+
variant="ghost"
|
|
172
|
+
size="sm"
|
|
173
|
+
inverted={inverted}
|
|
174
|
+
paddingNone
|
|
175
|
+
/>
|
|
176
|
+
</VariantTitle>
|
|
177
|
+
</Flex>
|
|
166
178
|
</Flex>
|
|
167
179
|
```
|
|
168
180
|
|
|
@@ -94,6 +94,38 @@ import { DescriptionList, DescriptionListItem } from '@utilitywarehouse/hearth-r
|
|
|
94
94
|
))}
|
|
95
95
|
</DescriptionList>
|
|
96
96
|
</VariantTitle>
|
|
97
|
+
<VariantTitle title="With links">
|
|
98
|
+
<DescriptionList direction="row">
|
|
99
|
+
<DescriptionListItem
|
|
100
|
+
heading="Account Number"
|
|
101
|
+
description="123456789"
|
|
102
|
+
trailingContent={<Link href="https://example.com/account">Manage account</Link>}
|
|
103
|
+
/>
|
|
104
|
+
<DescriptionListItem
|
|
105
|
+
heading="Status"
|
|
106
|
+
description="Active"
|
|
107
|
+
trailingContent={
|
|
108
|
+
<Link href="https://example.com/status" showIcon={false}>
|
|
109
|
+
Change
|
|
110
|
+
</Link>
|
|
111
|
+
}
|
|
112
|
+
/>
|
|
113
|
+
</DescriptionList>
|
|
114
|
+
</VariantTitle>
|
|
115
|
+
<VariantTitle title="With numeric values">
|
|
116
|
+
<DescriptionList direction="row">
|
|
117
|
+
<DescriptionListItem
|
|
118
|
+
heading="Account Balance"
|
|
119
|
+
description="Current balance"
|
|
120
|
+
numericValue="£5,432.10"
|
|
121
|
+
/>
|
|
122
|
+
<DescriptionListItem
|
|
123
|
+
heading="Available Credit"
|
|
124
|
+
description="Credit limit minus current balance"
|
|
125
|
+
numericValue="£1,234.56"
|
|
126
|
+
/>
|
|
127
|
+
</DescriptionList>
|
|
128
|
+
</VariantTitle>
|
|
97
129
|
</Flex>
|
|
98
130
|
```
|
|
99
131
|
|
|
@@ -91,5 +91,10 @@ The `DetailText` component has different sizes to style the text.
|
|
|
91
91
|
Hello there, I'm some detail text!
|
|
92
92
|
</DetailText>
|
|
93
93
|
</VariantTitle>
|
|
94
|
+
<VariantTitle title="Underline">
|
|
95
|
+
<DetailText {...args} underline>
|
|
96
|
+
Hello there, I'm some underlined detail text!
|
|
97
|
+
</DetailText>
|
|
98
|
+
</VariantTitle>
|
|
94
99
|
</Box>
|
|
95
100
|
```
|
|
@@ -70,6 +70,16 @@ The `Heading` component has different sizes to style the text.
|
|
|
70
70
|
Hello there, I'm a heading!
|
|
71
71
|
</Heading>
|
|
72
72
|
</VariantTitle>
|
|
73
|
+
<VariantTitle title="2XL">
|
|
74
|
+
<Heading {...args} size="2xl">
|
|
75
|
+
Hello there, I'm a heading!
|
|
76
|
+
</Heading>
|
|
77
|
+
</VariantTitle>
|
|
78
|
+
<VariantTitle title="Underline">
|
|
79
|
+
<Heading {...args} underline>
|
|
80
|
+
Hello there, an underlined Heading!
|
|
81
|
+
</Heading>
|
|
82
|
+
</VariantTitle>
|
|
73
83
|
</Box>
|
|
74
84
|
```
|
|
75
85
|
|
|
@@ -135,6 +135,45 @@ const MyComponent = () => {
|
|
|
135
135
|
))}
|
|
136
136
|
</Flex>
|
|
137
137
|
))}
|
|
138
|
+
<VariantTitle title="Service icon buttons">
|
|
139
|
+
<ButtonGroup spacing="md">
|
|
140
|
+
<IconButton
|
|
141
|
+
icon={ElectricityMediumIcon}
|
|
142
|
+
backgroundColor="energyBlue200"
|
|
143
|
+
activeBackgroundColor="energyBlue300"
|
|
144
|
+
variant="emphasis"
|
|
145
|
+
shadowColor="energyBlue300"
|
|
146
|
+
/>
|
|
147
|
+
<IconButton
|
|
148
|
+
icon={BroadbandMediumIcon}
|
|
149
|
+
backgroundColor="broadbandGreen200"
|
|
150
|
+
activeBackgroundColor="broadbandGreen300"
|
|
151
|
+
variant="emphasis"
|
|
152
|
+
shadowColor="broadbandGreen300"
|
|
153
|
+
/>
|
|
154
|
+
<IconButton
|
|
155
|
+
icon={MobileMediumIcon}
|
|
156
|
+
backgroundColor="mobileRose200"
|
|
157
|
+
activeBackgroundColor="mobileRose300"
|
|
158
|
+
variant="emphasis"
|
|
159
|
+
shadowColor="mobileRose400"
|
|
160
|
+
/>
|
|
161
|
+
<IconButton
|
|
162
|
+
icon={InsuranceMediumIcon}
|
|
163
|
+
backgroundColor="insuranceOrange300"
|
|
164
|
+
activeBackgroundColor="insuranceOrange400"
|
|
165
|
+
variant="emphasis"
|
|
166
|
+
shadowColor="insuranceOrange400"
|
|
167
|
+
/>
|
|
168
|
+
<IconButton
|
|
169
|
+
icon={CashbackCardMediumIcon}
|
|
170
|
+
backgroundColor="cashbackLilac300"
|
|
171
|
+
activeBackgroundColor="cashbackLilac400"
|
|
172
|
+
variant="emphasis"
|
|
173
|
+
shadowColor="cashbackLilac500"
|
|
174
|
+
/>
|
|
175
|
+
</ButtonGroup>
|
|
176
|
+
</VariantTitle>
|
|
138
177
|
</Flex>
|
|
139
178
|
```
|
|
140
179
|
|
|
@@ -95,5 +95,21 @@ Use the matrix below to compare every combination of size, variant, and color.
|
|
|
95
95
|
</VariantTitle>
|
|
96
96
|
</Box>
|
|
97
97
|
))}
|
|
98
|
+
<Box gap="300">
|
|
99
|
+
<VariantTitle title="Radius none">
|
|
100
|
+
<Flex direction="row" wrap="wrap" spacing="md">
|
|
101
|
+
{colors.map(color => (
|
|
102
|
+
<IconContainer
|
|
103
|
+
key={`radius-none-${color}`}
|
|
104
|
+
icon={icon}
|
|
105
|
+
size="md"
|
|
106
|
+
variant="subtle"
|
|
107
|
+
color={color}
|
|
108
|
+
radiusNone
|
|
109
|
+
/>
|
|
110
|
+
))}
|
|
111
|
+
</Flex>
|
|
112
|
+
</VariantTitle>
|
|
113
|
+
</Box>
|
|
98
114
|
</Flex>
|
|
99
115
|
```
|
|
@@ -93,12 +93,8 @@ function MyComponent() {
|
|
|
93
93
|
// Example usage
|
|
94
94
|
<Box gap="200">
|
|
95
95
|
<ThemedImage
|
|
96
|
-
light={
|
|
97
|
-
|
|
98
|
-
}}
|
|
99
|
-
dark={{
|
|
100
|
-
uri: pig,
|
|
101
|
-
}}
|
|
96
|
+
light={pig as ImageSourcePropType}
|
|
97
|
+
dark={pig as ImageSourcePropType}
|
|
102
98
|
width={200}
|
|
103
99
|
height={200}
|
|
104
100
|
style={{ width: 200, height: 200, borderRadius: 8 }}
|
|
@@ -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.
|
|
4
|
+
Current version: v0.36.0
|
|
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
|
|