@transferwise/components 46.159.0 → 46.159.2
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/i18n/cs.json +5 -0
- package/build/i18n/cs.json.js +5 -0
- package/build/i18n/cs.json.js.map +1 -1
- package/build/i18n/cs.json.mjs +5 -0
- package/build/i18n/cs.json.mjs.map +1 -1
- package/build/i18n/de.json +5 -0
- package/build/i18n/de.json.js +5 -0
- package/build/i18n/de.json.js.map +1 -1
- package/build/i18n/de.json.mjs +5 -0
- package/build/i18n/de.json.mjs.map +1 -1
- package/build/i18n/es.json +5 -0
- package/build/i18n/es.json.js +5 -0
- package/build/i18n/es.json.js.map +1 -1
- package/build/i18n/es.json.mjs +5 -0
- package/build/i18n/es.json.mjs.map +1 -1
- package/build/i18n/fr.json +5 -0
- package/build/i18n/fr.json.js +5 -0
- package/build/i18n/fr.json.js.map +1 -1
- package/build/i18n/fr.json.mjs +5 -0
- package/build/i18n/fr.json.mjs.map +1 -1
- package/build/i18n/hu.json +5 -0
- package/build/i18n/hu.json.js +5 -0
- package/build/i18n/hu.json.js.map +1 -1
- package/build/i18n/hu.json.mjs +5 -0
- package/build/i18n/hu.json.mjs.map +1 -1
- package/build/i18n/id.json +5 -0
- package/build/i18n/id.json.js +5 -0
- package/build/i18n/id.json.js.map +1 -1
- package/build/i18n/id.json.mjs +5 -0
- package/build/i18n/id.json.mjs.map +1 -1
- package/build/i18n/it.json +5 -0
- package/build/i18n/it.json.js +5 -0
- package/build/i18n/it.json.js.map +1 -1
- package/build/i18n/it.json.mjs +5 -0
- package/build/i18n/it.json.mjs.map +1 -1
- package/build/i18n/ja.json +5 -0
- package/build/i18n/ja.json.js +5 -0
- package/build/i18n/ja.json.js.map +1 -1
- package/build/i18n/ja.json.mjs +5 -0
- package/build/i18n/ja.json.mjs.map +1 -1
- package/build/i18n/nl.json +5 -0
- package/build/i18n/nl.json.js +5 -0
- package/build/i18n/nl.json.js.map +1 -1
- package/build/i18n/nl.json.mjs +5 -0
- package/build/i18n/nl.json.mjs.map +1 -1
- package/build/i18n/pl.json +5 -0
- package/build/i18n/pl.json.js +5 -0
- package/build/i18n/pl.json.js.map +1 -1
- package/build/i18n/pl.json.mjs +5 -0
- package/build/i18n/pl.json.mjs.map +1 -1
- package/build/i18n/pt.json +5 -0
- package/build/i18n/pt.json.js +5 -0
- package/build/i18n/pt.json.js.map +1 -1
- package/build/i18n/pt.json.mjs +5 -0
- package/build/i18n/pt.json.mjs.map +1 -1
- package/build/i18n/ro.json +5 -0
- package/build/i18n/ro.json.js +5 -0
- package/build/i18n/ro.json.js.map +1 -1
- package/build/i18n/ro.json.mjs +5 -0
- package/build/i18n/ro.json.mjs.map +1 -1
- package/build/i18n/ru.json +5 -0
- package/build/i18n/ru.json.js +5 -0
- package/build/i18n/ru.json.js.map +1 -1
- package/build/i18n/ru.json.mjs +5 -0
- package/build/i18n/ru.json.mjs.map +1 -1
- package/build/i18n/th.json +5 -0
- package/build/i18n/th.json.js +5 -0
- package/build/i18n/th.json.js.map +1 -1
- package/build/i18n/th.json.mjs +5 -0
- package/build/i18n/th.json.mjs.map +1 -1
- package/build/i18n/uk.json +5 -0
- package/build/i18n/uk.json.js +5 -0
- package/build/i18n/uk.json.js.map +1 -1
- package/build/i18n/uk.json.mjs +5 -0
- package/build/i18n/uk.json.mjs.map +1 -1
- package/build/i18n/zh-HK.json +5 -0
- package/build/i18n/zh-HK.json.js +5 -0
- package/build/i18n/zh-HK.json.js.map +1 -1
- package/build/i18n/zh-HK.json.mjs +5 -0
- package/build/i18n/zh-HK.json.mjs.map +1 -1
- package/build/main.css +4 -4104
- package/build/styles/ListItem/ListItem.css +1 -0
- package/build/styles/PocketSurface/PocketSurface.css +2 -11
- package/build/styles/SentimentSurface/SentimentSurface.css +0 -23
- package/build/styles/css/neptune-addons.css +1841 -0
- package/build/styles/css/neptune-core.css +2092 -0
- package/build/styles/css/neptune.css +0 -2821
- package/build/styles/main.css +4 -4104
- package/build/styles/styles/less/neptune-addons.css +1841 -0
- package/build/styles/styles/less/neptune-core.css +2092 -0
- package/build/styles/styles/less/neptune.css +0 -2821
- package/build/types/ListItem/_stories/variants/helpers.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/Accordion/_stories/Accordion.test.story.tsx +71 -0
- package/src/AvatarLayout/_stories/AvatarLayout.test.story.tsx +64 -0
- package/src/AvatarView/_stories/AvatarView.test.story.tsx +151 -0
- package/src/Button/LegacyButton/_stories/LegacyButton.test.story.tsx +22 -0
- package/src/Button/_stories/Button.test.story.tsx +65 -0
- package/src/Calendar/_stories/Calendar.test.story.tsx +73 -24
- package/src/Carousel/_stories/Carousel.test.story.tsx +59 -0
- package/src/Checkbox/_stories/Checkbox.test.story.tsx +20 -0
- package/src/CheckboxButton/_stories/CheckboxButton.test.story.tsx +17 -37
- package/src/Chevron/_stories/Chevron.test.story.tsx +26 -0
- package/src/Chips/_stories/Chips.test.story.tsx +39 -34
- package/src/CircularButton/_stories/CircularButton.test.story.tsx +0 -68
- package/src/DateInput/_stories/DateInput.test.story.tsx +13 -0
- package/src/DateLookup/_stories/DateLookup.rtl.test.story.tsx +88 -0
- package/src/Decision/_stories/Decision.test.story.tsx +79 -0
- package/src/DefinitionList/_stories/DefinitionList.test.story.tsx +54 -1
- package/src/Drawer/_stories/Drawer.rtl.test.story.tsx +58 -0
- package/src/ExpressiveMoneyInput/_stories/ExpressiveMoneyInput.rtl.test.story.tsx +118 -0
- package/src/Field/_stories/Field.test.story.tsx +46 -0
- package/src/FlowNavigation/AnimatedLabel/AnimatedLabel.less +0 -1
- package/src/FlowNavigation/_stories/FlowNavigation.test.story.tsx +44 -0
- package/src/Header/_stories/Header.test.story.tsx +27 -0
- package/src/Info/_stories/Info.rtl.test.story.tsx +64 -0
- package/src/Inputs/SelectInput/_stories/SelectInput.rtl.test.story.tsx +135 -0
- package/src/Inputs/_stories/InputGroup.test.story.tsx +69 -0
- package/src/Inputs/_stories/SearchInput.test.story.tsx +32 -0
- package/src/Inputs/_stories/TextArea.test.story.tsx +27 -0
- package/src/InstructionsList/_stories/InstructionsList.test.story.tsx +30 -0
- package/src/Label/_stories/Label.test.story.tsx +36 -0
- package/src/Link/_stories/Link.test.story.tsx +26 -0
- package/src/ListItem/ListItem.css +1 -0
- package/src/ListItem/_stories/{variants/ListItem.rtl.test.story.tsx → ListItem.rtl.test.story.tsx} +6 -10
- package/src/ListItem/_stories/variants/helpers.tsx +2 -6
- package/src/Logo/_stories/Logo.test.story.tsx +44 -0
- package/src/Modal/_stories/Modal.rtl.test.story.tsx +59 -0
- package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +88 -0
- package/src/Nudge/_stories/Nudge.test.story.tsx +37 -0
- package/src/PhoneNumberInput/_stories/PhoneNumberInput.test.story.tsx +44 -0
- package/src/PocketSurface/PocketSurface.css +2 -11
- package/src/PocketSurface/PocketSurface.less +1 -1
- package/src/Popover/_stories/Popover.rtl.test.story.tsx +96 -0
- package/src/Progress/_stories/Progress.test.story.tsx +27 -0
- package/src/ProgressBar/_stories/ProgressBar.test.story.tsx +33 -0
- package/src/PromoCard/_stories/PromoCard.test.story.tsx +42 -0
- package/src/PromoCard/_stories/PromoCardGroup.test.story.tsx +51 -0
- package/src/Prompt/ActionPrompt/_stories/ActionPrompt.test.story.tsx +42 -1
- package/src/Prompt/CriticalBanner/_stories/CriticalBanner.test.story.tsx +34 -31
- package/src/Prompt/InfoPrompt/_stories/InfoPrompt.test.story.tsx +25 -0
- package/src/Prompt/InlinePrompt/_stories/InlinePrompt.test.story.tsx +27 -0
- package/src/Radio/_stories/Radio.test.story.tsx +61 -0
- package/src/RadioGroup/_stories/RadioGroup.test.story.tsx +56 -0
- package/src/Section/_stories/Section.test.story.tsx +29 -0
- package/src/SegmentedControl/_stories/SegmentedControl.test.story.tsx +45 -0
- package/src/SentimentSurface/SentimentSurface.css +0 -23
- package/src/SlidingPanel/_stories/SlidingPanel.rtl.test.story.tsx +70 -0
- package/src/Snackbar/_stories/Snackbar.rtl.test.story.tsx +45 -0
- package/src/Snackbar/_stories/Snackbar.test.story.tsx +0 -31
- package/src/Stepper/_stories/Stepper.test.story.tsx +17 -0
- package/src/Switch/_stories/Switch.test.story.tsx +20 -26
- package/src/Table/_stories/Table.test.story.tsx +104 -0
- package/src/Tabs/_stories/Tabs.test.story.tsx +72 -0
- package/src/TextareaWithDisplayFormat/_stories/TextareaWithDisplayFormat.test.story.tsx +48 -0
- package/src/Tooltip/_stories/Tooltip.rtl.test.story.tsx +79 -0
- package/src/Typeahead/_stories/Typeahead.rtl.test.story.tsx +90 -0
- package/src/Upload/_stories/Upload.rtl.test.story.tsx +53 -0
- package/src/UploadInput/_stories/UploadInput.test.story.tsx +47 -0
- package/src/_deprecated/Alert/_stories/Alert.test.story.tsx +28 -1
- package/src/_deprecated/Card/_stories/Card.test.story.tsx +38 -0
- package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +18 -0
- package/src/_deprecated/InlineAlert/_stories/InlineAlert.test.story.tsx +26 -0
- package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +42 -0
- package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +71 -0
- package/src/common/BottomSheet/_stories/BottomSheet.test.story.tsx +23 -0
- package/src/i18n/cs.json +5 -0
- package/src/i18n/de.json +5 -0
- package/src/i18n/es.json +5 -0
- package/src/i18n/fr.json +5 -0
- package/src/i18n/hu.json +5 -0
- package/src/i18n/id.json +5 -0
- package/src/i18n/it.json +5 -0
- package/src/i18n/ja.json +5 -0
- package/src/i18n/nl.json +5 -0
- package/src/i18n/pl.json +5 -0
- package/src/i18n/pt.json +5 -0
- package/src/i18n/ro.json +5 -0
- package/src/i18n/ru.json +5 -0
- package/src/i18n/th.json +5 -0
- package/src/i18n/uk.json +5 -0
- package/src/i18n/zh-HK.json +5 -0
- package/src/main.css +4 -4104
- package/src/styles/less/alerts.less +1 -2
- package/src/styles/less/neptune-addons.css +1841 -0
- package/src/styles/less/neptune-addons.less +4 -0
- package/src/styles/less/neptune-core.css +2092 -0
- package/src/styles/less/neptune-core.less +4 -0
- package/src/styles/less/neptune.bundle.less +11 -11
- package/src/styles/less/neptune.css +0 -2821
|
@@ -5,6 +5,7 @@ import { Status } from '../../common';
|
|
|
5
5
|
import UploadInput, { UploadInputProps } from '../UploadInput';
|
|
6
6
|
import { UploadedFile, UploadResponse } from '../types';
|
|
7
7
|
import { userEvent } from 'storybook/test';
|
|
8
|
+
import { withRTLDiff } from '../../../.storybook/decorators/RtlDiffDecorator';
|
|
8
9
|
|
|
9
10
|
const meta: Meta<typeof UploadInput> = {
|
|
10
11
|
title: 'Forms/UploadInput/Tests',
|
|
@@ -300,3 +301,49 @@ export const DeletingBottom: Story = {
|
|
|
300
301
|
await triggerModalAndConfirm();
|
|
301
302
|
},
|
|
302
303
|
};
|
|
304
|
+
|
|
305
|
+
const noOpUpload = async () => ({ id: 'upload-1' });
|
|
306
|
+
const noOpDelete = async () => {};
|
|
307
|
+
|
|
308
|
+
const mixedFiles = [
|
|
309
|
+
{ id: 'file-1', filename: 'document-front.pdf', url: '#' },
|
|
310
|
+
{ id: 'file-2', filename: 'succeeded-file.pdf', url: '#' },
|
|
311
|
+
{ id: 'file-3', filename: 'failed-file.png', status: Status.FAILED },
|
|
312
|
+
{ id: 'file-4', filename: 'valid-document.pdf', url: '#' },
|
|
313
|
+
{
|
|
314
|
+
id: 'file-5',
|
|
315
|
+
filename: 'too-large-image.png',
|
|
316
|
+
status: Status.FAILED,
|
|
317
|
+
errors: [
|
|
318
|
+
'File size exceeds the 5MB limit',
|
|
319
|
+
'Please compress the image or choose a smaller file',
|
|
320
|
+
'Supported formats: JPG, PNG under 5MB',
|
|
321
|
+
],
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
id: 'file-6',
|
|
325
|
+
filename: 'corrupted-file.pdf',
|
|
326
|
+
status: Status.FAILED,
|
|
327
|
+
error: 'File could not be processed',
|
|
328
|
+
},
|
|
329
|
+
];
|
|
330
|
+
|
|
331
|
+
export const RTLDiff: Story = {
|
|
332
|
+
render: () => (
|
|
333
|
+
<>
|
|
334
|
+
<UploadInput onUploadFile={noOpUpload} />
|
|
335
|
+
<UploadInput
|
|
336
|
+
files={[{ id: 'file-s', filename: 'single-upload.pdf', url: '#' }]}
|
|
337
|
+
onUploadFile={noOpUpload}
|
|
338
|
+
onDeleteFile={noOpDelete}
|
|
339
|
+
/>
|
|
340
|
+
<UploadInput
|
|
341
|
+
multiple
|
|
342
|
+
files={mixedFiles}
|
|
343
|
+
onUploadFile={noOpUpload}
|
|
344
|
+
onDeleteFile={noOpDelete}
|
|
345
|
+
/>
|
|
346
|
+
</>
|
|
347
|
+
),
|
|
348
|
+
...withRTLDiff(),
|
|
349
|
+
};
|
|
@@ -2,7 +2,8 @@ import { useState } from 'react';
|
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
3
3
|
import { userEvent, within, expect, waitFor } from 'storybook/test';
|
|
4
4
|
import { Button, Field, SelectInput, Sentiment } from '../../..';
|
|
5
|
-
import Alert, { type AlertProps } from '../Alert';
|
|
5
|
+
import Alert, { type AlertProps, AlertArrowPosition } from '../Alert';
|
|
6
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
6
7
|
|
|
7
8
|
const meta = {
|
|
8
9
|
title: 'Prompts/Alert/Tests',
|
|
@@ -131,3 +132,29 @@ export const MultipleDynamicAlerts: Story = {
|
|
|
131
132
|
);
|
|
132
133
|
},
|
|
133
134
|
};
|
|
135
|
+
|
|
136
|
+
export const RTLDiff: Story = {
|
|
137
|
+
render: () => (
|
|
138
|
+
<>
|
|
139
|
+
<Alert message="Basic alert without dismiss button." />
|
|
140
|
+
<Alert message="Alert with dismiss button." onDismiss={() => {}} />
|
|
141
|
+
<Alert
|
|
142
|
+
title="With title and link action"
|
|
143
|
+
message="Alert with a link action and dismiss."
|
|
144
|
+
action={{ href: '#', text: 'Read more' }}
|
|
145
|
+
onDismiss={() => {}}
|
|
146
|
+
/>
|
|
147
|
+
<Alert
|
|
148
|
+
title="With title and button action"
|
|
149
|
+
message="Alert with a button action."
|
|
150
|
+
action={{ onClick: () => {}, text: 'Open', as: 'button' }}
|
|
151
|
+
onDismiss={() => {}}
|
|
152
|
+
/>
|
|
153
|
+
<Alert message="Arrow top left." arrow={AlertArrowPosition.TOP_LEFT} />
|
|
154
|
+
<Alert message="Arrow top right." arrow={AlertArrowPosition.TOP_RIGHT} />
|
|
155
|
+
<Alert message="Arrow bottom left." arrow={AlertArrowPosition.BOTTOM_LEFT} />
|
|
156
|
+
<Alert message="Arrow bottom right." arrow={AlertArrowPosition.BOTTOM_RIGHT} />
|
|
157
|
+
</>
|
|
158
|
+
),
|
|
159
|
+
...withRTLDiff(),
|
|
160
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import { FastFlag as FastFlagIcon } from '@transferwise/icons';
|
|
3
|
+
|
|
4
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
5
|
+
import Card from '..';
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
component: Card,
|
|
9
|
+
title: 'Layouts/Card/Tests',
|
|
10
|
+
tags: ['!autodocs', '!manifest'],
|
|
11
|
+
} satisfies Meta<typeof Card>;
|
|
12
|
+
|
|
13
|
+
type Story = StoryObj<typeof Card>;
|
|
14
|
+
|
|
15
|
+
export const RTLDiff: Story = {
|
|
16
|
+
render: () => (
|
|
17
|
+
<>
|
|
18
|
+
<Card title="Basic card" details="Some details about this card" />
|
|
19
|
+
<Card
|
|
20
|
+
title="Card with icon"
|
|
21
|
+
details="Details with an icon on the side"
|
|
22
|
+
icon={<FastFlagIcon />}
|
|
23
|
+
/>
|
|
24
|
+
<Card
|
|
25
|
+
title="Expanded card with icon"
|
|
26
|
+
details="Expanded card showing content area"
|
|
27
|
+
icon={<FastFlagIcon />}
|
|
28
|
+
isExpanded
|
|
29
|
+
>
|
|
30
|
+
Expanded content with padding affected by icon presence.
|
|
31
|
+
</Card>
|
|
32
|
+
<Card title="Expanded card without icon" details="No icon variant" isExpanded>
|
|
33
|
+
Expanded content without icon padding.
|
|
34
|
+
</Card>
|
|
35
|
+
</>
|
|
36
|
+
),
|
|
37
|
+
...withRTLDiff(),
|
|
38
|
+
};
|
|
@@ -2,6 +2,7 @@ import { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
|
2
2
|
|
|
3
3
|
import CriticalCommsBanner from '..';
|
|
4
4
|
import { withVariantConfig } from '../../../../.storybook/helpers';
|
|
5
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
5
6
|
|
|
6
7
|
export default {
|
|
7
8
|
component: CriticalCommsBanner,
|
|
@@ -83,3 +84,20 @@ export const WithoutAction: Story = {
|
|
|
83
84
|
},
|
|
84
85
|
...withVariantConfig(['default']),
|
|
85
86
|
};
|
|
87
|
+
|
|
88
|
+
export const RTLDiff: Story = {
|
|
89
|
+
render: () => (
|
|
90
|
+
<>
|
|
91
|
+
<CriticalCommsBanner
|
|
92
|
+
title="Your account is overdrawn"
|
|
93
|
+
subtitle="Add money within the next 30 days"
|
|
94
|
+
action={{ label: 'Take action', href: 'https://wise.com' }}
|
|
95
|
+
/>
|
|
96
|
+
<CriticalCommsBanner
|
|
97
|
+
title="Your account is overdrawn"
|
|
98
|
+
subtitle="Add money within the next 30 days"
|
|
99
|
+
/>
|
|
100
|
+
</>
|
|
101
|
+
),
|
|
102
|
+
...withRTLDiff(),
|
|
103
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
|
|
3
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
4
|
+
import InlineAlert from '..';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
component: InlineAlert,
|
|
8
|
+
title: 'Prompts/InlineAlert/Tests',
|
|
9
|
+
tags: ['!autodocs', '!manifest'],
|
|
10
|
+
} satisfies Meta<typeof InlineAlert>;
|
|
11
|
+
|
|
12
|
+
type Story = StoryObj<typeof InlineAlert>;
|
|
13
|
+
|
|
14
|
+
export const RTLDiff: Story = {
|
|
15
|
+
render: () => (
|
|
16
|
+
<>
|
|
17
|
+
<InlineAlert type="neutral">Neutral alert without icon</InlineAlert>
|
|
18
|
+
<InlineAlert type="warning">Warning alert with icon</InlineAlert>
|
|
19
|
+
<InlineAlert type="negative">Negative alert with icon</InlineAlert>
|
|
20
|
+
<InlineAlert type="positive">
|
|
21
|
+
Positive alert with icon and longer content that may wrap to multiple lines
|
|
22
|
+
</InlineAlert>
|
|
23
|
+
</>
|
|
24
|
+
),
|
|
25
|
+
...withRTLDiff(),
|
|
26
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import { Person } from '@transferwise/icons';
|
|
3
|
+
|
|
4
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
5
|
+
import AvatarView from '../../../AvatarView';
|
|
6
|
+
import Logo from '../../../Logo';
|
|
7
|
+
import OverlayHeader from '..';
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
component: OverlayHeader,
|
|
11
|
+
title: 'Navigation/OverlayHeader/Tests',
|
|
12
|
+
tags: ['!autodocs', '!manifest'],
|
|
13
|
+
} satisfies Meta<typeof OverlayHeader>;
|
|
14
|
+
|
|
15
|
+
type Story = StoryObj<typeof OverlayHeader>;
|
|
16
|
+
|
|
17
|
+
export const RTLDiff: Story = {
|
|
18
|
+
render: () => (
|
|
19
|
+
<>
|
|
20
|
+
<OverlayHeader logo={<Logo />} onClose={() => {}} />
|
|
21
|
+
<OverlayHeader
|
|
22
|
+
logo={<Logo />}
|
|
23
|
+
avatar={
|
|
24
|
+
<AvatarView>
|
|
25
|
+
<Person size="24" />
|
|
26
|
+
</AvatarView>
|
|
27
|
+
}
|
|
28
|
+
onClose={() => {}}
|
|
29
|
+
/>
|
|
30
|
+
<OverlayHeader
|
|
31
|
+
logo={<Logo />}
|
|
32
|
+
avatar={
|
|
33
|
+
<AvatarView>
|
|
34
|
+
<Person size="24" />
|
|
35
|
+
</AvatarView>
|
|
36
|
+
}
|
|
37
|
+
/>
|
|
38
|
+
<OverlayHeader logo={<Logo />} />
|
|
39
|
+
</>
|
|
40
|
+
),
|
|
41
|
+
...withRTLDiff(),
|
|
42
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react-webpack5';
|
|
2
|
+
import { userEvent, within } from 'storybook/test';
|
|
3
|
+
import { Person } from '@transferwise/icons';
|
|
4
|
+
|
|
5
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
6
|
+
import Select from '..';
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
component: Select,
|
|
10
|
+
title: 'Forms/Select/Tests/RTL Diff',
|
|
11
|
+
tags: ['!autodocs', '!manifest'],
|
|
12
|
+
} satisfies Meta<typeof Select>;
|
|
13
|
+
|
|
14
|
+
type Story = StoryObj<typeof Select>;
|
|
15
|
+
|
|
16
|
+
const options = [
|
|
17
|
+
{ header: 'Popular' },
|
|
18
|
+
{ value: 'gbp', label: 'British pound', currency: 'gbp', icon: <Person /> },
|
|
19
|
+
{ value: 'eur', label: 'Euro', currency: 'eur', icon: <Person /> },
|
|
20
|
+
{ value: 'usd', label: 'US Dollar', currency: 'usd', note: 'United States dollar' },
|
|
21
|
+
{ separator: true },
|
|
22
|
+
{ header: 'Other' },
|
|
23
|
+
{ value: 'cad', label: 'Canadian dollar', currency: 'cad' },
|
|
24
|
+
{ value: 'aud', label: 'Australian dollar', currency: 'aud' },
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
const selected = { value: 'gbp', label: 'British pound', currency: 'gbp', icon: <Person /> };
|
|
28
|
+
|
|
29
|
+
export const TriggerVariants: Story = {
|
|
30
|
+
render: () => (
|
|
31
|
+
<>
|
|
32
|
+
<Select
|
|
33
|
+
size="lg"
|
|
34
|
+
placeholder="Select currency"
|
|
35
|
+
selected={selected}
|
|
36
|
+
options={options}
|
|
37
|
+
onChange={() => {}}
|
|
38
|
+
/>
|
|
39
|
+
<Select
|
|
40
|
+
size="md"
|
|
41
|
+
placeholder="Select currency"
|
|
42
|
+
selected={selected}
|
|
43
|
+
options={options}
|
|
44
|
+
onChange={() => {}}
|
|
45
|
+
/>
|
|
46
|
+
<Select size="sm" placeholder="Select currency" options={options} onChange={() => {}} />
|
|
47
|
+
</>
|
|
48
|
+
),
|
|
49
|
+
...withRTLDiff(),
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export const OpenDropdown: Story = {
|
|
53
|
+
render: () => (
|
|
54
|
+
<Select
|
|
55
|
+
size="lg"
|
|
56
|
+
search
|
|
57
|
+
searchPlaceholder="Type a currency"
|
|
58
|
+
placeholder="Select currency"
|
|
59
|
+
selected={selected}
|
|
60
|
+
options={options}
|
|
61
|
+
onChange={() => {}}
|
|
62
|
+
/>
|
|
63
|
+
),
|
|
64
|
+
play: async ({ canvasElement }) => {
|
|
65
|
+
const canvas = within(canvasElement);
|
|
66
|
+
const trigger = canvas.queryByRole('button');
|
|
67
|
+
if (!trigger) return;
|
|
68
|
+
await userEvent.click(trigger);
|
|
69
|
+
},
|
|
70
|
+
...withRTLDiff({ renderAs: 'iframe', width: '80%' }),
|
|
71
|
+
};
|
|
@@ -12,6 +12,7 @@ import Title from '../../../Title';
|
|
|
12
12
|
import ListItem from '../../../ListItem';
|
|
13
13
|
import BottomSheet from '../BottomSheet';
|
|
14
14
|
import { withVariantConfig } from '../../../../.storybook/helpers';
|
|
15
|
+
import { withRTLDiff } from '../../../../.storybook/decorators/RtlDiffDecorator';
|
|
15
16
|
|
|
16
17
|
const wait = async (duration = 500) =>
|
|
17
18
|
new Promise<void>((resolve) => {
|
|
@@ -226,3 +227,25 @@ export const WithOverflowContentZoom400: Story = {
|
|
|
226
227
|
...WithOverflowContent,
|
|
227
228
|
...withVariantConfig(['400%'], WithOverflowContent),
|
|
228
229
|
};
|
|
230
|
+
|
|
231
|
+
export const RTLDiff: Story = {
|
|
232
|
+
render: () => (
|
|
233
|
+
<BottomSheet open aria-label="Manage your card">
|
|
234
|
+
<Title type={Typography.TITLE_SECTION}>Money without borders</Title>
|
|
235
|
+
{lorem10}
|
|
236
|
+
<br />
|
|
237
|
+
<br />
|
|
238
|
+
<ListItem
|
|
239
|
+
title="List item"
|
|
240
|
+
subtitle="Button and icon are vertically centered."
|
|
241
|
+
control={<ListItem.Navigation href="#" />}
|
|
242
|
+
media={
|
|
243
|
+
<ListItem.AvatarView>
|
|
244
|
+
<FastFlag />
|
|
245
|
+
</ListItem.AvatarView>
|
|
246
|
+
}
|
|
247
|
+
/>
|
|
248
|
+
</BottomSheet>
|
|
249
|
+
),
|
|
250
|
+
...withRTLDiff({ renderAs: 'iframe' }),
|
|
251
|
+
};
|
package/src/i18n/cs.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Přejít na zobrazení 20 let",
|
|
13
13
|
"neptune.DateLookup.month": "měsíc",
|
|
14
14
|
"neptune.DateLookup.next": "další",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "není dostupné",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Zadejte {min} nebo pozdější datum.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Zadejte {max} nebo dřívější datum.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Vyberte datum mezi {min} a {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "předchozí",
|
|
16
20
|
"neptune.DateLookup.selected": "vybráno",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 let",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Data tabulky byla načtena",
|
|
47
51
|
"neptune.Table.loading": "Data tabulky se načítají",
|
|
48
52
|
"neptune.Table.refreshPage": "Aktualizovat stránku",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Návrhy",
|
|
49
54
|
"neptune.Upload.csButtonText": "Nahrát další soubor?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Úspěšně nahráno!",
|
package/src/i18n/de.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Zur 20-Jahres-Ansicht",
|
|
13
13
|
"neptune.DateLookup.month": "Monat",
|
|
14
14
|
"neptune.DateLookup.next": "weiter",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "nicht verfügbar",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Gib bitte den {min} oder ein späteres Datum ein.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Gib bitte den {max} oder ein früheres Datum ein.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Wähle bitte ein Datum zwischen dem {min} und dem {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "zurück",
|
|
16
20
|
"neptune.DateLookup.selected": "ausgewählt",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 Jahre",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Tabellendaten wurden geladen",
|
|
47
51
|
"neptune.Table.loading": "Tabellendaten werden geladen",
|
|
48
52
|
"neptune.Table.refreshPage": "Seite aktualisieren",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Vorschläge",
|
|
49
54
|
"neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Fertig hochgeladen!",
|
package/src/i18n/es.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Ir a vista de 20 años",
|
|
13
13
|
"neptune.DateLookup.month": "mes",
|
|
14
14
|
"neptune.DateLookup.next": "siguiente",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "no disponible",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Introduce {min} o una fecha posterior.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Introduce {max} o una fecha anterior.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Selecciona una fecha entre {min} y {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "anterior",
|
|
16
20
|
"neptune.DateLookup.selected": "seleccionado",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 años",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Los datos de la tabla se han cargado",
|
|
47
51
|
"neptune.Table.loading": "Los datos de la tabla se están cargando",
|
|
48
52
|
"neptune.Table.refreshPage": "Actualizar página",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Sugerencias",
|
|
49
54
|
"neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
|
|
50
55
|
"neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
|
|
51
56
|
"neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
|
package/src/i18n/fr.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Accéder à la vue sur 20 ans",
|
|
13
13
|
"neptune.DateLookup.month": "mois",
|
|
14
14
|
"neptune.DateLookup.next": "suivant",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "indisponible",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Veuillez saisir {min} ou une date antérieure.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Veuillez saisir {max} ou une date antérieure.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Veuillez sélectionner une date entre {min} et {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "précédent",
|
|
16
20
|
"neptune.DateLookup.selected": "sélectionnée",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 ans",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Les données du tableau ont été chargées",
|
|
47
51
|
"neptune.Table.loading": "Chargement des données du tableau",
|
|
48
52
|
"neptune.Table.refreshPage": "Rafraichir la page",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Suggestions",
|
|
49
54
|
"neptune.Upload.csButtonText": "Envoyer un autre fichier ?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Échec du téléchargement. Veuillez réessayer",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Téléchargement terminé !",
|
package/src/i18n/hu.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Ugrás a 20 éves nézetre",
|
|
13
13
|
"neptune.DateLookup.month": "hónap",
|
|
14
14
|
"neptune.DateLookup.next": "következő",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "nem elérhető",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Kérünk, add meg ezt vagy egy ennél későbbi dátumot: {min}",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Kérünk, add meg ezt vagy egy ennél korábbi dátumot: {max}",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Kérünk, válassz ki egy dátumot {min} és {max} között.",
|
|
15
19
|
"neptune.DateLookup.previous": "előző",
|
|
16
20
|
"neptune.DateLookup.selected": "kiválasztva",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 év",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Táblázatadatok betöltve",
|
|
47
51
|
"neptune.Table.loading": "Táblázatadatok betöltése folyamatban",
|
|
48
52
|
"neptune.Table.refreshPage": "Oldal frissítése",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Javaslatok",
|
|
49
54
|
"neptune.Upload.csButtonText": "Másik fájl feltöltése?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Feltöltés sikeres",
|
package/src/i18n/id.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Lihat tampilan 20 tahun",
|
|
13
13
|
"neptune.DateLookup.month": "bulan",
|
|
14
14
|
"neptune.DateLookup.next": "berikutnya",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "tidak tersedia",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Silakan masukkan {min} atau tanggal yang lebih nanti.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Silakan masukkan {max} atau tanggal yang lebih awal.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Silakan pilih tanggal antara {min} dan {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "sebelumnya",
|
|
16
20
|
"neptune.DateLookup.selected": "terpilih",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 tahun",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Data tabel telah dimuat",
|
|
47
51
|
"neptune.Table.loading": "Data tabel sedang dimuat",
|
|
48
52
|
"neptune.Table.refreshPage": "Muat ulang halaman",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Saran",
|
|
49
54
|
"neptune.Upload.csButtonText": "Unggah file lainnya?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Pengunggahan selesai!",
|
package/src/i18n/it.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Vai alla vista su 20 anni",
|
|
13
13
|
"neptune.DateLookup.month": "mese",
|
|
14
14
|
"neptune.DateLookup.next": "continua",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "non disponibile",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Inserisci {min} o una data successiva.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Inserisci {max} o una data precedente.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Seleziona una data compresa tra {min} e {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "indietro",
|
|
16
20
|
"neptune.DateLookup.selected": "selezionata",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 anni",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "I dati della tabella sono stati caricati",
|
|
47
51
|
"neptune.Table.loading": "I dati della tabella sono in fase di caricamento",
|
|
48
52
|
"neptune.Table.refreshPage": "Aggiorna la pagina",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Suggerimenti",
|
|
49
54
|
"neptune.Upload.csButtonText": "Carica un altro documento?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Caricamento completato!",
|
package/src/i18n/ja.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "20年表示に移動する",
|
|
13
13
|
"neptune.DateLookup.month": "月",
|
|
14
14
|
"neptune.DateLookup.next": "次",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "利用不可",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "{min}以降の日付を入力してください。",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "{max}以前の日付を入力してください。",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "{min}~{max}の日付を選択してください。",
|
|
15
19
|
"neptune.DateLookup.previous": "前",
|
|
16
20
|
"neptune.DateLookup.selected": "選択済み",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20年",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "テーブルデータが読み込まれました",
|
|
47
51
|
"neptune.Table.loading": "テーブルデータを読み込み中です",
|
|
48
52
|
"neptune.Table.refreshPage": "ページを更新する",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Suggestions",
|
|
49
54
|
"neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
|
|
50
55
|
"neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
|
|
51
56
|
"neptune.Upload.csSuccessText": "アップロードが完了しました。",
|
package/src/i18n/nl.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Naar 20-jaarsoverzicht",
|
|
13
13
|
"neptune.DateLookup.month": "maand",
|
|
14
14
|
"neptune.DateLookup.next": "volgende",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "niet beschikbaar",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Voer {min} of een latere datum in.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Voer {max} of een eerdere datum in.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Selecteer een datum tussen {min} en {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "vorige",
|
|
16
20
|
"neptune.DateLookup.selected": "geselecteerd",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 jaar",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Tabelgegevens zijn geladen",
|
|
47
51
|
"neptune.Table.loading": "Tabelgegevens worden geladen",
|
|
48
52
|
"neptune.Table.refreshPage": "Pagina vernieuwen",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Suggesties",
|
|
49
54
|
"neptune.Upload.csButtonText": "Nog een bestand uploaden?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Uploaden mislukt. Probeer het opnieuw",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Uploaden voltooid!",
|
package/src/i18n/pl.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Przejdź do widoku 20-letniego",
|
|
13
13
|
"neptune.DateLookup.month": "miesiąc",
|
|
14
14
|
"neptune.DateLookup.next": "następny",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "niedostępne",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Wprowadź datę {min} lub późniejszą.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Wprowadź datę {max} lub wcześniejszą.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Wybierz datę z przedziału od {min} do {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "poprzedni",
|
|
16
20
|
"neptune.DateLookup.selected": "wybrano",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 lat",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Wczytano dane tabeli",
|
|
47
51
|
"neptune.Table.loading": "Wczytywanie danych tabeli",
|
|
48
52
|
"neptune.Table.refreshPage": "Odśwież stronę",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Sugestie",
|
|
49
54
|
"neptune.Upload.csButtonText": "Prześlij kolejny plik?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
|
package/src/i18n/pt.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Acessar a visualização de 20 anos",
|
|
13
13
|
"neptune.DateLookup.month": "mês",
|
|
14
14
|
"neptune.DateLookup.next": "próximo",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "indisponível",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Insira {min} ou uma data posterior.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Insira {max} ou uma data anterior.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Insira uma data entre {min} e {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "anterior",
|
|
16
20
|
"neptune.DateLookup.selected": "selecionada",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 anos",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Os dados da tabela foram carregados",
|
|
47
51
|
"neptune.Table.loading": "Os dados da tabela estão sendo carregados",
|
|
48
52
|
"neptune.Table.refreshPage": "Atualizar página",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Sugestões",
|
|
49
54
|
"neptune.Upload.csButtonText": "Enviar outro documento?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Envio concluído!",
|
package/src/i18n/ro.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Accesează vizualizarea pe 20 de ani",
|
|
13
13
|
"neptune.DateLookup.month": "lună",
|
|
14
14
|
"neptune.DateLookup.next": "înainte",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "indisponibil",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Introdu {min} sau o dată ulterioară.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Introdu {max} sau o dată anterioară.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Selectează o dată între {min} și {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "înapoi",
|
|
16
20
|
"neptune.DateLookup.selected": "selectată",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 de ani",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Datele din tabel au fost încărcate",
|
|
47
51
|
"neptune.Table.loading": "Datele din tabel se încarcă",
|
|
48
52
|
"neptune.Table.refreshPage": "Reîncarcă pagina",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Sugestii",
|
|
49
54
|
"neptune.Upload.csButtonText": "Încarci un alt fișier?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Încărcare completă!",
|
package/src/i18n/ru.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Перейти к обзору 20 лет",
|
|
13
13
|
"neptune.DateLookup.month": "месяц",
|
|
14
14
|
"neptune.DateLookup.next": "далее",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "недоступно",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Выберите {min} или более позднюю дату.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Выберите {max} или более раннюю дату.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Выберите дату в диапазоне от {min} до {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "назад",
|
|
16
20
|
"neptune.DateLookup.selected": "выбрано",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 лет",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Данные таблицы загружены",
|
|
47
51
|
"neptune.Table.loading": "Данные таблицы загружаются",
|
|
48
52
|
"neptune.Table.refreshPage": "Обновить страницу",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Предложения",
|
|
49
54
|
"neptune.Upload.csButtonText": "Загрузить другой файл?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Загрузка завершена!",
|
package/src/i18n/th.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "ไปที่มุมมอง 20 ปี",
|
|
13
13
|
"neptune.DateLookup.month": "เดือน",
|
|
14
14
|
"neptune.DateLookup.next": "ถัดไป",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "ไม่พร้อมใช้งาน",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "โปรดป้อนวันที่ {min} หรือหลังจากนั้น",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "โปรดป้อนวันที่ {max} หรือก่อนหน้านั้น",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "โปรดเลือกวันที่ระหว่าง {min} ถึง {max}",
|
|
15
19
|
"neptune.DateLookup.previous": "ก่อนหน้า",
|
|
16
20
|
"neptune.DateLookup.selected": "เลือกแล้ว",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 ปี",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "โหลดข้อมูลตารางแล้ว",
|
|
47
51
|
"neptune.Table.loading": "กำลังโหลดข้อมูลตาราง",
|
|
48
52
|
"neptune.Table.refreshPage": "รีเฟรชหน้า",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "ข้อเสนอแนะ",
|
|
49
54
|
"neptune.Upload.csButtonText": "อัปโหลดไฟล์อื่นหรือไม่",
|
|
50
55
|
"neptune.Upload.csFailureText": "การอัปโหลดล้มเหลว กรุณาลองอีกครั้ง",
|
|
51
56
|
"neptune.Upload.csSuccessText": "อัปโหลดเรียบร้อย!",
|
package/src/i18n/uk.json
CHANGED
|
@@ -12,6 +12,10 @@
|
|
|
12
12
|
"neptune.DateLookup.goTo20YearView": "Показати дані за 20 років",
|
|
13
13
|
"neptune.DateLookup.month": "місяць",
|
|
14
14
|
"neptune.DateLookup.next": "уперед",
|
|
15
|
+
"neptune.DateLookup.notAvailable": "недоступно",
|
|
16
|
+
"neptune.DateLookup.outOfRangeAfter": "Введіть {min} або пізнішу дату.",
|
|
17
|
+
"neptune.DateLookup.outOfRangeBefore": "Введіть {max} або ранішу дату.",
|
|
18
|
+
"neptune.DateLookup.outOfRangeBetween": "Виберіть дату в діапазоні від {min} до {max}.",
|
|
15
19
|
"neptune.DateLookup.previous": "назад",
|
|
16
20
|
"neptune.DateLookup.selected": "вибрано",
|
|
17
21
|
"neptune.DateLookup.twentyYears": "20 років",
|
|
@@ -46,6 +50,7 @@
|
|
|
46
50
|
"neptune.Table.loaded": "Дані таблиці завантажено",
|
|
47
51
|
"neptune.Table.loading": "Дані таблиці завантажуються",
|
|
48
52
|
"neptune.Table.refreshPage": "Оновити сторінку",
|
|
53
|
+
"neptune.Typeahead.suggestionsLabel": "Пропозиції",
|
|
49
54
|
"neptune.Upload.csButtonText": "Завантажити інший файл?",
|
|
50
55
|
"neptune.Upload.csFailureText": "Не завантажено. Повторіть спробу.",
|
|
51
56
|
"neptune.Upload.csSuccessText": "Завантаження завершено!",
|