@transferwise/components 37.11.1 → 38.2.0
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/CHANGELOG.md +36 -0
- package/build/es/no-polyfill/accordion/AccordionItem/AccordionItem.js +1 -1
- package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -1
- package/build/es/no-polyfill/card/Card.js +1 -2
- package/build/es/no-polyfill/checkboxButton/CheckboxButton.js +1 -1
- package/build/es/no-polyfill/checkboxOption/CheckboxOption.js +1 -1
- package/build/es/no-polyfill/common/Option/Option.js +1 -1
- package/build/es/no-polyfill/common/flowHeader/FlowHeader.js +1 -0
- package/build/es/no-polyfill/common/flowHeader/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
- package/build/es/no-polyfill/dateLookup/dateHeader/index.js +1 -0
- package/build/es/no-polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -1
- package/build/es/no-polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -1
- package/build/es/no-polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -1
- package/build/es/no-polyfill/flowNavigation/FlowNavigation.js +2 -2
- package/build/es/no-polyfill/header/Header.js +5 -1
- package/build/es/no-polyfill/header/Header.spec.js +1 -0
- package/build/es/no-polyfill/header/Header.story.js +1 -0
- package/build/es/no-polyfill/index.js +1 -1
- package/build/es/no-polyfill/navigationOption/NavigationOption.js +1 -1
- package/build/es/no-polyfill/navigationOptionsList/NavigationOptionsList.js +1 -1
- package/build/es/no-polyfill/nudge/Nudge.js +1 -1
- package/build/es/no-polyfill/overlayHeader/OverlayHeader.js +1 -1
- package/build/es/no-polyfill/radioOption/RadioOption.js +1 -1
- package/build/es/no-polyfill/section/Section.js +5 -0
- package/build/es/no-polyfill/section/Section.spec.js +1 -0
- package/build/es/no-polyfill/section/Section.story.js +1 -0
- package/build/es/no-polyfill/section/index.js +1 -0
- package/build/es/no-polyfill/switchOption/SwitchOption.story.js +1 -1
- package/build/es/polyfill/accordion/AccordionItem/AccordionItem.js +1 -1
- package/build/es/polyfill/actionOption/ActionOption.story.js +1 -1
- package/build/es/polyfill/card/Card.js +1 -2
- package/build/es/polyfill/checkboxButton/CheckboxButton.js +1 -1
- package/build/es/polyfill/checkboxOption/CheckboxOption.js +1 -1
- package/build/es/polyfill/common/Option/Option.js +1 -1
- package/build/es/polyfill/common/flowHeader/FlowHeader.js +1 -0
- package/build/es/polyfill/common/flowHeader/index.js +1 -0
- package/build/es/polyfill/dateLookup/dateHeader/DateHeader.js +1 -0
- package/build/es/polyfill/dateLookup/dateHeader/index.js +1 -0
- package/build/es/polyfill/dateLookup/dayCalendar/DayCalendar.js +1 -1
- package/build/es/polyfill/dateLookup/monthCalendar/MonthCalendar.js +1 -1
- package/build/es/polyfill/dateLookup/yearCalendar/YearCalendar.js +1 -1
- package/build/es/polyfill/flowNavigation/FlowNavigation.js +2 -2
- package/build/es/polyfill/header/Header.js +5 -1
- package/build/es/polyfill/header/Header.spec.js +1 -0
- package/build/es/polyfill/header/Header.story.js +1 -0
- package/build/es/polyfill/index.js +1 -1
- package/build/es/polyfill/navigationOption/NavigationOption.js +1 -1
- package/build/es/polyfill/navigationOptionsList/NavigationOptionsList.js +1 -1
- package/build/es/polyfill/nudge/Nudge.js +1 -1
- package/build/es/polyfill/overlayHeader/OverlayHeader.js +1 -1
- package/build/es/polyfill/radioOption/RadioOption.js +1 -1
- package/build/es/polyfill/section/Section.js +5 -0
- package/build/es/polyfill/section/Section.spec.js +1 -0
- package/build/es/polyfill/section/Section.story.js +1 -0
- package/build/es/polyfill/section/index.js +1 -0
- package/build/es/polyfill/switchOption/SwitchOption.story.js +1 -1
- package/build/main.css +1 -1
- package/build/styles/accordion/Accordion.css +1 -1
- package/build/styles/card/Card.css +1 -1
- package/build/styles/common/Option/Option.css +1 -1
- package/build/styles/flowNavigation/FlowNavigation.css +1 -1
- package/build/styles/header/Header.css +1 -0
- package/build/styles/main.css +1 -1
- package/build/styles/navigationOption/NavigationOption.css +1 -1
- package/build/styles/navigationOptionsList/NavigationOptionsList.css +1 -1
- package/build/styles/section/Section.css +1 -0
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts +18 -18
- package/build/types/actionOption/ActionOption.story.d.ts +1 -0
- package/build/types/card/Card.d.ts +1 -0
- package/build/types/checkboxOption/CheckboxOption.d.ts +1 -0
- package/build/types/common/Option/Option.d.ts +39 -51
- package/build/types/common/bottomSheet/BottomSheet.d.ts +0 -1
- package/build/types/common/commonProps.d.ts +4 -0
- package/build/types/common/flowHeader/FlowHeader.d.ts +2 -0
- package/build/types/common/flowHeader/index.d.ts +1 -0
- package/build/types/dateLookup/{header/Header.d.ts → dateHeader/DateHeader.d.ts} +3 -3
- package/build/types/dateLookup/dateHeader/index.d.ts +1 -0
- package/build/types/header/Header.d.ts +27 -1
- package/build/types/header/Header.spec.d.ts +1 -0
- package/build/types/header/Header.story.d.ts +9 -0
- package/build/types/header/index.d.ts +1 -1
- package/build/types/index.d.ts +47 -45
- package/build/types/navigationOption/NavigationOption.d.ts +1 -0
- package/build/types/radioOption/RadioOption.d.ts +1 -0
- package/build/types/section/Section.d.ts +10 -0
- package/build/types/section/Section.spec.d.ts +1 -0
- package/build/types/section/Section.story.d.ts +14 -0
- package/build/types/section/index.d.ts +1 -0
- package/build/types/switchOption/SwitchOption.story.d.ts +1 -0
- package/build/umd/no-polyfill/main.js +1 -1
- package/build/umd/polyfill/main.js +1 -1
- package/package.json +3 -3
- package/build/es/no-polyfill/common/Option/OptionDocumentation.js +0 -1
- package/build/es/no-polyfill/dateLookup/header/Header.js +0 -1
- package/build/es/no-polyfill/dateLookup/header/index.js +0 -1
- package/build/es/polyfill/common/Option/OptionDocumentation.js +0 -1
- package/build/es/polyfill/dateLookup/header/Header.js +0 -1
- package/build/es/polyfill/dateLookup/header/index.js +0 -1
- package/build/types/dateLookup/header/index.d.ts +0 -1
package/build/types/index.d.ts
CHANGED
|
@@ -5,69 +5,71 @@ export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/ty
|
|
|
5
5
|
/**
|
|
6
6
|
* Components
|
|
7
7
|
*/
|
|
8
|
-
export { default as
|
|
8
|
+
export { default as Accordion } from './accordion';
|
|
9
|
+
export { default as ActionOption } from './actionOption';
|
|
10
|
+
export { default as Alert } from './alert';
|
|
11
|
+
export { default as Avatar } from './avatar';
|
|
12
|
+
export { default as AvatarWrapper } from './avatarWrapper';
|
|
9
13
|
export { default as Badge } from './badge';
|
|
14
|
+
export { default as BottomSheet } from './common/bottomSheet';
|
|
15
|
+
export { default as Button } from './button';
|
|
16
|
+
export { default as Card } from './card';
|
|
10
17
|
export { default as Checkbox } from './checkbox';
|
|
11
18
|
export { default as CheckboxButton } from './checkboxButton';
|
|
19
|
+
export { default as CheckboxOption } from './checkboxOption';
|
|
20
|
+
export { default as Chevron } from './chevron';
|
|
12
21
|
export { default as Chips, Chip } from './chips';
|
|
13
|
-
export { default as
|
|
14
|
-
export { default as
|
|
15
|
-
export { default as
|
|
16
|
-
export { default as
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
22
|
+
export { default as CircularButton } from './circularButton';
|
|
23
|
+
export { default as DateInput } from './dateInput';
|
|
24
|
+
export { default as DateLookup } from './dateLookup';
|
|
25
|
+
export { default as Decision } from './decision';
|
|
26
|
+
export { default as DefinitionList } from './definitionList';
|
|
27
|
+
export { default as Dimmer } from './dimmer';
|
|
28
|
+
export { default as Drawer } from './drawer';
|
|
29
|
+
export { default as DynamicFieldDefinitionList } from './dynamicFieldDefinitionList';
|
|
30
|
+
export { default as Emphasis } from './emphasis';
|
|
19
31
|
export { default as FlowNavigation } from './flowNavigation';
|
|
20
|
-
export { default as
|
|
21
|
-
export { default as
|
|
32
|
+
export { default as Header } from './header';
|
|
33
|
+
export { default as Image } from './image';
|
|
34
|
+
export { default as Info } from './info';
|
|
35
|
+
export { default as InlineAlert } from './inlineAlert';
|
|
36
|
+
export { default as InputWithDisplayFormat } from './inputWithDisplayFormat';
|
|
37
|
+
export { default as InstructionsList } from './instructionsList';
|
|
38
|
+
export { default as Link } from './link';
|
|
39
|
+
export { default as Loader } from './loader';
|
|
40
|
+
export { default as Logo } from './logo';
|
|
41
|
+
export { default as Markdown } from './markdown';
|
|
22
42
|
export { default as Modal } from './modal';
|
|
23
|
-
export { default as
|
|
24
|
-
export { default as
|
|
43
|
+
export { default as Money } from './money';
|
|
44
|
+
export { default as MoneyInput } from './moneyInput';
|
|
25
45
|
export { default as NavigationOption } from './navigationOption';
|
|
26
46
|
export { default as NavigationOptionsList } from './navigationOptionsList';
|
|
27
|
-
export { default as
|
|
47
|
+
export { default as Nudge } from './nudge';
|
|
48
|
+
export { default as OverlayHeader } from './overlayHeader';
|
|
28
49
|
export { default as PhoneNumberInput } from './phoneNumberInput';
|
|
29
|
-
export { default as
|
|
30
|
-
export { default as InstructionsList } from './instructionsList';
|
|
50
|
+
export { default as Popover } from './popover';
|
|
31
51
|
export { default as ProcessIndicator } from './processIndicator';
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as DynamicFieldDefinitionList } from './dynamicFieldDefinitionList';
|
|
35
|
-
export { default as Emphasis } from './emphasis';
|
|
36
|
-
export { default as Avatar } from './avatar';
|
|
37
|
-
export { default as Button } from './button';
|
|
38
|
-
export { default as CircularButton } from './circularButton';
|
|
52
|
+
export { default as Provider } from './provider';
|
|
53
|
+
export { default as Radio } from './radio';
|
|
39
54
|
export { default as RadioGroup } from './radioGroup';
|
|
40
|
-
export { default as
|
|
41
|
-
export { default as
|
|
42
|
-
export { default as
|
|
43
|
-
export { default as Chevron } from './chevron';
|
|
44
|
-
export { default as Accordion } from './accordion';
|
|
45
|
-
export { default as Dimmer } from './dimmer';
|
|
55
|
+
export { default as RadioOption } from './radioOption';
|
|
56
|
+
export { default as Section } from './section';
|
|
57
|
+
export { default as Select } from './select';
|
|
46
58
|
export { default as SlidingPanel } from './slidingPanel';
|
|
47
|
-
export { default as Drawer } from './drawer';
|
|
48
|
-
export { default as Sticky } from './sticky';
|
|
49
|
-
export { default as Typeahead } from './typeahead';
|
|
50
59
|
export { default as SnackbarPortal } from './snackbar/Snackbar';
|
|
51
60
|
export { default as SnackbarProvider } from './snackbar/SnackbarProvider';
|
|
52
|
-
export {
|
|
53
|
-
export { default as
|
|
54
|
-
export { default as OverlayHeader } from './overlayHeader';
|
|
55
|
-
export { default as Image } from './image';
|
|
56
|
-
export { default as Markdown } from './markdown';
|
|
57
|
-
export { default as Card } from './card';
|
|
61
|
+
export { default as Stepper } from './stepper';
|
|
62
|
+
export { default as Sticky } from './sticky';
|
|
58
63
|
export { default as Summary } from './summary';
|
|
59
64
|
export { default as Switch } from './switch';
|
|
60
65
|
export { default as SwitchOption } from './switchOption';
|
|
61
|
-
export { default as
|
|
62
|
-
export { default as
|
|
63
|
-
export { default as
|
|
64
|
-
export { default as
|
|
65
|
-
export { default as
|
|
66
|
-
export { default as Logo } from './logo';
|
|
67
|
-
export { default as BottomSheet } from './common/bottomSheet';
|
|
68
|
-
export { default as ActionOption } from './actionOption';
|
|
69
|
-
export { default as Link } from './link';
|
|
66
|
+
export { default as Tabs } from './tabs';
|
|
67
|
+
export { default as TextareaWithDisplayFormat } from './textareaWithDisplayFormat';
|
|
68
|
+
export { default as Tooltip } from './tooltip';
|
|
69
|
+
export { default as Typeahead } from './typeahead';
|
|
70
|
+
export { default as Upload } from './upload';
|
|
70
71
|
export { default as UploadInput } from './uploadInput';
|
|
72
|
+
export { SnackbarConsumer, SnackbarContext } from './snackbar/SnackbarContext';
|
|
71
73
|
/**
|
|
72
74
|
* Hooks
|
|
73
75
|
*/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsWithChildren } from 'react';
|
|
2
|
+
import { CommonProps } from '../common';
|
|
3
|
+
declare type SectionProps = PropsWithChildren<CommonProps>;
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Neptune Web: https://transferwise.github.io/neptune-web/components/content/Section
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
declare const Section: ({ children, className }: SectionProps) => JSX.Element;
|
|
10
|
+
export default Section;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
component: ({ children, className }: import("../common").CommonProps & {
|
|
4
|
+
children?: import("react").ReactNode;
|
|
5
|
+
}) => JSX.Element;
|
|
6
|
+
title: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
9
|
+
export declare const Basic: () => JSX.Element;
|
|
10
|
+
export declare const WithHeader: () => JSX.Element;
|
|
11
|
+
export declare const withAccordion: () => JSX.Element;
|
|
12
|
+
export declare const WithCards: () => JSX.Element;
|
|
13
|
+
export declare const WithNavigationOptions: () => JSX.Element;
|
|
14
|
+
export declare const WithNavigationOptionsList: () => JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Section';
|