@transferwise/components 0.0.0-experimental-aa84e4b → 0.0.0-experimental-586f96f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/types/WithId/_stories/source.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/Accordion/{Accordion.story.tsx → _stories/Accordion.story.tsx} +6 -6
- package/src/ActionButton/{ActionButton.story.tsx → _stories/ActionButton.story.tsx} +2 -2
- package/src/ActionButton/{ActionButton.test.story.tsx → _stories/ActionButton.test.story.tsx} +2 -2
- package/src/ActionOption/{ActionOption.story.tsx → _stories/ActionOption.story.tsx} +2 -2
- package/src/Alert/{Alert.story.tsx → _stories/Alert.story.tsx} +5 -5
- package/src/Alert/{Alert.test.story.tsx → _stories/Alert.test.story.tsx} +2 -2
- package/src/Avatar/{Avatar.story.tsx → _stories/Avatar.story.tsx} +3 -3
- package/src/AvatarLayout/{AvatarLayout.story.tsx → _stories/AvatarLayout.story.tsx} +4 -4
- package/src/AvatarLayout/{AvatarLayout.test.story.tsx → _stories/AvatarLayout.test.story.tsx} +1 -1
- package/src/AvatarView/{AvatarView.story.tsx → _stories/AvatarView.story.tsx} +5 -5
- package/src/AvatarView/{AvatarView.test.story.tsx → _stories/AvatarView.test.story.tsx} +4 -4
- package/src/AvatarWrapper/{AvatarWrapper.story.tsx → _stories/AvatarWrapper.story.tsx} +2 -2
- package/src/Badge/{Badge.story.tsx → _stories/Badge.story.tsx} +3 -3
- package/src/Body/{Body.story.tsx → _stories/Body.story.tsx} +4 -4
- package/src/Button/{LegacyButton.story.tsx → _stories/LegacyButton.story.tsx} +2 -2
- package/src/Button/{LegacyButton.test.story.tsx → _stories/LegacyButton.test.story.tsx} +2 -2
- package/src/Calendar/{Calendar.story.tsx → _stories/Calendar.story.tsx} +4 -4
- package/src/Card/{Card.story.tsx → _stories/Card.story.tsx} +1 -1
- package/src/Carousel/{Carousel.story.tsx → _stories/Carousel.story.tsx} +3 -3
- package/src/Checkbox/{Checkbox.story.tsx → _stories/Checkbox.story.tsx} +5 -5
- package/src/Checkbox/{Checkbox.test.story.tsx → _stories/Checkbox.test.story.tsx} +3 -3
- package/src/CheckboxButton/{CheckboxButton.story.tsx → _stories/CheckboxButton.story.tsx} +4 -4
- package/src/CheckboxButton/{CheckboxButton.test.story.tsx → _stories/CheckboxButton.test.story.tsx} +2 -2
- package/src/CheckboxOption/{CheckboxOption.story.tsx → _stories/CheckboxOption.story.tsx} +2 -2
- package/src/Chevron/{Chevron.story.tsx → _stories/Chevron.story.tsx} +2 -2
- package/src/Chips/{Chips.story.tsx → _stories/Chips.story.tsx} +6 -3
- package/src/Chips/{Chips.test.story.tsx → _stories/Chips.test.story.tsx} +2 -2
- package/src/CircularButton/{CircularButton.story.tsx → _stories/CircularButton.story.tsx} +4 -4
- package/src/CircularButton/{CircularButton.test.story.tsx → _stories/CircularButton.test.story.tsx} +4 -4
- package/src/Container/{Container.story.tsx → _stories/Container.story.tsx} +7 -4
- package/src/CriticalBanner/{CriticalCommsBanner.story.tsx → _stories/CriticalCommsBanner.story.tsx} +1 -1
- package/src/CriticalBanner/{CriticalCommsBanner.test.story.tsx → _stories/CriticalCommsBanner.test.story.tsx} +2 -2
- package/src/DateInput/{DateInput.story.tsx → _stories/DateInput.story.tsx} +2 -2
- package/src/DateInput/{DateInput.test.story.tsx → _stories/DateInput.test.story.tsx} +5 -5
- package/src/DateLookup/{DateLookup.story.tsx → _stories/DateLookup.story.tsx} +4 -4
- package/src/DateLookup/{DateLookup.test.story.tsx → _stories/DateLookup.test.story.tsx} +4 -4
- package/src/Decision/{Decision.story.tsx → _stories/Decision.story.tsx} +4 -4
- package/src/DefinitionList/{DefinitionList.story.tsx → _stories/DefinitionList.story.tsx} +9 -6
- package/src/Dimmer/{Dimmer.story.tsx → _stories/Dimmer.story.tsx} +2 -2
- package/src/Display/{Display.story.tsx → _stories/Display.story.tsx} +5 -5
- package/src/Divider/{Divider.story.tsx → _stories/Divider.story.tsx} +2 -2
- package/src/Drawer/{Drawer.story.tsx → _stories/Drawer.story.tsx} +5 -5
- package/src/DropFade/{DropFade.story.tsx → _stories/DropFade.story.tsx} +3 -3
- package/src/Emphasis/{Emphasis.story.tsx → _stories/Emphasis.story.tsx} +2 -2
- package/src/ExpressiveMoneyInput/{ExpressiveMoneyInput.story.tsx → _stories/ExpressiveMoneyInput.story.tsx} +15 -12
- package/src/ExpressiveMoneyInput/{ExpressiveMoneyInput.test.story.tsx → _stories/ExpressiveMoneyInput.test.story.tsx} +1 -1
- package/src/Field/{Field.story.tsx → _stories/Field.story.tsx} +12 -9
- package/src/Field/{Field.test.story.tsx → _stories/Field.test.story.tsx} +3 -3
- package/src/FlowNavigation/{FlowNavigation.story.tsx → _stories/FlowNavigation.story.tsx} +12 -12
- package/src/FlowNavigation/{FlowNavigation.test.story.tsx → _stories/FlowNavigation.test.story.tsx} +5 -5
- package/src/Header/{Header.story.tsx → _stories/Header.story.tsx} +2 -2
- package/src/Header/{Header.test.story.tsx → _stories/Header.test.story.tsx} +2 -2
- package/src/IconButton/{IconButton.story.tsx → _stories/IconButton.story.tsx} +3 -3
- package/src/IconButton/{IconButton.test.story.tsx → _stories/IconButton.test.story.tsx} +3 -3
- package/src/Icons/{Icons.story.tsx → _stories/Icons.story.tsx} +4 -4
- package/src/Image/{Image.story.tsx → _stories/Image.story.tsx} +2 -2
- package/src/Info/{Info.story.tsx → _stories/Info.story.tsx} +4 -4
- package/src/Info/{Info.test.story.tsx → _stories/Info.test.story.tsx} +3 -3
- package/src/InlineAlert/{InlineAlert.story.tsx → _stories/InlineAlert.story.tsx} +3 -3
- package/src/InputWithDisplayFormat/{InputWithDisplayFormat.story.tsx → _stories/InputWithDisplayFormat.story.tsx} +7 -5
- package/src/InputWithDisplayFormat/{InputWithDisplayFormat.test.story.tsx → _stories/InputWithDisplayFormat.test.story.tsx} +2 -2
- package/src/Inputs/{InputGroup.story.tsx → _stories/InputGroup.story.tsx} +10 -7
- package/src/Inputs/{SearchInput.story.tsx → _stories/SearchInput.story.tsx} +4 -4
- package/src/Inputs/{TextArea.story.tsx → _stories/TextArea.story.tsx} +7 -4
- package/src/Inputs/{TextArea.test.story.tsx → _stories/TextArea.test.story.tsx} +2 -2
- package/src/InstructionsList/{InstructionsList.story.tsx → _stories/InstructionsList.story.tsx} +6 -5
- package/src/Label/{Label.story.tsx → _stories/Label.story.tsx} +3 -3
- package/src/LegacyListItem/{LegacyListItem.story.tsx → _stories/LegacyListItem.story.tsx} +5 -5
- package/src/LegacyListItem/{LegacyListItem.test.story.tsx → _stories/LegacyListItem.test.story.tsx} +4 -4
- package/src/Link/{Link.story.tsx → _stories/Link.story.tsx} +6 -6
- package/src/List/{List.story.tsx → _stories/List.story.tsx} +3 -3
- package/src/ListItem/AdditionalInfo/{ListItemAdditionalInfo.story.tsx → _stories/ListItemAdditionalInfo.story.tsx} +7 -7
- package/src/ListItem/AvatarLayout/{ListItemAvatarLayout.story.tsx → _stories/ListItemAvatarLayout.story.tsx} +6 -6
- package/src/ListItem/AvatarView/{ListItemAvatarView.story.tsx → _stories/ListItemAvatarView.story.tsx} +7 -7
- package/src/ListItem/Button/{ListItemButton.story.tsx → _stories/ListItemButton.story.tsx} +5 -5
- package/src/ListItem/Checkbox/{ListItemCheckbox.story.tsx → _stories/ListItemCheckbox.story.tsx} +4 -4
- package/src/ListItem/IconButton/{ListItemIconButton.story.tsx → _stories/ListItemIconButton.story.tsx} +5 -5
- package/src/ListItem/Image/{ListItemImage.story.tsx → _stories/ListItemImage.story.tsx} +6 -6
- package/src/ListItem/Navigation/{ListItemNavigation.story.tsx → _stories/ListItemNavigation.story.tsx} +4 -6
- package/src/ListItem/Prompt/{ListItemPrompt.story.tsx → _stories/ListItemPrompt.story.tsx} +9 -9
- package/src/ListItem/Radio/{ListItemRadio.story.tsx → _stories/ListItemRadio.story.tsx} +6 -5
- package/src/ListItem/Switch/{ListItemSwitch.story.tsx → _stories/ListItemSwitch.story.tsx} +6 -6
- package/src/Loader/{Loader.story.tsx → _stories/Loader.story.tsx} +2 -2
- package/src/Logo/{Logo.story.tsx → _stories/Logo.story.tsx} +5 -5
- package/src/Logo/{Logo.test.story.tsx → _stories/Logo.test.story.tsx} +5 -5
- package/src/Markdown/{Markdown.story.tsx → _stories/Markdown.story.tsx} +2 -2
- package/src/Modal/{Modal.story.tsx → _stories/Modal.story.tsx} +4 -4
- package/src/Modal/{Modal.test.story.tsx → _stories/Modal.test.story.tsx} +4 -4
- package/src/Money/{Money.story.tsx → _stories/Money.story.tsx} +2 -2
- package/src/MoneyInput/{MoneyInput.story.tsx → _stories/MoneyInput.story.tsx} +8 -5
- package/src/MoneyInput/{MoneyInput.test.story.tsx → _stories/MoneyInput.test.story.tsx} +5 -5
- package/src/NavigationOption/{NavigationOption.story.tsx → _stories/NavigationOption.story.tsx} +3 -3
- package/src/NavigationOptionsList/{NavigationOptionsList.story.tsx → _stories/NavigationOptionsList.story.tsx} +2 -2
- package/src/Nudge/{Nudge.story.tsx → _stories/Nudge.story.tsx} +6 -3
- package/src/OverlayHeader/{OverlayHeader.story.tsx → _stories/OverlayHeader.story.tsx} +8 -5
- package/src/PhoneNumberInput/{PhoneNumberInput.story.tsx → _stories/PhoneNumberInput.story.tsx} +6 -3
- package/src/PocketSurface/{PocketSurface.story.tsx → _stories/PocketSurface.story.tsx} +7 -5
- package/src/Popover/{Popover.story.tsx → _stories/Popover.story.tsx} +7 -4
- package/src/Popover/{Popover.test.story.tsx → _stories/Popover.test.story.tsx} +4 -4
- package/src/ProcessIndicator/{ProcessIndicator.story.tsx → _stories/ProcessIndicator.story.tsx} +3 -3
- package/src/Progress/{Progress.story.tsx → _stories/Progress.story.tsx} +2 -2
- package/src/ProgressBar/{ProgressBar.story.tsx → _stories/ProgressBar.story.tsx} +3 -3
- package/src/PromoCard/{PromoCard.story.tsx → _stories/PromoCard.story.tsx} +2 -2
- package/src/PromoCard/{PromoCardGroup.story.tsx → _stories/PromoCardGroup.story.tsx} +3 -3
- package/src/Prompt/ActionPrompt/{ActionPrompt.story.tsx → _stories/ActionPrompt.story.tsx} +5 -5
- package/src/Prompt/ActionPrompt/{ActionPrompt.test.story.tsx → _stories/ActionPrompt.test.story.tsx} +5 -5
- package/src/Prompt/CriticalBanner/{CriticalBanner.story.tsx → _stories/CriticalBanner.story.tsx} +3 -3
- package/src/Prompt/CriticalBanner/{CriticalBanner.test.story.tsx → _stories/CriticalBanner.test.story.tsx} +3 -3
- package/src/Prompt/InfoPrompt/{InfoPrompt.story.tsx → _stories/InfoPrompt.story.tsx} +6 -6
- package/src/Prompt/InfoPrompt/{InfoPrompt.test.story.tsx → _stories/InfoPrompt.test.story.tsx} +3 -3
- package/src/Prompt/InlinePrompt/{InlinePrompt.story.tsx → _stories/InlinePrompt.story.tsx} +4 -4
- package/src/Prompt/InlinePrompt/{InlinePrompt.test.story.tsx → _stories/InlinePrompt.test.story.tsx} +2 -2
- package/src/Provider/{Provider.story.tsx → _stories/Provider.story.tsx} +2 -2
- package/src/Provider/theme/{ThemeProvider.story.tsx → _stories/ThemeProvider.story.tsx} +9 -9
- package/src/Radio/{Radio.story.tsx → _stories/Radio.story.tsx} +3 -3
- package/src/RadioGroup/{RadioGroup.story.tsx → _stories/RadioGroup.story.tsx} +7 -4
- package/src/RadioGroup/{RadioGroup.test.story.tsx → _stories/RadioGroup.test.story.tsx} +2 -2
- package/src/RadioOption/{RadioOption.story.tsx → _stories/RadioOption.story.tsx} +2 -2
- package/src/Section/{Section.story.tsx → _stories/Section.story.tsx} +9 -6
- package/src/SegmentedControl/{SegmentedControl.story.tsx → _stories/SegmentedControl.story.tsx} +3 -3
- package/src/Select/{Select.story.tsx → _stories/Select.story.tsx} +1 -1
- package/src/Select/{Select.test.story.tsx → _stories/Select.test.story.tsx} +2 -2
- package/src/SentimentSurface/{SentimentSurface.story.tsx → _stories/SentimentSurface.story.tsx} +12 -10
- package/src/SentimentSurface/{SentimentSurface.test.story.tsx → _stories/SentimentSurface.test.story.tsx} +3 -3
- package/src/SlidingPanel/{SlidingPanel.story.tsx → _stories/SlidingPanel.story.tsx} +3 -3
- package/src/Snackbar/{Snackbar.story.tsx → _stories/Snackbar.story.tsx} +6 -6
- package/src/Snackbar/{Snackbar.test.story.tsx → _stories/Snackbar.test.story.tsx} +7 -7
- package/src/StatusIcon/{StatusIcon.story.tsx → _stories/StatusIcon.story.tsx} +4 -4
- package/src/StatusIcon/{StatusIcon.test.story.tsx → _stories/StatusIcon.test.story.tsx} +4 -5
- package/src/Stepper/{Stepper.story.tsx → _stories/Stepper.story.tsx} +2 -2
- package/src/Stepper/{Stepper.test.story.tsx → _stories/Stepper.test.story.tsx} +1 -1
- package/src/Sticky/{Sticky.story.tsx → _stories/Sticky.story.tsx} +3 -3
- package/src/Summary/{Summary.story.tsx → _stories/Summary.story.tsx} +3 -4
- package/src/Summary/{Summary.test.story.tsx → _stories/Summary.test.story.tsx} +2 -2
- package/src/Switch/{Switch.story.tsx → _stories/Switch.story.tsx} +8 -5
- package/src/Switch/{Switch.test.story.tsx → _stories/Switch.test.story.tsx} +3 -3
- package/src/SwitchOption/{SwitchOption.story.tsx → _stories/SwitchOption.story.tsx} +2 -2
- package/src/Table/{Table.story.tsx → _stories/Table.story.tsx} +4 -4
- package/src/Tabs/{Tabs.story.tsx → _stories/Tabs.story.tsx} +3 -3
- package/src/TextareaWithDisplayFormat/{TextareaWithDisplayFormat.story.tsx → _stories/TextareaWithDisplayFormat.story.tsx} +6 -3
- package/src/Tile/{Tile.story.tsx → _stories/Tile.story.tsx} +5 -5
- package/src/Title/{Title.story.tsx → _stories/Title.story.tsx} +3 -3
- package/src/Title/{Title.test.story.tsx → _stories/Title.test.story.tsx} +3 -3
- package/src/Tooltip/{Tooltip.story.tsx → _stories/Tooltip.story.tsx} +3 -3
- package/src/Tooltip/{Tooltip.test.story.tsx → _stories/Tooltip.test.story.tsx} +3 -3
- package/src/Typeahead/{Typeahead.story.tsx → _stories/Typeahead.story.tsx} +11 -8
- package/src/Typeahead/{Typeahead.test.story.tsx → _stories/Typeahead.test.story.tsx} +3 -3
- package/src/Upload/{Upload.story.tsx → _stories/Upload.story.tsx} +3 -3
- package/src/Upload/{Upload.test.story.tsx → _stories/Upload.test.story.tsx} +2 -2
- package/src/UploadInput/{UploadInput.story.tsx → _stories/UploadInput.story.tsx} +7 -4
- package/src/UploadInput/{UploadInput.test.story.tsx → _stories/UploadInput.test.story.tsx} +3 -3
- package/src/WithId/{withId.docs.mdx → _stories/withId.docs.mdx} +1 -1
- package/src/WithId/{withId.story.tsx → _stories/withId.story.tsx} +1 -1
- package/src/{DisabledComponents.test.story.tsx → _stories/DisabledComponents.test.story.tsx} +7 -7
- package/src/common/BaseCard/{BaseCard.story.tsx → _stories/BaseCard.story.tsx} +7 -7
- package/src/common/BottomSheet/{BottomSheet.story.tsx → _stories/BottomSheet.story.tsx} +8 -8
- package/src/common/BottomSheet/{BottomSheet.test.story.tsx → _stories/BottomSheet.test.story.tsx} +9 -9
- package/src/common/Circle/{Circle.story.tsx → _stories/Circle.story.tsx} +4 -5
- package/build/types/WithId/story/source.d.ts.map +0 -1
- /package/build/types/WithId/{story → _stories}/source.d.ts +0 -0
- /package/src/Divider/{Divider.accessibility.docs.mdx → _stories/Divider.accessibility.docs.mdx} +0 -0
- /package/src/ExpressiveMoneyInput/{ExpressiveMoneyInput.autofocus.docs.mdx → _stories/ExpressiveMoneyInput.autofocus.docs.mdx} +0 -0
- /package/src/Header/{Header.accessibility.docs.mdx → _stories/Header.accessibility.docs.mdx} +0 -0
- /package/src/MoneyInput/{MoneyInput.docs.mdx → _stories/MoneyInput.docs.mdx} +0 -0
- /package/src/PocketSurface/{PocketSurface.docs.mdx → _stories/PocketSurface.docs.mdx} +0 -0
- /package/src/Primitives/PrimitiveAnchor/{stories → _stories}/PrimitiveAnchor.story.tsx +0 -0
- /package/src/Primitives/PrimitiveAnchor/{stories → _stories}/PrimitiveAnchor.test.story.tsx +0 -0
- /package/src/Primitives/PrimitiveButton/{stories → _stories}/PrimitiveButton.story.tsx +0 -0
- /package/src/Primitives/PrimitiveButton/{stories → _stories}/PrimitiveButton.test.story.tsx +0 -0
- /package/src/Prompt/ActionPrompt/{ActionPrompt.accessibility.docs.mdx → _stories/ActionPrompt.accessibility.docs.mdx} +0 -0
- /package/src/Prompt/CriticalBanner/{CriticalBanner.accessibility.docs.mdx → _stories/CriticalBanner.accessibility.docs.mdx} +0 -0
- /package/src/Prompt/InfoPrompt/{InfoPrompt.accessibility.docs.mdx → _stories/InfoPrompt.accessibility.docs.mdx} +0 -0
- /package/src/Prompt/InlinePrompt/{InlinePrompt.accessibility.docs.mdx → _stories/InlinePrompt.accessibility.docs.mdx} +0 -0
- /package/src/SentimentSurface/{SentimentSurface.docs.mdx → _stories/SentimentSurface.docs.mdx} +0 -0
- /package/src/StatusIcon/{StatusIcon.docs.mdx → _stories/StatusIcon.docs.mdx} +0 -0
- /package/src/WithId/{story → _stories}/source.tsx +0 -0
package/src/{DisabledComponents.test.story.tsx → _stories/DisabledComponents.test.story.tsx}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
2
|
import { useState } from 'react';
|
|
3
3
|
|
|
4
|
-
import { Input } from '
|
|
5
|
-
import { SelectInput, SelectInputOptionContent } from '
|
|
6
|
-
import DateInput from '
|
|
7
|
-
import PhoneNumberInput from '
|
|
8
|
-
import { Field } from '
|
|
9
|
-
import Checkbox from '
|
|
10
|
-
import Body from '
|
|
4
|
+
import { Input } from '../Inputs/Input';
|
|
5
|
+
import { SelectInput, SelectInputOptionContent } from '../Inputs/SelectInput';
|
|
6
|
+
import DateInput from '../DateInput';
|
|
7
|
+
import PhoneNumberInput from '../PhoneNumberInput';
|
|
8
|
+
import { Field } from '../Field/Field';
|
|
9
|
+
import Checkbox from '../Checkbox';
|
|
10
|
+
import Body from '../Body';
|
|
11
11
|
|
|
12
12
|
export default {
|
|
13
13
|
title: 'Forms/Disabled/Tests/Disabled Forms',
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
|
|
3
|
+
import { lorem10 } from '../../../test-utils';
|
|
4
|
+
import Title from '../../../Title';
|
|
5
|
+
import { Typography } from '../../PropsValues/typography';
|
|
6
|
+
|
|
7
|
+
import BaseCard from '..';
|
|
2
8
|
import {
|
|
3
9
|
createSandboxStory,
|
|
4
10
|
globalScope,
|
|
5
|
-
} from '
|
|
6
|
-
|
|
7
|
-
import { lorem10 } from '../../test-utils';
|
|
8
|
-
import Title from '../../Title';
|
|
9
|
-
import { Typography } from '../PropsValues/typography';
|
|
10
|
-
|
|
11
|
-
import BaseCard from '.';
|
|
11
|
+
} from '../../../../.storybook/components/sandbox/SandboxEditor';
|
|
12
12
|
|
|
13
13
|
const meta: Meta<typeof BaseCard> = {
|
|
14
14
|
component: BaseCard,
|
|
@@ -2,17 +2,17 @@ import { action } from 'storybook/actions';
|
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
3
3
|
import { FastFlag } from '@transferwise/icons';
|
|
4
4
|
import { useState } from 'react';
|
|
5
|
+
import Button from '../../../Button';
|
|
6
|
+
import { lorem10 } from '../../../test-utils';
|
|
7
|
+
import Title from '../../../Title/Title';
|
|
8
|
+
import { Typography } from '../../PropsValues/typography';
|
|
9
|
+
|
|
10
|
+
import BottomSheet from '../BottomSheet';
|
|
11
|
+
import ListItem from '../../../ListItem';
|
|
5
12
|
import {
|
|
6
13
|
createSandboxStory,
|
|
7
14
|
globalScope,
|
|
8
|
-
} from '
|
|
9
|
-
import Button from '../../Button';
|
|
10
|
-
import { lorem10 } from '../../test-utils';
|
|
11
|
-
import Title from '../../Title/Title';
|
|
12
|
-
import { Typography } from '../PropsValues/typography';
|
|
13
|
-
|
|
14
|
-
import BottomSheet from './BottomSheet';
|
|
15
|
-
import ListItem from '../../ListItem';
|
|
15
|
+
} from '../../../../.storybook/components/sandbox/SandboxEditor';
|
|
16
16
|
|
|
17
17
|
export default {
|
|
18
18
|
component: BottomSheet,
|
package/src/common/BottomSheet/{BottomSheet.test.story.tsx → _stories/BottomSheet.test.story.tsx}
RENAMED
|
@@ -3,15 +3,15 @@ import { useState } from 'react';
|
|
|
3
3
|
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
4
4
|
import { fireEvent, within } from 'storybook/test';
|
|
5
5
|
import { FastFlag } from '@transferwise/icons';
|
|
6
|
-
import { lorem10, lorem100, lorem500 } from '
|
|
7
|
-
import { Typography } from '
|
|
8
|
-
import { InfoPrompt } from '
|
|
9
|
-
import Body from '
|
|
10
|
-
import Button from '
|
|
11
|
-
import Title from '
|
|
12
|
-
import ListItem from '
|
|
13
|
-
import BottomSheet from '
|
|
14
|
-
import { withVariantConfig } from '
|
|
6
|
+
import { lorem10, lorem100, lorem500 } from '../../../test-utils';
|
|
7
|
+
import { Typography } from '../../PropsValues/typography';
|
|
8
|
+
import { InfoPrompt } from '../../../Prompt/InfoPrompt';
|
|
9
|
+
import Body from '../../../Body';
|
|
10
|
+
import Button from '../../../Button';
|
|
11
|
+
import Title from '../../../Title';
|
|
12
|
+
import ListItem from '../../../ListItem';
|
|
13
|
+
import BottomSheet from '../BottomSheet';
|
|
14
|
+
import { withVariantConfig } from '../../../../.storybook/helpers';
|
|
15
15
|
|
|
16
16
|
const wait = async (duration = 500) =>
|
|
17
17
|
new Promise<void>((resolve) => {
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
-
import Circle from '
|
|
2
|
+
import Circle, { CircleProps } from '..';
|
|
3
3
|
import { Person } from '@transferwise/icons';
|
|
4
4
|
import {
|
|
5
5
|
createSandboxStory,
|
|
6
6
|
globalScope,
|
|
7
|
-
} from '
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { withVariantConfig } from '../../../.storybook/helpers';
|
|
7
|
+
} from '../../../../.storybook/components/sandbox/SandboxEditor';
|
|
8
|
+
import Body from '../../../Body';
|
|
9
|
+
import { withVariantConfig } from '../../../../.storybook/helpers';
|
|
11
10
|
|
|
12
11
|
export default {
|
|
13
12
|
title: 'Internal/Circle',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../../src/WithId/story/source.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,omBAqBxB,CAAC"}
|
|
File without changes
|
/package/src/Divider/{Divider.accessibility.docs.mdx → _stories/Divider.accessibility.docs.mdx}
RENAMED
|
File without changes
|
|
File without changes
|
/package/src/Header/{Header.accessibility.docs.mdx → _stories/Header.accessibility.docs.mdx}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/src/SentimentSurface/{SentimentSurface.docs.mdx → _stories/SentimentSurface.docs.mdx}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|