@transferwise/components 0.0.0-experimental-8bbf3ee → 0.0.0-experimental-b64b9d5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transferwise/components",
3
- "version": "0.0.0-experimental-8bbf3ee",
3
+ "version": "0.0.0-experimental-b64b9d5",
4
4
  "description": "Neptune React components",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -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 { lorem10, storyConfig } from '../test-utils';
7
+ import { lorem10, lorem20, storyConfig } from '../test-utils';
8
8
 
9
9
  const withContainer = (Story: any) => (
10
10
  <div style={{ display: 'flex', justifyContent: 'center' }}>
@@ -814,13 +814,61 @@ export const DealingWithLongText: StoryObj<PreviewStoryArgs> = {
814
814
  const [props, previewProps] = getPropsForPreview(args);
815
815
 
816
816
  return (
817
- <div className="d-flex flex-column" style={{ width: 260, gap: '2rem' }}>
818
- <Button {...props} {...previewProps}>
819
- {lorem10}
820
- </Button>
821
- <Button {...props} {...previewProps}>
822
- Forderungsabtretungsvereinbarung
823
- </Button>
817
+ <div>
818
+ <div>
819
+ <div>
820
+ <Button {...props} {...previewProps}>
821
+ {lorem10}
822
+ </Button>
823
+ </div>
824
+ <div className="m-y-2">
825
+ <Button {...props} {...previewProps}>
826
+ Forderungsabtretungsvereinbarung
827
+ </Button>
828
+ </div>
829
+ <div
830
+ className="d-flex"
831
+ style={{
832
+ width: '100%',
833
+ justifyContent: 'space-between',
834
+ alignItems: 'center',
835
+ }}
836
+ >
837
+ <span>{lorem20}</span>
838
+ <div>
839
+ <Button {...props} {...previewProps}>
840
+ Register interest
841
+ </Button>
842
+ </div>
843
+ </div>
844
+ </div>
845
+ <div style={{ width: 260 }} className="m-t-2">
846
+ <div>
847
+ <Button {...props} {...previewProps}>
848
+ {lorem10}
849
+ </Button>
850
+ </div>
851
+ <div className="m-y-2">
852
+ <Button {...props} {...previewProps}>
853
+ Forderungsabtretungsvereinbarung
854
+ </Button>
855
+ </div>
856
+ <div
857
+ className="d-flex"
858
+ style={{
859
+ width: '100%',
860
+ justifyContent: 'space-between',
861
+ alignItems: 'center',
862
+ }}
863
+ >
864
+ <span>{lorem20}</span>
865
+ <div>
866
+ <Button {...props} {...previewProps}>
867
+ Register interest
868
+ </Button>
869
+ </div>
870
+ </div>
871
+ </div>
824
872
  </div>
825
873
  );
826
874
  },