@purpurds/promotion-card 7.4.0 → 7.5.1

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": "7.4.0",
3
+ "version": "7.5.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "main": "./dist/promotion-card.cjs.js",
6
6
  "types": "./dist/promotion-card.d.ts",
@@ -17,14 +17,14 @@
17
17
  "source": "src/promotion-card.tsx",
18
18
  "dependencies": {
19
19
  "classnames": "~2.5.0",
20
- "@purpurds/badge": "7.4.0",
21
- "@purpurds/button": "7.4.0",
22
- "@purpurds/card": "7.4.0",
23
- "@purpurds/heading": "7.4.0",
24
- "@purpurds/paragraph": "7.4.0",
25
- "@purpurds/tokens": "7.4.0",
26
- "@purpurds/icon": "7.4.0",
27
- "@purpurds/cta-link": "7.4.0"
20
+ "@purpurds/badge": "7.5.1",
21
+ "@purpurds/card": "7.5.1",
22
+ "@purpurds/button": "7.5.1",
23
+ "@purpurds/cta-link": "7.5.1",
24
+ "@purpurds/heading": "7.5.1",
25
+ "@purpurds/paragraph": "7.5.1",
26
+ "@purpurds/icon": "7.5.1",
27
+ "@purpurds/tokens": "7.5.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "eslint": "9.24.0",
@@ -44,9 +44,9 @@
44
44
  "typescript": "^5.6.3",
45
45
  "vite": "^6.2.1",
46
46
  "vitest": "^3.1.2",
47
- "@purpurds/text-spacing": "7.4.0",
48
- "@purpurds/grid": "7.4.0",
49
- "@purpurds/component-rig": "1.0.0"
47
+ "@purpurds/component-rig": "1.0.0",
48
+ "@purpurds/grid": "7.5.1",
49
+ "@purpurds/text-spacing": "7.5.1"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@types/react": "^18 || ^19",
@@ -20,7 +20,7 @@ import "@purpurds/paragraph/styles";
20
20
  import { PromotionCard, type PromotionCardVariant, promotionCardVariants } from "./promotion-card";
21
21
 
22
22
  const meta = {
23
- title: "Components/PromotionCard",
23
+ title: "Layout and Structure/PromotionCard",
24
24
  component: PromotionCard,
25
25
  parameters: {
26
26
  design: [
@@ -1,13 +1,13 @@
1
1
  import React, {
2
- DetailedHTMLProps,
3
- ForwardedRef,
2
+ type DetailedHTMLProps,
3
+ type ForwardedRef,
4
4
  forwardRef,
5
- HTMLAttributes,
6
- ReactNode,
5
+ type HTMLAttributes,
6
+ type ReactNode,
7
7
  } from "react";
8
8
  import { Badge } from "@purpurds/badge";
9
9
  import { Card } from "@purpurds/card";
10
- import { Heading, HeadingTagType, TitleVariantType } from "@purpurds/heading";
10
+ import { Heading, type HeadingTagType, type TitleVariantType } from "@purpurds/heading";
11
11
  import { Paragraph } from "@purpurds/paragraph";
12
12
  import c from "classnames/bind";
13
13