@purpurds/promotion-card 5.6.0 → 5.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purpurds/promotion-card",
3
- "version": "5.6.0",
3
+ "version": "5.8.0",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/promotion-card.cjs.js",
6
6
  "types": "./dist/promotion-card.d.ts",
@@ -16,11 +16,11 @@
16
16
  "source": "src/promotion-card.tsx",
17
17
  "dependencies": {
18
18
  "classnames": "~2.5.0",
19
- "@purpurds/badge": "5.6.0",
20
- "@purpurds/card": "5.6.0",
21
- "@purpurds/heading": "5.6.0",
22
- "@purpurds/tokens": "5.6.0",
23
- "@purpurds/icon": "5.6.0"
19
+ "@purpurds/badge": "5.8.0",
20
+ "@purpurds/card": "5.8.0",
21
+ "@purpurds/heading": "5.8.0",
22
+ "@purpurds/icon": "5.8.0",
23
+ "@purpurds/tokens": "5.8.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@rushstack/eslint-patch": "~1.10.0",
@@ -44,11 +44,11 @@
44
44
  "typescript": "~5.4.2",
45
45
  "vite": "~5.2.2",
46
46
  "vitest": "~1.5.0",
47
+ "@purpurds/cta-link": "5.8.0",
47
48
  "@purpurds/component-rig": "1.0.0",
48
- "@purpurds/paragraph": "5.6.0",
49
- "@purpurds/text-spacing": "5.6.0",
50
- "@purpurds/grid": "5.6.0",
51
- "@purpurds/cta-link": "5.6.0"
49
+ "@purpurds/grid": "5.8.0",
50
+ "@purpurds/paragraph": "5.8.0",
51
+ "@purpurds/text-spacing": "5.8.0"
52
52
  },
53
53
  "scripts": {
54
54
  "build:dev": "vite",
@@ -150,13 +150,13 @@ export const PromotionCard = ({
150
150
  },
151
151
  ])}
152
152
  >
153
+ {image}
153
154
  {showGradient && (
154
155
  <div
155
156
  className={cx(`${rootClassName}__image-gradient`)}
156
157
  data-testid="promotion-card-gradient"
157
158
  />
158
159
  )}
159
- {image}
160
160
  </div>
161
161
  )}
162
162
  </div>