@rileybathurst/paddle 1.3.7 → 1.3.8

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "1.3.7",
4
+ "version": "1.3.8",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -22,6 +22,8 @@ interface BadgeTypes {
22
22
  demo: boolean;
23
23
  discount?: number;
24
24
  }
25
+
26
+ // TODO: use the way I do specs for this
25
27
  // TODO: deal with multiple
26
28
  const Badges = ({ inflatable, demo, discount }: BadgeTypes) => {
27
29
  if (discount) {
@@ -67,8 +69,8 @@ type purchaseTypes = {
67
69
  export const PaddlePurchase = ({ id, title, slug, excerpt, length, width, inflatable, capacity, demo, discount, cutout, sportSlug, brandSlug, baseOne, baseTwo, baseThree, topOne, topTwo, topThree }: purchaseTypes) => {
68
70
 
69
71
  return (
70
- <article key={id} className="card">
71
- <div className="card-collage">
72
+ <article key={id} className="purchase">
73
+ <div className="purchase-collage">
72
74
 
73
75
  <PaddleTextureBackgrounds
74
76
  baseOne={baseOne}
@@ -97,13 +99,13 @@ export const PaddlePurchase = ({ id, title, slug, excerpt, length, width, inflat
97
99
  discount={discount}
98
100
  />
99
101
  </div>
100
- <h4 className="card__title">
102
+ <h4 className="purchase__title">
101
103
  <Link to={`/retail/${sportSlug}/${brandSlug}/${slug}`}>{title}</Link>
102
104
  </h4>
103
105
  <hr />
104
106
  <p>{excerpt}</p>
105
107
  <hr />
106
- <div className="card__details">
108
+ <div className="purchase__details">
107
109
  <h4>
108
110
  <PaddleInchesRemainder inches={length} />
109
111
  long by {width}" wide
@@ -236,8 +236,8 @@
236
236
  }
237
237
 
238
238
  .ticket {
239
- /* display: flex; */
240
239
  width: 100%;
240
+ height: 100%;
241
241
  background-color: var(--neutral-200);
242
242
  border: 1px solid var(--neutral-300);
243
243