@nysds/components 1.13.1 → 1.14.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.
@@ -33,6 +33,20 @@
33
33
  "kind": "class",
34
34
  "description": "A container for grouping `nys-accordionitem` components with coordinated expand/collapse behavior.\n\nPlace `nys-accordionitem` elements as children. Set `singleSelect` to allow only one item open at a time.\nThe `bordered` style propagates to all children automatically.",
35
35
  "name": "NysAccordion",
36
+ "cssProperties": [
37
+ {
38
+ "description": "Background color of the accordion header.",
39
+ "name": "--nys-accordion-background-color--header"
40
+ },
41
+ {
42
+ "description": "Background hover color of the accordion header.",
43
+ "name": "--nys-accordion-background-color--header--hover"
44
+ },
45
+ {
46
+ "description": "Maximum readable width of accordion content. Defaults to a character-based width (80ch) for readability.",
47
+ "name": "--nys-accordion-content-max-width"
48
+ }
49
+ ],
36
50
  "slots": [
37
51
  {
38
52
  "description": "Default slot for `nys-accordionitem` elements.",
@@ -2194,6 +2208,39 @@
2194
2208
  "attribute": "size",
2195
2209
  "reflects": true
2196
2210
  },
2211
+ {
2212
+ "kind": "field",
2213
+ "name": "other",
2214
+ "type": {
2215
+ "text": "boolean"
2216
+ },
2217
+ "default": "false",
2218
+ "attribute": "other",
2219
+ "reflects": true
2220
+ },
2221
+ {
2222
+ "kind": "field",
2223
+ "name": "showOtherError",
2224
+ "type": {
2225
+ "text": "boolean"
2226
+ },
2227
+ "default": "false",
2228
+ "attribute": "showOtherError"
2229
+ },
2230
+ {
2231
+ "kind": "field",
2232
+ "name": "isMobile",
2233
+ "privacy": "private"
2234
+ },
2235
+ {
2236
+ "kind": "field",
2237
+ "name": "_hasUserInteracted",
2238
+ "type": {
2239
+ "text": "boolean"
2240
+ },
2241
+ "privacy": "private",
2242
+ "default": "false"
2243
+ },
2197
2244
  {
2198
2245
  "kind": "method",
2199
2246
  "name": "getInputElement",
@@ -2285,6 +2332,16 @@
2285
2332
  "name": "_manageLabelClick",
2286
2333
  "privacy": "private"
2287
2334
  },
2335
+ {
2336
+ "kind": "field",
2337
+ "name": "_hasDescription",
2338
+ "readonly": true
2339
+ },
2340
+ {
2341
+ "kind": "field",
2342
+ "name": "_handleResize",
2343
+ "privacy": "private"
2344
+ },
2288
2345
  {
2289
2346
  "kind": "method",
2290
2347
  "name": "_emitChangeEvent",
@@ -2314,6 +2371,11 @@
2314
2371
  "name": "_handleBlur",
2315
2372
  "privacy": "private"
2316
2373
  },
2374
+ {
2375
+ "kind": "method",
2376
+ "name": "_handleTextInputBlur",
2377
+ "privacy": "private"
2378
+ },
2317
2379
  {
2318
2380
  "kind": "method",
2319
2381
  "name": "_handleKeydown",
@@ -2326,6 +2388,29 @@
2326
2388
  }
2327
2389
  }
2328
2390
  ]
2391
+ },
2392
+ {
2393
+ "kind": "method",
2394
+ "name": "_handleTextInput",
2395
+ "privacy": "private",
2396
+ "parameters": [
2397
+ {
2398
+ "name": "event",
2399
+ "type": {
2400
+ "text": "Event"
2401
+ }
2402
+ }
2403
+ ]
2404
+ },
2405
+ {
2406
+ "kind": "method",
2407
+ "name": "_validateOtherAndEmitError",
2408
+ "privacy": "private"
2409
+ },
2410
+ {
2411
+ "kind": "method",
2412
+ "name": "_dispatchClearError",
2413
+ "privacy": "private"
2329
2414
  }
