@genesislcap/foundation-zero 14.247.1 → 14.248.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.
@@ -145,7 +145,7 @@
145
145
  "name": "*",
146
146
  "declaration": {
147
147
  "name": "*",
148
- "package": "./breadcrumb-item"
148
+ "package": "./breadcrumb"
149
149
  }
150
150
  },
151
151
  {
@@ -153,7 +153,7 @@
153
153
  "name": "*",
154
154
  "declaration": {
155
155
  "name": "*",
156
- "package": "./breadcrumb"
156
+ "package": "./breadcrumb-item"
157
157
  }
158
158
  },
159
159
  {
@@ -217,7 +217,7 @@
217
217
  "name": "*",
218
218
  "declaration": {
219
219
  "name": "*",
220
- "package": "./design-system-provider"
220
+ "package": "./date-picker"
221
221
  }
222
222
  },
223
223
  {
@@ -225,7 +225,7 @@
225
225
  "name": "*",
226
226
  "declaration": {
227
227
  "name": "*",
228
- "package": "./dialog"
228
+ "package": "./design-system-provider"
229
229
  }
230
230
  },
231
231
  {
@@ -233,7 +233,7 @@
233
233
  "name": "*",
234
234
  "declaration": {
235
235
  "name": "*",
236
- "package": "./date-picker"
236
+ "package": "./dialog"
237
237
  }
238
238
  },
239
239
  {
@@ -265,7 +265,7 @@
265
265
  "name": "*",
266
266
  "declaration": {
267
267
  "name": "*",
268
- "package": "./error-boundary"
268
+ "package": "./error-banner"
269
269
  }
270
270
  },
271
271
  {
@@ -273,7 +273,7 @@
273
273
  "name": "*",
274
274
  "declaration": {
275
275
  "name": "*",
276
- "package": "./error-banner"
276
+ "package": "./error-boundary"
277
277
  }
278
278
  },
279
279
  {
@@ -284,6 +284,14 @@
284
284
  "package": "./error-dialog"
285
285
  }
286
286
  },
287
+ {
288
+ "kind": "js",
289
+ "name": "*",
290
+ "declaration": {
291
+ "name": "*",
292
+ "package": "./expression-builder"
293
+ }
294
+ },
287
295
  {
288
296
  "kind": "js",
289
297
  "name": "*",
@@ -521,7 +529,7 @@
521
529
  "name": "*",
522
530
  "declaration": {
523
531
  "name": "*",
524
- "package": "./stacking-icons"
532
+ "package": "./snackbar"
525
533
  }
526
534
  },
527
535
  {
@@ -529,7 +537,7 @@
529
537
  "name": "*",
530
538
  "declaration": {
531
539
  "name": "*",
532
- "package": "./snackbar"
540
+ "package": "./stacking-icons"
533
541
  }
534
542
  },
535
543
  {
@@ -13147,6 +13155,432 @@
13147
13155
  }
13148
13156
  ]
13149
13157
  },
