From 6cb3f83a85ae424ccf4ea8accacb26d402530adb Mon Sep 17 00:00:00 2001 From: Krivonos Aleksandr Date: Thu, 21 Dec 2023 22:18:59 +0300 Subject: [PATCH] feat(plasma-b2c/web): add stretch prop and update test --- .../plasma-web Segment -- _stretch.snap.png | Bin 0 -> 6283 bytes ...b Segment -- navigate with arrow`.snap.png | Bin 4209 -> 4252 bytes .../plasma-web Segment -- _stretch.snap.png | Bin 0 -> 7722 bytes ...b Segment -- navigate with arrow`.snap.png | Bin 4181 -> 4223 bytes .../Segment/Segment.component-test.tsx | 18 ++++++++++++++++++ .../components/Segment/Segment.stories.tsx | 1 + .../components/Segment/SegmentGroup.config.ts | 3 +++ .../Segment/Segment.component-test.tsx | 18 ++++++++++++++++++ .../components/Segment/Segment.stories.tsx | 1 + .../components/Segment/SegmentGroup.config.ts | 3 +++ 10 files changed, 44 insertions(+) create mode 100644 cypress/snapshots/b2c/components/Segment/Segment.component-test.tsx/plasma-web Segment -- _stretch.snap.png create mode 100644 cypress/snapshots/web/components/Segment/Segment.component-test.tsx/plasma-web Segment -- _stretch.snap.png diff --git a/cypress/snapshots/b2c/components/Segment/Segment.component-test.tsx/plasma-web Segment -- _stretch.snap.png b/cypress/snapshots/b2c/components/Segment/Segment.component-test.tsx/plasma-web Segment -- _stretch.snap.png new file mode 100644 index 0000000000000000000000000000000000000000..aedecc9202db5cf52683b9bb5934d137086918d4 GIT binary patch literal 6283 zcmeHMYgCf?x@X2SwY#Y6jJq)>)R~;J(zLKq@kXbavL@4+tjtQO?S-1Wr6!^R-Ca$k znU#?jcG=~mrXw~Pf{=R33ksu_MgnRI^8v|Rl4Vhjdjxnui}yD^y0rqSmw3*Z|;PycTi%<|nke*BL;>7PwBP%ke} zr4lA}RMk%tTMsn#;NDLCu1VSw{ng{NGX?2!Uw*#TVP$#A#T^^%8XxS4*}NpMi+z5T zO~spAR$t@Zzu$67b?#nAg=OWQz~V38t!7uQ-LP+Y{o5~w7gM<$qAGW_W#<9OW*(mx zS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ENf4Q};<9A0$dr5$Q>GH6-M;ltmchy+d52hBe2pL;B!D2tJ6AUlSnk0NSB zL&w^rq6mtMfBS?R4q`_G9UZ=E z6YTwMzg|ezXS4CkhwNK;7|i@*}8D1}Or1?y2z zIBOknYf%+f^AqF`7HE0cLm^@^UtF?P`l~4+ zh&BAVa()|Hy5#%2ruu!;azp_W*Ricnj&&zLQ!?oR&37T;$bsvvuzH{f2FOuDE^QN& znD(+rzAlqr5G8F6n5jmv04C#yE_)=a>vge%jpxO6Cyx(IOjqYp!Ik4$0q#QYq05p? zb$$4=q$5ugq+iRz0Tv>yAoYCdOp8Fted6@y941+R;ai*pU!jsFQrCX|dhMHa#ZJ(GA}^VPVl-WTGi zV0JbgbE;MZ7jVV`DTk~)nkrxamP1ZNckakveIM4by*J7hV^O_=JH^82Hy1FgZ@2Zu>Io_Sd2C RPX^46t-(K5ZaIABzX36>R-ym^ literal 0 HcmV?d00001 diff --git a/cypress/snapshots/b2c/components/Segment/Segment.component-test.tsx/plasma-web Segment -- navigate with arrow`.snap.png b/cypress/snapshots/b2c/components/Segment/Segment.component-test.tsx/plasma-web Segment -- navigate with arrow`.snap.png index 90bac6c0b194ee077d41cc32e7826c9a021cf827..e147810504fb18d144594c04f21aab1467940b7d 100644 GIT binary patch literal 4252 zcmeHLX;f2L5`Kye9z}4*gSfEh^eEFJAVCFWYgbgZv1w!rL{x|i5+Jff0)h4bgEWhS zEHMEZZKMT6B?^Q90U3mZkchM(Ygn=f2mulZA=})?oH^ZR#`!-#`0;Muxyh|p_0?Bj z)l1r6-JQ2=+O-LSpe^Ulp85`g)=A)NqbAtt?B(8rpsiQVojU$~?7Ep2)Gx*xhMnf5 zGCU_@=3CA8nzxp1E+VoY#e43!e*8?@&&k~MUj!fOBY$XFImw>6eEWWO?@xdDqA!@yJsN=MLz=QJhUZv&hMSbtz zf0vh+S6x?Eker-+(A-=zQ5u2}b+&m0Ql_@vfTJe|kiAj6Y`L zQKSu3SQEX<%UwM@(1&(xVCSc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`pHP;I6tcq7;Go6tb>6X}Wa;K|oV2k27f4?z20~7Cmu+<6!YtT zGDTwlSJ+JEZZEB09E9#CRX6=#cb@;vHR$h0|H~cm@8bL}&VT*h;5R0IW8ya^{->x^6h^E9U#(s literal 0 HcmV?d00001 diff --git a/cypress/snapshots/web/components/Segment/Segment.component-test.tsx/plasma-web Segment -- navigate with arrow`.snap.png b/cypress/snapshots/web/components/Segment/Segment.component-test.tsx/plasma-web Segment -- navigate with arrow`.snap.png index 98fbd33723d8ae7ecce9014f563636b96b74e4ff..063e7f51f7fdd6215bcbeb3c6073f9489b2dbc46 100644 GIT binary patch literal 4223 zcmeHLX;hO}8vc+`ItVi7xPXFC^b|(GAW&Iks}*;FsR+m}rGZWjAVCRxTn0Rp3L;8? zEVT6i0s@*K5E2LqnvjIVmI8()VF?M!p0I_4WbQ|&=S=5x=J)*INA8dBe)nCU=eh5f zoWJ>;*4N#q3qg?n*)v`jAxLWx{(ZC!JmK_-zJ;K_oI2}u{8F;k%*!vHyxZEUGe4)1 zCVUczVd;d~=N!+rJ9WJpmv?3M_`XRo;TVZ^_sigex<*E-tpGEA3 zzHilq-iB|5zOLT_H3Vuw12qsd;}6|jwvcIkH(p#`UT$N|v>SKc=J6!b$X@S6b|mYF z-rj6;h(O9ARKVMZ4XXu?S`j);Vu5;ck3fQMBXK6vf z!R*dXFX(a!TlesNjmQBl#BcJ`%!D<(`}Yby`fEQg-iKiX}y;g?sQU_xnV*ai92 zlDEKd=z`^@U(M5YU^@SmbDq}7FILvT&d6i1K+Z3I%Llz@dYI;f5oKU@>_4{aa?<46 zA5^PMPoA(fO}o9sslWlnC%FfOhH|Nmm^tC}yXOaO87g!@ZSbR-x)v*1(hQp^u&$>+ z@LYfITT)iWXUNy4>ZNHSWw?5+pCK{Rte!?NRI+r9QpA^Z;}accfIHWuX%@$pLGZ5$ zn5eF)W7mbzWRY|^&sESAA0fNJ^S@8pDAnI3Gi9c+r{zr3SEiS8~P zN?`6U!Q(l8zV46A)+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AZTmFvg z`D63?o`Degmmwh`iRaJn2E!h7K}Iv&EPn~NxKu^yJJH;X;8tWhB1s8g;qWFEl_$d+ zMg=Ck3WU+qPworyL { cy.matchImageSnapshot(); }); + it('_stretch', () => { + mount( + + + + + + + + + , + ); + + cy.get('button').contains('Segment 1').click(); + + cy.matchImageSnapshot(); + }); + it('_size', () => { mount( diff --git a/packages/plasma-b2c/src/components/Segment/Segment.stories.tsx b/packages/plasma-b2c/src/components/Segment/Segment.stories.tsx index a3558cc483..e94e2e21e3 100644 --- a/packages/plasma-b2c/src/components/Segment/Segment.stories.tsx +++ b/packages/plasma-b2c/src/components/Segment/Segment.stories.tsx @@ -100,6 +100,7 @@ export const Default: StoryObj = { pilled: false, filledBackground: false, disabled: false, + stretch: false, }, render: (args) => , }; diff --git a/packages/plasma-b2c/src/components/Segment/SegmentGroup.config.ts b/packages/plasma-b2c/src/components/Segment/SegmentGroup.config.ts index 53d0ca1bad..6b859de328 100644 --- a/packages/plasma-b2c/src/components/Segment/SegmentGroup.config.ts +++ b/packages/plasma-b2c/src/components/Segment/SegmentGroup.config.ts @@ -57,5 +57,8 @@ export const config = { ${segmentTokens.groupFilledBackgroundColor}: var(--plasma-colors-surface-liquid01); `, }, + stretch: { + true: css``, + }, }, }; diff --git a/packages/plasma-web/src/components/Segment/Segment.component-test.tsx b/packages/plasma-web/src/components/Segment/Segment.component-test.tsx index 7400a21477..9fb9ece4c7 100644 --- a/packages/plasma-web/src/components/Segment/Segment.component-test.tsx +++ b/packages/plasma-web/src/components/Segment/Segment.component-test.tsx @@ -164,6 +164,24 @@ describe('plasma-web: Segment', () => { cy.matchImageSnapshot(); }); + it('_stretch', () => { + mount( + + + + + + + + + , + ); + + cy.get('button').contains('Segment 1').click(); + + cy.matchImageSnapshot(); + }); + it('_size', () => { mount( diff --git a/packages/plasma-web/src/components/Segment/Segment.stories.tsx b/packages/plasma-web/src/components/Segment/Segment.stories.tsx index a3558cc483..e94e2e21e3 100644 --- a/packages/plasma-web/src/components/Segment/Segment.stories.tsx +++ b/packages/plasma-web/src/components/Segment/Segment.stories.tsx @@ -100,6 +100,7 @@ export const Default: StoryObj = { pilled: false, filledBackground: false, disabled: false, + stretch: false, }, render: (args) => , }; diff --git a/packages/plasma-web/src/components/Segment/SegmentGroup.config.ts b/packages/plasma-web/src/components/Segment/SegmentGroup.config.ts index 53d0ca1bad..6b859de328 100644 --- a/packages/plasma-web/src/components/Segment/SegmentGroup.config.ts +++ b/packages/plasma-web/src/components/Segment/SegmentGroup.config.ts @@ -57,5 +57,8 @@ export const config = { ${segmentTokens.groupFilledBackgroundColor}: var(--plasma-colors-surface-liquid01); `, }, + stretch: { + true: css``, + }, }, };