@bouku/core 0.0.3 → 0.0.5

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,4 +1,4 @@
1
- export declare function Accordion({ items }: {
1
+ export default function Accordion({ items }: {
2
2
  items: {
3
3
  label: string;
4
4
  content: React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  "use strict";
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Accordion = Accordion;
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");
@@ -6,7 +6,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.SectionHeader = SectionHeader;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
- const chevron_up_svg_1 = __importDefault(require("@/assets/icons/chevron-up.svg"));
9
+ const chevron_up_svg_1 = __importDefault(require("../../assets/icons/chevron-up.svg"));
10
10
  const tailwind_variants_1 = require("tailwind-variants");
11
11
  function SectionHeader({ isActive, label }) {
12
12
  const s = getStyles({ isActive });
@@ -1,4 +1,4 @@
1
- export * from "./accordion";
1
+ export { default as Accordion } from "./accordion";
2
2
  export { default as Separator } from "./layout/separator";
3
3
  export { default as FadeBox } from "./layout/fade";
4
4
  export { default as AbsoluteBox } from "./layout/absolute";
@@ -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
- __exportStar(require("./accordion"), exports);
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");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bouku/core",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",