@konstructio/ui 0.0.12-alpha.0 → 0.0.12

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,41 +1,40 @@
1
- import { jsxs as p, Fragment as u, jsx as o } from "react/jsx-runtime";
2
- import { cn as l } from "../../../../utils/index.js";
3
- import { NavigationTitle as c } from "../NavigationTitle/NavigationTitle.js";
4
- import { navigationGroupsVariants as f } from "./NavigationGroup.variants.js";
1
+ import { jsxs as s, Fragment as p, jsx as r } from "react/jsx-runtime";
2
+ import { cn as c } from "../../../../utils/index.js";
3
+ import { NavigationTitle as l } from "../NavigationTitle/NavigationTitle.js";
4
+ import { navigationGroupsVariants as u } from "./NavigationGroup.variants.js";
5
5
  import "../../../../contexts/theme.context.js";
6
- import { useTheme as h } from "../../../../contexts/theme.hook.js";
6
+ import { useTheme as f } from "../../../../contexts/theme.hook.js";
7
7
  import "react";
8
8
  import "../../../../js.cookie-OLEfuq_g.js";
9
- const F = ({
10
- children: t,
11
- title: r,
12
- className: m,
9
+ const d = ({
10
+ children: m,
11
+ title: o,
12
+ className: t,
13
13
  theme: e,
14
14
  titleClassName: i,
15
- isVisible: n = !0,
16
15
  ...a
17
16
  }) => {
18
- const { theme: s } = h();
19
- return n ? /* @__PURE__ */ p(u, { children: [
20
- r ? /* @__PURE__ */ o(
21
- c,
17
+ const { theme: n } = f();
18
+ return /* @__PURE__ */ s(p, { children: [
19
+ o ? /* @__PURE__ */ r(
20
+ l,
22
21
  {
23
- title: r,
22
+ title: o,
24
23
  className: i,
25
24
  ...a
26
25
  }
27
26
  ) : null,
28
- /* @__PURE__ */ o(
27
+ /* @__PURE__ */ r(
29
28
  "ul",
30
29
  {
31
- className: l(
32
- f({ theme: e ?? s, className: m })
30
+ className: c(
31
+ u({ theme: e ?? n, className: t })
33
32
  ),
34
- children: t
33
+ children: m
35
34
  }
36
35
  )
37
- ] }) : null;
36
+ ] });
38
37
  };
39
38
  export {
40
- F as NavigationGroup
39
+ d as NavigationGroup
41
40
  };
@@ -4,5 +4,4 @@ import { navigationGroupsVariants } from './NavigationGroup.variants';
4
4
  export interface NavigationGroupProps extends PropsWithChildren, VariantProps<typeof navigationGroupsVariants>, Pick<HtmlHTMLAttributes<HTMLDivElement>, 'className' | 'style'> {
5
5
  title?: string;
6
6
  titleClassName?: string;
7
- isVisible?: boolean;
8
7
  }
package/dist/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@konstructio/ui",
3
3
  "description": "A set of reusable and customizable React components built for konstruct.io",
4
4
  "private": false,
5
- "version": "0.0.12",
5
+ "version": "0.0.11",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@konstructio/ui",
3
3
  "description": "A set of reusable and customizable React components built for konstruct.io",
4
4
  "private": false,
5
- "version": "0.0.12-alpha.0",
5
+ "version": "0.0.12",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",