cross-country 1.2.28 → 1.2.30
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.
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c } from "react";
|
|
3
3
|
import { c as u } from "../../../clsx.m-BMVuQnLY.js";
|
|
4
|
-
const
|
|
5
|
-
column:
|
|
6
|
-
},
|
|
4
|
+
const d = "_column_183cs_1", o = {
|
|
5
|
+
column: d
|
|
6
|
+
}, f = c(
|
|
7
7
|
({
|
|
8
|
-
children:
|
|
9
|
-
hasBackground:
|
|
10
|
-
hasChildrenCentered:
|
|
11
|
-
backgroundColor:
|
|
8
|
+
children: e,
|
|
9
|
+
hasBackground: l = !1,
|
|
10
|
+
hasChildrenCentered: i = !1,
|
|
11
|
+
backgroundColor: p = "#eee",
|
|
12
12
|
dataTestId: n = "column",
|
|
13
13
|
customStyle: s = null,
|
|
14
|
-
customClass:
|
|
15
|
-
...
|
|
16
|
-
},
|
|
14
|
+
customClass: m = "",
|
|
15
|
+
...t
|
|
16
|
+
}, r) => /* @__PURE__ */ a(
|
|
17
17
|
"div",
|
|
18
18
|
{
|
|
19
|
-
ref:
|
|
20
|
-
...
|
|
19
|
+
ref: r,
|
|
20
|
+
...t,
|
|
21
21
|
"data-testid": n,
|
|
22
22
|
className: u(
|
|
23
23
|
o.column,
|
|
24
24
|
{
|
|
25
|
-
[o.column__opaque]:
|
|
26
|
-
[o.column__transparent]:
|
|
25
|
+
[o.column__opaque]: l,
|
|
26
|
+
[o.column__transparent]: l
|
|
27
27
|
},
|
|
28
|
-
|
|
28
|
+
m
|
|
29
29
|
),
|
|
30
30
|
style: { ...s },
|
|
31
|
-
children:
|
|
31
|
+
children: e
|
|
32
32
|
}
|
|
33
33
|
)
|
|
34
34
|
);
|
|
35
|
+
f.displayName = "Column";
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
f as default
|
|
37
38
|
};
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
import { forwardRef as l, createElement as c } from "react";
|
|
2
|
-
import { c as
|
|
3
|
-
const
|
|
4
|
-
row:
|
|
5
|
-
},
|
|
2
|
+
import { c as m } from "../../../clsx.m-BMVuQnLY.js";
|
|
3
|
+
const n = "_row_1osly_1", w = {
|
|
4
|
+
row: n
|
|
5
|
+
}, d = l(
|
|
6
6
|
({
|
|
7
7
|
id: e,
|
|
8
8
|
children: r,
|
|
9
|
-
hasChildrenCentered:
|
|
9
|
+
hasChildrenCentered: f = !0,
|
|
10
10
|
customClass: o = "",
|
|
11
|
-
customStyle:
|
|
12
|
-
...
|
|
11
|
+
customStyle: s = {},
|
|
12
|
+
...t
|
|
13
13
|
}, a) => /* @__PURE__ */ c(
|
|
14
14
|
"div",
|
|
15
15
|
{
|
|
16
|
-
...
|
|
16
|
+
...t,
|
|
17
17
|
key: e,
|
|
18
|
-
className:
|
|
19
|
-
style:
|
|
18
|
+
className: m(w.row, o),
|
|
19
|
+
style: s,
|
|
20
20
|
ref: a
|
|
21
21
|
},
|
|
22
22
|
r
|
|
23
23
|
)
|
|
24
24
|
);
|
|
25
|
+
d.displayName = "Row";
|
|
25
26
|
export {
|
|
26
|
-
|
|
27
|
+
d as default
|
|
27
28
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cross-country",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.30",
|
|
4
4
|
"description": "an atomic design system built for personal metrics & lonely forest bathers",
|
|
5
5
|
"author": "headwinds",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,11 +33,13 @@
|
|
|
33
33
|
"@changesets/cli": "^2.27.8",
|
|
34
34
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
35
35
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
36
|
+
"@storybook/addon-docs": "^8.1.6",
|
|
36
37
|
"@storybook/addon-essentials": "^8.1.6",
|
|
37
38
|
"@storybook/addon-interactions": "^8.3.2",
|
|
38
39
|
"@storybook/addon-links": "^8.1.6",
|
|
39
40
|
"@storybook/addon-mdx-gfm": "^8.1.6",
|
|
40
41
|
"@storybook/addon-onboarding": "^8.1.6",
|
|
42
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
41
43
|
"@storybook/blocks": "^8.1.6",
|
|
42
44
|
"@storybook/react": "^8.1.6",
|
|
43
45
|
"@storybook/react-vite": "^8.1.6",
|
|
@@ -59,21 +61,20 @@
|
|
|
59
61
|
"jest": "^29.7.0",
|
|
60
62
|
"jsdom": "^23.0.1",
|
|
61
63
|
"playwright": "^1.45.1",
|
|
64
|
+
"prismjs": "^1.23.0",
|
|
62
65
|
"react": "^18.2.0",
|
|
63
66
|
"react-dom": "^18.2.0",
|
|
67
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
64
68
|
"rollup-plugin-dts": "^6.1.1",
|
|
65
69
|
"storybook": "8.3.2",
|
|
66
70
|
"tsx": "^4.19.2",
|
|
67
71
|
"typescript": "^5.2.2",
|
|
68
72
|
"vite": "^5.0.0",
|
|
73
|
+
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
69
74
|
"vite-plugin-dts": "^3.6.4",
|
|
70
75
|
"vite-plugin-lib-inject-css": "^1.3.0",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"prismjs": "^1.23.0",
|
|
74
|
-
"rollup-plugin-css-only": "^4.5.2",
|
|
75
|
-
"@storybook/addon-docs": "^8.1.6",
|
|
76
|
-
"@storybook/addon-styling": "^1.3.7"
|
|
76
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
77
|
+
"vitest": "^1.0.4"
|
|
77
78
|
},
|
|
78
79
|
"dependencies": {
|
|
79
80
|
"@mdx-js/react": "^3.0.1",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"@xstate/react": "4.1.0",
|
|
87
88
|
"@xstate/store": "^2.4.0",
|
|
88
89
|
"clsx": "^1.1.0",
|
|
89
|
-
"cross-country": "^1.2.
|
|
90
|
+
"cross-country": "^1.2.26",
|
|
90
91
|
"d3": "^7.8.2",
|
|
91
92
|
"d3-axis": "^3.0.0",
|
|
92
93
|
"date-fns": "^3.6.0",
|