@harnessio/ui 1.3.11 → 1.3.13
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.
- package/dist/components.d.ts +2 -0
- package/dist/components.js +1 -1
- package/dist/{index-hUsIdJU3.js → index-BlCRFQan.js} +45 -29
- package/dist/{index-hUsIdJU3.js.map → index-BlCRFQan.js.map} +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +23 -29
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +1 -1
package/dist/tailwind.config.js
CHANGED
|
@@ -1379,7 +1379,7 @@ const ce = {
|
|
|
1379
1379
|
opacity: "0"
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
|
-
},
|
|
1382
|
+
}, ue = {
|
|
1383
1383
|
".cn-drawer": {
|
|
1384
1384
|
"&-content": {
|
|
1385
1385
|
userSelect: "auto !important",
|
|
@@ -1784,7 +1784,7 @@ const ce = {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
},
|
|
1787
|
+
}, he = [
|
|
1788
1788
|
"gray",
|
|
1789
1789
|
"green",
|
|
1790
1790
|
"red",
|
|
@@ -1801,7 +1801,7 @@ const ce = {
|
|
|
1801
1801
|
"violet"
|
|
1802
1802
|
], me = () => {
|
|
1803
1803
|
const r = {};
|
|
1804
|
-
return
|
|
1804
|
+
return he.forEach((e) => {
|
|
1805
1805
|
r[`&.cn-dropdown-menu-item-indicator-${e}`] = {
|
|
1806
1806
|
backgroundColor: `var(--cn-set-${e}-solid-bg)`
|
|
1807
1807
|
};
|
|
@@ -2274,7 +2274,7 @@ const Se = {
|
|
|
2274
2274
|
...Ce()
|
|
2275
2275
|
}
|
|
2276
2276
|
}, ze = ["2xs", "xs", "sm", "md", "lg", "xl"], $e = ["xs", "sm", "md", "lg"];
|
|
2277
|
-
function
|
|
2277
|
+
function u(r) {
|
|
2278
2278
|
const e = r === "icon" ? ze : $e, n = r === "symbol" ? "logo" : r, a = {};
|
|
2279
2279
|
return e.forEach((t) => {
|
|
2280
2280
|
const o = {};
|
|
@@ -2283,13 +2283,13 @@ function h(r) {
|
|
|
2283
2283
|
}
|
|
2284
2284
|
const Ie = {
|
|
2285
2285
|
".cn-icon": {
|
|
2286
|
-
...
|
|
2286
|
+
...u("icon")
|
|
2287
2287
|
},
|
|
2288
2288
|
".cn-logo": {
|
|
2289
|
-
...
|
|
2289
|
+
...u("logo")
|
|
2290
2290
|
},
|
|
2291
2291
|
".cn-symbol": {
|
|
2292
|
-
...
|
|
2292
|
+
...u("symbol")
|
|
2293
2293
|
}
|
|
2294
2294
|
}, Re = ["danger", "warning", "success"];
|
|
2295
2295
|
function Te() {
|
|
@@ -2777,12 +2777,12 @@ const Ee = {
|
|
|
2777
2777
|
progressBg: "danger",
|
|
2778
2778
|
color: "text-danger"
|
|
2779
2779
|
}
|
|
2780
|
-
},
|
|
2781
|
-
${
|
|
2780
|
+
}, h = "var(--cn-comp-slider-track-progress-stripes)", Ne = `linear-gradient(45deg,
|
|
2781
|
+
${h} 18.75%,
|
|
2782
2782
|
transparent 18.75%,
|
|
2783
2783
|
transparent 50%,
|
|
2784
|
-
${
|
|
2785
|
-
${
|
|
2784
|
+
${h} 50%,
|
|
2785
|
+
${h} 68.75%,
|
|
2786
2786
|
transparent 68.75%,
|
|
2787
2787
|
transparent)`, Ve = (r) => r === "sm" ? "8px 8px" : r === "lg" ? "32px 32px" : "16px 16px";
|
|
2788
2788
|
function Me() {
|
|
@@ -3878,22 +3878,16 @@ const tr = {
|
|
|
3878
3878
|
// after selection. DualPane still renders Restart in the card title row.
|
|
3879
3879
|
},
|
|
3880
3880
|
".cn-single-pane-stepper-card-stack-inner": {
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
"&::after": {
|
|
3889
|
-
content: "''",
|
|
3890
|
-
display: "block",
|
|
3891
|
-
minHeight: "36vh",
|
|
3892
|
-
flexShrink: "0"
|
|
3893
|
-
}
|
|
3881
|
+
// DualPane keeps 8cqh / 36vh ::before/::after spacers so auto-scroll can
|
|
3882
|
+
// keep the active card in focus. SinglePane is a timeline: contentTitle
|
|
3883
|
+
// lives in this stack and should start at the top, and the last step
|
|
3884
|
+
// should end the scroll content. Do not copy those spacers here.
|
|
3885
|
+
// Vertical padding matches YamlOutput's header (--cn-spacing-3 = 12px) so
|
|
3886
|
+
// contentTitle lines up with the YAML pane title. Sides stay --cn-spacing-6.
|
|
3887
|
+
padding: "var(--cn-spacing-3) var(--cn-spacing-6)"
|
|
3894
3888
|
}
|
|
3895
3889
|
}, pr = ["sm", "md", "lg", "xs"], gr = ["2xs", "xs", "sm", "md", "lg", "xl"], br = ["xs", "sm", "md", "lg"], vr = ["sm"];
|
|
3896
|
-
function
|
|
3890
|
+
function ur() {
|
|
3897
3891
|
const r = {};
|
|
3898
3892
|
return pr.forEach((e) => {
|
|
3899
3893
|
r[`&:where(.cn-skeleton-avatar-${e})`] = {
|
|
@@ -3909,7 +3903,7 @@ function S(r) {
|
|
|
3909
3903
|
t.width = `var(--cn-${r}-size-${a})`, t["min-width"] = `var(--cn-${r}-size-${a})`, t.height = `var(--cn-${r}-size-${a})`, t["min-height"] = `var(--cn-${r}-size-${a})`, n[`&:where(.cn-skeleton-${r}-${a})`] = t;
|
|
3910
3904
|
}), n;
|
|
3911
3905
|
}
|
|
3912
|
-
function
|
|
3906
|
+
function hr() {
|
|
3913
3907
|
const r = {};
|
|
3914
3908
|
return vr.forEach((e) => {
|
|
3915
3909
|
r[`&.cn-skeleton-form-item-${e}`] = {
|
|
@@ -3933,7 +3927,7 @@ const mr = {
|
|
|
3933
3927
|
"&:where(.cn-skeleton-avatar-rounded)": {
|
|
3934
3928
|
borderRadius: "var(--cn-avatar-radius-rounded)"
|
|
3935
3929
|
},
|
|
3936
|
-
...
|
|
3930
|
+
...ur()
|
|
3937
3931
|
},
|
|
3938
3932
|
"&-icon": {
|
|
3939
3933
|
...S("icon")
|
|
@@ -3971,7 +3965,7 @@ const mr = {
|
|
|
3971
3965
|
border: "var(--cn-input-border) solid var(--cn-border-2)",
|
|
3972
3966
|
borderRadius: "var(--cn-input-radius)",
|
|
3973
3967
|
backgroundColor: "var(--cn-comp-input-bg)",
|
|
3974
|
-
...
|
|
3968
|
+
...hr()
|
|
3975
3969
|
}
|
|
3976
3970
|
},
|
|
3977
3971
|
"&-list": {
|
|
@@ -6593,7 +6587,7 @@ const Hr = {
|
|
|
6593
6587
|
Oe,
|
|
6594
6588
|
Ue,
|
|
6595
6589
|
Se,
|
|
6596
|
-
|
|
6590
|
+
ue,
|
|
6597
6591
|
de,
|
|
6598
6592
|
$r,
|
|
6599
6593
|
ve,
|