@tipp/ui 1.0.24 → 1.0.26
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/atoms/field-error-wrapper.js +2 -2
- package/dist/atoms/form.cjs +136 -0
- package/dist/atoms/form.cjs.map +1 -0
- package/dist/atoms/form.d.cts +13 -0
- package/dist/atoms/form.d.ts +13 -0
- package/dist/atoms/form.js +8 -0
- package/dist/atoms/index.cjs +71 -0
- package/dist/atoms/index.cjs.map +1 -1
- package/dist/atoms/index.d.cts +2 -0
- package/dist/atoms/index.d.ts +2 -0
- package/dist/atoms/index.js +63 -59
- package/dist/atoms/pagination.js +3 -3
- package/dist/chunk-2CVXGGI5.js +79 -0
- package/dist/chunk-2CVXGGI5.js.map +1 -0
- package/dist/chunk-2HO6TD5Z.js +77 -0
- package/dist/chunk-2HO6TD5Z.js.map +1 -0
- package/dist/chunk-4K4S5TXK.js +7 -0
- package/dist/chunk-4K4S5TXK.js.map +1 -0
- package/dist/{chunk-C22CECJM.js → chunk-FH5ZSMU2.js} +5 -5
- package/dist/{chunk-GGCFVE6F.js → chunk-HUS5VLHS.js} +2 -2
- package/dist/chunk-LBO3JR5R.js +79 -0
- package/dist/chunk-LBO3JR5R.js.map +1 -0
- package/dist/{chunk-ANLWB2QF.js → chunk-OUSFDJNS.js} +9 -9
- package/dist/chunk-P6F4CTYO.js +79 -0
- package/dist/chunk-P6F4CTYO.js.map +1 -0
- package/dist/chunk-QANLBULQ.js +79 -0
- package/dist/chunk-QANLBULQ.js.map +1 -0
- package/dist/{chunk-CAJUJW32.js → chunk-QGBUYEQN.js} +5 -5
- package/dist/icon.d.cts +1 -1
- package/dist/icon.d.ts +1 -1
- package/dist/index.cjs +118 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +8 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +67 -63
- package/dist/molecules/date-picker/index.js +2 -2
- package/dist/molecules/expand-table/index.cjs +90 -29
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +27 -26
- package/dist/molecules/expand-table/row.cjs +70 -9
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +26 -25
- package/dist/molecules/index.cjs +108 -47
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +31 -30
- package/dist/molecules/navigation.cjs +67 -6
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +27 -26
- package/package.json +2 -1
- package/src/atoms/form.tsx +72 -0
- package/src/atoms/index.ts +2 -0
- package/dist/atoms/date-picker/index.cjs +0 -170
- package/dist/atoms/date-picker/index.cjs.map +0 -1
- package/dist/atoms/date-picker/index.d.cts +0 -10
- package/dist/atoms/date-picker/index.d.ts +0 -10
- package/dist/atoms/date-picker/index.js +0 -12
- package/dist/chunk-2H6OSBOF.js +0 -37
- package/dist/chunk-2H6OSBOF.js.map +0 -1
- package/dist/chunk-2UUDK4JO.js +0 -49
- package/dist/chunk-2UUDK4JO.js.map +0 -1
- package/dist/chunk-3JLYIIO6.js +0 -49
- package/dist/chunk-3JLYIIO6.js.map +0 -1
- package/dist/chunk-4JTLQW3V.js +0 -49
- package/dist/chunk-4JTLQW3V.js.map +0 -1
- package/dist/chunk-4ZOIVPVY.js +0 -91
- package/dist/chunk-4ZOIVPVY.js.map +0 -1
- package/dist/chunk-54NO6UR7.js +0 -32
- package/dist/chunk-54NO6UR7.js.map +0 -1
- package/dist/chunk-56TJ2IDJ.js +0 -47
- package/dist/chunk-56TJ2IDJ.js.map +0 -1
- package/dist/chunk-5CFPIB7Q.js +0 -53
- package/dist/chunk-5CFPIB7Q.js.map +0 -1
- package/dist/chunk-5RJHWZSD.js +0 -49
- package/dist/chunk-5RJHWZSD.js.map +0 -1
- package/dist/chunk-643CGGCE.js +0 -91
- package/dist/chunk-643CGGCE.js.map +0 -1
- package/dist/chunk-6LZ2FFNK.js +0 -49
- package/dist/chunk-6LZ2FFNK.js.map +0 -1
- package/dist/chunk-7ANSPG2S.js +0 -91
- package/dist/chunk-7ANSPG2S.js.map +0 -1
- package/dist/chunk-7PM2WTEA.js +0 -51
- package/dist/chunk-7PM2WTEA.js.map +0 -1
- package/dist/chunk-A3NPHXFX.js +0 -49
- package/dist/chunk-A3NPHXFX.js.map +0 -1
- package/dist/chunk-A3YUDU7S.js +0 -49
- package/dist/chunk-A3YUDU7S.js.map +0 -1
- package/dist/chunk-AGLGIHCT.js +0 -91
- package/dist/chunk-AGLGIHCT.js.map +0 -1
- package/dist/chunk-AZY5TIE3.js +0 -30
- package/dist/chunk-AZY5TIE3.js.map +0 -1
- package/dist/chunk-B5CGQ2CC.js +0 -17
- package/dist/chunk-B5CGQ2CC.js.map +0 -1
- package/dist/chunk-BCVRJECE.js +0 -38
- package/dist/chunk-BCVRJECE.js.map +0 -1
- package/dist/chunk-BOTNH3XG.js +0 -49
- package/dist/chunk-BOTNH3XG.js.map +0 -1
- package/dist/chunk-CJCB4S4R.js +0 -49
- package/dist/chunk-CJCB4S4R.js.map +0 -1
- package/dist/chunk-CVV4TWLH.js +0 -119
- package/dist/chunk-CVV4TWLH.js.map +0 -1
- package/dist/chunk-DF7LG3AO.js +0 -1
- package/dist/chunk-DF7LG3AO.js.map +0 -1
- package/dist/chunk-EFP5SC7R.js +0 -49
- package/dist/chunk-EFP5SC7R.js.map +0 -1
- package/dist/chunk-EK6MVCJC.js +0 -31
- package/dist/chunk-EK6MVCJC.js.map +0 -1
- package/dist/chunk-ELPXUZTB.js +0 -37
- package/dist/chunk-ELPXUZTB.js.map +0 -1
- package/dist/chunk-FDVSPG4J.js +0 -49
- package/dist/chunk-FDVSPG4J.js.map +0 -1
- package/dist/chunk-FPOFWMCW.js +0 -17
- package/dist/chunk-FPOFWMCW.js.map +0 -1
- package/dist/chunk-FWJTQZU5.js +0 -49
- package/dist/chunk-FWJTQZU5.js.map +0 -1
- package/dist/chunk-GAY345TC.js +0 -35
- package/dist/chunk-GAY345TC.js.map +0 -1
- package/dist/chunk-GHANXT6C.js +0 -30
- package/dist/chunk-GHANXT6C.js.map +0 -1
- package/dist/chunk-HHEG6S3Q.js +0 -91
- package/dist/chunk-HHEG6S3Q.js.map +0 -1
- package/dist/chunk-HI6IQ6QL.js +0 -104
- package/dist/chunk-HI6IQ6QL.js.map +0 -1
- package/dist/chunk-HUBPQ7ZR.js +0 -45
- package/dist/chunk-HUBPQ7ZR.js.map +0 -1
- package/dist/chunk-HV3SMPVZ.js +0 -38
- package/dist/chunk-HV3SMPVZ.js.map +0 -1
- package/dist/chunk-HVUC4QCN.js +0 -91
- package/dist/chunk-HVUC4QCN.js.map +0 -1
- package/dist/chunk-HX4LA2YB.js +0 -119
- package/dist/chunk-HX4LA2YB.js.map +0 -1
- package/dist/chunk-JFG6HKB6.js +0 -119
- package/dist/chunk-JFG6HKB6.js.map +0 -1
- package/dist/chunk-JIOJCVMY.js +0 -21
- package/dist/chunk-JIOJCVMY.js.map +0 -1
- package/dist/chunk-KSCEKSVS.js +0 -91
- package/dist/chunk-KSCEKSVS.js.map +0 -1
- package/dist/chunk-KVTMHZZB.js +0 -49
- package/dist/chunk-KVTMHZZB.js.map +0 -1
- package/dist/chunk-L6PGWCB7.js +0 -49
- package/dist/chunk-L6PGWCB7.js.map +0 -1
- package/dist/chunk-NHDSSLCS.js +0 -119
- package/dist/chunk-NHDSSLCS.js.map +0 -1
- package/dist/chunk-NSZVLXRG.js +0 -104
- package/dist/chunk-NSZVLXRG.js.map +0 -1
- package/dist/chunk-NT7IRT2M.js +0 -49
- package/dist/chunk-NT7IRT2M.js.map +0 -1
- package/dist/chunk-OCJNQGHN.js +0 -26
- package/dist/chunk-OCJNQGHN.js.map +0 -1
- package/dist/chunk-PHR3M7A7.js +0 -38
- package/dist/chunk-PHR3M7A7.js.map +0 -1
- package/dist/chunk-PIVUWEYI.js +0 -90
- package/dist/chunk-PIVUWEYI.js.map +0 -1
- package/dist/chunk-PKVWFUW5.js +0 -104
- package/dist/chunk-PKVWFUW5.js.map +0 -1
- package/dist/chunk-Q7IXT5CM.js +0 -119
- package/dist/chunk-Q7IXT5CM.js.map +0 -1
- package/dist/chunk-QABUZXGR.js +0 -104
- package/dist/chunk-QABUZXGR.js.map +0 -1
- package/dist/chunk-QIR4QA4A.js +0 -70
- package/dist/chunk-QIR4QA4A.js.map +0 -1
- package/dist/chunk-QV2UWS2N.js +0 -49
- package/dist/chunk-QV2UWS2N.js.map +0 -1
- package/dist/chunk-RMPP3HLJ.js +0 -38
- package/dist/chunk-RMPP3HLJ.js.map +0 -1
- package/dist/chunk-RZZJY5ZF.js +0 -91
- package/dist/chunk-RZZJY5ZF.js.map +0 -1
- package/dist/chunk-SOXSHT2H.js +0 -91
- package/dist/chunk-SOXSHT2H.js.map +0 -1
- package/dist/chunk-SUJ3QOVK.js +0 -104
- package/dist/chunk-SUJ3QOVK.js.map +0 -1
- package/dist/chunk-UMFBZYLC.js +0 -49
- package/dist/chunk-UMFBZYLC.js.map +0 -1
- package/dist/chunk-XD7EVGEL.js +0 -45
- package/dist/chunk-XD7EVGEL.js.map +0 -1
- package/dist/chunk-YOKLTW3W.js +0 -38
- package/dist/chunk-YOKLTW3W.js.map +0 -1
- package/dist/chunk-ZUAJNIBO.js +0 -104
- package/dist/chunk-ZUAJNIBO.js.map +0 -1
- /package/dist/atoms/{date-picker/index.js.map → form.js.map} +0 -0
- /package/dist/{chunk-C22CECJM.js.map → chunk-FH5ZSMU2.js.map} +0 -0
- /package/dist/{chunk-GGCFVE6F.js.map → chunk-HUS5VLHS.js.map} +0 -0
- /package/dist/{chunk-ANLWB2QF.js.map → chunk-OUSFDJNS.js.map} +0 -0
- /package/dist/{chunk-CAJUJW32.js.map → chunk-QGBUYEQN.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -13,16 +13,18 @@ export { FieldErrorWrapper, FieldErrorWrapperProps } from './atoms/field-error-w
|
|
|
13
13
|
export { EllipsisTooltip, EllipsisTooltipProps } from './atoms/ellipsis-tooltip.cjs';
|
|
14
14
|
export { Content, Drawer, Root, Trigger } from './atoms/drawer.cjs';
|
|
15
15
|
export { ToastContainer } from './atoms/toast.cjs';
|
|
16
|
+
export { Form } from './atoms/form.cjs';
|
|
16
17
|
export { ExpandTable, ExpandTableProps } from './molecules/expand-table/index.cjs';
|
|
17
18
|
export { Navigation, NavigationProps } from './molecules/navigation.cjs';
|
|
18
19
|
export { DatePicker, DatePickerProps } from './molecules/date-picker/index.cjs';
|
|
19
20
|
export { ThemeProvider } from './theme/theme-provider.cjs';
|
|
20
21
|
import * as index_js from '@radix-ui/themes/dist/cjs/props/index.js';
|
|
21
22
|
export { index_js as uiProps };
|
|
22
|
-
export { BarChartIcon, BookmarkFilledIcon, BookmarkIcon, ChatBubbleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClipboardIcon, Cross1Icon, DotsHorizontalIcon, DotsVerticalIcon, ExclamationTriangleIcon, ExitIcon, GearIcon, InfoCircledIcon, Link2Icon, MagnifyingGlassIcon, MixerHorizontalIcon, Pencil1Icon, PersonIcon, PlusIcon } from '@radix-ui/react-icons';
|
|
23
|
+
export { BarChartIcon, BookmarkFilledIcon, BookmarkIcon, ChatBubbleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClipboardIcon, Cross1Icon, DotsHorizontalIcon, DotsVerticalIcon, ExclamationTriangleIcon, ExitIcon, FileIcon, GearIcon, InfoCircledIcon, Link2Icon, MagnifyingGlassIcon, MixerHorizontalIcon, Pencil1Icon, PersonIcon, PlusIcon, TrashIcon } from '@radix-ui/react-icons';
|
|
23
24
|
export { toast } from 'react-toastify';
|
|
24
25
|
export { ExpandComp, OnRowClick } from './molecules/expand-table/row.cjs';
|
|
25
26
|
export { ColumnDef, createColumnHelper } from '@tanstack/react-table';
|
|
26
27
|
import 'react';
|
|
27
28
|
import '@radix-ui/react-dialog';
|
|
29
|
+
import '@radix-ui/react-form';
|
|
28
30
|
import 'react-datepicker';
|
package/dist/index.d.ts
CHANGED
|
@@ -13,16 +13,18 @@ export { FieldErrorWrapper, FieldErrorWrapperProps } from './atoms/field-error-w
|
|
|
13
13
|
export { EllipsisTooltip, EllipsisTooltipProps } from './atoms/ellipsis-tooltip.js';
|
|
14
14
|
export { Content, Drawer, Root, Trigger } from './atoms/drawer.js';
|
|
15
15
|
export { ToastContainer } from './atoms/toast.js';
|
|
16
|
+
export { Form } from './atoms/form.js';
|
|
16
17
|
export { ExpandTable, ExpandTableProps } from './molecules/expand-table/index.js';
|
|
17
18
|
export { Navigation, NavigationProps } from './molecules/navigation.js';
|
|
18
19
|
export { DatePicker, DatePickerProps } from './molecules/date-picker/index.js';
|
|
19
20
|
export { ThemeProvider } from './theme/theme-provider.js';
|
|
20
21
|
import * as index_js from '@radix-ui/themes/dist/cjs/props/index.js';
|
|
21
22
|
export { index_js as uiProps };
|
|
22
|
-
export { BarChartIcon, BookmarkFilledIcon, BookmarkIcon, ChatBubbleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClipboardIcon, Cross1Icon, DotsHorizontalIcon, DotsVerticalIcon, ExclamationTriangleIcon, ExitIcon, GearIcon, InfoCircledIcon, Link2Icon, MagnifyingGlassIcon, MixerHorizontalIcon, Pencil1Icon, PersonIcon, PlusIcon } from '@radix-ui/react-icons';
|
|
23
|
+
export { BarChartIcon, BookmarkFilledIcon, BookmarkIcon, ChatBubbleIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ClipboardIcon, Cross1Icon, DotsHorizontalIcon, DotsVerticalIcon, ExclamationTriangleIcon, ExitIcon, FileIcon, GearIcon, InfoCircledIcon, Link2Icon, MagnifyingGlassIcon, MixerHorizontalIcon, Pencil1Icon, PersonIcon, PlusIcon, TrashIcon } from '@radix-ui/react-icons';
|
|
23
24
|
export { toast } from 'react-toastify';
|
|
24
25
|
export { ExpandComp, OnRowClick } from './molecules/expand-table/row.js';
|
|
25
26
|
export { ColumnDef, createColumnHelper } from '@tanstack/react-table';
|
|
26
27
|
import 'react';
|
|
27
28
|
import '@radix-ui/react-dialog';
|
|
29
|
+
import '@radix-ui/react-form';
|
|
28
30
|
import 'react-datepicker';
|
package/dist/index.js
CHANGED
|
@@ -5,20 +5,35 @@ import {
|
|
|
5
5
|
uiProps
|
|
6
6
|
} from "./chunk-NVKNDAIN.js";
|
|
7
7
|
import "./chunk-KHHXN3CH.js";
|
|
8
|
+
import {
|
|
9
|
+
Navigation
|
|
10
|
+
} from "./chunk-IBR5PQVX.js";
|
|
8
11
|
import {
|
|
9
12
|
DatePicker
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HUS5VLHS.js";
|
|
11
14
|
import {
|
|
12
15
|
ExpandTable,
|
|
13
16
|
createColumnHelper
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KT7IAGCF.js";
|
|
15
18
|
import "./chunk-XHNYNSZZ.js";
|
|
16
19
|
import "./chunk-BSTJBBEX.js";
|
|
17
20
|
import "./chunk-NDUKDKGB.js";
|
|
21
|
+
import "./chunk-2ANGYYEV.js";
|
|
18
22
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import
|
|
23
|
+
TextField
|
|
24
|
+
} from "./chunk-JPIZP2PZ.js";
|
|
25
|
+
import {
|
|
26
|
+
Separator
|
|
27
|
+
} from "./chunk-HYITAA4J.js";
|
|
28
|
+
import {
|
|
29
|
+
Skeleton
|
|
30
|
+
} from "./chunk-5H3YPCZK.js";
|
|
31
|
+
import {
|
|
32
|
+
Spinner
|
|
33
|
+
} from "./chunk-FR2GDOU2.js";
|
|
34
|
+
import {
|
|
35
|
+
Strong
|
|
36
|
+
} from "./chunk-74DX4CU7.js";
|
|
22
37
|
import {
|
|
23
38
|
Switch
|
|
24
39
|
} from "./chunk-OYM4XCHQ.js";
|
|
@@ -32,8 +47,17 @@ import {
|
|
|
32
47
|
TextArea
|
|
33
48
|
} from "./chunk-ILRUXI2E.js";
|
|
34
49
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
50
|
+
Quote
|
|
51
|
+
} from "./chunk-YO3BQW6S.js";
|
|
52
|
+
import {
|
|
53
|
+
RadioCards
|
|
54
|
+
} from "./chunk-6IVCARWS.js";
|
|
55
|
+
import {
|
|
56
|
+
RadioGroup
|
|
57
|
+
} from "./chunk-6DJOIRMF.js";
|
|
58
|
+
import {
|
|
59
|
+
Radio
|
|
60
|
+
} from "./chunk-FPD73OHW.js";
|
|
37
61
|
import {
|
|
38
62
|
ScrollArea
|
|
39
63
|
} from "./chunk-ZKZDVS7G.js";
|
|
@@ -47,23 +71,17 @@ import {
|
|
|
47
71
|
Select
|
|
48
72
|
} from "./chunk-355MU6BH.js";
|
|
49
73
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunk-
|
|
52
|
-
import {
|
|
53
|
-
Skeleton
|
|
54
|
-
} from "./chunk-5H3YPCZK.js";
|
|
55
|
-
import {
|
|
56
|
-
Spinner
|
|
57
|
-
} from "./chunk-FR2GDOU2.js";
|
|
74
|
+
Inset
|
|
75
|
+
} from "./chunk-XQOL7UBI.js";
|
|
58
76
|
import {
|
|
59
|
-
|
|
60
|
-
} from "./chunk-
|
|
77
|
+
Kbd
|
|
78
|
+
} from "./chunk-TULWX7D6.js";
|
|
61
79
|
import {
|
|
62
80
|
Link
|
|
63
81
|
} from "./chunk-XQOZWYUA.js";
|
|
64
82
|
import {
|
|
65
83
|
Pagination
|
|
66
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-QGBUYEQN.js";
|
|
67
85
|
import {
|
|
68
86
|
Popover
|
|
69
87
|
} from "./chunk-5AVBYDPB.js";
|
|
@@ -71,17 +89,26 @@ import {
|
|
|
71
89
|
Progress
|
|
72
90
|
} from "./chunk-365QMK4D.js";
|
|
73
91
|
import {
|
|
74
|
-
|
|
75
|
-
} from "./chunk-
|
|
92
|
+
EllipsisTooltip
|
|
93
|
+
} from "./chunk-4IKPNQV5.js";
|
|
76
94
|
import {
|
|
77
|
-
|
|
78
|
-
} from "./chunk-
|
|
95
|
+
Tooltip
|
|
96
|
+
} from "./chunk-ACVANQJ4.js";
|
|
79
97
|
import {
|
|
80
|
-
|
|
81
|
-
} from "./chunk-
|
|
98
|
+
Em
|
|
99
|
+
} from "./chunk-2DZ2Y3JI.js";
|
|
82
100
|
import {
|
|
83
|
-
|
|
84
|
-
} from "./chunk-
|
|
101
|
+
FieldErrorWrapper
|
|
102
|
+
} from "./chunk-CNQ7RNNY.js";
|
|
103
|
+
import {
|
|
104
|
+
Typo
|
|
105
|
+
} from "./chunk-O3XTRD7R.js";
|
|
106
|
+
import {
|
|
107
|
+
Flex
|
|
108
|
+
} from "./chunk-25HMMI7R.js";
|
|
109
|
+
import {
|
|
110
|
+
Form
|
|
111
|
+
} from "./chunk-2CVXGGI5.js";
|
|
85
112
|
import {
|
|
86
113
|
Grid
|
|
87
114
|
} from "./chunk-EGEQY3KT.js";
|
|
@@ -92,11 +119,14 @@ import {
|
|
|
92
119
|
HoverCard
|
|
93
120
|
} from "./chunk-O3T3TM3V.js";
|
|
94
121
|
import {
|
|
95
|
-
|
|
96
|
-
} from "./chunk-
|
|
122
|
+
Checkbox
|
|
123
|
+
} from "./chunk-JEHDCZQU.js";
|
|
97
124
|
import {
|
|
98
|
-
|
|
99
|
-
} from "./chunk-
|
|
125
|
+
Code
|
|
126
|
+
} from "./chunk-OHMOP5PV.js";
|
|
127
|
+
import {
|
|
128
|
+
Collapse
|
|
129
|
+
} from "./chunk-KGLIAFTI.js";
|
|
100
130
|
import {
|
|
101
131
|
Container
|
|
102
132
|
} from "./chunk-Q37G2GS6.js";
|
|
@@ -126,23 +156,14 @@ import {
|
|
|
126
156
|
DropdownMenu
|
|
127
157
|
} from "./chunk-YTZSKMX3.js";
|
|
128
158
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
131
|
-
import {
|
|
132
|
-
Tooltip
|
|
133
|
-
} from "./chunk-ACVANQJ4.js";
|
|
134
|
-
import {
|
|
135
|
-
Em
|
|
136
|
-
} from "./chunk-2DZ2Y3JI.js";
|
|
137
|
-
import {
|
|
138
|
-
FieldErrorWrapper
|
|
139
|
-
} from "./chunk-CHHLIPDN.js";
|
|
159
|
+
Badge
|
|
160
|
+
} from "./chunk-ALOPZ54P.js";
|
|
140
161
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
162
|
+
Blockquote
|
|
163
|
+
} from "./chunk-YGL6SWKN.js";
|
|
143
164
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
165
|
+
Box
|
|
166
|
+
} from "./chunk-4Y5BEXVN.js";
|
|
146
167
|
import {
|
|
147
168
|
Button
|
|
148
169
|
} from "./chunk-AQX7DQLI.js";
|
|
@@ -158,15 +179,6 @@ import {
|
|
|
158
179
|
import {
|
|
159
180
|
CheckboxGroup
|
|
160
181
|
} from "./chunk-IQEEPHOY.js";
|
|
161
|
-
import {
|
|
162
|
-
Checkbox
|
|
163
|
-
} from "./chunk-JEHDCZQU.js";
|
|
164
|
-
import {
|
|
165
|
-
Code
|
|
166
|
-
} from "./chunk-OHMOP5PV.js";
|
|
167
|
-
import {
|
|
168
|
-
Collapse
|
|
169
|
-
} from "./chunk-KGLIAFTI.js";
|
|
170
182
|
import {
|
|
171
183
|
BarChartIcon,
|
|
172
184
|
BookmarkFilledIcon,
|
|
@@ -202,15 +214,6 @@ import {
|
|
|
202
214
|
import {
|
|
203
215
|
Avatar
|
|
204
216
|
} from "./chunk-CZEGRZBK.js";
|
|
205
|
-
import {
|
|
206
|
-
Badge
|
|
207
|
-
} from "./chunk-ALOPZ54P.js";
|
|
208
|
-
import {
|
|
209
|
-
Blockquote
|
|
210
|
-
} from "./chunk-YGL6SWKN.js";
|
|
211
|
-
import {
|
|
212
|
-
Box
|
|
213
|
-
} from "./chunk-4Y5BEXVN.js";
|
|
214
217
|
import "./chunk-N552FDTV.js";
|
|
215
218
|
export {
|
|
216
219
|
AlertDialog,
|
|
@@ -254,6 +257,7 @@ export {
|
|
|
254
257
|
FieldErrorWrapper,
|
|
255
258
|
FileIcon,
|
|
256
259
|
Flex,
|
|
260
|
+
Form,
|
|
257
261
|
GearIcon,
|
|
258
262
|
Grid,
|
|
259
263
|
Heading,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DatePicker
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-HUS5VLHS.js";
|
|
4
|
+
import "../../chunk-25HMMI7R.js";
|
|
4
5
|
import "../../chunk-HLOY6BIP.js";
|
|
5
6
|
import "../../chunk-O3DNDMV3.js";
|
|
6
|
-
import "../../chunk-25HMMI7R.js";
|
|
7
7
|
import "../../chunk-4UZQXJQO.js";
|
|
8
8
|
import "../../chunk-N552FDTV.js";
|
|
9
9
|
export {
|
|
@@ -64,7 +64,7 @@ __export(expand_table_exports, {
|
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(expand_table_exports);
|
|
66
66
|
var import_react_table2 = require("@tanstack/react-table");
|
|
67
|
-
var
|
|
67
|
+
var import_react14 = require("react");
|
|
68
68
|
|
|
69
69
|
// src/atoms/alert-dialog.tsx
|
|
70
70
|
var import_themes = require("@radix-ui/themes");
|
|
@@ -406,13 +406,74 @@ var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
|
406
406
|
// src/atoms/drawer.tsx
|
|
407
407
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
408
408
|
|
|
409
|
+
// src/atoms/form.tsx
|
|
410
|
+
var RadixForm = __toESM(require("@radix-ui/react-form"), 1);
|
|
411
|
+
var import_react12 = require("react");
|
|
412
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
413
|
+
var Root4 = (0, import_react12.forwardRef)(
|
|
414
|
+
(_a, ref) => {
|
|
415
|
+
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
416
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
417
|
+
RadixForm.Root,
|
|
418
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
419
|
+
className: `FormRoot ${className || ""}`,
|
|
420
|
+
ref,
|
|
421
|
+
children
|
|
422
|
+
})
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
);
|
|
426
|
+
Root4.displayName = "FORM_ROOT";
|
|
427
|
+
var Field2 = (0, import_react12.forwardRef)(
|
|
428
|
+
(_a, ref) => {
|
|
429
|
+
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
430
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
431
|
+
RadixForm.Field,
|
|
432
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
433
|
+
className: `FormField ${className || ""}`,
|
|
434
|
+
ref,
|
|
435
|
+
children
|
|
436
|
+
})
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
);
|
|
440
|
+
Field2.displayName = "FORM_FIELD";
|
|
441
|
+
var Label2 = (0, import_react12.forwardRef)(
|
|
442
|
+
(_a, ref) => {
|
|
443
|
+
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
444
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
445
|
+
RadixForm.Label,
|
|
446
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
447
|
+
className: `FormLabel ${className || ""}`,
|
|
448
|
+
ref,
|
|
449
|
+
children
|
|
450
|
+
})
|
|
451
|
+
);
|
|
452
|
+
}
|
|
453
|
+
);
|
|
454
|
+
Label2.displayName = "FORM_Label";
|
|
455
|
+
var Message2 = (0, import_react12.forwardRef)(
|
|
456
|
+
(_a, ref) => {
|
|
457
|
+
var _b = _a, { children, className } = _b, rest = __objRest(_b, ["children", "className"]);
|
|
458
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
459
|
+
RadixForm.Message,
|
|
460
|
+
__spreadProps(__spreadValues({}, rest), {
|
|
461
|
+
className: `FormMessage ${className || ""}`,
|
|
462
|
+
ref,
|
|
463
|
+
children
|
|
464
|
+
})
|
|
465
|
+
);
|
|
466
|
+
}
|
|
467
|
+
);
|
|
468
|
+
Message2.displayName = "FORM_Message";
|
|
469
|
+
|
|
409
470
|
// src/icons/down.tsx
|
|
410
471
|
var React7 = __toESM(require("react"), 1);
|
|
411
|
-
var
|
|
472
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
412
473
|
var TriangleArrowDownIcon = React7.forwardRef(
|
|
413
474
|
(_a, forwardedRef) => {
|
|
414
475
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
415
|
-
return /* @__PURE__ */ (0,
|
|
476
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
416
477
|
"svg",
|
|
417
478
|
__spreadProps(__spreadValues({
|
|
418
479
|
fill: "none",
|
|
@@ -422,7 +483,7 @@ var TriangleArrowDownIcon = React7.forwardRef(
|
|
|
422
483
|
xmlns: "http://www.w3.org/2000/svg"
|
|
423
484
|
}, props), {
|
|
424
485
|
ref: forwardedRef,
|
|
425
|
-
children: /* @__PURE__ */ (0,
|
|
486
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
426
487
|
"path",
|
|
427
488
|
{
|
|
428
489
|
d: "M7.10844 0.8125H0.891554C0.197392 0.8125 -0.177096 1.62672 0.274659 2.15377L3.3831 5.78029C3.70737 6.1586 4.29263 6.1586 4.6169 5.78029L7.72534 2.15377C8.1771 1.62672 7.80261 0.8125 7.10844 0.8125Z",
|
|
@@ -437,11 +498,11 @@ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
|
437
498
|
|
|
438
499
|
// src/icons/up.tsx
|
|
439
500
|
var React8 = __toESM(require("react"), 1);
|
|
440
|
-
var
|
|
501
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
441
502
|
var TriangleArrowUpIcon = React8.forwardRef(
|
|
442
503
|
(_a, forwardedRef) => {
|
|
443
504
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
444
|
-
return /* @__PURE__ */ (0,
|
|
505
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
445
506
|
"svg",
|
|
446
507
|
__spreadProps(__spreadValues({
|
|
447
508
|
fill: "none",
|
|
@@ -451,7 +512,7 @@ var TriangleArrowUpIcon = React8.forwardRef(
|
|
|
451
512
|
xmlns: "http://www.w3.org/2000/svg"
|
|
452
513
|
}, props), {
|
|
453
514
|
ref: forwardedRef,
|
|
454
|
-
children: /* @__PURE__ */ (0,
|
|
515
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
455
516
|
"path",
|
|
456
517
|
{
|
|
457
518
|
d: "M0.891555 6.1875L7.10845 6.1875C7.80261 6.1875 8.1771 5.37328 7.72534 4.84623L4.6169 1.21971C4.29263 0.841403 3.70737 0.841403 3.3831 1.21971L0.274659 4.84623C-0.177095 5.37328 0.197393 6.1875 0.891555 6.1875Z",
|
|
@@ -466,22 +527,22 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
|
466
527
|
|
|
467
528
|
// src/molecules/expand-table/row.tsx
|
|
468
529
|
var import_react_table = require("@tanstack/react-table");
|
|
469
|
-
var
|
|
470
|
-
var
|
|
530
|
+
var import_react13 = require("react");
|
|
531
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
471
532
|
function Row(props) {
|
|
472
533
|
const { row, ExpandComp, gridColTemp } = props;
|
|
473
|
-
const [open, setOpen] = (0,
|
|
474
|
-
const onClickRow = (0,
|
|
534
|
+
const [open, setOpen] = (0, import_react13.useState)(false);
|
|
535
|
+
const onClickRow = (0, import_react13.useCallback)(() => {
|
|
475
536
|
var _a;
|
|
476
537
|
(_a = props.onRowClick) == null ? void 0 : _a.call(props, row.original);
|
|
477
538
|
setOpen((prev) => !prev);
|
|
478
539
|
}, [props, row.original]);
|
|
479
|
-
return /* @__PURE__ */ (0,
|
|
540
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
480
541
|
"div",
|
|
481
542
|
{
|
|
482
543
|
className: `tr-wrapper ${ExpandComp ? "expandable" : ""}`,
|
|
483
544
|
children: [
|
|
484
|
-
/* @__PURE__ */ (0,
|
|
545
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
485
546
|
"button",
|
|
486
547
|
{
|
|
487
548
|
className: "tr",
|
|
@@ -491,7 +552,7 @@ function Row(props) {
|
|
|
491
552
|
children: row.getVisibleCells().map((cell) => {
|
|
492
553
|
var _a, _b;
|
|
493
554
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
494
|
-
return /* @__PURE__ */ (0,
|
|
555
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
495
556
|
"div",
|
|
496
557
|
{
|
|
497
558
|
className: "td",
|
|
@@ -501,7 +562,7 @@ function Row(props) {
|
|
|
501
562
|
},
|
|
502
563
|
children: [
|
|
503
564
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
504
|
-
((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0,
|
|
565
|
+
((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
505
566
|
cell.column.columnDef.meta.OpenBtn,
|
|
506
567
|
{
|
|
507
568
|
data: row.original,
|
|
@@ -517,7 +578,7 @@ function Row(props) {
|
|
|
517
578
|
},
|
|
518
579
|
`tr_${row.id}`
|
|
519
580
|
),
|
|
520
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
581
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(ExpandComp, { row }) }) }) : null
|
|
521
582
|
]
|
|
522
583
|
},
|
|
523
584
|
`tr-wrapper_${row.id}`
|
|
@@ -525,10 +586,10 @@ function Row(props) {
|
|
|
525
586
|
}
|
|
526
587
|
|
|
527
588
|
// src/molecules/expand-table/index.tsx
|
|
528
|
-
var
|
|
589
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
529
590
|
function ExpandTable(props) {
|
|
530
591
|
const { data, columns, ExpandComp, placeholder, onRowClick } = props;
|
|
531
|
-
const [sorting, setSorting] = (0,
|
|
592
|
+
const [sorting, setSorting] = (0, import_react14.useState)([]);
|
|
532
593
|
const { getRowModel, getHeaderGroups } = (0, import_react_table2.useReactTable)({
|
|
533
594
|
data: data || [],
|
|
534
595
|
columns,
|
|
@@ -539,7 +600,7 @@ function ExpandTable(props) {
|
|
|
539
600
|
},
|
|
540
601
|
onSortingChange: setSorting
|
|
541
602
|
});
|
|
542
|
-
const gridColTemp = (0,
|
|
603
|
+
const gridColTemp = (0, import_react14.useMemo)(() => {
|
|
543
604
|
return columns.map((col) => {
|
|
544
605
|
var _a;
|
|
545
606
|
if ((_a = col.meta) == null ? void 0 : _a.autoSize)
|
|
@@ -548,8 +609,8 @@ function ExpandTable(props) {
|
|
|
548
609
|
}).join(" ");
|
|
549
610
|
}, [columns]);
|
|
550
611
|
const rowModels = getRowModel();
|
|
551
|
-
return /* @__PURE__ */ (0,
|
|
552
|
-
/* @__PURE__ */ (0,
|
|
612
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "expand-table", children: [
|
|
613
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
553
614
|
"div",
|
|
554
615
|
{
|
|
555
616
|
className: "tr",
|
|
@@ -557,30 +618,30 @@ function ExpandTable(props) {
|
|
|
557
618
|
children: headerGroup.headers.map((header) => {
|
|
558
619
|
const sortable = header.column.getCanSort();
|
|
559
620
|
const sortedState = header.column.getIsSorted();
|
|
560
|
-
return /* @__PURE__ */ (0,
|
|
621
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
561
622
|
"button",
|
|
562
623
|
{
|
|
563
624
|
onClick: header.column.getToggleSortingHandler(),
|
|
564
625
|
style: sortable ? { cursor: "pointer" } : void 0,
|
|
565
626
|
type: "button",
|
|
566
627
|
children: [
|
|
567
|
-
/* @__PURE__ */ (0,
|
|
628
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
|
|
568
629
|
header.column.columnDef.header,
|
|
569
630
|
header.getContext()
|
|
570
631
|
) }),
|
|
571
|
-
sortable ? /* @__PURE__ */ (0,
|
|
632
|
+
sortable ? /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
572
633
|
import_themes19.Flex,
|
|
573
634
|
{
|
|
574
635
|
direction: "column",
|
|
575
636
|
style: { marginLeft: "var(--space-2)" },
|
|
576
637
|
children: [
|
|
577
|
-
/* @__PURE__ */ (0,
|
|
638
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
578
639
|
TriangleArrowUpIcon,
|
|
579
640
|
{
|
|
580
641
|
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
581
642
|
}
|
|
582
643
|
),
|
|
583
|
-
/* @__PURE__ */ (0,
|
|
644
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
584
645
|
TriangleArrowDownIcon,
|
|
585
646
|
{
|
|
586
647
|
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
@@ -596,10 +657,10 @@ function ExpandTable(props) {
|
|
|
596
657
|
},
|
|
597
658
|
headerGroup.id
|
|
598
659
|
)) }),
|
|
599
|
-
/* @__PURE__ */ (0,
|
|
600
|
-
rowModels.rows.length === 0 && /* @__PURE__ */ (0,
|
|
660
|
+
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("div", { className: "tbody", children: [
|
|
661
|
+
rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
|
|
601
662
|
rowModels.rows.map((row) => {
|
|
602
|
-
return /* @__PURE__ */ (0,
|
|
663
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
603
664
|
Row,
|
|
604
665
|
{
|
|
605
666
|
ExpandComp,
|