@utilitywarehouse/hearth-react-native 0.34.5 → 0.35.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/LICENSE +194 -0
- package/README.md +52 -0
- package/SKILL.md +361 -0
- package/build/components/Alert/AlertIcon.js +4 -4
- package/build/components/Badge/BadgeIcon.js +4 -4
- package/build/components/Card/CardAction/CardActionIcon.js +2 -2
- package/build/components/Card/CardAction/CardActionTrailingIcon.js +2 -2
- package/build/components/Carousel/CarouselControlItem.js +2 -2
- package/build/components/Carousel/CarouselControls.js +2 -2
- package/build/components/Checkbox/CheckboxGroup.d.ts +1 -1
- package/build/components/Checkbox/CheckboxGroup.js +5 -2
- package/build/components/Checkbox/CheckboxGroup.props.d.ts +4 -0
- package/build/components/Combobox/Combobox.js +2 -9
- package/build/components/Combobox/Combobox.utils.d.ts +2 -0
- package/build/components/Combobox/Combobox.utils.js +8 -0
- package/build/components/Combobox/Combobox.utils.test.d.ts +1 -0
- package/build/components/Combobox/Combobox.utils.test.js +27 -0
- package/build/components/DatePicker/DatePickerHeader/DatePickerNextButton.js +2 -2
- package/build/components/DatePicker/DatePickerHeader/DatePickerPrevButton.js +2 -2
- package/build/components/DatePicker/DatePickerHeader/DatePickerSelectors.js +2 -2
- package/build/components/DatePicker/utils.test.d.ts +1 -0
- package/build/components/DatePicker/utils.test.js +191 -0
- package/build/components/DatePickerInput/DatePickerInput.js +1 -8
- package/build/components/DatePickerInput/DatePickerInput.utils.d.ts +2 -0
- package/build/components/DatePickerInput/DatePickerInput.utils.js +8 -0
- package/build/components/DatePickerInput/DatePickerInput.utils.test.d.ts +1 -0
- package/build/components/DatePickerInput/DatePickerInput.utils.test.js +22 -0
- package/build/components/ExpandableCard/ExpandableCardIcon.js +2 -2
- package/build/components/Helper/HelperIcon.js +2 -2
- package/build/components/IconButton/IconButtonIcon.js +4 -4
- package/build/components/List/ListAction/ListActionTrailingIcon.js +2 -2
- package/build/components/List/ListItem/ListItemIcon.js +2 -2
- package/build/components/PillGroup/PillGroup.d.ts +1 -1
- package/build/components/PillGroup/PillGroup.js +4 -2
- package/build/components/PillGroup/PillGroup.props.d.ts +10 -0
- package/build/components/Radio/RadioGroup.d.ts +1 -1
- package/build/components/Radio/RadioGroup.js +5 -2
- package/build/components/Radio/RadioGroup.props.d.ts +4 -0
- package/build/components/RadioCard/RadioCard.d.ts +5 -24
- package/build/components/RadioCard/RadioCard.js +5 -1
- package/build/components/RadioCard/RadioCardGroup.props.d.ts +4 -0
- package/build/components/Rating/Rating.d.ts +1 -1
- package/build/components/Rating/Rating.js +3 -2
- package/build/components/Rating/Rating.props.d.ts +5 -0
- package/build/components/SegmentedControl/SegmentedControl.js +2 -2
- package/build/components/Select/Select.js +2 -3
- package/build/components/Select/Select.utils.d.ts +2 -0
- package/build/components/Select/Select.utils.js +1 -0
- package/build/components/Select/Select.utils.test.d.ts +1 -0
- package/build/components/Select/Select.utils.test.js +21 -0
- package/build/components/StepperInput/StepperInput.js +1 -62
- package/build/components/StepperInput/StepperInput.utils.d.ts +6 -0
- package/build/components/StepperInput/StepperInput.utils.js +62 -0
- package/build/components/StepperInput/StepperInput.utils.test.d.ts +1 -0
- package/build/components/StepperInput/StepperInput.utils.test.js +99 -0
- package/build/components/Switch/Switch.js +10 -8
- package/build/components/Switch/Switch.props.d.ts +11 -1
- package/build/components/Switch/Switch.web.js +10 -8
- package/build/components/TimePickerInput/TimePickerInput.js +1 -8
- package/build/components/TimePickerInput/TimePickerInput.utils.d.ts +3 -0
- package/build/components/TimePickerInput/TimePickerInput.utils.js +8 -0
- package/build/components/TimePickerInput/TimePickerInput.utils.test.d.ts +1 -0
- package/build/components/TimePickerInput/TimePickerInput.utils.test.js +20 -0
- package/build/components/Toast/ToastItem.js +2 -2
- package/build/components/ToggleButton/ToggleButtonRoot.js +1 -1
- package/build/components/ToggleButtonCard/ToggleButtonCard.d.ts +5 -1
- package/build/components/ToggleButtonCard/ToggleButtonCard.js +5 -1
- package/build/components/ToggleButtonCard/ToggleButtonCardGroup.props.d.ts +4 -0
- package/build/tokens/components/dark/chip.d.ts +14 -0
- package/build/tokens/components/dark/chip.js +13 -0
- package/build/tokens/components/dark/icon.d.ts +26 -0
- package/build/tokens/components/dark/icon.js +25 -0
- package/build/tokens/components/dark/index.d.ts +2 -0
- package/build/tokens/components/dark/index.js +2 -0
- package/build/tokens/components/light/chip.d.ts +14 -0
- package/build/tokens/components/light/chip.js +13 -0
- package/build/tokens/components/light/icon.d.ts +26 -0
- package/build/tokens/components/light/icon.js +25 -0
- package/build/tokens/components/light/index.d.ts +2 -0
- package/build/tokens/components/light/index.js +2 -0
- package/build/tokens/semantic-dark.d.ts +4 -4
- package/build/tokens/semantic-dark.js +4 -4
- package/build/tokens/semantic-light.d.ts +4 -4
- package/build/tokens/semantic-light.js +4 -4
- package/build/utils/formatThousands.test.d.ts +1 -0
- package/build/utils/formatThousands.test.js +31 -0
- package/build/utils/getFlattenedColorValue.test.d.ts +1 -0
- package/build/utils/getFlattenedColorValue.test.js +21 -0
- package/build/utils/getInitials.test.d.ts +1 -0
- package/build/utils/getInitials.test.js +23 -0
- package/build/utils/hexWithOpacity.test.d.ts +1 -0
- package/build/utils/hexWithOpacity.test.js +22 -0
- package/build/utils/isEqual.test.d.ts +1 -0
- package/build/utils/isEqual.test.js +44 -0
- package/build/utils/themeValueHelpers.test.d.ts +1 -0
- package/build/utils/themeValueHelpers.test.js +82 -0
- package/package.json +22 -6
- package/{src/components/Accordion/Accordion.docs.mdx → public/llms/components/accordion.md} +62 -97
- package/{src/components/Alert/Alert.docs.mdx → public/llms/components/alert.md} +46 -49
- package/{src/components/Avatar/Avatar.docs.mdx → public/llms/components/avatar.md} +18 -50
- package/{src/components/Badge/Badge.docs.mdx → public/llms/components/badge.md} +56 -38
- package/{src/components/Banner/Banner.docs.mdx → public/llms/components/banner.md} +487 -40
- package/{src/components/BodyText/BodyText.docs.mdx → public/llms/components/body-text.md} +32 -25
- package/{src/components/BottomSheet/BottomSheet.docs.mdx → public/llms/components/bottom-sheet.md} +25 -33
- package/{src/components/Box/Box.docs.mdx → public/llms/components/box.md} +7 -21
- package/{src/components/Button/Button.docs.mdx → public/llms/components/button.md} +118 -109
- package/{src/components/Card/Card.docs.mdx → public/llms/components/card.md} +281 -47
- package/{src/components/Carousel/Carousel.docs.mdx → public/llms/components/carousel.md} +14 -92
- package/public/llms/components/center.md +24 -0
- package/{src/components/Checkbox/Checkbox.docs.mdx → public/llms/components/checkbox.md} +114 -155
- package/{src/components/Combobox/Combobox.docs.mdx → public/llms/components/combobox.md} +53 -47
- package/{src/components/Container/Container.docs.mdx → public/llms/components/container.md} +59 -26
- package/{src/components/CurrencyInput/CurrencyInput.docs.mdx → public/llms/components/currency-input.md} +48 -44
- package/{src/components/DateInput/DateInput.docs.mdx → public/llms/components/date-input.md} +162 -29
- package/{src/components/DatePickerInput/DatePickerInput.docs.mdx → public/llms/components/date-picker-input.md} +11 -51
- package/{src/components/DatePicker/DatePicker.docs.mdx → public/llms/components/date-picker.md} +49 -26
- package/{src/components/DescriptionList/DescriptionList.docs.mdx → public/llms/components/description-list.md} +64 -31
- package/{src/components/DetailText/DetailText.docs.mdx → public/llms/components/detail-text.md} +47 -25
- package/{src/components/Divider/Divider.docs.mdx → public/llms/components/divider.md} +10 -22
- package/{src/components/ExpandableCard/ExpandableCard.docs.mdx → public/llms/components/expandable-card.md} +213 -28
- package/{src/components/Expandable/Expandable.docs.mdx → public/llms/components/expandable.md} +165 -21
- package/{src/components/Flex/Flex.docs.mdx → public/llms/components/flex.md} +18 -24
- package/{src/components/FormField/FormField.docs.mdx → public/llms/components/form-field.md} +57 -109
- package/{src/components/Grid/Grid.docs.mdx → public/llms/components/grid.md} +15 -79
- package/{src/components/Heading/Heading.docs.mdx → public/llms/components/heading.md} +32 -21
- package/{src/components/HighlightBanner/HighlightBanner.docs.mdx → public/llms/components/highlight-banner.md} +204 -41
- package/{src/components/HTMLElements/Lists.docs.mdx → public/llms/components/html-elements/lists.md} +20 -43
- package/{src/components/IconButton/IconButton.docs.mdx → public/llms/components/icon-button.md} +134 -32
- package/{src/components/IconContainer/IconContainer.docs.mdx → public/llms/components/icon-container.md} +44 -35
- package/{src/components/Icon/Icon.docs.mdx → public/llms/components/icon.md} +6 -30
- package/public/llms/components/indicator-icon-button.md +138 -0
- package/{src/components/InlineLink/InlineLink.docs.mdx → public/llms/components/inline-link.md} +7 -26
- package/{src/components/Input/Input.docs.mdx → public/llms/components/input.md} +73 -75
- package/{src/components/Link/Link.docs.mdx → public/llms/components/link.md} +5 -20
- package/{src/components/List/List.docs.mdx → public/llms/components/list.md} +192 -127
- package/{src/components/Menu/Menu.docs.mdx → public/llms/components/menu.md} +52 -29
- package/{src/components/Modal/Modal.docs.mdx → public/llms/components/modal.md} +119 -50
- package/{src/components/NavModal/NavModal.docs.mdx → public/llms/components/nav-modal.md} +65 -24
- package/{src/components/Pagination/Pagination.docs.mdx → public/llms/components/pagination.md} +38 -27
- package/public/llms/components/pill-group.md +162 -0
- package/{src/components/ProgressBar/ProgressBar.docs.mdx → public/llms/components/progress-bar.md} +42 -28
- package/public/llms/components/progress-stepper.md +144 -0
- package/{src/components/RadioCard/RadioCard.docs.mdx → public/llms/components/radio-card.md} +19 -50
- package/{src/components/Radio/Radio.docs.mdx → public/llms/components/radio.md} +146 -132
- package/public/llms/components/rating.md +147 -0
- package/{src/components/Roundel/Roundel.docs.mdx → public/llms/components/roundel.md} +19 -19
- package/{src/components/SectionHeader/Sectionheader.docs.mdx → public/llms/components/section-header.md} +46 -19
- package/{src/components/SegmentedControl/SegmentedControl.docs.mdx → public/llms/components/segmented-control.md} +40 -28
- package/{src/components/Select/Select.docs.mdx → public/llms/components/select.md} +70 -57
- package/{src/components/Skeleton/Skeleton.docs.mdx → public/llms/components/skeleton.md} +5 -9
- package/{src/components/Spinner/Spinner.docs.mdx → public/llms/components/spinner.md} +22 -22
- package/{src/components/StepperInput/StepperInput.docs.mdx → public/llms/components/stepper-input.md} +102 -29
- package/{src/components/Switch/Switch.docs.mdx → public/llms/components/switch.md} +56 -60
- package/public/llms/components/table.md +408 -0
- package/{src/components/Tabs/Tabs.docs.mdx → public/llms/components/tabs.md} +176 -41
- package/{src/components/Textarea/Textarea.docs.mdx → public/llms/components/textarea.md} +7 -49
- package/{src/components/ThemedImage/ThemedImage.docs.mdx → public/llms/components/themed-image.md} +79 -14
- package/{src/components/TimePickerInput/TimePickerInput.docs.mdx → public/llms/components/time-picker-input.md} +10 -48
- package/{src/components/TimePicker/TimePicker.docs.mdx → public/llms/components/time-picker.md} +17 -20
- package/{src/components/Timeline/Timeline.docs.mdx → public/llms/components/timeline.md} +30 -73
- package/{src/components/Toast/Toast.docs.mdx → public/llms/components/toast.md} +50 -31
- package/{src/components/ToggleButtonCard/ToggleButtonCard.docs.mdx → public/llms/components/toggle-button-card.md} +34 -56
- package/{src/components/VerificationInput/VerificationInput.docs.mdx → public/llms/components/verification-input.md} +106 -21
- package/{docs/adding-shadows.mdx → public/llms/docs/adding-shadows.md} +2 -29
- package/public/llms/docs/all-components.md +3 -0
- package/{docs/dark-mode-best-practice.mdx → public/llms/docs/dark-mode-best-practice.md} +10 -139
- package/{docs/getting-started.mdx → public/llms/docs/getting-started.md} +2 -13
- package/{docs/hooks.mdx → public/llms/docs/hooks.md} +16 -13
- package/{docs/introduction.mdx → public/llms/docs/introduction.md} +6 -12
- package/{docs/layout-components.docs.mdx → public/llms/docs/layout-components.md} +59 -26
- package/{docs/styling.mdx → public/llms/docs/styling.md} +21 -17
- package/{docs/theme-tokens.mdx → public/llms/docs/theme-tokens.md} +23 -18
- package/public/llms.txt +123 -0
- package/scripts/init-ai.js +157 -0
- package/.storybook/main.ts +0 -81
- package/.storybook/manager.ts +0 -11
- package/.storybook/preview.tsx +0 -174
- package/.storybook/prism-setup.ts +0 -104
- package/.storybook/vitest.setup.ts +0 -31
- package/.turbo/turbo-build.log +0 -1
- package/CHANGELOG.md +0 -2083
- package/CLAUDE.md +0 -109
- package/chromatic.config.json +0 -6
- package/docs/all-components.mdx +0 -19
- package/docs/assets/bank-logo.png +0 -0
- package/docs/assets/bank-logo1.png +0 -0
- package/docs/assets/modal-android.mp4 +0 -0
- package/docs/assets/modal-ios.mp4 +0 -0
- package/docs/assets/pigs.png +0 -0
- package/docs/assets/toast-ios.MP4 +0 -0
- package/docs/changelog.mdx +0 -2100
- package/docs/components/AdvancedInputExample.tsx +0 -39
- package/docs/components/AllComponents.web.tsx +0 -1005
- package/docs/components/BackToTopButton.tsx +0 -58
- package/docs/components/BadgeList.tsx +0 -30
- package/docs/components/DocComponentWrap.tsx +0 -7
- package/docs/components/InputShadowExample.tsx +0 -19
- package/docs/components/NextPrevPage.tsx +0 -54
- package/docs/components/SwitchExample.tsx +0 -13
- package/docs/components/SwitchList.tsx +0 -52
- package/docs/components/UsageWrap.tsx +0 -21
- package/docs/components/VariantTitle.tsx +0 -40
- package/docs/components/ViewFigmaButton.tsx +0 -43
- package/docs/components/ViewWrap.tsx +0 -32
- package/docs/components/index.ts +0 -13
- package/docs/heplers/addReactNativePrefix.ts +0 -8
- package/docs/heplers/index.ts +0 -1
- package/docs/llm-docs/unistyles-llms-full.txt +0 -9135
- package/docs/llm-docs/unistyles-llms-small.txt +0 -247
- package/eslint.config.js +0 -35
- package/figma.config.json +0 -11
- package/scripts/copyChangelog.js +0 -57
- package/scripts/copyTokens.js +0 -96
- package/src/components/Accordion/Accordion.context.tsx +0 -13
- package/src/components/Accordion/Accordion.figma.tsx +0 -21
- package/src/components/Accordion/Accordion.props.ts +0 -43
- package/src/components/Accordion/Accordion.stories.tsx +0 -118
- package/src/components/Accordion/Accordion.tsx +0 -127
- package/src/components/Accordion/AccordionContent.tsx +0 -44
- package/src/components/Accordion/AccordionContentText.tsx +0 -10
- package/src/components/Accordion/AccordionHeader.tsx +0 -18
- package/src/components/Accordion/AccordionIcon.tsx +0 -11
- package/src/components/Accordion/AccordionItem.context.tsx +0 -11
- package/src/components/Accordion/AccordionItem.figma.tsx +0 -27
- package/src/components/Accordion/AccordionItem.props.ts +0 -20
- package/src/components/Accordion/AccordionItemRoot.tsx +0 -27
- package/src/components/Accordion/AccordionRoot.tsx +0 -35
- package/src/components/Accordion/AccordionTitleText.tsx +0 -19
- package/src/components/Accordion/AccordionTrigger.tsx +0 -54
- package/src/components/Accordion/index.ts +0 -10
- package/src/components/Alert/Alert.context.ts +0 -8
- package/src/components/Alert/Alert.figma.tsx +0 -47
- package/src/components/Alert/Alert.props.ts +0 -67
- package/src/components/Alert/Alert.stories.tsx +0 -87
- package/src/components/Alert/Alert.tsx +0 -109
- package/src/components/Alert/AlertCloseButton.tsx +0 -54
- package/src/components/Alert/AlertContent.tsx +0 -22
- package/src/components/Alert/AlertIcon.tsx +0 -54
- package/src/components/Alert/AlertIconButton.tsx +0 -49
- package/src/components/Alert/AlertLink.tsx +0 -60
- package/src/components/Alert/AlertText.tsx +0 -39
- package/src/components/Alert/AlertTitle.tsx +0 -39
- package/src/components/Alert/index.ts +0 -8
- package/src/components/Avatar/Avatar.figma.tsx +0 -23
- package/src/components/Avatar/Avatar.props.ts +0 -31
- package/src/components/Avatar/Avatar.stories.tsx +0 -76
- package/src/components/Avatar/Avatar.tsx +0 -134
- package/src/components/Avatar/index.ts +0 -2
- package/src/components/Badge/Badge.context.ts +0 -11
- package/src/components/Badge/Badge.figma.tsx +0 -47
- package/src/components/Badge/Badge.props.ts +0 -26
- package/src/components/Badge/Badge.stories.tsx +0 -184
- package/src/components/Badge/Badge.tsx +0 -300
- package/src/components/Badge/BadgeIcon.tsx +0 -158
- package/src/components/Badge/BadgeText.tsx +0 -166
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Banner/Banner.context.ts +0 -11
- package/src/components/Banner/Banner.figma.tsx +0 -23
- package/src/components/Banner/Banner.props.ts +0 -99
- package/src/components/Banner/Banner.stories.tsx +0 -650
- package/src/components/Banner/Banner.tsx +0 -337
- package/src/components/Banner/BannerIllustration.figma.tsx +0 -30
- package/src/components/Banner/BannerIllustration.tsx +0 -58
- package/src/components/Banner/BannerImage.tsx +0 -63
- package/src/components/Banner/index.ts +0 -4
- package/src/components/BodyText/BodyText.props.ts +0 -10
- package/src/components/BodyText/BodyText.stories.tsx +0 -147
- package/src/components/BodyText/BodyText.tsx +0 -144
- package/src/components/BodyText/index.ts +0 -2
- package/src/components/BottomSheet/BottomSheet.context.ts +0 -15
- package/src/components/BottomSheet/BottomSheet.props.ts +0 -49
- package/src/components/BottomSheet/BottomSheet.stories.tsx +0 -335
- package/src/components/BottomSheet/BottomSheet.tsx +0 -71
- package/src/components/BottomSheet/BottomSheetBackdrop.tsx +0 -29
- package/src/components/BottomSheet/BottomSheetFlatList.tsx +0 -65
- package/src/components/BottomSheet/BottomSheetHandle.tsx +0 -48
- package/src/components/BottomSheet/BottomSheetModal.figma.tsx +0 -20
- package/src/components/BottomSheet/BottomSheetModal.tsx +0 -70
- package/src/components/BottomSheet/BottomSheetModalProvider.tsx +0 -33
- package/src/components/BottomSheet/BottomSheetScrollView.tsx +0 -74
- package/src/components/BottomSheet/BottomSheetView.tsx +0 -67
- package/src/components/BottomSheet/index.ts +0 -20
- package/src/components/BottomSheet/useBottomSheetLogic.tsx +0 -53
- package/src/components/Box/Box.props.ts +0 -13
- package/src/components/Box/Box.stories.tsx +0 -70
- package/src/components/Box/Box.tsx +0 -107
- package/src/components/Box/index.ts +0 -1
- package/src/components/Button/Button.context.ts +0 -13
- package/src/components/Button/Button.figma.tsx +0 -132
- package/src/components/Button/Button.props.tsx +0 -84
- package/src/components/Button/Button.stories.tsx +0 -293
- package/src/components/Button/Button.tsx +0 -83
- package/src/components/Button/ButtonGroup.context.ts +0 -5
- package/src/components/Button/ButtonGroup.tsx +0 -25
- package/src/components/Button/ButtonGroupRoot.tsx +0 -85
- package/src/components/Button/ButtonIcon.tsx +0 -141
- package/src/components/Button/ButtonRoot.tsx +0 -451
- package/src/components/Button/ButtonSpinner.tsx +0 -60
- package/src/components/Button/ButtonText.tsx +0 -134
- package/src/components/Button/index.ts +0 -3
- package/src/components/Card/Card.context.ts +0 -19
- package/src/components/Card/Card.figma.tsx +0 -29
- package/src/components/Card/Card.props.ts +0 -34
- package/src/components/Card/Card.stories.tsx +0 -370
- package/src/components/Card/Card.tsx +0 -10
- package/src/components/Card/CardAction/CardAction.context.ts +0 -22
- package/src/components/Card/CardAction/CardAction.figma.tsx +0 -44
- package/src/components/Card/CardAction/CardAction.props.ts +0 -86
- package/src/components/Card/CardAction/CardAction.stories.tsx +0 -412
- package/src/components/Card/CardAction/CardAction.tsx +0 -10
- package/src/components/Card/CardAction/CardActionContent.tsx +0 -20
- package/src/components/Card/CardAction/CardActionHelperText.tsx +0 -21
- package/src/components/Card/CardAction/CardActionIcon.tsx +0 -32
- package/src/components/Card/CardAction/CardActionLeadingContent.tsx +0 -9
- package/src/components/Card/CardAction/CardActionRoot.tsx +0 -270
- package/src/components/Card/CardAction/CardActionText.tsx +0 -17
- package/src/components/Card/CardAction/CardActionTrailingContent.tsx +0 -9
- package/src/components/Card/CardAction/CardActionTrailingIcon.tsx +0 -32
- package/src/components/Card/CardAction/index.ts +0 -10
- package/src/components/Card/CardActions.context.ts +0 -12
- package/src/components/Card/CardActions.tsx +0 -40
- package/src/components/Card/CardContent.tsx +0 -40
- package/src/components/Card/CardPressHandler.context.ts +0 -12
- package/src/components/Card/CardPressHandler.tsx +0 -20
- package/src/components/Card/CardRoot.tsx +0 -357
- package/src/components/Card/helpers.tsx +0 -195
- package/src/components/Card/index.ts +0 -7
- package/src/components/Carousel/Carousel.context.tsx +0 -8
- package/src/components/Carousel/Carousel.figma.tsx +0 -22
- package/src/components/Carousel/Carousel.props.ts +0 -89
- package/src/components/Carousel/Carousel.stories.tsx +0 -317
- package/src/components/Carousel/Carousel.tsx +0 -448
- package/src/components/Carousel/CarouselControlItem.tsx +0 -87
- package/src/components/Carousel/CarouselControls.tsx +0 -150
- package/src/components/Carousel/CarouselItem.tsx +0 -68
- package/src/components/Carousel/index.ts +0 -6
- package/src/components/Center/Center.docs.mdx +0 -42
- package/src/components/Center/Center.stories.tsx +0 -30
- package/src/components/Center/Center.tsx +0 -12
- package/src/components/Center/index.ts +0 -1
- package/src/components/Checkbox/Checkbox.context.ts +0 -9
- package/src/components/Checkbox/Checkbox.figma.tsx +0 -26
- package/src/components/Checkbox/Checkbox.props.ts +0 -47
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -217
- package/src/components/Checkbox/Checkbox.tsx +0 -110
- package/src/components/Checkbox/CheckboxGroup.context.ts +0 -10
- package/src/components/Checkbox/CheckboxGroup.figma.tsx +0 -73
- package/src/components/Checkbox/CheckboxGroup.props.ts +0 -23
- package/src/components/Checkbox/CheckboxGroup.stories.tsx +0 -100
- package/src/components/Checkbox/CheckboxGroup.tsx +0 -114
- package/src/components/Checkbox/CheckboxGroupRoot.tsx +0 -36
- package/src/components/Checkbox/CheckboxGroupTextContent.tsx +0 -14
- package/src/components/Checkbox/CheckboxIcon.tsx +0 -30
- package/src/components/Checkbox/CheckboxImage.figma.tsx +0 -27
- package/src/components/Checkbox/CheckboxImage.tsx +0 -14
- package/src/components/Checkbox/CheckboxIndicator.tsx +0 -63
- package/src/components/Checkbox/CheckboxLabel.tsx +0 -14
- package/src/components/Checkbox/CheckboxRoot.tsx +0 -64
- package/src/components/Checkbox/CheckboxTextContent.tsx +0 -21
- package/src/components/Checkbox/CheckboxTileRoot.figma.tsx +0 -29
- package/src/components/Checkbox/CheckboxTileRoot.tsx +0 -50
- package/src/components/Checkbox/index.ts +0 -12
- package/src/components/Combobox/Combobox.context.ts +0 -26
- package/src/components/Combobox/Combobox.figma.tsx +0 -60
- package/src/components/Combobox/Combobox.props.ts +0 -187
- package/src/components/Combobox/Combobox.stories.tsx +0 -233
- package/src/components/Combobox/Combobox.tsx +0 -446
- package/src/components/Combobox/ComboboxOption.tsx +0 -100
- package/src/components/Combobox/index.ts +0 -9
- package/src/components/Container/Container.props.ts +0 -32
- package/src/components/Container/Container.stories.tsx +0 -290
- package/src/components/Container/Container.tsx +0 -52
- package/src/components/Container/index.tsx +0 -2
- package/src/components/CurrencyInput/CurrencyInput.figma.tsx +0 -72
- package/src/components/CurrencyInput/CurrencyInput.props.ts +0 -27
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +0 -147
- package/src/components/CurrencyInput/CurrencyInput.tsx +0 -101
- package/src/components/CurrencyInput/index.ts +0 -1
- package/src/components/DateInput/DateInput.figma.tsx +0 -88
- package/src/components/DateInput/DateInput.props.ts +0 -125
- package/src/components/DateInput/DateInput.stories.tsx +0 -314
- package/src/components/DateInput/DateInput.tsx +0 -135
- package/src/components/DateInput/DateInputSegment.tsx +0 -69
- package/src/components/DateInput/index.ts +0 -2
- package/src/components/DatePicker/DatePicker.context.ts +0 -23
- package/src/components/DatePicker/DatePicker.figma.tsx +0 -47
- package/src/components/DatePicker/DatePicker.props.ts +0 -139
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -98
- package/src/components/DatePicker/DatePicker.tsx +0 -673
- package/src/components/DatePicker/DatePickerCalendar.tsx +0 -58
- package/src/components/DatePicker/DatePickerDay.tsx +0 -302
- package/src/components/DatePicker/DatePickerDays.tsx +0 -241
- package/src/components/DatePicker/DatePickerFooter.tsx +0 -35
- package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.props.ts +0 -8
- package/src/components/DatePicker/DatePickerHeader/DatePickerMonthButton.tsx +0 -29
- package/src/components/DatePicker/DatePickerHeader/DatePickerNextButton.tsx +0 -46
- package/src/components/DatePicker/DatePickerHeader/DatePickerPrevButton.tsx +0 -46
- package/src/components/DatePicker/DatePickerHeader/DatePickerSelectors.tsx +0 -96
- package/src/components/DatePicker/DatePickerHeader/DatePickerTimeButton.tsx +0 -48
- package/src/components/DatePicker/DatePickerHeader/DatePickerYearButton.tsx +0 -50
- package/src/components/DatePicker/DatePickerHeader/index.tsx +0 -64
- package/src/components/DatePicker/DatePickerMonths.tsx +0 -101
- package/src/components/DatePicker/DatePickerWeekdays.tsx +0 -49
- package/src/components/DatePicker/DatePickerYears.tsx +0 -119
- package/src/components/DatePicker/enums.ts +0 -14
- package/src/components/DatePicker/index.ts +0 -15
- package/src/components/DatePicker/polyfill.ts +0 -21
- package/src/components/DatePicker/utils.ts +0 -549
- package/src/components/DatePickerInput/DatePickerInput.figma.tsx +0 -34
- package/src/components/DatePickerInput/DatePickerInput.props.ts +0 -56
- package/src/components/DatePickerInput/DatePickerInput.stories.tsx +0 -178
- package/src/components/DatePickerInput/DatePickerInput.tsx +0 -277
- package/src/components/DatePickerInput/DatePickerInputDoneButton.tsx +0 -42
- package/src/components/DatePickerInput/DatePickerInputDoneButton.web.tsx +0 -7
- package/src/components/DatePickerInput/index.ts +0 -2
- package/src/components/DescriptionList/DescriptionList.context.ts +0 -18
- package/src/components/DescriptionList/DescriptionList.figma.tsx +0 -47
- package/src/components/DescriptionList/DescriptionList.props.ts +0 -14
- package/src/components/DescriptionList/DescriptionList.stories.tsx +0 -172
- package/src/components/DescriptionList/DescriptionList.tsx +0 -54
- package/src/components/DescriptionList/DescriptionListItem.figma.tsx +0 -42
- package/src/components/DescriptionList/DescriptionListItem.props.ts +0 -15
- package/src/components/DescriptionList/DescriptionListItem.tsx +0 -106
- package/src/components/DescriptionList/index.ts +0 -4
- package/src/components/DetailText/DetailText.props.ts +0 -8
- package/src/components/DetailText/DetailText.stories.tsx +0 -148
- package/src/components/DetailText/DetailText.tsx +0 -147
- package/src/components/DetailText/index.ts +0 -1
- package/src/components/Divider/Divider.figma.tsx +0 -12
- package/src/components/Divider/Divider.props.ts +0 -19
- package/src/components/Divider/Divider.stories.tsx +0 -60
- package/src/components/Divider/Divider.tsx +0 -240
- package/src/components/Divider/index.ts +0 -1
- package/src/components/Expandable/Expandable.props.ts +0 -46
- package/src/components/Expandable/Expandable.stories.tsx +0 -284
- package/src/components/Expandable/Expandable.tsx +0 -92
- package/src/components/Expandable/index.ts +0 -2
- package/src/components/ExpandableCard/ExpandableCard.figma.tsx +0 -49
- package/src/components/ExpandableCard/ExpandableCard.props.ts +0 -108
- package/src/components/ExpandableCard/ExpandableCard.stories.tsx +0 -376
- package/src/components/ExpandableCard/ExpandableCard.tsx +0 -84
- package/src/components/ExpandableCard/ExpandableCardContent.tsx +0 -21
- package/src/components/ExpandableCard/ExpandableCardExpandedContent.tsx +0 -42
- package/src/components/ExpandableCard/ExpandableCardGroup.figma.tsx +0 -40
- package/src/components/ExpandableCard/ExpandableCardGroup.props.ts +0 -36
- package/src/components/ExpandableCard/ExpandableCardGroup.tsx +0 -42
- package/src/components/ExpandableCard/ExpandableCardHelperText.tsx +0 -21
- package/src/components/ExpandableCard/ExpandableCardIcon.tsx +0 -32
- package/src/components/ExpandableCard/ExpandableCardLeadingContent.tsx +0 -9
- package/src/components/ExpandableCard/ExpandableCardText.tsx +0 -14
- package/src/components/ExpandableCard/ExpandableCardTrailingContent.tsx +0 -9
- package/src/components/ExpandableCard/ExpandableCardTrailingIcon.tsx +0 -30
- package/src/components/ExpandableCard/ExpandableCardTrigger.props.ts +0 -76
- package/src/components/ExpandableCard/ExpandableCardTrigger.tsx +0 -9
- package/src/components/ExpandableCard/ExpandableCardTriggerRoot.tsx +0 -173
- package/src/components/ExpandableCard/index.ts +0 -14
- package/src/components/Flex/Flex.props.ts +0 -31
- package/src/components/Flex/Flex.stories.tsx +0 -78
- package/src/components/Flex/Flex.tsx +0 -46
- package/src/components/Flex/index.ts +0 -1
- package/src/components/FormField/FormFielInvalidIcon.tsx +0 -11
- package/src/components/FormField/FormField.context.ts +0 -11
- package/src/components/FormField/FormField.figma.tsx +0 -23
- package/src/components/FormField/FormField.props.ts +0 -20
- package/src/components/FormField/FormField.stories.tsx +0 -134
- package/src/components/FormField/FormField.tsx +0 -123
- package/src/components/FormField/FormFieldHelper.tsx +0 -23
- package/src/components/FormField/FormFieldInvalid.tsx +0 -33
- package/src/components/FormField/FormFieldLabel.tsx +0 -16
- package/src/components/FormField/FormFieldRoot.tsx +0 -21
- package/src/components/FormField/FormFieldValid.tsx +0 -33
- package/src/components/FormField/FormFieldValidIcon.tsx +0 -11
- package/src/components/FormField/index.ts +0 -16
- package/src/components/Grid/Grid.props.ts +0 -62
- package/src/components/Grid/Grid.stories.tsx +0 -199
- package/src/components/Grid/Grid.tsx +0 -146
- package/src/components/Grid/index.ts +0 -2
- package/src/components/HTMLElements/ListItem.tsx +0 -33
- package/src/components/HTMLElements/OrderedList.stories.tsx +0 -86
- package/src/components/HTMLElements/OrderedList.tsx +0 -98
- package/src/components/HTMLElements/UnorderedList.stories.tsx +0 -110
- package/src/components/HTMLElements/UnorderedList.tsx +0 -92
- package/src/components/HTMLElements/index.ts +0 -3
- package/src/components/Heading/Heading.props.ts +0 -8
- package/src/components/Heading/Heading.stories.tsx +0 -128
- package/src/components/Heading/Heading.tsx +0 -193
- package/src/components/Heading/index.ts +0 -1
- package/src/components/Helper/Helper.props.ts +0 -24
- package/src/components/Helper/Helper.tsx +0 -66
- package/src/components/Helper/HelperContext.ts +0 -6
- package/src/components/Helper/HelperIcon.tsx +0 -44
- package/src/components/Helper/HelperText.figma.tsx +0 -23
- package/src/components/Helper/HelperText.tsx +0 -46
- package/src/components/Helper/index.ts +0 -3
- package/src/components/HighlightBanner/HighlightBanner.figma.tsx +0 -46
- package/src/components/HighlightBanner/HighlightBanner.props.ts +0 -29
- package/src/components/HighlightBanner/HighlightBanner.stories.tsx +0 -314
- package/src/components/HighlightBanner/HighlightBanner.tsx +0 -127
- package/src/components/HighlightBanner/HighlightBannerImage.tsx +0 -20
- package/src/components/HighlightBanner/index.ts +0 -3
- package/src/components/Icon/Icon.props.ts +0 -17
- package/src/components/Icon/Icon.stories.tsx +0 -44
- package/src/components/Icon/Icon.tsx +0 -52
- package/src/components/Icon/index.tsx +0 -2
- package/src/components/IconButton/IconButton.context.ts +0 -13
- package/src/components/IconButton/IconButton.figma.tsx +0 -45
- package/src/components/IconButton/IconButton.props.ts +0 -45
- package/src/components/IconButton/IconButton.stories.tsx +0 -271
- package/src/components/IconButton/IconButton.tsx +0 -37
- package/src/components/IconButton/IconButtonIcon.tsx +0 -156
- package/src/components/IconButton/IconButtonRoot.tsx +0 -478
- package/src/components/IconButton/IconButtonSpinner.tsx +0 -68
- package/src/components/IconButton/index.tsx +0 -2
- package/src/components/IconContainer/IconContainer.figma.tsx +0 -44
- package/src/components/IconContainer/IconContainer.props.ts +0 -17
- package/src/components/IconContainer/IconContainer.stories.tsx +0 -135
- package/src/components/IconContainer/IconContainer.tsx +0 -178
- package/src/components/IconContainer/index.tsx +0 -2
- package/src/components/Icons/CircleIcon.tsx +0 -21
- package/src/components/Icons/index.ts +0 -1
- package/src/components/IndicatorIconButton/IndicatorIconButton.docs.mdx +0 -85
- package/src/components/IndicatorIconButton/IndicatorIconButton.figma.tsx +0 -16
- package/src/components/IndicatorIconButton/IndicatorIconButton.props.ts +0 -12
- package/src/components/IndicatorIconButton/IndicatorIconButton.stories.tsx +0 -150
- package/src/components/IndicatorIconButton/IndicatorIconButton.tsx +0 -36
- package/src/components/IndicatorIconButton/index.tsx +0 -2
- package/src/components/InlineLink/InlineLink.context.ts +0 -10
- package/src/components/InlineLink/InlineLink.props.ts +0 -10
- package/src/components/InlineLink/InlineLink.stories.tsx +0 -91
- package/src/components/InlineLink/InlineLink.tsx +0 -26
- package/src/components/InlineLink/InlineLinkRoot.tsx +0 -87
- package/src/components/InlineLink/index.ts +0 -3
- package/src/components/Input/Input.context.ts +0 -6
- package/src/components/Input/Input.figma.tsx +0 -123
- package/src/components/Input/Input.props.ts +0 -118
- package/src/components/Input/Input.stories.tsx +0 -235
- package/src/components/Input/Input.tsx +0 -215
- package/src/components/Input/InputField.tsx +0 -75
- package/src/components/Input/InputIcon.tsx +0 -30
- package/src/components/Input/InputRoot.tsx +0 -89
- package/src/components/Input/InputSlot.tsx +0 -32
- package/src/components/Input/index.ts +0 -1
- package/src/components/Label/Label.figma.tsx +0 -24
- package/src/components/Label/Label.props.ts +0 -9
- package/src/components/Label/Label.tsx +0 -44
- package/src/components/Label/index.ts +0 -1
- package/src/components/Link/Link.context.ts +0 -10
- package/src/components/Link/Link.figma.tsx +0 -35
- package/src/components/Link/Link.props.ts +0 -18
- package/src/components/Link/Link.stories.tsx +0 -75
- package/src/components/Link/Link.tsx +0 -44
- package/src/components/Link/LinkIcon.tsx +0 -60
- package/src/components/Link/LinkRoot.tsx +0 -65
- package/src/components/Link/LinkText.tsx +0 -59
- package/src/components/Link/index.ts +0 -4
- package/src/components/List/List.context.ts +0 -16
- package/src/components/List/List.figma.tsx +0 -45
- package/src/components/List/List.props.ts +0 -13
- package/src/components/List/List.stories.tsx +0 -535
- package/src/components/List/List.tsx +0 -109
- package/src/components/List/ListAction/ListAction.figma.tsx +0 -21
- package/src/components/List/ListAction/ListAction.props.ts +0 -10
- package/src/components/List/ListAction/ListAction.tsx +0 -165
- package/src/components/List/ListAction/ListActionContent.tsx +0 -21
- package/src/components/List/ListAction/ListActionText.tsx +0 -14
- package/src/components/List/ListAction/ListActionTrailingContent.tsx +0 -9
- package/src/components/List/ListAction/ListActionTrailingIcon.tsx +0 -33
- package/src/components/List/ListAction/index.ts +0 -6
- package/src/components/List/ListItem/ListItem.context.ts +0 -11
- package/src/components/List/ListItem/ListItem.figma.tsx +0 -56
- package/src/components/List/ListItem/ListItem.props.ts +0 -38
- package/src/components/List/ListItem/ListItem.tsx +0 -10
- package/src/components/List/ListItem/ListItemContent.tsx +0 -21
- package/src/components/List/ListItem/ListItemHeading.tsx +0 -20
- package/src/components/List/ListItem/ListItemHelperText.tsx +0 -20
- package/src/components/List/ListItem/ListItemIcon.tsx +0 -32
- package/src/components/List/ListItem/ListItemLeadingContent.figma.tsx +0 -29
- package/src/components/List/ListItem/ListItemLeadingContent.tsx +0 -9
- package/src/components/List/ListItem/ListItemRoot.tsx +0 -221
- package/src/components/List/ListItem/ListItemTrailingContent.figma.tsx +0 -27
- package/src/components/List/ListItem/ListItemTrailingContent.tsx +0 -9
- package/src/components/List/ListItem/ListItemTrailingIcon.tsx +0 -31
- package/src/components/List/ListItem/index.ts +0 -9
- package/src/components/List/index.ts +0 -4
- package/src/components/Menu/Menu.context.ts +0 -15
- package/src/components/Menu/Menu.figma.tsx +0 -30
- package/src/components/Menu/Menu.props.ts +0 -20
- package/src/components/Menu/Menu.stories.tsx +0 -292
- package/src/components/Menu/Menu.tsx +0 -51
- package/src/components/Menu/MenuItem.figma.tsx +0 -39
- package/src/components/Menu/MenuItem.props.ts +0 -29
- package/src/components/Menu/MenuItem.tsx +0 -145
- package/src/components/Menu/MenuTrigger.props.ts +0 -14
- package/src/components/Menu/MenuTrigger.tsx +0 -20
- package/src/components/Menu/index.ts +0 -7
- package/src/components/Modal/Modal.figma.tsx +0 -67
- package/src/components/Modal/Modal.props.ts +0 -25
- package/src/components/Modal/Modal.shared.types.ts +0 -43
- package/src/components/Modal/Modal.stories.tsx +0 -405
- package/src/components/Modal/Modal.tsx +0 -423
- package/src/components/Modal/Modal.web.tsx +0 -250
- package/src/components/Modal/ModalImage.tsx +0 -20
- package/src/components/Modal/index.ts +0 -3
- package/src/components/NavModal/NavModal.figma.tsx +0 -13
- package/src/components/NavModal/NavModal.props.ts +0 -31
- package/src/components/NavModal/NavModal.stories.tsx +0 -200
- package/src/components/NavModal/NavModal.tsx +0 -436
- package/src/components/NavModal/index.ts +0 -2
- package/src/components/Pagination/Pagination.figma.tsx +0 -20
- package/src/components/Pagination/Pagination.props.ts +0 -28
- package/src/components/Pagination/Pagination.stories.tsx +0 -88
- package/src/components/Pagination/Pagination.tsx +0 -248
- package/src/components/Pagination/Pagination.utils.test.ts +0 -20
- package/src/components/Pagination/Pagination.utils.ts +0 -37
- package/src/components/Pagination/index.ts +0 -2
- package/src/components/PillGroup/Pill.figma.tsx +0 -12
- package/src/components/PillGroup/Pill.props.ts +0 -13
- package/src/components/PillGroup/Pill.tsx +0 -118
- package/src/components/PillGroup/PillGroup.context.tsx +0 -12
- package/src/components/PillGroup/PillGroup.docs.mdx +0 -96
- package/src/components/PillGroup/PillGroup.figma.tsx +0 -20
- package/src/components/PillGroup/PillGroup.props.ts +0 -36
- package/src/components/PillGroup/PillGroup.stories.tsx +0 -158
- package/src/components/PillGroup/PillGroup.tsx +0 -70
- package/src/components/PillGroup/index.ts +0 -4
- package/src/components/ProgressBar/ProgressBar.figma.tsx +0 -79
- package/src/components/ProgressBar/ProgressBar.props.ts +0 -60
- package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -117
- package/src/components/ProgressBar/ProgressBar.tsx +0 -74
- package/src/components/ProgressBar/ProgressBarCircular.tsx +0 -181
- package/src/components/ProgressBar/ProgressBarLinear.tsx +0 -127
- package/src/components/ProgressBar/index.ts +0 -7
- package/src/components/ProgressStepper/ProgressStep.figma.tsx +0 -19
- package/src/components/ProgressStepper/ProgressStep.tsx +0 -134
- package/src/components/ProgressStepper/ProgressStepper.docs.mdx +0 -87
- package/src/components/ProgressStepper/ProgressStepper.figma.tsx +0 -13
- package/src/components/ProgressStepper/ProgressStepper.props.ts +0 -27
- package/src/components/ProgressStepper/ProgressStepper.stories.tsx +0 -107
- package/src/components/ProgressStepper/ProgressStepper.tsx +0 -26
- package/src/components/ProgressStepper/ProgressStepperRoot.tsx +0 -32
- package/src/components/ProgressStepper/index.ts +0 -3
- package/src/components/Radio/Radio.context.ts +0 -9
- package/src/components/Radio/Radio.figma.tsx +0 -38
- package/src/components/Radio/Radio.props.ts +0 -38
- package/src/components/Radio/Radio.stories.tsx +0 -254
- package/src/components/Radio/Radio.tsx +0 -98
- package/src/components/Radio/RadioGroup.context.ts +0 -10
- package/src/components/Radio/RadioGroup.figma.tsx +0 -82
- package/src/components/Radio/RadioGroup.props.ts +0 -23
- package/src/components/Radio/RadioGroup.stories.tsx +0 -131
- package/src/components/Radio/RadioGroup.tsx +0 -113
- package/src/components/Radio/RadioGroupRoot.tsx +0 -36
- package/src/components/Radio/RadioGroupTextContent.tsx +0 -14
- package/src/components/Radio/RadioIcon.tsx +0 -37
- package/src/components/Radio/RadioImage.figma.tsx +0 -27
- package/src/components/Radio/RadioImage.tsx +0 -14
- package/src/components/Radio/RadioIndicator.tsx +0 -63
- package/src/components/Radio/RadioLabel.tsx +0 -14
- package/src/components/Radio/RadioRoot.tsx +0 -65
- package/src/components/Radio/RadioTextContent.tsx +0 -21
- package/src/components/Radio/RadioTile.figma.tsx +0 -38
- package/src/components/Radio/RadioTileRoot.tsx +0 -46
- package/src/components/Radio/index.ts +0 -6
- package/src/components/RadioCard/RadioCard.context.ts +0 -8
- package/src/components/RadioCard/RadioCard.figma.tsx +0 -24
- package/src/components/RadioCard/RadioCard.props.ts +0 -19
- package/src/components/RadioCard/RadioCard.stories.tsx +0 -45
- package/src/components/RadioCard/RadioCard.tsx +0 -62
- package/src/components/RadioCard/RadioCardGroup.context.ts +0 -16
- package/src/components/RadioCard/RadioCardGroup.props.ts +0 -36
- package/src/components/RadioCard/RadioCardGroup.stories.tsx +0 -94
- package/src/components/RadioCard/RadioCardGroup.tsx +0 -57
- package/src/components/RadioCard/RadioCardIcon.tsx +0 -33
- package/src/components/RadioCard/RadioCardIndicator.tsx +0 -63
- package/src/components/RadioCard/RadioCardLabel.tsx +0 -19
- package/src/components/RadioCard/RadioCardRoot.tsx +0 -85
- package/src/components/RadioCard/index.ts +0 -8
- package/src/components/Rating/Rating.docs.mdx +0 -217
- package/src/components/Rating/Rating.figma.tsx +0 -39
- package/src/components/Rating/Rating.props.ts +0 -28
- package/src/components/Rating/Rating.stories.tsx +0 -112
- package/src/components/Rating/Rating.tsx +0 -198
- package/src/components/Rating/Rating.utils.test.ts +0 -15
- package/src/components/Rating/Rating.utils.ts +0 -14
- package/src/components/Rating/RatingEmoji.tsx +0 -28
- package/src/components/Rating/RatingStarEmpty.tsx +0 -22
- package/src/components/Rating/RatingStarFilled.tsx +0 -27
- package/src/components/Rating/index.ts +0 -2
- package/src/components/Roundel/Roundel.figma.tsx +0 -17
- package/src/components/Roundel/Roundel.props.ts +0 -8
- package/src/components/Roundel/Roundel.stories.tsx +0 -49
- package/src/components/Roundel/Roundel.tsx +0 -51
- package/src/components/Roundel/index.ts +0 -2
- package/src/components/SectionHeader/SectionHeader.figma.tsx +0 -37
- package/src/components/SectionHeader/SectionHeader.props.ts +0 -29
- package/src/components/SectionHeader/SectionHeader.stories.tsx +0 -86
- package/src/components/SectionHeader/SectionHeader.tsx +0 -61
- package/src/components/SectionHeader/SectionHeaderHeading.tsx +0 -14
- package/src/components/SectionHeader/SectionHeaderHelperText.tsx +0 -21
- package/src/components/SectionHeader/SectionHeaderTextContent.tsx +0 -21
- package/src/components/SectionHeader/SectionHeaderTrailingContent.tsx +0 -20
- package/src/components/SectionHeader/index.ts +0 -5
- package/src/components/SegmentedControl/SegmentedControl.context.ts +0 -22
- package/src/components/SegmentedControl/SegmentedControl.figma.tsx +0 -39
- package/src/components/SegmentedControl/SegmentedControl.props.ts +0 -20
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +0 -98
- package/src/components/SegmentedControl/SegmentedControl.tsx +0 -260
- package/src/components/SegmentedControl/SegmentedControlOption.props.ts +0 -16
- package/src/components/SegmentedControl/SegmentedControlOption.tsx +0 -237
- package/src/components/SegmentedControl/index.ts +0 -4
- package/src/components/Select/Select.context.ts +0 -15
- package/src/components/Select/Select.figma.tsx +0 -56
- package/src/components/Select/Select.props.ts +0 -161
- package/src/components/Select/Select.stories.tsx +0 -290
- package/src/components/Select/Select.tsx +0 -321
- package/src/components/Select/SelectOption.figma.tsx +0 -18
- package/src/components/Select/SelectOption.tsx +0 -103
- package/src/components/Select/index.ts +0 -7
- package/src/components/Skeleton/Skeleton.props.ts +0 -11
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -33
- package/src/components/Skeleton/Skeleton.tsx +0 -77
- package/src/components/Skeleton/index.ts +0 -1
- package/src/components/Spinner/Spinner.figma.tsx +0 -14
- package/src/components/Spinner/Spinner.props.ts +0 -10
- package/src/components/Spinner/Spinner.stories.tsx +0 -56
- package/src/components/Spinner/Spinner.tsx +0 -157
- package/src/components/Spinner/Spinner.web.tsx +0 -149
- package/src/components/Spinner/index.ts +0 -2
- package/src/components/StepperInput/StepperButton.tsx +0 -83
- package/src/components/StepperInput/StepperInput.figma.tsx +0 -45
- package/src/components/StepperInput/StepperInput.props.ts +0 -39
- package/src/components/StepperInput/StepperInput.stories.tsx +0 -270
- package/src/components/StepperInput/StepperInput.tsx +0 -322
- package/src/components/StepperInput/index.ts +0 -2
- package/src/components/Switch/Switch.figma.tsx +0 -16
- package/src/components/Switch/Switch.props.ts +0 -10
- package/src/components/Switch/Switch.stories.tsx +0 -80
- package/src/components/Switch/Switch.tsx +0 -209
- package/src/components/Switch/Switch.web.tsx +0 -207
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Table/Table.context.tsx +0 -23
- package/src/components/Table/Table.docs.mdx +0 -239
- package/src/components/Table/Table.figma.tsx +0 -65
- package/src/components/Table/Table.props.ts +0 -65
- package/src/components/Table/Table.stories.tsx +0 -399
- package/src/components/Table/Table.tsx +0 -127
- package/src/components/Table/Table.utils.test.ts +0 -82
- package/src/components/Table/Table.utils.ts +0 -72
- package/src/components/Table/TableBody.tsx +0 -25
- package/src/components/Table/TableCell.tsx +0 -67
- package/src/components/Table/TableHeader.tsx +0 -41
- package/src/components/Table/TableHeaderCell.tsx +0 -145
- package/src/components/Table/TablePagination.tsx +0 -10
- package/src/components/Table/TableRow.tsx +0 -42
- package/src/components/Table/index.ts +0 -16
- package/src/components/Tabs/Tab.figma.tsx +0 -21
- package/src/components/Tabs/Tab.props.ts +0 -16
- package/src/components/Tabs/Tab.tsx +0 -114
- package/src/components/Tabs/TabPanel.props.ts +0 -10
- package/src/components/Tabs/TabPanel.tsx +0 -46
- package/src/components/Tabs/Tabs.context.ts +0 -26
- package/src/components/Tabs/Tabs.figma.tsx +0 -20
- package/src/components/Tabs/Tabs.props.ts +0 -21
- package/src/components/Tabs/Tabs.stories.tsx +0 -270
- package/src/components/Tabs/Tabs.tsx +0 -138
- package/src/components/Tabs/TabsList.props.ts +0 -8
- package/src/components/Tabs/TabsList.tsx +0 -194
- package/src/components/Tabs/index.ts +0 -8
- package/src/components/Textarea/Textarea.context.ts +0 -6
- package/src/components/Textarea/Textarea.figma.tsx +0 -64
- package/src/components/Textarea/Textarea.props.ts +0 -74
- package/src/components/Textarea/Textarea.stories.tsx +0 -106
- package/src/components/Textarea/Textarea.tsx +0 -207
- package/src/components/Textarea/TextareaField.tsx +0 -45
- package/src/components/Textarea/TextareaRoot.tsx +0 -83
- package/src/components/Textarea/index.ts +0 -1
- package/src/components/ThemedImage/ThemedImage.props.ts +0 -15
- package/src/components/ThemedImage/ThemedImage.stories.tsx +0 -175
- package/src/components/ThemedImage/ThemedImage.tsx +0 -34
- package/src/components/ThemedImage/index.tsx +0 -2
- package/src/components/TimePicker/TimePicker.figma.tsx +0 -29
- package/src/components/TimePicker/TimePicker.props.ts +0 -45
- package/src/components/TimePicker/TimePicker.stories.tsx +0 -85
- package/src/components/TimePicker/TimePicker.tsx +0 -150
- package/src/components/TimePicker/TimePickerView.tsx +0 -216
- package/src/components/TimePicker/TimePickerWheel.tsx +0 -161
- package/src/components/TimePicker/TimePickerWheel.web.tsx +0 -217
- package/src/components/TimePicker/index.ts +0 -8
- package/src/components/TimePickerInput/TimePickerInput.figma.tsx +0 -34
- package/src/components/TimePickerInput/TimePickerInput.props.ts +0 -55
- package/src/components/TimePickerInput/TimePickerInput.stories.tsx +0 -175
- package/src/components/TimePickerInput/TimePickerInput.tsx +0 -283
- package/src/components/TimePickerInput/TimePickerInputDoneButton.tsx +0 -42
- package/src/components/TimePickerInput/TimePickerInputDoneButton.web.tsx +0 -7
- package/src/components/TimePickerInput/index.ts +0 -2
- package/src/components/Timeline/Timeline.figma.tsx +0 -89
- package/src/components/Timeline/Timeline.props.ts +0 -51
- package/src/components/Timeline/Timeline.stories.tsx +0 -102
- package/src/components/Timeline/Timeline.tsx +0 -48
- package/src/components/Timeline/TimelineItem.tsx +0 -293
- package/src/components/Timeline/index.ts +0 -9
- package/src/components/Toast/Toast.context.tsx +0 -139
- package/src/components/Toast/Toast.props.ts +0 -38
- package/src/components/Toast/Toast.stories.tsx +0 -385
- package/src/components/Toast/ToastItem.figma.tsx +0 -15
- package/src/components/Toast/ToastItem.tsx +0 -205
- package/src/components/Toast/index.ts +0 -3
- package/src/components/ToggleButton/ToggleButton.props.tsx +0 -7
- package/src/components/ToggleButton/ToggleButton.stories.tsx +0 -35
- package/src/components/ToggleButton/ToggleButton.tsx +0 -32
- package/src/components/ToggleButton/ToggleButtonIcon.tsx +0 -47
- package/src/components/ToggleButton/ToggleButtonRoot.tsx +0 -98
- package/src/components/ToggleButton/ToggleButtonText.tsx +0 -29
- package/src/components/ToggleButton/index.ts +0 -2
- package/src/components/ToggleButtonCard/ToggleButtonCard.context.ts +0 -8
- package/src/components/ToggleButtonCard/ToggleButtonCard.figma.tsx +0 -24
- package/src/components/ToggleButtonCard/ToggleButtonCard.props.ts +0 -17
- package/src/components/ToggleButtonCard/ToggleButtonCard.stories.tsx +0 -45
- package/src/components/ToggleButtonCard/ToggleButtonCard.tsx +0 -32
- package/src/components/ToggleButtonCard/ToggleButtonCardGroup.props.ts +0 -34
- package/src/components/ToggleButtonCard/ToggleButtonCardGroup.stories.tsx +0 -85
- package/src/components/ToggleButtonCard/ToggleButtonCardGroup.tsx +0 -48
- package/src/components/ToggleButtonCard/ToggleButtonCardRoot.tsx +0 -97
- package/src/components/ToggleButtonCard/index.ts +0 -2
- package/src/components/UnstyledIconButton/UnstyledIconButton.context.ts +0 -11
- package/src/components/UnstyledIconButton/UnstyledIconButton.figma.tsx +0 -49
- package/src/components/UnstyledIconButton/UnstyledIconButton.props.ts +0 -34
- package/src/components/UnstyledIconButton/UnstyledIconButton.stories.tsx +0 -96
- package/src/components/UnstyledIconButton/UnstyledIconButton.tsx +0 -68
- package/src/components/UnstyledIconButton/UnstyledIconButtonIcon.tsx +0 -74
- package/src/components/UnstyledIconButton/UnstyledIconButtonRoot.tsx +0 -61
- package/src/components/UnstyledIconButton/UnstyledIconButtonSpinner.tsx +0 -39
- package/src/components/UnstyledIconButton/index.tsx +0 -2
- package/src/components/VerificationInput/VerificationInput.figma.tsx +0 -53
- package/src/components/VerificationInput/VerificationInput.props.ts +0 -66
- package/src/components/VerificationInput/VerificationInput.stories.tsx +0 -249
- package/src/components/VerificationInput/VerificationInput.tsx +0 -290
- package/src/components/VerificationInput/VerificationInput.utils.test.ts +0 -48
- package/src/components/VerificationInput/VerificationInput.utils.ts +0 -32
- package/src/components/VerificationInput/VerificationInputSlot.tsx +0 -170
- package/src/components/VerificationInput/index.ts +0 -7
- package/src/components/index.ts +0 -77
- package/src/core/breakpoints.ts +0 -10
- package/src/core/index.ts +0 -38
- package/src/core/themes.ts +0 -390
- package/src/hooks/index.ts +0 -8
- package/src/hooks/useBreakpointValue.ts +0 -62
- package/src/hooks/useColorMode.ts +0 -18
- package/src/hooks/useFormFieldAccessibility.test.tsx +0 -74
- package/src/hooks/useFormFieldAccessibility.ts +0 -67
- package/src/hooks/useMedia.ts +0 -31
- package/src/hooks/usePrevious.ts +0 -9
- package/src/hooks/useStyleProps.ts +0 -95
- package/src/hooks/useTheme.ts +0 -9
- package/src/hooks/useToken.ts +0 -40
- package/src/index.ts +0 -4
- package/src/legacyTokens/common/brand.ts +0 -18
- package/src/legacyTokens/common/index.ts +0 -10
- package/src/legacyTokens/common/service.ts +0 -22
- package/src/legacyTokens/dark/apple.ts +0 -30
- package/src/legacyTokens/dark/cyan.ts +0 -50
- package/src/legacyTokens/dark/gold.ts +0 -46
- package/src/legacyTokens/dark/grape.ts +0 -30
- package/src/legacyTokens/dark/green.ts +0 -42
- package/src/legacyTokens/dark/grey.ts +0 -62
- package/src/legacyTokens/dark/index.ts +0 -42
- package/src/legacyTokens/dark/pink.ts +0 -30
- package/src/legacyTokens/dark/purple.ts +0 -50
- package/src/legacyTokens/dark/red.ts +0 -42
- package/src/legacyTokens/dark/rose.ts +0 -30
- package/src/legacyTokens/index.ts +0 -14
- package/src/legacyTokens/light/apple.ts +0 -30
- package/src/legacyTokens/light/cyan.ts +0 -50
- package/src/legacyTokens/light/gold.ts +0 -46
- package/src/legacyTokens/light/grape.ts +0 -30
- package/src/legacyTokens/light/green.ts +0 -42
- package/src/legacyTokens/light/grey.ts +0 -62
- package/src/legacyTokens/light/index.ts +0 -42
- package/src/legacyTokens/light/pink.ts +0 -30
- package/src/legacyTokens/light/purple.ts +0 -50
- package/src/legacyTokens/light/red.ts +0 -42
- package/src/legacyTokens/light/rose.ts +0 -34
- package/src/tokens/README.md +0 -7
- package/src/tokens/border-radius.ts +0 -12
- package/src/tokens/border-width.ts +0 -8
- package/src/tokens/color.ts +0 -659
- package/src/tokens/components/dark/accordion.ts +0 -27
- package/src/tokens/components/dark/alert.ts +0 -23
- package/src/tokens/components/dark/avatar.ts +0 -19
- package/src/tokens/components/dark/badge.ts +0 -24
- package/src/tokens/components/dark/banner.ts +0 -53
- package/src/tokens/components/dark/bottom-navigation.ts +0 -30
- package/src/tokens/components/dark/bottom-sheet.ts +0 -16
- package/src/tokens/components/dark/breadcrumb.ts +0 -7
- package/src/tokens/components/dark/button.ts +0 -19
- package/src/tokens/components/dark/card-accordion.ts +0 -13
- package/src/tokens/components/dark/card-action.ts +0 -11
- package/src/tokens/components/dark/card-content.ts +0 -25
- package/src/tokens/components/dark/card.ts +0 -38
- package/src/tokens/components/dark/carousel-control.ts +0 -11
- package/src/tokens/components/dark/checkbox.ts +0 -42
- package/src/tokens/components/dark/date-picker.ts +0 -44
- package/src/tokens/components/dark/description-list.ts +0 -20
- package/src/tokens/components/dark/divider.ts +0 -11
- package/src/tokens/components/dark/drawer.ts +0 -29
- package/src/tokens/components/dark/expandable-card.ts +0 -11
- package/src/tokens/components/dark/form-field.ts +0 -10
- package/src/tokens/components/dark/icon-button.ts +0 -46
- package/src/tokens/components/dark/icon-container.ts +0 -25
- package/src/tokens/components/dark/illustrations.ts +0 -7
- package/src/tokens/components/dark/index.ts +0 -58
- package/src/tokens/components/dark/indicator-icon-button.ts +0 -11
- package/src/tokens/components/dark/inline-link.ts +0 -14
- package/src/tokens/components/dark/input.ts +0 -43
- package/src/tokens/components/dark/link.ts +0 -20
- package/src/tokens/components/dark/list.ts +0 -48
- package/src/tokens/components/dark/menu.ts +0 -34
- package/src/tokens/components/dark/modal.ts +0 -36
- package/src/tokens/components/dark/navigation.ts +0 -61
- package/src/tokens/components/dark/overlay.ts +0 -8
- package/src/tokens/components/dark/pagination.ts +0 -13
- package/src/tokens/components/dark/parts.ts +0 -33
- package/src/tokens/components/dark/pill.ts +0 -16
- package/src/tokens/components/dark/progress-bar.ts +0 -41
- package/src/tokens/components/dark/progress-stepper.ts +0 -24
- package/src/tokens/components/dark/radio.ts +0 -39
- package/src/tokens/components/dark/rating.ts +0 -8
- package/src/tokens/components/dark/section-header.ts +0 -10
- package/src/tokens/components/dark/segmented-control.ts +0 -19
- package/src/tokens/components/dark/select.ts +0 -45
- package/src/tokens/components/dark/skeleton.ts +0 -7
- package/src/tokens/components/dark/spinner.ts +0 -24
- package/src/tokens/components/dark/switch.ts +0 -25
- package/src/tokens/components/dark/table.ts +0 -27
- package/src/tokens/components/dark/tabs.ts +0 -25
- package/src/tokens/components/dark/time-picker.ts +0 -30
- package/src/tokens/components/dark/timeline.ts +0 -27
- package/src/tokens/components/dark/toast.ts +0 -17
- package/src/tokens/components/dark/toggle-button.ts +0 -13
- package/src/tokens/components/dark/tooltip.ts +0 -13
- package/src/tokens/components/dark/top-navigation.ts +0 -18
- package/src/tokens/components/index.ts +0 -6
- package/src/tokens/components/light/accordion.ts +0 -27
- package/src/tokens/components/light/alert.ts +0 -23
- package/src/tokens/components/light/avatar.ts +0 -19
- package/src/tokens/components/light/badge.ts +0 -24
- package/src/tokens/components/light/banner.ts +0 -53
- package/src/tokens/components/light/bottom-navigation.ts +0 -30
- package/src/tokens/components/light/bottom-sheet.ts +0 -16
- package/src/tokens/components/light/breadcrumb.ts +0 -7
- package/src/tokens/components/light/button.ts +0 -19
- package/src/tokens/components/light/card-accordion.ts +0 -13
- package/src/tokens/components/light/card-action.ts +0 -11
- package/src/tokens/components/light/card-content.ts +0 -25
- package/src/tokens/components/light/card.ts +0 -38
- package/src/tokens/components/light/carousel-control.ts +0 -11
- package/src/tokens/components/light/checkbox.ts +0 -42
- package/src/tokens/components/light/date-picker.ts +0 -44
- package/src/tokens/components/light/description-list.ts +0 -20
- package/src/tokens/components/light/divider.ts +0 -11
- package/src/tokens/components/light/drawer.ts +0 -29
- package/src/tokens/components/light/expandable-card.ts +0 -11
- package/src/tokens/components/light/form-field.ts +0 -10
- package/src/tokens/components/light/icon-button.ts +0 -46
- package/src/tokens/components/light/icon-container.ts +0 -25
- package/src/tokens/components/light/illustrations.ts +0 -7
- package/src/tokens/components/light/index.ts +0 -58
- package/src/tokens/components/light/indicator-icon-button.ts +0 -11
- package/src/tokens/components/light/inline-link.ts +0 -14
- package/src/tokens/components/light/input.ts +0 -43
- package/src/tokens/components/light/link.ts +0 -20
- package/src/tokens/components/light/list.ts +0 -48
- package/src/tokens/components/light/menu.ts +0 -34
- package/src/tokens/components/light/modal.ts +0 -36
- package/src/tokens/components/light/navigation.ts +0 -61
- package/src/tokens/components/light/overlay.ts +0 -8
- package/src/tokens/components/light/pagination.ts +0 -13
- package/src/tokens/components/light/parts.ts +0 -33
- package/src/tokens/components/light/pill.ts +0 -16
- package/src/tokens/components/light/progress-bar.ts +0 -41
- package/src/tokens/components/light/progress-stepper.ts +0 -24
- package/src/tokens/components/light/radio.ts +0 -39
- package/src/tokens/components/light/rating.ts +0 -8
- package/src/tokens/components/light/section-header.ts +0 -10
- package/src/tokens/components/light/segmented-control.ts +0 -19
- package/src/tokens/components/light/select.ts +0 -45
- package/src/tokens/components/light/skeleton.ts +0 -7
- package/src/tokens/components/light/spinner.ts +0 -24
- package/src/tokens/components/light/switch.ts +0 -25
- package/src/tokens/components/light/table.ts +0 -27
- package/src/tokens/components/light/tabs.ts +0 -25
- package/src/tokens/components/light/time-picker.ts +0 -30
- package/src/tokens/components/light/timeline.ts +0 -27
- package/src/tokens/components/light/toast.ts +0 -17
- package/src/tokens/components/light/toggle-button.ts +0 -13
- package/src/tokens/components/light/tooltip.ts +0 -13
- package/src/tokens/components/light/top-navigation.ts +0 -18
- package/src/tokens/font.ts +0 -29
- package/src/tokens/index.ts +0 -20
- package/src/tokens/layout.ts +0 -94
- package/src/tokens/letter-spacing.ts +0 -13
- package/src/tokens/line-height.ts +0 -16
- package/src/tokens/motion.ts +0 -23
- package/src/tokens/primitive.ts +0 -102
- package/src/tokens/semantic-dark.ts +0 -255
- package/src/tokens/semantic-light.ts +0 -255
- package/src/tokens/semantic.ts +0 -9
- package/src/tokens/shadow.ts +0 -52
- package/src/tokens/space.ts +0 -23
- package/src/tokens/typography.ts +0 -298
- package/src/types/index.ts +0 -6
- package/src/types/refs.ts +0 -8
- package/src/types/semanticColorValues.ts +0 -26
- package/src/types/states.ts +0 -11
- package/src/types/unistyles.ts +0 -12
- package/src/types/utilityProps.ts +0 -410
- package/src/types/values.ts +0 -81
- package/src/utils/coloursAsArray.ts +0 -65
- package/src/utils/formatThousands.ts +0 -14
- package/src/utils/getFlattenedColorValue.ts +0 -13
- package/src/utils/getInitials.ts +0 -7
- package/src/utils/getStyleValue.ts +0 -9
- package/src/utils/hasChildrenByDisplayName.ts +0 -43
- package/src/utils/hexWithOpacity.ts +0 -19
- package/src/utils/index.ts +0 -17
- package/src/utils/isEqual.ts +0 -30
- package/src/utils/isThemedImageProps.ts +0 -8
- package/src/utils/styleUtils.ts +0 -264
- package/src/utils/themeValueHelpers.ts +0 -98
- package/src/vite-env.d.ts +0 -19
- package/tsconfig.eslint.json +0 -14
- package/tsconfig.json +0 -45
- package/vitest.config.js +0 -37
- package/vitest.unit.config.ts +0 -9
package/docs/changelog.mdx
DELETED
|
@@ -1,2100 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/addon-docs/blocks';
|
|
2
|
-
import { BackToTopButton, NextPrevPage } from './components';
|
|
3
|
-
|
|
4
|
-
<Meta title="Changelog" />
|
|
5
|
-
<BackToTopButton />
|
|
6
|
-
|
|
7
|
-
# Changelog - `@utilitywarehouse/hearth-react-native`
|
|
8
|
-
|
|
9
|
-
The changelog for the Hearth React Native library. Here you can find all the changes, improvements, and bug fixes for each version.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
## 0.34.5
|
|
13
|
-
|
|
14
|
-
### Patch Changes
|
|
15
|
-
|
|
16
|
-
- [#1384](https://github.com/utilitywarehouse/hearth/pull/1384) [`be839e2`](https://github.com/utilitywarehouse/hearth/commit/be839e2ca46f079a0fe867f976044f4f31cca551) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: `NavModal` and `Modal` `description` prop accepts JSX
|
|
17
|
-
|
|
18
|
-
`description` now accepts `ReactNode` in addition to a string, so you can pass
|
|
19
|
-
custom content such as links or styled text alongside the default text
|
|
20
|
-
styling.
|
|
21
|
-
|
|
22
|
-
**Components affected**:
|
|
23
|
-
|
|
24
|
-
- `NavModal`
|
|
25
|
-
- `Modal`
|
|
26
|
-
|
|
27
|
-
**Developer changes**:
|
|
28
|
-
|
|
29
|
-
No changes required for existing usage. To pass custom content, provide JSX
|
|
30
|
-
instead of a string:
|
|
31
|
-
|
|
32
|
-
```tsx
|
|
33
|
-
<Modal
|
|
34
|
-
heading="Update available"
|
|
35
|
-
description={
|
|
36
|
-
<BodyText>
|
|
37
|
-
Read the <InlineLink onPress={() => {}}>release notes</InlineLink> before updating.
|
|
38
|
-
</BodyText>
|
|
39
|
-
}
|
|
40
|
-
/>
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## 0.34.4
|
|
44
|
-
|
|
45
|
-
### Patch Changes
|
|
46
|
-
|
|
47
|
-
- [#1375](https://github.com/utilitywarehouse/hearth/pull/1375) [`549739e`](https://github.com/utilitywarehouse/hearth/commit/549739eae90e467dbe2311dbc60cfd35d13f49c4) Thanks [@declanelcocks](https://github.com/declanelcocks)! - 🐛 [FIX]: `Modal` image container children pushed to bottom, and missing gap between image and heading
|
|
48
|
-
|
|
49
|
-
`imageContainer` had `flex: 1` applied, which caused `children` to be pushed to the bottom of the container. Additionally, the gap between the `image` and the `heading` was missing.
|
|
50
|
-
|
|
51
|
-
## 0.34.3
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- [#1359](https://github.com/utilitywarehouse/hearth/pull/1359) [`60c5940`](https://github.com/utilitywarehouse/hearth/commit/60c59401f6a46821884002187601191f78bdf423) Thanks [@MichalCiesliczka](https://github.com/MichalCiesliczka)! - 🐛 [FIX]: `UnorderedList` and `OrderedList` layout when inside a centred flex container
|
|
56
|
-
|
|
57
|
-
Both list components now render correctly when their parent uses
|
|
58
|
-
`alignItems="center"`. Previously, the list would collapse to the width of the
|
|
59
|
-
bullet/number, leaving text invisible or clipped beside each list item.
|
|
60
|
-
|
|
61
|
-
**Before**: wrapping `UL` or `OL` in a `Box` with `alignItems="center"` caused
|
|
62
|
-
bullets and numbers to appear without any adjacent text.
|
|
63
|
-
|
|
64
|
-
**After**: both components always stretch to fill their parent's width via
|
|
65
|
-
`alignSelf: 'stretch'`, regardless of the parent's `alignItems` setting.
|
|
66
|
-
|
|
67
|
-
- Updated dependencies [[`fd31bf8`](https://github.com/utilitywarehouse/hearth/commit/fd31bf8208278a580f8039d09f4e8e78aac2b477)]:
|
|
68
|
-
- @utilitywarehouse/hearth-react-native-icons@0.8.4
|
|
69
|
-
|
|
70
|
-
## 0.34.2
|
|
71
|
-
|
|
72
|
-
### Patch Changes
|
|
73
|
-
|
|
74
|
-
- [#1349](https://github.com/utilitywarehouse/hearth/pull/1349) [`bed03da`](https://github.com/utilitywarehouse/hearth/commit/bed03da1252280145ca55bb50f4a9d3eb53440b2) Thanks [@robphoenix](https://github.com/robphoenix)! - 🌟 [FEATURE]: `BodyText` `xl` size (20px / 28px line-height)
|
|
75
|
-
|
|
76
|
-
A new `xl` size is now available for the `BodyText` component, matching the
|
|
77
|
-
existing `xl` body text token (20px font size, 28px line height).
|
|
78
|
-
|
|
79
|
-
## 0.34.1
|
|
80
|
-
|
|
81
|
-
### Patch Changes
|
|
82
|
-
|
|
83
|
-
- [#1341](https://github.com/utilitywarehouse/hearth/pull/1341) [`2165fd8`](https://github.com/utilitywarehouse/hearth/commit/2165fd820cc879fe169df878944b41e337a06c89) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Make all packages public
|
|
84
|
-
|
|
85
|
-
- Updated dependencies [[`2165fd8`](https://github.com/utilitywarehouse/hearth/commit/2165fd820cc879fe169df878944b41e337a06c89)]:
|
|
86
|
-
- @utilitywarehouse/hearth-react-native-icons@0.8.3
|
|
87
|
-
|
|
88
|
-
## 0.34.0
|
|
89
|
-
|
|
90
|
-
### Minor Changes
|
|
91
|
-
|
|
92
|
-
- [#1338](https://github.com/utilitywarehouse/hearth/pull/1338) [`fe9767f`](https://github.com/utilitywarehouse/hearth/commit/fe9767f916975ba2e0ba8aea585858d8ea00a147) Thanks [@robphoenix](https://github.com/robphoenix)! - 💔 [BREAKING_CHANGE]: Remove pruned design tokens from React Native token exports
|
|
93
|
-
|
|
94
|
-
Several unused design tokens have been removed from the React Native token exports
|
|
95
|
-
to align with the updated design token set.
|
|
96
|
-
|
|
97
|
-
**Tokens removed**:
|
|
98
|
-
|
|
99
|
-
- `borderRadius.lg`
|
|
100
|
-
- `color`: multiple shades pruned across all colour palettes (`blue`, `broadbandGreen`, `cashbackLilac`, `energyBlue`, `green`, `insuranceOrange`, `mobileRose`, `orange`, `piggyPink`, `purple`, `red`, `warmWhite`, `yellow`)
|
|
101
|
-
- `font.size`: `50`, `75`, `600`, `700`, `800`, `900`, `1000`
|
|
102
|
-
- `font.weight.heavy`
|
|
103
|
-
- `letterSpacing`: `0`, `50`, `75`, `550`, `600`, `700`, `800`, `900`, `1000`
|
|
104
|
-
- `lineHeight`: `50`, `75`, `100`, `900`, `1000`, `1100`, `1200`
|
|
105
|
-
- `space['1000']`
|
|
106
|
-
|
|
107
|
-
**Developer changes**:
|
|
108
|
-
|
|
109
|
-
If you are referencing any of the removed tokens directly, replace them with the
|
|
110
|
-
nearest available equivalent or remove the usage.
|
|
111
|
-
|
|
112
|
-
For example:
|
|
113
|
-
|
|
114
|
-
```diff
|
|
115
|
-
- borderRadius: tokens.borderRadius.lg,
|
|
116
|
-
+ borderRadius: tokens.borderRadius.md,
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
```diff
|
|
120
|
-
- fontSize: tokens.font.size['50'],
|
|
121
|
-
+ fontSize: tokens.font.size['90'],
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
```diff
|
|
125
|
-
- fontWeight: tokens.font.weight.heavy,
|
|
126
|
-
+ fontWeight: tokens.font.weight.bold,
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
### Patch Changes
|
|
130
|
-
|
|
131
|
-
- [#1338](https://github.com/utilitywarehouse/hearth/pull/1338) [`fe9767f`](https://github.com/utilitywarehouse/hearth/commit/fe9767f916975ba2e0ba8aea585858d8ea00a147) Thanks [@robphoenix](https://github.com/robphoenix)! - 🌟 [FEATURE]: Add `xl` variant to `bodyText` typography tokens
|
|
132
|
-
|
|
133
|
-
The `bodyText` typography scale now includes an `xl` variant across mobile,
|
|
134
|
-
tablet, and desktop breakpoints.
|
|
135
|
-
|
|
136
|
-
| Property | Value |
|
|
137
|
-
| ------------------ | ----- |
|
|
138
|
-
| `fontSize` | `20` |
|
|
139
|
-
| `lineHeight` | `28` |
|
|
140
|
-
| `paragraphSpacing` | `20` |
|
|
141
|
-
|
|
142
|
-
## 0.33.1
|
|
143
|
-
|
|
144
|
-
### Patch Changes
|
|
145
|
-
|
|
146
|
-
- [#1311](https://github.com/utilitywarehouse/hearth/pull/1311) [`3d286c9`](https://github.com/utilitywarehouse/hearth/commit/3d286c97710a1483a054e4b19c2453920cda4598) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Update token usage for Divider
|
|
147
|
-
|
|
148
|
-
## 0.33.0
|
|
149
|
-
|
|
150
|
-
### Minor Changes
|
|
151
|
-
|
|
152
|
-
- [#1298](https://github.com/utilitywarehouse/hearth/pull/1298) [`43bf936`](https://github.com/utilitywarehouse/hearth/commit/43bf936fa03db109c669369cac6d0483877ae49a) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Remove component color tokens in favour of semantic tokens
|
|
153
|
-
|
|
154
|
-
Updated `TabsList` to use `theme.color.border.strong` and removed the
|
|
155
|
-
`tabs.divider.color` component token (and other unused component color tokens)
|
|
156
|
-
in favour of semantic tokens.
|
|
157
|
-
|
|
158
|
-
## 0.32.5
|
|
159
|
-
|
|
160
|
-
### Patch Changes
|
|
161
|
-
|
|
162
|
-
- [#1261](https://github.com/utilitywarehouse/hearth/pull/1261) [`745df73`](https://github.com/utilitywarehouse/hearth/commit/745df73a245dfe89d07aae5bac14256a4ff89e0a) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Update dependencies
|
|
163
|
-
|
|
164
|
-
## 0.32.4
|
|
165
|
-
|
|
166
|
-
### Patch Changes
|
|
167
|
-
|
|
168
|
-
- [#1222](https://github.com/utilitywarehouse/hearth/pull/1222) [`3f35a43`](https://github.com/utilitywarehouse/hearth/commit/3f35a431ba4a0fae45cc640a62ea6cb53f85c384) Thanks [@Utakato](https://github.com/Utakato)! - 🌟 [FEATURE]: `Rating` component `emojis` variant
|
|
169
|
-
|
|
170
|
-
The `Rating` component now supports an `emojis` variant that renders emoji faces
|
|
171
|
-
instead of stars. When selected, the chosen emoji appears larger whilst
|
|
172
|
-
unselected emojis become grayscale. Two static labels ("Very dissatisfied" /
|
|
173
|
-
"Very satisfied") are displayed at the extremes.
|
|
174
|
-
|
|
175
|
-
**Components affected**:
|
|
176
|
-
- `Rating`
|
|
177
|
-
|
|
178
|
-
**Developer changes**:
|
|
179
|
-
|
|
180
|
-
```tsx
|
|
181
|
-
import { Rating } from '@utilitywarehouse/hearth-react-native';
|
|
182
|
-
|
|
183
|
-
<Rating value={rating} onChange={setRating} variant="emojis" />;
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
All existing props (`value`, `defaultValue`, `onChange`, `disabled`, `hideLabel`)
|
|
187
|
-
work with the emoji variant. The new `rangeLabels` prop allows overriding the
|
|
188
|
-
endpoint labels (defaulting to "Very dissatisfied" / "Very satisfied"):
|
|
189
|
-
|
|
190
|
-
```tsx
|
|
191
|
-
<Rating variant="emojis" rangeLabels={{ low: 'Not at all', high: 'Absolutely' }} />
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
## 0.32.3
|
|
195
|
-
|
|
196
|
-
### Patch Changes
|
|
197
|
-
|
|
198
|
-
- [#1192](https://github.com/utilitywarehouse/hearth/pull/1192) [`a74bf02`](https://github.com/utilitywarehouse/hearth/commit/a74bf02c58c12e1b42351e0d7f8e3e79ea0acbd6) Thanks [@robphoenix](https://github.com/robphoenix)! - 🧹 [HOUSEKEEPING]: Fix dependencies and types
|
|
199
|
-
|
|
200
|
-
## 0.32.2
|
|
201
|
-
|
|
202
|
-
### Patch Changes
|
|
203
|
-
|
|
204
|
-
- [#1164](https://github.com/utilitywarehouse/hearth/pull/1164) [`c8848d9`](https://github.com/utilitywarehouse/hearth/commit/c8848d9b01611e4c25b9caef7f211b8c623432c4) Thanks [@MichalCiesliczka](https://github.com/MichalCiesliczka)! - 🐛 [FIX]: Badge and Tabs now adapt their height for larger accessibility font sizes.
|
|
205
|
-
|
|
206
|
-
When larger text sizes are enabled (for example in iOS accessibility settings),
|
|
207
|
-
Badge and Tabs no longer clip text within fixed-height layouts. Their containers
|
|
208
|
-
now grow to fit scaled text while keeping the default visual sizing at standard
|
|
209
|
-
font settings.
|
|
210
|
-
|
|
211
|
-
**Components affected**:
|
|
212
|
-
- Badge
|
|
213
|
-
- Tab
|
|
214
|
-
|
|
215
|
-
**Developer changes**:
|
|
216
|
-
|
|
217
|
-
No code changes are required.
|
|
218
|
-
|
|
219
|
-
- Updated dependencies [[`e4167f2`](https://github.com/utilitywarehouse/hearth/commit/e4167f27325dacc0cbc1feae456697387162aa77)]:
|
|
220
|
-
- @utilitywarehouse/hearth-react-native-icons@0.8.1
|
|
221
|
-
|
|
222
|
-
## 0.32.1
|
|
223
|
-
|
|
224
|
-
### Patch Changes
|
|
225
|
-
|
|
226
|
-
- [#1144](https://github.com/utilitywarehouse/hearth/pull/1144) [`85459f2`](https://github.com/utilitywarehouse/hearth/commit/85459f2f4d7dcd8a99685a11dcda070530cee8dc) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Add the missing `highlight` color scheme support across the `Banner` and `Card` components.
|
|
227
|
-
|
|
228
|
-
## 0.32.0
|
|
229
|
-
|
|
230
|
-
### Minor Changes
|
|
231
|
-
|
|
232
|
-
- [#1134](https://github.com/utilitywarehouse/hearth/pull/1134) [`8824186`](https://github.com/utilitywarehouse/hearth/commit/ebccb55afebcbd47508d7992614b2495c7839cc6) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `Roundel` status indicator component.
|
|
233
|
-
|
|
234
|
-
`Roundel` is a compact status indicator with `success`, `pending`, and `error` variants, intended for inline state cues.
|
|
235
|
-
|
|
236
|
-
**Components affected**:
|
|
237
|
-
|
|
238
|
-
- `Roundel`
|
|
239
|
-
|
|
240
|
-
**Developer changes**:
|
|
241
|
-
|
|
242
|
-
Import and use `Roundel` from `@utilitywarehouse/hearth-react-native`:
|
|
243
|
-
|
|
244
|
-
```tsx
|
|
245
|
-
import { Roundel } from '@utilitywarehouse/hearth-react-native';
|
|
246
|
-
|
|
247
|
-
<Roundel variant="success" />;
|
|
248
|
-
```
|
|
249
|
-
|
|
250
|
-
- [#1132](https://github.com/utilitywarehouse/hearth/pull/1132) [`8824186`](https://github.com/utilitywarehouse/hearth/commit/882418633ee8c3a11e204329d07363dc411996dc) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add the `Rating` component
|
|
251
|
-
|
|
252
|
-
**Components affected**:
|
|
253
|
-
- `Rating`
|
|
254
|
-
|
|
255
|
-
**Developer changes**:
|
|
256
|
-
|
|
257
|
-
```tsx
|
|
258
|
-
import { Rating } from '@utilitywarehouse/hearth-react-native';
|
|
259
|
-
|
|
260
|
-
const MyComponent = () => <Rating value={3} />;
|
|
261
|
-
```
|
|
262
|
-
|
|
263
|
-
- [#1129](https://github.com/utilitywarehouse/hearth/pull/1129) [`ec385a8`](https://github.com/utilitywarehouse/hearth/commit/ec385a8185bfa4ec7f4d5f1366ecc069a98cbba8) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `StepperInput` for controlled numeric input with increment and decrement buttons.
|
|
264
|
-
|
|
265
|
-
`StepperInput` is a new React Native form component for adjusting numeric values with direct text entry and dedicated step controls. It supports min and max bounds, configurable step size, validation and helper text through `FormField`, and an opt-in `focusInputOnStepPress` prop for keyboard-first flows.
|
|
266
|
-
|
|
267
|
-
**Components affected**:
|
|
268
|
-
- `StepperInput`
|
|
269
|
-
|
|
270
|
-
**Developer changes**:
|
|
271
|
-
|
|
272
|
-
Import and use `StepperInput` from `@utilitywarehouse/hearth-react-native`:
|
|
273
|
-
|
|
274
|
-
```tsx
|
|
275
|
-
import { StepperInput } from '@utilitywarehouse/hearth-react-native';
|
|
276
|
-
|
|
277
|
-
<StepperInput label="Guests" min={1} max={10} value={value} onChangeText={setValue} />;
|
|
278
|
-
```
|
|
279
|
-
|
|
280
|
-
### Patch Changes
|
|
281
|
-
|
|
282
|
-
- [#1133](https://github.com/utilitywarehouse/hearth/pull/1133) [`5cae98e`](https://github.com/utilitywarehouse/hearth/commit/5cae98e640a708a7d99eaf0395b7b52e71b8e6ec) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Add a `defaultHeight` prop to `Textarea` so the initial height can be configured.
|
|
283
|
-
|
|
284
|
-
## 0.31.1
|
|
285
|
-
|
|
286
|
-
### Patch Changes
|
|
287
|
-
|
|
288
|
-
- [#1119](https://github.com/utilitywarehouse/hearth/pull/1119) [`19415d4`](https://github.com/utilitywarehouse/hearth/commit/19415d4d54458b3fb019df6647b9a5e4c375b672) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Refresh dark mode tokens across components and semantic colors.
|
|
289
|
-
|
|
290
|
-
Dark mode color tokens have been updated across semantic and component tokens to improve contrast and visual consistency. This also fixes `TableHeaderCell` text colors so purple and white header variants resolve the correct foreground token.
|
|
291
|
-
|
|
292
|
-
**Components affected**:
|
|
293
|
-
- dark mode tokens
|
|
294
|
-
- `TableHeaderCell`
|
|
295
|
-
|
|
296
|
-
**Developer changes**:
|
|
297
|
-
|
|
298
|
-
No code changes are required unless you rely on the previous dark mode token values or visual snapshots.
|
|
299
|
-
|
|
300
|
-
## 0.31.0
|
|
301
|
-
|
|
302
|
-
### Minor Changes
|
|
303
|
-
|
|
304
|
-
- [#1108](https://github.com/utilitywarehouse/hearth/pull/1108) [`8c2f3b5`](https://github.com/utilitywarehouse/hearth/commit/8c2f3b5334de83a7dd799b857394a34209b748e7) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add margin, padding, and layout utility props to `Flex`.
|
|
305
|
-
|
|
306
|
-
`Flex` now exposes the shared margin and padding utility props, along with the existing layout utility prop surface, so it can be used more like other layout primitives such as `Card`.
|
|
307
|
-
|
|
308
|
-
**Component affected**:
|
|
309
|
-
- `Flex`
|
|
310
|
-
|
|
311
|
-
**Developer changes**:
|
|
312
|
-
|
|
313
|
-
You can now apply spacing and layout utility props directly on `Flex`:
|
|
314
|
-
|
|
315
|
-
```tsx
|
|
316
|
-
<Flex direction="row" spacing="md" padding="300" marginTop="200" flex={1}>
|
|
317
|
-
<Button>Back</Button>
|
|
318
|
-
<Button>Continue</Button>
|
|
319
|
-
</Flex>
|
|
320
|
-
```
|
|
321
|
-
|
|
322
|
-
- [#1104](https://github.com/utilitywarehouse/hearth/pull/1104) [`91feeab`](https://github.com/utilitywarehouse/hearth/commit/91feeab091ae6bf80e543f9196214066ce8b29b0) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add custom trigger content options to `ExpandableCard`.
|
|
323
|
-
|
|
324
|
-
`ExpandableCard` now supports a `triggerContent` prop for replacing the default trigger layout while keeping the chevron. `ExpandableCardTrigger` also now supports `children` with an optional `showChevron` prop, so you can fully compose the trigger content yourself and still opt in to the built-in expand/collapse chevron.
|
|
325
|
-
|
|
326
|
-
**Components affected**:
|
|
327
|
-
- `ExpandableCard`
|
|
328
|
-
- `ExpandableCardTrigger`
|
|
329
|
-
|
|
330
|
-
**Developer changes**:
|
|
331
|
-
|
|
332
|
-
Use `triggerContent` when you want a single prop on `ExpandableCard` to replace the standard trigger content:
|
|
333
|
-
|
|
334
|
-
```tsx
|
|
335
|
-
<ExpandableCard
|
|
336
|
-
triggerContent={<BodyText weight="semibold">March bill ready</BodyText>}
|
|
337
|
-
expandedContent={<BodyText>Balance: £89.50</BodyText>}
|
|
338
|
-
/>
|
|
339
|
-
```
|
|
340
|
-
|
|
341
|
-
Use `ExpandableCardTrigger` children when you want full control over the trigger structure. Add `showChevron` if you still want the built-in chevron:
|
|
342
|
-
|
|
343
|
-
```tsx
|
|
344
|
-
<ExpandableCardTrigger isExpanded={expanded} onPress={toggleExpanded} showChevron>
|
|
345
|
-
<ExpandableCardContent>
|
|
346
|
-
<ExpandableCardText>Custom trigger</ExpandableCardText>
|
|
347
|
-
</ExpandableCardContent>
|
|
348
|
-
</ExpandableCardTrigger>
|
|
349
|
-
```
|
|
350
|
-
|
|
351
|
-
- [#1109](https://github.com/utilitywarehouse/hearth/pull/1109) [`8215550`](https://github.com/utilitywarehouse/hearth/commit/8215550745d08a8b4c18a6902e39d3199018092a) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `numberOfLines` support to `Badge` text.
|
|
352
|
-
|
|
353
|
-
`Badge` now renders its text content on a single line by default and supports a new `numberOfLines` prop when you want to allow more lines.
|
|
354
|
-
|
|
355
|
-
**Components affected**:
|
|
356
|
-
- `Badge`
|
|
357
|
-
|
|
358
|
-
**Developer changes**:
|
|
359
|
-
|
|
360
|
-
No changes are required unless you want a `Badge` to wrap onto more than one line. To opt in, pass `numberOfLines`:
|
|
361
|
-
|
|
362
|
-
```tsx
|
|
363
|
-
<Badge numberOfLines={2} text="Long badge text that can wrap onto a second line" />
|
|
364
|
-
```
|
|
365
|
-
|
|
366
|
-
- [#1108](https://github.com/utilitywarehouse/hearth/pull/1108) [`8c2f3b5`](https://github.com/utilitywarehouse/hearth/commit/8c2f3b5334de83a7dd799b857394a34209b748e7) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add custom footer support to `Modal` and `NavModal`.
|
|
367
|
-
|
|
368
|
-
`Modal` and `NavModal` now support a `footer` prop for replacing the built-in primary and secondary action buttons with custom content, plus a `footerStyle` prop for styling the footer container. When `footer` is provided, the button props are now disallowed at the type level.
|
|
369
|
-
|
|
370
|
-
**Components affected**:
|
|
371
|
-
- `Modal`
|
|
372
|
-
- `NavModal`
|
|
373
|
-
|
|
374
|
-
**Developer changes**:
|
|
375
|
-
|
|
376
|
-
Use `footer` when you need a custom footer layout, such as horizontal actions or extra decoration:
|
|
377
|
-
|
|
378
|
-
```tsx
|
|
379
|
-
<Modal
|
|
380
|
-
heading="Update billing details"
|
|
381
|
-
footer={
|
|
382
|
-
<Flex direction="row" spacing="md" pt="250">
|
|
383
|
-
<Button variant="outline" colorScheme="functional" style={{ flex: 1 }}>
|
|
384
|
-
Cancel
|
|
385
|
-
</Button>
|
|
386
|
-
<Button style={{ flex: 1 }}>Save changes</Button>
|
|
387
|
-
</Flex>
|
|
388
|
-
}
|
|
389
|
-
footerStyle={{
|
|
390
|
-
boxShadow: '0px -6px 12px rgba(16, 24, 40, 0.12)',
|
|
391
|
-
}}
|
|
392
|
-
/>
|
|
393
|
-
```
|
|
394
|
-
|
|
395
|
-
- [#1103](https://github.com/utilitywarehouse/hearth/pull/1103) [`e375a44`](https://github.com/utilitywarehouse/hearth/commit/e375a442c507da1807e49f4d78e44edfff51d245) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add optional vertical resizing to `Textarea`.
|
|
396
|
-
|
|
397
|
-
`Textarea` now supports a new `resizable` prop that adds a bottom-right drag handle so people can increase the field height when they need more space for longer content.
|
|
398
|
-
|
|
399
|
-
**Components affected**:
|
|
400
|
-
- `Textarea`
|
|
401
|
-
|
|
402
|
-
**Developer changes**:
|
|
403
|
-
|
|
404
|
-
No changes are required unless you want to enable resizing for a textarea. To opt in, pass the new `resizable` prop:
|
|
405
|
-
|
|
406
|
-
```tsx
|
|
407
|
-
<Textarea
|
|
408
|
-
label="Additional notes"
|
|
409
|
-
helperText="Drag the corner handle to resize"
|
|
410
|
-
placeholder="Enter your text here..."
|
|
411
|
-
resizable
|
|
412
|
-
/>
|
|
413
|
-
```
|
|
414
|
-
|
|
415
|
-
- [#1108](https://github.com/utilitywarehouse/hearth/pull/1108) [`8c2f3b5`](https://github.com/utilitywarehouse/hearth/commit/8c2f3b5334de83a7dd799b857394a34209b748e7) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add flex utility props to `Container`.
|
|
416
|
-
|
|
417
|
-
`Container` now exposes shared flex layout utility props, allowing layout properties such as `flex`, `alignItems`, `justifyContent`, and `flexDirection` to be applied directly through its public prop API.
|
|
418
|
-
|
|
419
|
-
**Component affected**:
|
|
420
|
-
- `Container`
|
|
421
|
-
|
|
422
|
-
**Developer changes**:
|
|
423
|
-
|
|
424
|
-
You can now combine `Container`'s existing spacing props with flex layout props:
|
|
425
|
-
|
|
426
|
-
```tsx
|
|
427
|
-
<Container flex={1} justifyContent="center" alignItems="stretch" gap="200">
|
|
428
|
-
<BodyText>Content</BodyText>
|
|
429
|
-
</Container>
|
|
430
|
-
```
|
|
431
|
-
|
|
432
|
-
### Patch Changes
|
|
433
|
-
|
|
434
|
-
- [#1103](https://github.com/utilitywarehouse/hearth/pull/1103) [`e375a44`](https://github.com/utilitywarehouse/hearth/commit/e375a442c507da1807e49f4d78e44edfff51d245) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Render FormField optional text with regular weight instead of inheriting the label weight.
|
|
435
|
-
|
|
436
|
-
This fixes FormField labels that append `(Optional)` so the optional text no longer inherits the main label weight.
|
|
437
|
-
|
|
438
|
-
**Components affected**:
|
|
439
|
-
- `FormField`
|
|
440
|
-
- `Textarea`
|
|
441
|
-
- `Input`
|
|
442
|
-
|
|
443
|
-
**Developer changes**:
|
|
444
|
-
|
|
445
|
-
No changes are required.
|
|
446
|
-
|
|
447
|
-
- [#1104](https://github.com/utilitywarehouse/hearth/pull/1104) [`91feeab`](https://github.com/utilitywarehouse/hearth/commit/91feeab091ae6bf80e543f9196214066ce8b29b0) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: `ExpandableCard` heading font size and weight
|
|
448
|
-
|
|
449
|
-
## 0.30.4
|
|
450
|
-
|
|
451
|
-
### Patch Changes
|
|
452
|
-
|
|
453
|
-
- [#1096](https://github.com/utilitywarehouse/hearth/pull/1096) [`6fd9021`](https://github.com/utilitywarehouse/hearth/commit/6fd9021a91ef38b56b78755965515a0807b34fa1) Thanks [@fillyD](https://github.com/fillyD)! - 🐛 [FIX]: Restore visibility of bottom sheet content in iOS accessibility tree, enabling automated tests to interact with `Select` options
|
|
454
|
-
|
|
455
|
-
## 0.30.3
|
|
456
|
-
|
|
457
|
-
### Patch Changes
|
|
458
|
-
|
|
459
|
-
- [#1094](https://github.com/utilitywarehouse/hearth/pull/1094) [`a9d8e66`](https://github.com/utilitywarehouse/hearth/commit/a9d8e660b7efa23c7a573af2658fc10ab6c043b9) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Make horizontal pressable `Banner` content flex correctly on native and web.
|
|
460
|
-
|
|
461
|
-
This fixes horizontal pressable `Banner` layouts where the content area did not expand consistently, which could misplace the chevron and action content.
|
|
462
|
-
|
|
463
|
-
**Components affected**:
|
|
464
|
-
- `Banner`
|
|
465
|
-
|
|
466
|
-
**Developer changes**:
|
|
467
|
-
|
|
468
|
-
No changes are required.
|
|
469
|
-
|
|
470
|
-
## 0.30.2
|
|
471
|
-
|
|
472
|
-
### Patch Changes
|
|
473
|
-
|
|
474
|
-
- [#1090](https://github.com/utilitywarehouse/hearth/pull/1090) [`1420244`](https://github.com/utilitywarehouse/hearth/commit/1420244fbc23c8a755f9249f8b39cb094a865cea) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `alignChevron` to `Banner` for horizontal pressable layouts.
|
|
475
|
-
|
|
476
|
-
`Banner` now supports an `alignChevron` prop to control the chevron alignment when `onPress` is used in the horizontal layout. Use `'start'`, `'center'`, or `'end'` to match the chevron position to the content layout.
|
|
477
|
-
|
|
478
|
-
**Components affected**:
|
|
479
|
-
- `Banner`
|
|
480
|
-
|
|
481
|
-
**Developer changes**:
|
|
482
|
-
|
|
483
|
-
No changes are required unless you want to override the default centred chevron alignment.
|
|
484
|
-
|
|
485
|
-
## 0.30.1
|
|
486
|
-
|
|
487
|
-
### Patch Changes
|
|
488
|
-
|
|
489
|
-
- [#1081](https://github.com/utilitywarehouse/hearth/pull/1081) [`5db8538`](https://github.com/utilitywarehouse/hearth/commit/5db8538b69115a23289f0038f681fc8b87a310c4) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Correct `NavModal` safe area handling across sheet and full-screen presentations.
|
|
490
|
-
|
|
491
|
-
`NavModal` now applies safe area insets directly within the component layout, which fixes padding in full-screen presentations and keeps sheet-style presentations aligned with the modal footer behaviour.
|
|
492
|
-
|
|
493
|
-
**Developer changes**:
|
|
494
|
-
|
|
495
|
-
If you need to disable the inset padding, use the `useSafeAreaInsets` prop. The old `safeAreaViewProps` escape hatch is no longer available.
|
|
496
|
-
|
|
497
|
-
## 0.30.0
|
|
498
|
-
|
|
499
|
-
### Minor Changes
|
|
500
|
-
|
|
501
|
-
- [#1072](https://github.com/utilitywarehouse/hearth/pull/1072) [`55f0095`](https://github.com/utilitywarehouse/hearth/commit/55f009576ba55081de358bccc21691861ddd7c33) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `loadingDescription` support to `Modal` and `NavModal`
|
|
502
|
-
|
|
503
|
-
`Modal` and `NavModal` now accept a `loadingDescription` prop to render supporting text beneath the spinner while `loading` is true. This makes it easier to give users more context during loading states without building custom loading content.
|
|
504
|
-
|
|
505
|
-
**Components affected**:
|
|
506
|
-
- `Modal`
|
|
507
|
-
- `NavModal`
|
|
508
|
-
|
|
509
|
-
**Developer changes**:
|
|
510
|
-
|
|
511
|
-
No changes are required for existing usage. To show supporting text in a loading state, pass `loadingDescription` alongside `loading` and, if needed, `loadingHeading`.
|
|
512
|
-
|
|
513
|
-
### Patch Changes
|
|
514
|
-
|
|
515
|
-
- [#1070](https://github.com/utilitywarehouse/hearth/pull/1070) [`93c042c`](https://github.com/utilitywarehouse/hearth/commit/93c042c7772ab298e2ea4888a9777e8176453098) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Standardise numeric value typography across list-based components.
|
|
516
|
-
|
|
517
|
-
Numeric values in `DescriptionListItem`, `ExpandableCard`, and `ListItem` now render with semibold `BodyText` instead of `DetailText`, aligning them with the updated content hierarchy used elsewhere in the library.
|
|
518
|
-
|
|
519
|
-
**Components affected**:
|
|
520
|
-
- `DescriptionListItem`
|
|
521
|
-
- `ExpandableCard`
|
|
522
|
-
- `ListItem`
|
|
523
|
-
|
|
524
|
-
**Developer changes**:
|
|
525
|
-
|
|
526
|
-
No changes are required.
|
|
527
|
-
|
|
528
|
-
- [#1073](https://github.com/utilitywarehouse/hearth/pull/1073) [`9759622`](https://github.com/utilitywarehouse/hearth/commit/975962229137dd196e5f72a04037a8f181907818) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Announce `Heading` as a header for assistive technologies.
|
|
529
|
-
|
|
530
|
-
`Heading` now sets `accessibilityRole="header"` automatically so VoiceOver and TalkBack can identify headings as part of the screen structure.
|
|
531
|
-
|
|
532
|
-
**Components affected**:
|
|
533
|
-
- `Heading`
|
|
534
|
-
|
|
535
|
-
**Developer changes**:
|
|
536
|
-
|
|
537
|
-
No changes are required.
|
|
538
|
-
|
|
539
|
-
- [#1074](https://github.com/utilitywarehouse/hearth/pull/1074) [`95fe19e`](https://github.com/utilitywarehouse/hearth/commit/95fe19e6328bf652ff3ac1b2c723e1389fc59936) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Improve accessibility roles for `List`, `ListItem`, and `ListAction`
|
|
540
|
-
|
|
541
|
-
`List` now defaults to `accessibilityRole="list"`, `ListAction` now defaults to `accessibilityRole="button"`, and `ListItem` respects an explicitly provided `accessibilityRole` instead of always forcing button semantics when `onPress` is set.
|
|
542
|
-
|
|
543
|
-
**Components affected**:
|
|
544
|
-
- `List`
|
|
545
|
-
- `ListItem`
|
|
546
|
-
- `ListAction`
|
|
547
|
-
|
|
548
|
-
**Developer changes**:
|
|
549
|
-
|
|
550
|
-
No changes are required unless you want a tappable `ListItem` to be announced as something other than a button. In that case, pass `accessibilityRole` explicitly.
|
|
551
|
-
|
|
552
|
-
## 0.29.2
|
|
553
|
-
|
|
554
|
-
### Patch Changes
|
|
555
|
-
|
|
556
|
-
- [#1067](https://github.com/utilitywarehouse/hearth/pull/1067) [`893cbfd`](https://github.com/utilitywarehouse/hearth/commit/893cbfd1bf090b8b75df6f58f2babaf8ba1e0033) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add a `useSafeAreaInsets` prop to `BottomSheetModalProvider` to control Hearth's bottom-sheet safe-area spacing.
|
|
557
|
-
|
|
558
|
-
Bottom-sheet wrappers such as `BottomSheetView`, `BottomSheetScrollView`, `BottomSheetFlatList`, and components that render `SafeAreaView` inside a bottom sheet now respect `BottomSheetModalProvider` configuration.
|
|
559
|
-
|
|
560
|
-
**Components affected**:
|
|
561
|
-
- `BottomSheetModalProvider`
|
|
562
|
-
- `BottomSheetView`
|
|
563
|
-
- `BottomSheetScrollView`
|
|
564
|
-
- `BottomSheetFlatList`
|
|
565
|
-
- `Modal`
|
|
566
|
-
- `Select`
|
|
567
|
-
- `Combobox`
|
|
568
|
-
|
|
569
|
-
**Developer changes**:
|
|
570
|
-
|
|
571
|
-
No changes are required if you want the current behaviour. If your app already applies its own safe-area padding around bottom-sheet content, opt out like this:
|
|
572
|
-
|
|
573
|
-
```tsx
|
|
574
|
-
<BottomSheetModalProvider useSafeAreaInsets={false}>
|
|
575
|
-
{/* Your app content */}
|
|
576
|
-
</BottomSheetModalProvider>
|
|
577
|
-
```
|
|
578
|
-
|
|
579
|
-
## 0.29.1
|
|
580
|
-
|
|
581
|
-
### Patch Changes
|
|
582
|
-
|
|
583
|
-
- [#1062](https://github.com/utilitywarehouse/hearth/pull/1062) [`0da3ffe`](https://github.com/utilitywarehouse/hearth/commit/0da3ffe12691a4287694ae9fcb2290d459e3c041) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Respect the selected `NavModal` background style
|
|
584
|
-
|
|
585
|
-
Fixed an issue where `NavModal` always rendered its inner content with the default surface background, which prevented the `background="brand"` treatment from being applied correctly.
|
|
586
|
-
|
|
587
|
-
**Components affected**:
|
|
588
|
-
- `NavModal`
|
|
589
|
-
|
|
590
|
-
**Developer changes**:
|
|
591
|
-
|
|
592
|
-
No changes are required.
|
|
593
|
-
|
|
594
|
-
## 0.29.0
|
|
595
|
-
|
|
596
|
-
### Minor Changes
|
|
597
|
-
|
|
598
|
-
- [#1060](https://github.com/utilitywarehouse/hearth/pull/1060) [`05d38f9`](https://github.com/utilitywarehouse/hearth/commit/05d38f9414fec6d6b4a0733829b4d290d96fccae) Thanks [@jordmccord](https://github.com/jordmccord)! - 💔 [BREAKING CHANGE]: Extract navigation-presented modal behaviour into `NavModal`
|
|
599
|
-
|
|
600
|
-
`Modal` now only supports the bottom-sheet modal behaviour. The React Navigation screen-based API that was previously exposed through `inNavModal`, `background`, and `scrollable` has moved to the new `NavModal` component.
|
|
601
|
-
|
|
602
|
-
`NavModal` also adds a `presentation` prop so the component can match the React Navigation screen presentation style for sheet-style and full-screen modal routes.
|
|
603
|
-
|
|
604
|
-
The package-owned `SafeAreaView` component has also been removed in favour of the `react-native-safe-area-context` `SafeAreaView`. Hearth now re-exports that implementation from the package root.
|
|
605
|
-
|
|
606
|
-
**Components affected**:
|
|
607
|
-
- `Modal`
|
|
608
|
-
- `NavModal`
|
|
609
|
-
- `SafeAreaView`
|
|
610
|
-
|
|
611
|
-
**Developer changes**:
|
|
612
|
-
|
|
613
|
-
Update navigation modal screens to use `NavModal` instead of `Modal`:
|
|
614
|
-
|
|
615
|
-
```diff
|
|
616
|
-
- import { Modal } from '@utilitywarehouse/hearth-react-native';
|
|
617
|
-
+ import { NavModal, type NavModalRef } from '@utilitywarehouse/hearth-react-native';
|
|
618
|
-
|
|
619
|
-
- const modalRef = useRef<Modal>(null);
|
|
620
|
-
+ const modalRef = useRef<NavModalRef>(null);
|
|
621
|
-
|
|
622
|
-
- <Modal inNavModal background="brand" scrollable={false}>
|
|
623
|
-
+ <NavModal background="brand" scrollable={false} presentation="modal">
|
|
624
|
-
{/* content */}
|
|
625
|
-
- </Modal>
|
|
626
|
-
+ </NavModal>
|
|
627
|
-
```
|
|
628
|
-
|
|
629
|
-
If you are using the bottom-sheet modal API, no changes are required.
|
|
630
|
-
|
|
631
|
-
If you were importing the old component from the component path, update it to use the package root re-export or import directly from `react-native-safe-area-context`:
|
|
632
|
-
|
|
633
|
-
```diff
|
|
634
|
-
- import { SafeAreaView } from '@utilitywarehouse/hearth-react-native';
|
|
635
|
-
+ import { SafeAreaView } from 'react-native-safe-area-context';
|
|
636
|
-
```
|
|
637
|
-
|
|
638
|
-
## 0.28.6
|
|
639
|
-
|
|
640
|
-
### Patch Changes
|
|
641
|
-
|
|
642
|
-
- [#1050](https://github.com/utilitywarehouse/hearth/pull/1050) [`13d2cca`](https://github.com/utilitywarehouse/hearth/commit/13d2ccab3abda60a35202847e3895017496c4dcf) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Expand react peer dependency to allow any React 19.x version for compatibility with all React 19 releases.
|
|
643
|
-
|
|
644
|
-
## 0.28.5
|
|
645
|
-
|
|
646
|
-
### Patch Changes
|
|
647
|
-
|
|
648
|
-
- [#1045](https://github.com/utilitywarehouse/hearth/pull/1045) [`3778061`](https://github.com/utilitywarehouse/hearth/commit/37780613890221368edb74c0ce83b8bf3d03e5b3) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `BannerIllustration` now stays centered in vertical banners and no longer inherits image border styling or horizontal stretching.
|
|
649
|
-
|
|
650
|
-
## 0.28.4
|
|
651
|
-
|
|
652
|
-
### Patch Changes
|
|
653
|
-
|
|
654
|
-
- [#1034](https://github.com/utilitywarehouse/hearth/pull/1034) [`76598eb`](https://github.com/utilitywarehouse/hearth/commit/76598eb0374c79f9e6c2c23c421f2b9602fbb113) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `CheckboxTile` spacing now uses the tile gap token instead of the base checkbox gap token.
|
|
655
|
-
|
|
656
|
-
- [#1034](https://github.com/utilitywarehouse/hearth/pull/1034) [`76598eb`](https://github.com/utilitywarehouse/hearth/commit/76598eb0374c79f9e6c2c23c421f2b9602fbb113) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `Combobox` trigger outline so it is only shown when the control is focused.
|
|
657
|
-
|
|
658
|
-
- [#1034](https://github.com/utilitywarehouse/hearth/pull/1034) [`76598eb`](https://github.com/utilitywarehouse/hearth/commit/76598eb0374c79f9e6c2c23c421f2b9602fbb113) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `RadioTile` spacing now uses the tile gap token instead of the base radio gap token.
|
|
659
|
-
|
|
660
|
-
- [#1036](https://github.com/utilitywarehouse/hearth/pull/1036) [`b7636e6`](https://github.com/utilitywarehouse/hearth/commit/b7636e6185879264e8d929c3be44fd0d1a354c22) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `CurrencyInput` font size.
|
|
661
|
-
|
|
662
|
-
- [#1039](https://github.com/utilitywarehouse/hearth/pull/1039) [`3a895bc`](https://github.com/utilitywarehouse/hearth/commit/3a895bcb8dcceb7d55a454ec63de9256d2d8322f) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Align all `Radio` and `Checkbox` default and tile gap sizes.
|
|
663
|
-
|
|
664
|
-
- [#1035](https://github.com/utilitywarehouse/hearth/pull/1035) [`01633a7`](https://github.com/utilitywarehouse/hearth/commit/01633a73153563d9b2286f42b764ad771e48ff82) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `Pill` component no longer applies extra vertical padding and fixes vertical alignment.
|
|
665
|
-
|
|
666
|
-
## 0.28.3
|
|
667
|
-
|
|
668
|
-
### Patch Changes
|
|
669
|
-
|
|
670
|
-
- [#1028](https://github.com/utilitywarehouse/hearth/pull/1028) [`dccffe1`](https://github.com/utilitywarehouse/hearth/commit/dccffe16342b22e58078dfc0aadfe9a482bfcc74) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: The `Combobox` trigger outline so it is only shown when the control is focused.
|
|
671
|
-
|
|
672
|
-
## 0.28.2
|
|
673
|
-
|
|
674
|
-
### Patch Changes
|
|
675
|
-
|
|
676
|
-
- [#1024](https://github.com/utilitywarehouse/hearth/pull/1024) [`23b6767`](https://github.com/utilitywarehouse/hearth/commit/23b67672b89198a483ddcef88f9c6207b684c4d9) Thanks [@fillyD](https://github.com/fillyD)! - 🐛 [FIX]: Adds missing `testID` to `Select` component
|
|
677
|
-
|
|
678
|
-
## 0.28.1
|
|
679
|
-
|
|
680
|
-
### Patch Changes
|
|
681
|
-
|
|
682
|
-
- [#1018](https://github.com/utilitywarehouse/hearth/pull/1018) [`1c5e02e`](https://github.com/utilitywarehouse/hearth/commit/1c5e02ea4b61329e7c55e52f9aa4ae44abc0da23) Thanks [@fillyD](https://github.com/fillyD)! - 🐛 [FIX]: Adds missing `testID` to `Select`, `SelectOption` and `VerificationInput` component
|
|
683
|
-
|
|
684
|
-
## 0.28.0
|
|
685
|
-
|
|
686
|
-
### Minor Changes
|
|
687
|
-
|
|
688
|
-
- [#1014](https://github.com/utilitywarehouse/hearth/pull/1014) [`c10ff82`](https://github.com/utilitywarehouse/hearth/commit/c10ff82243265217acd95f687d48d803b3c7a4bd) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `Combobox` and `SafeAreaView` to the React Native library
|
|
689
|
-
|
|
690
|
-
The React Native package now includes a `Combobox` component for searchable selection in a bottom sheet, plus a `SafeAreaView` primitive that applies Unistyles runtime insets only when a view actually overlaps a screen edge. `Combobox` supports the built-in options API for fixed lists, controlled search values for dynamic results, and custom bottom sheet content for cases where you need to bring your own `BottomSheetFlatList` or bespoke option layout. `Modal` now uses `SafeAreaView` in its full-screen navigation modal path so content like search inputs no longer sits behind the dynamic island on iOS.
|
|
691
|
-
|
|
692
|
-
**Components affected**:
|
|
693
|
-
- `Combobox`
|
|
694
|
-
- `ComboboxOption`
|
|
695
|
-
- `SafeAreaView`
|
|
696
|
-
- `Modal`
|
|
697
|
-
|
|
698
|
-
**Developer changes**:
|
|
699
|
-
|
|
700
|
-
Import the new components from `@utilitywarehouse/hearth-react-native` and choose the API that fits your layout. Use `options` for straightforward searchable lists, render custom sheet content when you need virtualised or dynamic results, and wrap full-screen content in `SafeAreaView` when it should only pick up edge insets if it actually touches that edge.
|
|
701
|
-
|
|
702
|
-
- [`8e37595`](https://github.com/utilitywarehouse/hearth/commit/8e375958559357ce5c1703505fa7438887d9e18e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `Pagination` component
|
|
703
|
-
|
|
704
|
-
The package now includes a `Pagination` component for moving between pages of content. It supports numbered pagination, a condensed layout for smaller spaces, optional skip buttons for jumping to the first and last page, and controlled page state so it can be wired into lists, tables, or other paged views.
|
|
705
|
-
|
|
706
|
-
**Components affected**:
|
|
707
|
-
- `Pagination`
|
|
708
|
-
|
|
709
|
-
**Developer changes**:
|
|
710
|
-
|
|
711
|
-
Import `Pagination` from `@utilitywarehouse/hearth-react-native` and control the current page in your screen or feature state.
|
|
712
|
-
|
|
713
|
-
```tsx
|
|
714
|
-
import { useState } from 'react';
|
|
715
|
-
import { Pagination } from '@utilitywarehouse/hearth-react-native';
|
|
716
|
-
|
|
717
|
-
const MyComponent = () => {
|
|
718
|
-
const [page, setPage] = useState(1);
|
|
719
|
-
|
|
720
|
-
return <Pagination currentPage={page} onPageChange={setPage} totalPages={10} />;
|
|
721
|
-
};
|
|
722
|
-
```
|
|
723
|
-
|
|
724
|
-
- [`8e37595`](https://github.com/utilitywarehouse/hearth/commit/8e375958559357ce5c1703505fa7438887d9e18e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `Table` component
|
|
725
|
-
|
|
726
|
-
The package now includes a composable `Table` API for presenting structured data with headers, rows, cells, optional card-style containers, horizontal scrolling for narrow viewports, configurable column widths, and pagination support through `TablePagination`. Header cells support trailing actions such as sort controls, and the API is split into smaller building blocks so layouts can be assembled to fit different datasets.
|
|
727
|
-
|
|
728
|
-
**Components affected**:
|
|
729
|
-
- `Table`
|
|
730
|
-
- `TableHeader`
|
|
731
|
-
- `TableHeaderCell`
|
|
732
|
-
- `TableBody`
|
|
733
|
-
- `TableRow`
|
|
734
|
-
- `TableCell`
|
|
735
|
-
- `TablePagination`
|
|
736
|
-
|
|
737
|
-
**Developer changes**:
|
|
738
|
-
|
|
739
|
-
Import the table primitives from `@utilitywarehouse/hearth-react-native` and compose them to match your data shape. Add `columnWidths` when you need fixed or weighted columns, and pass `pagination` when rows should be paged.
|
|
740
|
-
|
|
741
|
-
```tsx
|
|
742
|
-
import {
|
|
743
|
-
Table,
|
|
744
|
-
TableBody,
|
|
745
|
-
TableCell,
|
|
746
|
-
TableHeader,
|
|
747
|
-
TableHeaderCell,
|
|
748
|
-
TableRow,
|
|
749
|
-
} from '@utilitywarehouse/hearth-react-native';
|
|
750
|
-
|
|
751
|
-
const MyComponent = () => (
|
|
752
|
-
<Table columnWidths={[180, '2fr', '1fr']} container="subtle">
|
|
753
|
-
<TableHeader color="purple">
|
|
754
|
-
<TableHeaderCell>Name</TableHeaderCell>
|
|
755
|
-
<TableHeaderCell>Email</TableHeaderCell>
|
|
756
|
-
<TableHeaderCell>Status</TableHeaderCell>
|
|
757
|
-
</TableHeader>
|
|
758
|
-
<TableBody>
|
|
759
|
-
<TableRow>
|
|
760
|
-
<TableHeaderCell row>Alex Morgan</TableHeaderCell>
|
|
761
|
-
<TableCell>alex@example.com</TableCell>
|
|
762
|
-
<TableCell>Active</TableCell>
|
|
763
|
-
</TableRow>
|
|
764
|
-
</TableBody>
|
|
765
|
-
</Table>
|
|
766
|
-
);
|
|
767
|
-
```
|
|
768
|
-
|
|
769
|
-
- [#1016](https://github.com/utilitywarehouse/hearth/pull/1016) [`33baa9e`](https://github.com/utilitywarehouse/hearth/commit/33baa9e8edb091bbd1d17c9a3838352a7f1b87ea) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Adds `Timeline` and `TimelineItem`
|
|
770
|
-
|
|
771
|
-
The package now includes `Timeline` and `TimelineItem` components for showing a sequence of static stops or progress steps. The new API supports labelled items, optional helper text, progress states for complete or active steps, and custom content within an item when you need to show extra context or actions.
|
|
772
|
-
|
|
773
|
-
**Components affected**:
|
|
774
|
-
- `Timeline`
|
|
775
|
-
- `TimelineItem`
|
|
776
|
-
|
|
777
|
-
**Developer changes**:
|
|
778
|
-
|
|
779
|
-
Import `Timeline` and `TimelineItem` from `@utilitywarehouse/hearth-react-native`. Use `variant="static"` for simple ordered events, or `variant="progress"` with item `state` values to communicate step progress.
|
|
780
|
-
|
|
781
|
-
```tsx
|
|
782
|
-
import { Timeline, TimelineItem } from '@utilitywarehouse/hearth-react-native';
|
|
783
|
-
|
|
784
|
-
const MyComponent = () => (
|
|
785
|
-
<Timeline variant="progress">
|
|
786
|
-
<TimelineItem label="Ordered" helperText="We have received your order" state="complete" />
|
|
787
|
-
<TimelineItem label="Packed" helperText="Your items are ready" state="complete" />
|
|
788
|
-
<TimelineItem label="Out for delivery" helperText="Arriving today" state="active" />
|
|
789
|
-
<TimelineItem label="Delivered" helperText="Pending" state="incomplete" />
|
|
790
|
-
</Timeline>
|
|
791
|
-
);
|
|
792
|
-
```
|
|
793
|
-
|
|
794
|
-
## 0.27.3
|
|
795
|
-
|
|
796
|
-
### Patch Changes
|
|
797
|
-
|
|
798
|
-
- [#1006](https://github.com/utilitywarehouse/hearth/pull/1006) [`1996112`](https://github.com/utilitywarehouse/hearth/commit/1996112864146e86972ef6b9b07a8be5a72b552f) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Make `paddingNone` remove horizontal padding for ghost buttons in `md` size
|
|
799
|
-
|
|
800
|
-
Fixed an issue where setting `paddingNone` on a ghost button did not remove horizontal padding when using `md` size. The prop now removes horizontal padding for both `sm` and `md` ghost buttons.
|
|
801
|
-
|
|
802
|
-
**Components affected**:
|
|
803
|
-
- `Button`
|
|
804
|
-
|
|
805
|
-
**Developer changes**:
|
|
806
|
-
|
|
807
|
-
No changes required.
|
|
808
|
-
|
|
809
|
-
- [#1012](https://github.com/utilitywarehouse/hearth/pull/1012) [`4fda116`](https://github.com/utilitywarehouse/hearth/commit/4fda116c2a1bec383df7e630180ab57166ab9da4) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Prevent outlines from being clipped for scrollable children in `Modal`
|
|
810
|
-
|
|
811
|
-
Fixed an issue in in-nav modals where child components with outlines could be visually clipped at the horizontal edges when content was scrollable.
|
|
812
|
-
|
|
813
|
-
**Components affected**:
|
|
814
|
-
- `Modal`
|
|
815
|
-
|
|
816
|
-
**Developer changes**:
|
|
817
|
-
|
|
818
|
-
No changes required.
|
|
819
|
-
|
|
820
|
-
- [#1012](https://github.com/utilitywarehouse/hearth/pull/1012) [`4fda116`](https://github.com/utilitywarehouse/hearth/commit/4fda116c2a1bec383df7e630180ab57166ab9da4) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Update horizontal padding values for scrollable in-nav `Modal` content
|
|
821
|
-
|
|
822
|
-
Adjusted horizontal padding behaviour in scrollable in-nav modals to preserve child outlines while keeping visual spacing consistent.
|
|
823
|
-
|
|
824
|
-
**Components affected**:
|
|
825
|
-
- `Modal`
|
|
826
|
-
|
|
827
|
-
**Developer changes**:
|
|
828
|
-
|
|
829
|
-
No changes required.
|
|
830
|
-
|
|
831
|
-
- [#1009](https://github.com/utilitywarehouse/hearth/pull/1009) [`3d65ef2`](https://github.com/utilitywarehouse/hearth/commit/3d65ef2f8f7701b128a9c679f1910cd3d0f5c0c3) Thanks [@fillyD](https://github.com/fillyD)! - 🐛 [FIX]: testID for `List` component
|
|
832
|
-
|
|
833
|
-
## 0.27.2
|
|
834
|
-
|
|
835
|
-
### Patch Changes
|
|
836
|
-
|
|
837
|
-
- [#1003](https://github.com/utilitywarehouse/hearth/pull/1003) [`cdb95ea`](https://github.com/utilitywarehouse/hearth/commit/cdb95eabb279adaf348487ae3fb4a20e600e039e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Correct `VerificationInput` focus progression after editing an empty slot
|
|
838
|
-
|
|
839
|
-
Fixed an issue where entering a value after selecting an empty verification slot could move focus to the wrong slot. Focus now moves to the slot immediately after the one that was actually updated.
|
|
840
|
-
|
|
841
|
-
**Components affected**:
|
|
842
|
-
- `VerificationInput`
|
|
843
|
-
|
|
844
|
-
**Developer changes**:
|
|
845
|
-
|
|
846
|
-
No changes required.
|
|
847
|
-
|
|
848
|
-
## 0.27.1
|
|
849
|
-
|
|
850
|
-
### Patch Changes
|
|
851
|
-
|
|
852
|
-
- [#990](https://github.com/utilitywarehouse/hearth/pull/990) [`958e0e1`](https://github.com/utilitywarehouse/hearth/commit/958e0e1a9d5451d1e11fecadc69ae3c5ad9d42ca) Thanks [@declanelcocks](https://github.com/declanelcocks)! - 🐛 [FIX]: Fix `Modal` layout when `inNavModal` and `stickyFooter={false}`.
|
|
853
|
-
|
|
854
|
-
Corrects the container flex style for `inNavModal` modals with a non-sticky footer, where the UX was not great when scrolling.
|
|
855
|
-
|
|
856
|
-
**Components affected**:
|
|
857
|
-
- `Modal`
|
|
858
|
-
|
|
859
|
-
**Developer changes**:
|
|
860
|
-
|
|
861
|
-
No changes required.
|
|
862
|
-
|
|
863
|
-
- [#992](https://github.com/utilitywarehouse/hearth/pull/992) [`2560b3d`](https://github.com/utilitywarehouse/hearth/commit/2560b3dcba7ed4981fad585628f96afd07d8de4f) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Add optional leading `icon` support to `SegmentedControlOption`.
|
|
864
|
-
|
|
865
|
-
This adds an optional `icon` prop to `SegmentedControlOption`, allowing icons to be displayed before option labels in segmented controls.
|
|
866
|
-
|
|
867
|
-
Docs and stories were updated to include icon usage examples.
|
|
868
|
-
|
|
869
|
-
**Components affected**:
|
|
870
|
-
- `SegmentedControlOption`
|
|
871
|
-
|
|
872
|
-
**Developer changes**:
|
|
873
|
-
|
|
874
|
-
No changes required for existing usage.
|
|
875
|
-
|
|
876
|
-
To use the new optional icon prop:
|
|
877
|
-
|
|
878
|
-
```tsx
|
|
879
|
-
import { SegmentedControl, SegmentedControlOption } from '@utilitywarehouse/hearth-react-native';
|
|
880
|
-
import { ElectricitySmallIcon } from '@utilitywarehouse/hearth-react-native-icons';
|
|
881
|
-
|
|
882
|
-
<SegmentedControl defaultValue="energy">
|
|
883
|
-
<SegmentedControlOption value="energy" icon={ElectricitySmallIcon}>
|
|
884
|
-
Energy
|
|
885
|
-
</SegmentedControlOption>
|
|
886
|
-
<SegmentedControlOption value="broadband">Broadband</SegmentedControlOption>
|
|
887
|
-
</SegmentedControl>;
|
|
888
|
-
```
|
|
889
|
-
|
|
890
|
-
## 0.27.0
|
|
891
|
-
|
|
892
|
-
### Minor Changes
|
|
893
|
-
|
|
894
|
-
- [#987](https://github.com/utilitywarehouse/hearth/pull/987) [`eb962d2`](https://github.com/utilitywarehouse/hearth/commit/eb962d2f33b63fa3aeda0b291fd41ace90d04c41) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `SegmentedControl` and `SegmentedControlOption` components.
|
|
895
|
-
|
|
896
|
-
This introduces a new segmented control component for switching between a small set of related options.
|
|
897
|
-
The component includes controlled and uncontrolled usage, size variants (`sm`, `md`), animated selected indicator movement, and improved accessibility semantics for screen readers.
|
|
898
|
-
|
|
899
|
-
**Components affected**:
|
|
900
|
-
- `SegmentedControl`
|
|
901
|
-
- `SegmentedControlOption`
|
|
902
|
-
|
|
903
|
-
**Developer changes**:
|
|
904
|
-
|
|
905
|
-
Import and compose the new components as follows:
|
|
906
|
-
|
|
907
|
-
```tsx
|
|
908
|
-
import { SegmentedControl, SegmentedControlOption } from '@utilitywarehouse/hearth-react-native';
|
|
909
|
-
|
|
910
|
-
<SegmentedControl defaultValue="day" size="sm">
|
|
911
|
-
<SegmentedControlOption value="day">Day</SegmentedControlOption>
|
|
912
|
-
<SegmentedControlOption value="week">Week</SegmentedControlOption>
|
|
913
|
-
<SegmentedControlOption value="month">Month</SegmentedControlOption>
|
|
914
|
-
</SegmentedControl>;
|
|
915
|
-
```
|
|
916
|
-
|
|
917
|
-
### Patch Changes
|
|
918
|
-
|
|
919
|
-
- [#989](https://github.com/utilitywarehouse/hearth/pull/989) [`c97122e`](https://github.com/utilitywarehouse/hearth/commit/c97122eb429ec4adef656fb245a9256a5619df61) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Ensure horizontal `Banner` fills available width when `onPress` is not provided.
|
|
920
|
-
|
|
921
|
-
Fixed a layout issue where a horizontal `Banner` without `onPress` could fail to stretch correctly within its parent container.
|
|
922
|
-
|
|
923
|
-
**Components affected**:
|
|
924
|
-
- `Banner`
|
|
925
|
-
|
|
926
|
-
**Developer changes**:
|
|
927
|
-
|
|
928
|
-
No changes required.
|
|
929
|
-
|
|
930
|
-
## 0.26.0
|
|
931
|
-
|
|
932
|
-
### Minor Changes
|
|
933
|
-
|
|
934
|
-
- [#981](https://github.com/utilitywarehouse/hearth/pull/981) [`df56387`](https://github.com/utilitywarehouse/hearth/commit/df563872e6bf040d419f6c7fce2343ebe560edb9) Thanks [@declanelcocks](https://github.com/declanelcocks)! - 🌟 [ENHANCEMENT]: Improve `Modal` behaviour when used inside a React Navigation modal (`inNavModal`).
|
|
935
|
-
|
|
936
|
-
The following improvements have been made to the `Modal` component when used in a navigation context with `inNavModal={true}`:
|
|
937
|
-
- **`scrollable` prop**: Content is now rendered inside a `ScrollView` by default. Set `scrollable={false}` to opt out, for example when you need to centre content or use a custom layout.
|
|
938
|
-
- **`stickyFooter` support**: The `stickyFooter` prop now works correctly in `inNavModal` mode.
|
|
939
|
-
- **Auto full-screen detection**: When the modal fills the entire screen (e.g. with `presentation: 'fullScreenModal'`), the `fullscreen` style is applied automatically. The `fullscreen` prop is no longer available when `inNavModal` is `true`.
|
|
940
|
-
|
|
941
|
-
**Components affected**:
|
|
942
|
-
- `Modal`
|
|
943
|
-
|
|
944
|
-
**Developer changes**:
|
|
945
|
-
|
|
946
|
-
No changes are required for existing usage. If you were passing `fullscreen` alongside `inNavModal={true}`, remove the `fullscreen` prop — full-screen styling is now detected automatically:
|
|
947
|
-
|
|
948
|
-
```diff
|
|
949
|
-
- <Modal inNavModal fullscreen>
|
|
950
|
-
+ <Modal inNavModal>
|
|
951
|
-
```
|
|
952
|
-
|
|
953
|
-
To disable the default `ScrollView` wrapping in `inNavModal` mode:
|
|
954
|
-
|
|
955
|
-
```tsx
|
|
956
|
-
<Modal inNavModal scrollable={false}>
|
|
957
|
-
{/* custom layout */}
|
|
958
|
-
</Modal>
|
|
959
|
-
```
|
|
960
|
-
|
|
961
|
-
## 0.25.0
|
|
962
|
-
|
|
963
|
-
### Minor Changes
|
|
964
|
-
|
|
965
|
-
- [#982](https://github.com/utilitywarehouse/hearth/pull/982) [`506b388`](https://github.com/utilitywarehouse/hearth/commit/506b388ae1ef1065f013024a14bd9e2599a6442d) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `TimePicker` and `TimePickerInput` components with 12/24-hour support and minute intervals.
|
|
966
|
-
|
|
967
|
-
Includes a shared time picker view, updated wheel behavior for native platforms, and polished visuals like gradient fades.
|
|
968
|
-
|
|
969
|
-
**Components affected**:
|
|
970
|
-
- `TimePicker`
|
|
971
|
-
- `TimePickerInput`
|
|
972
|
-
|
|
973
|
-
```tsx
|
|
974
|
-
import { TimePicker, TimePickerInput } from '@utilitywarehouse/hearth-react-native';
|
|
975
|
-
import { useRef, useState } from 'react';
|
|
976
|
-
import type { DateType } from '@utilitywarehouse/hearth-react-native';
|
|
977
|
-
|
|
978
|
-
const Example = () => {
|
|
979
|
-
const [value, setValue] = useState<DateType>();
|
|
980
|
-
const pickerRef = useRef(null);
|
|
981
|
-
|
|
982
|
-
return (
|
|
983
|
-
<>
|
|
984
|
-
<TimePickerInput
|
|
985
|
-
value={value}
|
|
986
|
-
onChange={({ date }) => setValue(date ?? undefined)}
|
|
987
|
-
onClear={() => setValue(undefined)}
|
|
988
|
-
timePickerProps={{ use12Hours: true, minuteInterval: 5 }}
|
|
989
|
-
/>
|
|
990
|
-
<TimePicker
|
|
991
|
-
ref={pickerRef}
|
|
992
|
-
date={value}
|
|
993
|
-
onChange={({ date }) => setValue(date)}
|
|
994
|
-
use12Hours
|
|
995
|
-
minuteInterval={5}
|
|
996
|
-
/>
|
|
997
|
-
</>
|
|
998
|
-
);
|
|
999
|
-
};
|
|
1000
|
-
```
|
|
1001
|
-
|
|
1002
|
-
## 0.24.0
|
|
1003
|
-
|
|
1004
|
-
### Minor Changes
|
|
1005
|
-
|
|
1006
|
-
- [#977](https://github.com/utilitywarehouse/hearth/pull/977) [`9d2b534`](https://github.com/utilitywarehouse/hearth/commit/9d2b5348a5748cb613f537808069de2e86bd21d7) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `ProgressBar` component with linear and circular variants.
|
|
1007
|
-
|
|
1008
|
-
**Developer changes**:
|
|
1009
|
-
|
|
1010
|
-
Use `ProgressBar` with a default percentage label, or override the label to show a custom value:
|
|
1011
|
-
|
|
1012
|
-
```tsx
|
|
1013
|
-
import { ProgressBar } from '@utilitywarehouse/hearth-react-native';
|
|
1014
|
-
|
|
1015
|
-
<ProgressBar value={42} label="Uploading documents" />
|
|
1016
|
-
|
|
1017
|
-
<ProgressBar
|
|
1018
|
-
value={68}
|
|
1019
|
-
max={100}
|
|
1020
|
-
label="Data allowance"
|
|
1021
|
-
variant="circular"
|
|
1022
|
-
formatValueText={(value, { max }) => `${max - value}GB remaining`}
|
|
1023
|
-
/>
|
|
1024
|
-
```
|
|
1025
|
-
|
|
1026
|
-
### Patch Changes
|
|
1027
|
-
|
|
1028
|
-
- [#978](https://github.com/utilitywarehouse/hearth/pull/978) [`26a1173`](https://github.com/utilitywarehouse/hearth/commit/26a11731a493a8b92ac2a3a183516376ab54663b) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Tighten `Modal` prop types and fix brand background text styling
|
|
1029
|
-
|
|
1030
|
-
Improves TypeScript safety so `stickyFooter` is not allowed when `inNavModal` is true, and `background` can only be set when `inNavModal` is true. Also ensures headings, body text, and button content are correctly inverted when using the brand background.
|
|
1031
|
-
|
|
1032
|
-
**Components affected**:
|
|
1033
|
-
- `Modal`
|
|
1034
|
-
|
|
1035
|
-
**Developer changes**:
|
|
1036
|
-
No changes required unless you were relying on invalid prop combinations.
|
|
1037
|
-
|
|
1038
|
-
## 0.23.0
|
|
1039
|
-
|
|
1040
|
-
### Minor Changes
|
|
1041
|
-
|
|
1042
|
-
- [#975](https://github.com/utilitywarehouse/hearth/pull/975) [`102f04e`](https://github.com/utilitywarehouse/hearth/commit/102f04e0d560cf0faa21da5020c230e88e857251) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add a `background` option for Modal when used inside navigation modals
|
|
1043
|
-
|
|
1044
|
-
Modal now supports a `background` prop with `default` and `brand` values. When `background="brand"` is used in a navigation modal, the buttons and close icon invert for contrast, and the content area is scrollable.
|
|
1045
|
-
|
|
1046
|
-
**Components affected**:
|
|
1047
|
-
- `Modal`
|
|
1048
|
-
|
|
1049
|
-
**Developer changes**:
|
|
1050
|
-
|
|
1051
|
-
No changes required. To opt in to the brand background:
|
|
1052
|
-
|
|
1053
|
-
```tsx
|
|
1054
|
-
<Modal background="brand" inNavModal>
|
|
1055
|
-
...
|
|
1056
|
-
</Modal>
|
|
1057
|
-
```
|
|
1058
|
-
|
|
1059
|
-
## 0.22.1
|
|
1060
|
-
|
|
1061
|
-
### Patch Changes
|
|
1062
|
-
|
|
1063
|
-
- [#971](https://github.com/utilitywarehouse/hearth/pull/971) [`be1dfeb`](https://github.com/utilitywarehouse/hearth/commit/be1dfebd4b43f2df8ef6c5eaa42a88364e796479) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Improve VerificationInput OTP handling and accessibility
|
|
1064
|
-
|
|
1065
|
-
VerificationInput now uses a single hidden input to manage focus, selection, and paste behaviour across platforms, improving caret handling and bulk entry. Accessibility labels and hints are now derived from the form field to provide clearer screen reader output.
|
|
1066
|
-
|
|
1067
|
-
**Components affected**:
|
|
1068
|
-
- `VerificationInput`
|
|
1069
|
-
|
|
1070
|
-
**Developer changes**:
|
|
1071
|
-
|
|
1072
|
-
No changes required.
|
|
1073
|
-
|
|
1074
|
-
## 0.22.0
|
|
1075
|
-
|
|
1076
|
-
### Minor Changes
|
|
1077
|
-
|
|
1078
|
-
- [#968](https://github.com/utilitywarehouse/hearth/pull/968) [`cee5811`](https://github.com/utilitywarehouse/hearth/commit/cee5811020af02fe754d8311ec8313c1793f108a) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `badge` support to Radio and Checkbox (including tiles).
|
|
1079
|
-
|
|
1080
|
-
**Components affected**:
|
|
1081
|
-
- `Radio`
|
|
1082
|
-
- `RadioTile`
|
|
1083
|
-
- `Checkbox`
|
|
1084
|
-
- `CheckboxTile`
|
|
1085
|
-
|
|
1086
|
-
**Developer changes**:
|
|
1087
|
-
You can now pass a `badge` React node to render beneath helper text. No changes required unless you want to use the new prop.
|
|
1088
|
-
|
|
1089
|
-
### Patch Changes
|
|
1090
|
-
|
|
1091
|
-
- [#966](https://github.com/utilitywarehouse/hearth/pull/966) [`4e9f3f0`](https://github.com/utilitywarehouse/hearth/commit/4e9f3f0284e50da5ba4e49e132dac745a1a8a68d) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Allow Card layout props and remove forced alignment
|
|
1092
|
-
|
|
1093
|
-
Card now accepts flex layout and display props, and it no longer forces `alignItems: flex-start` on the root, so custom alignment works as expected.
|
|
1094
|
-
|
|
1095
|
-
- [#969](https://github.com/utilitywarehouse/hearth/pull/969) [`c5c988b`](https://github.com/utilitywarehouse/hearth/commit/c5c988b65f1133b85b822037b086a524bc1255e3) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Render the Modal footer in navigation modals
|
|
1096
|
-
|
|
1097
|
-
## 0.21.0
|
|
1098
|
-
|
|
1099
|
-
### Minor Changes
|
|
1100
|
-
|
|
1101
|
-
- [#917](https://github.com/utilitywarehouse/hearth/pull/917) [`6a016dc`](https://github.com/utilitywarehouse/hearth/commit/6a016dca0d1a06e40a877da15aced590d0c68112) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add 2xl size variant to Heading component
|
|
1102
|
-
|
|
1103
|
-
The `Heading` component now supports a `2xl` size option, providing a larger heading size for prominent page titles and hero sections. This size is responsive across device sizes with appropriate font sizes and line heights for mobile, tablet, and desktop viewports.
|
|
1104
|
-
|
|
1105
|
-
**Components affected**:
|
|
1106
|
-
- `Heading`
|
|
1107
|
-
|
|
1108
|
-
**Developer changes**:
|
|
1109
|
-
|
|
1110
|
-
Use the new `2xl` size prop:
|
|
1111
|
-
|
|
1112
|
-
```tsx
|
|
1113
|
-
<Heading size="2xl">Welcome to Hearth</Heading>
|
|
1114
|
-
```
|
|
1115
|
-
|
|
1116
|
-
The `2xl` size will render with:
|
|
1117
|
-
- Mobile: 44px font size, 52px line height
|
|
1118
|
-
- Tablet: 44px font size, 52px line height
|
|
1119
|
-
- Desktop: 54px font size, 62px line height
|
|
1120
|
-
|
|
1121
|
-
- [#949](https://github.com/utilitywarehouse/hearth/pull/949) [`e1aacf0`](https://github.com/utilitywarehouse/hearth/commit/e1aacf06a58fd8358e9e7546ec35d8194a0d8d74) Thanks [@MichalCiesliczka](https://github.com/MichalCiesliczka)! - 🌟 [FEATURE]: Add segment refs to `DateInput` for programmatic focus control
|
|
1122
|
-
|
|
1123
|
-
The `DateInput` component now supports direct refs for each segment input via `dayRef`, `monthRef`, and `yearRef`.
|
|
1124
|
-
This makes it easier to move focus between segments from custom flows (for example, advancing focus after validation or from custom buttons).
|
|
1125
|
-
|
|
1126
|
-
Documentation and Storybook examples are also updated to show how to use segment refs in real usage.
|
|
1127
|
-
|
|
1128
|
-
**Components affected**:
|
|
1129
|
-
- `DateInput`
|
|
1130
|
-
|
|
1131
|
-
**Developer changes**:
|
|
1132
|
-
|
|
1133
|
-
You can now pass refs to each segment and call `.focus()` when needed:
|
|
1134
|
-
|
|
1135
|
-
```tsx
|
|
1136
|
-
import { useRef, useState } from 'react';
|
|
1137
|
-
import { TextInput } from 'react-native';
|
|
1138
|
-
import { Button, DateInput } from '@utilitywarehouse/hearth-react-native';
|
|
1139
|
-
|
|
1140
|
-
const DateWithSegmentFocus = () => {
|
|
1141
|
-
const [day, setDay] = useState('');
|
|
1142
|
-
const [month, setMonth] = useState('');
|
|
1143
|
-
const [year, setYear] = useState('');
|
|
1144
|
-
|
|
1145
|
-
const dayRef = useRef<TextInput>(null);
|
|
1146
|
-
const monthRef = useRef<TextInput>(null);
|
|
1147
|
-
const yearRef = useRef<TextInput>(null);
|
|
1148
|
-
|
|
1149
|
-
return (
|
|
1150
|
-
<>
|
|
1151
|
-
<DateInput
|
|
1152
|
-
label="Date of birth"
|
|
1153
|
-
dayValue={day}
|
|
1154
|
-
monthValue={month}
|
|
1155
|
-
yearValue={year}
|
|
1156
|
-
onDayChange={setDay}
|
|
1157
|
-
onMonthChange={setMonth}
|
|
1158
|
-
onYearChange={setYear}
|
|
1159
|
-
dayRef={dayRef}
|
|
1160
|
-
monthRef={monthRef}
|
|
1161
|
-
yearRef={yearRef}
|
|
1162
|
-
/>
|
|
1163
|
-
|
|
1164
|
-
<Button onPress={() => monthRef.current?.focus()}>Focus month</Button>
|
|
1165
|
-
</>
|
|
1166
|
-
);
|
|
1167
|
-
};
|
|
1168
|
-
```
|
|
1169
|
-
|
|
1170
|
-
This is a non-breaking enhancement, so existing `DateInput` usage continues to work without any changes.
|
|
1171
|
-
|
|
1172
|
-
- [#918](https://github.com/utilitywarehouse/hearth/pull/918) [`2db4dbe`](https://github.com/utilitywarehouse/hearth/commit/2db4dbe273583239b148c4399af829df596a00c1) Thanks [@jordmccord](https://github.com/jordmccord)! - 💔 [BREAKING CHANGE]: Simplify semantic token naming and introduce utility prop types
|
|
1173
|
-
|
|
1174
|
-
This release simplifies the semantic token naming convention and introduces a new utility prop system to make the API more intuitive and consistent across components.
|
|
1175
|
-
|
|
1176
|
-
**Components affected**:
|
|
1177
|
-
- `Box`
|
|
1178
|
-
- `Container`
|
|
1179
|
-
- `Card`
|
|
1180
|
-
- `Flex`
|
|
1181
|
-
- `Grid`
|
|
1182
|
-
- `Center`
|
|
1183
|
-
- `BodyText`
|
|
1184
|
-
- `Heading`
|
|
1185
|
-
- `DetailText`
|
|
1186
|
-
- `Carousel`
|
|
1187
|
-
- `CarouselItem`
|
|
1188
|
-
|
|
1189
|
-
**Developer changes**:
|
|
1190
|
-
|
|
1191
|
-
### Background Colors
|
|
1192
|
-
|
|
1193
|
-
Background color props now accept simplified semantic tokens. Update your code as follows:
|
|
1194
|
-
|
|
1195
|
-
```diff
|
|
1196
|
-
- <Box backgroundColor="backgroundPrimary">
|
|
1197
|
-
+ <Box backgroundColor="primary">
|
|
1198
|
-
|
|
1199
|
-
- <Box backgroundColor="backgroundSecondary">
|
|
1200
|
-
+ <Box backgroundColor="secondary">
|
|
1201
|
-
|
|
1202
|
-
- <Box backgroundColor="backgroundBrand">
|
|
1203
|
-
+ <Box backgroundColor="brand">
|
|
1204
|
-
|
|
1205
|
-
- <Container bg="backgroundPrimary">
|
|
1206
|
-
+ <Container bg="primary">
|
|
1207
|
-
```
|
|
1208
|
-
|
|
1209
|
-
You can still use full color tokens (e.g., `backgroundColor={color.blue[400]}`) by using a `StyleSheet`, the `useTheme` hook, or directly importing from the tokens library:
|
|
1210
|
-
|
|
1211
|
-
```tsx
|
|
1212
|
-
import { StyleSheet } from 'react-native';
|
|
1213
|
-
|
|
1214
|
-
const styles = StyleSheet.create(theme => ({
|
|
1215
|
-
customBackground: {
|
|
1216
|
-
backgroundColor: theme.color.blue[400],
|
|
1217
|
-
},
|
|
1218
|
-
}));
|
|
1219
|
-
|
|
1220
|
-
<Box style={styles.customBackground} />;
|
|
1221
|
-
```
|
|
1222
|
-
|
|
1223
|
-
```tsx
|
|
1224
|
-
import { useTheme } from '@utilitywarehouse/hearth-react-native';
|
|
1225
|
-
|
|
1226
|
-
const theme = useTheme();
|
|
1227
|
-
|
|
1228
|
-
<Box backgroundColor={theme.color.purple[800]} />;
|
|
1229
|
-
```
|
|
1230
|
-
|
|
1231
|
-
```tsx
|
|
1232
|
-
import { color } from '@utilitywarehouse/hearth-tokens';
|
|
1233
|
-
|
|
1234
|
-
<Box backgroundColor={color.blue[400]} />;
|
|
1235
|
-
```
|
|
1236
|
-
|
|
1237
|
-
### Text Colors
|
|
1238
|
-
|
|
1239
|
-
Text color props now accept simplified semantic tokens:
|
|
1240
|
-
|
|
1241
|
-
```diff
|
|
1242
|
-
- <BodyText color="white">Text</BodyText>
|
|
1243
|
-
+ <BodyText color="inverted">Text</BodyText>
|
|
1244
|
-
|
|
1245
|
-
- <BodyText color="grey1000">Text</BodyText>
|
|
1246
|
-
+ <BodyText color="primary">Text</BodyText>
|
|
1247
|
-
|
|
1248
|
-
- <Heading color="textSecondary">Heading</Heading>
|
|
1249
|
-
+ <Heading color="secondary">Heading</Heading>
|
|
1250
|
-
```
|
|
1251
|
-
|
|
1252
|
-
### Border Colors
|
|
1253
|
-
|
|
1254
|
-
Border color props now accept simplified semantic tokens:
|
|
1255
|
-
|
|
1256
|
-
```diff
|
|
1257
|
-
- <Box borderColor="grey800">
|
|
1258
|
-
+ <Box borderColor="strong">
|
|
1259
|
-
|
|
1260
|
-
- <Box borderColor="borderSubtle">
|
|
1261
|
-
+ <Box borderColor="subtle">
|
|
1262
|
-
```
|
|
1263
|
-
|
|
1264
|
-
### Utility Props
|
|
1265
|
-
|
|
1266
|
-
Components now support consistent utility props through shared type interfaces. The following components have been updated to support additional utility props:
|
|
1267
|
-
- **Container**: Added `MarginProps`, `PaddingProps`, `GapProps`, and `BackgroundColorProps`
|
|
1268
|
-
- **Card**: Added `MarginProps` and `GapProps`
|
|
1269
|
-
- **Flex**: Now properly supports `MarginProps`, `PaddingProps`, and `GapProps`
|
|
1270
|
-
- **Text components** (BodyText, Heading, DetailText): Now support `MarginProps`
|
|
1271
|
-
|
|
1272
|
-
This means you can now use margin utilities directly on these components:
|
|
1273
|
-
|
|
1274
|
-
```tsx
|
|
1275
|
-
<BodyText mt="200" mb="100">Text with margin utilities</BodyText>
|
|
1276
|
-
<Container mx="300" py="200">Container with spacing utilities</Container>
|
|
1277
|
-
<Card mt="200" gap="100">Card with margin and gap utilities</Card>
|
|
1278
|
-
```
|
|
1279
|
-
|
|
1280
|
-
**Migration guide**:
|
|
1281
|
-
1. Replace semantic background color tokens:
|
|
1282
|
-
- `backgroundPrimary` → `primary`
|
|
1283
|
-
- `backgroundSecondary` → `secondary`
|
|
1284
|
-
- `backgroundBrand` → `brand`
|
|
1285
|
-
2. Replace semantic text color tokens:
|
|
1286
|
-
- `white` → `inverted` (for text on dark backgrounds)
|
|
1287
|
-
- `grey1000` / `textPrimary` → `primary`
|
|
1288
|
-
- `textSecondary` → `secondary`
|
|
1289
|
-
3. Replace semantic border color tokens:
|
|
1290
|
-
- `grey800` / `borderStrong` → `strong`
|
|
1291
|
-
- `borderSubtle` → `subtle`
|
|
1292
|
-
4. For non-semantic colors, use a `StyleSheet` and use the full color token from the theme:
|
|
1293
|
-
|
|
1294
|
-
```tsx
|
|
1295
|
-
import { StyleSheet } from 'react-native';
|
|
1296
|
-
|
|
1297
|
-
const styles = StyleSheet.create(theme => ({
|
|
1298
|
-
customBackground: {
|
|
1299
|
-
backgroundColor: theme.color.blue[400],
|
|
1300
|
-
},
|
|
1301
|
-
}));
|
|
1302
|
-
|
|
1303
|
-
<Box style={styles.customBackground} />;
|
|
1304
|
-
```
|
|
1305
|
-
|
|
1306
|
-
or the `useTheme` hook:
|
|
1307
|
-
|
|
1308
|
-
```tsx
|
|
1309
|
-
import { useTheme } from '@utilitywarehouse/hearth-react-native';
|
|
1310
|
-
|
|
1311
|
-
const theme = useTheme();
|
|
1312
|
-
<Box backgroundColor={theme.color.purple[800]} />;
|
|
1313
|
-
```
|
|
1314
|
-
|
|
1315
|
-
or use the tokens library:
|
|
1316
|
-
|
|
1317
|
-
```tsx
|
|
1318
|
-
import { color } from '@utilitywarehouse/hearth-tokens';
|
|
1319
|
-
|
|
1320
|
-
<Box backgroundColor={color.purple[800]} />;
|
|
1321
|
-
```
|
|
1322
|
-
|
|
1323
|
-
**Backwards compatibility**:
|
|
1324
|
-
|
|
1325
|
-
The full color tokens (e.g., `backgroundPrimary`, `grey1000`) are still supported as fallbacks but are deprecated and will cause type errors. We recommend migrating to the simplified tokens for a cleaner API.
|
|
1326
|
-
|
|
1327
|
-
**References**:
|
|
1328
|
-
- [Semantic tokens documentation](https://github.com/utilitywarehouse/hearth/blob/main/packages/tokens/src/semantic-light.ts)
|
|
1329
|
-
|
|
1330
|
-
### Patch Changes
|
|
1331
|
-
|
|
1332
|
-
- [#917](https://github.com/utilitywarehouse/hearth/pull/917) [`6a016dc`](https://github.com/utilitywarehouse/hearth/commit/6a016dca0d1a06e40a877da15aced590d0c68112) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Update design tokens from Figma
|
|
1333
|
-
|
|
1334
|
-
Updated design tokens to include new font sizes, line heights, and component-specific tokens:
|
|
1335
|
-
- Added `background.loading` colour token for both light and dark modes
|
|
1336
|
-
- Added new font sizes: 575 (44px) and 650 (54px)
|
|
1337
|
-
- Added new line heights: 975 (52px) and 1050 (62px)
|
|
1338
|
-
- Updated `Modal` component tokens with `mobile.paddingBottom` and `handle.paddingBottom` properties
|
|
1339
|
-
- Added `borderBottom` property to `Navigation` component tokens
|
|
1340
|
-
- Updated `Skeleton` component `loadingColor` value in light mode
|
|
1341
|
-
|
|
1342
|
-
**Developer changes**:
|
|
1343
|
-
|
|
1344
|
-
No changes required. These tokens are automatically applied to components that use them.
|
|
1345
|
-
|
|
1346
|
-
## 0.20.0
|
|
1347
|
-
|
|
1348
|
-
### Minor Changes
|
|
1349
|
-
|
|
1350
|
-
- [#898](https://github.com/utilitywarehouse/hearth/pull/898) [`d32a188`](https://github.com/utilitywarehouse/hearth/commit/d32a18840c04222b7b1348133137dc5e56745fe3) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add validation and helper text props to `Select` component
|
|
1351
|
-
|
|
1352
|
-
The `Select` component now supports built-in validation messages and helper text through new props: `invalidText`, `validText`, `helperText`, and `helperIcon`. This provides a more integrated validation experience without needing to wrap the component in FormField.
|
|
1353
|
-
|
|
1354
|
-
**Components affected**:
|
|
1355
|
-
- `Select`
|
|
1356
|
-
|
|
1357
|
-
**Developer changes**:
|
|
1358
|
-
|
|
1359
|
-
You can now add helper text and validation messages directly to Select:
|
|
1360
|
-
|
|
1361
|
-
```tsx
|
|
1362
|
-
import { Select } from '@utilitywarehouse/hearth-react-native';
|
|
1363
|
-
|
|
1364
|
-
<Select
|
|
1365
|
-
label="Choose an option"
|
|
1366
|
-
placeholder="Select an option"
|
|
1367
|
-
helperText="This is some helper text for the select component."
|
|
1368
|
-
validationStatus="invalid"
|
|
1369
|
-
invalidText="Please select a valid option"
|
|
1370
|
-
options={[
|
|
1371
|
-
{ label: 'Option 1', value: '1' },
|
|
1372
|
-
{ label: 'Option 2', value: '2' },
|
|
1373
|
-
{ label: 'Option 3', value: '3' },
|
|
1374
|
-
]}
|
|
1375
|
-
value={value}
|
|
1376
|
-
onValueChange={setValue}
|
|
1377
|
-
/>;
|
|
1378
|
-
```
|
|
1379
|
-
|
|
1380
|
-
The component now also supports a `labelVariant` prop to control label styling:
|
|
1381
|
-
|
|
1382
|
-
```tsx
|
|
1383
|
-
<Select
|
|
1384
|
-
label="Choose an option"
|
|
1385
|
-
labelVariant="heading"
|
|
1386
|
-
// ... other props
|
|
1387
|
-
/>
|
|
1388
|
-
```
|
|
1389
|
-
|
|
1390
|
-
These new props work seamlessly alongside the existing FormField wrapper if you prefer that approach. No changes are required to existing Select implementations.
|
|
1391
|
-
|
|
1392
|
-
## 0.19.1
|
|
1393
|
-
|
|
1394
|
-
### Patch Changes
|
|
1395
|
-
|
|
1396
|
-
- [#886](https://github.com/utilitywarehouse/hearth/pull/886) [`7a948de`](https://github.com/utilitywarehouse/hearth/commit/7a948dea0d15ce7ca34e4d405e86984213c96196) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Add `loadingHeading` prop to `Modal` component
|
|
1397
|
-
|
|
1398
|
-
The `Modal` component now supports a `loadingHeading` prop to customise the heading text displayed during loading states. If not provided, it defaults to 'Loading...'.
|
|
1399
|
-
|
|
1400
|
-
**Components affected**:
|
|
1401
|
-
- `Modal`
|
|
1402
|
-
|
|
1403
|
-
**Developer changes**:
|
|
1404
|
-
|
|
1405
|
-
No changes required. To customise the loading heading text, use the new `loadingHeading` prop:
|
|
1406
|
-
|
|
1407
|
-
```tsx
|
|
1408
|
-
<Modal
|
|
1409
|
-
loading={isLoading}
|
|
1410
|
-
loadingHeading="Processing your request..."
|
|
1411
|
-
heading="Confirm Action"
|
|
1412
|
-
description="Please wait while we process your request"
|
|
1413
|
-
/>
|
|
1414
|
-
```
|
|
1415
|
-
|
|
1416
|
-
- [#888](https://github.com/utilitywarehouse/hearth/pull/888) [`9b3e172`](https://github.com/utilitywarehouse/hearth/commit/9b3e172f9964026f4f3ba140731432ac63550256) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Align `Toast` icon and dismiss button to the top
|
|
1417
|
-
|
|
1418
|
-
## 0.19.0
|
|
1419
|
-
|
|
1420
|
-
### Minor Changes
|
|
1421
|
-
|
|
1422
|
-
- [#882](https://github.com/utilitywarehouse/hearth/pull/882) [`7e5338c`](https://github.com/utilitywarehouse/hearth/commit/7e5338c75bf051897a5384fe4ce0f65533b7e1a7) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Add `safeAreaPadding` option to `ToastProvider`
|
|
1423
|
-
|
|
1424
|
-
`ToastProvider` now supports an optional `safeAreaPadding` prop to control whether toasts respect safe-area inset padding. This can be useful when you want to disable additional safe-area inset space while keeping the base toast padding.
|
|
1425
|
-
|
|
1426
|
-
**Components affected**:
|
|
1427
|
-
- `ToastProvider`
|
|
1428
|
-
|
|
1429
|
-
**Developer changes**:
|
|
1430
|
-
|
|
1431
|
-
No changes required. To disable safe-area inset padding (while preserving the base bottom padding), set `safeAreaPadding` to `false`:
|
|
1432
|
-
|
|
1433
|
-
```tsx
|
|
1434
|
-
<ToastProvider safeAreaPadding={false}>{children}</ToastProvider>
|
|
1435
|
-
```
|
|
1436
|
-
|
|
1437
|
-
- [`da893ff`](https://github.com/utilitywarehouse/hearth/commit/da893ff8a9d576a6ca69021737056c7289f8c6aa) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Unify spacing prop naming across layout components
|
|
1438
|
-
|
|
1439
|
-
The `space` prop has been renamed to `spacing` across all layout components for improved consistency and clarity. The `space` prop is now deprecated but will continue to work alongside the new `spacing` prop to maintain backward compatibility.
|
|
1440
|
-
|
|
1441
|
-
**Components affected**:
|
|
1442
|
-
- `Box`
|
|
1443
|
-
- `ButtonGroup`
|
|
1444
|
-
- `Card`
|
|
1445
|
-
- `Container`
|
|
1446
|
-
- `Divider`
|
|
1447
|
-
- `Flex`
|
|
1448
|
-
- `Grid`
|
|
1449
|
-
|
|
1450
|
-
**Developer changes**:
|
|
1451
|
-
|
|
1452
|
-
No immediate changes are required. The `space` prop will continue to work as before. However, we recommend migrating to the `spacing` prop at your convenience:
|
|
1453
|
-
|
|
1454
|
-
```diff
|
|
1455
|
-
- <Flex space="md">
|
|
1456
|
-
+ <Flex spacing="md">
|
|
1457
|
-
<Box>...</Box>
|
|
1458
|
-
<Box>...</Box>
|
|
1459
|
-
</Flex>
|
|
1460
|
-
```
|
|
1461
|
-
|
|
1462
|
-
```diff
|
|
1463
|
-
- <Grid columns={2} space="lg">
|
|
1464
|
-
+ <Grid columns={2} spacing="lg">
|
|
1465
|
-
<Box>...</Box>
|
|
1466
|
-
<Box>...</Box>
|
|
1467
|
-
</Grid>
|
|
1468
|
-
```
|
|
1469
|
-
|
|
1470
|
-
```diff
|
|
1471
|
-
- <Container space="xl">
|
|
1472
|
-
+ <Container spacing="xl">
|
|
1473
|
-
<Box>...</Box>
|
|
1474
|
-
</Container>
|
|
1475
|
-
```
|
|
1476
|
-
|
|
1477
|
-
The deprecated `space` prop will be removed in a future major version release.
|
|
1478
|
-
|
|
1479
|
-
- [#877](https://github.com/utilitywarehouse/hearth/pull/877) [`2cdf3a2`](https://github.com/utilitywarehouse/hearth/commit/2cdf3a2f4251b24f34c260f3f5da39f8c330fff5) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `autoFocus` prop to `VerificationInput`
|
|
1480
|
-
|
|
1481
|
-
`VerificationInput` now supports an `autoFocus` prop to control whether the first slot should focus on mount.
|
|
1482
|
-
Default is `false` to avoid unexpected focus when the component is used.
|
|
1483
|
-
|
|
1484
|
-
**Developer changes**:
|
|
1485
|
-
|
|
1486
|
-
```tsx
|
|
1487
|
-
<VerificationInput autoFocus={false} />
|
|
1488
|
-
```
|
|
1489
|
-
|
|
1490
|
-
- [#877](https://github.com/utilitywarehouse/hearth/pull/877) [`2cdf3a2`](https://github.com/utilitywarehouse/hearth/commit/2cdf3a2f4251b24f34c260f3f5da39f8c330fff5) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `VerificationInput` ref methods and improve rapid input handling
|
|
1491
|
-
|
|
1492
|
-
`VerificationInput` now forwards a ref with `focus`, `blur`, `clear`, and `focusIndex` helpers. Input updates also use the latest value to avoid dropped digits when typing quickly.
|
|
1493
|
-
|
|
1494
|
-
**Developer changes**:
|
|
1495
|
-
|
|
1496
|
-
If you want to control focus programmatically, pass a ref:
|
|
1497
|
-
|
|
1498
|
-
```tsx
|
|
1499
|
-
import { useRef } from 'react';
|
|
1500
|
-
import {
|
|
1501
|
-
VerificationInput,
|
|
1502
|
-
type VerificationInputHandle,
|
|
1503
|
-
} from '@utilitywarehouse/hearth-react-native';
|
|
1504
|
-
|
|
1505
|
-
const inputRef = useRef<VerificationInputHandle>(null);
|
|
1506
|
-
|
|
1507
|
-
<VerificationInput ref={inputRef} onChangeText={setCode} />;
|
|
1508
|
-
```
|
|
1509
|
-
|
|
1510
|
-
### Patch Changes
|
|
1511
|
-
|
|
1512
|
-
- [#880](https://github.com/utilitywarehouse/hearth/pull/880) [`a52bb03`](https://github.com/utilitywarehouse/hearth/commit/a52bb03352dd8b83c9cfd3311aaa390e96e75662) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Remove the unsupported `colorScheme` prop from `Banner` types so the API matches the `Card` component.
|
|
1513
|
-
|
|
1514
|
-
- [#879](https://github.com/utilitywarehouse/hearth/pull/879) [`383b686`](https://github.com/utilitywarehouse/hearth/commit/383b6860c1b68da139f10a67cd001dd884143df0) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Make `Banner` button full width in vertical layout
|
|
1515
|
-
|
|
1516
|
-
- [#878](https://github.com/utilitywarehouse/hearth/pull/878) [`b31b8c3`](https://github.com/utilitywarehouse/hearth/commit/b31b8c3d37d4d1ec3df2f187ec18d00b3e663b49) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Fix `Modal` bottom padding
|
|
1517
|
-
|
|
1518
|
-
- [#881](https://github.com/utilitywarehouse/hearth/pull/881) [`5681b8f`](https://github.com/utilitywarehouse/hearth/commit/5681b8fd4bcc73ad532229018049f959f06f77ec) Thanks [@jordmccord](https://github.com/jordmccord)! - 📦 [DEPS]: Bump `@utilitywarehouse/hearth-react-native-icons` peerDependency to 0.8.0
|
|
1519
|
-
|
|
1520
|
-
## 0.18.0
|
|
1521
|
-
|
|
1522
|
-
### Minor Changes
|
|
1523
|
-
|
|
1524
|
-
- [#869](https://github.com/utilitywarehouse/hearth/pull/869) [`89231c8`](https://github.com/utilitywarehouse/hearth/commit/89231c818dfd694f53b50f4cc961a38d0a50999e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add color override props to `IconButton` for service-specific branding
|
|
1525
|
-
|
|
1526
|
-
The `IconButton` component now supports custom color overrides through three new optional props: `backgroundColor`, `activeBackgroundColor`, and `shadowColor`. These props enable service-specific branding for use cases like service buttons (Electricity, Broadband, Mobile, Insurance, Cashback Card).
|
|
1527
|
-
|
|
1528
|
-
⚠️ **Important**: These props should be used sparingly and only for specific use cases where brand-specific colors are required. For most use cases, continue using the standard `colorScheme` and `variant` props to maintain design system consistency.
|
|
1529
|
-
|
|
1530
|
-
**Components affected**:
|
|
1531
|
-
- `IconButton`
|
|
1532
|
-
|
|
1533
|
-
**Developer changes**:
|
|
1534
|
-
|
|
1535
|
-
You can now customise `IconButton` colors for service-specific branding:
|
|
1536
|
-
|
|
1537
|
-
```tsx
|
|
1538
|
-
import { IconButton } from '@utilitywarehouse/hearth-react-native';
|
|
1539
|
-
import { ElectricityMediumIcon } from '@utilitywarehouse/hearth-react-native-icons';
|
|
1540
|
-
|
|
1541
|
-
<IconButton
|
|
1542
|
-
icon={ElectricityMediumIcon}
|
|
1543
|
-
backgroundColor="energyBlue200"
|
|
1544
|
-
activeBackgroundColor="energyBlue300"
|
|
1545
|
-
shadowColor="energyBlue300"
|
|
1546
|
-
variant="emphasis"
|
|
1547
|
-
onPress={handlePress}
|
|
1548
|
-
/>;
|
|
1549
|
-
```
|
|
1550
|
-
|
|
1551
|
-
The new props are:
|
|
1552
|
-
- `backgroundColor` - Sets the base background color, overriding the color scheme's default
|
|
1553
|
-
- `activeBackgroundColor` - Sets the background color when pressed or in an active state
|
|
1554
|
-
- `shadowColor` - Sets the shadow/elevation color
|
|
1555
|
-
|
|
1556
|
-
These overrides work alongside the existing `variant` and `colorScheme` props, allowing you to maintain structural styling while customising colors for specific branding requirements.
|
|
1557
|
-
|
|
1558
|
-
### Patch Changes
|
|
1559
|
-
|
|
1560
|
-
- [#871](https://github.com/utilitywarehouse/hearth/pull/871) [`8984335`](https://github.com/utilitywarehouse/hearth/commit/89843355d268aaa184bea75784e6841568c4784f) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Fix style ordering in `BodyText` to ensure color props properly override custom styles
|
|
1561
|
-
|
|
1562
|
-
## 0.17.0
|
|
1563
|
-
|
|
1564
|
-
### Minor Changes
|
|
1565
|
-
|
|
1566
|
-
- [#867](https://github.com/utilitywarehouse/hearth/pull/867) [`9a15eb8`](https://github.com/utilitywarehouse/hearth/commit/9a15eb8c659aa541988da6f28f6c50261f3557f9) Thanks [@jordmccord](https://github.com/jordmccord)! - 💔 [BREAKING CHANGE]: Require `CardActions` wrapper for `CardAction` groups.
|
|
1567
|
-
|
|
1568
|
-
`Card` now only treats actions as such when they are wrapped in `CardActions`. This removes wrapper heuristics and makes action grouping explicit while keeping automatic content wrapping.
|
|
1569
|
-
|
|
1570
|
-
**Components affected**:
|
|
1571
|
-
- `Card`
|
|
1572
|
-
- `CardActions`
|
|
1573
|
-
- `CardAction`
|
|
1574
|
-
|
|
1575
|
-
**Developer changes**:
|
|
1576
|
-
|
|
1577
|
-
Wrap all `CardAction` items in `CardActions`:
|
|
1578
|
-
|
|
1579
|
-
```diff
|
|
1580
|
-
- <Card>
|
|
1581
|
-
- <CardAction heading="Action 1" onPress={() => {}} />
|
|
1582
|
-
- <CardAction heading="Action 2" onPress={() => {}} />
|
|
1583
|
-
- </Card>
|
|
1584
|
-
+ <Card>
|
|
1585
|
-
+ <CardActions>
|
|
1586
|
-
+ <CardAction heading="Action 1" onPress={() => {}} />
|
|
1587
|
-
+ <CardAction heading="Action 2" onPress={() => {}} />
|
|
1588
|
-
+ </CardActions>
|
|
1589
|
-
+ </Card>
|
|
1590
|
-
```
|
|
1591
|
-
|
|
1592
|
-
- [#860](https://github.com/utilitywarehouse/hearth/pull/860) [`ec44a9d`](https://github.com/utilitywarehouse/hearth/commit/ec44a9d3d7a2d95ab69b6e4c461104402d82659d) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `prefix` and `suffix` props to `Input` component
|
|
1593
|
-
|
|
1594
|
-
The `Input` component now supports `prefix` and `suffix` props, allowing you to display text or custom content before and after the input field. This is useful for adding units, currency symbols, or other contextual information.
|
|
1595
|
-
|
|
1596
|
-
**Components affected**:
|
|
1597
|
-
- `Input`
|
|
1598
|
-
|
|
1599
|
-
**Developer changes**:
|
|
1600
|
-
|
|
1601
|
-
Use the `prefix` and `suffix` props to add content before or after the input:
|
|
1602
|
-
|
|
1603
|
-
```tsx
|
|
1604
|
-
<Input label="Amount" prefix="£" suffix="GBP" placeholder="0.00" />
|
|
1605
|
-
```
|
|
1606
|
-
|
|
1607
|
-
You can also pass custom React nodes:
|
|
1608
|
-
|
|
1609
|
-
```tsx
|
|
1610
|
-
<Input label="Email" prefix={<CustomIcon />} suffix={<BodyText>@example.com</BodyText>} />
|
|
1611
|
-
```
|
|
1612
|
-
|
|
1613
|
-
**Note**: The `prefix` and `suffix` props are not available on `password` and `search` input types, as these have specific UI patterns.
|
|
1614
|
-
|
|
1615
|
-
- [#862](https://github.com/utilitywarehouse/hearth/pull/862) [`654552e`](https://github.com/utilitywarehouse/hearth/commit/654552e33d56e4b2b2ba8fb783b7f9a7c57ba212) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `loading` prop to `ListAction` component
|
|
1616
|
-
|
|
1617
|
-
The `ListAction` component now supports a `loading` prop that displays a skeleton loading state while content is being fetched. This provides better user feedback during asynchronous operations.
|
|
1618
|
-
|
|
1619
|
-
**Components affected**:
|
|
1620
|
-
- `ListAction`
|
|
1621
|
-
|
|
1622
|
-
**Developer changes**:
|
|
1623
|
-
|
|
1624
|
-
Use the `loading` prop to show a loading state:
|
|
1625
|
-
|
|
1626
|
-
```tsx
|
|
1627
|
-
<List>
|
|
1628
|
-
<ListItem heading="Account details" />
|
|
1629
|
-
<ListAction heading="View transactions" loading={isLoading} onPress={handlePress} />
|
|
1630
|
-
</List>
|
|
1631
|
-
```
|
|
1632
|
-
|
|
1633
|
-
When `loading` is true, the action will display skeleton placeholders instead of the heading and icon.
|
|
1634
|
-
|
|
1635
|
-
- [#862](https://github.com/utilitywarehouse/hearth/pull/862) [`654552e`](https://github.com/utilitywarehouse/hearth/commit/654552e33d56e4b2b2ba8fb783b7f9a7c57ba212) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Add `invalidText` prop to `List` component
|
|
1636
|
-
|
|
1637
|
-
The `List` component now supports an `invalidText` prop for displaying validation error messages in the section header. This provides consistent validation feedback across list-based forms and grouped content.
|
|
1638
|
-
|
|
1639
|
-
**Components affected**:
|
|
1640
|
-
- `List`
|
|
1641
|
-
|
|
1642
|
-
**Developer changes**:
|
|
1643
|
-
|
|
1644
|
-
Use the `invalidText` prop to display validation errors:
|
|
1645
|
-
|
|
1646
|
-
```tsx
|
|
1647
|
-
<List
|
|
1648
|
-
heading="Payment methods"
|
|
1649
|
-
helperText="Select at least one payment method"
|
|
1650
|
-
invalidText="You must select a payment method"
|
|
1651
|
-
>
|
|
1652
|
-
<ListItem heading="Credit card" />
|
|
1653
|
-
<ListItem heading="Direct debit" />
|
|
1654
|
-
</List>
|
|
1655
|
-
```
|
|
1656
|
-
|
|
1657
|
-
### Patch Changes
|
|
1658
|
-
|
|
1659
|
-
- [#845](https://github.com/utilitywarehouse/hearth/pull/845) [`9c034f9`](https://github.com/utilitywarehouse/hearth/commit/9c034f98f9d6aa4596a45296d02e01703ef1c762) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Add `invalidText` prop to `ExpandableCardGroup`
|
|
1660
|
-
|
|
1661
|
-
The `ExpandableCardGroup` component now supports an `invalidText` prop that displays validation text below the helper text when the group is in an invalid state.
|
|
1662
|
-
|
|
1663
|
-
**Components affected**:
|
|
1664
|
-
- `ExpandableCardGroup`
|
|
1665
|
-
|
|
1666
|
-
**Developer changes**:
|
|
1667
|
-
|
|
1668
|
-
No changes required. If you want to display validation text, you can now use the `invalidText` prop:
|
|
1669
|
-
|
|
1670
|
-
```tsx
|
|
1671
|
-
<ExpandableCardGroup
|
|
1672
|
-
heading="Select an option"
|
|
1673
|
-
helperText="Choose one of the options below"
|
|
1674
|
-
invalidText="Please select at least one option"
|
|
1675
|
-
>
|
|
1676
|
-
{/* ExpandableCard components */}
|
|
1677
|
-
</ExpandableCardGroup>
|
|
1678
|
-
```
|
|
1679
|
-
|
|
1680
|
-
- [#867](https://github.com/utilitywarehouse/hearth/pull/867) [`9a15eb8`](https://github.com/utilitywarehouse/hearth/commit/9a15eb8c659aa541988da6f28f6c50261f3557f9) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Improve first-item border detection in `Card` and `List` components
|
|
1681
|
-
|
|
1682
|
-
The `Card` and `List` components now use a more reliable method to detect and style the first rendered `CardAction`, `ListItem`, or `ListAction`. This fixes edge cases where wrapper components that conditionally render `null` would previously interfere with first-item border removal.
|
|
1683
|
-
|
|
1684
|
-
**Components affected**:
|
|
1685
|
-
- `Card` / `CardAction`
|
|
1686
|
-
- `List` / `ListItem` / `ListAction`
|
|
1687
|
-
|
|
1688
|
-
**Developer changes**:
|
|
1689
|
-
|
|
1690
|
-
No changes required. The improvement is automatic and maintains the same visual behavior. Components that wrap card actions or list items will now work correctly even when some wrappers return `null` conditionally.
|
|
1691
|
-
|
|
1692
|
-
**Note**: The `useCardFirstActionContext` hook has been removed as it was an internal implementation detail.
|
|
1693
|
-
|
|
1694
|
-
## 0.16.2
|
|
1695
|
-
|
|
1696
|
-
### Patch Changes
|
|
1697
|
-
|
|
1698
|
-
- [#837](https://github.com/utilitywarehouse/hearth/pull/837) [`126657c`](https://github.com/utilitywarehouse/hearth/commit/126657cd96008625f9573ed5cc1588709c00f7da) Thanks [@jordmccord](https://github.com/jordmccord)! - 💅 [ENHANCEMENT]: Add style customisation props to `DateInput` component
|
|
1699
|
-
|
|
1700
|
-
The `DateInput` component now supports three new style props for customising the appearance of date segments: `inputContainerStyle`, `inputStyle`, and `inputLabelStyle`. This allows for greater flexibility when integrating DateInput into different layouts.
|
|
1701
|
-
|
|
1702
|
-
**Components affected**:
|
|
1703
|
-
- `DateInput`
|
|
1704
|
-
|
|
1705
|
-
**Developer changes**:
|
|
1706
|
-
|
|
1707
|
-
No changes required. To customise the appearance of date input segments, use the new style props:
|
|
1708
|
-
|
|
1709
|
-
```tsx
|
|
1710
|
-
<DateInput
|
|
1711
|
-
label="Custom date input"
|
|
1712
|
-
inputContainerStyle={{ maxWidth: 'auto' }}
|
|
1713
|
-
inputStyle={{ fontSize: 16 }}
|
|
1714
|
-
inputLabelStyle={{ fontWeight: 'bold' }}
|
|
1715
|
-
/>
|
|
1716
|
-
```
|
|
1717
|
-
|
|
1718
|
-
## 0.16.1
|
|
1719
|
-
|
|
1720
|
-
### Patch Changes
|
|
1721
|
-
|
|
1722
|
-
- [#817](https://github.com/utilitywarehouse/hearth/pull/817) [`fb4f4d0`](https://github.com/utilitywarehouse/hearth/commit/fb4f4d034e5b67b0c75dc093f7fdd8d3ab26edde) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: `DateInput` height issue
|
|
1723
|
-
|
|
1724
|
-
## 0.16.0
|
|
1725
|
-
|
|
1726
|
-
### Minor Changes
|
|
1727
|
-
|
|
1728
|
-
- [#810](https://github.com/utilitywarehouse/hearth/pull/810) [`eae4c24`](https://github.com/utilitywarehouse/hearth/commit/eae4c24a421415247c720f88bb8341133340cc7b) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: All `Input` components accessibility improvements and you can now pass a label, helper text and validation to the `Input` component directly.
|
|
1729
|
-
|
|
1730
|
-
### Input accessibility improvements and FormField integration
|
|
1731
|
-
|
|
1732
|
-
The `Input` component has been updated to internally use `FormField`. This allows you to pass props like `label`, `helperText`, and validation status directly to the `Input` component, streamlining its usage.
|
|
1733
|
-
|
|
1734
|
-
We have also greatly improved accessibility behavior. The `Input` component now intelligently constructs `aria-label` and `accessibilityHint` based on the provided label, helper text, and validation state. To support this, `FormField` now has a mechanism to hide its own accessibility elements when a child component is handling them, preventing duplicate announcements.
|
|
1735
|
-
|
|
1736
|
-
#### Affected components
|
|
1737
|
-
- `Input`
|
|
1738
|
-
- `CurrencyInput`
|
|
1739
|
-
- `DatePickerInput`
|
|
1740
|
-
- `Textarea`
|
|
1741
|
-
- `FormField`
|
|
1742
|
-
|
|
1743
|
-
#### Developer changes
|
|
1744
|
-
|
|
1745
|
-
You can now use `Input`, `CurrencyInput`, `DatePickerInput`, and `Textarea` without explicitly wrapping them in `FormField` for standard layouts:
|
|
1746
|
-
|
|
1747
|
-
```tsx
|
|
1748
|
-
// Before
|
|
1749
|
-
<FormField label="Email" helperText="Enter email">
|
|
1750
|
-
<Input />
|
|
1751
|
-
</FormField>
|
|
1752
|
-
|
|
1753
|
-
// After
|
|
1754
|
-
<Input label="Email" helperText="Enter email" />
|
|
1755
|
-
```
|
|
1756
|
-
|
|
1757
|
-
No breaking changes. The `Input` component continues to support being wrapped externally by `FormField`.
|
|
1758
|
-
|
|
1759
|
-
#### References
|
|
1760
|
-
- UWDS-4179
|
|
1761
|
-
|
|
1762
|
-
- [#803](https://github.com/utilitywarehouse/hearth/pull/803) [`8e96af6`](https://github.com/utilitywarehouse/hearth/commit/8e96af69f3a3498f264f2a6dc2416cdb6a298275) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE]: Adds `labelVariant` prop to components with a label
|
|
1763
|
-
|
|
1764
|
-
### Adds `labelVariant` prop to components with a label
|
|
1765
|
-
|
|
1766
|
-
Added a `labelVariant` prop to allow consumers to choose between a body or heading style for component labels. Defaults to `body`.
|
|
1767
|
-
|
|
1768
|
-
#### Affected components
|
|
1769
|
-
- `CheckboxGroup`
|
|
1770
|
-
- `FormField`
|
|
1771
|
-
- `Label`
|
|
1772
|
-
- `RadioGroup`
|
|
1773
|
-
- `RadioCard`
|
|
1774
|
-
- `Select`
|
|
1775
|
-
- `VerificationInput`
|
|
1776
|
-
- `Input`
|
|
1777
|
-
- `CurrencyInput`
|
|
1778
|
-
- `DatePickerInput`
|
|
1779
|
-
- `Textarea`
|
|
1780
|
-
|
|
1781
|
-
#### Developer changes
|
|
1782
|
-
|
|
1783
|
-
You can now pass `labelVariant="heading"` to these components to render the label as a heading instead of body text.
|
|
1784
|
-
|
|
1785
|
-
```tsx
|
|
1786
|
-
<FormField label="My Label" labelVariant="heading">
|
|
1787
|
-
<Input />
|
|
1788
|
-
</FormField>
|
|
1789
|
-
```
|
|
1790
|
-
|
|
1791
|
-
## 0.15.3
|
|
1792
|
-
|
|
1793
|
-
### Patch Changes
|
|
1794
|
-
|
|
1795
|
-
- [#801](https://github.com/utilitywarehouse/hearth/pull/801) [`6d11339`](https://github.com/utilitywarehouse/hearth/commit/6d1133997b28efa104c282522a5708f1d4d8614c) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: `Modal` without handle heading padding issue
|
|
1796
|
-
|
|
1797
|
-
- [#796](https://github.com/utilitywarehouse/hearth/pull/796) [`f0ccadb`](https://github.com/utilitywarehouse/hearth/commit/f0ccadbb48fb7a7a70520d7521746a63421e01cc) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: `CheckboxTile` text wrapping issue
|
|
1798
|
-
|
|
1799
|
-
## 0.15.2
|
|
1800
|
-
|
|
1801
|
-
### Patch Changes
|
|
1802
|
-
|
|
1803
|
-
- [#771](https://github.com/utilitywarehouse/hearth/pull/771) [`5320be5`](https://github.com/utilitywarehouse/hearth/commit/5320be544992c137e201be7750d30ea098a7d399) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Adds missing `ref` prop to the `CurrencyInput` component
|
|
1804
|
-
|
|
1805
|
-
## 0.15.1
|
|
1806
|
-
|
|
1807
|
-
### Patch Changes
|
|
1808
|
-
|
|
1809
|
-
- [#768](https://github.com/utilitywarehouse/hearth/pull/768) [`570f240`](https://github.com/utilitywarehouse/hearth/commit/570f240a448eae546b893ed3ad69235213ee5fac) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Makes `Modal` footer sticky by default
|
|
1810
|
-
|
|
1811
|
-
This change updates the `Modal` component to have a sticky footer by default, enhancing user experience by keeping action buttons accessible. The `stickyFooter` prop has been added to allow developers to disable this behavior if needed.
|
|
1812
|
-
|
|
1813
|
-
## 0.15.0
|
|
1814
|
-
|
|
1815
|
-
### Minor Changes
|
|
1816
|
-
|
|
1817
|
-
- [#766](https://github.com/utilitywarehouse/hearth/pull/766) [`183155a`](https://github.com/utilitywarehouse/hearth/commit/183155a1aaf7713f0ab8a39ab1e5684ef6190d0c) Thanks [@jordmccord](https://github.com/jordmccord)! - 🌟 [FEATURE] Custom `ListItem` styles for `UL` and `OL` components
|
|
1818
|
-
|
|
1819
|
-
Added new props to `UL`, `OL`, and `ListItem` components to support custom list markers, including icons, images, and colors. This brings the functionality closer to CSS-like list styling. We also fixed a layout issue where list item text could overflow the container.
|
|
1820
|
-
|
|
1821
|
-
**Components affected**:
|
|
1822
|
-
- `UL` (UnorderedList)
|
|
1823
|
-
- `OL` (OrderedList)
|
|
1824
|
-
- `ListItem`
|
|
1825
|
-
|
|
1826
|
-
**Developer changes**:
|
|
1827
|
-
|
|
1828
|
-
You can now customise list bullets/markers using the new `listStyle*` props. These can be set on the list container to apply to all items, or overridden on individual list items.
|
|
1829
|
-
|
|
1830
|
-
```tsx
|
|
1831
|
-
import { UL, LI } from '@utilitywarehouse/hearth-react-native';
|
|
1832
|
-
import { TickIcon } from '@utilitywarehouse/hearth-react-native-icons';
|
|
1833
|
-
|
|
1834
|
-
<UL listStyleColour="feedbackPositiveSurfaceDefault" listStyleIcon={TickIcon}>
|
|
1835
|
-
<LI>Success item 1</LI>
|
|
1836
|
-
<LI listStyleColour="feedbackDangerSurfaceDefault">Error item override</LI>
|
|
1837
|
-
</UL>;
|
|
1838
|
-
```
|
|
1839
|
-
|
|
1840
|
-
Supported props:
|
|
1841
|
-
- `listStyleImage`: React Element (e.g. `<Image />`)
|
|
1842
|
-
- `listStyleIcon`: Icon component
|
|
1843
|
-
- `listStyleWidth` / `listStyleHeight`: Dimensions for the marker (default: 20)
|
|
1844
|
-
- `listStyleColour`: Color token or value for the marker
|
|
1845
|
-
|
|
1846
|
-
### Patch Changes
|
|
1847
|
-
|
|
1848
|
-
- [#762](https://github.com/utilitywarehouse/hearth/pull/762) [`2d2bbd2`](https://github.com/utilitywarehouse/hearth/commit/2d2bbd2ba109b9acb2e0b220766eb02c0ad5710e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Fixes Android error when passing boolean or number as a `Checkbox` value
|
|
1849
|
-
|
|
1850
|
-
- [#764](https://github.com/utilitywarehouse/hearth/pull/764) [`46f115d`](https://github.com/utilitywarehouse/hearth/commit/46f115dd4bd9da824496e8ec19e29276523931a1) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Fixes `HelperText` wrapping issue
|
|
1851
|
-
|
|
1852
|
-
- [#762](https://github.com/utilitywarehouse/hearth/pull/762) [`2d2bbd2`](https://github.com/utilitywarehouse/hearth/commit/2d2bbd2ba109b9acb2e0b220766eb02c0ad5710e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Fixes `PillGroup` `onChange` prop types
|
|
1853
|
-
|
|
1854
|
-
- [#764](https://github.com/utilitywarehouse/hearth/pull/764) [`46f115d`](https://github.com/utilitywarehouse/hearth/commit/46f115dd4bd9da824496e8ec19e29276523931a1) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: `DescriptionListItem` description disappearing when direction is `column`
|
|
1855
|
-
|
|
1856
|
-
- [#762](https://github.com/utilitywarehouse/hearth/pull/762) [`2d2bbd2`](https://github.com/utilitywarehouse/hearth/commit/2d2bbd2ba109b9acb2e0b220766eb02c0ad5710e) Thanks [@jordmccord](https://github.com/jordmccord)! - 🐛 [FIX]: Input styles are now passed to the correct View
|
|
1857
|
-
|
|
1858
|
-
## 0.14.1
|
|
1859
|
-
|
|
1860
|
-
### Patch Changes
|
|
1861
|
-
|
|
1862
|
-
- [#749](https://github.com/utilitywarehouse/hearth/pull/749) [`ded4b2e`](https://github.com/utilitywarehouse/hearth/commit/ded4b2e3dcad9c1cc4860a13120e44a43e5f0dde) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `CardAction` padding
|
|
1863
|
-
|
|
1864
|
-
## 0.14.0
|
|
1865
|
-
|
|
1866
|
-
### Minor Changes
|
|
1867
|
-
|
|
1868
|
-
- [#741](https://github.com/utilitywarehouse/hearth/pull/741) [`acf081a`](https://github.com/utilitywarehouse/hearth/commit/acf081a8e10722ea1e9106f8111f5d9548815646) Thanks [@jordmccord](https://github.com/jordmccord)! - Renames `ListItemText` to `ListItemHeading` (`ListItemText` is deprecated and will be removed in a later release)
|
|
1869
|
-
|
|
1870
|
-
### Patch Changes
|
|
1871
|
-
|
|
1872
|
-
- [#741](https://github.com/utilitywarehouse/hearth/pull/741) [`acf081a`](https://github.com/utilitywarehouse/hearth/commit/acf081a8e10722ea1e9106f8111f5d9548815646) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `truncateHeading` and `truncateHelperText` props to `ListItem`
|
|
1873
|
-
|
|
1874
|
-
- [#740](https://github.com/utilitywarehouse/hearth/pull/740) [`16f1ce0`](https://github.com/utilitywarehouse/hearth/commit/16f1ce073d62c4e72693e7e07233a7498c0d0602) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes custom `ListItem` first child border issue
|
|
1875
|
-
|
|
1876
|
-
- [#737](https://github.com/utilitywarehouse/hearth/pull/737) [`85f76db`](https://github.com/utilitywarehouse/hearth/commit/85f76dbbf7c90db96d7e89e5f5e353a772dd84c2) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `Radio` and `Checkbox` Groups row direction issue
|
|
1877
|
-
|
|
1878
|
-
- [#741](https://github.com/utilitywarehouse/hearth/pull/741) [`acf081a`](https://github.com/utilitywarehouse/hearth/commit/acf081a8e10722ea1e9106f8111f5d9548815646) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `ListItemText` and `ListItemHelperText` prop types
|
|
1879
|
-
|
|
1880
|
-
## 0.13.0
|
|
1881
|
-
|
|
1882
|
-
### Minor Changes
|
|
1883
|
-
|
|
1884
|
-
- [#682](https://github.com/utilitywarehouse/hearth/pull/682) [`57d6c71`](https://github.com/utilitywarehouse/hearth/commit/57d6c71baedeaa0bc914ff5163e73bbf4281aa79) Thanks [@Utakato](https://github.com/Utakato)! - Add Verification Input component
|
|
1885
|
-
|
|
1886
|
-
## 0.12.0
|
|
1887
|
-
|
|
1888
|
-
### Minor Changes
|
|
1889
|
-
|
|
1890
|
-
- [#685](https://github.com/utilitywarehouse/hearth/pull/685) [`10f5209`](https://github.com/utilitywarehouse/hearth/commit/10f52095e5f36e58f9821e3fec3fdf43f4578fbb) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] Component props moved from objects to React Nodes
|
|
1891
|
-
|
|
1892
|
-
### Patch Changes
|
|
1893
|
-
|
|
1894
|
-
- [#687](https://github.com/utilitywarehouse/hearth/pull/687) [`11e8176`](https://github.com/utilitywarehouse/hearth/commit/11e8176ced40b0a8b2d27e07c482ed10a7b7ce7a) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `Input` refs
|
|
1895
|
-
|
|
1896
|
-
## 0.11.0
|
|
1897
|
-
|
|
1898
|
-
### Minor Changes
|
|
1899
|
-
|
|
1900
|
-
- [#674](https://github.com/utilitywarehouse/hearth/pull/674) [`c617257`](https://github.com/utilitywarehouse/hearth/commit/c617257974b11c39d706d6fd46712a284ff5fe10) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `DateInput` component
|
|
1901
|
-
|
|
1902
|
-
- [#663](https://github.com/utilitywarehouse/hearth/pull/663) [`8889a07`](https://github.com/utilitywarehouse/hearth/commit/8889a07e347e9289928e679cee495d7656a4e9aa) Thanks [@Utakato](https://github.com/Utakato)! - Add Avatar component
|
|
1903
|
-
|
|
1904
|
-
## 0.10.0
|
|
1905
|
-
|
|
1906
|
-
### Minor Changes
|
|
1907
|
-
|
|
1908
|
-
- [#659](https://github.com/utilitywarehouse/hearth/pull/659) [`99afbed`](https://github.com/utilitywarehouse/hearth/commit/99afbed95df550d5d5a8bb6e04f7640077bf4883) Thanks [@MichalCiesliczka](https://github.com/MichalCiesliczka)! - Adds `Pill` and `PillGroup` components
|
|
1909
|
-
|
|
1910
|
-
- [#671](https://github.com/utilitywarehouse/hearth/pull/671) [`706448d`](https://github.com/utilitywarehouse/hearth/commit/706448d91f354cb96a71a5f3acc9d17aaa767078) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Toast` component
|
|
1911
|
-
|
|
1912
|
-
## 0.9.0
|
|
1913
|
-
|
|
1914
|
-
### Minor Changes
|
|
1915
|
-
|
|
1916
|
-
- [#658](https://github.com/utilitywarehouse/hearth/pull/658) [`2ac2366`](https://github.com/utilitywarehouse/hearth/commit/2ac2366aaa7f3b253fd9336664a73a64f1ab91a5) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Menu` component
|
|
1917
|
-
|
|
1918
|
-
- [#656](https://github.com/utilitywarehouse/hearth/pull/656) [`a01a49a`](https://github.com/utilitywarehouse/hearth/commit/a01a49a49ec1dd3c04684ce010281030d45c77a1) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `fullscreen` and `inNavModal` props to `Modal`
|
|
1919
|
-
|
|
1920
|
-
## 0.8.2
|
|
1921
|
-
|
|
1922
|
-
### Patch Changes
|
|
1923
|
-
|
|
1924
|
-
- [#652](https://github.com/utilitywarehouse/hearth/pull/652) [`5119703`](https://github.com/utilitywarehouse/hearth/commit/5119703a31f663cc8c0a8bb2c6ba5b10f9bf72d6) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `RadioCard` label wrapping issue
|
|
1925
|
-
|
|
1926
|
-
- [#648](https://github.com/utilitywarehouse/hearth/pull/648) [`c90ea5c`](https://github.com/utilitywarehouse/hearth/commit/c90ea5ce165f27ccfc9774ec58ac642d02b349d1) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `ListAction` icon size
|
|
1927
|
-
|
|
1928
|
-
- [#648](https://github.com/utilitywarehouse/hearth/pull/648) [`c90ea5c`](https://github.com/utilitywarehouse/hearth/commit/c90ea5ce165f27ccfc9774ec58ac642d02b349d1) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `Banner` text gap size
|
|
1929
|
-
|
|
1930
|
-
- [#651](https://github.com/utilitywarehouse/hearth/pull/651) [`4ee77b7`](https://github.com/utilitywarehouse/hearth/commit/4ee77b75e58ac4abbeba375ecb367d8899c7f1a0) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `Banner` image and height issue
|
|
1931
|
-
|
|
1932
|
-
- [#649](https://github.com/utilitywarehouse/hearth/pull/649) [`7374535`](https://github.com/utilitywarehouse/hearth/commit/737453598ad5e885b35b5fcd2e4c4ccff4910c43) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `List` to only show `Card` container if it has children
|
|
1933
|
-
|
|
1934
|
-
- [#648](https://github.com/utilitywarehouse/hearth/pull/648) [`c90ea5c`](https://github.com/utilitywarehouse/hearth/commit/c90ea5ce165f27ccfc9774ec58ac642d02b349d1) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `shadowColor` prop to `Card` and exposes helpers in theme
|
|
1935
|
-
|
|
1936
|
-
## 0.8.1
|
|
1937
|
-
|
|
1938
|
-
### Patch Changes
|
|
1939
|
-
|
|
1940
|
-
- [#641](https://github.com/utilitywarehouse/hearth/pull/641) [`251242e`](https://github.com/utilitywarehouse/hearth/commit/251242e218c0b24589c3fb6fb6963b53bda8a367) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `HighlightBanner` when no image is provided
|
|
1941
|
-
|
|
1942
|
-
## 0.8.0
|
|
1943
|
-
|
|
1944
|
-
### Minor Changes
|
|
1945
|
-
|
|
1946
|
-
- [#635](https://github.com/utilitywarehouse/hearth/pull/635) [`4cac2f2`](https://github.com/utilitywarehouse/hearth/commit/4cac2f28c12279557e2133d67cd75783f30c89ff) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Expandable` component
|
|
1947
|
-
|
|
1948
|
-
- [#631](https://github.com/utilitywarehouse/hearth/pull/631) [`57b4991`](https://github.com/utilitywarehouse/hearth/commit/57b49912c90dce3d88a699bd50217df08dab601a) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Banner` component
|
|
1949
|
-
|
|
1950
|
-
- [#636](https://github.com/utilitywarehouse/hearth/pull/636) [`a363352`](https://github.com/utilitywarehouse/hearth/commit/a363352dbfbc44245c64e2a16347463b89ff519a) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `ExpandableCard` component
|
|
1951
|
-
|
|
1952
|
-
- [#631](https://github.com/utilitywarehouse/hearth/pull/631) [`57b4991`](https://github.com/utilitywarehouse/hearth/commit/57b49912c90dce3d88a699bd50217df08dab601a) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `HighlightBanner` component
|
|
1953
|
-
|
|
1954
|
-
## 0.7.0
|
|
1955
|
-
|
|
1956
|
-
### Minor Changes
|
|
1957
|
-
|
|
1958
|
-
- [#613](https://github.com/utilitywarehouse/hearth/pull/613) [`0bdfbe4`](https://github.com/utilitywarehouse/hearth/commit/0bdfbe41ed8b30e5abf49de6ea4cb3a12194921e) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `CardAction` component
|
|
1959
|
-
|
|
1960
|
-
## 0.6.0
|
|
1961
|
-
|
|
1962
|
-
### Minor Changes
|
|
1963
|
-
|
|
1964
|
-
- [#603](https://github.com/utilitywarehouse/hearth/pull/603) [`3f292e9`](https://github.com/utilitywarehouse/hearth/commit/3f292e9960dc708dd6932cff04671dd7ef375c1a) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Container` component
|
|
1965
|
-
|
|
1966
|
-
- [#605](https://github.com/utilitywarehouse/hearth/pull/605) [`f52e0f5`](https://github.com/utilitywarehouse/hearth/commit/f52e0f57eff5f1cfa36dacc45576c08771ca12df) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `ThemedImage` component
|
|
1967
|
-
|
|
1968
|
-
## 0.5.0
|
|
1969
|
-
|
|
1970
|
-
### Minor Changes
|
|
1971
|
-
|
|
1972
|
-
- [#583](https://github.com/utilitywarehouse/hearth/pull/583) [`a31ab40`](https://github.com/utilitywarehouse/hearth/commit/a31ab40e4ccf4533aae2df16cc456d6db92d4e7b) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Carousel` component
|
|
1973
|
-
|
|
1974
|
-
- [#567](https://github.com/utilitywarehouse/hearth/pull/567) [`b6869cf`](https://github.com/utilitywarehouse/hearth/commit/b6869cfaca7b3a5aacb27c06733f0243b6faa02a) Thanks [@MichalCiesliczka](https://github.com/MichalCiesliczka)! - Adds `ProgressStepper` component
|
|
1975
|
-
|
|
1976
|
-
- [#596](https://github.com/utilitywarehouse/hearth/pull/596) [`61f1073`](https://github.com/utilitywarehouse/hearth/commit/61f10735a42445b6e4eb90282a2b340317f1ec08) Thanks [@jordmccord](https://github.com/jordmccord)! - `List` component updates:
|
|
1977
|
-
- [BREAKING] The `text` prop in `ListItem` is now `heading`.
|
|
1978
|
-
- Added `ListAction` component.
|
|
1979
|
-
- Added `badge` prop to `ListItem`.
|
|
1980
|
-
- Added `numericValue` prop to `ListItem`.
|
|
1981
|
-
- Removes `divider` prop from `List` and `ListItem`; dividers are now handled automatically.
|
|
1982
|
-
|
|
1983
|
-
- [#585](https://github.com/utilitywarehouse/hearth/pull/585) [`4894c34`](https://github.com/utilitywarehouse/hearth/commit/4894c34acaadcbbaba78fd64be2f8ae862200e1f) Thanks [@dorota-uw](https://github.com/dorota-uw)! - [BREAKING] `DescriptionListItem` updates:
|
|
1984
|
-
- Removed `Link` props: `linkText`, `linkHref`, `linkIcon`, `linkIconPosition`, `linkOnPress`, `linkTarget`, `linkShowIcon`.
|
|
1985
|
-
- Added `trailingContent` prop to allow custom trailing content (e.g. Link, Button).
|
|
1986
|
-
- Added validation text support to `DescriptionListItem` via `invalidText` prop.
|
|
1987
|
-
|
|
1988
|
-
- [#572](https://github.com/utilitywarehouse/hearth/pull/572) [`9fa6499`](https://github.com/utilitywarehouse/hearth/commit/9fa6499b6eb1534c2ce7dc4352b1f848b94786ec) Thanks [@MichalCiesliczka](https://github.com/MichalCiesliczka)! - Adds `IndicatorIconButton` component
|
|
1989
|
-
|
|
1990
|
-
- [#596](https://github.com/utilitywarehouse/hearth/pull/596) [`61f1073`](https://github.com/utilitywarehouse/hearth/commit/61f10735a42445b6e4eb90282a2b340317f1ec08) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] `SectionHeader` updates:
|
|
1991
|
-
- Removed `Link` props: `linkText`, `linkOnPress`, `linkAccessibilityLabel`.
|
|
1992
|
-
- Added `trailingContent` prop to allow custom trailing content (e.g. Link, Button).
|
|
1993
|
-
- Added `badge` prop to display a `Badge` next to the heading.
|
|
1994
|
-
- Adds `invalidText` prop for validation messages.
|
|
1995
|
-
|
|
1996
|
-
- [#596](https://github.com/utilitywarehouse/hearth/pull/596) [`61f1073`](https://github.com/utilitywarehouse/hearth/commit/61f10735a42445b6e4eb90282a2b340317f1ec08) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] Migrates `DescriptionList` `SectionHeader` to use `headerTrailingContent`
|
|
1997
|
-
|
|
1998
|
-
### Patch Changes
|
|
1999
|
-
|
|
2000
|
-
- [#596](https://github.com/utilitywarehouse/hearth/pull/596) [`61f1073`](https://github.com/utilitywarehouse/hearth/commit/61f10735a42445b6e4eb90282a2b340317f1ec08) Thanks [@jordmccord](https://github.com/jordmccord)! - Updates all interactive components fonts
|
|
2001
|
-
|
|
2002
|
-
- [#589](https://github.com/utilitywarehouse/hearth/pull/589) [`635a392`](https://github.com/utilitywarehouse/hearth/commit/635a392c80e883790e3fe2cae3b22453288911f1) Thanks [@dorota-uw](https://github.com/dorota-uw)! - Added underline to Ghost button
|
|
2003
|
-
|
|
2004
|
-
- [#596](https://github.com/utilitywarehouse/hearth/pull/596) [`61f1073`](https://github.com/utilitywarehouse/hearth/commit/61f10735a42445b6e4eb90282a2b340317f1ec08) Thanks [@jordmccord](https://github.com/jordmccord)! - Upgrade `@utilitywarehouse/hearth-react-native-icons` to `0.6.0`
|
|
2005
|
-
|
|
2006
|
-
- Updated dependencies [[`e707eec`](https://github.com/utilitywarehouse/hearth/commit/e707eec790550cab71f2541c26a38c5691e9cbca)]:
|
|
2007
|
-
- @utilitywarehouse/hearth-react-native-icons@0.7.0
|
|
2008
|
-
|
|
2009
|
-
## 0.4.2
|
|
2010
|
-
|
|
2011
|
-
### Patch Changes
|
|
2012
|
-
|
|
2013
|
-
- [#570](https://github.com/utilitywarehouse/hearth/pull/570) [`364e1ac`](https://github.com/utilitywarehouse/hearth/commit/364e1ac1ee6c83327b0614d90bf280e283144ae6) Thanks [@dorota-uw](https://github.com/dorota-uw)! - Switched the logic for enabling/disabling comma separator in CurrencyInput
|
|
2014
|
-
|
|
2015
|
-
- [#573](https://github.com/utilitywarehouse/hearth/pull/573) [`2c28614`](https://github.com/utilitywarehouse/hearth/commit/2c28614b5a9335dda15895c90e08774574d82d85) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `Radio` and `Checkbox` helper overflow issue
|
|
2016
|
-
|
|
2017
|
-
- [#573](https://github.com/utilitywarehouse/hearth/pull/573) [`2c28614`](https://github.com/utilitywarehouse/hearth/commit/2c28614b5a9335dda15895c90e08774574d82d85) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes semantic text colour issue
|
|
2018
|
-
|
|
2019
|
-
## 0.4.1
|
|
2020
|
-
|
|
2021
|
-
### Patch Changes
|
|
2022
|
-
|
|
2023
|
-
- [#544](https://github.com/utilitywarehouse/hearth/pull/544) [`98e6423`](https://github.com/utilitywarehouse/hearth/commit/98e642347a0aca8c23babb15ea6b5c70b6adca0f) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds legacy colour palette for backwards compatibility
|
|
2024
|
-
|
|
2025
|
-
## 0.4.0
|
|
2026
|
-
|
|
2027
|
-
### Minor Changes
|
|
2028
|
-
|
|
2029
|
-
- [#511](https://github.com/utilitywarehouse/hearth/pull/511) [`04f804c`](https://github.com/utilitywarehouse/hearth/commit/04f804ca93d6e8881f649a0374a3b878c3217623) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `DatePicker` and `DatePickerInput` components
|
|
2030
|
-
|
|
2031
|
-
### Patch Changes
|
|
2032
|
-
|
|
2033
|
-
- [#511](https://github.com/utilitywarehouse/hearth/pull/511) [`04f804c`](https://github.com/utilitywarehouse/hearth/commit/04f804ca93d6e8881f649a0374a3b878c3217623) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes `useTheme` typing
|
|
2034
|
-
|
|
2035
|
-
## 0.3.1
|
|
2036
|
-
|
|
2037
|
-
### Patch Changes
|
|
2038
|
-
|
|
2039
|
-
- [#472](https://github.com/utilitywarehouse/hearth/pull/472) [`009fe4b`](https://github.com/utilitywarehouse/hearth/commit/009fe4bff4fc54e424f22629040f715d3d4714ea) Thanks [@jordmccord](https://github.com/jordmccord)! - Add `image` prop to `Checkbox` and `Radio` components
|
|
2040
|
-
|
|
2041
|
-
- [#500](https://github.com/utilitywarehouse/hearth/pull/500) [`cc49e74`](https://github.com/utilitywarehouse/hearth/commit/cc49e74e3736b9647e8c5576ce45020add258625) Thanks [@jordmccord](https://github.com/jordmccord)! - - Updated dependencies [[`8dac8c1`](https://github.com/utilitywarehouse/hearth/commit/8dac8c1def9083d8e4efa1385e0ee7be23428c46)]:
|
|
2042
|
-
- @utilitywarehouse/hearth-react-native-icons@0.4.0
|
|
2043
|
-
|
|
2044
|
-
- [#499](https://github.com/utilitywarehouse/hearth/pull/499) [`7b6781c`](https://github.com/utilitywarehouse/hearth/commit/7b6781cc054cf9f1ed4969a2c663abceb526c249) Thanks [@jordmccord](https://github.com/jordmccord)! - Fixes dark mode styles for several components
|
|
2045
|
-
|
|
2046
|
-
## 0.3.0
|
|
2047
|
-
|
|
2048
|
-
### Minor Changes
|
|
2049
|
-
|
|
2050
|
-
- [`ce2b445`](https://github.com/utilitywarehouse/hearth/commit/ce2b445dfdd11a2912b4328d8259a604a77b31cd) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `IconContainer` component
|
|
2051
|
-
|
|
2052
|
-
- [#423](https://github.com/utilitywarehouse/hearth/pull/423) [`af2deea`](https://github.com/utilitywarehouse/hearth/commit/af2deea62be55d6e40fe5bbb41700e054082b583) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `DescriptionList` component
|
|
2053
|
-
|
|
2054
|
-
- [#421](https://github.com/utilitywarehouse/hearth/pull/421) [`a7974df`](https://github.com/utilitywarehouse/hearth/commit/a7974df554cb0eb499923a140ebea523fa49761c) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] Removes `date` and `currency` type from the `Input` component
|
|
2055
|
-
|
|
2056
|
-
- [#426](https://github.com/utilitywarehouse/hearth/pull/426) [`997e7cb`](https://github.com/utilitywarehouse/hearth/commit/997e7cb847e4f70de7b995c00aeeee18f1a0a1cd) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] Adds updated `Badge` colour schemes and variants, replaces `solid` with `emphasis`
|
|
2057
|
-
|
|
2058
|
-
- [#429](https://github.com/utilitywarehouse/hearth/pull/429) [`1a818ff`](https://github.com/utilitywarehouse/hearth/commit/1a818ffc97a04f412deac4e892fc2400b8ad8735) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Tabs` component
|
|
2059
|
-
|
|
2060
|
-
- [#421](https://github.com/utilitywarehouse/hearth/pull/421) [`a7974df`](https://github.com/utilitywarehouse/hearth/commit/a7974df554cb0eb499923a140ebea523fa49761c) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `CurrencyInput` component
|
|
2061
|
-
|
|
2062
|
-
### Patch Changes
|
|
2063
|
-
|
|
2064
|
-
- [#430](https://github.com/utilitywarehouse/hearth/pull/430) [`a151f3a`](https://github.com/utilitywarehouse/hearth/commit/a151f3a116b97ce2756b89c07f2ac3f3105c3ff7) Thanks [@jordmccord](https://github.com/jordmccord)! - Added `autoFormatThousands` prop to `CurrencyInput` component
|
|
2065
|
-
|
|
2066
|
-
- [#426](https://github.com/utilitywarehouse/hearth/pull/426) [`997e7cb`](https://github.com/utilitywarehouse/hearth/commit/997e7cb847e4f70de7b995c00aeeee18f1a0a1cd) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds 2 new layout spacing sizes, '2xs' and '2xl'
|
|
2067
|
-
|
|
2068
|
-
## 0.2.0
|
|
2069
|
-
|
|
2070
|
-
### Minor Changes
|
|
2071
|
-
|
|
2072
|
-
- [#419](https://github.com/utilitywarehouse/hearth/pull/419) [`8b5d1fb`](https://github.com/utilitywarehouse/hearth/commit/8b5d1fbe44d7d7e6dd70d79011d273dbf868c5a6) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `fullscreen` prop to `Modal`
|
|
2073
|
-
|
|
2074
|
-
- [#410](https://github.com/utilitywarehouse/hearth/pull/410) [`22cf96c`](https://github.com/utilitywarehouse/hearth/commit/22cf96c17d8ebf4f3c90264b1345a2a2131d7722) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] Updates the `colorScheme` component props to semantic meaning
|
|
2075
|
-
|
|
2076
|
-
- [#412](https://github.com/utilitywarehouse/hearth/pull/412) [`bc92ff1`](https://github.com/utilitywarehouse/hearth/commit/bc92ff1ef2e1527fa5f8639a8367b039d14cd30b) Thanks [@dorota-uw](https://github.com/dorota-uw)! - Added SectionHeader component
|
|
2077
|
-
|
|
2078
|
-
- [#415](https://github.com/utilitywarehouse/hearth/pull/415) [`614839e`](https://github.com/utilitywarehouse/hearth/commit/614839efec9c7eb7aaed59b4a4289439c170156f) Thanks [@jordmccord](https://github.com/jordmccord)! - [BREAKING] Removed `AccordionHeading` and `ListHeading` components in favour of `SectionHeader`
|
|
2079
|
-
|
|
2080
|
-
- [#417](https://github.com/utilitywarehouse/hearth/pull/417) [`2df513f`](https://github.com/utilitywarehouse/hearth/commit/2df513f6f4fd0d695816badf254486f917996a93) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds `Modal` component
|
|
2081
|
-
|
|
2082
|
-
### Patch Changes
|
|
2083
|
-
|
|
2084
|
-
- [#420](https://github.com/utilitywarehouse/hearth/pull/420) [`960ab43`](https://github.com/utilitywarehouse/hearth/commit/960ab436ee5da9359849ff40557171a9c4edb192) Thanks [@jordmccord](https://github.com/jordmccord)! - Adds our semantic colours to the color value types so they can be accessed in things like the `Box` props
|
|
2085
|
-
|
|
2086
|
-
- [#410](https://github.com/utilitywarehouse/hearth/pull/410) [`22cf96c`](https://github.com/utilitywarehouse/hearth/commit/22cf96c17d8ebf4f3c90264b1345a2a2131d7722) Thanks [@jordmccord](https://github.com/jordmccord)! - Moves components to use semantic tokens and exposes the new semantic tokens via the color object in the theme
|
|
2087
|
-
|
|
2088
|
-
## 0.1.0
|
|
2089
|
-
|
|
2090
|
-
### Minor Changes
|
|
2091
|
-
|
|
2092
|
-
- [`f6366c4`](https://github.com/utilitywarehouse/hearth/commit/f6366c4da2676c535dca90be570d6e6bae5a0349) Thanks [@jordmccord](https://github.com/jordmccord)! - Initial Release 🎉
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
<NextPrevPage
|
|
2096
|
-
prevLink="getting-started"
|
|
2097
|
-
prevTitle="Getting Started"
|
|
2098
|
-
nextLink="styling"
|
|
2099
|
-
nextTitle="Styling"
|
|
2100
|
-
/>
|