@local-civics/hub-ui 0.1.128 → 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.d.ts
CHANGED
|
@@ -335,7 +335,7 @@ type ButtonColor = "slate" | "sky" | "green" | "rose" | "emerald" | "primary" |
|
|
|
335
335
|
/**
|
|
336
336
|
* The button size.
|
|
337
337
|
*/
|
|
338
|
-
type ButtonSize = "tiny" | "xs" | "sm" | "md" | "lg" | "xl" | "full:sm" | "full:md";
|
|
338
|
+
type ButtonSize = "tiny" | "xs" | "sm" | "md" | "md-small-text" | "lg" | "xl" | "full:sm" | "full:md";
|
|
339
339
|
/**
|
|
340
340
|
* The button spacing.
|
|
341
341
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1285,6 +1285,10 @@ const withSize = (config, size) => {
|
|
|
1285
1285
|
config.icon.size = "w-5 h-5";
|
|
1286
1286
|
config.logo.size = "w-28 h-5 -ml-1";
|
|
1287
1287
|
break;
|
|
1288
|
+
case "md-small-text":
|
|
1289
|
+
config.button.size.text = "text-sm";
|
|
1290
|
+
config.icon.size = "w-5 h-5";
|
|
1291
|
+
config.logo.size = "w-28 h-5 -ml-1";
|
|
1288
1292
|
case "lg":
|
|
1289
1293
|
config.button.size.text = "text-md";
|
|
1290
1294
|
config.icon.size = "w-6 h-6";
|
|
@@ -4165,7 +4169,7 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4165
4169
|
color: "blue",
|
|
4166
4170
|
theme: "dark",
|
|
4167
4171
|
text: "Edit Lesson",
|
|
4168
|
-
size: "md",
|
|
4172
|
+
size: "md-small-text",
|
|
4169
4173
|
onClick: props.onEditLesson
|
|
4170
4174
|
}
|
|
4171
4175
|
), /* @__PURE__ */ React.createElement(
|
|
@@ -4177,7 +4181,7 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4177
4181
|
color: "blue",
|
|
4178
4182
|
theme: "dark",
|
|
4179
4183
|
text: "Back to Badge",
|
|
4180
|
-
size: "md",
|
|
4184
|
+
size: "md-small-text",
|
|
4181
4185
|
onClick: props.onBackToBadge
|
|
4182
4186
|
}
|
|
4183
4187
|
))));
|
|
@@ -4742,7 +4746,7 @@ const Registration = (props) => {
|
|
|
4742
4746
|
{
|
|
4743
4747
|
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.",
|
|
4744
4748
|
onChange: (e) => setImpactStatement(e.target.value),
|
|
4745
|
-
defaultValue:
|
|
4749
|
+
defaultValue: "None",
|
|
4746
4750
|
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"
|
|
4747
4751
|
}
|
|
4748
4752
|
)))),
|