-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add_typescript_types_to_fluidSearch
- Loading branch information
Showing
194 changed files
with
779 additions
and
1,112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-3.02 KB
.yarn/cache/@babel-plugin-proposal-class-properties-npm-7.18.6-5f5c2d730f-49a78a2773.zip
Binary file not shown.
Binary file removed
BIN
-3.42 KB
...e/@babel-plugin-proposal-nullish-coalescing-operator-npm-7.18.6-cf22ea8526-949c9ddcde.zip
Binary file not shown.
Binary file removed
BIN
-11 KB
.yarn/cache/@babel-plugin-proposal-optional-chaining-npm-7.21.0-cdbb1b2888-522cd133af.zip
Binary file not shown.
Binary file renamed
BIN
+183 KB
...nnect-npm-1.0.4-5b7b3be79e-a412e63774.zip → ...nnect-npm-1.0.6-db319a49b3-952cf06f6a.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+157 KB
.yarn/cache/@jsonjoy.com-json-pack-npm-1.1.0-14d39591c6-cd2776085a.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.7 KB
.yarn/cache/@leichtgewicht-ip-codec-npm-2.0.5-23deb9e4c5-cb98c60839.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.46 KB
.yarn/cache/@types-connect-history-api-fallback-npm-1.3.5-a53af77794-464d06e5ab.zip
Binary file not shown.
Binary file added
BIN
+3.27 KB
.yarn/cache/@types-connect-history-api-fallback-npm-1.5.4-c8b583432c-e1dee43b85.zip
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 removed
BIN
-4.12 KB
.yarn/cache/@types-serve-static-npm-1.13.10-5434e2c519-62b4e79cb0.zip
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 removed
BIN
-51.7 KB
.yarn/cache/@webassemblyjs-ast-npm-1.12.1-3ff9ea1c0e-a775b05594.zip
Binary file not shown.
Binary file added
BIN
+3.18 KB
.yarn/cache/@webassemblyjs-helper-buffer-npm-1.11.6-69996544b0-b14d0573bf.zip
Binary file not shown.
Binary file removed
BIN
-6.19 KB
.yarn/cache/@webassemblyjs-helper-buffer-npm-1.12.1-d025434a45-1d8705daa4.zip
Binary file not shown.
Binary file added
BIN
+5.07 KB
.yarn/cache/@webassemblyjs-helper-wasm-section-npm-1.11.6-344f8ff2af-38a615ab3d.zip
Binary file not shown.
Binary file removed
BIN
-9.37 KB
.yarn/cache/@webassemblyjs-helper-wasm-section-npm-1.12.1-cd0e2f1eab-e91e6b2811.zip
Binary file not shown.
Binary file added
BIN
+6.9 KB
.yarn/cache/@webassemblyjs-wasm-edit-npm-1.11.6-8d2703f828-c168bfc6d0.zip
Binary file not shown.
Binary file removed
BIN
-12.5 KB
.yarn/cache/@webassemblyjs-wasm-edit-npm-1.12.1-727bec592a-5678ae02db.zip
Binary file not shown.
Binary file added
BIN
+5.37 KB
.yarn/cache/@webassemblyjs-wasm-gen-npm-1.11.6-0ca036cab0-f91903506c.zip
Binary file not shown.
Binary file removed
BIN
-9.5 KB
.yarn/cache/@webassemblyjs-wasm-gen-npm-1.12.1-bbe22ad265-ec45bd50e8.zip
Binary file not shown.
Binary file added
BIN
+3.46 KB
.yarn/cache/@webassemblyjs-wasm-opt-npm-1.11.6-8be3443975-e0cfeea381.zip
Binary file not shown.
Binary file removed
BIN
-6.76 KB
.yarn/cache/@webassemblyjs-wasm-opt-npm-1.12.1-450c932de6-21f25ae109.zip
Binary file not shown.
Binary file added
BIN
+14.4 KB
.yarn/cache/@webassemblyjs-wasm-parser-npm-1.11.6-88e2433c21-6995e0b7b8.zip
Binary file not shown.
Binary file removed
BIN
-27.3 KB
.yarn/cache/@webassemblyjs-wasm-parser-npm-1.12.1-54a7a19806-f7311685b7.zip
Binary file not shown.
Binary file added
BIN
+5.04 KB
.yarn/cache/@webassemblyjs-wast-printer-npm-1.11.6-3191861e3f-fd45fd0d69.zip
Binary file not shown.
Binary file removed
BIN
-9.59 KB
.yarn/cache/@webassemblyjs-wast-printer-npm-1.12.1-e75655c7ff-1a6a4b6bc4.zip
Binary file not shown.
Binary file added
BIN
+8.87 KB
.yarn/cache/acorn-import-assertions-npm-1.9.0-22f56507c7-af8dd58f6b.zip
Binary file not shown.
Binary file removed
BIN
-10.6 KB
.yarn/cache/acorn-import-attributes-npm-1.9.5-d1e666eb35-8bfbfbb6e2.zip
Binary file not shown.
Binary file renamed
BIN
+394 KB
.../ajv-npm-8.12.0-3bf6e30741-b406f3b79b.zip → .../ajv-npm-8.17.1-12ade7edc6-ee3c62162c.zip
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 removed
BIN
-6.03 KB
.yarn/cache/connect-history-api-fallback-npm-1.6.0-6fbd7fa228-59f013870e.zip
Binary file not shown.
Binary file added
BIN
+5.3 KB
.yarn/cache/connect-history-api-fallback-npm-2.0.0-27b00b1571-3b26bf4041.zip
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 renamed
BIN
+135 KB
...glob-npm-10.4.1-a0d030e0a9-d7bb49d2b4.zip → ...glob-npm-10.4.5-8c63175f05-698dfe1182.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+28 KB
...eware-npm-2.0.4-d210ef65f4-642092bcd9.zip → ...eware-npm-2.0.6-3bb17658ee-768e7ae5a4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.64 KB
.yarn/cache/is-accessor-descriptor-npm-0.1.6-41c495d517-3d629a086a.zip
Binary file not shown.
Binary file removed
BIN
-4.17 KB
.yarn/cache/is-accessor-descriptor-npm-1.0.0-d8ce016e98-8e475968e9.zip
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 removed
BIN
-3.4 KB
.yarn/cache/multicast-dns-service-types-npm-1.1.0-d019ff060c-0979fca1cc.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+457 KB
...forge-npm-1.3.0-17da5aca4f-ce829501c8.zip → ...forge-npm-1.3.1-f31fd566cc-05bab68686.zip
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 removed
BIN
-3.98 KB
.yarn/cache/posix-character-classes-npm-0.1.1-3e228a6e15-dedb99913c.zip
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 removed
BIN
-22.4 KB
.yarn/cache/terser-webpack-plugin-npm-5.3.10-3bde1920fb-fb1c2436ae.zip
Binary file not shown.
Binary file added
BIN
+22.4 KB
.yarn/cache/terser-webpack-plugin-npm-5.3.9-7ba1eb45f4-339737a407.zip
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 removed
BIN
-27.6 KB
.yarn/cache/webpack-dev-middleware-npm-5.3.1-d0af662601-4b2609cc65.zip
Binary file not shown.
Binary file added
BIN
+40.9 KB
.yarn/cache/webpack-dev-middleware-npm-7.4.1-6727840c35-8be3133374.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/** | ||
* Copyright IBM Corp. 2016, 2024 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
// @ts-nocheck | ||
import React from 'react'; | ||
import { AILabel } from '@carbon/react'; | ||
import figma from '@figma/code-connect'; | ||
|
||
figma.connect( | ||
AILabel, | ||
'https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-All-themes---Carbon-Design-System?node-id=51447-1916&t=9XaizJDx8eI6KgQz-4', | ||
{ | ||
props: { | ||
aiText: figma.string('Text translation'), | ||
size: figma.enum('Size', { | ||
'16px': 'mini', | ||
'20px': '2xs', | ||
'24px': 'xs', | ||
'32px': 'sm', | ||
'40px': 'md', | ||
'48px': 'lg', | ||
'64px': 'xl', | ||
}), | ||
}, | ||
example: ({ ...props }) => <AILabel autoAlign {...props} />, | ||
} | ||
); | ||
|
||
// inline | ||
figma.connect( | ||
AILabel, | ||
'https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-All-themes---Carbon-Design-System?node-id=51447-2035&t=9XaizJDx8eI6KgQz-4', | ||
{ | ||
props: { | ||
aiText: figma.string('Text translation'), | ||
textLabel: figma.enum('Type', { | ||
'Text + Icon': figma.string('Slug text'), | ||
}), | ||
size: figma.enum('Size', { | ||
'12px': 'sm', | ||
'14px': 'md', | ||
'16px': 'lg', | ||
}), | ||
}, | ||
example: ({ ...props }) => <AILabel autoAlign kind="inline" {...props} />, | ||
} | ||
); |
22 changes: 22 additions & 0 deletions
22
packages/react/code-connect/AILabel/AILabelActions.figma.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Copyright IBM Corp. 2016, 2024 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
// @ts-nocheck | ||
import React from 'react'; | ||
import { AILabelActions } from '@carbon/react'; | ||
import figma from '@figma/code-connect'; | ||
|
||
figma.connect( | ||
AILabelActions, | ||
'https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-All-themes---Carbon-Design-System?node-id=57561-3559&t=SB9qULZbn3FRopvU-4', | ||
{ | ||
props: { | ||
children: figma.children('*'), | ||
}, | ||
example: ({ children }) => <AILabelActions>{children}</AILabelActions>, | ||
} | ||
); |
64 changes: 64 additions & 0 deletions
64
packages/react/code-connect/AILabel/AILabelContent.figma.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
/** | ||
* Copyright IBM Corp. 2016, 2024 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
// @ts-nocheck | ||
import React from 'react'; | ||
import { AILabelContent } from '@carbon/react'; | ||
import figma from '@figma/code-connect'; | ||
|
||
figma.connect( | ||
AILabelContent, | ||
'https://www.figma.com/design/YAnB1jKx0yCUL29j6uSLpg/(v11)-All-themes---Carbon-Design-System?node-id=57561-3508&t=SB9qULZbn3FRopvU-4', | ||
{ | ||
props: { | ||
title: figma.string('AI title'), | ||
description: figma.string('AI description'), | ||
slotOne: figma.boolean('Slot 1', { | ||
true: figma.instance('Swap slot 1'), | ||
false: '', | ||
}), | ||
slotTwo: figma.boolean('Slot 2', { | ||
true: figma.instance('Swap slot 2'), | ||
}), | ||
slotThree: figma.boolean('Slot 3', { | ||
true: figma.instance('Swap slot 3'), | ||
}), | ||
slotFour: figma.boolean('Slot 4', { | ||
true: figma.instance('Swap slot 4'), | ||
}), | ||
actions: figma.children(['Actions footer']), | ||
}, | ||
example: ({ | ||
title, | ||
description, | ||
slotOne, | ||
slotTwo, | ||
slotThree, | ||
slotFour, | ||
actions, | ||
}) => ( | ||
<AILabelContent> | ||
{slotOne} | ||
<div> | ||
<p>AI Explained</p> | ||
<h1>{title}</h1> | ||
<p>{description}</p> | ||
{slotOne} | ||
<hr /> | ||
{slotTwo} | ||
<p> | ||
This is sample placeholder content, replace with your own content | ||
and custom styles. | ||
</p> | ||
{slotThree} | ||
{slotFour} | ||
</div> | ||
{actions} | ||
</AILabelContent> | ||
), | ||
} | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.