@utilitywarehouse/hearth-react 0.33.0 → 0.33.1
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/dist/{chunk-L3VPQN5T.js → chunk-2YZ3O2PW.js} +2 -2
- package/dist/{chunk-VZ37XNSE.cjs → chunk-3SXNUUIV.cjs} +2 -2
- package/dist/{chunk-VZ37XNSE.cjs.map → chunk-3SXNUUIV.cjs.map} +1 -1
- package/dist/{chunk-UVHPJNXC.cjs → chunk-47IKOVZM.cjs} +2 -2
- package/dist/{chunk-UVHPJNXC.cjs.map → chunk-47IKOVZM.cjs.map} +1 -1
- package/dist/{chunk-BB2SOLJS.cjs → chunk-4VB6TWFP.cjs} +2 -2
- package/dist/{chunk-BB2SOLJS.cjs.map → chunk-4VB6TWFP.cjs.map} +1 -1
- package/dist/chunk-5DXUL2KU.js +4 -0
- package/dist/chunk-5DXUL2KU.js.map +1 -0
- package/dist/{chunk-IPBCLSDB.cjs → chunk-5QRJL6UW.cjs} +2 -2
- package/dist/{chunk-IPBCLSDB.cjs.map → chunk-5QRJL6UW.cjs.map} +1 -1
- package/dist/{chunk-U65H447D.js → chunk-6IRARDPS.js} +2 -2
- package/dist/{chunk-LFHNFACK.cjs → chunk-6KCGKXT6.cjs} +2 -2
- package/dist/{chunk-LFHNFACK.cjs.map → chunk-6KCGKXT6.cjs.map} +1 -1
- package/dist/{chunk-VME2FDDL.cjs → chunk-6SR47BVO.cjs} +2 -2
- package/dist/{chunk-VME2FDDL.cjs.map → chunk-6SR47BVO.cjs.map} +1 -1
- package/dist/{chunk-6BVOGEQF.cjs → chunk-75OLYAFB.cjs} +2 -2
- package/dist/{chunk-6BVOGEQF.cjs.map → chunk-75OLYAFB.cjs.map} +1 -1
- package/dist/{chunk-CW6UT3QU.js → chunk-7BBNLGEP.js} +2 -2
- package/dist/{chunk-F2ZTXLIG.js → chunk-7ILZKQOQ.js} +2 -2
- package/dist/{chunk-2DOX5QRE.cjs → chunk-AOWHE3JS.cjs} +2 -2
- package/dist/{chunk-2DOX5QRE.cjs.map → chunk-AOWHE3JS.cjs.map} +1 -1
- package/dist/{chunk-Y2YBHHIX.js → chunk-CKE63SKW.js} +2 -2
- package/dist/{chunk-XIAQD5M3.js → chunk-DVLDTXUF.js} +1 -1
- package/dist/chunk-DVLDTXUF.js.map +1 -0
- package/dist/{chunk-ORVVLS3D.cjs → chunk-E7RWLZ6B.cjs} +2 -2
- package/dist/{chunk-ORVVLS3D.cjs.map → chunk-E7RWLZ6B.cjs.map} +1 -1
- package/dist/{chunk-Q4GDPLX2.cjs → chunk-EP4MMAP6.cjs} +2 -2
- package/dist/{chunk-Q4GDPLX2.cjs.map → chunk-EP4MMAP6.cjs.map} +1 -1
- package/dist/{chunk-S7R53S6F.js → chunk-FL2DCYWI.js} +2 -2
- package/dist/{chunk-V4BZIPQB.js → chunk-HNPNWQMD.js} +2 -2
- package/dist/{chunk-6VZAQBWM.js → chunk-I4T6DB7C.js} +2 -2
- package/dist/{chunk-HE73I4VO.cjs → chunk-IOXDXAHO.cjs} +2 -2
- package/dist/{chunk-HE73I4VO.cjs.map → chunk-IOXDXAHO.cjs.map} +1 -1
- package/dist/{chunk-XDTM63KX.js → chunk-IUDPPU6Y.js} +2 -2
- package/dist/chunk-JQCRVBOS.cjs +4 -0
- package/dist/chunk-JQCRVBOS.cjs.map +1 -0
- package/dist/{chunk-PGDFEVA5.js → chunk-KKHWPT5B.js} +2 -2
- package/dist/{chunk-YEZ6N62U.cjs → chunk-KKJEZRGJ.cjs} +2 -2
- package/dist/{chunk-YEZ6N62U.cjs.map → chunk-KKJEZRGJ.cjs.map} +1 -1
- package/dist/{chunk-JCNQCBO7.cjs → chunk-KWBAJWSJ.cjs} +2 -2
- package/dist/{chunk-JCNQCBO7.cjs.map → chunk-KWBAJWSJ.cjs.map} +1 -1
- package/dist/{chunk-XL66CZU5.cjs → chunk-L7I7AUWH.cjs} +2 -2
- package/dist/{chunk-XL66CZU5.cjs.map → chunk-L7I7AUWH.cjs.map} +1 -1
- package/dist/{chunk-QVE4N4F2.js → chunk-LA3N4ST5.js} +2 -2
- package/dist/{chunk-VVBUEPWH.js → chunk-LOKIAOWS.js} +2 -2
- package/dist/{chunk-PJCXETFD.js → chunk-N2PQS6HG.js} +2 -2
- package/dist/{chunk-RVXQZ4CI.cjs → chunk-NV5OZD3V.cjs} +2 -2
- package/dist/{chunk-RVXQZ4CI.cjs.map → chunk-NV5OZD3V.cjs.map} +1 -1
- package/dist/{chunk-DYMXUQM4.js → chunk-OQ7TRS57.js} +2 -2
- package/dist/{chunk-P4FX42C6.cjs → chunk-Q55UUMCD.cjs} +2 -2
- package/dist/{chunk-P4FX42C6.cjs.map → chunk-Q55UUMCD.cjs.map} +1 -1
- package/dist/{chunk-H5WVT3CU.cjs → chunk-RF5NDA46.cjs} +2 -2
- package/dist/{chunk-H5WVT3CU.cjs.map → chunk-RF5NDA46.cjs.map} +1 -1
- package/dist/{chunk-CWAYK23X.js → chunk-ROSGUGBM.js} +2 -2
- package/dist/{chunk-BHZ3HDCP.js → chunk-RYEI7Q4H.js} +2 -2
- package/dist/{chunk-CICNJKHM.cjs → chunk-SWIT4LGB.cjs} +2 -2
- package/dist/{chunk-CICNJKHM.cjs.map → chunk-SWIT4LGB.cjs.map} +1 -1
- package/dist/{chunk-IEKB4IRY.js → chunk-TBO5GN3I.js} +2 -2
- package/dist/{chunk-FSOQCT7B.js → chunk-TR7MKE7F.js} +2 -2
- package/dist/{chunk-IXUXDCQL.cjs → chunk-VNLPVNVK.cjs} +2 -2
- package/dist/{chunk-IXUXDCQL.cjs.map → chunk-VNLPVNVK.cjs.map} +1 -1
- package/dist/{chunk-VZM5CVIO.js → chunk-W35QJTJH.js} +2 -2
- package/dist/{chunk-RG53XPCM.cjs → chunk-WDL4OS5J.cjs} +2 -2
- package/dist/{chunk-RG53XPCM.cjs.map → chunk-WDL4OS5J.cjs.map} +1 -1
- package/dist/{chunk-BDJRXINR.js → chunk-WJCO5MYG.js} +2 -2
- package/dist/{chunk-6GC2HQ72.cjs → chunk-X2QPGOUI.cjs} +2 -2
- package/dist/{chunk-6GC2HQ72.cjs.map → chunk-X2QPGOUI.cjs.map} +1 -1
- package/dist/{chunk-KNPNKYUS.js → chunk-XAJGQUSC.js} +2 -2
- package/dist/{chunk-S4U7KSTZ.js → chunk-XCT44JDG.js} +2 -2
- package/dist/{chunk-O7X6QXBO.js → chunk-XNM4PIXN.js} +2 -2
- package/dist/{chunk-TWRSAJ3F.cjs → chunk-XX6G7GZM.cjs} +1 -1
- package/dist/{chunk-TWRSAJ3F.cjs.map → chunk-XX6G7GZM.cjs.map} +1 -1
- package/dist/{chunk-ZKHAEQHH.cjs → chunk-XZBPR3WG.cjs} +2 -2
- package/dist/{chunk-ZKHAEQHH.cjs.map → chunk-XZBPR3WG.cjs.map} +1 -1
- package/dist/{chunk-QUPHSWAC.js → chunk-YABVOAPK.js} +2 -2
- package/dist/{chunk-HP7AVYAK.cjs → chunk-YNEPOYJV.cjs} +2 -2
- package/dist/{chunk-HP7AVYAK.cjs.map → chunk-YNEPOYJV.cjs.map} +1 -1
- package/dist/{chunk-R6KCU4S7.cjs → chunk-ZPQZJIT3.cjs} +2 -2
- package/dist/{chunk-R6KCU4S7.cjs.map → chunk-ZPQZJIT3.cjs.map} +1 -1
- package/dist/components/Accordion/Accordion.cjs +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Button/Button.cjs +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/CardAccordion/CardAccordion.cjs +1 -1
- package/dist/components/CardAccordion/CardAccordion.js +1 -1
- package/dist/components/CardAccordion/CardAccordionButton.cjs +1 -1
- package/dist/components/CardAccordion/CardAccordionButton.js +1 -1
- package/dist/components/CardAccordion/CardAccordionItem.cjs +1 -1
- package/dist/components/CardAccordion/CardAccordionItem.js +1 -1
- package/dist/components/Checkbox/Checkbox.cjs +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/CheckboxTile/CheckboxTile.cjs +1 -1
- package/dist/components/CheckboxTile/CheckboxTile.js +1 -1
- package/dist/components/Combobox/Combobox.cjs +1 -1
- package/dist/components/Combobox/Combobox.js +1 -1
- package/dist/components/DateInput/DateInput.cjs +1 -1
- package/dist/components/DateInput/DateInput.js +1 -1
- package/dist/components/DatePicker/DatePicker.cjs +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DescriptionList/DescriptionList.cjs +1 -1
- package/dist/components/DescriptionList/DescriptionList.js +1 -1
- package/dist/components/ExpandableCard/ExpandableCardGroup.cjs +1 -1
- package/dist/components/ExpandableCard/ExpandableCardGroup.js +1 -1
- package/dist/components/List/List.cjs +1 -1
- package/dist/components/List/List.js +1 -1
- package/dist/components/List/ListItemButton.cjs +1 -1
- package/dist/components/List/ListItemButton.js +1 -1
- package/dist/components/List/ListItemContent.cjs +1 -1
- package/dist/components/List/ListItemContent.d.ts.map +1 -1
- package/dist/components/List/ListItemContent.js +1 -1
- package/dist/components/List/ListItemLink.cjs +1 -1
- package/dist/components/List/ListItemLink.js +1 -1
- package/dist/components/Modal/Modal.cjs +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Pagination/Pagination.cjs +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.cjs +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +1 -1
- package/dist/components/ProgressBar/ProgressBarCircular.cjs +1 -1
- package/dist/components/ProgressBar/ProgressBarCircular.js +1 -1
- package/dist/components/ProgressBar/ProgressBarLinear.cjs +1 -1
- package/dist/components/ProgressBar/ProgressBarLinear.js +1 -1
- package/dist/components/Radio/Radio.cjs +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/RadioTile/RadioTile.cjs +1 -1
- package/dist/components/RadioTile/RadioTile.js +1 -1
- package/dist/components/SectionHeader/SectionHeader.cjs +1 -1
- package/dist/components/SectionHeader/SectionHeader.js +1 -1
- package/dist/components/Skeleton/SkeletonBodyText.cjs +1 -1
- package/dist/components/Skeleton/SkeletonBodyText.js +1 -1
- package/dist/components/Table/TablePagination.cjs +1 -1
- package/dist/components/Table/TablePagination.js +1 -1
- package/dist/components/Toast/ToastActionButton.cjs +1 -1
- package/dist/components/Toast/ToastActionButton.d.ts +6 -0
- package/dist/components/Toast/ToastActionButton.d.ts.map +1 -1
- package/dist/components/Toast/ToastActionButton.js +1 -1
- package/dist/components/Toast/ToastActionButton.props.d.ts +7 -1
- package/dist/components/Toast/ToastActionButton.props.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/public/llms/components/accordion.md +0 -10
- package/public/llms/components/breadcrumbs.md +0 -5
- package/public/llms/components/button.md +0 -14
- package/public/llms/components/card-accordion.md +0 -10
- package/public/llms/components/card.md +0 -11
- package/public/llms/components/checkbox-tile.md +1 -1
- package/public/llms/components/checkbox.md +1 -1
- package/public/llms/components/chip.md +1 -8
- package/public/llms/components/combobox.md +0 -8
- package/public/llms/components/description-list.md +0 -7
- package/public/llms/components/expandable-card.md +3 -12
- package/public/llms/components/highlight-banner.md +1 -1
- package/public/llms/components/icon-button.md +0 -11
- package/public/llms/components/icon-container.md +0 -9
- package/public/llms/components/inline-link.md +0 -7
- package/public/llms/components/label.md +1 -1
- package/public/llms/components/link.md +0 -8
- package/public/llms/components/list.md +0 -12
- package/public/llms/components/menu.md +0 -9
- package/public/llms/components/modal.md +0 -10
- package/public/llms/components/pagination.md +0 -11
- package/public/llms/components/progress-stepper.md +0 -5
- package/public/llms/components/radio-group.md +1 -40
- package/public/llms/components/search-input.md +0 -8
- package/public/llms/components/segmented-control.md +0 -5
- package/public/llms/components/skeleton.md +0 -8
- package/public/llms/components/table.md +0 -6
- package/public/llms/components/tabs.md +0 -10
- package/public/llms/components/text-area.md +0 -9
- package/public/llms/components/text-input.md +0 -9
- package/public/llms/components/timeline.md +1 -7
- package/public/llms/components/toast.md +0 -11
- package/public/llms/components/toggle-button-card.md +1 -9
- package/public/llms/components/toggle-button.md +0 -7
- package/public/llms/components/tooltip.md +0 -8
- package/public/llms/components/unstyled-icon-button.md +0 -8
- package/public/llms/docs/getting-started.md +1 -9
- package/public/llms/docs/migration/v0.md +0 -21
- package/styles.css +1 -1
- package/dist/chunk-4WLYFPTV.cjs +0 -4
- package/dist/chunk-4WLYFPTV.cjs.map +0 -1
- package/dist/chunk-HDCOVVAG.js +0 -4
- package/dist/chunk-HDCOVVAG.js.map +0 -1
- package/dist/chunk-XIAQD5M3.js.map +0 -1
- /package/dist/{chunk-L3VPQN5T.js.map → chunk-2YZ3O2PW.js.map} +0 -0
- /package/dist/{chunk-U65H447D.js.map → chunk-6IRARDPS.js.map} +0 -0
- /package/dist/{chunk-CW6UT3QU.js.map → chunk-7BBNLGEP.js.map} +0 -0
- /package/dist/{chunk-F2ZTXLIG.js.map → chunk-7ILZKQOQ.js.map} +0 -0
- /package/dist/{chunk-Y2YBHHIX.js.map → chunk-CKE63SKW.js.map} +0 -0
- /package/dist/{chunk-S7R53S6F.js.map → chunk-FL2DCYWI.js.map} +0 -0
- /package/dist/{chunk-V4BZIPQB.js.map → chunk-HNPNWQMD.js.map} +0 -0
- /package/dist/{chunk-6VZAQBWM.js.map → chunk-I4T6DB7C.js.map} +0 -0
- /package/dist/{chunk-XDTM63KX.js.map → chunk-IUDPPU6Y.js.map} +0 -0
- /package/dist/{chunk-PGDFEVA5.js.map → chunk-KKHWPT5B.js.map} +0 -0
- /package/dist/{chunk-QVE4N4F2.js.map → chunk-LA3N4ST5.js.map} +0 -0
- /package/dist/{chunk-VVBUEPWH.js.map → chunk-LOKIAOWS.js.map} +0 -0
- /package/dist/{chunk-PJCXETFD.js.map → chunk-N2PQS6HG.js.map} +0 -0
- /package/dist/{chunk-DYMXUQM4.js.map → chunk-OQ7TRS57.js.map} +0 -0
- /package/dist/{chunk-CWAYK23X.js.map → chunk-ROSGUGBM.js.map} +0 -0
- /package/dist/{chunk-BHZ3HDCP.js.map → chunk-RYEI7Q4H.js.map} +0 -0
- /package/dist/{chunk-IEKB4IRY.js.map → chunk-TBO5GN3I.js.map} +0 -0
- /package/dist/{chunk-FSOQCT7B.js.map → chunk-TR7MKE7F.js.map} +0 -0
- /package/dist/{chunk-VZM5CVIO.js.map → chunk-W35QJTJH.js.map} +0 -0
- /package/dist/{chunk-BDJRXINR.js.map → chunk-WJCO5MYG.js.map} +0 -0
- /package/dist/{chunk-KNPNKYUS.js.map → chunk-XAJGQUSC.js.map} +0 -0
- /package/dist/{chunk-S4U7KSTZ.js.map → chunk-XCT44JDG.js.map} +0 -0
- /package/dist/{chunk-O7X6QXBO.js.map → chunk-XNM4PIXN.js.map} +0 -0
- /package/dist/{chunk-QUPHSWAC.js.map → chunk-YABVOAPK.js.map} +0 -0
|
@@ -7,14 +7,6 @@ control. Set `triggerOnlyOnType` when the user must type before options are
|
|
|
7
7
|
surfaced (e.g. a postcode or address lookup); leave it unset when there is a
|
|
8
8
|
predefined list to choose from by clicking.
|
|
9
9
|
|
|
10
|
-
- [Usage](#usage)
|
|
11
|
-
- [Trigger only on type](#trigger-only-on-type)
|
|
12
|
-
- [No options found](#no-options-found)
|
|
13
|
-
- [Status text](#status-text)
|
|
14
|
-
- [useComboboxFilter](#usecomboboxfilter)
|
|
15
|
-
- [Virtualised](#virtualised)
|
|
16
|
-
- [API](#api)
|
|
17
|
-
|
|
18
10
|
```tsx
|
|
19
11
|
<Combobox {...args} items={fruits} />
|
|
20
12
|
```
|
|
@@ -34,13 +34,6 @@ semantic `dl` element.
|
|
|
34
34
|
</Box>
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
- [Usage](#usage)
|
|
38
|
-
- [Heading](#heading)
|
|
39
|
-
- [Trailing content](#trailing-content)
|
|
40
|
-
- [Direction](#direction)
|
|
41
|
-
- [API](#api)
|
|
42
|
-
- [DescriptionListItem API](#descriptionlistitem-api)
|
|
43
|
-
|
|
44
37
|
## Usage
|
|
45
38
|
|
|
46
39
|
Use the `DescriptionList` element to wrap any number of `DescriptionListItem`
|
|
@@ -7,17 +7,8 @@ reveal additional content. Group multiple cards with ExpandableCardGroup.
|
|
|
7
7
|
For multiple sections of content that need to expand and collapse
|
|
8
8
|
independently as a related set, use Accordion instead.
|
|
9
9
|
|
|
10
|
-
- [Leading icon](#leading-icon)
|
|
11
|
-
- [Default open](#default-open)
|
|
12
|
-
- [Controlled](#controlled)
|
|
13
|
-
- [ExpandableCardGroup](#expandablecardgroup)
|
|
14
|
-
- [Accessibility](#accessibility)
|
|
15
|
-
- [Keyboard interactions](#keyboard-interactions)
|
|
16
|
-
- [API](#api)
|
|
17
|
-
- [ExpandableCardGroup](#expandablecardgroup-api)
|
|
18
|
-
|
|
19
10
|
```tsx
|
|
20
|
-
<Box width="400px"
|
|
11
|
+
<Box width="400px">
|
|
21
12
|
<ExpandableCard {...args}>
|
|
22
13
|
<BodyText size="md">
|
|
23
14
|
This is the expandable content area. It can contain any content you need to show when the card
|
|
@@ -86,7 +77,7 @@ approach: the card manages its own open/closed state internally after mount.
|
|
|
86
77
|
```
|
|
87
78
|
|
|
88
79
|
```tsx
|
|
89
|
-
<Box width="400px"
|
|
80
|
+
<Box width="400px">
|
|
90
81
|
<ExpandableCard
|
|
91
82
|
heading="Heading"
|
|
92
83
|
helperText="This card starts expanded"
|
|
@@ -123,7 +114,7 @@ using the `Accordion` component instead, which has built-in support for
|
|
|
123
114
|
grouping related content.
|
|
124
115
|
|
|
125
116
|
```tsx
|
|
126
|
-
<Box width="400px"
|
|
117
|
+
<Box width="400px">
|
|
127
118
|
<ExpandableCardGroup heading="My services" helperText="Manage your UW services">
|
|
128
119
|
<ExpandableCard
|
|
129
120
|
heading="Broadband"
|
|
@@ -11,7 +11,7 @@ for footer content.
|
|
|
11
11
|
{/* eslint-disable-next-line jsx-a11y/alt-text */}
|
|
12
12
|
<img src={piggies} height="200px" />
|
|
13
13
|
<HighlightBannerFooter>
|
|
14
|
-
<BodyText size="md"
|
|
14
|
+
<BodyText size="md" textWrap="wrap">
|
|
15
15
|
Homeowners who bundle two or more services with UW and activate the Cashback Card trial will
|
|
16
16
|
receive up to £150 in credit.
|
|
17
17
|
</BodyText>
|
|
@@ -153,17 +153,6 @@ no visible text, a `label` prop is required to provide an accessible name.
|
|
|
153
153
|
</Flex>
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
- [Icons](#icons)
|
|
157
|
-
- [Accessibility](#accessibility)
|
|
158
|
-
- [Disabled buttons](#disabled-buttons)
|
|
159
|
-
- [Variants](#variants)
|
|
160
|
-
- [Colour schemes](#colour-schemes)
|
|
161
|
-
- [Inverted](#inverted)
|
|
162
|
-
- [Size](#size)
|
|
163
|
-
- [Responsive icon sizes](#responsive-icon-sizes)
|
|
164
|
-
- [Semantic HTML](#semantic-html)
|
|
165
|
-
- [API](#api)
|
|
166
|
-
|
|
167
156
|
```tsx
|
|
168
157
|
<IconButton {...args}>
|
|
169
158
|
<AddMediumIcon />
|
|
@@ -46,15 +46,6 @@ combinations of `colorScheme` and `variant` (e.g. `emphasis` and
|
|
|
46
46
|
</IconContainer>
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
- [Icons](#icons)
|
|
50
|
-
- [Variants](#variants)
|
|
51
|
-
- [Sizes](#sizes)
|
|
52
|
-
- [Color schemes](#color-schemes)
|
|
53
|
-
- [Dead prop combinations](#dead-prop-combinations)
|
|
54
|
-
- [Radius none](#radius-none)
|
|
55
|
-
- [Fill](#fill)
|
|
56
|
-
- [API](#api)
|
|
57
|
-
|
|
58
49
|
## Icons
|
|
59
50
|
|
|
60
51
|
The `IconContainer` component is intended to be used with the `@utilitywarehouse/hearth-react-icons` package.
|
|
@@ -6,13 +6,6 @@ icon and visually-hidden label when `target="_blank"` is set. Use `asChild`
|
|
|
6
6
|
to render a routing library's link component (e.g. Next.js `Link`) instead.
|
|
7
7
|
For a standalone link not embedded in text, use Link instead.
|
|
8
8
|
|
|
9
|
-
- [Alternatives](#alternatives)
|
|
10
|
-
- [Semantic HTML](#semantic-html)
|
|
11
|
-
- [Colour](#colour)
|
|
12
|
-
- [Open in new tab](#open-in-new-tab)
|
|
13
|
-
- [Usage with Next.js](#usage-with-next.js)
|
|
14
|
-
- [API](#api)
|
|
15
|
-
|
|
16
9
|
```tsx
|
|
17
10
|
<Flex
|
|
18
11
|
direction="column"
|
|
@@ -7,14 +7,6 @@ on the same page, or to open a resource in a new tab. Renders a semantic
|
|
|
7
7
|
|
|
8
8
|
For links within a body of text, use InlineLink instead.
|
|
9
9
|
|
|
10
|
-
- [Alternatives](#alternatives)
|
|
11
|
-
- [Semantic HTML](#semantic-html)
|
|
12
|
-
- [Open in new tab](#open-in-new-tab)
|
|
13
|
-
- [Icons](#icons)
|
|
14
|
-
- [Inverted colours](#inverted-colours)
|
|
15
|
-
- [Usage with Next.js](#usage-with-next.js)
|
|
16
|
-
- [API](#api)
|
|
17
|
-
|
|
18
10
|
```tsx
|
|
19
11
|
<Link href="#">Link</Link>
|
|
20
12
|
```
|
|
@@ -67,18 +67,6 @@ list falls back to its default appearance.
|
|
|
67
67
|
</Box>
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
-
- [Usage](#usage)
|
|
71
|
-
- [Appearance](#appearance)
|
|
72
|
-
- [Variant](#variant)
|
|
73
|
-
- [ColorScheme](#colorscheme)
|
|
74
|
-
- [Padding None](#padding-none)
|
|
75
|
-
- [Heading](#heading)
|
|
76
|
-
- [Leading content](#leading-content)
|
|
77
|
-
- [Trailing content](#trailing-content)
|
|
78
|
-
- [Advanced Content](#advanced-content)
|
|
79
|
-
- [List actions](#list-actions)
|
|
80
|
-
- [API](#api)
|
|
81
|
-
|
|
82
70
|
## Usage
|
|
83
71
|
|
|
84
72
|
- The `List` component can be customized with different variants and color schemes.
|
|
@@ -7,15 +7,6 @@ with MenuTrigger and MenuContent, which wraps any number of MenuItem
|
|
|
7
7
|
components. Set `modal={false}` when multiple Menu components are used
|
|
8
8
|
together, such as in a navigation bar.
|
|
9
9
|
|
|
10
|
-
- [Usage](#usage)
|
|
11
|
-
- [MenuTrigger](#menutrigger)
|
|
12
|
-
- [Placement](#placement)
|
|
13
|
-
- [MenuItem](#menuitem)
|
|
14
|
-
- [Accessibility](#accessibility)
|
|
15
|
-
- [SEO](#seo)
|
|
16
|
-
- [Migration](#migration)
|
|
17
|
-
- [API](#api)
|
|
18
|
-
|
|
19
10
|
```tsx
|
|
20
11
|
<Menu {...args}>
|
|
21
12
|
<MenuTrigger>
|
|
@@ -7,16 +7,6 @@ ModalTrigger, ModalContent, ModalFooter, and ModalClose. Pass `heading` and
|
|
|
7
7
|
`description` for standard content, or custom children alongside
|
|
8
8
|
ModalFooter for more control over layout.
|
|
9
9
|
|
|
10
|
-
- [Usage Guidelines](#usage-guidelines)
|
|
11
|
-
- [Content](#content)
|
|
12
|
-
- [Accessibility](#accessibility)
|
|
13
|
-
- [Uncontrolled usage](#uncontrolled-usage)
|
|
14
|
-
- [Controlled usage](#controlled-usage)
|
|
15
|
-
- [With Image](#with-image)
|
|
16
|
-
- [Loading](#loading)
|
|
17
|
-
- [Preventing dismissal](#preventing-dismissal)
|
|
18
|
-
- [API](#api)
|
|
19
|
-
|
|
20
10
|
```tsx
|
|
21
11
|
<ModalRoot>
|
|
22
12
|
<ModalTrigger>
|
|
@@ -7,17 +7,6 @@ Render `as="nav"` when it acts as a standalone navigation landmark — in that
|
|
|
7
7
|
case also provide an `id` for accessibility. Use the `condensed` prop for
|
|
8
8
|
compact spaces where only a page count needs to be shown.
|
|
9
9
|
|
|
10
|
-
## Table of Contents
|
|
11
|
-
|
|
12
|
-
- [Usage Guidelines](#usage-guidelines)
|
|
13
|
-
- [Examples](#examples)
|
|
14
|
-
- [Condensed](#condensed)
|
|
15
|
-
- [Without Skip Buttons](#without-skip-buttons)
|
|
16
|
-
- [Few Pages](#few-pages)
|
|
17
|
-
- [Many Pages](#many-pages)
|
|
18
|
-
- [Edge Cases](#edge-cases)
|
|
19
|
-
- [API](#api)
|
|
20
|
-
|
|
21
10
|
```tsx
|
|
22
11
|
<Pagination {...args} currentPage={currentPage} onPageChange={setCurrentPage} />
|
|
23
12
|
```
|
|
@@ -7,11 +7,6 @@ triggers an action, or navigates — don't mix step types within the same
|
|
|
7
7
|
stepper. Render `as="nav"` when the stepper represents site or app
|
|
8
8
|
navigation. For a single continuous task's completion, use ProgressBar instead.
|
|
9
9
|
|
|
10
|
-
- [Usage](#usage)
|
|
11
|
-
- [Step states](#step-states)
|
|
12
|
-
- [Accessability](#accessability)
|
|
13
|
-
- [API](#api)
|
|
14
|
-
|
|
15
10
|
```tsx
|
|
16
11
|
<Flex direction="column" gap="400">
|
|
17
12
|
<BodyText weight="bold">Step {currentStep + 1} Content</BodyText>
|
|
@@ -7,48 +7,9 @@ follows the WAI-ARIA Radio Group pattern for groups not contained in a
|
|
|
7
7
|
toolbar. For multi-select options, use CheckboxGroup instead.
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
|
-
<
|
|
11
|
-
<Flex direction="row" gap="200">
|
|
12
|
-
<RadioGroup {...args}>
|
|
13
|
-
<RadioTile value="england" label="England" />
|
|
14
|
-
<RadioTile value="wales" label="Wales" />
|
|
15
|
-
<RadioTile value="scotland" label="Scotland" />
|
|
16
|
-
<RadioTile value="northern-ireland" label="Northern Ireland" />
|
|
17
|
-
</RadioGroup>
|
|
18
|
-
<RadioGroup {...args}>
|
|
19
|
-
<Radio value="england" label="England" />
|
|
20
|
-
<Radio value="wales" label="Wales" />
|
|
21
|
-
<Radio value="scotland" label="Scotland" />
|
|
22
|
-
<Radio value="northern-ireland" label="Northern Ireland" />
|
|
23
|
-
</RadioGroup>
|
|
24
|
-
</Flex>
|
|
25
|
-
<RadioGroup
|
|
26
|
-
{...args}
|
|
27
|
-
label="Do you like living here?"
|
|
28
|
-
name="do-you-like-living-here"
|
|
29
|
-
direction="row"
|
|
30
|
-
>
|
|
31
|
-
<RadioTile value="y" label="Yes" image={<ThumbsUpSmallIcon />} />
|
|
32
|
-
<RadioTile value="n" label="No" image={<ThumbsDownSmallIcon />} />
|
|
33
|
-
</RadioGroup>
|
|
34
|
-
</Flex>
|
|
10
|
+
<RadioGroup label="Label" helperText="Helper text" validationText="Validation text" />
|
|
35
11
|
```
|
|
36
12
|
|
|
37
|
-
- [Alternatives](#alternatives)
|
|
38
|
-
- [Usage](#usage)
|
|
39
|
-
- [Accessibility](#accessibility)
|
|
40
|
-
- [Keyboard interactions](#keyboard-interactions)
|
|
41
|
-
- [Custom label](#custom-label)
|
|
42
|
-
- [Helper text](#helper-text)
|
|
43
|
-
- [Validation](#validation)
|
|
44
|
-
- [Content width](#content-width)
|
|
45
|
-
- [Grid layout](#grid-layout)
|
|
46
|
-
- [RadioTile layout](#radiotile-layout)
|
|
47
|
-
- [Controlled](#controlled)
|
|
48
|
-
- [Radio & RadioTile Image](#radio--radiotile-image)
|
|
49
|
-
- [RadioCard](#radiocard)
|
|
50
|
-
- [API](#api)
|
|
51
|
-
|
|
52
13
|
## Alternatives
|
|
53
14
|
|
|
54
15
|
- `CheckboxGroup`: For multi-select.
|
|
@@ -7,14 +7,6 @@ fetched. On desktop and tablet it must be paired with a button to trigger
|
|
|
7
7
|
the search; on mobile the keyboard's search action can trigger it instead.
|
|
8
8
|
For general text entry use TextInput instead.
|
|
9
9
|
|
|
10
|
-
- [Alternatives](#alternatives)
|
|
11
|
-
- [Accessibility](#accessibility)
|
|
12
|
-
- [Label](#label)
|
|
13
|
-
- [Clear](#clear)
|
|
14
|
-
- [Loading](#loading)
|
|
15
|
-
- [Usage with a button](#usage-with-a-button)
|
|
16
|
-
- [API](#api)
|
|
17
|
-
|
|
18
10
|
```tsx
|
|
19
11
|
<SearchInput
|
|
20
12
|
value={value}
|
|
@@ -7,11 +7,6 @@ be used without a default selected option.
|
|
|
7
7
|
For navigation between pages or sections, use Tabs instead.
|
|
8
8
|
For binary on/off settings, use Switch instead.
|
|
9
9
|
|
|
10
|
-
- [Usage](#usage)
|
|
11
|
-
- [Sizes](#sizes)
|
|
12
|
-
- [Icons](#icons)
|
|
13
|
-
- [API](#api)
|
|
14
|
-
|
|
15
10
|
```tsx
|
|
16
11
|
<Flex direction="column" gap="400">
|
|
17
12
|
<BodyText as="p" size="md" weight="semibold">
|
|
@@ -4,14 +4,6 @@
|
|
|
4
4
|
content is loading. It helps improve perceived performance and user experience
|
|
5
5
|
by showing a skeleton of the layout before the actual content is rendered.
|
|
6
6
|
|
|
7
|
-
- [Usage](#usage)
|
|
8
|
-
- [Accessibility](#accessibility)
|
|
9
|
-
- [Loading title](#loading-title)
|
|
10
|
-
- [SkeletonBodyText](#skeletonbodytext)
|
|
11
|
-
- [SkeletonHeading](#skeletonheading)
|
|
12
|
-
- [SkeletonBox](#skeletonbox)
|
|
13
|
-
- [API](#api)
|
|
14
|
-
|
|
15
7
|
```tsx
|
|
16
8
|
<Skeleton loadingTitle="card placeholder story">
|
|
17
9
|
<Flex direction="column" gap="300" width="320px">
|
|
@@ -6,12 +6,6 @@ it with TableHeader, TableBody, TableRow, TableHeaderCell, and TableCell.
|
|
|
6
6
|
Pass `variant` to wrap the table in a Card container; omit it for a minimal,
|
|
7
7
|
unwrapped table.
|
|
8
8
|
|
|
9
|
-
- [Usage](#usage)
|
|
10
|
-
- [Variants](#variants)
|
|
11
|
-
- [Pagination](#pagination)
|
|
12
|
-
- [Header cells](#header-cells)
|
|
13
|
-
- [API](#api)
|
|
14
|
-
|
|
15
9
|
```tsx
|
|
16
10
|
<Table {...args}>
|
|
17
11
|
<TableHeader>
|
|
@@ -4,16 +4,6 @@ Use Tabs to organize and navigate between content sections within the same
|
|
|
4
4
|
page context, without leaving the page. Must be used together with
|
|
5
5
|
TabsList, Tab, and TabContent.
|
|
6
6
|
|
|
7
|
-
- [Usage](#usage)
|
|
8
|
-
- [Examples](#examples)
|
|
9
|
-
- [Controlled](#controlled)
|
|
10
|
-
- [Overflow & Scrolling](#overflow--scrolling)
|
|
11
|
-
- [With icons](#with-icons)
|
|
12
|
-
- [Size variants](#size-variants)
|
|
13
|
-
- [Activation mode](#activation-mode)
|
|
14
|
-
- [Accessibility](#accessibility)
|
|
15
|
-
- [API](#api)
|
|
16
|
-
|
|
17
7
|
```tsx
|
|
18
8
|
<Tabs {...args}>
|
|
19
9
|
<TabsList>
|
|
@@ -8,15 +8,6 @@ is required and should clearly describe the purpose of the field.
|
|
|
8
8
|
<TextArea {...args} />
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
- [Label](#label)
|
|
12
|
-
- [Helper Text](#helper-text)
|
|
13
|
-
- [Validation](#validation)
|
|
14
|
-
- [Disabled and Read-only](#disabled-and-read-only)
|
|
15
|
-
- [Custom Rows](#custom-rows)
|
|
16
|
-
- [Height](#height)
|
|
17
|
-
- [Controlled Usage](#controlled-usage)
|
|
18
|
-
- [API](#api)
|
|
19
|
-
|
|
20
11
|
## Label
|
|
21
12
|
|
|
22
13
|
A label is required for the `TextArea` component. It should clearly describe
|
|
@@ -9,15 +9,6 @@ SearchInput, CurrencyInput, VerificationInput, or DateInput instead. A
|
|
|
9
9
|
<TextInput {...args} />
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
- [Alternatives](#alternatives)
|
|
13
|
-
- [Label](#label)
|
|
14
|
-
- [Required](#required)
|
|
15
|
-
- [Disabled and Read-only](#disabled-and-read-only)
|
|
16
|
-
- [Validation](#validation)
|
|
17
|
-
- [Prefix and Suffix](#prefix-and-suffix)
|
|
18
|
-
- [Grouping inputs](#grouping-inputs)
|
|
19
|
-
- [API](#api)
|
|
20
|
-
|
|
21
12
|
## Alternatives
|
|
22
13
|
|
|
23
14
|
- PasswordInput - For entering
|
|
@@ -6,14 +6,8 @@ the sequence represents the user's advancement through it; use `static`
|
|
|
6
6
|
for a purely informational history or schedule. For a multi-step process
|
|
7
7
|
the user actively navigates, use ProgressStepper instead.
|
|
8
8
|
|
|
9
|
-
- [Usage](#usage)
|
|
10
|
-
- [Variants](#variants)
|
|
11
|
-
- [States](#states)
|
|
12
|
-
- [Dangling rail](#dangling-rail)
|
|
13
|
-
- [API](#api)
|
|
14
|
-
|
|
15
9
|
```tsx
|
|
16
|
-
<Flex direction="
|
|
10
|
+
<Flex direction="row" gap="600">
|
|
17
11
|
{variants.map(variant => (
|
|
18
12
|
<Timeline key={variant} variant={variant}>
|
|
19
13
|
<TimelineItem state="complete" label="Direct debit set up" helperText="1 March 2026" />
|
|
@@ -5,17 +5,6 @@ action or notifies users of important information, auto-dismissing after a
|
|
|
5
5
|
set duration. It must be rendered inside a ToastProvider. For messages that
|
|
6
6
|
require the user to make a decision, use Alert instead.
|
|
7
7
|
|
|
8
|
-
- [Usage](#usage)
|
|
9
|
-
- [Icon](#icon)
|
|
10
|
-
- [Dismiss toast](#dismiss-toast)
|
|
11
|
-
- [Actions](#actions)
|
|
12
|
-
- [Custom duration](#custom-duration)
|
|
13
|
-
- [Accessibility](#accessibility)
|
|
14
|
-
- [Sensitivity](#sensitivity)
|
|
15
|
-
- [Keyboard interactions](#keyboard-interactions)
|
|
16
|
-
- [Duplicate toasts](#duplicate-toasts)
|
|
17
|
-
- [API](#api)
|
|
18
|
-
|
|
19
8
|
```tsx
|
|
20
9
|
<div>
|
|
21
10
|
<Button
|
|
@@ -58,14 +58,6 @@
|
|
|
58
58
|
</Box>
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
- [Usage](#usage)
|
|
62
|
-
- [ToggleGroup type](#togglegroup-type)
|
|
63
|
-
- [Layout](#layout)
|
|
64
|
-
- [Interactive content](#interactive-content)
|
|
65
|
-
- [Accessibility](#accessibility)
|
|
66
|
-
- [ToggleButtonCard API](#togglebuttoncard-api)
|
|
67
|
-
- [ToggleGroup API](#togglegroup-api)
|
|
68
|
-
|
|
69
61
|
## Usage
|
|
70
62
|
|
|
71
63
|
Use the `ToggleGroup` to wrap `ToggleButtonCard` components.
|
|
@@ -141,7 +133,7 @@ return (
|
|
|
141
133
|
>
|
|
142
134
|
{['One', 'Two', 'Three', 'Four'].map((label, value) => (
|
|
143
135
|
<ToggleButtonCard key={value} value={`${value}`} label={label} aria-labelledby="">
|
|
144
|
-
<Placeholder borderColor="subtle" backgroundColor="primary"
|
|
136
|
+
<Placeholder borderColor="subtle" backgroundColor="primary" height="50px" />
|
|
145
137
|
</ToggleButtonCard>
|
|
146
138
|
))}
|
|
147
139
|
</ToggleGroup>
|
|
@@ -14,13 +14,6 @@ ToggleGroup, and requires a unique `value` prop.
|
|
|
14
14
|
</ToggleGroup>
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
- [Usage](#usage)
|
|
18
|
-
- [ToggleGroup type](#togglegroup-type)
|
|
19
|
-
- [Custom layout](#custom-layout)
|
|
20
|
-
- [Accessibility](#accessibility)
|
|
21
|
-
- [ToggleButton API](#togglebutton-api)
|
|
22
|
-
- [ToggleGroup API](#togglegroup-api)
|
|
23
|
-
|
|
24
17
|
## Usage
|
|
25
18
|
|
|
26
19
|
Wrap `ToggleButton` components in a `ToggleGroup`. The `value` prop on each
|
|
@@ -5,14 +5,6 @@ related to an element when it receives keyboard focus or is hovered. It
|
|
|
5
5
|
requires a single child element as its trigger, and must be used within a
|
|
6
6
|
TooltipProvider (or the global HearthProvider).
|
|
7
7
|
|
|
8
|
-
- [Setup](#setup)
|
|
9
|
-
- [Usage](#usage)
|
|
10
|
-
- [Alignment](#alignment)
|
|
11
|
-
- [Heading](#heading)
|
|
12
|
-
- [Accessibility](#accessibility)
|
|
13
|
-
- [Keyboard interactions](#keyboard-interactions)
|
|
14
|
-
- [API](#api)
|
|
15
|
-
|
|
16
8
|
```tsx
|
|
17
9
|
<Flex justifyContent="center" padding="800">
|
|
18
10
|
<Tooltip {...args}>
|
|
@@ -5,14 +5,6 @@ its own: a plain, unstyled base for building custom icon button variants.
|
|
|
5
5
|
For a fully-styled icon button, use IconButton instead. A `label` is
|
|
6
6
|
required, since the button contains only an icon with no visible text.
|
|
7
7
|
|
|
8
|
-
- [Icons](#icons)
|
|
9
|
-
- [Accessibility](#accessibility)
|
|
10
|
-
- [Disabled buttons](#disabled-buttons)
|
|
11
|
-
- [Size](#size)
|
|
12
|
-
- [Responsive icon sizes](#responsive-icon-sizes)
|
|
13
|
-
- [Semantic HTML](#semantic-html)
|
|
14
|
-
- [API](#api)
|
|
15
|
-
|
|
16
8
|
```tsx
|
|
17
9
|
<Flex direction="column">
|
|
18
10
|
<Box padding="200">
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
# Hearth React
|
|
2
2
|
|
|
3
|
-
Current version: v0.33.
|
|
4
|
-
|
|
5
|
-
- [Install Hearth](#install-hearth)
|
|
6
|
-
- [Import CSS](#import-css)
|
|
7
|
-
- [HearthProvider](#hearthprovider)
|
|
8
|
-
- [Start building](#start-building)
|
|
9
|
-
- [CSS reset](#css-reset)
|
|
10
|
-
- [Portals](#portals)
|
|
11
|
-
- [React DevTools](#react-devtools)
|
|
3
|
+
Current version: v0.33.1
|
|
12
4
|
|
|
13
5
|
## Install Hearth
|
|
14
6
|
|
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
# Migration from Web UI
|
|
2
2
|
|
|
3
|
-
- [Components](#components)
|
|
4
|
-
- [Stack](#stack)
|
|
5
|
-
- [Grid](#grid)
|
|
6
|
-
- [Spacer](#spacer)
|
|
7
|
-
- [CheckboxGridGroup and RadioGridGroup](#checkboxgridgroup-and-radiogridgroup)
|
|
8
|
-
- [Typography](#typography)
|
|
9
|
-
- [Button](#button)
|
|
10
|
-
- [Link](#link)
|
|
11
|
-
- [Badge](#badge)
|
|
12
|
-
- [Inputs](#inputs)
|
|
13
|
-
- [Polymorphism](#polymorphism)
|
|
14
|
-
- [Styling](#styling)
|
|
15
|
-
- [Interoperability](#interoperability)
|
|
16
|
-
- [ThemeProvider](#themeprovider)
|
|
17
|
-
- [Portals](#portals)
|
|
18
|
-
- [The sx prop and styled method API](#the-sx-prop-and-styled-method-api)
|
|
19
|
-
- [Tokens](#tokens)
|
|
20
|
-
- [Responsive props](#responsive-props)
|
|
21
|
-
- [Common props](#common-props)
|
|
22
|
-
- [Contextual colours](#contextual-colours)
|
|
23
|
-
|
|
24
3
|
### Stack
|
|
25
4
|
|
|
26
5
|
This component from Web UI has not been implemented in **Hearth React**. We
|