@still-forest/canopy 0.22.1 → 0.22.2
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/dist/index.d.ts +1 -1
- package/dist/index.js +10 -22
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -136,7 +136,7 @@ declare interface ChildProps {
|
|
|
136
136
|
|
|
137
137
|
export declare const Code: ({ children, ...props }: TextProps) => JSX.Element;
|
|
138
138
|
|
|
139
|
-
export declare const Container: ({ children, className, ...props }: ContainerProps) => JSX.Element;
|
|
139
|
+
export declare const Container: ({ children, className, direction, ...props }: ContainerProps) => JSX.Element;
|
|
140
140
|
|
|
141
141
|
export declare interface ContainerProps extends FlexProps {
|
|
142
142
|
children: React.ReactNode;
|
package/dist/index.js
CHANGED
|
@@ -10937,13 +10937,13 @@ const ga = A.forwardRef(
|
|
|
10937
10937
|
)
|
|
10938
10938
|
);
|
|
10939
10939
|
ga.displayName = "Box";
|
|
10940
|
-
const xa = ({ children: e, className: t,
|
|
10941
|
-
const { display:
|
|
10942
|
-
return
|
|
10940
|
+
const xa = ({ children: e, className: t, direction: n = "col", ...o }) => {
|
|
10941
|
+
const { display: r = "flex", ...a } = o, s = M("w-full max-w-6xl px-4 py-2 md:px-8 md:py-4 lg:px-12 lg:py-6", t);
|
|
10942
|
+
return r === "block" ? /* @__PURE__ */ m.jsxDEV(ga, { className: s, ...a, children: e }, void 0, !1, {
|
|
10943
10943
|
fileName: "/Users/john/Development/canopy/lib/layout/Container/Container.tsx",
|
|
10944
10944
|
lineNumber: 19,
|
|
10945
10945
|
columnNumber: 7
|
|
10946
|
-
}, void 0) : /* @__PURE__ */ m.jsxDEV(he, { className:
|
|
10946
|
+
}, void 0) : /* @__PURE__ */ m.jsxDEV(he, { className: s, direction: n, ...a, children: e }, void 0, !1, {
|
|
10947
10947
|
fileName: "/Users/john/Development/canopy/lib/layout/Container/Container.tsx",
|
|
10948
10948
|
lineNumber: 26,
|
|
10949
10949
|
columnNumber: 5
|
|
@@ -11098,7 +11098,7 @@ const xa = ({ children: e, className: t, ...n }) => {
|
|
|
11098
11098
|
},
|
|
11099
11099
|
void 0
|
|
11100
11100
|
)
|
|
11101
|
-
), he = Object.assign(Yg, { Item: Gg }), qg = ({ children: e, ...t }) => /* @__PURE__ */ m.jsxDEV(xa, { as: "footer", className: "bottom-0 mt-auto pb-2", ...t, children: e }, void 0, !1, {
|
|
11101
|
+
), he = Object.assign(Yg, { Item: Gg }), qg = ({ children: e, ...t }) => /* @__PURE__ */ m.jsxDEV(xa, { as: "footer", className: "bottom-0 mt-auto pb-2", justify: "between", ...t, children: e }, void 0, !1, {
|
|
11102
11102
|
fileName: "/Users/john/Development/canopy/lib/layout/Footer/Footer.tsx",
|
|
11103
11103
|
lineNumber: 9,
|
|
11104
11104
|
columnNumber: 5
|
|
@@ -11231,23 +11231,11 @@ const xa = ({ children: e, className: t, ...n }) => {
|
|
|
11231
11231
|
)
|
|
11232
11232
|
);
|
|
11233
11233
|
Hc.displayName = "Grid";
|
|
11234
|
-
const Kg = ({ children: e, sticky: t = !
|
|
11235
|
-
|
|
11236
|
-
|
|
11237
|
-
|
|
11238
|
-
|
|
11239
|
-
...o,
|
|
11240
|
-
children: e
|
|
11241
|
-
},
|
|
11242
|
-
void 0,
|
|
11243
|
-
!1,
|
|
11244
|
-
{
|
|
11245
|
-
fileName: "/Users/john/Development/canopy/lib/layout/Header/Header.tsx",
|
|
11246
|
-
lineNumber: 11,
|
|
11247
|
-
columnNumber: 5
|
|
11248
|
-
},
|
|
11249
|
-
void 0
|
|
11250
|
-
), Gc = "mx-auto w-full max-w-screen-lg", Zg = ({ children: e, className: t, withContainer: n = !1, ...o }) => {
|
|
11234
|
+
const Kg = ({ children: e, sticky: t = !1, className: n, ...o }) => /* @__PURE__ */ m.jsxDEV(xa, { as: "header", className: M("top-0 ", t && "z-50 sticky", n), justify: "between", ...o, children: e }, void 0, !1, {
|
|
11235
|
+
fileName: "/Users/john/Development/canopy/lib/layout/Header/Header.tsx",
|
|
11236
|
+
lineNumber: 11,
|
|
11237
|
+
columnNumber: 5
|
|
11238
|
+
}, void 0), Gc = "mx-auto w-full max-w-screen-lg", Zg = ({ children: e, className: t, withContainer: n = !1, ...o }) => {
|
|
11251
11239
|
const r = M("flex-1 grow", Gc, t);
|
|
11252
11240
|
return n ? /* @__PURE__ */ m.jsxDEV(xa, { as: "main", className: r, display: "block", ...o, children: e }, void 0, !1, {
|
|
11253
11241
|
fileName: "/Users/john/Development/canopy/lib/layout/Layout/Body.tsx",
|