@transferwise/components 0.0.0-experimental-79c0fba → 0.0.0-experimental-0df7ed4
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 +2 -2
- package/build/i18n/de.json +2 -2
- package/build/i18n/en.json +2 -2
- package/build/i18n/es.json +2 -2
- package/build/i18n/hu.json +2 -2
- package/build/i18n/id.json +2 -2
- package/build/i18n/it.json +2 -2
- package/build/i18n/ja.json +2 -2
- package/build/i18n/pl.json +2 -2
- package/build/i18n/pt.json +2 -2
- package/build/i18n/ro.json +2 -2
- package/build/i18n/ru.json +2 -2
- package/build/i18n/th.json +2 -2
- package/build/i18n/tr.json +2 -2
- package/build/i18n/zh-CN.json +2 -2
- package/build/i18n/zh-HK.json +2 -2
- package/build/index.esm.js +113 -83
- package/build/index.esm.js.map +1 -1
- package/build/index.js +114 -84
- package/build/index.js.map +1 -1
- package/build/types/circularButton/CircularButton.d.ts +2 -2
- package/build/types/circularButton/CircularButton.d.ts.map +1 -1
- package/build/types/common/bottomSheet/BottomSheet.d.ts.map +1 -1
- package/build/types/index.d.ts +0 -2
- package/build/types/index.d.ts.map +1 -1
- package/build/types/slidingPanel/SlidingPanel.d.ts +17 -12
- package/build/types/slidingPanel/SlidingPanel.d.ts.map +1 -1
- package/build/types/slidingPanel/index.d.ts +1 -2
- package/build/types/slidingPanel/index.d.ts.map +1 -1
- package/build/types/sticky/Sticky.d.ts +14 -9
- package/build/types/sticky/Sticky.d.ts.map +1 -1
- package/build/types/sticky/index.d.ts +1 -2
- package/build/types/sticky/index.d.ts.map +1 -1
- package/build/types/upload/Upload.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/circularButton/CircularButton.tsx +2 -2
- package/src/common/bottomSheet/BottomSheet.tsx +41 -47
- package/src/common/bottomSheet/__snapshots__/BottomSheet.spec.tsx.snap +33 -37
- package/src/i18n/cs.json +2 -2
- package/src/i18n/de.json +2 -2
- package/src/i18n/en.json +2 -2
- package/src/i18n/es.json +2 -2
- package/src/i18n/hu.json +2 -2
- package/src/i18n/id.json +2 -2
- package/src/i18n/it.json +2 -2
- package/src/i18n/ja.json +2 -2
- package/src/i18n/pl.json +2 -2
- package/src/i18n/pt.json +2 -2
- package/src/i18n/ro.json +2 -2
- package/src/i18n/ru.json +2 -2
- package/src/i18n/th.json +2 -2
- package/src/i18n/tr.json +2 -2
- package/src/i18n/zh-CN.json +2 -2
- package/src/i18n/zh-HK.json +2 -2
- package/src/index.ts +0 -2
- package/src/select/Select.spec.js +1 -1
- package/src/slidingPanel/SlidingPanel.js +73 -0
- package/src/slidingPanel/SlidingPanel.spec.js +19 -9
- package/src/slidingPanel/index.js +1 -0
- package/src/sticky/Sticky.js +23 -0
- package/src/sticky/Sticky.spec.js +1 -0
- package/src/sticky/{Sticky.story.tsx → Sticky.story.js} +3 -2
- package/src/sticky/index.js +1 -0
- package/src/upload/Upload.js +8 -2
- package/src/upload/Upload.messages.js +2 -2
- package/src/upload/Upload.story.js +1 -1
- package/src/slidingPanel/SlidingPanel.tsx +0 -62
- package/src/slidingPanel/index.ts +0 -2
- package/src/sticky/Sticky.tsx +0 -16
- package/src/sticky/index.ts +0 -2
- /package/src/slidingPanel/{SlidingPanel.story.tsx → SlidingPanel.story.js} +0 -0
|
@@ -8,8 +8,8 @@ export interface CircularButtonProps {
|
|
|
8
8
|
size?: unknown;
|
|
9
9
|
}>;
|
|
10
10
|
onClick?: React.MouseEventHandler<HTMLInputElement>;
|
|
11
|
-
priority?: `${Priority.PRIMARY | Priority.SECONDARY}`;
|
|
12
|
-
type?: `${ControlType.ACCENT | ControlType.POSITIVE | ControlType.NEGATIVE}`;
|
|
11
|
+
priority?: `${Priority.PRIMARY}` | `${Priority.SECONDARY}`;
|
|
12
|
+
type?: `${ControlType.ACCENT}` | `${ControlType.POSITIVE}` | `${ControlType.NEGATIVE}`;
|
|
13
13
|
}
|
|
14
14
|
declare const CircularButton: ({ className, children, disabled, icon, priority, type, ...rest }: CircularButtonProps) => import("react").JSX.Element;
|
|
15
15
|
export default CircularButton;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CircularButton.d.ts","sourceRoot":"","sources":["../../../src/circularButton/CircularButton.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGlD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;QAAE,IAAI,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,GAAG,QAAQ,CAAC,OAAO,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"CircularButton.d.ts","sourceRoot":"","sources":["../../../src/circularButton/CircularButton.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGlD,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;QAAE,IAAI,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,GAAG,QAAQ,CAAC,OAAO,EAAE,GAAG,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAC;IAC3D,IAAI,CAAC,EAAE,GAAG,WAAW,CAAC,MAAM,EAAE,GAAG,GAAG,WAAW,CAAC,QAAQ,EAAE,GAAG,GAAG,WAAW,CAAC,QAAQ,EAAE,CAAC;CACxF;AAED,QAAA,MAAM,cAAc,qEAQjB,mBAAmB,gCAsBrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/common/bottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACZ,iBAAiB,EAEjB,cAAc,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAa7C,KAAK,KAAK,GAAG,iBAAiB,CAC5B;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc,KAAK,IAAI,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG,WAAW,CACnF,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,WAAW,UAAW,KAAK,KAAG,
|
|
1
|
+
{"version":3,"file":"BottomSheet.d.ts","sourceRoot":"","sources":["../../../../src/common/bottomSheet/BottomSheet.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,YAAY,EACZ,iBAAiB,EAEjB,cAAc,EACf,MAAM,OAAO,CAAC;AAMf,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAa7C,KAAK,KAAK,GAAG,iBAAiB,CAC5B;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,cAAc,KAAK,IAAI,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAAG,WAAW,CACnF,CAAC;AAEF;;;;;GAKG;AACH,QAAA,MAAM,WAAW,UAAW,KAAK,KAAG,YA2KnC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/build/types/index.d.ts
CHANGED
|
@@ -20,13 +20,11 @@ export type { RadioGroupProps, RadioGroupRadio } from './radioGroup';
|
|
|
20
20
|
export type { RadioOptionProps } from './radioOption';
|
|
21
21
|
export type { SnackbarProps } from './snackbar/Snackbar';
|
|
22
22
|
export type { SnackbarContextType } from './snackbar/SnackbarContext';
|
|
23
|
-
export type { StickyProps } from './sticky';
|
|
24
23
|
export type { TextareaWithDisplayFormatProps } from './textareaWithDisplayFormat';
|
|
25
24
|
export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/types';
|
|
26
25
|
export type { MarkdownProps } from './markdown';
|
|
27
26
|
export type { ModalProps } from './modal';
|
|
28
27
|
export type { CurrencyHeaderItem, CurrencyItem, CurrencyOptionItem, MoneyInputProps, } from './moneyInput';
|
|
29
|
-
export type { SlidingPanelProps } from './slidingPanel';
|
|
30
28
|
export type { LayoutDirection, TypographyTypes, TitleTypes, BodyTypes, LinkTypes, DisplayTypes, } from './common';
|
|
31
29
|
export type { SegmentedControlProps } from './segmentedControl';
|
|
32
30
|
export type { TypeaheadProps, TypeaheadOption } from './typeahead';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjE,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACxC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAC5E,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;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EG;AACH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export type SlidingPanelPosition = "top" | "bottom" | "left" | "right";
|
|
4
|
+
|
|
5
|
+
export interface SlidingPanelProps {
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
open?: boolean;
|
|
9
|
+
position?: SlidingPanelPosition;
|
|
10
|
+
showSlidingPanelBorder?: boolean;
|
|
11
|
+
slidingPanelPositionFixed?: boolean;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
declare const SlidingPanel: React.FC<SlidingPanelProps>;
|
|
15
|
+
|
|
16
|
+
export default SlidingPanel;
|
|
17
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SlidingPanel.d.ts","sourceRoot":"","sources":["../../../src/slidingPanel/SlidingPanel.
|
|
1
|
+
{"version":3,"file":"SlidingPanel.d.ts","sourceRoot":"","sources":["../../../src/slidingPanel/SlidingPanel.js"],"names":[],"mappings":"AAMA,iCAAkC;;AAElC,0GA4CE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/slidingPanel/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/slidingPanel/index.js"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
export type StickyPosition = "top" | "bottom";
|
|
4
|
+
|
|
5
|
+
export interface StickyProps {
|
|
6
|
+
open?: boolean;
|
|
7
|
+
position?: StickyPosition;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare const Sticky: React.FC<StickyProps>;
|
|
12
|
+
|
|
13
|
+
export default Sticky;
|
|
14
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sticky.d.ts","sourceRoot":"","sources":["../../../src/sticky/Sticky.
|
|
1
|
+
{"version":3,"file":"Sticky.d.ts","sourceRoot":"","sources":["../../../src/sticky/Sticky.js"],"names":[],"mappings":";AAIA;;;;gCAIC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sticky/index.
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sticky/index.js"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Upload.d.ts","sourceRoot":"","sources":["../../../src/upload/Upload.js"],"names":[],"mappings":";;;;AA2BA;IACE,wBAeC;IAbC,oBAAoB;IACpB,gCAAoB;IAEpB;;;;;;;;;MASC;IAGH,
|
|
1
|
+
{"version":3,"file":"Upload.d.ts","sourceRoot":"","sources":["../../../src/upload/Upload.js"],"names":[],"mappings":";;;;AA2BA;IACE,wBAeC;IAbC,oBAAoB;IACpB,gCAAoB;IAEpB;;;;;;;;;MASC;IAGH,kCAiBC;IAED,8BAMC;IAED,8BAQC;IAED,yBAUC;IAED,qDA6BE;IAEF,4CAQE;IAEF,kDASE;IAEF,8CAKE;IAEF,oCAQE;IAEF,kBASE;IAEF,sCAOE;IAEF,6CAyEE;IAEF,sCA2GC;CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzVD,wCAAiC"}
|
package/package.json
CHANGED
|
@@ -12,8 +12,8 @@ export interface CircularButtonProps {
|
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
icon: React.ReactElement<{ size?: unknown }>;
|
|
14
14
|
onClick?: React.MouseEventHandler<HTMLInputElement>;
|
|
15
|
-
priority?: `${Priority.PRIMARY | Priority.SECONDARY}`;
|
|
16
|
-
type?: `${ControlType.ACCENT | ControlType.POSITIVE | ControlType.NEGATIVE}`;
|
|
15
|
+
priority?: `${Priority.PRIMARY}` | `${Priority.SECONDARY}`;
|
|
16
|
+
type?: `${ControlType.ACCENT}` | `${ControlType.POSITIVE}` | `${ControlType.NEGATIVE}`;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
const CircularButton = ({
|
|
@@ -92,35 +92,33 @@ const BottomSheet = (props: Props): ReactElement => {
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
const onSwipeStart =
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
const onSwipeMove =
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
95
|
+
const onSwipeStart =
|
|
96
|
+
(isMobile: boolean) =>
|
|
97
|
+
(event: TouchEvent & MouseEvent): void => {
|
|
98
|
+
initialYCoordinate.current = (isMobile ? event.touches[0] : event).clientY;
|
|
99
|
+
setPressed(true);
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
const onSwipeMove =
|
|
103
|
+
(isMobile: boolean) =>
|
|
104
|
+
(event: TouchEvent & MouseEvent): void => {
|
|
105
|
+
if (pressed) {
|
|
106
|
+
const { clientY } = isMobile ? event.touches[0] : event;
|
|
107
|
+
|
|
108
|
+
const offset = calculateOffsetAfterMove(clientY);
|
|
109
|
+
// check whether move is to the bottom only and content scroll position is at the top
|
|
110
|
+
if (offset > INITIAL_Y_POSITION && isContentScrollPositionAtTop()) {
|
|
111
|
+
moveOffset.current = offset;
|
|
112
|
+
animationId.current = requestAnimationFrame(() => {
|
|
113
|
+
if (animationId.current !== undefined && bottomSheetReference.current !== null) {
|
|
114
|
+
move(offset);
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
}
|
|
117
118
|
}
|
|
118
|
-
}
|
|
119
|
-
};
|
|
119
|
+
};
|
|
120
120
|
|
|
121
|
-
function onSwipeEnd(
|
|
122
|
-
event: React.MouseEvent<HTMLDivElement> | React.TouchEvent<HTMLDivElement>,
|
|
123
|
-
): void {
|
|
121
|
+
function onSwipeEnd(event: TouchEvent | MouseEvent): void {
|
|
124
122
|
// stop moving component
|
|
125
123
|
cancelAnimationFrame(animationId.current);
|
|
126
124
|
setPressed(false);
|
|
@@ -180,34 +178,30 @@ const BottomSheet = (props: Props): ReactElement => {
|
|
|
180
178
|
</Drawer>
|
|
181
179
|
) : (
|
|
182
180
|
<Dimmer open={props.open} fadeContentOnEnter fadeContentOnExit onClose={close}>
|
|
181
|
+
{/* @ts-expect-error remove when SlidingPanel will be written on TS */}
|
|
183
182
|
<SlidingPanel
|
|
184
183
|
ref={bottomSheetReference}
|
|
185
184
|
open={props.open}
|
|
186
185
|
position={Position.BOTTOM}
|
|
187
186
|
className={classNames('np-bottom-sheet', props.className)}
|
|
187
|
+
role="dialog"
|
|
188
|
+
onTouchStart={onSwipeStart(true)}
|
|
189
|
+
onTouchMove={onSwipeMove(true)}
|
|
190
|
+
onTouchEnd={onSwipeEnd}
|
|
191
|
+
onMouseDown={onSwipeStart(false)}
|
|
192
|
+
onMouseMove={onSwipeMove(false)}
|
|
193
|
+
onMouseUp={onSwipeEnd}
|
|
188
194
|
>
|
|
189
|
-
{
|
|
195
|
+
<div ref={topBarReference} className="np-bottom-sheet--top-bar">
|
|
196
|
+
<div className="np-bottom-sheet--handler" />
|
|
197
|
+
<CloseButton size="sm" className="sr-only np-bottom-sheet--close-btn" onClick={close} />
|
|
198
|
+
</div>
|
|
190
199
|
<div
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
onTouchMove={onSwipeMove}
|
|
195
|
-
onTouchEnd={onSwipeEnd}
|
|
196
|
-
onMouseDown={onSwipeStart}
|
|
197
|
-
onMouseMove={onSwipeMove}
|
|
198
|
-
onMouseUp={onSwipeEnd}
|
|
200
|
+
ref={contentReference}
|
|
201
|
+
style={setContentMaxHeight()}
|
|
202
|
+
className="np-bottom-sheet--content"
|
|
199
203
|
>
|
|
200
|
-
|
|
201
|
-
<div className="np-bottom-sheet--handler" />
|
|
202
|
-
<CloseButton size="sm" className="sr-only np-bottom-sheet--close-btn" onClick={close} />
|
|
203
|
-
</div>
|
|
204
|
-
<div
|
|
205
|
-
ref={contentReference}
|
|
206
|
-
style={setContentMaxHeight()}
|
|
207
|
-
className="np-bottom-sheet--content"
|
|
208
|
-
>
|
|
209
|
-
{props.children}
|
|
210
|
-
</div>
|
|
204
|
+
{props.children}
|
|
211
205
|
</div>
|
|
212
206
|
</SlidingPanel>
|
|
213
207
|
</Dimmer>
|
|
@@ -22,50 +22,46 @@ exports[`BottomSheet renders content when open 1`] = `
|
|
|
22
22
|
>
|
|
23
23
|
<div
|
|
24
24
|
class="sliding-panel sliding-panel--open-bottom np-bottom-sheet sliding-panel-appear sliding-panel-appear-active"
|
|
25
|
+
role="dialog"
|
|
25
26
|
>
|
|
26
27
|
<div
|
|
27
|
-
|
|
28
|
-
role="dialog"
|
|
28
|
+
class="np-bottom-sheet--top-bar"
|
|
29
29
|
>
|
|
30
30
|
<div
|
|
31
|
-
class="np-bottom-sheet--
|
|
31
|
+
class="np-bottom-sheet--handler"
|
|
32
|
+
/>
|
|
33
|
+
<button
|
|
34
|
+
aria-label="Close"
|
|
35
|
+
class="np-close-button close btn-link text-no-decoration sr-only np-bottom-sheet--close-btn"
|
|
36
|
+
type="button"
|
|
32
37
|
>
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
class="np-close-button close btn-link text-no-decoration sr-only np-bottom-sheet--close-btn"
|
|
39
|
-
type="button"
|
|
38
|
+
<span
|
|
39
|
+
aria-hidden="true"
|
|
40
|
+
class="tw-icon tw-icon-cross "
|
|
41
|
+
data-testid="cross-icon"
|
|
42
|
+
role="presentation"
|
|
40
43
|
>
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
<svg
|
|
45
|
+
fill="currentColor"
|
|
46
|
+
focusable="false"
|
|
47
|
+
height="16"
|
|
48
|
+
viewBox="0 0 24 24"
|
|
49
|
+
width="16"
|
|
46
50
|
>
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
</
|
|
61
|
-
<div
|
|
62
|
-
class="np-bottom-sheet--content"
|
|
63
|
-
style="max-height: calc(768px - 64px - 32px);"
|
|
64
|
-
>
|
|
65
|
-
<b>
|
|
66
|
-
Test Content
|
|
67
|
-
</b>
|
|
68
|
-
</div>
|
|
51
|
+
<path
|
|
52
|
+
d="m19.629 5.915-1.2-1.2-6.257 6.257-6.258-6.257-1.2 1.2 6.258 6.257-6.258 6.257 1.2 1.2 6.258-6.257 6.257 6.257 1.2-1.2-6.258-6.257 6.258-6.257Z"
|
|
53
|
+
/>
|
|
54
|
+
</svg>
|
|
55
|
+
</span>
|
|
56
|
+
</button>
|
|
57
|
+
</div>
|
|
58
|
+
<div
|
|
59
|
+
class="np-bottom-sheet--content"
|
|
60
|
+
style="max-height: calc(768px - 64px - 32px);"
|
|
61
|
+
>
|
|
62
|
+
<b>
|
|
63
|
+
Test Content
|
|
64
|
+
</b>
|
|
69
65
|
</div>
|
|
70
66
|
</div>
|
|
71
67
|
</div>
|
package/src/i18n/cs.json
CHANGED
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"neptune.Upload.csButtonText": "Nahrát další soubor?",
|
|
29
29
|
"neptune.Upload.csFailureText": "Nahrání se nezdařilo. Zkuste to prosím později",
|
|
30
30
|
"neptune.Upload.csSuccessText": "Úspěšně nahráno!",
|
|
31
|
-
"neptune.Upload.csTooLargeMessage": "Soubor musí být menší než
|
|
31
|
+
"neptune.Upload.csTooLargeMessage": "Soubor musí být menší než {maxSize}MB",
|
|
32
32
|
"neptune.Upload.csWrongTypeMessage": "Tento formát souboru není podporován. Zkuste to znovu s jiným souborem",
|
|
33
33
|
"neptune.Upload.psButtonText": "Zrušit",
|
|
34
34
|
"neptune.Upload.psProcessingText": "Načítání...",
|
|
35
35
|
"neptune.Upload.usButtonText": "Nebo vyberte soubor",
|
|
36
36
|
"neptune.Upload.usDropMessage": "Pusťte sem soubor pro jeho nahrání",
|
|
37
|
-
"neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než
|
|
37
|
+
"neptune.Upload.usPlaceholder": "Přetáhněte a pusťte sem soubor menší než {maxSize}MB",
|
|
38
38
|
"neptune.UploadButton.allFileTypes": "Všechny typy souborů",
|
|
39
39
|
"neptune.UploadButton.dropFiles": "Pusťte sem soubor pro jeho nahrání",
|
|
40
40
|
"neptune.UploadButton.instructions": "{fileTypes}, menší než {size}MB",
|
package/src/i18n/de.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Eine andere Datei hochladen?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Hochladen fehlgeschlagen. Bitte versuche es erneut",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Fertig hochgeladen!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Bitte wähle eine Datei aus, die kleiner als {maxSize} MB ist",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Dateityp wird nicht unterstützt. Bitte versuche es erneut mit einer anderen Datei",
|
|
34
34
|
"neptune.Upload.psButtonText": "Abbrechen",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Wird hochgeladen...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Oder wähle eine Datei aus",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Datei zum Hochladen in dieses Feld ziehen",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Ziehe eine Datei in dieses Feld, die kleiner als {maxSize} MB ist",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Alle Dateiformate",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Datei zum Hochladen in dieses Feld ziehen",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, kleiner als {size} MB",
|
package/src/i18n/en.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Upload another file?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Upload failed. Please, try again",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Upload complete!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Please provide a file smaller than
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Please provide a file smaller than {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "File type not supported. Please try again with a different file",
|
|
34
34
|
"neptune.Upload.psButtonText": "Cancel",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Uploading...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Or select a file",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Drop file to start upload",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Drag and drop a file less than
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Drag and drop a file less than {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "All file types",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Drop file to start upload",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, less than {size}MB",
|
package/src/i18n/es.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "¿Quieres subir otro archivo?",
|
|
30
30
|
"neptune.Upload.csFailureText": "La carga del archivo ha fallado. Por favor, inténtalo de nuevo",
|
|
31
31
|
"neptune.Upload.csSuccessText": "¡Se ha subido el archivo!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Por favor, sube un archivo de menos de {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Tipo de archivo no aceptado. Por favor, inténtalo de nuevo con un archivo diferente",
|
|
34
34
|
"neptune.Upload.psButtonText": "Cancela",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Subiendo...",
|
|
36
36
|
"neptune.Upload.usButtonText": "O selecciona un archivo",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Arrastra un archivo para subirlo",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Arrastra y suelta un archivo menor de {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Todos los tipos de archivos",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Arrastra un archivo para subirlo",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, menor que {size}MB",
|
package/src/i18n/hu.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Másik fájl feltöltése?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Feltöltés sikertelen. Kérünk, próbáld újra",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Feltöltés sikeres",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Kérünk,
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Kérünk, {maxSize} MB-nál kisebb fájlt tölts fel",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Nem támogatott fájltípus. Kérünk, próbáld újra másik fájllal",
|
|
34
34
|
"neptune.Upload.psButtonText": "Mégsem",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Feltöltés...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Vagy válaszd ki a fájlt",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Húzd ide a fájlokat a feltöltéshez",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Húzz ide egy
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Húzz ide egy {maxSize} MB-nál kisebb fájlt",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Összes fájltípus",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Húzd a fájlokat ide a feltöltéshez",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, legfeljebb {size}MB",
|
package/src/i18n/id.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Unggah file lainnya?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Unggahan gagal. Silakan coba lagi",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Pengunggahan selesai!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Harap berikan file kurang dari {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Tipe file ini tidak didukung. Mohon coba lagi dengan file yang berbeda",
|
|
34
34
|
"neptune.Upload.psButtonText": "Batalkan",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Mengunggah...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Atau pilih file",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Letakkan file untuk mulai mengunggah",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Geser dan letakkan file berukuran kurang dari {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Semua jenis file",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Lepaskan file untuk mulai mengunggah",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, kurang dari {size}MB",
|
package/src/i18n/it.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Carica un altro documento?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Caricamento fallito. Per favore riprova",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Caricamento completato!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Carica un file più piccolo di {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Formato del documento non supportato. Riprova con un formato diverso",
|
|
34
34
|
"neptune.Upload.psButtonText": "Annulla",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Caricamento...",
|
|
36
36
|
"neptune.Upload.usButtonText": "O seleziona un documento",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Rilascia il documento per iniziare il caricamento",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Trascina e rilascia un file inferiore a {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Tutti i tipi di file",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Rilascia file per iniziare a caricare",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, minore di {size}MB",
|
package/src/i18n/ja.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "別のファイルをアップロードしますか?",
|
|
30
30
|
"neptune.Upload.csFailureText": "アップロードに失敗しました。もう一度やり直してください。",
|
|
31
31
|
"neptune.Upload.csSuccessText": "アップロードが完了しました。",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "{maxSize}MBよりも小さいファイルをアップロードください",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "ファイルの種類はサポートされていません。別のファイルで再度お試しください",
|
|
34
34
|
"neptune.Upload.psButtonText": "キャンセル",
|
|
35
35
|
"neptune.Upload.psProcessingText": "アップロード中…",
|
|
36
36
|
"neptune.Upload.usButtonText": "または、ファイルを選択する",
|
|
37
37
|
"neptune.Upload.usDropMessage": "ファイルをドロップしてアップロードする",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "
|
|
38
|
+
"neptune.Upload.usPlaceholder": "{maxSize}MB以下のファイルのみドラッグ&ドロップが可能です",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "すべてのファイル種類",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "ファイルをドロップしてアップロードする",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}、{size}MB以下",
|
package/src/i18n/pl.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Prześlij kolejny plik?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Przesyłanie nie powiodło się. Proszę spróbować ponownie",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Przesyłanie zakończone!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Proszę przesłać plik mniejszy niż {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Nieobsługiwany typ pliku. Spróbuj ponownie z innym plikiem",
|
|
34
34
|
"neptune.Upload.psButtonText": "Anuluj",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Przesyłanie...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Lub wybierz plik",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Upuść plik, aby rozpocząć przesyłanie",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Przeciągnij i upuść plik mniejszy niż {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Wszystkie typy plików",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Upuść plik, żeby rozpocząć przesyłanie",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, mniejsze niż {size}MB",
|
package/src/i18n/pt.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Enviar outro documento?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Falha no envio. Por favor, tente novamente",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Envio concluído!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Por favor, envie um arquivo com menos de {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Não trabalhamos com este tipo de arquivo. Por favor, tente novamente com um arquivo diferente",
|
|
34
34
|
"neptune.Upload.psButtonText": "Cancelar",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Enviando...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Ou escolha um arquivo",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Arraste o arquivo para iniciar o envio",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Arraste e envie um arquivo menor que {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Todos os tipos de arquivos",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Arraste o arquivo para iniciar o envio",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, com menos de {size}MB",
|
package/src/i18n/ro.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Încarci un alt fișier?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Încărcare eșuată. Te rugăm să încerci din nou",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Încărcare completă!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Te rugăm să furnizezi un fișier mai mic de {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Tipul de fișier nu a fost acceptat. Te rugăm să încerci din nou cu un alt fișier",
|
|
34
34
|
"neptune.Upload.psButtonText": "Anulează",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Se încarcă...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Sau selectează un fișier",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Atașează fișierul pentru a începe încărcarea",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Glisează și atașează un fișier de până în {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Toate tipurile de fișiere",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Trage fișierul pentru a începe încărcarea",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, de maximum {size}MB",
|
package/src/i18n/ru.json
CHANGED
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"neptune.Upload.csButtonText": "Загрузить другой файл?",
|
|
30
30
|
"neptune.Upload.csFailureText": "Загрузка не удалась. Пожалуйста, попробуйте снова",
|
|
31
31
|
"neptune.Upload.csSuccessText": "Загрузка завершена!",
|
|
32
|
-
"neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее
|
|
32
|
+
"neptune.Upload.csTooLargeMessage": "Пожалуйста, загрузите файл размером менее {maxSize}MB",
|
|
33
33
|
"neptune.Upload.csWrongTypeMessage": "Тип файла не поддерживается. Пожалуйста, попробуйте еще раз с другим файлом",
|
|
34
34
|
"neptune.Upload.psButtonText": "Отменить",
|
|
35
35
|
"neptune.Upload.psProcessingText": "Загружаем...",
|
|
36
36
|
"neptune.Upload.usButtonText": "Или выберите файл",
|
|
37
37
|
"neptune.Upload.usDropMessage": "Перетащите файл, чтобы начать загрузку",
|
|
38
|
-
"neptune.Upload.usPlaceholder": "Перетащите файл не больше
|
|
38
|
+
"neptune.Upload.usPlaceholder": "Перетащите файл не больше {maxSize}MB",
|
|
39
39
|
"neptune.UploadButton.allFileTypes": "Все типы файлов",
|
|
40
40
|
"neptune.UploadButton.dropFiles": "Перетащите файл, чтобы начать загрузку",
|
|
41
41
|
"neptune.UploadButton.instructions": "{fileTypes}, не превышающий {size} MB",
|