@transferwise/components 0.0.0-experimental-fdc11fa → 0.0.0-experimental-88ddab3

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.
Files changed (67) hide show
  1. package/build/index.esm.js +658 -13
  2. package/build/index.esm.js.map +1 -1
  3. package/build/index.js +661 -13
  4. package/build/index.js.map +1 -1
  5. package/build/main.css +1 -1
  6. package/build/styles/inputs/Input.css +1 -1
  7. package/build/styles/inputs/InputGroup.css +1 -1
  8. package/build/styles/inputs/SelectInput.css +1 -0
  9. package/build/styles/inputs/TextArea.css +1 -1
  10. package/build/styles/main.css +1 -1
  11. package/build/types/common/hooks/useMedia.d.ts +2 -0
  12. package/build/types/common/hooks/useMedia.d.ts.map +1 -0
  13. package/build/types/common/hooks/useScreenSize.d.ts +3 -0
  14. package/build/types/common/hooks/useScreenSize.d.ts.map +1 -0
  15. package/build/types/common/preventScroll/PreventScroll.d.ts +2 -0
  16. package/build/types/common/preventScroll/PreventScroll.d.ts.map +1 -0
  17. package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts +7 -7
  18. package/build/types/dateLookup/dateTrigger/DateTrigger.messages.d.ts.map +1 -1
  19. package/build/types/index.d.ts +4 -0
  20. package/build/types/index.d.ts.map +1 -1
  21. package/build/types/inputs/Input.d.ts +1 -0
  22. package/build/types/inputs/Input.d.ts.map +1 -1
  23. package/build/types/inputs/SearchInput.d.ts +10 -0
  24. package/build/types/inputs/SearchInput.d.ts.map +1 -0
  25. package/build/types/inputs/SelectInput.d.ts +41 -0
  26. package/build/types/inputs/SelectInput.d.ts.map +1 -0
  27. package/build/types/inputs/_BottomSheet.d.ts +17 -0
  28. package/build/types/inputs/_BottomSheet.d.ts.map +1 -0
  29. package/build/types/inputs/_ButtonInput.d.ts +6 -0
  30. package/build/types/inputs/_ButtonInput.d.ts.map +1 -0
  31. package/build/types/inputs/_Popover.d.ts +18 -0
  32. package/build/types/inputs/_Popover.d.ts.map +1 -0
  33. package/build/types/inputs/_common.d.ts.map +1 -1
  34. package/build/types/utilities/wrapInFragment.d.ts +3 -0
  35. package/build/types/utilities/wrapInFragment.d.ts.map +1 -0
  36. package/package.json +13 -7
  37. package/src/common/hooks/useMedia.ts +15 -0
  38. package/src/common/hooks/useScreenSize.ts +7 -0
  39. package/src/common/preventScroll/PreventScroll.tsx +6 -0
  40. package/src/index.ts +8 -0
  41. package/src/inputs/Input.css +1 -1
  42. package/src/inputs/Input.less +14 -0
  43. package/src/inputs/Input.tsx +6 -2
  44. package/src/inputs/InputGroup.css +1 -1
  45. package/src/inputs/InputGroup.less +6 -1
  46. package/src/inputs/SearchInput.story.tsx +40 -0
  47. package/src/inputs/SearchInput.tsx +35 -0
  48. package/src/inputs/SelectInput.css +1 -0
  49. package/src/inputs/SelectInput.less +183 -0
  50. package/src/inputs/SelectInput.story.tsx +260 -0
  51. package/src/inputs/SelectInput.tsx +552 -0
  52. package/src/inputs/TextArea.css +1 -1
  53. package/src/inputs/TextArea.less +5 -0
  54. package/src/inputs/_BottomSheet.less +107 -0
  55. package/src/inputs/_BottomSheet.tsx +128 -0
  56. package/src/inputs/_ButtonInput.less +7 -0
  57. package/src/inputs/_ButtonInput.tsx +27 -0
  58. package/src/inputs/_Popover.less +38 -0
  59. package/src/inputs/_Popover.tsx +118 -0
  60. package/src/inputs/_common.less +0 -4
  61. package/src/inputs/_common.ts +0 -1
  62. package/src/main.css +1 -1
  63. package/src/main.less +4 -0
  64. package/src/select/searchBox/__snapshots__/SearchBox.spec.js.snap +1 -1
  65. package/src/ssr.spec.js +7 -0
  66. package/src/utilities/wrapInFragment.tsx +3 -0
  67. /package/src/dateLookup/dateTrigger/{DateTrigger.messages.js → DateTrigger.messages.ts} +0 -0
