@cambly/syntax-core 5.6.0 → 5.6.1
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.css +15 -14
- package/dist/index.css.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -869,7 +869,7 @@ var import_classnames8 = __toESM(require_classnames());
|
|
|
869
869
|
import { useState as useState3 } from "react";
|
|
870
870
|
|
|
871
871
|
// css-module:./RadioButton.module.css#css-module
|
|
872
|
-
var RadioButton_module_default = { "radioBaseContainer": "
|
|
872
|
+
var RadioButton_module_default = { "radioBaseContainer": "_radioBaseContainer_1hf9h_1", "smBase": "_smBase_1hf9h_9", "mdBase": "_mdBase_1hf9h_14", "radioStyleOverride": "_radioStyleOverride_1hf9h_19", "smOverride": "_smOverride_1hf9h_25", "mdOverride": "_mdOverride_1hf9h_30", "background": "_background_1hf9h_35", "sm": "_sm_1hf9h_9", "md": "_md_1hf9h_14", "neutralBorder": "_neutralBorder_1hf9h_52", "smCheckedBorder": "_smCheckedBorder_1hf9h_56", "mdCheckedBorder": "_mdCheckedBorder_1hf9h_60", "errorBorderColor": "_errorBorderColor_1hf9h_64", "borderColor": "_borderColor_1hf9h_68" };
|
|
873
873
|
|
|
874
874
|
// src/RadioButton/RadioButton.tsx
|
|
875
875
|
import { jsx as jsx13, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -900,6 +900,15 @@ var RadioButton = ({
|
|
|
900
900
|
[RadioButton_module_default.mdBase]: size === "md"
|
|
901
901
|
}),
|
|
902
902
|
children: [
|
|
903
|
+
checked ? /* @__PURE__ */ jsx13(
|
|
904
|
+
"div",
|
|
905
|
+
{
|
|
906
|
+
className: (0, import_classnames8.default)(sharedStyles, {
|
|
907
|
+
[RadioButton_module_default.mdCheckedBorder]: size === "md",
|
|
908
|
+
[RadioButton_module_default.smCheckedBorder]: size === "sm"
|
|
909
|
+
})
|
|
910
|
+
}
|
|
911
|
+
) : /* @__PURE__ */ jsx13("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
|
|
903
912
|
/* @__PURE__ */ jsx13(
|
|
904
913
|
"input",
|
|
905
914
|
{
|
|
@@ -923,15 +932,6 @@ var RadioButton = ({
|
|
|
923
932
|
}
|
|
924
933
|
}
|
|
925
934
|
),
|
|
926
|
-
checked ? /* @__PURE__ */ jsx13(
|
|
927
|
-
"div",
|
|
928
|
-
{
|
|
929
|
-
className: (0, import_classnames8.default)(sharedStyles, {
|
|
930
|
-
[RadioButton_module_default.mdCheckedBorder]: size === "md",
|
|
931
|
-
[RadioButton_module_default.smCheckedBorder]: size === "sm"
|
|
932
|
-
})
|
|
933
|
-
}
|
|
934
|
-
) : /* @__PURE__ */ jsx13("div", { className: (0, import_classnames8.default)(sharedStyles, RadioButton_module_default.neutralBorder) }),
|
|
935
935
|
label && /* @__PURE__ */ jsx13(
|
|
936
936
|
Typography_default,
|
|
937
937
|
{
|