@genesislcap/foundation-forms 14.423.0 → 14.424.0-BBVA-292.1

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.
@@ -1901,232 +1901,6 @@
1901
1901
  }
1902
1902
  ]
1903
1903
  },
1904
- {
1905
- "kind": "javascript-module",
1906
- "path": "src/jsonforms/testers/isArray.ts",
1907
- "declarations": [
1908
- {
1909
- "kind": "function",
1910
- "name": "isArray",
1911
- "parameters": [
1912
- {
1913
- "name": "itemsType",
1914
- "type": {
1915
- "text": "ArrayItemsType"
1916
- }
1917
- }
1918
- ]
1919
- }
1920
- ],
1921
- "exports": [
1922
- {
1923
- "kind": "js",
1924
- "name": "isArray",
1925
- "declaration": {
1926
- "name": "isArray",
1927
- "module": "src/jsonforms/testers/isArray.ts"
1928
- }
1929
- }
1930
- ]
1931
- },
1932
- {
1933
- "kind": "javascript-module",
1934
- "path": "src/jsonforms/testers/isDate.ts",
1935
- "declarations": [
1936
- {
1937
- "kind": "variable",
1938
- "name": "isOneOfDate"
1939
- }
1940
- ],
1941
- "exports": [
1942
- {
1943
- "kind": "js",
1944
- "name": "isOneOfDate",
1945
- "declaration": {
1946
- "name": "isOneOfDate",
1947
- "module": "src/jsonforms/testers/isDate.ts"
1948
- }
1949
- }
1950
- ]
1951
- },
1952
- {
1953
- "kind": "javascript-module",
1954
- "path": "src/jsonforms/testers/isInvisible.ts",
1955
- "declarations": [
1956
- {
1957
- "kind": "function",
1958
- "name": "isInvisible",
1959
- "return": {
1960
- "type": {
1961
- "text": "boolean"
1962
- }
1963
- },
1964
- "parameters": [
1965
- {
1966
- "name": "uischema",
1967
- "type": {
1968
- "text": "UISchemaElement"
1969
- }
1970
- },
1971
- {
1972
- "name": "schema",
1973
- "type": {
1974
- "text": "JsonSchema"
1975
- }
1976
- },
1977
- {
1978
- "name": "context",
1979
- "type": {
1980
- "text": "TesterContext"
1981
- }
1982
- }
1983
- ]
1984
- }
1985
- ],
1986
- "exports": [
1987
- {
1988
- "kind": "js",
1989
- "name": "isInvisible",
1990
- "declaration": {
1991
- "name": "isInvisible",
1992
- "module": "src/jsonforms/testers/isInvisible.ts"
1993
- }
1994
- }
1995
- ]
1996
- },
1997
- {
1998
- "kind": "javascript-module",
1999
- "path": "src/jsonforms/testers/isOneOfBoolean.ts",
2000
- "declarations": [
2001
- {
2002
- "kind": "variable",
2003
- "name": "isOneOfBoolean"
2004
- }
2005
- ],
2006
- "exports": [
2007
- {
2008
- "kind": "js",
2009
- "name": "isOneOfBoolean",
2010
- "declaration": {
2011
- "name": "isOneOfBoolean",
2012
- "module": "src/jsonforms/testers/isOneOfBoolean.ts"
2013
- }
2014
- }
2015
- ]
2016
- },
2017
- {
2018
- "kind": "javascript-module",
2019
- "path": "src/jsonforms/testers/isOneOfEnum.ts",
2020
- "declarations": [
2021
- {
2022
- "kind": "variable",
2023
- "name": "isOneOfEnum"
2024
- }
2025
- ],
2026
- "exports": [
2027
- {
2028
- "kind": "js",
2029
- "name": "isOneOfEnum",
2030
- "declaration": {
2031
- "name": "isOneOfEnum",
2032
- "module": "src/jsonforms/testers/isOneOfEnum.ts"
2033
- }
2034
- }
2035
- ]
2036
- },
2037
- {
2038
- "kind": "javascript-module",
2039
- "path": "src/jsonforms/testers/isOneOfNumber.ts",
2040
- "declarations": [
2041
- {
2042
- "kind": "variable",
2043
- "name": "isOneOfNumber"
2044
- }
2045
- ],
2046
- "exports": [
2047
- {
2048
- "kind": "js",
2049
- "name": "isOneOfNumber",
2050
- "declaration": {
2051
- "name": "isOneOfNumber",
2052
- "module": "src/jsonforms/testers/isOneOfNumber.ts"
2053
- }
2054
- }
2055
- ]
2056
- },
2057
- {
2058
- "kind": "javascript-module",
2059
- "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
2060
- "declarations": [
2061
- {
2062
- "kind": "variable",
2063
- "name": "isOneOfOptionMultiselect"
2064
- }
2065
- ],
2066
- "exports": [
2067
- {
2068
- "kind": "js",
2069
- "name": "isOneOfOptionMultiselect",
2070
- "declaration": {
2071
- "name": "isOneOfOptionMultiselect",
2072
- "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
2073
- }
2074
- }
2075
- ]
2076
- },
2077
- {
2078
- "kind": "javascript-module",
2079
- "path": "src/jsonforms/testers/isTime.ts",
2080
- "declarations": [
2081
- {
2082
- "kind": "variable",
2083
- "name": "isOneOfTime"
2084
- }
2085
- ],
2086
- "exports": [
2087
- {
2088
- "kind": "js",
2089
- "name": "isOneOfTime",
2090
- "declaration": {
2091
- "name": "isOneOfTime",
2092
- "module": "src/jsonforms/testers/isTime.ts"
2093
- }
2094
- }
2095
- ]
2096
- },
2097
- {
2098
- "kind": "javascript-module",
2099
- "path": "src/jsonforms/testers/optionIs.ts",
2100
- "declarations": [
2101
- {
2102
- "kind": "function",
2103
- "name": "optionIs",
2104
- "return": {
2105
- "type": {
2106
- "text": "Tester"
2107
- }
2108
- },
2109
- "parameters": [
2110
- {
2111
- "name": "optionName",
2112
- "type": {
2113
- "text": "string"
2114
- }
2115
- }
2116
- ]
2117
- }
2118
- ],
2119
- "exports": [
2120
- {
2121
- "kind": "js",
2122
- "name": "optionIs",
2123
- "declaration": {
2124
- "name": "optionIs",
2125
- "module": "src/jsonforms/testers/optionIs.ts"
2126
- }
2127
- }
2128
- ]
2129
- },
2130
1904
  {
2131
1905
  "kind": "javascript-module",
2132
1906
  "path": "src/jsonforms/renderers/ArrayListWrapperRenderer.ts",
@@ -4287,6 +4061,232 @@
4287
4061
  }
