@empathyco/x-components 10.0.1 → 10.1.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.
Files changed (123) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/core/index.js +1 -0
  3. package/core/index.js.map +1 -1
  4. package/docs/API-reference/api/x-components.arialabels.md +19 -0
  5. package/docs/API-reference/api/x-components.arialabels.tabs.md +13 -0
  6. package/docs/API-reference/api/x-components.extraparamsstate.catalogsectionparamkey.md +18 -0
  7. package/docs/API-reference/api/x-components.extraparamsstate.md +19 -0
  8. package/docs/API-reference/api/x-components.hierarchicalfilter.md +1 -0
  9. package/docs/API-reference/api/x-components.md +77 -0
  10. package/docs/API-reference/api/x-components.resetcatalogsection.md +13 -0
  11. package/docs/API-reference/api/x-components.reseturlcatalogsection.md +13 -0
  12. package/docs/API-reference/api/x-components.searchconfig.defaultcatalogsection.md +13 -0
  13. package/docs/API-reference/api/x-components.searchconfig.md +19 -0
  14. package/docs/API-reference/api/x-components.searchmutations.md +19 -0
  15. package/docs/API-reference/api/x-components.searchmutations.setcatalogsection.md +13 -0
  16. package/docs/API-reference/api/x-components.searchstate.catalogsection.md +13 -0
  17. package/docs/API-reference/api/x-components.searchstate.md +19 -0
  18. package/docs/API-reference/api/x-components.setcatalogsection.md +13 -0
  19. package/docs/API-reference/api/x-components.setcatalogsectionfromurl.md +13 -0
  20. package/docs/API-reference/api/x-components.seturlcatalogsection.md +13 -0
  21. package/docs/API-reference/api/x-components.seturlparams.md +1 -1
  22. package/docs/API-reference/api/x-components.simplefilter.md +1 -0
  23. package/docs/API-reference/api/x-components.snippetcallbacks.md +1 -0
  24. package/docs/API-reference/api/x-components.tab.click.md +13 -0
  25. package/docs/API-reference/api/x-components.tab.id.md +13 -0
  26. package/docs/API-reference/api/x-components.tab.label.md +13 -0
  27. package/docs/API-reference/api/x-components.tab.md +115 -0
  28. package/docs/API-reference/api/x-components.tab.selected.md +13 -0
  29. package/docs/API-reference/api/x-components.tabs.md +29 -0
  30. package/docs/API-reference/api/x-components.urlmutations.md +19 -0
  31. package/docs/API-reference/api/x-components.urlmutations.setcatalogsection.md +13 -0
  32. package/docs/API-reference/api/x-components.urlparams.catalogsection.md +11 -0
  33. package/docs/API-reference/api/x-components.urlparams.md +17 -0
  34. package/docs/API-reference/api/x-components.xeventstypes.md +19 -0
  35. package/docs/API-reference/api/x-components.xeventstypes.userselectedacatalogsection.md +13 -0
  36. package/docs/API-reference/components/common/tabs/x-components.tabs.md +24 -0
  37. package/js/components/tabs/tabs.vue.js +44 -0
  38. package/js/components/tabs/tabs.vue.js.map +1 -0
  39. package/js/components/tabs/tabs.vue2.js +44 -0
  40. package/js/components/tabs/tabs.vue2.js.map +1 -0
  41. package/js/index.js +3 -2
  42. package/js/index.js.map +1 -1
  43. package/js/types/accessibility.js.map +1 -1
  44. package/js/x-modules/ai/components/ai-carousel.vue2.js +1 -0
  45. package/js/x-modules/ai/components/ai-carousel.vue2.js.map +1 -1
  46. package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js +1 -0
  47. package/js/x-modules/ai/components/ai-grouped-carousel.vue2.js.map +1 -1
  48. package/js/x-modules/empathize/components/empathize.vue2.js +1 -0
  49. package/js/x-modules/empathize/components/empathize.vue2.js.map +1 -1
  50. package/js/x-modules/extra-params/store/emitters.js +23 -2
  51. package/js/x-modules/extra-params/store/emitters.js.map +1 -1
  52. package/js/x-modules/extra-params/store/module.js +1 -0
  53. package/js/x-modules/extra-params/store/module.js.map +1 -1
  54. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js +1 -0
  55. package/js/x-modules/queries-preview/components/query-preview-button.vue2.js.map +1 -1
  56. package/js/x-modules/queries-preview/components/query-preview.vue2.js +1 -0
  57. package/js/x-modules/queries-preview/components/query-preview.vue2.js.map +1 -1
  58. package/js/x-modules/scroll/components/scroll-to-top.vue2.js +1 -0
  59. package/js/x-modules/scroll/components/scroll-to-top.vue2.js.map +1 -1
  60. package/js/x-modules/search/store/getters/request.getter.js +24 -10
  61. package/js/x-modules/search/store/getters/request.getter.js.map +1 -1
  62. package/js/x-modules/search/store/module.js +5 -0
  63. package/js/x-modules/search/store/module.js.map +1 -1
  64. package/js/x-modules/search/wiring.js +29 -1
  65. package/js/x-modules/search/wiring.js.map +1 -1
  66. package/js/x-modules/tagging/wiring.js +2 -1
  67. package/js/x-modules/tagging/wiring.js.map +1 -1
  68. package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
  69. package/js/x-modules/url/components/url-handler.vue2.js +6 -2
  70. package/js/x-modules/url/components/url-handler.vue2.js.map +1 -1
  71. package/js/x-modules/url/store/initial-state.js +1 -0
  72. package/js/x-modules/url/store/initial-state.js.map +1 -1
  73. package/js/x-modules/url/store/module.js +3 -0
  74. package/js/x-modules/url/store/module.js.map +1 -1
  75. package/js/x-modules/url/wiring.js +19 -1
  76. package/js/x-modules/url/wiring.js.map +1 -1
  77. package/package.json +3 -3
  78. package/report/x-components.api.json +671 -5
  79. package/report/x-components.api.md +77 -6
  80. package/search/index.js +1 -1
  81. package/types/src/components/index.d.ts +1 -0
  82. package/types/src/components/index.d.ts.map +1 -1
  83. package/types/src/components/snippet-callbacks.vue.d.ts +1 -0
  84. package/types/src/components/snippet-callbacks.vue.d.ts.map +1 -1
  85. package/types/src/components/tabs/index.d.ts +3 -0
  86. package/types/src/components/tabs/index.d.ts.map +1 -0
  87. package/types/src/components/tabs/tab.types.d.ts +16 -0
  88. package/types/src/components/tabs/tab.types.d.ts.map +1 -0
  89. package/types/src/components/tabs/tabs.vue.d.ts +48 -0
  90. package/types/src/components/tabs/tabs.vue.d.ts.map +1 -0
  91. package/types/src/types/accessibility.d.ts +3 -0
  92. package/types/src/types/accessibility.d.ts.map +1 -1
  93. package/types/src/types/url-params.d.ts +1 -0
  94. package/types/src/types/url-params.d.ts.map +1 -1
  95. package/types/src/wiring/events.types.d.ts +5 -0
  96. package/types/src/wiring/events.types.d.ts.map +1 -1
  97. package/types/src/x-modules/extra-params/store/emitters.d.ts +4 -1
  98. package/types/src/x-modules/extra-params/store/emitters.d.ts.map +1 -1
  99. package/types/src/x-modules/extra-params/store/module.d.ts.map +1 -1
  100. package/types/src/x-modules/extra-params/store/types.d.ts +8 -0
  101. package/types/src/x-modules/extra-params/store/types.d.ts.map +1 -1
  102. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts +1 -0
  103. package/types/src/x-modules/facets/components/filters/hierarchical-filter.vue.d.ts.map +1 -1
  104. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts +1 -0
  105. package/types/src/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
  106. package/types/src/x-modules/search/config.types.d.ts +5 -0
  107. package/types/src/x-modules/search/config.types.d.ts.map +1 -1
  108. package/types/src/x-modules/search/store/getters/request.getter.d.ts +2 -0
  109. package/types/src/x-modules/search/store/getters/request.getter.d.ts.map +1 -1
  110. package/types/src/x-modules/search/store/module.d.ts.map +1 -1
  111. package/types/src/x-modules/search/store/types.d.ts +14 -0
  112. package/types/src/x-modules/search/store/types.d.ts.map +1 -1
  113. package/types/src/x-modules/search/wiring.d.ts +31 -2
  114. package/types/src/x-modules/search/wiring.d.ts.map +1 -1
  115. package/types/src/x-modules/tagging/wiring.d.ts.map +1 -1
  116. package/types/src/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
  117. package/types/src/x-modules/url/store/initial-state.d.ts.map +1 -1
  118. package/types/src/x-modules/url/store/module.d.ts.map +1 -1
  119. package/types/src/x-modules/url/store/types.d.ts +6 -0
  120. package/types/src/x-modules/url/store/types.d.ts.map +1 -1
  121. package/types/src/x-modules/url/wiring.d.ts +18 -0
  122. package/types/src/x-modules/url/wiring.d.ts.map +1 -1
  123. package/url/index.js +1 -1
