@datum-cloud/datum-ui 0.2.0-alpha.8 → 0.3.0-alpha.3670fb2
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/autocomplete/index.mjs +2 -2
- package/dist/{autocomplete-DZtI97HP.mjs → autocomplete-B9bCkXtz.mjs} +2 -2
- package/dist/avatar-stack/index.mjs +2 -2
- package/dist/{avatar-stack-JCfBlPB9.mjs → avatar-stack-Bh-tLz0X.mjs} +1 -1
- package/dist/calendar-date-picker-mlbzp3xR.mjs +665 -0
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts +2 -1
- package/dist/components/features/calendar-date-picker/calendar-date-picker.d.ts.map +1 -1
- package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts +46 -0
- package/dist/components/features/data-table/adapters/nuqs-adapter.d.ts.map +1 -0
- package/dist/components/features/data-table/columns/selection-column.d.ts +6 -0
- package/dist/components/features/data-table/columns/selection-column.d.ts.map +1 -0
- package/dist/components/features/data-table/components/active-filters.d.ts +5 -0
- package/dist/components/features/data-table/components/active-filters.d.ts.map +1 -0
- package/dist/components/features/data-table/components/bulk-actions.d.ts +3 -0
- package/dist/components/features/data-table/components/bulk-actions.d.ts.map +1 -0
- package/dist/components/features/data-table/components/column-header.d.ts +3 -0
- package/dist/components/features/data-table/components/column-header.d.ts.map +1 -0
- package/dist/components/features/data-table/components/content.d.ts +3 -0
- package/dist/components/features/data-table/components/content.d.ts.map +1 -0
- package/dist/components/features/data-table/components/inline-content.d.ts +3 -0
- package/dist/components/features/data-table/components/inline-content.d.ts.map +1 -0
- package/dist/components/features/data-table/components/loading.d.ts +3 -0
- package/dist/components/features/data-table/components/loading.d.ts.map +1 -0
- package/dist/components/features/data-table/components/pagination.d.ts +3 -0
- package/dist/components/features/data-table/components/pagination.d.ts.map +1 -0
- package/dist/components/features/data-table/components/row-actions.d.ts +3 -0
- package/dist/components/features/data-table/components/row-actions.d.ts.map +1 -0
- package/dist/components/features/data-table/components/search.d.ts +3 -0
- package/dist/components/features/data-table/components/search.d.ts.map +1 -0
- package/dist/components/features/data-table/constants.d.ts +5 -0
- package/dist/components/features/data-table/constants.d.ts.map +1 -0
- package/dist/components/features/data-table/core/client-provider.d.ts +11 -0
- package/dist/components/features/data-table/core/client-provider.d.ts.map +1 -0
- package/dist/components/features/data-table/core/data-table-context.d.ts +10 -0
- package/dist/components/features/data-table/core/data-table-context.d.ts.map +1 -0
- package/dist/components/features/data-table/core/filter-engine.d.ts +16 -0
- package/dist/components/features/data-table/core/filter-engine.d.ts.map +1 -0
- package/dist/components/features/data-table/core/server-provider.d.ts +11 -0
- package/dist/components/features/data-table/core/server-provider.d.ts.map +1 -0
- package/dist/components/features/data-table/core/store.d.ts +3 -0
- package/dist/components/features/data-table/core/store.d.ts.map +1 -0
- package/dist/components/features/data-table/data-table.d.ts +30 -0
- package/dist/components/features/data-table/data-table.d.ts.map +1 -0
- package/dist/components/features/data-table/filters/checkbox-filter.d.ts +3 -0
- package/dist/components/features/data-table/filters/checkbox-filter.d.ts.map +1 -0
- package/dist/components/features/data-table/filters/date-picker-filter.d.ts +3 -0
- package/dist/components/features/data-table/filters/date-picker-filter.d.ts.map +1 -0
- package/dist/components/features/data-table/filters/select-filter.d.ts +3 -0
- package/dist/components/features/data-table/filters/select-filter.d.ts.map +1 -0
- package/dist/components/features/data-table/hooks/index.d.ts +4 -0
- package/dist/components/features/data-table/hooks/index.d.ts.map +1 -0
- package/dist/components/features/data-table/hooks/use-data-table-client.d.ts +20 -0
- package/dist/components/features/data-table/hooks/use-data-table-client.d.ts.map +1 -0
- package/dist/components/features/data-table/hooks/use-data-table-context.d.ts +2 -0
- package/dist/components/features/data-table/hooks/use-data-table-context.d.ts.map +1 -0
- package/dist/components/features/data-table/hooks/use-data-table-server.d.ts +30 -0
- package/dist/components/features/data-table/hooks/use-data-table-server.d.ts.map +1 -0
- package/dist/components/features/data-table/hooks/use-selectors.d.ts +81 -0
- package/dist/components/features/data-table/hooks/use-selectors.d.ts.map +1 -0
- package/dist/components/features/data-table/index.d.ts +11 -0
- package/dist/components/features/data-table/index.d.ts.map +1 -0
- package/dist/components/features/data-table/types.d.ts +324 -0
- package/dist/components/features/data-table/types.d.ts.map +1 -0
- package/dist/data-table/index.mjs +1629 -0
- package/dist/date-picker/index.mjs +4 -3
- package/dist/dropdown/index.mjs +1 -1
- package/dist/dropdown-menu-DAFyO-qD.mjs +87 -0
- package/dist/dropzone/index.mjs +1 -1
- package/dist/empty-content/index.mjs +1 -1
- package/dist/form/index.mjs +6 -6
- package/dist/grid/index.mjs +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/index.mjs +38 -36
- package/dist/input-number/index.mjs +1 -1
- package/dist/input-with-addons/index.mjs +1 -1
- package/dist/loader-overlay/index.mjs +1 -1
- package/dist/map/index.mjs +3 -2
- package/dist/{map-WL6jhkSM.mjs → map-ClJD-qxm.mjs} +4 -84
- package/dist/more-actions/index.mjs +2 -2
- package/dist/{more-actions-Ch1f6Mh3.mjs → more-actions-DbC8dyed.mjs} +2 -2
- package/dist/page-title/index.mjs +1 -1
- package/dist/popover/index.mjs +1 -1
- package/dist/radio-group/index.mjs +1 -1
- package/dist/select/index.mjs +1 -1
- package/dist/sheet/index.mjs +2 -2
- package/dist/{sheet-BKiCwtNO.mjs → sheet-mx5XjyEY.mjs} +1 -1
- package/dist/sidebar/index.mjs +4 -4
- package/dist/{sidebar-DfqezV8t.mjs → sidebar-C4NqSr4r.mjs} +3 -3
- package/dist/skeleton/index.mjs +1 -1
- package/dist/spinner/index.mjs +1 -1
- package/dist/stepper/index.mjs +1 -1
- package/dist/styles/fonts/AllianceNo1-Medium.ttf +0 -0
- package/dist/styles/fonts/AllianceNo1-Regular.ttf +0 -0
- package/dist/styles/fonts/AllianceNo1-SemiBold.ttf +0 -0
- package/dist/switch/index.mjs +1 -1
- package/dist/table/index.mjs +1 -1
- package/dist/tabs/index.mjs +1 -1
- package/dist/tag-input/index.mjs +1 -1
- package/dist/task-queue/index.mjs +3 -3
- package/dist/{task-queue-dropdown-DW72ikDH.mjs → task-queue-dropdown-fo3TX58Q.mjs} +3 -3
- package/dist/textarea/index.mjs +1 -1
- package/dist/theme/index.mjs +1 -1
- package/dist/{to-api-format-C2xjQUcI.mjs → to-api-format-zI26rEBI.mjs} +6 -661
- package/dist/toast/index.mjs +1 -1
- package/dist/tooltip/index.mjs +1 -1
- package/dist/typography/index.mjs +1 -1
- package/dist/{use-copy-to-clipboard-ki-WoTml.mjs → use-copy-to-clipboard-C7xqNxBX.mjs} +1 -1
- package/dist/{use-stepper-BaToCYMs.mjs → use-stepper-CB1injte.mjs} +10 -10
- package/dist/visually-hidden/index.mjs +1 -1
- package/package.json +29 -17
- /package/dist/{col-lrLMZaTJ.mjs → col-RfO7d6AR.mjs} +0 -0
- /package/dist/{dropdown-DtSa_lqc.mjs → dropdown-Cs7Xr8w7.mjs} +0 -0
- /package/dist/{dropzone-BkOnwrS4.mjs → dropzone-BT5fEDEF.mjs} +0 -0
- /package/dist/{empty-content-BM9rzI13.mjs → empty-content-iDu3NUqG.mjs} +0 -0
- /package/dist/{input-number-9o62JHRl.mjs → input-number-D9ydFith.mjs} +0 -0
- /package/dist/{input-with-addons-BQn7KCTU.mjs → input-with-addons-CdgiUQce.mjs} +0 -0
- /package/dist/{loader-overlay-DUaQSZQP.mjs → loader-overlay-D83QeQNj.mjs} +0 -0
- /package/dist/{map-leaflet-imports-C4JYls8q.mjs → map-leaflet-imports-CdzvEnzY.mjs} +0 -0
- /package/dist/{page-title-BJuo81rT.mjs → page-title-SGchAF6Y.mjs} +0 -0
- /package/dist/{popover-SQlKSz6L.mjs → popover-Ds9624qY.mjs} +0 -0
- /package/dist/{radio-group-Oshv0b-U.mjs → radio-group-B9Hm77LQ.mjs} +0 -0
- /package/dist/{select-DVlEzD2W.mjs → select-CwVIFWFO.mjs} +0 -0
- /package/dist/{sheet-CtnP6gTD.mjs → sheet-Cemwh78x.mjs} +0 -0
- /package/dist/{skeleton-vzbxA-DQ.mjs → skeleton-Cs6Q5GQc.mjs} +0 -0
- /package/dist/{spinner-BE7k2bAD.mjs → spinner-earfjpJs.mjs} +0 -0
- /package/dist/{stepper-SWB-u_nM.mjs → stepper-BG9DIzN5.mjs} +0 -0
- /package/dist/{switch-Calk7Gyw.mjs → switch-B2VVauH6.mjs} +0 -0
- /package/dist/{table-CsXBcQLI.mjs → table-Dc3HfbM4.mjs} +0 -0
- /package/dist/{tabs-D8n-dqnw.mjs → tabs-Ccb4uqbe.mjs} +0 -0
- /package/dist/{tag-input-Di7SDNbK.mjs → tag-input-BfHaKoMF.mjs} +0 -0
- /package/dist/{textarea-CxE3YbC7.mjs → textarea-X4OjkqLJ.mjs} +0 -0
- /package/dist/{theme.provider-CzCxEFFh.mjs → theme.provider-Nun_O9-O.mjs} +0 -0
- /package/dist/{tooltip-Dd3ActSS.mjs → tooltip-DZFG1iMs.mjs} +0 -0
- /package/dist/{typography-UA7ZZvgJ.mjs → typography-T7WgvO77.mjs} +0 -0
- /package/dist/{use-debounce-B6wPrZV8.mjs → use-debounce-Ctljs3MB.mjs} +0 -0
- /package/dist/{use-toast-mdn_CqRY.mjs → use-toast-DN-fZBzJ.mjs} +0 -0
- /package/dist/{visuallyhidden-aaTUk4Yo.mjs → visuallyhidden-CgkVhApW.mjs} +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "../typography-
|
|
1
|
+
import { a as ListItem, c as Title, d as titleVariants, i as List, l as paragraphVariants, n as Code, o as Paragraph, r as Link, s as Text, t as Blockquote, u as textVariants } from "../typography-T7WgvO77.mjs";
|
|
2
2
|
|
|
3
3
|
export { Blockquote, Code, Link, List, ListItem, Paragraph, Text, Title, paragraphVariants, textVariants, titleVariants };
|
|
@@ -5,16 +5,16 @@ import { t as Checkbox } from "./checkbox-LG1OKTpG.mjs";
|
|
|
5
5
|
import { t as Dialog } from "./dialog-bnMMf9GD.mjs";
|
|
6
6
|
import { t as Input } from "./input-fzXBheCN.mjs";
|
|
7
7
|
import { t as Label } from "./label-_ste_Re3.mjs";
|
|
8
|
-
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-
|
|
9
|
-
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-
|
|
10
|
-
import { t as Switch } from "./switch-
|
|
11
|
-
import { t as Textarea } from "./textarea-
|
|
12
|
-
import { t as Tooltip } from "./tooltip-
|
|
13
|
-
import { t as Autocomplete } from "./autocomplete-
|
|
14
|
-
import { r as toast } from "./use-toast-
|
|
15
|
-
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-
|
|
16
|
-
import { t as defineStepper } from "./stepper-
|
|
17
|
-
import { t as InputWithAddons } from "./input-with-addons-
|
|
8
|
+
import { n as RadioGroupItem, t as RadioGroup } from "./radio-group-B9Hm77LQ.mjs";
|
|
9
|
+
import { i as SelectItem, l as SelectTrigger, n as SelectContent, t as Select, u as SelectValue } from "./select-CwVIFWFO.mjs";
|
|
10
|
+
import { t as Switch } from "./switch-B2VVauH6.mjs";
|
|
11
|
+
import { t as Textarea } from "./textarea-X4OjkqLJ.mjs";
|
|
12
|
+
import { t as Tooltip } from "./tooltip-DZFG1iMs.mjs";
|
|
13
|
+
import { t as Autocomplete } from "./autocomplete-B9bCkXtz.mjs";
|
|
14
|
+
import { r as toast } from "./use-toast-DN-fZBzJ.mjs";
|
|
15
|
+
import { t as useCopyToClipboard } from "./use-copy-to-clipboard-C7xqNxBX.mjs";
|
|
16
|
+
import { t as defineStepper } from "./stepper-BG9DIzN5.mjs";
|
|
17
|
+
import { t as InputWithAddons } from "./input-with-addons-CdgiUQce.mjs";
|
|
18
18
|
import { Form } from "./form/index.mjs";
|
|
19
19
|
import { CheckIcon, CircleHelp, CopyIcon } from "lucide-react";
|
|
20
20
|
import * as React$1 from "react";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datum-cloud/datum-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0-alpha.3670fb2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/datum-cloud/datum-ui"
|
|
@@ -235,6 +235,10 @@
|
|
|
235
235
|
"./toast": {
|
|
236
236
|
"types": "./dist/components/features/toast/index.d.ts",
|
|
237
237
|
"default": "./dist/toast/index.mjs"
|
|
238
|
+
},
|
|
239
|
+
"./data-table": {
|
|
240
|
+
"types": "./dist/components/features/data-table/index.d.ts",
|
|
241
|
+
"default": "./dist/data-table/index.mjs"
|
|
238
242
|
}
|
|
239
243
|
},
|
|
240
244
|
"main": "./dist/index.mjs",
|
|
@@ -245,18 +249,6 @@
|
|
|
245
249
|
"README.md",
|
|
246
250
|
"dist"
|
|
247
251
|
],
|
|
248
|
-
"scripts": {
|
|
249
|
-
"build": "tsdown --config-loader native && tsc -p tsconfig.build.json && node scripts/fix-dts-imports.mjs && node scripts/copy-styles.mjs",
|
|
250
|
-
"dev": "tsdown --config-loader native --watch",
|
|
251
|
-
"lint": "eslint .",
|
|
252
|
-
"typecheck": "tsc --noEmit",
|
|
253
|
-
"test": "vitest run",
|
|
254
|
-
"test:watch": "vitest",
|
|
255
|
-
"test:coverage": "vitest run --coverage",
|
|
256
|
-
"clean": "rm -rf dist .turbo node_modules coverage",
|
|
257
|
-
"prepack": "node scripts/strip-workspace-deps.mjs --strip",
|
|
258
|
-
"postpublish": "node scripts/strip-workspace-deps.mjs --restore"
|
|
259
|
-
},
|
|
260
252
|
"peerDependencies": {
|
|
261
253
|
"@conform-to/react": ">=1",
|
|
262
254
|
"@conform-to/zod": ">=1",
|
|
@@ -277,6 +269,7 @@
|
|
|
277
269
|
"@radix-ui/react-tooltip": ">=1",
|
|
278
270
|
"@radix-ui/react-visually-hidden": ">=1",
|
|
279
271
|
"@stepperize/react": ">=4",
|
|
272
|
+
"@tanstack/react-table": ">=8",
|
|
280
273
|
"@tanstack/react-virtual": ">=3",
|
|
281
274
|
"cmdk": ">=1",
|
|
282
275
|
"date-fns": ">=4",
|
|
@@ -287,6 +280,7 @@
|
|
|
287
280
|
"leaflet.markercluster": ">=1.5",
|
|
288
281
|
"motion": ">=11",
|
|
289
282
|
"nprogress": ">=0.2",
|
|
283
|
+
"nuqs": ">=2",
|
|
290
284
|
"react": ">=19",
|
|
291
285
|
"react-day-picker": ">=9",
|
|
292
286
|
"react-dom": ">=19",
|
|
@@ -356,6 +350,9 @@
|
|
|
356
350
|
"@stepperize/react": {
|
|
357
351
|
"optional": true
|
|
358
352
|
},
|
|
353
|
+
"@tanstack/react-table": {
|
|
354
|
+
"optional": true
|
|
355
|
+
},
|
|
359
356
|
"@tanstack/react-virtual": {
|
|
360
357
|
"optional": true
|
|
361
358
|
},
|
|
@@ -386,6 +383,9 @@
|
|
|
386
383
|
"nprogress": {
|
|
387
384
|
"optional": true
|
|
388
385
|
},
|
|
386
|
+
"nuqs": {
|
|
387
|
+
"optional": true
|
|
388
|
+
},
|
|
389
389
|
"react-day-picker": {
|
|
390
390
|
"optional": true
|
|
391
391
|
},
|
|
@@ -425,9 +425,8 @@
|
|
|
425
425
|
"@radix-ui/react-slot": "^1.2.4",
|
|
426
426
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
427
427
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
428
|
-
"@repo/config": "workspace:*",
|
|
429
|
-
"@repo/shadcn": "workspace:*",
|
|
430
428
|
"@stepperize/react": "^6.1.0",
|
|
429
|
+
"@tanstack/react-table": "^8.21.3",
|
|
431
430
|
"@tanstack/react-virtual": "^3.13.19",
|
|
432
431
|
"@testing-library/jest-dom": "^6",
|
|
433
432
|
"@testing-library/react": "^16",
|
|
@@ -449,6 +448,7 @@
|
|
|
449
448
|
"leaflet.markercluster": "^1.5.3",
|
|
450
449
|
"motion": "^12.34.4",
|
|
451
450
|
"nprogress": "^0.2.0",
|
|
451
|
+
"nuqs": "^2.8.9",
|
|
452
452
|
"react": "^19",
|
|
453
453
|
"react-day-picker": "^9.14.0",
|
|
454
454
|
"react-dom": "^19",
|
|
@@ -461,9 +461,21 @@
|
|
|
461
461
|
"tsdown": "^0.20.3",
|
|
462
462
|
"typescript": "^5.9",
|
|
463
463
|
"vitest": "^3",
|
|
464
|
-
"zod": "^4.3.6"
|
|
464
|
+
"zod": "^4.3.6",
|
|
465
|
+
"@repo/config": "0.0.0",
|
|
466
|
+
"@repo/shadcn": "0.0.0"
|
|
465
467
|
},
|
|
466
468
|
"publishConfig": {
|
|
467
469
|
"access": "public"
|
|
470
|
+
},
|
|
471
|
+
"scripts": {
|
|
472
|
+
"build": "tsdown --config-loader native && tsc -p tsconfig.build.json && node scripts/fix-dts-imports.mjs && node scripts/copy-styles.mjs",
|
|
473
|
+
"dev": "tsdown --config-loader native --watch",
|
|
474
|
+
"lint": "eslint .",
|
|
475
|
+
"typecheck": "tsc --noEmit",
|
|
476
|
+
"test": "vitest run",
|
|
477
|
+
"test:watch": "vitest",
|
|
478
|
+
"test:coverage": "vitest run --coverage",
|
|
479
|
+
"clean": "rm -rf dist .turbo node_modules coverage"
|
|
468
480
|
}
|
|
469
|
-
}
|
|
481
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|