@genesislcap/foundation-utils 14.173.3 → 14.174.0

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.
@@ -2120,7 +2120,7 @@
2120
2120
  },
2121
2121
  {
2122
2122
  "kind": "javascript-module",
2123
- "path": "src/directives/sync/index.ts",
2123
+ "path": "src/directives/when-else/index.ts",
2124
2124
  "declarations": [],
2125
2125
  "exports": [
2126
2126
  {
@@ -2128,28 +2128,18 @@
2128
2128
  "name": "*",
2129
2129
  "declaration": {
2130
2130
  "name": "*",
2131
- "package": "./sync"
2131
+ "package": "./when-else"
2132
2132
  }
2133
2133
  }
2134
2134
  ]
2135
2135
  },
2136
2136
  {
2137
2137
  "kind": "javascript-module",
2138
- "path": "src/directives/sync/sync.ts",
2138
+ "path": "src/directives/when-else/when-else.ts",
2139
2139
  "declarations": [
2140
- {
2141
- "kind": "variable",
2142
- "name": "defaultEventMap",
2143
- "type": {
2144
- "text": "Map<string, EventName>"
2145
- },
2146
- "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2147
- "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2148
- "privacy": "public"
2149
- },
2150
2140
  {
2151
2141
  "kind": "function",
2152
- "name": "sync",
2142
+ "name": "whenElse",
2153
2143
  "return": {
2154
2144
  "type": {
2155
2145
  "text": "CaptureType<TSource>"
@@ -2160,56 +2150,42 @@
2160
2150
  "name": "binding",
2161
2151
  "type": {
2162
2152
  "text": "Binding<TSource, TReturn>"
2163
- }
2164
- },
2165
- {
2166
- "name": "conversionType",
2167
- "default": "'string'",
2168
- "type": {
2169
- "text": "ConversionType"
2170
- }
2153
+ },
2154
+ "description": "The condition to test for rendering."
2171
2155
  },
2172
2156
  {
2173
- "name": "eventName",
2174
- "default": "'default'",
2157
+ "name": "trueTemplateOrTemplateBinding",
2175
2158
  "type": {
2176
- "text": "EventName"
2177
- }
2159
+ "text": "WhenTemplate<TSource>"
2160
+ },
2161
+ "description": "The template or a binding that gets the template to render when the condition is true."
2178
2162
  },
2179
2163
  {
2180
- "name": "keyAttr",
2181
- "optional": true,
2164
+ "name": "falseTemplateOrTemplateBinding",
2182
2165
  "type": {
2183
- "text": "string"
2184
- }
2166
+ "text": "WhenTemplate<TSource>"
2167
+ },
2168
+ "description": "The template or a binding that gets the template to render when the condition is false."
2185
2169
  }
2186
2170
  ],
2187
- "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2171
+ "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2188
2172
  "privacy": "public"
2189
2173
  }
2190
2174
  ],
2191
2175
  "exports": [
2192
2176
  {
2193
2177
  "kind": "js",
2194
- "name": "defaultEventMap",
2195
- "declaration": {
2196
- "name": "defaultEventMap",
2197
- "module": "src/directives/sync/sync.ts"
2198
- }
2199
- },
2200
- {
2201
- "kind": "js",
2202
- "name": "sync",
2178
+ "name": "whenElse",
2203
2179
  "declaration": {
2204
- "name": "sync",
2205
- "module": "src/directives/sync/sync.ts"
2180
+ "name": "whenElse",
2181
+ "module": "src/directives/when-else/when-else.ts"
2206
2182
  }
2207
2183
  }
2208
2184
  ]
2209
2185
  },
2210
2186
  {
2211
2187
  "kind": "javascript-module",
2212
- "path": "src/directives/when-else/index.ts",
2188
+ "path": "src/directives/sync/index.ts",
2213
2189
  "declarations": [],
2214
2190
  "exports": [
2215
2191
  {
@@ -2217,18 +2193,28 @@
2217
2193
  "name": "*",
2218
2194
  "declaration": {
2219
2195
  "name": "*",
2220
- "package": "./when-else"
2196
+ "package": "./sync"
2221
2197
  }
2222
2198
  }
2223
2199
  ]
2224
2200
  },
