cross-country 1.2.32 → 1.2.34

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/README.md CHANGED
@@ -96,7 +96,7 @@ pnpm new -- --type organisms --path component-name-here
96
96
  ```
97
97
  or
98
98
  ```
99
- pnpm new -- --type molecules --path component-name-here/sub-component-name-her
99
+ pnpm new -- --type molecules --path component-name-here/sub-component-name-here
100
100
  ```
101
101
 
102
102
  You can also scaffold only a story:
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { default as Header } from '../header';
3
+
4
+ declare const meta: Meta<typeof Header>;
5
+ export default meta;
6
+ type Story = StoryObj<typeof Header>;
7
+ export declare const HeaderStory: Story;
@@ -3,9 +3,9 @@ type User = {
3
3
  };
4
4
  export interface HeaderProps {
5
5
  user?: User;
6
- onLogin: () => void;
7
- onLogout: () => void;
8
- onCreateAccount: () => void;
6
+ onLogin?: () => void;
7
+ onLogout?: () => void;
8
+ onCreateAccount?: () => void;
9
9
  }
10
10
  declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => import("react/jsx-runtime").JSX.Element;
11
11
  export default Header;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cross-country",
3
- "version": "1.2.32",
3
+ "version": "1.2.34",
4
4
  "description": "an atomic design system built for personal metrics & lonely forest bathers",
5
5
  "author": "headwinds",
6
6
  "license": "MIT",
@@ -13,7 +13,8 @@
13
13
  "types": "./dist/index.d.ts",
14
14
  "import": "./dist/index.js",
15
15
  "default": "./dist/index.js"
16
- }
16
+ },
17
+ "./dist/bundle.css": "./dist/bundle.css"
17
18
  },
18
19
  "files": [
19
20
  "dist"
@@ -80,7 +81,7 @@
80
81
  "@xstate/react": "4.1.0",
81
82
  "@xstate/store": "^2.4.0",
82
83
  "clsx": "^1.1.0",
83
- "cross-country": "^1.2.26",
84
+ "cross-country": "^1.2.34",
84
85
  "d3": "^7.8.2",
85
86
  "d3-axis": "^3.0.0",
86
87
  "date-fns": "^3.6.0",