@cambly/syntax-core 3.1.0 → 3.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.d.ts +11 -11
- package/dist/index.js +4 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -520,7 +520,7 @@ var Divider_module_default = { "divider": "_divider_1ddgq_1" };
|
|
|
520
520
|
|
|
521
521
|
// src/Divider/Divider.tsx
|
|
522
522
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
523
|
-
function Divider(
|
|
523
|
+
function Divider() {
|
|
524
524
|
return /* @__PURE__ */ jsx6("hr", { className: Divider_module_default.divider });
|
|
525
525
|
}
|
|
526
526
|
Divider.displayName = "Divider";
|
|
@@ -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
|
}
|