@genesislcap/foundation-ui 14.488.0 → 14.488.1-FUI-2571.1

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.
@@ -1792,6 +1792,37 @@
1792
1792
  }
1793
1793
  ]
1794
1794
  },
1795
+ {
1796
+ "kind": "javascript-module",
1797
+ "path": "src/_config/index.ts",
1798
+ "declarations": [],
1799
+ "exports": [
1800
+ {
1801
+ "kind": "js",
1802
+ "name": "*",
1803
+ "declaration": {
1804
+ "name": "*",
1805
+ "package": "./styles"
1806
+ }
1807
+ },
1808
+ {
1809
+ "kind": "js",
1810
+ "name": "*",
1811
+ "declaration": {
1812
+ "name": "*",
1813
+ "package": "./tokens"
1814
+ }
1815
+ },
1816
+ {
1817
+ "kind": "js",
1818
+ "name": "*",
1819
+ "declaration": {
1820
+ "name": "*",
1821
+ "package": "./values"
1822
+ }
1823
+ }
1824
+ ]
1825
+ },
1795
1826
  {
1796
1827
  "kind": "javascript-module",
1797
1828
  "path": "src/actions-menu/actions-menu.styles.ts",
@@ -2351,37 +2382,6 @@
2351
2382
  }
2352
2383
  ]
2353
2384
  },
2354
- {
2355
- "kind": "javascript-module",
2356
- "path": "src/_config/index.ts",
2357
- "declarations": [],
2358
- "exports": [
2359
- {
2360
- "kind": "js",
2361
- "name": "*",
2362
- "declaration": {
2363
- "name": "*",
2364
- "package": "./styles"
2365
- }
2366
- },
2367
- {
2368
- "kind": "js",
2369
- "name": "*",
2370
- "declaration": {
2371
- "name": "*",
2372
- "package": "./tokens"
2373
- }
2374
- },
2375
- {
2376
- "kind": "js",
2377
- "name": "*",
2378
- "declaration": {
2379
- "name": "*",
2380
- "package": "./values"
2381
- }
2382
- }
2383
- ]
2384
- },
2385
2385
  {
2386
2386
  "kind": "javascript-module",
2387
2387
  "path": "src/ai-criteria-search/ai-criteria-search.styles.ts",
@@ -2993,11 +2993,11 @@
2993
2993
  },
