@caseparts-org/caseblocks 0.0.27 → 0.0.28

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,32 +1,32 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import c from "react";
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import f from "react";
3
3
  import { t as k } from "../../Text.module-smM1g1J4.js";
4
4
  import { c as y } from "../../clsx-OuTLNxxd.js";
5
5
  import { getHideAtStyles as _ } from "../HideAt.js";
6
- import '../../assets/Link.css';const g = "_link_ygp31_1", v = "_disabled_ygp31_14", f = {
6
+ import '../../assets/Link.css';const g = "_link_ygp31_1", v = "_disabled_ygp31_14", m = {
7
7
  link: g,
8
8
  disabled: v
9
- }, p = c.createContext(null);
9
+ }, c = f.createContext(null);
10
10
  function P({
11
11
  component: n,
12
12
  children: e
13
13
  }) {
14
- return /* @__PURE__ */ a(p.Provider, { value: n, children: e });
14
+ return /* @__PURE__ */ i(c.Provider, { value: n, children: e });
15
15
  }
16
16
  function S({
17
17
  href: n,
18
18
  children: e,
19
19
  disabled: t = !1,
20
- hideAt: i,
20
+ hideAt: p,
21
21
  className: u,
22
22
  onClick: r,
23
23
  ...o
24
24
  }) {
25
- const l = c.useContext(p), x = y(
25
+ const a = f.useContext(c), x = y(
26
26
  k["text-body"],
27
- f.link,
28
- t && f.disabled,
29
- _(i),
27
+ m.link,
28
+ t && m.disabled,
29
+ _(p),
30
30
  u
31
31
  );
32
32
  function d(s) {
@@ -36,19 +36,18 @@ function S({
36
36
  }
37
37
  r == null || r(s);
38
38
  }
39
- const m = {
39
+ const l = {
40
40
  ...o,
41
41
  href: t ? "#" : n,
42
42
  className: x,
43
43
  children: e,
44
44
  disabled: t,
45
- hideAt: i,
46
45
  onClick: d,
47
46
  "aria-disabled": t || void 0,
48
47
  tabIndex: t ? -1 : o.tabIndex,
49
48
  role: t ? "link" : o.role
50
49
  };
51
- return l ? /* @__PURE__ */ a(l, { ...m }) : /* @__PURE__ */ a("a", { ...m, children: e });
50
+ return a ? /* @__PURE__ */ i(a, { ...l }) : /* @__PURE__ */ i("a", { ...l, children: e });
52
51
  }
53
52
  export {
54
53
  S as Link,
@@ -1,12 +1,7 @@
1
1
  import { jsxs as Z, jsx as ee } from "react/jsx-runtime";
2
2
  import m, { useEffect as j, useState as te } from "react";
3
3
  import { c as K } from "../../clsx-OuTLNxxd.js";
4
- import '../../assets/Tooltip.css';const re = "_wrapper_ogovb_12", ne = "_tooltip_ogovb_17", ie = "_open_ogovb_30", I = {
5
- wrapper: re,
6
- tooltip: ne,
7
- open: ie
8
- };
9
- var U = { exports: {} }, g = {};
4
+ import '../../assets/Tooltip.css';var U = { exports: {} }, g = {};
10
5
  /**
11
6
  * @license React
12
7
  * react-dom.production.js
@@ -17,7 +12,7 @@ var U = { exports: {} }, g = {};
17
12
  * LICENSE file in the root directory of this source tree.
18
13
  */
19
14
  var Y;
20
- function oe() {
15
+ function re() {
21
16
  if (Y) return g;
22
17
  Y = 1;
23
18
  var s = m;
@@ -160,7 +155,7 @@ var y = {};
160
155
  * LICENSE file in the root directory of this source tree.
161
156
  */
162
157
  var z;
163
- function ae() {
158
+ function ne() {
164
159
  return z || (z = 1, process.env.NODE_ENV !== "production" && function() {
165
160
  function s() {
166
161
  }
@@ -383,9 +378,13 @@ function $() {
383
378
  }
384
379
  }
385
380
  }
386
- process.env.NODE_ENV === "production" ? ($(), U.exports = oe()) : U.exports = ae();
381
+ process.env.NODE_ENV === "production" ? ($(), U.exports = re()) : U.exports = ne();
387
382
  var A = U.exports;
388
- const fe = ({
383
+ const ie = "_wrapper_ogovb_12", oe = "_tooltip_ogovb_17", ae = "_open_ogovb_30", I = {
384
+ wrapper: ie,
385
+ tooltip: oe,
386
+ open: ae
387
+ }, fe = ({
389
388
  trigger: s,
390
389
  children: O,
391
390
  position: a = "top",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.27",
4
+ "version": "0.0.28",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",