@salesforcedevs/dx-components 0.56.2-seo-test1 → 0.56.2

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/LICENSE ADDED
@@ -0,0 +1,12 @@
1
+ Copyright (c) 2020, Salesforce.com, Inc.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+
8
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
9
+
10
+ * Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "0.56.2-seo-test1",
3
+ "version": "0.56.2",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -24,5 +24,6 @@
24
24
  "@types/debounce": "^1.2.0",
25
25
  "@types/lodash.get": "^4.4.6",
26
26
  "@types/vimeo__player": "^2.16.2"
27
- }
27
+ },
28
+ "gitHead": "47b838f7aa4fb0c55349f98074753103b693851f"
28
29
  }
@@ -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 {
@@ -312,7 +312,7 @@ export default class SidebarSearch extends LightningElement {
312
312
  } else {
313
313
  href = `${pathname}?q=${this.value}`;
314
314
  }
315
- const currentUrlHrefWithQuery = `${window.location.pathname}${window.location.search}`;
315
+
316
316
  return {
317
317
  title,
318
318
  titleHighlights,
@@ -320,7 +320,7 @@ export default class SidebarSearch extends LightningElement {
320
320
  excerptHighlights,
321
321
  uniqueId,
322
322
  href,
323
- selected: href.startsWith(currentUrlHrefWithQuery)
323
+ selected: pathname === window.location.pathname
324
324
  };
325
325
  };
326
326
 
@@ -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
- ];