@superblocksteam/library 2.0.19 → 2.0.20-next.1

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.
Files changed (23) hide show
  1. package/dist/{allPaths-BhgfbR35.js → allPaths-B8A9bxBB.js} +2 -2
  2. package/dist/{allPaths-BhgfbR35.js.map → allPaths-B8A9bxBB.js.map} +1 -1
  3. package/dist/{allPaths-C-kM8hlM.js → allPaths-CNAdOBRr.js} +2 -2
  4. package/dist/{allPaths-C-kM8hlM.js.map → allPaths-CNAdOBRr.js.map} +1 -1
  5. package/dist/{allPathsLoader-CNRzGGBs.js → allPathsLoader-B2lc_a4K.js} +3 -3
  6. package/dist/{allPathsLoader-D70o5QoS.js.map → allPathsLoader-B2lc_a4K.js.map} +1 -1
  7. package/dist/{allPathsLoader-D70o5QoS.js → allPathsLoader-DN11qeEZ.js} +3 -3
  8. package/dist/{allPathsLoader-CNRzGGBs.js.map → allPathsLoader-DN11qeEZ.js.map} +1 -1
  9. package/dist/{devtools-consolidated-D-Ej5K_E.js → devtools-consolidated-CEZy0Z9P.js} +2 -2
  10. package/dist/{devtools-consolidated-D-Ej5K_E.js.map → devtools-consolidated-CEZy0Z9P.js.map} +1 -1
  11. package/dist/{index-YZ27rLcd.js → index-Aj-fZY-P.js} +4483 -2458
  12. package/dist/{index-YZ27rLcd.js.map → index-Aj-fZY-P.js.map} +1 -1
  13. package/dist/index.js +98 -84
  14. package/dist/{splitPathsBySizeLoader-D60kvNTb.js → splitPathsBySizeLoader-6jVsVuzj.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-D60kvNTb.js.map → splitPathsBySizeLoader-6jVsVuzj.js.map} +1 -1
  16. package/dist/{splitPathsBySizeLoader-BO0sXTaX.js → splitPathsBySizeLoader-CvkWsCdb.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-BO0sXTaX.js.map → splitPathsBySizeLoader-CvkWsCdb.js.map} +1 -1
  18. package/dist-types/docs-utils/generate-docs-utils.d.ts +2 -0
  19. package/dist-types/lib/internal-details/sb-wrapper.d.ts +1 -1
  20. package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
  21. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +3 -0
  22. package/package.json +2 -2
  23. package/dist-types/lib/internal-details/sb-wrapper-notes.d.ts +0 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { a2 as clientExports } from "./index-YZ27rLcd.js";
2
- import { a3, a4, B, h, C, c, g, i, $, D, O, Q, E, a5, L, a6, a7, a8, a9, l, n, d, aa, ab, v, ac, ad, M, ae, af, ag, a1, P, ah, W, X, Y, ai, aj, ak, al, a0, u, R, v as v2, am, an, S, ao, e, q, A, ap, aq, k, f, T, N, s, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, Z, w, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, K, a$, b0, b1, b2, b3, b4, z, b5, b6, b7, b8, b9, G, ba, bb, x, bc, bd, be, r, J, H, bf, bg, bh, y, F, 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, bN, bO, V, U, bP } from "./index-YZ27rLcd.js";
1
+ import { a2 as clientExports } from "./index-Aj-fZY-P.js";
2
+ import { a3, a4, B, h, C, c, g, i, $, D, O, Q, E, a5, L, a6, a7, a8, a9, l, n, d, aa, ab, v, ac, ad, M, ae, af, ag, a1, P, ah, W, X, Y, ai, aj, ak, al, a0, u, R, v as v2, am, an, S, ao, e, q, A, ap, aq, k, f, T, N, s, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, Z, w, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, K, b8, b9, ba, bb, bc, bd, z, be, bf, bg, bh, bi, G, bj, bk, x, bl, bm, bn, r, J, H, bo, bp, bq, y, F, br, bs, bt, bu, bv, bw, bx, by, bz, 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, b_, b$, c0, V, U, c1 } from "./index-Aj-fZY-P.js";
3
3
  const createRoot = clientExports.createRoot;
