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: issue on dependencies auro--select for matchWidth for the value to much long #217

Merged
merged 5 commits into from
Mar 5, 2024

Conversation

irma-kurnia-alaska
Copy link
Contributor

@irma-kurnia-alaska irma-kurnia-alaska commented Feb 2, 2024

Alaska Airlines Pull Request

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Resolves: Demo for flexible width containers #101

Summary:

  • Set the triggerContentWrapper css to have truncated ui
  • set label css have white-space: nowrap (handle when the label have more text)

I attached the screenshot in my local base the modified:
sfdfd

Type of change:

Please delete options that are not relevant.

  • New capability
  • Revision of an existing capability
  • Infrastructure change (automation, etc.)
  • Other (please elaborate)

Checklist:

  • My update follows the CONTRIBUTING guidelines of this project
  • I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.

Thank you for your submission!

-- Auro Design System Team

package.json Outdated Show resolved Hide resolved
Copy link
Member

@blackfalcon blackfalcon left a comment

Choose a reason for hiding this comment

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

Please add an example of this feature in the demo or apiExamples.

Copy link
Member

@jason-capsule42 jason-capsule42 left a comment

Choose a reason for hiding this comment

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

See comments and also rebase the branch.

Comment on lines +5 to +7
import { fileURLToPath } from 'url';

const __dirname = new URL('.', import.meta.url).pathname;
const __dirname = fileURLToPath(new URL('.', import.meta.url));
Copy link
Member

Choose a reason for hiding this comment

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

This file is coming from a template that all components use and individual components should not diverge.

Is there a case why this change is necessary for this issue?

Copy link
Contributor

Choose a reason for hiding this comment

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

@jason-capsule42, in my case, it doesn't work on my machine.
I have something like home/fajar/Git Project/auro-dropdown local path. When I ran the old script, it returns home/fajar/Git%20Project/auro-dropdown and somehow it couldn't find the path it refer to.

image

I already asked Dale about this as well, He said it is fine to change that.

Reference: AlaskaAirlines/auro-radio@2fcaa20

Copy link
Member

Choose a reason for hiding this comment

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

Let't not make this change as a one off just to this component repo. @jordanjones243 @blackfalcon what do you think about this proposed change to the script. Is this something you think makes sense to change to all the generateDocs.js files in all components?

docs/partials/index.md Outdated Show resolved Hide resolved
…ext to much long

Change to be committed:
modified: package.json
modified: src/style.scss
Change to be committed:
new fille: apiExamples/truncatedText.html
modified: demo/demo.md
modified: docs/partials/demo.md
- update to __dirname declaration to also work on MacOS machines.

Changes to be committed:
	modified:   scripts/generateDocs.mjs
Changes to be committed:
	modified:   apiExamples/truncatedText.html
	modified:   demo/demo.md
	modified:   docs/partials/demo.md
Change to be committed:
modified: demo/api.md
modified: demo/index.md
modified: docs/partials/api.md
modified: docs/partials/index.md
@jason-capsule42 jason-capsule42 merged commit d1db5bc into main Mar 5, 2024
6 checks passed
@jason-capsule42 jason-capsule42 deleted the irmaku/truncatedText branch March 5, 2024 18:41
@blackfalcon
Copy link
Member

🎉 This PR is included in version 2.10.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@blackfalcon blackfalcon added the released Completed work has been released label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Completed work has been released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Demo for flexible width containers
4 participants