@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
package/build/styles/main.css
CHANGED
package/package.json
CHANGED
package/src/button/Button.css
CHANGED
package/src/button/Button.less
CHANGED
|
@@ -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
|
-
<
|
|
507
|
-
|
|
508
|
-
|
|
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: {
|