@refinn/core-ui 0.1.24 → 0.1.25
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/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2667,11 +2667,11 @@ var SegmentControl = (0, import_react21.forwardRef)(
|
|
|
2667
2667
|
setSelected == null ? void 0 : setSelected(item.value);
|
|
2668
2668
|
onChange == null ? void 0 : onChange(item.value);
|
|
2669
2669
|
},
|
|
2670
|
-
className: "group flex-1 min-w-0 rounded-full
|
|
2670
|
+
className: "group flex-1 min-w-0 rounded-full outline-none cursor-pointer",
|
|
2671
2671
|
children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2672
2672
|
"span",
|
|
2673
2673
|
{
|
|
2674
|
-
className: `flex w-full items-center justify-center rounded-full text-center transition-colors ${itemSizeClasses[size]} ${isSelected ? "bg-segmented-control-background-active text-segmented-control-text-inverse shadow-small group-focus-visible:bg-segmented-control-background-active-focus group-focus-visible:text-segmented-control-text-primary" : "text-segmented-control-text-primary hover:bg-segmented-control-background-hover"}`,
|
|
2674
|
+
className: `flex w-full items-center justify-center rounded-full text-center transition-colors group-focus-visible:outline-2 group-focus-visible:outline-offset-2 group-focus-visible:outline-segmented-control-border-focus ${itemSizeClasses[size]} ${isSelected ? "bg-segmented-control-background-active text-segmented-control-text-inverse shadow-small group-focus-visible:bg-segmented-control-background-active-focus group-focus-visible:text-segmented-control-text-primary" : "text-segmented-control-text-primary hover:bg-segmented-control-background-hover"}`,
|
|
2675
2675
|
children: item.label
|
|
2676
2676
|
}
|
|
2677
2677
|
)
|
package/dist/index.js
CHANGED
|
@@ -2667,11 +2667,11 @@ var SegmentControl = forwardRef21(
|
|
|
2667
2667
|
setSelected == null ? void 0 : setSelected(item.value);
|
|
2668
2668
|
onChange == null ? void 0 : onChange(item.value);
|
|
2669
2669
|
},
|
|
2670
|
-
className: "group flex-1 min-w-0 rounded-full
|
|
2670
|
+
className: "group flex-1 min-w-0 rounded-full outline-none cursor-pointer",
|
|
2671
2671
|
children: /* @__PURE__ */ jsx21(
|
|
2672
2672
|
"span",
|
|
2673
2673
|
{
|
|
2674
|
-
className: `flex w-full items-center justify-center rounded-full text-center transition-colors ${itemSizeClasses[size]} ${isSelected ? "bg-segmented-control-background-active text-segmented-control-text-inverse shadow-small group-focus-visible:bg-segmented-control-background-active-focus group-focus-visible:text-segmented-control-text-primary" : "text-segmented-control-text-primary hover:bg-segmented-control-background-hover"}`,
|
|
2674
|
+
className: `flex w-full items-center justify-center rounded-full text-center transition-colors group-focus-visible:outline-2 group-focus-visible:outline-offset-2 group-focus-visible:outline-segmented-control-border-focus ${itemSizeClasses[size]} ${isSelected ? "bg-segmented-control-background-active text-segmented-control-text-inverse shadow-small group-focus-visible:bg-segmented-control-background-active-focus group-focus-visible:text-segmented-control-text-primary" : "text-segmented-control-text-primary hover:bg-segmented-control-background-hover"}`,
|
|
2675
2675
|
children: item.label
|
|
2676
2676
|
}
|
|
2677
2677
|
)
|