@rileybathurst/paddle 0.0.47 → 0.0.48
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 +3 -2
- package/src/stories/BookNow.stories.tsx +0 -19
- package/src/stories/BookNow.tsx +0 -29
- package/src/stories/BrandList.stories.tsx +0 -19
- package/src/stories/BrandList.tsx +0 -19
- package/src/stories/Button.stories.tsx +0 -19
- package/src/stories/Button.tsx +0 -29
- package/src/stories/Card.stories.tsx +0 -19
- package/src/stories/Card.tsx +0 -43
- package/src/stories/Colors.mdx +0 -71
- package/src/stories/Composition.stories.tsx +0 -19
- package/src/stories/Composition.tsx +0 -21
- package/src/stories/Configure.mdx +0 -364
- package/src/stories/Deal.tsx +0 -31
- package/src/stories/Deck.stories.tsx +0 -19
- package/src/stories/Deck.tsx +0 -22
- package/src/stories/Eyebrow.stories.tsx +0 -19
- package/src/stories/Eyebrow.tsx +0 -21
- package/src/stories/Footer.stories.tsx +0 -19
- package/src/stories/Footer.tsx +0 -94
- package/src/stories/Header.stories.ts +0 -33
- package/src/stories/Header.tsx +0 -28
- package/src/stories/Language.stories.tsx +0 -19
- package/src/stories/Language.tsx +0 -22
- package/src/stories/Links.stories.tsx +0 -19
- package/src/stories/Links.tsx +0 -25
- package/src/stories/Location.stories.tsx +0 -19
- package/src/stories/Location.tsx +0 -55
- package/src/stories/LocationDeck.stories.tsx +0 -19
- package/src/stories/LocationDeck.tsx +0 -42
- package/src/stories/Logo.stories.tsx +0 -19
- package/src/stories/Logo.tsx +0 -60
- package/src/stories/Neutrals.stories.tsx +0 -19
- package/src/stories/Neutrals.tsx +0 -31
- package/src/stories/Page.stories.ts +0 -23
- package/src/stories/Page.tsx +0 -126
- package/src/stories/Pricing.stories.tsx +0 -19
- package/src/stories/Pricing.tsx +0 -74
- package/src/stories/Socials.stories.tsx +0 -19
- package/src/stories/Socials.tsx +0 -50
- package/src/stories/Spec.stories.tsx +0 -19
- package/src/stories/Spec.tsx +0 -99
- package/src/stories/Svg.stories.tsx +0 -19
- package/src/stories/Svg.tsx +0 -23
- package/src/stories/Terms.md +0 -4
- package/src/stories/Testimonial.stories.tsx +0 -19
- package/src/stories/Testimonial.tsx +0 -24
- package/src/stories/Testimonials.stories.tsx +0 -19
- package/src/stories/Testimonials.tsx +0 -42
- package/src/stories/Ticket.stories.tsx +0 -19
- package/src/stories/Ticket.tsx +0 -47
- package/src/stories/TopBar.stories.tsx +0 -19
- package/src/stories/TopBar.tsx +0 -19
- package/src/stories/Typography.mdx +0 -51
- package/src/stories/Typography.stories.tsx +0 -19
- package/src/stories/Typography.tsx +0 -39
- package/src/stories/Widths.stories.tsx +0 -19
- package/src/stories/Widths.tsx +0 -152
- package/src/stories/assets/accessibility.png +0 -0
- package/src/stories/assets/accessibility.svg +0 -5
- package/src/stories/assets/addon-library.png +0 -0
- package/src/stories/assets/assets.png +0 -0
- package/src/stories/assets/avif-test-image.avif +0 -0
- package/src/stories/assets/context.png +0 -0
- package/src/stories/assets/discord.svg +0 -15
- package/src/stories/assets/docs.png +0 -0
- package/src/stories/assets/figma-plugin.png +0 -0
- package/src/stories/assets/github.svg +0 -3
- package/src/stories/assets/share.png +0 -0
- package/src/stories/assets/styling.png +0 -0
- package/src/stories/assets/testing.png +0 -0
- package/src/stories/assets/theming.png +0 -0
- package/src/stories/assets/tutorials.svg +0 -12
- package/src/stories/assets/youtube.svg +0 -4
- package/src/stories/header.css +0 -32
- package/src/stories/page.css +0 -69
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rileybathurst/paddle",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.48",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "vite",
|
|
@@ -51,6 +51,7 @@
|
|
|
51
51
|
"author": "",
|
|
52
52
|
"license": "ISC",
|
|
53
53
|
"files": [
|
|
54
|
-
"src/*"
|
|
54
|
+
"src/*",
|
|
55
|
+
"!src/stories"
|
|
55
56
|
]
|
|
56
57
|
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// this is the Name.stories.tsx file
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { fn } from '@storybook/test';
|
|
4
|
-
import { BookNow } from './BookNow';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
component: BookNow,
|
|
8
|
-
title: 'Atoms/BookNow',
|
|
9
|
-
args: { onClick: fn() },
|
|
10
|
-
} satisfies Meta<typeof BookNow>;
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
|
|
15
|
-
export const Primary: Story = {
|
|
16
|
-
args: {
|
|
17
|
-
primary: true,
|
|
18
|
-
},
|
|
19
|
-
};
|
package/src/stories/BookNow.tsx
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// this is the Name.tsx file
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { faker } from '@faker-js/faker';
|
|
4
|
-
|
|
5
|
-
interface BookNowProps {
|
|
6
|
-
primary?: boolean;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export const BookNow = ({
|
|
11
|
-
primary = false,
|
|
12
|
-
...props
|
|
13
|
-
}: BookNowProps) => {
|
|
14
|
-
|
|
15
|
-
return (
|
|
16
|
-
<main
|
|
17
|
-
{...props}
|
|
18
|
-
>
|
|
19
|
-
<a
|
|
20
|
-
href={faker.location.city()}
|
|
21
|
-
rel="noopener noreferrer"
|
|
22
|
-
className="book-now"
|
|
23
|
-
title={`Book now with ${faker.location.city()} kayak and paddleboard`}
|
|
24
|
-
>
|
|
25
|
-
BOOK NOW
|
|
26
|
-
</a>
|
|
27
|
-
</main>
|
|
28
|
-
);
|
|
29
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// this is the Name.stories.tsx file
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { fn } from '@storybook/test';
|
|
4
|
-
import { BrandList } from './BrandList';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
component: BrandList,
|
|
8
|
-
title: 'Molecules/BrandList',
|
|
9
|
-
args: { onClick: fn() },
|
|
10
|
-
} satisfies Meta<typeof BrandList>;
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
|
|
15
|
-
export const Primary: Story = {
|
|
16
|
-
args: {
|
|
17
|
-
primary: true,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// this is the Name.tsx file
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Link } from 'react-aria-components';
|
|
4
|
-
import { faker } from '@faker-js/faker';
|
|
5
|
-
|
|
6
|
-
export const BrandList = () => {
|
|
7
|
-
|
|
8
|
-
return (
|
|
9
|
-
// <ul className='brand_list'>
|
|
10
|
-
<li key='kayak test brand'>
|
|
11
|
-
{/* // ? why test */}
|
|
12
|
-
<Link href={faker.location.city()}>
|
|
13
|
-
<svg viewBox="0 0 201.9 202.6" xmlns="http://www.w3.org/2000/svg"><title>boardworks </title><path d="m201.9 96.5c-67.3 0-134 0-200.6 0 4.6-5.2 7.5-11.6 16.6-11.5 23.7.3 47.3-1.6 70.3-8 8.6-2.4 16.8-6.2 24.7-10.4 5.6-3 10.4-7.8 9.7-15.1-.7-7.4-6.2-11.2-12.4-13.7-16.7-6.6-33-4.3-48.9 2.8-3.1 1.4-6.1 3.1-9.1 4.6-.3-.4-.6-.8-1-1.1 3.5-3.2 7.1-6.3 10.4-9.6 9.7-9.6 19.3-19.3 29-29 7.2-7.1 13.7-7.4 20.8-.3 29.9 29.7 59.6 59.6 89.4 89.5.4.3.5.7 1.1 1.8z" /><path d="m0 106.4h17.2c12.5 0 25 .2 37.5-.1 7.3-.2 13.3 2.4 17.3 8.1 4.1 5.9 7.5 12.5 10.7 19 3.9 8.1 6.9 16.6 11.1 24.5 6.6 12.6 15.4 23.4 29.3 28.5-4.1 4.3-7.9 8.7-12.2 12.5-5.1 4.5-11.2 4.9-17.1 1.1-3.4-2.2-6.5-5.1-9.5-8.1-26.9-27-53.8-54.1-80.7-81.1-1-1.2-2-2.5-3.6-4.4z" /><path d="m81.8 106.5h49.2c-6.6 10.2-8.8 20.8-4.1 31.9 4.8 11.3 13.8 17.1 27 18.2-7 6.9-13.4 13.4-19.9 19.6-.8.8-3 1.1-4.1.6-5.4-2.8-11.8-4.8-15.5-9.1-6.3-7.4-11.4-15.9-15.8-24.6-6.2-11.9-11.2-24.3-16.8-36.6z" /><path d="m202.5 106.4c-1.6 1.9-2.4 3-3.4 4.1-8.4 8.5-16.5 17.4-25.5 25.4-4.3 3.8-9.9 6.7-15.4 8.7-6.8 2.5-13.3.3-18.1-5.2-4.7-5.3-6.2-11.7-4.1-18.6 2.8-9 10.1-14.3 19.4-14.3 15.3-.1 30.6-.1 47.1-.1z" /></svg>
|
|
14
|
-
{faker.location.city()}
|
|
15
|
-
</Link>
|
|
16
|
-
</li>
|
|
17
|
-
// </ul>
|
|
18
|
-
);
|
|
19
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// this is the Name.stories.tsx file
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { fn } from '@storybook/test';
|
|
4
|
-
import { Button } from './Button';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
component: Button,
|
|
8
|
-
title: 'Atoms/Button',
|
|
9
|
-
args: { onClick: fn() },
|
|
10
|
-
} satisfies Meta<typeof Button>;
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
|
|
15
|
-
export const Primary: Story = {
|
|
16
|
-
args: {
|
|
17
|
-
primary: true,
|
|
18
|
-
},
|
|
19
|
-
};
|
package/src/stories/Button.tsx
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
// this is the Name.tsx file
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface ButtonProps {
|
|
5
|
-
primary?: boolean;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const Button = ({
|
|
10
|
-
primary = false,
|
|
11
|
-
...props
|
|
12
|
-
}: ButtonProps) => {
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<main
|
|
16
|
-
{...props}
|
|
17
|
-
>
|
|
18
|
-
{primary ? 'primary' : 'secondary'}
|
|
19
|
-
<button type='button'>Button</button>
|
|
20
|
-
<button className='button__hover' type='button'>Hover</button>
|
|
21
|
-
<button className='button__active' type='button'>Active</button>
|
|
22
|
-
<hr />
|
|
23
|
-
<button className='button__mullen' type='button'>Button Mullen</button>
|
|
24
|
-
<button className='button__mullen--hover' type='button'>Mullen Hover</button>
|
|
25
|
-
<button className='button__mullen--active' type='button'>Mullen Active</button>
|
|
26
|
-
<p>// TODO: I have some problems with this I dont like the pink</p>
|
|
27
|
-
</main>
|
|
28
|
-
);
|
|
29
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// this is the Name.stories.tsx file
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { fn } from '@storybook/test';
|
|
4
|
-
import { Card } from './Card';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
component: Card,
|
|
8
|
-
title: 'Molecules/Card',
|
|
9
|
-
args: { onClick: fn() },
|
|
10
|
-
} satisfies Meta<typeof Card>;
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
|
|
15
|
-
export const Primary: Story = {
|
|
16
|
-
args: {
|
|
17
|
-
primary: true,
|
|
18
|
-
},
|
|
19
|
-
};
|
package/src/stories/Card.tsx
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
// TODO: faker with an internet connection
|
|
2
|
-
// this is the Name.tsx file
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { Link } from 'react-aria-components';
|
|
5
|
-
import { faker } from '@faker-js/faker';
|
|
6
|
-
import { BookNow } from './BookNow';
|
|
7
|
-
|
|
8
|
-
export const Card = () => {
|
|
9
|
-
|
|
10
|
-
return (
|
|
11
|
-
<div className='deck'>
|
|
12
|
-
<Link href="#" className="card">
|
|
13
|
-
{/* <img
|
|
14
|
-
src='https://tahoe-city-kayak.s3.us-west-1.amazonaws.com/textures/jason-leung-Oc81QL8Crtg-unsplash-hd.webp'
|
|
15
|
-
alt=""
|
|
16
|
-
className='card__placeholder'
|
|
17
|
-
/> */}
|
|
18
|
-
<h4 className="card__title">
|
|
19
|
-
{faker.location.city()}
|
|
20
|
-
</h4>
|
|
21
|
-
|
|
22
|
-
<div className="card__specs">
|
|
23
|
-
<h4>
|
|
24
|
-
{/* <time>
|
|
25
|
-
18:30 - 20:30
|
|
26
|
-
</time> */}
|
|
27
|
-
</h4>
|
|
28
|
-
<h4>
|
|
29
|
-
{/* // ? does this need capitalization */}
|
|
30
|
-
{faker.helpers.arrayElement(['easy', 'medium', 'hard'])} <span className="card__span">Fitness</span>
|
|
31
|
-
</h4>
|
|
32
|
-
</div>
|
|
33
|
-
<hr />
|
|
34
|
-
<p>{faker.lorem.lines(2)}</p>
|
|
35
|
-
<hr />
|
|
36
|
-
<div className="card__details">
|
|
37
|
-
<h5>${faker.number.int(100)}</h5>
|
|
38
|
-
<BookNow />
|
|
39
|
-
</div>
|
|
40
|
-
</Link>
|
|
41
|
-
</div>
|
|
42
|
-
);
|
|
43
|
-
};
|
package/src/stories/Colors.mdx
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Meta, ColorPalette, ColorItem } from "@storybook/blocks";
|
|
2
|
-
|
|
3
|
-
<Meta title="Colors" />
|
|
4
|
-
|
|
5
|
-
<ColorPalette>
|
|
6
|
-
<ColorItem
|
|
7
|
-
title="Mullen"
|
|
8
|
-
subtitle="base 100 - Tahoe City"
|
|
9
|
-
colors={{
|
|
10
|
-
mullen100: "hsl(0, 50%, 50%)",
|
|
11
|
-
mullen200: "hsl(0, 50%, 37.5%)",
|
|
12
|
-
mullen300: "hsl(0, 50%, 25%)",
|
|
13
|
-
}}
|
|
14
|
-
/>
|
|
15
|
-
<ColorItem
|
|
16
|
-
title="Sand"
|
|
17
|
-
subtitle="base 100 - Tahoe City"
|
|
18
|
-
colors={{
|
|
19
|
-
sand100: "hsl(25, 37%, 95%)",
|
|
20
|
-
sand150: "hsl(25, 37%, 92.5%)",
|
|
21
|
-
sand200: "hsl(25, 37%, 87.5%)",
|
|
22
|
-
sand300: "hsl(25, 37%, 75%)",
|
|
23
|
-
}}
|
|
24
|
-
/>
|
|
25
|
-
|
|
26
|
-
<ColorItem
|
|
27
|
-
title="Ink"
|
|
28
|
-
subtitle="base 100 - Tahoe City"
|
|
29
|
-
colors={{
|
|
30
|
-
ink100: "hsl(210, 50%, 12.5%)",
|
|
31
|
-
ink200: "hsl(210, 50%, 7.5%)",
|
|
32
|
-
ink300: "hsl(210, 50%, 5%)",
|
|
33
|
-
}}
|
|
34
|
-
/>
|
|
35
|
-
<ColorItem
|
|
36
|
-
title="Navy"
|
|
37
|
-
subtitle="base 400 - South Lake"
|
|
38
|
-
colors={{
|
|
39
|
-
navy200: "oklch(75% 0.12 230)",
|
|
40
|
-
navy300: "oklch(62.5% 0.14 230)",
|
|
41
|
-
navy400: "oklch(50% 0.14 230)",
|
|
42
|
-
navy500: "oklch(37.5% 0.14 230)",
|
|
43
|
-
navy600: "oklch(25% 0.12 230)"
|
|
44
|
-
}}
|
|
45
|
-
/>
|
|
46
|
-
<ColorItem
|
|
47
|
-
title="Sunshine"
|
|
48
|
-
subtitle="base 500 - South Lake"
|
|
49
|
-
colors={{
|
|
50
|
-
navy100: "oklch(97.5% 0.025 95)",
|
|
51
|
-
navy200: "oklch(95% 0.05 95)",
|
|
52
|
-
navy300: "oklch(92.5% 0.1 95)",
|
|
53
|
-
navy400: "oklch(90% 0.15 95)",
|
|
54
|
-
navy500: "oklch(87.5% 0.2 95)"
|
|
55
|
-
}}
|
|
56
|
-
/>
|
|
57
|
-
<ColorItem
|
|
58
|
-
title="Neutrals"
|
|
59
|
-
colors={{
|
|
60
|
-
blackmetal: "hsl(210, 25%, 2.5%)",
|
|
61
|
-
blackout: "hsl(210, 25%, 12.5%)",
|
|
62
|
-
raven: "hsl(210, 25%, 25%)",
|
|
63
|
-
industrial: "hsl(210, 7.5%, 37.5%)",
|
|
64
|
-
grey: "hsl(210, 7.5%, 50%)",
|
|
65
|
-
cold: "hsl(210, 7.5%, 62.5%)",
|
|
66
|
-
tin: "hsl(210, 12.5%, 75%)",
|
|
67
|
-
cloud: "hsl(210, 18.75%, 87.5%)",
|
|
68
|
-
brilliance: "hsl(210, 25%, 97.5%)",
|
|
69
|
-
}}
|
|
70
|
-
/>
|
|
71
|
-
</ColorPalette>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// this is the Name.stories.tsx file
|
|
2
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
import { fn } from '@storybook/test';
|
|
4
|
-
import { Composition } from './Composition';
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
component: Composition,
|
|
8
|
-
title: 'Molecules/Composition',
|
|
9
|
-
args: { onClick: fn() },
|
|
10
|
-
} satisfies Meta<typeof Composition>;
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
|
|
15
|
-
export const Primary: Story = {
|
|
16
|
-
args: {
|
|
17
|
-
primary: true,
|
|
18
|
-
},
|
|
19
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// this is the Name.tsx file
|
|
2
|
-
import React from 'react';
|
|
3
|
-
|
|
4
|
-
interface CompositionProps {
|
|
5
|
-
primary?: boolean;
|
|
6
|
-
onClick?: () => void;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export const Composition = ({
|
|
10
|
-
primary = false,
|
|
11
|
-
...props
|
|
12
|
-
}: CompositionProps) => {
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<div className="composition">
|
|
16
|
-
{/* <WaterTexture className="texture-1" /> */}
|
|
17
|
-
{/* <TopThree className="texture-2 img__wrapped" /> */}
|
|
18
|
-
{/* {sport === 'paddleboard' ? <Supper className="paddler" /> : <Kayaker className="paddler" />} */}
|
|
19
|
-
</div>
|
|
20
|
-
);
|
|
21
|
-
};
|