@transferwise/components 0.0.0-experimental-e46526a → 0.0.0-experimental-4ee52fa

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.
package/build/main.css CHANGED
@@ -741,7 +741,7 @@
741
741
  justify-content: center;
742
742
  vertical-align: middle;
743
743
  text-align: center;
744
- white-space: nowrap;
744
+ white-space: normal;
745
745
  word-wrap: break-word;
746
746
  -webkit-appearance: none;
747
747
  -moz-appearance: none;
@@ -53,7 +53,7 @@
53
53
  justify-content: center;
54
54
  vertical-align: middle;
55
55
  text-align: center;
56
- white-space: nowrap;
56
+ white-space: normal;
57
57
  word-wrap: break-word;
58
58
  -webkit-appearance: none;
59
59
  -moz-appearance: none;
@@ -741,7 +741,7 @@
741
741
  justify-content: center;
742
742
  vertical-align: middle;
743
743
  text-align: center;
744
- white-space: nowrap;
744
+ white-space: normal;
745
745
  word-wrap: break-word;
746
746
  -webkit-appearance: none;
747
747
  -moz-appearance: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-e46526a",
3
+ "version": "0.0.0-experimental-4ee52fa",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  justify-content: center;
54
54
  vertical-align: middle;
55
55
  text-align: center;
56
- white-space: nowrap;
56
+ white-space: normal;
57
57
  word-wrap: break-word;
58
58
  -webkit-appearance: none;
59
59
  -moz-appearance: none;
@@ -9,7 +9,7 @@
9
9
  justify-content: center;
10
10
  vertical-align: middle;
11
11
  text-align: center;
12
- white-space: nowrap;
12
+ white-space: normal;
13
13
  word-wrap: break-word;
14
14
  appearance: none;
15
15
  background-color: var(--Button-background);
@@ -4,7 +4,7 @@ import { Freeze, ArrowRight, ChevronRight } from '@transferwise/icons';
4
4
  import { Flag } from '@wise/art';
5
5
  import Button from './Button.resolver';
6
6
  import type { ButtonProps, ButtonPriority } from './Button.types';
7
- import { storyConfig } from '../test-utils';
7
+ import { lorem20, storyConfig } from '../test-utils';
8
8
 
9
9
  const withContainer = (Story: any) => (
10
10
  <div style={{ display: 'flex', justifyContent: 'center' }}>
@@ -503,9 +503,14 @@ export const DisplayBlock: StoryObj<PreviewStoryArgs> = {
503
503
  const [props, previewProps] = getPropsForPreview(args);
504
504
 
505
505
  return (
506
- <Button {...props} {...previewProps}>
507
- Full-width button
508
- </Button>
506
+ <div className="d-flex flex-column gap-y-1">
507
+ <Button {...props} {...previewProps}>
508
+ Full-width button
509
+ </Button>
510
+ <Button {...props} {...previewProps}>
511
+ {lorem20}
512
+ </Button>
513
+ </div>
509
514
  );
510
515
  },
511
516
  argTypes: {
package/src/main.css CHANGED
@@ -741,7 +741,7 @@
741
741
  justify-content: center;
742
742
  vertical-align: middle;
743
743
  text-align: center;
744
- white-space: nowrap;
744
+ white-space: normal;
745
745
  word-wrap: break-word;
746
746
  -webkit-appearance: none;
747
747
  -moz-appearance: none;