@transferwise/components 46.149.1 → 46.150.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.
Files changed (151) hide show
  1. package/build/avatar/Avatar.js.map +1 -1
  2. package/build/avatar/Avatar.mjs.map +1 -1
  3. package/build/avatarWrapper/AvatarWrapper.js.map +1 -1
  4. package/build/avatarWrapper/AvatarWrapper.mjs.map +1 -1
  5. package/build/card/Card.js.map +1 -1
  6. package/build/card/Card.mjs.map +1 -1
  7. package/build/criticalBanner/CriticalCommsBanner.js.map +1 -1
  8. package/build/criticalBanner/CriticalCommsBanner.mjs.map +1 -1
  9. package/build/index.js +17 -14
  10. package/build/index.js.map +1 -1
  11. package/build/index.mjs +9 -8
  12. package/build/index.mjs.map +1 -1
  13. package/build/inlineAlert/InlineAlert.js.map +1 -1
  14. package/build/inlineAlert/InlineAlert.mjs.map +1 -1
  15. package/build/main.css +11 -39
  16. package/build/navigationOption/NavigationOption.js.map +1 -1
  17. package/build/navigationOption/NavigationOption.mjs.map +1 -1
  18. package/build/navigationOptionsList/NavigationOptionsList.js.map +1 -1
  19. package/build/navigationOptionsList/NavigationOptionsList.mjs.map +1 -1
  20. package/build/prompt/CriticalBanner/CriticalBanner.js +1 -7
  21. package/build/prompt/CriticalBanner/CriticalBanner.js.map +1 -1
  22. package/build/prompt/CriticalBanner/CriticalBanner.mjs +1 -7
  23. package/build/prompt/CriticalBanner/CriticalBanner.mjs.map +1 -1
  24. package/build/select/Select.js.map +1 -1
  25. package/build/select/Select.mjs.map +1 -1
  26. package/build/styles/main.css +11 -39
  27. package/build/styles/prompt/CriticalBanner/CriticalBanner.css +11 -36
  28. package/build/types/avatar/Avatar.d.ts +9 -0
  29. package/build/types/avatar/Avatar.d.ts.map +1 -1
  30. package/build/types/avatar/index.d.ts +1 -1
  31. package/build/types/avatar/index.d.ts.map +1 -1
  32. package/build/types/avatarWrapper/AvatarWrapper.d.ts +3 -0
  33. package/build/types/avatarWrapper/AvatarWrapper.d.ts.map +1 -1
  34. package/build/types/avatarWrapper/index.d.ts +2 -2
  35. package/build/types/avatarWrapper/index.d.ts.map +1 -1
  36. package/build/types/button/Button.types.d.ts +1 -1
  37. package/build/types/button/Button.types.d.ts.map +1 -1
  38. package/build/types/button/index.d.ts +2 -2
  39. package/build/types/button/index.d.ts.map +1 -1
  40. package/build/types/card/Card.d.ts +3 -0
  41. package/build/types/card/Card.d.ts.map +1 -1
  42. package/build/types/carousel/index.d.ts +1 -1
  43. package/build/types/carousel/index.d.ts.map +1 -1
  44. package/build/types/checkboxButton/index.d.ts +1 -0
  45. package/build/types/checkboxButton/index.d.ts.map +1 -1
  46. package/build/types/checkboxOption/index.d.ts +1 -0
  47. package/build/types/checkboxOption/index.d.ts.map +1 -1
  48. package/build/types/chevron/index.d.ts +1 -0
  49. package/build/types/chevron/index.d.ts.map +1 -1
  50. package/build/types/chips/index.d.ts +2 -0
  51. package/build/types/chips/index.d.ts.map +1 -1
  52. package/build/types/common/Option/index.d.ts +1 -0
  53. package/build/types/common/Option/index.d.ts.map +1 -1
  54. package/build/types/criticalBanner/CriticalCommsBanner.d.ts +6 -0
  55. package/build/types/criticalBanner/CriticalCommsBanner.d.ts.map +1 -1
  56. package/build/types/criticalBanner/index.d.ts +1 -1
  57. package/build/types/criticalBanner/index.d.ts.map +1 -1
  58. package/build/types/decision/index.d.ts +1 -0
  59. package/build/types/decision/index.d.ts.map +1 -1
  60. package/build/types/definitionList/index.d.ts +1 -1
  61. package/build/types/definitionList/index.d.ts.map +1 -1
  62. package/build/types/expressiveMoneyInput/index.d.ts +1 -1
  63. package/build/types/expressiveMoneyInput/index.d.ts.map +1 -1
  64. package/build/types/index.d.ts +34 -19
  65. package/build/types/index.d.ts.map +1 -1
  66. package/build/types/inlineAlert/InlineAlert.d.ts +3 -0
  67. package/build/types/inlineAlert/InlineAlert.d.ts.map +1 -1
  68. package/build/types/inlineAlert/index.d.ts +1 -0
  69. package/build/types/inlineAlert/index.d.ts.map +1 -1
  70. package/build/types/instructionsList/index.d.ts +1 -1
  71. package/build/types/instructionsList/index.d.ts.map +1 -1
  72. package/build/types/listItem/ListItem.d.ts +1 -1
  73. package/build/types/logo/index.d.ts +2 -1
  74. package/build/types/logo/index.d.ts.map +1 -1
  75. package/build/types/navigationOption/NavigationOption.d.ts +3 -0
  76. package/build/types/navigationOption/NavigationOption.d.ts.map +1 -1
  77. package/build/types/navigationOption/index.d.ts +1 -0
  78. package/build/types/navigationOption/index.d.ts.map +1 -1
  79. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts +3 -0
  80. package/build/types/navigationOptionsList/NavigationOptionsList.d.ts.map +1 -1
  81. package/build/types/nudge/index.d.ts +1 -0
  82. package/build/types/nudge/index.d.ts.map +1 -1
  83. package/build/types/phoneNumberInput/index.d.ts +1 -0
  84. package/build/types/phoneNumberInput/index.d.ts.map +1 -1
  85. package/build/types/promoCard/index.d.ts +2 -0
  86. package/build/types/promoCard/index.d.ts.map +1 -1
  87. package/build/types/prompt/CriticalBanner/CriticalBanner.d.ts.map +1 -1
  88. package/build/types/select/Select.d.ts +3 -0
  89. package/build/types/select/Select.d.ts.map +1 -1
  90. package/build/types/snackbar/index.d.ts +2 -0
  91. package/build/types/snackbar/index.d.ts.map +1 -1
  92. package/build/types/statusIcon/index.d.ts +1 -1
  93. package/build/types/statusIcon/index.d.ts.map +1 -1
  94. package/build/types/table/index.d.ts +4 -3
  95. package/build/types/table/index.d.ts.map +1 -1
  96. package/build/types/tabs/index.d.ts +3 -0
  97. package/build/types/tabs/index.d.ts.map +1 -1
  98. package/build/types/tile/index.d.ts +1 -0
  99. package/build/types/tile/index.d.ts.map +1 -1
  100. package/build/types/uploadInput/index.d.ts +1 -0
  101. package/build/types/uploadInput/index.d.ts.map +1 -1
  102. package/package.json +1 -1
  103. package/src/avatar/Avatar.tsx +9 -2
  104. package/src/avatar/index.ts +1 -1
  105. package/src/avatarWrapper/AvatarWrapper.tsx +3 -0
  106. package/src/avatarWrapper/index.ts +2 -3
  107. package/src/button/Button.types.ts +1 -1
  108. package/src/button/index.ts +14 -2
  109. package/src/card/Card.tsx +3 -0
  110. package/src/carousel/index.ts +7 -1
  111. package/src/checkboxButton/index.ts +2 -0
  112. package/src/checkboxOption/index.ts +2 -0
  113. package/src/chevron/index.ts +2 -0
  114. package/src/chips/index.ts +3 -0
  115. package/src/common/Option/index.ts +1 -0
  116. package/src/criticalBanner/CriticalCommsBanner.tsx +6 -0
  117. package/src/criticalBanner/index.ts +1 -1
  118. package/src/decision/index.ts +2 -0
  119. package/src/definitionList/index.ts +1 -1
  120. package/src/expressiveMoneyInput/index.ts +1 -1
  121. package/src/index.ts +66 -18
  122. package/src/inlineAlert/InlineAlert.tsx +3 -0
  123. package/src/inlineAlert/index.ts +2 -0
  124. package/src/instructionsList/index.ts +1 -1
  125. package/src/logo/index.ts +2 -1
  126. package/src/main.css +11 -39
  127. package/src/navigationOption/NavigationOption.tsx +3 -0
  128. package/src/navigationOption/index.ts +2 -0
  129. package/src/navigationOptionsList/NavigationOptionsList.tsx +3 -0
  130. package/src/nudge/index.ts +2 -0
  131. package/src/phoneNumberInput/index.ts +2 -0
  132. package/src/promoCard/index.ts +8 -0
  133. package/src/prompt/CriticalBanner/CriticalBanner.accessibility.docs.mdx +1 -4
  134. package/src/prompt/CriticalBanner/CriticalBanner.css +11 -36
  135. package/src/prompt/CriticalBanner/CriticalBanner.less +17 -49
  136. package/src/prompt/CriticalBanner/CriticalBanner.story.tsx +1 -43
  137. package/src/prompt/CriticalBanner/CriticalBanner.test.story.tsx +0 -21
  138. package/src/prompt/CriticalBanner/CriticalBanner.test.tsx +3 -11
  139. package/src/prompt/CriticalBanner/CriticalBanner.tsx +1 -5
  140. package/src/select/Select.tsx +3 -0
  141. package/src/snackbar/index.ts +3 -0
  142. package/src/ssr.test.tsx +6 -3
  143. package/src/statusIcon/index.ts +1 -1
  144. package/src/table/index.ts +5 -2
  145. package/src/tabs/index.ts +3 -0
  146. package/src/tile/index.ts +1 -0
  147. package/src/uploadInput/index.ts +2 -0
  148. package/build/avatarWrapper/index.js +0 -10
  149. package/build/avatarWrapper/index.js.map +0 -1
  150. package/build/avatarWrapper/index.mjs +0 -6
  151. package/build/avatarWrapper/index.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/inlineAlert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/inlineAlert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { default } from './InstructionsList';
