@local-civics/mgmt-ui 0.1.69 → 0.1.71

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 CHANGED
@@ -1043,7 +1043,7 @@ const SplitButton$2 = (props) => {
1043
1043
  leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconPlaylistAdd, { size: 14 }),
1044
1044
  onClick: props.onAddMembersClick
1045
1045
  },
1046
- "Add members"
1046
+ "Add students"
1047
1047
  ), hasMenu && /* @__PURE__ */ React__namespace.createElement(core.Menu, { transition: "pop", position: "bottom-end" }, /* @__PURE__ */ React__namespace.createElement(core.Menu.Target, null, /* @__PURE__ */ React__namespace.createElement(
1048
1048
  core.ActionIcon,
1049
1049
  {
@@ -1087,9 +1087,9 @@ function Table$8(props) {
1087
1087
  core.Select,
1088
1088
  {
1089
1089
  size: "sm",
1090
- value: row.isAdmin ? "admin" : "member",
1090
+ value: row.isAdmin ? "admin" : "student",
1091
1091
  onChange: (value) => props.onRoleChange && props.onRoleChange(row, value),
1092
- data: [{ value: "member", label: "Member" }, { value: "admin", label: "Admin" }]
1092
+ data: [{ value: "student", label: "Student" }, { value: "admin", label: "Admin" }]
1093
1093
  }
1094
1094
  ))), /* @__PURE__ */ React__namespace.createElement("td", null, row.badgesEarned), /* @__PURE__ */ React__namespace.createElement("td", null, row.lessonsCompleted), /* @__PURE__ */ React__namespace.createElement("td", null, row.hasAccount && /* @__PURE__ */ React__namespace.createElement(icons.IconCheck, { color: "green" })), /* @__PURE__ */ React__namespace.createElement("td", null, row.lastActivity ? relativeTimeFromDates(row.lastActivity) : ""), /* @__PURE__ */ React__namespace.createElement("td", null, /* @__PURE__ */ React__namespace.createElement(core.Group, { noWrap: true, spacing: 0, position: "right" }, !row.readonly && !!props.onDelete && /* @__PURE__ */ React__namespace.createElement(core.ActionIcon, { color: "red" }, /* @__PURE__ */ React__namespace.createElement(icons.IconTrash, { onClick: () => openDeleteModal(row), size: 16, stroke: 1.5 }))))));
1095
1095
  return /* @__PURE__ */ React__namespace.createElement(core.ScrollArea, null, /* @__PURE__ */ React__namespace.createElement(core.Table, { verticalSpacing: 20, sx: { minWidth: 700 }, highlightOnHover: true, striped: true }, /* @__PURE__ */ React__namespace.createElement("thead", null, /* @__PURE__ */ React__namespace.createElement("tr", null, /* @__PURE__ */ React__namespace.createElement("th", null, "Name"), /* @__PURE__ */ React__namespace.createElement("th", null, "Role"), /* @__PURE__ */ React__namespace.createElement("th", null, "Badges Earned"), /* @__PURE__ */ React__namespace.createElement("th", null, "Lessons Completed"), /* @__PURE__ */ React__namespace.createElement("th", null, "Account Created?"), /* @__PURE__ */ React__namespace.createElement("th", null, "Last Active"), /* @__PURE__ */ React__namespace.createElement("th", null))), /* @__PURE__ */ React__namespace.createElement("tbody", null, rows)));
@@ -1175,7 +1175,7 @@ const Class = (props) => {
1175
1175
  {
1176
1176
  opened,
1177
1177
  onClose: () => setOpened(false),
1178
- title: /* @__PURE__ */ React__namespace.createElement(core.Title, { size: "h5" }, "Add members"),
1178
+ title: /* @__PURE__ */ React__namespace.createElement(core.Title, { size: "h5" }, "Add students"),
1179
1179
  padding: "xl",
1180
1180
  size: "xl"
1181
1181
  },
@@ -1515,7 +1515,7 @@ const Student = (props) => {
1515
1515
  leftSection: /* @__PURE__ */ React__namespace.createElement(core.ActionIcon, { color: "blue", size: "xs", radius: "xl", variant: "filled" }, /* @__PURE__ */ React__namespace.createElement(icons.IconArrowLeft, { size: 14 })),
1516
1516
  size: "lg"
1517
1517
  },
1518
- "Students"
1518
+ "Back"
1519
1519
  )), /* @__PURE__ */ React__namespace.createElement(
1520
1520
  UserInfo,
1521
1521
  {