@@ -4936,6 +4936,33 @@
4936
4936
  "startIndex": 1,
4937
4937
  "endIndex": 2
4938
4938
  }
4939
+ },
4940
+ {
4941
+ "kind": "PropertySignature",
4942
+ "canonicalReference": "@empathyco/x-components!AriaLabels#tabs:member",
4943
+ "docComment": "",
4944
+ "excerptTokens": [
4945
+ {
4946
+ "kind": "Content",
4947
+ "text": "tabs?: "
4948
+ },
4949
+ {
4950
+ "kind": "Content",
4951
+ "text": "{\n root?: string;\n }"
4952
+ },
4953
+ {
4954
+ "kind": "Content",
4955
+ "text": ";"
4956
+ }
4957
+ ],
4958
+ "isReadonly": false,
4959
+ "isOptional": true,
4960
+ "releaseTag": "Public",
4961
+ "name": "tabs",
4962
+ "propertyTypeTokenRange": {
4963
+ "startIndex": 1,
4964
+ "endIndex": 2
4965
+ }
4939
4966
  }
4940
4967
  ],
4941
4968
  "extendsTokenRanges": []
@@ -28505,6 +28532,33 @@
28505
28532
  "name": "ExtraParamsState",
28506
28533
  "preserveMemberOrder": false,
