@local-civics/mgmt-ui 0.1.87 → 0.1.88

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 CHANGED
@@ -565,7 +565,7 @@ type StartAnonymousLessonProps = {
565
565
  description: string;
566
566
  educatorName: string;
567
567
  studentName?: string;
568
- onStart: () => void;
568
+ onStart: (name: string) => void;
569
569
  };
570
570
  /**
571
571
  * StartAnonymousLesson
package/dist/index.js CHANGED
@@ -2476,7 +2476,7 @@ const StartAnonymousLesson = (props) => {
2476
2476
  onChange: (e) => setName(e.target.value),
2477
2477
  classNames: { input: classes.input, label: classes.inputLabel }
2478
2478
  }
2479
- ), /* @__PURE__ */ React__namespace.createElement(core.Group, { position: "right", mt: "md" }, /* @__PURE__ */ React__namespace.createElement(core.Button, { disabled: !name && !props.studentName, onClick: props.onStart, className: classes.control }, !props.studentName ? "Start lesson" : "Continue lesson"))))));
2479
+ ), /* @__PURE__ */ React__namespace.createElement(core.Group, { position: "right", mt: "md" }, /* @__PURE__ */ React__namespace.createElement(core.Button, { disabled: !name && !props.studentName, onClick: () => props.onStart(name), className: classes.control }, !props.studentName ? "Start lesson" : "Continue lesson"))))));
2480
2480
  };
2481
2481
 
2482
2482
  var __defProp$3 = Object.defineProperty;
@@ -2589,6 +2589,8 @@ const useStyles$2 = core.createStyles((theme, { checked }) => ({
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
2591
  padding: theme.spacing.md,
2592
+ paddingTop: theme.spacing.sm,
2593
+ paddingBottom: theme.spacing.sm,
2592
2594
  backgroundColor: checked ? theme.fn.variant({ variant: "light", color: theme.primaryColor }).background : theme.colorScheme === "dark" ? theme.colors.dark[8] : theme.white
2593
2595
  },
2594
2596
  body: {
@@ -2748,7 +2750,7 @@ const TrialRegistration = (props) => {
2748
2750
  const [lastName, setLastName] = React__namespace.useState("");
2749
2751
  const [schoolName, setSchoolName] = React__namespace.useState("");
2750
2752
  const [interests, setInterests] = React__namespace.useState({});
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(
2753
+ return /* @__PURE__ */ React__namespace.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React__namespace.createElement(core.SimpleGrid, { maw: 1300, 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
2754
  core.Image,
2753
2755
  {
2754
2756
  height: 200,