@superblocksteam/library 2.0.3-next.124 → 2.0.3-next.126

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 (21) hide show
  1. package/dist/{allPaths-Zj5ywZ7Z.js → allPaths-BBEWQlbm.js} +2 -2
  2. package/dist/{allPaths-Zj5ywZ7Z.js.map → allPaths-BBEWQlbm.js.map} +1 -1
  3. package/dist/{allPaths-BwCisL1m.js → allPaths-DqaYr8fP.js} +2 -2
  4. package/dist/{allPaths-BwCisL1m.js.map → allPaths-DqaYr8fP.js.map} +1 -1
  5. package/dist/{allPathsLoader-CHtqqhqa.js → allPathsLoader-89ouVeDC.js} +3 -3
  6. package/dist/{allPathsLoader-CHtqqhqa.js.map → allPathsLoader-89ouVeDC.js.map} +1 -1
  7. package/dist/{allPathsLoader-PuPpwk36.js → allPathsLoader-BtVdFWqo.js} +3 -3
  8. package/dist/{allPathsLoader-PuPpwk36.js.map → allPathsLoader-BtVdFWqo.js.map} +1 -1
  9. package/dist/{index-CRYekRqO.js → index-CAXB17xR.js} +482 -418
  10. package/dist/{index-CRYekRqO.js.map → index-CAXB17xR.js.map} +1 -1
  11. package/dist/index.js +126 -122
  12. package/dist/{splitPathsBySizeLoader-C9xWFFnU.js → splitPathsBySizeLoader-Brc4bB0Z.js} +2 -2
  13. package/dist/{splitPathsBySizeLoader-C9xWFFnU.js.map → splitPathsBySizeLoader-Brc4bB0Z.js.map} +1 -1
  14. package/dist/{splitPathsBySizeLoader-Cx--S5eU.js → splitPathsBySizeLoader-DFqJBiIM.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-Cx--S5eU.js.map → splitPathsBySizeLoader-DFqJBiIM.js.map} +1 -1
  16. package/dist-types/lib/index.d.ts +2 -1
  17. package/dist-types/lib/internal-details/scope/global.d.ts +9 -0
  18. package/dist-types/lib/user-facing/components/input/constants.d.ts +2 -2
  19. package/dist-types/lib/user-facing/state/create-scope.d.ts +10 -3
  20. package/dist-types/lib/user-facing/themes/constants.d.ts +4 -4
  21. package/package.json +2 -2