2330
2415
  ],
2331
2416
  "events": [
@@ -2349,6 +2434,18 @@
2349
2434
  "text": "Event"
2350
2435
  },
2351
2436
  "description": "Fired when checkbox loses focus."
2437
+ },
2438
+ {
2439
+ "name": "nys-error",
2440
+ "type": {
2441
+ "text": "CustomEvent"
2442
+ }
2443
+ },
2444
+ {
2445
+ "name": "nys-error-clear",
2446
+ "type": {
2447
+ "text": "CustomEvent"
2448
+ }
2352
2449
  }
2353
2450
  ],
2354
2451
  "attributes": [
@@ -2495,6 +2592,22 @@
2495
2592
  "default": "\"md\"",
2496
2593
  "description": "Checkbox size: `sm` (24px) or `md` (32px, default).",
2497
2594
  "fieldName": "size"
2595
+ },
2596
+ {
2597
+ "name": "other",
2598
+ "type": {
2599
+ "text": "boolean"
2600
+ },
2601
+ "default": "false",
2602
+ "fieldName": "other"
2603
+ },
2604
+ {
2605
+ "name": "showOtherError",
2606
+ "type": {
2607
+ "text": "boolean"
2608
+ },
2609
+ "default": "false",
2610
+ "fieldName": "showOtherError"
2498
2611
  }
2499
2612
  ],
2500
2613
  "superclass": {
@@ -2692,6 +2805,24 @@
2692
2805
  "privacy": "private",
2693
2806
  "default": "\"\""
2694
2807
  },
2808
+ {
2809
+ "kind": "field",
2810
+ "name": "_hasOtherError",
2811
+ "type": {
2812
+ "text": "boolean"
2813
+ },
2814
+ "privacy": "private",
2815
+ "default": "false"
2816
+ },
2817
+ {
2818
+ "kind": "field",
2819
+ "name": "_otherErrorCheckbox",
2820
+ "type": {
2821
+ "text": "NysCheckbox | null"
2822
+ },
2823
+ "privacy": "private",
2824
+ "default": "null"
2825
+ },
2695
2826
  {
2696
2827
  "kind": "field",
2697
2828
  "name": "_internals",
@@ -2712,10 +2843,15 @@
2712
2843
  },
2713
2844
  {
2714
2845
  "kind": "method",
2715
- "name": "_setGroupExist",
2846
+ "name": "_hasAtLeastOneChecked",
2716
2847
  "privacy": "private",
2717
2848
  "description": "Functions\n--------------------------------------------------------------------------"
2718
2849
  },
2850
+ {
2851
+ "kind": "method",
2852
+ "name": "_setGroupExist",
2853
+ "privacy": "private"
2854
+ },
2719
2855
  {
2720
2856
  "kind": "method",
2721
2857
  "name": "_setupCheckboxRequired",
@@ -2726,6 +2862,11 @@
2726
2862
  "name": "_manageRequire",
2727
2863
  "privacy": "private"
2728
2864
  },
2865
+ {
2866
+ "kind": "method",
2867
+ "name": "_setCustomOtherError",
2868
+ "privacy": "private"
2869
+ },
2729
2870
  {
2730
2871
  "kind": "method",
2731
2872
  "name": "_updateCheckboxSize",
@@ -2787,6 +2928,45 @@
2787
2928
  }
2788
2929
  ],
2789
2930
  "description": "Event Handlers\n--------------------------------------------------------------------------"
