@rileybathurst/paddle 0.0.47 → 0.0.49

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.
Files changed (79) hide show
  1. package/package.json +3 -2
  2. package/src/styles/layout.css +10 -7
  3. package/src/styles/lists.css +5 -32
  4. package/src/styles/typography.css +1 -0
  5. package/src/stories/BookNow.stories.tsx +0 -19
  6. package/src/stories/BookNow.tsx +0 -29
  7. package/src/stories/BrandList.stories.tsx +0 -19
  8. package/src/stories/BrandList.tsx +0 -19
  9. package/src/stories/Button.stories.tsx +0 -19
  10. package/src/stories/Button.tsx +0 -29
  11. package/src/stories/Card.stories.tsx +0 -19
  12. package/src/stories/Card.tsx +0 -43
  13. package/src/stories/Colors.mdx +0 -71
  14. package/src/stories/Composition.stories.tsx +0 -19
  15. package/src/stories/Composition.tsx +0 -21
  16. package/src/stories/Configure.mdx +0 -364
  17. package/src/stories/Deal.tsx +0 -31
  18. package/src/stories/Deck.stories.tsx +0 -19
  19. package/src/stories/Deck.tsx +0 -22
  20. package/src/stories/Eyebrow.stories.tsx +0 -19
  21. package/src/stories/Eyebrow.tsx +0 -21
  22. package/src/stories/Footer.stories.tsx +0 -19
  23. package/src/stories/Footer.tsx +0 -94
  24. package/src/stories/Header.stories.ts +0 -33
  25. package/src/stories/Header.tsx +0 -28
  26. package/src/stories/Language.stories.tsx +0 -19
  27. package/src/stories/Language.tsx +0 -22
  28. package/src/stories/Links.stories.tsx +0 -19
  29. package/src/stories/Links.tsx +0 -25
  30. package/src/stories/Location.stories.tsx +0 -19
  31. package/src/stories/Location.tsx +0 -55
  32. package/src/stories/LocationDeck.stories.tsx +0 -19
  33. package/src/stories/LocationDeck.tsx +0 -42
  34. package/src/stories/Logo.stories.tsx +0 -19
  35. package/src/stories/Logo.tsx +0 -60
  36. package/src/stories/Neutrals.stories.tsx +0 -19
  37. package/src/stories/Neutrals.tsx +0 -31
  38. package/src/stories/Page.stories.ts +0 -23
  39. package/src/stories/Page.tsx +0 -126
  40. package/src/stories/Pricing.stories.tsx +0 -19
  41. package/src/stories/Pricing.tsx +0 -74
  42. package/src/stories/Socials.stories.tsx +0 -19
  43. package/src/stories/Socials.tsx +0 -50
  44. package/src/stories/Spec.stories.tsx +0 -19
  45. package/src/stories/Spec.tsx +0 -99
  46. package/src/stories/Svg.stories.tsx +0 -19
  47. package/src/stories/Svg.tsx +0 -23
  48. package/src/stories/Terms.md +0 -4
  49. package/src/stories/Testimonial.stories.tsx +0 -19
  50. package/src/stories/Testimonial.tsx +0 -24
  51. package/src/stories/Testimonials.stories.tsx +0 -19
  52. package/src/stories/Testimonials.tsx +0 -42
  53. package/src/stories/Ticket.stories.tsx +0 -19
  54. package/src/stories/Ticket.tsx +0 -47
  55. package/src/stories/TopBar.stories.tsx +0 -19
  56. package/src/stories/TopBar.tsx +0 -19
  57. package/src/stories/Typography.mdx +0 -51
  58. package/src/stories/Typography.stories.tsx +0 -19
  59. package/src/stories/Typography.tsx +0 -39
  60. package/src/stories/Widths.stories.tsx +0 -19
  61. package/src/stories/Widths.tsx +0 -152
  62. package/src/stories/assets/accessibility.png +0 -0
  63. package/src/stories/assets/accessibility.svg +0 -5
  64. package/src/stories/assets/addon-library.png +0 -0
  65. package/src/stories/assets/assets.png +0 -0
  66. package/src/stories/assets/avif-test-image.avif +0 -0
  67. package/src/stories/assets/context.png +0 -0
  68. package/src/stories/assets/discord.svg +0 -15
  69. package/src/stories/assets/docs.png +0 -0
  70. package/src/stories/assets/figma-plugin.png +0 -0
  71. package/src/stories/assets/github.svg +0 -3
  72. package/src/stories/assets/share.png +0 -0
  73. package/src/stories/assets/styling.png +0 -0
  74. package/src/stories/assets/testing.png +0 -0
  75. package/src/stories/assets/theming.png +0 -0
  76. package/src/stories/assets/tutorials.svg +0 -12
  77. package/src/stories/assets/youtube.svg +0 -4
  78. package/src/stories/header.css +0 -32
  79. 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.47",