4288
4062
  }
4289
4063
  ]
4064
+ },
4065
+ {
4066
+ "kind": "javascript-module",
4067
+ "path": "src/jsonforms/testers/isArray.ts",
4068
+ "declarations": [
4069
+ {
4070
+ "kind": "function",
4071
+ "name": "isArray",
4072
+ "parameters": [
4073
+ {
4074
+ "name": "itemsType",
4075
+ "type": {
4076
+ "text": "ArrayItemsType"
4077
+ }
4078
+ }
4079
+ ]
4080
+ }
4081
+ ],
4082
+ "exports": [
4083
+ {
4084
+ "kind": "js",
4085
+ "name": "isArray",
4086
+ "declaration": {
4087
+ "name": "isArray",
4088
+ "module": "src/jsonforms/testers/isArray.ts"
4089
+ }
4090
+ }
4091
+ ]
4092
+ },
4093
+ {
4094
+ "kind": "javascript-module",
4095
+ "path": "src/jsonforms/testers/isDate.ts",
4096
+ "declarations": [
4097
+ {
4098
+ "kind": "variable",
4099
+ "name": "isOneOfDate"
4100
+ }
4101
+ ],
4102
+ "exports": [
4103
+ {
4104
+ "kind": "js",
4105
+ "name": "isOneOfDate",
4106
+ "declaration": {
4107
+ "name": "isOneOfDate",
4108
+ "module": "src/jsonforms/testers/isDate.ts"
4109
+ }
4110
+ }
4111
+ ]
4112
+ },
4113
+ {
4114
+ "kind": "javascript-module",
4115
+ "path": "src/jsonforms/testers/isInvisible.ts",
4116
+ "declarations": [
4117
+ {
4118
+ "kind": "function",
4119
+ "name": "isInvisible",
4120
+ "return": {
4121
+ "type": {
4122
+ "text": "boolean"
4123
+ }
4124
+ },
4125
+ "parameters": [
4126
+ {
4127
+ "name": "uischema",
4128
+ "type": {
4129
+ "text": "UISchemaElement"
4130
+ }
4131
+ },
4132
+ {
4133
+ "name": "schema",
4134
+ "type": {
4135
+ "text": "JsonSchema"
4136
+ }
4137
+ },
4138
+ {
4139
+ "name": "context",
4140
+ "type": {
4141
+ "text": "TesterContext"
4142
+ }
4143
+ }
4144
+ ]
4145
+ }
4146
+ ],
4147
+ "exports": [
4148
+ {
4149
+ "kind": "js",
4150
+ "name": "isInvisible",
4151
+ "declaration": {
4152
+ "name": "isInvisible",
4153
+ "module": "src/jsonforms/testers/isInvisible.ts"
4154
+ }
4155
+ }
4156
+ ]
4157
+ },
4158
+ {
4159
+ "kind": "javascript-module",
4160
+ "path": "src/jsonforms/testers/isOneOfBoolean.ts",
4161
+ "declarations": [
4162
+ {
4163
+ "kind": "variable",
4164
+ "name": "isOneOfBoolean"
4165
+ }
4166
+ ],
4167
+ "exports": [
4168
+ {
4169
+ "kind": "js",
4170
+ "name": "isOneOfBoolean",
4171
+ "declaration": {
4172
+ "name": "isOneOfBoolean",
4173
+ "module": "src/jsonforms/testers/isOneOfBoolean.ts"
4174
+ }
4175
+ }
4176
+ ]
4177
+ },
4178
+ {
4179
+ "kind": "javascript-module",
4180
+ "path": "src/jsonforms/testers/isOneOfEnum.ts",
4181
+ "declarations": [
4182
+ {
4183
+ "kind": "variable",
4184
+ "name": "isOneOfEnum"
4185
+ }
4186
+ ],
4187
+ "exports": [
4188
+ {
4189
+ "kind": "js",
4190
+ "name": "isOneOfEnum",
4191
+ "declaration": {
4192
+ "name": "isOneOfEnum",
4193
+ "module": "src/jsonforms/testers/isOneOfEnum.ts"
4194
+ }
4195
+ }
4196
+ ]
4197
+ },
4198
+ {
4199
+ "kind": "javascript-module",
4200
+ "path": "src/jsonforms/testers/isOneOfNumber.ts",
4201
+ "declarations": [
4202
+ {
4203
+ "kind": "variable",
4204
+ "name": "isOneOfNumber"
4205
+ }
4206
+ ],
4207
+ "exports": [
4208
+ {
4209
+ "kind": "js",
4210
+ "name": "isOneOfNumber",
4211
+ "declaration": {
4212
+ "name": "isOneOfNumber",
4213
+ "module": "src/jsonforms/testers/isOneOfNumber.ts"
4214
+ }
4215
+ }
4216
+ ]
4217
+ },
4218
+ {
4219
+ "kind": "javascript-module",
4220
+ "path": "src/jsonforms/testers/isOneOfOptionMultiselect.ts",
4221
+ "declarations": [
4222
+ {
4223
+ "kind": "variable",
4224
+ "name": "isOneOfOptionMultiselect"
4225
+ }
4226
+ ],
4227
+ "exports": [
4228
+ {
4229
+ "kind": "js",
4230
+ "name": "isOneOfOptionMultiselect",
4231
+ "declaration": {
4232
+ "name": "isOneOfOptionMultiselect",
4233
+ "module": "src/jsonforms/testers/isOneOfOptionMultiselect.ts"
4234
+ }
4235
+ }
4236
+ ]
4237
+ },
4238
+ {
4239
+ "kind": "javascript-module",
4240
+ "path": "src/jsonforms/testers/isTime.ts",
4241
+ "declarations": [
4242
+ {
4243
+ "kind": "variable",
4244
+ "name": "isOneOfTime"
4245
+ }
4246
+ ],
4247
+ "exports": [
4248
+ {
4249
+ "kind": "js",
4250
+ "name": "isOneOfTime",
4251
+ "declaration": {
4252
+ "name": "isOneOfTime",
4253
+ "module": "src/jsonforms/testers/isTime.ts"
4254
+ }
4255
+ }
4256
+ ]
4257
+ },
4258
+ {
4259
+ "kind": "javascript-module",
4260
+ "path": "src/jsonforms/testers/optionIs.ts",
4261
+ "declarations": [
4262
+ {
4263
+ "kind": "function",
4264
+ "name": "optionIs",
4265
+ "return": {
4266
+ "type": {
4267
+ "text": "Tester"
4268
+ }
4269
+ },
4270
+ "parameters": [
4271
+ {
4272
+ "name": "optionName",
4273
+ "type": {
4274
+ "text": "string"
4275
+ }
4276
+ }
4277
+ ]
4278
+ }
4279
+ ],
4280
+ "exports": [
4281
+ {
4282
+ "kind": "js",
4283
+ "name": "optionIs",
4284
+ "declaration": {
4285
+ "name": "optionIs",
4286
+ "module": "src/jsonforms/testers/optionIs.ts"
4287
+ }
4288
+ }
4289
+ ]
4290
4290
  }
