@konstructio/ui 0.1.0-alpha.10 → 0.1.0-alpha.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.
@@ -8,7 +8,7 @@ const e = ({ className: r }) => /* @__PURE__ */ l(
8
8
  fill: "currentColor",
9
9
  className: r,
10
10
  children: [
11
- /* @__PURE__ */ i("g", { id: "Icon", "clip-path": "url(#clip0_252_122)", children: /* @__PURE__ */ i(
11
+ /* @__PURE__ */ i("g", { id: "Icon", clipPath: "url(#clip0_252_122)", children: /* @__PURE__ */ i(
12
12
  "path",
13
13
  {
14
14
  id: "Vector",
@@ -1,10 +1,10 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { R as s } from "../../index-CvfCCTEO.js";
3
- import { List as n } from "./components/List.js";
4
- import f from "./components/Trigger.js";
5
- import { Content as p } from "./components/Content.js";
6
- import { rootVariants as g } from "./Tabs.variants.js";
7
- import { cn as c } from "../../utils/index.js";
3
+ import { cn as n } from "../../utils/index.js";
4
+ import { rootVariants as f } from "./Tabs.variants.js";
5
+ import { List as p } from "./components/List.js";
6
+ import { Trigger as g } from "./components/Trigger.js";
7
+ import { Content as c } from "./components/Content.js";
8
8
  const t = ({ children: o, theme: a, className: m, orientation: r, ...i }) => /* @__PURE__ */ e(
9
9
  s,
10
10
  {
@@ -12,13 +12,13 @@ const t = ({ children: o, theme: a, className: m, orientation: r, ...i }) => /*
12
12
  "data-theme": a,
13
13
  "data-orientation": r,
14
14
  "aria-orientation": r,
15
- className: c(g({ variant: r, className: m })),
15
+ className: n(f({ variant: r, className: m })),
16
16
  children: o
17
17
  }
18
18
  );
19
- t.List = n;
20
- t.Trigger = f;
21
- t.Content = p;
19
+ t.List = p;
20
+ t.Trigger = g;
21
+ t.Content = c;
22
22
  export {
23
23
  t as default
24
24
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { C as m } from "../../../index-CvfCCTEO.js";
3
- import { contentVariants as a } from "../Tabs.variants.js";
4
- import { cn as e } from "../../../utils/index.js";
3
+ import { cn as a } from "../../../utils/index.js";
4
+ import { contentVariants as e } from "../Tabs.variants.js";
5
5
  const c = ({
6
6
  children: t,
7
7
  className: o,
@@ -10,7 +10,7 @@ const c = ({
10
10
  m,
11
11
  {
12
12
  ...r,
13
- className: e(a({ variant: "default", className: o })),
13
+ className: a(e({ variant: "default", className: o })),
14
14
  children: t
15
15
  }
16
16
  );
@@ -1,16 +1,16 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { L as n } from "../../../index-CvfCCTEO.js";
3
- import { listVariants as t } from "../Tabs.variants.js";
4
- import { cn as a } from "../../../utils/index.js";
3
+ import { cn as t } from "../../../utils/index.js";
4
+ import { listVariants as a } from "../Tabs.variants.js";
5
5
  const p = ({
6
6
  children: i,
7
7
  className: s,
8
8
  orientation: m,
9
9
  ...o
10
- }) => /* @__PURE__ */ r("div", { className: a(t({ variant: "default" })), children: /* @__PURE__ */ r(
10
+ }) => /* @__PURE__ */ r("div", { className: t(a({ variant: "default" })), children: /* @__PURE__ */ r(
11
11
  n,
12
12
  {
13
- className: a(t({ variant: m, className: s })),
13
+ className: t(a({ variant: m, className: s })),
14
14
  ...o,
15
15
  children: i
16
16
  }
@@ -1,26 +1,26 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { Typography as e } from "../../Typography/Typography.js";
3
- import { T as m } from "../../../index-CvfCCTEO.js";
2
+ import { T as e } from "../../../index-CvfCCTEO.js";
3
+ import { Typography as m } from "../../Typography/Typography.js";
4
4
  import { cn as n } from "../../../utils/index.js";
5
5
  import { triggerVariants as p } from "../Tabs.variants.js";
6
- const v = ({
6
+ const l = ({
7
7
  tab: i,
8
- label: a,
8
+ label: o,
9
9
  isActive: t,
10
- className: o
11
- }) => /* @__PURE__ */ r(m, { value: i, children: /* @__PURE__ */ r(
12
- e,
10
+ className: a
11
+ }) => /* @__PURE__ */ r(e, { value: i, children: /* @__PURE__ */ r(
12
+ m,
13
13
  {
14
14
  variant: "body2",
15
15
  className: n(
16
16
  p({
17
17
  variant: t ? "active" : "inactive",
18
- className: o
18
+ className: a
19
19
  })
20
20
  ),
21
- children: a
21
+ children: o
22
22
  }
23
23
  ) });
24
24
  export {
25
- v as default
25
+ l as Trigger
26
26
  };
@@ -0,0 +1,8 @@
1
+ import { Content as t } from "./Content.js";
2
+ import { List as f } from "./List.js";
3
+ import { Trigger as p } from "./Trigger.js";
4
+ export {
5
+ t as Content,
6
+ f as List,
7
+ p as Trigger
8
+ };
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.1.0-alpha.9",
5
+ "version": "0.1.0-alpha.11",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
@@ -106,9 +106,9 @@
106
106
  },
107
107
  "devDependencies": {
108
108
  "@rollup/plugin-alias": "^5.1.1",
109
- "@storybook/addon-docs": "^9.1.0-alpha.2",
110
- "@storybook/addon-links": "^9.1.0-alpha.2",
111
- "@storybook/react-vite": "^9.1.0-alpha.2",
109
+ "@storybook/addon-docs": "^9.1.0-alpha.3",
110
+ "@storybook/addon-links": "^9.1.0-alpha.3",
111
+ "@storybook/react-vite": "^9.1.0-alpha.3",
112
112
  "@tailwindcss/vite": "^4.1.8",
113
113
  "@testing-library/jest-dom": "^6.6.3",
114
114
  "@testing-library/react": "^16.3.0",
@@ -126,7 +126,7 @@
126
126
  "eslint": "^8.57.0",
127
127
  "eslint-plugin-react-hooks": "^4.6.2",
128
128
  "eslint-plugin-react-refresh": "^0.4.7",
129
- "eslint-plugin-storybook": "^9.1.0-alpha.2",
129
+ "eslint-plugin-storybook": "^9.1.0-alpha.3",
130
130
  "glob": "^11.0.2",
131
131
  "husky": "^9.1.7",
132
132
  "jest-axe": "^10.0.0",
@@ -135,7 +135,7 @@
135
135
  "postcss": "^8.5.4",
136
136
  "prettier": "^3.5.3",
137
137
  "rimraf": "^6.0.1",
138
- "storybook": "^9.1.0-alpha.2",
138
+ "storybook": "^9.1.0-alpha.3",
139
139
  "tailwindcss": "^4.1.8",
140
140
  "ts-node": "^10.9.2",
141
141
  "typescript": "^5.8.3",
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.1.0-alpha.10",
5
+ "version": "0.1.0-alpha.12",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "main": "dist/index.js",
@@ -106,9 +106,9 @@
106
106
  },
107
107
  "devDependencies": {
108
108
  "@rollup/plugin-alias": "^5.1.1",
109
- "@storybook/addon-docs": "^9.1.0-alpha.2",
110
- "@storybook/addon-links": "^9.1.0-alpha.2",
111
- "@storybook/react-vite": "^9.1.0-alpha.2",
109
+ "@storybook/addon-docs": "^9.1.0-alpha.3",
110
+ "@storybook/addon-links": "^9.1.0-alpha.3",
111
+ "@storybook/react-vite": "^9.1.0-alpha.3",
112
112
  "@tailwindcss/vite": "^4.1.8",
113
113
  "@testing-library/jest-dom": "^6.6.3",
114
114
  "@testing-library/react": "^16.3.0",
@@ -126,7 +126,7 @@
126
126
  "eslint": "^8.57.0",
127
127
  "eslint-plugin-react-hooks": "^4.6.2",
128
128
  "eslint-plugin-react-refresh": "^0.4.7",
129
- "eslint-plugin-storybook": "^9.1.0-alpha.2",
129
+ "eslint-plugin-storybook": "^9.1.0-alpha.3",
130
130
  "glob": "^11.0.2",
131
131
  "husky": "^9.1.7",
132
132
  "jest-axe": "^10.0.0",
@@ -135,7 +135,7 @@
135
135
  "postcss": "^8.5.4",
136
136
  "prettier": "^3.5.3",
137
137
  "rimraf": "^6.0.1",
138
- "storybook": "^9.1.0-alpha.2",
138
+ "storybook": "^9.1.0-alpha.3",
139
139
  "tailwindcss": "^4.1.8",
140
140
  "ts-node": "^10.9.2",
141
141
  "typescript": "^5.8.3",