@cognite/aura 0.1.3 → 0.1.4

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,17 +1,17 @@
1
- import { jsx as e, jsxs as c } from "react/jsx-runtime";
2
- import { forwardRef as d } from "react";
1
+ import { jsx as d, jsxs as c } from "react/jsx-runtime";
2
+ import { forwardRef as e } from "react";
3
3
  import { IconDotsVertical as n } from "@tabler/icons-react";
4
4
  import { cn as o } from "../../../../lib/utils.js";
5
5
  import { Button as i } from "../button/button.js";
6
6
  import { DropdownMenu as l, DropdownMenuTrigger as m, DropdownMenuContent as p } from "../dropdown-menu/dropdown-menu.js";
7
- const u = d(
8
- ({ className: a, ...r }, t) => /* @__PURE__ */ e(
7
+ const u = e(
8
+ ({ className: a, ...r }, t) => /* @__PURE__ */ d(
9
9
  "div",
10
10
  {
11
11
  ref: t,
12
12
  "data-slot": "card",
13
13
  className: o(
14
- "bg-card text-card-foreground flex flex-col rounded-lg hover:bg-accent",
14
+ "bg-card text-card-foreground flex flex-col rounded-lg",
15
15
  a
16
16
  ),
17
17
  ...r
@@ -19,8 +19,8 @@ const u = d(
19
19
  )
20
20
  );
21
21
  u.displayName = "Card";
22
- const h = d(
23
- ({ className: a, ...r }, t) => /* @__PURE__ */ e(
22
+ const h = e(
23
+ ({ className: a, ...r }, t) => /* @__PURE__ */ d(
24
24
  "div",
25
25
  {
26
26
  ref: t,
@@ -38,20 +38,20 @@ const h = d(
38
38
  )
39
39
  );
40
40
  h.displayName = "CardHeader";
41
- const f = d(
42
- ({ className: a, children: r, ...t }, s) => /* @__PURE__ */ e(
41
+ const f = e(
42
+ ({ className: a, children: r, ...t }, s) => /* @__PURE__ */ d(
43
43
  "div",
44
44
  {
45
45
  ref: s,
46
46
  "data-slot": "card-icon",
47
47
  className: o("col-start-1 row-start-1 h-full", a),
48
48
  ...t,
49
- children: /* @__PURE__ */ e("div", { className: "flex items-center h-full", children: r })
49
+ children: /* @__PURE__ */ d("div", { className: "flex items-center h-full", children: r })
50
50
  }
51
51
  )
52
52
  );
53
53
  f.displayName = "CardIcon";
54
- const g = d(({ className: a, as: r = "h3", ...t }, s) => /* @__PURE__ */ e(
54
+ const g = e(({ className: a, as: r = "h3", ...t }, s) => /* @__PURE__ */ d(
55
55
  r,
56
56
  {
57
57
  ref: s,
@@ -65,8 +65,8 @@ const g = d(({ className: a, as: r = "h3", ...t }, s) => /* @__PURE__ */ e(
65
65
  }
66
66
  ));
67
67
  g.displayName = "CardTitle";
68
- const C = d(
69
- ({ className: a, ...r }, t) => /* @__PURE__ */ e(
68
+ const C = e(
69
+ ({ className: a, ...r }, t) => /* @__PURE__ */ d(
70
70
  "p",
71
71
  {
72
72
  ref: t,
@@ -81,8 +81,8 @@ const C = d(
81
81
  )
82
82
  );
83
83
  C.displayName = "CardDescription";
84
- const N = d(
85
- ({ className: a, ...r }, t) => /* @__PURE__ */ e(
84
+ const N = e(
85
+ ({ className: a, ...r }, t) => /* @__PURE__ */ d(
86
86
  "div",
87
87
  {
88
88
  ref: t,
@@ -96,18 +96,18 @@ const N = d(
96
96
  )
97
97
  );
98
98
  N.displayName = "CardHeaderRight";
99
- const x = d(({ children: a, align: r = "end", ...t }, s) => /* @__PURE__ */ c(l, { ...t, children: [
100
- /* @__PURE__ */ e(
99
+ const x = e(({ children: a, align: r = "end", ...t }, s) => /* @__PURE__ */ c(l, { ...t, children: [
100
+ /* @__PURE__ */ d(
101
101
  m,
102
102
  {
103
- render: /* @__PURE__ */ e(i, { variant: "ghost", size: "icon-sm", ref: s, children: /* @__PURE__ */ e(n, {}) })
103
+ render: /* @__PURE__ */ d(i, { variant: "ghost", size: "icon-sm", ref: s, children: /* @__PURE__ */ d(n, {}) })
104
104
  }
105
105
  ),
106
- /* @__PURE__ */ e(p, { align: r, children: a })
106
+ /* @__PURE__ */ d(p, { align: r, children: a })
107
107
  ] }));
108
108
  x.displayName = "CardActions";
109
- const w = d(
110
- ({ className: a, ...r }, t) => /* @__PURE__ */ e(
109
+ const w = e(
110
+ ({ className: a, ...r }, t) => /* @__PURE__ */ d(
111
111
  "div",
112
112
  {
113
113
  ref: t,
@@ -118,8 +118,8 @@ const w = d(
118
118
  )
119
119
  );
120
120
  w.displayName = "CardContent";
121
- const y = d(
122
- ({ className: a, ...r }, t) => /* @__PURE__ */ e(
121
+ const y = e(
122
+ ({ className: a, ...r }, t) => /* @__PURE__ */ d(
123
123
  "div",
124
124
  {
125
125
  ref: t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/aura",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./components": {