4291
4291
  ]
4292
4292
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAML,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,8BAA8B,0DAoD1C,CAAC;AAqEF,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IACzE,MAAM,EAAE,MAAM,CAAC;IAErB,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAOhB;IAED,IACI,kBAAkB,6DAGrB;IAED,IACI,UAAU,WAOb;CACF"}
1
+ {"version":3,"file":"ControlWrapperRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/ControlWrapperRenderer.ts"],"names":[],"mappings":"AACA,OAAO,EAML,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAIjC,eAAO,MAAM,8BAA8B,0DAoD1C,CAAC;AAyEF,qBAKa,cAAe,SAAQ,WAAW;IACjC,OAAO,MAAC;IACR,SAAS,MAAC;IACV,OAAO,EAAE,OAAO,CAAC;IACuB,SAAS,EAAE,OAAO,CAAS;IACzE,MAAM,EAAE,MAAM,CAAC;IAErB,IACI,eAAe,YAOlB;IAED,IACI,aAAa,WAOhB;IAED,IACI,kBAAkB,6DAGrB;IAED,IACI,UAAU,WAOb;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"StringControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StringControlRenderer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAyBvD,eAAO,MAAM,gCAAgC,GAAI,SAAQ,MAAe,0EAiDvE,CAAC;AACF,eAAO,MAAM,6BAA6B,uEAEzC,CAAC"}
1
+ {"version":3,"file":"StringControlRenderer.d.ts","sourceRoot":"","sources":["../../../../src/jsonforms/renderers/StringControlRenderer.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AA0EvD,eAAO,MAAM,gCAAgC,GAAI,SAAQ,MAAe,0EAiDvE,CAAC;AACF,eAAO,MAAM,6BAA6B,uEAEzC,CAAC"}
@@ -350,6 +350,38 @@ export type GroupRendererOptions = CategorizationRendererOptions;
350
350
  * @public
351
351
  */
352
352
  export type StepperRendererOptions = CategorizationRendererOptions;
353
+ /**
354
+ * CSS token overrides applied when a `ConditionalStyleOptions` rule matches.
355
+ * Values are written as CSS custom properties on the input host so they cascade
356
+ * into the component's shadow DOM.
357
+ * @public
358
+ */
359
+ export type ConditionalStyleRule = {
360
+ /** Text colour (sets `--neutral-foreground-rest`). */
361
+ textColor?: string;
362
+ /** Border colour (sets `--neutral-stroke-fill-rest`/`-hover`/`-focus`). */
363
+ borderColor?: string;
364
+ };
365
+ /**
366
+ * Declarative conditional styling driven by the value of a sibling form field.
367
+ *
368
+ * When the sibling at `sourceField` takes a value present in `rules`, that rule's
369
+ * CSS tokens are applied to this control's input. Useful for directional cues
370
+ * (e.g. payer/receiver, buy/sell) without writing a custom renderer.
371
+ * @public
372
+ */
373
+ export type ConditionalStyleOptions = {
374
+ /**
375
+ * Name of a **top-level** form field whose value selects a rule. Nested or
376
+ * relative paths are not supported today; if you need them, extend the
377
+ * resolver in `StringControlRenderer.ts` (it reads `rootData[sourceField]`).
378
+ */
379
+ sourceField: string;
380
+ /** Map from the source field's value → style rule. */
381
+ rules?: Record<string, ConditionalStyleRule>;
382
+ /** Fallback rule when no entry in `rules` matches. */
383
+ defaultStyle?: ConditionalStyleRule;
384
+ };
353
385
  /**
354
386
  * Configuration options available for string renderer.
355
387
  * @public
@@ -391,6 +423,12 @@ export type StringRendererOptions = {
391
423
  * @public
392
424
  */
393
425
  hideAffixFromScreenReader?: boolean;
426
+ /**
427
+ * Declarative conditional styling driven by a sibling field's value. See
428
+ * {@link ConditionalStyleOptions}.
429
+ * @public
430
+ */
431
+ conditionalStyle?: ConditionalStyleOptions;
394
432
  };
