Skip to content

feat: Select theming#733

Merged
hcopp merged 17 commits into
masterfrom
hunter/select-input-theming-props
Jun 8, 2026
Merged

feat: Select theming#733
hcopp merged 17 commits into
masterfrom
hunter/select-input-theming-props

Conversation

@hcopp

@hcopp hcopp commented May 28, 2026

Copy link
Copy Markdown
Contributor

What changed? Why?

This PR adds support for several select theming features, including readOnly support.

UI changes

iOS Old iOS New
Web Old Web New
image image

Testing

How has it been tested?

  • Unit tests
  • Interaction tests
  • Pseudo State tests
  • Manual - Web
  • Manual - Android (Emulator / Device)
  • Manual - iOS (Emulator / Device)

Illustrations/Icons Checklist

Required if this PR changes files under packages/illustrations/** or packages/icons/**

  • verified visreg changes with Terran (include link to visreg run/approval)
  • all illustration/icons names have been reviewed by Dom and/or Terran

Change management

type=routine
risk=low
impact=sev5

automerge=false

@cb-heimdall

cb-heimdall commented May 28, 2026

Copy link
Copy Markdown
Collaborator

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 1
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1
CODEOWNERS ✅ See below

CODEOWNERS

Code Owner Status Calculation
ui-systems-eng-team 1/1
Denominator calculation
Additional CODEOWNERS Requirement
Show calculation
Sum 0
0
From CODEOWNERS 1
Sum 1

@hcopp hcopp changed the title Hunter/select input theming props feat: Select theming May 28, 2026
labelVariant={labelVariant}
onBlur={onBlur}
onFocus={onFocus}
style={style}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were missing this

hcopp and others added 5 commits May 28, 2026 14:30
Resolve changelog and version conflicts: keep 9.2.0 for Select theming
and include master 9.1.3 entries (StickyFooter fix, version sync).

Co-authored-by: Cursor <cursoragent@cursor.com>
@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

@hcopp hcopp self-assigned this May 28, 2026
rotate={open ? 0 : 180}
/>
)}
{customEndNode ? customEndNode : <AnimatedCaret color="fg" rotate={open ? 0 : 180} />}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized our carets are supposed to be fg at all times

https://www.figma.com/design/k5CtyJccNQUGMI5bI4lJ2g/%E2%9C%A8-CDS-Components?node-id=71762-14938&m=dev

Image

This is true even when disabled, solely relying on the lower opacity to "dim" the caret

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find!

@hcopp hcopp marked this pull request as ready for review May 28, 2026 21:37
cb-ekuersch
cb-ekuersch previously approved these changes Jun 8, 2026
bordered = true,
borderWidth = bordered ? 100 : 0,
focusedBorderWidth = bordered ? undefined : 200,
inputBackground = !disabled && readOnly ? 'bgSecondary' : 'bg',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do you think we should document this behavior when there is business logic/computation involved in the default behavior? Perhaps a brief mention in the jcdocs

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call, let me update JSDocs

rotate={open ? 0 : 180}
/>
)}
{customEndNode ? customEndNode : <AnimatedCaret color="fg" rotate={open ? 0 : 180} />}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find!

@hcopp hcopp requested a review from cb-ekuersch June 8, 2026 15:02
@hcopp hcopp merged commit 6071772 into master Jun 8, 2026
37 of 38 checks passed
@hcopp hcopp deleted the hunter/select-input-theming-props branch June 8, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants