@local-civics/mgmt-ui 0.1.162 → 0.1.163
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 +26 -46
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -48
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -532,7 +532,7 @@ const useStyles$n = core.createStyles((theme) => ({
|
|
|
532
532
|
}));
|
|
533
533
|
const SplitButton$4 = (props) => {
|
|
534
534
|
const { classes, theme } = useStyles$n();
|
|
535
|
-
|
|
535
|
+
theme.colors[theme.primaryColor][theme.colorScheme === "dark" ? 5 : 6];
|
|
536
536
|
return /* @__PURE__ */ React__namespace.createElement(core.Group, { noWrap: true, spacing: 0 }, /* @__PURE__ */ React__namespace.createElement(
|
|
537
537
|
core.Button,
|
|
538
538
|
{
|
|
@@ -542,30 +542,21 @@ const SplitButton$4 = (props) => {
|
|
|
542
542
|
variant: "gradient"
|
|
543
543
|
},
|
|
544
544
|
"Preview"
|
|
545
|
-
), /* @__PURE__ */ React__namespace.createElement(
|
|
546
|
-
core.
|
|
547
|
-
{
|
|
548
|
-
variant: "gradient",
|
|
549
|
-
color: theme.primaryColor,
|
|
550
|
-
size: 36,
|
|
551
|
-
className: classes.menuControl
|
|
552
|
-
},
|
|
553
|
-
/* @__PURE__ */ React__namespace.createElement(icons.IconChevronDown, { size: 16, stroke: 1.5 })
|
|
554
|
-
)), /* @__PURE__ */ React__namespace.createElement(core.Menu.Dropdown, null, /* @__PURE__ */ React__namespace.createElement(
|
|
555
|
-
core.Menu.Item,
|
|
545
|
+
), /* @__PURE__ */ React__namespace.createElement(
|
|
546
|
+
core.Button,
|
|
556
547
|
{
|
|
557
|
-
|
|
548
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconClipboardCopy, { size: 14 }),
|
|
558
549
|
onClick: props.onCopyLinkClick
|
|
559
550
|
},
|
|
560
|
-
"Copy link"
|
|
551
|
+
"Copy class link"
|
|
561
552
|
), /* @__PURE__ */ React__namespace.createElement(
|
|
562
|
-
core.
|
|
553
|
+
core.Button,
|
|
563
554
|
{
|
|
564
|
-
|
|
555
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconTableExport, { size: 14 }),
|
|
565
556
|
onClick: props.onExportDataClick
|
|
566
557
|
},
|
|
567
558
|
"Export data (.csv)"
|
|
568
|
-
))
|
|
559
|
+
));
|
|
569
560
|
};
|
|
570
561
|
|
|
571
562
|
const useStyles$m = core.createStyles((theme) => ({
|
|
@@ -1802,7 +1793,7 @@ const useStyles$e = core.createStyles((theme) => ({
|
|
|
1802
1793
|
}));
|
|
1803
1794
|
const SplitButton$2 = (props) => {
|
|
1804
1795
|
const { classes, theme } = useStyles$e();
|
|
1805
|
-
|
|
1796
|
+
theme.colors[theme.primaryColor][theme.colorScheme === "dark" ? 5 : 6];
|
|
1806
1797
|
return /* @__PURE__ */ React__namespace.createElement(core.Stack, { spacing: "sm" }, /* @__PURE__ */ React__namespace.createElement(
|
|
1807
1798
|
core.Button,
|
|
1808
1799
|
{
|
|
@@ -1820,23 +1811,21 @@ const SplitButton$2 = (props) => {
|
|
|
1820
1811
|
variant: "gradient"
|
|
1821
1812
|
},
|
|
1822
1813
|
"Preview"
|
|
1823
|
-
), /* @__PURE__ */ React__namespace.createElement(
|
|
1824
|
-
core.
|
|
1814
|
+
), /* @__PURE__ */ React__namespace.createElement(
|
|
1815
|
+
core.Button,
|
|
1825
1816
|
{
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
size: 36,
|
|
1829
|
-
className: classes.menuControl
|
|
1817
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconClipboardCopy, { size: 14 }),
|
|
1818
|
+
onClick: props.onCopyLinkClick
|
|
1830
1819
|
},
|
|
1831
|
-
|
|
1832
|
-
)
|
|
1833
|
-
core.
|
|
1820
|
+
"Copy class link"
|
|
1821
|
+
), /* @__PURE__ */ React__namespace.createElement(
|
|
1822
|
+
core.Button,
|
|
1834
1823
|
{
|
|
1835
|
-
|
|
1824
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconTableExport, { size: 14 }),
|
|
1836
1825
|
onClick: props.onExportDataClick
|
|
1837
1826
|
},
|
|
1838
1827
|
"Export data (.csv)"
|
|
1839
|
-
)))
|
|
1828
|
+
)));
|
|
1840
1829
|
};
|
|
1841
1830
|
|
|
1842
1831
|
function Stack$2(props) {
|
|
@@ -3253,7 +3242,7 @@ const useStyles$1 = core.createStyles((theme) => ({
|
|
|
3253
3242
|
}));
|
|
3254
3243
|
const SplitButton = (props) => {
|
|
3255
3244
|
const { classes, theme } = useStyles$1();
|
|
3256
|
-
|
|
3245
|
+
theme.colors[theme.primaryColor][theme.colorScheme === "dark" ? 5 : 6];
|
|
3257
3246
|
return /* @__PURE__ */ React__namespace.createElement(core.Group, { noWrap: true, spacing: 0 }, /* @__PURE__ */ React__namespace.createElement(
|
|
3258
3247
|
core.Button,
|
|
3259
3248
|
{
|
|
@@ -3263,30 +3252,21 @@ const SplitButton = (props) => {
|
|
|
3263
3252
|
variant: "gradient"
|
|
3264
3253
|
},
|
|
3265
3254
|
"Preview"
|
|
3266
|
-
), /* @__PURE__ */ React__namespace.createElement(
|
|
3267
|
-
core.
|
|
3268
|
-
{
|
|
3269
|
-
variant: "gradient",
|
|
3270
|
-
color: theme.primaryColor,
|
|
3271
|
-
size: 36,
|
|
3272
|
-
className: classes.menuControl
|
|
3273
|
-
},
|
|
3274
|
-
/* @__PURE__ */ React__namespace.createElement(icons.IconChevronDown, { size: 16, stroke: 1.5 })
|
|
3275
|
-
)), /* @__PURE__ */ React__namespace.createElement(core.Menu.Dropdown, null, /* @__PURE__ */ React__namespace.createElement(
|
|
3276
|
-
core.Menu.Item,
|
|
3255
|
+
), /* @__PURE__ */ React__namespace.createElement(
|
|
3256
|
+
core.Button,
|
|
3277
3257
|
{
|
|
3278
|
-
|
|
3258
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconClipboardCopy, { size: 14 }),
|
|
3279
3259
|
onClick: props.onCopyLinkClick
|
|
3280
3260
|
},
|
|
3281
|
-
"Copy link"
|
|
3261
|
+
"Copy class link"
|
|
3282
3262
|
), /* @__PURE__ */ React__namespace.createElement(
|
|
3283
|
-
core.
|
|
3263
|
+
core.Button,
|
|
3284
3264
|
{
|
|
3285
|
-
|
|
3265
|
+
leftIcon: /* @__PURE__ */ React__namespace.createElement(icons.IconTableExport, { size: 14 }),
|
|
3286
3266
|
onClick: props.onExportDataClick
|
|
3287
3267
|
},
|
|
3288
3268
|
"Export data (.csv)"
|
|
3289
|
-
))
|
|
3269
|
+
));
|
|
3290
3270
|
};
|
|
3291
3271
|
|
|
3292
3272
|
function Stack(props) {
|