@superblocksteam/library 2.0.0-next.55 → 2.0.0-next.56
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-Dl6sLRAk.js → allPaths-ZvBWAfFh.js} +2 -2
- package/dist/{allPaths-Dl6sLRAk.js.map → allPaths-ZvBWAfFh.js.map} +1 -1
- package/dist/{allPaths-jJ3FFpwY.js → allPaths-zBykV1e8.js} +2 -2
- package/dist/{allPaths-jJ3FFpwY.js.map → allPaths-zBykV1e8.js.map} +1 -1
- package/dist/{allPathsLoader-8vehQ2-0.js → allPathsLoader-CjOUNCYR.js} +3 -3
- package/dist/{allPathsLoader-Dd9Ybi8y.js.map → allPathsLoader-CjOUNCYR.js.map} +1 -1
- package/dist/{allPathsLoader-Dd9Ybi8y.js → allPathsLoader-D_lTjvL4.js} +3 -3
- package/dist/{allPathsLoader-8vehQ2-0.js.map → allPathsLoader-D_lTjvL4.js.map} +1 -1
- package/dist/{index-BdAeYAQo.js → index-9cqMj15O.js} +70 -104
- package/dist/{index-BdAeYAQo.js.map → index-9cqMj15O.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-DAyGNPiX.js → splitPathsBySizeLoader-7P9UciS4.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DAyGNPiX.js.map → splitPathsBySizeLoader-7P9UciS4.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-DzBukqlx.js → splitPathsBySizeLoader-DtaKcrAb.js} +2 -2
- package/dist/{splitPathsBySizeLoader-DzBukqlx.js.map → splitPathsBySizeLoader-DtaKcrAb.js.map} +1 -1
- package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +3 -3
- package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +1 -1
- package/dist-types/lib/user-facing/components/input/index.d.ts +5 -11
- package/dist-types/lib/user-facing/components/input/props.d.ts +5 -11
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +1 -1
- 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-9cqMj15O.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-9cqMj15O.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-9cqMj15O.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-7P9UciS4.js.map
|
package/dist/{splitPathsBySizeLoader-DAyGNPiX.js.map → splitPathsBySizeLoader-7P9UciS4.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-7P9UciS4.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-9cqMj15O.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-DtaKcrAb.js.map
|
package/dist/{splitPathsBySizeLoader-DzBukqlx.js.map → splitPathsBySizeLoader-DtaKcrAb.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-DtaKcrAb.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]}
|
|
@@ -10,14 +10,14 @@ declare class DatePickerComponent extends React.Component<DatePickerComponentPro
|
|
|
10
10
|
componentDidMount(): void;
|
|
11
11
|
componentDidUpdate(prevProps: DatePickerComponentProps): void;
|
|
12
12
|
getValidDate: (date: string, format: string) => Date | undefined;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
get normalizedDateFormat(): string;
|
|
14
|
+
get normalizedDisplayDateFormat(): string | undefined;
|
|
15
15
|
get valueTimezone(): string;
|
|
16
16
|
get displayTimezone(): string;
|
|
17
17
|
shouldWrapTime: () => boolean;
|
|
18
18
|
handleInteraction: (openState: boolean) => void;
|
|
19
19
|
getInitialMonth: (currentValue: string | undefined | null, minDate: Date | undefined, maxDate: Date | undefined) => Date | undefined;
|
|
20
|
-
|
|
20
|
+
get currentValue(): string | null;
|
|
21
21
|
render(): React.JSX.Element;
|
|
22
22
|
getPopoverFooter: () => React.JSX.Element;
|
|
23
23
|
formatDisplayDate: (date: Date) => string;
|
|
@@ -11,7 +11,7 @@ export declare function normalizeDateFormat(dateFormat: string): string;
|
|
|
11
11
|
* Parses a date string according to the given format, removes timezone information,
|
|
12
12
|
* and returns the date in NO_TZ format.
|
|
13
13
|
*
|
|
14
|
-
* @param {string}
|
|
14
|
+
* @param {string} dateString - The date string to parse.
|
|
15
15
|
* @param {string} format - The format of the input date string.
|
|
16
16
|
* @returns {string} - The formatted date string in "MM/DD/YYYY HH:mm:ss" format.
|
|
17
17
|
*/
|
|
@@ -33,26 +33,20 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
33
33
|
} & {
|
|
34
34
|
loadingAnimation: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
35
35
|
}>;
|
|
36
|
-
layout: import("../../properties-panel/props-builder.js").Section<
|
|
36
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
37
37
|
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
38
|
-
} &
|
|
38
|
+
} & {
|
|
39
39
|
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
40
40
|
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
41
41
|
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
42
42
|
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
43
43
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
44
44
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
45
|
-
} &
|
|
45
|
+
} & {
|
|
46
46
|
margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
|
|
47
|
-
} &
|
|
48
|
-
labelPosition: import("../../properties-panel/props-builder.js").Prop<"left" | "top", false>;
|
|
49
|
-
}, "labelPosition" | "labelWidth"> & ({
|
|
50
|
-
labelPosition: import("../../properties-panel/props-builder.js").Prop<"left", true>;
|
|
47
|
+
} & {
|
|
51
48
|
labelWidth: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim, true>;
|
|
52
|
-
}
|
|
53
|
-
labelPosition: import("../../properties-panel/props-builder.js").Prop<"top", true>;
|
|
54
|
-
labelWidth?: undefined;
|
|
55
|
-
}))))) & {
|
|
49
|
+
} & {
|
|
56
50
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
57
51
|
}>;
|
|
58
52
|
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
|
|
@@ -36,26 +36,20 @@ export declare const propertiesDefinition: {
|
|
|
36
36
|
} & {
|
|
37
37
|
loadingAnimation: Prop<boolean, true>;
|
|
38
38
|
}>;
|
|
39
|
-
layout: Section<
|
|
39
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
40
40
|
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
41
|
-
} &
|
|
41
|
+
} & {
|
|
42
42
|
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
43
43
|
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
44
44
|
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
45
45
|
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
46
46
|
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
47
47
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
48
|
-
} &
|
|
48
|
+
} & {
|
|
49
49
|
margin: Prop<unknown, true>;
|
|
50
|
-
} &
|
|
51
|
-
labelPosition: Prop<"left" | "top", false>;
|
|
52
|
-
}, "labelPosition" | "labelWidth"> & ({
|
|
53
|
-
labelPosition: Prop<"left", true>;
|
|
50
|
+
} & {
|
|
54
51
|
labelWidth: Prop<import("@superblocksteam/library-shared").Dim, true>;
|
|
55
|
-
}
|
|
56
|
-
labelPosition: Prop<"top", true>;
|
|
57
|
-
labelWidth?: undefined;
|
|
58
|
-
}))))) & {
|
|
52
|
+
} & {
|
|
59
53
|
isVisible: Prop<boolean, true>;
|
|
60
54
|
}>;
|
|
61
55
|
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
@@ -8,7 +8,7 @@ export declare const customValidationProperties: {
|
|
|
8
8
|
customValidationRule: Prop<string, true>;
|
|
9
9
|
customErrorMessage: Prop<string, true>;
|
|
10
10
|
};
|
|
11
|
-
export declare const labelPosition: Prop<"left" | "top", true>;
|
|
11
|
+
export declare const labelPosition: () => Prop<"left" | "top", true>;
|
|
12
12
|
export declare const getTypographyOptions: () => {
|
|
13
13
|
label: string;
|
|
14
14
|
value: {
|
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.56",
|
|
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.56",
|
|
37
37
|
"@superblocksteam/shared": "0.9142.0",
|
|
38
38
|
"antd": "4.24.15",
|
|
39
39
|
"apca-w3": "^0.1.9",
|