@tipp/ui 1.0.10 → 1.0.11
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/drawer.cjs +100 -0
- package/dist/atoms/drawer.cjs.map +1 -0
- package/dist/atoms/drawer.d.cts +20 -0
- package/dist/atoms/drawer.d.ts +20 -0
- package/dist/atoms/drawer.js +14 -0
- package/dist/atoms/index.cjs +38 -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 +68 -58
- package/dist/atoms/pagination.js +2 -2
- package/dist/chunk-3ZUBNWIB.js +43 -0
- package/dist/chunk-3ZUBNWIB.js.map +1 -0
- package/dist/chunk-7WNX674B.js +42 -0
- package/dist/chunk-7WNX674B.js.map +1 -0
- package/dist/chunk-AAXOSNY3.js +41 -0
- package/dist/chunk-AAXOSNY3.js.map +1 -0
- package/dist/chunk-AGMMAML3.js +1 -0
- package/dist/chunk-D6MXCND3.js +33 -0
- package/dist/chunk-D6MXCND3.js.map +1 -0
- package/dist/chunk-HVTHVIGL.js +38 -0
- package/dist/chunk-HVTHVIGL.js.map +1 -0
- package/dist/chunk-LW3VKJJS.js +33 -0
- package/dist/chunk-LW3VKJJS.js.map +1 -0
- package/dist/chunk-O5IB6OHB.js +41 -0
- package/dist/chunk-O5IB6OHB.js.map +1 -0
- package/dist/chunk-TPTFBY6E.js +40 -0
- package/dist/chunk-TPTFBY6E.js.map +1 -0
- package/dist/chunk-VRFAOMNZ.js +33 -0
- package/dist/chunk-VRFAOMNZ.js.map +1 -0
- package/dist/chunk-WJY4BPLR.js +43 -0
- package/dist/chunk-WJY4BPLR.js.map +1 -0
- package/dist/chunk-YQQVYFIL.js +37 -0
- package/dist/chunk-YQQVYFIL.js.map +1 -0
- package/dist/chunk-ZRCRQ7IC.js +42 -0
- package/dist/chunk-ZRCRQ7IC.js.map +1 -0
- package/dist/index.cjs +69 -31
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +77 -0
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +73 -63
- package/dist/molecules/expand-table/index.cjs +27 -23
- package/dist/molecules/expand-table/index.cjs.map +1 -1
- package/dist/molecules/expand-table/index.js +28 -27
- package/dist/molecules/expand-table/row.cjs +10 -6
- package/dist/molecules/expand-table/row.cjs.map +1 -1
- package/dist/molecules/expand-table/row.js +26 -25
- package/dist/molecules/index.cjs +33 -29
- package/dist/molecules/index.cjs.map +1 -1
- package/dist/molecules/index.js +31 -30
- package/dist/molecules/navigation.cjs +10 -6
- package/dist/molecules/navigation.cjs.map +1 -1
- package/dist/molecules/navigation.js +26 -25
- package/package.json +4 -3
- package/src/atoms/drawer.tsx +37 -0
- package/src/atoms/index.ts +1 -1
- package/dist/chart/chart.cjs +0 -227
- package/dist/chart/chart.cjs.map +0 -1
- package/dist/chart/chart.d.cts +0 -179
- package/dist/chart/chart.d.ts +0 -179
- package/dist/chart/chart.js +0 -179
- package/dist/chart/chart.js.map +0 -1
- package/dist/charts/vertical-bar-chart.cjs +0 -48
- package/dist/charts/vertical-bar-chart.cjs.map +0 -1
- package/dist/charts/vertical-bar-chart.d.cts +0 -17
- package/dist/charts/vertical-bar-chart.d.ts +0 -17
- package/dist/charts/vertical-bar-chart.js +0 -8
- package/dist/chunk-2A2IJOVV.js +0 -60
- package/dist/chunk-2A2IJOVV.js.map +0 -1
- package/dist/chunk-2JZ3UQAX.js +0 -48
- package/dist/chunk-2JZ3UQAX.js.map +0 -1
- package/dist/chunk-2KZSNTY7.js +0 -23
- package/dist/chunk-2KZSNTY7.js.map +0 -1
- package/dist/chunk-2QZV2WKV.js +0 -42
- package/dist/chunk-2QZV2WKV.js.map +0 -1
- package/dist/chunk-2RMZJS2O.js +0 -59
- package/dist/chunk-2RMZJS2O.js.map +0 -1
- package/dist/chunk-2TGD62PR.js +0 -59
- package/dist/chunk-2TGD62PR.js.map +0 -1
- package/dist/chunk-3427FUJN.js +0 -46
- package/dist/chunk-3427FUJN.js.map +0 -1
- package/dist/chunk-34P2PUMC.js +0 -60
- package/dist/chunk-34P2PUMC.js.map +0 -1
- package/dist/chunk-3I5CDBFN.js +0 -104
- package/dist/chunk-3I5CDBFN.js.map +0 -1
- package/dist/chunk-3K6GFBJT.js +0 -57
- package/dist/chunk-3K6GFBJT.js.map +0 -1
- package/dist/chunk-3KIARYD6.js +0 -47
- package/dist/chunk-3KIARYD6.js.map +0 -1
- package/dist/chunk-4RIBUNMS.js +0 -49
- package/dist/chunk-4RIBUNMS.js.map +0 -1
- package/dist/chunk-4ZQHR3JI.js +0 -47
- package/dist/chunk-4ZQHR3JI.js.map +0 -1
- package/dist/chunk-5JXZUWR3.js +0 -104
- package/dist/chunk-5JXZUWR3.js.map +0 -1
- package/dist/chunk-6BXAZV7N.js +0 -63
- package/dist/chunk-6BXAZV7N.js.map +0 -1
- package/dist/chunk-6GHADQAU.js +0 -59
- package/dist/chunk-6GHADQAU.js.map +0 -1
- package/dist/chunk-6SGXBZAF.js +0 -62
- package/dist/chunk-6SGXBZAF.js.map +0 -1
- package/dist/chunk-6XHVFBFO.js +0 -38
- package/dist/chunk-6XHVFBFO.js.map +0 -1
- package/dist/chunk-6ZEM4FBF.js +0 -64
- package/dist/chunk-6ZEM4FBF.js.map +0 -1
- package/dist/chunk-754LMJ5L.js +0 -48
- package/dist/chunk-754LMJ5L.js.map +0 -1
- package/dist/chunk-7QVMAHXH.js +0 -24
- package/dist/chunk-7QVMAHXH.js.map +0 -1
- package/dist/chunk-7VCJMEPY.js +0 -60
- package/dist/chunk-7VCJMEPY.js.map +0 -1
- package/dist/chunk-AD4LGJER.js +0 -60
- package/dist/chunk-AD4LGJER.js.map +0 -1
- package/dist/chunk-ALP5524J.js +0 -55
- package/dist/chunk-ALP5524J.js.map +0 -1
- package/dist/chunk-AS6NXGBN.js +0 -59
- package/dist/chunk-AS6NXGBN.js.map +0 -1
- package/dist/chunk-AVOCFCEQ.js +0 -181
- package/dist/chunk-AVOCFCEQ.js.map +0 -1
- package/dist/chunk-AXM27M2R.js +0 -43
- package/dist/chunk-AXM27M2R.js.map +0 -1
- package/dist/chunk-B7R4QL7D.js +0 -55
- package/dist/chunk-B7R4QL7D.js.map +0 -1
- package/dist/chunk-BH2MBAAY.js +0 -59
- package/dist/chunk-BH2MBAAY.js.map +0 -1
- package/dist/chunk-C5QSBSVB.js +0 -59
- package/dist/chunk-C5QSBSVB.js.map +0 -1
- package/dist/chunk-C7BS7VPF.js +0 -46
- package/dist/chunk-C7BS7VPF.js.map +0 -1
- package/dist/chunk-CC3GT7LT.js +0 -53
- package/dist/chunk-CC3GT7LT.js.map +0 -1
- package/dist/chunk-CCZSZZTS.js +0 -25
- package/dist/chunk-CCZSZZTS.js.map +0 -1
- package/dist/chunk-CMPIGFPT.js +0 -60
- package/dist/chunk-CMPIGFPT.js.map +0 -1
- package/dist/chunk-CMWPUK3L.js +0 -10
- package/dist/chunk-CMWPUK3L.js.map +0 -1
- package/dist/chunk-CODQBUIC.js +0 -59
- package/dist/chunk-CODQBUIC.js.map +0 -1
- package/dist/chunk-CT7PHRXQ.js +0 -57
- package/dist/chunk-CT7PHRXQ.js.map +0 -1
- package/dist/chunk-CVOLVQKD.js +0 -60
- package/dist/chunk-CVOLVQKD.js.map +0 -1
- package/dist/chunk-CXFAL52D.js +0 -60
- package/dist/chunk-CXFAL52D.js.map +0 -1
- package/dist/chunk-E6EPYWFL.js +0 -53
- package/dist/chunk-E6EPYWFL.js.map +0 -1
- package/dist/chunk-EJWIO6NJ.js +0 -104
- package/dist/chunk-EJWIO6NJ.js.map +0 -1
- package/dist/chunk-EM57H7XC.js +0 -48
- package/dist/chunk-EM57H7XC.js.map +0 -1
- package/dist/chunk-EUS56L3L.js +0 -180
- package/dist/chunk-EUS56L3L.js.map +0 -1
- package/dist/chunk-FFC2C2ID.js +0 -1
- package/dist/chunk-FHXW7BLD.js +0 -61
- package/dist/chunk-FHXW7BLD.js.map +0 -1
- package/dist/chunk-FVSPOU5C.js +0 -48
- package/dist/chunk-FVSPOU5C.js.map +0 -1
- package/dist/chunk-FVU2BOJV.js +0 -54
- package/dist/chunk-FVU2BOJV.js.map +0 -1
- package/dist/chunk-GKHTWD7W.js +0 -24
- package/dist/chunk-GKHTWD7W.js.map +0 -1
- package/dist/chunk-GOKKEO23.js +0 -53
- package/dist/chunk-GOKKEO23.js.map +0 -1
- package/dist/chunk-GTDVFQVW.js +0 -28
- package/dist/chunk-GTDVFQVW.js.map +0 -1
- package/dist/chunk-GUTTFFCR.js +0 -36
- package/dist/chunk-GUTTFFCR.js.map +0 -1
- package/dist/chunk-GZG4UOJZ.js +0 -43
- package/dist/chunk-GZG4UOJZ.js.map +0 -1
- package/dist/chunk-GZHSO6CW.js +0 -36
- package/dist/chunk-GZHSO6CW.js.map +0 -1
- package/dist/chunk-GZYKC7MR.js +0 -119
- package/dist/chunk-GZYKC7MR.js.map +0 -1
- package/dist/chunk-H2TF3WTO.js +0 -55
- package/dist/chunk-H2TF3WTO.js.map +0 -1
- package/dist/chunk-HE3XMGS3.js +0 -25
- package/dist/chunk-HE3XMGS3.js.map +0 -1
- package/dist/chunk-HR3KN5AE.js +0 -39
- package/dist/chunk-HR3KN5AE.js.map +0 -1
- package/dist/chunk-HRQSHRGQ.js +0 -59
- package/dist/chunk-HRQSHRGQ.js.map +0 -1
- package/dist/chunk-HVMWNAXK.js +0 -60
- package/dist/chunk-HVMWNAXK.js.map +0 -1
- package/dist/chunk-I3ZZQ6QJ.js +0 -34
- package/dist/chunk-I3ZZQ6QJ.js.map +0 -1
- package/dist/chunk-I6D4HPRN.js +0 -60
- package/dist/chunk-I6D4HPRN.js.map +0 -1
- package/dist/chunk-I7YPDRXO.js +0 -62
- package/dist/chunk-I7YPDRXO.js.map +0 -1
- package/dist/chunk-IUZOBUV4.js +0 -57
- package/dist/chunk-IUZOBUV4.js.map +0 -1
- package/dist/chunk-J57DESXI.js +0 -55
- package/dist/chunk-J57DESXI.js.map +0 -1
- package/dist/chunk-JL6FCZV4.js +0 -55
- package/dist/chunk-JL6FCZV4.js.map +0 -1
- package/dist/chunk-JU534UAV.js +0 -57
- package/dist/chunk-JU534UAV.js.map +0 -1
- package/dist/chunk-K66WIGIV.js +0 -119
- package/dist/chunk-K66WIGIV.js.map +0 -1
- package/dist/chunk-KACFRYIH.js +0 -23
- package/dist/chunk-KACFRYIH.js.map +0 -1
- package/dist/chunk-KATXJW5H.js +0 -23
- package/dist/chunk-KATXJW5H.js.map +0 -1
- package/dist/chunk-KFAG5R3H.js +0 -64
- package/dist/chunk-KFAG5R3H.js.map +0 -1
- package/dist/chunk-KGN7AVRJ.js +0 -45
- package/dist/chunk-KGN7AVRJ.js.map +0 -1
- package/dist/chunk-KHHXN3CH.js +0 -1
- package/dist/chunk-KHHXN3CH.js.map +0 -1
- package/dist/chunk-KXJM7U4I.js +0 -47
- package/dist/chunk-KXJM7U4I.js.map +0 -1
- package/dist/chunk-L6YPLUNG.js +0 -104
- package/dist/chunk-L6YPLUNG.js.map +0 -1
- package/dist/chunk-LA6FLXGE.js +0 -47
- package/dist/chunk-LA6FLXGE.js.map +0 -1
- package/dist/chunk-LCC3I3PQ.js +0 -24
- package/dist/chunk-LCC3I3PQ.js.map +0 -1
- package/dist/chunk-LUVANORR.js +0 -23
- package/dist/chunk-LUVANORR.js.map +0 -1
- package/dist/chunk-LV4WSOXL.js +0 -39
- package/dist/chunk-LV4WSOXL.js.map +0 -1
- package/dist/chunk-MASTHXWN.js +0 -1
- package/dist/chunk-MASTHXWN.js.map +0 -1
- package/dist/chunk-MHHNZIVQ.js +0 -57
- package/dist/chunk-MHHNZIVQ.js.map +0 -1
- package/dist/chunk-MMAV5BRZ.js +0 -31
- package/dist/chunk-MMAV5BRZ.js.map +0 -1
- package/dist/chunk-N46QE3KW.js +0 -55
- package/dist/chunk-N46QE3KW.js.map +0 -1
- package/dist/chunk-NFGNQEVV.js +0 -46
- package/dist/chunk-NFGNQEVV.js.map +0 -1
- package/dist/chunk-NK7W7F66.js +0 -54
- package/dist/chunk-NK7W7F66.js.map +0 -1
- package/dist/chunk-NMIT4GNJ.js +0 -57
- package/dist/chunk-NMIT4GNJ.js.map +0 -1
- package/dist/chunk-NUM4Y5VM.js +0 -54
- package/dist/chunk-NUM4Y5VM.js.map +0 -1
- package/dist/chunk-NX5QD74I.js +0 -56
- package/dist/chunk-NX5QD74I.js.map +0 -1
- package/dist/chunk-O4GMX5TL.js +0 -55
- package/dist/chunk-O4GMX5TL.js.map +0 -1
- package/dist/chunk-O6P7IWJP.js +0 -54
- package/dist/chunk-O6P7IWJP.js.map +0 -1
- package/dist/chunk-OJ5XUBZN.js +0 -46
- package/dist/chunk-OJ5XUBZN.js.map +0 -1
- package/dist/chunk-OYWM35R6.js +0 -56
- package/dist/chunk-OYWM35R6.js.map +0 -1
- package/dist/chunk-OZLC6KYP.js +0 -104
- package/dist/chunk-OZLC6KYP.js.map +0 -1
- package/dist/chunk-P2VKIZ3M.js +0 -18
- package/dist/chunk-P2VKIZ3M.js.map +0 -1
- package/dist/chunk-P66OQ4ZQ.js +0 -104
- package/dist/chunk-P66OQ4ZQ.js.map +0 -1
- package/dist/chunk-PLG3AXHM.js +0 -59
- package/dist/chunk-PLG3AXHM.js.map +0 -1
- package/dist/chunk-PQBIBUGH.js +0 -10
- package/dist/chunk-PQBIBUGH.js.map +0 -1
- package/dist/chunk-PQBRLX37.js +0 -48
- package/dist/chunk-PQBRLX37.js.map +0 -1
- package/dist/chunk-QIKFIRGO.js +0 -59
- package/dist/chunk-QIKFIRGO.js.map +0 -1
- package/dist/chunk-QTHWYUYP.js +0 -28
- package/dist/chunk-QTHWYUYP.js.map +0 -1
- package/dist/chunk-RAJAKQXU.js +0 -59
- package/dist/chunk-RAJAKQXU.js.map +0 -1
- package/dist/chunk-RET725VL.js +0 -36
- package/dist/chunk-RET725VL.js.map +0 -1
- package/dist/chunk-RNB2T5NJ.js +0 -48
- package/dist/chunk-RNB2T5NJ.js.map +0 -1
- package/dist/chunk-RYUIQBUD.js +0 -59
- package/dist/chunk-RYUIQBUD.js.map +0 -1
- package/dist/chunk-SDAJ6NLJ.js +0 -24
- package/dist/chunk-SDAJ6NLJ.js.map +0 -1
- package/dist/chunk-SKDEOPP2.js +0 -54
- package/dist/chunk-SKDEOPP2.js.map +0 -1
- package/dist/chunk-SONXRHVK.js +0 -58
- package/dist/chunk-SONXRHVK.js.map +0 -1
- package/dist/chunk-SQ5HD7LD.js +0 -1
- package/dist/chunk-SQ5HD7LD.js.map +0 -1
- package/dist/chunk-TBXRPM4O.js +0 -59
- package/dist/chunk-TBXRPM4O.js.map +0 -1
- package/dist/chunk-TG7PURWS.js +0 -18
- package/dist/chunk-TG7PURWS.js.map +0 -1
- package/dist/chunk-TJGELI4L.js +0 -53
- package/dist/chunk-TJGELI4L.js.map +0 -1
- package/dist/chunk-TVJ4Z7MD.js +0 -46
- package/dist/chunk-TVJ4Z7MD.js.map +0 -1
- package/dist/chunk-U25HB5E7.js +0 -59
- package/dist/chunk-U25HB5E7.js.map +0 -1
- package/dist/chunk-UCEASXHW.js +0 -47
- package/dist/chunk-UCEASXHW.js.map +0 -1
- package/dist/chunk-UGSJR77F.js +0 -48
- package/dist/chunk-UGSJR77F.js.map +0 -1
- package/dist/chunk-UQPA2QGC.js +0 -45
- package/dist/chunk-UQPA2QGC.js.map +0 -1
- package/dist/chunk-V2AYMNSS.js +0 -46
- package/dist/chunk-V2AYMNSS.js.map +0 -1
- package/dist/chunk-V6KPBGB3.js +0 -57
- package/dist/chunk-V6KPBGB3.js.map +0 -1
- package/dist/chunk-V7JYNIVJ.js +0 -39
- package/dist/chunk-V7JYNIVJ.js.map +0 -1
- package/dist/chunk-VC2TT56B.js +0 -46
- package/dist/chunk-VC2TT56B.js.map +0 -1
- package/dist/chunk-VCOQG6JF.js +0 -119
- package/dist/chunk-VCOQG6JF.js.map +0 -1
- package/dist/chunk-VJCKB4FI.js +0 -182
- package/dist/chunk-VJCKB4FI.js.map +0 -1
- package/dist/chunk-VOR32EFU.js +0 -59
- package/dist/chunk-VOR32EFU.js.map +0 -1
- package/dist/chunk-W6Z2XJJ2.js +0 -45
- package/dist/chunk-W6Z2XJJ2.js.map +0 -1
- package/dist/chunk-WG7AQQRT.js +0 -59
- package/dist/chunk-WG7AQQRT.js.map +0 -1
- package/dist/chunk-WMBDJ72B.js +0 -25
- package/dist/chunk-WMBDJ72B.js.map +0 -1
- package/dist/chunk-WWCWPFEJ.js +0 -1
- package/dist/chunk-WWCWPFEJ.js.map +0 -1
- package/dist/chunk-WZZEI2W4.js +0 -59
- package/dist/chunk-WZZEI2W4.js.map +0 -1
- package/dist/chunk-XBXAWQOH.js +0 -43
- package/dist/chunk-XBXAWQOH.js.map +0 -1
- package/dist/chunk-XDCANCKF.js +0 -59
- package/dist/chunk-XDCANCKF.js.map +0 -1
- package/dist/chunk-XQOQ65MA.js +0 -57
- package/dist/chunk-XQOQ65MA.js.map +0 -1
- package/dist/chunk-YBFIP7FD.js +0 -119
- package/dist/chunk-YBFIP7FD.js.map +0 -1
- package/dist/chunk-YGS4JU4E.js +0 -60
- package/dist/chunk-YGS4JU4E.js.map +0 -1
- package/dist/chunk-YKEXHUPR.js +0 -48
- package/dist/chunk-YKEXHUPR.js.map +0 -1
- package/dist/chunk-ZY2OMVQQ.js +0 -119
- package/dist/chunk-ZY2OMVQQ.js.map +0 -1
- package/dist/molecules/company-selector.cjs +0 -406
- package/dist/molecules/company-selector.cjs.map +0 -1
- package/dist/molecules/company-selector.d.cts +0 -11
- package/dist/molecules/company-selector.d.ts +0 -11
- package/dist/molecules/company-selector.js +0 -62
- package/dist/molecules/company-selector.js.map +0 -1
- /package/dist/{charts/vertical-bar-chart.js.map → atoms/drawer.js.map} +0 -0
- /package/dist/{chunk-FFC2C2ID.js.map → chunk-AGMMAML3.js.map} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadProps,
|
|
4
|
+
__spreadValues
|
|
5
|
+
} from "./chunk-N552FDTV.js";
|
|
6
|
+
|
|
7
|
+
// src/atoms/drawer.tsx
|
|
8
|
+
import * as Dialog from "@radix-ui/react-dialog";
|
|
9
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
+
function Root2(props) {
|
|
11
|
+
return /* @__PURE__ */ jsx(Dialog.Root, __spreadValues({}, props));
|
|
12
|
+
}
|
|
13
|
+
function Content2(props) {
|
|
14
|
+
const _a = props, { position = "left", className } = _a, rest = __objRest(_a, ["position", "className"]);
|
|
15
|
+
return /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
|
|
16
|
+
/* @__PURE__ */ jsx(Dialog.Overlay, { className: "DrawerOverlay" }),
|
|
17
|
+
/* @__PURE__ */ jsx(
|
|
18
|
+
Dialog.Content,
|
|
19
|
+
__spreadProps(__spreadValues({}, props), {
|
|
20
|
+
className: `DrawerContent ${position} ${className || ""}`
|
|
21
|
+
})
|
|
22
|
+
)
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
function Trigger2(props) {
|
|
26
|
+
return /* @__PURE__ */ jsx(Dialog.Trigger, __spreadValues({ asChild: true }, props));
|
|
27
|
+
}
|
|
28
|
+
var Drawer = {
|
|
29
|
+
Root: Dialog.Root,
|
|
30
|
+
Trigger: Trigger2,
|
|
31
|
+
Content: Content2,
|
|
32
|
+
Close: Dialog.Close,
|
|
33
|
+
Title: Dialog.Title,
|
|
34
|
+
Description: Dialog.Description
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
Root2 as Root,
|
|
39
|
+
Content2 as Content,
|
|
40
|
+
Trigger2 as Trigger,
|
|
41
|
+
Drawer
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=chunk-WJY4BPLR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/atoms/drawer.tsx"],"sourcesContent":["import React from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\n\nexport function Root(props: Dialog.DialogProps): React.ReactNode {\n return <Dialog.Root {...props} />;\n}\n\ntype ContentProps = Dialog.DialogContentProps & {\n /** Drawer가 붙는 위치, 기본값 right */\n position?: 'left' | 'right' | 'bottom' | 'top';\n};\n\nexport function Content(props: ContentProps): React.ReactNode {\n const { position = 'left', className, ...rest } = props;\n return (\n <Dialog.Portal>\n <Dialog.Overlay className=\"DrawerOverlay\" />\n <Dialog.Content\n {...props}\n className={`DrawerContent ${position} ${className || ''}`}\n />\n </Dialog.Portal>\n );\n}\n\nexport function Trigger(props: Dialog.DialogTriggerProps): React.ReactNode {\n return <Dialog.Trigger asChild {...props} />;\n}\n\nexport const Drawer = {\n Root: Dialog.Root,\n Trigger,\n Content,\n Close: Dialog.Close,\n Title: Dialog.Title,\n Description: Dialog.Description,\n};\n"],"mappings":";;;;;;;AACA,YAAY,YAAY;AAGf,cAWL,YAXK;AADF,SAASA,MAAK,OAA4C;AAC/D,SAAO,oBAAQ,aAAP,mBAAgB,MAAO;AACjC;AAOO,SAASC,SAAQ,OAAsC;AAC5D,QAAkD,YAA1C,aAAW,QAAQ,UAb7B,IAaoD,IAAT,iBAAS,IAAT,CAAjC,YAAmB;AAC3B,SACE,qBAAQ,eAAP,EACC;AAAA,wBAAQ,gBAAP,EAAe,WAAU,iBAAgB;AAAA,IAC1C;AAAA,MAAQ;AAAA,MAAP,iCACK,QADL;AAAA,QAEC,WAAW,iBAAiB,QAAQ,IAAI,aAAa,EAAE;AAAA;AAAA,IACzD;AAAA,KACF;AAEJ;AAEO,SAASC,SAAQ,OAAmD;AACzE,SAAO,oBAAQ,gBAAP,iBAAe,SAAO,QAAK,MAAO;AAC5C;AAEO,IAAM,SAAS;AAAA,EACpB,MAAa;AAAA,EACb,SAAAA;AAAA,EACA,SAAAD;AAAA,EACA,OAAc;AAAA,EACd,OAAc;AAAA,EACd,aAAoB;AACtB;","names":["Root","Content","Trigger"]}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__spreadProps,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "./chunk-N552FDTV.js";
|
|
5
|
+
|
|
6
|
+
// src/atoms/drawer.tsx
|
|
7
|
+
import * as Dialog from "@radix-ui/react-dialog";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
function Root2(props) {
|
|
10
|
+
return /* @__PURE__ */ jsx(Dialog.Root, __spreadValues({}, props));
|
|
11
|
+
}
|
|
12
|
+
function Content2(props) {
|
|
13
|
+
return /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
|
|
14
|
+
/* @__PURE__ */ jsx(Dialog.Overlay, { className: "DrawerOverlay" }),
|
|
15
|
+
/* @__PURE__ */ jsx(
|
|
16
|
+
Dialog.Content,
|
|
17
|
+
__spreadProps(__spreadValues({}, props), {
|
|
18
|
+
className: `DrawerContent ${props.position} ${props.className}`
|
|
19
|
+
})
|
|
20
|
+
)
|
|
21
|
+
] });
|
|
22
|
+
}
|
|
23
|
+
function Trigger2(props) {
|
|
24
|
+
return /* @__PURE__ */ jsx(Dialog.Trigger, __spreadValues({ asChild: true }, props));
|
|
25
|
+
}
|
|
26
|
+
var Drawer = __spreadProps(__spreadValues({}, Dialog), {
|
|
27
|
+
Trigger: Trigger2,
|
|
28
|
+
Content: Content2
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
Root2 as Root,
|
|
33
|
+
Content2 as Content,
|
|
34
|
+
Trigger2 as Trigger,
|
|
35
|
+
Drawer
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=chunk-YQQVYFIL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/atoms/drawer.tsx"],"sourcesContent":["import React from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\n\nexport function Root(props: Dialog.DialogProps): React.ReactNode {\n return <Dialog.Root {...props} />;\n}\n\ntype ContentProps = Dialog.DialogContentProps & {\n /** Drawer가 붙는 위치, 기본값 right */\n position?: 'left' | 'right' | 'bottom' | 'top';\n};\n\nexport function Content(props: ContentProps): React.ReactNode {\n return (\n <Dialog.Portal>\n <Dialog.Overlay className=\"DrawerOverlay\" />\n <Dialog.Content\n {...props}\n className={`DrawerContent ${props.position} ${props.className}`}\n />\n </Dialog.Portal>\n );\n}\n\nexport function Trigger(props: Dialog.DialogTriggerProps): React.ReactNode {\n return <Dialog.Trigger asChild {...props} />;\n}\n\nexport const Drawer = {\n ...Dialog,\n Trigger,\n Content,\n};\n"],"mappings":";;;;;;AACA,YAAY,YAAY;AAGf,cAUL,YAVK;AADF,SAASA,MAAK,OAA4C;AAC/D,SAAO,oBAAQ,aAAP,mBAAgB,MAAO;AACjC;AAOO,SAASC,SAAQ,OAAsC;AAC5D,SACE,qBAAQ,eAAP,EACC;AAAA,wBAAQ,gBAAP,EAAe,WAAU,iBAAgB;AAAA,IAC1C;AAAA,MAAQ;AAAA,MAAP,iCACK,QADL;AAAA,QAEC,WAAW,iBAAiB,MAAM,QAAQ,IAAI,MAAM,SAAS;AAAA;AAAA,IAC/D;AAAA,KACF;AAEJ;AAEO,SAASC,SAAQ,OAAmD;AACzE,SAAO,oBAAQ,gBAAP,iBAAe,SAAO,QAAK,MAAO;AAC5C;AAEO,IAAM,SAAS,iCACjB,SADiB;AAAA,EAEpB,SAAAA;AAAA,EACA,SAAAD;AACF;","names":["Root","Content","Trigger"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__objRest,
|
|
3
|
+
__spreadValues
|
|
4
|
+
} from "./chunk-N552FDTV.js";
|
|
5
|
+
|
|
6
|
+
// src/atoms/drawer.tsx
|
|
7
|
+
import * as Dialog from "@radix-ui/react-dialog";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
function Root2(props) {
|
|
10
|
+
return /* @__PURE__ */ jsx(Dialog.Root, __spreadValues({}, props));
|
|
11
|
+
}
|
|
12
|
+
function Content2(props) {
|
|
13
|
+
const _a = props, { position = "left", className } = _a, rest = __objRest(_a, ["position", "className"]);
|
|
14
|
+
return /* @__PURE__ */ jsxs(Dialog.Portal, { children: [
|
|
15
|
+
/* @__PURE__ */ jsx(Dialog.Overlay, { className: "DrawerOverlay" }),
|
|
16
|
+
/* @__PURE__ */ jsx(
|
|
17
|
+
Dialog.Content,
|
|
18
|
+
__spreadValues({
|
|
19
|
+
className: `DrawerContent ${position} ${className || ""}`
|
|
20
|
+
}, rest)
|
|
21
|
+
)
|
|
22
|
+
] });
|
|
23
|
+
}
|
|
24
|
+
function Trigger2(props) {
|
|
25
|
+
return /* @__PURE__ */ jsx(Dialog.Trigger, __spreadValues({ asChild: true }, props));
|
|
26
|
+
}
|
|
27
|
+
var Drawer = {
|
|
28
|
+
Root: Dialog.Root,
|
|
29
|
+
Trigger: Trigger2,
|
|
30
|
+
Content: Content2,
|
|
31
|
+
Close: Dialog.Close,
|
|
32
|
+
Title: Dialog.Title,
|
|
33
|
+
Description: Dialog.Description
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export {
|
|
37
|
+
Root2 as Root,
|
|
38
|
+
Content2 as Content,
|
|
39
|
+
Trigger2 as Trigger,
|
|
40
|
+
Drawer
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=chunk-ZRCRQ7IC.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/atoms/drawer.tsx"],"sourcesContent":["import React from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\n\nexport function Root(props: Dialog.DialogProps): React.ReactNode {\n return <Dialog.Root {...props} />;\n}\n\ntype ContentProps = Dialog.DialogContentProps & {\n /** Drawer가 붙는 위치, 기본값 right */\n position?: 'left' | 'right' | 'bottom' | 'top';\n};\n\nexport function Content(props: ContentProps): React.ReactNode {\n const { position = 'left', className, ...rest } = props;\n\n return (\n <Dialog.Portal>\n <Dialog.Overlay className=\"DrawerOverlay\" />\n <Dialog.Content\n className={`DrawerContent ${position} ${className || ''}`}\n {...rest}\n />\n </Dialog.Portal>\n );\n}\n\nexport function Trigger(props: Dialog.DialogTriggerProps): React.ReactNode {\n return <Dialog.Trigger asChild {...props} />;\n}\n\nexport const Drawer = {\n Root: Dialog.Root,\n Trigger,\n Content,\n Close: Dialog.Close,\n Title: Dialog.Title,\n Description: Dialog.Description,\n};\n"],"mappings":";;;;;;AACA,YAAY,YAAY;AAGf,cAYL,YAZK;AADF,SAASA,MAAK,OAA4C;AAC/D,SAAO,oBAAQ,aAAP,mBAAgB,MAAO;AACjC;AAOO,SAASC,SAAQ,OAAsC;AAC5D,QAAkD,YAA1C,aAAW,QAAQ,UAb7B,IAaoD,IAAT,iBAAS,IAAT,CAAjC,YAAmB;AAE3B,SACE,qBAAQ,eAAP,EACC;AAAA,wBAAQ,gBAAP,EAAe,WAAU,iBAAgB;AAAA,IAC1C;AAAA,MAAQ;AAAA,MAAP;AAAA,QACC,WAAW,iBAAiB,QAAQ,IAAI,aAAa,EAAE;AAAA,SACnD;AAAA,IACN;AAAA,KACF;AAEJ;AAEO,SAASC,SAAQ,OAAmD;AACzE,SAAO,oBAAQ,gBAAP,iBAAe,SAAO,QAAK,MAAO;AAC5C;AAEO,IAAM,SAAS;AAAA,EACpB,MAAa;AAAA,EACb,SAAAA;AAAA,EACA,SAAAD;AAAA,EACA,OAAc;AAAA,EACd,OAAc;AAAA,EACd,aAAoB;AACtB;","names":["Root","Content","Trigger"]}
|
package/dist/index.cjs
CHANGED
|
@@ -81,10 +81,12 @@ __export(src_exports, {
|
|
|
81
81
|
Code: () => import_themes13.Code,
|
|
82
82
|
Collapse: () => Collapse,
|
|
83
83
|
Container: () => import_themes14.Container,
|
|
84
|
+
Content: () => Content2,
|
|
84
85
|
DataList: () => import_themes15.DataList,
|
|
85
86
|
DatePicker: () => DatePicker,
|
|
86
87
|
Dialog: () => import_themes16.Dialog,
|
|
87
88
|
DotsHorizontalIcon: () => import_react_icons.DotsHorizontalIcon,
|
|
89
|
+
Drawer: () => Drawer,
|
|
88
90
|
DropdownMenu: () => import_themes17.DropdownMenu,
|
|
89
91
|
EllipsisTooltip: () => EllipsisTooltip,
|
|
90
92
|
Em: () => import_themes18.Em,
|
|
@@ -114,6 +116,7 @@ __export(src_exports, {
|
|
|
114
116
|
Radio: () => import_themes32.Radio,
|
|
115
117
|
RadioCards: () => import_themes33.RadioCards,
|
|
116
118
|
RadioGroup: () => import_themes34.RadioGroup,
|
|
119
|
+
Root: () => Root3,
|
|
117
120
|
ScrollArea: () => import_themes35.ScrollArea,
|
|
118
121
|
Section: () => import_themes36.Section,
|
|
119
122
|
SegmentedControl: () => import_themes37.SegmentedControl,
|
|
@@ -129,6 +132,7 @@ __export(src_exports, {
|
|
|
129
132
|
TextField: () => import_themes47.TextField,
|
|
130
133
|
ThemeProvider: () => ThemeProvider,
|
|
131
134
|
Tooltip: () => import_themes48.Tooltip,
|
|
135
|
+
Trigger: () => Trigger2,
|
|
132
136
|
Typo: () => Typo,
|
|
133
137
|
createColumnHelper: () => import_react_table2.createColumnHelper,
|
|
134
138
|
uiProps: () => uiProps,
|
|
@@ -637,17 +641,47 @@ function EllipsisTooltip(props) {
|
|
|
637
641
|
) });
|
|
638
642
|
}
|
|
639
643
|
|
|
644
|
+
// src/atoms/drawer.tsx
|
|
645
|
+
var Dialog2 = __toESM(require("@radix-ui/react-dialog"), 1);
|
|
646
|
+
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
647
|
+
function Root3(props) {
|
|
648
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Dialog2.Root, __spreadValues({}, props));
|
|
649
|
+
}
|
|
650
|
+
function Content2(props) {
|
|
651
|
+
const _a = props, { position = "left", className } = _a, rest = __objRest(_a, ["position", "className"]);
|
|
652
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(Dialog2.Portal, { children: [
|
|
653
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Dialog2.Overlay, { className: "DrawerOverlay" }),
|
|
654
|
+
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
655
|
+
Dialog2.Content,
|
|
656
|
+
__spreadValues({
|
|
657
|
+
className: `DrawerContent ${position} ${className || ""}`
|
|
658
|
+
}, rest)
|
|
659
|
+
)
|
|
660
|
+
] });
|
|
661
|
+
}
|
|
662
|
+
function Trigger2(props) {
|
|
663
|
+
return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(Dialog2.Trigger, __spreadValues({ asChild: true }, props));
|
|
664
|
+
}
|
|
665
|
+
var Drawer = {
|
|
666
|
+
Root: Dialog2.Root,
|
|
667
|
+
Trigger: Trigger2,
|
|
668
|
+
Content: Content2,
|
|
669
|
+
Close: Dialog2.Close,
|
|
670
|
+
Title: Dialog2.Title,
|
|
671
|
+
Description: Dialog2.Description
|
|
672
|
+
};
|
|
673
|
+
|
|
640
674
|
// src/molecules/expand-table/index.tsx
|
|
641
675
|
var import_react_table2 = require("@tanstack/react-table");
|
|
642
676
|
var import_react14 = require("react");
|
|
643
677
|
|
|
644
678
|
// src/icons/down.tsx
|
|
645
679
|
var React8 = __toESM(require("react"), 1);
|
|
646
|
-
var
|
|
680
|
+
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
647
681
|
var TriangleArrowDownIcon = React8.forwardRef(
|
|
648
682
|
(_a, forwardedRef) => {
|
|
649
683
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
650
|
-
return /* @__PURE__ */ (0,
|
|
684
|
+
return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
651
685
|
"svg",
|
|
652
686
|
__spreadProps(__spreadValues({
|
|
653
687
|
fill: "none",
|
|
@@ -657,7 +691,7 @@ var TriangleArrowDownIcon = React8.forwardRef(
|
|
|
657
691
|
xmlns: "http://www.w3.org/2000/svg"
|
|
658
692
|
}, props), {
|
|
659
693
|
ref: forwardedRef,
|
|
660
|
-
children: /* @__PURE__ */ (0,
|
|
694
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
661
695
|
"path",
|
|
662
696
|
{
|
|
663
697
|
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",
|
|
@@ -672,11 +706,11 @@ TriangleArrowDownIcon.displayName = "ArrowDownIcon";
|
|
|
672
706
|
|
|
673
707
|
// src/icons/up.tsx
|
|
674
708
|
var React9 = __toESM(require("react"), 1);
|
|
675
|
-
var
|
|
709
|
+
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
676
710
|
var TriangleArrowUpIcon = React9.forwardRef(
|
|
677
711
|
(_a, forwardedRef) => {
|
|
678
712
|
var _b = _a, { color = "currentColor" } = _b, props = __objRest(_b, ["color"]);
|
|
679
|
-
return /* @__PURE__ */ (0,
|
|
713
|
+
return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
680
714
|
"svg",
|
|
681
715
|
__spreadProps(__spreadValues({
|
|
682
716
|
fill: "none",
|
|
@@ -686,7 +720,7 @@ var TriangleArrowUpIcon = React9.forwardRef(
|
|
|
686
720
|
xmlns: "http://www.w3.org/2000/svg"
|
|
687
721
|
}, props), {
|
|
688
722
|
ref: forwardedRef,
|
|
689
|
-
children: /* @__PURE__ */ (0,
|
|
723
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
690
724
|
"path",
|
|
691
725
|
{
|
|
692
726
|
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",
|
|
@@ -702,7 +736,7 @@ TriangleArrowUpIcon.displayName = "ArrowUpIcon";
|
|
|
702
736
|
// src/molecules/expand-table/row.tsx
|
|
703
737
|
var import_react_table = require("@tanstack/react-table");
|
|
704
738
|
var import_react13 = require("react");
|
|
705
|
-
var
|
|
739
|
+
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
706
740
|
function Row(props) {
|
|
707
741
|
const { row, ExpandComp, gridColTemp } = props;
|
|
708
742
|
const [open, setOpen] = (0, import_react13.useState)(false);
|
|
@@ -711,12 +745,12 @@ function Row(props) {
|
|
|
711
745
|
(_a = props.onRowClick) == null ? void 0 : _a.call(props, row.original);
|
|
712
746
|
setOpen((prev) => !prev);
|
|
713
747
|
}, [props, row.original]);
|
|
714
|
-
return /* @__PURE__ */ (0,
|
|
748
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
715
749
|
"div",
|
|
716
750
|
{
|
|
717
751
|
className: `tr-wrapper ${ExpandComp ? "expandable" : ""}`,
|
|
718
752
|
children: [
|
|
719
|
-
/* @__PURE__ */ (0,
|
|
753
|
+
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
720
754
|
"button",
|
|
721
755
|
{
|
|
722
756
|
className: "tr",
|
|
@@ -726,7 +760,7 @@ function Row(props) {
|
|
|
726
760
|
children: row.getVisibleCells().map((cell) => {
|
|
727
761
|
var _a, _b;
|
|
728
762
|
const autoSize = (_a = cell.column.columnDef.meta) == null ? void 0 : _a.autoSize;
|
|
729
|
-
return /* @__PURE__ */ (0,
|
|
763
|
+
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
730
764
|
"div",
|
|
731
765
|
{
|
|
732
766
|
className: "td",
|
|
@@ -736,7 +770,7 @@ function Row(props) {
|
|
|
736
770
|
},
|
|
737
771
|
children: [
|
|
738
772
|
(0, import_react_table.flexRender)(cell.column.columnDef.cell, cell.getContext()),
|
|
739
|
-
((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0,
|
|
773
|
+
((_b = cell.column.columnDef.meta) == null ? void 0 : _b.OpenBtn) ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
740
774
|
cell.column.columnDef.meta.OpenBtn,
|
|
741
775
|
{
|
|
742
776
|
data: row.original,
|
|
@@ -752,7 +786,7 @@ function Row(props) {
|
|
|
752
786
|
},
|
|
753
787
|
`tr_${row.id}`
|
|
754
788
|
),
|
|
755
|
-
ExpandComp ? /* @__PURE__ */ (0,
|
|
789
|
+
ExpandComp ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Collapse, { open, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "expand-comp-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ExpandComp, { row }) }) }) : null
|
|
756
790
|
]
|
|
757
791
|
},
|
|
758
792
|
`tr-wrapper_${row.id}`
|
|
@@ -760,7 +794,7 @@ function Row(props) {
|
|
|
760
794
|
}
|
|
761
795
|
|
|
762
796
|
// src/molecules/expand-table/index.tsx
|
|
763
|
-
var
|
|
797
|
+
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
764
798
|
function ExpandTable(props) {
|
|
765
799
|
const { data, columns, ExpandComp, placeholder, onRowClick } = props;
|
|
766
800
|
const [sorting, setSorting] = (0, import_react14.useState)([]);
|
|
@@ -783,8 +817,8 @@ function ExpandTable(props) {
|
|
|
783
817
|
}).join(" ");
|
|
784
818
|
}, [columns]);
|
|
785
819
|
const rowModels = getRowModel();
|
|
786
|
-
return /* @__PURE__ */ (0,
|
|
787
|
-
/* @__PURE__ */ (0,
|
|
820
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "expand-table", children: [
|
|
821
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "thead", children: getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
788
822
|
"div",
|
|
789
823
|
{
|
|
790
824
|
className: "tr",
|
|
@@ -792,30 +826,30 @@ function ExpandTable(props) {
|
|
|
792
826
|
children: headerGroup.headers.map((header) => {
|
|
793
827
|
const sortable = header.column.getCanSort();
|
|
794
828
|
const sortedState = header.column.getIsSorted();
|
|
795
|
-
return /* @__PURE__ */ (0,
|
|
829
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "th", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
796
830
|
"button",
|
|
797
831
|
{
|
|
798
832
|
onClick: header.column.getToggleSortingHandler(),
|
|
799
833
|
style: sortable ? { cursor: "pointer" } : void 0,
|
|
800
834
|
type: "button",
|
|
801
835
|
children: [
|
|
802
|
-
/* @__PURE__ */ (0,
|
|
836
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { variant: "body", children: (0, import_react_table2.flexRender)(
|
|
803
837
|
header.column.columnDef.header,
|
|
804
838
|
header.getContext()
|
|
805
839
|
) }),
|
|
806
|
-
sortable ? /* @__PURE__ */ (0,
|
|
840
|
+
sortable ? /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
807
841
|
import_themes19.Flex,
|
|
808
842
|
{
|
|
809
843
|
direction: "column",
|
|
810
844
|
style: { marginLeft: "var(--space-2)" },
|
|
811
845
|
children: [
|
|
812
|
-
/* @__PURE__ */ (0,
|
|
846
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
813
847
|
TriangleArrowUpIcon,
|
|
814
848
|
{
|
|
815
849
|
color: sortedState === "asc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
816
850
|
}
|
|
817
851
|
),
|
|
818
|
-
/* @__PURE__ */ (0,
|
|
852
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
819
853
|
TriangleArrowDownIcon,
|
|
820
854
|
{
|
|
821
855
|
color: sortedState === "desc" ? "var(--iris-10)" : "var(--iris-6)"
|
|
@@ -831,10 +865,10 @@ function ExpandTable(props) {
|
|
|
831
865
|
},
|
|
832
866
|
headerGroup.id
|
|
833
867
|
)) }),
|
|
834
|
-
/* @__PURE__ */ (0,
|
|
835
|
-
rowModels.rows.length === 0 && /* @__PURE__ */ (0,
|
|
868
|
+
/* @__PURE__ */ (0, import_jsx_runtime18.jsxs)("div", { className: "tbody", children: [
|
|
869
|
+
rowModels.rows.length === 0 && /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: "tr", children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_themes19.Flex, { align: "center", justify: "center", children: placeholder || /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typo, { color: "gray", mb: "6", mt: "6", variant: "body", children: "\uB370\uC774\uD130\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4" }) }) }, "expand_placeholder"),
|
|
836
870
|
rowModels.rows.map((row) => {
|
|
837
|
-
return /* @__PURE__ */ (0,
|
|
871
|
+
return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
838
872
|
Row,
|
|
839
873
|
{
|
|
840
874
|
ExpandComp,
|
|
@@ -850,14 +884,14 @@ function ExpandTable(props) {
|
|
|
850
884
|
}
|
|
851
885
|
|
|
852
886
|
// src/molecules/navigation.tsx
|
|
853
|
-
var
|
|
887
|
+
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
854
888
|
function Navigation({
|
|
855
889
|
items,
|
|
856
890
|
fontColor,
|
|
857
891
|
backgroundColor,
|
|
858
892
|
activeKey
|
|
859
893
|
}) {
|
|
860
|
-
return /* @__PURE__ */ (0,
|
|
894
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
861
895
|
import_themes19.Flex,
|
|
862
896
|
{
|
|
863
897
|
direction: "column",
|
|
@@ -869,13 +903,13 @@ function Navigation({
|
|
|
869
903
|
},
|
|
870
904
|
children: items == null ? void 0 : items.map((item) => {
|
|
871
905
|
const { key, title, icon, itemRender, onClick, children } = item;
|
|
872
|
-
return /* @__PURE__ */ (0,
|
|
873
|
-
itemRender ? itemRender(item) : /* @__PURE__ */ (0,
|
|
906
|
+
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_themes19.Flex, { direction: "column", onClick, children: [
|
|
907
|
+
itemRender ? itemRender(item) : /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(import_themes19.Flex, { align: "center", gap: "3", height: "36px", pl: "4", pr: "4", children: [
|
|
874
908
|
icon,
|
|
875
|
-
/* @__PURE__ */ (0,
|
|
909
|
+
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Typo, { variant: "subtitle", children: title })
|
|
876
910
|
] }),
|
|
877
911
|
children == null ? void 0 : children.map((menu) => {
|
|
878
|
-
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0,
|
|
912
|
+
return menu.itemRender ? menu.itemRender(menu) : /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
879
913
|
Button,
|
|
880
914
|
{
|
|
881
915
|
className: `tipp-navigation-button ${activeKey === menu.key ? "active" : ""}`,
|
|
@@ -896,9 +930,9 @@ function Navigation({
|
|
|
896
930
|
|
|
897
931
|
// src/theme/theme-provider.tsx
|
|
898
932
|
var import_themes50 = require("@radix-ui/themes");
|
|
899
|
-
var
|
|
933
|
+
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
900
934
|
function ThemeProvider(props) {
|
|
901
|
-
return /* @__PURE__ */ (0,
|
|
935
|
+
return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_themes50.Theme, __spreadValues({ accentColor: "iris", radius: "large" }, props));
|
|
902
936
|
}
|
|
903
937
|
|
|
904
938
|
// src/theme/use-theme.tsx
|
|
@@ -930,10 +964,12 @@ var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
|
930
964
|
Code,
|
|
931
965
|
Collapse,
|
|
932
966
|
Container,
|
|
967
|
+
Content,
|
|
933
968
|
DataList,
|
|
934
969
|
DatePicker,
|
|
935
970
|
Dialog,
|
|
936
971
|
DotsHorizontalIcon,
|
|
972
|
+
Drawer,
|
|
937
973
|
DropdownMenu,
|
|
938
974
|
EllipsisTooltip,
|
|
939
975
|
Em,
|
|
@@ -963,6 +999,7 @@ var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
|
963
999
|
Radio,
|
|
964
1000
|
RadioCards,
|
|
965
1001
|
RadioGroup,
|
|
1002
|
+
Root,
|
|
966
1003
|
ScrollArea,
|
|
967
1004
|
Section,
|
|
968
1005
|
SegmentedControl,
|
|
@@ -978,6 +1015,7 @@ var uiProps = __toESM(require("@radix-ui/themes/dist/cjs/props/index.js"), 1);
|
|
|
978
1015
|
TextField,
|
|
979
1016
|
ThemeProvider,
|
|
980
1017
|
Tooltip,
|
|
1018
|
+
Trigger,
|
|
981
1019
|
Typo,
|
|
982
1020
|
createColumnHelper,
|
|
983
1021
|
uiProps,
|