@@ -0,0 +1,2 @@
1
+ export declare function useMedia(query: string): boolean | undefined;
2
+ //# sourceMappingURL=useMedia.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMedia.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useMedia.ts"],"names":[],"mappings":"AAEA,wBAAgB,QAAQ,CAAC,KAAK,EAAE,MAAM,uBAYrC"}
@@ -0,0 +1,3 @@
1
+ import { Breakpoint } from '../propsValues/breakpoint';
2
+ export declare function useScreenSize(size: Breakpoint): boolean | undefined;
3
+ //# sourceMappingURL=useScreenSize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useScreenSize.d.ts","sourceRoot":"","sources":["../../../../src/common/hooks/useScreenSize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAIvD,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,uBAE7C"}
@@ -0,0 +1,2 @@
1
+ export declare function PreventScroll(): null;
2
+ //# sourceMappingURL=PreventScroll.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PreventScroll.d.ts","sourceRoot":"","sources":["../../../../src/common/preventScroll/PreventScroll.tsx"],"names":[],"mappings":"AAEA,wBAAgB,aAAa,SAG5B"}
@@ -1,9 +1,9 @@
1
- declare namespace _default {
2
- namespace ariaLabel {
3
- const id: string;
4
- const defaultMessage: string;
5
- const description: string;
6
- }
7
- }
1
+ declare const _default: {
2
+ ariaLabel: {
3
+ id: string;
4
+ defaultMessage: string;
5
+ description: string;
6
+ };
7
+ };
8
8
  export default _default;
9
9
  //# sourceMappingURL=DateTrigger.messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateTrigger.messages.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateTrigger/DateTrigger.messages.js"],"names":[],"mappings":""}
1
+ {"version":3,"file":"DateTrigger.messages.d.ts","sourceRoot":"","sources":["../../../../src/dateLookup/dateTrigger/DateTrigger.messages.ts"],"names":[],"mappings":";;;;;;;AAEA,wBAMG"}
@@ -3,6 +3,8 @@
3
3
  */
4
4
  export type { InputProps } from './inputs/Input';
5
5
  export type { InputGroupProps } from './inputs/InputGroup';
6
+ export type { SearchInputProps } from './inputs/SearchInput';
7
+ export type { SelectInputItem, SelectInputOptionContentProps, SelectInputProps, } from './inputs/SelectInput';
6
8
  export type { TextAreaProps } from './inputs/TextArea';
7
9
  export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/types';
8
10
  export type { ModalProps } from './modal';
@@ -46,6 +48,8 @@ export { default as Info } from './info';
46
48
  export { default as InlineAlert } from './inlineAlert';
47
49
  export { Input } from './inputs/Input';
48
50
  export { InputGroup } from './inputs/InputGroup';
51
+ export { SearchInput } from './inputs/SearchInput';
52
+ export { SelectInput, SelectInputOptionContent } from './inputs/SelectInput';
49
53
  export { TextArea } from './inputs/TextArea';
50
54
  export { default as InputWithDisplayFormat } from './inputWithDisplayFormat';
51
55
  export { default as InstructionsList } from './instructionsList';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,YAAY,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrF,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EACV,eAAe,EACf,eAAe,EACf,UAAU,EACV,SAAS,EACT,SAAS,EACT,YAAY,GACb,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY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AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC;;GAEG;AACH,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,oBAAoB,EACpB,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,YAAY,EACZ,aAAa,EACb,mBAAmB,GACpB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,QAAQ,CAAC"}
@@ -3,6 +3,7 @@ import { SizeLarge, SizeMedium, SizeSmall } from '../common';
3
3
  import { Merge } from '../utils';
