@local-civics/mgmt-ui 0.1.159 → 0.1.161
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 +1 -0
- package/dist/index.js +10 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1015,6 +1015,13 @@ const SplitButton$3 = (props) => {
|
|
|
1015
1015
|
onClick: props.onCopyClassLinkClick
|
|
1016
1016
|
},
|
|
1017
1017
|
"Copy class link"
|
|
1018
|
+
), /* @__PURE__ */ React.createElement(
|
|
1019
|
+
Button,
|
|
1020
|
+
{
|
|
1021
|
+
leftIcon: /* @__PURE__ */ React.createElement(IconTableExport, { size: 14 }),
|
|
1022
|
+
onClick: props.onExportDataClick
|
|
1023
|
+
},
|
|
1024
|
+
"Export data (.csv)"
|
|
1018
1025
|
));
|
|
1019
1026
|
};
|
|
1020
1027
|
|
|
@@ -1171,7 +1178,8 @@ const Class = (props) => {
|
|
|
1171
1178
|
SplitButton$3,
|
|
1172
1179
|
{
|
|
1173
1180
|
onAddMembersClick: () => setOpened(true),
|
|
1174
|
-
onCopyClassLinkClick: props.onCopyLinkClick
|
|
1181
|
+
onCopyClassLinkClick: props.onCopyLinkClick,
|
|
1182
|
+
onExportDataClick: props.onExportDataClick
|
|
1175
1183
|
}
|
|
1176
1184
|
))), /* @__PURE__ */ React.createElement("div", { style: { position: "relative" } }, /* @__PURE__ */ React.createElement(LoadingOverlay, { visible: props.loading, overlayBlur: 2 }), /* @__PURE__ */ React.createElement(Stack$4, { spacing: "sm" }, /* @__PURE__ */ React.createElement(StatsGroup, { data: [
|
|
1177
1185
|
{
|
|
@@ -3037,7 +3045,7 @@ const App = (props) => {
|
|
|
3037
3045
|
onSwitchAccounts: account.accounts && account.accounts.length > 1 ? () => account.setChangeModalOpen(true) : void 0
|
|
3038
3046
|
})
|
|
3039
3047
|
),
|
|
3040
|
-
footer: /* @__PURE__ */ React.createElement(React.Fragment, null, !account.opened && /* @__PURE__ */ React.createElement("footer", { className: classes.footer }, /* @__PURE__ */ React.createElement(Container, { className: classes.inner }, /* @__PURE__ */ React.createElement("div", { className: classes.logo }, /* @__PURE__ */ React.createElement(Group, { spacing: "xs" }, /* @__PURE__ */ React.createElement("div", { style: { width: 15 } }, /* @__PURE__ */ React.createElement(Image, { fit: "contain", src: "https://cdn.localcivics.io/brand/l.png" })), /* @__PURE__ */ React.createElement(Title, { color: "dimmed", size: "h5" }, "
|
|
3048
|
+
footer: /* @__PURE__ */ React.createElement(React.Fragment, null, !account.opened && /* @__PURE__ */ React.createElement("footer", { className: classes.footer }, /* @__PURE__ */ React.createElement(Container, { className: classes.inner }, /* @__PURE__ */ React.createElement("div", { className: classes.logo }, /* @__PURE__ */ React.createElement(Group, { spacing: "xs" }, /* @__PURE__ */ React.createElement("div", { style: { width: 15 } }, /* @__PURE__ */ React.createElement(Image, { fit: "contain", src: "https://cdn.localcivics.io/brand/l.png" })), /* @__PURE__ */ React.createElement(Title, { color: "dimmed", size: "h5" }, "PathLink")), /* @__PURE__ */ React.createElement(Text, { size: "xs", color: "dimmed", className: classes.description }, "We connect students to powerful civic learning experiences.")), /* @__PURE__ */ React.createElement("div", { className: classes.groups }, /* @__PURE__ */ React.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React.createElement(
|
|
3041
3049
|
Text,
|
|
3042
3050
|
{
|
|
3043
3051
|
className: classes.link,
|