395
433
  /**
396
434
  * A single option item supplied to the radio group renderer.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,eAAe,EAChB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,KA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AAE,mBAAmB,CAAC;IAC5B;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,CAAC;CAChB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,GAAG,CAAC;CACf,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAC/C,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC;;OAEG;IACH,MAAM,EAAE,oBAAoB,EAAE,CAAC;CAChC,CAAC"}
@@ -90,6 +90,10 @@ const styles = css `
90
90
  margin-right: calc(var(--design-unit) * 2px);
91
91
  align-items: center;
92
92
  margin-bottom: 0;
93
+ /* Wrap long labels within the fixed column instead of truncating. */
94
+ white-space: normal;
95
+ line-height: 1.2;
96
+ overflow-wrap: anywhere;
93
97
  }
94
98
 
95
99
  .labelLeft .error {
@@ -20,6 +20,54 @@ function changeHandler(x, c) {
20
20
  }
21
21
  x.control.handleChange(x.control.path, transformedValue === '' ? null : transformedValue);
22
22
  }
23
+ /** Upper bound on a candidate CSS colour string. Longer than every legal CSS colour
24
+ * syntax (including `color-mix(in oklab, …)` forms) while still bounding the work done
25
+ * by `CSS.supports` against pathological inputs. */
26
+ const MAX_COLOR_VALUE_LENGTH = 64;
27
+ /**
28
+ * Validates a candidate CSS colour using the browser's own parser. Rejects anything
29
+ * that isn't a legal `color` value — including injection attempts like
30
+ * `red; background: url(…)` or `red" onload=…` — so the result is safe to interpolate
31
+ * into an inline style string.
32
+ */
33
+ function safeCssColor(v) {
34
+ if (typeof v !== 'string' || v.length === 0 || v.length > MAX_COLOR_VALUE_LENGTH) {
35
+ return undefined;
36
+ }
37
+ return CSS.supports('color', v) ? v : undefined;
38
+ }
39
+ /**
40
+ * Builds the inline `style=` string for the text input, merging the default
41
+ * `width: 100%` with any CSS custom properties derived from a `conditionalStyle`
42
+ * option. FAST re-evaluates this binding whenever `x.jsonforms.core.data`
43
+ * changes, so the style tracks the source field reactively. All colour values
44
+ * are validated via {@link safeCssColor} before interpolation.
45
+ */
46
+ function conditionalStyleStr(x) {
47
+ var _a, _b, _c, _d, _e, _f, _g;
48
+ const opts = (_b = (_a = x.control.uischema) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.conditionalStyle;
49
+ const parts = ['width: 100%'];
50
+ if (!opts)
51
+ return parts.join('; ');
52
+ const rootData = (_e = (_d = (_c = x.jsonforms) === null || _c === void 0 ? void 0 : _c.core) === null || _d === void 0 ? void 0 : _d.data) !== null && _e !== void 0 ? _e : {};
53
+ const sourceValue = rootData[opts.sourceField];
54
+ /* Fall straight through to defaultStyle when the source field is unset — otherwise
55
+ * `String(undefined)` / `String(null)` would probe `rules['undefined']` / `rules['null']`
56
+ * which is surprising if a consumer ever legitimately uses those as keys. */
57
+ const rule = sourceValue == null
58
+ ? opts.defaultStyle
59
+ : ((_g = (_f = opts.rules) === null || _f === void 0 ? void 0 : _f[String(sourceValue)]) !== null && _g !== void 0 ? _g : opts.defaultStyle);
60
+ const textColor = safeCssColor(rule === null || rule === void 0 ? void 0 : rule.textColor);
61
+ const borderColor = safeCssColor(rule === null || rule === void 0 ? void 0 : rule.borderColor);
62
+ if (textColor)
63
+ parts.push(`--neutral-foreground-rest: ${textColor}`);
64
+ if (borderColor) {
65
+ parts.push(`--neutral-stroke-fill-rest: ${borderColor}`);
66
+ parts.push(`--neutral-stroke-fill-hover: ${borderColor}`);
67
+ parts.push(`--neutral-stroke-fill-focus: ${borderColor}`);
68
+ }
69
+ return parts.join('; ');
70
+ }
23
71
  export const getStringControlRendererTemplate = (prefix = 'zero') => html `
24
72
  <template>
25
73
  <control-wrapper
@@ -45,7 +93,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
45
93
  tabindex="${(x) => { var _a, _b; return (_b = (_a = x.control.uischema) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.tabIndex; }}"
46
94
  ?required=${(x) => x.control.required}
47
95
  ?disabled=${(x) => !x.control.enabled}
48
- style="width: 100%"
96
+ style=${conditionalStyleStr}
49
97
  @blur=${(x) => x.onBlur()}
50
98
  ></${prefix}-text-field>`, html `
51
99
  <${prefix}-text-area
@@ -58,7 +106,7 @@ export const getStringControlRendererTemplate = (prefix = 'zero') => html `
58
106
  ?required=${(x) => x.control.required}
59
107
  ?disabled=${(x) => !x.control.enabled}
60
108
  tabindex="${(x) => { var _a, _b; return (_b = (_a = x.control.uischema) === null || _a === void 0 ? void 0 : _a.options) === null || _b === void 0 ? void 0 : _b.tabIndex; }}"
61
- style="width: 100%"
109
+ style=${conditionalStyleStr}
62
110
  @blur=${(x) => x.onBlur()}
63
111
  ></${prefix}-text-area>
64
112
  `)}
@@ -518,6 +518,85 @@
518
518
  "endIndex": 3
519
519
  }
520
520
  },
521
+ {
522
+ "kind": "TypeAlias",
523
+ "canonicalReference": "@genesislcap/foundation-forms!ConditionalStyleOptions:type",
524
+ "docComment": "/**\n * Declarative conditional styling driven by the value of a sibling form field.\n *\n * When the sibling at `sourceField` takes a value present in `rules`, that rule's CSS tokens are applied to this control's input. Useful for directional cues (e.g. payer/receiver, buy/sell) without writing a custom renderer.\n *\n * @public\n */\n",
525
+ "excerptTokens": [
526
+ {
527
+ "kind": "Content",
528
+ "text": "export type ConditionalStyleOptions = "
529
+ },
530
+ {
531
+ "kind": "Content",
532
+ "text": "{\n sourceField: string;\n rules?: "
533
+ },
534
+ {
535
+ "kind": "Reference",
536
+ "text": "Record",
537
+ "canonicalReference": "!Record:type"
538
+ },
539
+ {
540
+ "kind": "Content",
541
+ "text": "<string, "
542
+ },
543
+ {
544
+ "kind": "Reference",
545
+ "text": "ConditionalStyleRule",
546
+ "canonicalReference": "@genesislcap/foundation-forms!ConditionalStyleRule:type"
547
+ },
548
+ {
549
+ "kind": "Content",
550
+ "text": ">;\n defaultStyle?: "
551
+ },
552
+ {
553
+ "kind": "Reference",
554
+ "text": "ConditionalStyleRule",
555
+ "canonicalReference": "@genesislcap/foundation-forms!ConditionalStyleRule:type"
556
+ },
557
+ {
558
+ "kind": "Content",
559
+ "text": ";\n}"
560
+ },
561
+ {
562
+ "kind": "Content",
563
+ "text": ";"
564
+ }
565
+ ],
566
+ "fileUrlPath": "src/types.ts",
567
+ "releaseTag": "Public",
568
+ "name": "ConditionalStyleOptions",
569
+ "typeTokenRange": {
570
+ "startIndex": 1,
571
+ "endIndex": 8
572
+ }
573
+ },
574
+ {
575
+ "kind": "TypeAlias",
576
+ "canonicalReference": "@genesislcap/foundation-forms!ConditionalStyleRule:type",
577
+ "docComment": "/**\n * CSS token overrides applied when a `ConditionalStyleOptions` rule matches. Values are written as CSS custom properties on the input host so they cascade into the component's shadow DOM.\n *\n * @public\n */\n",
578
+ "excerptTokens": [
579
+ {
580
+ "kind": "Content",
581
+ "text": "export type ConditionalStyleRule = "
582
+ },
583
+ {
584
+ "kind": "Content",
585
+ "text": "{\n textColor?: string;\n borderColor?: string;\n}"
586
+ },
587
+ {
588
+ "kind": "Content",
589
+ "text": ";"
590
+ }
591
+ ],
592
+ "fileUrlPath": "src/types.ts",
593
+ "releaseTag": "Public",
594
+ "name": "ConditionalStyleRule",
595
+ "typeTokenRange": {
596
+ "startIndex": 1,
597
+ "endIndex": 2
598
+ }
599
+ },
521
600
  {
522
601
  "kind": "TypeAlias",
523
602
  "canonicalReference": "@genesislcap/foundation-forms!ConnectedRenderersOptions:type",
@@ -3532,7 +3611,16 @@
3532
3611
  },
3533
3612
  {
3534
3613
  "kind": "Content",
3535
- "text": "{\n isPassword?: boolean;\n textarea?: boolean;\n autocomplete?: string;\n textTransform?: 'none' | 'uppercase' | 'lowercase' | ((value: string) => string);\n suffix?: string;\n prefix?: string;\n hideAffixFromScreenReader?: boolean;\n}"
3614
+ "text": "{\n isPassword?: boolean;\n textarea?: boolean;\n autocomplete?: string;\n textTransform?: 'none' | 'uppercase' | 'lowercase' | ((value: string) => string);\n suffix?: string;\n prefix?: string;\n hideAffixFromScreenReader?: boolean;\n conditionalStyle?: "
3615
+ },
3616
+ {
3617
+ "kind": "Reference",
3618
+ "text": "ConditionalStyleOptions",
3619
+ "canonicalReference": "@genesislcap/foundation-forms!ConditionalStyleOptions:type"
3620
+ },
3621
+ {
3622
+ "kind": "Content",
3623
+ "text": ";\n}"
3536
3624
  },
3537
3625
  {
3538
3626
  "kind": "Content",
@@ -3544,7 +3632,7 @@
3544
3632
  "name": "StringRendererOptions",
3545
3633
  "typeTokenRange": {
3546
3634
  "startIndex": 1,
3547
- "endIndex": 2
3635
+ "endIndex": 4
3548
3636
  }
3549
3637
  },
3550
3638
  {
@@ -299,6 +299,40 @@ export declare type CommitPayload = {
299
299
  APPROVAL_MESSAGE?: string;
300
300
  };
301
301
 
302
+ /**
303
+ * Declarative conditional styling driven by the value of a sibling form field.
304
+ *
305
+ * When the sibling at `sourceField` takes a value present in `rules`, that rule's
306
+ * CSS tokens are applied to this control's input. Useful for directional cues
307
+ * (e.g. payer/receiver, buy/sell) without writing a custom renderer.
308
+ * @public
309
+ */
310
+ export declare type ConditionalStyleOptions = {
311
+ /**
312
+ * Name of a **top-level** form field whose value selects a rule. Nested or
313
+ * relative paths are not supported today; if you need them, extend the
314
+ * resolver in `StringControlRenderer.ts` (it reads `rootData[sourceField]`).
315
+ */
316
+ sourceField: string;
317
+ /** Map from the source field's value → style rule. */
318
+ rules?: Record<string, ConditionalStyleRule>;
319
+ /** Fallback rule when no entry in `rules` matches. */
320
+ defaultStyle?: ConditionalStyleRule;
321
+ };
322
+
323
+ /**
324
+ * CSS token overrides applied when a `ConditionalStyleOptions` rule matches.
325
+ * Values are written as CSS custom properties on the input host so they cascade
326
+ * into the component's shadow DOM.
327
+ * @public
328
+ */
329
+ export declare type ConditionalStyleRule = {
330
+ /** Text colour (sets `--neutral-foreground-rest`). */
331
+ textColor?: string;
332
+ /** Border colour (sets `--neutral-stroke-fill-rest`/`-hover`/`-focus`). */
333
+ borderColor?: string;
334
+ };
335
+
302
336
  /**
303
337
  * Available configuration options for connected combobox/multiselect.
304
338
  * @public
@@ -2106,6 +2140,12 @@ export declare type StringRendererOptions = {
2106
2140
  * @public
2107
2141
  */
2108
2142
  hideAffixFromScreenReader?: boolean;
2143
+ /**
2144
+ * Declarative conditional styling driven by a sibling field's value. See
2145
+ * {@link ConditionalStyleOptions}.
2146
+ * @public
2147
+ */
2148
+ conditionalStyle?: ConditionalStyleOptions;
2109
2149
  };
2110
2150
 
2111
2151
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-forms",
3
3
  "description": "Genesis Foundation Forms",
4
- "version": "14.423.0",
4
+ "version": "14.424.0-BBVA-292.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -55,23 +55,23 @@
55
55
  }
56
56
  },
57
57
  "devDependencies": {
58
- "@genesislcap/foundation-testing": "14.423.0",
59
- "@genesislcap/genx": "14.423.0",
60
- "@genesislcap/rollup-builder": "14.423.0",
61
- "@genesislcap/ts-builder": "14.423.0",
62
- "@genesislcap/uvu-playwright-builder": "14.423.0",
63
- "@genesislcap/vite-builder": "14.423.0",
64
- "@genesislcap/webpack-builder": "14.423.0",
58
+ "@genesislcap/foundation-testing": "14.424.0-BBVA-292.1",
59
+ "@genesislcap/genx": "14.424.0-BBVA-292.1",
60
+ "@genesislcap/rollup-builder": "14.424.0-BBVA-292.1",
61
+ "@genesislcap/ts-builder": "14.424.0-BBVA-292.1",
62
+ "@genesislcap/uvu-playwright-builder": "14.424.0-BBVA-292.1",
63
+ "@genesislcap/vite-builder": "14.424.0-BBVA-292.1",
64
+ "@genesislcap/webpack-builder": "14.424.0-BBVA-292.1",
65
65
  "@types/json-schema": "^7.0.11",
66
66
  "@types/papaparse": "^5.3.14"
67
67
  },
68
68
  "dependencies": {
69
- "@genesislcap/foundation-comms": "14.423.0",
70
- "@genesislcap/foundation-criteria": "14.423.0",
71
- "@genesislcap/foundation-logger": "14.423.0",
72
- "@genesislcap/foundation-notifications": "14.423.0",
73
- "@genesislcap/foundation-ui": "14.423.0",
74
- "@genesislcap/foundation-utils": "14.423.0",
69
+ "@genesislcap/foundation-comms": "14.424.0-BBVA-292.1",
70
+ "@genesislcap/foundation-criteria": "14.424.0-BBVA-292.1",
71
+ "@genesislcap/foundation-logger": "14.424.0-BBVA-292.1",
72
+ "@genesislcap/foundation-notifications": "14.424.0-BBVA-292.1",
73
+ "@genesislcap/foundation-ui": "14.424.0-BBVA-292.1",
74
+ "@genesislcap/foundation-utils": "14.424.0-BBVA-292.1",
75
75
  "@json-schema-tools/dereferencer": "^1.6.1",
76
76
  "@jsonforms/core": "^3.2.1",
77
77
  "@microsoft/fast-components": "2.30.6",
@@ -96,5 +96,5 @@
96
96
  "peerDependencies": {
97
97
  "@microsoft/fast-react-wrapper": ">=0.3.0"
98
98
  },
99
- "gitHead": "ed1a188a19674ed48b3805cc907304148f1daf14"
99
+ "gitHead": "22eb009757c2fdac888e569c44a1686c2da0deff"
100
100
  }