@harnessio/ui 1.5.7 → 1.5.9
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.js +1 -1
- package/dist/{index-D2IxXOnj.js → index-BKNZSSjW.js} +3760 -3770
- package/dist/{index-D2IxXOnj.js.map → index-BKNZSSjW.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind.config.js +8 -3
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +3 -3
package/dist/tailwind.config.js
CHANGED
|
@@ -1823,7 +1823,8 @@ const ce = {
|
|
|
1823
1823
|
zIndex: "50",
|
|
1824
1824
|
minWidth: "var(--cn-dropdown-min-width)",
|
|
1825
1825
|
maxWidth: "var(--cn-size-69)",
|
|
1826
|
-
|
|
1826
|
+
// floor lets Radix flip when this side is short; capped at ~50vh so it always fits the roomier side
|
|
1827
|
+
maxHeight: "max(calc(var(--radix-dropdown-menu-content-available-height) - 4px), min(var(--cn-size-60), calc(50vh - 24px)))",
|
|
1827
1828
|
border: "var(--cn-dropdown-border) solid var(--cn-border-3)",
|
|
1828
1829
|
borderRadius: "var(--cn-dropdown-radius)",
|
|
1829
1830
|
backgroundColor: "var(--cn-bg-3)",
|
|
@@ -1863,9 +1864,11 @@ const ce = {
|
|
|
1863
1864
|
minWidth: "0",
|
|
1864
1865
|
overflow: "hidden",
|
|
1865
1866
|
"&-header": {
|
|
1867
|
+
flexShrink: "0",
|
|
1866
1868
|
borderBottom: "var(--cn-dropdown-border) solid var(--cn-border-3)"
|
|
1867
1869
|
},
|
|
1868
1870
|
"&-footer": {
|
|
1871
|
+
flexShrink: "0",
|
|
1869
1872
|
borderTop: "var(--cn-dropdown-border) solid var(--cn-border-3)"
|
|
1870
1873
|
}
|
|
1871
1874
|
},
|
|
@@ -4115,7 +4118,8 @@ const tn = {
|
|
|
4115
4118
|
},
|
|
4116
4119
|
// Same mute as `.cn-stepper .cn-stepper-step-item:has(.cn-stepper-step-completed)`.
|
|
4117
4120
|
// v2 is not inside `.cn-stepper`, so that rule never reaches these cards.
|
|
4118
|
-
|
|
4121
|
+
// UUI-4361 — selected completed stays full contrast.
|
|
4122
|
+
"&:has(.cn-stepper-step-completed):not(.cn-stepper-step-item-selected)": {
|
|
4119
4123
|
opacity: "0.6",
|
|
4120
4124
|
"&:hover": {
|
|
4121
4125
|
opacity: "1"
|
|
@@ -4749,7 +4753,8 @@ const fn = {
|
|
|
4749
4753
|
// UUI-3726 — `disableCompletedFade` on Root adds `.cn-stepper-disable-completed-fade` so
|
|
4750
4754
|
// completed-flow consumers can skip this mute (full opacity, no hover flash).
|
|
4751
4755
|
".cn-stepper:not(.cn-stepper-disable-completed-fade) .cn-stepper-step-item": {
|
|
4752
|
-
|
|
4756
|
+
// UUI-4361 — selected completed stays full contrast. Mute is "you're past this."
|
|
4757
|
+
"&:has(.cn-stepper-step-completed):not(.cn-stepper-step-item-selected)": {
|
|
4753
4758
|
opacity: "0.6",
|
|
4754
4759
|
"&:hover": {
|
|
4755
4760
|
opacity: "1"
|