@oods/component-contracts 0.3.2 → 0.3.3
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/README.md +1 -1
- package/dist/index.cjs +30 -41
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +30 -41
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,4 +29,4 @@ Use matching versions of the OODS packages. These packages are separate from the
|
|
|
29
29
|
|
|
30
30
|
## License
|
|
31
31
|
|
|
32
|
-
Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/component-contracts@0.3.
|
|
32
|
+
Apache License 2.0. See [LICENSE](https://cdn.jsdelivr.net/npm/@oods/component-contracts@0.3.3/LICENSE) and [NOTICE](https://cdn.jsdelivr.net/npm/@oods/component-contracts@0.3.3/NOTICE). Generated output belongs to its user; installed package dependencies retain their own licenses.
|
package/dist/index.cjs
CHANGED
|
@@ -15412,22 +15412,17 @@ var authoredContracts = {
|
|
|
15412
15412
|
AuditTimeline: {
|
|
15413
15413
|
id: "AuditTimeline",
|
|
15414
15414
|
version: COMPONENT_CONTRACT_VERSION,
|
|
15415
|
-
props: [
|
|
15416
|
-
|
|
15417
|
-
"
|
|
15418
|
-
"
|
|
15419
|
-
"
|
|
15420
|
-
"auditLog",
|
|
15415
|
+
props: ["title", "events", "history", "entries", "auditLog", "maxVisible", "showFromState", "showActorId", "showReason"],
|
|
15416
|
+
directives: [
|
|
15417
|
+
"field",
|
|
15418
|
+
"historyField",
|
|
15419
|
+
"statesParameter",
|
|
15421
15420
|
"auditLogField",
|
|
15422
15421
|
"createdField",
|
|
15423
15422
|
"updatedField",
|
|
15424
15423
|
"eventField",
|
|
15425
15424
|
"eventTimestampField",
|
|
15426
|
-
"eventOptionsParameter"
|
|
15427
|
-
"maxVisible",
|
|
15428
|
-
"showFromState",
|
|
15429
|
-
"showActorId",
|
|
15430
|
-
"showReason"
|
|
15425
|
+
"eventOptionsParameter"
|
|
15431
15426
|
],
|
|
15432
15427
|
slots: ["default"],
|
|
15433
15428
|
events: [],
|
|
@@ -15539,18 +15534,8 @@ var authoredContracts = {
|
|
|
15539
15534
|
CancellationSummary: {
|
|
15540
15535
|
id: "CancellationSummary",
|
|
15541
15536
|
version: COMPONENT_CONTRACT_VERSION,
|
|
15542
|
-
props: [
|
|
15543
|
-
|
|
15544
|
-
"label",
|
|
15545
|
-
"cancelAtPeriodEnd",
|
|
15546
|
-
"requestedAt",
|
|
15547
|
-
"reason",
|
|
15548
|
-
"code",
|
|
15549
|
-
"cancelAtPeriodEndField",
|
|
15550
|
-
"requestedAtField",
|
|
15551
|
-
"reasonField",
|
|
15552
|
-
"codeField"
|
|
15553
|
-
],
|
|
15537
|
+
props: ["title", "label", "cancelAtPeriodEnd", "requestedAt", "reason", "code"],
|
|
15538
|
+
directives: ["field", "cancelAtPeriodEndField", "requestedAtField", "reasonField", "codeField"],
|
|
15554
15539
|
slots: ["default"],
|
|
15555
15540
|
events: [],
|
|
15556
15541
|
states: ["scheduled", "not-scheduled"],
|
|
@@ -15841,7 +15826,9 @@ var authoredContracts = {
|
|
|
15841
15826
|
"pageSizeOptions",
|
|
15842
15827
|
"showPageSizeSelector",
|
|
15843
15828
|
"showGotoPage",
|
|
15844
|
-
"showItemRange"
|
|
15829
|
+
"showItemRange"
|
|
15830
|
+
],
|
|
15831
|
+
directives: [
|
|
15845
15832
|
"pageField",
|
|
15846
15833
|
"pageSizeField",
|
|
15847
15834
|
"totalItemsField",
|
|
@@ -15937,12 +15924,9 @@ var authoredContracts = {
|
|
|
15937
15924
|
"label",
|
|
15938
15925
|
"value",
|
|
15939
15926
|
"emphasis",
|
|
15940
|
-
"amountField",
|
|
15941
|
-
"currencyField",
|
|
15942
|
-
"intervalField",
|
|
15943
|
-
"minorUnitsParameter",
|
|
15944
15927
|
"minorUnits"
|
|
15945
15928
|
],
|
|
15929
|
+
directives: ["field", "amountField", "currencyField", "intervalField", "minorUnitsParameter"],
|
|
15946
15930
|
slots: ["default"],
|
|
15947
15931
|
events: [],
|
|
15948
15932
|
states: ["priced", "missing-price"],
|
|
@@ -15986,10 +15970,9 @@ var authoredContracts = {
|
|
|
15986
15970
|
"text",
|
|
15987
15971
|
"timezone",
|
|
15988
15972
|
"now",
|
|
15989
|
-
"fallbackField",
|
|
15990
|
-
"timezoneParameter",
|
|
15991
15973
|
"hideWhenEmpty"
|
|
15992
15974
|
],
|
|
15975
|
+
directives: ["field", "fallbackField", "timezoneParameter"],
|
|
15993
15976
|
slots: ["default"],
|
|
15994
15977
|
events: [],
|
|
15995
15978
|
states: ["relative", "absolute", "empty"],
|
|
@@ -16032,12 +16015,9 @@ var authoredContracts = {
|
|
|
16032
16015
|
"debounceMs",
|
|
16033
16016
|
"debounce",
|
|
16034
16017
|
"minQueryLength",
|
|
16035
|
-
"disabled"
|
|
16036
|
-
"placeholderParameter",
|
|
16037
|
-
"debounceParameter",
|
|
16038
|
-
"minQueryLengthParameter",
|
|
16039
|
-
"clearableParameter"
|
|
16018
|
+
"disabled"
|
|
16040
16019
|
],
|
|
16020
|
+
directives: ["field", "placeholderParameter", "debounceParameter", "minQueryLengthParameter", "clearableParameter"],
|
|
16041
16021
|
slots: [],
|
|
16042
16022
|
events: ["valueChange", "update", "search", "clear"],
|
|
16043
16023
|
states: ["empty", "valued", "disabled"],
|
|
@@ -16061,7 +16041,8 @@ var authoredContracts = {
|
|
|
16061
16041
|
Stack: {
|
|
16062
16042
|
id: "Stack",
|
|
16063
16043
|
version: COMPONENT_CONTRACT_VERSION_1_1,
|
|
16064
|
-
props: ["direction", "gap", "align", "justify", "wrap"
|
|
16044
|
+
props: ["direction", "gap", "align", "justify", "wrap"],
|
|
16045
|
+
directives: ["patternComponent", "fields"],
|
|
16065
16046
|
slots: ["default"],
|
|
16066
16047
|
events: [],
|
|
16067
16048
|
states: ["row", "column", "wrapped"],
|
|
@@ -16083,11 +16064,10 @@ var authoredContracts = {
|
|
|
16083
16064
|
"emphasis",
|
|
16084
16065
|
"showIcon",
|
|
16085
16066
|
"variant",
|
|
16086
|
-
"statusField",
|
|
16087
|
-
"domainField",
|
|
16088
16067
|
"readOnly",
|
|
16089
16068
|
"compact"
|
|
16090
16069
|
],
|
|
16070
|
+
directives: ["field", "statusField", "domainField"],
|
|
16091
16071
|
slots: ["default"],
|
|
16092
16072
|
events: [],
|
|
16093
16073
|
states: ["subtle", "solid"],
|
|
@@ -16118,12 +16098,21 @@ var authoredContracts = {
|
|
|
16118
16098
|
"stateHistory",
|
|
16119
16099
|
"status",
|
|
16120
16100
|
"allowedTransitions",
|
|
16121
|
-
"historyField",
|
|
16122
|
-
"statesParameter",
|
|
16123
16101
|
"showActorId",
|
|
16124
16102
|
"showReason",
|
|
16125
16103
|
"maxVisible"
|
|
16126
16104
|
],
|
|
16105
|
+
directives: [
|
|
16106
|
+
"field",
|
|
16107
|
+
"historyField",
|
|
16108
|
+
"statesParameter",
|
|
16109
|
+
"auditLogField",
|
|
16110
|
+
"createdField",
|
|
16111
|
+
"updatedField",
|
|
16112
|
+
"eventField",
|
|
16113
|
+
"eventTimestampField",
|
|
16114
|
+
"eventOptionsParameter"
|
|
16115
|
+
],
|
|
16127
16116
|
slots: ["default"],
|
|
16128
16117
|
events: [],
|
|
16129
16118
|
states: ["populated", "empty"],
|
|
@@ -16348,7 +16337,7 @@ var viz_preview_samples_v1_default = {
|
|
|
16348
16337
|
input: {
|
|
16349
16338
|
name: "Example connected relationships",
|
|
16350
16339
|
description: "Synthetic neighborhood edges illustrating relationships that share an endpoint; these are examples, not live graph data."},
|
|
16351
|
-
svg: '<svg width="360" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" viewBox="0 0 360 200">\n<rect width="360" height="200" x="0" y="0" fill="#F9FAFC"></rect>\n<path d="M208.4 34Q249.7 88.3 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M221.2 150.3Q155.5 166.3 110.4 115.8" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M110.4 115.8Q176.1 99.8 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,110.3635,115.779)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,221.2255,150.2583)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,208.3976,33.9582)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(120.3635 115.779)" fill="#1A1D23">example-document</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(231.2255 150.2583)" fill="#1A1D23">example-project</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(218.3976 33.9582)" fill="#1A1D23">example-team</text>\n<path d="M-108.1 -5l216.2 0l0 24l-216.2 0Z" transform="translate(180 13)" fill="rgb(0,0,0)" fill-opacity="0" stroke="#3c3c41" stroke-width="0" class="oods-zr-2"></path>\n<text dominant-baseline="central" text-anchor="middle" style="font-size:14px;font-family:sans-serif;font-weight:600;" xml:space="preserve" y="7" transform="translate(180 13)" fill="#1A1D23">Example connected relationships</text>\n<style ><![CDATA[\n.oods-zr-0:hover {\ncursor:pointer;\nstroke-width:4;\n}\n.oods-zr-1:hover {\ncursor:pointer;\nfill:rgba(96,9,26,1);\n}\n.oods-zr-2:hover {\npointer-events:none;\n}\n\n]]>\n\n</style>\n</svg>'}
|
|
16340
|
+
svg: '<svg width="360" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" viewBox="0 0 360 200" role="img" aria-label="Example connected relationships" aria-description="Synthetic neighborhood edges illustrating relationships that share an endpoint; these are examples, not live graph data."><title>Example connected relationships</title><desc>Synthetic neighborhood edges illustrating relationships that share an endpoint; these are examples, not live graph data.</desc>\n<rect width="360" height="200" x="0" y="0" fill="#F9FAFC"></rect>\n<path d="M208.4 34Q249.7 88.3 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M221.2 150.3Q155.5 166.3 110.4 115.8" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M110.4 115.8Q176.1 99.8 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,110.3635,115.779)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,221.2255,150.2583)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,208.3976,33.9582)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(120.3635 115.779)" fill="#1A1D23">example-document</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(231.2255 150.2583)" fill="#1A1D23">example-project</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(218.3976 33.9582)" fill="#1A1D23">example-team</text>\n<path d="M-108.1 -5l216.2 0l0 24l-216.2 0Z" transform="translate(180 13)" fill="rgb(0,0,0)" fill-opacity="0" stroke="#3c3c41" stroke-width="0" class="oods-zr-2"></path>\n<text dominant-baseline="central" text-anchor="middle" style="font-size:14px;font-family:sans-serif;font-weight:600;" xml:space="preserve" y="7" transform="translate(180 13)" fill="#1A1D23">Example connected relationships</text>\n<style ><![CDATA[\n.oods-zr-0:hover {\ncursor:pointer;\nstroke-width:4;\n}\n.oods-zr-1:hover {\ncursor:pointer;\nfill:rgba(96,9,26,1);\n}\n.oods-zr-2:hover {\npointer-events:none;\n}\n\n]]>\n\n</style>\n</svg>'}
|
|
16352
16341
|
}
|
|
16353
16342
|
};
|
|
16354
16343
|
|
package/dist/index.d.cts
CHANGED
|
@@ -20,6 +20,12 @@ type ComponentContract = {
|
|
|
20
20
|
id: GovernedComponentId;
|
|
21
21
|
version: '1.0.0' | '1.1.0';
|
|
22
22
|
props: readonly string[];
|
|
23
|
+
/**
|
|
24
|
+
* s221-m02 (#2482 ruling 5): saved-schema composition directives the React and Vue components accept, which code
|
|
25
|
+
* generation consumes (a field binding, a pattern's parts) and the component reads no value from; listed apart from
|
|
26
|
+
* the props a consumer passes.
|
|
27
|
+
*/
|
|
28
|
+
directives?: readonly string[];
|
|
23
29
|
/** Public props needed to name or identify a field; substitution must preserve them. */
|
|
24
30
|
requiredProps?: readonly string[];
|
|
25
31
|
slots: readonly string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ type ComponentContract = {
|
|
|
20
20
|
id: GovernedComponentId;
|
|
21
21
|
version: '1.0.0' | '1.1.0';
|
|
22
22
|
props: readonly string[];
|
|
23
|
+
/**
|
|
24
|
+
* s221-m02 (#2482 ruling 5): saved-schema composition directives the React and Vue components accept, which code
|
|
25
|
+
* generation consumes (a field binding, a pattern's parts) and the component reads no value from; listed apart from
|
|
26
|
+
* the props a consumer passes.
|
|
27
|
+
*/
|
|
28
|
+
directives?: readonly string[];
|
|
23
29
|
/** Public props needed to name or identify a field; substitution must preserve them. */
|
|
24
30
|
requiredProps?: readonly string[];
|
|
25
31
|
slots: readonly string[];
|
package/dist/index.js
CHANGED
|
@@ -15410,22 +15410,17 @@ var authoredContracts = {
|
|
|
15410
15410
|
AuditTimeline: {
|
|
15411
15411
|
id: "AuditTimeline",
|
|
15412
15412
|
version: COMPONENT_CONTRACT_VERSION,
|
|
15413
|
-
props: [
|
|
15414
|
-
|
|
15415
|
-
"
|
|
15416
|
-
"
|
|
15417
|
-
"
|
|
15418
|
-
"auditLog",
|
|
15413
|
+
props: ["title", "events", "history", "entries", "auditLog", "maxVisible", "showFromState", "showActorId", "showReason"],
|
|
15414
|
+
directives: [
|
|
15415
|
+
"field",
|
|
15416
|
+
"historyField",
|
|
15417
|
+
"statesParameter",
|
|
15419
15418
|
"auditLogField",
|
|
15420
15419
|
"createdField",
|
|
15421
15420
|
"updatedField",
|
|
15422
15421
|
"eventField",
|
|
15423
15422
|
"eventTimestampField",
|
|
15424
|
-
"eventOptionsParameter"
|
|
15425
|
-
"maxVisible",
|
|
15426
|
-
"showFromState",
|
|
15427
|
-
"showActorId",
|
|
15428
|
-
"showReason"
|
|
15423
|
+
"eventOptionsParameter"
|
|
15429
15424
|
],
|
|
15430
15425
|
slots: ["default"],
|
|
15431
15426
|
events: [],
|
|
@@ -15537,18 +15532,8 @@ var authoredContracts = {
|
|
|
15537
15532
|
CancellationSummary: {
|
|
15538
15533
|
id: "CancellationSummary",
|
|
15539
15534
|
version: COMPONENT_CONTRACT_VERSION,
|
|
15540
|
-
props: [
|
|
15541
|
-
|
|
15542
|
-
"label",
|
|
15543
|
-
"cancelAtPeriodEnd",
|
|
15544
|
-
"requestedAt",
|
|
15545
|
-
"reason",
|
|
15546
|
-
"code",
|
|
15547
|
-
"cancelAtPeriodEndField",
|
|
15548
|
-
"requestedAtField",
|
|
15549
|
-
"reasonField",
|
|
15550
|
-
"codeField"
|
|
15551
|
-
],
|
|
15535
|
+
props: ["title", "label", "cancelAtPeriodEnd", "requestedAt", "reason", "code"],
|
|
15536
|
+
directives: ["field", "cancelAtPeriodEndField", "requestedAtField", "reasonField", "codeField"],
|
|
15552
15537
|
slots: ["default"],
|
|
15553
15538
|
events: [],
|
|
15554
15539
|
states: ["scheduled", "not-scheduled"],
|
|
@@ -15839,7 +15824,9 @@ var authoredContracts = {
|
|
|
15839
15824
|
"pageSizeOptions",
|
|
15840
15825
|
"showPageSizeSelector",
|
|
15841
15826
|
"showGotoPage",
|
|
15842
|
-
"showItemRange"
|
|
15827
|
+
"showItemRange"
|
|
15828
|
+
],
|
|
15829
|
+
directives: [
|
|
15843
15830
|
"pageField",
|
|
15844
15831
|
"pageSizeField",
|
|
15845
15832
|
"totalItemsField",
|
|
@@ -15935,12 +15922,9 @@ var authoredContracts = {
|
|
|
15935
15922
|
"label",
|
|
15936
15923
|
"value",
|
|
15937
15924
|
"emphasis",
|
|
15938
|
-
"amountField",
|
|
15939
|
-
"currencyField",
|
|
15940
|
-
"intervalField",
|
|
15941
|
-
"minorUnitsParameter",
|
|
15942
15925
|
"minorUnits"
|
|
15943
15926
|
],
|
|
15927
|
+
directives: ["field", "amountField", "currencyField", "intervalField", "minorUnitsParameter"],
|
|
15944
15928
|
slots: ["default"],
|
|
15945
15929
|
events: [],
|
|
15946
15930
|
states: ["priced", "missing-price"],
|
|
@@ -15984,10 +15968,9 @@ var authoredContracts = {
|
|
|
15984
15968
|
"text",
|
|
15985
15969
|
"timezone",
|
|
15986
15970
|
"now",
|
|
15987
|
-
"fallbackField",
|
|
15988
|
-
"timezoneParameter",
|
|
15989
15971
|
"hideWhenEmpty"
|
|
15990
15972
|
],
|
|
15973
|
+
directives: ["field", "fallbackField", "timezoneParameter"],
|
|
15991
15974
|
slots: ["default"],
|
|
15992
15975
|
events: [],
|
|
15993
15976
|
states: ["relative", "absolute", "empty"],
|
|
@@ -16030,12 +16013,9 @@ var authoredContracts = {
|
|
|
16030
16013
|
"debounceMs",
|
|
16031
16014
|
"debounce",
|
|
16032
16015
|
"minQueryLength",
|
|
16033
|
-
"disabled"
|
|
16034
|
-
"placeholderParameter",
|
|
16035
|
-
"debounceParameter",
|
|
16036
|
-
"minQueryLengthParameter",
|
|
16037
|
-
"clearableParameter"
|
|
16016
|
+
"disabled"
|
|
16038
16017
|
],
|
|
16018
|
+
directives: ["field", "placeholderParameter", "debounceParameter", "minQueryLengthParameter", "clearableParameter"],
|
|
16039
16019
|
slots: [],
|
|
16040
16020
|
events: ["valueChange", "update", "search", "clear"],
|
|
16041
16021
|
states: ["empty", "valued", "disabled"],
|
|
@@ -16059,7 +16039,8 @@ var authoredContracts = {
|
|
|
16059
16039
|
Stack: {
|
|
16060
16040
|
id: "Stack",
|
|
16061
16041
|
version: COMPONENT_CONTRACT_VERSION_1_1,
|
|
16062
|
-
props: ["direction", "gap", "align", "justify", "wrap"
|
|
16042
|
+
props: ["direction", "gap", "align", "justify", "wrap"],
|
|
16043
|
+
directives: ["patternComponent", "fields"],
|
|
16063
16044
|
slots: ["default"],
|
|
16064
16045
|
events: [],
|
|
16065
16046
|
states: ["row", "column", "wrapped"],
|
|
@@ -16081,11 +16062,10 @@ var authoredContracts = {
|
|
|
16081
16062
|
"emphasis",
|
|
16082
16063
|
"showIcon",
|
|
16083
16064
|
"variant",
|
|
16084
|
-
"statusField",
|
|
16085
|
-
"domainField",
|
|
16086
16065
|
"readOnly",
|
|
16087
16066
|
"compact"
|
|
16088
16067
|
],
|
|
16068
|
+
directives: ["field", "statusField", "domainField"],
|
|
16089
16069
|
slots: ["default"],
|
|
16090
16070
|
events: [],
|
|
16091
16071
|
states: ["subtle", "solid"],
|
|
@@ -16116,12 +16096,21 @@ var authoredContracts = {
|
|
|
16116
16096
|
"stateHistory",
|
|
16117
16097
|
"status",
|
|
16118
16098
|
"allowedTransitions",
|
|
16119
|
-
"historyField",
|
|
16120
|
-
"statesParameter",
|
|
16121
16099
|
"showActorId",
|
|
16122
16100
|
"showReason",
|
|
16123
16101
|
"maxVisible"
|
|
16124
16102
|
],
|
|
16103
|
+
directives: [
|
|
16104
|
+
"field",
|
|
16105
|
+
"historyField",
|
|
16106
|
+
"statesParameter",
|
|
16107
|
+
"auditLogField",
|
|
16108
|
+
"createdField",
|
|
16109
|
+
"updatedField",
|
|
16110
|
+
"eventField",
|
|
16111
|
+
"eventTimestampField",
|
|
16112
|
+
"eventOptionsParameter"
|
|
16113
|
+
],
|
|
16125
16114
|
slots: ["default"],
|
|
16126
16115
|
events: [],
|
|
16127
16116
|
states: ["populated", "empty"],
|
|
@@ -16346,7 +16335,7 @@ var viz_preview_samples_v1_default = {
|
|
|
16346
16335
|
input: {
|
|
16347
16336
|
name: "Example connected relationships",
|
|
16348
16337
|
description: "Synthetic neighborhood edges illustrating relationships that share an endpoint; these are examples, not live graph data."},
|
|
16349
|
-
svg: '<svg width="360" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" viewBox="0 0 360 200">\n<rect width="360" height="200" x="0" y="0" fill="#F9FAFC"></rect>\n<path d="M208.4 34Q249.7 88.3 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M221.2 150.3Q155.5 166.3 110.4 115.8" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M110.4 115.8Q176.1 99.8 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,110.3635,115.779)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,221.2255,150.2583)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,208.3976,33.9582)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(120.3635 115.779)" fill="#1A1D23">example-document</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(231.2255 150.2583)" fill="#1A1D23">example-project</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(218.3976 33.9582)" fill="#1A1D23">example-team</text>\n<path d="M-108.1 -5l216.2 0l0 24l-216.2 0Z" transform="translate(180 13)" fill="rgb(0,0,0)" fill-opacity="0" stroke="#3c3c41" stroke-width="0" class="oods-zr-2"></path>\n<text dominant-baseline="central" text-anchor="middle" style="font-size:14px;font-family:sans-serif;font-weight:600;" xml:space="preserve" y="7" transform="translate(180 13)" fill="#1A1D23">Example connected relationships</text>\n<style ><![CDATA[\n.oods-zr-0:hover {\ncursor:pointer;\nstroke-width:4;\n}\n.oods-zr-1:hover {\ncursor:pointer;\nfill:rgba(96,9,26,1);\n}\n.oods-zr-2:hover {\npointer-events:none;\n}\n\n]]>\n\n</style>\n</svg>'}
|
|
16338
|
+
svg: '<svg width="360" height="200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" viewBox="0 0 360 200" role="img" aria-label="Example connected relationships" aria-description="Synthetic neighborhood edges illustrating relationships that share an endpoint; these are examples, not live graph data."><title>Example connected relationships</title><desc>Synthetic neighborhood edges illustrating relationships that share an endpoint; these are examples, not live graph data.</desc>\n<rect width="360" height="200" x="0" y="0" fill="#F9FAFC"></rect>\n<path d="M208.4 34Q249.7 88.3 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M221.2 150.3Q155.5 166.3 110.4 115.8" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M110.4 115.8Q176.1 99.8 221.2 150.3" fill="none" pointer-events="visible" stroke="rgb(88, 9, 24)" stroke-opacity="0.5" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-0"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,110.3635,115.779)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="0" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,221.2255,150.2583)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="1" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<path d="M1 0A1 1 0 1 1 1 -0.1A1 1 0 0 1 1 0" transform="matrix(5,0,0,5,208.3976,33.9582)" fill="rgb(88, 9, 24)" ecmeta_series_index="0" ecmeta_data_index="2" ecmeta_ssr_type="chart" class="oods-zr-1"></path>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(120.3635 115.779)" fill="#1A1D23">example-document</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(231.2255 150.2583)" fill="#1A1D23">example-project</text>\n<text dominant-baseline="central" text-anchor="start" style="font-size:12px;font-family:sans-serif;" transform="translate(218.3976 33.9582)" fill="#1A1D23">example-team</text>\n<path d="M-108.1 -5l216.2 0l0 24l-216.2 0Z" transform="translate(180 13)" fill="rgb(0,0,0)" fill-opacity="0" stroke="#3c3c41" stroke-width="0" class="oods-zr-2"></path>\n<text dominant-baseline="central" text-anchor="middle" style="font-size:14px;font-family:sans-serif;font-weight:600;" xml:space="preserve" y="7" transform="translate(180 13)" fill="#1A1D23">Example connected relationships</text>\n<style ><![CDATA[\n.oods-zr-0:hover {\ncursor:pointer;\nstroke-width:4;\n}\n.oods-zr-1:hover {\ncursor:pointer;\nfill:rgba(96,9,26,1);\n}\n.oods-zr-2:hover {\npointer-events:none;\n}\n\n]]>\n\n</style>\n</svg>'}
|
|
16350
16339
|
}
|
|
16351
16340
|
};
|
|
16352
16341
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oods/component-contracts",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Component contracts for OODS Foundry: each component's identity, props, events, states, token roles and accessibility obligations, with shared formatting helpers.",
|
|
5
5
|
"homepage": "https://oods-foundry.com/",
|
|
6
6
|
"bugs": {
|