@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
|
-
.
|
|
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
|
|
4
|
-
import { Text as
|
|
5
|
-
import '../../assets/CustomWizardBadge.css';const c = "
|
|
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:
|
|
8
|
-
warning:
|
|
7
|
+
inherit: h,
|
|
8
|
+
warning: d,
|
|
9
9
|
disabled: u,
|
|
10
|
-
"error-warning": "_error-
|
|
11
|
-
"default-inverted": "_default-
|
|
10
|
+
"error-warning": "_error-warning_h5l68_43",
|
|
11
|
+
"default-inverted": "_default-inverted_h5l68_47",
|
|
12
12
|
links: m,
|
|
13
|
-
"links-hover-press": "_links-hover-
|
|
13
|
+
"links-hover-press": "_links-hover-press_h5l68_55",
|
|
14
14
|
primary: y,
|
|
15
15
|
quaternary: g,
|
|
16
|
-
"search-bar": "_search-
|
|
16
|
+
"search-bar": "_search-bar_h5l68_67",
|
|
17
17
|
secondary: f,
|
|
18
|
-
success:
|
|
19
|
-
tertiary:
|
|
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(
|
|
31
|
-
|
|
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
|
|
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:
|
|
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
|
-
|
|
39
|
+
d,
|
|
40
40
|
{
|
|
41
|
-
label:
|
|
41
|
+
label: _,
|
|
42
42
|
value: i
|
|
43
43
|
}
|
|
44
44
|
),
|
|
45
45
|
/* @__PURE__ */ l(
|
|
46
|
-
|
|
46
|
+
d,
|
|
47
47
|
{
|
|
48
48
|
label: p,
|
|
49
49
|
value: s
|
|
50
50
|
}
|
|
51
51
|
),
|
|
52
52
|
/* @__PURE__ */ l(
|
|
53
|
-
|
|
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(
|
|
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
|
|
73
|
-
return !o || !s ||
|
|
74
|
-
/* @__PURE__ */ n(
|
|
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(
|
|
78
|
+
/* @__PURE__ */ l(m, { weight: "semibold", size: "sm", children: e })
|
|
79
79
|
] });
|
|
80
80
|
}
|
|
81
81
|
export {
|