@bouku/core 0.0.4 → 0.0.6
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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.default = Accordion;
|
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
6
6
|
const react_1 = require("react");
|
|
7
7
|
const flex_1 = require("../layout/flex");
|
package/dist/components/index.js
CHANGED
|
@@ -17,8 +17,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.Dropdown = exports.Section = exports.Pagination = exports.AbsoluteBox = exports.FadeBox = exports.Separator = void 0;
|
|
21
|
-
|
|
20
|
+
exports.Dropdown = exports.Section = exports.Pagination = exports.AbsoluteBox = exports.FadeBox = exports.Separator = exports.Accordion = void 0;
|
|
21
|
+
var accordion_1 = require("./accordion");
|
|
22
|
+
Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return __importDefault(accordion_1).default; } });
|
|
22
23
|
var separator_1 = require("./layout/separator");
|
|
23
24
|
Object.defineProperty(exports, "Separator", { enumerable: true, get: function () { return __importDefault(separator_1).default; } });
|
|
24
25
|
var fade_1 = require("./layout/fade");
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.linkify = void 0;
|
|
3
4
|
exports.formatText = formatText;
|
|
4
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
6
|
const ts_1 = require("@bouko/ts");
|
|
@@ -34,3 +35,5 @@ function formatText(text) {
|
|
|
34
35
|
return ((0, jsx_runtime_1.jsx)("span", { className: delimiter.style, children: content }, index));
|
|
35
36
|
}) });
|
|
36
37
|
}
|
|
38
|
+
const linkify = (label, link) => `[${label}](${link})`;
|
|
39
|
+
exports.linkify = linkify;
|