@harnessio/ui 1.3.47 → 1.3.48
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/styles.css +2 -2
- package/dist/tailwind.config.js +20 -6
- package/dist/tailwind.config.js.map +1 -1
- package/package.json +3 -3
package/dist/tailwind.config.js
CHANGED
|
@@ -1894,8 +1894,22 @@ const ce = {
|
|
|
1894
1894
|
"&:not(:where([aria-disabled=true]))": {
|
|
1895
1895
|
'&:where([data-highlighted]), &:where([data-state="open"])': {
|
|
1896
1896
|
backgroundColor: "var(--cn-state-hover)",
|
|
1897
|
-
outline: "var(--cn-focus)",
|
|
1898
1897
|
cursor: "default",
|
|
1898
|
+
// Radix programmatically focuses the item (a tabindex=-1 div) on pointer move,
|
|
1899
|
+
// so the browser's default focus outline — or a :focus-visible outline inherited
|
|
1900
|
+
// from opening the menu via keyboard — can paint a ring on plain mouse hover.
|
|
1901
|
+
// Suppress it here for every highlighted/open item; the keyboard-only rule below
|
|
1902
|
+
// re-adds our ring when the pointer isn't over the item.
|
|
1903
|
+
outline: "none"
|
|
1904
|
+
},
|
|
1905
|
+
// Ring only for keyboard navigation. We key off Radix's own [data-highlighted]
|
|
1906
|
+
// (set reliably for both mouse and keyboard) and show the ring only when the
|
|
1907
|
+
// pointer is NOT over the item (:not(:hover)). Keyboard nav leaves the pointer
|
|
1908
|
+
// elsewhere, so the ring shows there; mouse hover gets only the background overlay.
|
|
1909
|
+
// Same specificity as the rule above but later in source order, so it wins for
|
|
1910
|
+
// keyboard nav while the outline:none above still governs mouse hover.
|
|
1911
|
+
"&:where([data-highlighted]):not(:where(:hover))": {
|
|
1912
|
+
outline: "var(--cn-focus)",
|
|
1899
1913
|
"@apply outline-offset-cn-tight": ""
|
|
1900
1914
|
}
|
|
1901
1915
|
},
|
|
@@ -2392,7 +2406,7 @@ const Te = {
|
|
|
2392
2406
|
"&-container": {
|
|
2393
2407
|
color: "var(--cn-text-1)",
|
|
2394
2408
|
height: "var(--cn-input-size-md)",
|
|
2395
|
-
border: "var(--cn-input-border) solid var(--cn-border-
|
|
2409
|
+
border: "var(--cn-input-border) solid var(--cn-border-3)",
|
|
2396
2410
|
borderRadius: "var(--cn-input-radius)",
|
|
2397
2411
|
backgroundColor: "var(--cn-comp-input-bg)",
|
|
2398
2412
|
"@apply w-full font-body-normal p-0 flex items-center transition-[color,box-shadow,border-color]": "",
|
|
@@ -2609,7 +2623,7 @@ const Ee = {
|
|
|
2609
2623
|
"&-container": {
|
|
2610
2624
|
color: "var(--cn-text-1)",
|
|
2611
2625
|
minHeight: "var(--cn-input-size-md)",
|
|
2612
|
-
border: "var(--cn-input-border) solid var(--cn-border-
|
|
2626
|
+
border: "var(--cn-input-border) solid var(--cn-border-3)",
|
|
2613
2627
|
borderRadius: "var(--cn-input-radius)",
|
|
2614
2628
|
backgroundColor: "var(--cn-comp-input-bg)",
|
|
2615
2629
|
"@apply w-full font-body-normal transition-[color,box-shadow,border-color] px-cn-sm py-cn-xs": "",
|
|
@@ -3287,7 +3301,7 @@ const tr = {
|
|
|
3287
3301
|
alignItems: "center",
|
|
3288
3302
|
borderRadius: "var(--cn-input-radius)",
|
|
3289
3303
|
height: "var(--cn-input-size-md)",
|
|
3290
|
-
border: "var(--cn-input-border) solid var(--cn-border-
|
|
3304
|
+
border: "var(--cn-input-border) solid var(--cn-border-3)",
|
|
3291
3305
|
backgroundColor: "var(--cn-comp-input-bg)",
|
|
3292
3306
|
color: "var(--cn-text-1)",
|
|
3293
3307
|
textAlign: "start",
|
|
@@ -6159,7 +6173,7 @@ const mr = {
|
|
|
6159
6173
|
width: "fit-content",
|
|
6160
6174
|
padding: "var(--cn-tabs-container)",
|
|
6161
6175
|
borderRadius: "var(--cn-tabs-container-radius)",
|
|
6162
|
-
border: "var(--cn-tabs-container-border) solid var(--cn-border-
|
|
6176
|
+
border: "var(--cn-tabs-container-border) solid var(--cn-border-3)",
|
|
6163
6177
|
backgroundColor: "var(--cn-bg-2)",
|
|
6164
6178
|
"@apply font-body-normal": ""
|
|
6165
6179
|
},
|
|
@@ -6436,7 +6450,7 @@ const Hr = {
|
|
|
6436
6450
|
borderRadius: "var(--cn-input-radius)",
|
|
6437
6451
|
padding: "var(--cn-input-md-py) var(--cn-input-md-pr) var(--cn-input-md-py) var(--cn-input-md-pl)",
|
|
6438
6452
|
minHeight: "var(--cn-input-text-area-min-height)",
|
|
6439
|
-
border: "var(--cn-input-border) solid var(--cn-border-
|
|
6453
|
+
border: "var(--cn-input-border) solid var(--cn-border-3)",
|
|
6440
6454
|
backgroundColor: "var(--cn-comp-input-bg)",
|
|
6441
6455
|
"@apply font-body-normal": "",
|
|
6442
6456
|
color: "var(--cn-text-1)",
|