@cloudparker/moldex.js 0.0.120 → 0.0.122

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.
@@ -16,6 +16,7 @@ let {
16
16
  children,
17
17
  iconClassName,
18
18
  dropdownClassName,
19
+ placeholder,
19
20
  ...others
20
21
  } = $props();
21
22
  </script>
@@ -29,6 +30,7 @@ let {
29
30
  className="min-w-52 {searchClassName}"
30
31
  appearance={searchAppearance}
31
32
  size={searchSize}
33
+ {placeholder}
32
34
  />
33
35
  </div>
34
36
  {/snippet}
@@ -12,6 +12,7 @@ type Props = {
12
12
  iconClassName?: string;
13
13
  dropdownClassName?: string;
14
14
  searchText?: string;
15
+ placeholder?: string;
15
16
  };
16
17
  type $$ComponentProps = ButtonProps & Props;
17
18
  declare const ButtonSearch: import("svelte").Component<$$ComponentProps, {}, "searchText">;
@@ -103,6 +103,7 @@ export function toggleDialog() {
103
103
  }
104
104
  export function openDialog() {
105
105
  isPlaced = true;
106
+ document.body.style.overflow = "hidden";
106
107
  setTimeout(() => {
107
108
  isOpened = true;
108
109
  }, 0);
@@ -110,6 +111,7 @@ export function openDialog() {
110
111
  export function closeDialog(value) {
111
112
  return new Promise((resolve) => {
112
113
  isOpened = false;
114
+ document.body.style.overflow = "";
113
115
  setTimeout(() => {
114
116
  isPlaced = false;
115
117
  onClose && onClose();
@@ -3,4 +3,4 @@ import TextCountry from "./texts/text-country.svelte";
3
3
  import TextCountryState from "./texts/text-country-state.svelte";
4
4
  import CountryLoader, { type Country } from "./loaders/country-loader.svelte";
5
5
  export type { Country };
6
- export { CountryComboboxField, TextCountry, CountryLoader, TextCountryState };
6
+ export { CountryComboboxField, TextCountry, CountryLoader, TextCountryState, };
@@ -2,4 +2,4 @@ import CountryComboboxField from "./fields/country-combobox-field.svelte";
2
2
  import TextCountry from "./texts/text-country.svelte";
3
3
  import TextCountryState from "./texts/text-country-state.svelte";
4
4
  import CountryLoader, {} from "./loaders/country-loader.svelte";
5
- export { CountryComboboxField, TextCountry, CountryLoader, TextCountryState };
5
+ export { CountryComboboxField, TextCountry, CountryLoader, TextCountryState, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudparker/moldex.js",
3
- "version": "0.0.120",
3
+ "version": "0.0.122",
4
4
  "author": "cloudparker.com",
5
5
  "license": "MIT",
6
6
  "keywords": [