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 +1 -1
- package/dist/components/molecules/header/__stories__/header.stories.d.ts +7 -0
- package/dist/components/molecules/header/header.d.ts +3 -3
- package/package.json +4 -3
- package/dist/components/molecules/header/__stories__/header.stories-notready.d.ts +0 -0
- package/dist/components/molecules/header/__stories__/header.stories-notready.js +0 -1
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-
|
|
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:
|
|
@@ -3,9 +3,9 @@ type User = {
|
|
|
3
3
|
};
|
|
4
4
|
export interface HeaderProps {
|
|
5
5
|
user?: User;
|
|
6
|
-
onLogin
|
|
7
|
-
onLogout
|
|
8
|
-
onCreateAccount
|
|
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.
|
|
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.
|
|
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",
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|