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.js CHANGED
@@ -15484,7 +15484,8 @@ function FontPicker(_a) {
15484
15484
  localFonts = [],
15485
15485
  fontVariants,
15486
15486
  value,
15487
- loading = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { children: "Font previews loading ..." })
15487
+ loading = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { children: "Font previews loading ..." }),
15488
+ inputId
15488
15489
  } = _b, rest = __objRest(_b, [
15489
15490
  "defaultValue",
15490
15491
  "noMatches",
@@ -15497,7 +15498,8 @@ function FontPicker(_a) {
15497
15498
  "localFonts",
15498
15499
  "fontVariants",
15499
15500
  "value",
15500
- "loading"
15501
+ "loading",
15502
+ "inputId"
15501
15503
  ]);
15502
15504
  var _a2, _b2, _c;
15503
15505
  const [focused, setFocused] = (0, import_react.useState)(false);
@@ -15874,6 +15876,7 @@ function FontPicker(_a) {
15874
15876
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
15875
15877
  "input",
15876
15878
  {
15879
+ id: inputId,
15877
15880
  className: "fontpicker__search",
15878
15881
  ref: inputRef,
15879
15882
  type: "text",