2931
+ },
2932
+ {
2933
+ "kind": "method",
2934
+ "name": "_handleChildError",
2935
+ "privacy": "private",
2936
+ "parameters": [
2937
+ {
2938
+ "name": "event",
2939
+ "type": {
2940
+ "text": "Event"
2941
+ }
2942
+ }
2943
+ ]
2944
+ },
2945
+ {
2946
+ "kind": "method",
2947
+ "name": "_handleChildErrorClear",
2948
+ "privacy": "private",
2949
+ "parameters": [
2950
+ {
2951
+ "name": "event",
2952
+ "type": {
2953
+ "text": "Event"
2954
+ }
2955
+ }
2956
+ ]
2957
+ },
2958
+ {
2959
+ "kind": "method",
2960
+ "name": "_checkOtherInputs",
2961
+ "privacy": "private",
2962
+ "parameters": [
2963
+ {
2964
+ "name": "checkboxes",
2965
+ "type": {
2966
+ "text": "NysCheckbox[]"
2967
+ }
2968
+ }
2969
+ ]
2790
2970
  }
2791
2971
  ],
2792
2972
  "attributes": [
@@ -2957,7 +3137,7 @@
2957
3137
  "declarations": [
2958
3138
  {
2959
3139
  "kind": "class",
2960
- "description": "`<nys-datepicker>` is a form-associated, accessible date picker component.\nOptionally wraps a `<wc-datepicker>` for custom calendar UI.\n\nEvents:",
3140
+ "description": "Date picker with calendar popup and form validation. Falls back to native date input\non Safari and mobile.",
2961
3141
  "name": "NysDatepicker",
2962
3142
  "members": [
2963
3143
  {
@@ -2967,6 +3147,7 @@
2967
3147
  "text": "string"
2968
3148
  },
2969
3149
  "default": "\"\"",
3150
+ "description": "Unique identifier. Auto-generated if not provided.",
2970
3151
  "attribute": "id",
2971
3152
  "reflects": true
2972
3153
  },
@@ -2977,6 +3158,7 @@
2977
3158
  "text": "string"
2978
3159
  },
2979
3160
  "default": "\"\"",
3161
+ "description": "Name for form submission.",
2980
3162
  "attribute": "name",
2981
3163
  "reflects": true
2982
3164
  },
@@ -2987,6 +3169,7 @@
2987
3169
  "text": "\"md\" | \"lg\" | \"full\""
2988
3170
  },
2989
3171
  "default": "\"md\"",
3172
+ "description": "Input width: `md` (200px), `lg` (384px), `full` (100%).",
2990
3173
  "attribute": "width",
2991
3174
  "reflects": true
2992
3175
  },
@@ -2997,6 +3180,7 @@
2997
3180
  "text": "boolean"
2998
3181
  },
2999
3182
  "default": "false",
3183
+ "description": "Hide the \"Today\" button in calendar popup.",
3000
3184
  "attribute": "hideTodayButton"
3001
3185
  },
3002
3186
  {
@@ -3006,6 +3190,7 @@
3006
3190
  "text": "boolean"
3007
3191
  },
3008
3192
  "default": "false",
3193
+ "description": "Hide the \"Clear\" button in calendar popup.",
3009
3194
  "attribute": "hideClearButton"
3010
3195
  },
3011
3196
  {
@@ -3015,6 +3200,7 @@
3015
3200
  "text": "boolean"
3016
3201
  },
3017
3202
  "default": "false",
3203
+ "description": "Disable interaction.",
3018
3204
  "attribute": "disabled",
3019
3205
  "reflects": true
3020
3206
  },
@@ -3025,6 +3211,7 @@
3025
3211
  "text": "boolean"
3026
3212
  },
3027
3213
  "default": "false",
3214
+ "description": "Mark as required. Shows \"Required\" flag and validates on blur.",
3028
3215
  "attribute": "required",
3029
3216
  "reflects": true
3030
3217
  },
@@ -3035,6 +3222,7 @@
3035
3222
  "text": "boolean"
3036
3223
  },
3037
3224
  "default": "false",
3225
+ "description": "Show \"Optional\" flag. Use when most fields are required.",
3038
3226
  "attribute": "optional",
3039
3227
  "reflects": true
3040
3228
  },
