Skip to content

Commit 727d389

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
feat(integrations): add Bitbucket Cloud
1 parent 936e1ac commit 727d389

79 files changed

Lines changed: 12662 additions & 9 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/docs/components/icons.tsx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,38 @@ export function GithubOutlineIcon(props: SVGProps<SVGSVGElement>) {
754754
)
755755
}
756756

757+
export function BitbucketIcon(props: SVGProps<SVGSVGElement>) {
758+
const id = useId()
759+
const gradientId = `bitbucket_original_a_${id}`
760+
761+
return (
762+
<svg {...props} viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'>
763+
<defs>
764+
<linearGradient
765+
id={gradientId}
766+
gradientUnits='userSpaceOnUse'
767+
x1='28.593'
768+
y1='14.226'
769+
x2='16.672'
770+
y2='23.532'
771+
gradientTransform='scale(4)'
772+
>
773+
<stop offset='.176' stopColor='#0052cc' />
774+
<stop offset='1' stopColor='#2684ff' />
775+
</linearGradient>
776+
</defs>
777+
<path
778+
d='M19.082 20c-1.918 0-3.355 1.758-3.039 3.516l12.95 79.289c.32 2.078 2.077 3.515 4.155 3.515h62.66c1.442 0 2.72-1.12 3.04-2.558l13.109-80.086c.316-1.918-1.121-3.516-3.039-3.516zM74.07 77.227H54.09l-5.278-28.293h30.215zm0 0'
779+
fill='#2684ff'
780+
/>
781+
<path
782+
d='M107.64 48.934H78.868L74.07 77.227H54.09l-23.5 27.972s1.12.961 2.719.961h62.66c1.441 0 2.719-1.12 3.039-2.558zm0 0'
783+
fill={`url(#${gradientId})`}
784+
/>
785+
</svg>
786+
)
787+
}
788+
757789
export function GitLabIcon(props: SVGProps<SVGSVGElement>) {
758790
return (
759791
<svg {...props} width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>

apps/docs/components/ui/icon-mapping.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import {
2424
AttioIcon,
2525
AzureDataExplorerIcon,
2626
AzureIcon,
27+
BitbucketIcon,
2728
BoxCompanyIcon,
2829
BrainIcon,
2930
BrandfetchIcon,
@@ -285,6 +286,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
285286
attio: AttioIcon,
286287
azure_data_explorer: AzureDataExplorerIcon,
287288
azure_devops: AzureIcon,
289+
bitbucket: BitbucketIcon,
288290
box: BoxCompanyIcon,
289291
brandfetch: BrandfetchIcon,
290292
brex: BrexIcon,

0 commit comments

Comments
 (0)