fleetcor-lwc 3.8.0 → 3.8.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/README.md +8 -0
- package/frontend/components/flt/inputPhone/__test__/inputPhone.test.js +7 -1
- package/frontend/components/flt/inputPhone/inputPhone.scss +1 -0
- package/frontend/components/flt/picklist/__test__/picklist.test.js +7 -1
- package/frontend/components/flt/picklist/picklist.js +1 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -665,6 +665,14 @@ You can override them as you wish by global css variables as priority.
|
|
|
665
665
|
|
|
666
666
|
## Release Notes:
|
|
667
667
|
|
|
668
|
+
- v.3.8.2
|
|
669
|
+
|
|
670
|
+
- Bug fix visiability of `flt-input-phone`
|
|
671
|
+
|
|
672
|
+
- v.3.8.1
|
|
673
|
+
|
|
674
|
+
- Bug fix visiability of `flt-picklist`
|
|
675
|
+
|
|
668
676
|
- v.3.8.0
|
|
669
677
|
|
|
670
678
|
- Added new component `flt-input-phone`
|
|
@@ -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
|