28507
28534
  "members": [
28535
+ {
28536
+ "kind": "PropertySignature",
28537
+ "canonicalReference": "@empathyco/x-components!ExtraParamsState#catalogSectionParamKey:member",
28538
+ "docComment": "/**\n * Key used to send the catalog section to the search API. It is consumed by the {@link SearchXModule} request getter, which writes the section under this key, and by the `ExtraParamsChanged` emitter, which omits it so it is not broadcast to the other modules.\n *\n * @defaultValue 'catalogSection'\n */\n",
28539
+ "excerptTokens": [
28540
+ {
28541
+ "kind": "Content",
28542
+ "text": "catalogSectionParamKey: "
28543
+ },
28544
+ {
28545
+ "kind": "Content",
28546
+ "text": "string"
28547
+ },
28548
+ {
28549
+ "kind": "Content",
28550
+ "text": ";"
28551
+ }
28552
+ ],
28553
+ "isReadonly": false,
28554
+ "isOptional": false,
28555
+ "releaseTag": "Public",
28556
+ "name": "catalogSectionParamKey",
28557
+ "propertyTypeTokenRange": {
28558
+ "startIndex": 1,
28559
+ "endIndex": 2
28560
+ }
28561
+ },
28508
28562
  {
28509
28563
  "kind": "PropertySignature",
28510
28564
  "canonicalReference": "@empathyco/x-components!ExtraParamsState#params:member",
@@ -36703,7 +36757,7 @@
36703
36757
  },
36704
36758
  {
36705
36759
  "kind": "Content",
36706
- "text": " | undefined;\n UserReachedEmpathizeTop?: void | undefined;\n UserSelectedAResultVariant?: {\n result: import(\"@empathyco/x-types\")."
36760
+ "text": " | undefined;\n UserReachedEmpathizeTop?: void | undefined;\n UserSelectedACatalogSection?: string | undefined;\n UserSelectedAResultVariant?: {\n result: import(\"@empathyco/x-types\")."
36707
36761
  },
36708
36762
  {
36709
36763
  "kind": "Reference",
@@ -63428,6 +63482,34 @@
63428
63482
  "endIndex": 6
63429
63483
  }
63430
63484
  },
63485
+ {
63486
+ "kind": "Variable",
63487
+ "canonicalReference": "@empathyco/x-components!resetCatalogSection:var",
63488
+ "docComment": "/**\n * Resets the search state `catalogSection` to an empty value, so the request sends the configured default catalog section instead of the selected one.\n *\n * @public\n */\n",
63489
+ "excerptTokens": [
63490
+ {
63491
+ "kind": "Content",
63492
+ "text": "resetCatalogSection: "
63493
+ },
63494
+ {
63495
+ "kind": "Content",
63496
+ "text": "import(\"../../wiring\")."
63497
+ },
63498
+ {
63499
+ "kind": "Reference",
63500
+ "text": "AnyWire",
63501
+ "canonicalReference": "@empathyco/x-components!AnyWire:type"
63502
+ }
63503
+ ],
63504
+ "fileUrlPath": "src/x-modules/search/wiring.ts",
63505
+ "isReadonly": true,
63506
+ "releaseTag": "Public",
63507
+ "name": "resetCatalogSection",
63508
+ "variableTypeTokenRange": {
63509
+ "startIndex": 1,
63510
+ "endIndex": 3
63511
+ }
63512
+ },
63431
63513
  {
63432
63514
  "kind": "Variable",
63433
63515
  "canonicalReference": "@empathyco/x-components!resetFromNoBrowseResultsWithFilters:var",
@@ -63805,6 +63887,34 @@
63805
63887
  "endIndex": 3
63806
63888
  }
63807
63889
  },
