@genesislcap/foundation-zero 14.447.2 → 14.448.0-canary.wealth
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/dist/custom-elements.json +490 -16
- package/dist/dts/react.d.ts +0 -1
- package/dist/react.cjs +2 -14
- package/dist/react.mjs +2 -14
- package/package.json +12 -12
|
@@ -11835,10 +11835,10 @@
|
|
|
11835
11835
|
"attributes": [
|
|
11836
11836
|
{
|
|
11837
11837
|
"name": "format",
|
|
11838
|
-
"
|
|
11839
|
-
|
|
11838
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
11839
|
+
"resolveInitializer": {
|
|
11840
|
+
"module": "/src/date-picker/date-picker.util"
|
|
11840
11841
|
},
|
|
11841
|
-
"default": "'MM-DD-YYYY'",
|
|
11842
11842
|
"attribute": "format",
|
|
11843
11843
|
"fieldName": "format",
|
|
11844
11844
|
"description": "date format that will be displayed.",
|
|
@@ -11847,6 +11847,20 @@
|
|
|
11847
11847
|
"module": "src/date-picker/date-picker.ts"
|
|
11848
11848
|
}
|
|
11849
11849
|
},
|
|
11850
|
+
{
|
|
11851
|
+
"name": "use-locale-format",
|
|
11852
|
+
"type": {
|
|
11853
|
+
"text": "boolean"
|
|
11854
|
+
},
|
|
11855
|
+
"default": "false",
|
|
11856
|
+
"attribute": "use-locale-format",
|
|
11857
|
+
"fieldName": "useLocaleFormat",
|
|
11858
|
+
"description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element.",
|
|
11859
|
+
"inheritedFrom": {
|
|
11860
|
+
"name": "DatePicker",
|
|
11861
|
+
"module": "src/date-picker/date-picker.ts"
|
|
11862
|
+
}
|
|
11863
|
+
},
|
|
11850
11864
|
{
|
|
11851
11865
|
"name": "inline-calendar",
|
|
11852
11866
|
"type": {
|
|
@@ -11902,6 +11916,33 @@
|
|
|
11902
11916
|
"module": "src/date-picker/date-picker.ts"
|
|
11903
11917
|
}
|
|
11904
11918
|
},
|
|
11919
|
+
{
|
|
11920
|
+
"name": "allow-empty",
|
|
11921
|
+
"type": {
|
|
11922
|
+
"text": "boolean"
|
|
11923
|
+
},
|
|
11924
|
+
"default": "false",
|
|
11925
|
+
"attribute": "allow-empty",
|
|
11926
|
+
"fieldName": "allowEmpty",
|
|
11927
|
+
"description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date.",
|
|
11928
|
+
"inheritedFrom": {
|
|
11929
|
+
"name": "DatePicker",
|
|
11930
|
+
"module": "src/date-picker/date-picker.ts"
|
|
11931
|
+
}
|
|
11932
|
+
},
|
|
11933
|
+
{
|
|
11934
|
+
"name": "placeholder",
|
|
11935
|
+
"type": {
|
|
11936
|
+
"text": "string"
|
|
11937
|
+
},
|
|
11938
|
+
"attribute": "placeholder",
|
|
11939
|
+
"fieldName": "placeholder",
|
|
11940
|
+
"description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy).",
|
|
11941
|
+
"inheritedFrom": {
|
|
11942
|
+
"name": "DatePicker",
|
|
11943
|
+
"module": "src/date-picker/date-picker.ts"
|
|
11944
|
+
}
|
|
11945
|
+
},
|
|
11905
11946
|
{
|
|
11906
11947
|
"name": "value",
|
|
11907
11948
|
"type": {
|
|
@@ -11944,10 +11985,7 @@
|
|
|
11944
11985
|
{
|
|
11945
11986
|
"kind": "field",
|
|
11946
11987
|
"name": "format",
|
|
11947
|
-
"
|
|
11948
|
-
"text": "string"
|
|
11949
|
-
},
|
|
11950
|
-
"default": "'MM-DD-YYYY'",
|
|
11988
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
11951
11989
|
"attribute": "format",
|
|
11952
11990
|
"inheritedFrom": {
|
|
11953
11991
|
"name": "DatePicker",
|
|
@@ -11988,6 +12026,49 @@
|
|
|
11988
12026
|
"module": "src/date-picker/date-picker.ts"
|
|
11989
12027
|
}
|
|
11990
12028
|
},
|
|
12029
|
+
{
|
|
12030
|
+
"kind": "method",
|
|
12031
|
+
"name": "langChanged",
|
|
12032
|
+
"inheritedFrom": {
|
|
12033
|
+
"name": "DatePicker",
|
|
12034
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12035
|
+
}
|
|
12036
|
+
},
|
|
12037
|
+
{
|
|
12038
|
+
"kind": "field",
|
|
12039
|
+
"name": "useLocaleFormat",
|
|
12040
|
+
"type": {
|
|
12041
|
+
"text": "boolean"
|
|
12042
|
+
},
|
|
12043
|
+
"default": "false",
|
|
12044
|
+
"attribute": "use-locale-format",
|
|
12045
|
+
"inheritedFrom": {
|
|
12046
|
+
"name": "DatePicker",
|
|
12047
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12048
|
+
}
|
|
12049
|
+
},
|
|
12050
|
+
{
|
|
12051
|
+
"kind": "method",
|
|
12052
|
+
"name": "useLocaleFormatChanged",
|
|
12053
|
+
"parameters": [
|
|
12054
|
+
{
|
|
12055
|
+
"name": "oldValue",
|
|
12056
|
+
"type": {
|
|
12057
|
+
"text": "boolean"
|
|
12058
|
+
}
|
|
12059
|
+
},
|
|
12060
|
+
{
|
|
12061
|
+
"name": "newValue",
|
|
12062
|
+
"type": {
|
|
12063
|
+
"text": "boolean"
|
|
12064
|
+
}
|
|
12065
|
+
}
|
|
12066
|
+
],
|
|
12067
|
+
"inheritedFrom": {
|
|
12068
|
+
"name": "DatePicker",
|
|
12069
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12070
|
+
}
|
|
12071
|
+
},
|
|
11991
12072
|
{
|
|
11992
12073
|
"kind": "field",
|
|
11993
12074
|
"name": "visible",
|
|
@@ -12067,6 +12148,31 @@
|
|
|
12067
12148
|
"module": "src/date-picker/date-picker.ts"
|
|
12068
12149
|
}
|
|
12069
12150
|
},
|
|
12151
|
+
{
|
|
12152
|
+
"kind": "field",
|
|
12153
|
+
"name": "allowEmpty",
|
|
12154
|
+
"type": {
|
|
12155
|
+
"text": "boolean"
|
|
12156
|
+
},
|
|
12157
|
+
"default": "false",
|
|
12158
|
+
"attribute": "allow-empty",
|
|
12159
|
+
"inheritedFrom": {
|
|
12160
|
+
"name": "DatePicker",
|
|
12161
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12162
|
+
}
|
|
12163
|
+
},
|
|
12164
|
+
{
|
|
12165
|
+
"kind": "field",
|
|
12166
|
+
"name": "placeholder",
|
|
12167
|
+
"type": {
|
|
12168
|
+
"text": "string"
|
|
12169
|
+
},
|
|
12170
|
+
"attribute": "placeholder",
|
|
12171
|
+
"inheritedFrom": {
|
|
12172
|
+
"name": "DatePicker",
|
|
12173
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12174
|
+
}
|
|
12175
|
+
},
|
|
12070
12176
|
{
|
|
12071
12177
|
"kind": "field",
|
|
12072
12178
|
"name": "value",
|
|
@@ -12136,6 +12242,224 @@
|
|
|
12136
12242
|
"module": "src/date-picker/date-picker.ts"
|
|
12137
12243
|
}
|
|
12138
12244
|
},
|
|
12245
|
+
{
|
|
12246
|
+
"kind": "field",
|
|
12247
|
+
"name": "suppressValueChanged",
|
|
12248
|
+
"type": {
|
|
12249
|
+
"text": "boolean"
|
|
12250
|
+
},
|
|
12251
|
+
"privacy": "private",
|
|
12252
|
+
"default": "false",
|
|
12253
|
+
"inheritedFrom": {
|
|
12254
|
+
"name": "DatePicker",
|
|
12255
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12256
|
+
}
|
|
12257
|
+
},
|
|
12258
|
+
{
|
|
12259
|
+
"kind": "field",
|
|
12260
|
+
"name": "cachedFormat",
|
|
12261
|
+
"privacy": "private",
|
|
12262
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
12263
|
+
"inheritedFrom": {
|
|
12264
|
+
"name": "DatePicker",
|
|
12265
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12266
|
+
}
|
|
12267
|
+
},
|
|
12268
|
+
{
|
|
12269
|
+
"kind": "method",
|
|
12270
|
+
"name": "clear",
|
|
12271
|
+
"privacy": "public",
|
|
12272
|
+
"return": {
|
|
12273
|
+
"type": {
|
|
12274
|
+
"text": "void"
|
|
12275
|
+
}
|
|
12276
|
+
},
|
|
12277
|
+
"description": "Clears the selected date (only when `allow-empty` is enabled).",
|
|
12278
|
+
"inheritedFrom": {
|
|
12279
|
+
"name": "DatePicker",
|
|
12280
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12281
|
+
}
|
|
12282
|
+
},
|
|
12283
|
+
{
|
|
12284
|
+
"kind": "method",
|
|
12285
|
+
"name": "applyLocaleFormat",
|
|
12286
|
+
"privacy": "private",
|
|
12287
|
+
"return": {
|
|
12288
|
+
"type": {
|
|
12289
|
+
"text": "void"
|
|
12290
|
+
}
|
|
12291
|
+
},
|
|
12292
|
+
"inheritedFrom": {
|
|
12293
|
+
"name": "DatePicker",
|
|
12294
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12295
|
+
}
|
|
12296
|
+
},
|
|
12297
|
+
{
|
|
12298
|
+
"kind": "method",
|
|
12299
|
+
"name": "cacheUserFormat",
|
|
12300
|
+
"privacy": "private",
|
|
12301
|
+
"return": {
|
|
12302
|
+
"type": {
|
|
12303
|
+
"text": "void"
|
|
12304
|
+
}
|
|
12305
|
+
},
|
|
12306
|
+
"parameters": [
|
|
12307
|
+
{
|
|
12308
|
+
"name": "format",
|
|
12309
|
+
"type": {
|
|
12310
|
+
"text": "string"
|
|
12311
|
+
}
|
|
12312
|
+
}
|
|
12313
|
+
],
|
|
12314
|
+
"inheritedFrom": {
|
|
12315
|
+
"name": "DatePicker",
|
|
12316
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12317
|
+
}
|
|
12318
|
+
},
|
|
12319
|
+
{
|
|
12320
|
+
"kind": "method",
|
|
12321
|
+
"name": "restoreUserFormat",
|
|
12322
|
+
"privacy": "private",
|
|
12323
|
+
"return": {
|
|
12324
|
+
"type": {
|
|
12325
|
+
"text": "void"
|
|
12326
|
+
}
|
|
12327
|
+
},
|
|
12328
|
+
"inheritedFrom": {
|
|
12329
|
+
"name": "DatePicker",
|
|
12330
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12331
|
+
}
|
|
12332
|
+
},
|
|
12333
|
+
{
|
|
12334
|
+
"kind": "method",
|
|
12335
|
+
"name": "applyEffectiveLangChange",
|
|
12336
|
+
"privacy": "private",
|
|
12337
|
+
"return": {
|
|
12338
|
+
"type": {
|
|
12339
|
+
"text": "void"
|
|
12340
|
+
}
|
|
12341
|
+
},
|
|
12342
|
+
"inheritedFrom": {
|
|
12343
|
+
"name": "DatePicker",
|
|
12344
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12345
|
+
}
|
|
12346
|
+
},
|
|
12347
|
+
{
|
|
12348
|
+
"kind": "method",
|
|
12349
|
+
"name": "syncValueAttribute",
|
|
12350
|
+
"privacy": "private",
|
|
12351
|
+
"return": {
|
|
12352
|
+
"type": {
|
|
12353
|
+
"text": "void"
|
|
12354
|
+
}
|
|
12355
|
+
},
|
|
12356
|
+
"parameters": [
|
|
12357
|
+
{
|
|
12358
|
+
"name": "value",
|
|
12359
|
+
"type": {
|
|
12360
|
+
"text": "string"
|
|
12361
|
+
}
|
|
12362
|
+
}
|
|
12363
|
+
],
|
|
12364
|
+
"inheritedFrom": {
|
|
12365
|
+
"name": "DatePicker",
|
|
12366
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12367
|
+
}
|
|
12368
|
+
},
|
|
12369
|
+
{
|
|
12370
|
+
"kind": "method",
|
|
12371
|
+
"name": "initializeEmpty",
|
|
12372
|
+
"privacy": "private",
|
|
12373
|
+
"return": {
|
|
12374
|
+
"type": {
|
|
12375
|
+
"text": "void"
|
|
12376
|
+
}
|
|
12377
|
+
},
|
|
12378
|
+
"inheritedFrom": {
|
|
12379
|
+
"name": "DatePicker",
|
|
12380
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12381
|
+
}
|
|
12382
|
+
},
|
|
12383
|
+
{
|
|
12384
|
+
"kind": "method",
|
|
12385
|
+
"name": "initializeWithDefaultDate",
|
|
12386
|
+
"privacy": "private",
|
|
12387
|
+
"return": {
|
|
12388
|
+
"type": {
|
|
12389
|
+
"text": "void"
|
|
12390
|
+
}
|
|
12391
|
+
},
|
|
12392
|
+
"inheritedFrom": {
|
|
12393
|
+
"name": "DatePicker",
|
|
12394
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12395
|
+
}
|
|
12396
|
+
},
|
|
12397
|
+
{
|
|
12398
|
+
"kind": "method",
|
|
12399
|
+
"name": "resetToDefaultDate",
|
|
12400
|
+
"privacy": "private",
|
|
12401
|
+
"return": {
|
|
12402
|
+
"type": {
|
|
12403
|
+
"text": "void"
|
|
12404
|
+
}
|
|
12405
|
+
},
|
|
12406
|
+
"parameters": [
|
|
12407
|
+
{
|
|
12408
|
+
"name": "createCalendar",
|
|
12409
|
+
"default": "false"
|
|
12410
|
+
}
|
|
12411
|
+
],
|
|
12412
|
+
"inheritedFrom": {
|
|
12413
|
+
"name": "DatePicker",
|
|
12414
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12415
|
+
}
|
|
12416
|
+
},
|
|
12417
|
+
{
|
|
12418
|
+
"kind": "method",
|
|
12419
|
+
"name": "applyValue",
|
|
12420
|
+
"privacy": "private",
|
|
12421
|
+
"return": {
|
|
12422
|
+
"type": {
|
|
12423
|
+
"text": "void"
|
|
12424
|
+
}
|
|
12425
|
+
},
|
|
12426
|
+
"parameters": [
|
|
12427
|
+
{
|
|
12428
|
+
"name": "dateString",
|
|
12429
|
+
"type": {
|
|
12430
|
+
"text": "string"
|
|
12431
|
+
}
|
|
12432
|
+
}
|
|
12433
|
+
],
|
|
12434
|
+
"inheritedFrom": {
|
|
12435
|
+
"name": "DatePicker",
|
|
12436
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12437
|
+
}
|
|
12438
|
+
},
|
|
12439
|
+
{
|
|
12440
|
+
"kind": "method",
|
|
12441
|
+
"name": "clearToEmpty",
|
|
12442
|
+
"privacy": "private",
|
|
12443
|
+
"return": {
|
|
12444
|
+
"type": {
|
|
12445
|
+
"text": "void"
|
|
12446
|
+
}
|
|
12447
|
+
},
|
|
12448
|
+
"parameters": [
|
|
12449
|
+
{
|
|
12450
|
+
"name": "emitEvent",
|
|
12451
|
+
"type": {
|
|
12452
|
+
"text": "boolean"
|
|
12453
|
+
},
|
|
12454
|
+
"description": "emit `value-changed` for user-driven clears (public `clear()`); skip for\nhost-driven attribute writes since the host is the source of the change."
|
|
12455
|
+
}
|
|
12456
|
+
],
|
|
12457
|
+
"description": "Resets to the empty/cleared view.",
|
|
12458
|
+
"inheritedFrom": {
|
|
12459
|
+
"name": "DatePicker",
|
|
12460
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12461
|
+
}
|
|
12462
|
+
},
|
|
12139
12463
|
{
|
|
12140
12464
|
"kind": "method",
|
|
12141
12465
|
"name": "updateHeaderText",
|
|
@@ -12149,6 +12473,110 @@
|
|
|
12149
12473
|
"module": "src/date-picker/date-picker.ts"
|
|
12150
12474
|
}
|
|
12151
12475
|
},
|
|
12476
|
+
{
|
|
12477
|
+
"kind": "method",
|
|
12478
|
+
"name": "visibleChanged",
|
|
12479
|
+
"privacy": "protected",
|
|
12480
|
+
"return": {
|
|
12481
|
+
"type": {
|
|
12482
|
+
"text": "void"
|
|
12483
|
+
}
|
|
12484
|
+
},
|
|
12485
|
+
"parameters": [
|
|
12486
|
+
{
|
|
12487
|
+
"name": "_prev",
|
|
12488
|
+
"type": {
|
|
12489
|
+
"text": "boolean"
|
|
12490
|
+
}
|
|
12491
|
+
},
|
|
12492
|
+
{
|
|
12493
|
+
"name": "next",
|
|
12494
|
+
"type": {
|
|
12495
|
+
"text": "boolean"
|
|
12496
|
+
}
|
|
12497
|
+
}
|
|
12498
|
+
],
|
|
12499
|
+
"inheritedFrom": {
|
|
12500
|
+
"name": "DatePicker",
|
|
12501
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12502
|
+
}
|
|
12503
|
+
},
|
|
12504
|
+
{
|
|
12505
|
+
"kind": "field",
|
|
12506
|
+
"name": "clickOutside",
|
|
12507
|
+
"privacy": "private",
|
|
12508
|
+
"inheritedFrom": {
|
|
12509
|
+
"name": "DatePicker",
|
|
12510
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12511
|
+
}
|
|
12512
|
+
},
|
|
12513
|
+
{
|
|
12514
|
+
"kind": "field",
|
|
12515
|
+
"name": "keydownOutside",
|
|
12516
|
+
"privacy": "private",
|
|
12517
|
+
"inheritedFrom": {
|
|
12518
|
+
"name": "DatePicker",
|
|
12519
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12520
|
+
}
|
|
12521
|
+
},
|
|
12522
|
+
{
|
|
12523
|
+
"kind": "method",
|
|
12524
|
+
"name": "handleKeydownOutside",
|
|
12525
|
+
"privacy": "private",
|
|
12526
|
+
"return": {
|
|
12527
|
+
"type": {
|
|
12528
|
+
"text": "void"
|
|
12529
|
+
}
|
|
12530
|
+
},
|
|
12531
|
+
"parameters": [
|
|
12532
|
+
{
|
|
12533
|
+
"name": "event",
|
|
12534
|
+
"type": {
|
|
12535
|
+
"text": "KeyboardEvent"
|
|
12536
|
+
}
|
|
12537
|
+
}
|
|
12538
|
+
],
|
|
12539
|
+
"inheritedFrom": {
|
|
12540
|
+
"name": "DatePicker",
|
|
12541
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12542
|
+
}
|
|
12543
|
+
},
|
|
12544
|
+
{
|
|
12545
|
+
"kind": "method",
|
|
12546
|
+
"name": "handleClickOutside",
|
|
12547
|
+
"privacy": "private",
|
|
12548
|
+
"return": {
|
|
12549
|
+
"type": {
|
|
12550
|
+
"text": "void"
|
|
12551
|
+
}
|
|
12552
|
+
},
|
|
12553
|
+
"parameters": [
|
|
12554
|
+
{
|
|
12555
|
+
"name": "event",
|
|
12556
|
+
"type": {
|
|
12557
|
+
"text": "MouseEvent"
|
|
12558
|
+
}
|
|
12559
|
+
}
|
|
12560
|
+
],
|
|
12561
|
+
"inheritedFrom": {
|
|
12562
|
+
"name": "DatePicker",
|
|
12563
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12564
|
+
}
|
|
12565
|
+
},
|
|
12566
|
+
{
|
|
12567
|
+
"kind": "method",
|
|
12568
|
+
"name": "closeCalendar",
|
|
12569
|
+
"privacy": "private",
|
|
12570
|
+
"return": {
|
|
12571
|
+
"type": {
|
|
12572
|
+
"text": "void"
|
|
12573
|
+
}
|
|
12574
|
+
},
|
|
12575
|
+
"inheritedFrom": {
|
|
12576
|
+
"name": "DatePicker",
|
|
12577
|
+
"module": "src/date-picker/date-picker.ts"
|
|
12578
|
+
}
|
|
12579
|
+
},
|
|
12152
12580
|
{
|
|
12153
12581
|
"kind": "method",
|
|
12154
12582
|
"name": "toggleCalendar",
|
|
@@ -32131,19 +32559,11 @@
|
|
|
32131
32559
|
"type": {
|
|
32132
32560
|
"text": "Event"
|
|
32133
32561
|
},
|
|
32134
|
-
"description": "
|
|
32562
|
+
"description": "Fires a custom 'change' event when the value updates",
|
|
32135
32563
|
"inheritedFrom": {
|
|
32136
32564
|
"name": "Combobox",
|
|
32137
32565
|
"module": "src/combobox/combobox.ts"
|
|
32138
32566
|
}
|
|
32139
|
-
},
|
|
32140
|
-
{
|
|
32141
|
-
"description": "Fired when the input is cleared by the user",
|
|
32142
|
-
"name": "inputdeleted",
|
|
32143
|
-
"inheritedFrom": {
|
|
32144
|
-
"name": "SearchBarCombobox",
|
|
32145
|
-
"module": "src/search-bar/search-bar-combobox.ts"
|
|
32146
|
-
}
|
|
32147
32567
|
}
|
|
32148
32568
|
]
|
|
32149
32569
|
},
|
|
@@ -32325,6 +32745,19 @@
|
|
|
32325
32745
|
"module": "src/search-bar/search-bar.ts"
|
|
32326
32746
|
}
|
|
32327
32747
|
},
|
|
32748
|
+
{
|
|
32749
|
+
"kind": "field",
|
|
32750
|
+
"name": "clearButton",
|
|
32751
|
+
"type": {
|
|
32752
|
+
"text": "boolean"
|
|
32753
|
+
},
|
|
32754
|
+
"default": "true",
|
|
32755
|
+
"attribute": "clear-button",
|
|
32756
|
+
"inheritedFrom": {
|
|
32757
|
+
"name": "SearchBar",
|
|
32758
|
+
"module": "src/search-bar/search-bar.ts"
|
|
32759
|
+
}
|
|
32760
|
+
},
|
|
32328
32761
|
{
|
|
32329
32762
|
"kind": "field",
|
|
32330
32763
|
"name": "loading",
|
|
@@ -32375,6 +32808,7 @@
|
|
|
32375
32808
|
"kind": "method",
|
|
32376
32809
|
"name": "clear",
|
|
32377
32810
|
"privacy": "public",
|
|
32811
|
+
"description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array.",
|
|
32378
32812
|
"inheritedFrom": {
|
|
32379
32813
|
"name": "SearchBar",
|
|
32380
32814
|
"module": "src/search-bar/search-bar.ts"
|
|
@@ -32389,6 +32823,32 @@
|
|
|
32389
32823
|
"text": "void"
|
|
32390
32824
|
}
|
|
32391
32825
|
},
|
|
32826
|
+
"description": "Alias for SearchBar.clear.",
|
|
32827
|
+
"inheritedFrom": {
|
|
32828
|
+
"name": "SearchBar",
|
|
32829
|
+
"module": "src/search-bar/search-bar.ts"
|
|
32830
|
+
}
|
|
32831
|
+
},
|
|
32832
|
+
{
|
|
32833
|
+
"kind": "method",
|
|
32834
|
+
"name": "selectedOptionsChanged",
|
|
32835
|
+
"inheritedFrom": {
|
|
32836
|
+
"name": "SearchBar",
|
|
32837
|
+
"module": "src/search-bar/search-bar.ts"
|
|
32838
|
+
}
|
|
32839
|
+
},
|
|
32840
|
+
{
|
|
32841
|
+
"kind": "method",
|
|
32842
|
+
"name": "optionsChanged",
|
|
32843
|
+
"inheritedFrom": {
|
|
32844
|
+
"name": "SearchBar",
|
|
32845
|
+
"module": "src/search-bar/search-bar.ts"
|
|
32846
|
+
}
|
|
32847
|
+
},
|
|
32848
|
+
{
|
|
32849
|
+
"kind": "method",
|
|
32850
|
+
"name": "applySearchInputLock",
|
|
32851
|
+
"privacy": "private",
|
|
32392
32852
|
"inheritedFrom": {
|
|
32393
32853
|
"name": "SearchBar",
|
|
32394
32854
|
"module": "src/search-bar/search-bar.ts"
|
|
@@ -32632,6 +33092,20 @@
|
|
|
32632
33092
|
"tagName": "%%prefix%%-search-bar",
|
|
32633
33093
|
"customElement": true,
|
|
32634
33094
|
"attributes": [
|
|
33095
|
+
{
|
|
33096
|
+
"name": "clear-button",
|
|
33097
|
+
"type": {
|
|
33098
|
+
"text": "boolean"
|
|
33099
|
+
},
|
|
33100
|
+
"default": "true",
|
|
33101
|
+
"attribute": "clear-button",
|
|
33102
|
+
"fieldName": "clearButton",
|
|
33103
|
+
"description": "when true, shows the end clear control when there are chips or typed text. When false, use {@link SearchBar.clear} or {@link SearchBar.clearSearch} to reset programmatically.",
|
|
33104
|
+
"inheritedFrom": {
|
|
33105
|
+
"name": "SearchBar",
|
|
33106
|
+
"module": "src/search-bar/search-bar.ts"
|
|
33107
|
+
}
|
|
33108
|
+
},
|
|
32635
33109
|
{
|
|
32636
33110
|
"name": "appearance",
|
|
32637
33111
|
"type": {
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -665,7 +665,6 @@ export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
|
|
|
665
665
|
React.PropsWithChildren<
|
|
666
666
|
Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
|
|
667
667
|
HTMLWCProps & {
|
|
668
|
-
onInputdeleted?: (event: CustomEvent<unknown>) => void;
|
|
669
668
|
}
|
|
670
669
|
> & React.RefAttributes<SearchBarComboboxWC>
|
|
671
670
|
>;
|
package/dist/react.cjs
CHANGED
|
@@ -591,20 +591,8 @@ const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref
|
|
|
591
591
|
});
|
|
592
592
|
|
|
593
593
|
const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
594
|
-
const {
|
|
595
|
-
|
|
596
|
-
const _onInputdeletedRef = React.useRef(onInputdeleted);
|
|
597
|
-
_onInputdeletedRef.current = onInputdeleted;
|
|
598
|
-
React.useLayoutEffect(() => {
|
|
599
|
-
const el = _innerRef.current;
|
|
600
|
-
if (!el) return;
|
|
601
|
-
const _onInputdeletedFn = (e) => _onInputdeletedRef.current?.(e);
|
|
602
|
-
el.addEventListener('inputdeleted', _onInputdeletedFn);
|
|
603
|
-
return () => {
|
|
604
|
-
el.removeEventListener('inputdeleted', _onInputdeletedFn);
|
|
605
|
-
};
|
|
606
|
-
}, []);
|
|
607
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
594
|
+
const { children, ...rest } = props;
|
|
595
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
608
596
|
});
|
|
609
597
|
|
|
610
598
|
const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
package/dist/react.mjs
CHANGED
|
@@ -589,20 +589,8 @@ export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(pro
|
|
|
589
589
|
});
|
|
590
590
|
|
|
591
591
|
export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
592
|
-
const {
|
|
593
|
-
|
|
594
|
-
const _onInputdeletedRef = React.useRef(onInputdeleted);
|
|
595
|
-
_onInputdeletedRef.current = onInputdeleted;
|
|
596
|
-
React.useLayoutEffect(() => {
|
|
597
|
-
const el = _innerRef.current;
|
|
598
|
-
if (!el) return;
|
|
599
|
-
const _onInputdeletedFn = (e) => _onInputdeletedRef.current?.(e);
|
|
600
|
-
el.addEventListener('inputdeleted', _onInputdeletedFn);
|
|
601
|
-
return () => {
|
|
602
|
-
el.removeEventListener('inputdeleted', _onInputdeletedFn);
|
|
603
|
-
};
|
|
604
|
-
}, []);
|
|
605
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
592
|
+
const { children, ...rest } = props;
|
|
593
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
606
594
|
});
|
|
607
595
|
|
|
608
596
|
export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
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.
|
|
4
|
+
"version": "14.448.0-canary.wealth",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -73,18 +73,18 @@
|
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
76
|
-
"@genesislcap/genx": "14.
|
|
77
|
-
"@genesislcap/rollup-builder": "14.
|
|
78
|
-
"@genesislcap/ts-builder": "14.
|
|
79
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
80
|
-
"@genesislcap/vite-builder": "14.
|
|
81
|
-
"@genesislcap/webpack-builder": "14.
|
|
76
|
+
"@genesislcap/genx": "14.448.0-canary.wealth",
|
|
77
|
+
"@genesislcap/rollup-builder": "14.448.0-canary.wealth",
|
|
78
|
+
"@genesislcap/ts-builder": "14.448.0-canary.wealth",
|
|
79
|
+
"@genesislcap/uvu-playwright-builder": "14.448.0-canary.wealth",
|
|
80
|
+
"@genesislcap/vite-builder": "14.448.0-canary.wealth",
|
|
81
|
+
"@genesislcap/webpack-builder": "14.448.0-canary.wealth"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@genesislcap/foundation-comms": "14.
|
|
85
|
-
"@genesislcap/foundation-logger": "14.
|
|
86
|
-
"@genesislcap/foundation-ui": "14.
|
|
87
|
-
"@genesislcap/foundation-utils": "14.
|
|
84
|
+
"@genesislcap/foundation-comms": "14.448.0-canary.wealth",
|
|
85
|
+
"@genesislcap/foundation-logger": "14.448.0-canary.wealth",
|
|
86
|
+
"@genesislcap/foundation-ui": "14.448.0-canary.wealth",
|
|
87
|
+
"@genesislcap/foundation-utils": "14.448.0-canary.wealth",
|
|
88
88
|
"@microsoft/fast-colors": "5.3.1",
|
|
89
89
|
"@microsoft/fast-components": "2.30.6",
|
|
90
90
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"require": "./dist/react.cjs"
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
|
-
"gitHead": "
|
|
114
|
+
"gitHead": "dd463812d10b19835162f58c2c04624fe52c6a36"
|
|
115
115
|
}
|