@salesforcedevs/dx-components 0.56.2-seo-dx-test3 → 0.56.2-seo-test12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.56.2-seo-dx-test3",
3
+ "version": "0.56.2-seo-test12",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -6,7 +6,7 @@
6
6
  outline: none;
7
7
  }
8
8
 
9
- .select_container::before {
9
+ .select_container::after {
10
10
  --icon-size: 0.5em;
11
11
 
12
12
  border-style: solid;
@@ -128,16 +128,17 @@ select {
128
128
  width: 100%;
129
129
  border: 1px solid #dddbda;
130
130
  border-radius: 0.25rem;
131
- background-color: white;
131
+ background-color: transparent;
132
132
  -webkit-transition: border 0.1s linear, background-color 0.1s linear;
133
133
  transition: border 0.1s linear, background-color 0.1s linear;
134
+ z-index: 1;
134
135
  }
135
136
 
136
137
  .select-element:focus,
137
138
  .select-element:active {
138
139
  outline: 0;
139
140
  border-color: #1b96ff;
140
- background-color:white;
141
+ background-color: transparent;
141
142
  -webkit-box-shadow: 0 0 3px #0176d3;
142
143
  box-shadow: 0 0 3px #0176d3;
143
144
  }
@@ -153,6 +154,7 @@ select {
153
154
  -ms-user-select: none;
154
155
  user-select: none;
155
156
  opacity: 1;
157
+ z-index: 0;
156
158
  }
157
159
 
158
160
  .select-element[disabled]:focus,
@@ -180,7 +182,9 @@ select {
180
182
  }
181
183
 
182
184
  .select_container {
185
+ display: grid;
183
186
  position: relative;
187
+ background-color: white;
184
188
  }
185
189
 
186
190
  .select_container .select-element {
@@ -317,7 +317,11 @@ export default class SidebarSearch extends LightningElement {
317
317
 
318
318
  const urlParams = new URLSearchParams(window.location.search);
319
319
  const metaQueryParam = urlParams.get("meta");
320
- const currentUrlPathWithQuery = `${window.location.pathname}?meta=${metaQueryParam}`;
320
+
321
+ let currentUrlPathWithQuery = window.location.pathname;
322
+ if (metaQueryParam) {
323
+ currentUrlPathWithQuery = `${currentUrlPathWithQuery}?meta=${metaQueryParam}`;
324
+ }
321
325
 
322
326
  isSelected = resultHrefWithMetaQuery === currentUrlPathWithQuery;
323
327
  } else {
@@ -1,14 +1 @@
1
1
  export * from "./breakpoints";
2
-
3
- export const DEFAULT_LANGUAGES = [
4
- {
5
- id: "en-us",
6
- label: "language_english",
7
- displayText: "English"
8
- },
9
- {
10
- id: "ja-jp",
11
- label: "language_japanese",
12
- displayText: "日本語"
13
- }
14
- ];