@genesislcap/rapid-design-system 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 +11 -11
|
@@ -9759,10 +9759,10 @@
|
|
|
9759
9759
|
"attributes": [
|
|
9760
9760
|
{
|
|
9761
9761
|
"name": "format",
|
|
9762
|
-
"
|
|
9763
|
-
|
|
9762
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
9763
|
+
"resolveInitializer": {
|
|
9764
|
+
"module": "/src/date-picker/date-picker.util"
|
|
9764
9765
|
},
|
|
9765
|
-
"default": "'MM-DD-YYYY'",
|
|
9766
9766
|
"attribute": "format",
|
|
9767
9767
|
"fieldName": "format",
|
|
9768
9768
|
"description": "date format that will be displayed.",
|
|
@@ -9771,6 +9771,20 @@
|
|
|
9771
9771
|
"module": "src/date-picker/date-picker.ts"
|
|
9772
9772
|
}
|
|
9773
9773
|
},
|
|
9774
|
+
{
|
|
9775
|
+
"name": "use-locale-format",
|
|
9776
|
+
"type": {
|
|
9777
|
+
"text": "boolean"
|
|
9778
|
+
},
|
|
9779
|
+
"default": "false",
|
|
9780
|
+
"attribute": "use-locale-format",
|
|
9781
|
+
"fieldName": "useLocaleFormat",
|
|
9782
|
+
"description": "when true, `format` is set from dayjs locale `L`. Uses the browser locale (`navigator.language`) unless `lang` is set on the element.",
|
|
9783
|
+
"inheritedFrom": {
|
|
9784
|
+
"name": "DatePicker",
|
|
9785
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9786
|
+
}
|
|
9787
|
+
},
|
|
9774
9788
|
{
|
|
9775
9789
|
"name": "inline-calendar",
|
|
9776
9790
|
"type": {
|
|
@@ -9826,6 +9840,33 @@
|
|
|
9826
9840
|
"module": "src/date-picker/date-picker.ts"
|
|
9827
9841
|
}
|
|
9828
9842
|
},
|
|
9843
|
+
{
|
|
9844
|
+
"name": "allow-empty",
|
|
9845
|
+
"type": {
|
|
9846
|
+
"text": "boolean"
|
|
9847
|
+
},
|
|
9848
|
+
"default": "false",
|
|
9849
|
+
"attribute": "allow-empty",
|
|
9850
|
+
"fieldName": "allowEmpty",
|
|
9851
|
+
"description": "when true, no initial date is selected; the input shows a placeholder until the user picks a date.",
|
|
9852
|
+
"inheritedFrom": {
|
|
9853
|
+
"name": "DatePicker",
|
|
9854
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9855
|
+
}
|
|
9856
|
+
},
|
|
9857
|
+
{
|
|
9858
|
+
"name": "placeholder",
|
|
9859
|
+
"type": {
|
|
9860
|
+
"text": "string"
|
|
9861
|
+
},
|
|
9862
|
+
"attribute": "placeholder",
|
|
9863
|
+
"fieldName": "placeholder",
|
|
9864
|
+
"description": "hint shown when allow-empty is set and no date is selected. Defaults from `format` (e.g. DD/MM/YYYY → dd/mm/yyyy).",
|
|
9865
|
+
"inheritedFrom": {
|
|
9866
|
+
"name": "DatePicker",
|
|
9867
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9868
|
+
}
|
|
9869
|
+
},
|
|
9829
9870
|
{
|
|
9830
9871
|
"name": "value",
|
|
9831
9872
|
"type": {
|
|
@@ -9868,10 +9909,7 @@
|
|
|
9868
9909
|
{
|
|
9869
9910
|
"kind": "field",
|
|
9870
9911
|
"name": "format",
|
|
9871
|
-
"
|
|
9872
|
-
"text": "string"
|
|
9873
|
-
},
|
|
9874
|
-
"default": "'MM-DD-YYYY'",
|
|
9912
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
9875
9913
|
"attribute": "format",
|
|
9876
9914
|
"inheritedFrom": {
|
|
9877
9915
|
"name": "DatePicker",
|
|
@@ -9912,6 +9950,49 @@
|
|
|
9912
9950
|
"module": "src/date-picker/date-picker.ts"
|
|
9913
9951
|
}
|
|
9914
9952
|
},
|
|
9953
|
+
{
|
|
9954
|
+
"kind": "method",
|
|
9955
|
+
"name": "langChanged",
|
|
9956
|
+
"inheritedFrom": {
|
|
9957
|
+
"name": "DatePicker",
|
|
9958
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9959
|
+
}
|
|
9960
|
+
},
|
|
9961
|
+
{
|
|
9962
|
+
"kind": "field",
|
|
9963
|
+
"name": "useLocaleFormat",
|
|
9964
|
+
"type": {
|
|
9965
|
+
"text": "boolean"
|
|
9966
|
+
},
|
|
9967
|
+
"default": "false",
|
|
9968
|
+
"attribute": "use-locale-format",
|
|
9969
|
+
"inheritedFrom": {
|
|
9970
|
+
"name": "DatePicker",
|
|
9971
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9972
|
+
}
|
|
9973
|
+
},
|
|
9974
|
+
{
|
|
9975
|
+
"kind": "method",
|
|
9976
|
+
"name": "useLocaleFormatChanged",
|
|
9977
|
+
"parameters": [
|
|
9978
|
+
{
|
|
9979
|
+
"name": "oldValue",
|
|
9980
|
+
"type": {
|
|
9981
|
+
"text": "boolean"
|
|
9982
|
+
}
|
|
9983
|
+
},
|
|
9984
|
+
{
|
|
9985
|
+
"name": "newValue",
|
|
9986
|
+
"type": {
|
|
9987
|
+
"text": "boolean"
|
|
9988
|
+
}
|
|
9989
|
+
}
|
|
9990
|
+
],
|
|
9991
|
+
"inheritedFrom": {
|
|
9992
|
+
"name": "DatePicker",
|
|
9993
|
+
"module": "src/date-picker/date-picker.ts"
|
|
9994
|
+
}
|
|
9995
|
+
},
|
|
9915
9996
|
{
|
|
9916
9997
|
"kind": "field",
|
|
9917
9998
|
"name": "visible",
|
|
@@ -9991,6 +10072,31 @@
|
|
|
9991
10072
|
"module": "src/date-picker/date-picker.ts"
|
|
9992
10073
|
}
|
|
9993
10074
|
},
|
|
10075
|
+
{
|
|
10076
|
+
"kind": "field",
|
|
10077
|
+
"name": "allowEmpty",
|
|
10078
|
+
"type": {
|
|
10079
|
+
"text": "boolean"
|
|
10080
|
+
},
|
|
10081
|
+
"default": "false",
|
|
10082
|
+
"attribute": "allow-empty",
|
|
10083
|
+
"inheritedFrom": {
|
|
10084
|
+
"name": "DatePicker",
|
|
10085
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10086
|
+
}
|
|
10087
|
+
},
|
|
10088
|
+
{
|
|
10089
|
+
"kind": "field",
|
|
10090
|
+
"name": "placeholder",
|
|
10091
|
+
"type": {
|
|
10092
|
+
"text": "string"
|
|
10093
|
+
},
|
|
10094
|
+
"attribute": "placeholder",
|
|
10095
|
+
"inheritedFrom": {
|
|
10096
|
+
"name": "DatePicker",
|
|
10097
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10098
|
+
}
|
|
10099
|
+
},
|
|
9994
10100
|
{
|
|
9995
10101
|
"kind": "field",
|
|
9996
10102
|
"name": "value",
|
|
@@ -10060,6 +10166,224 @@
|
|
|
10060
10166
|
"module": "src/date-picker/date-picker.ts"
|
|
10061
10167
|
}
|
|
10062
10168
|
},
|
|
10169
|
+
{
|
|
10170
|
+
"kind": "field",
|
|
10171
|
+
"name": "suppressValueChanged",
|
|
10172
|
+
"type": {
|
|
10173
|
+
"text": "boolean"
|
|
10174
|
+
},
|
|
10175
|
+
"privacy": "private",
|
|
10176
|
+
"default": "false",
|
|
10177
|
+
"inheritedFrom": {
|
|
10178
|
+
"name": "DatePicker",
|
|
10179
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10180
|
+
}
|
|
10181
|
+
},
|
|
10182
|
+
{
|
|
10183
|
+
"kind": "field",
|
|
10184
|
+
"name": "cachedFormat",
|
|
10185
|
+
"privacy": "private",
|
|
10186
|
+
"default": "DATE_PICKER_VALUE_FORMAT",
|
|
10187
|
+
"inheritedFrom": {
|
|
10188
|
+
"name": "DatePicker",
|
|
10189
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10190
|
+
}
|
|
10191
|
+
},
|
|
10192
|
+
{
|
|
10193
|
+
"kind": "method",
|
|
10194
|
+
"name": "clear",
|
|
10195
|
+
"privacy": "public",
|
|
10196
|
+
"return": {
|
|
10197
|
+
"type": {
|
|
10198
|
+
"text": "void"
|
|
10199
|
+
}
|
|
10200
|
+
},
|
|
10201
|
+
"description": "Clears the selected date (only when `allow-empty` is enabled).",
|
|
10202
|
+
"inheritedFrom": {
|
|
10203
|
+
"name": "DatePicker",
|
|
10204
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10205
|
+
}
|
|
10206
|
+
},
|
|
10207
|
+
{
|
|
10208
|
+
"kind": "method",
|
|
10209
|
+
"name": "applyLocaleFormat",
|
|
10210
|
+
"privacy": "private",
|
|
10211
|
+
"return": {
|
|
10212
|
+
"type": {
|
|
10213
|
+
"text": "void"
|
|
10214
|
+
}
|
|
10215
|
+
},
|
|
10216
|
+
"inheritedFrom": {
|
|
10217
|
+
"name": "DatePicker",
|
|
10218
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10219
|
+
}
|
|
10220
|
+
},
|
|
10221
|
+
{
|
|
10222
|
+
"kind": "method",
|
|
10223
|
+
"name": "cacheUserFormat",
|
|
10224
|
+
"privacy": "private",
|
|
10225
|
+
"return": {
|
|
10226
|
+
"type": {
|
|
10227
|
+
"text": "void"
|
|
10228
|
+
}
|
|
10229
|
+
},
|
|
10230
|
+
"parameters": [
|
|
10231
|
+
{
|
|
10232
|
+
"name": "format",
|
|
10233
|
+
"type": {
|
|
10234
|
+
"text": "string"
|
|
10235
|
+
}
|
|
10236
|
+
}
|
|
10237
|
+
],
|
|
10238
|
+
"inheritedFrom": {
|
|
10239
|
+
"name": "DatePicker",
|
|
10240
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10241
|
+
}
|
|
10242
|
+
},
|
|
10243
|
+
{
|
|
10244
|
+
"kind": "method",
|
|
10245
|
+
"name": "restoreUserFormat",
|
|
10246
|
+
"privacy": "private",
|
|
10247
|
+
"return": {
|
|
10248
|
+
"type": {
|
|
10249
|
+
"text": "void"
|
|
10250
|
+
}
|
|
10251
|
+
},
|
|
10252
|
+
"inheritedFrom": {
|
|
10253
|
+
"name": "DatePicker",
|
|
10254
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10255
|
+
}
|
|
10256
|
+
},
|
|
10257
|
+
{
|
|
10258
|
+
"kind": "method",
|
|
10259
|
+
"name": "applyEffectiveLangChange",
|
|
10260
|
+
"privacy": "private",
|
|
10261
|
+
"return": {
|
|
10262
|
+
"type": {
|
|
10263
|
+
"text": "void"
|
|
10264
|
+
}
|
|
10265
|
+
},
|
|
10266
|
+
"inheritedFrom": {
|
|
10267
|
+
"name": "DatePicker",
|
|
10268
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10269
|
+
}
|
|
10270
|
+
},
|
|
10271
|
+
{
|
|
10272
|
+
"kind": "method",
|
|
10273
|
+
"name": "syncValueAttribute",
|
|
10274
|
+
"privacy": "private",
|
|
10275
|
+
"return": {
|
|
10276
|
+
"type": {
|
|
10277
|
+
"text": "void"
|
|
10278
|
+
}
|
|
10279
|
+
},
|
|
10280
|
+
"parameters": [
|
|
10281
|
+
{
|
|
10282
|
+
"name": "value",
|
|
10283
|
+
"type": {
|
|
10284
|
+
"text": "string"
|
|
10285
|
+
}
|
|
10286
|
+
}
|
|
10287
|
+
],
|
|
10288
|
+
"inheritedFrom": {
|
|
10289
|
+
"name": "DatePicker",
|
|
10290
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10291
|
+
}
|
|
10292
|
+
},
|
|
10293
|
+
{
|
|
10294
|
+
"kind": "method",
|
|
10295
|
+
"name": "initializeEmpty",
|
|
10296
|
+
"privacy": "private",
|
|
10297
|
+
"return": {
|
|
10298
|
+
"type": {
|
|
10299
|
+
"text": "void"
|
|
10300
|
+
}
|
|
10301
|
+
},
|
|
10302
|
+
"inheritedFrom": {
|
|
10303
|
+
"name": "DatePicker",
|
|
10304
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10305
|
+
}
|
|
10306
|
+
},
|
|
10307
|
+
{
|
|
10308
|
+
"kind": "method",
|
|
10309
|
+
"name": "initializeWithDefaultDate",
|
|
10310
|
+
"privacy": "private",
|
|
10311
|
+
"return": {
|
|
10312
|
+
"type": {
|
|
10313
|
+
"text": "void"
|
|
10314
|
+
}
|
|
10315
|
+
},
|
|
10316
|
+
"inheritedFrom": {
|
|
10317
|
+
"name": "DatePicker",
|
|
10318
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10319
|
+
}
|
|
10320
|
+
},
|
|
10321
|
+
{
|
|
10322
|
+
"kind": "method",
|
|
10323
|
+
"name": "resetToDefaultDate",
|
|
10324
|
+
"privacy": "private",
|
|
10325
|
+
"return": {
|
|
10326
|
+
"type": {
|
|
10327
|
+
"text": "void"
|
|
10328
|
+
}
|
|
10329
|
+
},
|
|
10330
|
+
"parameters": [
|
|
10331
|
+
{
|
|
10332
|
+
"name": "createCalendar",
|
|
10333
|
+
"default": "false"
|
|
10334
|
+
}
|
|
10335
|
+
],
|
|
10336
|
+
"inheritedFrom": {
|
|
10337
|
+
"name": "DatePicker",
|
|
10338
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10339
|
+
}
|
|
10340
|
+
},
|
|
10341
|
+
{
|
|
10342
|
+
"kind": "method",
|
|
10343
|
+
"name": "applyValue",
|
|
10344
|
+
"privacy": "private",
|
|
10345
|
+
"return": {
|
|
10346
|
+
"type": {
|
|
10347
|
+
"text": "void"
|
|
10348
|
+
}
|
|
10349
|
+
},
|
|
10350
|
+
"parameters": [
|
|
10351
|
+
{
|
|
10352
|
+
"name": "dateString",
|
|
10353
|
+
"type": {
|
|
10354
|
+
"text": "string"
|
|
10355
|
+
}
|
|
10356
|
+
}
|
|
10357
|
+
],
|
|
10358
|
+
"inheritedFrom": {
|
|
10359
|
+
"name": "DatePicker",
|
|
10360
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10361
|
+
}
|
|
10362
|
+
},
|
|
10363
|
+
{
|
|
10364
|
+
"kind": "method",
|
|
10365
|
+
"name": "clearToEmpty",
|
|
10366
|
+
"privacy": "private",
|
|
10367
|
+
"return": {
|
|
10368
|
+
"type": {
|
|
10369
|
+
"text": "void"
|
|
10370
|
+
}
|
|
10371
|
+
},
|
|
10372
|
+
"parameters": [
|
|
10373
|
+
{
|
|
10374
|
+
"name": "emitEvent",
|
|
10375
|
+
"type": {
|
|
10376
|
+
"text": "boolean"
|
|
10377
|
+
},
|
|
10378
|
+
"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."
|
|
10379
|
+
}
|
|
10380
|
+
],
|
|
10381
|
+
"description": "Resets to the empty/cleared view.",
|
|
10382
|
+
"inheritedFrom": {
|
|
10383
|
+
"name": "DatePicker",
|
|
10384
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10385
|
+
}
|
|
10386
|
+
},
|
|
10063
10387
|
{
|
|
10064
10388
|
"kind": "method",
|
|
10065
10389
|
"name": "updateHeaderText",
|
|
@@ -10073,6 +10397,110 @@
|
|
|
10073
10397
|
"module": "src/date-picker/date-picker.ts"
|
|
10074
10398
|
}
|
|
10075
10399
|
},
|
|
10400
|
+
{
|
|
10401
|
+
"kind": "method",
|
|
10402
|
+
"name": "visibleChanged",
|
|
10403
|
+
"privacy": "protected",
|
|
10404
|
+
"return": {
|
|
10405
|
+
"type": {
|
|
10406
|
+
"text": "void"
|
|
10407
|
+
}
|
|
10408
|
+
},
|
|
10409
|
+
"parameters": [
|
|
10410
|
+
{
|
|
10411
|
+
"name": "_prev",
|
|
10412
|
+
"type": {
|
|
10413
|
+
"text": "boolean"
|
|
10414
|
+
}
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
"name": "next",
|
|
10418
|
+
"type": {
|
|
10419
|
+
"text": "boolean"
|
|
10420
|
+
}
|
|
10421
|
+
}
|
|
10422
|
+
],
|
|
10423
|
+
"inheritedFrom": {
|
|
10424
|
+
"name": "DatePicker",
|
|
10425
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10426
|
+
}
|
|
10427
|
+
},
|
|
10428
|
+
{
|
|
10429
|
+
"kind": "field",
|
|
10430
|
+
"name": "clickOutside",
|
|
10431
|
+
"privacy": "private",
|
|
10432
|
+
"inheritedFrom": {
|
|
10433
|
+
"name": "DatePicker",
|
|
10434
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10435
|
+
}
|
|
10436
|
+
},
|
|
10437
|
+
{
|
|
10438
|
+
"kind": "field",
|
|
10439
|
+
"name": "keydownOutside",
|
|
10440
|
+
"privacy": "private",
|
|
10441
|
+
"inheritedFrom": {
|
|
10442
|
+
"name": "DatePicker",
|
|
10443
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10444
|
+
}
|
|
10445
|
+
},
|
|
10446
|
+
{
|
|
10447
|
+
"kind": "method",
|
|
10448
|
+
"name": "handleKeydownOutside",
|
|
10449
|
+
"privacy": "private",
|
|
10450
|
+
"return": {
|
|
10451
|
+
"type": {
|
|
10452
|
+
"text": "void"
|
|
10453
|
+
}
|
|
10454
|
+
},
|
|
10455
|
+
"parameters": [
|
|
10456
|
+
{
|
|
10457
|
+
"name": "event",
|
|
10458
|
+
"type": {
|
|
10459
|
+
"text": "KeyboardEvent"
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10462
|
+
],
|
|
10463
|
+
"inheritedFrom": {
|
|
10464
|
+
"name": "DatePicker",
|
|
10465
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10466
|
+
}
|
|
10467
|
+
},
|
|
10468
|
+
{
|
|
10469
|
+
"kind": "method",
|
|
10470
|
+
"name": "handleClickOutside",
|
|
10471
|
+
"privacy": "private",
|
|
10472
|
+
"return": {
|
|
10473
|
+
"type": {
|
|
10474
|
+
"text": "void"
|
|
10475
|
+
}
|
|
10476
|
+
},
|
|
10477
|
+
"parameters": [
|
|
10478
|
+
{
|
|
10479
|
+
"name": "event",
|
|
10480
|
+
"type": {
|
|
10481
|
+
"text": "MouseEvent"
|
|
10482
|
+
}
|
|
10483
|
+
}
|
|
10484
|
+
],
|
|
10485
|
+
"inheritedFrom": {
|
|
10486
|
+
"name": "DatePicker",
|
|
10487
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10488
|
+
}
|
|
10489
|
+
},
|
|
10490
|
+
{
|
|
10491
|
+
"kind": "method",
|
|
10492
|
+
"name": "closeCalendar",
|
|
10493
|
+
"privacy": "private",
|
|
10494
|
+
"return": {
|
|
10495
|
+
"type": {
|
|
10496
|
+
"text": "void"
|
|
10497
|
+
}
|
|
10498
|
+
},
|
|
10499
|
+
"inheritedFrom": {
|
|
10500
|
+
"name": "DatePicker",
|
|
10501
|
+
"module": "src/date-picker/date-picker.ts"
|
|
10502
|
+
}
|
|
10503
|
+
},
|
|
10076
10504
|
{
|
|
10077
10505
|
"kind": "method",
|
|
10078
10506
|
"name": "toggleCalendar",
|
|
@@ -28605,19 +29033,11 @@
|
|
|
28605
29033
|
"type": {
|
|
28606
29034
|
"text": "Event"
|
|
28607
29035
|
},
|
|
28608
|
-
"description": "
|
|
29036
|
+
"description": "Fires a custom 'change' event when the value updates",
|
|
28609
29037
|
"inheritedFrom": {
|
|
28610
29038
|
"name": "Combobox",
|
|
28611
29039
|
"module": "src/combobox/combobox.ts"
|
|
28612
29040
|
}
|
|
28613
|
-
},
|
|
28614
|
-
{
|
|
28615
|
-
"description": "Fired when the input is cleared by the user",
|
|
28616
|
-
"name": "inputdeleted",
|
|
28617
|
-
"inheritedFrom": {
|
|
28618
|
-
"name": "SearchBarCombobox",
|
|
28619
|
-
"module": "src/search-bar/search-bar-combobox.ts"
|
|
28620
|
-
}
|
|
28621
29041
|
}
|
|
28622
29042
|
]
|
|
28623
29043
|
},
|
|
@@ -28704,6 +29124,20 @@
|
|
|
28704
29124
|
"tagName": "%%prefix%%-search-bar",
|
|
28705
29125
|
"customElement": true,
|
|
28706
29126
|
"attributes": [
|
|
29127
|
+
{
|
|
29128
|
+
"name": "clear-button",
|
|
29129
|
+
"type": {
|
|
29130
|
+
"text": "boolean"
|
|
29131
|
+
},
|
|
29132
|
+
"default": "true",
|
|
29133
|
+
"attribute": "clear-button",
|
|
29134
|
+
"fieldName": "clearButton",
|
|
29135
|
+
"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.",
|
|
29136
|
+
"inheritedFrom": {
|
|
29137
|
+
"name": "SearchBar",
|
|
29138
|
+
"module": "src/search-bar/search-bar.ts"
|
|
29139
|
+
}
|
|
29140
|
+
},
|
|
28707
29141
|
{
|
|
28708
29142
|
"name": "appearance",
|
|
28709
29143
|
"type": {
|
|
@@ -28868,6 +29302,19 @@
|
|
|
28868
29302
|
"module": "src/search-bar/search-bar.ts"
|
|
28869
29303
|
}
|
|
28870
29304
|
},
|
|
29305
|
+
{
|
|
29306
|
+
"kind": "field",
|
|
29307
|
+
"name": "clearButton",
|
|
29308
|
+
"type": {
|
|
29309
|
+
"text": "boolean"
|
|
29310
|
+
},
|
|
29311
|
+
"default": "true",
|
|
29312
|
+
"attribute": "clear-button",
|
|
29313
|
+
"inheritedFrom": {
|
|
29314
|
+
"name": "SearchBar",
|
|
29315
|
+
"module": "src/search-bar/search-bar.ts"
|
|
29316
|
+
}
|
|
29317
|
+
},
|
|
28871
29318
|
{
|
|
28872
29319
|
"kind": "field",
|
|
28873
29320
|
"name": "loading",
|
|
@@ -28918,6 +29365,7 @@
|
|
|
28918
29365
|
"kind": "method",
|
|
28919
29366
|
"name": "clear",
|
|
28920
29367
|
"privacy": "public",
|
|
29368
|
+
"description": "Clears all search chips and the current input, and emits `selectionChange` with an empty array.",
|
|
28921
29369
|
"inheritedFrom": {
|
|
28922
29370
|
"name": "SearchBar",
|
|
28923
29371
|
"module": "src/search-bar/search-bar.ts"
|
|
@@ -28932,6 +29380,32 @@
|
|
|
28932
29380
|
"text": "void"
|
|
28933
29381
|
}
|
|
28934
29382
|
},
|
|
29383
|
+
"description": "Alias for SearchBar.clear.",
|
|
29384
|
+
"inheritedFrom": {
|
|
29385
|
+
"name": "SearchBar",
|
|
29386
|
+
"module": "src/search-bar/search-bar.ts"
|
|
29387
|
+
}
|
|
29388
|
+
},
|
|
29389
|
+
{
|
|
29390
|
+
"kind": "method",
|
|
29391
|
+
"name": "selectedOptionsChanged",
|
|
29392
|
+
"inheritedFrom": {
|
|
29393
|
+
"name": "SearchBar",
|
|
29394
|
+
"module": "src/search-bar/search-bar.ts"
|
|
29395
|
+
}
|
|
29396
|
+
},
|
|
29397
|
+
{
|
|
29398
|
+
"kind": "method",
|
|
29399
|
+
"name": "optionsChanged",
|
|
29400
|
+
"inheritedFrom": {
|
|
29401
|
+
"name": "SearchBar",
|
|
29402
|
+
"module": "src/search-bar/search-bar.ts"
|
|
29403
|
+
}
|
|
29404
|
+
},
|
|
29405
|
+
{
|
|
29406
|
+
"kind": "method",
|
|
29407
|
+
"name": "applySearchInputLock",
|
|
29408
|
+
"privacy": "private",
|
|
28935
29409
|
"inheritedFrom": {
|
|
28936
29410
|
"name": "SearchBar",
|
|
28937
29411
|
"module": "src/search-bar/search-bar.ts"
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -576,7 +576,6 @@ export declare const SearchBarCombobox: React.ForwardRefExoticComponent<
|
|
|
576
576
|
React.PropsWithChildren<
|
|
577
577
|
Omit<PublicOf<SearchBarComboboxWC>, 'children' | 'style'> &
|
|
578
578
|
HTMLWCProps & {
|
|
579
|
-
onInputdeleted?: (event: CustomEvent<unknown>) => void;
|
|
580
579
|
}
|
|
581
580
|
> & React.RefAttributes<SearchBarComboboxWC>
|
|
582
581
|
>;
|
package/dist/react.cjs
CHANGED
|
@@ -516,20 +516,8 @@ const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(props, ref
|
|
|
516
516
|
});
|
|
517
517
|
|
|
518
518
|
const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
519
|
-
const {
|
|
520
|
-
|
|
521
|
-
const _onInputdeletedRef = React.useRef(onInputdeleted);
|
|
522
|
-
_onInputdeletedRef.current = onInputdeleted;
|
|
523
|
-
React.useLayoutEffect(() => {
|
|
524
|
-
const el = _innerRef.current;
|
|
525
|
-
if (!el) return;
|
|
526
|
-
const _onInputdeletedFn = (e) => _onInputdeletedRef.current?.(e);
|
|
527
|
-
el.addEventListener('inputdeleted', _onInputdeletedFn);
|
|
528
|
-
return () => {
|
|
529
|
-
el.removeEventListener('inputdeleted', _onInputdeletedFn);
|
|
530
|
-
};
|
|
531
|
-
}, []);
|
|
532
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
519
|
+
const { children, ...rest } = props;
|
|
520
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
533
521
|
});
|
|
534
522
|
|
|
535
523
|
const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
package/dist/react.mjs
CHANGED
|
@@ -514,20 +514,8 @@ export const SchedulerTimezone = React.forwardRef(function SchedulerTimezone(pro
|
|
|
514
514
|
});
|
|
515
515
|
|
|
516
516
|
export const SearchBarCombobox = React.forwardRef(function SearchBarCombobox(props, ref) {
|
|
517
|
-
const {
|
|
518
|
-
|
|
519
|
-
const _onInputdeletedRef = React.useRef(onInputdeleted);
|
|
520
|
-
_onInputdeletedRef.current = onInputdeleted;
|
|
521
|
-
React.useLayoutEffect(() => {
|
|
522
|
-
const el = _innerRef.current;
|
|
523
|
-
if (!el) return;
|
|
524
|
-
const _onInputdeletedFn = (e) => _onInputdeletedRef.current?.(e);
|
|
525
|
-
el.addEventListener('inputdeleted', _onInputdeletedFn);
|
|
526
|
-
return () => {
|
|
527
|
-
el.removeEventListener('inputdeleted', _onInputdeletedFn);
|
|
528
|
-
};
|
|
529
|
-
}, []);
|
|
530
|
-
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
517
|
+
const { children, ...rest } = props;
|
|
518
|
+
return React.createElement(customElements.getName(SearchBarComboboxWC) ?? '%%prefix%%-search-bar-combobox', { ...rest, ref }, children);
|
|
531
519
|
});
|
|
532
520
|
|
|
533
521
|
export const SearchBar = React.forwardRef(function SearchBar(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/rapid-design-system",
|
|
3
3
|
"description": "Rapid 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",
|
|
@@ -35,17 +35,17 @@
|
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
|
|
38
|
-
"@genesislcap/genx": "14.
|
|
39
|
-
"@genesislcap/rollup-builder": "14.
|
|
40
|
-
"@genesislcap/ts-builder": "14.
|
|
41
|
-
"@genesislcap/uvu-playwright-builder": "14.
|
|
42
|
-
"@genesislcap/vite-builder": "14.
|
|
43
|
-
"@genesislcap/webpack-builder": "14.
|
|
38
|
+
"@genesislcap/genx": "14.448.0-canary.wealth",
|
|
39
|
+
"@genesislcap/rollup-builder": "14.448.0-canary.wealth",
|
|
40
|
+
"@genesislcap/ts-builder": "14.448.0-canary.wealth",
|
|
41
|
+
"@genesislcap/uvu-playwright-builder": "14.448.0-canary.wealth",
|
|
42
|
+
"@genesislcap/vite-builder": "14.448.0-canary.wealth",
|
|
43
|
+
"@genesislcap/webpack-builder": "14.448.0-canary.wealth"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@genesislcap/foundation-logger": "14.
|
|
47
|
-
"@genesislcap/foundation-ui": "14.
|
|
48
|
-
"@genesislcap/foundation-utils": "14.
|
|
46
|
+
"@genesislcap/foundation-logger": "14.448.0-canary.wealth",
|
|
47
|
+
"@genesislcap/foundation-ui": "14.448.0-canary.wealth",
|
|
48
|
+
"@genesislcap/foundation-utils": "14.448.0-canary.wealth",
|
|
49
49
|
"@microsoft/fast-colors": "5.3.1",
|
|
50
50
|
"@microsoft/fast-components": "2.30.6",
|
|
51
51
|
"@microsoft/fast-element": "1.14.0",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"require": "./dist/react.cjs"
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "dd463812d10b19835162f58c2c04624fe52c6a36"
|
|
77
77
|
}
|