@godxjp/ui 11.1.0 → 12.0.0

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.
Files changed (99) hide show
  1. package/README.md +40 -12
  2. package/dist/app/index.d.ts +1 -5
  3. package/dist/app/index.js +4 -4
  4. package/dist/{checkbox-em-oFM5D.d.ts → checkbox-DPFcnsMZ.d.ts} +1 -1
  5. package/dist/{chunk-QVLUCB47.js → chunk-2JCSS6B4.js} +2 -2
  6. package/dist/{chunk-6CSBMMZS.js → chunk-3ELRYXJK.js} +27 -0
  7. package/dist/{chunk-NXVCI6YB.js → chunk-3LPY7YA4.js} +2 -2
  8. package/dist/chunk-BCBK4FLV.js +83 -0
  9. package/dist/{chunk-FAB3LMTK.js → chunk-F7BEIY7S.js} +3 -3
  10. package/dist/{chunk-LN7GE73P.js → chunk-FK2JDABO.js} +1 -1
  11. package/dist/{chunk-X2VY4MOW.js → chunk-FK5QEFVY.js} +2 -11
  12. package/dist/{chunk-SARQRCKO.js → chunk-FOANNF6Z.js} +1 -1
  13. package/dist/{chunk-PUGEOUWZ.js → chunk-I6HD36IU.js} +2 -2
  14. package/dist/{chunk-2HOTP7RL.js → chunk-JSQOCVM6.js} +4 -78
  15. package/dist/{chunk-Z46J47FY.js → chunk-L2MEN2VK.js} +1 -1
  16. package/dist/{chunk-3Q4A4U2P.js → chunk-MMFIL33F.js} +1 -1
  17. package/dist/{chunk-IHRMOJXD.js → chunk-N6ELT7KB.js} +0 -47
  18. package/dist/{chunk-UNVRNJCB.js → chunk-PO5ISUFA.js} +1 -1
  19. package/dist/{chunk-T2QO2S65.js → chunk-PY3CXDO2.js} +3 -3
  20. package/dist/{chunk-EE5DKOHX.js → chunk-SIUIIIQW.js} +1 -1
  21. package/dist/{chunk-HTG5VHU7.js → chunk-TXRYSMOD.js} +2 -6
  22. package/dist/{chunk-IY347EQA.js → chunk-UDEPO3UF.js} +1 -1
  23. package/dist/{chunk-BG5RNXTH.js → chunk-UJUWAQE5.js} +1 -1
  24. package/dist/{chunk-Q4WWD4VV.js → chunk-VWDXRNOK.js} +2 -2
  25. package/dist/{chunk-QWALQSBS.js → chunk-WBUUCU7R.js} +2 -2
  26. package/dist/{chunk-7BF7U3GG.js → chunk-WJNR3RAG.js} +2 -2
  27. package/dist/{chunk-USNR424B.js → chunk-XT2AI6WJ.js} +4 -11
  28. package/dist/{chunk-JWGLJXQU.js → chunk-XVD5SLDL.js} +1 -1
  29. package/dist/chunk-YD7V2HGZ.js +13 -0
  30. package/dist/{chunk-F6JGFU6O.js → chunk-YGD4CCQC.js} +2 -2
  31. package/dist/components/admin/index.d.ts +7 -15
  32. package/dist/components/admin/index.js +26 -24
  33. package/dist/components/data-display/badge.js +3 -3
  34. package/dist/components/data-display/carousel.js +3 -3
  35. package/dist/components/data-display/index.js +8 -7
  36. package/dist/components/data-entry/calendar.d.ts +1 -1
  37. package/dist/components/data-entry/cascader.d.ts +1 -1
  38. package/dist/components/data-entry/cascader.js +3 -3
  39. package/dist/components/data-entry/checkbox.d.ts +2 -2
  40. package/dist/components/data-entry/color-picker.d.ts +1 -1
  41. package/dist/components/data-entry/color-picker.js +3 -3
  42. package/dist/components/data-entry/command.d.ts +10 -10
  43. package/dist/components/data-entry/date-picker.d.ts +1 -1
  44. package/dist/components/data-entry/date-picker.js +3 -3
  45. package/dist/components/data-entry/date-range-picker.d.ts +1 -1
  46. package/dist/components/data-entry/date-range-picker.js +3 -3
  47. package/dist/components/data-entry/index.d.ts +3 -3
  48. package/dist/components/data-entry/index.js +18 -17
  49. package/dist/components/data-entry/radio.d.ts +1 -1
  50. package/dist/components/data-entry/select.d.ts +1 -1
  51. package/dist/components/data-entry/select.js +4 -4
  52. package/dist/components/data-entry/slider.d.ts +1 -1
  53. package/dist/components/data-entry/switch.d.ts +1 -1
  54. package/dist/components/data-entry/time-input.js +2 -2
  55. package/dist/components/data-entry/time-picker.d.ts +1 -1
  56. package/dist/components/data-entry/time-picker.js +3 -3
  57. package/dist/components/data-entry/transfer.d.ts +2 -2
  58. package/dist/components/data-entry/transfer.js +5 -4
  59. package/dist/components/data-entry/tree-select.d.ts +1 -1
  60. package/dist/components/data-entry/tree-select.js +3 -3
  61. package/dist/components/data-entry/upload.d.ts +2 -2
  62. package/dist/components/data-entry/upload.js +5 -5
  63. package/dist/components/data-grid/index.d.ts +71 -0
  64. package/dist/components/data-grid/index.js +372 -0
  65. package/dist/components/feedback/alert.js +4 -4
  66. package/dist/components/feedback/dialog.js +3 -3
  67. package/dist/components/feedback/index.d.ts +3 -3
  68. package/dist/components/feedback/index.js +6 -6
  69. package/dist/components/layout/index.d.ts +3 -3
  70. package/dist/components/layout/index.js +4 -4
  71. package/dist/components/navigation/index.d.ts +2 -2
  72. package/dist/components/navigation/index.js +7 -7
  73. package/dist/components/navigation/pagination.d.ts +1 -1
  74. package/dist/components/navigation/pagination.js +5 -5
  75. package/dist/components/navigation/steps.d.ts +2 -2
  76. package/dist/components/navigation/steps.js +3 -3
  77. package/dist/components/query/index.d.ts +1 -2
  78. package/dist/components/query/index.js +4 -4
  79. package/dist/components/ui/index.d.ts +3 -3
  80. package/dist/components/ui/index.js +23 -23
  81. package/dist/{data-entry.prop-BR4vNA1j.d.ts → data-entry.prop-6J0o45se.d.ts} +3 -25
  82. package/dist/{filter-bar-BxjSJJnQ.d.ts → filter-bar-B07JSxME.d.ts} +1 -1
  83. package/dist/{flex-D_EXRFSW.d.ts → flex-DXtIALBh.d.ts} +1 -1
  84. package/dist/i18n/index.d.ts +10 -0
  85. package/dist/i18n/index.js +2 -2
  86. package/dist/index.d.ts +7 -7
  87. package/dist/index.js +35 -33
  88. package/dist/{layout.prop-JE2TcRyL.d.ts → layout.prop-B1yQPUNZ.d.ts} +2 -17
  89. package/dist/lib/datetime/index.js +1 -1
  90. package/dist/{navigation.prop-DMcXkR-J.d.ts → navigation.prop-Dumy196X.d.ts} +1 -5
  91. package/dist/props/components/index.d.ts +4 -4
  92. package/dist/props/index.d.ts +4 -4
  93. package/dist/props/index.js +2 -2
  94. package/dist/props/registry.d.ts +0 -47
  95. package/dist/props/registry.js +1 -1
  96. package/dist/{query.prop-BDdz9L1G.d.ts → query.prop-Dog-EAfG.d.ts} +2 -6
  97. package/dist/{search-input-C_x-JFD3.d.ts → search-input-BR4nAWiT.d.ts} +1 -1
  98. package/package.json +12 -1
  99. /package/dist/{chunk-7CFO5FFE.js → chunk-GJXOBDER.js} +0 -0