4
4
  export interface InputProps extends Merge<React.ComponentPropsWithRef<'input'>, {
5
5
  size?: 'auto' | SizeSmall | SizeMedium | SizeLarge;
6
+ shape?: 'rectangle' | 'pill';
6
7
  'aria-invalid'?: boolean;
7
8
  }> {
8
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/inputs/Input.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,MAAM,WAAW,UACf,SAAQ,KAAK,CACX,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACnD,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEN,eAAO,MAAM,KAAK,sHAehB,CAAC"}
1
+ {"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/inputs/Input.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,MAAM,WAAW,UACf,SAAQ,KAAK,CACX,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACnD,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEN,eAAO,MAAM,KAAK,sHAkBhB,CAAC"}
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { Merge } from '../utils';
3
+ export interface SearchInputProps extends Merge<React.ComponentPropsWithRef<'input'>, {
4
+ size?: 'sm' | 'md';
5
+ shape?: 'rectangle' | 'pill';
6
+ 'aria-invalid'?: boolean;
7
+ }> {
8
+ }
9
+ export declare const SearchInput: import("react").ForwardRefExoticComponent<Omit<SearchInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
10
+ //# sourceMappingURL=SearchInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../src/inputs/SearchInput.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKjC,MAAM,WAAW,gBACf,SAAQ,KAAK,CACX,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC;IACE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEN,eAAO,MAAM,WAAW,4HAgBtB,CAAC"}
@@ -0,0 +1,41 @@
1
+ /// <reference types="react" />
2
+ interface SelectInputOptionItem<T = string> {
3
+ type: 'option';
4
+ value: T;
5
+ filterMatchers?: readonly string[];
6
+ disabled?: boolean;
7
+ }
8
+ interface SelectInputGroupItem<T = string> {
9
+ type: 'group';
10
+ label: string;
11
+ options: readonly SelectInputOptionItem<T>[];
12
+ }
13
+ interface SelectInputSeparatorItem {
14
+ type: 'separator';
15
+ }
16
+ export type SelectInputItem<T = string> = SelectInputOptionItem<T> | SelectInputGroupItem<T> | SelectInputSeparatorItem;
17
+ export interface SelectInputProps<T = string> {
18
+ name?: string;
19
+ placeholder?: string;
20
+ items: readonly SelectInputItem<NonNullable<T>>[];
21
+ defaultValue?: T;
22
+ value?: T;
23
+ renderValue?: (value: NonNullable<T>, compact: boolean) => React.ReactNode;
24
+ compareValues?: (keyof NonNullable<T> & string) | ((a: T | undefined, b: T | undefined) => boolean);
25
+ filterable?: boolean;
26
+ filterPlaceholder?: string;
27
+ disabled?: boolean;
28
+ className?: string;
29
+ onChange?: (value: T) => void;
30
+ onClear?: () => void;
31
+ }
32
+ export declare function SelectInput<T>({ name, placeholder, items, defaultValue, value: controlledValue, renderValue, compareValues, filterable, filterPlaceholder, disabled, className, onChange, onClear, }: SelectInputProps<T>): import("react").JSX.Element;
33
+ export interface SelectInputOptionContentProps {
34
+ title: string;
35
+ note?: string;
36
+ description?: string;
37
+ icon?: React.ReactNode;
38
+ }
39
+ export declare function SelectInputOptionContent({ title, note, description, icon, }: SelectInputOptionContentProps): import("react").JSX.Element;
40
+ export {};
41
+ //# sourceMappingURL=SelectInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SelectInput.d.ts","sourceRoot":"","sources":["../../../src/inputs/SelectInput.tsx"],"names":[],"mappings":";AA0CA,UAAU,qBAAqB,CAAC,CAAC,GAAG,MAAM;IACxC,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,CAAC,CAAC;IACT,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,UAAU,oBAAoB,CAAC,CAAC,GAAG,MAAM;IACvC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IAC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AAa,EACb,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,OAAO,GACR,EAAE,gBAAgB,CAAC,CAAC,CAAC,+BA2GrB;AA8PD,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB;AAED,wBAAgB,wBAAwB,CAAC,EACvC,KAAK,EACL,IAAI,EACJ,WAAW,EACX,IAAI,GACL,EAAE,6BAA6B,+BA4C/B"}
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ export interface BottomSheetProps {
3
+ open: boolean;
4
+ renderTrigger?: (args: {
5
+ ref: React.RefCallback<Element>;
6
+ getInteractionProps: (customEventHandlers?: React.HTMLProps<Element>) => {
7
+ [key: string]: unknown;
8
+ };
9
+ }) => React.ReactNode;
10
+ title?: string;
11
+ initialFocusRef?: React.RefObject<HTMLElement>;
12
+ padding?: 'none' | 'md';
13
+ children?: React.ReactNode;
14
+ onClose?: () => void;
15
+ }
16
+ export declare function BottomSheet({ open, renderTrigger, title, initialFocusRef, padding, children, onClose, }: BottomSheetProps): import("react").JSX.Element;
17
+ //# sourceMappingURL=_BottomSheet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_BottomSheet.d.ts","sourceRoot":"","sources":["../../../src/inputs/_BottomSheet.tsx"],"names":[],"mappings":";AAgBA,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE;QACrB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,aAAa,EACb,KAAK,EACL,eAAe,EACf,OAAc,EACd,QAAQ,EACR,OAAO,GACR,EAAE,gBAAgB,+BAwFlB"}
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface ButtonInputProps extends React.ComponentPropsWithRef<'button'> {
3
+ size?: 'sm' | 'md' | 'lg';
4
+ }
5
+ export declare const ButtonInput: import("react").ForwardRefExoticComponent<Omit<ButtonInputProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
6
+ //# sourceMappingURL=_ButtonInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_ButtonInput.d.ts","sourceRoot":"","sources":["../../../src/inputs/_ButtonInput.tsx"],"names":[],"mappings":";AAMA,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,qBAAqB,CAAC,QAAQ,CAAC;IAC7E,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,6HAgBtB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import { type Side } from '@floating-ui/react';
3
+ export interface PopoverProps {
4
+ placement?: Side;
5
+ open: boolean;
6
+ renderTrigger: (args: {
7
+ ref: React.RefCallback<Element>;
8
+ getInteractionProps: (customEventHandlers?: React.HTMLProps<Element>) => {
9
+ [key: string]: unknown;
10
+ };
11
+ }) => React.ReactNode;
12
+ title?: string;
13
+ padding?: 'none' | 'md';
14
+ children?: React.ReactNode;
15
+ onClose?: () => void;
16
+ }
17
+ export declare function Popover({ placement, open, renderTrigger, title, padding, children, onClose, }: PopoverProps): import("react").JSX.Element;
18
+ //# sourceMappingURL=_Popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_Popover.d.ts","sourceRoot":"","sources":["../../../src/inputs/_Popover.tsx"],"names":[],"mappings":";AAAA,OAAO,EAOL,KAAK,IAAI,EAMV,MAAM,oBAAoB,CAAC;AAO5B,MAAM,WAAW,YAAY;IAC3B,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,aAAa,EAAE,CAAC,IAAI,EAAE;QACpB,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;QAChC,mBAAmB,EAAE,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,KAAK;YACvE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;SACxB,CAAC;KACH,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAID,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,IAAI,EACJ,aAAa,EACb,KAAK,EACL,OAAc,EACd,QAAQ,EACR,OAAO,GACR,EAAE,YAAY,+BAwEd"}
@@ -1 +1 @@
1
- {"version":3,"file":"_common.d.ts","sourceRoot":"","sources":["../../../src/inputs/_common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EAAE,IAAa,EAAE,GAAE,oBAAyB,UAYpF"}
1
+ {"version":3,"file":"_common.d.ts","sourceRoot":"","sources":["../../../src/inputs/_common.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAE7D,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;CACpD,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EAAE,IAAa,EAAE,GAAE,oBAAyB,UAWpF"}
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare function wrapInFragment(value: unknown): import("react").JSX.Element;
3
+ //# sourceMappingURL=wrapInFragment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"wrapInFragment.d.ts","sourceRoot":"","sources":["../../../src/utilities/wrapInFragment.tsx"],"names":[],"mappings":";AAAA,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,+BAE5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-fdc11fa",
3
+ "version": "0.0.0-experimental-88ddab3",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -62,7 +62,8 @@
62
62
  "@types/react-dom": "^17.0.20",
63
63
  "@types/react-transition-group": "4.4.5",
64
64
  "@types/testing-library__jest-dom": "^5.14.5",
65
- "@wise/art": "^2.0.1",
65
+ "@types/use-sync-external-store": "^0.0.4",
66
+ "@wise/art": "^2.8.0",
66
67
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
67
68
  "babel-plugin-formatjs": "^10.5.3",
68
69
  "babel-plugin-inline-react-svg": "^2.0.2",
@@ -77,14 +78,14 @@
77
78
  "rollup": "^3.28.1",
78
79
  "storybook": "^7.0.6",
79
80
  "@transferwise/less-config": "3.0.6",
80
- "@wise/components-theming": "0.0.0-experimental-fdc11fa",
81
- "@transferwise/neptune-css": "14.5.2"
81
+ "@transferwise/neptune-css": "14.5.2",
82
+ "@wise/components-theming": "0.8.4"
82
83
  },
83
84
  "peerDependencies": {
84
85
  "@transferwise/icons": "^3.7.0",
85
86
  "@transferwise/neptune-css": "^14.5.2",
86
87
  "@wise/art": "^2",
87
- "@wise/components-theming": "0.0.0-experimental-fdc11fa",
88
+ "@wise/components-theming": "^0.8.4",
88
89
  "currency-flags": "^4.0.2",
89
90
  "react": ">=16.14",
90
91
  "react-dom": ">=16.14",
@@ -97,8 +98,12 @@
97
98
  },
98
99
  "dependencies": {
99
100
  "@babel/runtime": "^7.22.15",
101
+ "@floating-ui/react": "^0.25.4",
100
102
  "@formatjs/intl-locale": "^2.4.14",
103
+ "@headlessui/react": "^1.7.17",
101
104
  "@popperjs/core": "^2.6.0",
105
+ "@radix-ui/react-id": "^1.0.0",
106
+ "@react-aria/overlays": "^3.17.0",
102
107
  "@react-spring/web": "~9.6.1",
103
108
  "@transferwise/formatting": "^2.1.0",
104
109
  "@transferwise/neptune-validation": "^3.1.0",
@@ -115,7 +120,8 @@
115
120
  "react-merge-refs": "^1.1.0",
116
121
  "react-popper": "^2.2.4",
117
122
  "react-required-if": "^1.0.3",
118
- "react-transition-group": "^4.4.2"
123
+ "react-transition-group": "^4.4.2",
124
+ "use-sync-external-store": "^1.2.0"
119
125
  },
120
126
  "watch": {
121
127
  "build:crowdin-source-file": "src/**/*.messages.js"
@@ -139,7 +145,7 @@
139
145
  "build:clean": "rm -rf lib build",
140
146
  "build:crowdin-source-file": "formatjs extract 'src/**/*.messages.+(js|ts|tsx)' --out-file src/i18n/en.json --format simple && prettier --find-config-path --write src/i18n/*.json",
141
147
  "build:js": "rollup --config --sourcemap",
142
- "build:generate-types": "tsc && node ./scripts/generate-type-declarations.js",
148
+ "build:generate-types": "node ./scripts/generate-type-declarations.js",
143
149
  "build:copy-files": "cpx 'src/**/!(db)/*.{json,svg}' build",
144
150
  "build:copy-css": "cpx 'src/main.css' build/ & cpx 'src/**/*.css' build/styles/",
145
151
  "build:copy-lang": "cpx 'src/i18n/*.json' build/i18n && cpx 'src/i18n/index.js' build/i18n",
@@ -0,0 +1,15 @@
1
+ import { useSyncExternalStore } from 'use-sync-external-store/shim';
2
+
3
+ export function useMedia(query: string) {
4
+ return useSyncExternalStore(
5
+ (onStoreChange) => {
6
+ const mediaQueryList = window.matchMedia(query);
7
+ mediaQueryList.addEventListener('change', onStoreChange);
8
+ return () => {
9
+ mediaQueryList.removeEventListener('change', onStoreChange);
10
+ };
11
+ },
12
+ () => (typeof window !== 'undefined' ? window.matchMedia(query).matches : undefined),
13
+ () => undefined,
14
+ );
15
+ }
@@ -0,0 +1,7 @@
1
+ import { Breakpoint } from '../propsValues/breakpoint';
2
+
3
+ import { useMedia } from './useMedia';
4
+
5
+ export function useScreenSize(size: Breakpoint) {
6
+ return useMedia(`(min-width: ${size}px)`);
7
+ }
@@ -0,0 +1,6 @@
1
+ import { usePreventScroll } from '@react-aria/overlays';
2
+
3
+ export function PreventScroll() {
4
+ usePreventScroll();
5
+ return null;
6
+ }
package/src/index.ts CHANGED
@@ -3,6 +3,12 @@
3
3
  */
4
4
  export type { InputProps } from './inputs/Input';
5
5
  export type { InputGroupProps } from './inputs/InputGroup';
6
+ export type { SearchInputProps } from './inputs/SearchInput';
7
+ export type {
8
+ SelectInputItem,
9
+ SelectInputOptionContentProps,
10
+ SelectInputProps,
11
+ } from './inputs/SelectInput';
6
12
  export type { TextAreaProps } from './inputs/TextArea';
7
13
  export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/types';
8
14
  export type { ModalProps } from './modal';
@@ -54,6 +60,8 @@ export { default as Info } from './info';
54
60
  export { default as InlineAlert } from './inlineAlert';
55
61
  export { Input } from './inputs/Input';
56
62
  export { InputGroup } from './inputs/InputGroup';
63
+ export { SearchInput } from './inputs/SearchInput';
64
+ export { SelectInput, SelectInputOptionContent } from './inputs/SelectInput';
57
65
  export { TextArea } from './inputs/TextArea';
58
66
  export { default as InputWithDisplayFormat } from './inputWithDisplayFormat';
59
67
  export { default as InstructionsList } from './instructionsList';
@@ -1 +1 @@
1
- .np-form-control{--ring-width:1px;--ring-color:var(--color-interactive-secondary);background-color:transparent;border:none;box-shadow:inset 0 0 0 var(--ring-width) var(--ring-color);color:#37517e;color:var(--color-content-primary);min-height:0;padding-left:16px;padding-left:var(--size-16);padding-right:16px;padding-right:var(--size-16);transition-duration:.3s;transition-property:color,opacity,box-shadow;transition-timing-function:ease-in-out}.np-form-control:focus-visible{outline:none}.np-form-control[aria-invalid=true]{--ring-width:2px;--ring-color:var(--color-sentiment-negative)!important}.np-form-control:hover:enabled{--ring-width:2px;--ring-color:var(--color-interactive-secondary-hover)}.np-form-control:focus:enabled{--ring-width:3px;--ring-color:var(--color-interactive-primary)}.np-form-control--size-auto{padding-bottom:12px;padding-bottom:var(--size-12);padding-top:12px;padding-top:var(--size-12)}.np-form-control--size-lg,.np-form-control--size-md,.np-form-control--size-sm{padding-bottom:0!important;padding-top:0!important}.np-form-control--size-sm{height:32px!important;height:var(--size-32)!important}.np-form-control--size-md{height:48px!important;height:var(--size-48)!important}.np-form-control--size-lg{height:72px!important;height:var(--size-72)!important}.np-form-control--shape-rectangle{border-radius:10px;border-radius:var(--radius-small)}
1
+ .np-form-control{--ring-width:1px;--ring-color:var(--color-interactive-secondary);background-color:transparent;border:none;box-shadow:inset 0 0 0 var(--ring-width) var(--ring-color);color:#37517e;color:var(--color-content-primary);min-height:0;padding-left:16px;padding-left:var(--size-16);padding-right:16px;padding-right:var(--size-16);transition-duration:.3s;transition-property:color,opacity,box-shadow;transition-timing-function:ease-in-out}.np-form-control:focus-visible{outline:none}.np-form-control[aria-invalid=true]{--ring-width:2px;--ring-color:var(--color-sentiment-negative)!important}.np-form-control:hover:enabled{--ring-width:2px;--ring-color:var(--color-interactive-secondary-hover)}.np-form-control:focus:enabled{--ring-width:3px;--ring-color:var(--color-interactive-primary)}.np-form-control--size-auto{padding-bottom:12px;padding-bottom:var(--size-12);padding-top:12px;padding-top:var(--size-12)}.np-form-control--size-lg,.np-form-control--size-md,.np-form-control--size-sm{padding-bottom:0!important;padding-top:0!important}.np-form-control--size-sm{height:32px!important;height:var(--size-32)!important}.np-form-control--size-md{height:48px!important;height:var(--size-48)!important}.np-form-control--size-lg{height:72px!important;height:var(--size-72)!important}.np-input::-moz-placeholder{color:#768e9c;color:var(--color-content-tertiary)}.np-input::placeholder{color:#768e9c;color:var(--color-content-tertiary)}.np-input--shape-rectangle{border-radius:10px!important;border-radius:var(--radius-small)!important}.np-input--shape-pill{border-radius:9999px!important}
@@ -1 +1,15 @@
1
1
  @import "./_common.less";
2
+
3
+ .np-input {
4
+ &::placeholder {
5
+ color: var(--color-content-tertiary);
6
+ }
7
+
8
+ &--shape-rectangle {
9
+ border-radius: var(--radius-small) !important;
10
+ }
11
+
12
+ &--shape-pill {
13
+ border-radius: 9999px !important;
14
+ }
15
+ }
@@ -12,12 +12,13 @@ export interface InputProps
12
12
  React.ComponentPropsWithRef<'input'>,
13
13
  {
14
14
  size?: 'auto' | SizeSmall | SizeMedium | SizeLarge;
15
+ shape?: 'rectangle' | 'pill';
15
16
  'aria-invalid'?: boolean;
16
17
  }
17
18
  > {}
18
19
 
19
20
  export const Input = forwardRef(function Input(
20
- { size = 'auto', className, ...restProps }: InputProps,
21
+ { size = 'auto', shape = 'rectangle', className, ...restProps }: InputProps,
21
22
  reference: React.ForwardedRef<HTMLInputElement>,
22
23
  ) {
23
24
  const inputPaddings = useInputPaddings();
@@ -25,7 +26,10 @@ export const Input = forwardRef(function Input(
25
26
  return (
26
27
  <input
27
28
  ref={reference}
28
- className={classNames(className, formControlClassNameBase({ size }))}
29
+ className={classNames(className, formControlClassNameBase({ size }), 'np-input', {
30
+ 'np-input--shape-rectangle': shape === 'rectangle',
31
+ 'np-input--shape-pill': shape === 'pill',
32
+ })}
29
33
  // eslint-disable-next-line react/forbid-dom-props
30
34
  style={inputPaddings}
31
35
  {...restProps}
@@ -1 +1 @@
1
- .np-input-group{border-radius:50%;border-radius:var(--radius-full);display:inline-grid;grid-auto-columns:minmax(0,1fr)}.np-input-group>*{grid-column-start:1;grid-row-start:1}.np-input-addon{align-items:center;color:#c9cbce;color:var(--color-interactive-secondary);display:inline-flex;pointer-events:none;transition-duration:.15s;transition-property:color,opacity;transition-timing-function:ease-out;z-index:10}.np-input-group:has(>:is(input,button,select):focus-visible) .np-input-addon{color:var(--color-interactive-primary)}.np-input-group:has(>:is(input,button,select):hover) .np-input-addon{color:#b5b7ba;color:var(--color-interactive-secondary-hover)}.np-input-addon--placement-start{justify-self:start}.np-input-addon--placement-end{justify-self:end}.np-input-addon--interactive>*{pointer-events:auto}.np-input-addon--padding-sm{padding-left:8px;padding-left:var(--size-8);padding-right:8px;padding-right:var(--size-8)}.np-input-addon--padding-md{padding-left:16px;padding-left:var(--size-16);padding-right:16px;padding-right:var(--size-16)}.np-input-addon--padding-md.np-input-addon--placement-start{padding-inline-end:8px;padding-inline-end:var(--size-8)}.np-input-addon--padding-md.np-input-addon--placement-end{padding-inline-start:8px;padding-inline-start:var(--size-8)}
1
+ .np-input-group{border-radius:9999px;display:inline-grid;grid-auto-columns:minmax(0,1fr)}.np-input-group>*{grid-column-start:1;grid-row-start:1}.np-input-addon{align-items:center;color:#c9cbce;color:var(--color-interactive-secondary);display:inline-flex;pointer-events:none;transition-duration:.15s;transition-property:color,opacity;transition-timing-function:ease-out;z-index:10}.np-input-group:disabled .np-input-addon:not(.np-input-addon--interactive){mix-blend-mode:luminosity;opacity:.45}.np-input-group:has(>:is(input,button,select):focus-visible) .np-input-addon{color:var(--color-interactive-primary)}.np-input-group:has(>:is(input,button,select):hover) .np-input-addon{color:#b5b7ba;color:var(--color-interactive-secondary-hover)}.np-input-addon--placement-start{justify-self:start}.np-input-addon--placement-end{justify-self:end}.np-input-addon--interactive>*{pointer-events:auto}.np-input-addon--padding-sm{padding-left:8px;padding-left:var(--size-8);padding-right:8px;padding-right:var(--size-8)}.np-input-addon--padding-md{padding-left:16px;padding-left:var(--size-16);padding-right:16px;padding-right:var(--size-16)}.np-input-addon--padding-md.np-input-addon--placement-start{padding-inline-end:8px;padding-inline-end:var(--size-8)}.np-input-addon--padding-md.np-input-addon--placement-end{padding-inline-start:8px;padding-inline-start:var(--size-8)}
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  /* Prevent unwanted `group-hover/input` triggers */
11
- border-radius: var(--radius-full);
11
+ border-radius: 9999px;
12
12
  }
13
13
 
14
14
  .np-input-addon {
@@ -21,6 +21,11 @@
21
21
  transition-timing-function: ease-out;
22
22
  transition-duration: 150ms;
23
23
 
24
+ .np-input-group:disabled &:not(&--interactive) {
25
+ opacity: 0.45;
26
+ mix-blend-mode: luminosity;
27
+ }
28
+
24
29
  .np-input-group:has(>:is(input,button,select):focus-visible) & {
25
30
  color: var(--color-interactive-primary);
26
31
  }
@@ -0,0 +1,40 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { useState } from 'react';
3
+
4
+ import { SearchInput } from './SearchInput';
5
+
6
+ export default {
7
+ component: SearchInput,
8
+ title: 'Forms/SearchInput',
9
+ } satisfies Meta<typeof SearchInput>;
10
+
11
+ type Story = StoryObj<typeof SearchInput>;
12
+
13
+ export const Basic: Story = {
14
+ render: (args) => <SearchInputBasic {...args} />,
15
+ args: {
16
+ size: 'md',
17
+ shape: 'pill',
18
+ disabled: false,
19
+ },
20
+ argTypes: {
21
+ onChange: {
22
+ action: 'changed',
23
+ },
24
+ },
25
+ };
26
+
27
+ function SearchInputBasic({ onChange, ...restProps }: NonNullable<Story['args']>) {
28
+ const [value, setValue] = useState('Text value');
29
+
30
+ return (
31
+ <SearchInput
32
+ {...restProps}
33
+ value={value}
34
+ onChange={(event) => {
35
+ setValue(event.currentTarget.value);
36
+ onChange?.(event);
37
+ }}
38
+ />
39
+ );
40
+ }
@@ -0,0 +1,35 @@
1
+ import { Search } from '@transferwise/icons';
2
+ import { forwardRef } from 'react';
3
+
4
+ import { Merge } from '../utils';
5
+
6
+ import { Input } from './Input';
7
+ import { InputGroup } from './InputGroup';
8
+
9
+ export interface SearchInputProps
10
+ extends Merge<
11
+ React.ComponentPropsWithRef<'input'>,
12
+ {
13
+ size?: 'sm' | 'md';
14
+ shape?: 'rectangle' | 'pill';
15
+ 'aria-invalid'?: boolean;
16
+ }
17
+ > {}
18
+
19
+ export const SearchInput = forwardRef(function SearchInput(
20
+ { shape = 'pill', disabled, className, ...restProps }: SearchInputProps,
21
+ ref: React.ForwardedRef<HTMLInputElement>,
22
+ ) {
23
+ return (
24
+ <InputGroup
25
+ addonStart={{
26
+ content: <Search size={24} />,
27
+ initialContentWidth: 24,
28
+ }}
29
+ disabled={disabled}
30
+ className={className}
31
+ >
32
+ <Input ref={ref} role="searchbox" inputMode="search" shape={shape} {...restProps} />
33
+ </InputGroup>
34
+ );
35
+ });
@@ -0,0 +1 @@
1
+ .np-select-input-placeholder{color:#768e9c;color:var(--color-content-tertiary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-select-input-options-container{display:flex;flex-direction:column;height:100%}.np-select-input-options-container:focus{outline:none}@media (min-width:576px){.np-select-input-options-container{max-height:28rem}}.np-select-input-query-container{display:flex;flex-direction:column;padding:8px;padding:var(--size-8);padding-top:0}@media (min-width:576px){.np-select-input-query-container{padding-top:8px;padding-top:var(--size-8)}}.np-select-input-listbox-container{height:var(--initial-height);overflow-y:auto;position:relative;scroll-padding-bottom:8px;scroll-padding-bottom:var(--size-8);scroll-padding-top:8px;scroll-padding-top:var(--size-8)}@media (min-width:576px){.np-select-input-listbox-container{height:auto}}.np-select-input-listbox-container--has-group{scroll-padding-top:32px;scroll-padding-top:var(--size-32)}.np-select-input-listbox{padding:8px;padding:var(--size-8)}.np-select-input-listbox:focus{outline:none}.np-select-input-separator-item{border-top-width:1px;margin:8px;margin:var(--size-8)}.np-select-input-group-item--without-needle:first-child{margin-top:-8px;margin-top:calc(var(--size-8)*-1)}.np-select-input-group-item-header{background-color:#fff;background-color:var(--color-background-elevated);color:#5d7079;color:var(--color-content-secondary);padding:8px 16px 4px;padding:var(--size-8) var(--size-16) var(--size-4);position:sticky;top:0;z-index:10}.np-select-input-option-container{align-items:center;border-radius:10px;border-radius:var(--radius-small);color:#37517e;color:var(--color-content-primary);-moz-column-gap:8px;column-gap:8px;-moz-column-gap:var(--size-8);column-gap:var(--size-8);display:flex;padding:12px 16px;padding:var(--size-12) var(--size-16)}.np-select-input-option-container--active{background-color:var(--color-background-screen-hover)}.np-select-input-option-container--disabled{opacity:.45}.np-select-input-option-check--not-selected{visibility:hidden}.np-select-input-option{flex:1}.np-select-input-option-content-container{align-items:center;color:#37517e;color:var(--color-content-primary);-moz-column-gap:8px;column-gap:8px;-moz-column-gap:var(--size-8);column-gap:var(--size-8);display:flex}.np-select-input-option-content-icon{display:flex}.np-select-input-option-content-icon--not-compact{align-self:flex-start}.np-select-input-option-content-text{display:flex;flex:1;flex-direction:column;overflow:hidden}.np-select-input-option-content-text-secondary{color:#5d7079;color:var(--color-content-secondary)}.np-select-input-option-content-text-compact{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.np-select-input-option-content-text-line-1>:not([hidden])~:not([hidden]){margin-left:8px;margin-left:var(--size-8);margin-right:8px;margin-right:var(--size-8)}.np-select-input-addon-container{align-items:center;display:inline-flex;pointer-events:none}.np-select-input-addon{align-items:center;background:none;border-radius:.125rem;border-width:0;display:inline-flex;height:32px;height:var(--size-32);justify-content:center;width:32px;width:var(--size-32)}.np-select-input-addon--interactive{color:#c9cbce;color:var(--color-interactive-secondary);pointer-events:auto}.np-select-input-addon--interactive:hover{color:#b5b7ba;color:var(--color-interactive-secondary-hover)}.np-select-input-addon--interactive:focus{outline:none}.np-select-input-addon--interactive:focus-visible{outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:var(--ring-outline-offset)}.np-select-input-addon-separator{border-inline-start-width:1px;height:24px;height:var(--size-24)}