@transferwise/components 0.0.0-experimental-a1b5585 → 0.0.0-experimental-999c033

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 (74) hide show
  1. package/build/ProcessIndicator/ProcessIndicator.js +1 -1
  2. package/build/ProcessIndicator/ProcessIndicator.js.map +1 -1
  3. package/build/ProcessIndicator/ProcessIndicator.mjs +1 -1
  4. package/build/ProcessIndicator/ProcessIndicator.mjs.map +1 -1
  5. package/build/main.css +64 -56
  6. package/build/styles/AvatarView/AvatarView.css +0 -8
  7. package/build/styles/AvatarView/Dot/Dot.css +0 -8
  8. package/build/styles/CheckboxButton/CheckboxButton.css +0 -3
  9. package/build/styles/Nudge/Nudge.css +38 -4
  10. package/build/styles/SlidingPanel/SlidingPanel.css +0 -8
  11. package/build/styles/UploadInput/UploadItem/UploadItem.css +5 -4
  12. package/build/styles/_deprecated/Badge/Badge.css +2 -4
  13. package/build/styles/css/accordion.css +0 -3
  14. package/build/styles/css/buttons.css +7 -1
  15. package/build/styles/css/chevron.css +0 -3
  16. package/build/styles/css/neptune.css +19 -25
  17. package/build/styles/css/process.css +9 -15
  18. package/build/styles/css/tick.css +3 -6
  19. package/build/styles/main.css +64 -56
  20. package/build/styles/styles/less/accordion.css +0 -3
  21. package/build/styles/styles/less/buttons.css +7 -1
  22. package/build/styles/styles/less/chevron.css +0 -3
  23. package/build/styles/styles/less/neptune.css +19 -25
  24. package/build/styles/styles/less/process.css +9 -15
  25. package/build/styles/styles/less/tick.css +3 -6
  26. package/package.json +2 -2
  27. package/src/AvatarView/AvatarView.css +0 -8
  28. package/src/AvatarView/Dot/Dot.css +0 -8
  29. package/src/AvatarView/Dot/Dot.less +1 -7
  30. package/src/Button/_stories/Button.test.story.tsx +1 -1
  31. package/src/Checkbox/_stories/Checkbox.story.tsx +1 -1
  32. package/src/Checkbox/_stories/Checkbox.test.story.tsx +2 -3
  33. package/src/CheckboxButton/CheckboxButton.css +0 -3
  34. package/src/CheckboxButton/CheckboxButton.less +0 -4
  35. package/src/Chevron/_stories/Chevron.test.story.tsx +2 -2
  36. package/src/Header/_stories/Header.test.story.tsx +1 -1
  37. package/src/Info/_stories/Info.rtl.test.story.tsx +10 -35
  38. package/src/Info/_stories/Info.story.tsx +1 -1
  39. package/src/Inputs/SelectInput/_stories/SelectInput.test.story.tsx +1 -1
  40. package/src/ListItem/_stories/subcomponents.tsx +1 -1
  41. package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +1 -1
  42. package/src/Nudge/Nudge.css +38 -4
  43. package/src/Nudge/Nudge.less +4 -4
  44. package/src/Nudge/_stories/Nudge.test.story.tsx +12 -29
  45. package/src/PhoneNumberInput/_stories/{PhoneNumberInput.rtl.test.story.tsx → PhoneNumberInput.test.story.tsx} +10 -18
  46. package/src/ProcessIndicator/ProcessIndicator.tsx +1 -1
  47. package/src/ProgressBar/_stories/ProgressBar.test.story.tsx +19 -33
  48. package/src/SlidingPanel/SlidingPanel.css +0 -8
  49. package/src/SlidingPanel/SlidingPanel.less +0 -8
  50. package/src/SlidingPanel/_stories/SlidingPanel.rtl.test.story.tsx +3 -4
  51. package/src/Snackbar/_stories/Snackbar.rtl.test.story.tsx +16 -14
  52. package/src/Snackbar/_stories/Snackbar.story.tsx +1 -1
  53. package/src/Snackbar/_stories/Snackbar.test.story.tsx +1 -1
  54. package/src/StatusIcon/_stories/StatusIcon.test.story.tsx +4 -12
  55. package/src/UploadInput/UploadItem/UploadItem.css +5 -4
  56. package/src/UploadInput/UploadItem/UploadItem.less +6 -7
  57. package/src/UploadInput/_stories/UploadInput.test.story.tsx +1 -1
  58. package/src/_deprecated/Badge/Badge.css +2 -4
  59. package/src/_deprecated/Badge/Badge.less +14 -7
  60. package/src/_deprecated/CriticalBanner/_stories/CriticalCommsBanner.test.story.tsx +16 -0
  61. package/src/_deprecated/OverlayHeader/_stories/OverlayHeader.test.story.tsx +0 -15
  62. package/src/main.css +64 -56
  63. package/src/styles/less/accordion.css +0 -3
  64. package/src/styles/less/buttons.css +7 -1
  65. package/src/styles/less/buttons.less +11 -3
  66. package/src/styles/less/chevron.css +0 -3
  67. package/src/styles/less/chevron.less +0 -4
  68. package/src/styles/less/neptune.css +19 -25
  69. package/src/styles/less/process.css +9 -15
  70. package/src/styles/less/process.less +6 -13
  71. package/src/styles/less/tick.css +3 -6
  72. package/src/styles/less/tick.less +3 -7
  73. package/src/Loader/_stories/Loader.test.story.tsx +0 -23
  74. package/src/ProcessIndicator/_stories/ProcessIndicator.test.story.tsx +0 -32
@@ -1,23 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
- import { withRTLDiff } from '../../../.storybook/decorators/RtlDiffDecorator';
3
- import Loader from '..';
4
-
5
- export default {
6
- component: Loader,
7
- title: 'Loading/Loader/Tests',
8
- tags: ['!autodocs', '!manifest'],
9
- } satisfies Meta<typeof Loader>;
10
-
11
- type Story = StoryObj<typeof Loader>;
12
-
13
- export const RTLDiff: Story = {
14
- render: () => (
15
- <>
16
- <Loader size="sm" displayInstantly />
17
- <Loader size="md" displayInstantly />
18
- <Loader size="sm" displayInstantly label="Sending your money" />
19
- <Loader size="md" displayInstantly label="Sending your money" />
20
- </>
21
- ),
22
- ...withRTLDiff(),
23
- };
@@ -1,32 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-webpack5';
2
-
3
- import { withRTLDiff } from '../../../.storybook/decorators/RtlDiffDecorator';
4
- import ProcessIndicator from '..';
5
-
6
- export default {
7
- component: ProcessIndicator,
8
- title: 'Loading/ProcessIndicator/Tests',
9
- tags: ['!autodocs', '!manifest'],
10
- } satisfies Meta<typeof ProcessIndicator>;
11
-
12
- type Story = StoryObj<typeof ProcessIndicator>;
13
-
14
- const sizes = ['xxs', 'xs', 'sm', 'xl'] as const;
15
- const statuses = ['succeeded', 'failed'] as const;
16
-
17
- const rowStyle = { display: 'flex', alignItems: 'center', gap: '16px' } as const;
18
-
19
- export const RTLDiff: Story = {
20
- render: () => (
21
- <>
22
- {statuses.map((status) => (
23
- <div key={status} style={rowStyle}>
24
- {sizes.map((size) => (
25
- <ProcessIndicator key={size} size={size} status={status} />
26
- ))}
27
- </div>
28
- ))}
29
- </>
30
- ),
31
- ...withRTLDiff(),
32
- };