@cambly/syntax-core 5.4.0 → 5.5.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.d.ts CHANGED
@@ -739,7 +739,7 @@ declare const SelectList: {
739
739
  /**
740
740
  * Text shown above select box
741
741
  */
742
- label: string;
742
+ label?: string | undefined;
743
743
  /**
744
744
  * The callback to be called when an option is selected
745
745
  */
package/dist/index.js CHANGED
@@ -1022,7 +1022,7 @@ var SelectList = ({
1022
1022
  [SelectList_module_default.opacityOverlay]: disabled
1023
1023
  }),
1024
1024
  children: [
1025
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography_default, { size: 100, color: "gray700", children: label }) }),
1025
+ label && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Typography_default, { size: 100, color: "gray700", children: label }) }),
1026
1026
  /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)("div", { className: SelectList_module_default.selectWrapper, children: [
1027
1027
  /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
1028
1028
  "select",