@superblocksteam/library 2.0.4 → 2.0.5
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-B2t0JFsE.js → allPaths-CROgh4Wr.js} +2 -2
- package/dist/{allPaths-B2t0JFsE.js.map → allPaths-CROgh4Wr.js.map} +1 -1
- package/dist/{allPaths-Ds8PViwH.js → allPaths-Va1k8Bn4.js} +2 -2
- package/dist/{allPaths-Ds8PViwH.js.map → allPaths-Va1k8Bn4.js.map} +1 -1
- package/dist/{allPathsLoader-BwDYmyS1.js → allPathsLoader-BJthmVkF.js} +3 -3
- package/dist/{allPathsLoader-BwDYmyS1.js.map → allPathsLoader-BJthmVkF.js.map} +1 -1
- package/dist/{allPathsLoader-l2CC2ZRN.js → allPathsLoader-BdHvMdcd.js} +3 -3
- package/dist/{allPathsLoader-l2CC2ZRN.js.map → allPathsLoader-BdHvMdcd.js.map} +1 -1
- package/dist/devtools-consolidated-Ck9KuyGf.js +590 -0
- package/dist/devtools-consolidated-Ck9KuyGf.js.map +1 -0
- package/dist/{index-DV7VPZc1.js → index-CJuRwhWz.js} +1115 -471
- package/dist/{index-DV7VPZc1.js.map → index-CJuRwhWz.js.map} +1 -1
- package/dist/index.css +172 -1
- package/dist/index.js +149 -149
- package/dist/{splitPathsBySizeLoader-CTv2UfGL.js → splitPathsBySizeLoader-3mcg6Jfx.js} +2 -2
- package/dist/{splitPathsBySizeLoader-CTv2UfGL.js.map → splitPathsBySizeLoader-3mcg6Jfx.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-BsO5Qoxp.js → splitPathsBySizeLoader-BFbna0L2.js} +2 -2
- package/dist/{splitPathsBySizeLoader-BsO5Qoxp.js.map → splitPathsBySizeLoader-BFbna0L2.js.map} +1 -1
- package/dist-types/edit-mode/extended-clickable-area.d.ts +8 -0
- package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
- package/dist-types/edit-mode/properties.d.ts +1 -1
- package/dist-types/internal-testing/components/modal.d.ts +3 -1
- package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +5 -0
- package/dist-types/lib/internal-details/lib/devtools/index.d.ts +4 -0
- package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +1 -0
- package/dist-types/lib/internal-details/sb-wrapper.d.ts +1 -0
- package/dist-types/lib/internal-details/scope/global.d.ts +2 -1
- package/dist-types/lib/internal-details/scope/types.d.ts +57 -0
- package/dist-types/lib/sb-trigger.d.ts +0 -4
- package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +4 -3
- package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +4 -8
- package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -8
- package/dist-types/lib/triggers/registry.d.ts +6 -14
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +2 -1
- package/dist-types/lib/user-facing/components/page/index.d.ts +3 -0
- package/dist-types/lib/user-facing/components/page/props.d.ts +3 -0
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +12 -9
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +1 -0
- package/dist-types/lib/user-facing/components/table/index.d.ts +12 -9
- package/dist-types/lib/user-facing/components/table/props.d.ts +12 -9
- package/dist-types/lib/user-facing/components/text/utils.d.ts +2 -1
- package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -2
- package/dist-types/lib/user-facing/themes/constants.d.ts +7 -2
- package/dist-types/lib/utils/children.d.ts +3 -0
- package/package.json +3 -4
- package/dist-types/lib/internal-details/lib/devtools.d.ts +0 -1
package/dist/index.css
CHANGED
|
@@ -34189,7 +34189,12 @@ b {
|
|
|
34189
34189
|
text-overflow: ellipsis;
|
|
34190
34190
|
z-index: 2;
|
|
34191
34191
|
/* This will flip the name pill when anchored */
|
|
34192
|
-
position-try-fallbacks: flip-block;
|
|
34192
|
+
position-try-fallbacks: flip-block, --name-pill-below-header;
|
|
34193
|
+
}
|
|
34194
|
+
|
|
34195
|
+
@position-try --name-pill-below-header {
|
|
34196
|
+
margin-bottom: -24px;
|
|
34197
|
+
margin-right: 3px;
|
|
34193
34198
|
}
|
|
34194
34199
|
|
|
34195
34200
|
.sb-reparent-rect {
|
|
@@ -34238,3 +34243,169 @@ b {
|
|
|
34238
34243
|
border-color: #f45252;
|
|
34239
34244
|
}
|
|
34240
34245
|
}
|
|
34246
|
+
/* base styles */
|
|
34247
|
+
|
|
34248
|
+
._GzYRV {
|
|
34249
|
+
line-height: 1.2;
|
|
34250
|
+
white-space: pre-wrap;
|
|
34251
|
+
white-space: -moz-pre-wrap;
|
|
34252
|
+
white-space: -pre-wrap;
|
|
34253
|
+
white-space: -o-pre-wrap;
|
|
34254
|
+
word-wrap: break-word;
|
|
34255
|
+
}
|
|
34256
|
+
|
|
34257
|
+
._3eOF8 {
|
|
34258
|
+
margin-right: 5px;
|
|
34259
|
+
font-weight: bold;
|
|
34260
|
+
}
|
|
34261
|
+
|
|
34262
|
+
._3eOF8 + ._3eOF8 {
|
|
34263
|
+
margin-left: -5px;
|
|
34264
|
+
}
|
|
34265
|
+
|
|
34266
|
+
._1MFti {
|
|
34267
|
+
cursor: pointer;
|
|
34268
|
+
}
|
|
34269
|
+
|
|
34270
|
+
._f10Tu {
|
|
34271
|
+
font-size: 1.2em;
|
|
34272
|
+
margin-right: 5px;
|
|
34273
|
+
-webkit-user-select: none;
|
|
34274
|
+
-moz-user-select: none;
|
|
34275
|
+
user-select: none;
|
|
34276
|
+
}
|
|
34277
|
+
|
|
34278
|
+
._1UmXx::after {
|
|
34279
|
+
content: '\25B8';
|
|
34280
|
+
}
|
|
34281
|
+
|
|
34282
|
+
._1LId0::after {
|
|
34283
|
+
content: '\25BE';
|
|
34284
|
+
}
|
|
34285
|
+
|
|
34286
|
+
._1pNG9 {
|
|
34287
|
+
margin-right: 5px;
|
|
34288
|
+
}
|
|
34289
|
+
|
|
34290
|
+
._1pNG9::after {
|
|
34291
|
+
content: '...';
|
|
34292
|
+
font-size: 0.8em;
|
|
34293
|
+
}
|
|
34294
|
+
|
|
34295
|
+
._2IvMF {
|
|
34296
|
+
background: #eee;
|
|
34297
|
+
}
|
|
34298
|
+
|
|
34299
|
+
._2bkNM {
|
|
34300
|
+
margin: 0;
|
|
34301
|
+
padding: 0 10px;
|
|
34302
|
+
}
|
|
34303
|
+
|
|
34304
|
+
._1BXBN {
|
|
34305
|
+
margin: 0;
|
|
34306
|
+
padding: 0;
|
|
34307
|
+
}
|
|
34308
|
+
|
|
34309
|
+
/* default light style */
|
|
34310
|
+
._1MGIk {
|
|
34311
|
+
font-weight: 600;
|
|
34312
|
+
margin-right: 5px;
|
|
34313
|
+
color: #000000;
|
|
34314
|
+
}
|
|
34315
|
+
|
|
34316
|
+
._2YKJg {
|
|
34317
|
+
}
|
|
34318
|
+
|
|
34319
|
+
._3uHL6 {
|
|
34320
|
+
color: #000000;
|
|
34321
|
+
}
|
|
34322
|
+
|
|
34323
|
+
._2T6PJ {
|
|
34324
|
+
color: #df113a;
|
|
34325
|
+
}
|
|
34326
|
+
|
|
34327
|
+
._1Gho6 {
|
|
34328
|
+
color: #df113a;
|
|
34329
|
+
}
|
|
34330
|
+
|
|
34331
|
+
._vGjyY {
|
|
34332
|
+
color: rgb(42, 63, 60);
|
|
34333
|
+
}
|
|
34334
|
+
|
|
34335
|
+
._1bQdo {
|
|
34336
|
+
color: #0b75f5;
|
|
34337
|
+
}
|
|
34338
|
+
|
|
34339
|
+
._3zQKs {
|
|
34340
|
+
color: rgb(70, 144, 56);
|
|
34341
|
+
}
|
|
34342
|
+
|
|
34343
|
+
._1xvuR {
|
|
34344
|
+
color: #43413d;
|
|
34345
|
+
}
|
|
34346
|
+
|
|
34347
|
+
._oLqym {
|
|
34348
|
+
color: #000000;
|
|
34349
|
+
}
|
|
34350
|
+
|
|
34351
|
+
._2AXVT {
|
|
34352
|
+
color: #000000;
|
|
34353
|
+
}
|
|
34354
|
+
|
|
34355
|
+
._2KJWg {
|
|
34356
|
+
color: #000000;
|
|
34357
|
+
}
|
|
34358
|
+
|
|
34359
|
+
/* default dark style */
|
|
34360
|
+
._11RoI {
|
|
34361
|
+
background: rgb(0, 43, 54);
|
|
34362
|
+
}
|
|
34363
|
+
|
|
34364
|
+
._17H2C {
|
|
34365
|
+
color: rgb(253, 246, 227);
|
|
34366
|
+
}
|
|
34367
|
+
|
|
34368
|
+
._3QHg2 {
|
|
34369
|
+
color: rgb(253, 246, 227);
|
|
34370
|
+
}
|
|
34371
|
+
|
|
34372
|
+
._3fDAz {
|
|
34373
|
+
color: rgb(253, 246, 227);
|
|
34374
|
+
}
|
|
34375
|
+
|
|
34376
|
+
._2bSDX {
|
|
34377
|
+
font-weight: bolder;
|
|
34378
|
+
margin-right: 5px;
|
|
34379
|
+
color: rgb(253, 246, 227);
|
|
34380
|
+
}
|
|
34381
|
+
|
|
34382
|
+
._1RQEj {
|
|
34383
|
+
}
|
|
34384
|
+
|
|
34385
|
+
._gsbQL {
|
|
34386
|
+
color: rgb(253, 246, 227);
|
|
34387
|
+
}
|
|
34388
|
+
|
|
34389
|
+
._LaAZe {
|
|
34390
|
+
color: rgb(129, 181, 172);
|
|
34391
|
+
}
|
|
34392
|
+
|
|
34393
|
+
._GTKgm {
|
|
34394
|
+
color: rgb(129, 181, 172);
|
|
34395
|
+
}
|
|
34396
|
+
|
|
34397
|
+
._Chy1W {
|
|
34398
|
+
color: rgb(203, 75, 22);
|
|
34399
|
+
}
|
|
34400
|
+
|
|
34401
|
+
._2bveF {
|
|
34402
|
+
color: rgb(211, 54, 130);
|
|
34403
|
+
}
|
|
34404
|
+
|
|
34405
|
+
._2vRm- {
|
|
34406
|
+
color: rgb(174, 129, 255);
|
|
34407
|
+
}
|
|
34408
|
+
|
|
34409
|
+
._1prJR {
|
|
34410
|
+
color: rgb(38, 139, 210);
|
|
34411
|
+
}
|
package/dist/index.js
CHANGED
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { $ as clientExports } from "./index-CJuRwhWz.js";
|
|
2
|
+
import { a0, a1, X, O, P, a2, N, a3, a4, a5, a6, a7, a8, B, a9, aa, ab, ac, ad, Z, ae, V, af, ag, ah, ai, Y, z, S, q, d, e, n, s, l, Q, C, v, w, f, i, g, B as B2, c, u, k, h, y, x, A, aj, ak, al, am, an, T, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, D, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, M, aY, aZ, a_, a$, b0, b1, G, b2, b3, b4, b5, b6, J, b7, b8, E, b9, ba, bb, r, L, K, bc, bd, be, W, F, H, 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, bH, bI, bJ, bK, bL, U, R, bM } from "./index-CJuRwhWz.js";
|
|
3
3
|
const createRoot = clientExports.createRoot;
|
|
4
4
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
5
|
+
a0 as Await,
|
|
6
|
+
a1 as BrowserRouter,
|
|
7
|
+
X as Dim,
|
|
8
|
+
O as Embed,
|
|
9
|
+
P as Env,
|
|
10
|
+
a2 as Form,
|
|
11
|
+
N as Global,
|
|
12
|
+
a3 as HashRouter,
|
|
13
|
+
a4 as IDLE_BLOCKER,
|
|
14
|
+
a5 as IDLE_FETCHER,
|
|
15
|
+
a6 as IDLE_NAVIGATION,
|
|
16
|
+
a7 as Link,
|
|
17
|
+
a8 as Links,
|
|
18
|
+
B as MakeEditableWithSuperblocks,
|
|
19
|
+
a9 as MemoryRouter,
|
|
20
|
+
aa as Meta,
|
|
21
|
+
ab as NavLink,
|
|
22
|
+
ac as Navigate,
|
|
23
|
+
ad as NavigationType,
|
|
24
|
+
Z as Outlet,
|
|
25
|
+
ae as PrefetchPageLinks,
|
|
26
|
+
V as Prop,
|
|
27
|
+
af as Route,
|
|
28
|
+
ag as Router,
|
|
29
|
+
ah as RouterProvider,
|
|
30
|
+
ai as Routes,
|
|
31
|
+
Y as SB,
|
|
32
|
+
z as SbApi,
|
|
33
33
|
S as SbButton,
|
|
34
|
-
|
|
34
|
+
q as SbCheckbox,
|
|
35
35
|
d as SbColumn,
|
|
36
36
|
e as SbContainer,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
n as SbCustom,
|
|
38
|
+
s as SbDatePicker,
|
|
39
|
+
l as SbDropdown,
|
|
40
|
+
Q as SbEvent,
|
|
41
|
+
C as SbEventFlow,
|
|
42
|
+
v as SbIcon,
|
|
43
|
+
w as SbImage,
|
|
44
44
|
f as SbInput,
|
|
45
45
|
i as SbModal,
|
|
46
46
|
g as SbPage,
|
|
47
|
-
|
|
47
|
+
B2 as SbProvider,
|
|
48
48
|
c as SbSection,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
u as SbSwitch,
|
|
50
|
+
k as SbTable,
|
|
51
51
|
h as SbText,
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
y as SbTimer,
|
|
53
|
+
x as SbVariable,
|
|
54
54
|
A as SbVariablePersistence,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
aj as Scripts,
|
|
56
|
+
ak as ScrollRestoration,
|
|
57
|
+
al as ServerRouter,
|
|
58
|
+
am as StaticRouter,
|
|
59
|
+
an as StaticRouterProvider,
|
|
60
60
|
T as Theme,
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
61
|
+
ao as UNSAFE_DataRouterContext,
|
|
62
|
+
ap as UNSAFE_DataRouterStateContext,
|
|
63
|
+
aq as UNSAFE_ErrorResponseImpl,
|
|
64
|
+
ar as UNSAFE_FetchersContext,
|
|
65
|
+
as as UNSAFE_FrameworkContext,
|
|
66
|
+
at as UNSAFE_LocationContext,
|
|
67
|
+
au as UNSAFE_NavigationContext,
|
|
68
|
+
av as UNSAFE_RemixErrorBoundary,
|
|
69
|
+
aw as UNSAFE_RouteContext,
|
|
70
|
+
ax as UNSAFE_ServerMode,
|
|
71
|
+
ay as UNSAFE_SingleFetchRedirectSymbol,
|
|
72
|
+
az as UNSAFE_ViewTransitionContext,
|
|
73
|
+
aA as UNSAFE_createBrowserHistory,
|
|
74
|
+
aB as UNSAFE_createClientRoutes,
|
|
75
|
+
aC as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
|
|
76
|
+
aD as UNSAFE_createRouter,
|
|
77
|
+
aE as UNSAFE_decodeViaTurboStream,
|
|
78
|
+
aF as UNSAFE_deserializeErrors,
|
|
79
|
+
aG as UNSAFE_getPatchRoutesOnNavigationFunction,
|
|
80
|
+
aH as UNSAFE_getSingleFetchDataStrategy,
|
|
81
|
+
aI as UNSAFE_invariant,
|
|
82
|
+
aJ as UNSAFE_mapRouteProperties,
|
|
83
|
+
aK as UNSAFE_shouldHydrateRouteLoader,
|
|
84
|
+
aL as UNSAFE_useFogOFWarDiscovery,
|
|
85
|
+
aM as UNSAFE_useScrollRestoration,
|
|
86
|
+
D as copyToClipboard,
|
|
87
|
+
aN as createBrowserRouter,
|
|
88
|
+
aO as createCookie,
|
|
89
|
+
aP as createCookieSessionStorage,
|
|
90
|
+
aQ as createHashRouter,
|
|
91
|
+
aR as createMemoryRouter,
|
|
92
|
+
aS as createMemorySessionStorage,
|
|
93
|
+
aT as createPath,
|
|
94
|
+
aU as createRequestHandler,
|
|
95
95
|
createRoot,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
96
|
+
aV as createRoutesFromChildren,
|
|
97
|
+
aW as createRoutesFromElements,
|
|
98
|
+
aX as createRoutesStub,
|
|
99
|
+
M as createSbScope,
|
|
100
|
+
aY as createSearchParams,
|
|
101
|
+
aZ as createSession,
|
|
102
|
+
a_ as createSessionStorage,
|
|
103
|
+
a$ as createStaticHandler,
|
|
104
|
+
b0 as createStaticRouter,
|
|
105
|
+
b1 as data,
|
|
106
|
+
G as download,
|
|
107
|
+
b2 as generatePath,
|
|
108
|
+
b3 as href,
|
|
109
|
+
b4 as isCookie,
|
|
110
|
+
b5 as isRouteErrorResponse,
|
|
111
|
+
b6 as isSession,
|
|
112
|
+
J as logoutIntegrations,
|
|
113
|
+
b7 as matchPath,
|
|
114
|
+
b8 as matchRoutes,
|
|
115
|
+
E as navigateTo,
|
|
116
|
+
b9 as parsePath,
|
|
117
|
+
ba as redirect,
|
|
118
|
+
bb as redirectDocument,
|
|
119
119
|
r as registerComponent,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
120
|
+
L as registerPage,
|
|
121
|
+
K as registerScope,
|
|
122
|
+
bc as renderMatches,
|
|
123
|
+
bd as replace,
|
|
124
|
+
be as resolvePath,
|
|
125
|
+
W as sbComputed,
|
|
126
|
+
F as setQueryParams,
|
|
127
|
+
H as showAlert,
|
|
128
|
+
bf as unstable_HistoryRouter,
|
|
129
|
+
bg as unstable_RouterContextProvider,
|
|
130
|
+
bh as unstable_createContext,
|
|
131
|
+
bi as unstable_setDevServerHooks,
|
|
132
|
+
bj as unstable_usePrompt,
|
|
133
|
+
bk as useActionData,
|
|
134
|
+
bl as useAsyncError,
|
|
135
|
+
bm as useAsyncValue,
|
|
136
|
+
bn as useBeforeUnload,
|
|
137
|
+
bo as useBlocker,
|
|
138
|
+
bp as useFetcher,
|
|
139
|
+
bq as useFetchers,
|
|
140
|
+
br as useFormAction,
|
|
141
|
+
bs as useHref,
|
|
142
|
+
bt as useInRouterContext,
|
|
143
|
+
bu as useLinkClickHandler,
|
|
144
|
+
bv as useLoaderData,
|
|
145
|
+
bw as useLocation,
|
|
146
|
+
bx as useMatch,
|
|
147
|
+
by as useMatches,
|
|
148
|
+
bz as useNavigate,
|
|
149
|
+
bA as useNavigation,
|
|
150
|
+
bB as useNavigationType,
|
|
151
|
+
bC as useOutlet,
|
|
152
|
+
bD as useOutletContext,
|
|
153
|
+
bE as useParams,
|
|
154
|
+
bF as useResolvedPath,
|
|
155
|
+
bG as useRevalidator,
|
|
156
|
+
bH as useRouteError,
|
|
157
|
+
bI as useRouteLoaderData,
|
|
158
|
+
bJ as useRoutes,
|
|
159
|
+
bK as useSearchParams,
|
|
160
|
+
bL as useSubmit,
|
|
161
|
+
U as useTheme,
|
|
162
|
+
R as useUpdateProperties,
|
|
163
|
+
bM as useViewTransitionState
|
|
164
164
|
};
|
|
165
165
|
//# sourceMappingURL=index.js.map
|
|
@@ -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-CJuRwhWz.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-3mcg6Jfx.js.map
|
package/dist/{splitPathsBySizeLoader-CTv2UfGL.js.map → splitPathsBySizeLoader-3mcg6Jfx.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-3mcg6Jfx.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-
|
|
1
|
+
import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-CJuRwhWz.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-BFbna0L2.js.map
|
package/dist/{splitPathsBySizeLoader-BsO5Qoxp.js.map → splitPathsBySizeLoader-BFbna0L2.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitPathsBySizeLoader-
|
|
1
|
+
{"version":3,"file":"splitPathsBySizeLoader-BFbna0L2.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]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const EXTENDED_CLICKABLE_AREA_DELTA = 6;
|
|
2
|
+
export declare const EXTENDED_CLICKABLE_ANCHOR_CSS: {
|
|
3
|
+
top: string;
|
|
4
|
+
left: string;
|
|
5
|
+
right: string;
|
|
6
|
+
bottom: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const EXTENDED_CLICKABLE_ANCHOR_CLIP_PATH = "polygon(\n 0% 0%, 0% 100%, 100% 100%, 100% 0%,\n 0% 0%, 6px 6px, calc(100% - 6px) 6px, \n calc(100% - 6px) calc(100% - 6px), 6px calc(100% - 6px), 6px 6px\n )";
|
|
@@ -32,28 +32,8 @@ declare class RuntimeEntitiesManager {
|
|
|
32
32
|
private get relevantChildrenOperationsMap();
|
|
33
33
|
private getChildrenWithOptimisticUpdates;
|
|
34
34
|
getEditorWidgetChildren(instanceId: SbInstance): ChildElement[];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
38
|
-
payload: import("@superblocksteam/library-shared/types").SetPropertiesRequest;
|
|
39
|
-
id: string;
|
|
40
|
-
callback?: () => void;
|
|
41
|
-
} | {
|
|
42
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
43
|
-
payload: import("@superblocksteam/library-shared/types").SetPropertyRequest;
|
|
44
|
-
id: string;
|
|
45
|
-
callback?: () => void;
|
|
46
|
-
} | {
|
|
47
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
48
|
-
payload: CreateRequest;
|
|
49
|
-
id: string;
|
|
50
|
-
callback?: () => void;
|
|
51
|
-
} | {
|
|
52
|
-
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
53
|
-
payload: DeleteRequest;
|
|
54
|
-
id: string;
|
|
55
|
-
callback?: () => void;
|
|
56
|
-
}) | {
|
|
35
|
+
hasEditOperationsPending(): boolean;
|
|
36
|
+
getPendingOperations(): ({
|
|
57
37
|
instanceId: SbInstance;
|
|
58
38
|
sourceId: SbElement;
|
|
59
39
|
dragStartX: number;
|
|
@@ -85,7 +65,27 @@ declare class RuntimeEntitiesManager {
|
|
|
85
65
|
} | null;
|
|
86
66
|
isApplyingResize: boolean;
|
|
87
67
|
parentPadding?: import("@superblocksteam/library-shared/types").Padding;
|
|
88
|
-
})
|
|
68
|
+
} | (import("./operation-store.js").ReparentTransaction | {
|
|
69
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
70
|
+
payload: import("@superblocksteam/library-shared/types").SetPropertiesRequest;
|
|
71
|
+
id: string;
|
|
72
|
+
callback?: () => void;
|
|
73
|
+
} | {
|
|
74
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
75
|
+
payload: import("@superblocksteam/library-shared/types").SetPropertyRequest;
|
|
76
|
+
id: string;
|
|
77
|
+
callback?: () => void;
|
|
78
|
+
} | {
|
|
79
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
80
|
+
payload: CreateRequest;
|
|
81
|
+
id: string;
|
|
82
|
+
callback?: () => void;
|
|
83
|
+
} | {
|
|
84
|
+
type: keyof import("@superblocksteam/library-shared/types").EditOperations;
|
|
85
|
+
payload: DeleteRequest;
|
|
86
|
+
id: string;
|
|
87
|
+
callback?: () => void;
|
|
88
|
+
}))[];
|
|
89
89
|
getScopeIdForSourceId(sourceId: SbElement): string | undefined;
|
|
90
90
|
applySideEffects(changes: Record<string, Record<string, unknown>>, scopeId: string): void;
|
|
91
91
|
isChildOf(childId: SbInstance, parentId: SbInstance): boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Name } from "../lib/internal-details/lib/evaluator/names.js";
|
|
2
2
|
/**
|
|
3
3
|
* Gets the actual value from a PropertyInfo object.
|
|
4
4
|
* This will parse the value based on the type of property.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function serializeStoreData(stores_: Record<string, any>): Record<string, any>;
|
|
@@ -14,9 +14,10 @@ export type NestedInputProp<T> = T extends object ? {
|
|
|
14
14
|
} : never;
|
|
15
15
|
export type InputProp<T = EntityOutputProp> = SingleInputProp<T> | NestedInputProp<T>;
|
|
16
16
|
export type EntityFunction<ARGS extends any[] = any[], R = EntityOutputProp> = (this: Entity, state: ScopedState, ...args: ARGS) => R;
|
|
17
|
+
export type EntityType = "global" | "theme" | "variable" | "api" | "timer" | (string & {});
|
|
17
18
|
export type Entity = {
|
|
18
19
|
[key: string]: EntityOutputProp;
|
|
19
|
-
type:
|
|
20
|
+
type: EntityType;
|
|
20
21
|
};
|
|
21
22
|
export type ScopeId = string;
|
|
22
23
|
export type ScopedState = {
|