2225
2201
  {
2226
2202
  "kind": "javascript-module",
2227
- "path": "src/directives/when-else/when-else.ts",
2203
+ "path": "src/directives/sync/sync.ts",
2228
2204
  "declarations": [
2205
+ {
2206
+ "kind": "variable",
2207
+ "name": "defaultEventMap",
2208
+ "type": {
2209
+ "text": "Map<string, EventName>"
2210
+ },
2211
+ "default": "new Map([\n ['FAST-TEXT-AREA', 'input'],\n ['FAST-TEXT-FIELD', 'input'],\n ['FOUNDATION-TEXT-AREA', 'input'],\n ['FOUNDATION-TEXT-FIELD', 'input'],\n ['INPUT', 'input'],\n ['ZERO-TEXT-FIELD', 'input'],\n])",
2212
+ "description": "A map that associates specific HTML element tags with their corresponding default event names.",
2213
+ "privacy": "public"
2214
+ },
2229
2215
  {
2230
2216
  "kind": "function",
2231
- "name": "whenElse",
2217
+ "name": "sync",
2232
2218
  "return": {
2233
2219
  "type": {
2234
2220
  "text": "CaptureType<TSource>"
@@ -2239,35 +2225,49 @@
2239
2225
  "name": "binding",
2240
2226
  "type": {
2241
2227
  "text": "Binding<TSource, TReturn>"
2242
- },
2243
- "description": "The condition to test for rendering."
2228
+ }
2244
2229
  },
2245
2230
  {
2246
- "name": "trueTemplateOrTemplateBinding",
2231
+ "name": "conversionType",
2232
+ "default": "'string'",
2247
2233
  "type": {
2248
- "text": "WhenTemplate<TSource>"
2249
- },
2250
- "description": "The template or a binding that gets the template to render when the condition is true."
2234
+ "text": "ConversionType"
2235
+ }
2251
2236
  },
2252
2237
  {
2253
- "name": "falseTemplateOrTemplateBinding",
2238
+ "name": "eventName",
2239
+ "default": "'default'",
2254
2240
  "type": {
2255
- "text": "WhenTemplate<TSource>"
2256
- },
2257
- "description": "The template or a binding that gets the template to render when the condition is false."
2241
+ "text": "EventName"
2242
+ }
2243
+ },
2244
+ {
2245
+ "name": "keyAttr",
2246
+ "optional": true,
2247
+ "type": {
2248
+ "text": "string"
2249
+ }
2258
2250
  }
2259
2251
  ],
2260
- "description": "Directive that allows supplying an \"else\" template to the traditional https://www.fast.design/docs/api/fast-element.when/#when-function directive",
2252
+ "description": "Creates a synchronization directive that binds a data source to an HTML element,",
2261
2253
  "privacy": "public"
2262
2254
  }
2263
2255
  ],
2264
2256
  "exports": [
2265
2257
  {
2266
2258
  "kind": "js",
2267
- "name": "whenElse",
2259
+ "name": "defaultEventMap",
2268
2260
  "declaration": {
2269
- "name": "whenElse",
2270
- "module": "src/directives/when-else/when-else.ts"
2261
+ "name": "defaultEventMap",
2262
+ "module": "src/directives/sync/sync.ts"
2263
+ }
2264
+ },
2265
+ {
2266
+ "kind": "js",
2267
+ "name": "sync",
2268
+ "declaration": {
2269
+ "name": "sync",
2270
+ "module": "src/directives/sync/sync.ts"
2271
2271
  }
2272
2272
  }
2273
2273
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.173.3",
4
+ "version": "14.174.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -19,17 +19,17 @@
19
19
  "test": "genx test"
20
20
  },
21
21
  "devDependencies": {
22
- "@genesislcap/foundation-testing": "14.173.3",
23
- "@genesislcap/genx": "14.173.3",
24
- "@genesislcap/rollup-builder": "14.173.3",
25
- "@genesislcap/ts-builder": "14.173.3",
26
- "@genesislcap/uvu-playwright-builder": "14.173.3",
27
- "@genesislcap/vite-builder": "14.173.3",
28
- "@genesislcap/webpack-builder": "14.173.3",
22
+ "@genesislcap/foundation-testing": "14.174.0",
23
+ "@genesislcap/genx": "14.174.0",
24
+ "@genesislcap/rollup-builder": "14.174.0",
25
+ "@genesislcap/ts-builder": "14.174.0",
26
+ "@genesislcap/uvu-playwright-builder": "14.174.0",
27
+ "@genesislcap/vite-builder": "14.174.0",
28
+ "@genesislcap/webpack-builder": "14.174.0",
29
29
  "rimraf": "^3.0.2"
30
30
  },
31
31
  "dependencies": {
32
- "@genesislcap/foundation-logger": "14.173.3",
32
+ "@genesislcap/foundation-logger": "14.174.0",
33
33
  "@microsoft/fast-components": "^2.30.6",
34
34
  "@microsoft/fast-element": "^1.12.0",
35
35
  "@microsoft/fast-foundation": "^2.49.4",
@@ -47,5 +47,5 @@
47
47
  "access": "public"
48
48
  },
49
49
  "customElements": "dist/custom-elements.json",
50
- "gitHead": "0bdb1299f8a0357337b96c114401a8bb84f92d36"
50
+ "gitHead": "1812b2af8a7a6a9c72db973b338c19128d876f93"
51
51
  }