@cratis/pi 7.153.5 → 7.153.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +1 -0
- package/package/corpus/rules/profiles.md +1 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +24 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/SKILL.md +3 -0
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/statemachines-and-workflows.md +9 -9
- package/package/corpus/skills/cratis-screenplay-automations-and-translations/references/systems-and-abilities.md +143 -0
- package/package/corpus/skills/cratis-screenplay-extension-packages/SKILL.md +62 -0
- package/package/corpus/skills/cratis-screenplay-extension-packages/verification.json +13 -0
- package/package/corpus/skills/cratis-screenplay-specifications/SKILL.md +3 -1
- package/package/corpus/skills/cratis-screenplay-specifications/references/ability-answers.md +12 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/SKILL.md +2 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/neighbouring-skills.md +1 -0
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.json +43871 -30547
- package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version +1 -1
- package/package/corpus/skills/cratis-screenplay-ui-composition/SKILL.md +2 -0
- package/package/corpus/skills/cratis-screenplay-ui-composition/references/extension-components.md +19 -0
- package/package/profile-catalog.json +1 -0
- package/package.json +1 -1
package/package/corpus/skills/cratis-screenplay-toolchain/references/screenplay-contract.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.24.0
|
|
@@ -263,6 +263,8 @@ precedence, PLAY0485 and examples.
|
|
|
263
263
|
button. `on <Trigger>` observes an application trigger and `raise <Trigger>`
|
|
264
264
|
fires one; that is where the two meet.
|
|
265
265
|
|
|
266
|
+
Extension components: [reference](references/extension-components.md).
|
|
267
|
+
|
|
266
268
|
## `design system`, `theme` and `ui profile`
|
|
267
269
|
|
|
268
270
|
The `design system` is the per-application contract; a `theme` implements it with values; a `ui profile` picks a theme, and `appearance` keeps only `color scheme` (`accent`, `corners`, `font`: `PLAY0929`). Read [references/design-system-and-themes.md](references/design-system-and-themes.md) first.
|
package/package/corpus/skills/cratis-screenplay-ui-composition/references/extension-components.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Extension components
|
|
2
|
+
|
|
3
|
+
A screen places a component an [extension package](../../cratis-screenplay-extension-packages/SKILL.md) provides through the system that names the extension, never through the package: `component <System>.<Component> <name>`. Swapping a compatible provider changes nothing on the screen.
|
|
4
|
+
|
|
5
|
+
```play
|
|
6
|
+
screen Checkout
|
|
7
|
+
component Payments.PaymentForm payment
|
|
8
|
+
property amount = "10"
|
|
9
|
+
on succeeded
|
|
10
|
+
execute ConfirmPayment
|
|
11
|
+
with paymentIntentId from signal.paymentIntentId
|
|
12
|
+
on failed
|
|
13
|
+
notify warning "The payment failed"
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
- `property` lines, `on <signal>` (camel case, a signal the component `raises`) and `signal.<value>` (a typed value the handled signal carries) are checked against the restored contract: `PLAY1114` unknown component, `PLAY1115` undeclared property, `PLAY1116` signal not raised, `PLAY1117` value the signal does not carry or no signal handled. `on <System>.<Trigger>` is checked against the contract's triggers (`PLAY1112`).
|
|
17
|
+
- A `ui profile` platform that the component's `platform` lines do not list is the warning `PLAY1118`.
|
|
18
|
+
- Nothing is checked until the contract is restored; an unrestored contract is reported where the system names the extension (`PLAY1108`).
|
|
19
|
+
- Read Screenplay [screens: extension components](https://github.com/Cratis/Screenplay/blob/main/Documentation/screenplay/screens.md#extension-components), [interaction triggers](https://github.com/Cratis/Screenplay/blob/main/Documentation/screenplay/interactions.md#interaction-triggers) and the [UI contract](https://github.com/Cratis/Screenplay/blob/main/Documentation/screenplay/ui-contract.md#extension-components) for exact placement. Stage's component hosting is in its [extensions documentation](https://github.com/Cratis/Stage/blob/main/Documentation/extensions/index.md); do not claim a component renders without a render and run.
|
|
@@ -984,6 +984,7 @@
|
|
|
984
984
|
"cratis-screenplay-delivery-planning",
|
|
985
985
|
"cratis-screenplay-discovery",
|
|
986
986
|
"cratis-screenplay-event-modeling",
|
|
987
|
+
"cratis-screenplay-extension-packages",
|
|
987
988
|
"cratis-screenplay-legacy-extraction",
|
|
988
989
|
"cratis-screenplay-model-authoring",
|
|
989
990
|
"cratis-screenplay-model-review",
|