@snack-uikit/card 0.11.3 → 0.11.4-preview-baa38324.0
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.
|
@@ -3,5 +3,5 @@ import { PromoTag } from '@snack-uikit/promo-tag';
|
|
|
3
3
|
import { TEST_IDS } from '../../constants';
|
|
4
4
|
import styles from './styles.module.css';
|
|
5
5
|
export function PromoBadge({ text, appearance = 'primary' }) {
|
|
6
|
-
return (_jsx("div", { className: styles.promoBadge, children: _jsx(PromoTag, { appearance: appearance, text: text, "data-test-id": TEST_IDS.promoBadge }) }));
|
|
6
|
+
return (_jsx("div", { className: styles.promoBadge, children: _jsx(PromoTag, { appearance: appearance, text: text, "data-test-id": TEST_IDS.promoBadge, className: styles.promoTag }) }));
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"title": "Card",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.4-preview-baa38324.0",
|
|
8
8
|
"sideEffects": [
|
|
9
9
|
"*.css",
|
|
10
10
|
"*.woff",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@snack-uikit/utils": "3.2.0",
|
|
44
44
|
"classnames": "2.3.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "e3010aead77d470868bdd60b4bf95965d83e1c03"
|
|
47
47
|
}
|
|
@@ -8,7 +8,7 @@ export type PromoBadgeProps = Pick<PromoTagProps, 'text' | 'appearance'>;
|
|
|
8
8
|
export function PromoBadge({ text, appearance = 'primary' }: PromoBadgeProps) {
|
|
9
9
|
return (
|
|
10
10
|
<div className={styles.promoBadge}>
|
|
11
|
-
<PromoTag appearance={appearance} text={text} data-test-id={TEST_IDS.promoBadge} />
|
|
11
|
+
<PromoTag appearance={appearance} text={text} data-test-id={TEST_IDS.promoBadge} className={styles.promoTag} />
|
|
12
12
|
</div>
|
|
13
13
|
);
|
|
14
14
|
}
|