2
- export * from './InstructionsList';
2
+ export type { InstructionsListProps } from './InstructionsList';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/instructionsList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/instructionsList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -107,7 +107,7 @@ export declare const ListItem: {
107
107
  };
108
108
  Button: import("react").ForwardRefExoticComponent<Omit<import("..").ButtonProps, "block" | "disabled" | "size" | "v2" | "addonStart"> & {
109
109
  partiallyInteractive?: boolean;
110
- addonStart?: import("../button").ButtonAddonIcon;
110
+ addonStart?: import("..").ButtonAddonIcon;
111
111
  priority?: import("..").ButtonProps["priority"];
112
112
  } & import("react").RefAttributes<HTMLButtonElement>>;
113
113
  Switch: {
@@ -1,3 +1,4 @@
1
1
  export { default, LogoType } from './Logo';
2
- export type { LogoProps } from './Logo';
2
+ export type { LogoProps, LogoSize } from './Logo';
3
+ export type { LogoAssetName } from './logo-assets';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC3C,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/logo/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAC3C,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClD,YAAY,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import { OptionProps, ReferenceType } from '../common/Option/Option';
2
+ /**
3
+ * @deprecated Use ListItem and associated typings
4
+ */
2
5
  export type NavigationOptionProps = OptionProps;
3
6
  /**
4
7
  * @deprecated Use `<ListItem />` instead (run codemod to migrate: **`npx @wise/wds-codemods@latest list-item`**).
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationOption.d.ts","sourceRoot":"","sources":["../../../src/navigationOption/NavigationOption.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAEhD;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,uGA2BrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"NavigationOption.d.ts","sourceRoot":"","sources":["../../../src/navigationOption/NavigationOption.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAEhD;;;;;;;GAOG;AACH,QAAA,MAAM,gBAAgB,uGA2BrB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './NavigationOption';
2
+ export type { NavigationOptionProps } from './NavigationOption';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/navigationOption/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/navigationOption/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +1,7 @@
1
1
  import * as React from 'react';
2
+ /**
3
+ * @deprecated Use List and ListItem and associated typings
4
+ */
2
5
  export interface NavigationOptionListProps {
3
6
  children: React.ReactNode;
4
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationOptionsList.d.ts","sourceRoot":"","sources":["../../../src/navigationOptionsList/NavigationOptionsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,oBAAoB,GAAI,cAAc,yBAAyB,sBAUpE,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"NavigationOptionsList.d.ts","sourceRoot":"","sources":["../../../src/navigationOptionsList/NavigationOptionsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,oBAAoB,GAAI,cAAc,yBAAyB,sBAUpE,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './Nudge';
2
+ export type { Props as NudgeProps, OptionalId as NudgeOptionalId, RequiredPersistProps as NudgeRequiredPersistProps } from './Nudge';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/nudge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/nudge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAElC,YAAY,EAAE,KAAK,IAAI,UAAU,EAAE,UAAU,IAAI,eAAe,EAAE,oBAAoB,IAAI,yBAAyB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './PhoneNumberInput';
2
+ export type { PhoneNumberInputProps } from './PhoneNumberInput';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/phoneNumberInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/phoneNumberInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,3 +1,5 @@
1
1
  export { default } from './PromoCard';
2
2
  export { default as PromoCardGroup } from './PromoCardGroup';
3
+ export type { PromoCardCommonProps, PromoCardLinkProps, PromoCardCheckedProps, PromoCardProps, } from './PromoCard';
4
+ export type { PromoCardGroupProps } from './PromoCardGroup';
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/promoCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/promoCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE7D,YAAY,EACV,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,cAAc,GACf,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CriticalBanner.d.ts","sourceRoot":"","sources":["../../../../src/prompt/CriticalBanner/CriticalBanner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,SAAS,EAAmB,MAAM,OAAO,CAAC;AAOhE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAmB,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE3E,OAAO,EAAqB,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAKxE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,WAAW,EAAE,SAAS,CAAC;IACvB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,IAAI,CAAC,WAAW,EAAE,SAAS,GAAG,MAAM,GAAG,QAAQ,CAAC,GAAG;QAC1D,KAAK,EAA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,MAAM,GAAG,QAAQ,CAAC,GAAG;QACnE,KAAK,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;KAChC,CAAC;IACF,SAAS,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,WAAW,CAAC,EAAE,aAAa,CAAC,CAAC;IACtE;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,GAAG,IAAI,CAAC,oBAAoB,EAAE,IAAI,GAAG,WAAW,GAAG,aAAa,CAAC,CAAC;AAEnE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,4IAY5B,mBAAmB,gCA4HrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -21,6 +21,9 @@ export interface SelectItemWithPlaceholder extends SelectItem {
21
21
  * No option or placeholder option is selected
22
22
  */
23
23
  declare const DEFAULT_SELECTED_OPTION: null;
24
+ /**
25
+ * @deprecated Use SelectInput and associated typings
26
+ */
24
27
  export interface SelectProps {
25
28
  placeholder?: string;
26
29
  id?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/select/Select.tsx"],"names":[],"mappings":"AAKA,OAAe,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAEhD,OAAO,EAAY,IAAI,EAAE,MAAM,WAAW,CAAC;AAkB3C,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,UAAW,SAAQ,OAAO,CAAC,gBAAgB,CAAC;IAC3D,MAAM,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,WAAW,+BAscb"}
@@ -1,2 +1,4 @@
1
1
  export { default as Snackbar } from './Snackbar';
2
+ export type { SnackbarProps } from './Snackbar';
3
+ export type { SnackbarProviderProps } from './SnackbarProvider';
2
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/snackbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/snackbar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEjD,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { default } from './StatusIcon';
2
- export type { StatusIconProps } from './StatusIcon';
2
+ export type { StatusIconProps, StatusIconSentiment } from './StatusIcon';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/statusIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/statusIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export { default } from './Table';
2
2
  export type { TableProps } from './Table';
3
- export type { TableRowType, TableRowClickableType } from './TableRow';
4
- export type { TableHeaderType } from './TableHeader';
5
- export type { TableCellLeading, TableCellText, TableCellCurrency, TableCellStatus, TableCellType, } from './TableCell';
3
+ export type { TableRowType, TableRowClickableType, TableRowProps } from './TableRow';
4
+ export type { TableHeaderType, TableHeaderProps } from './TableHeader';
5
+ export type { TableCellLeading, TableCellText, TableCellCurrency, TableCellStatus, TableCellType, TableCellMedia, TableCellProps, } from './TableCell';
6
+ export type { TableStatusTextProps } from './TableStatusText';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACtE,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,aAAa,GACd,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,YAAY,EAAE,YAAY,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACrF,YAAY,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACvE,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,cAAc,EACd,cAAc,GACf,MAAM,aAAa,CAAC;AACrB,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -1,3 +1,6 @@
1
1
  export { default } from './Tabs';
2
2
  export type { TabItem, TabsProps } from './Tabs';
3
+ export type { TabProps } from './Tab';
4
+ export type { TabListProps } from './TabList';
5
+ export type { TabPanelProps } from './TabPanel';
3
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,YAAY,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACjD,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAC9C,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './Tile';
2
+ export type { TileProps } from './Tile';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAC;AACjC,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { default } from './UploadInput';
2
+ export type { UploadInputProps } from './UploadInput';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/uploadInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/uploadInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "46.149.1",
3
+ "version": "46.150.0",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -3,16 +3,23 @@ import { useMemo } from 'react';
3
3
 
4
4
  import { getBrandColorFromSeed, Theme } from '../common';
5
5
 
6
- import Circle from '../common/circle';
7
-
8
6
  type NumericAvatarSize = 24 | 40 | 48 | 56 | 72;
9
7
 
10
8
  type LegacyAvatarSize = 'sm' | 'md' | 'lg';
11
9
 
10
+ /**
11
+ * @deprecated Avatar is deprecated, use AvatarView and associated typings
12
+ */
12
13
  export type AvatarSize = NumericAvatarSize | LegacyAvatarSize;
13
14
 
15
+ /**
16
+ * @deprecated Avatar is deprecated, use AvatarView and associated typings
17
+ */
14
18
  export type AvatarTheme = 'light' | 'dark';
15
19
 
20
+ /**
21
+ * @deprecated Avatar is deprecated, use AvatarView and associated typings
22
+ */
16
23
  export type AvatarType = 'thumbnail' | 'icon' | 'emoji' | 'initials';
17
24
 
18
25
  /**
@@ -1,3 +1,3 @@
1
1
  export { AvatarType } from './avatarTypes';
2
- export type { AvatarProps } from './Avatar';
2
+ export type { AvatarProps, AvatarSize, AvatarTheme } from './Avatar';
3
3
  export { default } from './Avatar';
@@ -50,6 +50,9 @@ const OptionalBadge = ({
50
50
  return <>{children}</>;
51
51
  };
52
52
 
53
+ /**
54
+ * @deprecated Use AvatarView and associated typings
55
+ */
53
56
  export type AvatarWrapperProps = {
54
57
  url?: string;
55
58
  'aria-label'?: string;
@@ -1,3 +1,2 @@
1
- import AvatarWrapper from './AvatarWrapper';
2
-
3
- export default AvatarWrapper;
1
+ export type { AvatarWrapperProps } from './AvatarWrapper';
2
+ export { default } from './AvatarWrapper';
@@ -9,7 +9,7 @@ export type ButtonAddonIcon = {
9
9
  type: 'icon';
10
10
  value: ReactNode;
11
11
  };
12
- type ButtonAddonAvatar = {
12
+ export type ButtonAddonAvatar = {
13
13
  type: 'avatar';
14
14
  value: AvatarLayoutProps['avatars'];
15
15
  };
@@ -1,7 +1,19 @@
1
1
  export { default } from './Button.resolver';
2
- export type { ButtonProps as NewButtonProps, ButtonAddonIcon } from './Button.types';
2
+ export type {
3
+ ButtonProps as NewButtonProps,
4
+ ButtonAddonIcon,
5
+ ButtonAddonAvatar,
6
+ ButtonPriority,
7
+ ButtonSize,
8
+ ButtonSentiment,
9
+ ButtonReferenceType,
10
+ AnchorElementProps,
11
+ } from './Button.types';
3
12
 
4
13
  // export legacy button props for backwards compatibility with legacy Button interface
5
14
  // delete this when migration to new Button is done (or aleast no more deep imports, use following query)
6
15
  // https://github.com/search?q=org%3Atransferwise%20%22%40transferwise%2Fcomponents%2Fbuild%2Ftypes%2Fbutton%2Findex%22&type=code
7
- export type { LegacyButtonProps as ButtonProps } from './LegacyButton';
16
+ export type {
17
+ LegacyButtonProps as ButtonProps,
18
+ CommonProps as LegacyButtonCommonProps,
19
+ } from './LegacyButton';
package/src/card/Card.tsx CHANGED
@@ -6,6 +6,9 @@ import Chevron from '../chevron';
6
6
  import { Position, Typography } from '../common';
7
7
  import Option from '../common/Option';
8
8
 
9
+ /**
10
+ * @deprecated Use ListItem and associated typings
11
+ */
9
12
  export interface CardProps {
10
13
  'aria-label'?: string;
11
14
  /** @default 'div' */
@@ -1,3 +1,9 @@
1
- export * from './Carousel';
1
+ export type {
2
+ CarouselProps,
3
+ CarouselCard,
4
+ CarouselCardCommon,
5
+ CarouselDefaultCard,
6
+ CarouselPromoCard,
7
+ } from './Carousel';
2
8
 
3
9
  export { default } from './Carousel';
@@ -1 +1,3 @@
1
1
  export { default } from './CheckboxButton';
2
+
3
+ export type { CheckboxButtonProps } from './CheckboxButton';
@@ -1 +1,3 @@
1
1
  export { default } from './CheckboxOption';
2
+
3
+ export type { CheckboxOptionProps } from './CheckboxOption';
@@ -1 +1,3 @@
1
1
  export { default } from './Chevron';
2
+
3
+ export type { ChevronProps, ExtraSmallChevronProps } from './Chevron';
@@ -1,2 +1,5 @@
1
1
  export { default } from './Chips';
2
2
  export { default as Chip } from './Chip';
3
+
4
+ export type { ChipValue, Chip as ChipType, ChipsProps } from './Chips';
5
+ export type { Props as ChipProps } from './Chip';
@@ -1 +1,2 @@
1
1
  export { default } from './Option';
2
+ export type { OptionProps } from './Option';
@@ -7,11 +7,17 @@ import { Sentiment } from '../common';
7
7
  import Circle, { CircleProps } from '../common/circle';
8
8
  import SentimentSurface from '../sentimentSurface';
9
9
 
10
+ /**
11
+ * @deprecated Use CriticalBanner and associated typings
12
+ */
10
13
  export type CriticalCommsBannerSentiment =
11
14
  | `${Sentiment.WARNING}`
12
15
  | `${Sentiment.NEGATIVE}`
13
16
  | `${Sentiment.NEUTRAL}`;
14
17
 
18
+ /**
19
+ * @deprecated Use CriticalBanner and associated typings
20
+ */
15
21
  export type CriticalCommsBannerProps = {
16
22
  title: string;
17
23
  subtitle?: string;
@@ -1,2 +1,2 @@
1
1
  export { default } from './CriticalCommsBanner';
2
- export type { CriticalCommsBannerProps } from './CriticalCommsBanner';
2
+ export type { CriticalCommsBannerProps, CriticalCommsBannerSentiment } from './CriticalCommsBanner';
@@ -1 +1,3 @@
1
1
  export { default, DecisionPresentation, DecisionType } from './Decision';
2
+
3
+ export type { DecisionProps } from './Decision';
@@ -1,2 +1,2 @@
1
1
  export { default } from './DefinitionList';
2
- export type { DefinitionListProps, DefinitionListDefinition } from './DefinitionList';
2
+ export type { DefinitionListProps, DefinitionListDefinition, DefinitionListLayout } from './DefinitionList';
@@ -1,2 +1,2 @@
1
- export type { Props as ExpressiveMoneyInputProps } from './ExpressiveMoneyInput';
1
+ export type { Props as ExpressiveMoneyInputProps, CurrencyType } from './ExpressiveMoneyInput';
2
2
  export { default } from './ExpressiveMoneyInput';
package/src/index.ts CHANGED
@@ -4,19 +4,39 @@
4
4
  * Types
5
5
  */
6
6
  export type { ContainerProps } from './container';
7
- export type { LogoProps } from './logo';
7
+ export type { LogoProps, LogoSize, LogoAssetName } from './logo';
8
8
  export type { FlowNavigationProps } from './flowNavigation';
9
9
  export type { AccordionItem, AccordionProps } from './accordion';
10
10
  export type { ActionOptionProps } from './actionOption';
11
11
  export type { AlertAction, AlertProps, AlertType } from './alert';
12
- export type { AvatarProps } from './avatar';
12
+ export type { AvatarProps, AvatarSize, AvatarTheme } from './avatar';
13
13
  export type { AvatarViewProps } from './avatarView';
14
14
  export type { AvatarLayoutProps } from './avatarLayout';
15
- export type { BadgeProps } from './badge';
16
- export type { NewButtonProps as ButtonProps } from './button';
15
+ export type { AvatarWrapperProps } from './avatarWrapper';
16
+ export type { BadgeProps, BadgeAssetsProps } from './badge';
17
+ export type {
18
+ NewButtonProps as ButtonProps,
19
+ ButtonPriority,
20
+ ButtonSize,
21
+ ButtonSentiment,
22
+ ButtonReferenceType,
23
+ ButtonAddonIcon,
24
+ ButtonAddonAvatar,
25
+ ButtonProps as LegacyButtonProps,
26
+ AnchorElementProps,
27
+ } from './button';
17
28
  export type { CardProps } from './card';
18
- export type { CarouselProps } from './carousel';
29
+ export type {
30
+ CarouselProps,
31
+ CarouselCard,
32
+ CarouselDefaultCard,
33
+ CarouselPromoCard,
34
+ } from './carousel';
19
35
  export type { CheckboxProps } from './checkbox';
36
+ export type { CheckboxButtonProps } from './checkboxButton';
37
+ export type { CheckboxOptionProps } from './checkboxOption';
38
+ export type { ChipValue, ChipType, ChipsProps, ChipProps } from './chips';
39
+ export type { ChevronProps, ExtraSmallChevronProps } from './chevron';
20
40
  export type { CircularButtonProps } from './circularButton';
21
41
  export type {
22
42
  BodyTypes,
@@ -30,8 +50,12 @@ export type { BottomSheetProps } from './common/bottomSheet';
30
50
  export type { DateInputProps } from './dateInput';
31
51
  export type { DateLookupProps } from './dateLookup';
32
52
  export type { CalendarProps } from './calendar';
33
- export type { DecisionProps } from './decision/Decision';
34
- export type { DefinitionListProps, DefinitionListDefinition } from './definitionList';
53
+ export type { DecisionProps } from './decision';
54
+ export type {
55
+ DefinitionListProps,
56
+ DefinitionListDefinition,
57
+ DefinitionListLayout,
58
+ } from './definitionList';
35
59
  export type { DimmerProps } from './dimmer';
36
60
  export type { DrawerProps } from './drawer';
37
61
  export type { DividerProps } from './divider';
@@ -41,6 +65,7 @@ export type { FieldProps } from './field/Field';
41
65
  export type { InfoProps } from './info';
42
66
  export type { InlinePromptProps, ActionPromptProps, CriticalBannerProps } from './prompt';
43
67
  export type { InfoPromptProps, InfoPromptAction, InfoPromptMedia } from './prompt';
68
+ export type { InlineAlertProps } from './inlineAlert';
44
69
  export type { InputWithDisplayFormatProps } from './inputWithDisplayFormat';
45
70
  export type { InputProps } from './inputs/Input';
46
71
  export type { InputGroupProps } from './inputs/InputGroup';
@@ -68,21 +93,30 @@ export type {
68
93
  CurrencyOptionItem,
69
94
  MoneyInputProps,
70
95
  } from './moneyInput';
71
- export type { ExpressiveMoneyInputProps } from './expressiveMoneyInput';
96
+ export type { ExpressiveMoneyInputProps, CurrencyType } from './expressiveMoneyInput';
72
97
  export type { NavigationOptionListProps } from './navigationOptionsList';
73
- export type { NavigationOptionProps } from './navigationOption/NavigationOption';
98
+ export type { NavigationOptionProps } from './navigationOption';
99
+ export type { NudgeProps, NudgeOptionalId, NudgeRequiredPersistProps } from './nudge';
74
100
  export type { OverlayHeaderProps } from './overlayHeader';
101
+ export type { OptionProps } from './common/Option';
75
102
  export type { PanelProps } from './common/panel';
76
- export type { PhoneNumberInputProps } from './phoneNumberInput/PhoneNumberInput';
77
- export type { PopoverProps } from './popover';
103
+ export type { PhoneNumberInputProps } from './phoneNumberInput';
104
+ export type { PopoverProps, PopoverPreferredPlacement } from './popover';
78
105
  export type { ProcessIndicatorProps, ProcessIndicatorStatus } from './processIndicator';
79
106
  export type { ProgressProps } from './progress';
80
107
  export type { ProgressBarProps } from './progressBar';
108
+ export type {
109
+ PromoCardCommonProps,
110
+ PromoCardLinkProps,
111
+ PromoCardCheckedProps,
112
+ PromoCardProps,
113
+ } from './promoCard';
114
+ export type { PromoCardGroupProps } from './promoCard';
81
115
  export type { DirectionProviderProps, LanguageProviderProps, ProviderProps } from './provider';
82
116
  export type { RadioProps } from './radio';
83
117
  export type { RadioGroupProps, RadioGroupRadio } from './radioGroup';
84
118
  export type { RadioOptionProps } from './radioOption';
85
- export type { SegmentedControlProps } from './segmentedControl';
119
+ export type { SegmentedControlProps, Segments } from './segmentedControl';
86
120
  export type {
87
121
  SelectItem,
88
122
  SelectItemWithPlaceholder,
@@ -90,32 +124,45 @@ export type {
90
124
  SelectProps,
91
125
  } from './select';
92
126
  export type { SlidingPanelProps } from './slidingPanel';
93
- export type { SnackbarProps } from './snackbar/Snackbar';
127
+ export type { SnackbarProps, SnackbarProviderProps } from './snackbar';
94
128
  export type { SnackbarContextType } from './snackbar/SnackbarContext';
95
- export type { StatusIconProps } from './statusIcon';
129
+ export type { StatusIconProps, StatusIconSentiment } from './statusIcon';
96
130
  export type { StickyProps } from './sticky';
97
131
  export type { SummaryProps } from './summary';
98
- export type { SentimentSurfaceProps } from './sentimentSurface';
132
+ export type {
133
+ SentimentSurfaceProps,
134
+ SentimentSurfaceComponent,
135
+ Sentiment as SurfaceSentiment,
136
+ } from './sentimentSurface';
99
137
  export type { SwitchProps } from './switch';
100
138
  export type { SwitchOptionProps } from './switchOption';
101
- export type { TabItem, TabsProps } from './tabs';
139
+ export type { TabItem, TabsProps, TabProps, TabListProps, TabPanelProps } from './tabs';
102
140
  export type { TextareaWithDisplayFormatProps } from './textareaWithDisplayFormat';
141
+ export type { TileProps } from './tile';
103
142
  export type { TooltipProps } from './tooltip';
104
143
  export type { TypeaheadOption, TypeaheadProps } from './typeahead';
105
144
  export type { UploadProps } from './upload';
106
145
  export type { UploadError, UploadResponse, UploadedFile } from './uploadInput/types';
146
+ export type { UploadInputProps } from './uploadInput';
107
147
  export type { WithIdProps } from './withId';
108
148
  export type { IconButtonProps } from './iconButton';
149
+ export type { ImageProps } from './image';
150
+ export type { ActionButtonProps } from './actionButton';
109
151
  export type {
110
152
  TableProps,
111
153
  TableRowType,
112
154
  TableRowClickableType,
155
+ TableRowProps,
113
156
  TableHeaderType,
157
+ TableHeaderProps,
114
158
  TableCellLeading,
115
159
  TableCellText,
116
160
  TableCellCurrency,
117
161
  TableCellStatus,
118
162
  TableCellType,
163
+ TableCellMedia,
164
+ TableCellProps,
165
+ TableStatusTextProps,
119
166
  } from './table';
120
167
  export type {
121
168
  ListItemProps,
@@ -144,7 +191,7 @@ export { default as Avatar } from './avatar';
144
191
  export { default as AvatarView } from './avatarView';
145
192
  export { default as AvatarLayout } from './avatarLayout';
146
193
  export { default as AvatarWrapper } from './avatarWrapper';
147
- export { default as Badge } from './badge';
194
+ export { default as Badge, BadgeAssets } from './badge';
148
195
  export { default as Body } from './body';
149
196
  export { default as Button } from './button';
150
197
  export { default as IconButton } from './iconButton';
@@ -161,7 +208,7 @@ export { default as Option } from './common/Option';
161
208
  export { default as BottomSheet } from './common/bottomSheet';
162
209
  export { default as BaseCard } from './common/baseCard';
163
210
  export { default as CriticalCommsBanner } from './criticalBanner';
164
- export type { CriticalCommsBannerProps } from './criticalBanner';
211
+ export type { CriticalCommsBannerProps, CriticalCommsBannerSentiment } from './criticalBanner';
165
212
  export { default as DateInput } from './dateInput';
166
213
  export { default as DateLookup } from './dateLookup';
167
214
  export { default as Calendar } from './calendar';
@@ -234,6 +281,7 @@ export { default as SwitchOption } from './switchOption';
234
281
  export { default as Tabs } from './tabs';
235
282
  export { default as TextareaWithDisplayFormat } from './textareaWithDisplayFormat';
236
283
  export { default as Title } from './title';
284
+ export { default as Tile } from './tile';
237
285
  export { default as Tooltip } from './tooltip';
238
286
  export { default as Typeahead } from './typeahead';
239
287
  export { default as Upload } from './upload';
@@ -5,6 +5,9 @@ import { Sentiment, Size } from '../common';
5
5
  import StatusIcon from '../statusIcon';
6
6
  import Body from '../body';
7
7
 
8
+ /**
9
+ * @deprecated Use InlinePrompt or Field and associated typings
10
+ */
8
11
  export interface InlineAlertProps {
9
12
  id?: string;
10
13
  type?: `${Sentiment}`;
@@ -1 +1,3 @@
1
1
  export { default } from './InlineAlert';
2
+
3
+ export type { InlineAlertProps } from './InlineAlert';
@@ -1,3 +1,3 @@
1
1
  export { default } from './InstructionsList';
2
2
 
3
- export * from './InstructionsList';
3
+ export type { InstructionsListProps } from './InstructionsList';
package/src/logo/index.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export { default, LogoType } from './Logo';
2
- export type { LogoProps } from './Logo';
2
+ export type { LogoProps, LogoSize } from './Logo';
3
+ export type { LogoAssetName } from './logo-assets';