Skip to content

Commit 8bdb48b

Browse files
fix(code-connect): datepicker and header fix and update to latest (#18254)
* fix(code-connect): datepicker and header fix and update to latest * chore: yarn dedupe --------- Co-authored-by: emyarod <[email protected]>
1 parent 03170a8 commit 8bdb48b

File tree

37 files changed

+143
-128
lines changed

37 files changed

+143
-128
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/react/code-connect/DatePicker/DatePicker.figma.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ figma.connect(
4040
readOnly: figma.enum('State', {
4141
'Read-only': true,
4242
}),
43-
// hideLabel: figma.boolean('Show label ', { // extra space after label in Figma property name causing code connect to break
44-
// true: false,
45-
// false: true,
46-
// }),
43+
hideLabel: figma.boolean('Show label', {
44+
true: false,
45+
false: true,
46+
}),
4747
},
4848
example: ({ ...props }) => (
4949
<DatePicker type="simple">

packages/react/code-connect/UIShell/Header.figma.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import figma from '@figma/code-connect';
1919

2020
figma.connect(
2121
Header,
22-
'https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-All-themes---Carbon-Design-System?node-id=2213-17092&t=A3oys5odsvKkcDFA-4',
22+
'https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-Carbon-Design-System?node-id=92123-1663&t=UFUf7yvv8SJyoEK1-4',
2323
{
2424
props: {
2525
prefix: figma.boolean('Site prefix', {

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"@babel/preset-typescript": "^7.24.7",
8080
"@carbon/test-utils": "^10.34.0",
8181
"@carbon/themes": "^11.43.0",
82-
"@figma/code-connect": "^1.2.2",
82+
"@figma/code-connect": "^1.2.4",
8383
"@rollup/plugin-babel": "^6.0.0",
8484
"@rollup/plugin-commonjs": "^28.0.0",
8585
"@rollup/plugin-node-resolve": "^15.0.0",

yarn.lock

Lines changed: 137 additions & 122 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)