@algolia/wizard 0.5.0-rc.45.14 → 0.5.0-rc.45.15

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 (2) hide show
  1. package/dist/main.js +22 -28
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -1358,34 +1358,28 @@ function App() {
1358
1358
  width: "100%",
1359
1359
  justifyContent: "space-between",
1360
1360
  children: [
1361
- /* @__PURE__ */ jsxs12(
1362
- Box13,
1363
- {
1364
- flexDirection: "column",
1365
- paddingX: 4,
1366
- paddingY: 2,
1367
- width: showSidebar ? 70 : "100%",
1368
- flexGrow: showSidebar ? 1 : 0,
1369
- children: [
1370
- /* @__PURE__ */ jsx13(Notices, {}),
1371
- /* @__PURE__ */ jsx13(PromptInput, {}),
1372
- phase === "running" && showSidebar && /* @__PURE__ */ jsx13(Box13, { marginTop: 1, children: /* @__PURE__ */ jsx13(CurrentStep, {}) }),
1373
- phase === "error" && error && /* @__PURE__ */ jsx13(Box13, { marginTop: 1, children: /* @__PURE__ */ jsxs12(Text13, { color: COLORS.status.error, children: [
1374
- "\u2716 ",
1375
- error
1376
- ] }) })
1377
- ]
1378
- }
1361
+ showLogs ? /* @__PURE__ */ jsx13(Logs, {}) : (
1362
+ /* Fill the width beside the sidebar; row layout only (would grow vertically when stacked). */
1363
+ /* @__PURE__ */ jsxs12(
1364
+ Box13,
1365
+ {
1366
+ flexDirection: "column",
1367
+ paddingX: 4,
1368
+ paddingY: 2,
1369
+ width: showSidebar ? 70 : "100%",
1370
+ flexGrow: showSidebar ? 1 : 0,
1371
+ children: [
1372
+ /* @__PURE__ */ jsx13(Notices, {}),
1373
+ /* @__PURE__ */ jsx13(PromptInput, {}),
1374
+ phase === "running" && showSidebar && /* @__PURE__ */ jsx13(Box13, { marginTop: 1, children: /* @__PURE__ */ jsx13(CurrentStep, {}) }),
1375
+ phase === "error" && error && /* @__PURE__ */ jsx13(Box13, { marginTop: 1, children: /* @__PURE__ */ jsxs12(Text13, { color: COLORS.status.error, children: [
1376
+ "\u2716 ",
1377
+ error
1378
+ ] }) })
1379
+ ]
1380
+ }
1381
+ )
1379
1382
  ),
1380
- showLogs ? /* @__PURE__ */ jsx13(Logs, {}) : /* @__PURE__ */ jsxs12(Box13, { flexDirection: "column", paddingX: 4, paddingY: 2, width: 70, children: [
1381
- /* @__PURE__ */ jsx13(Notices, {}),
1382
- /* @__PURE__ */ jsx13(PromptInput, {}),
1383
- phase === "running" && showSidebar && /* @__PURE__ */ jsx13(Box13, { marginTop: 1, children: /* @__PURE__ */ jsx13(CurrentStep, {}) }),
1384
- phase === "error" && error && /* @__PURE__ */ jsx13(Box13, { marginTop: 1, children: /* @__PURE__ */ jsxs12(Text13, { color: COLORS.status.error, children: [
1385
- "\u2716 ",
1386
- error
1387
- ] }) })
1388
- ] }),
1389
1383
  showSidebar ? /* @__PURE__ */ jsx13(Sidebar, {}) : /* @__PURE__ */ jsx13(Ribbon, {})
1390
1384
  ]
1391
1385
  }
@@ -2701,7 +2695,7 @@ async function runAnalysis(mode, extraInstructions = []) {
2701
2695
  // package.json
2702
2696
  var package_default = {
2703
2697
  name: "@algolia/wizard",
2704
- version: "0.5.0-rc.45.14",
2698
+ version: "0.5.0-rc.45.15",
2705
2699
  description: "Magically implement Algolia functionality in your codebase",
2706
2700
  type: "module",
2707
2701
  engines: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algolia/wizard",
3
- "version": "0.5.0-rc.45.14",
3
+ "version": "0.5.0-rc.45.15",
4
4
  "description": "Magically implement Algolia functionality in your codebase",
5
5
  "type": "module",
6
6
  "engines": {