@cambly/syntax-core 3.1.0 → 3.2.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 +3 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -943,14 +943,7 @@ var SelectList = ({
|
|
|
943
943
|
[SelectList_module_default.opacityOverlay]: disabled
|
|
944
944
|
}),
|
|
945
945
|
children: [
|
|
946
|
-
/* @__PURE__ */ jsx14("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx14(
|
|
947
|
-
Typography_default,
|
|
948
|
-
{
|
|
949
|
-
size: 100,
|
|
950
|
-
color: errorText ? "destructive-primary" : "gray700",
|
|
951
|
-
children: label
|
|
952
|
-
}
|
|
953
|
-
) }),
|
|
946
|
+
/* @__PURE__ */ jsx14("label", { htmlFor: id, className: SelectList_module_default.outerTextContainer, children: /* @__PURE__ */ jsx14(Typography_default, { size: 100, color: "gray700", children: label }) }),
|
|
954
947
|
/* @__PURE__ */ jsxs4("div", { className: SelectList_module_default.selectWrapper, children: [
|
|
955
948
|
/* @__PURE__ */ jsxs4(
|
|
956
949
|
"select",
|
|
@@ -964,8 +957,9 @@ var SelectList = ({
|
|
|
964
957
|
[SelectList_module_default.selectError]: errorText
|
|
965
958
|
}),
|
|
966
959
|
onChange,
|
|
960
|
+
value: placeholderText && !selectedValue ? placeholderText : selectedValue,
|
|
967
961
|
children: [
|
|
968
|
-
placeholderText && /* @__PURE__ */ jsx14("option", { disabled: true, value:
|
|
962
|
+
placeholderText && /* @__PURE__ */ jsx14("option", { disabled: true, value: placeholderText, children: placeholderText }),
|
|
969
963
|
children
|
|
970
964
|
]
|
|
971
965
|
}
|