@local-civics/mgmt-ui 0.1.85 → 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 +13 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -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
|
},
|
|
@@ -2465,7 +2465,7 @@ const useStyles$3 = core.createStyles((theme) => ({
|
|
|
2465
2465
|
const StartAnonymousLesson = (props) => {
|
|
2466
2466
|
const { classes } = useStyles$3();
|
|
2467
2467
|
const [name, setName] = React__namespace.useState("");
|
|
2468
|
-
return /* @__PURE__ */ React__namespace.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React__namespace.createElement(core.Container, null, /* @__PURE__ */ React__namespace.createElement(core.SimpleGrid, { maw: 960, cols: 2, spacing: 15, breakpoints: [{ maxWidth: "sm", cols: 1 }] }, /* @__PURE__ */ React__namespace.createElement("div", { className: classes.content }, /* @__PURE__ */ React__namespace.createElement(core.Badge, { color: "violet" }, "
|
|
2468
|
+
return /* @__PURE__ */ React__namespace.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React__namespace.createElement(core.Container, null, /* @__PURE__ */ React__namespace.createElement(core.SimpleGrid, { maw: 960, cols: 2, spacing: 15, breakpoints: [{ maxWidth: "sm", cols: 1 }] }, /* @__PURE__ */ React__namespace.createElement("div", { className: classes.content }, /* @__PURE__ */ React__namespace.createElement(core.Badge, { color: "violet" }, "Community"), /* @__PURE__ */ React__namespace.createElement(core.Title, { className: classes.title }, props.title), /* @__PURE__ */ React__namespace.createElement(core.Text, { color: "dimmed", mt: "md" }, props.description), /* @__PURE__ */ React__namespace.createElement(core.Text, { color: "dimmed", mt: "md" }, "Instructed by ", props.educatorName, ".")), /* @__PURE__ */ React__namespace.createElement("div", { className: classes.form }, /* @__PURE__ */ React__namespace.createElement(
|
|
2469
2469
|
core.TextInput,
|
|
2470
2470
|
{
|
|
2471
2471
|
label: "Name",
|
|
@@ -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,8 +2694,10 @@ const useStyles$1 = core.createStyles((theme) => ({
|
|
|
2694
2694
|
},
|
|
2695
2695
|
title: {
|
|
2696
2696
|
fontFamily: `Greycliff CF, ${theme.fontFamily}`,
|
|
2697
|
+
fontSize: 50,
|
|
2697
2698
|
color: theme.white,
|
|
2698
|
-
lineHeight: 1
|
|
2699
|
+
lineHeight: 1,
|
|
2700
|
+
maxWidth: 500
|
|
2699
2701
|
},
|
|
2700
2702
|
description: {
|
|
2701
2703
|
color: theme.colors[theme.primaryColor][0],
|
|
@@ -2746,10 +2748,10 @@ const TrialRegistration = (props) => {
|
|
|
2746
2748
|
const [lastName, setLastName] = React__namespace.useState("");
|
|
2747
2749
|
const [schoolName, setSchoolName] = React__namespace.useState("");
|
|
2748
2750
|
const [interests, setInterests] = React__namespace.useState({});
|
|
2749
|
-
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(
|
|
2750
2752
|
core.Image,
|
|
2751
2753
|
{
|
|
2752
|
-
height:
|
|
2754
|
+
height: 200,
|
|
2753
2755
|
width: "auto",
|
|
2754
2756
|
fit: "contain",
|
|
2755
2757
|
src: "https://cdn.localcivics.io/brand/l.png"
|
|
@@ -2767,7 +2769,7 @@ const TrialRegistration = (props) => {
|
|
|
2767
2769
|
core.TextInput,
|
|
2768
2770
|
{
|
|
2769
2771
|
label: "First Name",
|
|
2770
|
-
placeholder: "
|
|
2772
|
+
placeholder: "Insert your first name",
|
|
2771
2773
|
required: true,
|
|
2772
2774
|
classNames: { input: classes.input, label: classes.inputLabel },
|
|
2773
2775
|
onChange: (e) => setFirstName(e.target.value)
|
|
@@ -2776,7 +2778,7 @@ const TrialRegistration = (props) => {
|
|
|
2776
2778
|
core.TextInput,
|
|
2777
2779
|
{
|
|
2778
2780
|
label: "Last Name",
|
|
2779
|
-
placeholder: "
|
|
2781
|
+
placeholder: "Insert your last name",
|
|
2780
2782
|
required: true,
|
|
2781
2783
|
classNames: { input: classes.input, label: classes.inputLabel },
|
|
2782
2784
|
onChange: (e) => setLastName(e.target.value)
|
|
@@ -2785,7 +2787,7 @@ const TrialRegistration = (props) => {
|
|
|
2785
2787
|
core.TextInput,
|
|
2786
2788
|
{
|
|
2787
2789
|
label: "School Name (Optional)",
|
|
2788
|
-
placeholder: "What
|
|
2790
|
+
placeholder: "What's the name of your school?",
|
|
2789
2791
|
classNames: { input: classes.input, label: classes.inputLabel },
|
|
2790
2792
|
onChange: (e) => setSchoolName(e.target.value)
|
|
2791
2793
|
}
|