@transferwise/components 45.10.0 → 45.11.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 (64) hide show
  1. package/build/es/no-polyfill/common/card/Card.js +21 -0
  2. package/build/es/no-polyfill/common/card/Card.spec.js +6 -0
  3. package/build/es/no-polyfill/common/card/Card.story.js +1 -0
  4. package/build/es/no-polyfill/common/card/index.js +1 -0
  5. package/build/es/no-polyfill/common/closeButton/CloseButton.js +1 -1
  6. package/build/es/no-polyfill/display/Display.js +1 -1
  7. package/build/es/no-polyfill/image/Image.js +1 -1
  8. package/build/es/no-polyfill/index.js +1 -1
  9. package/build/es/no-polyfill/loader/Loader.js +1 -1
  10. package/build/es/no-polyfill/promoCard/PromoCard.js +51 -0
  11. package/build/es/no-polyfill/promoCard/PromoCard.spec.js +13 -0
  12. package/build/es/no-polyfill/promoCard/PromoCard.story.js +1 -0
  13. package/build/es/no-polyfill/promoCard/PromoCardContext.js +19 -0
  14. package/build/es/no-polyfill/promoCard/PromoCardContext.spec.js +4 -0
  15. package/build/es/no-polyfill/promoCard/PromoCardGroup.js +20 -0
  16. package/build/es/no-polyfill/promoCard/PromoCardGroup.spec.js +5 -0
  17. package/build/es/no-polyfill/promoCard/PromoCardGroup.story.js +1 -0
  18. package/build/es/no-polyfill/promoCard/PromoCardIndicator.js +16 -0
  19. package/build/es/no-polyfill/promoCard/index.js +1 -0
  20. package/build/es/polyfill/common/card/Card.js +21 -0
  21. package/build/es/polyfill/common/card/Card.spec.js +6 -0
  22. package/build/es/polyfill/common/card/Card.story.js +1 -0
  23. package/build/es/polyfill/common/card/index.js +1 -0
  24. package/build/es/polyfill/common/closeButton/CloseButton.js +1 -1
  25. package/build/es/polyfill/display/Display.js +1 -1
  26. package/build/es/polyfill/image/Image.js +1 -1
  27. package/build/es/polyfill/index.js +1 -1
  28. package/build/es/polyfill/loader/Loader.js +1 -1
  29. package/build/es/polyfill/promoCard/PromoCard.js +51 -0
  30. package/build/es/polyfill/promoCard/PromoCard.spec.js +13 -0
  31. package/build/es/polyfill/promoCard/PromoCard.story.js +1 -0
  32. package/build/es/polyfill/promoCard/PromoCardContext.js +19 -0
  33. package/build/es/polyfill/promoCard/PromoCardContext.spec.js +4 -0
  34. package/build/es/polyfill/promoCard/PromoCardGroup.js +20 -0
  35. package/build/es/polyfill/promoCard/PromoCardGroup.spec.js +5 -0
  36. package/build/es/polyfill/promoCard/PromoCardGroup.story.js +1 -0
  37. package/build/es/polyfill/promoCard/PromoCardIndicator.js +16 -0
  38. package/build/es/polyfill/promoCard/index.js +1 -0
  39. package/build/main.css +1 -1
  40. package/build/styles/common/card/Card.css +1 -0
  41. package/build/styles/main.css +1 -1
  42. package/build/styles/promoCard/PromoCard.css +1 -0
  43. package/build/types/avatar/index.d.ts +1 -0
  44. package/build/types/common/card/Card.d.ts +40 -0
  45. package/build/types/common/card/Card.spec.d.ts +1 -0
  46. package/build/types/common/card/Card.story.d.ts +6 -0
  47. package/build/types/common/card/index.d.ts +1 -0
  48. package/build/types/common/closeButton/CloseButton.d.ts +4 -0
  49. package/build/types/display/Display.d.ts +1 -1
  50. package/build/types/image/Image.d.ts +1 -0
  51. package/build/types/index.d.ts +3 -0
  52. package/build/types/promoCard/PromoCard.d.ts +83 -0
  53. package/build/types/promoCard/PromoCard.spec.d.ts +1 -0
  54. package/build/types/promoCard/PromoCard.story.d.ts +11 -0
  55. package/build/types/promoCard/PromoCardContext.d.ts +45 -0
  56. package/build/types/promoCard/PromoCardContext.spec.d.ts +1 -0
  57. package/build/types/promoCard/PromoCardGroup.d.ts +38 -0
  58. package/build/types/promoCard/PromoCardGroup.spec.d.ts +1 -0
  59. package/build/types/promoCard/PromoCardGroup.story.d.ts +8 -0
  60. package/build/types/promoCard/PromoCardIndicator.d.ts +31 -0
  61. package/build/types/promoCard/index.d.ts +2 -0
  62. package/build/umd/no-polyfill/main.js +1 -1
  63. package/build/umd/polyfill/main.js +1 -1
  64. package/package.json +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "45.10.0",
3
+ "version": "45.11.0",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/umd/polyfill/main.js",
@@ -70,13 +70,13 @@
70
70
  "storybook": "^7.0.6",
71
71
  "@transferwise/less-config": "3.0.6",
72
72
  "@transferwise/neptune-css": "14.5.2",
73
- "@wise/components-theming": "0.8.1"
73
+ "@wise/components-theming": "0.8.2"
74
74
  },
75
75
  "peerDependencies": {
76
76
  "@transferwise/icons": "^3.6.0",
77
77
  "@transferwise/neptune-css": "^14.5.2",
78
78
  "@wise/art": "^2",
79
- "@wise/components-theming": "^0.8.1",
79
+ "@wise/components-theming": "^0.8.2",
80
80
  "currency-flags": "^4.0.2",
81
81
  "prop-types": "^15.7.2",
82
82
  "react": ">=16.14",