@superblocksteam/library 2.0.9-next.4 → 2.0.9-next.6
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-DVQ_5nnE.js → allPaths-CLVGdj8a.js} +2 -2
- package/dist/{allPaths-DVQ_5nnE.js.map → allPaths-CLVGdj8a.js.map} +1 -1
- package/dist/{allPaths-DgbOR4LI.js → allPaths-DMVMNmBv.js} +2 -2
- package/dist/{allPaths-DgbOR4LI.js.map → allPaths-DMVMNmBv.js.map} +1 -1
- package/dist/{allPathsLoader-S_l8yQbg.js → allPathsLoader-MJF6L0w4.js} +3 -3
- package/dist/{allPathsLoader-S_l8yQbg.js.map → allPathsLoader-MJF6L0w4.js.map} +1 -1
- package/dist/{allPathsLoader-rgoJpLB7.js → allPathsLoader-tZx3cE6x.js} +3 -3
- package/dist/{allPathsLoader-rgoJpLB7.js.map → allPathsLoader-tZx3cE6x.js.map} +1 -1
- package/dist/{devtools-consolidated-CCq3BVCW.js → devtools-consolidated-COB7JeJA.js} +2 -2
- package/dist/{devtools-consolidated-CCq3BVCW.js.map → devtools-consolidated-COB7JeJA.js.map} +1 -1
- package/dist/{index-Ctg-O1r-.js → index-B-CDQoFL.js} +6688 -1193
- package/dist/{index-Ctg-O1r-.js.map → index-B-CDQoFL.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-CxVQbYg6.js → splitPathsBySizeLoader-Bcv3pvpP.js} +2 -2
- package/dist/{splitPathsBySizeLoader-CxVQbYg6.js.map → splitPathsBySizeLoader-Bcv3pvpP.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-DQ76-x5s.js → splitPathsBySizeLoader-N7jXLyrT.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DQ76-x5s.js.map → splitPathsBySizeLoader-N7jXLyrT.js.map} +1 -1
- package/dist-types/lib/triggers/implementations/set-profile.d.ts +1 -2
- package/dist-types/lib/user-facing/components/table/index.d.ts +6 -4
- package/dist-types/lib/user-facing/components/table/props.d.ts +6 -4
- package/dist-types/lib/user-facing/event-flow.d.ts +2 -2
- package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +1 -1
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +15 -0
- package/dist-types/lib/utils/tracing.d.ts +4 -0
- package/package.json +11 -2
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a0 as clientExports } from "./index-
|
|
2
|
-
import { a1, a2, B, h, C, c, g, i, Y, D, O, Q, E, a3, L, a4, a5, a6, a7, l, n, d, a8, a9, v, aa, ab, M, ac, ad, ae, $, P, af, W, ag, ah, ai, aj, Z, u, R, v as v2, ak, al, S, am, e, q, A, an, ao, k, f, T, N, s, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, X, w, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, K, aZ, a_, a$, b0, b1, b2, z, b3, b4, b5, b6, b7, G, b8, b9, x, ba, bb, bc, r, J, H, bd, be, bf, y, F, 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, bH, bI, bJ, bK, bL, bM, V, U, bN } from "./index-
|
|
1
|
+
import { a0 as clientExports } from "./index-B-CDQoFL.js";
|
|
2
|
+
import { a1, a2, B, h, C, c, g, i, Y, D, O, Q, E, a3, L, a4, a5, a6, a7, l, n, d, a8, a9, v, aa, ab, M, ac, ad, ae, $, P, af, W, ag, ah, ai, aj, Z, u, R, v as v2, ak, al, S, am, e, q, A, an, ao, k, f, T, N, s, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, X, w, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, K, aZ, a_, a$, b0, b1, b2, z, b3, b4, b5, b6, b7, G, b8, b9, x, ba, bb, bc, r, J, H, bd, be, bf, y, F, 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, bH, bI, bJ, bK, bL, bM, V, U, bN } from "./index-B-CDQoFL.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
5
|
a1 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-B-CDQoFL.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-Bcv3pvpP.js.map
|
package/dist/{splitPathsBySizeLoader-CxVQbYg6.js.map → splitPathsBySizeLoader-Bcv3pvpP.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-Bcv3pvpP.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-B-CDQoFL.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-N7jXLyrT.js.map
|
package/dist/{splitPathsBySizeLoader-DQ76-x5s.js.map → splitPathsBySizeLoader-N7jXLyrT.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-N7jXLyrT.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]}
|
|
@@ -3,10 +3,9 @@ import type { SetProfileStep } from "@superblocksteam/library-shared/types";
|
|
|
3
3
|
export declare const SetProfileTrigger: {
|
|
4
4
|
type: "setProfile";
|
|
5
5
|
execute(_context: ExecutionContext, step: SetProfileStep): Promise<void>;
|
|
6
|
-
create(profileId: string,
|
|
6
|
+
create(profileId: string, action: "set" | "unset"): {
|
|
7
7
|
type: "setProfile";
|
|
8
8
|
profileId: string;
|
|
9
|
-
profileAction: "unset" | "set";
|
|
10
9
|
action: "unset" | "set";
|
|
11
10
|
};
|
|
12
11
|
};
|
|
@@ -324,10 +324,12 @@ export declare const Table: import("react").FC<import("../../properties-panel/pr
|
|
|
324
324
|
maxLinesPerRow: import("../../properties-panel/props-builder.js").Prop<number, true, undefined>;
|
|
325
325
|
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
|
|
326
326
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
searchProps: import("../../properties-panel/props-builder.js").CompositeProp<{
|
|
328
|
+
textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
329
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
|
|
330
|
+
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false, undefined>;
|
|
331
|
+
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
|
|
332
|
+
}>;
|
|
331
333
|
}>;
|
|
332
334
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
|
|
333
335
|
onRowClick: import("../../properties-panel/props-builder.js").Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
@@ -327,10 +327,12 @@ export declare const propertiesDefinition: {
|
|
|
327
327
|
maxLinesPerRow: Prop<number, true, undefined>;
|
|
328
328
|
loading: Prop<boolean, true, undefined>;
|
|
329
329
|
isVisible: Prop<boolean, false, undefined>;
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
330
|
+
searchProps: import("../../properties-panel/props-builder.js").CompositeProp<{
|
|
331
|
+
textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
|
|
332
|
+
backgroundColor: Prop<string, true, undefined>;
|
|
333
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false, undefined>;
|
|
334
|
+
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
|
|
335
|
+
}>;
|
|
334
336
|
}>;
|
|
335
337
|
events: Section<Record<string, Prop<any, any, undefined>> & {
|
|
336
338
|
onRowClick: Prop<import("../../event-flow.js").EventFlow, false, undefined>;
|
|
@@ -50,8 +50,8 @@ declare class EventFlow implements IEventFlow<StepDef, ScopedState, ValueInputPr
|
|
|
50
50
|
}): this;
|
|
51
51
|
static showAlert(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): EventFlow;
|
|
52
52
|
showAlert(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): this;
|
|
53
|
-
static setProfile(profileId: string,
|
|
54
|
-
setProfile(profileId: string,
|
|
53
|
+
static setProfile(profileId: string, action: "set" | "unset"): EventFlow;
|
|
54
|
+
setProfile(profileId: string, action: "set" | "unset"): this;
|
|
55
55
|
static triggerEvent(eventName: string, eventData: Record<string, string>): EventFlow;
|
|
56
56
|
triggerEvent(eventName: string, eventData: Record<string, string>): this;
|
|
57
57
|
static sequence(eventFlows: EventFlow[]): EventFlow;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Section } from "./props-builder.js";
|
|
2
2
|
import type { PropertiesPanelDefinition } from "@superblocksteam/library-shared/props";
|
|
3
3
|
import type { ScopedState, Entity } from "@superblocksteam/library-shared/types";
|
|
4
4
|
declare function createPropertiesPanelDefinition(sections: Record<string, Section>, entity?: Entity, scopedState?: ScopedState): PropertiesPanelDefinition;
|
|
@@ -247,6 +247,21 @@ declare class CompositeProp<T extends CompositeInputs> extends Prop<unknown, boo
|
|
|
247
247
|
constructor(props: T);
|
|
248
248
|
getProps(): T;
|
|
249
249
|
toDefinition(entity: Entity, scopedState: ScopedState): WidgetPropertyDefinition<DataType> | undefined;
|
|
250
|
+
propertiesPanelChildrenDisplayMode(): ({
|
|
251
|
+
type: "inline";
|
|
252
|
+
} | {
|
|
253
|
+
type: "popover";
|
|
254
|
+
title?: string;
|
|
255
|
+
panelIdPropertyName?: string;
|
|
256
|
+
titlePropertyName?: string;
|
|
257
|
+
}) | ((this: any, state: any, path: string) => ({
|
|
258
|
+
type: "inline";
|
|
259
|
+
} | {
|
|
260
|
+
type: "popover";
|
|
261
|
+
title?: string;
|
|
262
|
+
panelIdPropertyName?: string;
|
|
263
|
+
titlePropertyName?: string;
|
|
264
|
+
}) | undefined) | undefined;
|
|
250
265
|
}
|
|
251
266
|
/**
|
|
252
267
|
* See {@link Prop.record}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@superblocksteam/library",
|
|
3
|
-
"version": "2.0.9-next.
|
|
3
|
+
"version": "2.0.9-next.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -26,6 +26,15 @@
|
|
|
26
26
|
"@dnd-kit/modifiers": "^9.0.0",
|
|
27
27
|
"@oddbird/css-anchor-positioning": "^0.4.0",
|
|
28
28
|
"@opentelemetry/api": "^1.9.0",
|
|
29
|
+
"@opentelemetry/auto-instrumentations-web": "^0.48.0",
|
|
30
|
+
"@opentelemetry/core": "^1.27.0",
|
|
31
|
+
"@opentelemetry/exporter-trace-otlp-http": "^0.55.0",
|
|
32
|
+
"@opentelemetry/instrumentation": "^0.55.0",
|
|
33
|
+
"@opentelemetry/instrumentation-xml-http-request": "^0.55.0",
|
|
34
|
+
"@opentelemetry/resources": "1.27.0",
|
|
35
|
+
"@opentelemetry/sdk-trace-base": "1.27.0",
|
|
36
|
+
"@opentelemetry/sdk-trace-web": "1.27.0",
|
|
37
|
+
"@opentelemetry/semantic-conventions": "1.27.0",
|
|
29
38
|
"@popperjs/core": "^2.11.7",
|
|
30
39
|
"@radix-ui/colors": "^3.0.0",
|
|
31
40
|
"@radix-ui/react-context-menu": "^2.2.2",
|
|
@@ -33,7 +42,7 @@
|
|
|
33
42
|
"@react-hook/resize-observer": "1.2.6",
|
|
34
43
|
"@superblocksteam/fast-deep-equal": "3.1.4",
|
|
35
44
|
"@superblocksteam/iso-currency": "2.0.0",
|
|
36
|
-
"@superblocksteam/library-shared": "2.0.9-next.
|
|
45
|
+
"@superblocksteam/library-shared": "2.0.9-next.6",
|
|
37
46
|
"@superblocksteam/shared": "0.9160.0",
|
|
38
47
|
"antd": "4.24.15",
|
|
39
48
|
"apca-w3": "^0.1.9",
|