13158
+ {
13159
+ "kind": "javascript-module",
13160
+ "path": "src/expression-builder/expression-builder.styles.ts",
13161
+ "declarations": [
13162
+ {
13163
+ "kind": "variable",
13164
+ "name": "zeroElementTags",
13165
+ "type": {
13166
+ "text": "ExpressionBuilderTypes.CustomElements"
13167
+ },
13168
+ "default": "{\n number: 'zero-number-field',\n text: 'zero-text-field',\n checkbox: 'zero-checkbox',\n button: 'zero-button',\n select: 'zero-select',\n option: 'zero-option',\n radio: {\n input: 'zero-radio',\n group: 'zero-radio-group',\n },\n}"
13169
+ },
13170
+ {
13171
+ "kind": "variable",
13172
+ "name": "zeroExpressionBuilderStyles",
13173
+ "type": {
13174
+ "text": "ExpressionBuilderTypes.Styles['customStyles']"
13175
+ },
13176
+ "default": "{\n value,\n rule,\n operator,\n field,\n group,\n}"
13177
+ }
13178
+ ],
13179
+ "exports": [
13180
+ {
13181
+ "kind": "js",
13182
+ "name": "zeroElementTags",
13183
+ "declaration": {
13184
+ "name": "zeroElementTags",
13185
+ "module": "src/expression-builder/expression-builder.styles.ts"
13186
+ }
13187
+ },
13188
+ {
13189
+ "kind": "js",
13190
+ "name": "zeroExpressionBuilderStyles",
13191
+ "declaration": {
13192
+ "name": "zeroExpressionBuilderStyles",
13193
+ "module": "src/expression-builder/expression-builder.styles.ts"
13194
+ }
13195
+ }
13196
+ ]
13197
+ },
13198
+ {
13199
+ "kind": "javascript-module",
13200
+ "path": "src/expression-builder/expression-builder.ts",
13201
+ "declarations": [
13202
+ {
13203
+ "kind": "class",
13204
+ "description": "We don't create the zero version of the component in the same way as the other components,\nthey're composed from a base FAST component.\nThe reason for this is that we want to have ExpressionBuilder as an independent and open source\ncomponent, and due to this we don't want to release it as base components that someone needs to use\nFAST to compose.",
13205
+ "name": "ZeroExpressionBuilder",
13206
+ "members": [
13207
+ {
13208
+ "kind": "field",
13209
+ "name": "styles",
13210
+ "type": {
13211
+ "text": "Styles | undefined"
13212
+ },
13213
+ "default": "{\n customElements: zeroElementTags,\n customStyles: zeroExpressionBuilderStyles,\n }",
13214
+ "inheritedFrom": {
13215
+ "name": "ExpressionBuilder",
13216
+ "module": "src/main/expression-builder.ts"
13217
+ }
13218
+ },
13219
+ {
13220
+ "kind": "field",
13221
+ "name": "config",
13222
+ "type": {
13223
+ "text": "Config"
13224
+ },
13225
+ "inheritedFrom": {
13226
+ "name": "ExpressionBuilder",
13227
+ "module": "src/main/expression-builder.ts"
13228
+ }
13229
+ },
13230
+ {
13231
+ "kind": "field",
13232
+ "name": "model",
13233
+ "type": {
13234
+ "text": "ModelGroup | null"
13235
+ },
13236
+ "default": "null",
13237
+ "inheritedFrom": {
13238
+ "name": "ExpressionBuilder",
13239
+ "module": "src/main/expression-builder.ts"
13240
+ }
13241
+ },
13242
+ {
13243
+ "kind": "field",
13244
+ "name": "ruleCount",
13245
+ "type": {
13246
+ "text": "number"
13247
+ },
13248
+ "privacy": "private",
13249
+ "default": "0",
13250
+ "inheritedFrom": {
13251
+ "name": "ExpressionBuilder",
13252
+ "module": "src/main/expression-builder.ts"
13253
+ }
13254
+ },
13255
+ {
13256
+ "kind": "field",
13257
+ "name": "groupCount",
13258
+ "type": {
13259
+ "text": "number"
13260
+ },
13261
+ "privacy": "private",
13262
+ "default": "0",
13263
+ "inheritedFrom": {
13264
+ "name": "ExpressionBuilder",
13265
+ "module": "src/main/expression-builder.ts"
13266
+ }
13267
+ },
13268
+ {
13269
+ "kind": "method",
13270
+ "name": "dispatchChangeEvent",
13271
+ "privacy": "protected",
13272
+ "parameters": [
13273
+ {
13274
+ "name": "group",
13275
+ "type": {
13276
+ "text": "Group"
13277
+ }
13278
+ }
13279
+ ],
13280
+ "inheritedFrom": {
13281
+ "name": "ExpressionBuilder",
13282
+ "module": "src/main/expression-builder.ts"
13283
+ }
13284
+ },
13285
+ {
13286
+ "kind": "field",
13287
+ "name": "handleAddGroup",
13288
+ "privacy": "private",
13289
+ "inheritedFrom": {
13290
+ "name": "ExpressionBuilder",
13291
+ "module": "src/main/expression-builder.ts"
13292
+ }
13293
+ },
13294
+ {
13295
+ "kind": "method",
13296
+ "name": "_handleAddGroup",
13297
+ "privacy": "private",
13298
+ "parameters": [
13299
+ {
13300
+ "name": "event",
13301
+ "type": {
13302
+ "text": "CustomEvent<EventsDetailMap[Events.AddGroup]>"
13303
+ }
13304
+ }
13305
+ ],
13306
+ "inheritedFrom": {
13307
+ "name": "ExpressionBuilder",
13308
+ "module": "src/main/expression-builder.ts"
13309
+ }
13310
+ },
13311
+ {
13312
+ "kind": "field",
13313
+ "name": "handleAddRule",
13314
+ "privacy": "private",
13315
+ "inheritedFrom": {
13316
+ "name": "ExpressionBuilder",
13317
+ "module": "src/main/expression-builder.ts"
13318
+ }
13319
+ },
13320
+ {
13321
+ "kind": "method",
13322
+ "name": "_handleAddRule",
13323
+ "privacy": "private",
13324
+ "parameters": [
13325
+ {
13326
+ "name": "event",
13327
+ "type": {
13328
+ "text": "CustomEvent<EventsDetailMap[Events.AddRule]>"
13329
+ }
13330
+ }
13331
+ ],
13332
+ "inheritedFrom": {
13333
+ "name": "ExpressionBuilder",
13334
+ "module": "src/main/expression-builder.ts"
13335
+ }
13336
+ },
13337
+ {
13338
+ "kind": "field",
13339
+ "name": "handleDeleteGroup",
13340
+ "privacy": "private",
13341
+ "inheritedFrom": {
13342
+ "name": "ExpressionBuilder",
13343
+ "module": "src/main/expression-builder.ts"
13344
+ }
13345
+ },
13346
+ {
13347
+ "kind": "method",
13348
+ "name": "_handleDeleteGroup",
13349
+ "privacy": "private",
13350
+ "parameters": [
13351
+ {
13352
+ "name": "event",
13353
+ "type": {
13354
+ "text": "CustomEvent<EventsDetailMap[Events.DelGroup]>"
13355
+ }
13356
+ }
13357
+ ],
13358
+ "inheritedFrom": {
13359
+ "name": "ExpressionBuilder",
13360
+ "module": "src/main/expression-builder.ts"
13361
+ }
13362
+ },
13363
+ {
13364
+ "kind": "field",
13365
+ "name": "handleDeleteRule",
13366
+ "privacy": "private",
13367
+ "inheritedFrom": {
13368
+ "name": "ExpressionBuilder",
13369
+ "module": "src/main/expression-builder.ts"
13370
+ }
13371
+ },
13372
+ {
13373
+ "kind": "method",
13374
+ "name": "_handleDeleteRule",
13375
+ "privacy": "private",
13376
+ "parameters": [
13377
+ {
13378
+ "name": "event",
13379
+ "type": {
13380
+ "text": "CustomEvent<EventsDetailMap[Events.DelRule]>"
13381
+ }
13382
+ }
13383
+ ],
13384
+ "inheritedFrom": {
13385
+ "name": "ExpressionBuilder",
13386
+ "module": "src/main/expression-builder.ts"
13387
+ }
13388
+ },
13389
+ {
13390
+ "kind": "field",
13391
+ "name": "handleUpdateGroupData",
13392
+ "privacy": "private",
13393
+ "inheritedFrom": {
13394
+ "name": "ExpressionBuilder",
13395
+ "module": "src/main/expression-builder.ts"
13396
+ }
13397
+ },
13398
+ {
13399
+ "kind": "method",
13400
+ "name": "_handleUpdateGroupData",
13401
+ "privacy": "private",
13402
+ "parameters": [
13403
+ {
13404
+ "name": "event",
13405
+ "type": {
13406
+ "text": "CustomEvent<EventsDetailMap[Events.UpdateGroup]>"
13407
+ }
13408
+ }
13409
+ ],
13410
+ "inheritedFrom": {
13411
+ "name": "ExpressionBuilder",
13412
+ "module": "src/main/expression-builder.ts"
13413
+ }
13414
+ },
13415
+ {
13416
+ "kind": "field",
13417
+ "name": "handleUpdateRuleData",
13418
+ "privacy": "private",
13419
+ "inheritedFrom": {
13420
+ "name": "ExpressionBuilder",
13421
+ "module": "src/main/expression-builder.ts"
13422
+ }
13423
+ },
13424
+ {
13425
+ "kind": "method",
13426
+ "name": "_handleUpdateRuleData",
13427
+ "privacy": "private",
13428
+ "parameters": [
13429
+ {
13430
+ "name": "event",
13431
+ "type": {
13432
+ "text": "CustomEvent<EventsDetailMap[Events.UpdateRule]>"
13433
+ }
13434
+ }
13435
+ ],
13436
+ "inheritedFrom": {
13437
+ "name": "ExpressionBuilder",
13438
+ "module": "src/main/expression-builder.ts"
13439
+ }
13440
+ }
13441
+ ],
13442
+ "superclass": {
13443
+ "name": "FoundationExpressionBuilder",
13444
+ "package": "@genesislcap/foundation-ui"
13445
+ },
13446
+ "events": [
13447
+ {
13448
+ "name": "change",
13449
+ "type": {
13450
+ "text": "CustomEvent"
13451
+ },
13452
+ "inheritedFrom": {
13453
+ "name": "ExpressionBuilder",
13454
+ "module": "src/main/expression-builder.ts"
13455
+ }
13456
+ }
13457
+ ]
13458
+ }
13459
+ ],
13460
+ "exports": [
13461
+ {
13462
+ "kind": "js",
13463
+ "name": "ZeroExpressionBuilder",
13464
+ "declaration": {
13465
+ "name": "ZeroExpressionBuilder",
13466
+ "module": "src/expression-builder/expression-builder.ts"
13467
+ }
13468
+ },
13469
+ {
13470
+ "kind": "custom-element-definition",
13471
+ "name": "zero-expression-builder",
13472
+ "declaration": {
13473
+ "name": "ZeroExpressionBuilder",
13474
+ "module": "src/expression-builder/expression-builder.ts"
13475
+ }
13476
+ }
13477
+ ]
13478
+ },
13479
+ {
13480
+ "kind": "javascript-module",
13481
+ "path": "src/expression-builder/expression-builder.types.ts",
13482
+ "declarations": [],
13483
+ "exports": [
13484
+ {
13485
+ "kind": "js",
13486
+ "name": "ExpressionBuilderCore",
13487
+ "declaration": {
13488
+ "name": "ExpressionBuilderCore",
13489
+ "package": "@genesislcap/foundation-ui"
13490
+ }
13491
+ },
13492
+ {
13493
+ "kind": "js",
13494
+ "name": "ExpressionBuilderTypes",
13495
+ "declaration": {
13496
+ "name": "ExpressionBuilderTypes",
13497
+ "package": "@genesislcap/foundation-ui"
13498
+ }
13499
+ },
13500
+ {
13501
+ "kind": "js",
13502
+ "name": "ExpressionBuilderConfig",
13503
+ "declaration": {
13504
+ "name": "ExpressionBuilderConfig",
13505
+ "package": "@genesislcap/foundation-ui"
13506
+ }
13507
+ }
13508
+ ]
13509
+ },
13510
+ {
13511
+ "kind": "javascript-module",
13512
+ "path": "src/expression-builder/index.ts",
13513
+ "declarations": [],
13514
+ "exports": [
13515
+ {
13516
+ "kind": "js",
13517
+ "name": "*",
13518
+ "declaration": {
13519
+ "name": "*",
13520
+ "package": "./expression-builder"
13521
+ }
13522
+ },
13523
+ {
13524
+ "kind": "js",
13525
+ "name": "*",
13526
+ "declaration": {
13527
+ "name": "*",
13528
+ "package": "./expression-builder.types"
13529
+ }
13530
+ },
13531
+ {
13532
+ "kind": "js",
13533
+ "name": "*",
13534
+ "declaration": {
13535
+ "name": "*",
13536
+ "package": "./rule-expression-builder"
13537
+ }
13538
+ }
13539
+ ]
13540
+ },
13541
+ {
13542
+ "kind": "javascript-module",
13543
+ "path": "src/expression-builder/rule-expression-builder.ts",
13544
+ "declarations": [
13545
+ {
13546
+ "kind": "class",
13547
+ "description": "We don't create the zero version of the component in the same way as the other components,\nthey're composed from a base FAST component.\nThe reason for this is that we want to have ExpressionBuilder as an independent and open source\ncomponent, and due to this we don't want to release it as base components that someone needs to use\nFAST to compose.",
13548
+ "name": "ZeroRuleExpressionBuilder",
13549
+ "members": [
13550
+ {
13551
+ "kind": "field",
13552
+ "name": "styles",
13553
+ "type": {
13554
+ "text": "ExpressionBuilderTypes.Styles | undefined"
13555
+ },
13556
+ "default": "{\n customElements: zeroElementTags,\n customStyles: zeroExpressionBuilderStyles,\n }"
13557
+ }
13558
+ ],
13559
+ "superclass": {
13560
+ "name": "FoundationRuleExpressionBuilder",
13561
+ "package": "@genesislcap/foundation-ui"
13562
+ }
13563
+ }
13564
+ ],
13565
+ "exports": [
13566
+ {
13567
+ "kind": "js",
13568
+ "name": "ZeroRuleExpressionBuilder",
13569
+ "declaration": {
13570
+ "name": "ZeroRuleExpressionBuilder",
13571
+ "module": "src/expression-builder/rule-expression-builder.ts"
13572
+ }
13573
+ },
13574
+ {
13575
+ "kind": "custom-element-definition",
13576
+ "name": "zero-rule-expression-builder",
13577
+ "declaration": {
13578
+ "name": "ZeroRuleExpressionBuilder",
13579
+ "module": "src/expression-builder/rule-expression-builder.ts"
13580
+ }
13581
+ }
13582
+ ]
13583
+ },
13150
13584
  {
13151
13585
  "kind": "javascript-module",
13152
13586
  "path": "src/file-upload/file-upload.styles.ts",
@@ -0,0 +1,12 @@
1
+ import { ExpressionBuilderTypes, FoundationExpressionBuilder } from '@genesislcap/foundation-ui';
2
+ /**
3
+ * We don't create the zero version of the component in the same way as the other components,
4
+ * they're composed from a base FAST component.
5
+ * The reason for this is that we want to have ExpressionBuilder as an independent and open source
6
+ * component, and due to this we don't want to release it as base components that someone needs to use
7
+ * FAST to compose.
8
+ */
9
+ export declare class ZeroExpressionBuilder extends FoundationExpressionBuilder {
10
+ styles?: ExpressionBuilderTypes.Styles;
11
+ }
12
+ //# sourceMappingURL=expression-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-builder.d.ts","sourceRoot":"","sources":["../../../src/expression-builder/expression-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,sBAAsB,EACtB,2BAA2B,EAC5B,MAAM,4BAA4B,CAAC;AAIpC;;;;;;GAMG;AACH,qBAKa,qBAAsB,SAAQ,2BAA2B;IACxD,MAAM,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAGhD;CACH"}
@@ -0,0 +1,4 @@
1
+ import { ExpressionBuilderTypes } from '@genesislcap/foundation-ui';
2
+ export declare const zeroElementTags: ExpressionBuilderTypes.CustomElements;
3
+ export declare const zeroExpressionBuilderStyles: ExpressionBuilderTypes.Styles['customStyles'];
4
+ //# sourceMappingURL=expression-builder.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-builder.styles.d.ts","sourceRoot":"","sources":["../../../src/expression-builder/expression-builder.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAgBpE,eAAO,MAAM,eAAe,EAAE,sBAAsB,CAAC,cAWpD,CAAC;AA2CF,eAAO,MAAM,2BAA2B,EAAE,sBAAsB,CAAC,MAAM,CAAC,cAAc,CAMrF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { ExpressionBuilderCore, ExpressionBuilderTypes, ExpressionBuilderConfig, } from '@genesislcap/foundation-ui';
2
+ //# sourceMappingURL=expression-builder.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-builder.types.d.ts","sourceRoot":"","sources":["../../../src/expression-builder/expression-builder.types.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * from './expression-builder';
2
+ export * from './expression-builder.types';
3
+ export * from './rule-expression-builder';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/expression-builder/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { ExpressionBuilderTypes, FoundationRuleExpressionBuilder } from '@genesislcap/foundation-ui';
2
+ /**
3
+ * We don't create the zero version of the component in the same way as the other components,
4
+ * they're composed from a base FAST component.
5
+ * The reason for this is that we want to have ExpressionBuilder as an independent and open source
6
+ * component, and due to this we don't want to release it as base components that someone needs to use
7
+ * FAST to compose.
8
+ */
9
+ export declare class ZeroRuleExpressionBuilder extends FoundationRuleExpressionBuilder {
10
+ styles?: ExpressionBuilderTypes.Styles;
11
+ }
12
+ //# sourceMappingURL=rule-expression-builder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule-expression-builder.d.ts","sourceRoot":"","sources":["../../../src/expression-builder/rule-expression-builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,sBAAsB,EACtB,+BAA+B,EAChC,MAAM,4BAA4B,CAAC;AAIpC;;;;;;GAMG;AACH,qBAKa,yBAA0B,SAAQ,+BAA+B;IAChE,MAAM,CAAC,EAAE,sBAAsB,CAAC,MAAM,CAGhD;CACH"}
@@ -12,8 +12,8 @@ export * from './anchored-region';
12
12
  export * from './avatar';
13
13
  export * from './badge';
14
14
  export * from './banner';
15
- export * from './breadcrumb-item';
16
15
  export * from './breadcrumb';
16
+ export * from './breadcrumb-item';
17
17
  export * from './button';
18
18
  export * from './calendar';
19
19
  export * from './card';
@@ -21,15 +21,16 @@ export * from './categorized-multiselect';
21
21
  export * from './checkbox';
22
22
  export * from './combobox';
23
23
  export * from './data-grid';
24
+ export * from './date-picker';
24
25
  export * from './design-system-provider';
25
26
  export * from './dialog';
26
- export * from './date-picker';
27
27
  export * from './disclosure';
28
28
  export * from './divider';
29
29
  export * from './dropdown-menu';
30
- export * from './error-boundary';
31
30
  export * from './error-banner';
31
+ export * from './error-boundary';
32
32
  export * from './error-dialog';
33
+ export * from './expression-builder';
33
34
  export * from './file-upload';
34
35
  export * from './filter';
35
36
  export * from './filter-bar';
@@ -59,8 +60,8 @@ export * from './select';
59
60
  export * from './skeleton';
60
61
  export * from './slider';
61
62
  export * from './slider-label';
62
- export * from './stacking-icons';
63
63
  export * from './snackbar';
64
+ export * from './stacking-icons';
64
65
  export * from './stepper';
65
66
  export * from './stepper-tab';
66
67
  export * from './stepper-tab-panel';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC;AAE/C,eAAO,MAAM,wBAAwB,yDAAuD,CAAC;AAE7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CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { __decorate } from "tslib";
2
+ import { ExpressionBuilderCore, FoundationExpressionBuilder, } from '@genesislcap/foundation-ui';
3
+ import { customElement, observable } from '@microsoft/fast-element';
4
+ import { zeroElementTags, zeroExpressionBuilderStyles } from './expression-builder.styles';
5
+ /**
6
+ * We don't create the zero version of the component in the same way as the other components,
7
+ * they're composed from a base FAST component.
8
+ * The reason for this is that we want to have ExpressionBuilder as an independent and open source
9
+ * component, and due to this we don't want to release it as base components that someone needs to use
10
+ * FAST to compose.
11
+ */
12
+ let ZeroExpressionBuilder = class ZeroExpressionBuilder extends FoundationExpressionBuilder {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.styles = {
16
+ customElements: zeroElementTags,
17
+ customStyles: zeroExpressionBuilderStyles,
18
+ };
19
+ }
20
+ };
21
+ __decorate([
22
+ observable
23
+ ], ZeroExpressionBuilder.prototype, "styles", void 0);
24
+ ZeroExpressionBuilder = __decorate([
25
+ customElement({
26
+ name: 'zero-expression-builder',
27
+ styles: ExpressionBuilderCore.styles,
28
+ template: ExpressionBuilderCore.template,
29
+ })
30
+ ], ZeroExpressionBuilder);
31
+ export { ZeroExpressionBuilder };
@@ -0,0 +1,68 @@
1
+ // Fake css tagged template used to add syntax highlighting to below styles configs
2
+ // but return a string instead of FAST's ElementStyles object
3
+ function css(strings, ...expressions) {
4
+ let result = '';
5
+ // Interleave the strings with the expressions
6
+ strings.forEach((string, i) => {
7
+ result += string;
8
+ if (i < expressions.length) {
9
+ result += expressions[i];
10
+ }
11
+ });
12
+ return result;
13
+ }
14
+ export const zeroElementTags = {
15
+ number: 'zero-number-field',
16
+ text: 'zero-text-field',
17
+ checkbox: 'zero-checkbox',
18
+ button: 'zero-button',
19
+ select: 'zero-select',
20
+ option: 'zero-option',
21
+ radio: {
22
+ input: 'zero-radio',
23
+ group: 'zero-radio-group',
24
+ },
25
+ };
26
+ const inputStyles = css `
27
+ zero-select,
28
+ zero-text-field,
29
+ zero-number-field {
30
+ width: 180px;
31
+ min-width: unset;
32
+ }
33
+ `;
34
+ const value = css `
35
+ ${inputStyles}
36
+
37
+ zero-number-field::part(label) {
38
+ display: none;
39
+ }
40
+ `;
41
+ const rule = css `
42
+ ${inputStyles}
43
+ zero-button.btn-danger {
44
+ background-color: var(--error-icon-color);
45
+ }
46
+ `;
47
+ const operator = css `
48
+ ${inputStyles}
49
+ `;
50
+ const field = css `
51
+ ${inputStyles}
52
+ `;
53
+ const group = css `
54
+ zero-button.btn-success {
55
+ background-color: var(--accent-fill-active);
56
+ }
57
+
58
+ zero-button.btn-danger {
59
+ background-color: var(--error-icon-color);
60
+ }
61
+ `;
62
+ export const zeroExpressionBuilderStyles = {
63
+ value,
64
+ rule,
65
+ operator,
66
+ field,
67
+ group,
68
+ };
@@ -0,0 +1 @@
1
+ export { ExpressionBuilderCore, ExpressionBuilderConfig, } from '@genesislcap/foundation-ui';
@@ -0,0 +1,3 @@
1
+ export * from './expression-builder';
2
+ export * from './expression-builder.types';
3
+ export * from './rule-expression-builder';
@@ -0,0 +1,31 @@
1
+ import { __decorate } from "tslib";
2
+ import { ExpressionBuilderCore, FoundationRuleExpressionBuilder, } from '@genesislcap/foundation-ui';
3
+ import { customElement, observable } from '@microsoft/fast-element';
4
+ import { zeroElementTags, zeroExpressionBuilderStyles } from './expression-builder.styles';
5
+ /**
6
+ * We don't create the zero version of the component in the same way as the other components,
7
+ * they're composed from a base FAST component.
8
+ * The reason for this is that we want to have ExpressionBuilder as an independent and open source
9
+ * component, and due to this we don't want to release it as base components that someone needs to use
10
+ * FAST to compose.
11
+ */
12
+ let ZeroRuleExpressionBuilder = class ZeroRuleExpressionBuilder extends FoundationRuleExpressionBuilder {
13
+ constructor() {
14
+ super(...arguments);
15
+ this.styles = {
16
+ customElements: zeroElementTags,
17
+ customStyles: zeroExpressionBuilderStyles,
18
+ };
19
+ }
20
+ };
21
+ __decorate([
22
+ observable
23
+ ], ZeroRuleExpressionBuilder.prototype, "styles", void 0);
24
+ ZeroRuleExpressionBuilder = __decorate([
25
+ customElement({
26
+ name: 'zero-rule-expression-builder',
27
+ styles: ExpressionBuilderCore.styles,
28
+ template: ExpressionBuilderCore.template,
29
+ })
30
+ ], ZeroRuleExpressionBuilder);
31
+ export { ZeroRuleExpressionBuilder };
package/dist/esm/index.js CHANGED
@@ -12,8 +12,8 @@ export * from './anchored-region';
12
12
  export * from './avatar';
