eidos-ui 1.2.0 → 2.1.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.
- package/dist/Avatar.types-BY-C09Ke.d.cts +23 -0
- package/dist/Avatar.types-BY-C09Ke.d.ts +23 -0
- package/dist/{Header.types-BZi80bWz.d.cts → Header.types-B3QtuiL-.d.cts} +7 -3
- package/dist/{Header.types-DJt-q01P.d.ts → Header.types-C6w0FBY8.d.ts} +7 -3
- package/dist/Table.types-CPj-udMc.d.cts +278 -0
- package/dist/Table.types-CZZ7QWAI.d.ts +278 -0
- package/dist/Toolbar.types-DSk8z2iy.d.cts +38 -0
- package/dist/Toolbar.types-RN0klQzu.d.ts +38 -0
- package/dist/alert/index.cjs +4 -4
- package/dist/alert/index.d.cts +2 -1
- package/dist/alert/index.d.ts +2 -1
- package/dist/alert/index.js +3 -3
- package/dist/avatar/index.d.cts +3 -21
- package/dist/avatar/index.d.ts +3 -21
- package/dist/button/index.cjs +3 -3
- package/dist/button/index.js +2 -2
- package/dist/chip/index.cjs +3 -3
- package/dist/chip/index.js +2 -2
- package/dist/{chunk-KIXFSXIN.cjs → chunk-3E7TKBQI.cjs} +5 -3
- package/dist/chunk-3E7TKBQI.cjs.map +1 -0
- package/dist/{chunk-ZBKJ3EMK.cjs → chunk-442U3W6R.cjs} +3 -3
- package/dist/{chunk-ZBKJ3EMK.cjs.map → chunk-442U3W6R.cjs.map} +1 -1
- package/dist/{chunk-YQLCPKGV.js → chunk-5HUZYY54.js} +6 -4
- package/dist/chunk-5HUZYY54.js.map +1 -0
- package/dist/{chunk-G5IGADJI.cjs → chunk-5VM2256W.cjs} +7 -11
- package/dist/chunk-5VM2256W.cjs.map +1 -0
- package/dist/{chunk-Z4ZY7L7W.js → chunk-5ZL6PYU3.js} +3 -3
- package/dist/{chunk-A3NE2C7C.js → chunk-67RFMV6K.js} +2 -2
- package/dist/{chunk-2U7UJOOB.cjs → chunk-6HUHH6Y4.cjs} +17 -15
- package/dist/chunk-6HUHH6Y4.cjs.map +1 -0
- package/dist/{chunk-5WROPW7Z.js → chunk-A7WQINIG.js} +3 -3
- package/dist/{chunk-DKZTDYH5.cjs → chunk-AAA6TR5I.cjs} +3 -3
- package/dist/{chunk-DKZTDYH5.cjs.map → chunk-AAA6TR5I.cjs.map} +1 -1
- package/dist/{chunk-A7Z2QAFZ.cjs → chunk-APK5OQRV.cjs} +5 -5
- package/dist/{chunk-A7Z2QAFZ.cjs.map → chunk-APK5OQRV.cjs.map} +1 -1
- package/dist/{chunk-ISABZ2VX.cjs → chunk-AXBYJ2OY.cjs} +9 -9
- package/dist/{chunk-ISABZ2VX.cjs.map → chunk-AXBYJ2OY.cjs.map} +1 -1
- package/dist/{chunk-6RGJAQCU.cjs → chunk-B5G5XVFJ.cjs} +5 -5
- package/dist/{chunk-6RGJAQCU.cjs.map → chunk-B5G5XVFJ.cjs.map} +1 -1
- package/dist/{chunk-MW2S7PZ7.cjs → chunk-D5IY2HUV.cjs} +5 -5
- package/dist/{chunk-MW2S7PZ7.cjs.map → chunk-D5IY2HUV.cjs.map} +1 -1
- package/dist/{chunk-FMPXSF3H.cjs → chunk-DAXZRNNO.cjs} +4 -4
- package/dist/{chunk-FMPXSF3H.cjs.map → chunk-DAXZRNNO.cjs.map} +1 -1
- package/dist/{chunk-6DBCT5MK.js → chunk-EXITZVB2.js} +24 -9
- package/dist/chunk-EXITZVB2.js.map +1 -0
- package/dist/{chunk-AYMD4D4M.cjs → chunk-EZME5CLK.cjs} +3 -3
- package/dist/{chunk-AYMD4D4M.cjs.map → chunk-EZME5CLK.cjs.map} +1 -1
- package/dist/{chunk-IV4LM3MB.js → chunk-F26VIKNF.js} +9 -11
- package/dist/chunk-F26VIKNF.js.map +1 -0
- package/dist/{chunk-WPTMMOA6.cjs → chunk-G77YR73R.cjs} +10 -13
- package/dist/chunk-G77YR73R.cjs.map +1 -0
- package/dist/chunk-GEHL4LKK.cjs +32 -0
- package/dist/chunk-GEHL4LKK.cjs.map +1 -0
- package/dist/chunk-GGSII6Y2.cjs +921 -0
- package/dist/chunk-GGSII6Y2.cjs.map +1 -0
- package/dist/{chunk-3VRMTWUS.js → chunk-GHQ6SQPI.js} +7 -10
- package/dist/chunk-GHQ6SQPI.js.map +1 -0
- package/dist/{chunk-56B6RLOE.js → chunk-GI6VJYOS.js} +4 -4
- package/dist/{chunk-56B6RLOE.js.map → chunk-GI6VJYOS.js.map} +1 -1
- package/dist/{chunk-UGMONQGH.cjs → chunk-GR2PMCVN.cjs} +10 -12
- package/dist/chunk-GR2PMCVN.cjs.map +1 -0
- package/dist/{chunk-7AHZTHXR.cjs → chunk-GT22EGJP.cjs} +5 -5
- package/dist/{chunk-7AHZTHXR.cjs.map → chunk-GT22EGJP.cjs.map} +1 -1
- package/dist/{chunk-ALGX5X4N.js → chunk-IFVT5UCY.js} +3 -3
- package/dist/{chunk-5CLC3FJO.js → chunk-KBG77JHC.js} +13 -2
- package/dist/chunk-KBG77JHC.js.map +1 -0
- package/dist/{chunk-HLNKIAE5.cjs → chunk-KJZUYC4X.cjs} +5 -5
- package/dist/{chunk-HLNKIAE5.cjs.map → chunk-KJZUYC4X.cjs.map} +1 -1
- package/dist/{chunk-4BQM5F76.cjs → chunk-LFWPQYWX.cjs} +3 -3
- package/dist/{chunk-4BQM5F76.cjs.map → chunk-LFWPQYWX.cjs.map} +1 -1
- package/dist/{chunk-TKLWQWMT.cjs → chunk-LIFUHQH5.cjs} +35 -20
- package/dist/chunk-LIFUHQH5.cjs.map +1 -0
- package/dist/{chunk-PJC7NZUV.cjs → chunk-LUL6RZ4M.cjs} +3 -3
- package/dist/{chunk-PJC7NZUV.cjs.map → chunk-LUL6RZ4M.cjs.map} +1 -1
- package/dist/{chunk-4UJ7LG4W.cjs → chunk-N2IGZIEX.cjs} +3 -3
- package/dist/{chunk-4UJ7LG4W.cjs.map → chunk-N2IGZIEX.cjs.map} +1 -1
- package/dist/{chunk-3LHQUOGP.js → chunk-NGVOXM7P.js} +3 -3
- package/dist/{chunk-WTXASLBB.js → chunk-O5WEKLNF.js} +2 -2
- package/dist/{chunk-BOB5JJ7F.js → chunk-P7IQY5YH.js} +2 -2
- package/dist/{chunk-VZYLJSV5.js → chunk-R4PU2TBM.js} +2 -2
- package/dist/{chunk-P2GCAVUZ.js → chunk-RAZRQ57B.js} +2 -2
- package/dist/{chunk-K7IFNKMN.js → chunk-REVK7IGN.js} +2 -2
- package/dist/{chunk-6U2H26A4.cjs → chunk-RHOT7AEI.cjs} +3 -3
- package/dist/{chunk-6U2H26A4.cjs.map → chunk-RHOT7AEI.cjs.map} +1 -1
- package/dist/{chunk-P2ZHWFK4.js → chunk-RKA2OJRT.js} +228 -119
- package/dist/chunk-RKA2OJRT.js.map +1 -0
- package/dist/{chunk-JC4WLVBG.js → chunk-RWOX2NJN.js} +2 -2
- package/dist/{chunk-4LM33LDV.js → chunk-S3CT536K.js} +2 -2
- package/dist/{chunk-4M3LZLOH.js → chunk-SHYSLWQG.js} +2 -2
- package/dist/{chunk-EQEV7GPT.cjs → chunk-SKEWTQJ7.cjs} +5 -5
- package/dist/{chunk-EQEV7GPT.cjs.map → chunk-SKEWTQJ7.cjs.map} +1 -1
- package/dist/{chunk-6XB3QTHO.cjs → chunk-SKTDGCWJ.cjs} +268 -159
- package/dist/chunk-SKTDGCWJ.cjs.map +1 -0
- package/dist/{chunk-2BXCIWL7.js → chunk-SN6EWQDJ.js} +3 -3
- package/dist/{chunk-DW2YDWGN.js → chunk-TEJIPPZR.js} +2 -2
- package/dist/{chunk-OGKD5PLS.cjs → chunk-TRLBYA5G.cjs} +4 -4
- package/dist/{chunk-OGKD5PLS.cjs.map → chunk-TRLBYA5G.cjs.map} +1 -1
- package/dist/{chunk-WE5FTQGD.js → chunk-VHMOKXUT.js} +3 -7
- package/dist/chunk-VHMOKXUT.js.map +1 -0
- package/dist/{chunk-S77GR5YQ.cjs → chunk-VHQTDITV.cjs} +3 -3
- package/dist/{chunk-S77GR5YQ.cjs.map → chunk-VHQTDITV.cjs.map} +1 -1
- package/dist/{chunk-3HMKE2GJ.js → chunk-VSTQEHVZ.js} +6 -4
- package/dist/chunk-VSTQEHVZ.js.map +1 -0
- package/dist/{chunk-HNUTV3HR.cjs → chunk-WUBQJVB7.cjs} +3 -3
- package/dist/{chunk-HNUTV3HR.cjs.map → chunk-WUBQJVB7.cjs.map} +1 -1
- package/dist/{chunk-S7TWEVC3.js → chunk-Y53HCLGW.js} +2 -2
- package/dist/{chunk-WIE7HDIM.js → chunk-YJXZR7RL.js} +2 -2
- package/dist/{chunk-IJYYHBZC.cjs → chunk-Z4SLV6WG.cjs} +3 -3
- package/dist/{chunk-IJYYHBZC.cjs.map → chunk-Z4SLV6WG.cjs.map} +1 -1
- package/dist/chunk-ZEZK664O.js +921 -0
- package/dist/chunk-ZEZK664O.js.map +1 -0
- package/dist/{chunk-JMD3P4CY.js → chunk-ZHFPV43D.js} +2 -2
- package/dist/combobox/index.cjs +4 -4
- package/dist/combobox/index.js +3 -3
- package/dist/context-menu/index.cjs +4 -4
- package/dist/context-menu/index.js +3 -3
- package/dist/data-grid/index.cjs +13 -13
- package/dist/data-grid/index.d.cts +169 -51
- package/dist/data-grid/index.d.ts +169 -51
- package/dist/data-grid/index.js +12 -12
- package/dist/date-picker/index.cjs +6 -6
- package/dist/date-picker/index.js +5 -5
- package/dist/drawer/index.cjs +4 -4
- package/dist/drawer/index.d.cts +2 -1
- package/dist/drawer/index.d.ts +2 -1
- package/dist/drawer/index.js +3 -3
- package/dist/empty-state/index.d.cts +2 -2
- package/dist/empty-state/index.d.ts +2 -2
- package/dist/header/index.cjs +4 -4
- package/dist/header/index.d.cts +2 -2
- package/dist/header/index.d.ts +2 -2
- package/dist/header/index.js +3 -3
- package/dist/index.cjs +29 -29
- package/dist/index.css +318 -73
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +28 -28
- package/dist/inline-edit/index.cjs +4 -4
- package/dist/inline-edit/index.js +3 -3
- package/dist/input/index.cjs +3 -3
- package/dist/input/index.js +2 -2
- package/dist/menu/index.cjs +3 -3
- package/dist/menu/index.js +2 -2
- package/dist/modal/index.cjs +4 -4
- package/dist/modal/index.d.cts +2 -1
- package/dist/modal/index.d.ts +2 -1
- package/dist/modal/index.js +3 -3
- package/dist/navigation/index.cjs +4 -4
- package/dist/navigation/index.js +3 -3
- package/dist/page-layout/index.cjs +8 -8
- package/dist/page-layout/index.d.cts +3 -2
- package/dist/page-layout/index.d.ts +3 -2
- package/dist/page-layout/index.js +7 -7
- package/dist/pagination/index.cjs +6 -6
- package/dist/pagination/index.js +5 -5
- package/dist/popover/index.cjs +2 -2
- package/dist/popover/index.d.cts +2 -2
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/index.js +1 -1
- package/dist/segmented-control/index.cjs +3 -3
- package/dist/segmented-control/index.js +2 -2
- package/dist/select/index.cjs +4 -4
- package/dist/select/index.js +3 -3
- package/dist/snackbar/index.cjs +4 -4
- package/dist/snackbar/index.js +3 -3
- package/dist/split-button/index.cjs +4 -4
- package/dist/split-button/index.js +3 -3
- package/dist/table/index.cjs +11 -11
- package/dist/table/index.d.cts +5 -5
- package/dist/table/index.d.ts +5 -5
- package/dist/table/index.js +10 -10
- package/dist/tabs/index.cjs +3 -3
- package/dist/tabs/index.js +2 -2
- package/dist/tag-input/index.cjs +4 -4
- package/dist/tag-input/index.js +3 -3
- package/dist/textarea/index.cjs +3 -3
- package/dist/textarea/index.js +2 -2
- package/dist/toolbar/index.cjs +5 -5
- package/dist/toolbar/index.d.cts +3 -2
- package/dist/toolbar/index.d.ts +3 -2
- package/dist/toolbar/index.js +4 -4
- package/package.json +6 -5
- package/dist/Table.types-Bv9l7qxd.d.ts +0 -103
- package/dist/Table.types-DQ0ReOLj.d.cts +0 -103
- package/dist/Toolbar.types-BGD57Uhm.d.ts +0 -22
- package/dist/Toolbar.types-tQkLmPIu.d.cts +0 -22
- package/dist/chunk-2KO5ZCZC.js +0 -744
- package/dist/chunk-2KO5ZCZC.js.map +0 -1
- package/dist/chunk-2U7UJOOB.cjs.map +0 -1
- package/dist/chunk-3HMKE2GJ.js.map +0 -1
- package/dist/chunk-3VRMTWUS.js.map +0 -1
- package/dist/chunk-5CLC3FJO.js.map +0 -1
- package/dist/chunk-6DBCT5MK.js.map +0 -1
- package/dist/chunk-6XB3QTHO.cjs.map +0 -1
- package/dist/chunk-G5IGADJI.cjs.map +0 -1
- package/dist/chunk-GOR642KK.cjs +0 -21
- package/dist/chunk-GOR642KK.cjs.map +0 -1
- package/dist/chunk-IV4LM3MB.js.map +0 -1
- package/dist/chunk-KIXFSXIN.cjs.map +0 -1
- package/dist/chunk-NUK4NT5Q.cjs +0 -744
- package/dist/chunk-NUK4NT5Q.cjs.map +0 -1
- package/dist/chunk-P2ZHWFK4.js.map +0 -1
- package/dist/chunk-TKLWQWMT.cjs.map +0 -1
- package/dist/chunk-UGMONQGH.cjs.map +0 -1
- package/dist/chunk-WE5FTQGD.js.map +0 -1
- package/dist/chunk-WPTMMOA6.cjs.map +0 -1
- package/dist/chunk-YQLCPKGV.js.map +0 -1
- /package/dist/{chunk-Z4ZY7L7W.js.map → chunk-5ZL6PYU3.js.map} +0 -0
- /package/dist/{chunk-A3NE2C7C.js.map → chunk-67RFMV6K.js.map} +0 -0
- /package/dist/{chunk-5WROPW7Z.js.map → chunk-A7WQINIG.js.map} +0 -0
- /package/dist/{chunk-ALGX5X4N.js.map → chunk-IFVT5UCY.js.map} +0 -0
- /package/dist/{chunk-3LHQUOGP.js.map → chunk-NGVOXM7P.js.map} +0 -0
- /package/dist/{chunk-WTXASLBB.js.map → chunk-O5WEKLNF.js.map} +0 -0
- /package/dist/{chunk-BOB5JJ7F.js.map → chunk-P7IQY5YH.js.map} +0 -0
- /package/dist/{chunk-VZYLJSV5.js.map → chunk-R4PU2TBM.js.map} +0 -0
- /package/dist/{chunk-P2GCAVUZ.js.map → chunk-RAZRQ57B.js.map} +0 -0
- /package/dist/{chunk-K7IFNKMN.js.map → chunk-REVK7IGN.js.map} +0 -0
- /package/dist/{chunk-JC4WLVBG.js.map → chunk-RWOX2NJN.js.map} +0 -0
- /package/dist/{chunk-4LM33LDV.js.map → chunk-S3CT536K.js.map} +0 -0
- /package/dist/{chunk-4M3LZLOH.js.map → chunk-SHYSLWQG.js.map} +0 -0
- /package/dist/{chunk-2BXCIWL7.js.map → chunk-SN6EWQDJ.js.map} +0 -0
- /package/dist/{chunk-DW2YDWGN.js.map → chunk-TEJIPPZR.js.map} +0 -0
- /package/dist/{chunk-S7TWEVC3.js.map → chunk-Y53HCLGW.js.map} +0 -0
- /package/dist/{chunk-WIE7HDIM.js.map → chunk-YJXZR7RL.js.map} +0 -0
- /package/dist/{chunk-JMD3P4CY.js.map → chunk-ZHFPV43D.js.map} +0 -0
package/dist/snackbar/index.cjs
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var _chunkEZME5CLKcjs = require('../chunk-EZME5CLK.cjs');
|
|
7
|
+
require('../chunk-APK5OQRV.cjs');
|
|
8
8
|
require('../chunk-I6UOIS4J.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
10
10
|
require('../chunk-Z5U4NJTW.cjs');
|
|
11
11
|
require('../chunk-DZUJEN5N.cjs');
|
|
12
12
|
|
|
@@ -14,5 +14,5 @@ require('../chunk-DZUJEN5N.cjs');
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
exports.SnackbarContainer =
|
|
17
|
+
exports.SnackbarContainer = _chunkEZME5CLKcjs.SnackbarContainer; exports.SnackbarProvider = _chunkEZME5CLKcjs.SnackbarProvider; exports.useSnackbar = _chunkEZME5CLKcjs.useSnackbar; exports.useSnackbarContext = _chunkEZME5CLKcjs.useSnackbarContext;
|
|
18
18
|
//# sourceMappingURL=index.cjs.map
|
package/dist/snackbar/index.js
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
SnackbarProvider,
|
|
4
4
|
useSnackbar,
|
|
5
5
|
useSnackbarContext
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-RWOX2NJN.js";
|
|
7
|
+
import "../chunk-YJXZR7RL.js";
|
|
8
8
|
import "../chunk-66R54X6R.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-KBG77JHC.js";
|
|
10
10
|
import "../chunk-YV57RSPD.js";
|
|
11
11
|
import "../chunk-5WRI5ZAA.js";
|
|
12
12
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkSKEWTQJ7cjs = require('../chunk-SKEWTQJ7.cjs');
|
|
4
|
+
require('../chunk-DAXZRNNO.cjs');
|
|
5
5
|
require('../chunk-FRUOA2QU.cjs');
|
|
6
6
|
require('../chunk-KVIL4EP4.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
8
8
|
require('../chunk-Z5U4NJTW.cjs');
|
|
9
9
|
require('../chunk-DZUJEN5N.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.SplitButton =
|
|
12
|
+
exports.SplitButton = _chunkSKEWTQJ7cjs.SplitButton;
|
|
13
13
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SplitButton
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-NGVOXM7P.js";
|
|
4
|
+
import "../chunk-ZHFPV43D.js";
|
|
5
5
|
import "../chunk-4BKTBV2I.js";
|
|
6
6
|
import "../chunk-LYH3EKKQ.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-KBG77JHC.js";
|
|
8
8
|
import "../chunk-YV57RSPD.js";
|
|
9
9
|
import "../chunk-5WRI5ZAA.js";
|
|
10
10
|
export {
|
package/dist/table/index.cjs
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGGSII6Y2cjs = require('../chunk-GGSII6Y2.cjs');
|
|
4
4
|
require('../chunk-3RUIKBH4.cjs');
|
|
5
5
|
require('../chunk-SWPZ3HFY.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkLIFUHQH5cjs = require('../chunk-LIFUHQH5.cjs');
|
|
9
9
|
require('../chunk-TROYIUDH.cjs');
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-SKEWTQJ7.cjs');
|
|
11
|
+
require('../chunk-AXBYJ2OY.cjs');
|
|
12
12
|
require('../chunk-SJDTFR3I.cjs');
|
|
13
13
|
require('../chunk-I44YNYI6.cjs');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-6HUHH6Y4.cjs');
|
|
15
|
+
require('../chunk-KJZUYC4X.cjs');
|
|
16
16
|
require('../chunk-XJAXKENE.cjs');
|
|
17
17
|
require('../chunk-KV3V2CPH.cjs');
|
|
18
18
|
require('../chunk-IJ4DXG7D.cjs');
|
|
19
|
-
require('../chunk-
|
|
20
|
-
require('../chunk-
|
|
19
|
+
require('../chunk-5VM2256W.cjs');
|
|
20
|
+
require('../chunk-DAXZRNNO.cjs');
|
|
21
21
|
require('../chunk-FRUOA2QU.cjs');
|
|
22
22
|
require('../chunk-KVIL4EP4.cjs');
|
|
23
23
|
require('../chunk-3ETWFS2N.cjs');
|
|
24
24
|
require('../chunk-EACNRR3C.cjs');
|
|
25
|
-
require('../chunk-
|
|
25
|
+
require('../chunk-APK5OQRV.cjs');
|
|
26
26
|
require('../chunk-I6UOIS4J.cjs');
|
|
27
|
-
require('../chunk-
|
|
27
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
28
28
|
require('../chunk-Z5U4NJTW.cjs');
|
|
29
29
|
require('../chunk-DZUJEN5N.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.Table =
|
|
33
|
+
exports.Table = _chunkGGSII6Y2cjs.Table; exports.TableFiltersDropdown = _chunkLIFUHQH5cjs.TableFiltersDropdown;
|
|
34
34
|
//# sourceMappingURL=index.cjs.map
|
package/dist/table/index.d.cts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
4
|
-
export { B as BulkAction, a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption, F as FilterValue } from '../Table.types-
|
|
3
|
+
import { f as TableProps, T as TableColumn, e as TableFilters } from '../Table.types-CPj-udMc.cjs';
|
|
4
|
+
export { B as BulkAction, a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption, F as FilterValue, d as TableCustomColumn, g as TableValueColumn } from '../Table.types-CPj-udMc.cjs';
|
|
5
5
|
import '../renderIcon-C2lEMMzb.cjs';
|
|
6
6
|
import '../Button.types-DZRCVqyN.cjs';
|
|
7
7
|
import '../sizes-DM6Rrrgq.cjs';
|
|
8
8
|
|
|
9
|
-
declare const Table: <T extends
|
|
9
|
+
declare const Table: <T extends object>({ data, columns, loading, emptyMessage, onRowClick, className, showFooter, totalItems, showPagination, pageSize, pageSizeOptions, onSortChange, currentSort, filters, onFiltersChange, defaultFilters, showFilters, selectable, rowKey, selectedRows: controlledSelected, defaultSelectedRows, onSelectionChange, selectAllScope, onSelectAllMatching, bulkActions, density, showDensity, showColumnVisibility, showExport, draggableColumns, onColumnReorder, hasCardView, cardViewBreakpoint, cardMinWidth, }: TableProps<T>) => React__default.JSX.Element;
|
|
10
10
|
|
|
11
|
-
interface TableFiltersDropdownProps<T> {
|
|
11
|
+
interface TableFiltersDropdownProps<T extends object> {
|
|
12
12
|
columns: TableColumn<T>[];
|
|
13
13
|
filters: TableFilters;
|
|
14
14
|
onFiltersChange: (filters: TableFilters) => void;
|
|
15
15
|
defaultFilters?: TableFilters;
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
|
-
declare const TableFiltersDropdown: <T extends
|
|
18
|
+
declare const TableFiltersDropdown: <T extends object>({ columns, filters, onFiltersChange, defaultFilters, className, }: TableFiltersDropdownProps<T>) => React.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { Table, TableColumn, TableFilters, TableFiltersDropdown, TableProps };
|
package/dist/table/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
4
|
-
export { B as BulkAction, a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption, F as FilterValue } from '../Table.types-
|
|
3
|
+
import { f as TableProps, T as TableColumn, e as TableFilters } from '../Table.types-CZZ7QWAI.js';
|
|
4
|
+
export { B as BulkAction, a as BulkActionButton, b as BulkActionSplitButton, c as BulkActionSplitOption, F as FilterValue, d as TableCustomColumn, g as TableValueColumn } from '../Table.types-CZZ7QWAI.js';
|
|
5
5
|
import '../renderIcon-C2lEMMzb.js';
|
|
6
6
|
import '../Button.types-BH0CPyPx.js';
|
|
7
7
|
import '../sizes-DM6Rrrgq.js';
|
|
8
8
|
|
|
9
|
-
declare const Table: <T extends
|
|
9
|
+
declare const Table: <T extends object>({ data, columns, loading, emptyMessage, onRowClick, className, showFooter, totalItems, showPagination, pageSize, pageSizeOptions, onSortChange, currentSort, filters, onFiltersChange, defaultFilters, showFilters, selectable, rowKey, selectedRows: controlledSelected, defaultSelectedRows, onSelectionChange, selectAllScope, onSelectAllMatching, bulkActions, density, showDensity, showColumnVisibility, showExport, draggableColumns, onColumnReorder, hasCardView, cardViewBreakpoint, cardMinWidth, }: TableProps<T>) => React__default.JSX.Element;
|
|
10
10
|
|
|
11
|
-
interface TableFiltersDropdownProps<T> {
|
|
11
|
+
interface TableFiltersDropdownProps<T extends object> {
|
|
12
12
|
columns: TableColumn<T>[];
|
|
13
13
|
filters: TableFilters;
|
|
14
14
|
onFiltersChange: (filters: TableFilters) => void;
|
|
15
15
|
defaultFilters?: TableFilters;
|
|
16
16
|
className?: string;
|
|
17
17
|
}
|
|
18
|
-
declare const TableFiltersDropdown: <T extends
|
|
18
|
+
declare const TableFiltersDropdown: <T extends object>({ columns, filters, onFiltersChange, defaultFilters, className, }: TableFiltersDropdownProps<T>) => React.JSX.Element;
|
|
19
19
|
|
|
20
20
|
export { Table, TableColumn, TableFilters, TableFiltersDropdown, TableProps };
|
package/dist/table/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Table
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZEZK664O.js";
|
|
4
4
|
import "../chunk-TH3ITGUM.js";
|
|
5
5
|
import "../chunk-TZWNX7FF.js";
|
|
6
6
|
import {
|
|
7
7
|
TableFiltersDropdown
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-EXITZVB2.js";
|
|
9
9
|
import "../chunk-6ZAT5CGB.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-NGVOXM7P.js";
|
|
11
|
+
import "../chunk-GI6VJYOS.js";
|
|
12
12
|
import "../chunk-KGXGTWUL.js";
|
|
13
13
|
import "../chunk-6NZXWKUE.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-VSTQEHVZ.js";
|
|
15
|
+
import "../chunk-A7WQINIG.js";
|
|
16
16
|
import "../chunk-DI2VKKLW.js";
|
|
17
17
|
import "../chunk-3TUCQAYL.js";
|
|
18
18
|
import "../chunk-H6CWTMAH.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-VHMOKXUT.js";
|
|
20
|
+
import "../chunk-ZHFPV43D.js";
|
|
21
21
|
import "../chunk-4BKTBV2I.js";
|
|
22
22
|
import "../chunk-LYH3EKKQ.js";
|
|
23
23
|
import "../chunk-3SKI6FXB.js";
|
|
24
24
|
import "../chunk-N5JDL4VE.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-YJXZR7RL.js";
|
|
26
26
|
import "../chunk-66R54X6R.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-KBG77JHC.js";
|
|
28
28
|
import "../chunk-YV57RSPD.js";
|
|
29
29
|
import "../chunk-5WRI5ZAA.js";
|
|
30
30
|
export {
|
package/dist/tabs/index.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var _chunkVHQTDITVcjs = require('../chunk-VHQTDITV.cjs');
|
|
6
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
7
7
|
require('../chunk-DZUJEN5N.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.Tab =
|
|
12
|
+
exports.Tab = _chunkVHQTDITVcjs.Tab; exports.TabPanel = _chunkVHQTDITVcjs.TabPanel; exports.Tabs = _chunkVHQTDITVcjs.Tabs;
|
|
13
13
|
//# sourceMappingURL=index.cjs.map
|
package/dist/tabs/index.js
CHANGED
package/dist/tag-input/index.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk442U3W6Rcjs = require('../chunk-442U3W6R.cjs');
|
|
4
|
+
require('../chunk-TRLBYA5G.cjs');
|
|
5
5
|
require('../chunk-FRUOA2QU.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
7
7
|
require('../chunk-Z5U4NJTW.cjs');
|
|
8
8
|
require('../chunk-DZUJEN5N.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.TagInput =
|
|
11
|
+
exports.TagInput = _chunk442U3W6Rcjs.TagInput;
|
|
12
12
|
//# sourceMappingURL=index.cjs.map
|
package/dist/tag-input/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TagInput
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-R4PU2TBM.js";
|
|
4
|
+
import "../chunk-SHYSLWQG.js";
|
|
5
5
|
import "../chunk-4BKTBV2I.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-KBG77JHC.js";
|
|
7
7
|
import "../chunk-YV57RSPD.js";
|
|
8
8
|
import "../chunk-5WRI5ZAA.js";
|
|
9
9
|
export {
|
package/dist/textarea/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkRHOT7AEIcjs = require('../chunk-RHOT7AEI.cjs');
|
|
4
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
5
5
|
require('../chunk-Z5U4NJTW.cjs');
|
|
6
6
|
require('../chunk-DZUJEN5N.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.Textarea =
|
|
9
|
+
exports.Textarea = _chunkRHOT7AEIcjs.Textarea;
|
|
10
10
|
//# sourceMappingURL=index.cjs.map
|
package/dist/textarea/index.js
CHANGED
package/dist/toolbar/index.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkGR2PMCVNcjs = require('../chunk-GR2PMCVN.cjs');
|
|
4
4
|
require('../chunk-3EPND5M2.cjs');
|
|
5
5
|
require('../chunk-VW32UTUE.cjs');
|
|
6
|
-
require('../chunk-
|
|
6
|
+
require('../chunk-DAXZRNNO.cjs');
|
|
7
7
|
require('../chunk-FRUOA2QU.cjs');
|
|
8
8
|
require('../chunk-KVIL4EP4.cjs');
|
|
9
9
|
require('../chunk-Q3GNKF74.cjs');
|
|
10
10
|
require('../chunk-5O73AALP.cjs');
|
|
11
11
|
require('../chunk-EACNRR3C.cjs');
|
|
12
|
-
require('../chunk-
|
|
12
|
+
require('../chunk-APK5OQRV.cjs');
|
|
13
13
|
require('../chunk-I6UOIS4J.cjs');
|
|
14
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-GEHL4LKK.cjs');
|
|
15
15
|
require('../chunk-Z5U4NJTW.cjs');
|
|
16
16
|
require('../chunk-DZUJEN5N.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.Toolbar =
|
|
19
|
+
exports.Toolbar = _chunkGR2PMCVNcjs.Toolbar;
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
package/dist/toolbar/index.d.cts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as ToolbarProps } from '../Toolbar.types-
|
|
3
|
-
export { T as ToolbarActionProps } from '../Toolbar.types-
|
|
2
|
+
import { a as ToolbarProps } from '../Toolbar.types-DSk8z2iy.cjs';
|
|
3
|
+
export { T as ToolbarActionProps } from '../Toolbar.types-DSk8z2iy.cjs';
|
|
4
4
|
import '../Breadcrumb.types-DaykU-C8.cjs';
|
|
5
|
+
import '../Avatar.types-BY-C09Ke.cjs';
|
|
5
6
|
import '../Button.types-DZRCVqyN.cjs';
|
|
6
7
|
import '../renderIcon-C2lEMMzb.cjs';
|
|
7
8
|
import '../sizes-DM6Rrrgq.cjs';
|
package/dist/toolbar/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as ToolbarProps } from '../Toolbar.types-
|
|
3
|
-
export { T as ToolbarActionProps } from '../Toolbar.types-
|
|
2
|
+
import { a as ToolbarProps } from '../Toolbar.types-RN0klQzu.js';
|
|
3
|
+
export { T as ToolbarActionProps } from '../Toolbar.types-RN0klQzu.js';
|
|
4
4
|
import '../Breadcrumb.types-DaykU-C8.js';
|
|
5
|
+
import '../Avatar.types-BY-C09Ke.js';
|
|
5
6
|
import '../Button.types-BH0CPyPx.js';
|
|
6
7
|
import '../renderIcon-C2lEMMzb.js';
|
|
7
8
|
import '../sizes-DM6Rrrgq.js';
|
package/dist/toolbar/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Toolbar
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-F26VIKNF.js";
|
|
4
4
|
import "../chunk-PY2376XI.js";
|
|
5
5
|
import "../chunk-XUZOU2EB.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-ZHFPV43D.js";
|
|
7
7
|
import "../chunk-4BKTBV2I.js";
|
|
8
8
|
import "../chunk-LYH3EKKQ.js";
|
|
9
9
|
import "../chunk-XJBWFDDE.js";
|
|
10
10
|
import "../chunk-DRXPTACG.js";
|
|
11
11
|
import "../chunk-N5JDL4VE.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-YJXZR7RL.js";
|
|
13
13
|
import "../chunk-66R54X6R.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-KBG77JHC.js";
|
|
15
15
|
import "../chunk-YV57RSPD.js";
|
|
16
16
|
import "../chunk-5WRI5ZAA.js";
|
|
17
17
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eidos-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "A modern React component library with TypeScript and SCSS",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -31,8 +31,11 @@
|
|
|
31
31
|
],
|
|
32
32
|
"scripts": {
|
|
33
33
|
"dev": "vite --config vite.dev.config.ts",
|
|
34
|
-
"build": "tsup && node scripts/build-styles.js",
|
|
35
34
|
"storybook": "storybook dev -p 6007",
|
|
35
|
+
"verify": "node scripts/verify.js",
|
|
36
|
+
"release": "node scripts/release.js",
|
|
37
|
+
"release:approve": "npm run release -- approve",
|
|
38
|
+
"build": "tsup && node scripts/build-styles.js",
|
|
36
39
|
"build-storybook": "storybook build",
|
|
37
40
|
"lint": "eslint --report-unused-disable-directives --max-warnings 0",
|
|
38
41
|
"typecheck": "tsc --noEmit",
|
|
@@ -41,10 +44,8 @@
|
|
|
41
44
|
"prepublishOnly": "npm run build",
|
|
42
45
|
"version": "node scripts/promote-changelog.js",
|
|
43
46
|
"postversion": "git push --follow-tags",
|
|
44
|
-
"verify": "node scripts/verify.js",
|
|
45
47
|
"release:needed": "node scripts/release-needed.js",
|
|
46
|
-
"release:preflight": "node scripts/preflight-release.js && npm run lint && npm run typecheck && npm run prettier:check && npm run build"
|
|
47
|
-
"release": "node scripts/release.js"
|
|
48
|
+
"release:preflight": "node scripts/preflight-release.js && npm run lint && npm run typecheck && npm run prettier:check && npm run build"
|
|
48
49
|
},
|
|
49
50
|
"keywords": [
|
|
50
51
|
"react",
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { I as IconType } from './renderIcon-C2lEMMzb.js';
|
|
3
|
-
import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-BH0CPyPx.js';
|
|
4
|
-
|
|
5
|
-
/** A secondary action inside a `type: 'split-button'` bulk action's dropdown. */
|
|
6
|
-
interface BulkActionSplitOption<T> {
|
|
7
|
-
id: string;
|
|
8
|
-
label: string;
|
|
9
|
-
icon?: IconType;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Receives the full array of currently selected row objects. */
|
|
12
|
-
onClick: (selectedRows: T[]) => void;
|
|
13
|
-
}
|
|
14
|
-
interface BulkActionCommon<T> {
|
|
15
|
-
/** Only needs to be unique within this `bulkActions` array. */
|
|
16
|
-
id: string;
|
|
17
|
-
color?: ButtonColorProps;
|
|
18
|
-
disabled?: boolean | ((selectedRows: T[]) => boolean);
|
|
19
|
-
/** Primary action - fired on click for `'button'`, or on the primary (left) segment for `'split-button'`. */
|
|
20
|
-
onClick: (selectedRows: T[]) => void;
|
|
21
|
-
}
|
|
22
|
-
interface BulkActionButton<T> extends BulkActionCommon<T> {
|
|
23
|
-
/** @default 'button' */
|
|
24
|
-
type?: 'button';
|
|
25
|
-
/** Omit to render an icon-only button - `icon` becomes the sole icon in that case. */
|
|
26
|
-
label?: string;
|
|
27
|
-
icon?: IconType;
|
|
28
|
-
posIcon?: IconType;
|
|
29
|
-
variant?: ButtonVariantProps;
|
|
30
|
-
}
|
|
31
|
-
interface BulkActionSplitButton<T> extends BulkActionCommon<T> {
|
|
32
|
-
type: 'split-button';
|
|
33
|
-
/** Required - SplitButton always renders a primary label. */
|
|
34
|
-
label: string;
|
|
35
|
-
icon?: IconType;
|
|
36
|
-
/** SplitButton has no `text` variant. */
|
|
37
|
-
variant?: Exclude<ButtonVariantProps, 'text'>;
|
|
38
|
-
/** Secondary actions shown in the split-button's dropdown. */
|
|
39
|
-
options: BulkActionSplitOption<T>[];
|
|
40
|
-
}
|
|
41
|
-
type BulkAction<T> = BulkActionButton<T> | BulkActionSplitButton<T>;
|
|
42
|
-
interface TableColumn<T> {
|
|
43
|
-
key: keyof T | string;
|
|
44
|
-
label: string;
|
|
45
|
-
render?: (value: unknown, item: T) => ReactNode;
|
|
46
|
-
sortable?: boolean;
|
|
47
|
-
filterable?: boolean;
|
|
48
|
-
filterType?: 'text' | 'select' | 'date' | 'boolean';
|
|
49
|
-
filterOptions?: {
|
|
50
|
-
id: string;
|
|
51
|
-
value: string;
|
|
52
|
-
label: string;
|
|
53
|
-
}[];
|
|
54
|
-
dateFilterMode?: 'single' | 'multiple' | 'range';
|
|
55
|
-
width?: string;
|
|
56
|
-
align?: 'left' | 'center' | 'right';
|
|
57
|
-
type?: 'data' | 'icon' | 'action';
|
|
58
|
-
/** Enables position:sticky on this column */
|
|
59
|
-
pin?: 'left' | 'right';
|
|
60
|
-
}
|
|
61
|
-
type FilterValue = string | string[] | boolean | {
|
|
62
|
-
start: string | null;
|
|
63
|
-
end: string | null;
|
|
64
|
-
} | undefined;
|
|
65
|
-
interface TableFilters {
|
|
66
|
-
[key: string]: FilterValue;
|
|
67
|
-
}
|
|
68
|
-
interface TableProps<T> {
|
|
69
|
-
data: T[];
|
|
70
|
-
columns: TableColumn<T>[];
|
|
71
|
-
loading?: boolean;
|
|
72
|
-
emptyMessage?: string;
|
|
73
|
-
onRowClick?: (item: T) => void;
|
|
74
|
-
className?: string;
|
|
75
|
-
showFooter?: boolean;
|
|
76
|
-
totalItems?: number;
|
|
77
|
-
showPagination?: boolean;
|
|
78
|
-
pageSize?: number;
|
|
79
|
-
pageSizeOptions?: number[];
|
|
80
|
-
onSortChange?: (sortBy: string, sortDirection: 'asc' | 'desc') => void;
|
|
81
|
-
currentSort?: {
|
|
82
|
-
key: string;
|
|
83
|
-
direction: 'asc' | 'desc';
|
|
84
|
-
};
|
|
85
|
-
filters?: TableFilters;
|
|
86
|
-
onFiltersChange?: (filters: TableFilters) => void;
|
|
87
|
-
defaultFilters?: TableFilters;
|
|
88
|
-
showFilters?: boolean;
|
|
89
|
-
selectable?: boolean;
|
|
90
|
-
rowKey?: keyof T;
|
|
91
|
-
selectedRows?: string[];
|
|
92
|
-
defaultSelectedRows?: string[];
|
|
93
|
-
onSelectionChange?: (selectedKeys: string[], selectedRows: T[]) => void;
|
|
94
|
-
bulkActions?: BulkAction<T>[];
|
|
95
|
-
density?: 'compact' | 'comfortable' | 'spacious';
|
|
96
|
-
showColumnVisibility?: boolean;
|
|
97
|
-
showExport?: boolean;
|
|
98
|
-
showDensity?: boolean;
|
|
99
|
-
draggableColumns?: boolean;
|
|
100
|
-
onColumnReorder?: (newColumns: TableColumn<T>[]) => void;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export type { BulkAction as B, FilterValue as F, TableColumn as T, BulkActionButton as a, BulkActionSplitButton as b, BulkActionSplitOption as c, TableFilters as d, TableProps as e };
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { I as IconType } from './renderIcon-C2lEMMzb.cjs';
|
|
3
|
-
import { B as ButtonColorProps, b as ButtonVariantProps } from './Button.types-DZRCVqyN.cjs';
|
|
4
|
-
|
|
5
|
-
/** A secondary action inside a `type: 'split-button'` bulk action's dropdown. */
|
|
6
|
-
interface BulkActionSplitOption<T> {
|
|
7
|
-
id: string;
|
|
8
|
-
label: string;
|
|
9
|
-
icon?: IconType;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Receives the full array of currently selected row objects. */
|
|
12
|
-
onClick: (selectedRows: T[]) => void;
|
|
13
|
-
}
|
|
14
|
-
interface BulkActionCommon<T> {
|
|
15
|
-
/** Only needs to be unique within this `bulkActions` array. */
|
|
16
|
-
id: string;
|
|
17
|
-
color?: ButtonColorProps;
|
|
18
|
-
disabled?: boolean | ((selectedRows: T[]) => boolean);
|
|
19
|
-
/** Primary action - fired on click for `'button'`, or on the primary (left) segment for `'split-button'`. */
|
|
20
|
-
onClick: (selectedRows: T[]) => void;
|
|
21
|
-
}
|
|
22
|
-
interface BulkActionButton<T> extends BulkActionCommon<T> {
|
|
23
|
-
/** @default 'button' */
|
|
24
|
-
type?: 'button';
|
|
25
|
-
/** Omit to render an icon-only button - `icon` becomes the sole icon in that case. */
|
|
26
|
-
label?: string;
|
|
27
|
-
icon?: IconType;
|
|
28
|
-
posIcon?: IconType;
|
|
29
|
-
variant?: ButtonVariantProps;
|
|
30
|
-
}
|
|
31
|
-
interface BulkActionSplitButton<T> extends BulkActionCommon<T> {
|
|
32
|
-
type: 'split-button';
|
|
33
|
-
/** Required - SplitButton always renders a primary label. */
|
|
34
|
-
label: string;
|
|
35
|
-
icon?: IconType;
|
|
36
|
-
/** SplitButton has no `text` variant. */
|
|
37
|
-
variant?: Exclude<ButtonVariantProps, 'text'>;
|
|
38
|
-
/** Secondary actions shown in the split-button's dropdown. */
|
|
39
|
-
options: BulkActionSplitOption<T>[];
|
|
40
|
-
}
|
|
41
|
-
type BulkAction<T> = BulkActionButton<T> | BulkActionSplitButton<T>;
|
|
42
|
-
interface TableColumn<T> {
|
|
43
|
-
key: keyof T | string;
|
|
44
|
-
label: string;
|
|
45
|
-
render?: (value: unknown, item: T) => ReactNode;
|
|
46
|
-
sortable?: boolean;
|
|
47
|
-
filterable?: boolean;
|
|
48
|
-
filterType?: 'text' | 'select' | 'date' | 'boolean';
|
|
49
|
-
filterOptions?: {
|
|
50
|
-
id: string;
|
|
51
|
-
value: string;
|
|
52
|
-
label: string;
|
|
53
|
-
}[];
|
|
54
|
-
dateFilterMode?: 'single' | 'multiple' | 'range';
|
|
55
|
-
width?: string;
|
|
56
|
-
align?: 'left' | 'center' | 'right';
|
|
57
|
-
type?: 'data' | 'icon' | 'action';
|
|
58
|
-
/** Enables position:sticky on this column */
|
|
59
|
-
pin?: 'left' | 'right';
|
|
60
|
-
}
|
|
61
|
-
type FilterValue = string | string[] | boolean | {
|
|
62
|
-
start: string | null;
|
|
63
|
-
end: string | null;
|
|
64
|
-
} | undefined;
|
|
65
|
-
interface TableFilters {
|
|
66
|
-
[key: string]: FilterValue;
|
|
67
|
-
}
|
|
68
|
-
interface TableProps<T> {
|
|
69
|
-
data: T[];
|
|
70
|
-
columns: TableColumn<T>[];
|
|
71
|
-
loading?: boolean;
|
|
72
|
-
emptyMessage?: string;
|
|
73
|
-
onRowClick?: (item: T) => void;
|
|
74
|
-
className?: string;
|
|
75
|
-
showFooter?: boolean;
|
|
76
|
-
totalItems?: number;
|
|
77
|
-
showPagination?: boolean;
|
|
78
|
-
pageSize?: number;
|
|
79
|
-
pageSizeOptions?: number[];
|
|
80
|
-
onSortChange?: (sortBy: string, sortDirection: 'asc' | 'desc') => void;
|
|
81
|
-
currentSort?: {
|
|
82
|
-
key: string;
|
|
83
|
-
direction: 'asc' | 'desc';
|
|
84
|
-
};
|
|
85
|
-
filters?: TableFilters;
|
|
86
|
-
onFiltersChange?: (filters: TableFilters) => void;
|
|
87
|
-
defaultFilters?: TableFilters;
|
|
88
|
-
showFilters?: boolean;
|
|
89
|
-
selectable?: boolean;
|
|
90
|
-
rowKey?: keyof T;
|
|
91
|
-
selectedRows?: string[];
|
|
92
|
-
defaultSelectedRows?: string[];
|
|
93
|
-
onSelectionChange?: (selectedKeys: string[], selectedRows: T[]) => void;
|
|
94
|
-
bulkActions?: BulkAction<T>[];
|
|
95
|
-
density?: 'compact' | 'comfortable' | 'spacious';
|
|
96
|
-
showColumnVisibility?: boolean;
|
|
97
|
-
showExport?: boolean;
|
|
98
|
-
showDensity?: boolean;
|
|
99
|
-
draggableColumns?: boolean;
|
|
100
|
-
onColumnReorder?: (newColumns: TableColumn<T>[]) => void;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export type { BulkAction as B, FilterValue as F, TableColumn as T, BulkActionButton as a, BulkActionSplitButton as b, BulkActionSplitOption as c, TableFilters as d, TableProps as e };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { a as BreadcrumbProps } from './Breadcrumb.types-DaykU-C8.js';
|
|
2
|
-
import { I as IconButtonProps } from './Button.types-BH0CPyPx.js';
|
|
3
|
-
import { b as MenuItemType } from './Menu.types-DNIpjSAK.js';
|
|
4
|
-
import { C as CommandItem } from './CommandPalette.types-DRMMS_ev.js';
|
|
5
|
-
|
|
6
|
-
interface ToolbarProps {
|
|
7
|
-
/** Breadcrumb trail rendered above the page. */
|
|
8
|
-
breadcrumbs: Pick<BreadcrumbProps, 'items' | 'separator'>;
|
|
9
|
-
/** User menu items, rendered right-aligned. */
|
|
10
|
-
userMenu: MenuItemType[];
|
|
11
|
-
/** Command palette items, rendered right-aligned. */
|
|
12
|
-
cmdPaletteItems?: CommandItem[];
|
|
13
|
-
/** Trailing action buttons, rendered right-aligned. */
|
|
14
|
-
actions?: ToolbarActionProps[];
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Restricted, discriminated subset of ButtonProps for Toolbar actions.
|
|
19
|
-
*/
|
|
20
|
-
type ToolbarActionProps = Pick<IconButtonProps, 'color' | 'loading' | 'disabled' | 'preIcon' | 'posIcon' | 'icon' | 'children' | 'onClick' | 'tooltip'>;
|
|
21
|
-
|
|
22
|
-
export type { ToolbarActionProps as T, ToolbarProps as a };
|