@bbki.ng/components 2.1.38 → 2.1.39
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.cjs +8 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +3 -3
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +8 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -347,16 +347,14 @@ var NoiseCover = (props) => {
|
|
|
347
347
|
|
|
348
348
|
// lib/page/Page.tsx
|
|
349
349
|
var Page = (props) => {
|
|
350
|
-
const { nav, main
|
|
350
|
+
const { nav, main } = props;
|
|
351
351
|
return /* @__PURE__ */ import_react10.default.createElement("main", {
|
|
352
352
|
className: "flex flex-col h-full"
|
|
353
|
-
}, /* @__PURE__ */ import_react10.default.createElement("
|
|
354
|
-
className: `flx-grow-0 w-full sticky top-0 z-50`
|
|
355
|
-
}, nav), /* @__PURE__ */ import_react10.default.createElement("section", {
|
|
353
|
+
}, /* @__PURE__ */ import_react10.default.createElement("section", {
|
|
356
354
|
className: "flex-grow flex-shrink-0 px-6"
|
|
357
|
-
}, main),
|
|
358
|
-
className:
|
|
359
|
-
},
|
|
355
|
+
}, main), /* @__PURE__ */ import_react10.default.createElement("div", {
|
|
356
|
+
className: `flx-grow-0 w-full sticky bottom-0 z-50`
|
|
357
|
+
}, nav));
|
|
360
358
|
};
|
|
361
359
|
var NotFound = (props) => {
|
|
362
360
|
return /* @__PURE__ */ import_react10.default.createElement(NoiseCover, {
|
|
@@ -482,10 +480,11 @@ var TitledList = (props) => {
|
|
|
482
480
|
};
|
|
483
481
|
var LinkList = (props) => {
|
|
484
482
|
const { title, description, links, ...rest } = props;
|
|
485
|
-
const renderLink = ({ name, to }) => {
|
|
483
|
+
const renderLink = ({ name, to, external }) => {
|
|
486
484
|
return /* @__PURE__ */ import_react13.default.createElement(Link, {
|
|
487
485
|
to,
|
|
488
|
-
key: name
|
|
486
|
+
key: name,
|
|
487
|
+
external
|
|
489
488
|
}, name);
|
|
490
489
|
};
|
|
491
490
|
return /* @__PURE__ */ import_react13.default.createElement(TitledList, {
|