@coveo/atomic 3.58.1 → 3.59.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 +201 -163
- package/dist/cjs/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.cjs +13 -6
- package/dist/cjs/components/search/atomic-breadbox/atomic-breadbox.cjs +13 -6
- package/dist/cjs/global/environment.cjs +1 -1
- package/dist/cjs/versions.cjs +1 -1
- package/dist/esm/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.js +13 -6
- package/dist/esm/components/search/atomic-breadbox/atomic-breadbox.js +13 -6
- package/dist/esm/global/environment.js +1 -1
- package/dist/esm/versions.js +1 -1
- package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts +7 -0
- package/dist/types/components/search/atomic-breadbox/atomic-breadbox.d.ts +7 -0
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
"declarations": [],
|
|
44
44
|
"exports": []
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"kind": "javascript-module",
|
|
48
|
+
"path": "src/autoloader/index.ts",
|
|
49
|
+
"declarations": [],
|
|
50
|
+
"exports": []
|
|
51
|
+
},
|
|
46
52
|
{
|
|
47
53
|
"kind": "javascript-module",
|
|
48
54
|
"path": "src/components/index.ts",
|
|
@@ -432,12 +438,6 @@
|
|
|
432
438
|
"declarations": [],
|
|
433
439
|
"exports": []
|
|
434
440
|
},
|
|
435
|
-
{
|
|
436
|
-
"kind": "javascript-module",
|
|
437
|
-
"path": "src/autoloader/index.ts",
|
|
438
|
-
"declarations": [],
|
|
439
|
-
"exports": []
|
|
440
|
-
},
|
|
441
441
|
{
|
|
442
442
|
"kind": "javascript-module",
|
|
443
443
|
"path": "src/converters/array-converter.ts",
|
|
@@ -1210,19 +1210,19 @@
|
|
|
1210
1210
|
},
|
|
1211
1211
|
{
|
|
1212
1212
|
"kind": "javascript-module",
|
|
1213
|
-
"path": "src/
|
|
1213
|
+
"path": "src/components/search/index.ts",
|
|
1214
1214
|
"declarations": [],
|
|
1215
1215
|
"exports": []
|
|
1216
1216
|
},
|
|
1217
1217
|
{
|
|
1218
1218
|
"kind": "javascript-module",
|
|
1219
|
-
"path": "src/components/search/index.ts",
|
|
1219
|
+
"path": "src/components/search/lazy-index.ts",
|
|
1220
1220
|
"declarations": [],
|
|
1221
1221
|
"exports": []
|
|
1222
1222
|
},
|
|
1223
1223
|
{
|
|
1224
1224
|
"kind": "javascript-module",
|
|
1225
|
-
"path": "src/
|
|
1225
|
+
"path": "src/storybook-docs/e2e/storybook-docs.e2e.ts",
|
|
1226
1226
|
"declarations": [],
|
|
1227
1227
|
"exports": []
|
|
1228
1228
|
},
|
|
@@ -1436,6 +1436,16 @@
|
|
|
1436
1436
|
"privacy": "private",
|
|
1437
1437
|
"default": "''"
|
|
1438
1438
|
},
|
|
1439
|
+
{
|
|
1440
|
+
"kind": "field",
|
|
1441
|
+
"name": "disableCollapse",
|
|
1442
|
+
"type": {
|
|
1443
|
+
"text": "boolean"
|
|
1444
|
+
},
|
|
1445
|
+
"default": "false",
|
|
1446
|
+
"description": "Whether to disable the collapsing behavior of breadcrumbs.\n\nWhen set, all breadcrumbs are always displayed in a wrapping layout\ninstead of being collapsed into a single row with a \"+ N\" show more button.",
|
|
1447
|
+
"attribute": "disable-collapse"
|
|
1448
|
+
},
|
|
1439
1449
|
{
|
|
1440
1450
|
"kind": "field",
|
|
1441
1451
|
"name": "breadboxAriaMessage",
|
|
@@ -1586,6 +1596,15 @@
|
|
|
1586
1596
|
}
|
|
1587
1597
|
],
|
|
1588
1598
|
"attributes": [
|
|
1599
|
+
{
|
|
1600
|
+
"name": "disable-collapse",
|
|
1601
|
+
"type": {
|
|
1602
|
+
"text": "boolean"
|
|
1603
|
+
},
|
|
1604
|
+
"default": "false",
|
|
1605
|
+
"description": "Whether to disable the collapsing behavior of breadcrumbs.\n\nWhen set, all breadcrumbs are always displayed in a wrapping layout\ninstead of being collapsed into a single row with a \"+ N\" show more button.",
|
|
1606
|
+
"fieldName": "disableCollapse"
|
|
1607
|
+
},
|
|
1589
1608
|
{
|
|
1590
1609
|
"name": "path-limit",
|
|
1591
1610
|
"type": {
|
|
@@ -12319,6 +12338,18 @@
|
|
|
12319
12338
|
"declarations": [],
|
|
12320
12339
|
"exports": []
|
|
12321
12340
|
},
|
|
12341
|
+
{
|
|
12342
|
+
"kind": "javascript-module",
|
|
12343
|
+
"path": "src/components/common/atomic-ask-follow-up-input/atomic-ask-follow-up-input.ts",
|
|
12344
|
+
"declarations": [],
|
|
12345
|
+
"exports": []
|
|
12346
|
+
},
|
|
12347
|
+
{
|
|
12348
|
+
"kind": "javascript-module",
|
|
12349
|
+
"path": "src/components/common/atomic-ask-follow-up-input/atomic-ask-follow-up-input.tw.css.ts",
|
|
12350
|
+
"declarations": [],
|
|
12351
|
+
"exports": []
|
|
12352
|
+
},
|
|
12322
12353
|
{
|
|
12323
12354
|
"kind": "javascript-module",
|
|
12324
12355
|
"path": "src/components/common/atomic-agent-stream-of-thought/atomic-agent-stream-of-thought.ts",
|
|
@@ -12331,6 +12362,94 @@
|
|
|
12331
12362
|
"declarations": [],
|
|
12332
12363
|
"exports": []
|
|
12333
12364
|
},
|
|
12365
|
+
{
|
|
12366
|
+
"kind": "javascript-module",
|
|
12367
|
+
"path": "src/components/common/atomic-citation/atomic-citation.ts",
|
|
12368
|
+
"declarations": [],
|
|
12369
|
+
"exports": []
|
|
12370
|
+
},
|
|
12371
|
+
{
|
|
12372
|
+
"kind": "javascript-module",
|
|
12373
|
+
"path": "src/components/common/atomic-citation/atomic-citation.tw.css.ts",
|
|
12374
|
+
"declarations": [],
|
|
12375
|
+
"exports": []
|
|
12376
|
+
},
|
|
12377
|
+
{
|
|
12378
|
+
"kind": "javascript-module",
|
|
12379
|
+
"path": "src/components/common/atomic-citation/citation-anchoring-utils.ts",
|
|
12380
|
+
"declarations": [],
|
|
12381
|
+
"exports": []
|
|
12382
|
+
},
|
|
12383
|
+
{
|
|
12384
|
+
"kind": "javascript-module",
|
|
12385
|
+
"path": "src/components/common/atomic-component-error/atomic-component-error.ts",
|
|
12386
|
+
"declarations": [
|
|
12387
|
+
{
|
|
12388
|
+
"kind": "class",
|
|
12389
|
+
"description": "The `atomic-component-error` component is used by other components to render and log errors.",
|
|
12390
|
+
"name": "AtomicComponentError",
|
|
12391
|
+
"members": [
|
|
12392
|
+
{
|
|
12393
|
+
"kind": "field",
|
|
12394
|
+
"name": "element",
|
|
12395
|
+
"type": {
|
|
12396
|
+
"text": "HTMLElement"
|
|
12397
|
+
},
|
|
12398
|
+
"attribute": "element"
|
|
12399
|
+
},
|
|
12400
|
+
{
|
|
12401
|
+
"kind": "field",
|
|
12402
|
+
"name": "error",
|
|
12403
|
+
"type": {
|
|
12404
|
+
"text": "Error"
|
|
12405
|
+
},
|
|
12406
|
+
"attribute": "error",
|
|
12407
|
+
"privacy": "private"
|
|
12408
|
+
}
|
|
12409
|
+
],
|
|
12410
|
+
"attributes": [
|
|
12411
|
+
{
|
|
12412
|
+
"name": "element",
|
|
12413
|
+
"type": {
|
|
12414
|
+
"text": "HTMLElement"
|
|
12415
|
+
},
|
|
12416
|
+
"fieldName": "element"
|
|
12417
|
+
}
|
|
12418
|
+
],
|
|
12419
|
+
"superclass": {
|
|
12420
|
+
"name": "LitElement",
|
|
12421
|
+
"package": "lit"
|
|
12422
|
+
},
|
|
12423
|
+
"events": [],
|
|
12424
|
+
"tagName": "atomic-component-error",
|
|
12425
|
+
"customElement": true
|
|
12426
|
+
}
|
|
12427
|
+
],
|
|
12428
|
+
"exports": [
|
|
12429
|
+
{
|
|
12430
|
+
"kind": "js",
|
|
12431
|
+
"name": "AtomicComponentError",
|
|
12432
|
+
"declaration": {
|
|
12433
|
+
"name": "AtomicComponentError",
|
|
12434
|
+
"module": "src/components/common/atomic-component-error/atomic-component-error.ts"
|
|
12435
|
+
}
|
|
12436
|
+
},
|
|
12437
|
+
{
|
|
12438
|
+
"kind": "custom-element-definition",
|
|
12439
|
+
"name": "atomic-component-error",
|
|
12440
|
+
"declaration": {
|
|
12441
|
+
"name": "AtomicComponentError",
|
|
12442
|
+
"module": "src/components/common/atomic-component-error/atomic-component-error.ts"
|
|
12443
|
+
}
|
|
12444
|
+
}
|
|
12445
|
+
]
|
|
12446
|
+
},
|
|
12447
|
+
{
|
|
12448
|
+
"kind": "javascript-module",
|
|
12449
|
+
"path": "src/components/common/atomic-facet-date-input/atomic-facet-date-input.ts",
|
|
12450
|
+
"declarations": [],
|
|
12451
|
+
"exports": []
|
|
12452
|
+
},
|
|
12334
12453
|
{
|
|
12335
12454
|
"kind": "javascript-module",
|
|
12336
12455
|
"path": "src/components/common/atomic-aria-live/atomic-aria-live.ts",
|
|
@@ -12499,106 +12618,6 @@
|
|
|
12499
12618
|
}
|
|
12500
12619
|
]
|
|
12501
12620
|
},
|
|
12502
|
-
{
|
|
12503
|
-
"kind": "javascript-module",
|
|
12504
|
-
"path": "src/components/common/atomic-ask-follow-up-input/atomic-ask-follow-up-input.ts",
|
|
12505
|
-
"declarations": [],
|
|
12506
|
-
"exports": []
|
|
12507
|
-
},
|
|
12508
|
-
{
|
|
12509
|
-
"kind": "javascript-module",
|
|
12510
|
-
"path": "src/components/common/atomic-ask-follow-up-input/atomic-ask-follow-up-input.tw.css.ts",
|
|
12511
|
-
"declarations": [],
|
|
12512
|
-
"exports": []
|
|
12513
|
-
},
|
|
12514
|
-
{
|
|
12515
|
-
"kind": "javascript-module",
|
|
12516
|
-
"path": "src/components/common/atomic-citation/atomic-citation.ts",
|
|
12517
|
-
"declarations": [],
|
|
12518
|
-
"exports": []
|
|
12519
|
-
},
|
|
12520
|
-
{
|
|
12521
|
-
"kind": "javascript-module",
|
|
12522
|
-
"path": "src/components/common/atomic-citation/atomic-citation.tw.css.ts",
|
|
12523
|
-
"declarations": [],
|
|
12524
|
-
"exports": []
|
|
12525
|
-
},
|
|
12526
|
-
{
|
|
12527
|
-
"kind": "javascript-module",
|
|
12528
|
-
"path": "src/components/common/atomic-citation/citation-anchoring-utils.ts",
|
|
12529
|
-
"declarations": [],
|
|
12530
|
-
"exports": []
|
|
12531
|
-
},
|
|
12532
|
-
{
|
|
12533
|
-
"kind": "javascript-module",
|
|
12534
|
-
"path": "src/components/common/atomic-component-error/atomic-component-error.ts",
|
|
12535
|
-
"declarations": [
|
|
12536
|
-
{
|
|
12537
|
-
"kind": "class",
|
|
12538
|
-
"description": "The `atomic-component-error` component is used by other components to render and log errors.",
|
|
12539
|
-
"name": "AtomicComponentError",
|
|
12540
|
-
"members": [
|
|
12541
|
-
{
|
|
12542
|
-
"kind": "field",
|
|
12543
|
-
"name": "element",
|
|
12544
|
-
"type": {
|
|
12545
|
-
"text": "HTMLElement"
|
|
12546
|
-
},
|
|
12547
|
-
"attribute": "element"
|
|
12548
|
-
},
|
|
12549
|
-
{
|
|
12550
|
-
"kind": "field",
|
|
12551
|
-
"name": "error",
|
|
12552
|
-
"type": {
|
|
12553
|
-
"text": "Error"
|
|
12554
|
-
},
|
|
12555
|
-
"attribute": "error",
|
|
12556
|
-
"privacy": "private"
|
|
12557
|
-
}
|
|
12558
|
-
],
|
|
12559
|
-
"attributes": [
|
|
12560
|
-
{
|
|
12561
|
-
"name": "element",
|
|
12562
|
-
"type": {
|
|
12563
|
-
"text": "HTMLElement"
|
|
12564
|
-
},
|
|
12565
|
-
"fieldName": "element"
|
|
12566
|
-
}
|
|
12567
|
-
],
|
|
12568
|
-
"superclass": {
|
|
12569
|
-
"name": "LitElement",
|
|
12570
|
-
"package": "lit"
|
|
12571
|
-
},
|
|
12572
|
-
"events": [],
|
|
12573
|
-
"tagName": "atomic-component-error",
|
|
12574
|
-
"customElement": true
|
|
12575
|
-
}
|
|
12576
|
-
],
|
|
12577
|
-
"exports": [
|
|
12578
|
-
{
|
|
12579
|
-
"kind": "js",
|
|
12580
|
-
"name": "AtomicComponentError",
|
|
12581
|
-
"declaration": {
|
|
12582
|
-
"name": "AtomicComponentError",
|
|
12583
|
-
"module": "src/components/common/atomic-component-error/atomic-component-error.ts"
|
|
12584
|
-
}
|
|
12585
|
-
},
|
|
12586
|
-
{
|
|
12587
|
-
"kind": "custom-element-definition",
|
|
12588
|
-
"name": "atomic-component-error",
|
|
12589
|
-
"declaration": {
|
|
12590
|
-
"name": "AtomicComponentError",
|
|
12591
|
-
"module": "src/components/common/atomic-component-error/atomic-component-error.ts"
|
|
12592
|
-
}
|
|
12593
|
-
}
|
|
12594
|
-
]
|
|
12595
|
-
},
|
|
12596
|
-
{
|
|
12597
|
-
"kind": "javascript-module",
|
|
12598
|
-
"path": "src/components/common/atomic-facet-date-input/atomic-facet-date-input.ts",
|
|
12599
|
-
"declarations": [],
|
|
12600
|
-
"exports": []
|
|
12601
|
-
},
|
|
12602
12621
|
{
|
|
12603
12622
|
"kind": "javascript-module",
|
|
12604
12623
|
"path": "src/components/common/atomic-facet-number-input/atomic-facet-number-input.ts",
|
|
@@ -14216,6 +14235,18 @@
|
|
|
14216
14235
|
"declarations": [],
|
|
14217
14236
|
"exports": []
|
|
14218
14237
|
},
|
|
14238
|
+
{
|
|
14239
|
+
"kind": "javascript-module",
|
|
14240
|
+
"path": "src/components/common/image-carousel/image-carousel-indicators.ts",
|
|
14241
|
+
"declarations": [],
|
|
14242
|
+
"exports": []
|
|
14243
|
+
},
|
|
14244
|
+
{
|
|
14245
|
+
"kind": "javascript-module",
|
|
14246
|
+
"path": "src/components/common/image-carousel/image-carousel.ts",
|
|
14247
|
+
"declarations": [],
|
|
14248
|
+
"exports": []
|
|
14249
|
+
},
|
|
14219
14250
|
{
|
|
14220
14251
|
"kind": "javascript-module",
|
|
14221
14252
|
"path": "src/components/common/generated-answer/copy-button.ts",
|
|
@@ -14306,18 +14337,6 @@
|
|
|
14306
14337
|
"declarations": [],
|
|
14307
14338
|
"exports": []
|
|
14308
14339
|
},
|
|
14309
|
-
{
|
|
14310
|
-
"kind": "javascript-module",
|
|
14311
|
-
"path": "src/components/common/image-carousel/image-carousel-indicators.ts",
|
|
14312
|
-
"declarations": [],
|
|
14313
|
-
"exports": []
|
|
14314
|
-
},
|
|
14315
|
-
{
|
|
14316
|
-
"kind": "javascript-module",
|
|
14317
|
-
"path": "src/components/common/image-carousel/image-carousel.ts",
|
|
14318
|
-
"declarations": [],
|
|
14319
|
-
"exports": []
|
|
14320
|
-
},
|
|
14321
14340
|
{
|
|
14322
14341
|
"kind": "javascript-module",
|
|
14323
14342
|
"path": "src/components/common/interface/analytics-config.ts",
|
|
@@ -27102,6 +27121,16 @@
|
|
|
27102
27121
|
"privacy": "private",
|
|
27103
27122
|
"default": "''"
|
|
27104
27123
|
},
|
|
27124
|
+
{
|
|
27125
|
+
"kind": "field",
|
|
27126
|
+
"name": "disableCollapse",
|
|
27127
|
+
"type": {
|
|
27128
|
+
"text": "boolean"
|
|
27129
|
+
},
|
|
27130
|
+
"default": "false",
|
|
27131
|
+
"description": "Whether to disable the collapsing behavior of breadcrumbs.\n\nWhen set, all breadcrumbs are always displayed in a wrapping layout\ninstead of being collapsed into a single row with a \"+ N\" show more button.",
|
|
27132
|
+
"attribute": "disable-collapse"
|
|
27133
|
+
},
|
|
27105
27134
|
{
|
|
27106
27135
|
"kind": "field",
|
|
27107
27136
|
"name": "breadboxAriaMessage",
|
|
@@ -27275,6 +27304,15 @@
|
|
|
27275
27304
|
}
|
|
27276
27305
|
],
|
|
27277
27306
|
"attributes": [
|
|
27307
|
+
{
|
|
27308
|
+
"name": "disable-collapse",
|
|
27309
|
+
"type": {
|
|
27310
|
+
"text": "boolean"
|
|
27311
|
+
},
|
|
27312
|
+
"default": "false",
|
|
27313
|
+
"description": "Whether to disable the collapsing behavior of breadcrumbs.\n\nWhen set, all breadcrumbs are always displayed in a wrapping layout\ninstead of being collapsed into a single row with a \"+ N\" show more button.",
|
|
27314
|
+
"fieldName": "disableCollapse"
|
|
27315
|
+
},
|
|
27278
27316
|
{
|
|
27279
27317
|
"name": "path-limit",
|
|
27280
27318
|
"type": {
|
|
@@ -47236,37 +47274,37 @@
|
|
|
47236
47274
|
},
|
|
47237
47275
|
{
|
|
47238
47276
|
"kind": "javascript-module",
|
|
47239
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47277
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/e2e/atomic-commerce-did-you-mean.e2e.ts",
|
|
47240
47278
|
"declarations": [],
|
|
47241
47279
|
"exports": []
|
|
47242
47280
|
},
|
|
47243
47281
|
{
|
|
47244
47282
|
"kind": "javascript-module",
|
|
47245
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47283
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/e2e/fixture.ts",
|
|
47246
47284
|
"declarations": [],
|
|
47247
47285
|
"exports": []
|
|
47248
47286
|
},
|
|
47249
47287
|
{
|
|
47250
47288
|
"kind": "javascript-module",
|
|
47251
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47289
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/e2e/page-object.ts",
|
|
47252
47290
|
"declarations": [],
|
|
47253
47291
|
"exports": []
|
|
47254
47292
|
},
|
|
47255
47293
|
{
|
|
47256
47294
|
"kind": "javascript-module",
|
|
47257
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47295
|
+
"path": "src/components/commerce/atomic-commerce-category-facet/e2e/atomic-commerce-category-facet.e2e.ts",
|
|
47258
47296
|
"declarations": [],
|
|
47259
47297
|
"exports": []
|
|
47260
47298
|
},
|
|
47261
47299
|
{
|
|
47262
47300
|
"kind": "javascript-module",
|
|
47263
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47301
|
+
"path": "src/components/commerce/atomic-commerce-category-facet/e2e/fixture.ts",
|
|
47264
47302
|
"declarations": [],
|
|
47265
47303
|
"exports": []
|
|
47266
47304
|
},
|
|
47267
47305
|
{
|
|
47268
47306
|
"kind": "javascript-module",
|
|
47269
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47307
|
+
"path": "src/components/commerce/atomic-commerce-category-facet/e2e/page-object.ts",
|
|
47270
47308
|
"declarations": [],
|
|
47271
47309
|
"exports": []
|
|
47272
47310
|
},
|
|
@@ -47924,6 +47962,12 @@
|
|
|
47924
47962
|
"declarations": [],
|
|
47925
47963
|
"exports": []
|
|
47926
47964
|
},
|
|
47965
|
+
{
|
|
47966
|
+
"kind": "javascript-module",
|
|
47967
|
+
"path": "src/components/common/facets/e2e/page-object.ts",
|
|
47968
|
+
"declarations": [],
|
|
47969
|
+
"exports": []
|
|
47970
|
+
},
|
|
47927
47971
|
{
|
|
47928
47972
|
"kind": "javascript-module",
|
|
47929
47973
|
"path": "src/components/common/facets/category-facet/all-categories-button.ts",
|
|
@@ -47984,12 +48028,6 @@
|
|
|
47984
48028
|
"declarations": [],
|
|
47985
48029
|
"exports": []
|
|
47986
48030
|
},
|
|
47987
|
-
{
|
|
47988
|
-
"kind": "javascript-module",
|
|
47989
|
-
"path": "src/components/common/facets/e2e/page-object.ts",
|
|
47990
|
-
"declarations": [],
|
|
47991
|
-
"exports": []
|
|
47992
|
-
},
|
|
47993
48031
|
{
|
|
47994
48032
|
"kind": "javascript-module",
|
|
47995
48033
|
"path": "src/components/common/facets/facet-container/facet-container.ts",
|
|
@@ -48421,24 +48459,6 @@
|
|
|
48421
48459
|
"declarations": [],
|
|
48422
48460
|
"exports": []
|
|
48423
48461
|
},
|
|
48424
|
-
{
|
|
48425
|
-
"kind": "javascript-module",
|
|
48426
|
-
"path": "src/components/insight/atomic-insight-generated-answer/e2e/atomic-insight-generated-answer.e2e.ts",
|
|
48427
|
-
"declarations": [],
|
|
48428
|
-
"exports": []
|
|
48429
|
-
},
|
|
48430
|
-
{
|
|
48431
|
-
"kind": "javascript-module",
|
|
48432
|
-
"path": "src/components/insight/atomic-insight-generated-answer/e2e/fixture.ts",
|
|
48433
|
-
"declarations": [],
|
|
48434
|
-
"exports": []
|
|
48435
|
-
},
|
|
48436
|
-
{
|
|
48437
|
-
"kind": "javascript-module",
|
|
48438
|
-
"path": "src/components/insight/atomic-insight-generated-answer/e2e/page-object.ts",
|
|
48439
|
-
"declarations": [],
|
|
48440
|
-
"exports": []
|
|
48441
|
-
},
|
|
48442
48462
|
{
|
|
48443
48463
|
"kind": "javascript-module",
|
|
48444
48464
|
"path": "src/components/insight/atomic-insight-interface/e2e/atomic-insight-interface.e2e.ts",
|
|
@@ -48495,37 +48515,37 @@
|
|
|
48495
48515
|
},
|
|
48496
48516
|
{
|
|
48497
48517
|
"kind": "javascript-module",
|
|
48498
|
-
"path": "src/components/insight/atomic-insight-
|
|
48518
|
+
"path": "src/components/insight/atomic-insight-pager/e2e/atomic-insight-pager.e2e.ts",
|
|
48499
48519
|
"declarations": [],
|
|
48500
48520
|
"exports": []
|
|
48501
48521
|
},
|
|
48502
48522
|
{
|
|
48503
48523
|
"kind": "javascript-module",
|
|
48504
|
-
"path": "src/components/insight/atomic-insight-
|
|
48524
|
+
"path": "src/components/insight/atomic-insight-pager/e2e/fixture.ts",
|
|
48505
48525
|
"declarations": [],
|
|
48506
48526
|
"exports": []
|
|
48507
48527
|
},
|
|
48508
48528
|
{
|
|
48509
48529
|
"kind": "javascript-module",
|
|
48510
|
-
"path": "src/components/insight/atomic-insight-
|
|
48530
|
+
"path": "src/components/insight/atomic-insight-pager/e2e/page-object.ts",
|
|
48511
48531
|
"declarations": [],
|
|
48512
48532
|
"exports": []
|
|
48513
48533
|
},
|
|
48514
48534
|
{
|
|
48515
48535
|
"kind": "javascript-module",
|
|
48516
|
-
"path": "src/components/insight/atomic-insight-
|
|
48536
|
+
"path": "src/components/insight/atomic-insight-query-error/e2e/atomic-insight-query-error.e2e.ts",
|
|
48517
48537
|
"declarations": [],
|
|
48518
48538
|
"exports": []
|
|
48519
48539
|
},
|
|
48520
48540
|
{
|
|
48521
48541
|
"kind": "javascript-module",
|
|
48522
|
-
"path": "src/components/insight/atomic-insight-
|
|
48542
|
+
"path": "src/components/insight/atomic-insight-query-error/e2e/fixture.ts",
|
|
48523
48543
|
"declarations": [],
|
|
48524
48544
|
"exports": []
|
|
48525
48545
|
},
|
|
48526
48546
|
{
|
|
48527
48547
|
"kind": "javascript-module",
|
|
48528
|
-
"path": "src/components/insight/atomic-insight-
|
|
48548
|
+
"path": "src/components/insight/atomic-insight-query-error/e2e/page-object.ts",
|
|
48529
48549
|
"declarations": [],
|
|
48530
48550
|
"exports": []
|
|
48531
48551
|
},
|
|
@@ -48637,6 +48657,24 @@
|
|
|
48637
48657
|
"declarations": [],
|
|
48638
48658
|
"exports": []
|
|
48639
48659
|
},
|
|
48660
|
+
{
|
|
48661
|
+
"kind": "javascript-module",
|
|
48662
|
+
"path": "src/components/insight/atomic-insight-generated-answer/e2e/atomic-insight-generated-answer.e2e.ts",
|
|
48663
|
+
"declarations": [],
|
|
48664
|
+
"exports": []
|
|
48665
|
+
},
|
|
48666
|
+
{
|
|
48667
|
+
"kind": "javascript-module",
|
|
48668
|
+
"path": "src/components/insight/atomic-insight-generated-answer/e2e/fixture.ts",
|
|
48669
|
+
"declarations": [],
|
|
48670
|
+
"exports": []
|
|
48671
|
+
},
|
|
48672
|
+
{
|
|
48673
|
+
"kind": "javascript-module",
|
|
48674
|
+
"path": "src/components/insight/atomic-insight-generated-answer/e2e/page-object.ts",
|
|
48675
|
+
"declarations": [],
|
|
48676
|
+
"exports": []
|
|
48677
|
+
},
|
|
48640
48678
|
{
|
|
48641
48679
|
"kind": "javascript-module",
|
|
48642
48680
|
"path": "src/components/insight/atomic-insight-result-attach-to-case-indicator/e2e/atomic-insight-result-attach-to-case-indicator.e2e.ts",
|
|
@@ -49251,37 +49289,37 @@
|
|
|
49251
49289
|
},
|
|
49252
49290
|
{
|
|
49253
49291
|
"kind": "javascript-module",
|
|
49254
|
-
"path": "src/components/search/atomic-
|
|
49292
|
+
"path": "src/components/search/atomic-generated-answer/e2e/atomic-generated-answer.e2e.ts",
|
|
49255
49293
|
"declarations": [],
|
|
49256
49294
|
"exports": []
|
|
49257
49295
|
},
|
|
49258
49296
|
{
|
|
49259
49297
|
"kind": "javascript-module",
|
|
49260
|
-
"path": "src/components/search/atomic-
|
|
49298
|
+
"path": "src/components/search/atomic-generated-answer/e2e/fixture.ts",
|
|
49261
49299
|
"declarations": [],
|
|
49262
49300
|
"exports": []
|
|
49263
49301
|
},
|
|
49264
49302
|
{
|
|
49265
49303
|
"kind": "javascript-module",
|
|
49266
|
-
"path": "src/components/search/atomic-
|
|
49304
|
+
"path": "src/components/search/atomic-generated-answer/e2e/page-object.ts",
|
|
49267
49305
|
"declarations": [],
|
|
49268
49306
|
"exports": []
|
|
49269
49307
|
},
|
|
49270
49308
|
{
|
|
49271
49309
|
"kind": "javascript-module",
|
|
49272
|
-
"path": "src/components/search/atomic-
|
|
49310
|
+
"path": "src/components/search/atomic-html/e2e/atomic-html.e2e.ts",
|
|
49273
49311
|
"declarations": [],
|
|
49274
49312
|
"exports": []
|
|
49275
49313
|
},
|
|
49276
49314
|
{
|
|
49277
49315
|
"kind": "javascript-module",
|
|
49278
|
-
"path": "src/components/search/atomic-
|
|
49316
|
+
"path": "src/components/search/atomic-html/e2e/fixture.ts",
|
|
49279
49317
|
"declarations": [],
|
|
49280
49318
|
"exports": []
|
|
49281
49319
|
},
|
|
49282
49320
|
{
|
|
49283
49321
|
"kind": "javascript-module",
|
|
49284
|
-
"path": "src/components/search/atomic-
|
|
49322
|
+
"path": "src/components/search/atomic-html/e2e/page-object.ts",
|
|
49285
49323
|
"declarations": [],
|
|
49286
49324
|
"exports": []
|
|
49287
49325
|
},
|
|
@@ -62,7 +62,8 @@ class AtomicCommerceBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
62
62
|
else this.searchOrListing = (0, commerce_namespaceObject.buildSearch)(this.bindings.engine);
|
|
63
63
|
this.context = (0, commerce_namespaceObject.buildContext)(this.bindings.engine);
|
|
64
64
|
this.breadcrumbManager = this.searchOrListing.breadcrumbManager();
|
|
65
|
-
if (
|
|
65
|
+
if (this.disableCollapse) this.isCollapsed = false;
|
|
66
|
+
else if (window.ResizeObserver && this.parentElement) {
|
|
66
67
|
this.resizeObserver = new ResizeObserver(()=>this.adaptBreadcrumbs());
|
|
67
68
|
this.resizeObserver.observe(this.parentElement);
|
|
68
69
|
}
|
|
@@ -95,7 +96,7 @@ class AtomicCommerceBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
95
96
|
this.breadcrumbs.forEach((breadcrumb)=>this.show(breadcrumb));
|
|
96
97
|
}
|
|
97
98
|
adaptBreadcrumbs() {
|
|
98
|
-
if (!this.breadcrumbs.length) return;
|
|
99
|
+
if (this.disableCollapse || !this.breadcrumbs.length) return;
|
|
99
100
|
this.showAllBreadcrumbs();
|
|
100
101
|
if (!this.isCollapsed) return void this.updateShowLessDisplay();
|
|
101
102
|
this.hideOverflowingBreadcrumbs();
|
|
@@ -175,7 +176,7 @@ class AtomicCommerceBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
175
176
|
i18n: this.bindings.i18n
|
|
176
177
|
}
|
|
177
178
|
})((0, external_lit_namespaceObject.html)`${this.renderBreadcrumbs(breadcrumbs)}
|
|
178
|
-
${(0, breadcrumb_show_more_cjs_namespaceObject.renderBreadcrumbShowMore)({
|
|
179
|
+
${this.disableCollapse ? external_lit_namespaceObject.nothing : (0, external_lit_namespaceObject.html)`${(0, breadcrumb_show_more_cjs_namespaceObject.renderBreadcrumbShowMore)({
|
|
179
180
|
props: {
|
|
180
181
|
refCallback: async (el)=>{
|
|
181
182
|
await this.breadcrumbShowLessFocus.setTarget(el);
|
|
@@ -194,7 +195,7 @@ class AtomicCommerceBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
194
195
|
})
|
|
195
196
|
}
|
|
196
197
|
})}
|
|
197
|
-
|
|
198
|
+
${(0, breadcrumb_show_less_cjs_namespaceObject.renderBreadcrumbShowLess)({
|
|
198
199
|
props: {
|
|
199
200
|
onShowLess: ()=>{
|
|
200
201
|
this.breadcrumbShowLessFocus.focusOnNextTarget();
|
|
@@ -203,7 +204,7 @@ class AtomicCommerceBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
203
204
|
isCollapsed: this.isCollapsed,
|
|
204
205
|
i18n: this.bindings.i18n
|
|
205
206
|
}
|
|
206
|
-
})}
|
|
207
|
+
})}`}
|
|
207
208
|
${(0, breadcrumb_clear_all_cjs_namespaceObject.renderBreadcrumbClearAll)({
|
|
208
209
|
props: {
|
|
209
210
|
refCallback: async (ref)=>{
|
|
@@ -220,7 +221,7 @@ class AtomicCommerceBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
220
221
|
})} `)}`;
|
|
221
222
|
}
|
|
222
223
|
constructor(){
|
|
223
|
-
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.breadboxAriaMessage = new accessibility_utils_cjs_namespaceObject.AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3, this.valueForFacetType = (type, field, value)=>{
|
|
224
|
+
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.disableCollapse = false, this.breadboxAriaMessage = new accessibility_utils_cjs_namespaceObject.AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3, this.valueForFacetType = (type, field, value)=>{
|
|
224
225
|
switch(type){
|
|
225
226
|
case 'numericalRange':
|
|
226
227
|
return [
|
|
@@ -299,6 +300,12 @@ _ts_decorate([
|
|
|
299
300
|
_ts_decorate([
|
|
300
301
|
(0, decorators_js_namespaceObject.state)()
|
|
301
302
|
], AtomicCommerceBreadbox.prototype, "showMoreText", void 0);
|
|
303
|
+
_ts_decorate([
|
|
304
|
+
(0, decorators_js_namespaceObject.property)({
|
|
305
|
+
type: Boolean,
|
|
306
|
+
attribute: 'disable-collapse'
|
|
307
|
+
})
|
|
308
|
+
], AtomicCommerceBreadbox.prototype, "disableCollapse", void 0);
|
|
302
309
|
_ts_decorate([
|
|
303
310
|
(0, decorators_js_namespaceObject.property)({
|
|
304
311
|
type: Number,
|
|
@@ -57,7 +57,8 @@ class AtomicBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
57
57
|
initialize() {
|
|
58
58
|
this.breadcrumbManager = (0, headless_namespaceObject.buildBreadcrumbManager)(this.bindings.engine);
|
|
59
59
|
this.facetManager = (0, headless_namespaceObject.buildFacetManager)(this.bindings.engine);
|
|
60
|
-
if (
|
|
60
|
+
if (this.disableCollapse) this.isCollapsed = false;
|
|
61
|
+
else if (window.ResizeObserver && this.parentElement) {
|
|
61
62
|
this.resizeObserver = new ResizeObserver(()=>this.adaptBreadcrumbs());
|
|
62
63
|
this.resizeObserver.observe(this.parentElement);
|
|
63
64
|
}
|
|
@@ -77,7 +78,7 @@ class AtomicBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
77
78
|
i18n: this.bindings.i18n
|
|
78
79
|
}
|
|
79
80
|
})((0, external_lit_namespaceObject.html)`${this.renderBreadcrumbs(breadcrumbs)}
|
|
80
|
-
${(0, breadcrumb_show_more_cjs_namespaceObject.renderBreadcrumbShowMore)({
|
|
81
|
+
${this.disableCollapse ? external_lit_namespaceObject.nothing : (0, external_lit_namespaceObject.html)`${(0, breadcrumb_show_more_cjs_namespaceObject.renderBreadcrumbShowMore)({
|
|
81
82
|
props: {
|
|
82
83
|
refCallback: async (el)=>{
|
|
83
84
|
await this.breadcrumbShowLessFocus.setTarget(el);
|
|
@@ -96,7 +97,7 @@ class AtomicBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
96
97
|
})
|
|
97
98
|
}
|
|
98
99
|
})}
|
|
99
|
-
|
|
100
|
+
${(0, breadcrumb_show_less_cjs_namespaceObject.renderBreadcrumbShowLess)({
|
|
100
101
|
props: {
|
|
101
102
|
onShowLess: ()=>{
|
|
102
103
|
this.breadcrumbShowLessFocus.focusOnNextTarget();
|
|
@@ -105,7 +106,7 @@ class AtomicBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
105
106
|
isCollapsed: this.isCollapsed,
|
|
106
107
|
i18n: this.bindings.i18n
|
|
107
108
|
}
|
|
108
|
-
})}
|
|
109
|
+
})}`}
|
|
109
110
|
${(0, breadcrumb_clear_all_cjs_namespaceObject.renderBreadcrumbClearAll)({
|
|
110
111
|
props: {
|
|
111
112
|
refCallback: async (ref)=>{
|
|
@@ -144,7 +145,7 @@ class AtomicBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
144
145
|
this.breadcrumbs.forEach((breadcrumb)=>this.show(breadcrumb));
|
|
145
146
|
}
|
|
146
147
|
adaptBreadcrumbs() {
|
|
147
|
-
if (!this.breadcrumbs.length) return;
|
|
148
|
+
if (this.disableCollapse || !this.breadcrumbs.length) return;
|
|
148
149
|
this.showAllBreadcrumbs();
|
|
149
150
|
if (!this.isCollapsed) return void this.updateShowLessDisplay();
|
|
150
151
|
this.hideOverflowingBreadcrumbs();
|
|
@@ -288,7 +289,7 @@ class AtomicBreadbox extends external_lit_namespaceObject.LitElement {
|
|
|
288
289
|
});
|
|
289
290
|
}
|
|
290
291
|
constructor(){
|
|
291
|
-
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.breadboxAriaMessage = new accessibility_utils_cjs_namespaceObject.AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3;
|
|
292
|
+
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.disableCollapse = false, this.breadboxAriaMessage = new accessibility_utils_cjs_namespaceObject.AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3;
|
|
292
293
|
new validate_props_controller_cjs_namespaceObject.ValidatePropsController(this, ()=>({
|
|
293
294
|
pathLimit: this.pathLimit
|
|
294
295
|
}), AtomicBreadbox.propsSchema);
|
|
@@ -332,6 +333,12 @@ _ts_decorate([
|
|
|
332
333
|
_ts_decorate([
|
|
333
334
|
(0, decorators_js_namespaceObject.state)()
|
|
334
335
|
], AtomicBreadbox.prototype, "showMoreText", void 0);
|
|
336
|
+
_ts_decorate([
|
|
337
|
+
(0, decorators_js_namespaceObject.property)({
|
|
338
|
+
type: Boolean,
|
|
339
|
+
attribute: 'disable-collapse'
|
|
340
|
+
})
|
|
341
|
+
], AtomicBreadbox.prototype, "disableCollapse", void 0);
|
|
335
342
|
_ts_decorate([
|
|
336
343
|
(0, decorators_js_namespaceObject.property)({
|
|
337
344
|
type: Number,
|
package/dist/cjs/versions.cjs
CHANGED
|
@@ -28,7 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
headlessVersion: ()=>package_json_namespaceObject.version
|
|
29
29
|
});
|
|
30
30
|
const package_json_namespaceObject = require("@coveo/headless/package.json");
|
|
31
|
-
const atomicVersion = "3.
|
|
31
|
+
const atomicVersion = "3.59.0";
|
|
32
32
|
exports.atomicVersion = __webpack_exports__.atomicVersion;
|
|
33
33
|
exports.headlessVersion = __webpack_exports__.headlessVersion;
|
|
34
34
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
@@ -34,7 +34,8 @@ class AtomicCommerceBreadbox extends LitElement {
|
|
|
34
34
|
else this.searchOrListing = buildSearch(this.bindings.engine);
|
|
35
35
|
this.context = buildContext(this.bindings.engine);
|
|
36
36
|
this.breadcrumbManager = this.searchOrListing.breadcrumbManager();
|
|
37
|
-
if (
|
|
37
|
+
if (this.disableCollapse) this.isCollapsed = false;
|
|
38
|
+
else if (window.ResizeObserver && this.parentElement) {
|
|
38
39
|
this.resizeObserver = new ResizeObserver(()=>this.adaptBreadcrumbs());
|
|
39
40
|
this.resizeObserver.observe(this.parentElement);
|
|
40
41
|
}
|
|
@@ -67,7 +68,7 @@ class AtomicCommerceBreadbox extends LitElement {
|
|
|
67
68
|
this.breadcrumbs.forEach((breadcrumb)=>this.show(breadcrumb));
|
|
68
69
|
}
|
|
69
70
|
adaptBreadcrumbs() {
|
|
70
|
-
if (!this.breadcrumbs.length) return;
|
|
71
|
+
if (this.disableCollapse || !this.breadcrumbs.length) return;
|
|
71
72
|
this.showAllBreadcrumbs();
|
|
72
73
|
if (!this.isCollapsed) return void this.updateShowLessDisplay();
|
|
73
74
|
this.hideOverflowingBreadcrumbs();
|
|
@@ -147,7 +148,7 @@ class AtomicCommerceBreadbox extends LitElement {
|
|
|
147
148
|
i18n: this.bindings.i18n
|
|
148
149
|
}
|
|
149
150
|
})(html`${this.renderBreadcrumbs(breadcrumbs)}
|
|
150
|
-
${renderBreadcrumbShowMore({
|
|
151
|
+
${this.disableCollapse ? nothing : html`${renderBreadcrumbShowMore({
|
|
151
152
|
props: {
|
|
152
153
|
refCallback: async (el)=>{
|
|
153
154
|
await this.breadcrumbShowLessFocus.setTarget(el);
|
|
@@ -166,7 +167,7 @@ class AtomicCommerceBreadbox extends LitElement {
|
|
|
166
167
|
})
|
|
167
168
|
}
|
|
168
169
|
})}
|
|
169
|
-
|
|
170
|
+
${renderBreadcrumbShowLess({
|
|
170
171
|
props: {
|
|
171
172
|
onShowLess: ()=>{
|
|
172
173
|
this.breadcrumbShowLessFocus.focusOnNextTarget();
|
|
@@ -175,7 +176,7 @@ class AtomicCommerceBreadbox extends LitElement {
|
|
|
175
176
|
isCollapsed: this.isCollapsed,
|
|
176
177
|
i18n: this.bindings.i18n
|
|
177
178
|
}
|
|
178
|
-
})}
|
|
179
|
+
})}`}
|
|
179
180
|
${renderBreadcrumbClearAll({
|
|
180
181
|
props: {
|
|
181
182
|
refCallback: async (ref)=>{
|
|
@@ -192,7 +193,7 @@ class AtomicCommerceBreadbox extends LitElement {
|
|
|
192
193
|
})} `)}`;
|
|
193
194
|
}
|
|
194
195
|
constructor(){
|
|
195
|
-
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.breadboxAriaMessage = new AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3, this.valueForFacetType = (type, field, value)=>{
|
|
196
|
+
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.disableCollapse = false, this.breadboxAriaMessage = new AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3, this.valueForFacetType = (type, field, value)=>{
|
|
196
197
|
switch(type){
|
|
197
198
|
case 'numericalRange':
|
|
198
199
|
return [
|
|
@@ -258,6 +259,12 @@ _ts_decorate([
|
|
|
258
259
|
_ts_decorate([
|
|
259
260
|
state()
|
|
260
261
|
], AtomicCommerceBreadbox.prototype, "showMoreText", void 0);
|
|
262
|
+
_ts_decorate([
|
|
263
|
+
property({
|
|
264
|
+
type: Boolean,
|
|
265
|
+
attribute: 'disable-collapse'
|
|
266
|
+
})
|
|
267
|
+
], AtomicCommerceBreadbox.prototype, "disableCollapse", void 0);
|
|
261
268
|
_ts_decorate([
|
|
262
269
|
property({
|
|
263
270
|
type: Number,
|
|
@@ -29,7 +29,8 @@ class AtomicBreadbox extends LitElement {
|
|
|
29
29
|
initialize() {
|
|
30
30
|
this.breadcrumbManager = buildBreadcrumbManager(this.bindings.engine);
|
|
31
31
|
this.facetManager = buildFacetManager(this.bindings.engine);
|
|
32
|
-
if (
|
|
32
|
+
if (this.disableCollapse) this.isCollapsed = false;
|
|
33
|
+
else if (window.ResizeObserver && this.parentElement) {
|
|
33
34
|
this.resizeObserver = new ResizeObserver(()=>this.adaptBreadcrumbs());
|
|
34
35
|
this.resizeObserver.observe(this.parentElement);
|
|
35
36
|
}
|
|
@@ -49,7 +50,7 @@ class AtomicBreadbox extends LitElement {
|
|
|
49
50
|
i18n: this.bindings.i18n
|
|
50
51
|
}
|
|
51
52
|
})(html`${this.renderBreadcrumbs(breadcrumbs)}
|
|
52
|
-
${renderBreadcrumbShowMore({
|
|
53
|
+
${this.disableCollapse ? nothing : html`${renderBreadcrumbShowMore({
|
|
53
54
|
props: {
|
|
54
55
|
refCallback: async (el)=>{
|
|
55
56
|
await this.breadcrumbShowLessFocus.setTarget(el);
|
|
@@ -68,7 +69,7 @@ class AtomicBreadbox extends LitElement {
|
|
|
68
69
|
})
|
|
69
70
|
}
|
|
70
71
|
})}
|
|
71
|
-
|
|
72
|
+
${renderBreadcrumbShowLess({
|
|
72
73
|
props: {
|
|
73
74
|
onShowLess: ()=>{
|
|
74
75
|
this.breadcrumbShowLessFocus.focusOnNextTarget();
|
|
@@ -77,7 +78,7 @@ class AtomicBreadbox extends LitElement {
|
|
|
77
78
|
isCollapsed: this.isCollapsed,
|
|
78
79
|
i18n: this.bindings.i18n
|
|
79
80
|
}
|
|
80
|
-
})}
|
|
81
|
+
})}`}
|
|
81
82
|
${renderBreadcrumbClearAll({
|
|
82
83
|
props: {
|
|
83
84
|
refCallback: async (ref)=>{
|
|
@@ -116,7 +117,7 @@ class AtomicBreadbox extends LitElement {
|
|
|
116
117
|
this.breadcrumbs.forEach((breadcrumb)=>this.show(breadcrumb));
|
|
117
118
|
}
|
|
118
119
|
adaptBreadcrumbs() {
|
|
119
|
-
if (!this.breadcrumbs.length) return;
|
|
120
|
+
if (this.disableCollapse || !this.breadcrumbs.length) return;
|
|
120
121
|
this.showAllBreadcrumbs();
|
|
121
122
|
if (!this.isCollapsed) return void this.updateShowLessDisplay();
|
|
122
123
|
this.hideOverflowingBreadcrumbs();
|
|
@@ -260,7 +261,7 @@ class AtomicBreadbox extends LitElement {
|
|
|
260
261
|
});
|
|
261
262
|
}
|
|
262
263
|
constructor(){
|
|
263
|
-
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.breadboxAriaMessage = new AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3;
|
|
264
|
+
super(), this.lastRemovedBreadcrumbIndex = 0, this.numberOfBreadcrumbs = 0, this.numberOfCollapsedBreadcrumbs = 0, this.isCollapsed = true, this.showMoreText = '', this.disableCollapse = false, this.breadboxAriaMessage = new AriaLiveRegionController(this, 'breadbox', true), this.pathLimit = 3;
|
|
264
265
|
new ValidatePropsController(this, ()=>({
|
|
265
266
|
pathLimit: this.pathLimit
|
|
266
267
|
}), AtomicBreadbox.propsSchema);
|
|
@@ -296,6 +297,12 @@ _ts_decorate([
|
|
|
296
297
|
_ts_decorate([
|
|
297
298
|
state()
|
|
298
299
|
], AtomicBreadbox.prototype, "showMoreText", void 0);
|
|
300
|
+
_ts_decorate([
|
|
301
|
+
property({
|
|
302
|
+
type: Boolean,
|
|
303
|
+
attribute: 'disable-collapse'
|
|
304
|
+
})
|
|
305
|
+
], AtomicBreadbox.prototype, "disableCollapse", void 0);
|
|
299
306
|
_ts_decorate([
|
|
300
307
|
property({
|
|
301
308
|
type: Number,
|
package/dist/esm/versions.js
CHANGED
package/dist/types/components/commerce/atomic-commerce-breadbox/atomic-commerce-breadbox.d.ts
CHANGED
|
@@ -37,6 +37,13 @@ export declare class AtomicCommerceBreadbox extends LitElement implements Initia
|
|
|
37
37
|
error: Error;
|
|
38
38
|
private isCollapsed;
|
|
39
39
|
private showMoreText;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to disable the collapsing behavior of breadcrumbs.
|
|
42
|
+
*
|
|
43
|
+
* When set, all breadcrumbs are always displayed in a wrapping layout
|
|
44
|
+
* instead of being collapsed into a single row with a "+ N" show more button.
|
|
45
|
+
*/
|
|
46
|
+
disableCollapse: boolean;
|
|
40
47
|
private breadboxAriaMessage;
|
|
41
48
|
/**
|
|
42
49
|
* This prop allows you to control the display depth
|
|
@@ -36,6 +36,13 @@ export declare class AtomicBreadbox extends LitElement implements InitializableC
|
|
|
36
36
|
error: Error;
|
|
37
37
|
private isCollapsed;
|
|
38
38
|
private showMoreText;
|
|
39
|
+
/**
|
|
40
|
+
* Whether to disable the collapsing behavior of breadcrumbs.
|
|
41
|
+
*
|
|
42
|
+
* When set, all breadcrumbs are always displayed in a wrapping layout
|
|
43
|
+
* instead of being collapsed into a single row with a "+ N" show more button.
|
|
44
|
+
*/
|
|
45
|
+
disableCollapse: boolean;
|
|
39
46
|
private breadboxAriaMessage;
|
|
40
47
|
/**
|
|
41
48
|
* This prop allows you to control the display depth
|
package/package.json
CHANGED