fleetcor-lwc 3.8.0 → 3.8.1
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/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { createElement } from 'lwc'
|
|
1
|
+
import { createElement, setHooks } from 'lwc'
|
|
2
2
|
import InputPhone from 'flt/inputPhone'
|
|
3
3
|
|
|
4
|
+
setHooks({
|
|
5
|
+
sanitizeHtmlContent(content) {
|
|
6
|
+
return content
|
|
7
|
+
}
|
|
8
|
+
})
|
|
9
|
+
|
|
4
10
|
Object.defineProperty(window, 'matchMedia', {
|
|
5
11
|
writable: true,
|
|
6
12
|
value: jest.fn().mockImplementation((query) => ({
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { createElement } from 'lwc'
|
|
1
|
+
import { createElement, setHooks } from 'lwc'
|
|
2
2
|
import Picklist from 'flt/picklist'
|
|
3
3
|
|
|
4
|
+
setHooks({
|
|
5
|
+
sanitizeHtmlContent(content) {
|
|
6
|
+
return content
|
|
7
|
+
}
|
|
8
|
+
})
|
|
9
|
+
|
|
4
10
|
Object.defineProperty(window, 'matchMedia', {
|
|
5
11
|
writable: true,
|
|
6
12
|
value: jest.fn().mockImplementation((query) => ({
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import { api
|
|
1
|
+
import { api } from 'lwc'
|
|
2
2
|
import { SelectElement } from 'fleetcor-lwc'
|
|
3
3
|
import './picklist.scss'
|
|
4
4
|
import picklistModal from './picklistModal.html'
|
|
5
5
|
import picklist from './picklist.html'
|
|
6
6
|
|
|
7
|
-
setHooks({
|
|
8
|
-
sanitizeHtmlContent(content) {
|
|
9
|
-
return content
|
|
10
|
-
}
|
|
11
|
-
})
|
|
12
|
-
|
|
13
7
|
export default class Picklist extends SelectElement {
|
|
14
8
|
error
|
|
15
9
|
showOptions
|