react-fontpicker-ts 0.2.1 → 0.3.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/dist/index.mjs CHANGED
@@ -15465,7 +15465,8 @@ function FontPicker(_a) {
15465
15465
  localFonts = [],
15466
15466
  fontVariants,
15467
15467
  value,
15468
- loading = /* @__PURE__ */ jsx2("div", { children: "Font previews loading ..." })
15468
+ loading = /* @__PURE__ */ jsx2("div", { children: "Font previews loading ..." }),
15469
+ inputId
15469
15470
  } = _b, rest = __objRest(_b, [
15470
15471
  "defaultValue",
15471
15472
  "noMatches",
@@ -15478,7 +15479,8 @@ function FontPicker(_a) {
15478
15479
  "localFonts",
15479
15480
  "fontVariants",
15480
15481
  "value",
15481
- "loading"
15482
+ "loading",
15483
+ "inputId"
15482
15484
  ]);
15483
15485
  var _a2, _b2, _c;
15484
15486
  const [focused, setFocused] = useState(false);
@@ -15855,6 +15857,7 @@ function FontPicker(_a) {
15855
15857
  /* @__PURE__ */ jsx2(
15856
15858
  "input",
15857
15859
  {
15860
+ id: inputId,
15858
15861
  className: "fontpicker__search",
15859
15862
  ref: inputRef,
15860
15863
  type: "text",