13
13
  export * from './badge';
14
14
  export * from './banner';
15
- export * from './breadcrumb-item';
16
15
  export * from './breadcrumb';
16
+ export * from './breadcrumb-item';
17
17
  export * from './button';
18
18
  export * from './calendar';
19
19
  export * from './card';
@@ -21,15 +21,16 @@ export * from './categorized-multiselect';
21
21
  export * from './checkbox';
22
22
  export * from './combobox';
23
23
  export * from './data-grid';
24
+ export * from './date-picker';
24
25
  export * from './design-system-provider';
25
26
  export * from './dialog';
26
- export * from './date-picker';
27
27
  export * from './disclosure';
28
28
  export * from './divider';
29
29
  export * from './dropdown-menu';
30
- export * from './error-boundary';
31
30
  export * from './error-banner';
31
+ export * from './error-boundary';
32
32
  export * from './error-dialog';
33
+ export * from './expression-builder';
33
34
  export * from './file-upload';
34
35
  export * from './filter';
35
36
  export * from './filter-bar';
@@ -59,8 +60,8 @@ export * from './select';
59
60
  export * from './skeleton';
60
61
  export * from './slider';
61
62
  export * from './slider-label';
62
- export * from './stacking-icons';
63
63
  export * from './snackbar';
64
+ export * from './stacking-icons';
64
65
  export * from './stepper';
