@empathyco/x-components 3.0.0-alpha.44 → 3.0.0-alpha.48
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/CHANGELOG.md +91 -0
- package/build-helpers/plugins/polyfills-wrapper.plugin.js +4 -5
- package/build-helpers/utils/polyfills.util.js +1 -1
- package/core/index.js +3 -0
- package/core/index.js.map +1 -1
- package/design-system/default-theme.css +164 -8
- package/design-system/full-theme.css +139 -9
- package/design-system/suggestion-default.css +25 -2
- package/design-system/suggestion-group-default.css +27 -4
- package/design-system/tag-default.css +75 -1
- package/design-system/tag-ghost.css +12 -2
- package/docs/API-reference/api/x-components.basexapi.addproducttocart.md +24 -0
- package/docs/API-reference/api/x-components.basexapi.md +1 -0
- package/docs/API-reference/api/x-components.curatedcheckicon.md +11 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice._constructor_.md +21 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragekey.md +11 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragettlms.md +11 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.instance.md +13 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.localstorageservice.md +11 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.md +41 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.movetosessionstorage.md +24 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.result_clicked_id_key.md +13 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.sessionstorageservice.md +11 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.store.md +11 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.storeresultclicked.md +24 -0
- package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.trackaddtocart.md +24 -0
- package/docs/API-reference/api/x-components.lightbulboff.md +11 -0
- package/docs/API-reference/api/x-components.lightbulbon.md +11 -0
- package/docs/API-reference/api/x-components.md +6 -3
- package/docs/API-reference/api/x-components.pdpaddtocartservice.md +22 -0
- package/docs/API-reference/api/x-components.pdpaddtocartservice.movetosessionstorage.md +24 -0
- package/docs/API-reference/api/x-components.pdpaddtocartservice.storeresultclicked.md +24 -0
- package/docs/API-reference/api/x-components.pdpaddtocartservice.trackaddtocart.md +24 -0
- package/docs/API-reference/api/x-components.settaggingconfig.md +13 -0
- package/docs/API-reference/api/x-components.snippetconfig.md +1 -0
- package/docs/API-reference/api/x-components.snippetconfig.productid.md +13 -0
- package/docs/API-reference/api/x-components.snippetconfigextraparams.md +6 -0
- package/docs/API-reference/api/x-components.snippetconfigextraparams.values.md +13 -0
- package/docs/API-reference/api/x-components.tagging.clickedresultstoragekey.md +13 -0
- package/docs/API-reference/api/x-components.tagging.clickedresultstoragettlms.md +13 -0
- package/docs/API-reference/api/x-components.tagging.config.md +11 -0
- package/docs/API-reference/api/x-components.tagging.created.md +17 -0
- package/docs/API-reference/api/x-components.tagging.md +4 -0
- package/docs/API-reference/api/x-components.taggingconfig.clickedresultstoragekey.md +13 -0
- package/docs/API-reference/api/x-components.taggingconfig.clickedresultstoragettlms.md +13 -0
- package/docs/API-reference/api/x-components.taggingconfig.md +2 -0
- package/docs/API-reference/api/x-components.taggingmutations.md +1 -2
- package/docs/API-reference/api/x-components.taggingmutations.settaggingconfig.md +24 -0
- package/docs/API-reference/api/x-components.taggingxevents.md +4 -2
- package/docs/API-reference/api/x-components.taggingxevents.pdpisloaded.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.resulturltrackingenabled.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.taggingconfigprovided.md +13 -0
- package/docs/API-reference/api/x-components.taggingxevents.userclickedpdpaddtocart.md +13 -0
- package/docs/API-reference/api/x-components.urlhandler.initialextraparams.md +11 -0
- package/docs/API-reference/api/x-components.urlhandler.md +6 -0
- package/docs/API-reference/api/x-components.xapi.addproducttocart.md +28 -0
- package/docs/API-reference/api/x-components.xapi.md +1 -0
- package/docs/API-reference/api/x-components.xeventstypes.md +1 -1
- package/docs/API-reference/api/x-components.xeventstypes.snippetcallbackexecuted.md +3 -1
- package/docs/API-reference/components/common/filters/labels/x-components.base-price-filter-label.md +7 -7
- package/docs/API-reference/components/common/icons/x-components.curated-check.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.light-bulb-off.md +7 -0
- package/docs/API-reference/components/common/icons/x-components.light-bulb-on.md +7 -0
- package/docs/API-reference/components/extra-params/x-components.snippet-config-extra-params.md +6 -0
- package/docs/API-reference/components/facets/x-components.filters/number-range-filter.md +4 -3
- package/docs/API-reference/components/tagging/x-components.tagging.md +38 -14
- package/facets/index.js +1 -2
- package/js/components/base-grid.vue.js +2 -2
- package/js/components/base-grid.vue.js.map +1 -1
- package/js/components/base-grid.vue_rollup-plugin-vue=script.js +1 -1
- package/js/components/base-grid.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/icons/curated-check.vue.js +60 -0
- package/js/components/icons/curated-check.vue.js.map +1 -0
- package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/curated-check.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/light-bulb-off.vue.js +84 -0
- package/js/components/icons/light-bulb-off.vue.js.map +1 -0
- package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/light-bulb-off.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/icons/light-bulb-on.vue.js +151 -0
- package/js/components/icons/light-bulb-on.vue.js.map +1 -0
- package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js +4 -0
- package/js/components/icons/light-bulb-on.vue_rollup-plugin-vue=script.js.map +1 -0
- package/js/components/result/base-result-add-to-cart.vue.js +7 -4
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/snippet-callbacks.vue.js.map +1 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js +3 -1
- package/js/components/snippet-callbacks.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/components/suggestions/base-suggestions.vue.js +3 -3
- package/js/components/suggestions/base-suggestions.vue.js.map +1 -1
- package/js/index.js +6 -3
- package/js/index.js.map +1 -1
- package/js/plugins/x-plugin.js +3 -1
- package/js/plugins/x-plugin.js.map +1 -1
- package/js/x-installer/api/base-api.js +9 -0
- package/js/x-installer/api/base-api.js.map +1 -1
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/extra-params/components/extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/extra-params/components/renderless-extra-param.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue.js.map +1 -1
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js +20 -6
- package/js/x-modules/extra-params/components/snippet-config-extra-params.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/clear-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/facets/facets-provider.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/filters/all-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js +4 -1
- package/js/x-modules/facets/components/filters/hierarchical-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js +42 -4
- package/js/x-modules/facets/components/filters/number-range-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js +5 -2
- package/js/x-modules/facets/components/filters/number-range-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/filters/renderless-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue.js.map +1 -1
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js +4 -2
- package/js/x-modules/facets/components/filters/simple-filter.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/lists/exclude-filters-with-no-results.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/lists/filters-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/lists/filters-search.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/lists/selected-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/lists/sliced-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/facets/components/lists/sorted-filters.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/related-tags/wiring.js +3 -3
- package/js/x-modules/related-tags/wiring.js.map +1 -1
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/scroll/components/main-scroll-item.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/scroll/components/scroll-to-top.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/scroll/components/window-scroll.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/search/components/sort-list.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/search/components/sort.mixin.js +3 -0
- package/js/x-modules/search/components/sort.mixin.js.map +1 -1
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js +3 -0
- package/js/x-modules/search/components/spellcheck.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/tagging/components/tagging.vue.js.map +1 -1
- package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js +42 -5
- package/js/x-modules/tagging/components/tagging.vue_rollup-plugin-vue=script.js.map +1 -1
- package/js/x-modules/tagging/service/pdp-add-to-cart.service.js +168 -0
- package/js/x-modules/tagging/service/pdp-add-to-cart.service.js.map +1 -0
- package/js/x-modules/tagging/store/actions/track.action.js +1 -0
- package/js/x-modules/tagging/store/actions/track.action.js.map +1 -1
- package/js/x-modules/tagging/store/emitters.js +5 -1
- package/js/x-modules/tagging/store/emitters.js.map +1 -1
- package/js/x-modules/tagging/store/module.js +6 -7
- package/js/x-modules/tagging/store/module.js.map +1 -1
- package/js/x-modules/tagging/wiring.js +42 -16
- package/js/x-modules/tagging/wiring.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue.js.map +1 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js +118 -1
- package/js/x-modules/url/components/url-handler.vue_rollup-plugin-vue=script.js.map +1 -1
- package/package.json +2 -2
- package/report/x-components.api.json +1194 -306
- package/report/x-components.api.md +87 -31
- package/tagging/index.js +2 -1
- package/types/components/icons/curated-check.vue.d.ts +3 -0
- package/types/components/icons/curated-check.vue.d.ts.map +1 -0
- package/types/components/icons/index.d.ts +3 -0
- package/types/components/icons/index.d.ts.map +1 -1
- package/types/components/icons/light-bulb-off.vue.d.ts +3 -0
- package/types/components/icons/light-bulb-off.vue.d.ts.map +1 -0
- package/types/components/icons/light-bulb-on.vue.d.ts +3 -0
- package/types/components/icons/light-bulb-on.vue.d.ts.map +1 -0
- package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
- package/types/components/snippet-callbacks.vue.d.ts.map +1 -1
- package/types/plugins/x-plugin.d.ts.map +1 -1
- package/types/router.d.ts.map +1 -1
- package/types/wiring/events.types.d.ts +6 -1
- package/types/wiring/events.types.d.ts.map +1 -1
- package/types/x-installer/api/api.types.d.ts +11 -0
- package/types/x-installer/api/api.types.d.ts.map +1 -1
- package/types/x-installer/api/base-api.d.ts +6 -0
- package/types/x-installer/api/base-api.d.ts.map +1 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts +7 -1
- package/types/x-modules/extra-params/components/snippet-config-extra-params.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/number-range-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/filters/simple-filter.vue.d.ts.map +1 -1
- package/types/x-modules/facets/components/index.d.ts +0 -1
- package/types/x-modules/facets/components/index.d.ts.map +1 -1
- package/types/x-modules/related-tags/wiring.d.ts +3 -3
- package/types/x-modules/tagging/components/tagging.vue.d.ts +26 -0
- package/types/x-modules/tagging/components/tagging.vue.d.ts.map +1 -1
- package/types/x-modules/tagging/config.types.d.ts +8 -0
- package/types/x-modules/tagging/config.types.d.ts.map +1 -1
- package/types/x-modules/tagging/events.types.d.ts +18 -6
- package/types/x-modules/tagging/events.types.d.ts.map +1 -1
- package/types/x-modules/tagging/service/index.d.ts +1 -0
- package/types/x-modules/tagging/service/index.d.ts.map +1 -1
- package/types/x-modules/tagging/service/pdp-add-to-cart.service.d.ts +82 -0
- package/types/x-modules/tagging/service/pdp-add-to-cart.service.d.ts.map +1 -0
- package/types/x-modules/tagging/service/types.d.ts +29 -0
- package/types/x-modules/tagging/service/types.d.ts.map +1 -1
- package/types/x-modules/tagging/store/emitters.d.ts +4 -0
- package/types/x-modules/tagging/store/emitters.d.ts.map +1 -1
- package/types/x-modules/tagging/store/module.d.ts.map +1 -1
- package/types/x-modules/tagging/store/types.d.ts +6 -12
- package/types/x-modules/tagging/store/types.d.ts.map +1 -1
- package/types/x-modules/tagging/wiring.d.ts +13 -12
- package/types/x-modules/tagging/wiring.d.ts.map +1 -1
- package/types/x-modules/url/components/url-handler.vue.d.ts +1 -0
- package/types/x-modules/url/components/url-handler.vue.d.ts.map +1 -1
- package/docs/API-reference/api/x-components.basefilter.clickevents.md +0 -13
- package/docs/API-reference/api/x-components.basefilter.filter.md +0 -13
- package/docs/API-reference/api/x-components.basefilter.md +0 -22
- package/docs/API-reference/api/x-components.setquerytaggingdebounce.md +0 -13
- package/docs/API-reference/api/x-components.setsessionduration.md +0 -13
- package/docs/API-reference/api/x-components.taggingmutations.setquerytaggingdebounce.md +0 -24
- package/docs/API-reference/api/x-components.taggingmutations.setsessionduration.md +0 -24
- package/docs/API-reference/api/x-components.taggingxevents.querytaggingdebounceprovided.md +0 -13
- package/docs/API-reference/api/x-components.taggingxevents.sessiondurationprovided.md +0 -13
- package/docs/API-reference/components/facets/x-components.filters/base-filter.md +0 -77
- package/js/x-modules/facets/components/filters/base-filter.vue.js +0 -69
- package/js/x-modules/facets/components/filters/base-filter.vue.js.map +0 -1
- package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js +0 -189
- package/js/x-modules/facets/components/filters/base-filter.vue_rollup-plugin-vue=script.js.map +0 -1
- package/types/x-modules/facets/components/filters/base-filter.vue.d.ts +0 -39
- package/types/x-modules/facets/components/filters/base-filter.vue.d.ts.map +0 -1
|
@@ -3060,14 +3060,21 @@
|
|
|
3060
3060
|
padding-right: var(--x-size-padding-right-suggestion-group-default); }
|
|
3061
3061
|
[dir="rtl"] .x-suggestion-group{
|
|
3062
3062
|
padding-left: var(--x-size-padding-right-suggestion-group-default); }
|
|
3063
|
+
[dir="ltr"] .x-suggestion-group{
|
|
3064
|
+
border-left-width: var(--x-size-border-width-left-suggestion-group-default); }
|
|
3065
|
+
[dir="rtl"] .x-suggestion-group{
|
|
3066
|
+
border-right-width: var(--x-size-border-width-left-suggestion-group-default); }
|
|
3067
|
+
[dir="ltr"] .x-suggestion-group{
|
|
3068
|
+
border-right-width: var(--x-size-border-width-right-suggestion-group-default); }
|
|
3069
|
+
[dir="rtl"] .x-suggestion-group{
|
|
3070
|
+
border-left-width: var(--x-size-border-width-right-suggestion-group-default); }
|
|
3063
3071
|
.x-suggestion-group {
|
|
3064
3072
|
display: flex;
|
|
3065
3073
|
flex-flow: row nowrap;
|
|
3066
|
-
align-items: flex-start;
|
|
3067
3074
|
box-sizing: border-box;
|
|
3068
|
-
border: none;
|
|
3069
3075
|
background-color: var(--x-color-background-suggestion-group-default);
|
|
3070
3076
|
color: var(--x-color-text-suggestion-group-default);
|
|
3077
|
+
border-color: var(--x-color-border-suggestion-group-default);
|
|
3071
3078
|
font-family: var(--x-font-family-suggestion-group-default);
|
|
3072
3079
|
font-size: var(--x-size-font-suggestion-group-default);
|
|
3073
3080
|
line-height: var(--x-size-line-height-suggestion-group-default);
|
|
@@ -3075,7 +3082,11 @@
|
|
|
3075
3082
|
cursor: pointer;
|
|
3076
3083
|
padding-top: var(--x-size-padding-top-suggestion-group-default);
|
|
3077
3084
|
padding-bottom: var(--x-size-padding-bottom-suggestion-group-default);
|
|
3078
|
-
gap: var(--x-size-gap-suggestion-group-default);
|
|
3085
|
+
gap: var(--x-size-gap-suggestion-group-default);
|
|
3086
|
+
border-style: solid;
|
|
3087
|
+
border-top-width: var(--x-size-border-width-top-suggestion-group-default);
|
|
3088
|
+
border-bottom-width: var(--x-size-border-width-bottom-suggestion-group-default);
|
|
3089
|
+
border-radius: var(--x-size-border-radius-top-left-suggestion-group-default) var(--x-size-border-radius-top-right-suggestion-group-default) var(--x-size-border-radius-bottom-right-suggestion-group-default) var(--x-size-border-radius-bottom-left-suggestion-group-default); }
|
|
3079
3090
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
3080
3091
|
.x-suggestion-group {
|
|
3081
3092
|
gap: 0; }
|
|
@@ -3083,7 +3094,8 @@
|
|
|
3083
3094
|
margin-right: var(--x-size-gap-suggestion-group-default); } }
|
|
3084
3095
|
.x-suggestion-group .x-suggestion {
|
|
3085
3096
|
padding: 0;
|
|
3086
|
-
flex: 1 1 auto;
|
|
3097
|
+
flex: 1 1 auto;
|
|
3098
|
+
border: none; }
|
|
3087
3099
|
.x-suggestion-group .x-button {
|
|
3088
3100
|
--x-color-background-button-default: transparent;
|
|
3089
3101
|
--x-color-border-button-default: transparent;
|
|
@@ -3097,11 +3109,22 @@
|
|
|
3097
3109
|
--x-color-text-suggestion-group-default: var(--x-color-text-suggestion-default);
|
|
3098
3110
|
--x-color-text-suggestion-group-matching-part-default: var(--x-color-text-suggestion-matching-part-default);
|
|
3099
3111
|
--x-color-background-suggestion-group-default: var(--x-color-background-suggestion-default);
|
|
3112
|
+
--x-color-border-suggestion-group-default: var(--x-color-text-suggestion-group-default);
|
|
3100
3113
|
--x-size-padding-top-suggestion-group-default: var(--x-size-padding-top-suggestion-default);
|
|
3101
3114
|
--x-size-padding-right-suggestion-group-default: var(--x-size-padding-right-suggestion-default);
|
|
3102
3115
|
--x-size-padding-bottom-suggestion-group-default: var(--x-size-padding-bottom-suggestion-default);
|
|
3103
3116
|
--x-size-padding-left-suggestion-group-default: var(--x-size-padding-left-suggestion-default);
|
|
3104
3117
|
--x-size-gap-suggestion-group-default: var(--x-size-gap-suggestion-default);
|
|
3118
|
+
--x-size-border-width-suggestion-group-default: 0;
|
|
3119
|
+
--x-size-border-width-top-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
3120
|
+
--x-size-border-width-right-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
3121
|
+
--x-size-border-width-bottom-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
3122
|
+
--x-size-border-width-left-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
3123
|
+
--x-size-border-radius-suggestion-group-default: var(--x-size-border-radius-base-none);
|
|
3124
|
+
--x-size-border-radius-top-left-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
3125
|
+
--x-size-border-radius-top-right-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
3126
|
+
--x-size-border-radius-bottom-right-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
3127
|
+
--x-size-border-radius-bottom-left-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
3105
3128
|
--x-font-family-suggestion-group-default: var(--x-font-family-suggestion-default);
|
|
3106
3129
|
--x-size-font-suggestion-group-default: var(--x-size-font-suggestion-default);
|
|
3107
3130
|
--x-size-line-height-suggestion-group-default: var(--x-size-line-height-suggestion-default);
|
|
@@ -3120,14 +3143,22 @@
|
|
|
3120
3143
|
padding-right: var(--x-size-padding-right-suggestion-default); }
|
|
3121
3144
|
[dir="rtl"] .x-suggestion{
|
|
3122
3145
|
padding-left: var(--x-size-padding-right-suggestion-default); }
|
|
3146
|
+
[dir="ltr"] .x-suggestion{
|
|
3147
|
+
border-left-width: var(--x-size-border-width-left-suggestion-default); }
|
|
3148
|
+
[dir="rtl"] .x-suggestion{
|
|
3149
|
+
border-right-width: var(--x-size-border-width-left-suggestion-default); }
|
|
3150
|
+
[dir="ltr"] .x-suggestion{
|
|
3151
|
+
border-right-width: var(--x-size-border-width-right-suggestion-default); }
|
|
3152
|
+
[dir="rtl"] .x-suggestion{
|
|
3153
|
+
border-left-width: var(--x-size-border-width-right-suggestion-default); }
|
|
3123
3154
|
.x-suggestion {
|
|
3124
3155
|
display: flex;
|
|
3125
3156
|
flex-flow: row nowrap;
|
|
3126
3157
|
box-sizing: border-box;
|
|
3127
3158
|
align-items: var(--x-string-align-items-suggestion-default);
|
|
3128
|
-
border: none;
|
|
3129
3159
|
background-color: var(--x-color-background-suggestion-default);
|
|
3130
3160
|
color: var(--x-color-text-suggestion-default);
|
|
3161
|
+
border-color: var(--x-color-border-suggestion-default);
|
|
3131
3162
|
font-family: var(--x-font-family-suggestion-default);
|
|
3132
3163
|
font-size: var(--x-size-font-suggestion-default);
|
|
3133
3164
|
line-height: var(--x-size-line-height-suggestion-default);
|
|
@@ -3135,7 +3166,11 @@
|
|
|
3135
3166
|
cursor: pointer;
|
|
3136
3167
|
padding-top: var(--x-size-padding-top-suggestion-default);
|
|
3137
3168
|
padding-bottom: var(--x-size-padding-bottom-suggestion-default);
|
|
3138
|
-
gap: var(--x-size-gap-suggestion-default);
|
|
3169
|
+
gap: var(--x-size-gap-suggestion-default);
|
|
3170
|
+
border-style: solid;
|
|
3171
|
+
border-top-width: var(--x-size-border-width-top-suggestion-default);
|
|
3172
|
+
border-bottom-width: var(--x-size-border-width-bottom-suggestion-default);
|
|
3173
|
+
border-radius: var(--x-size-border-radius-top-left-suggestion-default) var(--x-size-border-radius-top-right-suggestion-default) var(--x-size-border-radius-bottom-right-suggestion-default) var(--x-size-border-radius-bottom-left-suggestion-default); }
|
|
3139
3174
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
3140
3175
|
.x-suggestion {
|
|
3141
3176
|
gap: 0; }
|
|
@@ -3167,11 +3202,22 @@
|
|
|
3167
3202
|
--x-color-text-suggestion-matching-part-default: var(--x-color-base-neutral-35);
|
|
3168
3203
|
--x-color-text-suggestion-default-matching: var(--x-color-text-suggestion-default);
|
|
3169
3204
|
--x-color-background-suggestion-default: transparent;
|
|
3205
|
+
--x-color-border-suggestion-default: var(--x-color-text-suggestion-default);
|
|
3170
3206
|
--x-size-padding-top-suggestion-default: var(--x-size-base-01);
|
|
3171
3207
|
--x-size-padding-right-suggestion-default: 0;
|
|
3172
3208
|
--x-size-padding-bottom-suggestion-default: var(--x-size-base-02);
|
|
3173
3209
|
--x-size-padding-left-suggestion-default: 0;
|
|
3174
3210
|
--x-size-gap-suggestion-default: var(--x-size-base-03);
|
|
3211
|
+
--x-size-border-width-suggestion-default: 0;
|
|
3212
|
+
--x-size-border-width-top-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
3213
|
+
--x-size-border-width-right-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
3214
|
+
--x-size-border-width-bottom-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
3215
|
+
--x-size-border-width-left-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
3216
|
+
--x-size-border-radius-suggestion-default: var(--x-size-border-radius-base-none);
|
|
3217
|
+
--x-size-border-radius-top-left-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
3218
|
+
--x-size-border-radius-top-right-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
3219
|
+
--x-size-border-radius-bottom-right-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
3220
|
+
--x-size-border-radius-bottom-left-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
3175
3221
|
--x-font-family-suggestion-default: var(--x-font-family-text);
|
|
3176
3222
|
--x-size-font-suggestion-default: var(--x-size-font-text);
|
|
3177
3223
|
--x-size-line-height-suggestion-default: var(--x-size-line-height-text);
|
|
@@ -3251,6 +3297,50 @@
|
|
|
3251
3297
|
gap: 0; }
|
|
3252
3298
|
.x-tag > *:not(:last-child) {
|
|
3253
3299
|
margin-right: var(--x-size-gap-tag-default); } }
|
|
3300
|
+
.x-tag.x-suggestion {
|
|
3301
|
+
--x-color-background-suggestion-default: var(--x-color-background-tag-default);
|
|
3302
|
+
--x-color-text-suggestion-default: var(--x-color-text-tag-default);
|
|
3303
|
+
--x-color-border-suggestion-default: var(--x-color-border-tag-default);
|
|
3304
|
+
--x-size-padding-top-suggestion-default: 0;
|
|
3305
|
+
--x-size-padding-right-suggestion-default: var(--x-size-padding-right-tag-default);
|
|
3306
|
+
--x-size-padding-bottom-suggestion-default: 0;
|
|
3307
|
+
--x-size-padding-left-suggestion-default: var(--x-size-padding-left-tag-default);
|
|
3308
|
+
--x-size-gap-suggestion-default: var(--x-size-gap-tag-default);
|
|
3309
|
+
--x-size-border-width-suggestion-default: var(--x-size-border-width-tag-default);
|
|
3310
|
+
--x-size-border-width-top-suggestion-default: var(--x-size-border-width-tag-default);
|
|
3311
|
+
--x-size-border-width-right-suggestion-default: var(--x-size-border-width-tag-default);
|
|
3312
|
+
--x-size-border-width-bottom-suggestion-default: var(--x-size-border-width-tag-default);
|
|
3313
|
+
--x-size-border-width-left-suggestion-default: var(--x-size-border-width-tag-default);
|
|
3314
|
+
--x-size-border-radius-bottom-right-suggestion-default: var(--x-size-border-radius-bottom-right-tag-default);
|
|
3315
|
+
--x-size-border-radius-bottom-left-suggestion-default: var(--x-size-border-radius-bottom-leftt-tag-default);
|
|
3316
|
+
--x-size-border-radius-top-right-suggestion-default: var(--x-size-border-radius-top-right-tag-default);
|
|
3317
|
+
--x-size-border-radius-top-left-suggestion-default: var(--x-size-border-radius-top-left-tag-default);
|
|
3318
|
+
--x-font-family-suggestion-default: var(--x-font-family-tag-default);
|
|
3319
|
+
--x-size-font-suggestion-default: var(--x-size-font-tag-default);
|
|
3320
|
+
--x-size-line-height-suggestion-default: var(--x-size-line-height-tag-default);
|
|
3321
|
+
--x-number-font-weight-suggestion-default: var(--x-number-font-weight-tag-default); }
|
|
3322
|
+
.x-tag.x-suggestion-group {
|
|
3323
|
+
--x-color-background-suggestion-group-default: var(--x-color-background-tag-default);
|
|
3324
|
+
--x-color-text-suggestion-group-default: var(--x-color-text-tag-default);
|
|
3325
|
+
--x-color-border-suggestion-group-default: var(--x-color-border-tag-default);
|
|
3326
|
+
--x-size-padding-top-suggestion-group-default: 0;
|
|
3327
|
+
--x-size-padding-right-suggestion-group-default: var(--x-size-padding-right-tag-default);
|
|
3328
|
+
--x-size-padding-bottom-suggestion-group-default: 0;
|
|
3329
|
+
--x-size-padding-left-suggestion-group-default: var(--x-size-padding-left-tag-default);
|
|
3330
|
+
--x-size-gap-suggestion-group-default: var(--x-size-gap-tag-default);
|
|
3331
|
+
--x-size-border-width-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
3332
|
+
--x-size-border-width-top-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
3333
|
+
--x-size-border-width-right-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
3334
|
+
--x-size-border-width-bottom-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
3335
|
+
--x-size-border-width-left-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
3336
|
+
--x-size-border-radius-bottom-right-suggestion-group-default: var(--x-size-border-radius-bottom-right-tag-default);
|
|
3337
|
+
--x-size-border-radius-bottom-left-suggestion-group-default: var(--x-size-border-radius-bottom-leftt-tag-default);
|
|
3338
|
+
--x-size-border-radius-top-right-suggestion-group-default: var(--x-size-border-radius-top-right-tag-default);
|
|
3339
|
+
--x-size-border-radius-top-left-suggestion-group-default: var(--x-size-border-radius-top-left-tag-default);
|
|
3340
|
+
--x-font-family-suggestion-group-default: var(--x-font-family-tag-default);
|
|
3341
|
+
--x-size-font-suggestion-group-default: var(--x-size-font-tag-default);
|
|
3342
|
+
--x-size-line-height-suggestion-group-default: var(--x-size-line-height-tag-default);
|
|
3343
|
+
--x-number-font-weight-suggestion-group-default: var(--x-number-font-weight-tag-default); }
|
|
3254
3344
|
.x-tag.x-filter {
|
|
3255
3345
|
--x-color-background-filter-default: transparent;
|
|
3256
3346
|
--x-size-border-width-filter-default: 0;
|
|
@@ -3264,6 +3354,14 @@
|
|
|
3264
3354
|
--x-size-font-filter-default: var(--x-size-font-tag-default);
|
|
3265
3355
|
--x-number-font-weight-filter-count-default: var(--x-number-font-weight-tag-default);
|
|
3266
3356
|
--x-size-line-height-filter-default: var(--x-size-line-height-tag-default); }
|
|
3357
|
+
.x-tag.x-tag.x-tag--is-curated {
|
|
3358
|
+
background-color: var(--x-color-background-tag-default-curated);
|
|
3359
|
+
border-color: var(--x-color-border-tag-default-curated);
|
|
3360
|
+
color: var(--x-color-text-tag-default-curated);
|
|
3361
|
+
line-height: var(--x-size-line-height-tag-default-curated);
|
|
3362
|
+
font-family: var(--x-font-family-tag-default-curated);
|
|
3363
|
+
font-size: var(--x-size-font-tag-default-curated);
|
|
3364
|
+
font-weight: var(--x-number-font-weight-tag-default-curated); }
|
|
3267
3365
|
.x-tag.x-tag.x-tag--is-selected {
|
|
3268
3366
|
background-color: var(--x-color-background-tag-default-selected);
|
|
3269
3367
|
border-color: var(--x-color-border-tag-default-selected);
|
|
@@ -3272,6 +3370,14 @@
|
|
|
3272
3370
|
font-family: var(--x-font-family-tag-default-selected);
|
|
3273
3371
|
font-size: var(--x-size-font-tag-default-selected);
|
|
3274
3372
|
font-weight: var(--x-number-font-weight-tag-default-selected); }
|
|
3373
|
+
.x-tag.x-tag.x-tag--is-selected.x-tag--is-curated {
|
|
3374
|
+
background-color: var(--x-color-background-tag-default-curated-selected);
|
|
3375
|
+
border-color: var(--x-color-border-tag-default-curated-selected);
|
|
3376
|
+
color: var(--x-color-text-tag-default-curated-selected);
|
|
3377
|
+
line-height: var(--x-size-line-height-tag-default-curated-selected);
|
|
3378
|
+
font-family: var(--x-font-family-tag-default-curated-selected);
|
|
3379
|
+
font-size: var(--x-size-font-tag-default-curated-selected);
|
|
3380
|
+
font-weight: var(--x-number-font-weight-tag-default-curated-selected); }
|
|
3275
3381
|
.x-tag.x-tag.x-tag--is-selected.x-filter {
|
|
3276
3382
|
--x-color-text-filter-default-selected: var(--x-color-text-tag-default-selected);
|
|
3277
3383
|
--x-font-family-filter-default-selected: var(--x-font-family-tag-default-selected);
|
|
@@ -3288,6 +3394,12 @@
|
|
|
3288
3394
|
--x-color-background-tag-default-selected: var(--x-color-base-neutral-95);
|
|
3289
3395
|
--x-color-border-tag-default-selected: var(--x-color-border-tag-default);
|
|
3290
3396
|
--x-color-text-tag-default-selected: var(--x-color-text-tag-default);
|
|
3397
|
+
--x-color-background-tag-default-curated: var(--x-color-base-neutral-100);
|
|
3398
|
+
--x-color-border-tag-default-curated: var(--x-color-text-tag-default);
|
|
3399
|
+
--x-color-text-tag-default-curated: var(--x-color-text-default);
|
|
3400
|
+
--x-color-background-tag-default-curated-selected: var(--x-color-base-neutral-95);
|
|
3401
|
+
--x-color-border-tag-default-curated-selected: var(--x-color-border-tag-default);
|
|
3402
|
+
--x-color-text-tag-default-curated-selected: var(--x-color-text-tag-default);
|
|
3291
3403
|
--x-size-border-width-tag-default: var(--x-size-border-width-base);
|
|
3292
3404
|
--x-size-border-width-top-tag-default: var(--x-size-border-width-tag-default);
|
|
3293
3405
|
--x-size-border-width-right-tag-default: var(--x-size-border-width-tag-default);
|
|
@@ -3309,22 +3421,40 @@
|
|
|
3309
3421
|
--x-font-family-tag-default-selected: var(--x-font-family-tag-default);
|
|
3310
3422
|
--x-size-font-tag-default-selected: var(--x-size-font-tag-default);
|
|
3311
3423
|
--x-size-line-height-tag-default-selected: var(--x-size-line-height-tag-default);
|
|
3312
|
-
--x-number-font-weight-tag-default-selected: var(--x-number-font-weight-tag-default);
|
|
3424
|
+
--x-number-font-weight-tag-default-selected: var(--x-number-font-weight-tag-default);
|
|
3425
|
+
--x-font-family-tag-default-curated: var(--x-font-family-text);
|
|
3426
|
+
--x-size-font-tag-default-curated: var(--x-size-font-text);
|
|
3427
|
+
--x-size-line-height-tag-default-curated: var(--x-size-line-height-text);
|
|
3428
|
+
--x-number-font-weight-tag-default-curated: var(--x-number-font-weight-text);
|
|
3429
|
+
--x-font-family-tag-default-curated-selected: var(--x-font-family-tag-default);
|
|
3430
|
+
--x-size-font-tag-default-curated-selected: var(--x-size-font-tag-default);
|
|
3431
|
+
--x-size-line-height-tag-default-curated-selected: var(--x-size-line-height-tag-default);
|
|
3432
|
+
--x-number-font-weight-tag-default-curated-selected: var(--x-number-font-weight-tag-default); }
|
|
3313
3433
|
|
|
3314
3434
|
.x-tag--ghost.x-tag,
|
|
3315
3435
|
.x-tag--ghost .x-tag {
|
|
3316
3436
|
--x-color-background-tag-default: var(--x-color-background-tag-ghost);
|
|
3317
3437
|
--x-color-border-tag-default: var(--x-color-border-tag-ghost);
|
|
3438
|
+
--x-color-background-tag-default-curated: var(--x-color-background-tag-curated-ghost);
|
|
3439
|
+
--x-color-border-tag-default-curated: var(--x-color-border-tag-curated-ghost);
|
|
3318
3440
|
--x-color-background-tag-default-selected: var(--x-color-background-tag-selected-ghost);
|
|
3319
3441
|
--x-color-border-tag-default-selected: var(--x-color-border-tag-selected-ghost);
|
|
3320
|
-
--x-
|
|
3442
|
+
--x-color-background-tag-default-curated-selected: var(--x-color-background-tag-curated-selected-ghost);
|
|
3443
|
+
--x-color-border-tag-default-curated-selected: var(--x-color-border-tag-curated-selected-ghost);
|
|
3444
|
+
--x-number-font-weight-tag-default-selected: var(--x-number-font-weight-tag-selected-ghost);
|
|
3445
|
+
--x-number-font-weight-tag-default-curated-selected: var(--x-number-font-weight-tag-curated-selected-ghost); }
|
|
3321
3446
|
|
|
3322
3447
|
:root {
|
|
3323
3448
|
--x-color-background-tag-ghost: transparent;
|
|
3324
3449
|
--x-color-border-tag-ghost: transparent;
|
|
3325
3450
|
--x-color-background-tag-selected-ghost: transparent;
|
|
3326
3451
|
--x-color-border-tag-selected-ghost: transparent;
|
|
3327
|
-
--x-
|
|
3452
|
+
--x-color-background-tag-curated-ghost: transparent;
|
|
3453
|
+
--x-color-border-tag-curated-ghost: transparent;
|
|
3454
|
+
--x-color-background-tag-curated-selected-ghost: transparent;
|
|
3455
|
+
--x-color-border-tag-curated-selected-ghost: transparent;
|
|
3456
|
+
--x-number-font-weight-tag-selected-ghost: var(--x-number-font-weight-base-bold);
|
|
3457
|
+
--x-number-font-weight-tag-curated-selected-ghost: var(--x-number-font-weight-base-bold); }
|
|
3328
3458
|
|
|
3329
3459
|
.x-tag--pill.x-tag,
|
|
3330
3460
|
.x-tag--pill .x-tag {
|
|
@@ -4,11 +4,22 @@
|
|
|
4
4
|
--x-color-text-suggestion-matching-part-default: var(--x-color-base-neutral-35);
|
|
5
5
|
--x-color-text-suggestion-default-matching: var(--x-color-text-suggestion-default);
|
|
6
6
|
--x-color-background-suggestion-default: transparent;
|
|
7
|
+
--x-color-border-suggestion-default: var(--x-color-text-suggestion-default);
|
|
7
8
|
--x-size-padding-top-suggestion-default: var(--x-size-base-01);
|
|
8
9
|
--x-size-padding-right-suggestion-default: 0;
|
|
9
10
|
--x-size-padding-bottom-suggestion-default: var(--x-size-base-02);
|
|
10
11
|
--x-size-padding-left-suggestion-default: 0;
|
|
11
12
|
--x-size-gap-suggestion-default: var(--x-size-base-03);
|
|
13
|
+
--x-size-border-width-suggestion-default: 0;
|
|
14
|
+
--x-size-border-width-top-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
15
|
+
--x-size-border-width-right-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
16
|
+
--x-size-border-width-bottom-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
17
|
+
--x-size-border-width-left-suggestion-default: var(--x-size-border-width-suggestion-default);
|
|
18
|
+
--x-size-border-radius-suggestion-default: var(--x-size-border-radius-base-none);
|
|
19
|
+
--x-size-border-radius-top-left-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
20
|
+
--x-size-border-radius-top-right-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
21
|
+
--x-size-border-radius-bottom-right-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
22
|
+
--x-size-border-radius-bottom-left-suggestion-default: var(--x-size-border-radius-suggestion-default);
|
|
12
23
|
--x-font-family-suggestion-default: var(--x-font-family-text);
|
|
13
24
|
--x-size-font-suggestion-default: var(--x-size-font-text);
|
|
14
25
|
--x-size-line-height-suggestion-default: var(--x-size-line-height-text);
|
|
@@ -41,14 +52,22 @@
|
|
|
41
52
|
padding-right: var(--x-size-padding-right-suggestion-default); }
|
|
42
53
|
[dir="rtl"] .x-suggestion {
|
|
43
54
|
padding-left: var(--x-size-padding-right-suggestion-default); }
|
|
55
|
+
[dir="ltr"] .x-suggestion {
|
|
56
|
+
border-left-width: var(--x-size-border-width-left-suggestion-default); }
|
|
57
|
+
[dir="rtl"] .x-suggestion {
|
|
58
|
+
border-right-width: var(--x-size-border-width-left-suggestion-default); }
|
|
59
|
+
[dir="ltr"] .x-suggestion {
|
|
60
|
+
border-right-width: var(--x-size-border-width-right-suggestion-default); }
|
|
61
|
+
[dir="rtl"] .x-suggestion {
|
|
62
|
+
border-left-width: var(--x-size-border-width-right-suggestion-default); }
|
|
44
63
|
.x-suggestion {
|
|
45
64
|
display: flex;
|
|
46
65
|
flex-flow: row nowrap;
|
|
47
66
|
box-sizing: border-box;
|
|
48
67
|
align-items: var(--x-string-align-items-suggestion-default);
|
|
49
|
-
border: none;
|
|
50
68
|
background-color: var(--x-color-background-suggestion-default);
|
|
51
69
|
color: var(--x-color-text-suggestion-default);
|
|
70
|
+
border-color: var(--x-color-border-suggestion-default);
|
|
52
71
|
font-family: var(--x-font-family-suggestion-default);
|
|
53
72
|
font-size: var(--x-size-font-suggestion-default);
|
|
54
73
|
line-height: var(--x-size-line-height-suggestion-default);
|
|
@@ -56,7 +75,11 @@
|
|
|
56
75
|
cursor: pointer;
|
|
57
76
|
padding-top: var(--x-size-padding-top-suggestion-default);
|
|
58
77
|
padding-bottom: var(--x-size-padding-bottom-suggestion-default);
|
|
59
|
-
gap: var(--x-size-gap-suggestion-default);
|
|
78
|
+
gap: var(--x-size-gap-suggestion-default);
|
|
79
|
+
border-style: solid;
|
|
80
|
+
border-top-width: var(--x-size-border-width-top-suggestion-default);
|
|
81
|
+
border-bottom-width: var(--x-size-border-width-bottom-suggestion-default);
|
|
82
|
+
border-radius: var(--x-size-border-radius-top-left-suggestion-default) var(--x-size-border-radius-top-right-suggestion-default) var(--x-size-border-radius-bottom-right-suggestion-default) var(--x-size-border-radius-bottom-left-suggestion-default); }
|
|
60
83
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
61
84
|
.x-suggestion {
|
|
62
85
|
gap: 0; }
|
|
@@ -2,11 +2,22 @@
|
|
|
2
2
|
--x-color-text-suggestion-group-default: var(--x-color-text-suggestion-default);
|
|
3
3
|
--x-color-text-suggestion-group-matching-part-default: var(--x-color-text-suggestion-matching-part-default);
|
|
4
4
|
--x-color-background-suggestion-group-default: var(--x-color-background-suggestion-default);
|
|
5
|
+
--x-color-border-suggestion-group-default: var(--x-color-text-suggestion-group-default);
|
|
5
6
|
--x-size-padding-top-suggestion-group-default: var(--x-size-padding-top-suggestion-default);
|
|
6
7
|
--x-size-padding-right-suggestion-group-default: var(--x-size-padding-right-suggestion-default);
|
|
7
8
|
--x-size-padding-bottom-suggestion-group-default: var(--x-size-padding-bottom-suggestion-default);
|
|
8
9
|
--x-size-padding-left-suggestion-group-default: var(--x-size-padding-left-suggestion-default);
|
|
9
10
|
--x-size-gap-suggestion-group-default: var(--x-size-gap-suggestion-default);
|
|
11
|
+
--x-size-border-width-suggestion-group-default: 0;
|
|
12
|
+
--x-size-border-width-top-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
13
|
+
--x-size-border-width-right-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
14
|
+
--x-size-border-width-bottom-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
15
|
+
--x-size-border-width-left-suggestion-group-default: var(--x-size-border-width-suggestion-default);
|
|
16
|
+
--x-size-border-radius-suggestion-group-default: var(--x-size-border-radius-base-none);
|
|
17
|
+
--x-size-border-radius-top-left-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
18
|
+
--x-size-border-radius-top-right-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
19
|
+
--x-size-border-radius-bottom-right-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
20
|
+
--x-size-border-radius-bottom-left-suggestion-group-default: var(--x-size-border-radius-suggestion-default);
|
|
10
21
|
--x-font-family-suggestion-group-default: var(--x-font-family-suggestion-default);
|
|
11
22
|
--x-size-font-suggestion-group-default: var(--x-size-font-suggestion-default);
|
|
12
23
|
--x-size-line-height-suggestion-group-default: var(--x-size-line-height-suggestion-default);
|
|
@@ -21,14 +32,21 @@
|
|
|
21
32
|
padding-right: var(--x-size-padding-right-suggestion-group-default); }
|
|
22
33
|
[dir="rtl"] .x-suggestion-group {
|
|
23
34
|
padding-left: var(--x-size-padding-right-suggestion-group-default); }
|
|
35
|
+
[dir="ltr"] .x-suggestion-group {
|
|
36
|
+
border-left-width: var(--x-size-border-width-left-suggestion-group-default); }
|
|
37
|
+
[dir="rtl"] .x-suggestion-group {
|
|
38
|
+
border-right-width: var(--x-size-border-width-left-suggestion-group-default); }
|
|
39
|
+
[dir="ltr"] .x-suggestion-group {
|
|
40
|
+
border-right-width: var(--x-size-border-width-right-suggestion-group-default); }
|
|
41
|
+
[dir="rtl"] .x-suggestion-group {
|
|
42
|
+
border-left-width: var(--x-size-border-width-right-suggestion-group-default); }
|
|
24
43
|
.x-suggestion-group {
|
|
25
44
|
display: flex;
|
|
26
45
|
flex-flow: row nowrap;
|
|
27
|
-
align-items: flex-start;
|
|
28
46
|
box-sizing: border-box;
|
|
29
|
-
border: none;
|
|
30
47
|
background-color: var(--x-color-background-suggestion-group-default);
|
|
31
48
|
color: var(--x-color-text-suggestion-group-default);
|
|
49
|
+
border-color: var(--x-color-border-suggestion-group-default);
|
|
32
50
|
font-family: var(--x-font-family-suggestion-group-default);
|
|
33
51
|
font-size: var(--x-size-font-suggestion-group-default);
|
|
34
52
|
line-height: var(--x-size-line-height-suggestion-group-default);
|
|
@@ -36,7 +54,11 @@
|
|
|
36
54
|
cursor: pointer;
|
|
37
55
|
padding-top: var(--x-size-padding-top-suggestion-group-default);
|
|
38
56
|
padding-bottom: var(--x-size-padding-bottom-suggestion-group-default);
|
|
39
|
-
gap: var(--x-size-gap-suggestion-group-default);
|
|
57
|
+
gap: var(--x-size-gap-suggestion-group-default);
|
|
58
|
+
border-style: solid;
|
|
59
|
+
border-top-width: var(--x-size-border-width-top-suggestion-group-default);
|
|
60
|
+
border-bottom-width: var(--x-size-border-width-bottom-suggestion-group-default);
|
|
61
|
+
border-radius: var(--x-size-border-radius-top-left-suggestion-group-default) var(--x-size-border-radius-top-right-suggestion-group-default) var(--x-size-border-radius-bottom-right-suggestion-group-default) var(--x-size-border-radius-bottom-left-suggestion-group-default); }
|
|
40
62
|
@media not all and (min-resolution: 0.001dpcm) {
|
|
41
63
|
.x-suggestion-group {
|
|
42
64
|
gap: 0; }
|
|
@@ -44,7 +66,8 @@
|
|
|
44
66
|
margin-right: var(--x-size-gap-suggestion-group-default); } }
|
|
45
67
|
.x-suggestion-group .x-suggestion {
|
|
46
68
|
padding: 0;
|
|
47
|
-
flex: 1 1 auto;
|
|
69
|
+
flex: 1 1 auto;
|
|
70
|
+
border: none; }
|
|
48
71
|
.x-suggestion-group .x-button {
|
|
49
72
|
--x-color-background-button-default: transparent;
|
|
50
73
|
--x-color-border-button-default: transparent;
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
--x-color-background-tag-default-selected: var(--x-color-base-neutral-95);
|
|
6
6
|
--x-color-border-tag-default-selected: var(--x-color-border-tag-default);
|
|
7
7
|
--x-color-text-tag-default-selected: var(--x-color-text-tag-default);
|
|
8
|
+
--x-color-background-tag-default-curated: var(--x-color-base-neutral-100);
|
|
9
|
+
--x-color-border-tag-default-curated: var(--x-color-text-tag-default);
|
|
10
|
+
--x-color-text-tag-default-curated: var(--x-color-text-default);
|
|
11
|
+
--x-color-background-tag-default-curated-selected: var(--x-color-base-neutral-95);
|
|
12
|
+
--x-color-border-tag-default-curated-selected: var(--x-color-border-tag-default);
|
|
13
|
+
--x-color-text-tag-default-curated-selected: var(--x-color-text-tag-default);
|
|
8
14
|
--x-size-border-width-tag-default: var(--x-size-border-width-base);
|
|
9
15
|
--x-size-border-width-top-tag-default: var(--x-size-border-width-tag-default);
|
|
10
16
|
--x-size-border-width-right-tag-default: var(--x-size-border-width-tag-default);
|
|
@@ -26,7 +32,15 @@
|
|
|
26
32
|
--x-font-family-tag-default-selected: var(--x-font-family-tag-default);
|
|
27
33
|
--x-size-font-tag-default-selected: var(--x-size-font-tag-default);
|
|
28
34
|
--x-size-line-height-tag-default-selected: var(--x-size-line-height-tag-default);
|
|
29
|
-
--x-number-font-weight-tag-default-selected: var(--x-number-font-weight-tag-default);
|
|
35
|
+
--x-number-font-weight-tag-default-selected: var(--x-number-font-weight-tag-default);
|
|
36
|
+
--x-font-family-tag-default-curated: var(--x-font-family-text);
|
|
37
|
+
--x-size-font-tag-default-curated: var(--x-size-font-text);
|
|
38
|
+
--x-size-line-height-tag-default-curated: var(--x-size-line-height-text);
|
|
39
|
+
--x-number-font-weight-tag-default-curated: var(--x-number-font-weight-text);
|
|
40
|
+
--x-font-family-tag-default-curated-selected: var(--x-font-family-tag-default);
|
|
41
|
+
--x-size-font-tag-default-curated-selected: var(--x-size-font-tag-default);
|
|
42
|
+
--x-size-line-height-tag-default-curated-selected: var(--x-size-line-height-tag-default);
|
|
43
|
+
--x-number-font-weight-tag-default-curated-selected: var(--x-number-font-weight-tag-default); }
|
|
30
44
|
|
|
31
45
|
@use 'sass:string';
|
|
32
46
|
[dir="ltr"] .x-tag {
|
|
@@ -71,6 +85,50 @@
|
|
|
71
85
|
gap: 0; }
|
|
72
86
|
.x-tag > *:not(:last-child) {
|
|
73
87
|
margin-right: var(--x-size-gap-tag-default); } }
|
|
88
|
+
.x-tag.x-suggestion {
|
|
89
|
+
--x-color-background-suggestion-default: var(--x-color-background-tag-default);
|
|
90
|
+
--x-color-text-suggestion-default: var(--x-color-text-tag-default);
|
|
91
|
+
--x-color-border-suggestion-default: var(--x-color-border-tag-default);
|
|
92
|
+
--x-size-padding-top-suggestion-default: 0;
|
|
93
|
+
--x-size-padding-right-suggestion-default: var(--x-size-padding-right-tag-default);
|
|
94
|
+
--x-size-padding-bottom-suggestion-default: 0;
|
|
95
|
+
--x-size-padding-left-suggestion-default: var(--x-size-padding-left-tag-default);
|
|
96
|
+
--x-size-gap-suggestion-default: var(--x-size-gap-tag-default);
|
|
97
|
+
--x-size-border-width-suggestion-default: var(--x-size-border-width-tag-default);
|
|
98
|
+
--x-size-border-width-top-suggestion-default: var(--x-size-border-width-tag-default);
|
|
99
|
+
--x-size-border-width-right-suggestion-default: var(--x-size-border-width-tag-default);
|
|
100
|
+
--x-size-border-width-bottom-suggestion-default: var(--x-size-border-width-tag-default);
|
|
101
|
+
--x-size-border-width-left-suggestion-default: var(--x-size-border-width-tag-default);
|
|
102
|
+
--x-size-border-radius-bottom-right-suggestion-default: var(--x-size-border-radius-bottom-right-tag-default);
|
|
103
|
+
--x-size-border-radius-bottom-left-suggestion-default: var(--x-size-border-radius-bottom-leftt-tag-default);
|
|
104
|
+
--x-size-border-radius-top-right-suggestion-default: var(--x-size-border-radius-top-right-tag-default);
|
|
105
|
+
--x-size-border-radius-top-left-suggestion-default: var(--x-size-border-radius-top-left-tag-default);
|
|
106
|
+
--x-font-family-suggestion-default: var(--x-font-family-tag-default);
|
|
107
|
+
--x-size-font-suggestion-default: var(--x-size-font-tag-default);
|
|
108
|
+
--x-size-line-height-suggestion-default: var(--x-size-line-height-tag-default);
|
|
109
|
+
--x-number-font-weight-suggestion-default: var(--x-number-font-weight-tag-default); }
|
|
110
|
+
.x-tag.x-suggestion-group {
|
|
111
|
+
--x-color-background-suggestion-group-default: var(--x-color-background-tag-default);
|
|
112
|
+
--x-color-text-suggestion-group-default: var(--x-color-text-tag-default);
|
|
113
|
+
--x-color-border-suggestion-group-default: var(--x-color-border-tag-default);
|
|
114
|
+
--x-size-padding-top-suggestion-group-default: 0;
|
|
115
|
+
--x-size-padding-right-suggestion-group-default: var(--x-size-padding-right-tag-default);
|
|
116
|
+
--x-size-padding-bottom-suggestion-group-default: 0;
|
|
117
|
+
--x-size-padding-left-suggestion-group-default: var(--x-size-padding-left-tag-default);
|
|
118
|
+
--x-size-gap-suggestion-group-default: var(--x-size-gap-tag-default);
|
|
119
|
+
--x-size-border-width-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
120
|
+
--x-size-border-width-top-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
121
|
+
--x-size-border-width-right-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
122
|
+
--x-size-border-width-bottom-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
123
|
+
--x-size-border-width-left-suggestion-group-default: var(--x-size-border-width-tag-default);
|
|
124
|
+
--x-size-border-radius-bottom-right-suggestion-group-default: var(--x-size-border-radius-bottom-right-tag-default);
|
|
125
|
+
--x-size-border-radius-bottom-left-suggestion-group-default: var(--x-size-border-radius-bottom-leftt-tag-default);
|
|
126
|
+
--x-size-border-radius-top-right-suggestion-group-default: var(--x-size-border-radius-top-right-tag-default);
|
|
127
|
+
--x-size-border-radius-top-left-suggestion-group-default: var(--x-size-border-radius-top-left-tag-default);
|
|
128
|
+
--x-font-family-suggestion-group-default: var(--x-font-family-tag-default);
|
|
129
|
+
--x-size-font-suggestion-group-default: var(--x-size-font-tag-default);
|
|
130
|
+
--x-size-line-height-suggestion-group-default: var(--x-size-line-height-tag-default);
|
|
131
|
+
--x-number-font-weight-suggestion-group-default: var(--x-number-font-weight-tag-default); }
|
|
74
132
|
.x-tag.x-filter {
|
|
75
133
|
--x-color-background-filter-default: transparent;
|
|
76
134
|
--x-size-border-width-filter-default: 0;
|
|
@@ -84,6 +142,14 @@
|
|
|
84
142
|
--x-size-font-filter-default: var(--x-size-font-tag-default);
|
|
85
143
|
--x-number-font-weight-filter-count-default: var(--x-number-font-weight-tag-default);
|
|
86
144
|
--x-size-line-height-filter-default: var(--x-size-line-height-tag-default); }
|
|
145
|
+
.x-tag.x-tag.x-tag--is-curated {
|
|
146
|
+
background-color: var(--x-color-background-tag-default-curated);
|
|
147
|
+
border-color: var(--x-color-border-tag-default-curated);
|
|
148
|
+
color: var(--x-color-text-tag-default-curated);
|
|
149
|
+
line-height: var(--x-size-line-height-tag-default-curated);
|
|
150
|
+
font-family: var(--x-font-family-tag-default-curated);
|
|
151
|
+
font-size: var(--x-size-font-tag-default-curated);
|
|
152
|
+
font-weight: var(--x-number-font-weight-tag-default-curated); }
|
|
87
153
|
.x-tag.x-tag.x-tag--is-selected {
|
|
88
154
|
background-color: var(--x-color-background-tag-default-selected);
|
|
89
155
|
border-color: var(--x-color-border-tag-default-selected);
|
|
@@ -92,6 +158,14 @@
|
|
|
92
158
|
font-family: var(--x-font-family-tag-default-selected);
|
|
93
159
|
font-size: var(--x-size-font-tag-default-selected);
|
|
94
160
|
font-weight: var(--x-number-font-weight-tag-default-selected); }
|
|
161
|
+
.x-tag.x-tag.x-tag--is-selected.x-tag--is-curated {
|
|
162
|
+
background-color: var(--x-color-background-tag-default-curated-selected);
|
|
163
|
+
border-color: var(--x-color-border-tag-default-curated-selected);
|
|
164
|
+
color: var(--x-color-text-tag-default-curated-selected);
|
|
165
|
+
line-height: var(--x-size-line-height-tag-default-curated-selected);
|
|
166
|
+
font-family: var(--x-font-family-tag-default-curated-selected);
|
|
167
|
+
font-size: var(--x-size-font-tag-default-curated-selected);
|
|
168
|
+
font-weight: var(--x-number-font-weight-tag-default-curated-selected); }
|
|
95
169
|
.x-tag.x-tag.x-tag--is-selected.x-filter {
|
|
96
170
|
--x-color-text-filter-default-selected: var(--x-color-text-tag-default-selected);
|
|
97
171
|
--x-font-family-filter-default-selected: var(--x-font-family-tag-default-selected);
|
|
@@ -3,12 +3,22 @@
|
|
|
3
3
|
--x-color-border-tag-ghost: transparent;
|
|
4
4
|
--x-color-background-tag-selected-ghost: transparent;
|
|
5
5
|
--x-color-border-tag-selected-ghost: transparent;
|
|
6
|
-
--x-
|
|
6
|
+
--x-color-background-tag-curated-ghost: transparent;
|
|
7
|
+
--x-color-border-tag-curated-ghost: transparent;
|
|
8
|
+
--x-color-background-tag-curated-selected-ghost: transparent;
|
|
9
|
+
--x-color-border-tag-curated-selected-ghost: transparent;
|
|
10
|
+
--x-number-font-weight-tag-selected-ghost: var(--x-number-font-weight-base-bold);
|
|
11
|
+
--x-number-font-weight-tag-curated-selected-ghost: var(--x-number-font-weight-base-bold); }
|
|
7
12
|
|
|
8
13
|
.x-tag--ghost.x-tag,
|
|
9
14
|
.x-tag--ghost .x-tag {
|
|
10
15
|
--x-color-background-tag-default: var(--x-color-background-tag-ghost);
|
|
11
16
|
--x-color-border-tag-default: var(--x-color-border-tag-ghost);
|
|
17
|
+
--x-color-background-tag-default-curated: var(--x-color-background-tag-curated-ghost);
|
|
18
|
+
--x-color-border-tag-default-curated: var(--x-color-border-tag-curated-ghost);
|
|
12
19
|
--x-color-background-tag-default-selected: var(--x-color-background-tag-selected-ghost);
|
|
13
20
|
--x-color-border-tag-default-selected: var(--x-color-border-tag-selected-ghost);
|
|
14
|
-
--x-
|
|
21
|
+
--x-color-background-tag-default-curated-selected: var(--x-color-background-tag-curated-selected-ghost);
|
|
22
|
+
--x-color-border-tag-default-curated-selected: var(--x-color-border-tag-curated-selected-ghost);
|
|
23
|
+
--x-number-font-weight-tag-default-selected: var(--x-number-font-weight-tag-selected-ghost);
|
|
24
|
+
--x-number-font-weight-tag-default-curated-selected: var(--x-number-font-weight-tag-curated-selected-ghost); }
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseXAPI](./x-components.basexapi.md) > [addProductToCart](./x-components.basexapi.addproducttocart.md)
|
|
4
|
+
|
|
5
|
+
## BaseXAPI.addProductToCart() method
|
|
6
|
+
|
|
7
|
+
Tracks that a product was added to cart from PDP.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
addProductToCart(productId?: string): void;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| productId | string | The product id that was added to cart. |
|
|
20
|
+
|
|
21
|
+
<b>Returns:</b>
|
|
22
|
+
|
|
23
|
+
void
|
|
24
|
+
|
|
@@ -17,6 +17,7 @@ export declare class BaseXAPI implements XAPI
|
|
|
17
17
|
|
|
18
18
|
| Method | Modifiers | Description |
|
|
19
19
|
| --- | --- | --- |
|
|
20
|
+
| [addProductToCart(productId)](./x-components.basexapi.addproducttocart.md) | | Tracks that a product was added to cart from PDP. |
|
|
20
21
|
| [init(config)](./x-components.basexapi.init.md) | | Initializes the Application passing the [SnippetConfig](./x-components.snippetconfig.md)<!-- -->. |
|
|
21
22
|
| [search(query)](./x-components.basexapi.search.md) | | Searches the query parameter as user query. |
|
|
22
23
|
| [setInitCallback(initCallback)](./x-components.basexapi.setinitcallback.md) | | Setter for the callback to call in the init method. |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [CuratedCheckIcon](./x-components.curatedcheckicon.md)
|
|
4
|
+
|
|
5
|
+
## CuratedCheckIcon variable
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
_default: {}
|
|
11
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultPDPAddToCartService](./x-components.defaultpdpaddtocartservice.md) > [(constructor)](./x-components.defaultpdpaddtocartservice._constructor_.md)
|
|
4
|
+
|
|
5
|
+
## DefaultPDPAddToCartService.(constructor)
|
|
6
|
+
|
|
7
|
+
Constructs a new instance of the `DefaultPDPAddToCartService` class
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
constructor(localStorageService?: StorageService, sessionStorageService?: StorageService);
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| localStorageService | StorageService | |
|
|
20
|
+
| sessionStorageService | StorageService | |
|
|
21
|
+
|
package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragekey.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultPDPAddToCartService](./x-components.defaultpdpaddtocartservice.md) > [clickedResultStorageKey](./x-components.defaultpdpaddtocartservice.clickedresultstoragekey.md)
|
|
4
|
+
|
|
5
|
+
## DefaultPDPAddToCartService.clickedResultStorageKey property
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
protected get clickedResultStorageKey(): string;
|
|
11
|
+
```
|
package/docs/API-reference/api/x-components.defaultpdpaddtocartservice.clickedresultstoragettlms.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultPDPAddToCartService](./x-components.defaultpdpaddtocartservice.md) > [clickedResultStorageTTLMs](./x-components.defaultpdpaddtocartservice.clickedresultstoragettlms.md)
|
|
4
|
+
|
|
5
|
+
## DefaultPDPAddToCartService.clickedResultStorageTTLMs property
|
|
6
|
+
|
|
7
|
+
<b>Signature:</b>
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
protected get clickedResultStorageTTLMs(): number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [DefaultPDPAddToCartService](./x-components.defaultpdpaddtocartservice.md) > [instance](./x-components.defaultpdpaddtocartservice.instance.md)
|
|
4
|
+
|
|
5
|
+
## DefaultPDPAddToCartService.instance property
|
|
6
|
+
|
|
7
|
+
Global instance of the [PDPAddToCartService](./x-components.pdpaddtocartservice.md)<!-- -->.
|
|
8
|
+
|
|
9
|
+
<b>Signature:</b>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
static instance: PDPAddToCartService;
|
|
13
|
+
```
|