@leavepulse/ui 0.22.18 → 0.22.19
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/dist/chunks/{LpAddressInput-DYN7a67n.js → LpAddressInput-CxKwIG6T.js} +1 -1
- package/dist/chunks/{LpPhoneInput-BxuDyXp3.js → LpPhoneInput-NXXjciJJ.js} +2 -0
- package/dist/chunks/{LpSelect-C0QqopPi.js → LpSelect-Cw8-gL5F.js} +2 -0
- package/dist/components/LpAddressInput.vue.js +1 -1
- package/dist/components/LpPhoneInput.vue.js +1 -1
- package/dist/components/LpSelect.vue.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
- package/src/components/LpPhoneInput.vue +6 -0
- package/src/components/LpSelect.vue +0 -0
|
@@ -7,7 +7,7 @@ import { _ as _sfc_main$1 } from "./LpFormField-Bn-ZwC6z.js";
|
|
|
7
7
|
import { _ as _sfc_main$4 } from "./LpIcon-CCnX5_2j.js";
|
|
8
8
|
import { _ as _sfc_main$5 } from "./LpInput-BkomKdqQ.js";
|
|
9
9
|
import { _ as _sfc_main$7 } from "./LpModal-CNNSf5pv.js";
|
|
10
|
-
import { _ as _sfc_main$6 } from "./LpSelect-
|
|
10
|
+
import { _ as _sfc_main$6 } from "./LpSelect-Cw8-gL5F.js";
|
|
11
11
|
const _hoisted_1 = { class: "flex flex-col gap-3" };
|
|
12
12
|
const _hoisted_2 = { class: "flex items-stretch gap-2" };
|
|
13
13
|
const _hoisted_3 = { class: "grid gap-3 sm:grid-cols-[minmax(0,1fr)_10rem]" };
|
|
@@ -97,6 +97,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
97
|
open: open.value,
|
|
98
98
|
"onUpdate:open": _cache[1] || (_cache[1] = ($event) => open.value = $event),
|
|
99
99
|
"ignore-filter": true,
|
|
100
|
+
"reset-search-term-on-select": false,
|
|
101
|
+
"reset-search-term-on-blur": false,
|
|
100
102
|
disabled: __props.disabled,
|
|
101
103
|
class: "flex"
|
|
102
104
|
}, {
|
|
@@ -114,6 +114,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
114
|
multiple: __props.multiple,
|
|
115
115
|
disabled: __props.disabled,
|
|
116
116
|
"ignore-filter": true,
|
|
117
|
+
"reset-search-term-on-select": false,
|
|
118
|
+
"reset-search-term-on-blur": false,
|
|
117
119
|
class: "relative",
|
|
118
120
|
"onUpdate:modelValue": onUpdate,
|
|
119
121
|
"onUpdate:open": onOpenChange
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ } from "./chunks/LayoutCanvas-Dd20boUG.js";
|
|
2
|
-
import { _ as _2 } from "./chunks/LpAddressInput-
|
|
2
|
+
import { _ as _2 } from "./chunks/LpAddressInput-CxKwIG6T.js";
|
|
3
3
|
import { _ as _3 } from "./chunks/LpMapPicker-DFKrd1Ne.js";
|
|
4
4
|
import { OSM_TILES, createNominatimProvider, emptyAddress, formatAddress, project, tileUrl, unproject } from "./components/address.js";
|
|
5
5
|
import { _ as _4 } from "./chunks/LpAlert-BAYHDSS1.js";
|
|
@@ -38,7 +38,7 @@ import { _ as _33 } from "./chunks/LpNumberField-B3JuQFol.js";
|
|
|
38
38
|
import { _ as _34 } from "./chunks/LpOtpInput-DqaT0Z75.js";
|
|
39
39
|
import { _ as _35 } from "./chunks/LpPagination-CeGuNe_q.js";
|
|
40
40
|
import { _ as _36 } from "./chunks/LpPasswordInput-DgUC2Ur7.js";
|
|
41
|
-
import { _ as _37 } from "./chunks/LpPhoneInput-
|
|
41
|
+
import { _ as _37 } from "./chunks/LpPhoneInput-NXXjciJJ.js";
|
|
42
42
|
import { flagEmoji, loadCountries, matchCountryByValue } from "./components/countries.js";
|
|
43
43
|
import { _ as _38 } from "./chunks/LpPopover-8268UmlC.js";
|
|
44
44
|
import { _ as _39 } from "./chunks/LpProgress-BhI0IbjC.js";
|
|
@@ -46,7 +46,7 @@ import { _ as _40 } from "./chunks/LpRadio-CL-pI0_O.js";
|
|
|
46
46
|
import { _ as _41 } from "./chunks/LpRadioGroup-B4yDTmi6.js";
|
|
47
47
|
import { _ as _42 } from "./chunks/LpScrollArea-D8xyKXcF.js";
|
|
48
48
|
import { _ as _43 } from "./chunks/LpSegmented-BmpanyAo.js";
|
|
49
|
-
import { _ as _44 } from "./chunks/LpSelect-
|
|
49
|
+
import { _ as _44 } from "./chunks/LpSelect-Cw8-gL5F.js";
|
|
50
50
|
import { _ as _45 } from "./chunks/LpServiceNode-D8uJ8sGk.js";
|
|
51
51
|
import { default as default3 } from "./components/LpShortcutsDialog.vue.js";
|
|
52
52
|
import { _ as _46 } from "./chunks/LpSidebar-D3GGLSE7.js";
|
package/package.json
CHANGED
|
@@ -160,9 +160,15 @@ const sizeClass = {
|
|
|
160
160
|
disabled ? 'cursor-not-allowed opacity-55' : '',
|
|
161
161
|
]"
|
|
162
162
|
>
|
|
163
|
+
<!-- reset-search-term-on-{select,blur}: as in LpSelect, the trigger shows
|
|
164
|
+
the selection and the box only filters, so reka seeding the chosen value
|
|
165
|
+
into it would pin the list to one country. Harmless today because the
|
|
166
|
+
select handler clears `query` by hand, declared so it stays that way. -->
|
|
163
167
|
<ComboboxRoot
|
|
164
168
|
v-model:open="open"
|
|
165
169
|
:ignore-filter="true"
|
|
170
|
+
:reset-search-term-on-select="false"
|
|
171
|
+
:reset-search-term-on-blur="false"
|
|
166
172
|
:disabled="disabled"
|
|
167
173
|
class="flex"
|
|
168
174
|
>
|
|
Binary file
|