63890
+ {
63891
+ "kind": "Variable",
63892
+ "canonicalReference": "@empathyco/x-components!resetUrlCatalogSection:var",
63893
+ "docComment": "/**\n * Resets the catalog section of the url module.\n *\n * @public\n */\n",
63894
+ "excerptTokens": [
63895
+ {
63896
+ "kind": "Content",
63897
+ "text": "resetUrlCatalogSection: "
63898
+ },
63899
+ {
63900
+ "kind": "Content",
63901
+ "text": "import(\"../..\")."
63902
+ },
63903
+ {
63904
+ "kind": "Reference",
63905
+ "text": "AnyWire",
63906
+ "canonicalReference": "@empathyco/x-components!AnyWire:type"
63907
+ }
63908
+ ],
63909
+ "fileUrlPath": "src/x-modules/url/wiring.ts",
63910
+ "isReadonly": true,
63911
+ "releaseTag": "Public",
63912
+ "name": "resetUrlCatalogSection",
63913
+ "variableTypeTokenRange": {
63914
+ "startIndex": 1,
63915
+ "endIndex": 3
63916
+ }
63917
+ },
63808
63918
  {
63809
63919
  "kind": "Variable",
63810
63920
  "canonicalReference": "@empathyco/x-components!resetUrlQuery:var",
@@ -67594,6 +67704,33 @@
67594
67704
  "name": "SearchConfig",
67595
67705
  "preserveMemberOrder": false,
67596
67706
  "members": [
67707
+ {
67708
+ "kind": "PropertySignature",
67709
+ "canonicalReference": "@empathyco/x-components!SearchConfig#defaultCatalogSection:member",
67710
+ "docComment": "/**\n * Catalog section sent when no catalog section has been selected, either because none was provided or because it was reset to an empty value.\n */\n",
67711
+ "excerptTokens": [
67712
+ {
67713
+ "kind": "Content",
67714
+ "text": "defaultCatalogSection: "
67715
+ },
67716
+ {
67717
+ "kind": "Content",
67718
+ "text": "string"
67719
+ },
67720
+ {
67721
+ "kind": "Content",
67722
+ "text": ";"
67723
+ }
67724
+ ],
67725
+ "isReadonly": false,
67726
+ "isOptional": false,
67727
+ "releaseTag": "Public",
67728
+ "name": "defaultCatalogSection",
67729
+ "propertyTypeTokenRange": {
67730
+ "startIndex": 1,
67731
+ "endIndex": 2
67732
+ }
67733
+ },
67597
67734
  {
67598
67735
  "kind": "PropertySignature",
67599
67736
  "canonicalReference": "@empathyco/x-components!SearchConfig#pageMode:member",
@@ -68451,6 +68588,33 @@
68451
68588
  "endIndex": 4
68452
68589
  }
68453
68590
  },
68591
+ {
68592
+ "kind": "PropertySignature",
68593
+ "canonicalReference": "@empathyco/x-components!SearchMutations#setCatalogSection:member",
68594
+ "docComment": "/**\n * Sets the id of the selected catalog section.\n *\n * @param catalogSection - The new catalog section id, or `undefined` when no section has been provided, to fall back to the extra params and the default catalog section.\n */\n",
68595
+ "excerptTokens": [
68596
+ {
68597
+ "kind": "Content",
68598
+ "text": "setCatalogSection: "
68599
+ },
68600
+ {
68601
+ "kind": "Content",
68602
+ "text": "(catalogSection: string | undefined) => void"
68603
+ },
68604
+ {
68605
+ "kind": "Content",
68606
+ "text": ";"
68607
+ }
68608
+ ],
68609
+ "isReadonly": false,
68610
+ "isOptional": false,
68611
+ "releaseTag": "Public",
68612
+ "name": "setCatalogSection",
68613
+ "propertyTypeTokenRange": {
68614
+ "startIndex": 1,
68615
+ "endIndex": 2
68616
+ }
68617
+ },
68454
68618
  {
68455
68619
  "kind": "PropertySignature",
68456
68620
  "canonicalReference": "@empathyco/x-components!SearchMutations#setDisplayTagging:member",
@@ -69191,7 +69355,7 @@
69191
69355
  {
69192
69356
  "kind": "Variable",
69193
69357
  "canonicalReference": "@empathyco/x-components!searchRequest:var",
69194
- "docComment": "/**\n * Default implementation for the {@link SearchGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the search module.\n *\n * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the search module.\n *\n * @returns The search request to fetch data from the API.\n *\n * @public\n */\n",
69358
+ "docComment": "/**\n * Default implementation for the {@link SearchGetters.request} getter.\n *\n * @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the search module.\n *\n * @param getters - Current {@link https://vuex.vuejs.org/guide/getters.html | getters} of the search module.\n *\n * @param rootState - Current root state of the store, used to read the `catalogSection` extra param provided by the instance, which is not broadcasted through the `ExtraParamsChanged` event.\n *\n * @returns The search request to fetch data from the API.\n *\n * @public\n */\n",
69195
69359
  "excerptTokens": [
69196
69360
  {
69197
69361
  "kind": "Content",
@@ -69281,6 +69445,33 @@
69281
69445
  "endIndex": 3
69282
69446
  }
69283
69447
  },
69448
+ {
69449
+ "kind": "PropertySignature",
69450
+ "canonicalReference": "@empathyco/x-components!SearchState#catalogSection:member",
69451
+ "docComment": "/**\n * The id of the catalog section selected for the current search, either by the user or loaded from the URL. It is `undefined` when no section has been provided, so the {@link SearchGetters.request} can fall back to the extra params and, finally, to the {@link SearchConfig.defaultCatalogSection}.\n */\n",
69452
+ "excerptTokens": [
69453
+ {
69454
+ "kind": "Content",
69455
+ "text": "catalogSection: "
69456
+ },
69457
+ {
69458
+ "kind": "Content",
69459
+ "text": "string | undefined"
69460
+ },
69461
+ {
69462
+ "kind": "Content",
69463
+ "text": ";"
69464
+ }
69465
+ ],
69466
+ "isReadonly": false,
69467
+ "isOptional": false,
69468
+ "releaseTag": "Public",
69469
+ "name": "catalogSection",
69470
+ "propertyTypeTokenRange": {
69471
+ "startIndex": 1,
69472
+ "endIndex": 2
69473
+ }
69474
+ },
69284
69475
  {
69285
69476
  "kind": "PropertySignature",
69286
69477
  "canonicalReference": "@empathyco/x-components!SearchState#config:member",
@@ -72790,6 +72981,66 @@
72790
72981
  "endIndex": 6
72791
72982
  }
72792
72983
  },
72984
+ {
72985
+ "kind": "Variable",
72986
+ "canonicalReference": "@empathyco/x-components!setCatalogSection:var",
72987
+ "docComment": "/**\n * Sets the search state `catalogSection`.\n *\n * @public\n */\n",
72988
+ "excerptTokens": [
72989
+ {
72990
+ "kind": "Content",
72991
+ "text": "setCatalogSection: "
72992
+ },
72993
+ {
72994
+ "kind": "Content",
72995
+ "text": "import(\"../../wiring\")."
72996
+ },
72997
+ {
72998
+ "kind": "Reference",
72999
+ "text": "Wire",
73000
+ "canonicalReference": "@empathyco/x-components!Wire:type"
73001
+ },
73002
+ {
73003
+ "kind": "Content",
73004
+ "text": "<string | undefined>"
73005
+ }
73006
+ ],
73007
+ "fileUrlPath": "src/x-modules/search/wiring.ts",
73008
+ "isReadonly": true,
73009
+ "releaseTag": "Public",
73010
+ "name": "setCatalogSection",
73011
+ "variableTypeTokenRange": {
73012
+ "startIndex": 1,
73013
+ "endIndex": 4
73014
+ }
73015
+ },
73016
+ {
73017
+ "kind": "Variable",
73018
+ "canonicalReference": "@empathyco/x-components!setCatalogSectionFromUrl:var",
73019
+ "docComment": "/**\n * Sets the search state `catalogSection` with the one loaded from the URL. The `catalogSection` URL param is optional, so an empty value means no section was provided, and the current selection is kept by setting `undefined`.\n *\n * @public\n */\n",
73020
+ "excerptTokens": [
73021
+ {
73022
+ "kind": "Content",
73023
+ "text": "setCatalogSectionFromUrl: "
73024
+ },
73025
+ {
73026
+ "kind": "Content",
73027
+ "text": "import(\"../../wiring\")."
73028
+ },
73029
+ {
73030
+ "kind": "Reference",
73031
+ "text": "AnyWire",
73032
+ "canonicalReference": "@empathyco/x-components!AnyWire:type"
73033
+ }
73034
+ ],
73035
+ "fileUrlPath": "src/x-modules/search/wiring.ts",
73036
+ "isReadonly": true,
73037
+ "releaseTag": "Public",
73038
+ "name": "setCatalogSectionFromUrl",
73039
+ "variableTypeTokenRange": {
73040
+ "startIndex": 1,
73041
+ "endIndex": 3
73042
+ }
73043
+ },
72793
73044
  {
72794
73045
  "kind": "Function",
72795
73046
  "canonicalReference": "@empathyco/x-components!setConfig:function(1)",
@@ -75402,6 +75653,38 @@
75402
75653
  "endIndex": 6
75403
75654
  }
75404
75655
  },
75656
+ {
75657
+ "kind": "Variable",
75658
+ "canonicalReference": "@empathyco/x-components!setUrlCatalogSection:var",
75659
+ "docComment": "/**\n * Sets the catalog section of the url module.\n *\n * @public\n */\n",
75660
+ "excerptTokens": [
75661
+ {
75662
+ "kind": "Content",
75663
+ "text": "setUrlCatalogSection: "
75664
+ },
75665
+ {
75666
+ "kind": "Content",
75667
+ "text": "import(\"../..\")."
75668
+ },
75669
+ {
75670
+ "kind": "Reference",
75671
+ "text": "Wire",
75672
+ "canonicalReference": "@empathyco/x-components!Wire:type"
75673
+ },
75674
+ {
75675
+ "kind": "Content",
75676
+ "text": "<string>"
75677
+ }
75678
+ ],
75679
+ "fileUrlPath": "src/x-modules/url/wiring.ts",
75680
+ "isReadonly": true,
75681
+ "releaseTag": "Public",
75682
+ "name": "setUrlCatalogSection",
75683
+ "variableTypeTokenRange": {
75684
+ "startIndex": 1,
75685
+ "endIndex": 4
75686
+ }
75687
+ },
75405
75688
  {
75406
75689
  "kind": "Variable",
75407
75690
  "canonicalReference": "@empathyco/x-components!setUrlFilters:var",
@@ -75495,7 +75778,7 @@
75495
75778
  },
75496
75779
  {
75497
75780
  "kind": "Content",
75498
- "text": "<import(\"../..\")."
75781
+ "text": "<"
75499
75782
  },
75500
75783
  {
75501
75784
  "kind": "Reference",
@@ -75993,7 +76276,7 @@
75993
76276
  },
75994
76277
  {
75995
76278
  "kind": "Content",
75996
- "text": " | undefined;\n UserReachedEmpathizeTop?: void | undefined;\n UserSelectedAResultVariant?: {\n result: import(\"@empathyco/x-types\")."
76279
+ "text": " | undefined;\n UserReachedEmpathizeTop?: void | undefined;\n UserSelectedACatalogSection?: string | undefined;\n UserSelectedAResultVariant?: {\n result: import(\"@empathyco/x-types\")."
75997
76280
  },
75998
76281
  {
75999
76282
  "kind": "Reference",
@@ -78403,6 +78686,15 @@
78403
78686
  "text": "WireMetadata",
78404
78687
  "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
78405
78688
  },
78689
+ {
78690
+ "kind": "Content",
78691
+ "text": ") => unknown;\n UserSelectedACatalogSection: (payload: string, metadata: "
78692
+ },
78693
+ {
78694
+ "kind": "Reference",
78695
+ "text": "WireMetadata",
78696
+ "canonicalReference": "@empathyco/x-components!WireMetadata:interface"
78697
+ },
78406
78698
  {
78407
78699
  "kind": "Content",
78408
78700
  "text": ") => unknown;\n UserSelectedAResultVariant: (payload: {\n result: import(\"@empathyco/x-types\")."
@@ -80961,7 +81253,7 @@
80961
81253
  "name": "SnippetCallbacks",
80962
81254
  "variableTypeTokenRange": {
80963
81255
  "startIndex": 1,
80964
- "endIndex": 636
81256
+ "endIndex": 638
80965
81257
  }
80966
81258
  },
80967
81259
  {
@@ -84107,6 +84399,299 @@
84107
84399
  "endIndex": 2
84108
84400
  }
84109
84401
  },
