Skip to content

feat(input): update input styles for SHINE - #2070

Merged
mukunku merged 24 commits into
betafrom
sal/SPARK-68
Dec 2, 2025
Merged

feat(input): update input styles for SHINE#2070
mukunku merged 24 commits into
betafrom
sal/SPARK-68

Conversation

@mukunku

@mukunku mukunku commented Nov 25, 2025

Copy link
Copy Markdown
Collaborator

Summary

This PR makes some small tweaks to update input components to match the new designs.

I also took a look at the expanding input svelte component and it didn't look like it needed any changes to me. I tried adding more size variations but ended up deciding it wasn't worth it.

Webkit Overrides

I removed all the webkit specific css overrides as in my testing they don't seem to be needed anymore on modern IOS Safari. I tested it on my Iphone 14 using the PR environment; screenshots are below.

Iphone 14 Test Screenshots📱

Before Screenshots

After Screenshots

Breaking changes

Following sizes have been removed:

  • s-input__md
  • s-input__xl
  • Nested inputs html will require slight tweaking on consumers' side

Out of Scope

Text Area is out of scope for this PR. I have a separate PR for it here: #2077

How to Test

Take a look the Input styles in Stacks Docs and Stacks Svelte:

@changeset-bot

changeset-bot Bot commented Nov 25, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 529c431

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify

netlify Bot commented Nov 25, 2025

Copy link
Copy Markdown

Deploy Preview for stacks-svelte ready!

Name Link
🔨 Latest commit 529c431
🔍 Latest deploy log https://app.netlify.com/projects/stacks-svelte/deploys/692efe431ff11500083a196a
😎 Deploy Preview https://deploy-preview-2070--stacks-svelte.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Nov 25, 2025

Copy link
Copy Markdown

Deploy Preview for stacks ready!

Name Link
🔨 Latest commit 529c431
🔍 Latest deploy log https://app.netlify.com/projects/stacks/deploys/692efe43a4ce4b000804a46d
😎 Deploy Preview https://deploy-preview-2070--stacks.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mukunku
mukunku marked this pull request as ready for review November 26, 2025 20:29

@dancormier dancormier left a comment

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.

Looks good! 😎 Thanks @mukunku

@dancormier dancormier left a comment

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.

@mukunku I was reminded of a couple of minor updates we should make while reviewing the textarea PR. Once these changes are made, you should be all good to merge:

  • Remove optional, i18nOptionalText props from Svelte component
    • @giamir confirming: we don't need these props anymore since we have similar required props, right?
  • Add "new": true for Inputs in navigation.json

@mukunku
mukunku dismissed dancormier’s stale review December 2, 2025 15:14

feedback has been implemented

@mukunku
mukunku merged commit 55f3a17 into beta Dec 2, 2025
18 checks passed
@mukunku
mukunku deleted the sal/SPARK-68 branch December 2, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants