Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added decorator to DatepickerInput component #18064

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

guidari
Copy link
Contributor

@guidari guidari commented Nov 13, 2024

Closes #17991

Added decorator to Datepicker

Changelog

New

  • New decorator prop added to DatepickerInput component

Changed

  • Deprecated slug prop
  • Update rendering slug to render the decorator component but still set the size if it's an AILabel
  • Updated test file
  • Added an block-size to the style to fix the alignment (this fix can be used on components that are inside an input)

Testing / Reviewing

  • Make sure the Datepicker still work as expected and the one with decorator also works fine

  • Delete DatepickerInput with Tooltip

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit d96263c
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/6735469e6db8720008619b32
😎 Deploy Preview https://deploy-preview-18064--v11-carbon-web-components.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 site configuration.

@guidari guidari changed the title feat: added decorator prop and it's styles Added decorator to DatepickerInput component Nov 13, 2024
Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit d96263c
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/6735469e6502030008d4f76d
😎 Deploy Preview https://deploy-preview-18064--carbon-elements.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 site configuration.

Copy link

netlify bot commented Nov 13, 2024

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d96263c
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/6735469ec0560e000806beb0
😎 Deploy Preview https://deploy-preview-18064--v11-carbon-react.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 site configuration.

Copy link

codecov bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.16%. Comparing base (5cf7bff) to head (d96263c).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #18064      +/-   ##
==========================================
+ Coverage   82.10%   82.16%   +0.06%     
==========================================
  Files         404      404              
  Lines       14107    14127      +20     
  Branches     4426     4414      -12     
==========================================
+ Hits        11582    11607      +25     
+ Misses       2363     2358       -5     
  Partials      162      162              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@ariellalgilmore ariellalgilmore left a comment

Choose a reason for hiding this comment

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

Awesome! LGTM!

Copy link
Member

@alisonjoseph alisonjoseph left a comment

Choose a reason for hiding this comment

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

nice!

@alisonjoseph alisonjoseph added this pull request to the merge queue Nov 13, 2024
@alisonjoseph alisonjoseph removed this pull request from the merge queue due to a manual request Nov 13, 2024
Co-authored-by: Alison Joseph <alisonejoseph@Gmail.com>
Copy link
Contributor

@riddhybansal riddhybansal left a comment

Choose a reason for hiding this comment

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

This LGTM

@riddhybansal riddhybansal added this pull request to the merge queue Nov 14, 2024
@riddhybansal riddhybansal removed this pull request from the merge queue due to a manual request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decorator: DatePicker
4 participants