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

fix(datepicker): remove component export toggle #11416

Merged

Conversation

tay1orjones
Copy link
Member

@tay1orjones tay1orjones commented May 13, 2022

Closes #11378
Closes #11342

Changelog

Changed

  • updated file location of stories and tests to no longer be in /next

Removed

  • removed DatePicker, DatePickerInput component export toggle and associated/stale files and folders

Testing / Reviewing

  • All datepicker stories should render and function as expected
  • VRT and unit test checks should pass

@tay1orjones tay1orjones requested a review from a team as a code owner May 13, 2022 19:43
@tay1orjones tay1orjones requested review from aledavila and dakahn May 13, 2022 19:43
@netlify
Copy link

netlify bot commented May 13, 2022

Deploy Preview for carbon-components-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit f84f0e8
🔍 Latest deploy log https://app.netlify.com/sites/carbon-components-react/deploys/62829ffcb0be7b00080710bf
😎 Deploy Preview https://deploy-preview-11416--carbon-components-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 settings.

Copy link
Contributor

@aledavila aledavila left a comment

Choose a reason for hiding this comment

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

components render as expected

@netlify
Copy link

netlify bot commented May 13, 2022

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit f84f0e8
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/62829ffcdc328f0008698aef
😎 Deploy Preview https://deploy-preview-11416--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 settings.

@kodiakhq kodiakhq bot merged commit 84b57db into carbon-design-system:main May 16, 2022
kennylam pushed a commit to kennylam/carbon that referenced this pull request Jul 30, 2024
…design-system#11416)

### Related Ticket(s)

Closes carbon-design-system#11178 carbon-design-system#11481

### Description

Sorting and Expansion option works individually, but sorting is not working when used along with expansion option in Data Table. 
Checking for `is-sortable` attribute during initial load seems to fix this issue.

Selection option is enabled for Data table by default without adding the is-selectable attribute to the table element.

### Changelog

**New**

- A function to handle the sorting action is added.

**Changed**

- `is-sortable` attribute was being checked only for changeAttribute cases, this is updated to check on initial load too. 
- Added a condition to check if is-selectable attribute is added to the Data table component

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants