@dragonmastery/zinia-forms-core 0.3.2 → 0.3.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/dist/index.js CHANGED
@@ -4013,7 +4013,6 @@ function createDaisyUIComboboxField() {
4013
4013
  });
4014
4014
  const inputClass = [
4015
4015
  "input",
4016
- "w-full",
4017
4016
  "pr-10",
4018
4017
  props.size ? `input-${props.size}` : "",
4019
4018
  props.variant ? `input-${props.variant}` : "",
@@ -4142,12 +4141,12 @@ function createDaisyUIComboboxField() {
4142
4141
  name: props.name,
4143
4142
  ...htmlAttrs
4144
4143
  };
4145
- return /* @__PURE__ */ jsxs("label", { ref: comboboxRoot, class: "floating-label w-full", children: [
4144
+ return /* @__PURE__ */ jsxs("label", { ref: comboboxRoot, class: "floating-label", children: [
4146
4145
  !props.hideLabel && /* @__PURE__ */ jsxs("span", { children: [
4147
4146
  props.label || fieldMetadata.label,
4148
4147
  fieldMetadata.isRequired && /* @__PURE__ */ jsx("span", { class: "text-error", children: " *" })
4149
4148
  ] }),
4150
- /* @__PURE__ */ jsxs("div", { class: "relative", role: "combobox", "aria-expanded": showDropdown.value, "aria-haspopup": "listbox", children: [
4149
+ /* @__PURE__ */ jsxs("div", { class: "relative inline-block max-w-full", style: "min-width: clamp(3rem, 20rem, 100%);", role: "combobox", "aria-expanded": showDropdown.value, "aria-haspopup": "listbox", children: [
4151
4150
  /* @__PURE__ */ jsx(
4152
4151
  "input",
4153
4152
  {
@@ -4172,7 +4171,7 @@ function createDaisyUIComboboxField() {
4172
4171
  children: /* @__PURE__ */ jsx("path", { "stroke-linecap": "round", "stroke-linejoin": "round", d: "M8 9l4-4 4 4m0 6l-4 4-4-4" })
4173
4172
  }
4174
4173
  ) }),
4175
- showDropdown.value && /* @__PURE__ */ jsx("div", { class: "absolute z-50 w-full mt-1 bg-base-100 border border-base-300 rounded-box shadow-lg max-h-60 overflow-auto", children: filteredOptions.value.length > 0 || isNewValue.value ? /* @__PURE__ */ jsxs("ul", { id: "combobox-listbox", class: "menu w-full", role: "listbox", children: [
4174
+ showDropdown.value && /* @__PURE__ */ jsx("div", { class: "absolute z-50 mt-1 bg-base-100 border border-base-300 rounded-box shadow-lg max-h-60 overflow-auto", style: "min-width: 100%;", children: filteredOptions.value.length > 0 || isNewValue.value ? /* @__PURE__ */ jsxs("ul", { id: "combobox-listbox", class: "menu w-full", role: "listbox", children: [
4176
4175
  filteredOptions.value.map((option, index) => /* @__PURE__ */ jsx(
4177
4176
  "li",
4178
4177
  {