@@ -2703,14 +2703,14 @@ function getLoaderFn$1(options) {
2703
2703
  if (!(loader === "all")) return [3, 3];
2704
2704
  return [4, import(
2705
2705
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
2706
- "./allPathsLoader-PuPpwk36.js"
2706
+ "./allPathsLoader-BtVdFWqo.js"
2707
2707
  )];
2708
2708
  case 2:
2709
2709
  return [2, _b2.sent().allPathsLoader];
2710
2710
  case 3:
2711
2711
  return [4, import(
2712
2712
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
2713
- "./splitPathsBySizeLoader-C9xWFFnU.js"
2713
+ "./splitPathsBySizeLoader-Brc4bB0Z.js"
2714
2714
  )];
2715
2715
  case 4:
2716
2716
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -10516,6 +10516,17 @@ function toMobXPatch(change, pathStr) {
10516
10516
  function isComputedProperty(value) {
10517
10517
  return typeof value === "object" && value !== null && value.__isComputedProperty === true;
10518
10518
  }
10519
+ function getRuntimeComputedExpression(value) {
10520
+ var _a2, _b2, _c2;
10521
+ const lines = value.split("\n");
10522
+ if (lines.length === 1 && ((_a2 = lines[0]) == null ? void 0 : _a2.startsWith("return"))) {
10523
+ return lines[0];
10524
+ }
10525
+ if (lines.length === 1 && (!((_b2 = lines[0]) == null ? void 0 : _b2.startsWith("return")) || ((_c2 = lines[0]) == null ? void 0 : _c2.endsWith(";")))) {
10526
+ return `return ${lines[0]}`;
10527
+ }
10528
+ return value;
10529
+ }
10519
10530
  function isBindingString(value) {
10520
10531
  return typeof value === "object" && value != null && value.__binding === true;
10521
10532
  }
@@ -47014,20 +47025,17 @@ const DEFAULT_LIGHT_PALETTE = {
47014
47025
  primaryColor: colors.ACCENT_BLUE_500,
47015
47026
  appBackgroundColor: LIGHT_APP_BG
47016
47027
  };
47017
- const NO_BORDER = {
47028
+ const noBorder = (theme) => ({
47018
47029
  width: Dim.px(0),
47019
47030
  style: "solid",
47020
- color: "{{ theme.colors.neutral100 }}"
47021
- };
47022
- ({
47023
- width: Dim.px(1)
47031
+ color: theme.colors.neutral100
47032
+ });
47033
+ const noBorderOject = (theme) => ({
47034
+ left: noBorder(theme),
47035
+ right: noBorder(theme),
47036
+ top: noBorder(theme),
47037
+ bottom: noBorder(theme)
47024
47038
  });
47025
- const NO_BORDER_OBJECT = {
47026
- left: NO_BORDER,
47027
- right: NO_BORDER,
47028
- top: NO_BORDER,
47029
- bottom: NO_BORDER
47030
- };
47031
47039
  ({
47032
47040
  topLeft: Dim.px(0),
47033
47041
  topRight: Dim.px(0),
@@ -64564,7 +64572,7 @@ function getPropertyValue$1({
64564
64572
  }
64565
64573
  if (property.type === "COMPUTED" && typeof property.value === "string" && scopeId && name) {
64566
64574
  try {
64567
- return LazyFunction(property.value);
64575
+ return LazyFunction(getRuntimeComputedExpression(property.value));
64568
64576
  } catch (e3) {
64569
64577
  console.error("Error generating computed value", e3);
64570
64578
  const entity = rootStore.entityManager.getEntity(scopeId, name);
@@ -109022,6 +109030,281 @@ const Layers$1 = {
109022
109030
  max: 99999
109023
109031
  /* LayerMax */
109024
109032
  };
109033
+ const createBindableEntityProxy = (entity, identifier2) => {
109034
+ return new Proxy(
109035
+ {
109036
+ entity,
109037
+ [BindingMetaSymbol]: identifier2
109038
+ },
109039
+ {
109040
+ get(_target, prop) {
109041
+ if (prop === BindingMetaSymbol) {
109042
+ return identifier2;
109043
+ }
109044
+ return entity == null ? void 0 : entity[prop];
109045
+ },
109046
+ set(_target, prop, value) {
109047
+ if (!entity) {
109048
+ return false;
109049
+ }
109050
+ entity[prop] = value;
109051
+ return true;
109052
+ },
109053
+ deleteProperty(_target, prop) {
109054
+ if (!entity) {
109055
+ return false;
109056
+ }
109057
+ delete entity[prop];
109058
+ return true;
109059
+ },
109060
+ has(_target, prop) {
109061
+ if (!entity) {
109062
+ return false;
109063
+ }
109064
+ return prop in entity;
109065
+ },
109066
+ ownKeys(_target) {
109067
+ if (!entity) {
109068
+ return [];
109069
+ }
109070
+ return Object.keys(entity);
109071
+ },
109072
+ getOwnPropertyDescriptor(_target, prop) {
109073
+ if (!entity) {
109074
+ return void 0;
109075
+ }
109076
+ return Object.getOwnPropertyDescriptor(entity, prop);
109077
+ },
109078
+ defineProperty(_target, prop, descriptor) {
109079
+ if (!entity) {
109080
+ return false;
109081
+ }
109082
+ Object.defineProperty(entity, prop, descriptor);
109083
+ return true;
109084
+ },
109085
+ preventExtensions(_target) {
109086
+ if (!entity) {
109087
+ return false;
109088
+ }
109089
+ Object.preventExtensions(entity);
109090
+ return true;
109091
+ },
109092
+ isExtensible(_target) {
109093
+ if (!entity) {
109094
+ return false;
109095
+ }
109096
+ return Object.isExtensible(entity);
109097
+ },
109098
+ getPrototypeOf(_target) {
109099
+ if (!entity) {
109100
+ return null;
109101
+ }
109102
+ return Object.getPrototypeOf(entity);
109103
+ },
109104
+ setPrototypeOf(_target, proto4) {
109105
+ if (!entity) {
109106
+ return false;
109107
+ }
109108
+ Object.setPrototypeOf(entity, proto4);
109109
+ return true;
109110
+ }
109111
+ }
109112
+ );
109113
+ };
109114
+ const existingScopeIds = /* @__PURE__ */ new Set();
109115
+ function internalCreateScope(initialEntities, options) {
109116
+ return createSbScope(initialEntities, options);
109117
+ }
109118
+ function createSbScope(initialEntities, options) {
109119
+ const { parentScopeId, name } = options;
109120
+ if (!name) {
109121
+ throw new Error("Scope name is required");
109122
+ }
109123
+ const stableScopeId = options.scopeId ?? getStableScopeId(name);
109124
+ if (existingScopeIds.has(stableScopeId)) {
109125
+ console.warn(`Scope with name ${name} already exists`);
109126
+ }
109127
+ existingScopeIds.add(stableScopeId);
109128
+ const scopeId = rootStore.entityManager.createScope({
109129
+ parentScopeId,
109130
+ name,
109131
+ scopeId: stableScopeId
109132
+ });
109133
+ const bindingIds = {};
109134
+ const getBinding = (key2) => {
109135
+ if (bindingIds[key2]) {
109136
+ return bindingIds[key2];
109137
+ }
109138
+ bindingIds[key2] = {
109139
+ entityName: key2,
109140
+ scopeId
109141
+ };
109142
+ return bindingIds[key2];
109143
+ };
109144
+ const entities = new Proxy(
109145
+ {},
109146
+ {
109147
+ get(_target, key2) {
109148
+ if (typeof key2 !== "string") {
109149
+ return void 0;
109150
+ }
109151
+ const entity = rootStore.entityManager.getEntity(scopeId, {
109152
+ value: key2,
109153
+ isAnonymous: false
109154
+ });
109155
+ return createBindableEntityProxy(entity, getBinding(key2));
109156
+ }
109157
+ }
109158
+ );
109159
+ return {
109160
+ entities,
109161
+ initialEntities,
109162
+ scopeInfo: {
109163
+ scopeId,
109164
+ name,
109165
+ parentScopeId
109166
+ }
109167
+ };
109168
+ }
109169
+ const ScopeContext = createContext({
109170
+ scopeId: GLOBAL_SCOPE_ID
109171
+ });
109172
+ const ScopeProvider = ({
109173
+ scopeId,
109174
+ children
109175
+ }) => {
109176
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeContext.Provider, { value: { scopeId }, children });
109177
+ };
109178
+ const useScope = () => {
109179
+ const scopeInfo = useContext(ScopeContext);
109180
+ return scopeInfo ?? { scopeId: GLOBAL_SCOPE_ID };
109181
+ };
109182
+ function registerScope(Component3, scopeDef, options) {
109183
+ const componentName = Component3.displayName || Component3.name;
109184
+ const scopeInfo = scopeDef.scopeInfo;
109185
+ const ScopedComponent = function ScopedComponent2(props) {
109186
+ const parentScope = useScope();
109187
+ const stableScopeId = useRef(
109188
+ predictableNameGenerator(`sc-${componentName}`)
109189
+ );
109190
+ const [scopeId, setScopeId] = useState(null);
109191
+ useEffect(() => {
109192
+ if (scopeInfo.scopeId) {
109193
+ setScopeId(scopeInfo.scopeId);
109194
+ return;
109195
+ }
109196
+ const newScopeId = rootStore.entityManager.createScope({
109197
+ parentScopeId: parentScope.scopeId,
109198
+ name: scopeInfo.name,
109199
+ scopeId: stableScopeId.current
109200
+ });
109201
+ setScopeId(newScopeId);
109202
+ }, [parentScope.scopeId]);
109203
+ useStableEffect(
109204
+ () => {
109205
+ var _a2;
109206
+ const currentScopeId = scopeId;
109207
+ if (!currentScopeId) {
109208
+ return;
109209
+ }
109210
+ Object.entries(scopeDef.initialEntities).forEach(
109211
+ ([name, { type: type5, ...rest }]) => {
109212
+ const internalName = getName(name);
109213
+ const entity = rootStore.entityManager.getEntity(
109214
+ currentScopeId,
109215
+ internalName
109216
+ );
109217
+ const entityIsInOurScope = entity && currentScopeId === entity.scopeId;
109218
+ if (entity && entityIsInOurScope) {
109219
+ rootStore.entityManager.updateEntity({
109220
+ scopeId: currentScopeId,
109221
+ name: internalName,
109222
+ props: rest
109223
+ });
109224
+ } else {
109225
+ rootStore.entityManager.createEntity({
109226
+ scopeId: currentScopeId,
109227
+ name: internalName,
109228
+ props: rest,
109229
+ type: type5
109230
+ });
109231
+ }
109232
+ if (type5 === "SbTimer" && rest.startOnPageLoad && typeof entity === "object" && typeof (entity == null ? void 0 : entity.start) === "function") {
109233
+ entity.start();
109234
+ }
109235
+ }
109236
+ );
109237
+ (_a2 = options == null ? void 0 : options.onScopeLoaded) == null ? void 0 : _a2.call(options);
109238
+ },
109239
+ {
109240
+ initialEntities: scopeDef.initialEntities,
109241
+ scopeInfo: scopeDef.scopeInfo,
109242
+ scopeId
109243
+ },
109244
+ {
109245
+ cold: true,
109246
+ customEqualChecks: [
109247
+ [(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
109248
+ ]
109249
+ }
109250
+ );
109251
+ if (!scopeId) {
109252
+ return null;
109253
+ }
109254
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeProvider, { scopeId, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component3, { ...props }) });
109255
+ };
109256
+ return ScopedComponent;
109257
+ }
109258
+ const InternalGlobalScope = internalCreateScope(
109259
+ {},
109260
+ {
109261
+ name: GLOBAL_SCOPE_ID,
109262
+ scopeId: GLOBAL_SCOPE_ID
109263
+ }
109264
+ );
109265
+ const GlobalScope = registerScope(
109266
+ ({ children }) => {
109267
+ const { theme } = useTheme();
109268
+ useEffect(() => {
109269
+ const name = getName("Theme");
109270
+ const existingTheme = rootStore.entityManager.getEntity(
109271
+ GLOBAL_SCOPE_ID,
109272
+ name
109273
+ );
109274
+ if (existingTheme) {
109275
+ rootStore.entityManager.updateEntity({
109276
+ name,
109277
+ props: theme,
109278
+ scopeId: GLOBAL_SCOPE_ID
109279
+ });
109280
+ } else {
109281
+ rootStore.entityManager.createEntity({
109282
+ name,
109283
+ type: "theme",
109284
+ props: theme,
109285
+ scopeId: GLOBAL_SCOPE_ID
109286
+ });
109287
+ }
109288
+ }, [theme]);
109289
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children });
109290
+ },
109291
+ InternalGlobalScope
109292
+ );
109293
+ function createEntityProxy(entityName) {
109294
+ return new Proxy(
109295
+ {},
109296
+ {
109297
+ get(_target, prop) {
109298
+ const entity = InternalGlobalScope.entities[entityName];
109299
+ return entity == null ? void 0 : entity[prop];
109300
+ }
109301
+ }
109302
+ );
109303
+ }
109304
+ const Theme = createEntityProxy("Theme");
109305
+ const Global = createEntityProxy("Global");
109306
+ const Embed = createEntityProxy("Embed");
109307
+ const Env = createEntityProxy("Env");
109025
109308
  const getSizeProp = ({
109026
109309
  label,
109027
109310
  controlType,
@@ -109145,12 +109428,11 @@ const spacing = (options) => {
109145
109428
  label: "Spacing",
109146
109429
  helpText: "Space between components in container. If the alignment is space-between or space-around, this is the minimum spacing between items",
109147
109430
  controlType: "SPACING_CONTROL",
109148
- themeValue: function(s3) {
109149
- var _a2;
109431
+ themeValue: function() {
109150
109432
  if (this.layout === "freeform") {
109151
109433
  return Dim.px(0);
109152
109434
  }
109153
- return themeValue ?? ((_a2 = s3.theme) == null ? void 0 : _a2.spacing);
109435
+ return themeValue ?? Theme.spacing;
109154
109436
  },
109155
109437
  ...rest
109156
109438
  });
@@ -109179,9 +109461,8 @@ const padding = (options) => {
109179
109461
  label: "Padding",
109180
109462
  helpText: "The padding for the component",
109181
109463
  controlType: "PADDING_CONTROL",
109182
- themeValue: function(s3) {
109183
- var _a2;
109184
- return themeValue ?? ((_a2 = s3.theme) == null ? void 0 : _a2.padding);
109464
+ themeValue: function() {
109465
+ return themeValue ?? Theme.padding;
109185
109466
  },
109186
109467
  ...rest
109187
109468
  }).default(themeValue);
@@ -113138,19 +113419,6 @@ function useRegisterSourceElement(sourceId) {
113138
113419
  [sourceId]
113139
113420
  );
113140
113421
  }
113141
- const ScopeContext = createContext({
113142
- scopeId: GLOBAL_SCOPE_ID
113143
- });
113144
- const ScopeProvider = ({
113145
- scopeId,
113146
- children
113147
- }) => {
113148
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeContext.Provider, { value: { scopeId }, children });
113149
- };
113150
- const useScope = () => {
113151
- const scopeInfo = useContext(ScopeContext);
113152
- return scopeInfo ?? { scopeId: GLOBAL_SCOPE_ID };
113153
- };
113154
113422
  const CANVAS_ROOT_ID = "canvas-root";
113155
113423
  const MODAL_TARGET_ROOT_ID = "modal-target-root";
113156
113424
  const CollisionsLayer = observer(() => {
@@ -121050,10 +121318,9 @@ const createTextStyleCompositeBase = () => ({
121050
121318
  const basePropertiesPaneDisplay = {
121051
121319
  label: "Style",
121052
121320
  controlType: "TEXT_STYLE",
121053
- options: function(s3) {
121054
- var _a2;
121321
+ options: function() {
121055
121322
  return [
121056
- ...Object.entries(((_a2 = s3.theme) == null ? void 0 : _a2.typographies) ?? {}).flatMap(
121323
+ ...Object.entries(Theme.typographies ?? {}).flatMap(
121057
121324
  ([key2, typography]) => {
121058
121325
  return {
121059
121326
  label: typography.name ?? camelCaseToSentenceCase(key2),
@@ -121116,8 +121383,8 @@ const borderRadius = (propertiesPanelConfig = {}) => {
121116
121383
  topRight: Prop.dimension().readAndWrite(),
121117
121384
  bottomRight: Prop.dimension().readAndWrite(),
121118
121385
  bottomLeft: Prop.dimension().readAndWrite()
121119
- }).default(function(s3) {
121120
- const borderRadius2 = s3.theme.defaultBorder.borderRadius ?? Dim.px(0);
121386
+ }).default(function() {
121387
+ const borderRadius2 = Theme.defaultBorder.borderRadius ?? Dim.px(0);
121121
121388
  return createBorderRadiusObject(borderRadius2);
121122
121389
  }).readAndWrite().propertiesPanel({
121123
121390
  label: "Border radius",
@@ -121142,7 +121409,7 @@ const PRIMARY_BUTTON_BORDER_OBJECT = buildPerSideBorder(() => ({
121142
121409
  style: "solid"
121143
121410
  }));
121144
121411
  const SECONDARY_BUTTON_BORDER_OBJECT = buildPerSideBorder(() => ({
121145
- color: (s3) => s3.theme.colors.primary500,
121412
+ color: () => Theme.colors.primary500,
121146
121413
  width: Dim.px(1),
121147
121414
  style: "solid"
121148
121415
  }));
@@ -121153,7 +121420,7 @@ const getDefaultBorderObject = function() {
121153
121420
  case "secondary":
121154
121421
  return SECONDARY_BUTTON_BORDER_OBJECT;
121155
121422
  default:
121156
- return NO_BORDER_OBJECT;
121423
+ return noBorderOject(Theme);
121157
121424
  }
121158
121425
  };
121159
121426
  const PerSideBorderDef = function() {
@@ -121163,11 +121430,11 @@ const PerSideBorderDef = function() {
121163
121430
  style: Prop.string().readAndWrite()
121164
121431
  });
121165
121432
  };
121166
- const textStyle$3 = textStyleProp().default(function(s3) {
121433
+ const textStyle$3 = textStyleProp().default(function() {
121167
121434
  return {
121168
121435
  variant: "buttonLabel",
121169
121436
  textColor: {
121170
- default: getButtonThemeDefaultTextColor(s3.theme, this.variant)
121437
+ default: getButtonThemeDefaultTextColor(Theme, this.variant)
121171
121438
  }
121172
121439
  };
121173
121440
  });
@@ -121218,9 +121485,9 @@ const propertiesDefinition$j = {
121218
121485
  }
121219
121486
  }),
121220
121487
  textStyle: textStyle$3,
121221
- backgroundColor: Prop.string().readAndWrite().default(function(s3) {
121488
+ backgroundColor: Prop.string().readAndWrite().default(function() {
121222
121489
  const defaultThemeBackground = getButtonThemeDefaultBackgroundColor(
121223
- s3.theme,
121490
+ Theme,
121224
121491
  this.variant
121225
121492
  );
121226
121493
  return defaultThemeBackground === "transparent" ? void 0 : defaultThemeBackground;
@@ -121229,8 +121496,8 @@ const propertiesDefinition$j = {
121229
121496
  controlType: "COLOR_PICKER",
121230
121497
  visibility: "SHOW_NAME",
121231
121498
  isRemovable: true,
121232
- defaultOnAdd: function(s3) {
121233
- return getButtonThemeDefaultBackgroundColor(s3.theme, this.variant);
121499
+ defaultOnAdd: function() {
121500
+ return getButtonThemeDefaultBackgroundColor(Theme, this.variant);
121234
121501
  }
121235
121502
  }),
121236
121503
  border: Prop.composite(buildPerSideBorder(() => PerSideBorderDef())).default(getDefaultBorderObject).propertiesPanel({
@@ -121241,20 +121508,20 @@ const propertiesDefinition$j = {
121241
121508
  defaultOnAdd: SECONDARY_BUTTON_BORDER_OBJECT,
121242
121509
  visibility: "SHOW_NAME"
121243
121510
  }).readAndWrite(),
121244
- borderRadius: borderRadius().default(function(s3) {
121511
+ borderRadius: borderRadius().default(function() {
121245
121512
  let borderRadius2;
121246
121513
  switch (this.variant) {
121247
121514
  case "PRIMARY_BUTTON":
121248
- borderRadius2 = s3.theme.buttons.primary.borderRadius;
121515
+ borderRadius2 = Theme.buttons.primary.borderRadius;
121249
121516
  break;
121250
121517
  case "SECONDARY_BUTTON":
121251
- borderRadius2 = s3.theme.buttons.secondary.borderRadius;
121518
+ borderRadius2 = Theme.buttons.secondary.borderRadius;
121252
121519
  break;
121253
121520
  case "TERTIARY_BUTTON":
121254
- borderRadius2 = s3.theme.buttons.tertiary.borderRadius;
121521
+ borderRadius2 = Theme.buttons.tertiary.borderRadius;
121255
121522
  break;
121256
121523
  default:
121257
- borderRadius2 = s3.theme.buttons.primary.borderRadius;
121524
+ borderRadius2 = Theme.buttons.primary.borderRadius;
121258
121525
  }
121259
121526
  return createBorderRadiusObject(borderRadius2);
121260
121527
  }),
@@ -122230,16 +122497,16 @@ const propertiesDefinition$h = {
122230
122497
  { label: "Card", value: "card", icon: "CONTAINER_CARD_STYLE" }
122231
122498
  ]
122232
122499
  }),
122233
- backgroundColor: Prop.string().default(function(s3) {
122234
- return this.variant === "card" ? s3.theme.colors.neutral : void 0;
122500
+ backgroundColor: Prop.string().default(function() {
122501
+ return this.variant === "card" ? Theme.colors.neutral : void 0;
122235
122502
  }).validate(VALIDATORS.TEXT_ALLOW_UNDEFINED).readAndWrite().propertiesPanel({
122236
122503
  label: "Background",
122237
122504
  controlType: "COLOR_PICKER_FOR_CONTAINER_BACKGROUND",
122238
122505
  helpText: "Changes the color of the background",
122239
122506
  visibility: "SHOW_NAME",
122240
122507
  isRemovable: true,
122241
- defaultOnAdd: function(s3) {
122242
- return s3.theme.colors.appBackground ?? "#ffffff";
122508
+ defaultOnAdd: function() {
122509
+ return Theme.colors.appBackground ?? "#ffffff";
122243
122510
  }
122244
122511
  }),
122245
122512
  border: border(),
@@ -122247,8 +122514,8 @@ const propertiesDefinition$h = {
122247
122514
  isRemovable: true,
122248
122515
  visibility: "SHOW_NAME",
122249
122516
  defaultOnAdd: createBorderRadiusObject(Dim.px(0))
122250
- }).default(function(s3) {
122251
- const borderRadius2 = this.variant === "card" ? s3.theme.defaultBorder.borderRadius : Dim.px(0);
122517
+ }).default(function() {
122518
+ const borderRadius2 = this.variant === "card" ? Theme.defaultBorder.borderRadius : Dim.px(0);
122252
122519
  return createBorderRadiusObject(borderRadius2);
122253
122520
  })
122254
122521
  })
@@ -122264,6 +122531,7 @@ const InternalContainer = (props) => {
122264
122531
  var _a2, _b2, _c2;
122265
122532
  const { style: style2, ...passThroughProps } = usePassthroughProps(props);
122266
122533
  const { isEditing } = useEditor();
122534
+ const { theme } = useTheme();
122267
122535
  const componentClasses = useMemo$2(
122268
122536
  () => [
122269
122537
  "container-component",
@@ -122339,7 +122607,7 @@ const InternalContainer = (props) => {
122339
122607
  spacing: props.spacing,
122340
122608
  isVisible: props.isVisible ?? true,
122341
122609
  style: innerLayoutStyle,
122342
- border: NO_BORDER_OBJECT,
122610
+ border: noBorderOject(theme),
122343
122611
  children: props.children
122344
122612
  }
122345
122613
  ) : /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -122348,7 +122616,7 @@ const InternalContainer = (props) => {
122348
122616
  spacing: props.spacing,
122349
122617
  isVisible: props.isVisible ?? true,
122350
122618
  style: innerLayoutStyle,
122351
- border: NO_BORDER_OBJECT,
122619
+ border: noBorderOject(theme),
122352
122620
  children: props.children
122353
122621
  }
122354
122622
  )
@@ -128259,13 +128527,17 @@ const CURRENCY_CODE_DISPLAY_OPTIONS = [
128259
128527
  value: CurrencyCodeDisplayTypes.ISO_CODE
128260
128528
  }
128261
128529
  ];
128262
- const DEFAULT_INPUT_BORDER = {
128263
- width: Dim.px(1)
128264
- };
128265
- const DEFAULT_INPUT_BORDER_OBJECT = {
128266
- top: DEFAULT_INPUT_BORDER,
128267
- bottom: DEFAULT_INPUT_BORDER
128268
- };
128530
+ const defaultInputBorder = (theme) => ({
128531
+ width: Dim.px(1),
128532
+ style: "solid",
128533
+ color: theme.colors.neutral100
128534
+ });
128535
+ const defaultInputBorderObject = (theme) => ({
128536
+ left: defaultInputBorder(theme),
128537
+ right: defaultInputBorder(theme),
128538
+ top: defaultInputBorder(theme),
128539
+ bottom: defaultInputBorder(theme)
128540
+ });
128269
128541
  const CURRENCY_SYMBOL_MAP = {
128270
128542
  AED: "د.إ",
128271
128543
  AFN: "؋",
@@ -128848,8 +129120,8 @@ const useIconTop = ({
128848
129120
  backgroundColor
128849
129121
  });
128850
129122
  const inputStyleOverride = inputTypographyProps.style;
128851
- const borderTop = ((_b2 = (_a2 = border2 == null ? void 0 : border2.top) == null ? void 0 : _a2.width) == null ? void 0 : _b2.value) ?? ((_c2 = DEFAULT_INPUT_BORDER_OBJECT.top.width) == null ? void 0 : _c2.value) ?? 0;
128852
- const borderBottom = ((_e2 = (_d2 = border2 == null ? void 0 : border2.bottom) == null ? void 0 : _d2.width) == null ? void 0 : _e2.value) ?? ((_f2 = DEFAULT_INPUT_BORDER_OBJECT.bottom.width) == null ? void 0 : _f2.value) ?? 0;
129123
+ const borderTop = ((_b2 = (_a2 = border2 == null ? void 0 : border2.top) == null ? void 0 : _a2.width) == null ? void 0 : _b2.value) ?? ((_c2 = defaultInputBorderObject(theme).top.width) == null ? void 0 : _c2.value) ?? 0;
129124
+ const borderBottom = ((_e2 = (_d2 = border2 == null ? void 0 : border2.bottom) == null ? void 0 : _d2.width) == null ? void 0 : _e2.value) ?? ((_f2 = defaultInputBorderObject(theme).bottom.width) == null ? void 0 : _f2.value) ?? 0;
128853
129125
  const generatedInputTypographiesTheme = theme.typographies;
128854
129126
  const lineHeight = (inputStyleOverride == null ? void 0 : inputStyleOverride.lineHeight) ?? ((_g2 = generatedInputTypographiesTheme == null ? void 0 : generatedInputTypographiesTheme.inputText) == null ? void 0 : _g2.lineHeight);
128855
129127
  const fontSize = getFontSizeInPxFromTextStyle({
@@ -129819,10 +130091,10 @@ const textStyle$2 = textStyleProp({
129819
130091
  label: "Input text style"
129820
130092
  }
129821
130093
  }).default(
129822
- (state) => ({
130094
+ () => ({
129823
130095
  variant: DEFAULT_INPUT_WIDGET_INPUT_STYLE_VARIANT,
129824
130096
  textColor: {
129825
- default: state.theme.colors.neutral900
130097
+ default: Theme.colors.neutral900
129826
130098
  }
129827
130099
  })
129828
130100
  );
@@ -129835,10 +130107,10 @@ const labelStyle$1 = textStyleProp({
129835
130107
  }
129836
130108
  }
129837
130109
  }).default(
129838
- (state) => ({
130110
+ () => ({
129839
130111
  variant: DEFAULT_INPUT_WIDGET_LABEL_STYLE_VARIANT,
129840
130112
  textColor: {
129841
- default: state.theme.colors.neutral900
130113
+ default: Theme.colors.neutral900
129842
130114
  }
129843
130115
  })
129844
130116
  );
@@ -136921,10 +137193,10 @@ const getHorizontalPositionProperty = (propertyName = "position", schema, defaul
136921
137193
  })
136922
137194
  };
136923
137195
  };
136924
- const textStyle$1 = textStyleProp().default(function(s3) {
137196
+ const textStyle$1 = textStyleProp().default(function() {
136925
137197
  return {
136926
137198
  variant: DEFAULT_TEXT_WIDGET_TEXT_STYLE_VARIANT,
136927
- textColor: s3.theme.typographies.label.textColor
137199
+ textColor: Theme.typographies.label.textColor
136928
137200
  };
136929
137201
  });
136930
137202
  const propertiesDefinition$d = {
@@ -147576,14 +147848,14 @@ function getLoaderFn(options) {
147576
147848
  if (!(loader === "all")) return [3, 3];
147577
147849
  return [4, import(
147578
147850
  /* webpackChunkName: "blueprint-icons-all-paths-loader" */
147579
- "./allPathsLoader-CHtqqhqa.js"
147851
+ "./allPathsLoader-89ouVeDC.js"
147580
147852
  )];
147581
147853
  case 2:
147582
147854
  return [2, _b2.sent().allPathsLoader];
147583
147855
  case 3:
147584
147856
  return [4, import(
147585
147857
  /* webpackChunkName: "blueprint-icons-split-paths-by-size-loader" */
147586
- "./splitPathsBySizeLoader-Cx--S5eU.js"
147858
+ "./splitPathsBySizeLoader-DFqJBiIM.js"
147587
147859
  )];
147588
147860
  case 4:
147589
147861
  return [2, _b2.sent().splitPathsBySizeLoader];
@@ -178001,10 +178273,10 @@ const baseTextStyleProp = createTextStyleCompositeBase();
178001
178273
  const textStyle = textStyleProp({
178002
178274
  baseProp: baseTextStyleProp
178003
178275
  }).default(
178004
- (state) => ({
178276
+ () => ({
178005
178277
  variant: DEFAULT_INPUT_WIDGET_INPUT_STYLE_VARIANT,
178006
178278
  textColor: {
178007
- default: state.theme.colors.neutral900
178279
+ default: Theme.colors.neutral900
178008
178280
  }
178009
178281
  })
178010
178282
  );
@@ -178017,10 +178289,10 @@ const labelStyle = textStyleProp({
178017
178289
  }
178018
178290
  }
178019
178291
  }).default(
178020
- (state) => ({
178292
+ () => ({
178021
178293
  variant: DEFAULT_INPUT_WIDGET_LABEL_STYLE_VARIANT,
178022
178294
  textColor: {
178023
- default: state.theme.colors.neutral900
178295
+ default: Theme.colors.neutral900
178024
178296
  }
178025
178297
  })
178026
178298
  );
@@ -180088,10 +180360,10 @@ const propertiesDefinition$8 = {
180088
180360
  label: "Border radius",
180089
180361
  controlType: "BORDER_RADIUS_CONTROL"
180090
180362
  }),
180091
- "styleProps.divider": Prop.any().default({
180363
+ "styleProps.divider": Prop.any().default(() => ({
180092
180364
  size: Dim.px(1),
180093
- color: "{{ theme.colors.neutral100 }}"
180094
- }).propertiesPanel({
180365
+ color: Theme.colors.neutral100
180366
+ })).propertiesPanel({
180095
180367
  label: "Divider",
180096
180368
  helpText: "Display dividers between key value pairs",
180097
180369
  controlType: "COLORED_DIMENSION_CONTROL",
@@ -184113,12 +184385,6 @@ const SbProvider = function SbProvider2({
184113
184385
  editorBridge.updateTheme(mergedTheme, generatedTheme);
184114
184386
  const userAccessibleTheme2 = generatedTheme;
184115
184387
  setUserAccessibleTheme(userAccessibleTheme2);
184116
- rootStore.entityManager.createEntity({
184117
- name: getName("theme"),
184118
- scopeId: GLOBAL_SCOPE_ID,
184119
- type: "theme",
184120
- props: userAccessibleTheme2
184121
- });
184122
184388
  }, [settings == null ? void 0 : settings.theme, settings == null ? void 0 : settings.themeOverrides]);
184123
184389
  useEffect(() => {
184124
184390
  initializeStyles(name);
@@ -184145,7 +184411,7 @@ const SbProvider = function SbProvider2({
184145
184411
  overflow: "hidden",
184146
184412
  position: "relative"
184147
184413
  },
184148
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) })
184414
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider, { theme: userAccessibleTheme, children: /* @__PURE__ */ jsxRuntimeExports.jsx(GlobalScope, { children: isEmbedded ? /* @__PURE__ */ jsxRuntimeExports.jsx(EmbedWrapper, { children }) : /* @__PURE__ */ jsxRuntimeExports.jsx(Auth0Wrapper, { children }) }) })
184149
184415
  }
184150
184416
  ),
184151
184417
  /* @__PURE__ */ jsxRuntimeExports.jsx("div", { id: MODAL_TARGET_ROOT_ID, "data-superblocks": MODAL_TARGET_ROOT_ID })
@@ -184374,82 +184640,6 @@ function showAlert(_message, _style, _durationSeconds, _alertPosition) {
184374
184640
  }
184375
184641
  function logoutIntegrations() {
184376
184642
  }
184377
- function registerScope(Component3, scopeDef, options) {
184378
- const componentName = Component3.displayName || Component3.name;
184379
- const scopeInfo = scopeDef.scopeInfo;
184380
- const ScopedComponent = function ScopedComponent2(props) {
184381
- const parentScope = useScope();
184382
- const stableScopeId = useRef(
184383
- predictableNameGenerator(`sc-${componentName}`)
184384
- );
184385
- const [scopeId, setScopeId] = useState(null);
184386
- useEffect(() => {
184387
- if (scopeInfo.scopeId) {
184388
- setScopeId(scopeInfo.scopeId);
184389
- return;
184390
- }
184391
- const newScopeId = rootStore.entityManager.createScope({
184392
- parentScopeId: parentScope.scopeId,
184393
- name: scopeInfo.name,
184394
- scopeId: stableScopeId.current
184395
- });
184396
- setScopeId(newScopeId);
184397
- }, [parentScope.scopeId]);
184398
- useStableEffect(
184399
- () => {
184400
- var _a2;
184401
- const currentScopeId = scopeId;
184402
- if (!currentScopeId) {
184403
- return;
184404
- }
184405
- Object.entries(scopeDef.initialEntities).forEach(
184406
- ([name, { type: type5, ...rest }]) => {
184407
- const internalName = getName(name);
184408
- const entity = rootStore.entityManager.getEntity(
184409
- currentScopeId,
184410
- internalName
184411
- );
184412
- const entityIsInOurScope = entity && currentScopeId === entity.scopeId;
184413
- if (entity && entityIsInOurScope) {
184414
- rootStore.entityManager.updateEntity({
184415
- scopeId: currentScopeId,
184416
- name: internalName,
184417
- props: rest
184418
- });
184419
- } else {
184420
- rootStore.entityManager.createEntity({
184421
- scopeId: currentScopeId,
184422
- name: internalName,
184423
- props: rest,
184424
- type: type5
184425
- });
184426
- }
184427
- if (type5 === "SbTimer" && rest.startOnPageLoad && typeof entity === "object" && typeof (entity == null ? void 0 : entity.start) === "function") {
184428
- entity.start();
184429
- }
184430
- }
184431
- );
184432
- (_a2 = options == null ? void 0 : options.onScopeLoaded) == null ? void 0 : _a2.call(options);
184433
- },
184434
- {
184435
- initialEntities: scopeDef.initialEntities,
184436
- scopeInfo: scopeDef.scopeInfo,
184437
- scopeId
184438
- },
184439
- {
184440
- cold: true,
184441
- customEqualChecks: [
184442
- [(a3) => typeof a3 === "object" && a3 !== null, (a3, b3) => lodashExports.isEqual(a3, b3)]
184443
- ]
184444
- }
184445
- );
184446
- if (!scopeId) {
184447
- return null;
184448
- }
184449
- return /* @__PURE__ */ jsxRuntimeExports.jsx(ScopeProvider, { scopeId, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Component3, { ...props }) });
184450
- };
184451
- return ScopedComponent;
184452
- }
184453
184643
  function registerPage(Component3, scope) {
184454
184644
  return registerScope(Component3, scope, {
184455
184645
  onScopeLoaded: () => {
@@ -184457,136 +184647,6 @@ function registerPage(Component3, scope) {
184457
184647
  }
184458
184648
  });
184459
184649
  }
184460
- const createBindableEntityProxy = (entity, identifier2) => {
184461
- return new Proxy(
184462
- {
184463
- entity,
184464
- [BindingMetaSymbol]: identifier2
184465
- },
184466
- {
184467
- get(_target, prop) {
184468
- if (prop === BindingMetaSymbol) {
184469
- return identifier2;
184470
- }
184471
- return entity == null ? void 0 : entity[prop];
184472
- },
184473
- set(_target, prop, value) {
184474
- if (!entity) {
184475
- return false;
184476
- }
184477
- entity[prop] = value;
184478
- return true;
184479
- },
184480
- deleteProperty(_target, prop) {
184481
- if (!entity) {
184482
- return false;
184483
- }
184484
- delete entity[prop];
184485
- return true;
184486
- },
184487
- has(_target, prop) {
184488
- if (!entity) {
184489
- return false;
184490
- }
184491
- return prop in entity;
184492
- },
184493
- ownKeys(_target) {
184494
- if (!entity) {
184495
- return [];
184496
- }
184497
- return Object.keys(entity);
184498
- },
184499
- getOwnPropertyDescriptor(_target, prop) {
184500
- if (!entity) {
184501
- return void 0;
184502
- }
184503
- return Object.getOwnPropertyDescriptor(entity, prop);
184504
- },
184505
- defineProperty(_target, prop, descriptor) {
184506
- if (!entity) {
184507
- return false;
184508
- }
184509
- Object.defineProperty(entity, prop, descriptor);
184510
- return true;
184511
- },
184512
- preventExtensions(_target) {
184513
- if (!entity) {
184514
- return false;
184515
- }
184516
- Object.preventExtensions(entity);
184517
- return true;
184518
- },
184519
- isExtensible(_target) {
184520
- if (!entity) {
184521
- return false;
184522
- }
184523
- return Object.isExtensible(entity);
184524
- },
184525
- getPrototypeOf(_target) {
184526
- if (!entity) {
184527
- return null;
184528
- }
184529
- return Object.getPrototypeOf(entity);
184530
- },
184531
- setPrototypeOf(_target, proto4) {
184532
- if (!entity) {
184533
- return false;
184534
- }
184535
- Object.setPrototypeOf(entity, proto4);
184536
- return true;
184537
- }
184538
- }
184539
- );
184540
- };
184541
- const existingScopeIds = /* @__PURE__ */ new Set();
184542
- function createSbScope(initialEntities, options) {
184543
- const { parentScopeId, name } = options;
184544
- if (!name) {
184545
- throw new Error("Scope name is required");
184546
- }
184547
- const stableScopeId = getStableScopeId(name);
184548
- if (existingScopeIds.has(stableScopeId)) {
184549
- console.warn(`Scope with name ${name} already exists`);
184550
- }
184551
- existingScopeIds.add(stableScopeId);
184552
- const scopeId = rootStore.entityManager.createScope({
184553
- parentScopeId,
184554
- name,
184555
- scopeId: stableScopeId
184556
- });
184557
- const bindingIds = {};
184558
- const getBinding = (key2) => {
184559
- if (bindingIds[key2]) {
184560
- return bindingIds[key2];
184561
- }
184562
- bindingIds[key2] = {
184563
- entityName: key2,
184564
- scopeId
184565
- };
184566
- return bindingIds[key2];
184567
- };
184568
- const entities = new Proxy({}, {
184569
- get(_target, key2) {
184570
- if (typeof key2 !== "string") {
184571
- return void 0;
184572
- }
184573
- const entity = rootStore.entityManager.getEntity(scopeId, {
184574
- value: key2,
184575
- isAnonymous: false
184576
- });
184577
- return createBindableEntityProxy(entity, getBinding(key2));
184578
- }
184579
- });
184580
- return {
184581
- entities,
184582
- initialEntities,
184583
- scopeInfo: {
184584
- scopeId,
184585
- name,
184586
- parentScopeId
184587
- }
184588
- };
184589
- }
184590
184650
  function SbEvent({
184591
184651
  payload
184592
184652
  }) {
@@ -195756,7 +195816,7 @@ function requireClient() {
195756
195816
  }
195757
195817
  var clientExports = requireClient();
195758
195818
  export {
195759
- IDLE_NAVIGATION as $,
195819
+ Form2 as $,
195760
195820
  AppStateVarPersistence6$1 as A,
195761
195821
  copyToClipboard as B,
195762
195822
  navigateTo as C,
@@ -195768,130 +195828,134 @@ export {
195768
195828
  IconSize$2 as I,
195769
195829
  registerPage as J,
195770
195830
  createSbScope as K,
195771
- SbEvent as L,
195772
- useUpdateProperties as M,
195773
- sbComputed as N,
195774
- Dim as O,
195775
- Prop as P,
195776
- SB as Q,
195777
- Outlet as R,
195831
+ Global as L,
195832
+ Embed as M,
195833
+ Env as N,
195834
+ SbEvent as O,
195835
+ useUpdateProperties as P,
195836
+ Prop as Q,
195837
+ sbComputed as R,
195778
195838
  SbButton as S,
195779
- clientExports as T,
195780
- Await as U,
195781
- BrowserRouter as V,
195782
- Form2 as W,
195783
- HashRouter as X,
195784
- IDLE_BLOCKER as Y,
195785
- IDLE_FETCHER as Z,
195839
+ Theme as T,
195840
+ Dim as U,
195841
+ SB as V,
195842
+ Outlet as W,
195843
+ clientExports as X,
195844
+ Await as Y,
195845
+ BrowserRouter as Z,
195786
195846
  __awaiter as _,
195787
195847
  __generator as a,
195788
- isSession as a$,
195789
- Link as a0,
195790
- Links as a1,
195791
- MemoryRouter as a2,
195792
- Meta as a3,
195793
- NavLink as a4,
195794
- Navigate as a5,
195795
- Action as a6,
195796
- PrefetchPageLinks as a7,
195797
- Route as a8,
195798
- Router as a9,
195799
- getSingleFetchDataStrategy as aA,
195800
- invariant as aB,
195801
- mapRouteProperties as aC,
195802
- shouldHydrateRouteLoader as aD,
195803
- useFogOFWarDiscovery as aE,
195804
- useScrollRestoration as aF,
195805
- createBrowserRouter as aG,
195806
- createCookie as aH,
195807
- createCookieSessionStorage as aI,
195808
- createHashRouter as aJ,
195809
- createMemoryRouter as aK,
195810
- createMemorySessionStorage as aL,
195811
- createPath as aM,
195812
- createRequestHandler as aN,
195813
- createRoutesFromChildren as aO,
195814
- createRoutesFromElements as aP,
195815
- createRoutesStub as aQ,
195816
- createSearchParams as aR,
195817
- createSession as aS,
195818
- createSessionStorage as aT,
195819
- createStaticHandler2 as aU,
195820
- createStaticRouter as aV,
195821
- data as aW,
195822
- generatePath as aX,
195823
- href as aY,
195824
- isCookie as aZ,
195825
- isRouteErrorResponse as a_,
195826
- RouterProvider as aa,
195827
- Routes as ab,
195828
- Scripts as ac,
195829
- ScrollRestoration as ad,
195830
- ServerRouter as ae,
195831
- StaticRouter as af,
195832
- StaticRouterProvider as ag,
195833
- DataRouterContext as ah,
195834
- DataRouterStateContext as ai,
195835
- ErrorResponseImpl as aj,
195836
- FetchersContext as ak,
195837
- FrameworkContext as al,
195838
- LocationContext as am,
195839
- NavigationContext as an,
195840
- RemixErrorBoundary as ao,
195841
- RouteContext as ap,
195842
- ServerMode as aq,
195843
- SingleFetchRedirectSymbol as ar,
195844
- ViewTransitionContext as as,
195845
- createBrowserHistory as at,
195846
- createClientRoutes as au,
195847
- createClientRoutesWithHMRRevalidationOptOut as av,
195848
- createRouter as aw,
195849
- decodeViaTurboStream as ax,
195850
- deserializeErrors2 as ay,
195851
- getPatchRoutesOnNavigationFunction as az,
195848
+ generatePath as a$,
195849
+ HashRouter as a0,
195850
+ IDLE_BLOCKER as a1,
195851
+ IDLE_FETCHER as a2,
195852
+ IDLE_NAVIGATION as a3,
195853
+ Link as a4,
195854
+ Links as a5,
195855
+ MemoryRouter as a6,
195856
+ Meta as a7,
195857
+ NavLink as a8,
195858
+ Navigate as a9,
195859
+ createRouter as aA,
195860
+ decodeViaTurboStream as aB,
195861
+ deserializeErrors2 as aC,
195862
+ getPatchRoutesOnNavigationFunction as aD,
195863
+ getSingleFetchDataStrategy as aE,
195864
+ invariant as aF,
195865
+ mapRouteProperties as aG,
195866
+ shouldHydrateRouteLoader as aH,
195867
+ useFogOFWarDiscovery as aI,
195868
+ useScrollRestoration as aJ,
195869
+ createBrowserRouter as aK,
195870
+ createCookie as aL,
195871
+ createCookieSessionStorage as aM,
195872
+ createHashRouter as aN,
195873
+ createMemoryRouter as aO,
195874
+ createMemorySessionStorage as aP,
195875
+ createPath as aQ,
195876
+ createRequestHandler as aR,
195877
+ createRoutesFromChildren as aS,
195878
+ createRoutesFromElements as aT,
195879
+ createRoutesStub as aU,
195880
+ createSearchParams as aV,
195881
+ createSession as aW,
195882
+ createSessionStorage as aX,
195883
+ createStaticHandler2 as aY,
195884
+ createStaticRouter as aZ,
195885
+ data as a_,
195886
+ Action as aa,
195887
+ PrefetchPageLinks as ab,
195888
+ Route as ac,
195889
+ Router as ad,
195890
+ RouterProvider as ae,
195891
+ Routes as af,
195892
+ Scripts as ag,
195893
+ ScrollRestoration as ah,
195894
+ ServerRouter as ai,
195895
+ StaticRouter as aj,
195896
+ StaticRouterProvider as ak,
195897
+ DataRouterContext as al,
195898
+ DataRouterStateContext as am,
195899
+ ErrorResponseImpl as an,
195900
+ FetchersContext as ao,
195901
+ FrameworkContext as ap,
195902
+ LocationContext as aq,
195903
+ NavigationContext as ar,
195904
+ RemixErrorBoundary as as,
195905
+ RouteContext as at,
195906
+ ServerMode as au,
195907
+ SingleFetchRedirectSymbol as av,
195908
+ ViewTransitionContext as aw,
195909
+ createBrowserHistory as ax,
195910
+ createClientRoutes as ay,
195911
+ createClientRoutesWithHMRRevalidationOptOut as az,
195852
195912
  IconSize as b,
195853
- matchPath as b0,
195854
- matchRoutes as b1,
195855
- parsePath as b2,
195856
- redirect as b3,
195857
- redirectDocument as b4,
195858
- renderMatches as b5,
195859
- replace2 as b6,
195860
- resolvePath as b7,
195861
- HistoryRouter as b8,
195862
- unstable_RouterContextProvider as b9,
195863
- useRouteError as bA,
195864
- useRouteLoaderData as bB,
195865
- useRoutes as bC,
195866
- useSearchParams as bD,
195867
- useSubmit as bE,
195868
- useViewTransitionState as bF,
195869
- unstable_createContext as ba,
195870
- setDevServerHooks as bb,
195871
- usePrompt as bc,
195872
- useActionData as bd,
195873
- useAsyncError as be,
195874
- useAsyncValue as bf,
195875
- useBeforeUnload as bg,
195876
- useBlocker as bh,
195877
- useFetcher as bi,
195878
- useFetchers as bj,
195879
- useFormAction as bk,
195880
- useHref as bl,
195881
- useInRouterContext as bm,
195882
- useLinkClickHandler as bn,
195883
- useLoaderData as bo,
195884
- useLocation as bp,
195885
- useMatch as bq,
195886
- useMatches as br,
195887
- useNavigate as bs,
195888
- useNavigation as bt,
195889
- useNavigationType as bu,
195890
- useOutlet as bv,
195891
- useOutletContext as bw,
195892
- useParams as bx,
195893
- useResolvedPath as by,
195894
- useRevalidator as bz,
195913
+ href as b0,
195914
+ isCookie as b1,
195915
+ isRouteErrorResponse as b2,
195916
+ isSession as b3,
195917
+ matchPath as b4,
195918
+ matchRoutes as b5,
195919
+ parsePath as b6,
195920
+ redirect as b7,
195921
+ redirectDocument as b8,
195922
+ renderMatches as b9,
195923
+ useOutletContext as bA,
195924
+ useParams as bB,
195925
+ useResolvedPath as bC,
195926
+ useRevalidator as bD,
195927
+ useRouteError as bE,
195928
+ useRouteLoaderData as bF,
195929
+ useRoutes as bG,
195930
+ useSearchParams as bH,
195931
+ useSubmit as bI,
195932
+ useViewTransitionState as bJ,
195933
+ replace2 as ba,
195934
+ resolvePath as bb,
195935
+ HistoryRouter as bc,
195936
+ unstable_RouterContextProvider as bd,
195937
+ unstable_createContext as be,
195938
+ setDevServerHooks as bf,
195939
+ usePrompt as bg,
195940
+ useActionData as bh,
195941
+ useAsyncError as bi,
195942
+ useAsyncValue as bj,
195943
+ useBeforeUnload as bk,
195944
+ useBlocker as bl,
195945
+ useFetcher as bm,
195946
+ useFetchers as bn,
195947
+ useFormAction as bo,
195948
+ useHref as bp,
195949
+ useInRouterContext as bq,
195950
+ useLinkClickHandler as br,
195951
+ useLoaderData as bs,
195952
+ useLocation as bt,
195953
+ useMatch as bu,
195954
+ useMatches as bv,
195955
+ useNavigate as bw,
195956
+ useNavigation as bx,
195957
+ useNavigationType as by,
195958
+ useOutlet as bz,
195895
195959
  SbSection as c,
195896
195960
  SbColumn as d,
195897
195961
  SbContainer as e,
@@ -195917,4 +195981,4 @@ export {
195917
195981
  SbProvider as y,
195918
195982
  SbEventFlow as z
195919
195983
  };
195920
- //# sourceMappingURL=index-CRYekRqO.js.map
195984
+ //# sourceMappingURL=index-CAXB17xR.js.map