@superblocksteam/library 2.0.37-next.49 → 2.0.37-next.50

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/index.d.ts CHANGED
@@ -6,7 +6,7 @@ import * as react_jsx_runtime0 from "react/jsx-runtime";
6
6
  import * as _superblocksteam_library_shared0 from "@superblocksteam/library-shared";
7
7
  import { ComputedProperty, Dim, Dim as Dim$1, DimModes, DimModes as DimModes$1, EditorConfig, EvaluateOrValueComputedArgs, INSTANCE_ID_ATTRIBUTE, NO_CONTENT_ATTRIBUTE, Property, SB } from "@superblocksteam/library-shared";
8
8
  import { Link, Outlet, generatePath } from "react-router";
9
- import * as _superblocksteam_library_shared_props0 from "@superblocksteam/library-shared/props";
9
+ import * as _superblocksteam_library_shared_props1 from "@superblocksteam/library-shared/props";
10
10
  import { Callback, ControlType, DataType, DataTypeString, HeaderType, PropertiesPanelDefinition, PropertiesPanelDisplay, PropertyForData, PropsPanelCategory, Relation, WidgetPropertyDefinition } from "@superblocksteam/library-shared/props";
11
11
  import { OrchestratorViewMode, PlaceholderInfo, Profile, RouteDef } from "@superblocksteam/shared";
12
12
  import { XYCoord } from "react-dnd";
@@ -1003,7 +1003,7 @@ declare const Timer: (args: RawPropsToExternal<Props$2>) => {
1003
1003
  type: "Timer";
1004
1004
  intervalMs: _superblocksteam_library_shared_types7.ValueInputProp<number, any[]> | undefined;
1005
1005
  startOnPageLoad: _superblocksteam_library_shared_types7.ValueInputProp<boolean, any[]> | undefined;
1006
- onFire: _superblocksteam_library_shared_props0.Callback | EventFlow | undefined;
1006
+ onFire: _superblocksteam_library_shared_props1.Callback | EventFlow | undefined;
1007
1007
  } & _superblocksteam_library_shared_types7.AnonymousSbEntity;
1008
1008
  //#endregion
1009
1009
  //#region src/lib/user-facing/entities/api/index.d.ts
@@ -1014,8 +1014,8 @@ type Props$1 = {
1014
1014
  declare const SbApi: (args: RawPropsToExternal<Props$1>) => {
1015
1015
  [sbEntitySymbol]: true;
1016
1016
  type: "SbApi";
1017
- onSuccess: _superblocksteam_library_shared_props0.Callback | EventFlow | undefined;
1018
- onError: _superblocksteam_library_shared_props0.Callback | EventFlow | undefined;
1017
+ onSuccess: _superblocksteam_library_shared_props1.Callback | EventFlow | undefined;
1018
+ onError: _superblocksteam_library_shared_props1.Callback | EventFlow | undefined;
1019
1019
  } & _superblocksteam_library_shared_types7.AnonymousSbEntity;
1020
1020
  //#endregion
1021
1021
  //#region src/lib/user-facing/sb-provider.d.ts
package/dist/index.js CHANGED
@@ -1267,7 +1267,13 @@ const Classes = {
1267
1267
  height: -webkit-fill-available;
1268
1268
  }
1269
1269
  `,
1270
- fitPrimary: styleWithPrefix("sb-fit-primary")`
1270
+ fitPrimaryHeight: styleWithPrefix("sb-fit-primary-height")`
1271
+ @layer components {
1272
+ flex-basis: auto;
1273
+ flex-shrink: 0;
1274
+ }
1275
+ `,
1276
+ fitPrimaryWidth: styleWithPrefix("sb-fit-primary-width")`
1271
1277
  @layer components {
1272
1278
  flex-basis: auto;
1273
1279
  }
@@ -1396,7 +1402,8 @@ const getWidthHeightInfo = (dim, dimension, instanceId) => {
1396
1402
  if (dimension === "width") return { classnames: [Classes.fitWidth] };
1397
1403
  return { classnames: [Classes.fitHeight] };
1398
1404
  }
1399
- if (primaryDimension) return { classnames: [Classes.fitPrimary] };
1405
+ if (primaryDimension) if (dimension === "height") return { classnames: [Classes.fitPrimaryHeight] };
1406
+ else return { classnames: [Classes.fitPrimaryWidth] };
1400
1407
  if (dimension === "width") return { classnames: [Classes.fitSecondaryWidth] };
1401
1408
  return { classnames: [Classes.fitSecondaryHeight] };
1402
1409
  case "fill":