Skip to content

Commit f56a97c

Browse files
janechuchrisdholt
authored andcommitted
feat: add form plugin ids to schemas in component libraries (#1548)
1 parent 52953ce commit f56a97c

File tree

60 files changed

+136
-14
lines changed

Some content is hidden

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

60 files changed

+136
-14
lines changed

packages/fast-components-react-base/src/badge/badge.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
"description": "A badge component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/badge",
7+
"formPluginId": "@microsoft/fast-components-react-base/badge",
78
"properties": {},
89
"reactProperties": {
910
"children": {
1011
"title": "Children",
1112
"type": "children",
13+
"formPluginId": "@microsoft/fast-components-react-base/badge/children",
1214
"defaults": [
1315
"text"
1416
]

packages/fast-components-react-base/src/breadcrumb/breadcrumb.schema.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A breadcrumb component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/breadcrumb",
7+
"formPluginId": "@microsoft/fast-components-react-base/breadcrumb",
78
"properties": {
89
"label": {
910
"title": "label",
@@ -13,11 +14,16 @@
1314
"reactProperties": {
1415
"children": {
1516
"title": "Children",
16-
"type": "children"
17+
"type": "children",
18+
"formPluginId": "@microsoft/fast-components-react-base/breadcrumb/children",
19+
"defaults": [
20+
"text"
21+
]
1722
},
1823
"separator": {
1924
"title": "Separator",
2025
"type": "children",
26+
"formPluginId": "@microsoft/fast-components-react-base/badbreadcrumbge/separator",
2127
"pluginId": "@microsoft/fast-components-react-base/breadcrumb/separator",
2228
"defaults": [
2329
"text"

packages/fast-components-react-base/src/button/button.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A button component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/button",
7+
"formPluginId": "@microsoft/fast-components-react-base/button",
78
"properties": {
89
"disabled": {
910
"title": "Disabled",
@@ -18,6 +19,7 @@
1819
"children": {
1920
"title": "Children",
2021
"type": "children",
22+
"formPluginId": "@microsoft/fast-components-react-base/button/children",
2123
"defaults": [
2224
"text"
2325
]

packages/fast-components-react-base/src/card/card.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A card component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/card",
7+
"formPluginId": "@microsoft/fast-components-react-base/card",
78
"properties": {
89
"tag": {
910
"title": "HTML tag",
@@ -20,6 +21,7 @@
2021
"children": {
2122
"title": "Children",
2223
"type": "children",
24+
"formPluginId": "@microsoft/fast-components-react-base/card/children",
2325
"defaults": [
2426
"text"
2527
]

packages/fast-components-react-base/src/checkbox/checkbox.schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A checkbox component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/checkbox",
7+
"formPluginId": "@microsoft/fast-components-react-base/checkbox",
78
"properties": {
89
"checked": {
910
"title": "Checked",
@@ -25,7 +26,8 @@
2526
"reactProperties": {
2627
"children": {
2728
"title": "Children",
28-
"type": "children"
29+
"type": "children",
30+
"formPluginId": "@microsoft/fast-components-react-base/checkbox/children"
2931
}
3032
}
3133
}

packages/fast-components-react-base/src/context-menu-item/context-menu-item.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A context menu item component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/context-menu-item",
7+
"formPluginId": "@microsoft/fast-components-react-base/context-menu-item",
78
"properties": {
89
"disabled": {
910
"title": "Disabled",
@@ -24,6 +25,7 @@
2425
"children": {
2526
"title": "Children",
2627
"type": "children",
28+
"formPluginId": "@microsoft/fast-components-react-base/context-menu-item/children",
2729
"ids": ["metatext"],
2830
"defaults": [
2931
"text"

packages/fast-components-react-base/src/context-menu/context-menu.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@
44
"description": "A context menu component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/context-menu",
7+
"formPluginId": "@microsoft/fast-components-react-base/context-menu",
78
"properties": {
89
},
910
"reactProperties": {
1011
"children": {
1112
"title": "Children",
1213
"type": "children",
14+
"formPluginId": "@microsoft/fast-components-react-base/context-menu/children",
1315
"ids": [
1416
"context-menu-item",
1517
"divider"

packages/fast-components-react-base/src/dialog/dialog.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A dialog component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/dialog",
7+
"formPluginId": "@microsoft/fast-components-react-base/dialog",
78
"properties": {
89
"describedBy": {
910
"title": "HTML aria-describedby attribute",
@@ -43,6 +44,7 @@
4344
"children": {
4445
"title": "Children",
4546
"type": "children",
47+
"formPluginId": "@microsoft/fast-components-react-base/dialog/children",
4648
"defaults": [
4749
"text"
4850
]

packages/fast-components-react-base/src/divider/divider.schema.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A divider component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/divider",
7+
"formPluginId": "@microsoft/fast-components-react-base/divider",
78
"properties": {
89
"role": {
910
"title": "HTML role attribute",

packages/fast-components-react-base/src/horizontal-overflow/horizontal-overflow.schema.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"description": "A horizontal overflow component's schema definition.",
55
"type": "object",
66
"id": "@microsoft/fast-components-react-base/horizontal-overflow",
7+
"formPluginId": "@microsoft/fast-components-react-base/horizontal-overflow",
78
"properties": {
89
"scrollDuration": {
910
"title": "Scroll duration",
@@ -14,6 +15,7 @@
1415
"children": {
1516
"title": "Children",
1617
"type": "children",
18+
"formPluginId": "@microsoft/fast-components-react-base/horizontal-overflow/children",
1719
"defaults": [
1820
"text"
1921
]

0 commit comments

Comments
 (0)