From 4a07afb36d29bb81f80cf24a57d6a94f0e8d6398 Mon Sep 17 00:00:00 2001 From: Rez <13340707+rezrah@users.noreply.github.com> Date: Mon, 28 Oct 2024 16:36:36 +0000 Subject: [PATCH] Hotfixes for 0.41.0 RC (#801) --- .changeset/light-eyes-talk.md | 20 ++++++++++++++++++ .changeset/lovely-rocks-bathe.md | 2 +- .changeset/sweet-waves-matter.md | 4 +++- .changeset/twelve-hotels-bake.md | 5 ----- .changeset/wise-cherries-walk.md | 6 ------ .../src/tokens/functional/size/size.json | 14 ++++++++++-- .../src/ActionMenu/ActionMenu.module.css | 3 ++- .../src/Button/Button.features.stories.tsx | 11 ++++++++++ packages/react/src/Button/Button.module.css | 4 ++-- .../react/src/Button/Button.visual.spec.ts | 9 ++++++++ ...Button-Button-With-Longer-Text-1-linux.png | Bin 0 -> 18609 bytes .../src/forms/TextInput/TextInput.module.css | 4 ++-- .../src/forms/Textarea/Textarea.module.css | 4 ++-- 13 files changed, 64 insertions(+), 22 deletions(-) delete mode 100644 .changeset/twelve-hotels-bake.md delete mode 100644 .changeset/wise-cherries-walk.md create mode 100644 packages/react/src/Button/Button.visual.spec.ts-snapshots/Visual-Comparison-Button-Button-With-Longer-Text-1-linux.png diff --git a/.changeset/light-eyes-talk.md b/.changeset/light-eyes-talk.md index ddb5ff725..2fb9b0f67 100644 --- a/.changeset/light-eyes-talk.md +++ b/.changeset/light-eyes-talk.md @@ -1,5 +1,25 @@ --- +'@primer/brand-primitives': minor '@primer/react-brand': patch --- Fixed issue where `Button` component would reflow and break over multiple lines when its text content exceeded the viewport width. + +:warning: Breaking changes to the following design tokens: + +```diff +- --brand-control-medium-paddingBlock ++ --brand-control-medium-paddingBlock-normal +``` + +```diff +- --brand-control-large-paddingBlock ++ --brand-control-large-paddingBlock-normal +``` + +Additional tokens added: + +```diff ++ --brand-control-medium-paddingBlock-condensed ++ --brand-control-large-paddingBlock-condensed +``` diff --git a/.changeset/lovely-rocks-bathe.md b/.changeset/lovely-rocks-bathe.md index bdfb411de..2ba5fe556 100644 --- a/.changeset/lovely-rocks-bathe.md +++ b/.changeset/lovely-rocks-bathe.md @@ -2,4 +2,4 @@ '@primer/react-brand': patch --- -Improves spacing of RiverBreakout content +Improves spacing of `RiverBreakout` content diff --git a/.changeset/sweet-waves-matter.md b/.changeset/sweet-waves-matter.md index 7b6030e07..1e098e48c 100644 --- a/.changeset/sweet-waves-matter.md +++ b/.changeset/sweet-waves-matter.md @@ -2,5 +2,7 @@ '@primer/react-brand': patch --- -- Update the order of River children to ensure an acccessible markup strucuture. +- Update the order of River children to ensure an accessible markup structure. - On narrow viewports, the content and visuals are now flipped, with the visuals always placed first to enhance visual hierarchy. + + > :warning: This may introduce a visual breaking change, whereby the visual is now displayed earlier in the page than originally intended. Please manually review content adjacent to the `River` components for correctness. diff --git a/.changeset/twelve-hotels-bake.md b/.changeset/twelve-hotels-bake.md deleted file mode 100644 index 2f2c748cd..000000000 --- a/.changeset/twelve-hotels-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react-brand': patch ---- - -Added `size` prop to `Icon` component diff --git a/.changeset/wise-cherries-walk.md b/.changeset/wise-cherries-walk.md deleted file mode 100644 index d3882df20..000000000 --- a/.changeset/wise-cherries-walk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@primer/brand-primitives': patch -'@primer/react-brand': patch ---- - -Add Icon component with new color primitives. diff --git a/packages/design-tokens/src/tokens/functional/size/size.json b/packages/design-tokens/src/tokens/functional/size/size.json index 56ced0f71..be57f1d97 100644 --- a/packages/design-tokens/src/tokens/functional/size/size.json +++ b/packages/design-tokens/src/tokens/functional/size/size.json @@ -41,7 +41,12 @@ "value": "{base.size.16}" }, "paddingBlock": { - "value": "{base.size.16}" + "condensed": { + "value": "{base.size.6}" + }, + "normal": { + "value": "{base.size.16}" + } }, "paddingInline": { "condensed": { @@ -67,7 +72,12 @@ "value": "{base.size.20}" }, "paddingBlock": { - "value": "{base.size.20}" + "condensed": { + "value": "{base.size.12}" + }, + "normal": { + "value": "{base.size.20}" + } }, "paddingInline": { "condensed": { diff --git a/packages/react/src/ActionMenu/ActionMenu.module.css b/packages/react/src/ActionMenu/ActionMenu.module.css index 0a41d7bfa..6b7e95fe4 100644 --- a/packages/react/src/ActionMenu/ActionMenu.module.css +++ b/packages/react/src/ActionMenu/ActionMenu.module.css @@ -125,7 +125,8 @@ } .ActionMenu__item--medium { - padding: var(--brand-control-medium-paddingBlock) var(--brand-control-medium-paddingInline-normal); + padding: var(--brand-control-medium-paddingBlock-condensed) var(--brand-control-medium-paddingInline-normal); + min-height: var(--brand-control-medium-size); } .ActionMenu__item--small { diff --git a/packages/react/src/Button/Button.features.stories.tsx b/packages/react/src/Button/Button.features.stories.tsx index b67a28e32..6da000740 100644 --- a/packages/react/src/Button/Button.features.stories.tsx +++ b/packages/react/src/Button/Button.features.stories.tsx @@ -4,6 +4,7 @@ import {userEvent, waitFor, within} from '@storybook/test' import {Button} from '.' import {HeartFillIcon, MarkGithubIcon, PlayIcon} from '@primer/octicons-react' +import {Grid} from '../Grid' export default { title: 'Components/Button/Features', @@ -255,3 +256,13 @@ export const WithVisualsAndDisabled = () => ( ) WithVisualsAndDisabled.storyName = 'With visuals and disabled' + +export const WithLongerText = () => ( + + + + + +) diff --git a/packages/react/src/Button/Button.module.css b/packages/react/src/Button/Button.module.css index 79525eb9c..a5179e90d 100644 --- a/packages/react/src/Button/Button.module.css +++ b/packages/react/src/Button/Button.module.css @@ -168,12 +168,12 @@ .Button--size-medium { min-height: var(--brand-control-medium-size); - padding-inline: var(--brand-control-medium-paddingInline-spacious); + padding: var(--brand-control-medium-paddingBlock-condensed) var(--brand-control-medium-paddingInline-spacious); } .Button--size-large { min-height: var(--brand-control-large-size); - padding-inline: var(--brand-control-large-paddingInline-spacious); + padding: var(--brand-control-large-paddingBlock-condensed) var(--brand-control-large-paddingInline-spacious); } .Button--size-large .Button__icon-visual, diff --git a/packages/react/src/Button/Button.visual.spec.ts b/packages/react/src/Button/Button.visual.spec.ts index a1289faba..b6f7e8c75 100644 --- a/packages/react/src/Button/Button.visual.spec.ts +++ b/packages/react/src/Button/Button.visual.spec.ts @@ -206,4 +206,13 @@ test.describe('Visual Comparison: Button', () => { await page.waitForTimeout(500) expect(await page.screenshot({fullPage: true})).toMatchSnapshot() }) + + test('Button / With Longer Text', async ({page}) => { + await page.goto( + 'http://localhost:6006/iframe.html?args=&id=components-button-features--with-longer-text&viewMode=story', + ) + + await page.waitForTimeout(500) + expect(await page.screenshot({fullPage: true})).toMatchSnapshot() + }) }) diff --git a/packages/react/src/Button/Button.visual.spec.ts-snapshots/Visual-Comparison-Button-Button-With-Longer-Text-1-linux.png b/packages/react/src/Button/Button.visual.spec.ts-snapshots/Visual-Comparison-Button-Button-With-Longer-Text-1-linux.png new file mode 100644 index 0000000000000000000000000000000000000000..174d2e73af782b2689a1323232f4d6cd76869c71 GIT binary patch literal 18609 zcmeHv1yodP-|q$l6a+*C1O!w{Ndb`#5k){iO1h*Zq*G!r5G9qAMhv<|ngJxFk#3Og z8fu7{`;3Ff^WE>9_r3S7?|ygPwT?^Iz@FH9Kk@(nYJ7E1QHF$wh6sWn64^V_DiDMZ ze#GrKP5>U-y+-bX2OLKg87U~c?fg6hU4UezZ>YJ&Esa=ss`nuM4%r=XpI^koC6#;| zu6&`t=~>cKl`K3;<&0a4#u?$t{+BM0Ue@L)ydT$*zI)-4ruCIu7bK6LK#aq2Eluye z!<7nr{hIvrHw3Oi5YEYS4i|LCG=%ntt+G5;<22yygC2wwR8&-qvY|}iZ<-ttsT1DM zA7w)o>G33w4ioV~;h5)TL({MRKRuY+At|ut<-xnNK1Ns8*w)G@!WxC=d+Ujfth%(D z=H>7F>1XsRXh_=AWa72IgQGuhW&Q&(8y6QBsnZ$A&p!a!{;7SS+}R^Z=R0+>dre8) z*k|(U8#kWV+&X%(kST6e9Xm>4rqUW}v$CVyYWHXSypI1Z%73i2k)*Izc2CluDm2~LH@w*01RiYdj z4)zkKj=Mp-15_e751kaf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tTCXm(QI!=%CVah^Ur_*}^+jf0US9e_&JOcJm=h5`Sclv;2N)f< zTfmhdr`i+SsmeTvxhJmn4^;3|NmN|p<1=rMOL*T-ujNJ#-cVJosRIV)qfASS=k9u4 ziL(dH%uKOja}wFu$k0k0+aTIj#fV5O+c8_+MhzDub4n^J`1tr(gKb-MY!9q|nEpKL zY~BeUv`*GcL9@op##j!gnD5PrmJIH8D|5y6y}`jwRm`hMTa3>@@SW+=_>#wyGfS|; z)dBRvVhMW8HZnoFmQM+7cs&7Tb3H*sI44e6h&9*)Nd?|D=dpx)0rU2?IS$lu;D3R+ zwELG6@z0b0ZmIq=LjQ~qwrKsc68=A338%QB9ngwYG5;^X-!!Cu=Jx;7x&3E8L6iSy t5dIm2e=68N73?3J@(08GZ`lq@=yaOm1@2FgTNtV(drMI|Tgve1{{XTEXp;Z{ literal 0 HcmV?d00001 diff --git a/packages/react/src/forms/TextInput/TextInput.module.css b/packages/react/src/forms/TextInput/TextInput.module.css index 2eadc7960..37712710c 100644 --- a/packages/react/src/forms/TextInput/TextInput.module.css +++ b/packages/react/src/forms/TextInput/TextInput.module.css @@ -40,13 +40,13 @@ .TextInput--medium { font-weight: var(--brand-text-weight-100); font-size: var(--brand-text-size-100); - padding: var(--brand-control-medium-paddingBlock) var(--brand-control-medium-paddingInline-condensed); + padding: var(--brand-control-medium-paddingBlock-normal) var(--brand-control-medium-paddingInline-condensed); } .TextInput--large { font-weight: var(--brand-text-weight-200); font-size: var(--brand-text-size-200); - padding: var(--brand-control-large-paddingBlock) var(--brand-control-large-paddingInline-condensed); + padding: var(--brand-control-large-paddingBlock-normal) var(--brand-control-large-paddingInline-condensed); } .TextInput-wrapper--large { diff --git a/packages/react/src/forms/Textarea/Textarea.module.css b/packages/react/src/forms/Textarea/Textarea.module.css index 2610f5e56..f6b5b5420 100644 --- a/packages/react/src/forms/Textarea/Textarea.module.css +++ b/packages/react/src/forms/Textarea/Textarea.module.css @@ -56,13 +56,13 @@ .Textarea--medium { font-weight: var(--brand-text-weight-100); font-size: var(--brand-text-size-100); - padding: var(--brand-control-medium-paddingBlock) var(--brand-control-medium-paddingInline-condensed); + padding: var(--brand-control-medium-paddingBlock-normal) var(--brand-control-medium-paddingInline-condensed); } .Textarea--large { font-weight: var(--brand-text-weight-200); font-size: var(--brand-text-size-200); - padding: var(--brand-control-large-paddingBlock) var(--brand-control-large-paddingInline-condensed); + padding: var(--brand-control-large-paddingBlock-normal) var(--brand-control-large-paddingInline-condensed); } /*