2994
2994
  {
2995
2995
  "kind": "javascript-module",
2996
- "path": "src/accordion/accordion.styles.ts",
2996
+ "path": "src/ai-indicator/ai-indicator.styles.ts",
2997
2997
  "declarations": [
2998
2998
  {
2999
2999
  "kind": "function",
3000
- "name": "foundationAccordionStyles",
3000
+ "name": "foundationAiIndicatorStyles",
3001
3001
  "return": {
3002
3002
  "type": {
3003
3003
  "text": "ElementStyles"
@@ -3022,276 +3022,224 @@
3022
3022
  "exports": [
3023
3023
  {
3024
3024
  "kind": "js",
3025
- "name": "foundationAccordionStyles",
3025
+ "name": "foundationAiIndicatorStyles",
3026
3026
  "declaration": {
3027
- "name": "foundationAccordionStyles",
3028
- "module": "src/accordion/accordion.styles.ts"
3027
+ "name": "foundationAiIndicatorStyles",
3028
+ "module": "src/ai-indicator/ai-indicator.styles.ts"
3029
3029
  }
3030
3030
  }
3031
3031
  ]
3032
3032
  },
3033
3033
  {
3034
3034
  "kind": "javascript-module",
3035
- "path": "src/accordion/accordion.template.ts",
3035
+ "path": "src/ai-indicator/ai-indicator.template.ts",
3036
3036
  "declarations": [
3037
3037
  {
3038
- "kind": "function",
3039
- "name": "foundationAccordionTemplate",
3040
- "return": {
3041
- "type": {
3042
- "text": "ViewTemplate<Accordion>"
3043
- }
3038
+ "kind": "variable",
3039
+ "name": "foundationAiIndicatorTemplate",
3040
+ "type": {
3041
+ "text": "ViewTemplate<AiIndicator>"
3044
3042
  },
3045
- "parameters": [
3046
- {
3047
- "name": "context",
3048
- "type": {
3049
- "text": "ElementDefinitionContext"
3050
- }
3051
- },
3052
- {
3053
- "name": "definition",
3054
- "type": {
3055
- "text": "FoundationElementDefinition"
3056
- }
3057
- }
3058
- ]
3043
+ "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3059
3044
  }
3060
3045
  ],
3061
3046
  "exports": [
3062
3047
  {
3063
3048
  "kind": "js",
3064
- "name": "foundationAccordionTemplate",
3049
+ "name": "foundationAiIndicatorTemplate",
3065
3050
  "declaration": {
3066
- "name": "foundationAccordionTemplate",
3067
- "module": "src/accordion/accordion.template.ts"
3051
+ "name": "foundationAiIndicatorTemplate",
3052
+ "module": "src/ai-indicator/ai-indicator.template.ts"
3068
3053
  }
3069
3054
  }
3070
3055
  ]
3071
3056
  },
3072
3057
  {
3073
3058
  "kind": "javascript-module",
3074
- "path": "src/accordion/accordion.ts",
3059
+ "path": "src/ai-indicator/ai-indicator.ts",
3075
3060
  "declarations": [
3076
3061
  {
3077
3062
  "kind": "class",
3078
3063
  "description": "",
3079
- "name": "Accordion",
3080
- "superclass": {
3081
- "name": "FASTAccordion",
3082
- "package": "@microsoft/fast-foundation"
3083
- },
3084
- "tagName": "%%prefix%%-accordion",
3085
- "customElement": true,
3086
- "attributes": [
3087
- {
3088
- "name": "expand-mode",
3089
- "type": {
3090
- "text": "AccordionExpandMode"
3091
- },
3092
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3093
- "fieldName": "expandmode",
3094
- "inheritedFrom": {
3095
- "name": "Accordion",
3096
- "module": "src/accordion/accordion.ts"
3097
- }
3098
- }
3099
- ],
3064
+ "name": "AiIndicator",
3100
3065
  "members": [
3101
3066
  {
3102
3067
  "kind": "field",
3103
- "name": "expandmode",
3068
+ "name": "providerRegistry",
3104
3069
  "type": {
3105
- "text": "AccordionExpandMode"
3106
- },
3107
- "privacy": "public",
3108
- "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3109
- "inheritedFrom": {
3110
- "name": "Accordion",
3111
- "module": "src/accordion/accordion.ts"
3070
+ "text": "AIProviderRegistry"
3112
3071
  }
3113
3072
  },
3114
3073
  {
3115
3074
  "kind": "field",
3116
- "name": "activeid",
3075
+ "name": "aiProvider",
3117
3076
  "type": {
3118
- "text": "string | null"
3077
+ "text": "AIProvider | undefined"
3119
3078
  },
3120
3079
  "privacy": "private",
3121
- "inheritedFrom": {
3122
- "name": "Accordion",
3123
- "module": "src/accordion/accordion.ts"
3124
- }
3080
+ "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3081
+ "readonly": true
3125
3082
  },
3126
3083
  {
3127
3084
  "kind": "field",
3128
- "name": "activeItemIndex",
3085
+ "name": "status",
3129
3086
  "type": {
3130
- "text": "number"
3087
+ "text": "AIStatus | null"
3131
3088
  },
3132
- "privacy": "private",
3133
- "default": "0",
3134
- "inheritedFrom": {
3135
- "name": "Accordion",
3136
- "module": "src/accordion/accordion.ts"
3137
- }
3089
+ "default": "null"
3138
3090
  },
3139
3091
  {
3140
3092
  "kind": "field",
3141
- "name": "accordionIds",
3093
+ "name": "open",
3142
3094
  "type": {
3143
- "text": "Array<string | null>"
3095
+ "text": "boolean"
3144
3096
  },
3145
- "privacy": "private",
3146
- "inheritedFrom": {
3147
- "name": "Accordion",
3148
- "module": "src/accordion/accordion.ts"
3149
- }
3097
+ "default": "false"
3150
3098
  },
3151
3099
  {
3152
3100
  "kind": "field",
3153
- "name": "change",
3154
- "privacy": "private",
3155
- "inheritedFrom": {
3156
- "name": "Accordion",
3157
- "module": "src/accordion/accordion.ts"
3158
- }
3101
+ "name": "state",
3102
+ "type": {
3103
+ "text": "AIIndicatorState"
3104
+ },
3105
+ "default": "'none'"
3159
3106
  },
3160
3107
  {
3161
- "kind": "method",
3162
- "name": "findExpandedItem",
3163
- "privacy": "private",
3164
- "return": {
3165
- "type": {
3166
- "text": "AccordionItem | null"
3167
- }
3108
+ "kind": "field",
3109
+ "name": "isInstalling",
3110
+ "type": {
3111
+ "text": "boolean"
3168
3112
  },
3169
- "inheritedFrom": {
3170
- "name": "Accordion",
3171
- "module": "src/accordion/accordion.ts"
3172
- }
3113
+ "default": "false"
3173
3114
  },
3174
3115
  {
3175
3116
  "kind": "field",
3176
- "name": "setItems",
3117
+ "name": "pollTimer",
3118
+ "type": {
3119
+ "text": "ReturnType<typeof setInterval> | null"
3120
+ },
3177
3121
  "privacy": "private",
3178
- "inheritedFrom": {
3179
- "name": "Accordion",
3180
- "module": "src/accordion/accordion.ts"
3181
- }
3122
+ "default": "null"
3182
3123
  },
3183
3124
  {
3184
- "kind": "method",
3185
- "name": "resetItems",
3186
- "privacy": "private",
3187
- "return": {
3188
- "type": {
3189
- "text": "void"
3190
- }
3125
+ "kind": "field",
3126
+ "name": "clickOutside",
3127
+ "privacy": "private"
3128
+ },
3129
+ {
3130
+ "kind": "field",
3131
+ "name": "chromeStatusLabel",
3132
+ "type": {
3133
+ "text": "string | null"
3191
3134
  },
3192
- "inheritedFrom": {
3193
- "name": "Accordion",
3194
- "module": "src/accordion/accordion.ts"
3195
- }
3135
+ "readonly": true
3196
3136
  },
3197
3137
  {
3198
3138
  "kind": "field",
3199
- "name": "removeItemListeners",
3200
- "privacy": "private",
3201
- "inheritedFrom": {
3202
- "name": "Accordion",
3203
- "module": "src/accordion/accordion.ts"
3204
- }
3139
+ "name": "canInstall",
3140
+ "type": {
3141
+ "text": "boolean"
3142
+ },
3143
+ "readonly": true
3205
3144
  },
3206
3145
  {
3207
3146
  "kind": "field",
3208
- "name": "activeItemChange",
3209
- "privacy": "private",
3210
- "inheritedFrom": {
3211
- "name": "Accordion",
3212
- "module": "src/accordion/accordion.ts"
3213
- }
3147
+ "name": "isDownloading",
3148
+ "type": {
3149
+ "text": "boolean"
3150
+ },
3151
+ "readonly": true
3214
3152
  },
3215
3153
  {
3216
3154
  "kind": "method",
3217
- "name": "getItemIds",
3218
- "privacy": "private",
3155
+ "name": "openChanged",
3219
3156
  "return": {
3220
3157
  "type": {
3221
- "text": "Array<string | null>"
3158
+ "text": "void"
3222
3159
  }
3223
- },
3224
- "inheritedFrom": {
3225
- "name": "Accordion",
3226
- "module": "src/accordion/accordion.ts"
3227
3160
  }
3228
3161
  },
3229
3162
  {
3230
3163
  "kind": "method",
3231
- "name": "isSingleExpandMode",
3164
+ "name": "handleClickOutside",
3232
3165
  "privacy": "private",
3233
- "return": {
3234
- "type": {
3235
- "text": "boolean"
3166
+ "parameters": [
3167
+ {
3168
+ "name": "event",
3169
+ "type": {
3170
+ "text": "MouseEvent"
3171
+ }
3236
3172
  }
3237
- },
3238
- "inheritedFrom": {
3239
- "name": "Accordion",
3240
- "module": "src/accordion/accordion.ts"
3241
- }
3173
+ ]
3242
3174
  },
3243
3175
  {
3244
- "kind": "field",
3245
- "name": "handleItemKeyDown",
3246
- "privacy": "private",
3247
- "inheritedFrom": {
3248
- "name": "Accordion",
3249
- "module": "src/accordion/accordion.ts"
3250
- }
3176
+ "kind": "method",
3177
+ "name": "toggleDropdown"
3251
3178
  },
3252
3179
  {
3253
- "kind": "field",
3254
- "name": "handleItemFocus",
3255
- "privacy": "private",
3256
- "inheritedFrom": {
3257
- "name": "Accordion",
3258
- "module": "src/accordion/accordion.ts"
3180
+ "kind": "method",
3181
+ "name": "refreshStatus",
3182
+ "return": {
3183
+ "type": {
3184
+ "text": "Promise<void>"
3185
+ }
3259
3186
  }
3260
3187
  },
3261
3188
  {
3262
3189
  "kind": "method",
3263
- "name": "adjust",
3190
+ "name": "deriveState",
3264
3191
  "privacy": "private",
3265
3192
  "return": {
3266
3193
  "type": {
3267
- "text": "void"
3194
+ "text": "AIIndicatorState"
3268
3195
  }
3269
3196
  },
3270
3197
  "parameters": [
3271
3198
  {
3272
- "name": "adjustment",
3199
+ "name": "s",
3273
3200
  "type": {
3274
- "text": "number"
3201
+ "text": "AIStatus | null"
3275
3202
  }
3276
3203
  }
3277
- ],
3278
- "inheritedFrom": {
3279
- "name": "Accordion",
3280
- "module": "src/accordion/accordion.ts"
3204
+ ]
3205
+ },
3206
+ {
3207
+ "kind": "method",
3208
+ "name": "maybeStartPolling",
3209
+ "privacy": "private",
3210
+ "return": {
3211
+ "type": {
3212
+ "text": "void"
3213
+ }
3281
3214
  }
3282
3215
  },
3283
3216
  {
3284
3217
  "kind": "method",
3285
- "name": "focusItem",
3218
+ "name": "startPolling",
3286
3219
  "privacy": "private",
3287
3220
  "return": {
3288
3221
  "type": {
3289
3222
  "text": "void"
3290
3223
  }
3291
- },
3292
- "inheritedFrom": {
3293
- "name": "Accordion",
3294
- "module": "src/accordion/accordion.ts"
3224
+ }
3225
+ },
3226
+ {
3227
+ "kind": "method",
3228
+ "name": "stopPolling",
3229
+ "privacy": "private",
3230
+ "return": {
3231
+ "type": {
3232
+ "text": "void"
3233
+ }
3234
+ }
3235
+ },
3236
+ {
3237
+ "kind": "method",
3238
+ "name": "onInstall",
3239
+ "return": {
3240
+ "type": {
3241
+ "text": "Promise<void>"
3242
+ }
3295
3243
  }
3296
3244
  },
3297
3245
  {
@@ -3406,113 +3354,99 @@
3406
3354
  }
3407
3355
  }
3408
3356
  ],
3409
- "events": [
3410
- {
3411
- "description": "Fires a custom 'change' event when the active item changes",
3412
- "name": "change",
3413
- "inheritedFrom": {
3414
- "name": "Accordion",
3415
- "module": "src/accordion/accordion.ts"
3416
- }
3417
- }
3418
- ]
3419
- },
3420
- {
3421
- "kind": "variable",
3422
- "name": "foundationAccordionShadowOptions",
3423
- "type": {
3424
- "text": "ShadowRootInit"
3425
- },
3426
- "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3427
- },
3428
- {
3429
- "kind": "variable",
3430
- "name": "defaultAccordionConfig",
3431
- "type": {
3432
- "text": "object"
3357
+ "superclass": {
3358
+ "name": "FoundationElement",
3359
+ "package": "@microsoft/fast-foundation"
3433
3360
  },
3434
- "default": "{}"
3361
+ "tagName": "%%prefix%%-ai-indicator",
3362
+ "customElement": true
3435
3363
  },
3436
3364
  {
3437
3365
  "kind": "variable",
3438
- "name": "foundationAccordion",
3439
- "description": "The Foundation Accordion",
3440
- "privacy": "public"
3366
+ "name": "foundationAiIndicator"
3441
3367
  }
3442
3368
  ],
3443
3369
  "exports": [
3444
3370
  {
3445
3371
  "kind": "js",
3446
- "name": "Accordion",
3372
+ "name": "AiIndicator",
3447
3373
  "declaration": {
3448
- "name": "Accordion",
3449
- "module": "src/accordion/accordion.ts"
3374
+ "name": "AiIndicator",
3375
+ "module": "src/ai-indicator/ai-indicator.ts"
3450
3376
  }
3451
3377
  },
3452
3378
  {
3453
3379
  "kind": "js",
3454
- "name": "foundationAccordionShadowOptions",
3380
+ "name": "foundationAiIndicator",
3455
3381
  "declaration": {
3456
- "name": "foundationAccordionShadowOptions",
3457
- "module": "src/accordion/accordion.ts"
3382
+ "name": "foundationAiIndicator",
3383
+ "module": "src/ai-indicator/ai-indicator.ts"
3384
+ }
3385
+ }
3386
+ ]
3387
+ },
3388
+ {
3389
+ "kind": "javascript-module",
3390
+ "path": "src/ai-indicator/index.ts",
3391
+ "declarations": [],
3392
+ "exports": [
3393
+ {
3394
+ "kind": "js",
3395
+ "name": "AiIndicator",
3396
+ "declaration": {
3397
+ "name": "AiIndicator",
3398
+ "module": "./ai-indicator"
3458
3399
  }
3459
3400
  },
3460
3401
  {
3461
3402
  "kind": "js",
3462
- "name": "defaultAccordionConfig",
3403
+ "name": "foundationAiIndicator",
3463
3404
  "declaration": {
3464
- "name": "defaultAccordionConfig",
3465
- "module": "src/accordion/accordion.ts"
3405
+ "name": "foundationAiIndicator",
3406
+ "module": "./ai-indicator"
3466
3407
  }
3467
3408
  },
3468
3409
  {
3469
3410
  "kind": "js",
3470
- "name": "foundationAccordion",
3411
+ "name": "type",
3471
3412
  "declaration": {
3472
- "name": "foundationAccordion",
3473
- "module": "src/accordion/accordion.ts"
3413
+ "name": "type",
3414
+ "module": "./ai-indicator"
3474
3415
  }
3475
- }
3476
- ]
3477
- },
3478
- {
3479
- "kind": "javascript-module",
3480
- "path": "src/accordion/index.ts",
3481
- "declarations": [],
3482
- "exports": [
3416
+ },
3483
3417
  {
3484
3418
  "kind": "js",
3485
- "name": "*",
3419
+ "name": "AIIndicatorState",
3486
3420
  "declaration": {
3487
- "name": "*",
3488
- "package": "./accordion.template"
3421
+ "name": "AIIndicatorState",
3422
+ "module": "./ai-indicator"
3489
3423
  }
3490
3424
  },
3491
3425
  {
3492
3426
  "kind": "js",
3493
- "name": "*",
3427
+ "name": "foundationAiIndicatorTemplate",
3494
3428
  "declaration": {
3495
- "name": "*",
3496
- "package": "./accordion.styles"
3429
+ "name": "foundationAiIndicatorTemplate",
3430
+ "module": "./ai-indicator.template"
3497
3431
  }
3498
3432
  },
3499
3433
  {
3500
3434
  "kind": "js",
3501
- "name": "*",
3435
+ "name": "foundationAiIndicatorStyles",
3502
3436
  "declaration": {
3503
- "name": "*",
3504
- "package": "./accordion"
3437
+ "name": "foundationAiIndicatorStyles",
3438
+ "module": "./ai-indicator.styles"
3505
3439
  }
3506
3440
  }
3507
3441
  ]
3508
3442
  },
3509
3443
  {
3510
3444
  "kind": "javascript-module",
3511
- "path": "src/ai-indicator/ai-indicator.styles.ts",
3445
+ "path": "src/accordion/accordion.styles.ts",
3512
3446
  "declarations": [
3513
3447
  {
3514
3448
  "kind": "function",
3515
- "name": "foundationAiIndicatorStyles",
3449
+ "name": "foundationAccordionStyles",
3516
3450
  "return": {
3517
3451
  "type": {
3518
3452
  "text": "ElementStyles"
@@ -3537,224 +3471,276 @@
3537
3471
  "exports": [
3538
3472
  {
3539
3473
  "kind": "js",
3540
- "name": "foundationAiIndicatorStyles",
3474
+ "name": "foundationAccordionStyles",
3541
3475
  "declaration": {
3542
- "name": "foundationAiIndicatorStyles",
3543
- "module": "src/ai-indicator/ai-indicator.styles.ts"
3476
+ "name": "foundationAccordionStyles",
3477
+ "module": "src/accordion/accordion.styles.ts"
3544
3478
  }
3545
3479
  }
3546
3480
  ]
3547
3481
  },
3548
3482
  {
3549
3483
  "kind": "javascript-module",
3550
- "path": "src/ai-indicator/ai-indicator.template.ts",
3484
+ "path": "src/accordion/accordion.template.ts",
3551
3485
  "declarations": [
3552
3486
  {
3553
- "kind": "variable",
3554
- "name": "foundationAiIndicatorTemplate",
3555
- "type": {
3556
- "text": "ViewTemplate<AiIndicator>"
3487
+ "kind": "function",
3488
+ "name": "foundationAccordionTemplate",
3489
+ "return": {
3490
+ "type": {
3491
+ "text": "ViewTemplate<Accordion>"
3492
+ }
3557
3493
  },
3558
- "default": "html`\n ${(x) => aiIndicatorTemplate(getPrefix(x))}\n`"
3494
+ "parameters": [
3495
+ {
3496
+ "name": "context",
3497
+ "type": {
3498
+ "text": "ElementDefinitionContext"
3499
+ }
3500
+ },
3501
+ {
3502
+ "name": "definition",
3503
+ "type": {
3504
+ "text": "FoundationElementDefinition"
3505
+ }
3506
+ }
3507
+ ]
3559
3508
  }
3560
3509
  ],
3561
3510
  "exports": [
3562
3511
  {
3563
3512
  "kind": "js",
3564
- "name": "foundationAiIndicatorTemplate",
3513
+ "name": "foundationAccordionTemplate",
3565
3514
  "declaration": {
3566
- "name": "foundationAiIndicatorTemplate",
3567
- "module": "src/ai-indicator/ai-indicator.template.ts"
3515
+ "name": "foundationAccordionTemplate",
3516
+ "module": "src/accordion/accordion.template.ts"
3568
3517
  }
3569
3518
  }
3570
3519
  ]
3571
3520
  },
3572
3521
  {
3573
3522
  "kind": "javascript-module",
3574
- "path": "src/ai-indicator/ai-indicator.ts",
3523
+ "path": "src/accordion/accordion.ts",
3575
3524
  "declarations": [
3576
3525
  {
3577
3526
  "kind": "class",
3578
3527
  "description": "",
3579
- "name": "AiIndicator",
3580
- "members": [
3581
- {
3582
- "kind": "field",
3583
- "name": "providerRegistry",
3584
- "type": {
3585
- "text": "AIProviderRegistry"
3586
- }
3587
- },
3528
+ "name": "Accordion",
3529
+ "superclass": {
3530
+ "name": "FASTAccordion",
3531
+ "package": "@microsoft/fast-foundation"
3532
+ },
3533
+ "tagName": "%%prefix%%-accordion",
3534
+ "customElement": true,
3535
+ "attributes": [
3588
3536
  {
3589
- "kind": "field",
3590
- "name": "aiProvider",
3537
+ "name": "expand-mode",
3591
3538
  "type": {
3592
- "text": "AIProvider | undefined"
3539
+ "text": "AccordionExpandMode"
3593
3540
  },
3594
- "privacy": "private",
3595
- "description": "The indicator reflects status for the registry's default provider only —\nper-agent provider overrides live with the assistant component, not this\ntop-level chrome.",
3596
- "readonly": true
3597
- },
3598
- {
3599
- "kind": "field",
3600
- "name": "status",
3601
- "type": {
3602
- "text": "AIStatus | null"
3603
- },
3604
- "default": "null"
3605
- },
3541
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3542
+ "fieldName": "expandmode",
3543
+ "inheritedFrom": {
3544
+ "name": "Accordion",
3545
+ "module": "src/accordion/accordion.ts"
3546
+ }
3547
+ }
3548
+ ],
3549
+ "members": [
3606
3550
  {
3607
3551
  "kind": "field",
3608
- "name": "open",
3552
+ "name": "expandmode",
3609
3553
  "type": {
3610
- "text": "boolean"
3554
+ "text": "AccordionExpandMode"
3611
3555
  },
3612
- "default": "false"
3556
+ "privacy": "public",
3557
+ "description": "Controls the expand mode of the Accordion, either allowing\nsingle or multiple item expansion.",
3558
+ "inheritedFrom": {
3559
+ "name": "Accordion",
3560
+ "module": "src/accordion/accordion.ts"
3561
+ }
3613
3562
  },
3614
3563
  {
3615
3564
  "kind": "field",
3616
- "name": "state",
3565
+ "name": "activeid",
3617
3566
  "type": {
3618
- "text": "AIIndicatorState"
3567
+ "text": "string | null"
3619
3568
  },
3620
- "default": "'none'"
3569
+ "privacy": "private",
3570
+ "inheritedFrom": {
3571
+ "name": "Accordion",
3572
+ "module": "src/accordion/accordion.ts"
3573
+ }
3621
3574
  },
3622
3575
  {
3623
3576
  "kind": "field",
3624
- "name": "isInstalling",
3577
+ "name": "activeItemIndex",
3625
3578
  "type": {
3626
- "text": "boolean"
3579
+ "text": "number"
3627
3580
  },
3628
- "default": "false"
3581
+ "privacy": "private",
3582
+ "default": "0",
3583
+ "inheritedFrom": {
3584
+ "name": "Accordion",
3585
+ "module": "src/accordion/accordion.ts"
3586
+ }
3629
3587
  },
3630
3588
  {
3631
3589
  "kind": "field",
3632
- "name": "pollTimer",
3590
+ "name": "accordionIds",
3633
3591
  "type": {
3634
- "text": "ReturnType<typeof setInterval> | null"
3592
+ "text": "Array<string | null>"
3635
3593
  },
3636
3594
  "privacy": "private",
3637
- "default": "null"
3638
- },
3639
- {
3640
- "kind": "field",
3641
- "name": "clickOutside",
3642
- "privacy": "private"
3595
+ "inheritedFrom": {
3596
+ "name": "Accordion",
3597
+ "module": "src/accordion/accordion.ts"
3598
+ }
3643
3599
  },
3644
3600
  {
3645
3601
  "kind": "field",
3646
- "name": "chromeStatusLabel",
3647
- "type": {
3648
- "text": "string | null"
3649
- },
3650
- "readonly": true
3602
+ "name": "change",
3603
+ "privacy": "private",
3604
+ "inheritedFrom": {
3605
+ "name": "Accordion",
3606
+ "module": "src/accordion/accordion.ts"
3607
+ }
3651
3608
  },
3652
3609
  {
3653
- "kind": "field",
3654
- "name": "canInstall",
3655
- "type": {
3656
- "text": "boolean"
3610
+ "kind": "method",
3611
+ "name": "findExpandedItem",
3612
+ "privacy": "private",
3613
+ "return": {
3614
+ "type": {
3615
+ "text": "AccordionItem | null"
3616
+ }
3657
3617
  },
3658
- "readonly": true
3618
+ "inheritedFrom": {
3619
+ "name": "Accordion",
3620
+ "module": "src/accordion/accordion.ts"
3621
+ }
3659
3622
  },
3660
3623
  {
3661
3624
  "kind": "field",
3662
- "name": "isDownloading",
3663
- "type": {
3664
- "text": "boolean"
3665
- },
3666
- "readonly": true
3625
+ "name": "setItems",
3626
+ "privacy": "private",
3627
+ "inheritedFrom": {
3628
+ "name": "Accordion",
3629
+ "module": "src/accordion/accordion.ts"
3630
+ }
3667
3631
  },
3668
3632
  {
3669
3633
  "kind": "method",
3670
- "name": "openChanged",
3634
+ "name": "resetItems",
3635
+ "privacy": "private",
3671
3636
  "return": {
3672
3637
  "type": {
3673
3638
  "text": "void"
3674
3639
  }
3640
+ },
3641
+ "inheritedFrom": {
3642
+ "name": "Accordion",
3643
+ "module": "src/accordion/accordion.ts"
3675
3644
  }
3676
3645
  },
3677
3646
  {
3678
- "kind": "method",
3679
- "name": "handleClickOutside",
3647
+ "kind": "field",
3648
+ "name": "removeItemListeners",
3680
3649
  "privacy": "private",
3681
- "parameters": [
3682
- {
3683
- "name": "event",
3684
- "type": {
3685
- "text": "MouseEvent"
3686
- }
3687
- }
3688
- ]
3650
+ "inheritedFrom": {
3651
+ "name": "Accordion",
3652
+ "module": "src/accordion/accordion.ts"
3653
+ }
3689
3654
  },
3690
3655
  {
3691
- "kind": "method",
3692
- "name": "toggleDropdown"
3656
+ "kind": "field",
3657
+ "name": "activeItemChange",
3658
+ "privacy": "private",
3659
+ "inheritedFrom": {
3660
+ "name": "Accordion",
3661
+ "module": "src/accordion/accordion.ts"
3662
+ }
3693
3663
  },
3694
3664
  {
3695
3665
  "kind": "method",
3696
- "name": "refreshStatus",
3666
+ "name": "getItemIds",
3667
+ "privacy": "private",
3697
3668
  "return": {
3698
3669
  "type": {
3699
- "text": "Promise<void>"
3670
+ "text": "Array<string | null>"
3700
3671
  }
3672
+ },
3673
+ "inheritedFrom": {
3674
+ "name": "Accordion",
3675
+ "module": "src/accordion/accordion.ts"
3701
3676
  }
3702
3677
  },
3703
3678
  {
3704
3679
  "kind": "method",
3705
- "name": "deriveState",
3680
+ "name": "isSingleExpandMode",
3706
3681
  "privacy": "private",
3707
3682
  "return": {
3708
3683
  "type": {
3709
- "text": "AIIndicatorState"
3684
+ "text": "boolean"
3710
3685
  }
3711
3686
  },
3712
- "parameters": [
3713
- {
3714
- "name": "s",
3715
- "type": {
3716
- "text": "AIStatus | null"
3717
- }
3718
- }
3719
- ]
3687
+ "inheritedFrom": {
3688
+ "name": "Accordion",
3689
+ "module": "src/accordion/accordion.ts"
3690
+ }
3720
3691
  },
3721
3692
  {
3722
- "kind": "method",
3723
- "name": "maybeStartPolling",
3693
+ "kind": "field",
3694
+ "name": "handleItemKeyDown",
3724
3695
  "privacy": "private",
3725
- "return": {
3726
- "type": {
3727
- "text": "void"
3728
- }
3696
+ "inheritedFrom": {
3697
+ "name": "Accordion",
3698
+ "module": "src/accordion/accordion.ts"
3729
3699
  }
3730
3700
  },
3731
3701
  {
3732
- "kind": "method",
3733
- "name": "startPolling",
3702
+ "kind": "field",
3703
+ "name": "handleItemFocus",
3734
3704
  "privacy": "private",
3735
- "return": {
3736
- "type": {
3737
- "text": "void"
3738
- }
3705
+ "inheritedFrom": {
3706
+ "name": "Accordion",
3707
+ "module": "src/accordion/accordion.ts"
3739
3708
  }
3740
3709
  },
3741
3710
  {
3742
3711
  "kind": "method",
3743
- "name": "stopPolling",
3712
+ "name": "adjust",
3744
3713
  "privacy": "private",
3745
3714
  "return": {
3746
3715
  "type": {
3747
3716
  "text": "void"
3748
3717
  }
3718
+ },
3719
+ "parameters": [
3720
+ {
3721
+ "name": "adjustment",
3722
+ "type": {
3723
+ "text": "number"
3724
+ }
3725
+ }
3726
+ ],
3727
+ "inheritedFrom": {
3728
+ "name": "Accordion",
3729
+ "module": "src/accordion/accordion.ts"
3749
3730
  }
3750
3731
  },
3751
3732
  {
3752
3733
  "kind": "method",
3753
- "name": "onInstall",
3734
+ "name": "focusItem",
3735
+ "privacy": "private",
3754
3736
  "return": {
3755
3737
  "type": {
3756
- "text": "Promise<void>"
3738
+ "text": "void"
3757
3739
  }
3740
+ },
3741
+ "inheritedFrom": {
3742
+ "name": "Accordion",
3743
+ "module": "src/accordion/accordion.ts"
3758
3744
  }
3759
3745
  },
3760
3746
  {
@@ -3869,88 +3855,102 @@
3869
3855
  }
3870
3856
  }
3871
3857
  ],
3872
- "superclass": {
3873
- "name": "FoundationElement",
3874
- "package": "@microsoft/fast-foundation"
3858
+ "events": [
3859
+ {
3860
+ "description": "Fires a custom 'change' event when the active item changes",
3861
+ "name": "change",
3862
+ "inheritedFrom": {
3863
+ "name": "Accordion",
3864
+ "module": "src/accordion/accordion.ts"
3865
+ }
3866
+ }
3867
+ ]
3868
+ },
3869
+ {
3870
+ "kind": "variable",
3871
+ "name": "foundationAccordionShadowOptions",
3872
+ "type": {
3873
+ "text": "ShadowRootInit"
3875
3874
  },
3876
- "tagName": "%%prefix%%-ai-indicator",
3877
- "customElement": true
3875
+ "default": "{\n delegatesFocus: true,\n mode: 'open',\n}"
3878
3876
  },
3879
3877
  {
3880
3878
  "kind": "variable",
3881
- "name": "foundationAiIndicator"
3879
+ "name": "defaultAccordionConfig",
3880
+ "type": {
3881
+ "text": "object"
3882
+ },
3883
+ "default": "{}"
3884
+ },
3885
+ {
3886
+ "kind": "variable",
3887
+ "name": "foundationAccordion",
3888
+ "description": "The Foundation Accordion",
3889
+ "privacy": "public"
3882
3890
  }
3883
3891
  ],
3884
3892
  "exports": [
3885
3893
  {
3886
3894
  "kind": "js",
3887
- "name": "AiIndicator",
3895
+ "name": "Accordion",
3888
3896
  "declaration": {
3889
- "name": "AiIndicator",
3890
- "module": "src/ai-indicator/ai-indicator.ts"
3897
+ "name": "Accordion",
3898
+ "module": "src/accordion/accordion.ts"
3891
3899
  }
3892
3900
  },
3893
3901
  {
3894
3902
  "kind": "js",
3895
- "name": "foundationAiIndicator",
3896
- "declaration": {
3897
- "name": "foundationAiIndicator",
3898
- "module": "src/ai-indicator/ai-indicator.ts"
3899
- }
3900
- }
3901
- ]
3902
- },
3903
- {
3904
- "kind": "javascript-module",
3905
- "path": "src/ai-indicator/index.ts",
3906
- "declarations": [],
3907
- "exports": [
3908
- {
3909
- "kind": "js",
3910
- "name": "AiIndicator",
3903
+ "name": "foundationAccordionShadowOptions",
3911
3904
  "declaration": {
3912
- "name": "AiIndicator",
3913
- "module": "./ai-indicator"
3905
+ "name": "foundationAccordionShadowOptions",
3906
+ "module": "src/accordion/accordion.ts"
3914
3907
  }
3915
3908
  },
3916
3909
  {
3917
3910
  "kind": "js",
3918
- "name": "foundationAiIndicator",
3911
+ "name": "defaultAccordionConfig",
3919
3912
  "declaration": {
3920
- "name": "foundationAiIndicator",
3921
- "module": "./ai-indicator"
3913
+ "name": "defaultAccordionConfig",
3914
+ "module": "src/accordion/accordion.ts"
3922
3915
  }
3923
3916
  },
3924
3917
  {
3925
3918
  "kind": "js",
3926
- "name": "type",
3919
+ "name": "foundationAccordion",
3927
3920
  "declaration": {
3928
- "name": "type",
3929
- "module": "./ai-indicator"
3921
+ "name": "foundationAccordion",
3922
+ "module": "src/accordion/accordion.ts"
3930
3923
  }
3931
- },
3924
+ }
3925
+ ]
3926
+ },
3927
+ {
3928
+ "kind": "javascript-module",
3929
+ "path": "src/accordion/index.ts",
3930
+ "declarations": [],
3931
+ "exports": [
3932
3932
  {
3933
3933
  "kind": "js",
3934
- "name": "AIIndicatorState",
3934
+ "name": "*",
3935
3935
  "declaration": {
3936
- "name": "AIIndicatorState",
3937
- "module": "./ai-indicator"
3936
+ "name": "*",
3937
+ "package": "./accordion.template"
3938
3938
  }
3939
3939
  },
3940
3940
  {
3941
3941
  "kind": "js",
3942
- "name": "foundationAiIndicatorTemplate",
3942
+ "name": "*",
3943
3943
  "declaration": {
3944
- "name": "foundationAiIndicatorTemplate",
3945
- "module": "./ai-indicator.template"
3944
+ "name": "*",
3945
+ "package": "./accordion.styles"
3946
3946
  }
3947
3947
  },
3948
3948
  {
3949
3949
  "kind": "js",
3950
- "name": "foundationAiIndicatorStyles",
3950
+ "name": "*",
3951
3951
  "declaration": {
3952
- "name": "foundationAiIndicatorStyles",
3953
- "module": "./ai-indicator.styles"
3952
+ "name": "*",
3953
+ "package": "./accordion"
3954
3954
  }
3955
3955
  }
3956
3956
  ]
@@ -160,23 +160,23 @@ export declare const AiCriteriaSearch: React.ForwardRefExoticComponent<
160
160
  >;
161
161
  export type AiCriteriaSearchRef = AiCriteriaSearchWC;
162
162
 
163
- export declare const Accordion: React.ForwardRefExoticComponent<
163
+ export declare const AiIndicator: React.ForwardRefExoticComponent<
164
164
  React.PropsWithChildren<
165
- Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
165
+ Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
166
166
  HTMLWCProps & {
167
167
  }
168
- > & React.RefAttributes<AccordionWC>
168
+ > & React.RefAttributes<AiIndicatorWC>
169
169
  >;
170
- export type AccordionRef = AccordionWC;
170
+ export type AiIndicatorRef = AiIndicatorWC;
171
171
 
172
- export declare const AiIndicator: React.ForwardRefExoticComponent<
172
+ export declare const Accordion: React.ForwardRefExoticComponent<
173
173
  React.PropsWithChildren<
174
- Omit<PublicOf<AiIndicatorWC>, 'children' | 'style'> &
174
+ Omit<PublicOf<AccordionWC>, 'children' | 'style'> &
175
175
  HTMLWCProps & {
176
176
  }
177
- > & React.RefAttributes<AiIndicatorWC>
177
+ > & React.RefAttributes<AccordionWC>
178
178
  >;
179
- export type AiIndicatorRef = AiIndicatorWC;
179
+ export type AccordionRef = AccordionWC;
180
180
 
181
181
  export declare const Anchor: React.ForwardRefExoticComponent<
182
182
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -143,14 +143,14 @@ const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props, ref)
143
143
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
144
144
  });
145
145
 
146
- const Accordion = React.forwardRef(function Accordion(props, ref) {
146
+ const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
147
147
  const { children, ...rest } = props;
148
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
148
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
149
149
  });
150
150
 
151
- const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
151
+ const Accordion = React.forwardRef(function Accordion(props, ref) {
152
152
  const { children, ...rest } = props;
153
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
153
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
154
154
  });
155
155
 
156
156
  const Anchor = React.forwardRef(function Anchor(props, ref) {
@@ -1081,8 +1081,8 @@ module.exports = {
1081
1081
  AccordionItem,
1082
1082
  ActionsMenu,
1083
1083
  AiCriteriaSearch,
1084
- Accordion,
1085
1084
  AiIndicator,
1085
+ Accordion,
1086
1086
  Anchor,
1087
1087
  AnchoredRegion,
1088
1088
  Avatar,
package/dist/react.mjs CHANGED
@@ -141,14 +141,14 @@ export const AiCriteriaSearch = React.forwardRef(function AiCriteriaSearch(props
141
141
  return React.createElement(customElements.getName(AiCriteriaSearchWC) ?? '%%prefix%%-ai-criteria-search', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
142
142
  });
143
143
 
144
- export const Accordion = React.forwardRef(function Accordion(props, ref) {
144
+ export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
145
145
  const { children, ...rest } = props;
146
- return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
146
+ return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
147
147
  });
148
148
 
149
- export const AiIndicator = React.forwardRef(function AiIndicator(props, ref) {
149
+ export const Accordion = React.forwardRef(function Accordion(props, ref) {
150
150
  const { children, ...rest } = props;
151
- return React.createElement(customElements.getName(AiIndicatorWC) ?? '%%prefix%%-ai-indicator', { ...rest, ref }, children);
151
+ return React.createElement(customElements.getName(AccordionWC) ?? '%%prefix%%-accordion', { ...rest, ref }, children);
152
152
  });
153
153
 
154
154
  export const Anchor = React.forwardRef(function Anchor(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-ui",
3
3
  "description": "Genesis Foundation UI",
4
- "version": "14.488.0",
4
+ "version": "14.488.1-FUI-2571.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -85,13 +85,13 @@
85
85
  }
86
86
  },
87
87
  "devDependencies": {
88
- "@genesislcap/foundation-testing": "14.488.0",
89
- "@genesislcap/genx": "14.488.0",
90
- "@genesislcap/rollup-builder": "14.488.0",
91
- "@genesislcap/ts-builder": "14.488.0",
92
- "@genesislcap/uvu-playwright-builder": "14.488.0",
93
- "@genesislcap/vite-builder": "14.488.0",
94
- "@genesislcap/webpack-builder": "14.488.0",
88
+ "@genesislcap/foundation-testing": "14.488.1-FUI-2571.1",
89
+ "@genesislcap/genx": "14.488.1-FUI-2571.1",
90
+ "@genesislcap/rollup-builder": "14.488.1-FUI-2571.1",
91
+ "@genesislcap/ts-builder": "14.488.1-FUI-2571.1",
92
+ "@genesislcap/uvu-playwright-builder": "14.488.1-FUI-2571.1",
93
+ "@genesislcap/vite-builder": "14.488.1-FUI-2571.1",
94
+ "@genesislcap/webpack-builder": "14.488.1-FUI-2571.1",
95
95
  "copyfiles": "^2.4.1"
96
96
  },
97
97
  "dependencies": {
@@ -100,16 +100,16 @@
100
100
  "@fortawesome/free-regular-svg-icons": "^6.2.1",
101
101
  "@fortawesome/free-solid-svg-icons": "^6.2.1",
102
102
  "@genesiscommunitysuccess/analyzer-import-alias-plugin": "^5.0.3",
103
- "@genesislcap/expression-builder": "14.488.0",
104
- "@genesislcap/foundation-ai": "14.488.0",
105
- "@genesislcap/foundation-comms": "14.488.0",
106
- "@genesislcap/foundation-criteria": "14.488.0",
107
- "@genesislcap/foundation-errors": "14.488.0",
108
- "@genesislcap/foundation-events": "14.488.0",
109
- "@genesislcap/foundation-logger": "14.488.0",
110
- "@genesislcap/foundation-notifications": "14.488.0",
111
- "@genesislcap/foundation-user": "14.488.0",
112
- "@genesislcap/foundation-utils": "14.488.0",
103
+ "@genesislcap/expression-builder": "14.488.1-FUI-2571.1",
104
+ "@genesislcap/foundation-ai": "14.488.1-FUI-2571.1",
105
+ "@genesislcap/foundation-comms": "14.488.1-FUI-2571.1",
106
+ "@genesislcap/foundation-criteria": "14.488.1-FUI-2571.1",
107
+ "@genesislcap/foundation-errors": "14.488.1-FUI-2571.1",
108
+ "@genesislcap/foundation-events": "14.488.1-FUI-2571.1",
109
+ "@genesislcap/foundation-logger": "14.488.1-FUI-2571.1",
110
+ "@genesislcap/foundation-notifications": "14.488.1-FUI-2571.1",
111
+ "@genesislcap/foundation-user": "14.488.1-FUI-2571.1",
112
+ "@genesislcap/foundation-utils": "14.488.1-FUI-2571.1",
113
113
  "@microsoft/fast-colors": "5.3.1",
114
114
  "@microsoft/fast-components": "2.30.6",
115
115
  "@microsoft/fast-element": "1.14.0",
@@ -142,5 +142,5 @@
142
142
  "require": "./dist/react.cjs"
143
143
  }
144
144
  },
145
- "gitHead": "621daeb7e3612007d300f8510bb6d12b80a5cb53"
145
+ "gitHead": "895e5ee6992484c60ac422e56dfe363b9e4b5add"
146
146
  }