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

Layout #187

Merged
merged 75 commits into from
Nov 25, 2024
Merged

Layout #187

merged 75 commits into from
Nov 25, 2024

Conversation

sikhote
Copy link
Contributor

@sikhote sikhote commented Oct 2, 2024

Demo available here: https://rei.github.io/rei-cedar

  • CdrLayout component
  • Refactor SurfaceSelection to use CdrLayout
  • Refactor FulfillmentTile to use CdrLayout
  • Cleanup all unit test errors and some image URL issues found in the dev site
  • Adds the demo which is deployed at at every push of any branch

@sikhote sikhote marked this pull request as draft October 2, 2024 16:26
@sikhote sikhote self-assigned this Oct 2, 2024
@sikhote sikhote changed the title Media object Layout Nov 11, 2024
src/components/layout/CdrLayout.vue Show resolved Hide resolved
src/components/layout/CdrLayout.vue Show resolved Hide resolved
src/components/layout/CdrLayout.vue Show resolved Hide resolved
@@ -7,13 +7,42 @@ $cdr-warn: false;
@import './visibility.vars';
@import './fluid.vars';

// Import fluid.vars.scss if using in a component
Copy link
Member

Choose a reason for hiding this comment

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

why are these directly in index I would expect that index only imports child files into a central index of containing files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will do to break apart a bit more

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Broke this file apart a lot more

@sikhote sikhote marked this pull request as ready for review November 25, 2024 18:45
@@ -0,0 +1,21 @@
// Generates a background property with a predictable format for overriding
Copy link
Member

Choose a reason for hiding this comment

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

is this for kitchen sink demos?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This gets used by the Surface component. For the overriding feature, that's more to allow the user an easy way to override, kinda like we do with cedar button's background and other styles. For the comment itself, it won't show up in the demo—sorry, not sure what you are asking exactly 😅

@sikhote sikhote merged commit 2a1bade into main Nov 25, 2024
2 checks passed
@sikhote sikhote deleted the pr/media-object branch November 25, 2024 20:37
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.

3 participants