@@ -3045,6 +3233,7 @@
3045
3233
  "text": "boolean"
3046
3234
  },
3047
3235
  "default": "false",
3236
+ "description": "Show error state.",
3048
3237
  "attribute": "showError",
3049
3238
  "reflects": true
3050
3239
  },
@@ -3055,6 +3244,7 @@
3055
3244
  "text": "string"
3056
3245
  },
3057
3246
  "default": "\"\"",
3247
+ "description": "Error message text.",
3058
3248
  "attribute": "errorMessage"
3059
3249
  },
3060
3250
  {
@@ -3064,6 +3254,7 @@
3064
3254
  "text": "string | null"
3065
3255
  },
3066
3256
  "default": "null",
3257
+ "description": "Form `id` to associate with when input is outside form.",
3067
3258
  "attribute": "form",
3068
3259
  "reflects": true
3069
3260
  },
@@ -3074,6 +3265,7 @@
3074
3265
  "text": "string"
3075
3266
  },
3076
3267
  "default": "\"\"",
3268
+ "description": "Tooltip text on info icon hover.",
3077
3269
  "attribute": "tooltip"
3078
3270
  },
3079
3271
  {
@@ -3083,6 +3275,7 @@
3083
3275
  "text": "string"
3084
3276
  },
3085
3277
  "default": "\"date\"",
3278
+ "description": "Input type. Currently only supports `date`.",
3086
3279
  "attribute": "type"
3087
3280
  },
3088
3281
  {
@@ -3092,6 +3285,7 @@
3092
3285
  "text": "string"
3093
3286
  },
3094
3287
  "default": "\"\"",
3288
+ "description": "Label text. Required for accessibility.",
3095
3289
  "attribute": "label"
3096
3290
  },
3097
3291
  {
@@ -3101,6 +3295,7 @@
3101
3295
  "text": "string"
3102
3296
  },
3103
3297
  "default": "\"\"",
3298
+ "description": "Helper text below label.",
3104
3299
  "attribute": "description"
3105
3300
  },
3106
3301
  {
@@ -3110,6 +3305,7 @@
3110
3305
  "text": "string"
3111
3306
  },
3112
3307
  "default": "\"\"",
3308
+ "description": "Initial date when calendar opens (YYYY-MM-DD).",
3113
3309
  "attribute": "startDate"
3114
3310
  },
3115
3311
  {
@@ -3119,6 +3315,7 @@
3119
3315
  "text": "boolean"
3120
3316
  },
3121
3317
  "default": "false",
3318
+ "description": "Dark background mode.",
3122
3319
  "attribute": "inverted",
3123
3320
  "reflects": true
3124
3321
  },
@@ -3129,8 +3326,18 @@
3129
3326
  "text": "string | Date | undefined"
3130
3327
  },
3131
3328
  "default": "undefined",
3329
+ "description": "Selected date. Accepts Date object or ISO string (YYYY-MM-DD).",
3132
3330
  "attribute": "value"
3133
3331
  },
3332
+ {
3333
+ "kind": "field",
3334
+ "name": "datepickerIsOpen",
3335
+ "type": {
3336
+ "text": "boolean"
3337
+ },
3338
+ "privacy": "private",
3339
+ "default": "false"
3340
+ },
3134
3341
  {
3135
3342
  "kind": "field",
3136
3343
  "name": "_hasUserInteracted",
@@ -3254,6 +3461,22 @@
3254
3461
  }
3255
3462
  ]
3256
3463
  },
3464
+ {
3465
+ "kind": "method",
3466
+ "name": "_setTodayDate",
3467
+ "privacy": "private"
3468
+ },
3469
+ {
3470
+ "kind": "method",
3471
+ "name": "_setFocusOnTodayDate",
3472
+ "privacy": "private",
3473
+ "parameters": [
3474
+ {
3475
+ "name": "visualFocusOnly",
3476
+ "default": "false"
3477
+ }
3478
+ ]
3479
+ },
3257
3480
  {
3258
3481
  "kind": "method",
3259
3482
  "name": "_handleInputKeydown",
@@ -3286,6 +3509,11 @@
3286
3509
  "name": "_onDocumentClick",
3287
3510
  "privacy": "private"
3288
3511
  },