84402
+ {
84403
+ "kind": "Interface",
84404
+ "canonicalReference": "@empathyco/x-components!Tab:interface",
84405
+ "docComment": "/**\n * The shape of a single item rendered by {@link Tabs}.\n *\n * @public\n */\n",
84406
+ "excerptTokens": [
84407
+ {
84408
+ "kind": "Content",
84409
+ "text": "export interface Tab "
84410
+ }
84411
+ ],
84412
+ "fileUrlPath": "src/components/tabs/tab.types.ts",
84413
+ "releaseTag": "Public",
84414
+ "name": "Tab",
84415
+ "preserveMemberOrder": false,
84416
+ "members": [
84417
+ {
84418
+ "kind": "PropertySignature",
84419
+ "canonicalReference": "@empathyco/x-components!Tab#click:member",
84420
+ "docComment": "/**\n * Callback invoked when the tab is clicked.\n */\n",
84421
+ "excerptTokens": [
84422
+ {
84423
+ "kind": "Content",
84424
+ "text": "click: "
84425
+ },
84426
+ {
84427
+ "kind": "Content",
84428
+ "text": "() => void"
84429
+ },
84430
+ {
84431
+ "kind": "Content",
84432
+ "text": ";"
84433
+ }
84434
+ ],
84435
+ "isReadonly": false,
84436
+ "isOptional": false,
84437
+ "releaseTag": "Public",
84438
+ "name": "click",
84439
+ "propertyTypeTokenRange": {
84440
+ "startIndex": 1,
84441
+ "endIndex": 2
84442
+ }
84443
+ },
84444
+ {
84445
+ "kind": "PropertySignature",
84446
+ "canonicalReference": "@empathyco/x-components!Tab#id:member",
84447
+ "docComment": "/**\n * The unique id of the tab.\n */\n",
84448
+ "excerptTokens": [
84449
+ {
84450
+ "kind": "Content",
84451
+ "text": "id: "
84452
+ },
84453
+ {
84454
+ "kind": "Content",
84455
+ "text": "string"
84456
+ },
84457
+ {
84458
+ "kind": "Content",
84459
+ "text": ";"
84460
+ }
84461
+ ],
84462
+ "isReadonly": false,
84463
+ "isOptional": false,
84464
+ "releaseTag": "Public",
84465
+ "name": "id",
84466
+ "propertyTypeTokenRange": {
84467
+ "startIndex": 1,
84468
+ "endIndex": 2
84469
+ }
84470
+ },
84471
+ {
84472
+ "kind": "PropertySignature",
84473
+ "canonicalReference": "@empathyco/x-components!Tab#label:member",
84474
+ "docComment": "/**\n * Text label rendered inside the tab.\n */\n",
84475
+ "excerptTokens": [
84476
+ {
84477
+ "kind": "Content",
84478
+ "text": "label: "
84479
+ },
84480
+ {
84481
+ "kind": "Content",
84482
+ "text": "string"
84483
+ },
84484
+ {
84485
+ "kind": "Content",
84486
+ "text": ";"
84487
+ }
84488
+ ],
84489
+ "isReadonly": false,
84490
+ "isOptional": false,
84491
+ "releaseTag": "Public",
84492
+ "name": "label",
84493
+ "propertyTypeTokenRange": {
84494
+ "startIndex": 1,
84495
+ "endIndex": 2
84496
+ }
84497
+ },
84498
+ {
84499
+ "kind": "PropertySignature",
84500
+ "canonicalReference": "@empathyco/x-components!Tab#selected:member",
84501
+ "docComment": "/**\n * Tab selected state.\n */\n",
84502
+ "excerptTokens": [
84503
+ {
84504
+ "kind": "Content",
84505
+ "text": "selected?: "
84506
+ },
84507
+ {
84508
+ "kind": "Content",
84509
+ "text": "boolean"
84510
+ },
84511
+ {
84512
+ "kind": "Content",
84513
+ "text": ";"
84514
+ }
84515
+ ],
84516
+ "isReadonly": false,
84517
+ "isOptional": true,
84518
+ "releaseTag": "Public",
84519
+ "name": "selected",
84520
+ "propertyTypeTokenRange": {
84521
+ "startIndex": 1,
84522
+ "endIndex": 2
84523
+ }
84524
+ }
84525
+ ],
84526
+ "extendsTokenRanges": []
84527
+ },
84528
+ {
84529
+ "kind": "Variable",
84530
+ "canonicalReference": "@empathyco/x-components!Tabs:var",
84531
+ "docComment": "/**\n * Renders a list of tabs from the given `items`. It keeps track of the selected tab internally: clicking a tab marks it as selected and invokes its `click` callback.\n *\n * @public\n */\n",
84532
+ "excerptTokens": [
84533
+ {
84534
+ "kind": "Content",
84535
+ "text": "_default: "
84536
+ },
84537
+ {
84538
+ "kind": "Content",
84539
+ "text": "import(\"vue\")."
84540
+ },
84541
+ {
84542
+ "kind": "Reference",
84543
+ "text": "DefineComponent",
84544
+ "canonicalReference": "@vue/runtime-core!DefineComponent:type"
84545
+ },
84546
+ {
84547
+ "kind": "Content",
84548
+ "text": "<import(\"vue\")."
84549
+ },
84550
+ {
84551
+ "kind": "Reference",
84552
+ "text": "ExtractPropTypes",
84553
+ "canonicalReference": "@vue/runtime-core!ExtractPropTypes:type"
84554
+ },
84555
+ {
84556
+ "kind": "Content",
84557
+ "text": "<{\n items: {\n type: "
84558
+ },
84559
+ {
84560
+ "kind": "Reference",
84561
+ "text": "PropType",
84562
+ "canonicalReference": "@vue/runtime-core!PropType:type"
84563
+ },
84564
+ {
84565
+ "kind": "Content",
84566
+ "text": "<"
84567
+ },
84568
+ {
84569
+ "kind": "Reference",
84570
+ "text": "Tab",
84571
+ "canonicalReference": "@empathyco/x-components!Tab:interface"
84572
+ },
84573
+ {
84574
+ "kind": "Content",
84575
+ "text": "[]>;\n required: true;\n };\n itemClasses: "
84576
+ },
84577
+ {
84578
+ "kind": "Reference",
84579
+ "text": "StringConstructor",
84580
+ "canonicalReference": "!StringConstructor:interface"
84581
+ },
84582
+ {
84583
+ "kind": "Content",
84584
+ "text": ";\n}>, {\n ariaLabels: import(\"vue\")."
84585
+ },
84586
+ {
84587
+ "kind": "Reference",
84588
+ "text": "ComputedRef",
84589
+ "canonicalReference": "@vue/reactivity!ComputedRef:interface"
84590
+ },
84591
+ {
84592
+ "kind": "Content",
84593
+ "text": "<{\n root?: string;\n }>;\n}, {}, {}, {}, import(\"vue\")."
84594
+ },
84595
+ {
84596
+ "kind": "Reference",
84597
+ "text": "ComponentOptionsMixin",
84598
+ "canonicalReference": "@vue/runtime-core!ComponentOptionsMixin:type"
84599
+ },
84600
+ {
84601
+ "kind": "Content",
84602
+ "text": ", import(\"vue\")."
84603
+ },
84604
+ {
84605
+ "kind": "Reference",
84606
+ "text": "ComponentOptionsMixin",
84607
+ "canonicalReference": "@vue/runtime-core!ComponentOptionsMixin:type"
84608
+ },
84609
+ {
84610
+ "kind": "Content",
84611
+ "text": ", {}, string, import(\"vue\")."
84612
+ },
84613
+ {
84614
+ "kind": "Reference",
84615
+ "text": "PublicProps",
84616
+ "canonicalReference": "@vue/runtime-core!PublicProps:type"
84617
+ },
84618
+ {
84619
+ "kind": "Content",
84620
+ "text": ", "
84621
+ },
84622
+ {
84623
+ "kind": "Reference",
84624
+ "text": "Readonly",
84625
+ "canonicalReference": "!Readonly:type"
84626
+ },
84627
+ {
84628
+ "kind": "Content",
84629
+ "text": "<import(\"vue\")."
84630
+ },
84631
+ {
84632
+ "kind": "Reference",
84633
+ "text": "ExtractPropTypes",
84634
+ "canonicalReference": "@vue/runtime-core!ExtractPropTypes:type"
84635
+ },
84636
+ {
84637
+ "kind": "Content",
84638
+ "text": "<{\n items: {\n type: "
84639
+ },
84640
+ {
84641
+ "kind": "Reference",
84642
+ "text": "PropType",
84643
+ "canonicalReference": "@vue/runtime-core!PropType:type"
84644
+ },
84645
+ {
84646
+ "kind": "Content",
84647
+ "text": "<"
84648
+ },
84649
+ {
84650
+ "kind": "Reference",
84651
+ "text": "Tab",
84652
+ "canonicalReference": "@empathyco/x-components!Tab:interface"
84653
+ },
84654
+ {
84655
+ "kind": "Content",
84656
+ "text": "[]>;\n required: true;\n };\n itemClasses: "
84657
+ },
84658
+ {
84659
+ "kind": "Reference",
84660
+ "text": "StringConstructor",
84661
+ "canonicalReference": "!StringConstructor:interface"
84662
+ },
84663
+ {
84664
+ "kind": "Content",
84665
+ "text": ";\n}>> & "
84666
+ },
84667
+ {
84668
+ "kind": "Reference",
84669
+ "text": "Readonly",
84670
+ "canonicalReference": "!Readonly:type"
84671
+ },
84672
+ {
84673
+ "kind": "Content",
84674
+ "text": "<{}>, {}, {}, {}, {}, string, import(\"vue\")."
84675
+ },
84676
+ {
84677
+ "kind": "Reference",
84678
+ "text": "ComponentProvideOptions",
84679
+ "canonicalReference": "@vue/runtime-core!ComponentProvideOptions:type"
84680
+ },
84681
+ {
84682
+ "kind": "Content",
84683
+ "text": ", true, {}, any>"
84684
+ }
84685
+ ],
84686
+ "fileUrlPath": "dist/types/src/components/tabs/tabs.vue.d.ts",
84687
+ "isReadonly": true,
84688
+ "releaseTag": "Public",
84689
+ "name": "Tabs",
84690
+ "variableTypeTokenRange": {
84691
+ "startIndex": 1,
84692
+ "endIndex": 34
84693
+ }
84694
+ },
84110
84695
  {
84111
84696
  "kind": "Variable",
84112
84697
  "canonicalReference": "@empathyco/x-components!Tagging:var",
@@ -87179,6 +87764,33 @@
87179
87764
  "endIndex": 4
87180
87765
  }