4
+ "version": "0.0.49",
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
  }
@@ -22,7 +22,7 @@ footer,
22
22
  }
23
23
 
24
24
  .vulture {
25
- max-width: var(--vulture);
25
+ max-width: min(var(--vulture), calc(100vw - var(--denali)));
26
26
  flex-basis: var(--vulture);
27
27
  }
28
28
 
@@ -30,24 +30,27 @@ footer,
30
30
  header,
31
31
  main,
32
32
  footer {
33
- max-width: var(--stork);
33
+ max-width: min(var(--stork), calc(100vw - var(--denali)));
34
34
  flex-basis: var(--stork);
35
35
  }
36
36
 
37
37
  .condor,
38
- .location {
38
+ .location,
39
+ .react-aria-Breadcrumbs.condor {
39
40
  max-width: min(var(--condor), calc(100vw - var(--denali)));
40
41
  flex-basis: var(--condor);
41
42
  }
42
43
 
43
- .pelican {
44
- max-width: var(--pelican);
44
+ .pelican,
45
+ .react-aria-Breadcrumbs {
46
+ max-width: min(var(--pelican), calc(100vw - var(--denali)));
45
47
  flex-basis: var(--pelican);
46
48
  }
47
49
 
48
50
  .albatross,
49
- .deck {
50
- max-width: var(--albatross);
51
+ .deck,
52
+ .react-aria-Breadcrumbs.albatross {
53
+ max-width: min(var(--albatross), calc(100vw - var(--denali)));
51
54
  flex-basis: var(--albatross);
52
55
  }
53
56
 
@@ -45,37 +45,10 @@ ol {
45
45
  /* #BREADCRUMBS */
46
46
  /*------------------*/
47
47
 
48
- /* https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/ */
49
- .breadcrumbs {
50
- max-width: var(--stork);
51
- margin-inline: auto; /* overwrite nav */
52
- padding-inline: var(--kosciuszko); /* overwrite nav */
53
-
54
- ol {
55
- list-style: none;
56
- display: flex;
57
- flex-flow: row wrap;
58
- /* gap: 1rem; */
59
- max-width: var(--pelican);
60
- margin-inline: auto;
61
- padding-block-start: 1.5rem;
62
- margin-block-end: 0;
63
- /* padding-block-end: 1.5rem; */
64
- /* padding-inline: calc(var(--baseline) / 2); deprecated but still checking */
65
- padding-inline: 0;
66
- text-transform: capitalize;
67
-
68
- a {
69
- display: inline;
70
- }
71
- }
72
- }
73
-
74
48
  .react-aria-Breadcrumbs {
75
- max-width: var(--pelican);
76
- margin-inline: auto; /* overwrite nav */
77
49
  display: flex;
78
50
  flex-flow: row wrap;
51
+ gap: var(--kosciuszko);
79
52
  list-style: none; /* reset */
80
53
  margin-block-end: 0;
81
54
  padding-inline: var(--kosciuszko); /* overwrite nav */
@@ -85,11 +58,11 @@ ol {
85
58
  li {
86
59
  /* ? is this needed its a flex */
87
60
  display: inline;
61
+ }
88
62
 
89
- li:not(:last-child)::after {
90
- margin-inline: var(--vinson);
91
- content: ">";
92
- }
63
+ li:not(:last-child)::after {
64
+ margin-inline: var(--kosciuszko);
65
+ content: ">";
93
66
  }
94
67
  }
95
68
 
@@ -244,4 +244,5 @@ select {
244
244
  /* fixes a bug with new lines */
245
245
  .react-markdown {
246
246
  white-space: pre-wrap;
247
+ line-height: 1.5;
247
248
  }
@@ -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
- };
@@ -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
- };
@@ -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
- };
@@ -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
- };
@@ -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
- };