3512
+ {
3513
+ "kind": "field",
3514
+ "name": "_onKeydownEsc",
3515
+ "privacy": "private"
3516
+ },
3289
3517
  {
3290
3518
  "kind": "method",
3291
3519
  "name": "_toggleDatepicker",
@@ -3342,6 +3570,19 @@
3342
3570
  }
3343
3571
  ]
3344
3572
  },
3573
+ {
3574
+ "kind": "method",
3575
+ "name": "_handleFocusTrap",
3576
+ "privacy": "private",
3577
+ "parameters": [
3578
+ {
3579
+ "name": "event",
3580
+ "type": {
3581
+ "text": "KeyboardEvent"
3582
+ }
3583
+ }
3584
+ ]
3585
+ },
3345
3586
  {
3346
3587
  "kind": "method",
3347
3588
  "name": "_isSafari",
@@ -3380,14 +3621,14 @@
3380
3621
  "type": {
3381
3622
  "text": "Event"
3382
3623
  },
3383
- "description": "Dispatched when input or calendar loses focus"
3624
+ "description": "Fired when input or calendar loses focus. Triggers validation."
3384
3625
  },
3385
3626
  {
3386
3627
  "name": "nys-input",
3387
3628
  "type": {
3388
3629
  "text": "CustomEvent"
3389
3630
  },
3390
- "description": "Dispatched when user selects or types a valid date Notes: - Uses native date input on Safari or mobile devices (custom calendar removed for these scenarios)"
3631
+ "description": "Fired on date selection. Detail: `{id, value}`."
3391
3632
  }
3392
3633
  ],
3393
3634
  "attributes": [
@@ -3397,6 +3638,7 @@
3397
3638
  "text": "string"
3398
3639
  },
3399
3640
  "default": "\"\"",
3641
+ "description": "Unique identifier. Auto-generated if not provided.",
3400
3642
  "fieldName": "id"
3401
3643
  },
3402
3644
  {
@@ -3405,6 +3647,7 @@
3405
3647
  "text": "string"
3406
3648
  },
3407
3649
  "default": "\"\"",
3650
+ "description": "Name for form submission.",
3408
3651
  "fieldName": "name"
3409
3652
  },
3410
3653
  {
@@ -3413,6 +3656,7 @@
3413
3656
  "text": "\"md\" | \"lg\" | \"full\""
3414
3657
  },
3415
3658
  "default": "\"md\"",
3659
+ "description": "Input width: `md` (200px), `lg` (384px), `full` (100%).",
3416
3660
  "fieldName": "width"
3417
3661
  },
3418
3662
  {
@@ -3421,6 +3665,7 @@
3421
3665
  "text": "boolean"
3422
3666
  },
3423
3667
  "default": "false",
3668
+ "description": "Hide the \"Today\" button in calendar popup.",
3424
3669
  "fieldName": "hideTodayButton"
3425
3670
  },
3426
3671
  {
@@ -3429,6 +3674,7 @@
3429
3674
  "text": "boolean"
3430
3675
  },
3431
3676
  "default": "false",
3677
+ "description": "Hide the \"Clear\" button in calendar popup.",
3432
3678
  "fieldName": "hideClearButton"
3433
3679
  },
3434
3680
  {
@@ -3437,6 +3683,7 @@
3437
3683
  "text": "boolean"
3438
3684
  },
3439
3685
  "default": "false",
3686
+ "description": "Disable interaction.",
3440
3687
  "fieldName": "disabled"
3441
3688
  },
3442
3689
  {
@@ -3445,6 +3692,7 @@
3445
3692
  "text": "boolean"
3446
3693
  },