87181
87766
  },
87767
+ {
87768
+ "kind": "PropertySignature",
87769
+ "canonicalReference": "@empathyco/x-components!UrlMutations#setCatalogSection:member",
87770
+ "docComment": "/**\n * Sets the new catalog section of the url, the id of the selected catalog section.\n *\n * @param catalogSection - The id of the selected catalog section.\n */\n",
87771
+ "excerptTokens": [
87772
+ {
87773
+ "kind": "Content",
87774
+ "text": "setCatalogSection: "
87775
+ },
87776
+ {
87777
+ "kind": "Content",
87778
+ "text": "(catalogSection: string) => void"
87779
+ },
87780
+ {
87781
+ "kind": "Content",
87782
+ "text": ";"
87783
+ }
87784
+ ],
87785
+ "isReadonly": false,
87786
+ "isOptional": false,
87787
+ "releaseTag": "Public",
87788
+ "name": "setCatalogSection",
87789
+ "propertyTypeTokenRange": {
87790
+ "startIndex": 1,
87791
+ "endIndex": 2
87792
+ }
87793
+ },
87182
87794
  {
87183
87795
  "kind": "PropertySignature",
87184
87796
  "canonicalReference": "@empathyco/x-components!UrlMutations#setFilters:member",
@@ -87601,6 +88213,33 @@
87601
88213
  "endIndex": 2
87602
88214
  }
