fleetcor-lwc 3.13.4 → 3.14.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/README.md +30 -16
- package/frontend/components/flt/icon/icon.scss +2 -4
- package/frontend/components/flt/inputEmail/inputEmail.js +1 -0
- package/frontend/components/flt/inputPhone/inputPhone.html +2 -0
- package/frontend/components/flt/inputPhone/inputPhone.js +1 -0
- package/frontend/components/flt/inputText/inputText.html +1 -0
- package/frontend/components/flt/inputText/inputText.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -529,22 +529,23 @@ Add / update `lwc.config.json` file in your project
|
|
|
529
529
|
|
|
530
530
|
#### Input Text variables
|
|
531
531
|
|
|
532
|
-
| @api variables | type | values
|
|
533
|
-
| ------------------ | ------ |
|
|
534
|
-
| name | string |
|
|
535
|
-
| label | string |
|
|
536
|
-
| value | string |
|
|
537
|
-
| error-message | string |
|
|
538
|
-
| required | bool |
|
|
539
|
-
| disabled | bool |
|
|
540
|
-
| placeholde-visible | bool |
|
|
541
|
-
| prefix | html |
|
|
542
|
-
| reg-exp | string |
|
|
543
|
-
| placeholder | string |
|
|
544
|
-
| max-length | int |
|
|
545
|
-
| min-value | int |
|
|
546
|
-
| max-value | int |
|
|
547
|
-
| type | string | `text`,`tel`
|
|
532
|
+
| @api variables | type | values | required | description |
|
|
533
|
+
| ------------------ | ------ | -------------------------------------------------------- | -------- | ----------- |
|
|
534
|
+
| name | string | | + | |
|
|
535
|
+
| label | string | | - | |
|
|
536
|
+
| value | string | | - | |
|
|
537
|
+
| error-message | string | | - | |
|
|
538
|
+
| required | bool | | - | |
|
|
539
|
+
| disabled | bool | | - | |
|
|
540
|
+
| placeholde-visible | bool | | - | |
|
|
541
|
+
| prefix | html | | - | |
|
|
542
|
+
| reg-exp | string | | - | |
|
|
543
|
+
| placeholder | string | | - | |
|
|
544
|
+
| max-length | int | | - | |
|
|
545
|
+
| min-value | int | | - | |
|
|
546
|
+
| max-value | int | | - | |
|
|
547
|
+
| type | string | `text`,`tel` | - | |
|
|
548
|
+
| inputmode | string | `text`,`tel`,`decimal`, `email`, `none`, `url`, `search` | - | |
|
|
548
549
|
|
|
549
550
|
#### Input Text methods
|
|
550
551
|
|
|
@@ -604,6 +605,7 @@ This component fully extends from `Input Text`
|
|
|
604
605
|
| @api variables | type | values | required | description |
|
|
605
606
|
| ---------------------- | ------ | ------ | -------- | --------------------------------------------------------------------------------------------- |
|
|
606
607
|
| name | string | | + | |
|
|
608
|
+
| input-label | string | | - | |
|
|
607
609
|
| error-message | string | | - | |
|
|
608
610
|
| value | string | | - | |
|
|
609
611
|
| required | bool | | - | |
|
|
@@ -946,6 +948,18 @@ You can override them as you wish by global css variables as priority.
|
|
|
946
948
|
<details>
|
|
947
949
|
<summary>Click to expand/collapse</summary>
|
|
948
950
|
|
|
951
|
+
v.3.14.0
|
|
952
|
+
|
|
953
|
+
- Added to `flt-input-text`, `flt-input-email`, `flt-input-phone` api attribute `inputmode`
|
|
954
|
+
|
|
955
|
+
---
|
|
956
|
+
|
|
957
|
+
v.3.13.5
|
|
958
|
+
|
|
959
|
+
- Update `flt-input-phone` component
|
|
960
|
+
|
|
961
|
+
---
|
|
962
|
+
|
|
949
963
|
v.3.13.4
|
|
950
964
|
|
|
951
965
|
- Bug fix `flt-input-text` component
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
$FLT_ICON_COLOR: var(--flt-icon-color, #111827);
|
|
2
|
-
|
|
3
1
|
.flt-icon {
|
|
4
2
|
width: 24px;
|
|
5
3
|
height: 24px;
|
|
6
4
|
display: inline-flex;
|
|
7
5
|
|
|
8
6
|
&__prop-stroke {
|
|
9
|
-
stroke:
|
|
7
|
+
stroke: var(--flt-icon-color, #111827);
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
&__prop-fill {
|
|
13
|
-
fill:
|
|
11
|
+
fill: var(--flt-icon-color, #111827);
|
|
14
12
|
}
|
|
15
13
|
}
|
|
@@ -16,9 +16,11 @@
|
|
|
16
16
|
<flt-input-text
|
|
17
17
|
class="flt-input-phone__number"
|
|
18
18
|
prefix={prefix}
|
|
19
|
+
inputmode="tel"
|
|
19
20
|
disabled={disabled}
|
|
20
21
|
onfocus={handleFocus}
|
|
21
22
|
onblur={handleBlur}
|
|
23
|
+
label={inputLabel}
|
|
22
24
|
placeholder={placeholder}
|
|
23
25
|
name="phoneNumber"></flt-input-text>
|
|
24
26
|
</div>
|