@popsure/dirty-swan 0.38.3 → 0.38.4

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.
@@ -1,9 +1,5 @@
1
- import {
2
- associatedClassForCardState,
3
- CardProps,
4
- headingForCardSize,
5
- } from '..';
6
- import { Icon, arrowRight, featherLogo } from '../icons';
1
+ import { associatedClassForCardState, CardProps, headingForCardSize } from '..';
2
+ import { arrowRight, featherLogo, Icon } from '../icons';
7
3
 
8
4
  import styles from './style.module.scss';
9
5
 
@@ -43,7 +39,9 @@ export const CardWithTopLeftIcon = ({
43
39
  const titleContainerStyle = styles['title-container'];
44
40
  const headingStyle = headingForCardSize(cardSize);
45
41
  const iconStyle = styles['right-icon'];
46
- const cardTextStyle = `p-p tc-grey-600 ${cardSize === 'xsmall' ? styles.indent : 'mt16'}`;
42
+ const cardTextStyle = `p-p tc-grey-600 ${
43
+ cardSize === 'xsmall' ? styles.indent : 'mt16'
44
+ }`;
47
45
 
48
46
  return (
49
47
  <div className={cardStyle} {...props}>
@@ -68,7 +66,7 @@ export const CardWithTopLeftIcon = ({
68
66
  />
69
67
  )}
70
68
  </div>
71
- <p className={cardTextStyle}>{children}</p>
69
+ <div className={cardTextStyle}>{children}</div>
72
70
  </div>
73
71
  );
74
72
  };