@superblocksteam/library 2.0.3 → 2.0.4

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 (51) hide show
  1. package/dist/{allPaths-CROgh4Wr.js → allPaths-B2t0JFsE.js} +2 -2
  2. package/dist/{allPaths-CROgh4Wr.js.map → allPaths-B2t0JFsE.js.map} +1 -1
  3. package/dist/{allPaths-Va1k8Bn4.js → allPaths-Ds8PViwH.js} +2 -2
  4. package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-Ds8PViwH.js.map} +1 -1
  5. package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-BwDYmyS1.js} +3 -3
  6. package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-BwDYmyS1.js.map} +1 -1
  7. package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-l2CC2ZRN.js} +3 -3
  8. package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-l2CC2ZRN.js.map} +1 -1
  9. package/dist/{index-CJuRwhWz.js → index-DV7VPZc1.js} +471 -1115
  10. package/dist/{index-CJuRwhWz.js.map → index-DV7VPZc1.js.map} +1 -1
  11. package/dist/index.css +1 -172
  12. package/dist/index.js +149 -149
  13. package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-BsO5Qoxp.js} +2 -2
  14. package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-BsO5Qoxp.js.map} +1 -1
  15. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-CTv2UfGL.js} +2 -2
  16. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-CTv2UfGL.js.map} +1 -1
  17. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +23 -23
  18. package/dist-types/edit-mode/properties.d.ts +1 -1
  19. package/dist-types/internal-testing/components/modal.d.ts +1 -3
  20. package/dist-types/lib/internal-details/lib/devtools.d.ts +1 -0
  21. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +1 -2
  22. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -1
  23. package/dist-types/lib/internal-details/sb-wrapper.d.ts +0 -1
  24. package/dist-types/lib/internal-details/scope/global.d.ts +1 -2
  25. package/dist-types/lib/sb-trigger.d.ts +4 -0
  26. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -4
  27. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +8 -4
  28. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +8 -4
  29. package/dist-types/lib/triggers/registry.d.ts +14 -6
  30. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +1 -1
  31. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +1 -1
  32. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +1 -1
  33. package/dist-types/lib/user-facing/components/grid/index.d.ts +1 -2
  34. package/dist-types/lib/user-facing/components/page/index.d.ts +0 -3
  35. package/dist-types/lib/user-facing/components/page/props.d.ts +0 -3
  36. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +9 -12
  37. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
  38. package/dist-types/lib/user-facing/components/table/index.d.ts +9 -12
  39. package/dist-types/lib/user-facing/components/table/props.d.ts +9 -12
  40. package/dist-types/lib/user-facing/components/text/utils.d.ts +1 -2
  41. package/dist-types/lib/user-facing/sb-event-flow.d.ts +2 -4
  42. package/dist-types/lib/user-facing/themes/constants.d.ts +2 -7
  43. package/package.json +4 -3
  44. package/dist/devtools-consolidated-Ck9KuyGf.js +0 -590
  45. package/dist/devtools-consolidated-Ck9KuyGf.js.map +0 -1
  46. package/dist-types/edit-mode/extended-clickable-area.d.ts +0 -8
  47. package/dist-types/lib/internal-details/lib/devtools/devtools-consolidated.d.ts +0 -5
  48. package/dist-types/lib/internal-details/lib/devtools/index.d.ts +0 -4
  49. package/dist-types/lib/internal-details/lib/devtools/serialize-store-data.d.ts +0 -1
  50. package/dist-types/lib/internal-details/scope/types.d.ts +0 -57
  51. package/dist-types/lib/utils/children.d.ts +0 -3
package/dist/index.css CHANGED
@@ -34189,12 +34189,7 @@ 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, --name-pill-below-header;
34193
- }
34194
-
34195
- @position-try --name-pill-below-header {
34196
- margin-bottom: -24px;
34197
- margin-right: 3px;
34192
+ position-try-fallbacks: flip-block;
34198
34193
  }
34199
34194
 