3447
3694
  "default": "false",
3695
+ "description": "Mark as required. Shows \"Required\" flag and validates on blur.",
3448
3696
  "fieldName": "required"
3449
3697
  },
3450
3698
  {
@@ -3453,6 +3701,7 @@
3453
3701
  "text": "boolean"
3454
3702
  },
3455
3703
  "default": "false",
3704
+ "description": "Show \"Optional\" flag. Use when most fields are required.",
3456
3705
  "fieldName": "optional"
3457
3706
  },
3458
3707
  {
@@ -3461,6 +3710,7 @@
3461
3710
  "text": "boolean"
3462
3711
  },
3463
3712
  "default": "false",
3713
+ "description": "Show error state.",
3464
3714
  "fieldName": "showError"
3465
3715
  },
3466
3716
  {
@@ -3469,6 +3719,7 @@
3469
3719
  "text": "string"
3470
3720
  },
3471
3721
  "default": "\"\"",
3722
+ "description": "Error message text.",
3472
3723
  "fieldName": "errorMessage"
3473
3724
  },
3474
3725
  {
@@ -3477,6 +3728,7 @@
3477
3728
  "text": "string | null"
3478
3729
  },
3479
3730
  "default": "null",
3731
+ "description": "Form `id` to associate with when input is outside form.",
3480
3732
  "fieldName": "form"
3481
3733
  },
3482
3734
  {
@@ -3485,6 +3737,7 @@
3485
3737
  "text": "string"
3486
3738
  },
3487
3739
  "default": "\"\"",
3740
+ "description": "Tooltip text on info icon hover.",
3488
3741
  "fieldName": "tooltip"
3489
3742
  },
3490
3743
  {
@@ -3493,6 +3746,7 @@
3493
3746
  "text": "string"
3494
3747
  },
3495
3748
  "default": "\"date\"",
3749
+ "description": "Input type. Currently only supports `date`.",
3496
3750
  "fieldName": "type"
3497
3751
  },
3498
3752
  {
@@ -3501,6 +3755,7 @@
3501
3755
  "text": "string"
3502
3756
  },
3503
3757
  "default": "\"\"",
3758
+ "description": "Label text. Required for accessibility.",
3504
3759
  "fieldName": "label"
3505
3760
  },
3506
3761
  {
@@ -3509,6 +3764,7 @@
3509
3764
  "text": "string"
3510
3765
  },
3511
3766
  "default": "\"\"",
3767
+ "description": "Helper text below label.",
3512
3768
  "fieldName": "description"
3513
3769
  },
3514
3770
  {
@@ -3517,6 +3773,7 @@
3517
3773
  "text": "string"
3518
3774
  },
3519
3775
  "default": "\"\"",
3776
+ "description": "Initial date when calendar opens (YYYY-MM-DD).",
3520
3777
  "fieldName": "startDate"
3521
3778
  },
3522
3779
  {
@@ -3525,6 +3782,7 @@
3525
3782
  "text": "boolean"
3526
3783
  },
3527
3784
  "default": "false",
3785
+ "description": "Dark background mode.",
3528
3786
  "fieldName": "inverted"
3529
3787
  },
3530
3788
  {
@@ -3533,6 +3791,7 @@
3533
3791
  "text": "string | Date | undefined"
3534
3792
  },
3535
3793
  "default": "undefined",
3794
+ "description": "Selected date. Accepts Date object or ISO string (YYYY-MM-DD).",
3536
3795
  "fieldName": "value"
3537
3796
  }
3538
3797
  ],
@@ -3541,7 +3800,8 @@
3541
3800
  "package": "lit"
3542
3801
  },
3543
3802
  "tagName": "nys-datepicker",
3544
- "customElement": true
3803
+ "customElement": true,
3804
+ "summary": "Date picker with calendar popup and native fallback."
3545
3805
  }
3546
3806
  ],
