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

Chore/update carbon platform branch #3341

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
da85bb6
docs: radio button content updates (#3086)
laurenmrice Aug 16, 2022
05db391
chore(deps): bump parse-url from 6.0.0 to 6.0.5 (#3087)
dependabot[bot] Aug 17, 2022
f6695ca
fix(meta): remove site-wide description in favor of page-level descri…
tay1orjones Aug 17, 2022
495f06c
docs(accordian): fix typo (#3101)
HarryAllen1 Aug 18, 2022
890c9c4
docs(date-picker): gower review (#3096)
aagonzales Aug 18, 2022
a5eb506
chore(release): update carbon deps (#3103)
carbon-automation[bot] Aug 23, 2022
d50e913
Compressed Images (#3106)
github-actions[bot] Aug 23, 2022
59d6c3a
Compressed Images (#3060)
github-actions[bot] Aug 23, 2022
5f71fd2
accessibility content for overflow menu (#3083)
mbgower Aug 23, 2022
cdd74de
docs(migration): mention upgrade cli in developer docs (#3095)
tay1orjones Aug 23, 2022
acc1e2f
docs(tree-view): new component (#3062)
aagonzales Aug 24, 2022
746f4fe
update overflow a11y images (#3107)
laurenmrice Aug 24, 2022
0be5b8a
Update step-1.mdx (#3071)
plachy-jozef Aug 25, 2022
5745f1d
ibmButton attribute value (#3076)
plachy-jozef Aug 25, 2022
c5938dc
Removing --lint-fix parameter (#3079)
plachy-jozef Aug 25, 2022
0fa2711
fix: remove ibm z pictograms (#3114)
jnm2377 Aug 26, 2022
3bd096f
feat(tutorial): add initial faqs (#3088)
jnm2377 Aug 26, 2022
61ab7e9
docs(Tutorial): fix typo (#3111)
tw15egan Aug 26, 2022
634fd68
dividing file names for code snippets (#3075)
plachy-jozef Aug 26, 2022
78ea573
Added Bluetalks to the Migration page (#3024)
sstrubberg Aug 26, 2022
253162b
Compressed Images (#3119)
github-actions[bot] Aug 29, 2022
7d065d7
fix(404): fixes a link so that it doesn't go to 404, fix 404 styles (…
tw15egan Aug 30, 2022
1a7e2f1
Loading accessibility (#3080)
mbgower Aug 31, 2022
78d1faa
fix(tile): component style page check change (#3124)
francinelucca Sep 1, 2022
e4c2fd7
Update color-tokens.js (#3118)
aagonzales Sep 2, 2022
eb6ef39
Docs: Update text input usage (#3115)
aagonzales Sep 2, 2022
5e5f65e
Notification for Tile (#3126)
thyhmdo Sep 6, 2022
3ab3f9b
fix(getting-started): update to v11 content (#3138)
tay1orjones Sep 8, 2022
bb223c4
Compressed Images (#3131)
github-actions[bot] Sep 8, 2022
8b9d708
chore(release): update carbon deps (#3129)
carbon-automation[bot] Sep 13, 2022
837aeb5
chore(release): update carbon deps (#3151)
carbon-automation[bot] Sep 14, 2022
a6bf633
chore(release): update carbon deps (#3159)
carbon-automation[bot] Sep 16, 2022
6b5e381
feat(website): add accessibility link, update common js (#3155)
tay1orjones Sep 16, 2022
2cf9d87
fix: mdx formatting inside component demo (#3160)
alisonjoseph Sep 16, 2022
835651e
docs: contained-list (#3145)
laurenmrice Sep 16, 2022
00c3c22
docs(grid): updated with API docs and example (#3136)
sstrubberg Sep 16, 2022
75d038d
fix(typography): fix controls bug (#3130)
aledavila Sep 19, 2022
e0059b2
Updated outdated links to storybook (#3164)
aagonzales Sep 20, 2022
94d7e1e
Change tab text of typography from "Styling strategies" to "Style str…
abhilipsasahoo03 Sep 20, 2022
1821a88
Update accessibility.mdx (#3143)
mbgower Sep 21, 2022
7ea3965
Correct verbiage on ibm commerce platform page (#3157)
francinelucca Sep 21, 2022
34f3b22
Compressed Images (#3162)
github-actions[bot] Sep 23, 2022
85db97a
docs(Theme): update Theme docs with new guidance/usage (#2998)
dakahn Sep 26, 2022
cf56acd
docs(team): removed team page and removed photos from partners (#3170)
sstrubberg Sep 26, 2022
0cc48b8
fix(content): broken links (#3167)
alisonjoseph Sep 27, 2022
62338df
docs(meetups): added office hours) (#3165)
sstrubberg Sep 27, 2022
b3416d2
update dataviz meeting time (#3177)
theiliad Sep 28, 2022
8b0bafa
chore(release): update carbon deps (#3178)
carbon-automation[bot] Sep 30, 2022
30d826f
docs: figma v11 release content updates (#3176)
laurenmrice Sep 30, 2022
d6d2b50
Compressed Images (#3184)
github-actions[bot] Oct 3, 2022
5d881e4
docs(Accordion): match Accordion to ken to code (#3180)
tw15egan Oct 4, 2022
f2ff211
Ecosystem updates (#3150)
mzuliani-ibm Oct 4, 2022
a3326c0
feat: add crosslink banner to carbon platform on homepage (#3185)
alisonjoseph Oct 5, 2022
4f6b0ab
docs: add flush accordion content (#3168)
laurenmrice Oct 5, 2022
fee6747
docs(progress-bar): add component live demo (#3182)
janhassel Oct 6, 2022
e280be0
docs(svelte): update resources and intro (#3183)
metonym Oct 7, 2022
b6ebe8e
Compressed Images (#3189)
github-actions[bot] Oct 11, 2022
5a8054e
docs(contact-us): minor updates to contact us page (#3186)
jeffchew Oct 12, 2022
e9bb1ba
chore(release): update carbon deps (#3194)
carbon-automation[bot] Oct 12, 2022
8591c2d
fix(tutorial): remove optimize sass from step 5 (#3192)
tay1orjones Oct 13, 2022
a06adb9
refactor(tutorial): remove badging (#3197)
tay1orjones Oct 13, 2022
9cffd78
chore(release): update carbon deps (#3200)
carbon-automation[bot] Oct 13, 2022
c73744d
fix(Icons): fix broken link (#3196)
tw15egan Oct 14, 2022
9451603
ci(actions): automatically open content sync issues on platform (#3193)
tay1orjones Oct 17, 2022
68a729e
fix(switcher): fix app switcher bugs (#3208)
tw15egan Oct 18, 2022
cec4859
Update accessibility.mdx (#3187)
mbgower Oct 18, 2022
72a86fd
Compressed Images (#3217)
github-actions[bot] Oct 24, 2022
dffcd64
ci(content-sync): provide token proper permissions (#3216)
tay1orjones Oct 24, 2022
fb72b82
fix: hyphens to en dashes (#3215)
mattrosno Oct 25, 2022
4798fd0
Fix GitHub capitalization (#3225)
coliff Oct 27, 2022
c87fa23
fix: broken link on tag style tab (#3219)
laurenmrice Oct 27, 2022
78cc314
chore(release): update carbon deps (#3220)
carbon-automation[bot] Oct 27, 2022
cd7d6c2
fix: broken link ui shell right panel (#3218)
laurenmrice Oct 27, 2022
c1bf547
chore(format): fix format error (#3227)
tw15egan Oct 28, 2022
1acfe16
chore(release): update carbon deps (#3226)
carbon-automation[bot] Oct 28, 2022
c31cd7e
content for accessibility tab (#3212)
mbgower Oct 28, 2022
a21e562
[docs] Update type token weights (#3221)
aagonzales Oct 28, 2022
f0ecbec
Compressed Images (#3230)
github-actions[bot] Nov 1, 2022
1692f45
pagination accessibility update (#3224)
mbgower Nov 2, 2022
3192186
accessibilty content for right panel (#3223)
mbgower Nov 2, 2022
a1a45b6
chore(release): update carbon deps (#3234)
carbon-automation[bot] Nov 2, 2022
3beded9
fix(analytics): set SPA to false (#3242)
tay1orjones Nov 3, 2022
a6b2ab0
ci(content-sync): use github app for proper permissions scope (#3240)
tay1orjones Nov 4, 2022
87c180b
Compressed Images (#3247)
github-actions[bot] Nov 7, 2022
823c572
chore(release): update carbon deps (#3245)
carbon-automation[bot] Nov 8, 2022
2d02763
docs: revise a11y images and content (#3244)
laurenmrice Nov 8, 2022
e76e7aa
chore(deps): bump socket.io-parser from 4.0.4 to 4.0.5 (#3252)
dependabot[bot] Nov 10, 2022
ca066e2
fixing a typo on the Spacing page (#3253)
Ashygoyal Nov 10, 2022
8779c0b
Compressed Images (#3255)
github-actions[bot] Nov 14, 2022
6efd1e6
feat: remove component index (#3233)
andreancardona Nov 14, 2022
35e4c2c
feat: add sass faq (#3228)
jnm2377 Nov 14, 2022
14a4a00
fix: missing images on platform art direction line breaks (#3211)
alisonjoseph Nov 14, 2022
875f127
chore(release): update carbon deps (#3249)
carbon-automation[bot] Nov 14, 2022
7f28699
refactor: add 'do' type to DoDont uses that don't specify it (#3257)
francinelucca Nov 15, 2022
1355902
update profile image (#3254)
laurenmrice Nov 15, 2022
0dddfcf
Update usage.mdx (#3256)
contentdesi Nov 17, 2022
0a1f02d
Compressed Images (#3283)
github-actions[bot] Nov 28, 2022
6331bdf
Compressed Images (#3278)
github-actions[bot] Nov 28, 2022
9049707
Update platform-content-sync.yml (#3284)
francinelucca Nov 28, 2022
caf5f20
GH action: test (#3285)
francinelucca Nov 28, 2022
743431d
Limit workflow to main branch (#3286)
francinelucca Nov 28, 2022
04747ec
Remove test comment (#3287)
francinelucca Nov 28, 2022
945df50
Update package.json (#3288)
alisonjoseph Nov 28, 2022
0b3df87
fix(RadioButton): fix a11y issues with `RadioButtonGroup` (#3276)
tw15egan Nov 28, 2022
0e4a433
update: filter pattern images (#3280)
laurenmrice Nov 28, 2022
29361bf
[number input] number input doc update v11 (#3246)
thyhmdo Nov 29, 2022
9a9acf0
Update accessibility.mdx (#3251)
mbgower Nov 30, 2022
ff2b228
fix: add missing types to DoDont (#3292)
francinelucca Dec 1, 2022
e3be3be
chore(release): update carbon deps (#3289)
carbon-automation[bot] Dec 1, 2022
6985357
fix(palette): removed dupe (#3293)
sstrubberg Dec 1, 2022
fb4e64b
chore(release): update carbon deps (#3296)
carbon-automation[bot] Dec 2, 2022
065ace6
fix(docs): wrap resourcecard in row (#3295)
francinelucca Dec 5, 2022
fa52c30
chore(deps): bump decode-uri-component from 0.2.0 to 0.2.2 (#3297)
dependabot[bot] Dec 6, 2022
b963ea6
Compressed Images (#3300)
github-actions[bot] Dec 6, 2022
ea689be
chore(deps): bump express from 4.17.1 to 4.18.2 (#3301)
dependabot[bot] Dec 7, 2022
423695f
chore(release): update carbon deps (#3302)
carbon-automation[bot] Dec 7, 2022
9e2f7e3
docs(modal): add full-width (#3299)
aagonzales Dec 8, 2022
96ffc35
fix(color): properly align color dots (#3304)
tay1orjones Dec 8, 2022
cee5bd5
docs: add new read-only states pattern (#3279)
laurenmrice Dec 8, 2022
f3ccd6d
chore(release): update carbon deps (#3305)
carbon-automation[bot] Dec 9, 2022
3aef7c8
Compressed Images (#3307)
github-actions[bot] Dec 12, 2022
39e7ed7
fix: update undefined status icon svgs (#3311)
alisonjoseph Dec 16, 2022
3ee9ba6
[select] select doc update v11 (#3282)
thyhmdo Dec 16, 2022
6539935
Compressed Images (#3316)
github-actions[bot] Dec 19, 2022
ee13cdd
ci(triage): update issue/project triage workflows (#3313)
tay1orjones Dec 19, 2022
1954431
Modal accessibility content and images (#3303)
mbgower Dec 20, 2022
add1f1f
Compressed Images (#3321)
github-actions[bot] Jan 3, 2023
2d503e0
Compressed Images (#3323)
github-actions[bot] Jan 3, 2023
c6dc314
typo fix (#3324)
jeanservaas Jan 3, 2023
c4eea1d
typo fix (#3325)
jeanservaas Jan 3, 2023
764e01b
Update tooltip accessibility.mdx (#3318)
mbgower Jan 3, 2023
aa4790b
Tooltip accessibility update (#3330)
mbgower Jan 4, 2023
5ca4ef4
update usage image (#3331)
laurenmrice Jan 5, 2023
da42bee
added fourth accessibility tab to toggletip (#3319)
mbgower Jan 5, 2023
c5214a4
chore(release): update carbon deps (#3335)
carbon-automation[bot] Jan 6, 2023
454d19d
chore(deps): bump json5 from 1.0.1 to 1.0.2 (#3338)
dependabot[bot] Jan 6, 2023
2f02240
Compressed Images (#3340)
github-actions[bot] Jan 9, 2023
10e3cb5
Merge branch 'main' of github.com:francinelucca/carbon-website into c…
francinelucca Jan 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Add To Project

on:
issues:
types: [opened, labeled]

jobs:
issue-triage:
uses: carbon-design-system/carbon/.github/workflows/add-to-project.yml@main
secrets:
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }}
1 change: 0 additions & 1 deletion .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ jobs:
secrets:
APP_ID: ${{ secrets.APP_ID }}
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
ADD_TO_PROJECT_PAT: ${{ secrets.ADD_TO_PROJECT_PAT }}
29 changes: 29 additions & 0 deletions .github/workflows/platform-content-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sync content with platform

on:
push:
branches:
- 'main'
paths:
- '**.mdx'

jobs:
create_issue:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: carbon-design-system/carbon-platform
ref: main
- name: Generate token
uses: tibdex/github-app-token@v1
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create issue on platform repo
run: |
gh issue create --title "[Content sync]: carbon-website" --label "role: dev 🤖" --label "service: web-app 🌎" --body 'A pull request on carbon-website was just merged. It contains .mdx content changes that may need to be synced to platform:
- ${{ github.event.compare }}'
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

10 changes: 10 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ exports.createPages = ({ actions }) => {
toPath: '/community/component-index',
isPermanent: true,
});
createRedirect({
fromPath: '/community/contribute-a-component',
toPath: '/community/component-index',
isPermanent: true,
});

// Developing
createRedirect({
Expand All @@ -66,4 +71,9 @@ exports.createPages = ({ actions }) => {
toPath: '/developing/vue-tutorial/overview',
isPermanent: true,
});
createRedirect({
fromPath: '/guidelines/typography/styling-strategies',
toPath: '/guidelines/typography/style-strategies',
isPermanent: true,
});
};
16 changes: 7 additions & 9 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import React from 'react';

export const onRenderBody = ({ setHeadComponents }) => {
export const onRenderBody = ({ setHeadComponents, setPostBodyComponents }) => {
const script = `
if(!window) window = {};
window.idaPageIsSPA = true;
window.idaPageIsSPA = false;
window.digitalData = {
page: {
category: {
primaryCategory: 'DESIGN',
},
pageInfo: {
ibm: {
siteID: 'CARBON_DESIGN_SYSTEM',
siteID: 'CARBON_DESIGN_SYSTEM_WWW',
country: 'US',
industry: 'Design',
owner: 'carbon@us.ibm.com',
Expand All @@ -20,12 +20,7 @@ export const onRenderBody = ({ setHeadComponents }) => {
},
}`;

return setHeadComponents([
<meta
key="description"
name="description"
content="Carbon is IBM’s open source design system for products and digital experiences. With the IBM Design Language as its foundation, the system consists of working code, design tools and resources, human interface guidelines, and a vibrant community of contributors."
/>,
setHeadComponents([
<meta key="image" name="image" content={'/ogimage.png'} />,
<meta
key="og:url"
Expand Down Expand Up @@ -73,6 +68,9 @@ export const onRenderBody = ({ setHeadComponents }) => {
key="fathom"
defer
/>,
]);

setPostBodyComponents([
<script key="digital-data" dangerouslySetInnerHTML={{ __html: script }} />,
<script
defer
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"update-browserslist": "npx browserslist-ga"
},
"engines": {
"node": ">=16.x"
"node": "^16"
},
"browserslist": [
"last 1 edge version",
Expand All @@ -40,11 +40,11 @@
"dependencies": {
"@babel/core": "^7.15.8",
"@carbon/charts-react": "0.55.0",
"@carbon/elements": "^11.8.0-rc.0",
"@carbon/icons-react": "^11.7.0",
"@carbon/pictograms": "^12.3.0",
"@carbon/pictograms-react": "^11.29.0",
"@carbon/react": "^1.10.0-rc.0",
"@carbon/elements": "^11.17.0",
"@carbon/icons-react": "^11.14.0",
"@carbon/pictograms": "^12.11.0",
"@carbon/pictograms-react": "^11.37.0",
"@carbon/react": "^1.20.0",
"@loadable/component": "^5.15.2",
"@slack/web-api": "^5.11.0",
"babel-preset-env": "^1.7.0",
Expand All @@ -57,7 +57,7 @@
"gatsby": "^4.9.2",
"gatsby-image": "^3.7.1",
"gatsby-plugin-image": "^2.9.0",
"gatsby-theme-carbon": "^3.0.0-next.12",
"gatsby-theme-carbon": "^3.0.0-next.13",
"lodash-es": "^4.17.15",
"markdown-it": "^12.3.2",
"nanoid": "^2.1.11",
Expand Down
35 changes: 35 additions & 0 deletions src/components/Banner/Banner.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
import React from 'react';
import { Button } from '@carbon/react';
import { ArrowRight } from '@carbon/react/icons';

import {
banner,
bannerText,
bannerHeading,
bannerDetails,
buttonBanner,
} from './Banner.module.scss';

const Banner = () => {
return (
<div aria-label="banner" className={banner}>
<p className={bannerText}>
<strong className={bannerHeading}>
A new web experience is coming!
</strong>
<span className={bannerDetails}>
The v1 Carbon platform is now available in public beta.
</span>
</p>
<Button
href="https://next.carbondesignsystem.com"
className={buttonBanner}
kind="ghost"
renderIcon={ArrowRight}>
Try the Carbon Platform
</Button>
</div>
);
};

export default Banner;
61 changes: 61 additions & 0 deletions src/components/Banner/Banner.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
// position header, left nav and content with banner
.banner + :global(.cds--header),
.banner + header + nav + div[class*='leftNavWrapper'],
.banner + header + nav + div + span + div + #main-content {
top: rem(48px);
}

// adjust nav container to account for banner
.banner + header + nav[class*='Switcher-module--nav'] {
top: 6rem;
}

// banner styles
.banner {
position: fixed;
top: 0;
z-index: 99999;
display: flex;
width: 100%;
height: rem(48px);
justify-content: space-between;

background: $blue-70;
color: $text-on-color;
}

.banner-text {
display: none;

@include breakpoint('md') {
@include type-style('body-short-01');

display: block;
padding: rem(15px) 0 0 $spacing-05;
}
}

.banner-details {
display: none;

@include breakpoint('lg') {
display: inline;
padding-left: $spacing-03;
}
}

// override carbon button styles
.banner :global(.cds--btn--ghost).button-banner {
width: 100%;
max-width: 100%;
color: $text-on-color;

@include breakpoint('md') {
width: auto;
}

&:hover {
background: $blue-70-hover;
color: $text-on-color;
}
}
3 changes: 3 additions & 0 deletions src/components/Banner/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import Banner from './Banner';

export default Banner;
4 changes: 2 additions & 2 deletions src/components/ColorBlock/color-block.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
width: rem(14px);
border-radius: rem(14px);
border: 1px solid $gray-30;
left: -1px;
top: -1px;
left: 0px;
top: 0px;
}
}

Expand Down
1 change: 0 additions & 1 deletion src/components/ColorPalette/ColorPalette.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@
#a2191f,
#da1e28,
#fa4d56,
#fa4d56,
#ffb3b8,
#ffd7d9,
#fff1f1,
Expand Down
6 changes: 4 additions & 2 deletions src/components/ComponentDemo/ComponentDemo.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -233,14 +233,16 @@

// custom classnames are being applied to both fieldset and label
// https://github.com/carbon-design-system/carbon/issues/4572
fieldset.form-group {
fieldset.form-group,
fieldset[class*='--radio-button-group'] {
padding: 1rem;
padding-top: 0;
margin-bottom: 0;
border-bottom: 1px solid $ui-03;
}

fieldset.form-group:last-of-type {
fieldset.form-group:last-of-type,
fieldset[class*='--radio-button-group']:last-of-type {
border-bottom: 0;
}

Expand Down
40 changes: 18 additions & 22 deletions src/components/ComponentDemo/KnobContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ const Component = ({
<div
role="group"
aria-labelledby={componentGroupId}
className={componentKnobWrapper}
>
className={componentKnobWrapper}>
{booleanKnobs.length > 0 && (
<FormGroup className={formGroup} legendText="Modifiers">
{booleanKnobs.map(([name, info]) => (
Expand Down Expand Up @@ -228,22 +227,21 @@ const Knob = ({
}

return (
<FormGroup className={formGroup} legendText={name}>
<RadioButtonGroup
onChange={(val) => updateKnob(val)}
defaultSelected={defaultSelected}
name={name}
orientation="vertical"
>
{values.map(({ value }) => (
<RadioButton
key={`${inputId}-${value}`}
value={value}
labelText={value.replace(/'/g, '')}
/>
))}
</RadioButtonGroup>
</FormGroup>
<RadioButtonGroup
className={formGroup}
legendText={name}
onChange={(val) => updateKnob(val)}
defaultSelected={defaultSelected}
name={name}
orientation="vertical">
{values.map(({ value }) => (
<RadioButton
key={`${inputId}-${value}`}
value={value}
labelText={value.replace(/'/g, '')}
/>
))}
</RadioButtonGroup>
);
}
return '';
Expand Down Expand Up @@ -291,15 +289,13 @@ const KnobContainer = ({ knobs, code, setCode, initialCode, variantId }) => {
<Form
className={cx(knobContainer, {
[knobContainerCollapsed]: isMobile && isKnobContainerCollapsed,
})}
>
})}>
{isMobile && (
<div className={iconButtonRow}>
<button
className={iconButton}
type="button"
onClick={() => setIsKnobContainerCollapsed(true)}
>
onClick={() => setIsKnobContainerCollapsed(true)}>
<Close size={20} />
</button>
</div>
Expand Down
Loading