34200
34195
  .sb-reparent-rect {
@@ -34243,169 +34238,3 @@ b {
34243
34238
  border-color: #f45252;
34244
34239
  }
34245
34240
  }
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 { $ 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";
1
+ import { W as clientExports } from "./index-DV7VPZc1.js";
2
+ import { X, Y, R, K, L, Z, J, $, a0, a1, a2, a3, a4, w, a5, a6, a7, a8, a9, V, aa, P, ab, ac, ad, ae, U, 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, af, ag, ah, ai, aj, T, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, y, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, H, aU, aV, aW, aX, aY, aZ, C, a_, a$, b0, b1, b2, E, b3, b4, z, b5, b6, b7, r, G, F, b8, b9, ba, Q, B, D, 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, bH, O, N, bI } from "./index-DV7VPZc1.js";
3
3
  const createRoot = clientExports.createRoot;
4
4
  export {
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,
5
+ X as Await,
6
+ Y as BrowserRouter,
7
+ R as Dim,
8
+ K as Embed,
9
+ L as Env,
10
+ Z as Form,
11
+ J as Global,
12
+ $ as HashRouter,
13
+ a0 as IDLE_BLOCKER,
14
+ a1 as IDLE_FETCHER,
15
+ a2 as IDLE_NAVIGATION,
16
+ a3 as Link,
17
+ a4 as Links,
18
+ w as MakeEditableWithSuperblocks,
19
+ a5 as MemoryRouter,
20
+ a6 as Meta,
21
+ a7 as NavLink,
22
+ a8 as Navigate,
23
+ a9 as NavigationType,
24
+ V as Outlet,
25
+ aa as PrefetchPageLinks,
26
+ P as Prop,
27
+ ab as Route,
28
+ ac as Router,
29
+ ad as RouterProvider,
30
+ ae as Routes,
31
+ U as SB,
32
+ v as SbApi,
33
33
  S as SbButton,
34
- q as SbCheckbox,
34
+ m as SbCheckbox,
35
35
  d as SbColumn,
36
36
  e as SbContainer,
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,
37
+ l as SbCustom,
38
+ n as SbDatePicker,
39
+ k as SbDropdown,
40
+ M as SbEvent,
41
+ x as SbEventFlow,
42
+ q as SbIcon,
43
+ s as SbImage,
44
44
  f as SbInput,
45
45
  i as SbModal,
46
46
  g as SbPage,
47
- B2 as SbProvider,
47
+ w2 as SbProvider,
48
48
  c as SbSection,
49
- u as SbSwitch,
50
- k as SbTable,
49
+ o as SbSwitch,
50
+ j as SbTable,
51
51
  h as SbText,
52
- y as SbTimer,
53
- x as SbVariable,
52
+ u as SbTimer,
53
+ t as SbVariable,
54
54
  A as SbVariablePersistence,
55
- aj as Scripts,
56
- ak as ScrollRestoration,
57
- al as ServerRouter,
58
- am as StaticRouter,
59
- an as StaticRouterProvider,
55
+ af as Scripts,
56
+ ag as ScrollRestoration,
57
+ ah as ServerRouter,
58
+ ai as StaticRouter,
59
+ aj as StaticRouterProvider,
60
60
  T as Theme,
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,
61
+ ak as UNSAFE_DataRouterContext,
62
+ al as UNSAFE_DataRouterStateContext,
63
+ am as UNSAFE_ErrorResponseImpl,
64
+ an as UNSAFE_FetchersContext,
65
+ ao as UNSAFE_FrameworkContext,
66
+ ap as UNSAFE_LocationContext,
67
+ aq as UNSAFE_NavigationContext,
68
+ ar as UNSAFE_RemixErrorBoundary,
69
+ as as UNSAFE_RouteContext,
70
+ at as UNSAFE_ServerMode,
71
+ au as UNSAFE_SingleFetchRedirectSymbol,
72
+ av as UNSAFE_ViewTransitionContext,
73
+ aw as UNSAFE_createBrowserHistory,
74
+ ax as UNSAFE_createClientRoutes,
75
+ ay as UNSAFE_createClientRoutesWithHMRRevalidationOptOut,
76
+ az as UNSAFE_createRouter,
77
+ aA as UNSAFE_decodeViaTurboStream,
78
+ aB as UNSAFE_deserializeErrors,
79
+ aC as UNSAFE_getPatchRoutesOnNavigationFunction,
80
+ aD as UNSAFE_getSingleFetchDataStrategy,
81
+ aE as UNSAFE_invariant,
82
+ aF as UNSAFE_mapRouteProperties,
83
+ aG as UNSAFE_shouldHydrateRouteLoader,
84
+ aH as UNSAFE_useFogOFWarDiscovery,
85
+ aI as UNSAFE_useScrollRestoration,
86
+ y as copyToClipboard,
87
+ aJ as createBrowserRouter,
88
+ aK as createCookie,
89
+ aL as createCookieSessionStorage,
90
+ aM as createHashRouter,
91
+ aN as createMemoryRouter,
92
+ aO as createMemorySessionStorage,
93
+ aP as createPath,
94
+ aQ as createRequestHandler,
95
95
  createRoot,
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,
96
+ aR as createRoutesFromChildren,
97
+ aS as createRoutesFromElements,
98
+ aT as createRoutesStub,
99
+ H as createSbScope,
100
+ aU as createSearchParams,
101
+ aV as createSession,
102
+ aW as createSessionStorage,
103
+ aX as createStaticHandler,
104
+ aY as createStaticRouter,
105
+ aZ as data,
106
+ C as download,
107
+ a_ as generatePath,
108
+ a$ as href,
109
+ b0 as isCookie,
110
+ b1 as isRouteErrorResponse,
111
+ b2 as isSession,
112
+ E as logoutIntegrations,
113
+ b3 as matchPath,
114
+ b4 as matchRoutes,
115
+ z as navigateTo,
116
+ b5 as parsePath,
117
+ b6 as redirect,
118
+ b7 as redirectDocument,
119
119
  r as registerComponent,
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
120
+ G as registerPage,
121
+ F as registerScope,
122
+ b8 as renderMatches,
123
+ b9 as replace,
124
+ ba as resolvePath,
125
+ Q as sbComputed,
126
+ B as setQueryParams,
127
+ D as showAlert,
128
+ bb as unstable_HistoryRouter,
129
+ bc as unstable_RouterContextProvider,
130
+ bd as unstable_createContext,
131
+ be as unstable_setDevServerHooks,
132
+ bf as unstable_usePrompt,
133
+ bg as useActionData,
134
+ bh as useAsyncError,
135
+ bi as useAsyncValue,
136
+ bj as useBeforeUnload,
137
+ bk as useBlocker,
138
+ bl as useFetcher,
139
+ bm as useFetchers,
140
+ bn as useFormAction,
141
+ bo as useHref,
142
+ bp as useInRouterContext,
143
+ bq as useLinkClickHandler,
144
+ br as useLoaderData,
145
+ bs as useLocation,
146
+ bt as useMatch,
147
+ bu as useMatches,
148
+ bv as useNavigate,
149
+ bw as useNavigation,
150
+ bx as useNavigationType,
151
+ by as useOutlet,
152
+ bz as useOutletContext,
153
+ bA as useParams,
154
+ bB as useResolvedPath,
155
+ bC as useRevalidator,
156
+ bD as useRouteError,
157
+ bE as useRouteLoaderData,
158
+ bF as useRoutes,
159
+ bG as useSearchParams,
160
+ bH as useSubmit,
161
+ O as useTheme,
162
+ N as useUpdateProperties,
163
+ bI as useViewTransitionState
164
164
  };
165
165
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-CJuRwhWz.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, b as IconSize } from "./index-DV7VPZc1.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-BFbna0L2.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-BsO5Qoxp.js.map
@@ -1 +1 @@
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]}
1
+ {"version":3,"file":"splitPathsBySizeLoader-BsO5Qoxp.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-CJuRwhWz.js";
1
+ import { _ as __awaiter, a as __generator, p as pascalCase, I as IconSize } from "./index-DV7VPZc1.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-3mcg6Jfx.js.map
34
+ //# sourceMappingURL=splitPathsBySizeLoader-CTv2UfGL.js.map
@@ -1 +1 @@
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
+ {"version":3,"file":"splitPathsBySizeLoader-CTv2UfGL.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]}
@@ -32,8 +32,28 @@ declare class RuntimeEntitiesManager {
32
32
  private get relevantChildrenOperationsMap();
33
33
  private getChildrenWithOptimisticUpdates;
34
34
  getEditorWidgetChildren(instanceId: SbInstance): ChildElement[];
35
- hasEditOperationsPending(): boolean;
36
- getPendingOperations(): ({
35
+ get hasEditOperationsPending(): boolean;
36
+ get getPendingOperations(): ((import("./operation-store.js").ReparentTransaction | {
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
+ }) | {
37
57
  instanceId: SbInstance;
38
58
  sourceId: SbElement;
39
59
  dragStartX: number;
@@ -65,27 +85,7 @@ declare class RuntimeEntitiesManager {
65
85
  } | null;
66
86
  isApplyingResize: boolean;
67
87
  parentPadding?: import("@superblocksteam/library-shared/types").Padding;
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
- }))[];
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 Name } from "../lib/internal-details/lib/evaluator/names.js";
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.
@@ -1,3 +1 @@
1
- export declare function Widgets(): import("react").JSX.Element;
2
- declare const _default: import("react").MemoExoticComponent<() => import("react").JSX.Element>;
3
- export default _default;
1
+ export default function Widgets(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function registerStores(stores: Record<string, any>): void;
@@ -14,10 +14,9 @@ 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 & {});
18
17
  export type Entity = {
19
18
  [key: string]: EntityOutputProp;
20
- type: EntityType;
19
+ type: string;
21
20
  };
22
21
  export type ScopeId = string;
23
22
  export type ScopedState = {
@@ -6,7 +6,6 @@ export type Type = {
6
6
  isSb: symbol;
7
7
  sbType: string;
8
8
  isDroppable?: boolean;
9
- hasExtendedClickArea?: boolean;
10
9
  } & React.ComponentType<any>;
11
10
  export declare class ComponentRegistry implements ComponentRegistryShareState {
12
11
  readonly rootStore: RootStore;
@@ -7,7 +7,6 @@ export type DropTargetProps = {
7
7
  export declare const registerSbComponent: <PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>, IP extends InternalProps<PD> & DropTargetProps = InternalProps<PD> & DropTargetProps>(type: string, config: {
8
8
  container?: boolean;
9
9
  customComponent?: boolean;
10
- hasExtendedClickArea?: boolean;
11
10
  propertiesDefinition: PD;
12
11
  }, Component: React.FC<IP>) => React.FC<EP>;
13
12
  export declare function registerSbEntity<PROPS, PD extends PropertiesDefinition, EP extends ExternalProps<PD> = ExternalProps<PD>>(name: string, config: {