@local-civics/mgmt-ui 0.1.159 → 0.1.160

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.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
  {