3547
3807
  "exports": [
@@ -5163,6 +5423,20 @@
5163
5423
  },
5164
5424
  "privacy": "private",
5165
5425
  "default": "\"\""
5426
+ },
5427
+ {
5428
+ "kind": "method",
5429
+ "name": "_handleLabelClick",
5430
+ "privacy": "private",
5431
+ "parameters": [
5432
+ {
5433
+ "name": "event",
5434
+ "type": {
5435
+ "text": "Event"
5436
+ }
5437
+ }
5438
+ ],
5439
+ "description": "Event Handlers\n--------------------------------------------------------------------------"
5166
5440
  }
5167
5441
  ],
5168
5442
  "attributes": [
@@ -5939,6 +6213,39 @@
5939
6213
  "attribute": "tile",
5940
6214
  "reflects": true
5941
6215
  },
6216
+ {
6217
+ "kind": "field",
6218
+ "name": "other",
6219
+ "type": {
6220
+ "text": "boolean"
6221
+ },
6222
+ "default": "false",
6223
+ "attribute": "other",
6224
+ "reflects": true
6225
+ },
6226
+ {
6227
+ "kind": "field",
6228
+ "name": "showOtherError",
6229
+ "type": {
6230
+ "text": "boolean"
6231
+ },
6232
+ "default": "false",
6233
+ "attribute": "showOtherError"
6234
+ },
6235
+ {
6236
+ "kind": "field",
6237
+ "name": "isMobile",
6238
+ "privacy": "private"
6239
+ },
6240
+ {
6241
+ "kind": "field",
6242
+ "name": "_hasUserInteracted",
6243
+ "type": {
6244
+ "text": "boolean"
6245
+ },
6246
+ "privacy": "private",
6247
+ "default": "false"
6248
+ },
5942
6249
  {
5943
6250
  "kind": "field",
5944
6251
  "name": "buttonGroup",
@@ -5964,6 +6271,16 @@
5964
6271
  "name": "formResetUpdate",
5965
6272
  "privacy": "public"
5966
6273
  },
6274
+ {
6275
+ "kind": "field",
6276
+ "name": "_handleResize",
6277
+ "privacy": "private"
6278
+ },
6279
+ {
6280
+ "kind": "method",
6281
+ "name": "_clearOtherState",
6282
+ "privacy": "private"
6283
+ },
5967
6284
  {
5968
6285
  "kind": "method",
5969
6286
  "name": "_emitChangeEvent",
@@ -5978,7 +6295,15 @@
5978
6295
  {
5979
6296
  "kind": "method",
5980
6297
  "name": "_handleFocus",
5981
- "privacy": "private"
6298
+ "privacy": "private",
6299
+ "parameters": [
6300
+ {
6301
+ "name": "event",
6302
+ "type": {
6303
+ "text": "FocusEvent"
6304
+ }
6305
+ }
6306
+ ]
5982
6307
  },
5983
6308
  {
5984
6309
  "kind": "method",
@@ -5989,9 +6314,51 @@
5989
6314
  "kind": "method",
5990
6315
  "name": "_callInputHandling",
5991
6316
  "privacy": "private"
6317
+ },
6318
+ {
6319
+ "kind": "method",
6320
+ "name": "_handleTextInput",
6321
+ "privacy": "private",
6322
+ "parameters": [
6323
+ {
6324
+ "name": "event",
6325
+ "type": {
6326
+ "text": "Event"
6327
+ }
6328
+ }
6329
+ ]
6330
+ },
6331
+ {
6332
+ "kind": "method",
6333
+ "name": "_handleTextInputBlur",
6334
+ "privacy": "private"
6335
+ },
6336
+ {
6337
+ "kind": "method",
6338
+ "name": "_validateOtherAndEmitError",
6339
+ "privacy": "private"
6340
+ },
6341
+ {
6342
+ "kind": "method",
6343
+ "name": "_handleOtherKeydown",
6344
+ "privacy": "private",
6345
+ "parameters": [
6346
+ {
6347
+ "name": "e",
6348
+ "type": {
6349
+ "text": "KeyboardEvent"
6350
+ }
6351
+ }
6352
+ ]
5992
6353
  }
5993
6354
  ],
