@coveo/atomic 3.53.3 → 3.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +236 -215
- package/dist/atomic/components/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.js +5 -0
- package/dist/atomic/components/components/common/atomic-smart-snippet-collapse-wrapper/atomic-smart-snippet-collapse-wrapper.js +1 -1
- package/dist/atomic/components/components/common/atomic-smart-snippet-expandable-answer/atomic-smart-snippet-expandable-answer.js +1 -1
- package/dist/atomic/components/components/insight/atomic-insight-search-box/atomic-insight-search-box.js +4 -0
- package/dist/atomic/components/components/insight/atomic-insight-smart-snippet-suggestions/atomic-insight-smart-snippet-suggestions.js +1 -1
- package/dist/atomic/components/components/insight/atomic-insight-user-actions-session/user-action.js +1 -1
- package/dist/atomic/components/components/insight/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.js +2 -0
- package/dist/atomic/components/components/ipx/atomic-ipx-recs-list/atomic-ipx-recs-list.js +1 -0
- package/dist/atomic/components/components/recommendations/atomic-recs-list/atomic-recs-list.js +2 -1
- package/dist/atomic/components/components/search/atomic-notifications/atomic-notifications.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-list/atomic-result-list.js +3 -3
- package/dist/atomic/components/components/search/atomic-result-rating/atomic-result-rating.js +1 -1
- package/dist/atomic/components/components/search/atomic-result-template/atomic-result-template.js +1 -1
- package/dist/atomic/components/components/search/atomic-search-box/atomic-search-box.js +5 -0
- package/dist/atomic/components/components/search/atomic-smart-snippet-suggestions/atomic-smart-snippet-suggestions.js +1 -1
- package/dist/atomic/components/global/environment.js +1 -1
- package/dist/cjs/version.cjs.js +2 -2
- package/dist/esm/version.js +2 -2
- package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts +8 -0
- package/dist/types/components/insight/atomic-insight-search-box/atomic-insight-search-box.d.ts +8 -0
- package/dist/types/components/insight/atomic-insight-user-actions-timeline/atomic-insight-user-actions-timeline.d.ts +2 -0
- package/dist/types/components/ipx/atomic-ipx-recs-list/atomic-ipx-recs-list.d.ts +1 -0
- package/dist/types/components/recommendations/atomic-recs-list/atomic-recs-list.d.ts +2 -1
- package/dist/types/components/search/atomic-result-list/atomic-result-list.d.ts +2 -2
- package/dist/types/components/search/atomic-result-template/atomic-result-template.d.ts +1 -1
- package/dist/types/components/search/atomic-search-box/atomic-search-box.d.ts +8 -0
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -1594,137 +1594,6 @@
|
|
|
1594
1594
|
}
|
|
1595
1595
|
]
|
|
1596
1596
|
},
|
|
1597
|
-
{
|
|
1598
|
-
"kind": "javascript-module",
|
|
1599
|
-
"path": "src/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.ts",
|
|
1600
|
-
"declarations": [
|
|
1601
|
-
{
|
|
1602
|
-
"kind": "class",
|
|
1603
|
-
"description": "The `atomic-commerce-did-you-mean` component is responsible for handling query corrections. When a query returns no products but finds a possible query correction, the component either suggests the correction or automatically triggers a new query with the suggested term.",
|
|
1604
|
-
"name": "AtomicCommerceDidYouMean",
|
|
1605
|
-
"cssParts": [
|
|
1606
|
-
{
|
|
1607
|
-
"description": "The text displayed when there are no products.",
|
|
1608
|
-
"name": "no-results"
|
|
1609
|
-
},
|
|
1610
|
-
{
|
|
1611
|
-
"description": "The text displayed for the automatically corrected query.",
|
|
1612
|
-
"name": "auto-corrected"
|
|
1613
|
-
},
|
|
1614
|
-
{
|
|
1615
|
-
"description": "The first paragraph of the text displayed when a query trigger changes a query.",
|
|
1616
|
-
"name": "showing-results-for"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
"description": "The second paragraph of the text displayed when a query trigger changes a query.",
|
|
1620
|
-
"name": "search-instead-for"
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
"description": "The text displayed around the button to manually correct a query.",
|
|
1624
|
-
"name": "did-you-mean"
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
"description": "The button used to manually correct a query.",
|
|
1628
|
-
"name": "correction-btn"
|
|
1629
|
-
},
|
|
1630
|
-
{
|
|
1631
|
-
"description": "The button used to undo a query changed by a query trigger.",
|
|
1632
|
-
"name": "undo-btn"
|
|
1633
|
-
},
|
|
1634
|
-
{
|
|
1635
|
-
"description": "The query highlights.",
|
|
1636
|
-
"name": "highlight"
|
|
1637
|
-
}
|
|
1638
|
-
],
|
|
1639
|
-
"members": [
|
|
1640
|
-
{
|
|
1641
|
-
"kind": "field",
|
|
1642
|
-
"name": "bindings",
|
|
1643
|
-
"type": {
|
|
1644
|
-
"text": "CommerceBindings"
|
|
1645
|
-
},
|
|
1646
|
-
"privacy": "private"
|
|
1647
|
-
},
|
|
1648
|
-
{
|
|
1649
|
-
"kind": "field",
|
|
1650
|
-
"name": "didYouMean",
|
|
1651
|
-
"type": {
|
|
1652
|
-
"text": "DidYouMean"
|
|
1653
|
-
},
|
|
1654
|
-
"privacy": "private"
|
|
1655
|
-
},
|
|
1656
|
-
{
|
|
1657
|
-
"kind": "field",
|
|
1658
|
-
"name": "queryTrigger",
|
|
1659
|
-
"type": {
|
|
1660
|
-
"text": "QueryTrigger"
|
|
1661
|
-
},
|
|
1662
|
-
"privacy": "private"
|
|
1663
|
-
},
|
|
1664
|
-
{
|
|
1665
|
-
"kind": "field",
|
|
1666
|
-
"name": "didYouMeanState",
|
|
1667
|
-
"type": {
|
|
1668
|
-
"text": "DidYouMeanState"
|
|
1669
|
-
},
|
|
1670
|
-
"privacy": "private"
|
|
1671
|
-
},
|
|
1672
|
-
{
|
|
1673
|
-
"kind": "field",
|
|
1674
|
-
"name": "queryTriggerState",
|
|
1675
|
-
"type": {
|
|
1676
|
-
"text": "QueryTriggerState"
|
|
1677
|
-
},
|
|
1678
|
-
"privacy": "private"
|
|
1679
|
-
},
|
|
1680
|
-
{
|
|
1681
|
-
"kind": "field",
|
|
1682
|
-
"name": "error",
|
|
1683
|
-
"type": {
|
|
1684
|
-
"text": "Error"
|
|
1685
|
-
},
|
|
1686
|
-
"privacy": "private"
|
|
1687
|
-
},
|
|
1688
|
-
{
|
|
1689
|
-
"kind": "method",
|
|
1690
|
-
"name": "initialize",
|
|
1691
|
-
"privacy": "public"
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"kind": "field",
|
|
1695
|
-
"name": "content",
|
|
1696
|
-
"privacy": "private",
|
|
1697
|
-
"readonly": true
|
|
1698
|
-
}
|
|
1699
|
-
],
|
|
1700
|
-
"superclass": {
|
|
1701
|
-
"name": "LitElement",
|
|
1702
|
-
"package": "lit"
|
|
1703
|
-
},
|
|
1704
|
-
"events": [],
|
|
1705
|
-
"tagName": "atomic-commerce-did-you-mean",
|
|
1706
|
-
"customElement": true
|
|
1707
|
-
}
|
|
1708
|
-
],
|
|
1709
|
-
"exports": [
|
|
1710
|
-
{
|
|
1711
|
-
"kind": "js",
|
|
1712
|
-
"name": "AtomicCommerceDidYouMean",
|
|
1713
|
-
"declaration": {
|
|
1714
|
-
"name": "AtomicCommerceDidYouMean",
|
|
1715
|
-
"module": "src/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.ts"
|
|
1716
|
-
}
|
|
1717
|
-
},
|
|
1718
|
-
{
|
|
1719
|
-
"kind": "custom-element-definition",
|
|
1720
|
-
"name": "atomic-commerce-did-you-mean",
|
|
1721
|
-
"declaration": {
|
|
1722
|
-
"name": "AtomicCommerceDidYouMean",
|
|
1723
|
-
"module": "src/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.ts"
|
|
1724
|
-
}
|
|
1725
|
-
}
|
|
1726
|
-
]
|
|
1727
|
-
},
|
|
1728
1597
|
{
|
|
1729
1598
|
"kind": "javascript-module",
|
|
1730
1599
|
"path": "src/components/commerce/atomic-commerce-category-facet/atomic-commerce-category-facet.ts",
|
|
@@ -2122,6 +1991,137 @@
|
|
|
2122
1991
|
}
|
|
2123
1992
|
]
|
|
2124
1993
|
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "javascript-module",
|
|
1996
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.ts",
|
|
1997
|
+
"declarations": [
|
|
1998
|
+
{
|
|
1999
|
+
"kind": "class",
|
|
2000
|
+
"description": "The `atomic-commerce-did-you-mean` component is responsible for handling query corrections. When a query returns no products but finds a possible query correction, the component either suggests the correction or automatically triggers a new query with the suggested term.",
|
|
2001
|
+
"name": "AtomicCommerceDidYouMean",
|
|
2002
|
+
"cssParts": [
|
|
2003
|
+
{
|
|
2004
|
+
"description": "The text displayed when there are no products.",
|
|
2005
|
+
"name": "no-results"
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
"description": "The text displayed for the automatically corrected query.",
|
|
2009
|
+
"name": "auto-corrected"
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"description": "The first paragraph of the text displayed when a query trigger changes a query.",
|
|
2013
|
+
"name": "showing-results-for"
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"description": "The second paragraph of the text displayed when a query trigger changes a query.",
|
|
2017
|
+
"name": "search-instead-for"
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"description": "The text displayed around the button to manually correct a query.",
|
|
2021
|
+
"name": "did-you-mean"
|
|
2022
|
+
},
|
|
2023
|
+
{
|
|
2024
|
+
"description": "The button used to manually correct a query.",
|
|
2025
|
+
"name": "correction-btn"
|
|
2026
|
+
},
|
|
2027
|
+
{
|
|
2028
|
+
"description": "The button used to undo a query changed by a query trigger.",
|
|
2029
|
+
"name": "undo-btn"
|
|
2030
|
+
},
|
|
2031
|
+
{
|
|
2032
|
+
"description": "The query highlights.",
|
|
2033
|
+
"name": "highlight"
|
|
2034
|
+
}
|
|
2035
|
+
],
|
|
2036
|
+
"members": [
|
|
2037
|
+
{
|
|
2038
|
+
"kind": "field",
|
|
2039
|
+
"name": "bindings",
|
|
2040
|
+
"type": {
|
|
2041
|
+
"text": "CommerceBindings"
|
|
2042
|
+
},
|
|
2043
|
+
"privacy": "private"
|
|
2044
|
+
},
|
|
2045
|
+
{
|
|
2046
|
+
"kind": "field",
|
|
2047
|
+
"name": "didYouMean",
|
|
2048
|
+
"type": {
|
|
2049
|
+
"text": "DidYouMean"
|
|
2050
|
+
},
|
|
2051
|
+
"privacy": "private"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"kind": "field",
|
|
2055
|
+
"name": "queryTrigger",
|
|
2056
|
+
"type": {
|
|
2057
|
+
"text": "QueryTrigger"
|
|
2058
|
+
},
|
|
2059
|
+
"privacy": "private"
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
"kind": "field",
|
|
2063
|
+
"name": "didYouMeanState",
|
|
2064
|
+
"type": {
|
|
2065
|
+
"text": "DidYouMeanState"
|
|
2066
|
+
},
|
|
2067
|
+
"privacy": "private"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"kind": "field",
|
|
2071
|
+
"name": "queryTriggerState",
|
|
2072
|
+
"type": {
|
|
2073
|
+
"text": "QueryTriggerState"
|
|
2074
|
+
},
|
|
2075
|
+
"privacy": "private"
|
|
2076
|
+
},
|
|
2077
|
+
{
|
|
2078
|
+
"kind": "field",
|
|
2079
|
+
"name": "error",
|
|
2080
|
+
"type": {
|
|
2081
|
+
"text": "Error"
|
|
2082
|
+
},
|
|
2083
|
+
"privacy": "private"
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"kind": "method",
|
|
2087
|
+
"name": "initialize",
|
|
2088
|
+
"privacy": "public"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"kind": "field",
|
|
2092
|
+
"name": "content",
|
|
2093
|
+
"privacy": "private",
|
|
2094
|
+
"readonly": true
|
|
2095
|
+
}
|
|
2096
|
+
],
|
|
2097
|
+
"superclass": {
|
|
2098
|
+
"name": "LitElement",
|
|
2099
|
+
"package": "lit"
|
|
2100
|
+
},
|
|
2101
|
+
"events": [],
|
|
2102
|
+
"tagName": "atomic-commerce-did-you-mean",
|
|
2103
|
+
"customElement": true
|
|
2104
|
+
}
|
|
2105
|
+
],
|
|
2106
|
+
"exports": [
|
|
2107
|
+
{
|
|
2108
|
+
"kind": "js",
|
|
2109
|
+
"name": "AtomicCommerceDidYouMean",
|
|
2110
|
+
"declaration": {
|
|
2111
|
+
"name": "AtomicCommerceDidYouMean",
|
|
2112
|
+
"module": "src/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.ts"
|
|
2113
|
+
}
|
|
2114
|
+
},
|
|
2115
|
+
{
|
|
2116
|
+
"kind": "custom-element-definition",
|
|
2117
|
+
"name": "atomic-commerce-did-you-mean",
|
|
2118
|
+
"declaration": {
|
|
2119
|
+
"name": "AtomicCommerceDidYouMean",
|
|
2120
|
+
"module": "src/components/commerce/atomic-commerce-did-you-mean/atomic-commerce-did-you-mean.ts"
|
|
2121
|
+
}
|
|
2122
|
+
}
|
|
2123
|
+
]
|
|
2124
|
+
},
|
|
2125
2125
|
{
|
|
2126
2126
|
"kind": "javascript-module",
|
|
2127
2127
|
"path": "src/components/commerce/atomic-commerce-facet/atomic-commerce-facet.ts",
|
|
@@ -6634,6 +6634,15 @@
|
|
|
6634
6634
|
}
|
|
6635
6635
|
],
|
|
6636
6636
|
"members": [
|
|
6637
|
+
{
|
|
6638
|
+
"kind": "field",
|
|
6639
|
+
"name": "shadowRootOptions",
|
|
6640
|
+
"type": {
|
|
6641
|
+
"text": "object"
|
|
6642
|
+
},
|
|
6643
|
+
"static": true,
|
|
6644
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
6645
|
+
},
|
|
6637
6646
|
{
|
|
6638
6647
|
"kind": "field",
|
|
6639
6648
|
"name": "bindings",
|
|
@@ -14089,145 +14098,145 @@
|
|
|
14089
14098
|
},
|
|
14090
14099
|
{
|
|
14091
14100
|
"kind": "javascript-module",
|
|
14092
|
-
"path": "src/components/common/
|
|
14101
|
+
"path": "src/components/common/formats/format-common.ts",
|
|
14093
14102
|
"declarations": [],
|
|
14094
14103
|
"exports": []
|
|
14095
14104
|
},
|
|
14096
14105
|
{
|
|
14097
14106
|
"kind": "javascript-module",
|
|
14098
|
-
"path": "src/components/common/
|
|
14107
|
+
"path": "src/components/common/generated-answer/copy-button.ts",
|
|
14099
14108
|
"declarations": [],
|
|
14100
14109
|
"exports": []
|
|
14101
14110
|
},
|
|
14102
14111
|
{
|
|
14103
14112
|
"kind": "javascript-module",
|
|
14104
|
-
"path": "src/components/common/
|
|
14113
|
+
"path": "src/components/common/generated-answer/feedback-button.ts",
|
|
14105
14114
|
"declarations": [],
|
|
14106
14115
|
"exports": []
|
|
14107
14116
|
},
|
|
14108
14117
|
{
|
|
14109
14118
|
"kind": "javascript-module",
|
|
14110
|
-
"path": "src/components/common/
|
|
14119
|
+
"path": "src/components/common/generated-answer/generated-answer-controller.ts",
|
|
14111
14120
|
"declarations": [],
|
|
14112
14121
|
"exports": []
|
|
14113
14122
|
},
|
|
14114
14123
|
{
|
|
14115
14124
|
"kind": "javascript-module",
|
|
14116
|
-
"path": "src/components/common/
|
|
14125
|
+
"path": "src/components/common/generated-answer/generated-answer-utils.ts",
|
|
14117
14126
|
"declarations": [],
|
|
14118
14127
|
"exports": []
|
|
14119
14128
|
},
|
|
14120
14129
|
{
|
|
14121
14130
|
"kind": "javascript-module",
|
|
14122
|
-
"path": "src/components/common/
|
|
14131
|
+
"path": "src/components/common/generated-answer/generated-content-container.ts",
|
|
14123
14132
|
"declarations": [],
|
|
14124
14133
|
"exports": []
|
|
14125
14134
|
},
|
|
14126
14135
|
{
|
|
14127
14136
|
"kind": "javascript-module",
|
|
14128
|
-
"path": "src/components/common/
|
|
14137
|
+
"path": "src/components/common/generated-answer/render-agent-generation-steps.ts",
|
|
14129
14138
|
"declarations": [],
|
|
14130
14139
|
"exports": []
|
|
14131
14140
|
},
|
|
14132
14141
|
{
|
|
14133
14142
|
"kind": "javascript-module",
|
|
14134
|
-
"path": "src/components/common/generated-answer/
|
|
14143
|
+
"path": "src/components/common/generated-answer/render-answer-content.ts",
|
|
14135
14144
|
"declarations": [],
|
|
14136
14145
|
"exports": []
|
|
14137
14146
|
},
|
|
14138
14147
|
{
|
|
14139
14148
|
"kind": "javascript-module",
|
|
14140
|
-
"path": "src/components/common/generated-answer/
|
|
14149
|
+
"path": "src/components/common/generated-answer/render-card-header.ts",
|
|
14141
14150
|
"declarations": [],
|
|
14142
14151
|
"exports": []
|
|
14143
14152
|
},
|
|
14144
14153
|
{
|
|
14145
14154
|
"kind": "javascript-module",
|
|
14146
|
-
"path": "src/components/common/generated-answer/
|
|
14155
|
+
"path": "src/components/common/generated-answer/render-citations.ts",
|
|
14147
14156
|
"declarations": [],
|
|
14148
14157
|
"exports": []
|
|
14149
14158
|
},
|
|
14150
14159
|
{
|
|
14151
14160
|
"kind": "javascript-module",
|
|
14152
|
-
"path": "src/components/common/generated-answer/
|
|
14161
|
+
"path": "src/components/common/generated-answer/render-custom-no-answer-message.ts",
|
|
14153
14162
|
"declarations": [],
|
|
14154
14163
|
"exports": []
|
|
14155
14164
|
},
|
|
14156
14165
|
{
|
|
14157
14166
|
"kind": "javascript-module",
|
|
14158
|
-
"path": "src/components/common/generated-answer/
|
|
14167
|
+
"path": "src/components/common/generated-answer/render-disclaimer.ts",
|
|
14159
14168
|
"declarations": [],
|
|
14160
14169
|
"exports": []
|
|
14161
14170
|
},
|
|
14162
14171
|
{
|
|
14163
14172
|
"kind": "javascript-module",
|
|
14164
|
-
"path": "src/components/common/generated-answer/render-
|
|
14173
|
+
"path": "src/components/common/generated-answer/render-feedback-and-copy-buttons.ts",
|
|
14165
14174
|
"declarations": [],
|
|
14166
14175
|
"exports": []
|
|
14167
14176
|
},
|
|
14168
14177
|
{
|
|
14169
14178
|
"kind": "javascript-module",
|
|
14170
|
-
"path": "src/components/common/generated-answer/render-
|
|
14179
|
+
"path": "src/components/common/generated-answer/render-follow-up-input.ts",
|
|
14171
14180
|
"declarations": [],
|
|
14172
14181
|
"exports": []
|
|
14173
14182
|
},
|
|
14174
14183
|
{
|
|
14175
14184
|
"kind": "javascript-module",
|
|
14176
|
-
"path": "src/components/common/generated-answer/render-
|
|
14185
|
+
"path": "src/components/common/generated-answer/render-generating-answer-label.ts",
|
|
14177
14186
|
"declarations": [],
|
|
14178
14187
|
"exports": []
|
|
14179
14188
|
},
|
|
14180
14189
|
{
|
|
14181
14190
|
"kind": "javascript-module",
|
|
14182
|
-
"path": "src/components/common/generated-answer/
|
|
14191
|
+
"path": "src/components/common/generated-answer/retry-prompt.ts",
|
|
14183
14192
|
"declarations": [],
|
|
14184
14193
|
"exports": []
|
|
14185
14194
|
},
|
|
14186
14195
|
{
|
|
14187
14196
|
"kind": "javascript-module",
|
|
14188
|
-
"path": "src/components/common/generated-answer/
|
|
14197
|
+
"path": "src/components/common/generated-answer/show-button.ts",
|
|
14189
14198
|
"declarations": [],
|
|
14190
14199
|
"exports": []
|
|
14191
14200
|
},
|
|
14192
14201
|
{
|
|
14193
14202
|
"kind": "javascript-module",
|
|
14194
|
-
"path": "src/components/common/generated-answer/
|
|
14203
|
+
"path": "src/components/common/generated-answer/source-citations.ts",
|
|
14195
14204
|
"declarations": [],
|
|
14196
14205
|
"exports": []
|
|
14197
14206
|
},
|
|
14198
14207
|
{
|
|
14199
14208
|
"kind": "javascript-module",
|
|
14200
|
-
"path": "src/components/common/
|
|
14209
|
+
"path": "src/components/common/facets/depends-on.ts",
|
|
14201
14210
|
"declarations": [],
|
|
14202
14211
|
"exports": []
|
|
14203
14212
|
},
|
|
14204
14213
|
{
|
|
14205
14214
|
"kind": "javascript-module",
|
|
14206
|
-
"path": "src/components/common/
|
|
14215
|
+
"path": "src/components/common/facets/facet-common-store.ts",
|
|
14207
14216
|
"declarations": [],
|
|
14208
14217
|
"exports": []
|
|
14209
14218
|
},
|
|
14210
14219
|
{
|
|
14211
14220
|
"kind": "javascript-module",
|
|
14212
|
-
"path": "src/components/common/
|
|
14221
|
+
"path": "src/components/common/facets/facet-common.ts",
|
|
14213
14222
|
"declarations": [],
|
|
14214
14223
|
"exports": []
|
|
14215
14224
|
},
|
|
14216
14225
|
{
|
|
14217
14226
|
"kind": "javascript-module",
|
|
14218
|
-
"path": "src/components/common/
|
|
14227
|
+
"path": "src/components/common/facets/facet-common.tw.css.ts",
|
|
14219
14228
|
"declarations": [],
|
|
14220
14229
|
"exports": []
|
|
14221
14230
|
},
|
|
14222
14231
|
{
|
|
14223
14232
|
"kind": "javascript-module",
|
|
14224
|
-
"path": "src/components/common/
|
|
14233
|
+
"path": "src/components/common/facets/numeric-facet-common.tw.css.ts",
|
|
14225
14234
|
"declarations": [],
|
|
14226
14235
|
"exports": []
|
|
14227
14236
|
},
|
|
14228
14237
|
{
|
|
14229
14238
|
"kind": "javascript-module",
|
|
14230
|
-
"path": "src/components/common/
|
|
14239
|
+
"path": "src/components/common/facets/timeframe-facet-common.ts",
|
|
14231
14240
|
"declarations": [],
|
|
14232
14241
|
"exports": []
|
|
14233
14242
|
},
|
|
@@ -14393,12 +14402,6 @@
|
|
|
14393
14402
|
"declarations": [],
|
|
14394
14403
|
"exports": []
|
|
14395
14404
|
},
|
|
14396
|
-
{
|
|
14397
|
-
"kind": "javascript-module",
|
|
14398
|
-
"path": "src/components/common/layout/display-options.ts",
|
|
14399
|
-
"declarations": [],
|
|
14400
|
-
"exports": []
|
|
14401
|
-
},
|
|
14402
14405
|
{
|
|
14403
14406
|
"kind": "javascript-module",
|
|
14404
14407
|
"path": "src/components/common/layout/item-layout-controller.ts",
|
|
@@ -21036,6 +21039,15 @@
|
|
|
21036
21039
|
}
|
|
21037
21040
|
],
|
|
21038
21041
|
"members": [
|
|
21042
|
+
{
|
|
21043
|
+
"kind": "field",
|
|
21044
|
+
"name": "shadowRootOptions",
|
|
21045
|
+
"type": {
|
|
21046
|
+
"text": "object"
|
|
21047
|
+
},
|
|
21048
|
+
"static": true,
|
|
21049
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
21050
|
+
},
|
|
21039
21051
|
{
|
|
21040
21052
|
"kind": "field",
|
|
21041
21053
|
"name": "bindings",
|
|
@@ -42054,6 +42066,15 @@
|
|
|
42054
42066
|
}
|
|
42055
42067
|
],
|
|
42056
42068
|
"members": [
|
|
42069
|
+
{
|
|
42070
|
+
"kind": "field",
|
|
42071
|
+
"name": "shadowRootOptions",
|
|
42072
|
+
"type": {
|
|
42073
|
+
"text": "object"
|
|
42074
|
+
},
|
|
42075
|
+
"static": true,
|
|
42076
|
+
"default": "{ ...LitElement.shadowRootOptions, delegatesFocus: true, }"
|
|
42077
|
+
},
|
|
42057
42078
|
{
|
|
42058
42079
|
"kind": "field",
|
|
42059
42080
|
"name": "bindings",
|
|
@@ -47104,37 +47125,37 @@
|
|
|
47104
47125
|
},
|
|
47105
47126
|
{
|
|
47106
47127
|
"kind": "javascript-module",
|
|
47107
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47128
|
+
"path": "src/components/commerce/atomic-commerce-category-facet/e2e/atomic-commerce-category-facet.e2e.ts",
|
|
47108
47129
|
"declarations": [],
|
|
47109
47130
|
"exports": []
|
|
47110
47131
|
},
|
|
47111
47132
|
{
|
|
47112
47133
|
"kind": "javascript-module",
|
|
47113
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47134
|
+
"path": "src/components/commerce/atomic-commerce-category-facet/e2e/fixture.ts",
|
|
47114
47135
|
"declarations": [],
|
|
47115
47136
|
"exports": []
|
|
47116
47137
|
},
|
|
47117
47138
|
{
|
|
47118
47139
|
"kind": "javascript-module",
|
|
47119
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47140
|
+
"path": "src/components/commerce/atomic-commerce-category-facet/e2e/page-object.ts",
|
|
47120
47141
|
"declarations": [],
|
|
47121
47142
|
"exports": []
|
|
47122
47143
|
},
|
|
47123
47144
|
{
|
|
47124
47145
|
"kind": "javascript-module",
|
|
47125
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47146
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/e2e/atomic-commerce-did-you-mean.e2e.ts",
|
|
47126
47147
|
"declarations": [],
|
|
47127
47148
|
"exports": []
|
|
47128
47149
|
},
|
|
47129
47150
|
{
|
|
47130
47151
|
"kind": "javascript-module",
|
|
47131
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47152
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/e2e/fixture.ts",
|
|
47132
47153
|
"declarations": [],
|
|
47133
47154
|
"exports": []
|
|
47134
47155
|
},
|
|
47135
47156
|
{
|
|
47136
47157
|
"kind": "javascript-module",
|
|
47137
|
-
"path": "src/components/commerce/atomic-commerce-
|
|
47158
|
+
"path": "src/components/commerce/atomic-commerce-did-you-mean/e2e/page-object.ts",
|
|
47138
47159
|
"declarations": [],
|
|
47139
47160
|
"exports": []
|
|
47140
47161
|
},
|
|
@@ -47792,6 +47813,54 @@
|
|
|
47792
47813
|
"declarations": [],
|
|
47793
47814
|
"exports": []
|
|
47794
47815
|
},
|
|
47816
|
+
{
|
|
47817
|
+
"kind": "javascript-module",
|
|
47818
|
+
"path": "src/components/common/generated-answer/generated-content/generated-markdown-content.ts",
|
|
47819
|
+
"declarations": [],
|
|
47820
|
+
"exports": []
|
|
47821
|
+
},
|
|
47822
|
+
{
|
|
47823
|
+
"kind": "javascript-module",
|
|
47824
|
+
"path": "src/components/common/generated-answer/generated-content/generated-markdown-content.tw.css.ts",
|
|
47825
|
+
"declarations": [],
|
|
47826
|
+
"exports": []
|
|
47827
|
+
},
|
|
47828
|
+
{
|
|
47829
|
+
"kind": "javascript-module",
|
|
47830
|
+
"path": "src/components/common/generated-answer/generated-content/generated-text-content.ts",
|
|
47831
|
+
"declarations": [],
|
|
47832
|
+
"exports": []
|
|
47833
|
+
},
|
|
47834
|
+
{
|
|
47835
|
+
"kind": "javascript-module",
|
|
47836
|
+
"path": "src/components/common/generated-answer/generated-content/markdown-utils.ts",
|
|
47837
|
+
"declarations": [],
|
|
47838
|
+
"exports": []
|
|
47839
|
+
},
|
|
47840
|
+
{
|
|
47841
|
+
"kind": "javascript-module",
|
|
47842
|
+
"path": "src/components/common/generated-answer/styles/copy-button.tw.css.ts",
|
|
47843
|
+
"declarations": [],
|
|
47844
|
+
"exports": []
|
|
47845
|
+
},
|
|
47846
|
+
{
|
|
47847
|
+
"kind": "javascript-module",
|
|
47848
|
+
"path": "src/components/common/generated-answer/styles/feedback-buttons.tw.css.ts",
|
|
47849
|
+
"declarations": [],
|
|
47850
|
+
"exports": []
|
|
47851
|
+
},
|
|
47852
|
+
{
|
|
47853
|
+
"kind": "javascript-module",
|
|
47854
|
+
"path": "src/components/common/generated-answer/styles/generated-answer.tw.css.ts",
|
|
47855
|
+
"declarations": [],
|
|
47856
|
+
"exports": []
|
|
47857
|
+
},
|
|
47858
|
+
{
|
|
47859
|
+
"kind": "javascript-module",
|
|
47860
|
+
"path": "src/components/common/generated-answer/styles/generated-text.tw.css.ts",
|
|
47861
|
+
"declarations": [],
|
|
47862
|
+
"exports": []
|
|
47863
|
+
},
|
|
47795
47864
|
{
|
|
47796
47865
|
"kind": "javascript-module",
|
|
47797
47866
|
"path": "src/components/common/facets/category-facet/all-categories-button.ts",
|
|
@@ -48013,54 +48082,6 @@
|
|
|
48013
48082
|
"declarations": [],
|
|
48014
48083
|
"exports": []
|
|
48015
48084
|
},
|
|
48016
|
-
{
|
|
48017
|
-
"kind": "javascript-module",
|
|
48018
|
-
"path": "src/components/common/generated-answer/generated-content/generated-markdown-content.ts",
|
|
48019
|
-
"declarations": [],
|
|
48020
|
-
"exports": []
|
|
48021
|
-
},
|
|
48022
|
-
{
|
|
48023
|
-
"kind": "javascript-module",
|
|
48024
|
-
"path": "src/components/common/generated-answer/generated-content/generated-markdown-content.tw.css.ts",
|
|
48025
|
-
"declarations": [],
|
|
48026
|
-
"exports": []
|
|
48027
|
-
},
|
|
48028
|
-
{
|
|
48029
|
-
"kind": "javascript-module",
|
|
48030
|
-
"path": "src/components/common/generated-answer/generated-content/generated-text-content.ts",
|
|
48031
|
-
"declarations": [],
|
|
48032
|
-
"exports": []
|
|
48033
|
-
},
|
|
48034
|
-
{
|
|
48035
|
-
"kind": "javascript-module",
|
|
48036
|
-
"path": "src/components/common/generated-answer/generated-content/markdown-utils.ts",
|
|
48037
|
-
"declarations": [],
|
|
48038
|
-
"exports": []
|
|
48039
|
-
},
|
|
48040
|
-
{
|
|
48041
|
-
"kind": "javascript-module",
|
|
48042
|
-
"path": "src/components/common/generated-answer/styles/copy-button.tw.css.ts",
|
|
48043
|
-
"declarations": [],
|
|
48044
|
-
"exports": []
|
|
48045
|
-
},
|
|
48046
|
-
{
|
|
48047
|
-
"kind": "javascript-module",
|
|
48048
|
-
"path": "src/components/common/generated-answer/styles/feedback-buttons.tw.css.ts",
|
|
48049
|
-
"declarations": [],
|
|
48050
|
-
"exports": []
|
|
48051
|
-
},
|
|
48052
|
-
{
|
|
48053
|
-
"kind": "javascript-module",
|
|
48054
|
-
"path": "src/components/common/generated-answer/styles/generated-answer.tw.css.ts",
|
|
48055
|
-
"declarations": [],
|
|
48056
|
-
"exports": []
|
|
48057
|
-
},
|
|
48058
|
-
{
|
|
48059
|
-
"kind": "javascript-module",
|
|
48060
|
-
"path": "src/components/common/generated-answer/styles/generated-text.tw.css.ts",
|
|
48061
|
-
"declarations": [],
|
|
48062
|
-
"exports": []
|
|
48063
|
-
},
|
|
48064
48085
|
{
|
|
48065
48086
|
"kind": "javascript-module",
|
|
48066
48087
|
"path": "src/components/common/item-list/context/child-templates-context-controller.ts",
|
|
@@ -391,6 +391,7 @@ let AtomicCommerceSearchBox = class AtomicCommerceSearchBox extends LitElement {
|
|
|
391
391
|
}
|
|
392
392
|
renderAbsolutePositionSpacer() {
|
|
393
393
|
return html `<textarea
|
|
394
|
+
disabled
|
|
394
395
|
aria-hidden="true"
|
|
395
396
|
part="textarea-spacer"
|
|
396
397
|
class="invisible w-full p-3.5 px-4 text-lg"
|
|
@@ -545,6 +546,10 @@ let AtomicCommerceSearchBox = class AtomicCommerceSearchBox extends LitElement {
|
|
|
545
546
|
this.bindings.i18n.t('search-box-cleared');
|
|
546
547
|
}
|
|
547
548
|
};
|
|
549
|
+
AtomicCommerceSearchBox.shadowRootOptions = {
|
|
550
|
+
...LitElement.shadowRootOptions,
|
|
551
|
+
delegatesFocus: true,
|
|
552
|
+
};
|
|
548
553
|
AtomicCommerceSearchBox.styles = css`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties;@layer properties{*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}@layer theme, base, components, utilities;@layer theme;@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var(--default-font-family,var(--atomic-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"));font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.\\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.-top-2{top:-.5rem}.-top-4{top:-1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-\\[4px\\]{top:4px}.top-full{top:100%}.top-px{top:1px}.-right-2{right:-.5rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-6{right:1.5rem}.right-12{right:3rem}.right-px{right:1px}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-2{bottom:.5rem}.bottom-px{bottom:1px}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-\\[15px\\]{left:15px}.isolate{isolation:isolate}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-9998{z-index:9998}.z-9999{z-index:9999}.order-last{order:9999}.col-span-2{grid-column:span 2/span 2}.container{width:100%;@media (width >= 1024px){max-width:1024px}@media (width >= 40rem){max-width:40rem}@media (width >= 48rem){max-width:48rem}@media (width >= 64rem){max-width:64rem}@media (width >= 80rem){max-width:80rem}@media (width >= 96rem){max-width:96rem}}.container\\!{width:100%!important;@media (width >= 1024px){max-width:1024px!important}@media (width >= 40rem){max-width:40rem!important}@media (width >= 48rem){max-width:48rem!important}@media (width >= 64rem){max-width:64rem!important}@media (width >= 80rem){max-width:80rem!important}@media (width >= 96rem){max-width:96rem!important}}.m-0{margin:0}.m-2{margin:.5rem}.mx-0{margin-inline:0}.mx-0\\.5{margin-inline:.125rem}.mx-1{margin-inline:.25rem}.mx-6{margin-inline:1.5rem}.mx-16{margin-inline:4rem}.mx-auto{margin-inline:auto}.my-2{margin-block:.5rem}.my-3{margin-block:.75rem}.my-4{margin-block:1rem}.my-6{margin-block:1.5rem}.my-auto{margin-block:auto}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-2\\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-px{margin-top:1px}.mr-0{margin-right:0}.mr-0\\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-6{margin-right:1.5rem}.mr-auto{margin-right:auto}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-3{-webkit-line-clamp:3}.line-clamp-3,.line-clamp-4{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.line-clamp-4{-webkit-line-clamp:4}.line-clamp-none{display:block;overflow:visible;-webkit-box-orient:horizontal;-webkit-line-clamp:unset}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-column{display:table-column}.aspect-square-\\[auto\\]{@supports not (aspect-ratio:1/1){height:auto}}.aspect-square-\\[auto\\]{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:auto}}.aspect-square{aspect-ratio:1/1}.size-\\[27px\\]{height:27px;width:27px}.h-1{height:.25rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-5\\/6{height:83.33333%}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-\\[2\\.6rem\\]{height:2.6rem}.h-\\[9px\\]{height:9px}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-3{min-height:.75rem}.min-h-10{min-height:2.5rem}.min-lines-2{min-height:calc(var(--line-height)*2)}.min-lines-3{min-height:calc(var(--line-height)*3)}.w-0\\.5{width:.125rem}.w-1{width:.25rem}.w-1\\/2{width:50%}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5{width:1.25rem}.w-5\\/6{width:83.33333%}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-20{width:5rem}.w-26{width:6.5rem}.w-32{width:8rem}.w-36{width:9rem}.w-48{width:12rem}.w-60{width:15rem}.w-64{width:16rem}.w-72{width:18rem}.w-100{width:25rem}.w-\\[2\\.6rem\\]{width:2.6rem}.w-\\[10px\\]{width:10px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-4\\/5{max-width:80%}.max-w-60{max-width:15rem}.max-w-\\[30ch\\]{max-width:30ch}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:max-content}.min-w-0{min-width:0}.min-w-10{min-width:2.5rem}.min-w-20{min-width:5rem}.min-w-24{min-width:6rem}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-1\\/2{flex-basis:50%}.basis-8{flex-basis:2rem}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.translate-x-1\\/2{translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-1\\/2{--tw-translate-x:50%}.-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%}.scale-100,.scale-75{scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.cursor-\\[inherit\\]{cursor:inherit}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-\\[min-content_1fr\\]{grid-template-columns:min-content 1fr}.grid-cols-\\[min-content_auto\\]{grid-template-columns:min-content auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-y-1{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(.25rem*var(--tw-space-y-reverse))}}.gap-x-1\\.5{column-gap:.375rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.space-x-1\\.5{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(.375rem*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(.375rem*var(--tw-space-x-reverse))}}.gap-y-0\\.5{row-gap:.125rem}.divide-y{:where(&>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-bottom-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse))}}.divide-neutral{:where(&>:not(:last-child)){border-color:var(--atomic-neutral)}}.self-center{align-self:center}.self-start{align-self:flex-start}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.rounded{border-radius:var(--atomic-border-radius)}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:calc(infinity*1px)}.rounded-lg{border-radius:var(--atomic-border-radius-lg)}.rounded-md{border-radius:var(--atomic-border-radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--atomic-border-radius)}.rounded-xl{border-radius:var(--atomic-border-radius-xl)}.rounded-tl-none{border-top-left-radius:0}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b,.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-gray-200{border-color:oklch(.928 .006 264.531)}.border-neutral{border-color:var(--atomic-neutral)}.border-neutral-dark{border-color:var(--atomic-neutral-dark)}.border-neutral-dim{border-color:var(--atomic-neutral-dim)}.border-primary{border-color:var(--atomic-primary)}.border-primary-light{border-color:var(--atomic-primary-light)}.border-t-neutral{border-top-color:var(--atomic-neutral)}.border-b-neutral{border-bottom-color:var(--atomic-neutral)}.border-b-neutral-dim{border-bottom-color:var(--atomic-neutral-dim)}.border-l-neutral{border-left-color:var(--atomic-neutral)}.border-l-neutral-dim{border-left-color:var(--atomic-neutral-dim)}.bg-\\[\\#F1F2FF\\]{background-color:#f1f2ff}.bg-\\[rgba\\(40\\,40\\,40\\,0\\.8\\)\\]{background-color:rgba(40,40,40,.8)}.bg-background{background-color:var(--atomic-background)}.bg-error{background-color:var(--atomic-error)}.bg-gray-50{background-color:oklch(.985 .002 247.839)}.bg-neutral{background-color:var(--atomic-neutral)}.bg-neutral-dark{background-color:var(--atomic-neutral-dark)}.bg-neutral-dim{background-color:var(--atomic-neutral-dim)}.bg-neutral-light{background-color:var(--atomic-neutral-light)}.bg-primary{background-color:var(--atomic-primary)}.bg-transparent{background-color:transparent}.bg-white{background-color:#fff}.bg-linear-to-l{--tw-gradient-position:to left;@supports (background-image:linear-gradient(in lab,red,red)){--tw-gradient-position:to left in oklab}background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right;@supports (background-image:linear-gradient(in lab,red,red)){--tw-gradient-position:to right in oklab}background-image:linear-gradient(var(--tw-gradient-stops))}.from-background\\/60{--tw-gradient-from:color-mix(in srgb,#fff 60%,transparent);@supports (color:color-mix(in lab,red,red)){--tw-gradient-from:color-mix(in oklab,var(--atomic-background) 60%,transparent)}--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-more-results-progress-bar-color-from{--tw-gradient-from:var(
|
|
549
554
|
--atomic-more-results-progress-bar-color-from,var(--atomic-primary-dark)
|
|
550
555
|
);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-more-results-progress-bar-color-to{--tw-gradient-to:var(
|
|
@@ -12,8 +12,8 @@ import { bindings } from "../../../decorators/bindings";
|
|
|
12
12
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
13
13
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
14
14
|
import { multiClassMap, tw } from "../../../directives/multi-class-map";
|
|
15
|
-
const ArrowDown = "<svg width=\"11\" height=\"6\" viewBox=\"0 0 11 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
16
15
|
import { InitializeBindingsMixin } from "../../../mixins/bindings-mixin";
|
|
16
|
+
const ArrowDown = "<svg width=\"11\" height=\"6\" viewBox=\"0 0 11 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
17
17
|
import "../atomic-icon/atomic-icon";
|
|
18
18
|
/**
|
|
19
19
|
* @internal
|
|
@@ -12,8 +12,8 @@ import { bindingGuard } from "../../../decorators/binding-guard.js";
|
|
|
12
12
|
import { bindings } from "../../../decorators/bindings.js";
|
|
13
13
|
import { errorGuard } from "../../../decorators/error-guard.js";
|
|
14
14
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
|
|
15
|
-
const ArrowDown = "<svg width=\"11\" height=\"6\" viewBox=\"0 0 11 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
16
15
|
import { buildCustomEvent, listenOnce } from "../../../utils/event-utils.js";
|
|
16
|
+
const ArrowDown = "<svg width=\"11\" height=\"6\" viewBox=\"0 0 11 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
17
17
|
import styles from './atomic-smart-snippet-expandable-answer.tw.css.js';
|
|
18
18
|
import "../atomic-icon/atomic-icon.js";
|
|
19
19
|
import "../atomic-smart-snippet-answer/atomic-smart-snippet-answer";
|
|
@@ -303,6 +303,10 @@ let AtomicInsightSearchBox = class AtomicInsightSearchBox extends LitElement {
|
|
|
303
303
|
`)}`;
|
|
304
304
|
}
|
|
305
305
|
};
|
|
306
|
+
AtomicInsightSearchBox.shadowRootOptions = {
|
|
307
|
+
...LitElement.shadowRootOptions,
|
|
308
|
+
delegatesFocus: true,
|
|
309
|
+
};
|
|
306
310
|
AtomicInsightSearchBox.styles = styles;
|
|
307
311
|
__decorate([
|
|
308
312
|
state()
|
|
@@ -23,9 +23,9 @@ import { bindingGuard } from "../../../decorators/binding-guard";
|
|
|
23
23
|
import { bindings } from "../../../decorators/bindings";
|
|
24
24
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
25
25
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
26
|
+
import { randomID } from "../../../utils/utils";
|
|
26
27
|
const ArrowDown = "<svg width=\"11\" height=\"6\" viewBox=\"0 0 11 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
27
28
|
const ArrowRight = "<svg viewBox=\"0 0 7 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.09619 10.5962L5.69239 6L1.09619 1.40381\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
28
|
-
import { randomID } from "../../../utils/utils";
|
|
29
29
|
import "../../common/atomic-icon/atomic-icon";
|
|
30
30
|
import "../../common/atomic-smart-snippet-source/atomic-smart-snippet-source";
|
|
31
31
|
import "../../common/atomic-smart-snippet-answer/atomic-smart-snippet-answer";
|
package/dist/atomic/components/components/insight/atomic-insight-user-actions-session/user-action.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { html, nothing } from 'lit';
|
|
2
2
|
import { multiClassMap, tw } from "../../../directives/multi-class-map";
|
|
3
|
+
import { parseTimestampToDateDetails } from "../../../utils/date-utils";
|
|
3
4
|
const BookmarkIcon = "<svg width=\"10\" height=\"14\" viewBox=\"0 0 10 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M0 1.3C0 0.58203 0.58203 0 1.3 0H8.7C9.41797 0 10 0.58203 10 1.3V12.1735C10 13.2842 8.69725 13.8834 7.85397 13.1605L5.84603 11.4395C5.35919 11.0222 4.64081 11.0222 4.15397 11.4395L2.14603 13.1605C1.30275 13.8834 0 13.2842 0 12.1735V1.3Z\" fill=\"#12A344\"/>\n</svg>\n";
|
|
4
5
|
const DocumentIcon = "<svg width=\"12\" height=\"13\" viewBox=\"0 0 12 13\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M10 8.5H6.00001C5.17158 8.5 4.50001 7.82843 4.50001 7L4.5 2C4.5 1.17157 5.17157 0.5 6 0.5H10C10.8284 0.5 11.5 1.17157 11.5 2V6.29605V7C11.5 7.82843 10.8284 8.5 10 8.5Z\" stroke=\"#1372EC\" stroke-linecap=\"round\"/>\n<path d=\"M7.50001 10.4956V11C7.50001 11.8284 6.82843 12.5 6.00001 12.5L2.00001 12.5C1.17159 12.5 0.500014 11.8284 0.500012 11L0.500003 6C0.500001 5.17157 1.17157 4.5 2 4.5H2.5\" stroke=\"#1372EC\" stroke-linecap=\"round\"/>\n<line x1=\"6.5\" y1=\"3.5\" x2=\"9.5\" y2=\"3.5\" stroke=\"#1372EC\" stroke-linecap=\"round\"/>\n<line x1=\"6.5\" y1=\"5.5\" x2=\"9.5\" y2=\"5.5\" stroke=\"#1372EC\" stroke-linecap=\"round\"/>\n</svg>\n";
|
|
5
6
|
const PointIcon = "<svg width=\"7\" height=\"7\" viewBox=\"0 0 7 7\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<circle cx=\"3.5\" cy=\"3.5\" r=\"3.5\" fill=\"#8E959D\"/>\n</svg>\n";
|
|
6
7
|
const QuickviewIcon = "<svg focusable=\"false\" enable-background=\"new 0 0 20 12\" viewBox=\"0 0 20 12\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\" aria-label=\"Quickview\"><title>Quickview</title><g fill=\"currentColor\"><path d=\"m10 4.3c-1 0-1.7.8-1.7 1.7 0 1 .8 1.7 1.7 1.7 1 0 1.7-.8 1.7-1.7 0-1-.7-1.7-1.7-1.7m0 4.7c-1.6 0-3-1.4-3-3s1.4-3 3-3 3 1.4 3 3-1.4 3-3 3\"/><path d=\"m19.8 6.4v-.001c.069-.117.109-.253.109-.399s-.04-.282-.109-.399v-.001c-.005-.008.005.007 0 0-2.203-3.473-5.917-5.6-9.8-5.6-3.884 0-7.655 2.091-9.8 5.602l0 0c-.069.117-.109.253-.109.398s.04.281.109.398c0 0-.001-.002 0 0 2.203 3.475 5.916 5.602 9.8 5.602 3.883 0 7.597-2.127 9.8-5.6.005-.007-.005.008 0 0zm-9.8 4.1c-3.236 0-6.28-1.635-8.189-4.339-.067-.095-.067-.228-.002-.324 1.908-2.797 4.953-4.337 8.191-4.337 3.235 0 6.278 1.634 8.187 4.337.068.096.068.231 0 .327-1.909 2.702-4.952 4.336-8.187 4.336z\"/></g></svg>";
|
|
7
8
|
const SearchIcon = "<svg viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"m6.4 0c3.5 0 6.4 2.9 6.4 6.4 0 1.4-.4 2.7-1.2 3.7l4 4c.4.4.4 1 .1 1.5l-.1.1c-.2.2-.5.3-.8.3s-.6-.1-.8-.3l-4-4c-1 .7-2.3 1.2-3.7 1.2-3.4-.1-6.3-3-6.3-6.5s2.9-6.4 6.4-6.4zm0 2.1c-2.3 0-4.3 1.9-4.3 4.3s1.9 4.3 4.3 4.3 4.3-1.9 4.3-4.3-1.9-4.3-4.3-4.3z\"/></svg>";
|
|
8
|
-
import { parseTimestampToDateDetails } from "../../../utils/date-utils";
|
|
9
9
|
const icons = {
|
|
10
10
|
SEARCH: SearchIcon,
|
|
11
11
|
CLICK: DocumentIcon,
|
|
@@ -20,6 +20,8 @@ import { bindings } from "../../../decorators/bindings";
|
|
|
20
20
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
21
21
|
const ArrowDownIcon = "<svg width=\"8\" height=\"14\" viewBox=\"0 0 8 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M4 0.5L4 12.5\" stroke=\"#1372EC\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M7.5 9.5L4 13.5L0.5 9.5\" stroke=\"#1372EC\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
22
22
|
const ArrowUpIcon = "<svg width=\"8\" height=\"14\" viewBox=\"0 0 8 14\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 13.5L4 1.5\" stroke=\"#1372EC\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n <path d=\"M0.5 4.5L4 0.5L7.5 4.5\" stroke=\"#1372EC\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
23
|
+
import "../../common/atomic-icon/atomic-icon.js";
|
|
24
|
+
import "../atomic-insight-user-actions-session/atomic-insight-user-actions-session.js";
|
|
23
25
|
/**
|
|
24
26
|
* The `atomic-insight-user-actions-timeline` component displays all the actions performed by a user around the time they created a case.
|
|
25
27
|
* The actions are grouped into multiple sessions, including the session during which the case was created,
|
|
@@ -32,6 +32,7 @@ import { ChildrenUpdateCompleteMixin } from "../../../mixins/children-update-com
|
|
|
32
32
|
import { FocusTargetController } from "../../../utils/accessibility-utils";
|
|
33
33
|
import { randomID } from "../../../utils/utils";
|
|
34
34
|
import placeholderStyles from '../../common/item-list/styles/placeholders.tw.css';
|
|
35
|
+
import "../../recommendations/atomic-recs-result-template/atomic-recs-result-template";
|
|
35
36
|
import "../../recommendations/atomic-recs-result/atomic-recs-result";
|
|
36
37
|
/**
|
|
37
38
|
* The `atomic-ipx-recs-list` component displays recommendations by applying one or more result templates.
|
package/dist/atomic/components/components/recommendations/atomic-recs-list/atomic-recs-list.js
CHANGED
|
@@ -30,7 +30,8 @@ import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
|
30
30
|
import { ChildrenUpdateCompleteMixin } from "../../../mixins/children-update-complete-mixin";
|
|
31
31
|
import { FocusTargetController } from "../../../utils/accessibility-utils";
|
|
32
32
|
import { randomID } from "../../../utils/utils";
|
|
33
|
-
import
|
|
33
|
+
import "../atomic-recs-result/atomic-recs-result";
|
|
34
|
+
import "../atomic-recs-result-template/atomic-recs-result-template";
|
|
34
35
|
/**
|
|
35
36
|
* The `atomic-recs-list` component displays recommendations by applying one or more result templates.
|
|
36
37
|
*
|
package/dist/atomic/components/components/search/atomic-notifications/atomic-notifications.js
CHANGED
|
@@ -18,9 +18,9 @@ import { bindingGuard } from "../../../decorators/binding-guard";
|
|
|
18
18
|
import { bindings } from "../../../decorators/bindings";
|
|
19
19
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
20
20
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
21
|
-
const InfoIcon = "<svg viewBox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<circle cx=\"14\" cy=\"14\" r=\"13.5\" stroke=\"currentColor\" stroke-linecap=\"round\"/>\n<path d=\"M14.5 21.5L14.5 9.5L11.5 9.5M14.5 21.5L10.5 21.5M14.5 21.5L18.5 21.5M14.5 6.5L14.5 5.5\" stroke=\"currentColor\" stroke-linecap=\"round\"/>\n</svg>\n";
|
|
22
21
|
import { InitializeBindingsMixin } from "../../../mixins/bindings-mixin";
|
|
23
22
|
import { AriaLiveRegionController } from "../../../utils/accessibility-utils";
|
|
23
|
+
const InfoIcon = "<svg viewBox=\"0 0 28 28\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<circle cx=\"14\" cy=\"14\" r=\"13.5\" stroke=\"currentColor\" stroke-linecap=\"round\"/>\n<path d=\"M14.5 21.5L14.5 9.5L11.5 9.5M14.5 21.5L10.5 21.5M14.5 21.5L18.5 21.5M14.5 6.5L14.5 5.5\" stroke=\"currentColor\" stroke-linecap=\"round\"/>\n</svg>\n";
|
|
24
24
|
/**
|
|
25
25
|
* The `atomic-notifications` component is responsible for displaying notifications generated by the Coveo Search API (see [Trigger](https://docs.coveo.com/en/1458)).
|
|
26
26
|
*
|
|
@@ -25,7 +25,9 @@ import listDisplayStyles from "../../common/item-list/styles/list-display.tw.css
|
|
|
25
25
|
import placeholderStyles from "../../common/item-list/styles/placeholders.tw.css";
|
|
26
26
|
import tableDisplayStyles from "../../common/item-list/styles/table-display.tw.css";
|
|
27
27
|
import { renderTableData, renderTableLayout, renderTableRow, } from "../../common/item-list/table-layout";
|
|
28
|
+
import { getItemListDisplayClasses, } from "../../common/layout/item-layout-utils";
|
|
28
29
|
import { renderTabWrapper } from "../../common/tabs/tab-wrapper";
|
|
30
|
+
import { ValidatePropsController } from "../../common/validate-props-controller/validate-props-controller";
|
|
29
31
|
import { arrayConverter } from "../../../converters/array-converter";
|
|
30
32
|
import { bindStateToController } from "../../../decorators/bind-state";
|
|
31
33
|
import { bindingGuard } from "../../../decorators/binding-guard";
|
|
@@ -35,10 +37,8 @@ import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
|
35
37
|
import { ChildrenUpdateCompleteMixin } from "../../../mixins/children-update-complete-mixin";
|
|
36
38
|
import { FocusTargetController } from "../../../utils/accessibility-utils";
|
|
37
39
|
import { randomID } from "../../../utils/utils";
|
|
38
|
-
import '../atomic-result/atomic-result';
|
|
39
|
-
import { getItemListDisplayClasses, } from "../../common/layout/item-layout-utils";
|
|
40
|
-
import { ValidatePropsController } from "../../common/validate-props-controller/validate-props-controller";
|
|
41
40
|
import "../atomic-result-template/atomic-result-template";
|
|
41
|
+
import "../atomic-result/atomic-result";
|
|
42
42
|
/**
|
|
43
43
|
* The `atomic-result-list` component is responsible for displaying query results by applying one or more result templates.
|
|
44
44
|
*
|
package/dist/atomic/components/components/search/atomic-result-rating/atomic-result-rating.js
CHANGED
|
@@ -19,8 +19,8 @@ import { bindingGuard } from "../../../decorators/binding-guard";
|
|
|
19
19
|
import { bindings } from "../../../decorators/bindings.js";
|
|
20
20
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
21
21
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles.js";
|
|
22
|
-
const Star = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"13\" height=\"13\" viewBox=\"0 0 13 13\">\n <path\n d=\"m 2.6226137,7.5483827 -1.73646599,-1.67659 c -0.58287,-0.56277 -0.2895686,-1.54878 0.50612799,-1.70148 l 2.630348,-0.50477 c 0.31897,-0.06121 0.58834,-0.27352 0.72239,-0.56935 l 0.84414,-1.86293 c 0.35481,-0.78302702 1.46689,-0.78302802 1.8217,0 l 0.84414,1.86293 c 0.13405,0.29583 0.40342,0.50814 0.72239,0.56935 l 2.6303203,0.50477 c 0.7957,0.1527 1.089,1.13871 0.5062,1.70148 l -1.73651,1.67659 c -0.23632,0.22817 -0.34551,0.55786 -0.2921,0.88198 l 0.45461,2.7587403 c 0.1357,0.824 -0.7386003,1.4416 -1.4698203,1.0382 l -2.087,-1.1515 c -0.30069,-0.1659 -0.66547,-0.1659 -0.96616,0 l -2.087,1.1515 c -0.73122,0.4034 -1.60555,-0.2142 -1.46978,-1.0382 l 0.45457,-2.7587403 c 0.05341,-0.32412 -0.05578,-0.65381 -0.2921,-0.88198 z\"\n stroke-width=\"0.8125\"\n />\n</svg>";
|
|
23
22
|
import { InitializeBindingsMixin } from "../../../mixins/bindings-mixin";
|
|
23
|
+
const Star = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"13\" height=\"13\" viewBox=\"0 0 13 13\">\n <path\n d=\"m 2.6226137,7.5483827 -1.73646599,-1.67659 c -0.58287,-0.56277 -0.2895686,-1.54878 0.50612799,-1.70148 l 2.630348,-0.50477 c 0.31897,-0.06121 0.58834,-0.27352 0.72239,-0.56935 l 0.84414,-1.86293 c 0.35481,-0.78302702 1.46689,-0.78302802 1.8217,0 l 0.84414,1.86293 c 0.13405,0.29583 0.40342,0.50814 0.72239,0.56935 l 2.6303203,0.50477 c 0.7957,0.1527 1.089,1.13871 0.5062,1.70148 l -1.73651,1.67659 c -0.23632,0.22817 -0.34551,0.55786 -0.2921,0.88198 l 0.45461,2.7587403 c 0.1357,0.824 -0.7386003,1.4416 -1.4698203,1.0382 l -2.087,-1.1515 c -0.30069,-0.1659 -0.66547,-0.1659 -0.96616,0 l -2.087,1.1515 c -0.73122,0.4034 -1.60555,-0.2142 -1.46978,-1.0382 l 0.45457,-2.7587403 c 0.05341,-0.32412 -0.05578,-0.65381 -0.2921,-0.88198 z\"\n stroke-width=\"0.8125\"\n />\n</svg>";
|
|
24
24
|
/**
|
|
25
25
|
* The `atomic-result-rating` element renders a star rating.
|
|
26
26
|
*
|
package/dist/atomic/components/components/search/atomic-result-template/atomic-result-template.js
CHANGED
|
@@ -14,7 +14,7 @@ import { mapProperty } from "../../../utils/props-utils";
|
|
|
14
14
|
import "../../common/atomic-component-error/atomic-component-error";
|
|
15
15
|
import { arrayConverter } from "../../../converters/array-converter";
|
|
16
16
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
17
|
-
import
|
|
17
|
+
import "../atomic-result/atomic-result";
|
|
18
18
|
/**
|
|
19
19
|
* A result template determines the format of the query results, depending on the conditions that are defined for each template.
|
|
20
20
|
*
|
|
@@ -406,6 +406,7 @@ let AtomicSearchBox = class AtomicSearchBox extends LitElement {
|
|
|
406
406
|
}
|
|
407
407
|
renderAbsolutePositionSpacer() {
|
|
408
408
|
return html `<textarea
|
|
409
|
+
disabled
|
|
409
410
|
aria-hidden="true"
|
|
410
411
|
part="textarea-spacer"
|
|
411
412
|
class="invisible w-full px-4 py-3.5 text-lg"
|
|
@@ -556,6 +557,10 @@ let AtomicSearchBox = class AtomicSearchBox extends LitElement {
|
|
|
556
557
|
`;
|
|
557
558
|
}
|
|
558
559
|
};
|
|
560
|
+
AtomicSearchBox.shadowRootOptions = {
|
|
561
|
+
...LitElement.shadowRootOptions,
|
|
562
|
+
delegatesFocus: true,
|
|
563
|
+
};
|
|
559
564
|
AtomicSearchBox.styles = css`/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties;@layer properties{*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}@layer theme, base, components, utilities;@layer theme;@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var(--default-font-family,var(--atomic-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"));font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.\\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.-top-2{top:-.5rem}.-top-4{top:-1rem}.top-0{top:0}.top-1{top:.25rem}.top-1\\/2{top:50%}.top-\\[4px\\]{top:4px}.top-full{top:100%}.top-px{top:1px}.-right-2{right:-.5rem}.right-0{right:0}.right-1{right:.25rem}.right-2{right:.5rem}.right-6{right:1.5rem}.right-12{right:3rem}.right-px{right:1px}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-2{bottom:.5rem}.bottom-px{bottom:1px}.left-0{left:0}.left-1{left:.25rem}.left-2{left:.5rem}.left-\\[15px\\]{left:15px}.isolate{isolation:isolate}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-9998{z-index:9998}.z-9999{z-index:9999}.order-last{order:9999}.col-span-2{grid-column:span 2/span 2}.container{width:100%;@media (width >= 1024px){max-width:1024px}@media (width >= 40rem){max-width:40rem}@media (width >= 48rem){max-width:48rem}@media (width >= 64rem){max-width:64rem}@media (width >= 80rem){max-width:80rem}@media (width >= 96rem){max-width:96rem}}.container\\!{width:100%!important;@media (width >= 1024px){max-width:1024px!important}@media (width >= 40rem){max-width:40rem!important}@media (width >= 48rem){max-width:48rem!important}@media (width >= 64rem){max-width:64rem!important}@media (width >= 80rem){max-width:80rem!important}@media (width >= 96rem){max-width:96rem!important}}.m-0{margin:0}.m-2{margin:.5rem}.mx-0{margin-inline:0}.mx-0\\.5{margin-inline:.125rem}.mx-1{margin-inline:.25rem}.mx-6{margin-inline:1.5rem}.mx-16{margin-inline:4rem}.mx-auto{margin-inline:auto}.my-2{margin-block:.5rem}.my-3{margin-block:.75rem}.my-4{margin-block:1rem}.my-6{margin-block:1.5rem}.my-auto{margin-block:auto}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-2\\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.mt-10{margin-top:2.5rem}.mt-px{margin-top:1px}.mr-0{margin-right:0}.mr-0\\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-6{margin-right:1.5rem}.mr-auto{margin-right:auto}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-1{-webkit-line-clamp:1}.line-clamp-1,.line-clamp-2{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.line-clamp-2{-webkit-line-clamp:2}.line-clamp-3{-webkit-line-clamp:3}.line-clamp-3,.line-clamp-4{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}.line-clamp-4{-webkit-line-clamp:4}.line-clamp-none{display:block;overflow:visible;-webkit-box-orient:horizontal;-webkit-line-clamp:unset}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-column{display:table-column}.aspect-square-\\[auto\\]{@supports not (aspect-ratio:1/1){height:auto}}.aspect-square-\\[auto\\]{aspect-ratio:1/1;height:auto;@supports not (aspect-ratio:1/1){height:auto}}.aspect-square{aspect-ratio:1/1}.size-\\[27px\\]{height:27px;width:27px}.h-1{height:.25rem}.h-2{height:.5rem}.h-2\\.5{height:.625rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-5\\/6{height:83.33333%}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-10{height:2.5rem}.h-12{height:3rem}.h-\\[2\\.6rem\\]{height:2.6rem}.h-\\[9px\\]{height:9px}.h-auto{height:auto}.h-full{height:100%}.max-h-96{max-height:24rem}.min-h-3{min-height:.75rem}.min-h-10{min-height:2.5rem}.min-lines-2{min-height:calc(var(--line-height)*2)}.min-lines-3{min-height:calc(var(--line-height)*3)}.w-0\\.5{width:.125rem}.w-1{width:.25rem}.w-1\\/2{width:50%}.w-2{width:.5rem}.w-2\\.5{width:.625rem}.w-3{width:.75rem}.w-3\\.5{width:.875rem}.w-3\\/5{width:60%}.w-4{width:1rem}.w-5{width:1.25rem}.w-5\\/6{width:83.33333%}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-20{width:5rem}.w-26{width:6.5rem}.w-32{width:8rem}.w-36{width:9rem}.w-48{width:12rem}.w-60{width:15rem}.w-64{width:16rem}.w-72{width:18rem}.w-100{width:25rem}.w-\\[2\\.6rem\\]{width:2.6rem}.w-\\[10px\\]{width:10px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-4\\/5{max-width:80%}.max-w-60{max-width:15rem}.max-w-\\[30ch\\]{max-width:30ch}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:max-content}.min-w-0{min-width:0}.min-w-10{min-width:2.5rem}.min-w-20{min-width:5rem}.min-w-24{min-width:6rem}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-1\\/2{flex-basis:50%}.basis-8{flex-basis:2rem}.border-collapse{border-collapse:collapse}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.translate-x-1\\/2{translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-1\\/2{--tw-translate-x:50%}.-translate-y-1\\/2{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-75{--tw-scale-x:75%;--tw-scale-y:75%;--tw-scale-z:75%}.scale-100,.scale-75{scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.animate-spin{animation:spin 1s linear infinite}.cursor-\\[inherit\\]{cursor:inherit}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.list-outside{list-style-position:outside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-\\[min-content_1fr\\]{grid-template-columns:min-content 1fr}.grid-cols-\\[min-content_auto\\]{grid-template-columns:min-content auto}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-center{align-content:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0\\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-8{gap:2rem}.space-y-1{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(.25rem*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(.25rem*var(--tw-space-y-reverse))}}.gap-x-1\\.5{column-gap:.375rem}.gap-x-2{column-gap:.5rem}.gap-x-4{column-gap:1rem}.space-x-1\\.5{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(.375rem*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(.375rem*var(--tw-space-x-reverse))}}.gap-y-0\\.5{row-gap:.125rem}.divide-y{:where(&>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-bottom-width:calc(1px*(1 - var(--tw-divide-y-reverse)));border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse))}}.divide-neutral{:where(&>:not(:last-child)){border-color:var(--atomic-neutral)}}.self-center{align-self:center}.self-start{align-self:flex-start}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-scroll{overflow-x:scroll}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.rounded{border-radius:var(--atomic-border-radius)}.rounded-3xl{border-radius:1.5rem}.rounded-full{border-radius:calc(infinity*1px)}.rounded-lg{border-radius:var(--atomic-border-radius-lg)}.rounded-md{border-radius:var(--atomic-border-radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--atomic-border-radius)}.rounded-xl{border-radius:var(--atomic-border-radius-xl)}.rounded-tl-none{border-top-left-radius:0}.rounded-r-none{border-bottom-right-radius:0;border-top-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b,.border-b-1{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-gray-200{border-color:oklch(.928 .006 264.531)}.border-neutral{border-color:var(--atomic-neutral)}.border-neutral-dark{border-color:var(--atomic-neutral-dark)}.border-neutral-dim{border-color:var(--atomic-neutral-dim)}.border-primary{border-color:var(--atomic-primary)}.border-primary-light{border-color:var(--atomic-primary-light)}.border-t-neutral{border-top-color:var(--atomic-neutral)}.border-b-neutral{border-bottom-color:var(--atomic-neutral)}.border-b-neutral-dim{border-bottom-color:var(--atomic-neutral-dim)}.border-l-neutral{border-left-color:var(--atomic-neutral)}.border-l-neutral-dim{border-left-color:var(--atomic-neutral-dim)}.bg-\\[\\#F1F2FF\\]{background-color:#f1f2ff}.bg-\\[rgba\\(40\\,40\\,40\\,0\\.8\\)\\]{background-color:rgba(40,40,40,.8)}.bg-background{background-color:var(--atomic-background)}.bg-error{background-color:var(--atomic-error)}.bg-gray-50{background-color:oklch(.985 .002 247.839)}.bg-neutral{background-color:var(--atomic-neutral)}.bg-neutral-dark{background-color:var(--atomic-neutral-dark)}.bg-neutral-dim{background-color:var(--atomic-neutral-dim)}.bg-neutral-light{background-color:var(--atomic-neutral-light)}.bg-primary{background-color:var(--atomic-primary)}.bg-transparent{background-color:transparent}.bg-white{background-color:#fff}.bg-linear-to-l{--tw-gradient-position:to left;@supports (background-image:linear-gradient(in lab,red,red)){--tw-gradient-position:to left in oklab}background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-r{--tw-gradient-position:to right;@supports (background-image:linear-gradient(in lab,red,red)){--tw-gradient-position:to right in oklab}background-image:linear-gradient(var(--tw-gradient-stops))}.from-background\\/60{--tw-gradient-from:color-mix(in srgb,#fff 60%,transparent);@supports (color:color-mix(in lab,red,red)){--tw-gradient-from:color-mix(in oklab,var(--atomic-background) 60%,transparent)}--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-more-results-progress-bar-color-from{--tw-gradient-from:var(
|
|
560
565
|
--atomic-more-results-progress-bar-color-from,var(--atomic-primary-dark)
|
|
561
566
|
);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from) var(--tw-gradient-from-position),var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-more-results-progress-bar-color-to{--tw-gradient-to:var(
|
|
@@ -23,9 +23,9 @@ import { bindingGuard } from "../../../decorators/binding-guard";
|
|
|
23
23
|
import { bindings } from "../../../decorators/bindings";
|
|
24
24
|
import { errorGuard } from "../../../decorators/error-guard";
|
|
25
25
|
import { withTailwindStyles } from "../../../decorators/with-tailwind-styles";
|
|
26
|
+
import { randomID } from "../../../utils/utils";
|
|
26
27
|
const ArrowDown = "<svg width=\"11\" height=\"6\" viewBox=\"0 0 11 6\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.18998 0.52682L5.43262 4.76946L9.67526 0.526821\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
27
28
|
const ArrowRight = "<svg viewBox=\"0 0 7 12\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M1.09619 10.5962L5.69239 6L1.09619 1.40381\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>\n";
|
|
28
|
-
import { randomID } from "../../../utils/utils";
|
|
29
29
|
import "../../common/atomic-icon/atomic-icon";
|
|
30
30
|
import "../../common/atomic-smart-snippet-source/atomic-smart-snippet-source";
|
|
31
31
|
import "../../common/atomic-smart-snippet-answer/atomic-smart-snippet-answer";
|
package/dist/cjs/version.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
module.exports.headlessVersion = '3.48.
|
|
2
|
-
module.exports.atomicVersion = '3.
|
|
1
|
+
module.exports.headlessVersion = '3.48.1';
|
|
2
|
+
module.exports.atomicVersion = '3.54.0';
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const headlessVersion = '3.48.
|
|
2
|
-
export const atomicVersion = '3.
|
|
1
|
+
export const headlessVersion = '3.48.1';
|
|
2
|
+
export const atomicVersion = '3.54.0';
|
package/dist/types/components/commerce/atomic-commerce-search-box/atomic-commerce-search-box.d.ts
CHANGED
|
@@ -52,6 +52,14 @@ import '@coveo/atomic-legacy/atomic-suggestion-renderer';
|
|
|
52
52
|
* @event redirect - Event that is emitted when a standalone search box redirection is triggered. By default, the search box will directly change the URL and redirect accordingly, so if you want to handle the redirection differently, use this event.
|
|
53
53
|
*/
|
|
54
54
|
export declare class AtomicCommerceSearchBox extends LitElement implements InitializableComponent<CommerceBindings> {
|
|
55
|
+
static shadowRootOptions: {
|
|
56
|
+
delegatesFocus: boolean;
|
|
57
|
+
clonable?: boolean;
|
|
58
|
+
customElementRegistry?: CustomElementRegistry;
|
|
59
|
+
mode: ShadowRootMode;
|
|
60
|
+
serializable?: boolean;
|
|
61
|
+
slotAssignment?: SlotAssignmentMode;
|
|
62
|
+
};
|
|
55
63
|
static styles: CSSResultGroup;
|
|
56
64
|
bindings: CommerceBindings;
|
|
57
65
|
error: Error;
|
package/dist/types/components/insight/atomic-insight-search-box/atomic-insight-search-box.d.ts
CHANGED
|
@@ -18,6 +18,14 @@ import '@coveo/atomic-legacy/atomic-suggestion-renderer';
|
|
|
18
18
|
* @part suggestions - The container for the suggestions.
|
|
19
19
|
*/
|
|
20
20
|
export declare class AtomicInsightSearchBox extends LitElement implements InitializableComponent<InsightBindings> {
|
|
21
|
+
static shadowRootOptions: {
|
|
22
|
+
delegatesFocus: boolean;
|
|
23
|
+
clonable?: boolean;
|
|
24
|
+
customElementRegistry?: CustomElementRegistry;
|
|
25
|
+
mode: ShadowRootMode;
|
|
26
|
+
serializable?: boolean;
|
|
27
|
+
slotAssignment?: SlotAssignmentMode;
|
|
28
|
+
};
|
|
21
29
|
static styles: import("lit").CSSResult;
|
|
22
30
|
bindings: InsightBindings;
|
|
23
31
|
error: Error;
|
|
@@ -2,6 +2,8 @@ import { type UserActions as InsightUserActions, type UserActionsState as Insigh
|
|
|
2
2
|
import { LitElement, nothing } from 'lit';
|
|
3
3
|
import type { InsightBindings } from "../atomic-insight-interface/atomic-insight-interface";
|
|
4
4
|
import type { InitializableComponent } from "../../../decorators/types";
|
|
5
|
+
import "../../common/atomic-icon/atomic-icon.js";
|
|
6
|
+
import "../atomic-insight-user-actions-session/atomic-insight-user-actions-session.js";
|
|
5
7
|
/**
|
|
6
8
|
* The `atomic-insight-user-actions-timeline` component displays all the actions performed by a user around the time they created a case.
|
|
7
9
|
* The actions are grouped into multiple sessions, including the session during which the case was created,
|
|
@@ -4,6 +4,7 @@ import { type ItemRenderingFunction } from "../../common/item-list/item-list-com
|
|
|
4
4
|
import { type ItemDisplayBasicLayout, type ItemDisplayDensity, type ItemDisplayImageSize } from "../../common/layout/item-layout-utils";
|
|
5
5
|
import type { RecsBindings } from "../../recommendations/atomic-recs-interface/interfaces";
|
|
6
6
|
import type { InitializableComponent } from "../../../decorators/types";
|
|
7
|
+
import "../../recommendations/atomic-recs-result-template/atomic-recs-result-template";
|
|
7
8
|
import "../../recommendations/atomic-recs-result/atomic-recs-result";
|
|
8
9
|
declare const AtomicIpxRecsList_base: typeof LitElement;
|
|
9
10
|
/**
|
|
@@ -4,7 +4,8 @@ import { type ItemRenderingFunction } from "../../common/item-list/item-list-com
|
|
|
4
4
|
import { type ItemDisplayBasicLayout, type ItemDisplayDensity, type ItemDisplayImageSize } from "../../common/layout/item-layout-utils";
|
|
5
5
|
import type { RecsBindings } from "../atomic-recs-interface/atomic-recs-interface";
|
|
6
6
|
import type { InitializableComponent } from "../../../decorators/types";
|
|
7
|
-
import
|
|
7
|
+
import "../atomic-recs-result/atomic-recs-result";
|
|
8
|
+
import "../atomic-recs-result-template/atomic-recs-result-template";
|
|
8
9
|
declare const AtomicRecsList_base: typeof LitElement;
|
|
9
10
|
/**
|
|
10
11
|
* The `atomic-recs-list` component displays recommendations by applying one or more result templates.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { type ResultList, type ResultsPerPage, type TabManager, type TabManagerState } from '@coveo/headless';
|
|
2
2
|
import { type CSSResultGroup, LitElement } from 'lit';
|
|
3
3
|
import { type ItemRenderingFunction } from "../../common/item-list/item-list-common";
|
|
4
|
+
import { type ItemDisplayDensity, type ItemDisplayImageSize, type ItemDisplayLayout } from "../../common/layout/item-layout-utils";
|
|
4
5
|
import type { Bindings } from "../atomic-search-interface/atomic-search-interface";
|
|
5
6
|
import type { InitializableComponent } from "../../../decorators/types";
|
|
6
|
-
import '../atomic-result/atomic-result';
|
|
7
|
-
import { type ItemDisplayDensity, type ItemDisplayImageSize, type ItemDisplayLayout } from "../../common/layout/item-layout-utils";
|
|
8
7
|
import "../atomic-result-template/atomic-result-template";
|
|
8
|
+
import "../atomic-result/atomic-result";
|
|
9
9
|
declare const AtomicResultList_base: typeof LitElement;
|
|
10
10
|
/**
|
|
11
11
|
* The `atomic-result-list` component is responsible for displaying query results by applying one or more result templates.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ResultTemplate, ResultTemplateCondition } from '@coveo/headless';
|
|
2
2
|
import { LitElement } from 'lit';
|
|
3
3
|
import "../../common/atomic-component-error/atomic-component-error";
|
|
4
|
-
import '../atomic-result/atomic-result';
|
|
5
4
|
import type { LitElementWithError } from "../../../decorators/types";
|
|
5
|
+
import "../atomic-result/atomic-result";
|
|
6
6
|
/**
|
|
7
7
|
* A result template determines the format of the query results, depending on the conditions that are defined for each template.
|
|
8
8
|
*
|
|
@@ -51,6 +51,14 @@ import '@coveo/atomic-legacy/atomic-suggestion-renderer';
|
|
|
51
51
|
* @event redirect - Event that is emitted when a standalone search box redirection is triggered. By default, the search box will directly change the URL and redirect accordingly, so if you want to handle the redirection differently, use this event.
|
|
52
52
|
*/
|
|
53
53
|
export declare class AtomicSearchBox extends LitElement implements InitializableComponent<Bindings> {
|
|
54
|
+
static shadowRootOptions: {
|
|
55
|
+
delegatesFocus: boolean;
|
|
56
|
+
clonable?: boolean;
|
|
57
|
+
customElementRegistry?: CustomElementRegistry;
|
|
58
|
+
mode: ShadowRootMode;
|
|
59
|
+
serializable?: boolean;
|
|
60
|
+
slotAssignment?: SlotAssignmentMode;
|
|
61
|
+
};
|
|
54
62
|
static styles: CSSResultGroup;
|
|
55
63
|
bindings: Bindings;
|
|
56
64
|
error: Error;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveo/atomic",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.54.0",
|
|
5
5
|
"description": "A web-component library for building modern UIs interfacing with the Coveo platform",
|
|
6
6
|
"homepage": "https://docs.coveo.com/en/atomic/latest/",
|
|
7
7
|
"repository": {
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"i18next-http-backend": "3.0.2",
|
|
70
70
|
"lit": "3.3.2",
|
|
71
71
|
"marked": "12.0.2",
|
|
72
|
-
"@coveo/
|
|
73
|
-
"@coveo/
|
|
72
|
+
"@coveo/atomic-legacy": "0.0.8",
|
|
73
|
+
"@coveo/headless": "3.48.1",
|
|
74
74
|
"@coveo/bueno": "1.1.8"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
"peerDependencies": {
|
|
130
130
|
"typescript": ">=5.0.0",
|
|
131
131
|
"@coveo/bueno": "1.1.8",
|
|
132
|
-
"@coveo/headless": "3.48.
|
|
132
|
+
"@coveo/headless": "3.48.1"
|
|
133
133
|
},
|
|
134
134
|
"peerDependenciesMeta": {
|
|
135
135
|
"typescript": {
|