@rileybathurst/paddle 1.9.27 → 1.9.29
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 +2 -2
- package/src/index.css +2 -0
- package/src/paddle-brand-list.tsx +3 -1
- package/src/paddle-moonlight-date-time.tsx +0 -1
- package/src/paddle-specs.tsx +0 -3
- package/src/paddle-sunset-tour-times.tsx +19 -2
- package/src/styles/color.css +4 -4
- package/src/styles/nav.css +5 -1
- package/src/types/paddle-ticket-types.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rileybathurst/paddle",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.9.
|
|
4
|
+
"version": "1.9.29",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "tsc --noEmit && stay-gold && vite",
|
|
8
8
|
"dirty": "vite",
|
|
9
|
-
"build": "tsc --noEmit &&
|
|
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
|
@@ -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}
|
package/src/paddle-specs.tsx
CHANGED
|
@@ -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}`);
|
|
@@ -21,10 +21,27 @@ export const PaddleSunsetTourTimes = ({ nodes }: PaddleSunsetTourTimesTypes) =>
|
|
|
21
21
|
const startTimeSplit = time.startTime.split(':');
|
|
22
22
|
const endTimeSplit = time.endTime.split(':');
|
|
23
23
|
|
|
24
|
+
// Jan 26 - May 31
|
|
25
|
+
// 20:1 - 5:17
|
|
26
|
+
|
|
24
27
|
return (
|
|
25
28
|
<div key={time.id}>
|
|
26
|
-
<
|
|
27
|
-
|
|
29
|
+
<h3 className="date elbrus">
|
|
30
|
+
<strong>
|
|
31
|
+
{startDate.toLocaleDateString("en-US", { month: "short" })}
|
|
32
|
+
</strong>
|
|
33
|
+
{startDate.toLocaleString("en-US", { day: "numeric" })}
|
|
34
|
+
-
|
|
35
|
+
<strong>
|
|
36
|
+
{endDate.toLocaleDateString("en-US", { month: "short" })}
|
|
37
|
+
</strong>
|
|
38
|
+
{endDate.toLocaleString("en-US", { day: "numeric" })}
|
|
39
|
+
</h3>
|
|
40
|
+
<p className="time">
|
|
41
|
+
{startTimeSplit[0]}:{startTimeSplit[1]}
|
|
42
|
+
-
|
|
43
|
+
{endTimeSplit[0]}:{endTimeSplit[1]}
|
|
44
|
+
</p>
|
|
28
45
|
</div>
|
|
29
46
|
)
|
|
30
47
|
})}
|
package/src/styles/color.css
CHANGED
|
@@ -11,7 +11,7 @@ body {
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.tahoe-city
|
|
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
|
|
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
|
|
45
|
+
body.south-tahoe {
|
|
46
46
|
@media (prefers-color-scheme: dark) {
|
|
47
47
|
background-color: var(--lake-800);
|
|
48
48
|
color: var(--lake-600);
|
package/src/styles/nav.css
CHANGED
|
@@ -73,7 +73,7 @@ header {
|
|
|
73
73
|
.menu-list {
|
|
74
74
|
display: flex;
|
|
75
75
|
flex-flow: row wrap;
|
|
76
|
-
align-items:
|
|
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
|
|