@nysds/components 1.14.0 → 1.15.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.
- package/custom-elements.json +1709 -311
- package/dist/.vscode/vscode.html-custom-data.json +62 -6
- package/dist/custom-elements.json +1709 -311
- package/dist/nysds.es.js +2774 -1894
- package/dist/nysds.es.js.map +1 -1
- package/dist/nysds.js +335 -112
- package/dist/nysds.js.map +1 -1
- package/dist/packages/nys-button/src/nys-button.d.ts +8 -0
- package/dist/packages/nys-checkbox/src/nys-checkbox.d.ts +10 -0
- package/dist/packages/nys-checkbox/src/nys-checkboxgroup.d.ts +8 -0
- package/dist/packages/nys-combobox/src/index.d.ts +1 -0
- package/dist/packages/nys-combobox/src/nys-combobox.d.ts +118 -0
- package/dist/packages/nys-combobox/src/nys-combobox.figma.d.ts +1 -0
- package/dist/packages/nys-datepicker/src/nys-datepicker.d.ts +9 -0
- package/dist/packages/nys-dropdownmenu/src/index.d.ts +2 -0
- package/dist/packages/nys-dropdownmenu/src/nys-dropdownmenu.d.ts +110 -0
- package/dist/packages/nys-dropdownmenu/src/nys-dropdownmenu.figma.d.ts +1 -0
- package/dist/packages/nys-dropdownmenu/src/nys-dropdownmenuitem.d.ts +40 -0
- package/dist/packages/nys-fileinput/src/nys-fileinput.d.ts +8 -0
- package/dist/packages/nys-fileinput/src/nys-fileitem.d.ts +8 -0
- package/dist/packages/nys-radiobutton/src/nys-radiobutton.d.ts +10 -0
- package/dist/packages/nys-radiobutton/src/nys-radiogroup.d.ts +8 -0
- package/dist/packages/nys-select/src/nys-select.d.ts +8 -0
- package/dist/packages/nys-textarea/src/nys-textarea.d.ts +8 -0
- package/dist/packages/nys-textinput/src/nys-textinput.d.ts +8 -1
- package/dist/packages/nys-toggle/src/nys-toggle.d.ts +10 -1
- package/dist/packages/nys-unavheader/src/nys-unavheader.d.ts +10 -1
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/nys-stepper/newsletter.html +0 -4
- package/dist/nys-stepper/personal.html +0 -6
- package/dist/nys-stepper/survey.html +0 -5
- package/dist/nys-stepper/team.html +0 -6
package/custom-elements.json
CHANGED
|
@@ -1450,6 +1450,15 @@
|
|
|
1450
1450
|
}
|
|
1451
1451
|
],
|
|
1452
1452
|
"members": [
|
|
1453
|
+
{
|
|
1454
|
+
"kind": "field",
|
|
1455
|
+
"name": "shadowRootOptions",
|
|
1456
|
+
"type": {
|
|
1457
|
+
"text": "object"
|
|
1458
|
+
},
|
|
1459
|
+
"static": true,
|
|
1460
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
1461
|
+
},
|
|
1453
1462
|
{
|
|
1454
1463
|
"kind": "field",
|
|
1455
1464
|
"name": "id",
|
|
@@ -2038,6 +2047,15 @@
|
|
|
2038
2047
|
}
|
|
2039
2048
|
],
|
|
2040
2049
|
"members": [
|
|
2050
|
+
{
|
|
2051
|
+
"kind": "field",
|
|
2052
|
+
"name": "shadowRootOptions",
|
|
2053
|
+
"type": {
|
|
2054
|
+
"text": "object"
|
|
2055
|
+
},
|
|
2056
|
+
"static": true,
|
|
2057
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
2058
|
+
},
|
|
2041
2059
|
{
|
|
2042
2060
|
"kind": "field",
|
|
2043
2061
|
"name": "checked",
|
|
@@ -2348,6 +2366,11 @@
|
|
|
2348
2366
|
"privacy": "private",
|
|
2349
2367
|
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
2350
2368
|
},
|
|
2369
|
+
{
|
|
2370
|
+
"kind": "method",
|
|
2371
|
+
"name": "_emitOtherInputEvent",
|
|
2372
|
+
"privacy": "private"
|
|
2373
|
+
},
|
|
2351
2374
|
{
|
|
2352
2375
|
"kind": "method",
|
|
2353
2376
|
"name": "_handleChange",
|
|
@@ -2421,6 +2444,13 @@
|
|
|
2421
2444
|
},
|
|
2422
2445
|
"description": "Fired when checked state changes. Detail: `{id, checked, name, value}`."
|
|
2423
2446
|
},
|
|
2447
|
+
{
|
|
2448
|
+
"name": "nys-other-input",
|
|
2449
|
+
"type": {
|
|
2450
|
+
"text": "CustomEvent"
|
|
2451
|
+
},
|
|
2452
|
+
"description": "Fired when \"other\" text input value changes. Detail: `{id, name, value}`."
|
|
2453
|
+
},
|
|
2424
2454
|
{
|
|
2425
2455
|
"name": "nys-focus",
|
|
2426
2456
|
"type": {
|
|
@@ -2657,6 +2687,15 @@
|
|
|
2657
2687
|
}
|
|
2658
2688
|
],
|
|
2659
2689
|
"members": [
|
|
2690
|
+
{
|
|
2691
|
+
"kind": "field",
|
|
2692
|
+
"name": "shadowRootOptions",
|
|
2693
|
+
"type": {
|
|
2694
|
+
"text": "object"
|
|
2695
|
+
},
|
|
2696
|
+
"static": true,
|
|
2697
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
2698
|
+
},
|
|
2660
2699
|
{
|
|
2661
2700
|
"kind": "field",
|
|
2662
2701
|
"name": "id",
|
|
@@ -3118,7 +3157,7 @@
|
|
|
3118
3157
|
},
|
|
3119
3158
|
{
|
|
3120
3159
|
"kind": "javascript-module",
|
|
3121
|
-
"path": "packages/nys-
|
|
3160
|
+
"path": "packages/nys-combobox/src/index.ts",
|
|
3122
3161
|
"declarations": [],
|
|
3123
3162
|
"exports": [
|
|
3124
3163
|
{
|
|
@@ -3126,19 +3165,29 @@
|
|
|
3126
3165
|
"name": "*",
|
|
3127
3166
|
"declaration": {
|
|
3128
3167
|
"name": "*",
|
|
3129
|
-
"module": "packages/nys-
|
|
3168
|
+
"module": "packages/nys-combobox/src/nys-combobox"
|
|
3130
3169
|
}
|
|
3131
3170
|
}
|
|
3132
3171
|
]
|
|
3133
3172
|
},
|
|
3134
3173
|
{
|
|
3135
3174
|
"kind": "javascript-module",
|
|
3136
|
-
"path": "packages/nys-
|
|
3175
|
+
"path": "packages/nys-combobox/src/nys-combobox.ts",
|
|
3137
3176
|
"declarations": [
|
|
3138
3177
|
{
|
|
3139
3178
|
"kind": "class",
|
|
3140
|
-
"description": "
|
|
3141
|
-
"name": "
|
|
3179
|
+
"description": "`<nys-combobox>` is a form-enabled combo box combining text input with a filterable dropdown.\n\nFeatures:\n- Type to filter options\n- Keyboard navigation (Arrow keys, Enter, Escape)\n- Mouse and keyboard interaction\n- Clears non-selected text on blur\n- Clear button when value is selected\n- Integrates with forms via ElementInternals\n- Supports native <option> and <optgroup> elements\n- Accessible per W3C ARIA Authoring Practices",
|
|
3180
|
+
"name": "NysCombobox",
|
|
3181
|
+
"slots": [
|
|
3182
|
+
{
|
|
3183
|
+
"description": "Optional custom description content below the label.",
|
|
3184
|
+
"name": "description"
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
"description": "Options (<option>, <optgroup>) to populate the dropdown",
|
|
3188
|
+
"name": "default"
|
|
3189
|
+
}
|
|
3190
|
+
],
|
|
3142
3191
|
"members": [
|
|
3143
3192
|
{
|
|
3144
3193
|
"kind": "field",
|
|
@@ -3147,7 +3196,6 @@
|
|
|
3147
3196
|
"text": "string"
|
|
3148
3197
|
},
|
|
3149
3198
|
"default": "\"\"",
|
|
3150
|
-
"description": "Unique identifier. Auto-generated if not provided.",
|
|
3151
3199
|
"attribute": "id",
|
|
3152
3200
|
"reflects": true
|
|
3153
3201
|
},
|
|
@@ -3158,40 +3206,35 @@
|
|
|
3158
3206
|
"text": "string"
|
|
3159
3207
|
},
|
|
3160
3208
|
"default": "\"\"",
|
|
3161
|
-
"description": "Name for form submission.",
|
|
3162
3209
|
"attribute": "name",
|
|
3163
3210
|
"reflects": true
|
|
3164
3211
|
},
|
|
3165
3212
|
{
|
|
3166
3213
|
"kind": "field",
|
|
3167
|
-
"name": "
|
|
3214
|
+
"name": "label",
|
|
3168
3215
|
"type": {
|
|
3169
|
-
"text": "
|
|
3216
|
+
"text": "string"
|
|
3170
3217
|
},
|
|
3171
|
-
"default": "\"
|
|
3172
|
-
"
|
|
3173
|
-
"attribute": "width",
|
|
3174
|
-
"reflects": true
|
|
3218
|
+
"default": "\"\"",
|
|
3219
|
+
"attribute": "label"
|
|
3175
3220
|
},
|
|
3176
3221
|
{
|
|
3177
3222
|
"kind": "field",
|
|
3178
|
-
"name": "
|
|
3223
|
+
"name": "description",
|
|
3179
3224
|
"type": {
|
|
3180
|
-
"text": "
|
|
3225
|
+
"text": "string"
|
|
3181
3226
|
},
|
|
3182
|
-
"default": "
|
|
3183
|
-
"
|
|
3184
|
-
"attribute": "hideTodayButton"
|
|
3227
|
+
"default": "\"\"",
|
|
3228
|
+
"attribute": "description"
|
|
3185
3229
|
},
|
|
3186
3230
|
{
|
|
3187
3231
|
"kind": "field",
|
|
3188
|
-
"name": "
|
|
3232
|
+
"name": "value",
|
|
3189
3233
|
"type": {
|
|
3190
|
-
"text": "
|
|
3234
|
+
"text": "string"
|
|
3191
3235
|
},
|
|
3192
|
-
"default": "
|
|
3193
|
-
"
|
|
3194
|
-
"attribute": "hideClearButton"
|
|
3236
|
+
"default": "\"\"",
|
|
3237
|
+
"attribute": "value"
|
|
3195
3238
|
},
|
|
3196
3239
|
{
|
|
3197
3240
|
"kind": "field",
|
|
@@ -3200,7 +3243,6 @@
|
|
|
3200
3243
|
"text": "boolean"
|
|
3201
3244
|
},
|
|
3202
3245
|
"default": "false",
|
|
3203
|
-
"description": "Disable interaction.",
|
|
3204
3246
|
"attribute": "disabled",
|
|
3205
3247
|
"reflects": true
|
|
3206
3248
|
},
|
|
@@ -3211,7 +3253,6 @@
|
|
|
3211
3253
|
"text": "boolean"
|
|
3212
3254
|
},
|
|
3213
3255
|
"default": "false",
|
|
3214
|
-
"description": "Mark as required. Shows \"Required\" flag and validates on blur.",
|
|
3215
3256
|
"attribute": "required",
|
|
3216
3257
|
"reflects": true
|
|
3217
3258
|
},
|
|
@@ -3222,10 +3263,48 @@
|
|
|
3222
3263
|
"text": "boolean"
|
|
3223
3264
|
},
|
|
3224
3265
|
"default": "false",
|
|
3225
|
-
"description": "Show \"Optional\" flag. Use when most fields are required.",
|
|
3226
3266
|
"attribute": "optional",
|
|
3227
3267
|
"reflects": true
|
|
3228
3268
|
},
|
|
3269
|
+
{
|
|
3270
|
+
"kind": "field",
|
|
3271
|
+
"name": "tooltip",
|
|
3272
|
+
"type": {
|
|
3273
|
+
"text": "string"
|
|
3274
|
+
},
|
|
3275
|
+
"default": "\"\"",
|
|
3276
|
+
"attribute": "tooltip"
|
|
3277
|
+
},
|
|
3278
|
+
{
|
|
3279
|
+
"kind": "field",
|
|
3280
|
+
"name": "form",
|
|
3281
|
+
"type": {
|
|
3282
|
+
"text": "string | null"
|
|
3283
|
+
},
|
|
3284
|
+
"default": "null",
|
|
3285
|
+
"attribute": "form",
|
|
3286
|
+
"reflects": true
|
|
3287
|
+
},
|
|
3288
|
+
{
|
|
3289
|
+
"kind": "field",
|
|
3290
|
+
"name": "width",
|
|
3291
|
+
"type": {
|
|
3292
|
+
"text": "\"md\" | \"lg\" | \"full\""
|
|
3293
|
+
},
|
|
3294
|
+
"default": "\"full\"",
|
|
3295
|
+
"attribute": "width",
|
|
3296
|
+
"reflects": true
|
|
3297
|
+
},
|
|
3298
|
+
{
|
|
3299
|
+
"kind": "field",
|
|
3300
|
+
"name": "inverted",
|
|
3301
|
+
"type": {
|
|
3302
|
+
"text": "boolean"
|
|
3303
|
+
},
|
|
3304
|
+
"default": "false",
|
|
3305
|
+
"attribute": "inverted",
|
|
3306
|
+
"reflects": true
|
|
3307
|
+
},
|
|
3229
3308
|
{
|
|
3230
3309
|
"kind": "field",
|
|
3231
3310
|
"name": "showError",
|
|
@@ -3233,7 +3312,6 @@
|
|
|
3233
3312
|
"text": "boolean"
|
|
3234
3313
|
},
|
|
3235
3314
|
"default": "false",
|
|
3236
|
-
"description": "Show error state.",
|
|
3237
3315
|
"attribute": "showError",
|
|
3238
3316
|
"reflects": true
|
|
3239
3317
|
},
|
|
@@ -3244,99 +3322,95 @@
|
|
|
3244
3322
|
"text": "string"
|
|
3245
3323
|
},
|
|
3246
3324
|
"default": "\"\"",
|
|
3247
|
-
"description": "Error message text.",
|
|
3248
3325
|
"attribute": "errorMessage"
|
|
3249
3326
|
},
|
|
3250
3327
|
{
|
|
3251
3328
|
"kind": "field",
|
|
3252
|
-
"name": "
|
|
3329
|
+
"name": "_isOpen",
|
|
3253
3330
|
"type": {
|
|
3254
|
-
"text": "
|
|
3331
|
+
"text": "boolean"
|
|
3255
3332
|
},
|
|
3256
|
-
"
|
|
3257
|
-
"
|
|
3258
|
-
"attribute": "form",
|
|
3259
|
-
"reflects": true
|
|
3333
|
+
"privacy": "private",
|
|
3334
|
+
"default": "false"
|
|
3260
3335
|
},
|
|
3261
3336
|
{
|
|
3262
3337
|
"kind": "field",
|
|
3263
|
-
"name": "
|
|
3338
|
+
"name": "_filterText",
|
|
3264
3339
|
"type": {
|
|
3265
3340
|
"text": "string"
|
|
3266
3341
|
},
|
|
3267
|
-
"
|
|
3268
|
-
"
|
|
3269
|
-
"attribute": "tooltip"
|
|
3342
|
+
"privacy": "private",
|
|
3343
|
+
"default": "\"\""
|
|
3270
3344
|
},
|
|
3271
3345
|
{
|
|
3272
3346
|
"kind": "field",
|
|
3273
|
-
"name": "
|
|
3347
|
+
"name": "_highlightedIndex",
|
|
3274
3348
|
"type": {
|
|
3275
|
-
"text": "
|
|
3349
|
+
"text": "number"
|
|
3276
3350
|
},
|
|
3277
|
-
"
|
|
3278
|
-
"
|
|
3279
|
-
"attribute": "type"
|
|
3351
|
+
"privacy": "private",
|
|
3352
|
+
"default": "-1"
|
|
3280
3353
|
},
|
|
3281
3354
|
{
|
|
3282
3355
|
"kind": "field",
|
|
3283
|
-
"name": "
|
|
3356
|
+
"name": "_options",
|
|
3284
3357
|
"type": {
|
|
3285
|
-
"text": "
|
|
3358
|
+
"text": "ComboboxOption[]"
|
|
3286
3359
|
},
|
|
3287
|
-
"
|
|
3288
|
-
"
|
|
3289
|
-
"attribute": "label"
|
|
3360
|
+
"privacy": "private",
|
|
3361
|
+
"default": "[]"
|
|
3290
3362
|
},
|
|
3291
3363
|
{
|
|
3292
3364
|
"kind": "field",
|
|
3293
|
-
"name": "
|
|
3365
|
+
"name": "_filteredOptions",
|
|
3294
3366
|
"type": {
|
|
3295
|
-
"text": "
|
|
3367
|
+
"text": "ComboboxOption[]"
|
|
3296
3368
|
},
|
|
3297
|
-
"
|
|
3298
|
-
"
|
|
3299
|
-
"attribute": "description"
|
|
3369
|
+
"privacy": "private",
|
|
3370
|
+
"default": "[]"
|
|
3300
3371
|
},
|
|
3301
3372
|
{
|
|
3302
3373
|
"kind": "field",
|
|
3303
|
-
"name": "
|
|
3374
|
+
"name": "_dropdownAbove",
|
|
3375
|
+
"type": {
|
|
3376
|
+
"text": "boolean"
|
|
3377
|
+
},
|
|
3378
|
+
"privacy": "private",
|
|
3379
|
+
"default": "false"
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
"kind": "field",
|
|
3383
|
+
"name": "_announcement",
|
|
3304
3384
|
"type": {
|
|
3305
3385
|
"text": "string"
|
|
3306
3386
|
},
|
|
3307
|
-
"
|
|
3308
|
-
"
|
|
3309
|
-
"attribute": "startDate"
|
|
3387
|
+
"privacy": "private",
|
|
3388
|
+
"default": "\"\""
|
|
3310
3389
|
},
|
|
3311
3390
|
{
|
|
3312
3391
|
"kind": "field",
|
|
3313
|
-
"name": "
|
|
3392
|
+
"name": "_input",
|
|
3314
3393
|
"type": {
|
|
3315
|
-
"text": "
|
|
3394
|
+
"text": "HTMLInputElement"
|
|
3316
3395
|
},
|
|
3317
|
-
"
|
|
3318
|
-
"description": "Dark background mode.",
|
|
3319
|
-
"attribute": "inverted",
|
|
3320
|
-
"reflects": true
|
|
3396
|
+
"privacy": "private"
|
|
3321
3397
|
},
|
|
3322
3398
|
{
|
|
3323
3399
|
"kind": "field",
|
|
3324
|
-
"name": "
|
|
3400
|
+
"name": "_listbox",
|
|
3325
3401
|
"type": {
|
|
3326
|
-
"text": "
|
|
3402
|
+
"text": "HTMLElement | undefined"
|
|
3327
3403
|
},
|
|
3328
|
-
"
|
|
3329
|
-
"description": "Selected date. Accepts Date object or ISO string (YYYY-MM-DD).",
|
|
3330
|
-
"attribute": "value"
|
|
3404
|
+
"privacy": "private"
|
|
3331
3405
|
},
|
|
3332
3406
|
{
|
|
3333
3407
|
"kind": "field",
|
|
3334
|
-
"name": "
|
|
3408
|
+
"name": "_originalErrorMessage",
|
|
3335
3409
|
"type": {
|
|
3336
|
-
"text": "
|
|
3410
|
+
"text": "string"
|
|
3337
3411
|
},
|
|
3338
3412
|
"privacy": "private",
|
|
3339
|
-
"default": "
|
|
3413
|
+
"default": "\"\""
|
|
3340
3414
|
},
|
|
3341
3415
|
{
|
|
3342
3416
|
"kind": "field",
|
|
@@ -3355,6 +3429,24 @@
|
|
|
3355
3429
|
},
|
|
3356
3430
|
"privacy": "private"
|
|
3357
3431
|
},
|
|
3432
|
+
{
|
|
3433
|
+
"kind": "field",
|
|
3434
|
+
"name": "_selectedLabel",
|
|
3435
|
+
"type": {
|
|
3436
|
+
"text": "string"
|
|
3437
|
+
},
|
|
3438
|
+
"privacy": "private",
|
|
3439
|
+
"default": "\"\""
|
|
3440
|
+
},
|
|
3441
|
+
{
|
|
3442
|
+
"kind": "field",
|
|
3443
|
+
"name": "_defaultValue",
|
|
3444
|
+
"type": {
|
|
3445
|
+
"text": "string"
|
|
3446
|
+
},
|
|
3447
|
+
"privacy": "private",
|
|
3448
|
+
"default": "\"\""
|
|
3449
|
+
},
|
|
3358
3450
|
{
|
|
3359
3451
|
"kind": "field",
|
|
3360
3452
|
"name": "formAssociated",
|
|
@@ -3367,38 +3459,43 @@
|
|
|
3367
3459
|
},
|
|
3368
3460
|
{
|
|
3369
3461
|
"kind": "method",
|
|
3370
|
-
"name": "
|
|
3462
|
+
"name": "_handleSlotChange",
|
|
3371
3463
|
"privacy": "private",
|
|
3372
|
-
"
|
|
3373
|
-
"type": {
|
|
3374
|
-
"text": "Promise<WcDatepicker | null>"
|
|
3375
|
-
}
|
|
3376
|
-
}
|
|
3464
|
+
"description": "Slot handling\n--------------------------------------------------------------------------"
|
|
3377
3465
|
},
|
|
3378
3466
|
{
|
|
3379
3467
|
"kind": "method",
|
|
3380
3468
|
"name": "_setValue",
|
|
3381
3469
|
"privacy": "private",
|
|
3470
|
+
"description": "Form Integration\n--------------------------------------------------------------------------"
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "method",
|
|
3474
|
+
"name": "_manageRequire",
|
|
3475
|
+
"privacy": "private"
|
|
3476
|
+
},
|
|
3477
|
+
{
|
|
3478
|
+
"kind": "method",
|
|
3479
|
+
"name": "_setValidityMessage",
|
|
3480
|
+
"privacy": "private",
|
|
3382
3481
|
"parameters": [
|
|
3383
3482
|
{
|
|
3384
|
-
"name": "
|
|
3483
|
+
"name": "message",
|
|
3484
|
+
"default": "\"\"",
|
|
3385
3485
|
"type": {
|
|
3386
|
-
"text": "
|
|
3486
|
+
"text": "string"
|
|
3387
3487
|
}
|
|
3388
3488
|
}
|
|
3389
|
-
]
|
|
3390
|
-
"description": "Form helper methods:\n- _setValue: set internal value and trigger validation\n- _manageRequire: handle required state\n- _validate: actively validate and show errors\n- checkValidity: passive boolean check without UI\n- _setValidityMessage: sync validation message with UI and internals\n- _handleInvalid: handle form invalid event and focus first invalid field"
|
|
3489
|
+
]
|
|
3391
3490
|
},
|
|
3392
3491
|
{
|
|
3393
3492
|
"kind": "method",
|
|
3394
|
-
"name": "
|
|
3493
|
+
"name": "_validate",
|
|
3395
3494
|
"privacy": "private"
|
|
3396
3495
|
},
|
|
3397
3496
|
{
|
|
3398
3497
|
"kind": "method",
|
|
3399
|
-
"name": "
|
|
3400
|
-
"privacy": "private",
|
|
3401
|
-
"description": "Actively validates the component:\n- Updates internal validity state\n- Updates UI (e.g. showError)\n- Called on blur/change or form submission"
|
|
3498
|
+
"name": "formResetCallback"
|
|
3402
3499
|
},
|
|
3403
3500
|
{
|
|
3404
3501
|
"kind": "method",
|
|
@@ -3407,22 +3504,7 @@
|
|
|
3407
3504
|
"type": {
|
|
3408
3505
|
"text": "boolean"
|
|
3409
3506
|
}
|
|
3410
|
-
}
|
|
3411
|
-
"description": "Passive check of validity:\n- Returns true/false\n- Does NOT update UI or show errors\n- Used in form submission checks"
|
|
3412
|
-
},
|
|
3413
|
-
{
|
|
3414
|
-
"kind": "method",
|
|
3415
|
-
"name": "_setValidityMessage",
|
|
3416
|
-
"privacy": "private",
|
|
3417
|
-
"parameters": [
|
|
3418
|
-
{
|
|
3419
|
-
"name": "message",
|
|
3420
|
-
"default": "\"\"",
|
|
3421
|
-
"type": {
|
|
3422
|
-
"text": "string"
|
|
3423
|
-
}
|
|
3424
|
-
}
|
|
3425
|
-
]
|
|
3507
|
+
}
|
|
3426
3508
|
},
|
|
3427
3509
|
{
|
|
3428
3510
|
"kind": "method",
|
|
@@ -3439,109 +3521,101 @@
|
|
|
3439
3521
|
},
|
|
3440
3522
|
{
|
|
3441
3523
|
"kind": "method",
|
|
3442
|
-
"name": "
|
|
3524
|
+
"name": "_positionDropdown",
|
|
3443
3525
|
"privacy": "private",
|
|
3444
|
-
"description": "
|
|
3526
|
+
"description": "Dropdown positioning\n--------------------------------------------------------------------------"
|
|
3445
3527
|
},
|
|
3446
3528
|
{
|
|
3447
3529
|
"kind": "method",
|
|
3448
|
-
"name": "
|
|
3449
|
-
"privacy": "private"
|
|
3450
|
-
},
|
|
3451
|
-
{
|
|
3452
|
-
"kind": "method",
|
|
3453
|
-
"name": "_parseLocalDate",
|
|
3530
|
+
"name": "_filterOptions",
|
|
3454
3531
|
"privacy": "private",
|
|
3455
3532
|
"parameters": [
|
|
3456
3533
|
{
|
|
3457
|
-
"name": "
|
|
3534
|
+
"name": "searchText",
|
|
3458
3535
|
"type": {
|
|
3459
3536
|
"text": "string"
|
|
3460
3537
|
}
|
|
3461
3538
|
}
|
|
3462
|
-
]
|
|
3539
|
+
],
|
|
3540
|
+
"description": "Filtering\n--------------------------------------------------------------------------"
|
|
3463
3541
|
},
|
|
3464
3542
|
{
|
|
3465
3543
|
"kind": "method",
|
|
3466
|
-
"name": "
|
|
3467
|
-
"privacy": "private"
|
|
3544
|
+
"name": "_scrollToHighlighted",
|
|
3545
|
+
"privacy": "private",
|
|
3546
|
+
"description": "Keyboard navigation\n--------------------------------------------------------------------------"
|
|
3468
3547
|
},
|
|
3469
3548
|
{
|
|
3470
3549
|
"kind": "method",
|
|
3471
|
-
"name": "
|
|
3550
|
+
"name": "_handleKeyDown",
|
|
3472
3551
|
"privacy": "private",
|
|
3473
3552
|
"parameters": [
|
|
3474
3553
|
{
|
|
3475
|
-
"name": "
|
|
3476
|
-
"
|
|
3554
|
+
"name": "event",
|
|
3555
|
+
"type": {
|
|
3556
|
+
"text": "KeyboardEvent"
|
|
3557
|
+
}
|
|
3477
3558
|
}
|
|
3478
3559
|
]
|
|
3479
3560
|
},
|
|
3480
3561
|
{
|
|
3481
3562
|
"kind": "method",
|
|
3482
|
-
"name": "
|
|
3563
|
+
"name": "_moveHighlight",
|
|
3483
3564
|
"privacy": "private",
|
|
3484
3565
|
"parameters": [
|
|
3485
3566
|
{
|
|
3486
|
-
"name": "
|
|
3567
|
+
"name": "direction",
|
|
3487
3568
|
"type": {
|
|
3488
|
-
"text": "
|
|
3569
|
+
"text": "number"
|
|
3489
3570
|
}
|
|
3490
3571
|
}
|
|
3491
|
-
]
|
|
3492
|
-
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
3572
|
+
]
|
|
3493
3573
|
},
|
|
3494
3574
|
{
|
|
3495
3575
|
"kind": "method",
|
|
3496
|
-
"name": "
|
|
3576
|
+
"name": "_handleInput",
|
|
3497
3577
|
"privacy": "private",
|
|
3498
3578
|
"parameters": [
|
|
3499
3579
|
{
|
|
3500
3580
|
"name": "event",
|
|
3501
3581
|
"type": {
|
|
3502
|
-
"text": "
|
|
3582
|
+
"text": "Event"
|
|
3503
3583
|
}
|
|
3504
3584
|
}
|
|
3505
|
-
]
|
|
3506
|
-
|
|
3507
|
-
{
|
|
3508
|
-
"kind": "method",
|
|
3509
|
-
"name": "_onDocumentClick",
|
|
3510
|
-
"privacy": "private"
|
|
3511
|
-
},
|
|
3512
|
-
{
|
|
3513
|
-
"kind": "field",
|
|
3514
|
-
"name": "_onKeydownEsc",
|
|
3515
|
-
"privacy": "private"
|
|
3585
|
+
],
|
|
3586
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
3516
3587
|
},
|
|
3517
3588
|
{
|
|
3518
3589
|
"kind": "method",
|
|
3519
|
-
"name": "
|
|
3590
|
+
"name": "_handleFocus",
|
|
3520
3591
|
"privacy": "private"
|
|
3521
3592
|
},
|
|
3522
3593
|
{
|
|
3523
3594
|
"kind": "method",
|
|
3524
|
-
"name": "
|
|
3525
|
-
"privacy": "private"
|
|
3595
|
+
"name": "_handleBlur",
|
|
3596
|
+
"privacy": "private",
|
|
3597
|
+
"parameters": [
|
|
3598
|
+
{
|
|
3599
|
+
"name": "event",
|
|
3600
|
+
"type": {
|
|
3601
|
+
"text": "FocusEvent"
|
|
3602
|
+
}
|
|
3603
|
+
}
|
|
3604
|
+
]
|
|
3526
3605
|
},
|
|
3527
3606
|
{
|
|
3528
|
-
"kind": "
|
|
3529
|
-
"name": "
|
|
3607
|
+
"kind": "field",
|
|
3608
|
+
"name": "_handleDocumentClick",
|
|
3530
3609
|
"privacy": "private"
|
|
3531
3610
|
},
|
|
3532
3611
|
{
|
|
3533
3612
|
"kind": "method",
|
|
3534
|
-
"name": "
|
|
3613
|
+
"name": "_handleIconClick",
|
|
3535
3614
|
"privacy": "private"
|
|
3536
3615
|
},
|
|
3537
3616
|
{
|
|
3538
3617
|
"kind": "method",
|
|
3539
3618
|
"name": "_handleClearClick",
|
|
3540
|
-
"privacy": "private"
|
|
3541
|
-
},
|
|
3542
|
-
{
|
|
3543
|
-
"kind": "method",
|
|
3544
|
-
"name": "_handleInputChange",
|
|
3545
3619
|
"privacy": "private",
|
|
3546
3620
|
"parameters": [
|
|
3547
3621
|
{
|
|
@@ -3554,81 +3628,93 @@
|
|
|
3554
3628
|
},
|
|
3555
3629
|
{
|
|
3556
3630
|
"kind": "method",
|
|
3557
|
-
"name": "
|
|
3631
|
+
"name": "_handleOptionClick",
|
|
3558
3632
|
"privacy": "private",
|
|
3559
|
-
"return": {
|
|
3560
|
-
"type": {
|
|
3561
|
-
"text": "Date | null"
|
|
3562
|
-
}
|
|
3563
|
-
},
|
|
3564
3633
|
"parameters": [
|
|
3565
3634
|
{
|
|
3566
|
-
"name": "
|
|
3635
|
+
"name": "option",
|
|
3567
3636
|
"type": {
|
|
3568
|
-
"text": "
|
|
3637
|
+
"text": "ComboboxOption"
|
|
3569
3638
|
}
|
|
3570
3639
|
}
|
|
3571
3640
|
]
|
|
3572
3641
|
},
|
|
3573
3642
|
{
|
|
3574
3643
|
"kind": "method",
|
|
3575
|
-
"name": "
|
|
3644
|
+
"name": "_handleOptionMouseEnter",
|
|
3576
3645
|
"privacy": "private",
|
|
3577
3646
|
"parameters": [
|
|
3578
3647
|
{
|
|
3579
|
-
"name": "
|
|
3648
|
+
"name": "index",
|
|
3580
3649
|
"type": {
|
|
3581
|
-
"text": "
|
|
3650
|
+
"text": "number"
|
|
3582
3651
|
}
|
|
3583
3652
|
}
|
|
3584
3653
|
]
|
|
3585
3654
|
},
|
|
3586
3655
|
{
|
|
3587
3656
|
"kind": "method",
|
|
3588
|
-
"name": "
|
|
3657
|
+
"name": "_selectOption",
|
|
3589
3658
|
"privacy": "private",
|
|
3590
|
-
"
|
|
3591
|
-
|
|
3592
|
-
"
|
|
3659
|
+
"parameters": [
|
|
3660
|
+
{
|
|
3661
|
+
"name": "option",
|
|
3662
|
+
"type": {
|
|
3663
|
+
"text": "ComboboxOption"
|
|
3664
|
+
}
|
|
3593
3665
|
}
|
|
3594
|
-
|
|
3666
|
+
]
|
|
3595
3667
|
},
|
|
3596
3668
|
{
|
|
3597
3669
|
"kind": "method",
|
|
3598
|
-
"name": "
|
|
3599
|
-
"privacy": "private"
|
|
3600
|
-
"return": {
|
|
3601
|
-
"type": {
|
|
3602
|
-
"text": ""
|
|
3603
|
-
}
|
|
3604
|
-
},
|
|
3605
|
-
"description": "Determines whether the current device uses a coarse pointer.\nA coarse pointer usually means touch-based input where precise pointing\nis not expected, such as fingers on phones and most tablets.\n\nNote: This is not a guarantee of a mobile device.\nSome non-mobile devices may also report a coarse pointer,\nand some mobile devices may not."
|
|
3670
|
+
"name": "_handleChange",
|
|
3671
|
+
"privacy": "private"
|
|
3606
3672
|
},
|
|
3607
3673
|
{
|
|
3608
3674
|
"kind": "method",
|
|
3609
|
-
"name": "
|
|
3675
|
+
"name": "_openDropdown",
|
|
3676
|
+
"privacy": "private"
|
|
3677
|
+
},
|
|
3678
|
+
{
|
|
3679
|
+
"kind": "method",
|
|
3680
|
+
"name": "_closeDropdown",
|
|
3681
|
+
"privacy": "private"
|
|
3682
|
+
},
|
|
3683
|
+
{
|
|
3684
|
+
"kind": "method",
|
|
3685
|
+
"name": "_renderOptions",
|
|
3610
3686
|
"privacy": "private",
|
|
3611
|
-
"
|
|
3612
|
-
"type": {
|
|
3613
|
-
"text": "boolean"
|
|
3614
|
-
}
|
|
3615
|
-
}
|
|
3687
|
+
"description": "Render helpers\n--------------------------------------------------------------------------"
|
|
3616
3688
|
}
|
|
3617
3689
|
],
|
|
3618
3690
|
"events": [
|
|
3691
|
+
{
|
|
3692
|
+
"name": "nys-input",
|
|
3693
|
+
"type": {
|
|
3694
|
+
"text": "CustomEvent"
|
|
3695
|
+
},
|
|
3696
|
+
"description": "Fired on input change. Detail: `{ id, value }`."
|
|
3697
|
+
},
|
|
3698
|
+
{
|
|
3699
|
+
"name": "nys-focus",
|
|
3700
|
+
"type": {
|
|
3701
|
+
"text": "Event"
|
|
3702
|
+
},
|
|
3703
|
+
"description": "Fired when combobox receives focus."
|
|
3704
|
+
},
|
|
3619
3705
|
{
|
|
3620
3706
|
"name": "nys-blur",
|
|
3621
3707
|
"type": {
|
|
3622
3708
|
"text": "Event"
|
|
3623
3709
|
},
|
|
3624
|
-
"description": "Fired when
|
|
3710
|
+
"description": "Fired when combobox loses focus."
|
|
3625
3711
|
},
|
|
3626
3712
|
{
|
|
3627
|
-
"name": "nys-
|
|
3713
|
+
"name": "nys-change",
|
|
3628
3714
|
"type": {
|
|
3629
3715
|
"text": "CustomEvent"
|
|
3630
3716
|
},
|
|
3631
|
-
"description": "Fired
|
|
3717
|
+
"description": "Fired when selection changes. Detail: `{ id, value }`."
|
|
3632
3718
|
}
|
|
3633
3719
|
],
|
|
3634
3720
|
"attributes": [
|
|
@@ -3638,7 +3724,6 @@
|
|
|
3638
3724
|
"text": "string"
|
|
3639
3725
|
},
|
|
3640
3726
|
"default": "\"\"",
|
|
3641
|
-
"description": "Unique identifier. Auto-generated if not provided.",
|
|
3642
3727
|
"fieldName": "id"
|
|
3643
3728
|
},
|
|
3644
3729
|
{
|
|
@@ -3647,35 +3732,31 @@
|
|
|
3647
3732
|
"text": "string"
|
|
3648
3733
|
},
|
|
3649
3734
|
"default": "\"\"",
|
|
3650
|
-
"description": "Name for form submission.",
|
|
3651
3735
|
"fieldName": "name"
|
|
3652
3736
|
},
|
|
3653
3737
|
{
|
|
3654
|
-
"name": "
|
|
3738
|
+
"name": "label",
|
|
3655
3739
|
"type": {
|
|
3656
|
-
"text": "
|
|
3740
|
+
"text": "string"
|
|
3657
3741
|
},
|
|
3658
|
-
"default": "\"
|
|
3659
|
-
"
|
|
3660
|
-
"fieldName": "width"
|
|
3742
|
+
"default": "\"\"",
|
|
3743
|
+
"fieldName": "label"
|
|
3661
3744
|
},
|
|
3662
3745
|
{
|
|
3663
|
-
"name": "
|
|
3746
|
+
"name": "description",
|
|
3664
3747
|
"type": {
|
|
3665
|
-
"text": "
|
|
3748
|
+
"text": "string"
|
|
3666
3749
|
},
|
|
3667
|
-
"default": "
|
|
3668
|
-
"
|
|
3669
|
-
"fieldName": "hideTodayButton"
|
|
3750
|
+
"default": "\"\"",
|
|
3751
|
+
"fieldName": "description"
|
|
3670
3752
|
},
|
|
3671
3753
|
{
|
|
3672
|
-
"name": "
|
|
3754
|
+
"name": "value",
|
|
3673
3755
|
"type": {
|
|
3674
|
-
"text": "
|
|
3756
|
+
"text": "string"
|
|
3675
3757
|
},
|
|
3676
|
-
"default": "
|
|
3677
|
-
"
|
|
3678
|
-
"fieldName": "hideClearButton"
|
|
3758
|
+
"default": "\"\"",
|
|
3759
|
+
"fieldName": "value"
|
|
3679
3760
|
},
|
|
3680
3761
|
{
|
|
3681
3762
|
"name": "disabled",
|
|
@@ -3683,7 +3764,6 @@
|
|
|
3683
3764
|
"text": "boolean"
|
|
3684
3765
|
},
|
|
3685
3766
|
"default": "false",
|
|
3686
|
-
"description": "Disable interaction.",
|
|
3687
3767
|
"fieldName": "disabled"
|
|
3688
3768
|
},
|
|
3689
3769
|
{
|
|
@@ -3692,7 +3772,6 @@
|
|
|
3692
3772
|
"text": "boolean"
|
|
3693
3773
|
},
|
|
3694
3774
|
"default": "false",
|
|
3695
|
-
"description": "Mark as required. Shows \"Required\" flag and validates on blur.",
|
|
3696
3775
|
"fieldName": "required"
|
|
3697
3776
|
},
|
|
3698
3777
|
{
|
|
@@ -3701,26 +3780,15 @@
|
|
|
3701
3780
|
"text": "boolean"
|
|
3702
3781
|
},
|
|
3703
3782
|
"default": "false",
|
|
3704
|
-
"description": "Show \"Optional\" flag. Use when most fields are required.",
|
|
3705
3783
|
"fieldName": "optional"
|
|
3706
3784
|
},
|
|
3707
3785
|
{
|
|
3708
|
-
"name": "
|
|
3709
|
-
"type": {
|
|
3710
|
-
"text": "boolean"
|
|
3711
|
-
},
|
|
3712
|
-
"default": "false",
|
|
3713
|
-
"description": "Show error state.",
|
|
3714
|
-
"fieldName": "showError"
|
|
3715
|
-
},
|
|
3716
|
-
{
|
|
3717
|
-
"name": "errorMessage",
|
|
3786
|
+
"name": "tooltip",
|
|
3718
3787
|
"type": {
|
|
3719
3788
|
"text": "string"
|
|
3720
3789
|
},
|
|
3721
3790
|
"default": "\"\"",
|
|
3722
|
-
"
|
|
3723
|
-
"fieldName": "errorMessage"
|
|
3791
|
+
"fieldName": "tooltip"
|
|
3724
3792
|
},
|
|
3725
3793
|
{
|
|
3726
3794
|
"name": "form",
|
|
@@ -3728,186 +3796,1425 @@
|
|
|
3728
3796
|
"text": "string | null"
|
|
3729
3797
|
},
|
|
3730
3798
|
"default": "null",
|
|
3731
|
-
"description": "Form `id` to associate with when input is outside form.",
|
|
3732
3799
|
"fieldName": "form"
|
|
3733
3800
|
},
|
|
3734
3801
|
{
|
|
3735
|
-
"name": "
|
|
3802
|
+
"name": "width",
|
|
3736
3803
|
"type": {
|
|
3737
|
-
"text": "
|
|
3804
|
+
"text": "\"md\" | \"lg\" | \"full\""
|
|
3738
3805
|
},
|
|
3739
|
-
"default": "\"\"",
|
|
3740
|
-
"
|
|
3741
|
-
"fieldName": "tooltip"
|
|
3806
|
+
"default": "\"full\"",
|
|
3807
|
+
"fieldName": "width"
|
|
3742
3808
|
},
|
|
3743
3809
|
{
|
|
3744
|
-
"name": "
|
|
3810
|
+
"name": "inverted",
|
|
3745
3811
|
"type": {
|
|
3746
|
-
"text": "
|
|
3812
|
+
"text": "boolean"
|
|
3747
3813
|
},
|
|
3748
|
-
"default": "
|
|
3749
|
-
"
|
|
3750
|
-
"fieldName": "type"
|
|
3814
|
+
"default": "false",
|
|
3815
|
+
"fieldName": "inverted"
|
|
3751
3816
|
},
|
|
3752
3817
|
{
|
|
3753
|
-
"name": "
|
|
3818
|
+
"name": "showError",
|
|
3754
3819
|
"type": {
|
|
3755
|
-
"text": "
|
|
3820
|
+
"text": "boolean"
|
|
3756
3821
|
},
|
|
3757
|
-
"default": "
|
|
3758
|
-
"
|
|
3759
|
-
"fieldName": "label"
|
|
3822
|
+
"default": "false",
|
|
3823
|
+
"fieldName": "showError"
|
|
3760
3824
|
},
|
|
3761
3825
|
{
|
|
3762
|
-
"name": "
|
|
3826
|
+
"name": "errorMessage",
|
|
3763
3827
|
"type": {
|
|
3764
3828
|
"text": "string"
|
|
3765
3829
|
},
|
|
3766
3830
|
"default": "\"\"",
|
|
3767
|
-
"
|
|
3768
|
-
|
|
3831
|
+
"fieldName": "errorMessage"
|
|
3832
|
+
}
|
|
3833
|
+
],
|
|
3834
|
+
"superclass": {
|
|
3835
|
+
"name": "LitElement",
|
|
3836
|
+
"package": "lit"
|
|
3837
|
+
},
|
|
3838
|
+
"tagName": "nys-combobox",
|
|
3839
|
+
"customElement": true
|
|
3840
|
+
}
|
|
3841
|
+
],
|
|
3842
|
+
"exports": [
|
|
3843
|
+
{
|
|
3844
|
+
"kind": "custom-element-definition",
|
|
3845
|
+
"name": "nys-combobox",
|
|
3846
|
+
"declaration": {
|
|
3847
|
+
"name": "NysCombobox",
|
|
3848
|
+
"module": "packages/nys-combobox/src/nys-combobox.ts"
|
|
3849
|
+
}
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"kind": "js",
|
|
3853
|
+
"name": "NysCombobox",
|
|
3854
|
+
"declaration": {
|
|
3855
|
+
"name": "NysCombobox",
|
|
3856
|
+
"module": "packages/nys-combobox/src/nys-combobox.ts"
|
|
3857
|
+
}
|
|
3858
|
+
}
|
|
3859
|
+
]
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"kind": "javascript-module",
|
|
3863
|
+
"path": "packages/nys-datepicker/src/index.ts",
|
|
3864
|
+
"declarations": [],
|
|
3865
|
+
"exports": [
|
|
3866
|
+
{
|
|
3867
|
+
"kind": "js",
|
|
3868
|
+
"name": "*",
|
|
3869
|
+
"declaration": {
|
|
3870
|
+
"name": "*",
|
|
3871
|
+
"module": "packages/nys-datepicker/src/nys-datepicker"
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
]
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
"kind": "javascript-module",
|
|
3878
|
+
"path": "packages/nys-datepicker/src/nys-datepicker.ts",
|
|
3879
|
+
"declarations": [
|
|
3880
|
+
{
|
|
3881
|
+
"kind": "class",
|
|
3882
|
+
"description": "Date picker with calendar popup and form validation. Falls back to native date input\non Safari and mobile.",
|
|
3883
|
+
"name": "NysDatepicker",
|
|
3884
|
+
"members": [
|
|
3885
|
+
{
|
|
3886
|
+
"kind": "field",
|
|
3887
|
+
"name": "shadowRootOptions",
|
|
3888
|
+
"type": {
|
|
3889
|
+
"text": "object"
|
|
3890
|
+
},
|
|
3891
|
+
"static": true,
|
|
3892
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
3769
3893
|
},
|
|
3770
3894
|
{
|
|
3771
|
-
"
|
|
3895
|
+
"kind": "field",
|
|
3896
|
+
"name": "id",
|
|
3772
3897
|
"type": {
|
|
3773
3898
|
"text": "string"
|
|
3774
3899
|
},
|
|
3775
3900
|
"default": "\"\"",
|
|
3776
|
-
"description": "
|
|
3777
|
-
"
|
|
3901
|
+
"description": "Unique identifier. Auto-generated if not provided.",
|
|
3902
|
+
"attribute": "id",
|
|
3903
|
+
"reflects": true
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
"kind": "field",
|
|
3907
|
+
"name": "name",
|
|
3908
|
+
"type": {
|
|
3909
|
+
"text": "string"
|
|
3910
|
+
},
|
|
3911
|
+
"default": "\"\"",
|
|
3912
|
+
"description": "Name for form submission.",
|
|
3913
|
+
"attribute": "name",
|
|
3914
|
+
"reflects": true
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
"kind": "field",
|
|
3918
|
+
"name": "width",
|
|
3919
|
+
"type": {
|
|
3920
|
+
"text": "\"md\" | \"lg\" | \"full\""
|
|
3921
|
+
},
|
|
3922
|
+
"default": "\"md\"",
|
|
3923
|
+
"description": "Input width: `md` (200px), `lg` (384px), `full` (100%).",
|
|
3924
|
+
"attribute": "width",
|
|
3925
|
+
"reflects": true
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "field",
|
|
3929
|
+
"name": "hideTodayButton",
|
|
3930
|
+
"type": {
|
|
3931
|
+
"text": "boolean"
|
|
3932
|
+
},
|
|
3933
|
+
"default": "false",
|
|
3934
|
+
"description": "Hide the \"Today\" button in calendar popup.",
|
|
3935
|
+
"attribute": "hideTodayButton"
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"kind": "field",
|
|
3939
|
+
"name": "hideClearButton",
|
|
3940
|
+
"type": {
|
|
3941
|
+
"text": "boolean"
|
|
3942
|
+
},
|
|
3943
|
+
"default": "false",
|
|
3944
|
+
"description": "Hide the \"Clear\" button in calendar popup.",
|
|
3945
|
+
"attribute": "hideClearButton"
|
|
3946
|
+
},
|
|
3947
|
+
{
|
|
3948
|
+
"kind": "field",
|
|
3949
|
+
"name": "disabled",
|
|
3950
|
+
"type": {
|
|
3951
|
+
"text": "boolean"
|
|
3952
|
+
},
|
|
3953
|
+
"default": "false",
|
|
3954
|
+
"description": "Disable interaction.",
|
|
3955
|
+
"attribute": "disabled",
|
|
3956
|
+
"reflects": true
|
|
3957
|
+
},
|
|
3958
|
+
{
|
|
3959
|
+
"kind": "field",
|
|
3960
|
+
"name": "required",
|
|
3961
|
+
"type": {
|
|
3962
|
+
"text": "boolean"
|
|
3963
|
+
},
|
|
3964
|
+
"default": "false",
|
|
3965
|
+
"description": "Mark as required. Shows \"Required\" flag and validates on blur.",
|
|
3966
|
+
"attribute": "required",
|
|
3967
|
+
"reflects": true
|
|
3968
|
+
},
|
|
3969
|
+
{
|
|
3970
|
+
"kind": "field",
|
|
3971
|
+
"name": "optional",
|
|
3972
|
+
"type": {
|
|
3973
|
+
"text": "boolean"
|
|
3974
|
+
},
|
|
3975
|
+
"default": "false",
|
|
3976
|
+
"description": "Show \"Optional\" flag. Use when most fields are required.",
|
|
3977
|
+
"attribute": "optional",
|
|
3978
|
+
"reflects": true
|
|
3979
|
+
},
|
|
3980
|
+
{
|
|
3981
|
+
"kind": "field",
|
|
3982
|
+
"name": "showError",
|
|
3983
|
+
"type": {
|
|
3984
|
+
"text": "boolean"
|
|
3985
|
+
},
|
|
3986
|
+
"default": "false",
|
|
3987
|
+
"description": "Show error state.",
|
|
3988
|
+
"attribute": "showError",
|
|
3989
|
+
"reflects": true
|
|
3990
|
+
},
|
|
3991
|
+
{
|
|
3992
|
+
"kind": "field",
|
|
3993
|
+
"name": "errorMessage",
|
|
3994
|
+
"type": {
|
|
3995
|
+
"text": "string"
|
|
3996
|
+
},
|
|
3997
|
+
"default": "\"\"",
|
|
3998
|
+
"description": "Error message text.",
|
|
3999
|
+
"attribute": "errorMessage"
|
|
4000
|
+
},
|
|
4001
|
+
{
|
|
4002
|
+
"kind": "field",
|
|
4003
|
+
"name": "form",
|
|
4004
|
+
"type": {
|
|
4005
|
+
"text": "string | null"
|
|
4006
|
+
},
|
|
4007
|
+
"default": "null",
|
|
4008
|
+
"description": "Form `id` to associate with when input is outside form.",
|
|
4009
|
+
"attribute": "form",
|
|
4010
|
+
"reflects": true
|
|
4011
|
+
},
|
|
4012
|
+
{
|
|
4013
|
+
"kind": "field",
|
|
4014
|
+
"name": "tooltip",
|
|
4015
|
+
"type": {
|
|
4016
|
+
"text": "string"
|
|
4017
|
+
},
|
|
4018
|
+
"default": "\"\"",
|
|
4019
|
+
"description": "Tooltip text on info icon hover.",
|
|
4020
|
+
"attribute": "tooltip"
|
|
4021
|
+
},
|
|
4022
|
+
{
|
|
4023
|
+
"kind": "field",
|
|
4024
|
+
"name": "type",
|
|
4025
|
+
"type": {
|
|
4026
|
+
"text": "string"
|
|
4027
|
+
},
|
|
4028
|
+
"default": "\"date\"",
|
|
4029
|
+
"description": "Input type. Currently only supports `date`.",
|
|
4030
|
+
"attribute": "type"
|
|
4031
|
+
},
|
|
4032
|
+
{
|
|
4033
|
+
"kind": "field",
|
|
4034
|
+
"name": "label",
|
|
4035
|
+
"type": {
|
|
4036
|
+
"text": "string"
|
|
4037
|
+
},
|
|
4038
|
+
"default": "\"\"",
|
|
4039
|
+
"description": "Label text. Required for accessibility.",
|
|
4040
|
+
"attribute": "label"
|
|
4041
|
+
},
|
|
4042
|
+
{
|
|
4043
|
+
"kind": "field",
|
|
4044
|
+
"name": "description",
|
|
4045
|
+
"type": {
|
|
4046
|
+
"text": "string"
|
|
4047
|
+
},
|
|
4048
|
+
"default": "\"\"",
|
|
4049
|
+
"description": "Helper text below label.",
|
|
4050
|
+
"attribute": "description"
|
|
4051
|
+
},
|
|
4052
|
+
{
|
|
4053
|
+
"kind": "field",
|
|
4054
|
+
"name": "startDate",
|
|
4055
|
+
"type": {
|
|
4056
|
+
"text": "string"
|
|
4057
|
+
},
|
|
4058
|
+
"default": "\"\"",
|
|
4059
|
+
"description": "Initial date when calendar opens (YYYY-MM-DD).",
|
|
4060
|
+
"attribute": "startDate"
|
|
3778
4061
|
},
|
|
3779
4062
|
{
|
|
4063
|
+
"kind": "field",
|
|
3780
4064
|
"name": "inverted",
|
|
3781
4065
|
"type": {
|
|
3782
4066
|
"text": "boolean"
|
|
3783
4067
|
},
|
|
3784
4068
|
"default": "false",
|
|
3785
4069
|
"description": "Dark background mode.",
|
|
3786
|
-
"
|
|
4070
|
+
"attribute": "inverted",
|
|
4071
|
+
"reflects": true
|
|
3787
4072
|
},
|
|
3788
4073
|
{
|
|
4074
|
+
"kind": "field",
|
|
3789
4075
|
"name": "value",
|
|
3790
4076
|
"type": {
|
|
3791
|
-
"text": "string | Date | undefined"
|
|
4077
|
+
"text": "string | Date | undefined"
|
|
4078
|
+
},
|
|
4079
|
+
"default": "undefined",
|
|
4080
|
+
"description": "Selected date. Accepts Date object or ISO string (YYYY-MM-DD).",
|
|
4081
|
+
"attribute": "value"
|
|
4082
|
+
},
|
|
4083
|
+
{
|
|
4084
|
+
"kind": "field",
|
|
4085
|
+
"name": "datepickerIsOpen",
|
|
4086
|
+
"type": {
|
|
4087
|
+
"text": "boolean"
|
|
4088
|
+
},
|
|
4089
|
+
"privacy": "private",
|
|
4090
|
+
"default": "false"
|
|
4091
|
+
},
|
|
4092
|
+
{
|
|
4093
|
+
"kind": "field",
|
|
4094
|
+
"name": "_hasUserInteracted",
|
|
4095
|
+
"type": {
|
|
4096
|
+
"text": "boolean"
|
|
4097
|
+
},
|
|
4098
|
+
"privacy": "private",
|
|
4099
|
+
"default": "false"
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"kind": "field",
|
|
4103
|
+
"name": "_internals",
|
|
4104
|
+
"type": {
|
|
4105
|
+
"text": "ElementInternals"
|
|
4106
|
+
},
|
|
4107
|
+
"privacy": "private"
|
|
4108
|
+
},
|
|
4109
|
+
{
|
|
4110
|
+
"kind": "field",
|
|
4111
|
+
"name": "formAssociated",
|
|
4112
|
+
"type": {
|
|
4113
|
+
"text": "boolean"
|
|
4114
|
+
},
|
|
4115
|
+
"static": true,
|
|
4116
|
+
"default": "true",
|
|
4117
|
+
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
4118
|
+
},
|
|
4119
|
+
{
|
|
4120
|
+
"kind": "method",
|
|
4121
|
+
"name": "_whenWcDatepickerReady",
|
|
4122
|
+
"privacy": "private",
|
|
4123
|
+
"return": {
|
|
4124
|
+
"type": {
|
|
4125
|
+
"text": "Promise<WcDatepicker | null>"
|
|
4126
|
+
}
|
|
4127
|
+
}
|
|
4128
|
+
},
|
|
4129
|
+
{
|
|
4130
|
+
"kind": "method",
|
|
4131
|
+
"name": "_setValue",
|
|
4132
|
+
"privacy": "private",
|
|
4133
|
+
"parameters": [
|
|
4134
|
+
{
|
|
4135
|
+
"name": "value",
|
|
4136
|
+
"type": {
|
|
4137
|
+
"text": "Date | string | undefined"
|
|
4138
|
+
}
|
|
4139
|
+
}
|
|
4140
|
+
],
|
|
4141
|
+
"description": "Form helper methods:\n- _setValue: set internal value and trigger validation\n- _manageRequire: handle required state\n- _validate: actively validate and show errors\n- checkValidity: passive boolean check without UI\n- _setValidityMessage: sync validation message with UI and internals\n- _handleInvalid: handle form invalid event and focus first invalid field"
|
|
4142
|
+
},
|
|
4143
|
+
{
|
|
4144
|
+
"kind": "method",
|
|
4145
|
+
"name": "_manageRequire",
|
|
4146
|
+
"privacy": "private"
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"kind": "method",
|
|
4150
|
+
"name": "_validate",
|
|
4151
|
+
"privacy": "private",
|
|
4152
|
+
"description": "Actively validates the component:\n- Updates internal validity state\n- Updates UI (e.g. showError)\n- Called on blur/change or form submission"
|
|
4153
|
+
},
|
|
4154
|
+
{
|
|
4155
|
+
"kind": "method",
|
|
4156
|
+
"name": "checkValidity",
|
|
4157
|
+
"return": {
|
|
4158
|
+
"type": {
|
|
4159
|
+
"text": "boolean"
|
|
4160
|
+
}
|
|
4161
|
+
},
|
|
4162
|
+
"description": "Passive check of validity:\n- Returns true/false\n- Does NOT update UI or show errors\n- Used in form submission checks"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"kind": "method",
|
|
4166
|
+
"name": "_setValidityMessage",
|
|
4167
|
+
"privacy": "private",
|
|
4168
|
+
"parameters": [
|
|
4169
|
+
{
|
|
4170
|
+
"name": "message",
|
|
4171
|
+
"default": "\"\"",
|
|
4172
|
+
"type": {
|
|
4173
|
+
"text": "string"
|
|
4174
|
+
}
|
|
4175
|
+
}
|
|
4176
|
+
]
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
"kind": "method",
|
|
4180
|
+
"name": "_handleInvalid",
|
|
4181
|
+
"privacy": "private",
|
|
4182
|
+
"parameters": [
|
|
4183
|
+
{
|
|
4184
|
+
"name": "event",
|
|
4185
|
+
"type": {
|
|
4186
|
+
"text": "Event"
|
|
4187
|
+
}
|
|
4188
|
+
}
|
|
4189
|
+
]
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
"kind": "method",
|
|
4193
|
+
"name": "_replaceButtonSVG",
|
|
4194
|
+
"privacy": "private",
|
|
4195
|
+
"description": "Replaces the default wc-datepicker month navigation buttons\nwith NYS icon components for previous and next month."
|
|
4196
|
+
},
|
|
4197
|
+
{
|
|
4198
|
+
"kind": "method",
|
|
4199
|
+
"name": "_addMonthDropdownIcon",
|
|
4200
|
+
"privacy": "private"
|
|
4201
|
+
},
|
|
4202
|
+
{
|
|
4203
|
+
"kind": "method",
|
|
4204
|
+
"name": "_parseLocalDate",
|
|
4205
|
+
"privacy": "private",
|
|
4206
|
+
"parameters": [
|
|
4207
|
+
{
|
|
4208
|
+
"name": "dateString",
|
|
4209
|
+
"type": {
|
|
4210
|
+
"text": "string"
|
|
4211
|
+
}
|
|
4212
|
+
}
|
|
4213
|
+
]
|
|
4214
|
+
},
|
|
4215
|
+
{
|
|
4216
|
+
"kind": "method",
|
|
4217
|
+
"name": "_setTodayDate",
|
|
4218
|
+
"privacy": "private"
|
|
4219
|
+
},
|
|
4220
|
+
{
|
|
4221
|
+
"kind": "method",
|
|
4222
|
+
"name": "_setFocusOnTodayDate",
|
|
4223
|
+
"privacy": "private",
|
|
4224
|
+
"parameters": [
|
|
4225
|
+
{
|
|
4226
|
+
"name": "visualFocusOnly",
|
|
4227
|
+
"default": "false"
|
|
4228
|
+
}
|
|
4229
|
+
]
|
|
4230
|
+
},
|
|
4231
|
+
{
|
|
4232
|
+
"kind": "method",
|
|
4233
|
+
"name": "_dispatchInputEvent",
|
|
4234
|
+
"privacy": "private"
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
"kind": "method",
|
|
4238
|
+
"name": "_handleInputKeydown",
|
|
4239
|
+
"privacy": "private",
|
|
4240
|
+
"parameters": [
|
|
4241
|
+
{
|
|
4242
|
+
"name": "event",
|
|
4243
|
+
"type": {
|
|
4244
|
+
"text": "KeyboardEvent"
|
|
4245
|
+
}
|
|
4246
|
+
}
|
|
4247
|
+
],
|
|
4248
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
4249
|
+
},
|
|
4250
|
+
{
|
|
4251
|
+
"kind": "method",
|
|
4252
|
+
"name": "_handleBlur",
|
|
4253
|
+
"privacy": "private",
|
|
4254
|
+
"parameters": [
|
|
4255
|
+
{
|
|
4256
|
+
"name": "event",
|
|
4257
|
+
"type": {
|
|
4258
|
+
"text": "FocusEvent"
|
|
4259
|
+
}
|
|
4260
|
+
}
|
|
4261
|
+
]
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
"kind": "method",
|
|
4265
|
+
"name": "_onDocumentClick",
|
|
4266
|
+
"privacy": "private"
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"kind": "field",
|
|
4270
|
+
"name": "_onKeydownEsc",
|
|
4271
|
+
"privacy": "private"
|
|
4272
|
+
},
|
|
4273
|
+
{
|
|
4274
|
+
"kind": "method",
|
|
4275
|
+
"name": "_toggleDatepicker",
|
|
4276
|
+
"privacy": "private"
|
|
4277
|
+
},
|
|
4278
|
+
{
|
|
4279
|
+
"kind": "method",
|
|
4280
|
+
"name": "_openDatepicker",
|
|
4281
|
+
"privacy": "private"
|
|
4282
|
+
},
|
|
4283
|
+
{
|
|
4284
|
+
"kind": "method",
|
|
4285
|
+
"name": "_handleDateChange",
|
|
4286
|
+
"privacy": "private"
|
|
4287
|
+
},
|
|
4288
|
+
{
|
|
4289
|
+
"kind": "method",
|
|
4290
|
+
"name": "_handleTodayClick",
|
|
4291
|
+
"privacy": "private"
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
"kind": "method",
|
|
4295
|
+
"name": "_handleClearClick",
|
|
4296
|
+
"privacy": "private"
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
"kind": "method",
|
|
4300
|
+
"name": "_handleInputChange",
|
|
4301
|
+
"privacy": "private",
|
|
4302
|
+
"parameters": [
|
|
4303
|
+
{
|
|
4304
|
+
"name": "event",
|
|
4305
|
+
"type": {
|
|
4306
|
+
"text": "Event"
|
|
4307
|
+
}
|
|
4308
|
+
}
|
|
4309
|
+
]
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
"kind": "method",
|
|
4313
|
+
"name": "_getValidDateFromInput",
|
|
4314
|
+
"privacy": "private",
|
|
4315
|
+
"return": {
|
|
4316
|
+
"type": {
|
|
4317
|
+
"text": "Date | null"
|
|
4318
|
+
}
|
|
4319
|
+
},
|
|
4320
|
+
"parameters": [
|
|
4321
|
+
{
|
|
4322
|
+
"name": "value",
|
|
4323
|
+
"type": {
|
|
4324
|
+
"text": "string"
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
]
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"kind": "method",
|
|
4331
|
+
"name": "_handleFocusTrap",
|
|
4332
|
+
"privacy": "private",
|
|
4333
|
+
"parameters": [
|
|
4334
|
+
{
|
|
4335
|
+
"name": "event",
|
|
4336
|
+
"type": {
|
|
4337
|
+
"text": "KeyboardEvent"
|
|
4338
|
+
}
|
|
4339
|
+
}
|
|
4340
|
+
]
|
|
4341
|
+
},
|
|
4342
|
+
{
|
|
4343
|
+
"kind": "method",
|
|
4344
|
+
"name": "_isSafari",
|
|
4345
|
+
"privacy": "private",
|
|
4346
|
+
"return": {
|
|
4347
|
+
"type": {
|
|
4348
|
+
"text": "boolean"
|
|
4349
|
+
}
|
|
4350
|
+
}
|
|
4351
|
+
},
|
|
4352
|
+
{
|
|
4353
|
+
"kind": "method",
|
|
4354
|
+
"name": "_isMobile",
|
|
4355
|
+
"privacy": "private",
|
|
4356
|
+
"return": {
|
|
4357
|
+
"type": {
|
|
4358
|
+
"text": ""
|
|
4359
|
+
}
|
|
4360
|
+
},
|
|
4361
|
+
"description": "Determines whether the current device uses a coarse pointer.\nA coarse pointer usually means touch-based input where precise pointing\nis not expected, such as fingers on phones and most tablets.\n\nNote: This is not a guarantee of a mobile device.\nSome non-mobile devices may also report a coarse pointer,\nand some mobile devices may not."
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"kind": "method",
|
|
4365
|
+
"name": "_shouldUseNativeDatepicker",
|
|
4366
|
+
"privacy": "private",
|
|
4367
|
+
"return": {
|
|
4368
|
+
"type": {
|
|
4369
|
+
"text": "boolean"
|
|
4370
|
+
}
|
|
4371
|
+
}
|
|
4372
|
+
}
|
|
4373
|
+
],
|
|
4374
|
+
"events": [
|
|
4375
|
+
{
|
|
4376
|
+
"name": "nys-input",
|
|
4377
|
+
"type": {
|
|
4378
|
+
"text": "CustomEvent"
|
|
4379
|
+
},
|
|
4380
|
+
"description": "Fired on date selection. Detail: `{id, value}`."
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
"name": "nys-blur",
|
|
4384
|
+
"type": {
|
|
4385
|
+
"text": "Event"
|
|
4386
|
+
},
|
|
4387
|
+
"description": "Fired when input or calendar loses focus. Triggers validation."
|
|
4388
|
+
}
|
|
4389
|
+
],
|
|
4390
|
+
"attributes": [
|
|
4391
|
+
{
|
|
4392
|
+
"name": "id",
|
|
4393
|
+
"type": {
|
|
4394
|
+
"text": "string"
|
|
4395
|
+
},
|
|
4396
|
+
"default": "\"\"",
|
|
4397
|
+
"description": "Unique identifier. Auto-generated if not provided.",
|
|
4398
|
+
"fieldName": "id"
|
|
4399
|
+
},
|
|
4400
|
+
{
|
|
4401
|
+
"name": "name",
|
|
4402
|
+
"type": {
|
|
4403
|
+
"text": "string"
|
|
4404
|
+
},
|
|
4405
|
+
"default": "\"\"",
|
|
4406
|
+
"description": "Name for form submission.",
|
|
4407
|
+
"fieldName": "name"
|
|
4408
|
+
},
|
|
4409
|
+
{
|
|
4410
|
+
"name": "width",
|
|
4411
|
+
"type": {
|
|
4412
|
+
"text": "\"md\" | \"lg\" | \"full\""
|
|
4413
|
+
},
|
|
4414
|
+
"default": "\"md\"",
|
|
4415
|
+
"description": "Input width: `md` (200px), `lg` (384px), `full` (100%).",
|
|
4416
|
+
"fieldName": "width"
|
|
4417
|
+
},
|
|
4418
|
+
{
|
|
4419
|
+
"name": "hideTodayButton",
|
|
4420
|
+
"type": {
|
|
4421
|
+
"text": "boolean"
|
|
4422
|
+
},
|
|
4423
|
+
"default": "false",
|
|
4424
|
+
"description": "Hide the \"Today\" button in calendar popup.",
|
|
4425
|
+
"fieldName": "hideTodayButton"
|
|
4426
|
+
},
|
|
4427
|
+
{
|
|
4428
|
+
"name": "hideClearButton",
|
|
4429
|
+
"type": {
|
|
4430
|
+
"text": "boolean"
|
|
4431
|
+
},
|
|
4432
|
+
"default": "false",
|
|
4433
|
+
"description": "Hide the \"Clear\" button in calendar popup.",
|
|
4434
|
+
"fieldName": "hideClearButton"
|
|
4435
|
+
},
|
|
4436
|
+
{
|
|
4437
|
+
"name": "disabled",
|
|
4438
|
+
"type": {
|
|
4439
|
+
"text": "boolean"
|
|
4440
|
+
},
|
|
4441
|
+
"default": "false",
|
|
4442
|
+
"description": "Disable interaction.",
|
|
4443
|
+
"fieldName": "disabled"
|
|
4444
|
+
},
|
|
4445
|
+
{
|
|
4446
|
+
"name": "required",
|
|
4447
|
+
"type": {
|
|
4448
|
+
"text": "boolean"
|
|
4449
|
+
},
|
|
4450
|
+
"default": "false",
|
|
4451
|
+
"description": "Mark as required. Shows \"Required\" flag and validates on blur.",
|
|
4452
|
+
"fieldName": "required"
|
|
4453
|
+
},
|
|
4454
|
+
{
|
|
4455
|
+
"name": "optional",
|
|
4456
|
+
"type": {
|
|
4457
|
+
"text": "boolean"
|
|
4458
|
+
},
|
|
4459
|
+
"default": "false",
|
|
4460
|
+
"description": "Show \"Optional\" flag. Use when most fields are required.",
|
|
4461
|
+
"fieldName": "optional"
|
|
4462
|
+
},
|
|
4463
|
+
{
|
|
4464
|
+
"name": "showError",
|
|
4465
|
+
"type": {
|
|
4466
|
+
"text": "boolean"
|
|
4467
|
+
},
|
|
4468
|
+
"default": "false",
|
|
4469
|
+
"description": "Show error state.",
|
|
4470
|
+
"fieldName": "showError"
|
|
4471
|
+
},
|
|
4472
|
+
{
|
|
4473
|
+
"name": "errorMessage",
|
|
4474
|
+
"type": {
|
|
4475
|
+
"text": "string"
|
|
4476
|
+
},
|
|
4477
|
+
"default": "\"\"",
|
|
4478
|
+
"description": "Error message text.",
|
|
4479
|
+
"fieldName": "errorMessage"
|
|
4480
|
+
},
|
|
4481
|
+
{
|
|
4482
|
+
"name": "form",
|
|
4483
|
+
"type": {
|
|
4484
|
+
"text": "string | null"
|
|
4485
|
+
},
|
|
4486
|
+
"default": "null",
|
|
4487
|
+
"description": "Form `id` to associate with when input is outside form.",
|
|
4488
|
+
"fieldName": "form"
|
|
4489
|
+
},
|
|
4490
|
+
{
|
|
4491
|
+
"name": "tooltip",
|
|
4492
|
+
"type": {
|
|
4493
|
+
"text": "string"
|
|
4494
|
+
},
|
|
4495
|
+
"default": "\"\"",
|
|
4496
|
+
"description": "Tooltip text on info icon hover.",
|
|
4497
|
+
"fieldName": "tooltip"
|
|
4498
|
+
},
|
|
4499
|
+
{
|
|
4500
|
+
"name": "type",
|
|
4501
|
+
"type": {
|
|
4502
|
+
"text": "string"
|
|
4503
|
+
},
|
|
4504
|
+
"default": "\"date\"",
|
|
4505
|
+
"description": "Input type. Currently only supports `date`.",
|
|
4506
|
+
"fieldName": "type"
|
|
4507
|
+
},
|
|
4508
|
+
{
|
|
4509
|
+
"name": "label",
|
|
4510
|
+
"type": {
|
|
4511
|
+
"text": "string"
|
|
4512
|
+
},
|
|
4513
|
+
"default": "\"\"",
|
|
4514
|
+
"description": "Label text. Required for accessibility.",
|
|
4515
|
+
"fieldName": "label"
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
"name": "description",
|
|
4519
|
+
"type": {
|
|
4520
|
+
"text": "string"
|
|
4521
|
+
},
|
|
4522
|
+
"default": "\"\"",
|
|
4523
|
+
"description": "Helper text below label.",
|
|
4524
|
+
"fieldName": "description"
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
"name": "startDate",
|
|
4528
|
+
"type": {
|
|
4529
|
+
"text": "string"
|
|
4530
|
+
},
|
|
4531
|
+
"default": "\"\"",
|
|
4532
|
+
"description": "Initial date when calendar opens (YYYY-MM-DD).",
|
|
4533
|
+
"fieldName": "startDate"
|
|
4534
|
+
},
|
|
4535
|
+
{
|
|
4536
|
+
"name": "inverted",
|
|
4537
|
+
"type": {
|
|
4538
|
+
"text": "boolean"
|
|
4539
|
+
},
|
|
4540
|
+
"default": "false",
|
|
4541
|
+
"description": "Dark background mode.",
|
|
4542
|
+
"fieldName": "inverted"
|
|
4543
|
+
},
|
|
4544
|
+
{
|
|
4545
|
+
"name": "value",
|
|
4546
|
+
"type": {
|
|
4547
|
+
"text": "string | Date | undefined"
|
|
4548
|
+
},
|
|
4549
|
+
"default": "undefined",
|
|
4550
|
+
"description": "Selected date. Accepts Date object or ISO string (YYYY-MM-DD).",
|
|
4551
|
+
"fieldName": "value"
|
|
4552
|
+
}
|
|
4553
|
+
],
|
|
4554
|
+
"superclass": {
|
|
4555
|
+
"name": "LitElement",
|
|
4556
|
+
"package": "lit"
|
|
4557
|
+
},
|
|
4558
|
+
"tagName": "nys-datepicker",
|
|
4559
|
+
"customElement": true,
|
|
4560
|
+
"summary": "Date picker with calendar popup and native fallback."
|
|
4561
|
+
}
|
|
4562
|
+
],
|
|
4563
|
+
"exports": [
|
|
4564
|
+
{
|
|
4565
|
+
"kind": "custom-element-definition",
|
|
4566
|
+
"name": "nys-datepicker",
|
|
4567
|
+
"declaration": {
|
|
4568
|
+
"name": "NysDatepicker",
|
|
4569
|
+
"module": "packages/nys-datepicker/src/nys-datepicker.ts"
|
|
4570
|
+
}
|
|
4571
|
+
},
|
|
4572
|
+
{
|
|
4573
|
+
"kind": "js",
|
|
4574
|
+
"name": "NysDatepicker",
|
|
4575
|
+
"declaration": {
|
|
4576
|
+
"name": "NysDatepicker",
|
|
4577
|
+
"module": "packages/nys-datepicker/src/nys-datepicker.ts"
|
|
4578
|
+
}
|
|
4579
|
+
},
|
|
4580
|
+
{
|
|
4581
|
+
"kind": "custom-element-definition",
|
|
4582
|
+
"name": "wc-datepicker",
|
|
4583
|
+
"declaration": {
|
|
4584
|
+
"name": "WcDatepicker",
|
|
4585
|
+
"package": "wc-datepicker/dist/components/wc-datepicker"
|
|
4586
|
+
}
|
|
4587
|
+
}
|
|
4588
|
+
]
|
|
4589
|
+
},
|
|
4590
|
+
{
|
|
4591
|
+
"kind": "javascript-module",
|
|
4592
|
+
"path": "packages/nys-divider/src/index.ts",
|
|
4593
|
+
"declarations": [],
|
|
4594
|
+
"exports": [
|
|
4595
|
+
{
|
|
4596
|
+
"kind": "js",
|
|
4597
|
+
"name": "*",
|
|
4598
|
+
"declaration": {
|
|
4599
|
+
"name": "*",
|
|
4600
|
+
"module": "packages/nys-divider/src/nys-divider"
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
]
|
|
4604
|
+
},
|
|
4605
|
+
{
|
|
4606
|
+
"kind": "javascript-module",
|
|
4607
|
+
"path": "packages/nys-divider/src/nys-divider.ts",
|
|
4608
|
+
"declarations": [
|
|
4609
|
+
{
|
|
4610
|
+
"kind": "class",
|
|
4611
|
+
"description": "A horizontal rule for visual separation between content sections. Renders a semantic `<hr>` element.\n\nUse to separate distinct content areas within a page. Set `inverted` for use on dark backgrounds.",
|
|
4612
|
+
"name": "NysDivider",
|
|
4613
|
+
"members": [
|
|
4614
|
+
{
|
|
4615
|
+
"kind": "field",
|
|
4616
|
+
"name": "inverted",
|
|
4617
|
+
"type": {
|
|
4618
|
+
"text": "boolean"
|
|
4619
|
+
},
|
|
4620
|
+
"default": "false",
|
|
4621
|
+
"description": "Adjusts colors for dark backgrounds.",
|
|
4622
|
+
"attribute": "inverted",
|
|
4623
|
+
"reflects": true
|
|
4624
|
+
},
|
|
4625
|
+
{
|
|
4626
|
+
"kind": "method",
|
|
4627
|
+
"name": "_generateUniqueId",
|
|
4628
|
+
"privacy": "private",
|
|
4629
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
4630
|
+
}
|
|
4631
|
+
],
|
|
4632
|
+
"attributes": [
|
|
4633
|
+
{
|
|
4634
|
+
"name": "inverted",
|
|
4635
|
+
"type": {
|
|
4636
|
+
"text": "boolean"
|
|
4637
|
+
},
|
|
4638
|
+
"default": "false",
|
|
4639
|
+
"description": "Adjusts colors for dark backgrounds.",
|
|
4640
|
+
"fieldName": "inverted"
|
|
4641
|
+
}
|
|
4642
|
+
],
|
|
4643
|
+
"superclass": {
|
|
4644
|
+
"name": "LitElement",
|
|
4645
|
+
"package": "lit"
|
|
4646
|
+
},
|
|
4647
|
+
"tagName": "nys-divider",
|
|
4648
|
+
"customElement": true,
|
|
4649
|
+
"summary": "Horizontal divider for visual separation of content sections."
|
|
4650
|
+
}
|
|
4651
|
+
],
|
|
4652
|
+
"exports": [
|
|
4653
|
+
{
|
|
4654
|
+
"kind": "custom-element-definition",
|
|
4655
|
+
"name": "nys-divider",
|
|
4656
|
+
"declaration": {
|
|
4657
|
+
"name": "NysDivider",
|
|
4658
|
+
"module": "packages/nys-divider/src/nys-divider.ts"
|
|
4659
|
+
}
|
|
4660
|
+
},
|
|
4661
|
+
{
|
|
4662
|
+
"kind": "js",
|
|
4663
|
+
"name": "NysDivider",
|
|
4664
|
+
"declaration": {
|
|
4665
|
+
"name": "NysDivider",
|
|
4666
|
+
"module": "packages/nys-divider/src/nys-divider.ts"
|
|
4667
|
+
}
|
|
4668
|
+
}
|
|
4669
|
+
]
|
|
4670
|
+
},
|
|
4671
|
+
{
|
|
4672
|
+
"kind": "javascript-module",
|
|
4673
|
+
"path": "packages/nys-dropdownmenu/src/index.ts",
|
|
4674
|
+
"declarations": [],
|
|
4675
|
+
"exports": [
|
|
4676
|
+
{
|
|
4677
|
+
"kind": "js",
|
|
4678
|
+
"name": "*",
|
|
4679
|
+
"declaration": {
|
|
4680
|
+
"name": "*",
|
|
4681
|
+
"module": "packages/nys-dropdownmenu/src/nys-dropdownmenu"
|
|
4682
|
+
}
|
|
4683
|
+
},
|
|
4684
|
+
{
|
|
4685
|
+
"kind": "js",
|
|
4686
|
+
"name": "*",
|
|
4687
|
+
"declaration": {
|
|
4688
|
+
"name": "*",
|
|
4689
|
+
"module": "packages/nys-dropdownmenu/src/nys-dropdownmenuitem"
|
|
4690
|
+
}
|
|
4691
|
+
}
|
|
4692
|
+
]
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"kind": "javascript-module",
|
|
4696
|
+
"path": "packages/nys-dropdownmenu/src/nys-dropdownmenu.ts",
|
|
4697
|
+
"declarations": [
|
|
4698
|
+
{
|
|
4699
|
+
"kind": "class",
|
|
4700
|
+
"description": "",
|
|
4701
|
+
"name": "NysDropdownMenu",
|
|
4702
|
+
"members": [
|
|
4703
|
+
{
|
|
4704
|
+
"kind": "field",
|
|
4705
|
+
"name": "for",
|
|
4706
|
+
"type": {
|
|
4707
|
+
"text": "string"
|
|
4708
|
+
},
|
|
4709
|
+
"default": "\"\"",
|
|
4710
|
+
"attribute": "for",
|
|
4711
|
+
"reflects": true
|
|
4712
|
+
},
|
|
4713
|
+
{
|
|
4714
|
+
"kind": "field",
|
|
4715
|
+
"name": "showDropdown",
|
|
4716
|
+
"type": {
|
|
4717
|
+
"text": "boolean"
|
|
4718
|
+
},
|
|
4719
|
+
"default": "false",
|
|
4720
|
+
"attribute": "showDropdown"
|
|
4721
|
+
},
|
|
4722
|
+
{
|
|
4723
|
+
"kind": "field",
|
|
4724
|
+
"name": "position",
|
|
4725
|
+
"type": {
|
|
4726
|
+
"text": "Position | null"
|
|
4727
|
+
},
|
|
4728
|
+
"default": "null",
|
|
4729
|
+
"description": "Preferred position relative to trigger.",
|
|
4730
|
+
"attribute": "position",
|
|
4731
|
+
"reflects": true
|
|
4732
|
+
},
|
|
4733
|
+
{
|
|
4734
|
+
"kind": "field",
|
|
4735
|
+
"name": "_trigger",
|
|
4736
|
+
"type": {
|
|
4737
|
+
"text": "HTMLElement | null"
|
|
4738
|
+
},
|
|
4739
|
+
"privacy": "private",
|
|
4740
|
+
"default": "null"
|
|
4741
|
+
},
|
|
4742
|
+
{
|
|
4743
|
+
"kind": "field",
|
|
4744
|
+
"name": "_menuElement",
|
|
4745
|
+
"type": {
|
|
4746
|
+
"text": "HTMLElement | null"
|
|
4747
|
+
},
|
|
4748
|
+
"privacy": "private",
|
|
4749
|
+
"default": "null"
|
|
4750
|
+
},
|
|
4751
|
+
{
|
|
4752
|
+
"kind": "field",
|
|
4753
|
+
"name": "_ariaTarget",
|
|
4754
|
+
"type": {
|
|
4755
|
+
"text": "HTMLElement | null"
|
|
4756
|
+
},
|
|
4757
|
+
"privacy": "private",
|
|
4758
|
+
"default": "null"
|
|
4759
|
+
},
|
|
4760
|
+
{
|
|
4761
|
+
"kind": "field",
|
|
4762
|
+
"name": "GAP",
|
|
4763
|
+
"type": {
|
|
4764
|
+
"text": "number"
|
|
4765
|
+
},
|
|
4766
|
+
"privacy": "private",
|
|
4767
|
+
"readonly": true,
|
|
4768
|
+
"default": "4"
|
|
4769
|
+
},
|
|
4770
|
+
{
|
|
4771
|
+
"kind": "method",
|
|
4772
|
+
"name": "_findTrigger",
|
|
4773
|
+
"privacy": "private",
|
|
4774
|
+
"description": "Functions\n--------------------------------------------------------------------------"
|
|
4775
|
+
},
|
|
4776
|
+
{
|
|
4777
|
+
"kind": "method",
|
|
4778
|
+
"name": "_connectTrigger",
|
|
4779
|
+
"privacy": "private"
|
|
4780
|
+
},
|
|
4781
|
+
{
|
|
4782
|
+
"kind": "field",
|
|
4783
|
+
"name": "_toggleDropdown",
|
|
4784
|
+
"privacy": "private"
|
|
4785
|
+
},
|
|
4786
|
+
{
|
|
4787
|
+
"kind": "method",
|
|
4788
|
+
"name": "_closeDropdown",
|
|
4789
|
+
"privacy": "private"
|
|
4790
|
+
},
|
|
4791
|
+
{
|
|
4792
|
+
"kind": "method",
|
|
4793
|
+
"name": "_getMenuItems",
|
|
4794
|
+
"privacy": "private",
|
|
4795
|
+
"return": {
|
|
4796
|
+
"type": {
|
|
4797
|
+
"text": "HTMLElement[]"
|
|
4798
|
+
}
|
|
4799
|
+
}
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
"kind": "field",
|
|
4803
|
+
"name": "_handleDocumentClick",
|
|
4804
|
+
"privacy": "private"
|
|
4805
|
+
},
|
|
4806
|
+
{
|
|
4807
|
+
"kind": "method",
|
|
4808
|
+
"name": "_focusOnFirstItem",
|
|
4809
|
+
"privacy": "private"
|
|
4810
|
+
},
|
|
4811
|
+
{
|
|
4812
|
+
"kind": "method",
|
|
4813
|
+
"name": "applyInverseTransform",
|
|
4814
|
+
"privacy": "private"
|
|
4815
|
+
},
|
|
4816
|
+
{
|
|
4817
|
+
"kind": "method",
|
|
4818
|
+
"name": "_positionMenu",
|
|
4819
|
+
"privacy": "private",
|
|
4820
|
+
"description": "The controller function for positioning the dropdown menu.\nThe logic diverts to if user sets position or we auto position the dropdown menu"
|
|
4821
|
+
},
|
|
4822
|
+
{
|
|
4823
|
+
"kind": "method",
|
|
4824
|
+
"name": "_setUserPosition",
|
|
4825
|
+
"privacy": "private",
|
|
4826
|
+
"return": {
|
|
4827
|
+
"type": {
|
|
4828
|
+
"text": "Position"
|
|
4829
|
+
}
|
|
4830
|
+
},
|
|
4831
|
+
"parameters": [
|
|
4832
|
+
{
|
|
4833
|
+
"name": "userPosition",
|
|
4834
|
+
"type": {
|
|
4835
|
+
"text": "Position"
|
|
4836
|
+
}
|
|
4837
|
+
}
|
|
4838
|
+
]
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
"kind": "method",
|
|
4842
|
+
"name": "_autoPosition",
|
|
4843
|
+
"privacy": "private",
|
|
4844
|
+
"return": {
|
|
4845
|
+
"type": {
|
|
4846
|
+
"text": "Position"
|
|
4847
|
+
}
|
|
4848
|
+
},
|
|
4849
|
+
"description": "Auto Positioning of the dropdown menu relies on the best surrounding space available\nto select the desirable position."
|
|
4850
|
+
},
|
|
4851
|
+
{
|
|
4852
|
+
"kind": "method",
|
|
4853
|
+
"name": "_checkSpaceAvailable",
|
|
4854
|
+
"privacy": "private",
|
|
4855
|
+
"return": {
|
|
4856
|
+
"type": {
|
|
4857
|
+
"text": "SpaceAvailable"
|
|
4858
|
+
}
|
|
4859
|
+
},
|
|
4860
|
+
"description": "Checks if the dropdown menu fits inside the viewport on the given side of the trigger.\nOverrides user set position for auto-positioning if user's desire space is not available"
|
|
4861
|
+
},
|
|
4862
|
+
{
|
|
4863
|
+
"kind": "method",
|
|
4864
|
+
"name": "_checkPositionFits",
|
|
4865
|
+
"privacy": "private",
|
|
4866
|
+
"return": {
|
|
4867
|
+
"type": {
|
|
4868
|
+
"text": "boolean"
|
|
4869
|
+
}
|
|
4870
|
+
},
|
|
4871
|
+
"parameters": [
|
|
4872
|
+
{
|
|
4873
|
+
"name": "position",
|
|
4874
|
+
"type": {
|
|
4875
|
+
"text": "Position"
|
|
4876
|
+
}
|
|
4877
|
+
},
|
|
4878
|
+
{
|
|
4879
|
+
"name": "space",
|
|
4880
|
+
"type": {
|
|
4881
|
+
"text": "SpaceAvailable"
|
|
4882
|
+
}
|
|
4883
|
+
},
|
|
4884
|
+
{
|
|
4885
|
+
"name": "menuRect",
|
|
4886
|
+
"type": {
|
|
4887
|
+
"text": "DOMRect"
|
|
4888
|
+
}
|
|
4889
|
+
}
|
|
4890
|
+
]
|
|
4891
|
+
},
|
|
4892
|
+
{
|
|
4893
|
+
"kind": "method",
|
|
4894
|
+
"name": "_findBestAlternative",
|
|
4895
|
+
"privacy": "private",
|
|
4896
|
+
"return": {
|
|
4897
|
+
"type": {
|
|
4898
|
+
"text": "Position"
|
|
4899
|
+
}
|
|
4900
|
+
},
|
|
4901
|
+
"parameters": [
|
|
4902
|
+
{
|
|
4903
|
+
"name": "userPosition",
|
|
4904
|
+
"type": {
|
|
4905
|
+
"text": "Position"
|
|
4906
|
+
}
|
|
4907
|
+
},
|
|
4908
|
+
{
|
|
4909
|
+
"name": "space",
|
|
4910
|
+
"type": {
|
|
4911
|
+
"text": "SpaceAvailable"
|
|
4912
|
+
}
|
|
4913
|
+
},
|
|
4914
|
+
{
|
|
4915
|
+
"name": "menuRect",
|
|
4916
|
+
"type": {
|
|
4917
|
+
"text": "DOMRect"
|
|
4918
|
+
}
|
|
4919
|
+
}
|
|
4920
|
+
],
|
|
4921
|
+
"description": "This position is called for when user's set position didn't fit OR auto positioning when default position doesn't fit\nWe look for the best alternative positions in order of preference base on the set position (e.g. bottom-start => bottom-end)."
|
|
4922
|
+
},
|
|
4923
|
+
{
|
|
4924
|
+
"kind": "method",
|
|
4925
|
+
"name": "_findMostAvailableSpace",
|
|
4926
|
+
"privacy": "private",
|
|
4927
|
+
"return": {
|
|
4928
|
+
"type": {
|
|
4929
|
+
"text": "Position"
|
|
4930
|
+
}
|
|
4931
|
+
},
|
|
4932
|
+
"parameters": [
|
|
4933
|
+
{
|
|
4934
|
+
"name": "space",
|
|
4935
|
+
"type": {
|
|
4936
|
+
"text": "SpaceAvailable"
|
|
4937
|
+
}
|
|
4938
|
+
}
|
|
4939
|
+
]
|
|
4940
|
+
},
|
|
4941
|
+
{
|
|
4942
|
+
"kind": "method",
|
|
4943
|
+
"name": "_calculateCoordinates",
|
|
4944
|
+
"privacy": "private",
|
|
4945
|
+
"return": {
|
|
4946
|
+
"type": {
|
|
4947
|
+
"text": ""
|
|
4948
|
+
}
|
|
4949
|
+
},
|
|
4950
|
+
"parameters": [
|
|
4951
|
+
{
|
|
4952
|
+
"name": "position",
|
|
4953
|
+
"type": {
|
|
4954
|
+
"text": "Position"
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
],
|
|
4958
|
+
"description": "A valid ideal position has been chosen.\nThis function calculates the coordinate of the trigger to properly position the dropdown menu."
|
|
4959
|
+
},
|
|
4960
|
+
{
|
|
4961
|
+
"kind": "method",
|
|
4962
|
+
"name": "_applyPosition",
|
|
4963
|
+
"privacy": "private",
|
|
4964
|
+
"parameters": [
|
|
4965
|
+
{
|
|
4966
|
+
"name": "coords",
|
|
4967
|
+
"type": {
|
|
4968
|
+
"text": "PositionCoordinates"
|
|
4969
|
+
}
|
|
4970
|
+
}
|
|
4971
|
+
]
|
|
4972
|
+
},
|
|
4973
|
+
{
|
|
4974
|
+
"kind": "field",
|
|
4975
|
+
"name": "_handleTriggerKeydown",
|
|
4976
|
+
"privacy": "private",
|
|
4977
|
+
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
"kind": "field",
|
|
4981
|
+
"name": "_handleMenuKeydown",
|
|
4982
|
+
"privacy": "private"
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
"kind": "field",
|
|
4986
|
+
"name": "_handleWindowResize",
|
|
4987
|
+
"privacy": "private"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "field",
|
|
4991
|
+
"name": "_handleWindowScroll",
|
|
4992
|
+
"privacy": "private"
|
|
4993
|
+
}
|
|
4994
|
+
],
|
|
4995
|
+
"attributes": [
|
|
4996
|
+
{
|
|
4997
|
+
"name": "for",
|
|
4998
|
+
"type": {
|
|
4999
|
+
"text": "string"
|
|
5000
|
+
},
|
|
5001
|
+
"default": "\"\"",
|
|
5002
|
+
"fieldName": "for"
|
|
5003
|
+
},
|
|
5004
|
+
{
|
|
5005
|
+
"name": "showDropdown",
|
|
5006
|
+
"type": {
|
|
5007
|
+
"text": "boolean"
|
|
5008
|
+
},
|
|
5009
|
+
"default": "false",
|
|
5010
|
+
"fieldName": "showDropdown"
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
"name": "position",
|
|
5014
|
+
"type": {
|
|
5015
|
+
"text": "Position | null"
|
|
3792
5016
|
},
|
|
3793
|
-
"default": "
|
|
3794
|
-
"description": "
|
|
3795
|
-
"fieldName": "
|
|
5017
|
+
"default": "null",
|
|
5018
|
+
"description": "Preferred position relative to trigger.",
|
|
5019
|
+
"fieldName": "position"
|
|
3796
5020
|
}
|
|
3797
5021
|
],
|
|
3798
5022
|
"superclass": {
|
|
3799
5023
|
"name": "LitElement",
|
|
3800
5024
|
"package": "lit"
|
|
3801
5025
|
},
|
|
3802
|
-
"tagName": "nys-
|
|
3803
|
-
"customElement": true
|
|
3804
|
-
"summary": "Date picker with calendar popup and native fallback."
|
|
5026
|
+
"tagName": "nys-dropdownmenu",
|
|
5027
|
+
"customElement": true
|
|
3805
5028
|
}
|
|
3806
5029
|
],
|
|
3807
5030
|
"exports": [
|
|
3808
5031
|
{
|
|
3809
5032
|
"kind": "custom-element-definition",
|
|
3810
|
-
"name": "nys-
|
|
3811
|
-
"declaration": {
|
|
3812
|
-
"name": "NysDatepicker",
|
|
3813
|
-
"module": "packages/nys-datepicker/src/nys-datepicker.ts"
|
|
3814
|
-
}
|
|
3815
|
-
},
|
|
3816
|
-
{
|
|
3817
|
-
"kind": "js",
|
|
3818
|
-
"name": "NysDatepicker",
|
|
5033
|
+
"name": "nys-dropdownmenu",
|
|
3819
5034
|
"declaration": {
|
|
3820
|
-
"name": "
|
|
3821
|
-
"module": "packages/nys-
|
|
5035
|
+
"name": "NysDropdownMenu",
|
|
5036
|
+
"module": "packages/nys-dropdownmenu/src/nys-dropdownmenu.ts"
|
|
3822
5037
|
}
|
|
3823
5038
|
},
|
|
3824
|
-
{
|
|
3825
|
-
"kind": "custom-element-definition",
|
|
3826
|
-
"name": "wc-datepicker",
|
|
3827
|
-
"declaration": {
|
|
3828
|
-
"name": "WcDatepicker",
|
|
3829
|
-
"package": "wc-datepicker/dist/components/wc-datepicker"
|
|
3830
|
-
}
|
|
3831
|
-
}
|
|
3832
|
-
]
|
|
3833
|
-
},
|
|
3834
|
-
{
|
|
3835
|
-
"kind": "javascript-module",
|
|
3836
|
-
"path": "packages/nys-divider/src/index.ts",
|
|
3837
|
-
"declarations": [],
|
|
3838
|
-
"exports": [
|
|
3839
5039
|
{
|
|
3840
5040
|
"kind": "js",
|
|
3841
|
-
"name": "
|
|
5041
|
+
"name": "NysDropdownMenu",
|
|
3842
5042
|
"declaration": {
|
|
3843
|
-
"name": "
|
|
3844
|
-
"module": "packages/nys-
|
|
5043
|
+
"name": "NysDropdownMenu",
|
|
5044
|
+
"module": "packages/nys-dropdownmenu/src/nys-dropdownmenu.ts"
|
|
3845
5045
|
}
|
|
3846
5046
|
}
|
|
3847
5047
|
]
|
|
3848
5048
|
},
|
|
3849
5049
|
{
|
|
3850
5050
|
"kind": "javascript-module",
|
|
3851
|
-
"path": "packages/nys-
|
|
5051
|
+
"path": "packages/nys-dropdownmenu/src/nys-dropdownmenuitem.ts",
|
|
3852
5052
|
"declarations": [
|
|
3853
5053
|
{
|
|
3854
5054
|
"kind": "class",
|
|
3855
|
-
"description": "
|
|
3856
|
-
"name": "
|
|
5055
|
+
"description": "**Slotted component.** Displays an individual dropdown item within `nys-dropdown` with label.\n\nThe `nys-dropdownitem` is used as customizable item within the dropdown so users don't have to raw code <ul>, <li>, <a href>\nand have the benefit of default customization.",
|
|
5056
|
+
"name": "NysDropdownMenuItem",
|
|
3857
5057
|
"members": [
|
|
3858
5058
|
{
|
|
3859
5059
|
"kind": "field",
|
|
3860
|
-
"name": "
|
|
5060
|
+
"name": "shadowRootOptions",
|
|
5061
|
+
"type": {
|
|
5062
|
+
"text": "object"
|
|
5063
|
+
},
|
|
5064
|
+
"static": true,
|
|
5065
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5066
|
+
},
|
|
5067
|
+
{
|
|
5068
|
+
"kind": "field",
|
|
5069
|
+
"name": "label",
|
|
5070
|
+
"type": {
|
|
5071
|
+
"text": "string"
|
|
5072
|
+
},
|
|
5073
|
+
"default": "\"\"",
|
|
5074
|
+
"attribute": "label"
|
|
5075
|
+
},
|
|
5076
|
+
{
|
|
5077
|
+
"kind": "field",
|
|
5078
|
+
"name": "href",
|
|
5079
|
+
"type": {
|
|
5080
|
+
"text": "string"
|
|
5081
|
+
},
|
|
5082
|
+
"default": "\"\"",
|
|
5083
|
+
"attribute": "href"
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
"kind": "field",
|
|
5087
|
+
"name": "disabled",
|
|
3861
5088
|
"type": {
|
|
3862
5089
|
"text": "boolean"
|
|
3863
5090
|
},
|
|
3864
5091
|
"default": "false",
|
|
3865
|
-
"
|
|
3866
|
-
"attribute": "inverted",
|
|
5092
|
+
"attribute": "disabled",
|
|
3867
5093
|
"reflects": true
|
|
3868
5094
|
},
|
|
5095
|
+
{
|
|
5096
|
+
"kind": "field",
|
|
5097
|
+
"name": "target",
|
|
5098
|
+
"type": {
|
|
5099
|
+
"text": "string"
|
|
5100
|
+
},
|
|
5101
|
+
"default": "\"_self\"",
|
|
5102
|
+
"attribute": "target"
|
|
5103
|
+
},
|
|
5104
|
+
{
|
|
5105
|
+
"kind": "field",
|
|
5106
|
+
"name": "prefixIcon",
|
|
5107
|
+
"type": {
|
|
5108
|
+
"text": "string"
|
|
5109
|
+
},
|
|
5110
|
+
"default": "\"\"",
|
|
5111
|
+
"attribute": "prefixIcon"
|
|
5112
|
+
},
|
|
5113
|
+
{
|
|
5114
|
+
"kind": "field",
|
|
5115
|
+
"name": "divider",
|
|
5116
|
+
"type": {
|
|
5117
|
+
"text": "string"
|
|
5118
|
+
},
|
|
5119
|
+
"default": "\"\"",
|
|
5120
|
+
"attribute": "divider"
|
|
5121
|
+
},
|
|
3869
5122
|
{
|
|
3870
5123
|
"kind": "method",
|
|
3871
|
-
"name": "
|
|
5124
|
+
"name": "_handleClick",
|
|
3872
5125
|
"privacy": "private",
|
|
3873
|
-
"
|
|
5126
|
+
"parameters": [
|
|
5127
|
+
{
|
|
5128
|
+
"name": "e",
|
|
5129
|
+
"type": {
|
|
5130
|
+
"text": "Event"
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
]
|
|
5134
|
+
}
|
|
5135
|
+
],
|
|
5136
|
+
"events": [
|
|
5137
|
+
{
|
|
5138
|
+
"name": "nys-click",
|
|
5139
|
+
"type": {
|
|
5140
|
+
"text": "CustomEvent"
|
|
5141
|
+
}
|
|
3874
5142
|
}
|
|
3875
5143
|
],
|
|
3876
5144
|
"attributes": [
|
|
3877
5145
|
{
|
|
3878
|
-
"name": "
|
|
5146
|
+
"name": "label",
|
|
5147
|
+
"type": {
|
|
5148
|
+
"text": "string"
|
|
5149
|
+
},
|
|
5150
|
+
"default": "\"\"",
|
|
5151
|
+
"fieldName": "label"
|
|
5152
|
+
},
|
|
5153
|
+
{
|
|
5154
|
+
"name": "href",
|
|
5155
|
+
"type": {
|
|
5156
|
+
"text": "string"
|
|
5157
|
+
},
|
|
5158
|
+
"default": "\"\"",
|
|
5159
|
+
"fieldName": "href"
|
|
5160
|
+
},
|
|
5161
|
+
{
|
|
5162
|
+
"name": "disabled",
|
|
3879
5163
|
"type": {
|
|
3880
5164
|
"text": "boolean"
|
|
3881
5165
|
},
|
|
3882
5166
|
"default": "false",
|
|
3883
|
-
"
|
|
3884
|
-
|
|
5167
|
+
"fieldName": "disabled"
|
|
5168
|
+
},
|
|
5169
|
+
{
|
|
5170
|
+
"name": "target",
|
|
5171
|
+
"type": {
|
|
5172
|
+
"text": "string"
|
|
5173
|
+
},
|
|
5174
|
+
"default": "\"_self\"",
|
|
5175
|
+
"fieldName": "target"
|
|
5176
|
+
},
|
|
5177
|
+
{
|
|
5178
|
+
"name": "prefixIcon",
|
|
5179
|
+
"type": {
|
|
5180
|
+
"text": "string"
|
|
5181
|
+
},
|
|
5182
|
+
"default": "\"\"",
|
|
5183
|
+
"fieldName": "prefixIcon"
|
|
5184
|
+
},
|
|
5185
|
+
{
|
|
5186
|
+
"name": "divider",
|
|
5187
|
+
"type": {
|
|
5188
|
+
"text": "string"
|
|
5189
|
+
},
|
|
5190
|
+
"default": "\"\"",
|
|
5191
|
+
"fieldName": "divider"
|
|
3885
5192
|
}
|
|
3886
5193
|
],
|
|
3887
5194
|
"superclass": {
|
|
3888
5195
|
"name": "LitElement",
|
|
3889
5196
|
"package": "lit"
|
|
3890
5197
|
},
|
|
3891
|
-
"tagName": "nys-
|
|
5198
|
+
"tagName": "nys-dropdownmenuitem",
|
|
3892
5199
|
"customElement": true,
|
|
3893
|
-
"summary": "
|
|
5200
|
+
"summary": "Dropdown item to display label and provide href link."
|
|
3894
5201
|
}
|
|
3895
5202
|
],
|
|
3896
5203
|
"exports": [
|
|
3897
5204
|
{
|
|
3898
5205
|
"kind": "custom-element-definition",
|
|
3899
|
-
"name": "nys-
|
|
5206
|
+
"name": "nys-dropdownmenuitem",
|
|
3900
5207
|
"declaration": {
|
|
3901
|
-
"name": "
|
|
3902
|
-
"module": "packages/nys-
|
|
5208
|
+
"name": "NysDropdownMenuItem",
|
|
5209
|
+
"module": "packages/nys-dropdownmenu/src/nys-dropdownmenuitem.ts"
|
|
3903
5210
|
}
|
|
3904
5211
|
},
|
|
3905
5212
|
{
|
|
3906
5213
|
"kind": "js",
|
|
3907
|
-
"name": "
|
|
5214
|
+
"name": "NysDropdownMenuItem",
|
|
3908
5215
|
"declaration": {
|
|
3909
|
-
"name": "
|
|
3910
|
-
"module": "packages/nys-
|
|
5216
|
+
"name": "NysDropdownMenuItem",
|
|
5217
|
+
"module": "packages/nys-dropdownmenu/src/nys-dropdownmenuitem.ts"
|
|
3911
5218
|
}
|
|
3912
5219
|
}
|
|
3913
5220
|
]
|
|
@@ -4073,6 +5380,15 @@
|
|
|
4073
5380
|
}
|
|
4074
5381
|
],
|
|
4075
5382
|
"members": [
|
|
5383
|
+
{
|
|
5384
|
+
"kind": "field",
|
|
5385
|
+
"name": "shadowRootOptions",
|
|
5386
|
+
"type": {
|
|
5387
|
+
"text": "object"
|
|
5388
|
+
},
|
|
5389
|
+
"static": true,
|
|
5390
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
5391
|
+
},
|
|
4076
5392
|
{
|
|
4077
5393
|
"kind": "field",
|
|
4078
5394
|
"name": "id",
|
|
@@ -4677,6 +5993,15 @@
|
|
|
4677
5993
|
"description": "**Internal component.** Displays an individual file within `nys-fileinput` with status and progress.\n\nRendered automatically by `nys-fileinput` for each selected file. Shows filename, upload status\n(pending/processing/done/error), progress bar during upload, and error messages. Remove button emits event.",
|
|
4678
5994
|
"name": "NysFileItem",
|
|
4679
5995
|
"members": [
|
|
5996
|
+
{
|
|
5997
|
+
"kind": "field",
|
|
5998
|
+
"name": "shadowRootOptions",
|
|
5999
|
+
"type": {
|
|
6000
|
+
"text": "object"
|
|
6001
|
+
},
|
|
6002
|
+
"static": true,
|
|
6003
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
6004
|
+
},
|
|
4680
6005
|
{
|
|
4681
6006
|
"kind": "field",
|
|
4682
6007
|
"name": "filename",
|
|
@@ -6084,6 +7409,15 @@
|
|
|
6084
7409
|
}
|
|
6085
7410
|
],
|
|
6086
7411
|
"members": [
|
|
7412
|
+
{
|
|
7413
|
+
"kind": "field",
|
|
7414
|
+
"name": "shadowRootOptions",
|
|
7415
|
+
"type": {
|
|
7416
|
+
"text": "object"
|
|
7417
|
+
},
|
|
7418
|
+
"static": true,
|
|
7419
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
7420
|
+
},
|
|
6087
7421
|
{
|
|
6088
7422
|
"kind": "field",
|
|
6089
7423
|
"name": "checked",
|
|
@@ -6287,6 +7621,11 @@
|
|
|
6287
7621
|
"privacy": "private",
|
|
6288
7622
|
"description": "Event Handlers\n--------------------------------------------------------------------------"
|
|
6289
7623
|
},
|
|
7624
|
+
{
|
|
7625
|
+
"kind": "method",
|
|
7626
|
+
"name": "_emitOtherInputEvent",
|
|
7627
|
+
"privacy": "private"
|
|
7628
|
+
},
|
|
6290
7629
|
{
|
|
6291
7630
|
"kind": "method",
|
|
6292
7631
|
"name": "_handleChange",
|
|
@@ -6295,15 +7634,7 @@
|
|
|
6295
7634
|
{
|
|
6296
7635
|
"kind": "method",
|
|
6297
7636
|
"name": "_handleFocus",
|
|
6298
|
-
"privacy": "private"
|
|
6299
|
-
"parameters": [
|
|
6300
|
-
{
|
|
6301
|
-
"name": "event",
|
|
6302
|
-
"type": {
|
|
6303
|
-
"text": "FocusEvent"
|
|
6304
|
-
}
|
|
6305
|
-
}
|
|
6306
|
-
]
|
|
7637
|
+
"privacy": "private"
|
|
6307
7638
|
},
|
|
6308
7639
|
{
|
|
6309
7640
|
"kind": "method",
|
|
@@ -6366,6 +7697,13 @@
|
|
|
6366
7697
|
},
|
|
6367
7698
|
"description": "Fired when selection changes. Detail: `{id, checked, name, value}`."
|
|
6368
7699
|
},
|
|
7700
|
+
{
|
|
7701
|
+
"name": "nys-other-input",
|
|
7702
|
+
"type": {
|
|
7703
|
+
"text": "CustomEvent"
|
|
7704
|
+
},
|
|
7705
|
+
"description": "Fired when \"other\" text input value changes. Detail: `{id, name, value}`."
|
|
7706
|
+
},
|
|
6369
7707
|
{
|
|
6370
7708
|
"name": "nys-focus",
|
|
6371
7709
|
"type": {
|
|
@@ -6560,6 +7898,15 @@
|
|
|
6560
7898
|
}
|
|
6561
7899
|
],
|
|
6562
7900
|
"members": [
|
|
7901
|
+
{
|
|
7902
|
+
"kind": "field",
|
|
7903
|
+
"name": "shadowRootOptions",
|
|
7904
|
+
"type": {
|
|
7905
|
+
"text": "object"
|
|
7906
|
+
},
|
|
7907
|
+
"static": true,
|
|
7908
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
7909
|
+
},
|
|
6563
7910
|
{
|
|
6564
7911
|
"kind": "field",
|
|
6565
7912
|
"name": "id",
|
|
@@ -7198,6 +8545,15 @@
|
|
|
7198
8545
|
}
|
|
7199
8546
|
],
|
|
7200
8547
|
"members": [
|
|
8548
|
+
{
|
|
8549
|
+
"kind": "field",
|
|
8550
|
+
"name": "shadowRootOptions",
|
|
8551
|
+
"type": {
|
|
8552
|
+
"text": "object"
|
|
8553
|
+
},
|
|
8554
|
+
"static": true,
|
|
8555
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
8556
|
+
},
|
|
7201
8557
|
{
|
|
7202
8558
|
"kind": "field",
|
|
7203
8559
|
"name": "id",
|
|
@@ -8511,6 +9867,15 @@
|
|
|
8511
9867
|
}
|
|
8512
9868
|
],
|
|
8513
9869
|
"members": [
|
|
9870
|
+
{
|
|
9871
|
+
"kind": "field",
|
|
9872
|
+
"name": "shadowRootOptions",
|
|
9873
|
+
"type": {
|
|
9874
|
+
"text": "object"
|
|
9875
|
+
},
|
|
9876
|
+
"static": true,
|
|
9877
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
9878
|
+
},
|
|
8514
9879
|
{
|
|
8515
9880
|
"kind": "field",
|
|
8516
9881
|
"name": "id",
|
|
@@ -9123,6 +10488,15 @@
|
|
|
9123
10488
|
}
|
|
9124
10489
|
],
|
|
9125
10490
|
"members": [
|
|
10491
|
+
{
|
|
10492
|
+
"kind": "field",
|
|
10493
|
+
"name": "shadowRootOptions",
|
|
10494
|
+
"type": {
|
|
10495
|
+
"text": "object"
|
|
10496
|
+
},
|
|
10497
|
+
"static": true,
|
|
10498
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
10499
|
+
},
|
|
9126
10500
|
{
|
|
9127
10501
|
"kind": "field",
|
|
9128
10502
|
"name": "id",
|
|
@@ -9418,11 +10792,6 @@
|
|
|
9418
10792
|
"default": "true",
|
|
9419
10793
|
"description": "Lifecycle methods\n--------------------------------------------------------------------------"
|
|
9420
10794
|
},
|
|
9421
|
-
{
|
|
9422
|
-
"kind": "method",
|
|
9423
|
-
"name": "focus",
|
|
9424
|
-
"privacy": "public"
|
|
9425
|
-
},
|
|
9426
10795
|
{
|
|
9427
10796
|
"kind": "method",
|
|
9428
10797
|
"name": "_setValue",
|
|
@@ -9857,6 +11226,15 @@
|
|
|
9857
11226
|
}
|
|
9858
11227
|
],
|
|
9859
11228
|
"members": [
|
|
11229
|
+
{
|
|
11230
|
+
"kind": "field",
|
|
11231
|
+
"name": "shadowRootOptions",
|
|
11232
|
+
"type": {
|
|
11233
|
+
"text": "object"
|
|
11234
|
+
},
|
|
11235
|
+
"static": true,
|
|
11236
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
11237
|
+
},
|
|
9860
11238
|
{
|
|
9861
11239
|
"kind": "field",
|
|
9862
11240
|
"name": "id",
|
|
@@ -10015,7 +11393,12 @@
|
|
|
10015
11393
|
},
|
|
10016
11394
|
{
|
|
10017
11395
|
"kind": "method",
|
|
10018
|
-
"name": "
|
|
11396
|
+
"name": "_handleClick",
|
|
11397
|
+
"privacy": "private"
|
|
11398
|
+
},
|
|
11399
|
+
{
|
|
11400
|
+
"kind": "method",
|
|
11401
|
+
"name": "_handleSliderClick",
|
|
10019
11402
|
"privacy": "private",
|
|
10020
11403
|
"parameters": [
|
|
10021
11404
|
{
|
|
@@ -10666,7 +12049,7 @@
|
|
|
10666
12049
|
"declarations": [
|
|
10667
12050
|
{
|
|
10668
12051
|
"kind": "class",
|
|
10669
|
-
"description": "
|
|
12052
|
+
"description": "",
|
|
10670
12053
|
"name": "NysUnavHeader",
|
|
10671
12054
|
"members": [
|
|
10672
12055
|
{
|
|
@@ -10736,16 +12119,17 @@
|
|
|
10736
12119
|
"text": "string"
|
|
10737
12120
|
},
|
|
10738
12121
|
"default": "\"\"",
|
|
12122
|
+
"description": "The URL endpoint of the search, make sure to include the query param.",
|
|
10739
12123
|
"attribute": "searchUrl"
|
|
10740
12124
|
},
|
|
10741
12125
|
{
|
|
10742
12126
|
"kind": "field",
|
|
10743
12127
|
"name": "languages",
|
|
10744
12128
|
"type": {
|
|
10745
|
-
"text": "[
|
|
12129
|
+
"text": "Language[]"
|
|
10746
12130
|
},
|
|
10747
|
-
"
|
|
10748
|
-
"
|
|
12131
|
+
"default": "[ { code: \"en\", label: \"English\" }, { code: \"es\", label: \"Español\" }, { code: \"zh\", label: \"中文\" }, { code: \"zh-traditional\", label: \"繁體中文\" }, { code: \"yi\", label: \"יידיש\" }, { code: \"ru\", label: \"Русский\" }, { code: \"bn\", label: \"বাংলা\" }, { code: \"ko\", label: \"한국어\" }, { code: \"ht\", label: \"Kreyòl Ayisyen\" }, { code: \"it\", label: \"Italiano\" }, { code: \"ar\", label: \"العربية\" }, { code: \"pl\", label: \"Polski\" }, { code: \"fr\", label: \"Français\" }, { code: \"ur\", label: \"اردو\" }, ]",
|
|
12132
|
+
"description": "The list of languages this site can be translated to, default to use Smartling",
|
|
10749
12133
|
"attribute": "languages"
|
|
10750
12134
|
},
|
|
10751
12135
|
{
|
|
@@ -10778,6 +12162,19 @@
|
|
|
10778
12162
|
"name": "_toggleSearchDropdown",
|
|
10779
12163
|
"privacy": "private"
|
|
10780
12164
|
},
|
|
12165
|
+
{
|
|
12166
|
+
"kind": "method",
|
|
12167
|
+
"name": "_handleLanguageSelect",
|
|
12168
|
+
"privacy": "private",
|
|
12169
|
+
"parameters": [
|
|
12170
|
+
{
|
|
12171
|
+
"name": "language",
|
|
12172
|
+
"type": {
|
|
12173
|
+
"text": "Language"
|
|
12174
|
+
}
|
|
12175
|
+
}
|
|
12176
|
+
]
|
|
12177
|
+
},
|
|
10781
12178
|
{
|
|
10782
12179
|
"kind": "method",
|
|
10783
12180
|
"name": "_handleSearchFocus",
|
|
@@ -10889,14 +12286,16 @@
|
|
|
10889
12286
|
"text": "string"
|
|
10890
12287
|
},
|
|
10891
12288
|
"default": "\"\"",
|
|
12289
|
+
"description": "The URL endpoint of the search, make sure to include the query param.",
|
|
10892
12290
|
"fieldName": "searchUrl"
|
|
10893
12291
|
},
|
|
10894
12292
|
{
|
|
10895
12293
|
"name": "languages",
|
|
10896
12294
|
"type": {
|
|
10897
|
-
"text": "[
|
|
12295
|
+
"text": "Language[]"
|
|
10898
12296
|
},
|
|
10899
|
-
"default": "[
|
|
12297
|
+
"default": "[ { code: \"en\", label: \"English\" }, { code: \"es\", label: \"Español\" }, { code: \"zh\", label: \"中文\" }, { code: \"zh-traditional\", label: \"繁體中文\" }, { code: \"yi\", label: \"יידיש\" }, { code: \"ru\", label: \"Русский\" }, { code: \"bn\", label: \"বাংলা\" }, { code: \"ko\", label: \"한국어\" }, { code: \"ht\", label: \"Kreyòl Ayisyen\" }, { code: \"it\", label: \"Italiano\" }, { code: \"ar\", label: \"العربية\" }, { code: \"pl\", label: \"Polski\" }, { code: \"fr\", label: \"Français\" }, { code: \"ur\", label: \"اردو\" }, ]",
|
|
12298
|
+
"description": "The list of languages this site can be translated to, default to use Smartling",
|
|
10900
12299
|
"fieldName": "languages"
|
|
10901
12300
|
}
|
|
10902
12301
|
],
|
|
@@ -10905,8 +12304,7 @@
|
|
|
10905
12304
|
"package": "lit"
|
|
10906
12305
|
},
|
|
10907
12306
|
"tagName": "nys-unavheader",
|
|
10908
|
-
"customElement": true
|
|
10909
|
-
"summary": "Universal NYS header with trust bar, search, and translation. Required site-wide."
|
|
12307
|
+
"customElement": true
|
|
10910
12308
|
}
|
|
10911
12309
|
],
|
|
10912
12310
|
"exports": [
|