@local-civics/mgmt-ui 0.1.86 → 0.1.87
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 +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2406,7 +2406,7 @@ const useStyles$3 = core.createStyles((theme) => ({
|
|
|
2406
2406
|
padding: theme.spacing.xl,
|
|
2407
2407
|
border: `1px solid ${theme.colorScheme === "dark" ? theme.colors.dark[8] : theme.colors.gray[3]}`,
|
|
2408
2408
|
borderRadius: theme.radius.md,
|
|
2409
|
-
boxShadow: theme.shadows.
|
|
2409
|
+
boxShadow: theme.shadows.md,
|
|
2410
2410
|
minWidth: 300,
|
|
2411
2411
|
height: "fit-content"
|
|
2412
2412
|
},
|
|
@@ -2588,7 +2588,7 @@ const useStyles$2 = core.createStyles((theme, { checked }) => ({
|
|
|
2588
2588
|
transition: "background-color 150ms ease, border-color 150ms ease",
|
|
2589
2589
|
border: `1px solid ${checked ? theme.fn.variant({ variant: "outline", color: theme.primaryColor }).border : theme.colorScheme === "dark" ? theme.colors.dark[8] : theme.colors.gray[3]}`,
|
|
2590
2590
|
borderRadius: theme.radius.sm,
|
|
2591
|
-
padding: theme.spacing.
|
|
2591
|
+
padding: theme.spacing.md,
|
|
2592
2592
|
backgroundColor: checked ? theme.fn.variant({ variant: "light", color: theme.primaryColor }).background : theme.colorScheme === "dark" ? theme.colors.dark[8] : theme.white
|
|
2593
2593
|
},
|
|
2594
2594
|
body: {
|
|
@@ -2628,7 +2628,7 @@ function ImageCheckbox(_a) {
|
|
|
2628
2628
|
className: cx(classes.button, className)
|
|
2629
2629
|
}),
|
|
2630
2630
|
/* @__PURE__ */ React__namespace.createElement(core.ThemeIcon, { variant: "light", size: "lg", color: "blue" }, /* @__PURE__ */ React__namespace.createElement(Icon, { size: 40 })),
|
|
2631
|
-
/* @__PURE__ */ React__namespace.createElement("div", { className: classes.body }, /* @__PURE__ */ React__namespace.createElement(core.Text, {
|
|
2631
|
+
/* @__PURE__ */ React__namespace.createElement("div", { className: classes.body }, /* @__PURE__ */ React__namespace.createElement(core.Text, { weight: 500, size: "sm", sx: { lineHeight: 1 } }, title)),
|
|
2632
2632
|
/* @__PURE__ */ React__namespace.createElement(
|
|
2633
2633
|
core.Checkbox,
|
|
2634
2634
|
{
|
|
@@ -2652,7 +2652,7 @@ function SelectGrid(props) {
|
|
|
2652
2652
|
return /* @__PURE__ */ React__namespace.createElement(
|
|
2653
2653
|
core.SimpleGrid,
|
|
2654
2654
|
{
|
|
2655
|
-
cols:
|
|
2655
|
+
cols: 2,
|
|
2656
2656
|
breakpoints: [
|
|
2657
2657
|
{ maxWidth: "md", cols: 2 },
|
|
2658
2658
|
{ maxWidth: "sm", cols: 1 }
|
|
@@ -2694,10 +2694,10 @@ const useStyles$1 = core.createStyles((theme) => ({
|
|
|
2694
2694
|
},
|
|
2695
2695
|
title: {
|
|
2696
2696
|
fontFamily: `Greycliff CF, ${theme.fontFamily}`,
|
|
2697
|
-
fontSize:
|
|
2697
|
+
fontSize: 50,
|
|
2698
2698
|
color: theme.white,
|
|
2699
2699
|
lineHeight: 1,
|
|
2700
|
-
maxWidth:
|
|
2700
|
+
maxWidth: 500
|
|
2701
2701
|
},
|
|
2702
2702
|
description: {
|
|
2703
2703
|
color: theme.colors[theme.primaryColor][0],
|
|
@@ -2748,10 +2748,10 @@ const TrialRegistration = (props) => {
|
|
|
2748
2748
|
const [lastName, setLastName] = React__namespace.useState("");
|
|
2749
2749
|
const [schoolName, setSchoolName] = React__namespace.useState("");
|
|
2750
2750
|
const [interests, setInterests] = React__namespace.useState({});
|
|
2751
|
-
return /* @__PURE__ */ React__namespace.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React__namespace.createElement(core.SimpleGrid, { maw:
|
|
2751
|
+
return /* @__PURE__ */ React__namespace.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React__namespace.createElement(core.SimpleGrid, { maw: 1200, ml: "auto", mr: "auto", cols: 2, spacing: 50, breakpoints: [{ maxWidth: "md", cols: 1 }] }, /* @__PURE__ */ React__namespace.createElement(core.Group, { spacing: "sm" }, /* @__PURE__ */ React__namespace.createElement(
|
|
2752
2752
|
core.Image,
|
|
2753
2753
|
{
|
|
2754
|
-
height:
|
|
2754
|
+
height: 200,
|
|
2755
2755
|
width: "auto",
|
|
2756
2756
|
fit: "contain",
|
|
2757
2757
|
src: "https://cdn.localcivics.io/brand/l.png"
|
|
@@ -2769,7 +2769,7 @@ const TrialRegistration = (props) => {
|
|
|
2769
2769
|
core.TextInput,
|
|
2770
2770
|
{
|
|
2771
2771
|
label: "First Name",
|
|
2772
|
-
placeholder: "
|
|
2772
|
+
placeholder: "Insert your first name",
|
|
2773
2773
|
required: true,
|
|
2774
2774
|
classNames: { input: classes.input, label: classes.inputLabel },
|
|
2775
2775
|
onChange: (e) => setFirstName(e.target.value)
|
|
@@ -2778,7 +2778,7 @@ const TrialRegistration = (props) => {
|
|
|
2778
2778
|
core.TextInput,
|
|
2779
2779
|
{
|
|
2780
2780
|
label: "Last Name",
|
|
2781
|
-
placeholder: "
|
|
2781
|
+
placeholder: "Insert your last name",
|
|
2782
2782
|
required: true,
|
|
2783
2783
|
classNames: { input: classes.input, label: classes.inputLabel },
|
|
2784
2784
|
onChange: (e) => setLastName(e.target.value)
|
|
@@ -2787,7 +2787,7 @@ const TrialRegistration = (props) => {
|
|
|
2787
2787
|
core.TextInput,
|
|
2788
2788
|
{
|
|
2789
2789
|
label: "School Name (Optional)",
|
|
2790
|
-
placeholder: "What
|
|
2790
|
+
placeholder: "What's the name of your school?",
|
|
2791
2791
|
classNames: { input: classes.input, label: classes.inputLabel },
|
|
2792
2792
|
onChange: (e) => setSchoolName(e.target.value)
|
|
2793
2793
|
}
|