@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.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1035,6 +1035,13 @@ const SplitButton$3 = (props) => {
|
|
|
1035
1035
|
onClick: props.onCopyClassLinkClick
|
|
1036
1036
|
},
|
|
1037
1037
|
"Copy class link"
|
|
1038
|
+
), /* @__PURE__ */ React__namespace.createElement(
|
|
1039
|
+
core.Button,
|
|
1040
|
+
{
|
|
1041
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconTableExport, { size: 14 }),
|
|
1042
|
+
onClick: props.onExportDataClick
|
|
1043
|
+
},
|
|
1044
|
+
"Export data (.csv)"
|
|
1038
1045
|
));
|
|
1039
1046
|
};
|
|
1040
1047
|
|
|
@@ -1191,7 +1198,8 @@ const Class = (props) => {
|
|
|
1191
1198
|
SplitButton$3,
|
|
1192
1199
|
{
|
|
1193
1200
|
onAddMembersClick: () => setOpened(true),
|
|
1194
|
-
onCopyClassLinkClick: props.onCopyLinkClick
|
|
1201
|
+
onCopyClassLinkClick: props.onCopyLinkClick,
|
|
1202
|
+
onExportDataClick: props.onExportDataClick
|
|
1195
1203
|
}
|
|
1196
1204
|
))), /* @__PURE__ */ React__namespace.createElement("div", { style: { position: "relative" } }, /* @__PURE__ */ React__namespace.createElement(core.LoadingOverlay, { visible: props.loading, overlayBlur: 2 }), /* @__PURE__ */ React__namespace.createElement(core.Stack, { spacing: "sm" }, /* @__PURE__ */ React__namespace.createElement(StatsGroup, { data: [
|
|
1197
1205
|
{
|
|
@@ -3057,7 +3065,7 @@ const App = (props) => {
|
|
|
3057
3065
|
onSwitchAccounts: account.accounts && account.accounts.length > 1 ? () => account.setChangeModalOpen(true) : void 0
|
|
3058
3066
|
})
|
|
3059
3067
|
),
|
|
3060
|
-
footer: /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, !account.opened && /* @__PURE__ */ React__namespace.createElement("footer", { className: classes.footer }, /* @__PURE__ */ React__namespace.createElement(core.Container, { className: classes.inner }, /* @__PURE__ */ React__namespace.createElement("div", { className: classes.logo }, /* @__PURE__ */ React__namespace.createElement(core.Group, { spacing: "xs" }, /* @__PURE__ */ React__namespace.createElement("div", { style: { width: 15 } }, /* @__PURE__ */ React__namespace.createElement(core.Image, { fit: "contain", src: "https://cdn.localcivics.io/brand/l.png" })), /* @__PURE__ */ React__namespace.createElement(core.Title, { color: "dimmed", size: "h5" }, "
|
|
3068
|
+
footer: /* @__PURE__ */ React__namespace.createElement(React__namespace.Fragment, null, !account.opened && /* @__PURE__ */ React__namespace.createElement("footer", { className: classes.footer }, /* @__PURE__ */ React__namespace.createElement(core.Container, { className: classes.inner }, /* @__PURE__ */ React__namespace.createElement("div", { className: classes.logo }, /* @__PURE__ */ React__namespace.createElement(core.Group, { spacing: "xs" }, /* @__PURE__ */ React__namespace.createElement("div", { style: { width: 15 } }, /* @__PURE__ */ React__namespace.createElement(core.Image, { fit: "contain", src: "https://cdn.localcivics.io/brand/l.png" })), /* @__PURE__ */ React__namespace.createElement(core.Title, { color: "dimmed", size: "h5" }, "PathLink")), /* @__PURE__ */ React__namespace.createElement(core.Text, { size: "xs", color: "dimmed", className: classes.description }, "We connect students to powerful civic learning experiences.")), /* @__PURE__ */ React__namespace.createElement("div", { className: classes.groups }, /* @__PURE__ */ React__namespace.createElement("div", { className: classes.wrapper }, /* @__PURE__ */ React__namespace.createElement(
|
|
3061
3069
|
core.Text,
|
|
3062
3070
|
{
|
|
3063
3071
|
className: classes.link,
|