Skip to content

Commit 3b37863

Browse files
committed
feat(CC-batch-2): updated docs urls
1 parent 53fdabe commit 3b37863

File tree

10 files changed

+25
-47
lines changed

10 files changed

+25
-47
lines changed

packages/code-connect/components/Alert/InlineAlert.figma.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import figma from '@figma/code-connect';
22
import { Alert } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly Alert integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/alert
7-
*/
8-
94
figma.connect(
105
Alert,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=1110-2698&m=dev',
@@ -24,6 +19,9 @@ figma.connect(
2419
Custom: 'custom'
2520
})
2621
},
27-
example: (props) => <Alert isExpandable={props.isExpandable} isInline title={props.title} variant={props.variant} />
22+
example: (props) => (
23+
// Documentation for Alert can be found at https://www.patternfly.org/components/alert
24+
<Alert isExpandable={props.isExpandable} isInline title={props.title} variant={props.variant} />
25+
)
2826
}
2927
);

packages/code-connect/components/Alert/InlineAlertGroup.figma.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
import figma from '@figma/code-connect';
22
import { AlertGroup } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly Alert integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/alert
7-
*/
8-
94
figma.connect(
105
AlertGroup,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=1110-2780&m=dev',
127
{
138
props: {
14-
// children
159
children: figma.children('*')
1610
},
1711
example: (props) => (
12+
// Documentation for Alert can be found at https://www.patternfly.org/components/alert
1813
<AlertGroup isLiveRegion hasAnimations>
1914
{props.children}
2015
</AlertGroup>

packages/code-connect/components/Alert/InlinePlainAlert.figma.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import figma from '@figma/code-connect';
22
import { Alert } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly Alert integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/alert
7-
*/
8-
94
figma.connect(
105
Alert,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=1110-2754&m=dev',
@@ -27,6 +22,7 @@ figma.connect(
2722
children: figma.children('*')
2823
},
2924
example: (props) => (
25+
// Documentation for Alert can be found at https://www.patternfly.org/components/alert
3026
<Alert variant={props.variant} title={props.title} variantLabel={props.variant} isInline isPlain />
3127
)
3228
}

packages/code-connect/components/Alert/OverflowFooter.figma.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ figma.connect(
1616

1717
children: figma.children('*')
1818
},
19-
example: (props) => <AlertGroup overflowMessage={props.overflowMessage}>{props.children}</AlertGroup>
19+
example: (props) => (
20+
// Documentation for Alert can be found at https://www.patternfly.org/components/alert
21+
<AlertGroup overflowMessage={props.overflowMessage}>{props.children}</AlertGroup>
22+
)
2023
}
2124
);

packages/code-connect/components/Alert/ToastAlert.figma.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ figma.connect(
2424
Warning: 'warning'
2525
})
2626
},
27-
example: (props) => <Alert title={props.title} variant={props.variant} isExpandable={props.isExpandable} />
27+
example: (props) => (
28+
// Documentation for Alert can be found at https://www.patternfly.org/components/alert
29+
<Alert title={props.title} variant={props.variant} isExpandable={props.isExpandable} />
30+
)
2831
}
2932
);

packages/code-connect/components/Alert/ToastAlertGroup.figma.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import figma from '@figma/code-connect';
22
import { AlertGroup } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly Alert integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/alert
7-
*/
8-
94
figma.connect(
105
AlertGroup,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=1110-2821&m=dev',
@@ -14,6 +9,7 @@ figma.connect(
149
children: figma.children('*')
1510
},
1611
example: (props) => (
12+
// Documentation for Alert can be found at https://www.patternfly.org/components/alert
1713
<AlertGroup isToast isLiveRegion hasAnimations>
1814
{props.children}
1915
</AlertGroup>

packages/code-connect/components/Avatar/Avatar.figma.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import figma from '@figma/code-connect';
22
import { Avatar } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly Avatar integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/avatar
7-
*/
8-
94
figma.connect(
105
Avatar,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6%3A-Components-Test?node-id=1561-4342&m=dev',
@@ -23,6 +18,7 @@ figma.connect(
2318
})
2419
},
2520
example: (props) => (
21+
// Documentation for Avatar can be found at https://www.patternfly.org/components/avatar
2622
<Avatar alt="Avatar" src="/assets/images/avatar.svg" isBordered={props.isBordered} size={props.size} />
2723
)
2824
}
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
import figma from '@figma/code-connect';
22
import { BackToTop } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly BackToTop integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/back-to-top
7-
*/
8-
94
figma.connect(
105
BackToTop,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=1521-958&m=dev',
127
{
138
props: {
149
text: figma.string('Text')
1510
},
16-
example: (props) => <BackToTop title={props.text} />
11+
example: (props) => (
12+
// Documentation for BackToTop can be found at https://www.patternfly.org/components/back-to-top
13+
<BackToTop title={props.text} />
14+
)
1715
}
1816
);
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
import figma from '@figma/code-connect';
22
import { Backdrop } from '@patternfly/react-core';
33

4-
/**
5-
/**
6-
* PatternFly Backdrop integration for Figma Code Connect
7-
* @patternfly https://www.patternfly.org/components/backdrop
8-
*/
9-
104
figma.connect(
115
Backdrop,
126
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6%3A-Components-Test?node-id=2873-2900&m=dev',
137
{
14-
example: () => <Backdrop />
8+
example: () => (
9+
// Documentation for Backdrop can be found at https://www.patternfly.org/components/backdrop
10+
<Backdrop />
11+
)
1512
}
1613
);

packages/code-connect/components/Badge/Badge.figma.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
import figma from '@figma/code-connect';
22
import { Badge } from '@patternfly/react-core';
33

4-
/**
5-
* PatternFly Badge integration for Figma Code Connect
6-
* @patternfly https://www.patternfly.org/components/badge
7-
*/
8-
94
figma.connect(
105
Badge,
116
'https://www.figma.com/design/aEBBvq0J3EPXxHvv6WgDx9/PatternFly-6--Components-Test?node-id=1259-1132&m=dev',
@@ -21,6 +16,7 @@ figma.connect(
2116
})
2217
},
2318
example: (props) => (
19+
// Documentation for Badge can be found at https://www.patternfly.org/components/badge
2420
<Badge isRead={props.isRead} isDisabled={props.isDisabled} screenReaderText="Badge">
2521
{props.text}
2622
</Badge>

0 commit comments

Comments
 (0)