@@ -332,16 +332,6 @@ declare const COMPONENT_PROP_REGISTRY: {
332
332
  readonly file: "components/layout.prop.ts";
333
333
  readonly vocabulary: readonly ["TitleProp", "SubtitleProp", "ExtraProp", "FooterProp", "BreadcrumbProp", "DensityProp", "PageContainerVariantProp"];
334
334
  };
335
- readonly StackProp: {
336
- readonly group: "layout";
337
- readonly file: "components/layout.prop.ts";
338
- readonly vocabulary: readonly ["GapProp"];
339
- };
340
- readonly InlineProp: {
341
- readonly group: "layout";
342
- readonly file: "components/layout.prop.ts";
343
- readonly vocabulary: readonly ["GapProp"];
344
- };
345
335
  readonly FlexDirectionProp: {
346
336
  readonly group: "layout";
347
337
  readonly file: "components/layout.prop.ts";
@@ -428,12 +418,6 @@ declare const COMPONENT_PROP_REGISTRY: {
428
418
  readonly file: "components/layout.prop.ts";
429
419
  readonly vocabulary: readonly ["ChildrenProp", "OnOpenChangeProp", "OnValueChangeProp"];
430
420
  };
431
- readonly PageHeaderProp: {
432
- readonly group: "layout";
433
- readonly file: "components/layout.prop.ts";
434
- readonly vocabulary: readonly ["TitleProp", "SubtitleProp", "ExtraProp", "BreadcrumbProp"];
435
- readonly deprecated: true;
436
- };
437
421
  readonly ButtonProp: {
438
422
  readonly group: "general";
439
423
  readonly file: "components/general.prop.ts";
@@ -524,17 +508,6 @@ declare const COMPONENT_PROP_REGISTRY: {
524
508
  readonly file: "components/data-entry.prop.ts";
525
509
  readonly vocabulary: readonly ["ValueProp", "OnValueChangeProp", "DisabledProp", "IdProp"];
526
510
  };
527
- readonly AutocompleteProp: {
528
- readonly group: "data-entry";
529
- readonly file: "components/data-entry.prop.ts";
530
- readonly vocabulary: readonly ["PlaceholderProp", "ValueProp", "OnValueChangeProp", "DisabledProp", "IdProp", "EmptyMessageProp", "ClassNameProp"];
531
- readonly note: "Deprecated — a thin wrapper over SearchSelect (static options).";
532
- };
533
- readonly AutocompleteOptionProp: {
534
- readonly group: "data-entry";
535
- readonly file: "components/data-entry.prop.ts";
536
- readonly vocabulary: readonly ["ValueProp", "LabelProp"];
537
- };
538
511
  readonly SearchSelectProp: {
539
512
  readonly group: "data-entry";
540
513
  readonly file: "components/data-entry.prop.ts";
@@ -672,11 +645,6 @@ declare const COMPONENT_PROP_REGISTRY: {
672
645
  readonly reason: "Inline pending ReactNode slot, not boolean PendingProp state.";
673
646
  }, "ClassNameProp"];
674
647
  };
675
- readonly MutationFeedbackProp: {
676
- readonly group: "query";
677
- readonly file: "components/query.prop.ts";
678
- readonly vocabulary: readonly ["OnValueChangeProp"];
679
- };
680
648
  readonly ButtonRefetchProp: {
681
649
  readonly group: "query";
682
650
  readonly file: "components/query.prop.ts";
@@ -686,11 +654,6 @@ declare const COMPONENT_PROP_REGISTRY: {
686
654
  readonly reason: "TanStack query refetch handle consumed by this helper.";
687
655
  }, "LabelProp"];
688
656
  };
