@local-civics/hub-ui 0.1.130 → 0.1.131
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1011,7 +1011,7 @@ const Button = (props) => {
|
|
|
1011
1011
|
withBorder(config, props.border);
|
|
1012
1012
|
withSpacing(config, props.spacing, props.wide);
|
|
1013
1013
|
const onClick = () => !props.active && !props.disabled && props.onClick && props.onClick();
|
|
1014
|
-
return /* @__PURE__ */ React.createElement("button", { disabled: props.disabled, type: props.type, className: classname(config.button), onClick }, props.icon && /* @__PURE__ */ React.createElement("span", { className: classname(config.icon) }, /* @__PURE__ */ React.createElement(Icon$1, { name: props.icon })), props.logo && /* @__PURE__ */ React.createElement("span", { className: classname(config.logo) }, /* @__PURE__ */ React.createElement(Logo, null)), (props.text || props.footer) && /* @__PURE__ */ React.createElement("div", { className: "grid grid-cols-1 justify-items-start gap-4" }, props.text && /* @__PURE__ */ React.createElement("div", { className: "text-left" }, props.text), props.footer && /* @__PURE__ */ React.createElement("div", { className: "text-[0.5rem] font-semibold" }, props.footer)));
|
|
1014
|
+
return /* @__PURE__ */ React.createElement("button", { disabled: props.disabled, type: props.type, className: classname(config.button), onClick }, props.icon && /* @__PURE__ */ React.createElement("span", { className: classname(config.icon) }, /* @__PURE__ */ React.createElement(Icon$1, { name: props.icon })), props.logo && /* @__PURE__ */ React.createElement("span", { className: classname(config.logo) }, /* @__PURE__ */ React.createElement(Logo, null)), (props.text || props.footer) && /* @__PURE__ */ React.createElement("div", { className: "grid grid-cols-1 justify-items-start gap-4" }, props.text && /* @__PURE__ */ React.createElement("div", { className: "text-left whitespace-nowrap" }, props.text), props.footer && /* @__PURE__ */ React.createElement("div", { className: "text-[0.5rem] font-semibold" }, props.footer)));
|
|
1015
1015
|
};
|
|
1016
1016
|
const defaultConfig$1 = () => {
|
|
1017
1017
|
const config = {
|
|
@@ -4169,7 +4169,7 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4169
4169
|
color: "blue",
|
|
4170
4170
|
theme: "dark",
|
|
4171
4171
|
text: "Edit Lesson",
|
|
4172
|
-
size: "md
|
|
4172
|
+
size: "md",
|
|
4173
4173
|
onClick: props.onEditLesson
|
|
4174
4174
|
}
|
|
4175
4175
|
), /* @__PURE__ */ React.createElement(
|
|
@@ -4181,7 +4181,7 @@ const FormSubmitDialog$1 = (props) => {
|
|
|
4181
4181
|
color: "blue",
|
|
4182
4182
|
theme: "dark",
|
|
4183
4183
|
text: "Back to Badge",
|
|
4184
|
-
size: "md
|
|
4184
|
+
size: "md",
|
|
4185
4185
|
onClick: props.onBackToBadge
|
|
4186
4186
|
}
|
|
4187
4187
|
))));
|
|
@@ -4746,7 +4746,7 @@ const Registration = (props) => {
|
|
|
4746
4746
|
{
|
|
4747
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.",
|
|
4748
4748
|
onChange: (e) => setImpactStatement(e.target.value),
|
|
4749
|
-
|
|
4749
|
+
value: impactStatement,
|
|
4750
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"
|
|
4751
4751
|
}
|
|
4752
4752
|
)))),
|