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

Release/v15 #160

Merged
merged 105 commits into from
Jan 24, 2024
Merged

Release/v15 #160

merged 105 commits into from
Jan 24, 2024

Conversation

benjag
Copy link
Contributor

@benjag benjag commented Dec 2, 2023

Release branch for 15.0.0. Individual features should PR against this branch.

benjag and others added 30 commits September 11, 2023 13:14
Removes multiple props, the media container pattern, and simplifies markup

BREAKING CHANGE: API has drastically changed as well as underlying markup of the component
@benjag benjag marked this pull request as ready for review January 24, 2024 20:37
@@ -0,0 +1,50 @@
<script setup lang="ts">
Copy link
Contributor

Choose a reason for hiding this comment

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

I didn't realize we were including this in v15?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not exported. Leaving it in for further experimentation

Copy link
Member

Choose a reason for hiding this comment

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

I think the idea is we are not speaking about it

@@ -2,12 +2,7 @@ html {
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-family: sans-serif;
font-size: 10px; /* update postcss.config.js pxtorem if this changes */
Copy link
Member

Choose a reason for hiding this comment

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

giphy

Copy link
Member

Choose a reason for hiding this comment

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

</component>
</template>

<style lang="scss" module src="./styles/CdrAbstract.module.scss">
Copy link
Member

Choose a reason for hiding this comment

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

will these also be available in our component variables project?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, not at this time. We'd have to figure out providing/exporting the fluid scale to that project

@import '../../../styles/settings/index.scss';
@import '../../../styles/settings/fluid.vars.scss';

.cdr-abstract {
Copy link
Member

Choose a reason for hiding this comment

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

the tag itself could have a few additional styles I should think

or maybe this is just a global p tag reset

like

max-width: 75ch;
text-wrap: pretty;

@@ -0,0 +1,50 @@
<script setup lang="ts">
Copy link
Member

Choose a reason for hiding this comment

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

I think the idea is we are not speaking about it

default: '',
},
/**
* Aspect ratio of the media container
Copy link
Member

Choose a reason for hiding this comment

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

👍

@import '../../../styles/settings/index.scss';
@import '../../../styles/settings/fluid.vars.scss';

.cdr-kicker {
Copy link
Member

Choose a reason for hiding this comment

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

text-wrap: nowrap ?

@import '../../../styles/settings/index.scss';
@import '../../text/presets/styles/CdrHeadingDisplay.module.scss';
@import '../../text/presets/styles/CdrSubheadingSans.module.scss';

Copy link
Member

Choose a reason for hiding this comment

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

lets give our headings and titles
text-wrap: balance;

:class="[style['cdr-modal__overlay'], overlayClass]"
/>
<!-- This div (and the one below) is used to avoid a screen reader "keyboard" trap where the
<Teleport to="body">
Copy link
Member

Choose a reason for hiding this comment

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

do we need a note for why teleport? I mean I guess its just native Vue...

describe('CdrPicture', () => {
it('matches snapshot', () => {
const wrapper = shallowMount(CdrPicture, {
props: {
Copy link
Member

Choose a reason for hiding this comment

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

thoughts on how palette could change the image source? Atlassian has and interesting take
https://atlassian.design/components/image/examples#dark-mode

@@ -0,0 +1,8 @@
@import './CdrPresets.module.scss';

Copy link
Member

Choose a reason for hiding this comment

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

lets add
text-wrap: balance;
to our headings

@@ -2,6 +2,5 @@
@import './vars/CdrText.vars.scss';

.cdr-text {
@include cdr-text-default;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

vestigial

@benjag benjag merged commit 06a738d into main Jan 24, 2024
1 check passed
@benjag benjag deleted the release/v15 branch January 24, 2024 23:40
@@ -38,6 +38,14 @@ body {
background-color: #ffffff;
}

h1,h2,h3,h4,h5,h6 {
text-wrap: balance;
Copy link
Member

Choose a reason for hiding this comment

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

💯

text-wrap: balance;
}

p {
Copy link
Member

Choose a reason for hiding this comment

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

🥇

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.

4 participants