5994
6355
  "events": [
6356
+ {
6357
+ "name": "nys-error-clear",
6358
+ "type": {
6359
+ "text": "CustomEvent"
6360
+ }
6361
+ },
5995
6362
  {
5996
6363
  "name": "nys-change",
5997
6364
  "type": {
@@ -6012,6 +6379,12 @@
6012
6379
  "text": "Event"
6013
6380
  },
6014
6381
  "description": "Fired when radio loses focus."
6382
+ },
6383
+ {
6384
+ "name": "nys-error",
6385
+ "type": {
6386
+ "text": "CustomEvent"
6387
+ }
6015
6388
  }
6016
6389
  ],
6017
6390
  "attributes": [
@@ -6122,6 +6495,22 @@
6122
6495
  "default": "false",
6123
6496
  "description": "Renders as tile with larger clickable area.",
6124
6497
  "fieldName": "tile"
6498
+ },
6499
+ {
6500
+ "name": "other",
6501
+ "type": {
6502
+ "text": "boolean"
6503
+ },
6504
+ "default": "false",
6505
+ "fieldName": "other"
6506
+ },
6507
+ {
6508
+ "name": "showOtherError",
6509
+ "type": {
6510
+ "text": "boolean"
6511
+ },
6512
+ "default": "false",
6513
+ "fieldName": "showOtherError"
6125
6514
  }
6126
6515
  ],
6127
6516
  "superclass": {
@@ -6461,6 +6850,19 @@
6461
6850
  }
6462
6851
  }
6463
6852
  ]
6853
+ },
6854
+ {
6855
+ "kind": "method",
6856
+ "name": "_handleChildError",
6857
+ "privacy": "private",
6858
+ "parameters": [
6859
+ {
6860
+ "name": "event",
6861
+ "type": {
6862
+ "text": "Event"
6863
+ }
6864
+ }
6865
+ ]
6464
6866
  }
6465
6867
  ],
6466
6868
  "attributes": [
@@ -8879,6 +9281,16 @@
8879
9281
  "description": "Maximum character length.",
8880
9282
  "attribute": "maxlength"
8881
9283
  },
9284
+ {
9285
+ "kind": "field",
9286
+ "name": "ariaLabel",
9287
+ "type": {
9288
+ "text": "string"
9289
+ },
9290
+ "default": "\"\"",
9291
+ "description": "Accessible label. When set, assuming \"label\" isn't provided for private special cases (i.e., <checkbox other>).",
9292
+ "attribute": "ariaLabel"
9293
+ },
8882
9294
  {
8883
9295
  "kind": "field",
8884
9296
  "name": "width",
@@ -9006,6 +9418,11 @@
9006
9418
  "default": "true",
9007
9419
  "description": "Lifecycle methods\n--------------------------------------------------------------------------"
9008
9420
  },
9421
+ {
9422
+ "kind": "method",
9423
+ "name": "focus",
9424
+ "privacy": "public"
9425
+ },
9009
9426
  {
9010
9427
  "kind": "method",
9011
9428
  "name": "_setValue",
@@ -9309,6 +9726,15 @@
9309
9726
  "description": "Maximum character length.",
9310
9727
  "fieldName": "maxlength"
9311
9728
  },
9729
+ {
9730
+ "name": "ariaLabel",
9731
+ "type": {
9732
+ "text": "string"
9733
+ },
9734
+ "default": "\"\"",
9735
+ "description": "Accessible label. When set, assuming \"label\" isn't provided for private special cases (i.e., <checkbox other>).",
9736
+ "fieldName": "ariaLabel"
9737
+ },
9312
9738
  {
9313
9739
  "name": "width",
9314
9740
  "type": {