@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.
|
|
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 &&
|
|
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}`);
|
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
|
|