@harnessio/ui 1.3.35 → 1.3.36
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 +19 -2
- package/dist/components.js +1 -1
- package/dist/{index-C80kaiT7.js → index-ChuI9KgU.js} +4143 -4042
- package/dist/{index-C80kaiT7.js.map → index-ChuI9KgU.js.map} +1 -1
- package/dist/index.d.ts +19 -2
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +81 -12
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +2 -2
package/dist/tailwind.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as D, t as
|
|
1
|
+
import { p as D, t as A } from "./tailwind-design-system-Bf0xfVaG.js";
|
|
2
2
|
import { F as L, C as g } from "./form-constants-CdD106iI.js";
|
|
3
|
-
const
|
|
3
|
+
const j = {
|
|
4
4
|
".cn-accordion": {
|
|
5
5
|
display: "flex",
|
|
6
6
|
flexDirection: "column",
|
|
@@ -2568,10 +2568,10 @@ const Te = {
|
|
|
2568
2568
|
transition: "all 0.15s"
|
|
2569
2569
|
}
|
|
2570
2570
|
}
|
|
2571
|
-
},
|
|
2572
|
-
function
|
|
2571
|
+
}, Ae = ["danger", "warning"];
|
|
2572
|
+
function je() {
|
|
2573
2573
|
const r = {};
|
|
2574
|
-
return
|
|
2574
|
+
return Ae.forEach((e) => {
|
|
2575
2575
|
r[`&:where(.cn-multi-select-${e}):not(:has(input[disabled]))`] = {
|
|
2576
2576
|
borderColor: `var(--cn-border-${e})`,
|
|
2577
2577
|
boxShadow: `var(--cn-ring-${e})`,
|
|
@@ -2606,7 +2606,7 @@ const Ee = {
|
|
|
2606
2606
|
"&:where(:hover):not(:has(input[disabled]))": {
|
|
2607
2607
|
borderColor: "var(--cn-border-brand)"
|
|
2608
2608
|
},
|
|
2609
|
-
...
|
|
2609
|
+
...je()
|
|
2610
2610
|
},
|
|
2611
2611
|
"&-tag-wrapper": {
|
|
2612
2612
|
"@apply relative flex flex-wrap items-center gap-cn-xs": ""
|
|
@@ -5722,6 +5722,26 @@ const mr = {
|
|
|
5722
5722
|
"@apply min-w-0 overflow-x-hidden": ""
|
|
5723
5723
|
}
|
|
5724
5724
|
},
|
|
5725
|
+
"&-overlay-host": {
|
|
5726
|
+
position: "relative",
|
|
5727
|
+
display: "grid",
|
|
5728
|
+
width: "max-content",
|
|
5729
|
+
minWidth: "100%",
|
|
5730
|
+
isolation: "isolate",
|
|
5731
|
+
"& > .cn-table-v2-element": {
|
|
5732
|
+
gridArea: "1 / 1"
|
|
5733
|
+
}
|
|
5734
|
+
},
|
|
5735
|
+
"&-column-resize-indicator": {
|
|
5736
|
+
gridArea: "1 / 1",
|
|
5737
|
+
justifySelf: "start",
|
|
5738
|
+
alignSelf: "start",
|
|
5739
|
+
zIndex: "20",
|
|
5740
|
+
width: "2px",
|
|
5741
|
+
height: "var(--cn-table-header-min)",
|
|
5742
|
+
pointerEvents: "none",
|
|
5743
|
+
backgroundColor: "var(--cn-border-brand)"
|
|
5744
|
+
},
|
|
5725
5745
|
// Variants
|
|
5726
5746
|
"&:where(.cn-table-v2-normal)": {
|
|
5727
5747
|
"@apply caption-bottom": "",
|
|
@@ -5866,6 +5886,55 @@ const mr = {
|
|
|
5866
5886
|
left: "calc(-1 * var(--cn-table-header-px))",
|
|
5867
5887
|
height: "100%"
|
|
5868
5888
|
},
|
|
5889
|
+
"&-head-resizable": {
|
|
5890
|
+
position: "relative",
|
|
5891
|
+
// The next header cell paints over this cell's right edge. Lift the
|
|
5892
|
+
// hovered cell so its boundary affordance remains visible.
|
|
5893
|
+
"&:hover": {
|
|
5894
|
+
overflow: "visible",
|
|
5895
|
+
zIndex: "8 !important"
|
|
5896
|
+
}
|
|
5897
|
+
},
|
|
5898
|
+
"&-column-resizer": {
|
|
5899
|
+
position: "absolute",
|
|
5900
|
+
top: "0",
|
|
5901
|
+
right: "0",
|
|
5902
|
+
zIndex: "2",
|
|
5903
|
+
width: "8px",
|
|
5904
|
+
height: "100%",
|
|
5905
|
+
margin: "0",
|
|
5906
|
+
padding: "0",
|
|
5907
|
+
border: "0",
|
|
5908
|
+
appearance: "none",
|
|
5909
|
+
background: "transparent",
|
|
5910
|
+
cursor: "col-resize",
|
|
5911
|
+
userSelect: "none",
|
|
5912
|
+
touchAction: "none",
|
|
5913
|
+
outline: "none",
|
|
5914
|
+
"&::after": {
|
|
5915
|
+
content: '""',
|
|
5916
|
+
position: "absolute",
|
|
5917
|
+
top: "0",
|
|
5918
|
+
right: "0",
|
|
5919
|
+
width: "1px",
|
|
5920
|
+
height: "100%",
|
|
5921
|
+
backgroundColor: "transparent"
|
|
5922
|
+
},
|
|
5923
|
+
"&:hover::after": {
|
|
5924
|
+
backgroundColor: "var(--cn-border-3)",
|
|
5925
|
+
width: "2px"
|
|
5926
|
+
},
|
|
5927
|
+
"&:focus-visible::after": {
|
|
5928
|
+
backgroundColor: "var(--cn-border-brand)",
|
|
5929
|
+
width: "2px"
|
|
5930
|
+
},
|
|
5931
|
+
// The table-level overlay is the only drag indicator. Suppress this
|
|
5932
|
+
// in-cell line while dragging so auto-layout tables do not show both.
|
|
5933
|
+
"&:where([data-resizing=true])::after": {
|
|
5934
|
+
backgroundColor: "transparent",
|
|
5935
|
+
width: "1px"
|
|
5936
|
+
}
|
|
5937
|
+
},
|
|
5869
5938
|
// Data cell
|
|
5870
5939
|
"&-cell": {
|
|
5871
5940
|
"--cn-table-pinned-base": "var(--cn-bg-1)",
|
|
@@ -6429,7 +6498,7 @@ const Hr = {
|
|
|
6429
6498
|
"@apply grid grid-cols-[auto_1fr_auto] items-center whitespace-nowrap": ""
|
|
6430
6499
|
}
|
|
6431
6500
|
}
|
|
6432
|
-
},
|
|
6501
|
+
}, Ar = {
|
|
6433
6502
|
".cn-time-input": {
|
|
6434
6503
|
// Hide the native time picker indicator across browsers so the
|
|
6435
6504
|
// configurable IconV2 icon is the only affordance shown.
|
|
@@ -6441,7 +6510,7 @@ const Hr = {
|
|
|
6441
6510
|
"-webkit-appearance": "none"
|
|
6442
6511
|
}
|
|
6443
6512
|
}
|
|
6444
|
-
},
|
|
6513
|
+
}, jr = {
|
|
6445
6514
|
".cn-toast-wrapper": {
|
|
6446
6515
|
right: "var(--cn-toast-offset-right)",
|
|
6447
6516
|
bottom: "var(--cn-toast-offset-bottom)",
|
|
@@ -6671,7 +6740,7 @@ const Hr = {
|
|
|
6671
6740
|
overflow: "hidden"
|
|
6672
6741
|
}
|
|
6673
6742
|
}, Fr = [
|
|
6674
|
-
|
|
6743
|
+
j,
|
|
6675
6744
|
F,
|
|
6676
6745
|
_,
|
|
6677
6746
|
Q,
|
|
@@ -6697,7 +6766,7 @@ const Hr = {
|
|
|
6697
6766
|
er,
|
|
6698
6767
|
_e,
|
|
6699
6768
|
Xr,
|
|
6700
|
-
|
|
6769
|
+
jr,
|
|
6701
6770
|
sr,
|
|
6702
6771
|
Z,
|
|
6703
6772
|
Ie,
|
|
@@ -6732,7 +6801,7 @@ const Hr = {
|
|
|
6732
6801
|
Te,
|
|
6733
6802
|
se,
|
|
6734
6803
|
Ee,
|
|
6735
|
-
|
|
6804
|
+
Ar,
|
|
6736
6805
|
zr
|
|
6737
6806
|
], Nr = {
|
|
6738
6807
|
content: [],
|
|
@@ -6742,7 +6811,7 @@ const Hr = {
|
|
|
6742
6811
|
})
|
|
6743
6812
|
]
|
|
6744
6813
|
}, Ur = {
|
|
6745
|
-
presets: [Nr,
|
|
6814
|
+
presets: [Nr, A],
|
|
6746
6815
|
content: ["./src/**/*.{ts,tsx}"]
|
|
6747
6816
|
};
|
|
6748
6817
|
export {
|