@utilitywarehouse/hearth-react 0.32.3 → 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-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-DMMORU7Y.cjs +4 -0
- package/dist/chunk-DMMORU7Y.cjs.map +1 -0
- 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-V4BZIPQB.js → chunk-HNPNWQMD.js} +2 -2
- package/dist/{chunk-6VZAQBWM.js → chunk-I4T6DB7C.js} +2 -2
- package/dist/{chunk-UB5EHJ4P.cjs → chunk-IOXDXAHO.cjs} +2 -2
- package/dist/{chunk-UB5EHJ4P.cjs.map → chunk-IOXDXAHO.cjs.map} +1 -1
- package/dist/chunk-IOZE7MTU.cjs +4 -0
- package/dist/chunk-IOZE7MTU.cjs.map +1 -0
- 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-5UEDHPFN.cjs → chunk-KWBAJWSJ.cjs} +2 -2
- package/dist/{chunk-5UEDHPFN.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-Y36QMGRW.js → chunk-LA3N4ST5.js} +2 -2
- package/dist/{chunk-QIPIWJCI.js → chunk-LOKIAOWS.js} +2 -2
- package/dist/{chunk-PJCXETFD.js → chunk-N2PQS6HG.js} +2 -2
- package/dist/chunk-NPCUVYMJ.js +4 -0
- package/dist/chunk-NPCUVYMJ.js.map +1 -0
- 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-OEEEN4T4.js +4 -0
- package/dist/chunk-OEEEN4T4.js.map +1 -0
- package/dist/{chunk-DYMXUQM4.js → chunk-OQ7TRS57.js} +2 -2
- package/dist/chunk-Q7M52MR2.cjs +4 -0
- package/dist/chunk-Q7M52MR2.cjs.map +1 -0
- package/dist/chunk-R5I57J2E.js +4 -0
- package/dist/chunk-R5I57J2E.js.map +1 -0
- 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-5JUZLZBK.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-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-CTVFJHPG.cjs → chunk-ZPQZJIT3.cjs} +2 -2
- package/dist/{chunk-CTVFJHPG.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/DateInput/DateInput.cjs +1 -1
- package/dist/components/DateInput/DateInput.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/Timeline/Timeline.cjs +4 -0
- package/dist/components/Timeline/Timeline.cjs.map +1 -0
- package/dist/components/Timeline/Timeline.d.ts +12 -0
- package/dist/components/Timeline/Timeline.d.ts.map +1 -0
- package/dist/components/Timeline/Timeline.js +4 -0
- package/dist/components/Timeline/Timeline.js.map +1 -0
- package/dist/components/Timeline/Timeline.props.cjs +4 -0
- package/dist/components/Timeline/Timeline.props.cjs.map +1 -0
- package/dist/components/Timeline/Timeline.props.d.ts +47 -0
- package/dist/components/Timeline/Timeline.props.d.ts.map +1 -0
- package/dist/components/Timeline/Timeline.props.js +4 -0
- package/dist/components/Timeline/Timeline.props.js.map +1 -0
- package/dist/components/Timeline/TimelineItem.cjs +4 -0
- package/dist/components/Timeline/TimelineItem.cjs.map +1 -0
- package/dist/components/Timeline/TimelineItem.d.ts +11 -0
- package/dist/components/Timeline/TimelineItem.d.ts.map +1 -0
- package/dist/components/Timeline/TimelineItem.js +4 -0
- package/dist/components/Timeline/TimelineItem.js.map +1 -0
- package/dist/components/Timeline/TimelineItem.props.cjs +3 -0
- package/dist/components/Timeline/TimelineItem.props.cjs.map +1 -0
- package/dist/components/Timeline/TimelineItem.props.d.ts +17 -0
- package/dist/components/Timeline/TimelineItem.props.d.ts.map +1 -0
- package/dist/components/Timeline/TimelineItem.props.js +3 -0
- package/dist/components/Timeline/TimelineItem.props.js.map +1 -0
- 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.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
- 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 +177 -0
- 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/public/llms.txt +1 -0
- package/styles.css +2 -2
- 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-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-Y36QMGRW.js.map → chunk-LA3N4ST5.js.map} +0 -0
- /package/dist/{chunk-QIPIWJCI.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-5JUZLZBK.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-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
|
@@ -134,20 +134,6 @@ anchor or router link.
|
|
|
134
134
|
</Flex>
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
- [Accessibility](#accessibility)
|
|
138
|
-
- [Disabled buttons](#disabled-buttons)
|
|
139
|
-
- [Variants](#variants)
|
|
140
|
-
- [Colour schemes](#colour-schemes)
|
|
141
|
-
- [Inverted](#inverted)
|
|
142
|
-
- [Size](#size)
|
|
143
|
-
- [Dead prop combinations](#dead-prop-combinations)
|
|
144
|
-
- [With icons](#with-icons)
|
|
145
|
-
- [Semantic HTML](#semantic-html)
|
|
146
|
-
- [Full width button](#full-width-button)
|
|
147
|
-
- [Padding none](#padding-none)
|
|
148
|
-
- [Usage with Next.js](#usage-with-next.js)
|
|
149
|
-
- [API](#api)
|
|
150
|
-
|
|
151
137
|
```tsx
|
|
152
138
|
<Button variant="solid" colorScheme="highlight">
|
|
153
139
|
Button
|
|
@@ -7,16 +7,6 @@ previously completed steps visible and editable. Compose it with
|
|
|
7
7
|
`CardAccordionFooter`/`CardAccordionButton` for step navigation. Requires at
|
|
8
8
|
least one `CardAccordionItem` child.
|
|
9
9
|
|
|
10
|
-
- [Usage](#usage)
|
|
11
|
-
- [Current content](#current-content)
|
|
12
|
-
- [Summary content](#summary-content)
|
|
13
|
-
- [Validation](#validation)
|
|
14
|
-
- [Footer actions](#footer-actions)
|
|
15
|
-
- [Heading levels](#heading-levels)
|
|
16
|
-
- [Accessibility](#accessibility)
|
|
17
|
-
- [Keyboard interactions](#keyboard-interactions)
|
|
18
|
-
- [API](#api)
|
|
19
|
-
|
|
20
10
|
```tsx
|
|
21
11
|
<Box width="600px">
|
|
22
12
|
<CardAccordion>
|
|
@@ -7,17 +7,6 @@ items. Cards are static by default; wrap an interactive child (a link or
|
|
|
7
7
|
button) in `CardInteraction` to make the whole card clickable. For
|
|
8
8
|
highlighting key marketing messaging, use HighlightBanner instead.
|
|
9
9
|
|
|
10
|
-
- [Components](#components)
|
|
11
|
-
- [Alternatives](#alternatives)
|
|
12
|
-
- [Variant](#variant)
|
|
13
|
-
- [Color Scheme](#color-scheme)
|
|
14
|
-
- [Grouping related cards](#grouping-related-cards)
|
|
15
|
-
- [Interactive Cards](#interactive-cards)
|
|
16
|
-
- [Shadow colours](#shadow-colours)
|
|
17
|
-
- [Card Actions](#card-actions)
|
|
18
|
-
- [Banners](#banners)
|
|
19
|
-
- [API](#api)
|
|
20
|
-
|
|
21
10
|
```tsx
|
|
22
11
|
<Card {...args} width="400px" marginX="auto">
|
|
23
12
|
<BodyText size="md">{children}</BodyText>
|
|
@@ -8,7 +8,7 @@ state and layout. If not using the `label` prop, provide an `aria-label` or
|
|
|
8
8
|
`aria-labelledby` so the tile has an accessible name.
|
|
9
9
|
|
|
10
10
|
```tsx
|
|
11
|
-
<CheckboxTile
|
|
11
|
+
<CheckboxTile label="Label" helperText="Helper text" validationText="Validation text" />
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Helper text
|
|
@@ -7,7 +7,7 @@ and layout. If not using the `label` prop, provide an `aria-label` or
|
|
|
7
7
|
`aria-labelledby` so the checkbox has an accessible name.
|
|
8
8
|
|
|
9
9
|
```tsx
|
|
10
|
-
<Checkbox
|
|
10
|
+
<Checkbox label="Label" helperText="Helper text" value="1" validationText="Validation text" />
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Helper text
|
|
@@ -4,13 +4,6 @@ Use Chip to represent an input, attribute, or filter that a user can remove
|
|
|
4
4
|
with a single click. Commonly used to show active filters applied to a list
|
|
5
5
|
of results.
|
|
6
6
|
|
|
7
|
-
- [Usage](#usage)
|
|
8
|
-
- [Removable](#removable)
|
|
9
|
-
- [Disabled](#disabled)
|
|
10
|
-
- [Chip Group](#chip-group)
|
|
11
|
-
- [Accessibility](#accessibility)
|
|
12
|
-
- [API](#api)
|
|
13
|
-
|
|
14
7
|
```tsx
|
|
15
8
|
<Flex gap="200" wrap="wrap">
|
|
16
9
|
<Chip>Default</Chip>
|
|
@@ -28,7 +21,7 @@ the user clicks it.
|
|
|
28
21
|
```
|
|
29
22
|
|
|
30
23
|
```tsx
|
|
31
|
-
<Chip
|
|
24
|
+
<Chip>Label</Chip>
|
|
32
25
|
```
|
|
33
26
|
|
|
34
27
|
## Removable
|
|
@@ -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
|