klun-ui 0.4.0 → 0.4.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/CHANGELOG.md +30 -0
- package/README.md +24 -4
- package/dist/{chunk-XLK6BYW3.cjs → chunk-IETPQZRQ.cjs} +677 -528
- package/dist/chunk-IETPQZRQ.cjs.map +1 -0
- package/dist/{chunk-TREMQLWT.js → chunk-MBL2CDDG.js} +676 -527
- package/dist/chunk-MBL2CDDG.js.map +1 -0
- package/dist/index.cjs +164 -164
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +1 -1
- package/dist/styles.css +11 -7
- package/dist/templates/index.cjs +877 -875
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.js +5 -3
- package/dist/templates/index.js.map +1 -1
- package/package.json +6 -1
- package/dist/chunk-TREMQLWT.js.map +0 -1
- package/dist/chunk-XLK6BYW3.cjs.map +0 -1
package/dist/templates/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { locales, Badge, Button, SegmentedControl, Card, Tabs, ProgressBar, Input, Select, Switch, Divider, AvatarGroup, HorizontalFilter, ContentLabel, Chip, Alert, Accordion, useLocale, Avatar, Dropdown, RelativeTime, useMessage, Table, Modal, Label, Drawer, Tree, Textarea, CopyButton, EmptyState, RichEditorToolbar, Money, Timeline, DiffViewer, RichEditor, Kanban, Confirm, Kbd, Checkbox, CodeViewer, Cascader, Wizard, FileUpload, VirtualTable, CounterInput, Breadcrumb, DigitInput, ConfigProvider, Result, Skeleton, CommandMenu, StatusDot, ImageUpload, SelectMenu, CharacterCounter, Spinner } from '../chunk-
|
|
1
|
+
import { locales, Badge, Button, SegmentedControl, Card, Tabs, ProgressBar, Input, Select, Switch, Divider, AvatarGroup, HorizontalFilter, ContentLabel, Chip, Alert, Accordion, useLocale, Avatar, Dropdown, RelativeTime, useMessage, Table, Modal, Label, Drawer, Tree, Textarea, CopyButton, EmptyState, RichEditorToolbar, Money, Timeline, DiffViewer, RichEditor, Kanban, Confirm, Kbd, Checkbox, CodeViewer, Cascader, Wizard, FileUpload, VirtualTable, CounterInput, Breadcrumb, DigitInput, ConfigProvider, Result, Skeleton, CommandMenu, StatusDot, ImageUpload, SelectMenu, CharacterCounter, Spinner } from '../chunk-MBL2CDDG.js';
|
|
2
2
|
import '../chunk-T225J6LV.js';
|
|
3
3
|
import { useState, useRef, useEffect, useMemo, useId } from 'react';
|
|
4
4
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -10023,7 +10023,7 @@ function ImportExportScreen() {
|
|
|
10023
10023
|
const [dedupe, setDedupe] = useState(true);
|
|
10024
10024
|
const [updateExisting, setUpdateExisting] = useState(false);
|
|
10025
10025
|
const [jobs, setJobs] = useState(INITIAL_JOBS);
|
|
10026
|
-
const rows = useMemo(() => makeRows(
|
|
10026
|
+
const rows = useMemo(() => makeRows(25e3), []);
|
|
10027
10027
|
const problemCount = useMemo(() => rows.filter((r) => r.problem).length, [rows]);
|
|
10028
10028
|
const validCount = rows.length - problemCount;
|
|
10029
10029
|
const mappedRequired = mapping["Order ID"] !== "ignore" && Boolean(mapping["Order ID"]);
|
|
@@ -10180,7 +10180,9 @@ function ImportExportScreen() {
|
|
|
10180
10180
|
/* @__PURE__ */ jsxs("span", { style: { font: "var(--klun-text-label-xs)", color: "var(--klun-text-soft-400)" }, children: [
|
|
10181
10181
|
"25.7 MB \xB7 ",
|
|
10182
10182
|
SOURCE_COLUMNS.length,
|
|
10183
|
-
" columns detected \xB7
|
|
10183
|
+
" columns detected \xB7 ",
|
|
10184
|
+
rows.length.toLocaleString(),
|
|
10185
|
+
" data rows"
|
|
10184
10186
|
] })
|
|
10185
10187
|
] }),
|
|
10186
10188
|
/* @__PURE__ */ jsx(Button, { size: "xsmall", variant: "neutral", appearance: "ghost", style: { marginLeft: "auto" }, onClick: () => setFileName(null), children: "Remove" })
|