@transferwise/components 45.5.1 → 45.5.3

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 (31) hide show
  1. package/build/es/no-polyfill/alert/Alert.js +1 -1
  2. package/build/es/no-polyfill/alert/Alert.story.js +1 -1
  3. package/build/es/no-polyfill/checkboxButton/CheckboxButton.story.js +2 -1
  4. package/build/es/no-polyfill/criticalBanner/CriticalCommsBanner.story.js +1 -1
  5. package/build/es/no-polyfill/display/Display.story.js +1 -1
  6. package/build/es/no-polyfill/emphasis/Emphasis.story.js +1 -0
  7. package/build/es/no-polyfill/markdown/Markdown.story.js +1 -0
  8. package/build/es/no-polyfill/processIndicator/ProcessIndicator.story.js +1 -0
  9. package/build/es/polyfill/alert/Alert.js +1 -1
  10. package/build/es/polyfill/alert/Alert.story.js +1 -1
  11. package/build/es/polyfill/checkboxButton/CheckboxButton.story.js +2 -1
  12. package/build/es/polyfill/criticalBanner/CriticalCommsBanner.story.js +1 -1
  13. package/build/es/polyfill/display/Display.story.js +1 -1
  14. package/build/es/polyfill/emphasis/Emphasis.story.js +1 -0
  15. package/build/es/polyfill/markdown/Markdown.story.js +1 -0
  16. package/build/es/polyfill/processIndicator/ProcessIndicator.story.js +1 -0
  17. package/build/main.css +1 -1
  18. package/build/styles/avatar/Avatar.css +1 -1
  19. package/build/styles/main.css +1 -1
  20. package/build/types/alert/Alert.d.ts +4 -0
  21. package/build/types/alert/Alert.story.d.ts +3 -0
  22. package/build/types/checkboxButton/CheckboxButton.story.d.ts +14 -4
  23. package/build/types/criticalBanner/CriticalCommsBanner.story.d.ts +4 -2
  24. package/build/types/emphasis/Emphasis.story.d.ts +13 -0
  25. package/build/types/flowNavigation/FlowNavigation.d.ts +1 -1
  26. package/build/types/markdown/Markdown.story.d.ts +39 -0
  27. package/build/types/processIndicator/ProcessIndicator.story.d.ts +10 -0
  28. package/build/umd/no-polyfill/main.js +1 -1
  29. package/build/umd/polyfill/main.js +1 -1
  30. package/package.json +10 -11
  31. package/build/types/test-utils/VariantDecorator.d.ts +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "45.5.1",
3
+ "version": "45.5.3",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/umd/polyfill/main.js",
@@ -46,7 +46,7 @@
46
46
  "@testing-library/react": "^12.0.0",
47
47
  "@testing-library/react-hooks": "^8.0.0",
48
48
  "@testing-library/user-event": "^13.2.1",
49
- "@transferwise/icons": "^3.2.3",
49
+ "@transferwise/icons": "^3.6.0",
50
50
  "@transferwise/neptune-tokens": "^8.5.0",
51
51
  "@types/jest": "^26.0.20",
52
52
  "@types/node": "^14.14.31",
@@ -69,12 +69,12 @@
69
69
  "rollup-plugin-uglify": "^6.0.4",
70
70
  "storybook": "^7.0.6",
71
71
  "@transferwise/less-config": "3.0.6",
72
- "@transferwise/neptune-css": "14.3.50",
72
+ "@transferwise/neptune-css": "14.4.0",
73
73
  "@wise/components-theming": "0.7.5"
74
74
  },
75
75
  "peerDependencies": {
76
- "@transferwise/icons": "^3.2.3",
77
- "@transferwise/neptune-css": "^14.3.50",
76
+ "@transferwise/icons": "^3.6.0",
77
+ "@transferwise/neptune-css": "^14.3.51",
78
78
  "@wise/art": "^2",
79
79
  "@wise/components-theming": "0.5 - 0.7",
80
80
  "currency-flags": "^4.0.2",
@@ -124,12 +124,12 @@
124
124
  "access": "public"
125
125
  },
126
126
  "scripts": {
127
- "dev": "npm-run-all --parallel dev:* sb:dev",
128
- "dev:watch-less": "gulp watchLess --dest=src",
127
+ "dev": "npm-run-all --parallel dev:* dev:*:* storybook:dev",
128
+ "dev:less:watch": "gulp watchLess --dest=src",
129
129
  "dev:translations": "npx npm-watch",
130
- "sb:dev": "storybook dev -p 3001",
131
- "sb:build": "storybook build",
132
- "build-css": "gulp compileLess --dest=src",
130
+ "storybook:dev": "storybook dev -p 3001",
131
+ "storybook:build": "storybook build",
132
+ "build:css": "gulp compileLess --dest=src",
133
133
  "build": "npm-run-all build:*",
134
134
  "build:clean": "rm -rf lib build",
135
135
  "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",
@@ -144,7 +144,6 @@
144
144
  "docs": "pnpm build",
145
145
  "test": "jest --env=jsdom --maxWorkers=4",
146
146
  "test:watch": "jest --watch --env=jsdom",
147
- "test:visual": "build-storybook && percy storybook ./storybook-static",
148
147
  "lint": "pnpm run lint:check",
149
148
  "lint:check": "npm-run-all --parallel lint:check:*",
150
149
  "lint:check:format": "prettier --check --ignore-path ../../.prettierignore . || echo \"Prettier failed. Remove this to make this a failure\"",
@@ -1,18 +0,0 @@
1
- import { Decorator } from '@storybook/react';
2
- import { ChromaticParameters } from './ChromaticParameters';
3
- declare module '@storybook/types' {
4
- interface Parameters {
5
- /** Prefer using `storyConfig` for configuring variants */
6
- variants?: ('default' | 'light' | 'dark' | 'rtl' | (string & Record<string, unknown>))[];
7
- /** Used by Chromatic */
8
- chromatic?: ChromaticParameters;
9
- viewport?: {
10
- viewports?: unknown[];
11
- defaultViewport?: string;
12
- };
13
- }
14
- }
15
- /**
16
- * Creates multiple variants of a component in a single story.
17
- */
18
- export declare const VariantDecorator: Decorator;