@caseparts-org/caseblocks 0.0.219 → 0.0.221

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 +1 @@
1
- ._badge_1b53d_1{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:var(--spacing-spacing-4xs);max-width:70%;overflow:hidden;padding:var(--spacing-spacing-3xs) var(--spacing-spacing-2xs);border-radius:0 0 0 12px;background-color:var(--text-text-secondary);text-align:center;text-decoration:none;white-space:nowrap}@media (max-width: 768px){._badge_1b53d_1{padding:var(--spacing-spacing-3xs);border-radius:0 0 0 10px}}._inherit_1b53d_24{background-color:inherit}._warning_1b53d_28{background-color:var(--text-text-caution)}._disabled_1b53d_32{background-color:var(--text-text-disabled)}._error-warning_1b53d_36{background-color:var(--text-text-error-warning)}._default-inverted_1b53d_40{background-color:var(--text-text-invert)}._links_1b53d_44{background-color:var(--text-text-links)}._links-hover-press_1b53d_48{background-color:var(--text-text-links-hover-press)}._primary_1b53d_52{background-color:var(--text-text-primary)}._quaternary_1b53d_56{background-color:var(--text-text-quaternary)}._search-bar_1b53d_60{background-color:var(--text-text-search-bar)}._secondary_1b53d_64{background-color:var(--text-text-secondary)}._success_1b53d_68{background-color:var(--text-text-success)}._tertiary_1b53d_72{background-color:var(--text-text-tertiary)}._footer_1b53d_76{background-color:var(--text-text-footer)}._text_1b53d_80{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-xs);line-height:var(--font-line-height-xs)}@media (max-width: 768px){._text_1b53d_80{font-size:var(--font-size-xxs);line-height:var(--font-line-height-xxs)}}
1
+ ._badge_h5l68_1{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:var(--spacing-spacing-4xs);max-width:70%;overflow:hidden;padding:var(--spacing-spacing-2xs) var(--spacing-spacing-2xs);border-radius:0 0 0 12px;background-color:var(--text-text-secondary);opacity:.8;text-align:center;font-style:italic;text-decoration:none;white-space:nowrap;transition:background-color .2s ease-in}@media (max-width: 768px){._badge_h5l68_1{padding:var(--spacing-spacing-3xs) var(--spacing-spacing-2xs);border-radius:0 0 0 10px}}._badge_h5l68_1:hover{background-color:var(--color-alerts-warning)}._inherit_h5l68_31{background-color:inherit}._warning_h5l68_35{background-color:var(--text-text-caution)}._disabled_h5l68_39{background-color:var(--text-text-disabled)}._error-warning_h5l68_43{background-color:var(--text-text-error-warning)}._default-inverted_h5l68_47{background-color:var(--text-text-invert)}._links_h5l68_51{background-color:var(--text-text-links)}._links-hover-press_h5l68_55{background-color:var(--text-text-links-hover-press)}._primary_h5l68_59{background-color:var(--text-text-primary)}._quaternary_h5l68_63{background-color:var(--text-text-quaternary)}._search-bar_h5l68_67{background-color:var(--text-text-search-bar)}._secondary_h5l68_71{background-color:var(--text-text-secondary)}._success_h5l68_75{background-color:var(--text-text-success)}._tertiary_h5l68_79{background-color:var(--text-text-tertiary)}._footer_h5l68_83{background-color:var(--text-text-footer)}._text_h5l68_87{text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-xs);line-height:var(--font-line-height-xs)}@media (max-width: 768px){._text_h5l68_87{font-size:var(--font-size-xxs);line-height:var(--font-line-height-xxs)}}
@@ -1,22 +1,22 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import { c as t } from "../../clsx-OuTLNxxd.js";
3
- import { Link as d } from "../../atoms/Link/Link.js";
4
- import { Text as i } from "../../atoms/Text/Text.js";
5
- import '../../assets/CustomWizardBadge.css';const c = "_badge_1b53d_1", b = "_inherit_1b53d_24", l = "_warning_1b53d_28", u = "_disabled_1b53d_32", m = "_links_1b53d_44", y = "_primary_1b53d_52", g = "_quaternary_1b53d_56", f = "_secondary_1b53d_64", h = "_success_1b53d_68", p = "_tertiary_1b53d_72", x = "_footer_1b53d_76", k = "_text_1b53d_80", r = {
3
+ import { Link as i } from "../../atoms/Link/Link.js";
4
+ import { Text as l } from "../../atoms/Text/Text.js";
5
+ import '../../assets/CustomWizardBadge.css';const c = "_badge_h5l68_1", h = "_inherit_h5l68_31", d = "_warning_h5l68_35", u = "_disabled_h5l68_39", m = "_links_h5l68_51", y = "_primary_h5l68_59", g = "_quaternary_h5l68_63", f = "_secondary_h5l68_71", p = "_success_h5l68_75", b = "_tertiary_h5l68_79", x = "_footer_h5l68_83", k = "_text_h5l68_87", r = {
6
6
  badge: c,
7
- inherit: b,
8
- warning: l,
7
+ inherit: h,
8
+ warning: d,
9
9
  disabled: u,
10
- "error-warning": "_error-warning_1b53d_36",
11
- "default-inverted": "_default-inverted_1b53d_40",
10
+ "error-warning": "_error-warning_h5l68_43",
11
+ "default-inverted": "_default-inverted_h5l68_47",
12
12
  links: m,
13
- "links-hover-press": "_links-hover-press_1b53d_48",
13
+ "links-hover-press": "_links-hover-press_h5l68_55",
14
14
  primary: y,
15
15
  quaternary: g,
16
- "search-bar": "_search-bar_1b53d_60",
16
+ "search-bar": "_search-bar_h5l68_67",
17
17
  secondary: f,
18
- success: h,
19
- tertiary: p,
18
+ success: p,
19
+ tertiary: b,
20
20
  footer: x,
21
21
  text: k
22
22
  };
@@ -27,8 +27,8 @@ function C({
27
27
  className: a,
28
28
  textClassName: o
29
29
  }) {
30
- return /* @__PURE__ */ e(d, { href: s, unstyled: !0, className: t(r.badge, r[_], a), children: /* @__PURE__ */ e(
31
- i,
30
+ return /* @__PURE__ */ e(i, { href: s, unstyled: !0, className: t(r.badge, r[_], a), children: /* @__PURE__ */ e(
31
+ l,
32
32
  {
33
33
  size: "xs",
34
34
  weight: "regular",
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as l } from "react/jsx-runtime";
2
- import { Text as _ } from "../../atoms/Text/Text.js";
2
+ import { Text as m } from "../../atoms/Text/Text.js";
3
3
  import { c as f } from "../../clsx-OuTLNxxd.js";
4
4
  import '../../assets/ProgressBar.css';const g = "_track_w0n30_25", v = "_completed_w0n30_59", x = "_inProgress_w0n30_69", B = "_completedFull_w0n30_81", N = "_labels_w0n30_91", k = "_labelContainer_w0n30_105", r = {
5
5
  "progressBar-section": "_progressBar-section_w0n30_1",
@@ -16,7 +16,7 @@ function z({
16
16
  completedValue: s,
17
17
  inProgressValue: e,
18
18
  totalValue: i,
19
- totalLabel: d,
19
+ totalLabel: _,
20
20
  completedLabel: p,
21
21
  inProgressLabel: h,
22
22
  variant: a,
@@ -36,21 +36,21 @@ function z({
36
36
  children: [
37
37
  a === "section" && /* @__PURE__ */ n("div", { className: r.labels, children: [
38
38
  /* @__PURE__ */ l(
39
- m,
39
+ d,
40
40
  {
41
- label: d,
41
+ label: _,
42
42
  value: i
43
43
  }
44
44
  ),
45
45
  /* @__PURE__ */ l(
46
- m,
46
+ d,
47
47
  {
48
48
  label: p,
49
49
  value: s
50
50
  }
51
51
  ),
52
52
  /* @__PURE__ */ l(
53
- m,
53
+ d,
54
54
  {
55
55
  label: h,
56
56
  value: e
@@ -61,7 +61,7 @@ function z({
61
61
  /* @__PURE__ */ l("div", { className: r.completed, style: { width: `${c}%` } }),
62
62
  a === "section" && e !== void 0 && e !== 0 && s < 100 && /* @__PURE__ */ l("div", { className: r.inProgress, style: { width: `${t}%` } })
63
63
  ] }),
64
- a === "cell" && /* @__PURE__ */ n(_, { weight: "semibold", size: "xs", children: [
64
+ a === "cell" && /* @__PURE__ */ n(m, { weight: "semibold", size: "xs", children: [
65
65
  s,
66
66
  "%"
67
67
  ] })
@@ -69,13 +69,13 @@ function z({
69
69
  }
70
70
  );
71
71
  }
72
- function m({ isVisible: o = !0, label: s, value: e }) {
73
- return !o || !s || !e ? null : /* @__PURE__ */ n("div", { className: r.labelContainer, children: [
74
- /* @__PURE__ */ n(_, { size: "sm", colorToken: "quaternary", children: [
72
+ function d({ isVisible: o = !0, label: s, value: e }) {
73
+ return !o || !s || e === void 0 || e === null ? null : /* @__PURE__ */ n("div", { className: r.labelContainer, children: [
74
+ /* @__PURE__ */ n(m, { size: "sm", colorToken: "quaternary", children: [
75
75
  s,
76
76
  ":"
77
77
  ] }),
78
- /* @__PURE__ */ l(_, { weight: "semibold", size: "sm", children: e })
78
+ /* @__PURE__ */ l(m, { weight: "semibold", size: "sm", children: e })
79
79
  ] });
80
80
  }
81
81
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.219",
4
+ "version": "0.0.221",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",