@godxjp/ui 11.1.0 → 12.0.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/README.md +40 -12
- package/dist/app/index.d.ts +1 -5
- package/dist/app/index.js +4 -4
- package/dist/{checkbox-em-oFM5D.d.ts → checkbox-DPFcnsMZ.d.ts} +1 -1
- package/dist/{chunk-QVLUCB47.js → chunk-2JCSS6B4.js} +2 -2
- package/dist/{chunk-6CSBMMZS.js → chunk-3ELRYXJK.js} +27 -0
- package/dist/{chunk-USNR424B.js → chunk-ASMTSQWA.js} +3 -10
- package/dist/chunk-BCBK4FLV.js +83 -0
- package/dist/{chunk-Q4WWD4VV.js → chunk-COYMFVBQ.js} +2 -2
- package/dist/{chunk-T2QO2S65.js → chunk-EPTRMMM5.js} +3 -3
- package/dist/{chunk-LN7GE73P.js → chunk-FK2JDABO.js} +1 -1
- package/dist/{chunk-X2VY4MOW.js → chunk-FK5QEFVY.js} +2 -11
- package/dist/{chunk-SARQRCKO.js → chunk-FOANNF6Z.js} +1 -1
- package/dist/{chunk-PUGEOUWZ.js → chunk-I6HD36IU.js} +2 -2
- package/dist/{chunk-2HOTP7RL.js → chunk-JSQOCVM6.js} +4 -78
- package/dist/{chunk-Z46J47FY.js → chunk-L2MEN2VK.js} +1 -1
- package/dist/{chunk-3Q4A4U2P.js → chunk-MMFIL33F.js} +1 -1
- package/dist/{chunk-IHRMOJXD.js → chunk-N6ELT7KB.js} +0 -47
- package/dist/{chunk-UNVRNJCB.js → chunk-PO5ISUFA.js} +1 -1
- package/dist/{chunk-NXVCI6YB.js → chunk-QQWA5ZRQ.js} +1 -1
- package/dist/{chunk-FAB3LMTK.js → chunk-REBRSO25.js} +3 -3
- package/dist/{chunk-EE5DKOHX.js → chunk-SIUIIIQW.js} +1 -1
- package/dist/{chunk-HTG5VHU7.js → chunk-TXRYSMOD.js} +2 -6
- package/dist/{chunk-IY347EQA.js → chunk-UDEPO3UF.js} +1 -1
- package/dist/{chunk-BG5RNXTH.js → chunk-UJUWAQE5.js} +1 -1
- package/dist/{chunk-QWALQSBS.js → chunk-WBUUCU7R.js} +2 -2
- package/dist/{chunk-7BF7U3GG.js → chunk-WJNR3RAG.js} +2 -2
- package/dist/{chunk-JWGLJXQU.js → chunk-XVD5SLDL.js} +1 -1
- package/dist/chunk-YD7V2HGZ.js +13 -0
- package/dist/{chunk-F6JGFU6O.js → chunk-YGD4CCQC.js} +2 -2
- package/dist/components/admin/index.d.ts +7 -15
- package/dist/components/admin/index.js +23 -21
- package/dist/components/data-display/badge.js +3 -3
- package/dist/components/data-display/card.d.ts +2 -2
- package/dist/components/data-display/carousel.js +3 -3
- package/dist/components/data-display/index.js +7 -6
- package/dist/components/data-entry/calendar.d.ts +1 -1
- package/dist/components/data-entry/cascader.d.ts +1 -1
- package/dist/components/data-entry/cascader.js +3 -3
- package/dist/components/data-entry/checkbox.d.ts +2 -2
- package/dist/components/data-entry/color-picker.d.ts +1 -1
- package/dist/components/data-entry/color-picker.js +3 -3
- package/dist/components/data-entry/command.d.ts +10 -10
- package/dist/components/data-entry/date-picker.d.ts +1 -1
- package/dist/components/data-entry/date-picker.js +3 -3
- package/dist/components/data-entry/date-range-picker.d.ts +1 -1
- package/dist/components/data-entry/date-range-picker.js +3 -3
- package/dist/components/data-entry/index.d.ts +3 -3
- package/dist/components/data-entry/index.js +17 -16
- package/dist/components/data-entry/radio.d.ts +1 -1
- package/dist/components/data-entry/select.d.ts +1 -1
- package/dist/components/data-entry/select.js +3 -3
- package/dist/components/data-entry/slider.d.ts +1 -1
- package/dist/components/data-entry/switch.d.ts +1 -1
- package/dist/components/data-entry/time-input.js +2 -2
- package/dist/components/data-entry/time-picker.d.ts +1 -1
- package/dist/components/data-entry/time-picker.js +3 -3
- package/dist/components/data-entry/transfer.d.ts +2 -2
- package/dist/components/data-entry/transfer.js +4 -3
- package/dist/components/data-entry/tree-select.d.ts +1 -1
- package/dist/components/data-entry/tree-select.js +3 -3
- package/dist/components/data-entry/upload.d.ts +2 -2
- package/dist/components/data-entry/upload.js +5 -5
- package/dist/components/data-grid/index.d.ts +71 -0
- package/dist/components/data-grid/index.js +372 -0
- package/dist/components/feedback/alert.js +4 -4
- package/dist/components/feedback/dialog.js +3 -3
- package/dist/components/feedback/index.js +5 -5
- package/dist/components/layout/index.d.ts +3 -3
- package/dist/components/layout/index.js +4 -4
- package/dist/components/navigation/index.d.ts +2 -2
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/navigation/pagination.d.ts +1 -1
- package/dist/components/navigation/pagination.js +4 -4
- package/dist/components/navigation/steps.d.ts +2 -2
- package/dist/components/navigation/steps.js +3 -3
- package/dist/components/query/index.d.ts +1 -2
- package/dist/components/query/index.js +4 -4
- package/dist/components/ui/index.d.ts +3 -3
- package/dist/components/ui/index.js +19 -19
- package/dist/{data-entry.prop-BR4vNA1j.d.ts → data-entry.prop-6J0o45se.d.ts} +3 -25
- package/dist/{filter-bar-BxjSJJnQ.d.ts → filter-bar-B07JSxME.d.ts} +1 -1
- package/dist/{flex-D_EXRFSW.d.ts → flex-DXtIALBh.d.ts} +1 -1
- package/dist/i18n/index.d.ts +10 -0
- package/dist/i18n/index.js +2 -2
- package/dist/index.d.ts +7 -7
- package/dist/index.js +30 -28
- package/dist/{layout.prop-JE2TcRyL.d.ts → layout.prop-B1yQPUNZ.d.ts} +2 -17
- package/dist/lib/datetime/index.js +1 -1
- package/dist/{navigation.prop-DMcXkR-J.d.ts → navigation.prop-Dumy196X.d.ts} +1 -5
- package/dist/props/components/index.d.ts +4 -4
- package/dist/props/index.d.ts +4 -4
- package/dist/props/index.js +2 -2
- package/dist/props/registry.d.ts +0 -47
- package/dist/props/registry.js +1 -1
- package/dist/{query.prop-BDdz9L1G.d.ts → query.prop-Dog-EAfG.d.ts} +2 -6
- package/dist/{search-input-C_x-JFD3.d.ts → search-input-BR4nAWiT.d.ts} +1 -1
- package/dist/styles/card-layout.css +1 -1
- package/dist/styles/layout.css +2 -0
- package/package.json +12 -5
- /package/dist/{chunk-7CFO5FFE.js → chunk-GJXOBDER.js} +0 -0
package/dist/props/registry.d.ts
CHANGED
|
@@ -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";
|
package/dist/props/registry.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { COMPONENT_PROP_REGISTRY, PROP_ALIASES_FORBIDDEN, VOCABULARY_REGISTRY } from '../chunk-
|
|
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,
|
|
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,
|
|
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 {
|
|
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/dist/styles/layout.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@godxjp/ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.1",
|
|
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"
|
|
@@ -159,10 +163,6 @@
|
|
|
159
163
|
"types": "./dist/components/data-entry/color-picker.d.ts",
|
|
160
164
|
"import": "./dist/components/data-entry/color-picker.js"
|
|
161
165
|
},
|
|
162
|
-
"./ui/autocomplete": {
|
|
163
|
-
"types": "./dist/components/data-entry/autocomplete.d.ts",
|
|
164
|
-
"import": "./dist/components/data-entry/autocomplete.js"
|
|
165
|
-
},
|
|
166
166
|
"./ui/upload": {
|
|
167
167
|
"types": "./dist/components/data-entry/upload.d.ts",
|
|
168
168
|
"import": "./dist/components/data-entry/upload.js"
|
|
@@ -285,6 +285,7 @@
|
|
|
285
285
|
"peerDependencies": {
|
|
286
286
|
"@hookform/resolvers": "^5.2.0",
|
|
287
287
|
"@tanstack/react-query": ">=5.0.0",
|
|
288
|
+
"@tanstack/react-table": ">=8.0.0",
|
|
288
289
|
"react": ">=19.0.0",
|
|
289
290
|
"react-dom": ">=19.0.0",
|
|
290
291
|
"react-hook-form": "^7.76.0",
|
|
@@ -292,6 +293,11 @@
|
|
|
292
293
|
"tailwindcss": ">=4.0.0",
|
|
293
294
|
"zod": "^4.4.0"
|
|
294
295
|
},
|
|
296
|
+
"peerDependenciesMeta": {
|
|
297
|
+
"@tanstack/react-table": {
|
|
298
|
+
"optional": true
|
|
299
|
+
}
|
|
300
|
+
},
|
|
295
301
|
"dependencies": {
|
|
296
302
|
"@date-fns/tz": "^1.5.0",
|
|
297
303
|
"@fontsource/m-plus-2": "^5.2.9",
|
|
@@ -340,6 +346,7 @@
|
|
|
340
346
|
"@hookform/resolvers": "^5.2.2",
|
|
341
347
|
"@tailwindcss/vite": "^4.2.4",
|
|
342
348
|
"@tanstack/react-query": "^5.100.9",
|
|
349
|
+
"@tanstack/react-table": "^8.21.3",
|
|
343
350
|
"@testing-library/jest-dom": "^6.9.1",
|
|
344
351
|
"@testing-library/react": "^16.3.2",
|
|
345
352
|
"@testing-library/user-event": "^14.6.1",
|
|
File without changes
|