@rileybathurst/paddle 1.9.27 → 1.9.28

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,12 +1,12 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "1.9.27",
4
+ "version": "1.9.28",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "tsc --noEmit && stay-gold && vite",
8
8
  "dirty": "vite",
9
- "build": "tsc --noEmit && vite build",
9
+ "build": "tsc --noEmit && vite build",
10
10
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
11
11
  "preview": "vite preview",
12
12
  "storybook": "tsc --noEmit && stay-gold && storybook dev -p 6006",
package/src/index.css CHANGED
@@ -1,3 +1,5 @@
1
+ /* storybook file */
2
+
1
3
  :root {
2
4
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
5
  line-height: 1.5;
@@ -9,7 +9,9 @@ export const PaddleBrandList = ({ brands, sport }: { brands: PaddleBrandListType
9
9
  <ul className='brand_list'>
10
10
  {brands.map((brand: PaddleBrandListTypes) => (
11
11
  <li key={brand.id}>
12
- <Link to={`/retail/${sport}/${brand.slug}`}>
12
+ <Link to={`/retail/${sport}/${brand.slug}`}
13
+ className='button'
14
+ >
13
15
  {brand.svg ?
14
16
  <SVG
15
17
  src={brand.svg}
@@ -21,9 +21,6 @@ type SpecsTypes = {
21
21
  // * moving the section tag to the parent component means you can loop yourself
22
22
  export const PaddleSpecs = (specs: SpecsTypes) =>
23
23
  Object.entries(specs).map(([key, value]) => {
24
-
25
- console.log(key);
26
- console.log(value);
27
24
 
28
25
  if (!value) {
29
26
  console.warn(`Missing value for ${key}`);
@@ -11,7 +11,7 @@ body {
11
11
  }
12
12
  }
13
13
 
14
- .tahoe-city body {
14
+ body.tahoe-city {
15
15
  background-color: var(--sand-100);
16
16
  color: var(--neutral-800);
17
17
 
@@ -34,15 +34,15 @@ body:has(#storybook-root) {
34
34
  }
35
35
  }
36
36
  }
37
-
38
- body .tahoe-city {
37
+
38
+ body.tahoe-city {
39
39
  @media (prefers-color-scheme: dark) {
40
40
  background-color: var(--navy-300);
41
41
  color: var(--neutral-100);
42
42
  }
43
43
  }
44
44
 
45
- body .south-tahoe {
45
+ body.south-tahoe {
46
46
  @media (prefers-color-scheme: dark) {
47
47
  background-color: var(--lake-800);
48
48
  color: var(--lake-600);
@@ -73,7 +73,7 @@ header {
73
73
  .menu-list {
74
74
  display: flex;
75
75
  flex-flow: row wrap;
76
- align-items: stretch;
76
+ align-items: baseline;
77
77
  justify-content: flex-start;
78
78
  gap: var(--kilimanjaro);
79
79
  max-height: none;
@@ -84,6 +84,10 @@ header {
84
84
  pointer-events: auto;
85
85
  transition: none;
86
86
  margin-block: 0;
87
+
88
+ a {
89
+ margin: 0;
90
+ }
87
91
  }
88
92
  }
89
93
 
@@ -15,7 +15,7 @@ export type PaddleTicketTypes = {
15
15
  excerpt: string;
16
16
  price: string;
17
17
  peek: string;
18
- featured?: boolean;
18
+ order: number;
19
19
 
20
20
  peek_tours_fall_back: string;
21
21
  tour_page: string;