87603
88215
  },
88216
+ {
88217
+ "kind": "PropertySignature",
88218
+ "canonicalReference": "@empathyco/x-components!UrlParams#catalogSection:member",
88219
+ "docComment": "",
88220
+ "excerptTokens": [
88221
+ {
88222
+ "kind": "Content",
88223
+ "text": "catalogSection: "
88224
+ },
88225
+ {
88226
+ "kind": "Content",
88227
+ "text": "string"
88228
+ },
88229
+ {
88230
+ "kind": "Content",
88231
+ "text": ";"
88232
+ }
88233
+ ],
88234
+ "isReadonly": false,
88235
+ "isOptional": false,
88236
+ "releaseTag": "Public",
88237
+ "name": "catalogSection",
88238
+ "propertyTypeTokenRange": {
88239
+ "startIndex": 1,
88240
+ "endIndex": 2
88241
+ }
88242
+ },
87604
88243
  {
87605
88244
  "kind": "PropertySignature",
87606
88245
  "canonicalReference": "@empathyco/x-components!UrlParams#filter:member",
@@ -98977,6 +99616,33 @@
98977
99616
  "endIndex": 2
98978
99617
  }
98979
99618
  },
99619
+ {
99620
+ "kind": "PropertySignature",
99621
+ "canonicalReference": "@empathyco/x-components!XEventsTypes#UserSelectedACatalogSection:member",
99622
+ "docComment": "/**\n * The user selected a catalog section. Payload: String containing the id of the selected catalog section.\n */\n",
99623
+ "excerptTokens": [
99624
+ {
99625
+ "kind": "Content",
99626
+ "text": "UserSelectedACatalogSection: "
99627
+ },
99628
+ {
99629
+ "kind": "Content",
99630
+ "text": "string"
99631
+ },
99632
+ {
99633
+ "kind": "Content",
99634
+ "text": ";"
99635
+ }
99636
+ ],
99637
+ "isReadonly": false,
99638
+ "isOptional": false,
99639
+ "releaseTag": "Public",
99640
+ "name": "UserSelectedACatalogSection",
99641
+ "propertyTypeTokenRange": {
99642
+ "startIndex": 1,
99643
+ "endIndex": 2
99644
+ }
99645
+ },
98980
99646
  {
98981
99647
  "kind": "PropertySignature",
98982
99648
  "canonicalReference": "@empathyco/x-components!XEventsTypes#UserSelectedAResultVariant:member",