@superblocksteam/library 2.0.0-next.76 → 2.0.0-next.78
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/{allPaths-CGqbYOvD.js → allPaths-B1oHKI1p.js} +2 -2
- package/dist/{allPaths-CGqbYOvD.js.map → allPaths-B1oHKI1p.js.map} +1 -1
- package/dist/{allPaths-CEDGaKPd.js → allPaths-BUAUNp6C.js} +2 -2
- package/dist/{allPaths-CEDGaKPd.js.map → allPaths-BUAUNp6C.js.map} +1 -1
- package/dist/{allPathsLoader-Coc10wdt.js → allPathsLoader-IJwIK4Mq.js} +3 -3
- package/dist/{allPathsLoader-Coc10wdt.js.map → allPathsLoader-IJwIK4Mq.js.map} +1 -1
- package/dist/{allPathsLoader-y2OFBgre.js → allPathsLoader-jMzvQnRN.js} +3 -3
- package/dist/{allPathsLoader-y2OFBgre.js.map → allPathsLoader-jMzvQnRN.js.map} +1 -1
- package/dist/{index-kHJmJ-tG.js → index-CBdzfmE8.js} +153 -99
- package/dist/{index-kHJmJ-tG.js.map → index-CBdzfmE8.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-mUM3KhQf.js → splitPathsBySizeLoader-CeJ0cPAy.js} +2 -2
- package/dist/{splitPathsBySizeLoader-mUM3KhQf.js.map → splitPathsBySizeLoader-CeJ0cPAy.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-C2O_pqfA.js → splitPathsBySizeLoader-Dl3K-Ulg.js} +2 -2
- package/dist/{splitPathsBySizeLoader-C2O_pqfA.js.map → splitPathsBySizeLoader-Dl3K-Ulg.js.map} +1 -1
- package/dist-types/edit-mode/default-table-data.d.ts +7 -0
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +26 -27
- package/dist-types/lib/user-facing/components/table/index.d.ts +33 -33
- package/dist-types/lib/user-facing/components/table/props.d.ts +33 -33
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/types.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { V as clientExports } from "./index-
|
|
2
|
-
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, N, bH } from "./index-
|
|
1
|
+
import { V as clientExports } from "./index-CBdzfmE8.js";
|
|
2
|
+
import { W, X, Q, K, L, Y, J, Z, $, a0, a1, a2, a3, w, a4, a5, a6, a7, a8, U, a9, P, aa, ab, ac, ad, R, v, S, m, d, e, l, n, k, M, x, q, s, f, i, g, w as w2, c, o, j, h, u, t, A, ae, af, ag, ah, ai, T, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, y, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, H, aT, aU, aV, aW, aX, aY, C, aZ, a_, a$, b0, b1, E, b2, b3, z, b4, b5, b6, r, G, F, b7, b8, b9, O, B, D, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, N, bH } from "./index-CBdzfmE8.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
W as Await,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-CBdzfmE8.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-CeJ0cPAy.js.map
|
package/dist/{splitPathsBySizeLoader-mUM3KhQf.js.map → splitPathsBySizeLoader-CeJ0cPAy.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-CeJ0cPAy.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.20.0_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-CBdzfmE8.js";
|
|
2
2
|
var splitPathsBySizeLoader = function(name, size) {
|
|
3
3
|
return __awaiter(void 0, void 0, void 0, function() {
|
|
4
4
|
var key, pathsRecord;
|
|
@@ -31,4 +31,4 @@ var splitPathsBySizeLoader = function(name, size) {
|
|
|
31
31
|
export {
|
|
32
32
|
splitPathsBySizeLoader
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=splitPathsBySizeLoader-
|
|
34
|
+
//# sourceMappingURL=splitPathsBySizeLoader-Dl3K-Ulg.js.map
|
package/dist/{splitPathsBySizeLoader-C2O_pqfA.js.map → splitPathsBySizeLoader-Dl3K-Ulg.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-Dl3K-Ulg.js","sources":["../../../node_modules/.pnpm/@blueprintjs+icons@5.18.1_@types+react@18.3.18_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@blueprintjs/icons/lib/esm/paths-loaders/splitPathsBySizeLoader.js"],"sourcesContent":["/*\n * Copyright 2023 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { __awaiter, __generator } from \"tslib\";\nimport { pascalCase } from \"change-case\";\nimport { IconSize } from \"../iconTypes\";\n/**\n * A dynamic loader for icon paths that generates separate chunks for the two size variants.\n */\nexport var splitPathsBySizeLoader = function (name, size) { return __awaiter(void 0, void 0, void 0, function () {\n var key, pathsRecord;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n key = pascalCase(name);\n if (!(size === IconSize.STANDARD)) return [3 /*break*/, 2];\n return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-16px-paths\" */\n \"../generated/16px/paths\")];\n case 1:\n pathsRecord = _a.sent();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, import(\n /* webpackChunkName: \"blueprint-icons-20px-paths\" */\n \"../generated/20px/paths\")];\n case 3:\n pathsRecord = _a.sent();\n _a.label = 4;\n case 4: return [2 /*return*/, pathsRecord[key]];\n }\n });\n}); };\n//# sourceMappingURL=splitPathsBySizeLoader.js.map"],"names":[],"mappings":";AAqBU,IAAC,yBAAyB,SAAU,MAAM,MAAM;AAAE,SAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAY;AAC7G,QAAI,KAAK;AACT,WAAO,YAAY,MAAM,SAAU,IAAI;AACnC,cAAQ,GAAG,OAAK;AAAA,QACZ,KAAK;AACD,gBAAM,WAAW,IAAI;AACrB,cAAI,EAAE,SAAS,SAAS,UAAW,QAAO,CAAC,GAAa,CAAC;AACzD,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEjB;AAAA,UAAyB,kBAAC;AAAA,QAClC,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,iBAAO,CAAC,GAAa,CAAC;AAAA,QAC1B,KAAK;AAAG,iBAAO,CAAC,GAAa;AAAA;AAAA,YAEzB;AAAA,UAAyB,kBAAC;AAAA,QAC9B,KAAK;AACD,wBAAc,GAAG,KAAM;AACvB,aAAG,QAAQ;AAAA,QACf,KAAK;AAAG,iBAAO,CAAC,GAAc,YAAY,GAAG,CAAC;AAAA,MAC1D;AAAA,IACA,CAAK;AAAA,EACL,CAAC;AAAE;","x_google_ignoreList":[0]}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Dim } from "@superblocksteam/library-shared";
|
|
1
2
|
export declare const DEFAULT_TABLE_DATA: {
|
|
2
3
|
photo: string;
|
|
3
4
|
name: string;
|
|
@@ -58,6 +59,12 @@ export declare const DEFAULT_TABLE_COLUMNS: {
|
|
|
58
59
|
photo: {
|
|
59
60
|
columnType: string;
|
|
60
61
|
label: string;
|
|
62
|
+
imageBorderRadius: {
|
|
63
|
+
topLeft: Dim<"px">;
|
|
64
|
+
topRight: Dim<"px">;
|
|
65
|
+
bottomLeft: Dim<"px">;
|
|
66
|
+
bottomRight: Dim<"px">;
|
|
67
|
+
};
|
|
61
68
|
};
|
|
62
69
|
};
|
|
63
70
|
export declare const DEFAULT_TABLE_KEYS: string[];
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Dim } from "@superblocksteam/library-shared";
|
|
2
1
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
3
2
|
import { type BooleanStyleFalse, ColumnType, ImageSize } from "./types.js";
|
|
4
3
|
import type { IconPosition } from "../../icons/constants.js";
|
|
@@ -69,8 +68,8 @@ export declare const columnPanelConfig: {
|
|
|
69
68
|
}, "columnType"> & ({
|
|
70
69
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
71
70
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
72
|
-
"cellProps.textStyle": Prop<
|
|
73
|
-
cellBackground: Prop<string,
|
|
71
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
72
|
+
cellBackground: Prop<string, true>;
|
|
74
73
|
textWrap: Prop<boolean, false>;
|
|
75
74
|
cellIcon: Prop<string, false>;
|
|
76
75
|
cellIconPosition: Prop<IconPosition, true>;
|
|
@@ -78,8 +77,8 @@ export declare const columnPanelConfig: {
|
|
|
78
77
|
} | {
|
|
79
78
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
80
79
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
81
|
-
"cellProps.textStyle": Prop<
|
|
82
|
-
cellBackground: Prop<string,
|
|
80
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
81
|
+
cellBackground: Prop<string, true>;
|
|
83
82
|
textWrap: Prop<boolean, false>;
|
|
84
83
|
cellIcon: Prop<string, false>;
|
|
85
84
|
cellIconPosition: Prop<IconPosition, true>;
|
|
@@ -87,8 +86,8 @@ export declare const columnPanelConfig: {
|
|
|
87
86
|
} | {
|
|
88
87
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
89
88
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
90
|
-
"cellProps.textStyle": Prop<
|
|
91
|
-
cellBackground: Prop<string,
|
|
89
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
90
|
+
cellBackground: Prop<string, true>;
|
|
92
91
|
textWrap: Prop<boolean, false>;
|
|
93
92
|
cellIcon: Prop<string, false>;
|
|
94
93
|
cellIconPosition: Prop<IconPosition, true>;
|
|
@@ -96,8 +95,8 @@ export declare const columnPanelConfig: {
|
|
|
96
95
|
} | {
|
|
97
96
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
98
97
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
99
|
-
"cellProps.textStyle": Prop<
|
|
100
|
-
cellBackground: Prop<string,
|
|
98
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
99
|
+
cellBackground: Prop<string, true>;
|
|
101
100
|
textWrap: Prop<boolean, false>;
|
|
102
101
|
cellIcon: Prop<string, false>;
|
|
103
102
|
cellIconPosition: Prop<IconPosition, true>;
|
|
@@ -105,8 +104,8 @@ export declare const columnPanelConfig: {
|
|
|
105
104
|
} | {
|
|
106
105
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
107
106
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
108
|
-
"cellProps.textStyle": Prop<
|
|
109
|
-
cellBackground: Prop<string,
|
|
107
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
108
|
+
cellBackground: Prop<string, true>;
|
|
110
109
|
textWrap: Prop<boolean, false>;
|
|
111
110
|
cellIcon: Prop<string, false>;
|
|
112
111
|
cellIconPosition: Prop<IconPosition, true>;
|
|
@@ -114,22 +113,22 @@ export declare const columnPanelConfig: {
|
|
|
114
113
|
} | {
|
|
115
114
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
116
115
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
117
|
-
"cellProps.textStyle": Prop<
|
|
118
|
-
cellBackground: Prop<string,
|
|
116
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
117
|
+
cellBackground: Prop<string, true>;
|
|
119
118
|
imageSize: Prop<ImageSize, false>;
|
|
120
|
-
imageBorderRadius: Prop<
|
|
119
|
+
imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
121
120
|
columnType: Prop<"image", true>;
|
|
122
121
|
} | {
|
|
123
122
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
124
123
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
125
|
-
"cellProps.textStyle": Prop<
|
|
126
|
-
cellBackground: Prop<string,
|
|
124
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
125
|
+
cellBackground: Prop<string, true>;
|
|
127
126
|
columnType: Prop<"video", true>;
|
|
128
127
|
} | {
|
|
129
128
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
130
129
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
131
|
-
"cellProps.textStyle": Prop<
|
|
132
|
-
cellBackground: Prop<string,
|
|
130
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
131
|
+
cellBackground: Prop<string, true>;
|
|
133
132
|
textWrap: Prop<boolean, false>;
|
|
134
133
|
cellIcon: Prop<string, false>;
|
|
135
134
|
cellIconPosition: Prop<IconPosition, true>;
|
|
@@ -145,34 +144,34 @@ export declare const columnPanelConfig: {
|
|
|
145
144
|
} | {
|
|
146
145
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
147
146
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
148
|
-
"cellProps.textStyle": Prop<
|
|
149
|
-
cellBackground: Prop<string,
|
|
147
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
148
|
+
cellBackground: Prop<string, true>;
|
|
150
149
|
columnType: Prop<"link", true>;
|
|
151
150
|
} | {
|
|
152
151
|
booleanStyleFalse: Prop<BooleanStyleFalse, true>;
|
|
153
152
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
154
153
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
155
|
-
"cellProps.textStyle": Prop<
|
|
156
|
-
cellBackground: Prop<string,
|
|
154
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
155
|
+
cellBackground: Prop<string, true>;
|
|
157
156
|
columnType: Prop<"boolean", true>;
|
|
158
157
|
} | {
|
|
159
158
|
tagDisplayConfig: Prop<any, false>;
|
|
160
159
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
161
160
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
162
|
-
"cellProps.textStyle": Prop<
|
|
163
|
-
cellBackground: Prop<string,
|
|
161
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
162
|
+
cellBackground: Prop<string, true>;
|
|
164
163
|
columnType: Prop<"tags", true>;
|
|
165
164
|
} | {
|
|
166
165
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
167
166
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
168
|
-
"cellProps.textStyle": Prop<
|
|
169
|
-
cellBackground: Prop<string,
|
|
167
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
168
|
+
cellBackground: Prop<string, true>;
|
|
170
169
|
textWrap: Prop<boolean, false>;
|
|
171
170
|
cellIcon: Prop<string, false>;
|
|
172
171
|
cellIconPosition: Prop<IconPosition, true>;
|
|
173
172
|
columnType: Prop<"email", true>;
|
|
174
173
|
})))) & {
|
|
175
|
-
|
|
174
|
+
isFrozen: Prop<boolean, false>;
|
|
176
175
|
}>;
|
|
177
176
|
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
178
177
|
columnType: Prop<ColumnType, false>;
|
|
@@ -68,8 +68,8 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
68
68
|
}, "columnType"> & ({
|
|
69
69
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
70
70
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
71
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
72
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
71
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
72
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
73
73
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
74
74
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
75
75
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -77,8 +77,8 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
77
77
|
} | {
|
|
78
78
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
79
79
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
80
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
81
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
80
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
81
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
82
82
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
83
83
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
84
84
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -86,8 +86,8 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
86
86
|
} | {
|
|
87
87
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
88
88
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
89
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
90
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
89
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
90
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
91
91
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
92
92
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
93
93
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -95,8 +95,8 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
95
95
|
} | {
|
|
96
96
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
97
97
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
98
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
99
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
98
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
99
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
100
100
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
101
101
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
102
102
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -104,8 +104,8 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
104
104
|
} | {
|
|
105
105
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
106
106
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
107
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
108
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
107
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
108
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
109
109
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
110
110
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
111
111
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -113,22 +113,22 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
113
113
|
} | {
|
|
114
114
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
115
115
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
116
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
117
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
116
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
117
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
118
118
|
imageSize: import("../../properties-panel/props-builder.js").Prop<import("./types.js").ImageSize, false>;
|
|
119
|
-
imageBorderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").
|
|
119
|
+
imageBorderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
120
120
|
columnType: import("../../properties-panel/props-builder.js").Prop<"image", true>;
|
|
121
121
|
} | {
|
|
122
122
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
123
123
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
124
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
125
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
124
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
125
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
126
126
|
columnType: import("../../properties-panel/props-builder.js").Prop<"video", true>;
|
|
127
127
|
} | {
|
|
128
128
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
129
129
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
130
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
131
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
130
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
131
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
132
132
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
133
133
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
134
134
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -144,34 +144,34 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
144
144
|
} | {
|
|
145
145
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
146
146
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
147
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
148
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
147
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
148
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
149
149
|
columnType: import("../../properties-panel/props-builder.js").Prop<"link", true>;
|
|
150
150
|
} | {
|
|
151
151
|
booleanStyleFalse: import("../../properties-panel/props-builder.js").Prop<import("./types.js").BooleanStyleFalse, true>;
|
|
152
152
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
153
153
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
154
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
155
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
154
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
155
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
156
156
|
columnType: import("../../properties-panel/props-builder.js").Prop<"boolean", true>;
|
|
157
157
|
} | {
|
|
158
158
|
tagDisplayConfig: import("../../properties-panel/props-builder.js").Prop<any, false>;
|
|
159
159
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
160
160
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
161
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
162
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
161
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
162
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
163
163
|
columnType: import("../../properties-panel/props-builder.js").Prop<"tags", true>;
|
|
164
164
|
} | {
|
|
165
165
|
horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
|
|
166
166
|
verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
167
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
168
|
-
cellBackground: import("../../properties-panel/props-builder.js").Prop<string,
|
|
167
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
168
|
+
cellBackground: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
169
169
|
textWrap: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
170
170
|
cellIcon: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
171
171
|
cellIconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
172
172
|
columnType: import("../../properties-panel/props-builder.js").Prop<"email", true>;
|
|
173
173
|
})))) & {
|
|
174
|
-
|
|
174
|
+
isFrozen: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
175
175
|
}>;
|
|
176
176
|
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
|
|
177
177
|
columnType: import("../../properties-panel/props-builder.js").Prop<import("./types.js").ColumnType, false>;
|
|
@@ -211,11 +211,11 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
211
211
|
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
212
212
|
defaultSelectedRow: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
213
213
|
showColumnBorders: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
214
|
-
"headerProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
215
|
-
"columnHeaderProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
216
|
-
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
217
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string,
|
|
218
|
-
selectedRowBackgroundColor: import("../../properties-panel/props-builder.js").Prop<string,
|
|
214
|
+
"headerProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
215
|
+
"columnHeaderProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
216
|
+
"cellProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
217
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
218
|
+
selectedRowBackgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
219
219
|
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
220
220
|
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
221
221
|
compactMode: import("../../properties-panel/props-builder.js").Prop<import("./types.js").CompactMode, false>;
|
|
@@ -223,8 +223,8 @@ export declare const SbTable: import("react").FC<import("../../properties-panel/
|
|
|
223
223
|
animateLoading: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
224
224
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
225
225
|
collapseWhenHidden: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
|
|
226
|
-
"searchProps.textStyle": import("../../properties-panel/props-builder.js").Prop<
|
|
227
|
-
"searchProps.backgroundColor": import("../../properties-panel/props-builder.js").Prop<string,
|
|
226
|
+
"searchProps.textStyle": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
227
|
+
"searchProps.backgroundColor": import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
228
228
|
"searchProps.border": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
229
229
|
"searchProps.borderRadius": import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
230
230
|
}>;
|
|
@@ -71,8 +71,8 @@ export declare const propertiesDefinition: {
|
|
|
71
71
|
}, "columnType"> & ({
|
|
72
72
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
73
73
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
74
|
-
"cellProps.textStyle": Prop<
|
|
75
|
-
cellBackground: Prop<string,
|
|
74
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
75
|
+
cellBackground: Prop<string, true>;
|
|
76
76
|
textWrap: Prop<boolean, false>;
|
|
77
77
|
cellIcon: Prop<string, false>;
|
|
78
78
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -80,8 +80,8 @@ export declare const propertiesDefinition: {
|
|
|
80
80
|
} | {
|
|
81
81
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
82
82
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
83
|
-
"cellProps.textStyle": Prop<
|
|
84
|
-
cellBackground: Prop<string,
|
|
83
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
84
|
+
cellBackground: Prop<string, true>;
|
|
85
85
|
textWrap: Prop<boolean, false>;
|
|
86
86
|
cellIcon: Prop<string, false>;
|
|
87
87
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -89,8 +89,8 @@ export declare const propertiesDefinition: {
|
|
|
89
89
|
} | {
|
|
90
90
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
91
91
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
92
|
-
"cellProps.textStyle": Prop<
|
|
93
|
-
cellBackground: Prop<string,
|
|
92
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
93
|
+
cellBackground: Prop<string, true>;
|
|
94
94
|
textWrap: Prop<boolean, false>;
|
|
95
95
|
cellIcon: Prop<string, false>;
|
|
96
96
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -98,8 +98,8 @@ export declare const propertiesDefinition: {
|
|
|
98
98
|
} | {
|
|
99
99
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
100
100
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
101
|
-
"cellProps.textStyle": Prop<
|
|
102
|
-
cellBackground: Prop<string,
|
|
101
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
102
|
+
cellBackground: Prop<string, true>;
|
|
103
103
|
textWrap: Prop<boolean, false>;
|
|
104
104
|
cellIcon: Prop<string, false>;
|
|
105
105
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -107,8 +107,8 @@ export declare const propertiesDefinition: {
|
|
|
107
107
|
} | {
|
|
108
108
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
109
109
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
110
|
-
"cellProps.textStyle": Prop<
|
|
111
|
-
cellBackground: Prop<string,
|
|
110
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
111
|
+
cellBackground: Prop<string, true>;
|
|
112
112
|
textWrap: Prop<boolean, false>;
|
|
113
113
|
cellIcon: Prop<string, false>;
|
|
114
114
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -116,22 +116,22 @@ export declare const propertiesDefinition: {
|
|
|
116
116
|
} | {
|
|
117
117
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
118
118
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
119
|
-
"cellProps.textStyle": Prop<
|
|
120
|
-
cellBackground: Prop<string,
|
|
119
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
120
|
+
cellBackground: Prop<string, true>;
|
|
121
121
|
imageSize: Prop<import("./types.js").ImageSize, false>;
|
|
122
|
-
imageBorderRadius: Prop<import("@superblocksteam/library-shared").
|
|
122
|
+
imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
123
123
|
columnType: Prop<"image", true>;
|
|
124
124
|
} | {
|
|
125
125
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
126
126
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
127
|
-
"cellProps.textStyle": Prop<
|
|
128
|
-
cellBackground: Prop<string,
|
|
127
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
128
|
+
cellBackground: Prop<string, true>;
|
|
129
129
|
columnType: Prop<"video", true>;
|
|
130
130
|
} | {
|
|
131
131
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
132
132
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
133
|
-
"cellProps.textStyle": Prop<
|
|
134
|
-
cellBackground: Prop<string,
|
|
133
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
134
|
+
cellBackground: Prop<string, true>;
|
|
135
135
|
textWrap: Prop<boolean, false>;
|
|
136
136
|
cellIcon: Prop<string, false>;
|
|
137
137
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
@@ -147,34 +147,34 @@ export declare const propertiesDefinition: {
|
|
|
147
147
|
} | {
|
|
148
148
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
149
149
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
150
|
-
"cellProps.textStyle": Prop<
|
|
151
|
-
cellBackground: Prop<string,
|
|
150
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
151
|
+
cellBackground: Prop<string, true>;
|
|
152
152
|
columnType: Prop<"link", true>;
|
|
153
153
|
} | {
|
|
154
154
|
booleanStyleFalse: Prop<import("./types.js").BooleanStyleFalse, true>;
|
|
155
155
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
156
156
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
157
|
-
"cellProps.textStyle": Prop<
|
|
158
|
-
cellBackground: Prop<string,
|
|
157
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
158
|
+
cellBackground: Prop<string, true>;
|
|
159
159
|
columnType: Prop<"boolean", true>;
|
|
160
160
|
} | {
|
|
161
161
|
tagDisplayConfig: Prop<any, false>;
|
|
162
162
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
163
163
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
164
|
-
"cellProps.textStyle": Prop<
|
|
165
|
-
cellBackground: Prop<string,
|
|
164
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
165
|
+
cellBackground: Prop<string, true>;
|
|
166
166
|
columnType: Prop<"tags", true>;
|
|
167
167
|
} | {
|
|
168
168
|
horizontalAlign: Prop<"center" | "left" | "right", true>;
|
|
169
169
|
verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
170
|
-
"cellProps.textStyle": Prop<
|
|
171
|
-
cellBackground: Prop<string,
|
|
170
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
171
|
+
cellBackground: Prop<string, true>;
|
|
172
172
|
textWrap: Prop<boolean, false>;
|
|
173
173
|
cellIcon: Prop<string, false>;
|
|
174
174
|
cellIconPosition: Prop<import("../../icons/constants.js").IconPosition, true>;
|
|
175
175
|
columnType: Prop<"email", true>;
|
|
176
176
|
})))) & {
|
|
177
|
-
|
|
177
|
+
isFrozen: Prop<boolean, false>;
|
|
178
178
|
}>;
|
|
179
179
|
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
180
180
|
columnType: Prop<import("./types.js").ColumnType, false>;
|
|
@@ -214,11 +214,11 @@ export declare const propertiesDefinition: {
|
|
|
214
214
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
215
215
|
defaultSelectedRow: Prop<number, false>;
|
|
216
216
|
showColumnBorders: Prop<boolean, false>;
|
|
217
|
-
"headerProps.textStyle": Prop<
|
|
218
|
-
"columnHeaderProps.textStyle": Prop<
|
|
219
|
-
"cellProps.textStyle": Prop<
|
|
220
|
-
backgroundColor: Prop<string,
|
|
221
|
-
selectedRowBackgroundColor: Prop<string,
|
|
217
|
+
"headerProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
218
|
+
"columnHeaderProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
219
|
+
"cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
220
|
+
backgroundColor: Prop<string, true>;
|
|
221
|
+
selectedRowBackgroundColor: Prop<string, true>;
|
|
222
222
|
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
223
223
|
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
224
224
|
compactMode: Prop<CompactMode, false>;
|
|
@@ -226,8 +226,8 @@ export declare const propertiesDefinition: {
|
|
|
226
226
|
animateLoading: Prop<boolean, false>;
|
|
227
227
|
isVisible: Prop<boolean, false>;
|
|
228
228
|
collapseWhenHidden: Prop<boolean, false>;
|
|
229
|
-
"searchProps.textStyle": Prop<
|
|
230
|
-
"searchProps.backgroundColor": Prop<string,
|
|
229
|
+
"searchProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
|
|
230
|
+
"searchProps.backgroundColor": Prop<string, true>;
|
|
231
231
|
"searchProps.border": Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
232
232
|
"searchProps.borderRadius": Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
233
233
|
}>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Dim } from "@superblocksteam/library-shared";
|
|
2
1
|
import React from "react";
|
|
3
2
|
import type { CompactMode, BooleanStyleFalse } from "./types.js";
|
|
4
3
|
import type { ColumnProperties, TableWidgetProps, EditProps, SingleCellProperties, TableStyles, TagDisplayConfig, TagsColorAssignment } from "./types.js";
|
|
5
4
|
import type { IconPosition } from "../../icons/constants.js";
|
|
6
5
|
import type { ButtonVariant } from "../button/props.js";
|
|
6
|
+
import type { Dim } from "@superblocksteam/library-shared";
|
|
7
7
|
import type { DimModes } from "@superblocksteam/library-shared";
|
|
8
8
|
import type { TextStyleWithVariant, UserAccessibleTheme, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
9
9
|
export declare const getAllTableColumnKeys: (tableData: Readonly<Array<Record<string, unknown>>>, additionalColumnKeys?: string[]) => string[];
|
|
@@ -200,7 +200,7 @@ export type SingleCellProperties = ColumnPropertiesForEditing & {
|
|
|
200
200
|
displayedValue?: string;
|
|
201
201
|
textWrap?: boolean;
|
|
202
202
|
dropdownIcon?: string;
|
|
203
|
-
imageBorderRadius?:
|
|
203
|
+
imageBorderRadius?: PerCornerBorderRadius;
|
|
204
204
|
imageSize?: ImageSize;
|
|
205
205
|
openImageUrl?: boolean;
|
|
206
206
|
inputFormat?: string;
|
|
@@ -292,7 +292,7 @@ export interface ColumnProperties extends ColumnEditConfigs, ColumnPropertiesFor
|
|
|
292
292
|
textWrap?: boolean;
|
|
293
293
|
tagDisplayConfig: Record<string, TagDisplayConfig>;
|
|
294
294
|
imageSize?: ImageSize;
|
|
295
|
-
imageBorderRadius?:
|
|
295
|
+
imageBorderRadius?: PerCornerBorderRadius;
|
|
296
296
|
openImageUrl?: boolean;
|
|
297
297
|
outputFormat?: string;
|
|
298
298
|
inputFormat?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/library",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.78",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@react-hook/resize-observer": "1.2.6",
|
|
34
34
|
"@superblocksteam/fast-deep-equal": "3.1.4",
|
|
35
35
|
"@superblocksteam/iso-currency": "2.0.0",
|
|
36
|
-
"@superblocksteam/library-shared": "2.0.0-next.
|
|
36
|
+
"@superblocksteam/library-shared": "2.0.0-next.78",
|
|
37
37
|
"@superblocksteam/shared": "0.9146.0",
|
|
38
38
|
"antd": "4.24.15",
|
|
39
39
|
"apca-w3": "^0.1.9",
|