This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0528893ac0e UI: Add hover feedback to Checkbox (#66714)
0528893ac0e is described below

commit 0528893ac0eff06d456a59fa5318f641b6af3bea
Author: hojeong park <[email protected]>
AuthorDate: Wed May 13 04:13:54 2026 +0900

    UI: Add hover feedback to Checkbox (#66714)
    
    * UI: Show pointer cursor for Checkbox
    
    * UI: Remove unnecessary checkbox root cursor props
    
    * UI: Remove checkbox tests
    
    * UI: Inline checkbox cursor props
---
 airflow-core/src/airflow/ui/src/components/ui/Checkbox.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/airflow-core/src/airflow/ui/src/components/ui/Checkbox.tsx 
b/airflow-core/src/airflow/ui/src/components/ui/Checkbox.tsx
index 94bb6e21d5d..1588843131d 100644
--- a/airflow-core/src/airflow/ui/src/components/ui/Checkbox.tsx
+++ b/airflow-core/src/airflow/ui/src/components/ui/Checkbox.tsx
@@ -31,7 +31,9 @@ export const Checkbox = React.forwardRef<HTMLInputElement, 
CheckboxProps>((props
   return (
     <ChakraCheckbox.Root ref={rootRef} {...rest}>
       <ChakraCheckbox.HiddenInput ref={ref} {...inputProps} />
-      <ChakraCheckbox.Control>{icon ?? <ChakraCheckbox.Indicator 
/>}</ChakraCheckbox.Control>
+      <ChakraCheckbox.Control _disabled={{ cursor: "not-allowed" }} 
cursor="pointer">
+        {icon ?? <ChakraCheckbox.Indicator />}
+      </ChakraCheckbox.Control>
       {children !== undefined && 
<ChakraCheckbox.Label>{children}</ChakraCheckbox.Label>}
     </ChakraCheckbox.Root>
   );

Reply via email to