@datawheel/data-explorer 0.3.0 → 0.3.1
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/main.js +5 -10
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { keyframes, createStyles, Select, rem, Input, Box, Text, Stack, Group, Button, SimpleGrid, Flex, ScrollArea, LoadingOverlay, Table, MultiSelect, Center, NumberInput, Menu, ActionIcon, UnstyledButton, Alert, Loader, Container, Title, useMantineTheme, MantineProvider, Modal, useComponentDefaultProps, Anchor, Paper, Tabs, Switch, ThemeIcon, Tooltip, CloseButton, Drawer, Divider, Checkbox, packSx, Affix, Accordion, Popover } from '@mantine/core';
|
|
2
2
|
import { useClipboard, useClickOutside, useFullscreen, useDebouncedState, useMediaQuery, useDisclosure } from '@mantine/hooks';
|
|
3
|
-
import { IconWorld, IconExternalLink, IconClipboard, IconSettings, IconMathGreater, IconMathLower, IconArrowsLeftRight, IconAlertCircle, IconAlertTriangle, IconCopy, IconDownload, IconDotsVertical, IconArrowRight, IconArrowLeft, IconTrash, IconInfoCircleFilled, IconSearch, IconBrandGithub, IconArrowsMinimize, IconArrowsMaximize, IconArrowsSort, IconSortDescendingNumbers, IconSortDescendingLetters, IconSortAscendingNumbers, IconSortAscendingLetters, IconPlus, IconStack3, IconFilterOff, IconFilter, IconAdjustments, IconBox, IconClock, IconHelpCircle, IconLanguage, IconPhotoDown, IconVectorTriangle } from '@tabler/icons-react';
|
|
3
|
+
import { IconWorld, IconExternalLink, IconClipboard, IconSettings, IconMathGreater, IconMathLower, IconArrowsLeftRight, IconAlertCircle, IconAlertTriangle, IconCopy, IconDownload, IconDotsVertical, IconArrowRight, IconArrowLeft, IconTrash, IconInfoCircleFilled, IconChevronLeft, IconChevronRight, IconSearch, IconBrandGithub, IconArrowsMinimize, IconArrowsMaximize, IconArrowsSort, IconSortDescendingNumbers, IconSortDescendingLetters, IconSortAscendingNumbers, IconSortAscendingLetters, IconPlus, IconStack3, IconFilterOff, IconFilter, IconAdjustments, IconBox, IconClock, IconHelpCircle, IconLanguage, IconPhotoDown, IconVectorTriangle } from '@tabler/icons-react';
|
|
4
4
|
import * as React13 from 'react';
|
|
5
5
|
import React13__default, { createContext, forwardRef, useMemo, useCallback, useContext, useRef, useEffect, useState, Suspense, useLayoutEffect, Component } from 'react';
|
|
6
6
|
import { translationFactory } from '@datawheel/use-translation';
|
|
@@ -2799,12 +2799,6 @@ var TableFooter_default = TableFooter;
|
|
|
2799
2799
|
|
|
2800
2800
|
// src/components/icons/index.tsx
|
|
2801
2801
|
init_esm_shims();
|
|
2802
|
-
function IconChevronLeft() {
|
|
2803
|
-
return /* @__PURE__ */ React13__default.createElement("svg", { width: "9", height: "13", viewBox: "0 0 6 11", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React13__default.createElement("path", { d: "M5.5 1L1 5.5L5.5 10", stroke: "black", strokeLinecap: "round" }));
|
|
2804
|
-
}
|
|
2805
|
-
function IconChevronRight() {
|
|
2806
|
-
return /* @__PURE__ */ React13__default.createElement("svg", { width: "9", height: "13", viewBox: "0 0 7 11", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, /* @__PURE__ */ React13__default.createElement("path", { d: "M1 10L5.5 5.5L1 1", stroke: "black", strokeLinecap: "round" }));
|
|
2807
|
-
}
|
|
2808
2802
|
function DataSetSVG() {
|
|
2809
2803
|
return /* @__PURE__ */ React13__default.createElement(
|
|
2810
2804
|
"svg",
|
|
@@ -4764,9 +4758,10 @@ function SideBar(props) {
|
|
|
4764
4758
|
onClick: () => setExpanded(!expanded),
|
|
4765
4759
|
variant: "subtle",
|
|
4766
4760
|
mt: "auto",
|
|
4767
|
-
|
|
4761
|
+
color: "primaryColor",
|
|
4762
|
+
sx: (t2) => ({ alignSelf: "flex-end" })
|
|
4768
4763
|
},
|
|
4769
|
-
expanded ? /* @__PURE__ */ React13__default.createElement(IconChevronLeft,
|
|
4764
|
+
expanded ? /* @__PURE__ */ React13__default.createElement(IconChevronLeft, { size: "1.5rem" }) : /* @__PURE__ */ React13__default.createElement(IconChevronRight, { size: "1.5rem" })
|
|
4770
4765
|
)
|
|
4771
4766
|
))
|
|
4772
4767
|
));
|
|
@@ -5139,7 +5134,7 @@ function SubtopicAccordion({
|
|
|
5139
5134
|
control: {
|
|
5140
5135
|
fontSize: t.fontSizes.sm,
|
|
5141
5136
|
background: t.colorScheme === "dark" ? t.colors.dark[7] : t.colors.gray[2],
|
|
5142
|
-
borderLeft:
|
|
5137
|
+
borderLeft: 18,
|
|
5143
5138
|
borderLeftColor: "transparent",
|
|
5144
5139
|
borderLeftStyle: "solid",
|
|
5145
5140
|
"&[data-active] span": {
|