689
- readonly QueryRefetchButtonProp: {
690
- readonly group: "query";
691
- readonly file: "components/query.prop.ts";
692
- readonly vocabulary: readonly ["LabelProp", "ClassNameProp"];
693
- };
694
657
  readonly InfiniteQueryStateProp: {
695
658
  readonly group: "query";
696
659
  readonly file: "components/query.prop.ts";
@@ -736,16 +699,6 @@ declare const COMPONENT_PROP_REGISTRY: {
736
699
  readonly file: "components/feedback.prop.ts";
737
700
  readonly vocabulary: readonly [];
738
701
  };
739
- readonly FilterBarProp: {
740
- readonly group: "navigation";
741
- readonly file: "components/navigation.prop.ts";
742
- readonly vocabulary: readonly ["OnClearFiltersProp", "HasActiveFiltersProp", "ChildrenProp"];
743
- };
744
- readonly FilterGroupProp: {
745
- readonly group: "navigation";
746
- readonly file: "components/navigation.prop.ts";
747
- readonly vocabulary: readonly ["LabelProp", "ChildrenProp"];
748
- };
749
702
  readonly ToolbarProp: {
750
703
  readonly group: "navigation";
751
704
  readonly file: "components/navigation.prop.ts";
@@ -1 +1 @@
1
- export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-IHRMOJXD.js';
1
+ export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-N6ELT7KB.js';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { UseQueryResult, UseInfiniteQueryResult, InfiniteData, UseMutationResult, QueryKey } from '@tanstack/react-query';
2
+ import { UseQueryResult, UseInfiniteQueryResult, InfiniteData, QueryKey, UseMutationResult } from '@tanstack/react-query';
3
3
  import { LinkProps } from 'react-router-dom';
4
4
  import { B as ButtonProp } from './general.prop-DoHDCRmL.js';
5
5
  import { H as HandlerProp, a as ClassNameProp } from './shared.prop-BsNSXeqD.js';
@@ -29,16 +29,12 @@ type AlertMutationFeedbackProp = {
29
29
  pending?: React.ReactNode;
30
30
  className?: ClassNameProp;
31
31
  };
32
- /** @see MutationFeedback — deprecated alias for AlertMutationFeedback. */
33
- type MutationFeedbackProp = AlertMutationFeedbackProp;
34
32
  type QueryRefetchLike = Pick<UseQueryResult<unknown>, "isFetching" | "refetch">;
35
33
  /** @see ButtonRefetch — Button recipe wired to `query.refetch()`. */
36
34
  type ButtonRefetchProp = Omit<ButtonProp, "onClick" | "disabled"> & {
37
35
  query: QueryRefetchLike;
38
36
  label?: React.ReactNode;
39
37
  };
40
- /** @see QueryRefetchButton — deprecated alias for ButtonRefetch. */
41
- type QueryRefetchButtonProp = ButtonRefetchProp;
42
38
  type InfiniteQueryLike<TPage> = Pick<UseInfiniteQueryResult<InfiniteData<TPage>, unknown>, "isPending" | "isError" | "isFetching" | "isFetchingNextPage" | "error" | "data" | "hasNextPage" | "fetchNextPage" | "refetch">;
43
39
  type InfiniteQueryHelpers = {
44
40
  fetchNextPage: () => void;
@@ -72,4 +68,4 @@ type PrefetchLinkProp = LinkProps & {
72
68
  staleTime?: number;
73
69
  };
74
70
 
75
- export type { AlertMutationFeedbackProp as A, ButtonRefetchProp as B, DataStateProp as D, InfiniteQueryHelpers as I, MutationFeedbackProp as M, PrefetchLinkProp as P, QueryRefetchButtonProp as Q, InfiniteQueryStateProp as a };
71
+ export type { AlertMutationFeedbackProp as A, ButtonRefetchProp as B, DataStateProp as D, InfiniteQueryHelpers as I, PrefetchLinkProp as P, InfiniteQueryStateProp as a };
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { h as FormFieldProp, F as FieldProp } from './data-entry.prop-BR4vNA1j.js';
2
+ import { g as FormFieldProp, F as FieldProp } from './data-entry.prop-6J0o45se.js';
3
3
  import * as React from 'react';
4
4
 
5
5
  declare function FormField({ id, label, required, helper, error, labelAddon, className, children, }: FormFieldProp): react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godxjp/ui",
3
- "version": "11.1.0",
3
+ "version": "12.0.0",
4
4
  "type": "module",
5
5
  "packageManager": "pnpm@10.29.1",
6
6
  "sideEffects": false,
@@ -47,6 +47,10 @@
47
47
  "types": "./dist/components/query/index.d.ts",
48
48
  "import": "./dist/components/query/index.js"
49
49
  },
50
+ "./data-grid": {
51
+ "types": "./dist/components/data-grid/index.d.ts",
52
+ "import": "./dist/components/data-grid/index.js"
53
+ },
50
54
  "./ui": {
51
55
  "types": "./dist/components/ui/index.d.ts",
52
56
  "import": "./dist/components/ui/index.js"
@@ -285,6 +289,7 @@
285
289
  "peerDependencies": {
286
290
  "@hookform/resolvers": "^5.2.0",
287
291
  "@tanstack/react-query": ">=5.0.0",
292
+ "@tanstack/react-table": ">=8.0.0",
288
293
  "react": ">=19.0.0",
289
294
  "react-dom": ">=19.0.0",
290
295
  "react-hook-form": "^7.76.0",
@@ -292,6 +297,11 @@
292
297
  "tailwindcss": ">=4.0.0",
293
298
  "zod": "^4.4.0"
294
299
  },
300
+ "peerDependenciesMeta": {
301
+ "@tanstack/react-table": {
302
+ "optional": true
303
+ }
304
+ },
295
305
  "dependencies": {
296
306
  "@date-fns/tz": "^1.5.0",
297
307
  "@fontsource/m-plus-2": "^5.2.9",
@@ -340,6 +350,7 @@
340
350
  "@hookform/resolvers": "^5.2.2",
341
351
  "@tailwindcss/vite": "^4.2.4",
342
352
  "@tanstack/react-query": "^5.100.9",
353
+ "@tanstack/react-table": "^8.21.3",
343
354
  "@testing-library/jest-dom": "^6.9.1",
344
355
  "@testing-library/react": "^16.3.2",
345
356
  "@testing-library/user-event": "^14.6.1",
File without changes