Skip to content

Commit fa0843c

Browse files
rahulamlekarRahulAmlekar
andauthored
1.5 website schema explorer updates (#6550)
* Updating schema explorer properties * adding tableCell to toc and attempting whitespace fix * indentation fix indentation fix * Removing filtered prop Removing filtered prop - it's auto generated in our build Co-authored-by: RahulAmlekar <raamleka@microsoft.com>
1 parent 8cfd8c1 commit fa0843c

File tree

8 files changed

+29
-5
lines changed

8 files changed

+29
-5
lines changed

schemas/1.5.0/adaptive-card.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,18 @@
314314
2293
315315
]
316316
},
317+
"rtl": {
318+
"anyOf": [
319+
{
320+
"type": "boolean"
321+
},
322+
{
323+
"type": "null"
324+
}
325+
],
326+
"description": "When `true` content in this Adaptive Card should be presented right to left. When 'false' content in this Adaptive Card should be presented left to right. If unset, the default platform behavior will apply.",
327+
"version": "1.5"
328+
},
317329
"speak": {
318330
"type": "string",
319331
"description": "Specifies what should be spoken for this entire card. This is simple text or SSML fragment."
@@ -447,7 +459,7 @@
447459
"type": "null"
448460
}
449461
],
450-
"description": "When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.",
462+
"description": "When `true` content in this column should be presented right to left. When 'false' content in this column should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.",
451463
"version": "1.5"
452464
},
453465
"separator": {

schemas/src/AdaptiveCard.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@
6161
2293
6262
]
6363
},
64+
"rtl": {
65+
"type": "boolean?",
66+
"description": "When `true` content in this Adaptive Card should be presented right to left. When 'false' content in this Adaptive Card should be presented left to right. If unset, the default platform behavior will apply.",
67+
"version": "1.5"
68+
},
6469
"speak": {
6570
"type": "string",
6671
"description": "Specifies what should be spoken for this entire card. This is simple text or SSML fragment."

schemas/src/elements/Column.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"rtl": {
4646
"type": "boolean?",
47-
"description": "When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.",
47+
"description": "When `true` content in this column should be presented right to left. When 'false' content in this column should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply.",
4848
"version": "1.5"
4949
},
5050
"separator": {

schemas/src/enums/ChoiceInputStyle.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"description": "Style hint for `Input.ChoiceSet`.",
55
"values": [
66
"compact",
7-
"expanded"
7+
"expanded",
8+
{
9+
"value": "filtered",
10+
"description": "Allows users to filter choices in a choice set.",
11+
"version": "1.5"
12+
}
813
]
914
}

source/nodejs/adaptivecards-site/schema-explorer-toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
- Fact
1717
- ImageSet
1818
- Table
19+
- TableCell
1920
- Actions:
2021
- Action.OpenUrl
2122
- Action.Submit

specs/elements/AdaptiveCard.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
| **fallbackText** | `string` | No | Text shown when the client doesn't support the version specified (may contain markdown). | 1.0 |
1515
| **backgroundImage** | `BackgroundImage`, `uri` | No | Specifies the background image of the card. | 1.2, 1.0 |
1616
| **minHeight** | `string` | No | Specifies the minimum height of the card. | 1.2 |
17+
| **rtl** | `boolean?` | No | When `true` content in this Adaptive Card should be presented right to left. When 'false' content in this Adaptive Card should be presented left to right. If unset, the default platform behavior will apply. | 1.5 |
1718
| **speak** | `string` | No | Specifies what should be spoken for this entire card. This is simple text or SSML fragment. | 1.0 |
1819
| **lang** | `string` | No | The 2-letter ISO-639-1 language used in the card. Used to localize any date/time functions. | 1.0 |
1920
| **verticalContentAlignment** | `VerticalContentAlignment` | No | Defines how the content should be aligned vertically within the container. Only relevant for fixed-height cards, or cards with a `minHeight` specified. | 1.1 |

specs/elements/Column.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| **bleed** | `boolean` | No | Determines whether the column should bleed through its parent's padding. | 1.2 |
1010
| **fallback** | `Column`, `FallbackOption` | No | Describes what to do when an unknown item is encountered or the requires of this or any children can't be met. | 1.2 |
1111
| **minHeight** | `string` | No | Specifies the minimum height of the column in pixels, like `"80px"`. | 1.2 |
12-
| **rtl** | `boolean?` | No | When `true` content in this container should be presented right to left. When 'false' content in this container should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply. | 1.5 |
12+
| **rtl** | `boolean?` | No | When `true` content in this column should be presented right to left. When 'false' content in this column should be presented left to right. When unset layout direction will inherit from parent container or column. If unset in all ancestors, the default platform behavior will apply. | 1.5 |
1313
| **separator** | `boolean` | No | When `true`, draw a separating line between this column and the previous column. | 1.0 |
1414
| **spacing** | `Spacing` | No | Controls the amount of spacing between this column and the preceding column. | 1.0 |
1515
| **selectAction** | `ISelectAction` | No | An Action that will be invoked when the `Column` is tapped or selected. `Action.ShowCard` is not supported. | 1.1 |

specs/elements/Input.ChoiceSet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* **Allowed values**:
4646
* `"compact"`
4747
* `"expanded"`
48-
48+
* `"filtered"`: Added in version 1.5. Allows users to filter choices in a choice set.
4949

5050
## fallback
5151

0 commit comments

Comments
 (0)