fleetcor-lwc 3.9.1 → 3.9.3

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
@@ -528,7 +528,7 @@ This component fully extends from `Input Text`
528
528
  show-dropdown-as-modal
529
529
  placeholder="{picklist:'picklistPlaceholder', input:'inputPlaceholder'}"
530
530
  onchange="{handleInputWithPicklist}"
531
- hide-placeholder
531
+ hide-placeholder-picklist
532
532
  min-value="100"
533
533
  max-value="1000"
534
534
  max-length="4000"
@@ -541,24 +541,24 @@ This component fully extends from `Input Text`
541
541
 
542
542
  #### Input With Picklist variables
543
543
 
544
- | @api variables | type | values | required | description |
545
- | ---------------------- | ------ | ------ | -------- | --------------------------------------------------------------------------------------------- |
546
- | name | object | | + | in format `{picklist:'value', input:'value'}` |
547
- | label | object | | - | in format `{picklist:'value', input:'value'}` |
548
- | value | object | | - | in format `{picklist:'value', input:'value'}` |
549
- | placeholder | object | | - | in format `{picklist:'value', input:'value'}` |
550
- | error-message | string | | - | |
551
- | required | bool | | - | |
552
- | hide-placeholder | bool | | - | Hide placeholder on picklist in desktop version and if value is exist |
553
- | disabled | bool | | - | |
554
- | show-dropdown-as-modal | bool | | - | Show modal with selected options |
555
- | modal-dimention-start | int | 1280 | - | If showDropdownAsModal is true, by default modal become visible window width less then 1280px |
556
- | prefix | string | | - | |
557
- | reg-exp | string | | - | |
558
- | max-length | int | | - | |
559
- | min-value | int | | - | |
560
- | options | array | | + | Array of available items with `label` and `value` as unique string |
561
- | max-value | int | | - | |
544
+ | @api variables | type | values | required | description |
545
+ | ------------------------- | ------ | ------ | -------- | --------------------------------------------------------------------------------------------- |
546
+ | name | object | | + | in format `{picklist:'value', input:'value'}` |
547
+ | label | object | | - | in format `{picklist:'value', input:'value'}` |
548
+ | value | object | | - | in format `{picklist:'value', input:'value'}` |
549
+ | placeholder | object | | - | in format `{picklist:'value', input:'value'}` |
550
+ | error-message | string | | - | |
551
+ | required | bool | | - | |
552
+ | hide-placeholder-picklist | bool | | - | Hide placeholder on picklist in desktop version and if value is exist |
553
+ | disabled | bool | | - | |
554
+ | show-dropdown-as-modal | bool | | - | Show modal with selected options |
555
+ | modal-dimention-start | int | 1280 | - | If showDropdownAsModal is true, by default modal become visible window width less then 1280px |
556
+ | prefix | string | | - | |
557
+ | reg-exp | string | | - | |
558
+ | max-length | int | | - | |
559
+ | min-value | int | | - | |
560
+ | options | array | | + | Array of available items with `label` and `value` as unique string |
561
+ | max-value | int | | - | |
562
562
 
563
563
  #### Input With Picklist methods
564
564
 
@@ -726,6 +726,14 @@ You can override them as you wish by global css variables as priority.
726
726
 
727
727
  ## Release Notes:
728
728
 
729
+ - v.3.9.3
730
+
731
+ - Bug fix `flt-picklist`
732
+
733
+ - v.3.9.2
734
+
735
+ - Bug fix `Readmi.md`
736
+
729
737
  - v.3.9.1
730
738
 
731
739
  - Bug fix `flt-input-with-picklist` and `flt-picklist`
@@ -2,7 +2,9 @@
2
2
  <div class={computedStyles} tabindex="0" onfocus={handleShowView} onblur={handleHideView}>
3
3
  <div class="flt-picklist__wrapp">
4
4
  <div class="flt-picklist__wrapp-text">
5
- <div class="flt-picklist__placeholder">{placeholder}</div>
5
+ <div lwc:if={placeholderVisible} class="flt-picklist__placeholder">
6
+ {placeholder}
7
+ </div>
6
8
  <div class="flt-picklist__value" lwc:inner-html={displayLabel}></div>
7
9
  </div>
8
10
  <svg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetcor-lwc",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "LWC framework by Fleetcor",
5
5
  "repository": {
6
6
  "type": "git",