@local-civics/hub-ui 0.1.129 → 0.1.130
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 +1 -1
- package/dist/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1265,6 +1265,10 @@ const withSize = (config, size) => {
|
|
|
1265
1265
|
config.icon.size = "w-5 h-5";
|
|
1266
1266
|
config.logo.size = "w-28 h-5 -ml-1";
|
|
1267
1267
|
break;
|
|
1268
|
+
case "md-small-text":
|
|
1269
|
+
config.button.size.text = "text-sm";
|
|
1270
|
+
config.icon.size = "w-5 h-5";
|
|
1271
|
+
config.logo.size = "w-28 h-5 -ml-1";
|
|
1268
1272
|
case "lg":
|
|
1269
1273
|
config.button.size.text = "text-md";
|
|
1270
1274
|
config.icon.size = "w-6 h-6";
|
|
@@ -4145,7 +4149,7 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4145
4149
|
color: "blue",
|
|
4146
4150
|
theme: "dark",
|
|
4147
4151
|
text: "Edit Lesson",
|
|
4148
|
-
size: "md",
|
|
4152
|
+
size: "md-small-text",
|
|
4149
4153
|
onClick: props.onEditLesson
|
|
4150
4154
|
}
|
|
4151
4155
|
), /* @__PURE__ */ React__default.createElement(
|
|
@@ -4157,7 +4161,7 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4157
4161
|
color: "blue",
|
|
4158
4162
|
theme: "dark",
|
|
4159
4163
|
text: "Back to Badge",
|
|
4160
|
-
size: "md",
|
|
4164
|
+
size: "md-small-text",
|
|
4161
4165
|
onClick: props.onBackToBadge
|
|
4162
4166
|
}
|
|
4163
4167
|
))));
|
|
@@ -4722,7 +4726,7 @@ const Registration = (props) => {
|
|
|
4722
4726
|
{
|
|
4723
4727
|
placeholder: "E.g., I would like to encourage my community to become more educated on issues that directly affect us, as well as make sure my community is a place where everyone is welcome.",
|
|
4724
4728
|
onChange: (e) => setImpactStatement(e.target.value),
|
|
4725
|
-
defaultValue:
|
|
4729
|
+
defaultValue: "None",
|
|
4726
4730
|
className: "resize-none text-slate-500 focus:text-slate-600 h-24 mt-1 block w-full px-3 py-2 bg-white border border-slate-300 rounded-md text-sm shadow-sm placeholder-slate-400\n focus:outline-none focus:border-sky-500 focus:ring-1 focus:ring-sky-500\n disabled:bg-slate-50 disabled:text-slate-500 disabled:border-slate-200 disabled:shadow-none"
|
|
4727
4731
|
}
|
|
4728
4732
|
)))),
|