4
4
  export {
5
5
  a3 as Await,
@@ -68,101 +68,115 @@ export {
68
68
  av as UNSAFE_FrameworkContext,
69
69
  aw as UNSAFE_LocationContext,
70
70
  ax as UNSAFE_NavigationContext,
71
- ay as UNSAFE_RemixErrorBoundary,
72
- az as UNSAFE_RouteContext,
73
- aA as UNSAFE_ServerMode,
74
- aB as UNSAFE_SingleFetchRedirectSymbol,
75
- aC as UNSAFE_ViewTransitionContext,
76
- aD as UNSAFE_createBrowserHistory,
77
- aE as UNSAFE_createClientRoutes,
78
- aF as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
79
- aG as UNSAFE_createRouter,
80
- aH as UNSAFE_decodeViaTurboStream,
81
- aI as UNSAFE_deserializeErrors,
82
- aJ as UNSAFE_getPatchRoutesOnNavigationFunction,
83
- aK as UNSAFE_getSingleFetchDataStrategy,
84
- aL as UNSAFE_invariant,
85
- aM as UNSAFE_mapRouteProperties,
86
- aN as UNSAFE_shouldHydrateRouteLoader,
87
- aO as UNSAFE_useFogOFWarDiscovery,
88
- aP as UNSAFE_useScrollRestoration,
71
+ ay as UNSAFE_RSCDefaultRootErrorBoundary,
72
+ az as UNSAFE_RemixErrorBoundary,
73
+ aA as UNSAFE_RouteContext,
74
+ aB as UNSAFE_ServerMode,
75
+ aC as UNSAFE_SingleFetchRedirectSymbol,
76
+ aD as UNSAFE_ViewTransitionContext,
77
+ aE as UNSAFE_WithComponentProps,
78
+ aF as UNSAFE_WithErrorBoundaryProps,
79
+ aG as UNSAFE_WithHydrateFallbackProps,
80
+ aH as UNSAFE_createBrowserHistory,
81
+ aI as UNSAFE_createClientRoutes,
82
+ aJ as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
83
+ aK as UNSAFE_createRouter,
84
+ aL as UNSAFE_decodeViaTurboStream,
85
+ aM as UNSAFE_deserializeErrors,
86
+ aN as UNSAFE_getHydrationData,
87
+ aO as UNSAFE_getPatchRoutesOnNavigationFunction,
88
+ aP as UNSAFE_getTurboStreamSingleFetchDataStrategy,
89
+ aQ as UNSAFE_hydrationRouteProperties,
90
+ aR as UNSAFE_invariant,
91
+ aS as UNSAFE_mapRouteProperties,
92
+ aT as UNSAFE_shouldHydrateRouteLoader,
93
+ aU as UNSAFE_useFogOFWarDiscovery,
94
+ aV as UNSAFE_useScrollRestoration,
95
+ aW as UNSAFE_withComponentProps,
96
+ aX as UNSAFE_withErrorBoundaryProps,
97
+ aY as UNSAFE_withHydrateFallbackProps,
89
98
  Z as computed,
90
99
  w as copyToClipboard,
91
- aQ as createBrowserRouter,
92
- aR as createCookie,
93
- aS as createCookieSessionStorage,
94
- aT as createHashRouter,
95
- aU as createMemoryRouter,
96
- aV as createMemorySessionStorage,
97
- aW as createPath,
98
- aX as createRequestHandler,
100
+ aZ as createBrowserRouter,
101
+ a_ as createCookie,
102
+ a$ as createCookieSessionStorage,
103
+ b0 as createHashRouter,
104
+ b1 as createMemoryRouter,
105
+ b2 as createMemorySessionStorage,
106
+ b3 as createPath,
107
+ b4 as createRequestHandler,
99
108
  createRoot,
100
- aY as createRoutesFromChildren,
101
- aZ as createRoutesFromElements,
102
- a_ as createRoutesStub,
109
+ b5 as createRoutesFromChildren,
110
+ b6 as createRoutesFromElements,
111
+ b7 as createRoutesStub,
103
112
  K as createScope,
104
- a$ as createSearchParams,
105
- b0 as createSession,
106
- b1 as createSessionStorage,
107
- b2 as createStaticHandler,
108
- b3 as createStaticRouter,
109
- b4 as data,
113
+ b8 as createSearchParams,
114
+ b9 as createSession,
115
+ ba as createSessionStorage,
116
+ bb as createStaticHandler,
117
+ bc as createStaticRouter,
118
+ bd as data,
110
119
  z as download,
111
- b5 as generatePath,
112
- b6 as href,
113
- b7 as isCookie,
114
- b8 as isRouteErrorResponse,
115
- b9 as isSession,
120
+ be as generatePath,
121
+ bf as href,
122
+ bg as isCookie,
123
+ bh as isRouteErrorResponse,
124
+ bi as isSession,
116
125
  G as logoutIntegrations,
117
- ba as matchPath,
118
- bb as matchRoutes,
126
+ bj as matchPath,
127
+ bk as matchRoutes,
119
128
  x as navigateTo,
120
- bc as parsePath,
121
- bd as redirect,
122
- be as redirectDocument,
129
+ bl as parsePath,
130
+ bm as redirect,
131
+ bn as redirectDocument,
123
132
  r as registerComponent,
124
133
  J as registerPage,
125
134
  H as registerScope,
126
- bf as renderMatches,
127
- bg as replace,
128
- bh as resolvePath,
135
+ bo as renderMatches,
136
+ bp as replace,
137
+ bq as resolvePath,
129
138
  y as setQueryParams,
130
139
  F as showAlert,
131
- bi as unstable_HistoryRouter,
132
- bj as unstable_RouterContextProvider,
133
- bk as unstable_createContext,
134
- bl as unstable_setDevServerHooks,
135
- bm as unstable_usePrompt,
136
- bn as useActionData,
137
- bo as useAsyncError,
138
- bp as useAsyncValue,
139
- bq as useBeforeUnload,
140
- br as useBlocker,
141
- bs as useFetcher,
142
- bt as useFetchers,
143
- bu as useFormAction,
144
- bv as useHref,
145
- bw as useInRouterContext,
146
- bx as useLinkClickHandler,
147
- by as useLoaderData,
148
- bz as useLocation,
149
- bA as useMatch,
150
- bB as useMatches,
151
- bC as useNavigate,
152
- bD as useNavigation,
153
- bE as useNavigationType,
154
- bF as useOutlet,
155
- bG as useOutletContext,
156
- bH as useParams,
157
- bI as useResolvedPath,
158
- bJ as useRevalidator,
159
- bK as useRouteError,
160
- bL as useRouteLoaderData,
161
- bM as useRoutes,
162
- bN as useSearchParams,
163
- bO as useSubmit,
140
+ br as unstable_HistoryRouter,
141
+ bs as unstable_RSCHydratedRouter,
142
+ bt as unstable_RSCStaticRouter,
143
+ bu as unstable_RouterContextProvider,
144
+ bv as unstable_createCallServer,
145
+ bw as unstable_createContext,
146
+ bx as unstable_getRSCStream,
147
+ by as unstable_routeRSCServerRequest,
148
+ bz as unstable_setDevServerHooks,
149
+ bA as unstable_usePrompt,
150
+ bB as useActionData,
151
+ bC as useAsyncError,
152
+ bD as useAsyncValue,
153
+ bE as useBeforeUnload,
154
+ bF as useBlocker,
155
+ bG as useFetcher,
156
+ bH as useFetchers,
157
+ bI as useFormAction,
158
+ bJ as useHref,
159
+ bK as useInRouterContext,
160
+ bL as useLinkClickHandler,
161
+ bM as useLoaderData,
162
+ bN as useLocation,
163
+ bO as useMatch,
164
+ bP as useMatches,
165
+ bQ as useNavigate,
166
+ bR as useNavigation,
167
+ bS as useNavigationType,
168
+ bT as useOutlet,
169
+ bU as useOutletContext,
170
+ bV as useParams,
171
+ bW as useResolvedPath,
172
+ bX as useRevalidator,
173
+ bY as useRouteError,
174
+ bZ as useRouteLoaderData,
175
+ b_ as useRoutes,
176
+ b$ as useSearchParams,
177
+ c0 as useSubmit,
164
178
  V as useTheme,
165
179
  U as useUpdateProperties,
166
- bP as useViewTransitionState
180
+ c1 as useViewTransitionState
167
181
  };
168
182
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-YZ27rLcd.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-Aj-fZY-P.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-D60kvNTb.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-6jVsVuzj.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-D60kvNTb.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
+ {"version":3,"file":"splitPathsBySizeLoader-6jVsVuzj.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,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-YZ27rLcd.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-Aj-fZY-P.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-BO0sXTaX.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-CvkWsCdb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitPathsBySizeLoader-BO0sXTaX.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
+ {"version":3,"file":"splitPathsBySizeLoader-CvkWsCdb.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]}
@@ -8,6 +8,7 @@ export declare function isPropertyExcluded(componentName: string, propertyName:
8
8
  */
9
9
  export declare function getCustomPropertyType(componentName: string, propertyName: string): string | undefined;
10
10
  export declare function formatDefaultValue(value: any): string | undefined;
11
+ export declare function getDescription(prop: any): string | undefined;
11
12
  export declare function getDefaultValue(prop: any, propName: string): any;
12
13
  export declare function guessTypeString(prop: any, key: string, componentName?: string): string;
13
14
  export declare function generateInterfaceFromNestedProps(nestedProps: any, interfaceName: string, componentName?: string): string;
@@ -16,6 +17,7 @@ export type PropContainer = {
16
17
  name: string;
17
18
  type: string;
18
19
  defaultValue: any;
20
+ description?: string;
19
21
  };
20
22
  export declare function generateComponentDocs(component: {
21
23
  name: string;
@@ -77,7 +77,7 @@ export interface ChainableComponent<PD extends PropertiesDefinition, EP extends
77
77
  * Returns a chainable component that can be used as a React component and also provides
78
78
  * additional methods for editor integration.
79
79
  */
80
- export declare const registerComponent: <PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>, IP extends InternalProps<PD> & DropTargetProps = InternalProps<PD> & DropTargetProps>(type: string, config: {
80
+ export declare const registerComponentInternal: <PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>, IP extends InternalProps<PD> & DropTargetProps = InternalProps<PD> & DropTargetProps>(type: string, config: {
81
81
  customComponent?: boolean;
82
82
  hasExtendedClickArea?: boolean;
83
83
  propertiesDefinition: PD;
@@ -1,4 +1,4 @@
1
- export { registerComponent } from "../internal-details/sb-wrapper.jsx";
1
+ export { registerComponentInternal } from "../internal-details/sb-wrapper.jsx";
2
2
  export { useActions } from "../internal-details/actions-context.jsx";
3
3
  export type { Entity } from "@superblocksteam/library-shared/types";
4
4
  export { useScope } from "../internal-details/scope/scope-context.jsx";
@@ -230,6 +230,9 @@ declare class Prop<Type extends DataType, _HasDefault extends boolean = false, _
230
230
  onEdit(callback: SideEffectCallback): this;
231
231
  onEvaluate(callback: SideEffectCallback): this;
232
232
  propertiesPanel<CT extends ControlType>(schema: Omit<Partial<PropertiesPanelDisplay<Type, CT>>, "isTriggerProperty">): this;
233
+ docs(docs: {
234
+ description: string;
235
+ }): this;
233
236
  build(): ManagedProp<Type>;
234
237
  toDefinition(entity?: Entity, scopedState?: ScopedState): WidgetPropertyDefinition<DataType> | undefined;
235
238
  getRelations(): Relation[][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superblocksteam/library",
3
- "version": "2.0.19",
3
+ "version": "2.0.20-next.1",
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.19",
36
+ "@superblocksteam/library-shared": "2.0.20-next.1",
37
37
  "@superblocksteam/shared": "0.9160.0",
38
38
  "antd": "4.24.15",
39
39
  "apca-w3": "^0.1.9",
@@ -1 +0,0 @@
1
- export {};