65
66
  export * from './stepper-tab';
66
67
  export * from './stepper-tab-panel';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-zero",
3
3
  "description": "Genesis Foundation Zero Design System",
4
- "version": "14.247.1",
4
+ "version": "14.248.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -71,19 +71,19 @@
71
71
  },
72
72
  "devDependencies": {
73
73
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
74
- "@genesislcap/genx": "14.247.1",
75
- "@genesislcap/rollup-builder": "14.247.1",
76
- "@genesislcap/ts-builder": "14.247.1",
77
- "@genesislcap/uvu-playwright-builder": "14.247.1",
78
- "@genesislcap/vite-builder": "14.247.1",
79
- "@genesislcap/webpack-builder": "14.247.1",
74
+ "@genesislcap/genx": "14.248.0",
75
+ "@genesislcap/rollup-builder": "14.248.0",
76
+ "@genesislcap/ts-builder": "14.248.0",
77
+ "@genesislcap/uvu-playwright-builder": "14.248.0",
78
+ "@genesislcap/vite-builder": "14.248.0",
79
+ "@genesislcap/webpack-builder": "14.248.0",
80
80
  "rimraf": "^5.0.0"
81
81
  },
82
82
  "dependencies": {
83
- "@genesislcap/foundation-comms": "14.247.1",
84
- "@genesislcap/foundation-logger": "14.247.1",
85
- "@genesislcap/foundation-ui": "14.247.1",
86
- "@genesislcap/foundation-utils": "14.247.1",
83
+ "@genesislcap/foundation-comms": "14.248.0",
84
+ "@genesislcap/foundation-logger": "14.248.0",
85
+ "@genesislcap/foundation-ui": "14.248.0",
86
+ "@genesislcap/foundation-utils": "14.248.0",
87
87
  "@microsoft/fast-colors": "5.3.1",
88
88
  "@microsoft/fast-components": "2.30.6",
89
89
  "@microsoft/fast-element": "1.14.0",
@@ -100,5 +100,5 @@
100
100
  "access": "public"
101
101
  },
102
102
  "customElements": "dist/custom-elements.json",
103
- "gitHead": "e5f84bbc09e62919c3c5cc40a6c28353443827de"
103
+ "gitHead": "1c9e7b7afeb1940661effcde53286e049ecda101"
104
104
  }