@universe-platform/ui 0.1.0-beta.80 → 0.1.0-beta.81

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/globals.css CHANGED
@@ -1171,9 +1171,6 @@
1171
1171
  border-color: var(--color-slate-100);
1172
1172
  }
1173
1173
  }
1174
- .self-center {
1175
- align-self: center;
1176
- }
1177
1174
  .self-end {
1178
1175
  align-self: flex-end;
1179
1176
  }
@@ -3402,9 +3399,9 @@
3402
3399
  grid-template-columns: repeat(1, minmax(0, 1fr));
3403
3400
  }
3404
3401
  }
3405
- .lg\:grid-cols-6 {
3402
+ .lg\:grid-cols-7 {
3406
3403
  @media (width >= 64rem) {
3407
- grid-template-columns: repeat(6, minmax(0, 1fr));
3404
+ grid-template-columns: repeat(7, minmax(0, 1fr));
3408
3405
  }
3409
3406
  }
3410
3407
  .lg\:grid-cols-12 {
package/dist/index.js CHANGED
@@ -14440,15 +14440,19 @@ var PlacementBlock = (props) => {
14440
14440
  const editUrl = editComponentUrl || (role === "OWNER" && orgId && componentId ? `${process.env.NEXT_PUBLIC_DASHBOARD_URL || "http://localhost:3000"}/organizations/${orgId}/edit-app?tab=pages&componentId=${encodeURIComponent(componentId)}` : null);
14441
14441
  const selectClass = "w-full p-2 border border-slate-300 rounded-lg text-xs font-medium text-slate-700 bg-slate-50 outline-none focus:border-brand";
14442
14442
  const labelClass = "block text-[11px] font-semibold text-slate-500 mb-1";
14443
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: `w-full flex flex-col gap-4 p-4 bg-slate-50 min-h-[850px] rounded-xl border border-slate-200 ${className}`, dir: "rtl", children: [
14443
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: `w-full flex flex-col gap-3 p-3 bg-slate-50 min-h-[850px] rounded-xl border border-slate-200 ${className}`, dir: "rtl", children: [
14444
14444
  (loadError || saveError) && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "p-3 text-xs rounded-lg bg-rose-50 border border-rose-200 text-rose-700", children: loadError || saveError }),
14445
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-4", children: [
14445
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-3", children: [
14446
14446
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "w-full bg-teal-50/40 p-3 rounded-xl border border-teal-100 shadow-xs flex flex-col", children: [
14447
14447
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-wrap items-center gap-x-3 gap-y-1 border-b border-teal-200 pb-1.5 mb-2", children: [
14448
14448
  /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("h4", { className: "font-bold text-teal-900 text-base flex items-center gap-2 shrink-0", children: [
14449
14449
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { children: "\u{1F4CC}" }),
14450
14450
  " \u05E4\u05E8\u05D8\u05D9 \u05D4\u05D9\u05E2\u05D3 \u05DC\u05E9\u05D9\u05D1\u05D5\u05E5"
14451
14451
  ] }),
14452
+ activeTarget && /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "text-teal-800 font-bold text-xs shrink-0 whitespace-nowrap", children: [
14453
+ "\u05DE\u05E9\u05D5\u05D1\u05E6\u05D9\u05DD \u05DB\u05E8\u05D2\u05E2: ",
14454
+ assignedIds.length
14455
+ ] }),
14452
14456
  editUrl && (config == null ? void 0 : config.title) && /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "font-semibold text-slate-600 text-xs sm:text-sm min-w-0 break-words", children: config.title }),
14453
14457
  editUrl && /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
14454
14458
  "a",
@@ -14465,7 +14469,7 @@ var PlacementBlock = (props) => {
14465
14469
  }
14466
14470
  )
14467
14471
  ] }),
14468
- activeTarget ? /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-x-4 gap-y-1.5 content-start text-sm text-slate-700 flex-1", children: [
14472
+ activeTarget ? /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-7 gap-x-4 gap-y-1.5 content-start text-sm text-slate-700 flex-1", children: [
14469
14473
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "col-span-full font-bold text-slate-900 text-lg", children: targetLabel(activeTarget) }),
14470
14474
  previewColumns.map((col) => ({ col, text: displayValue(col, readColumnValue(activeTarget.data, col.name)) })).filter(({ col, text: text2 }) => {
14471
14475
  var _a2;
@@ -14489,10 +14493,6 @@ var PlacementBlock = (props) => {
14489
14493
  ":"
14490
14494
  ] }),
14491
14495
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "break-words min-w-0", title: assignedText, children: assignedText })
14492
- ] }),
14493
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "min-w-0 text-teal-800 font-bold text-xs self-center whitespace-nowrap overflow-hidden text-ellipsis", children: [
14494
- "\u05DE\u05E9\u05D5\u05D1\u05E6\u05D9\u05DD \u05DB\u05E8\u05D2\u05E2: ",
14495
- assignedIds.length
14496
14496
  ] })
14497
14497
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "text-slate-500 text-xs text-center py-6", children: isLoading ? "\u05D8\u05D5\u05E2\u05DF \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD..." : "\u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8\u05D4 \u05E8\u05E9\u05D5\u05DE\u05EA \u05D9\u05E2\u05D3." })
14498
14498
  ] }),
package/dist/index.mjs CHANGED
@@ -14224,15 +14224,19 @@ var PlacementBlock = (props) => {
14224
14224
  const editUrl = editComponentUrl || (role === "OWNER" && orgId && componentId ? `${process.env.NEXT_PUBLIC_DASHBOARD_URL || "http://localhost:3000"}/organizations/${orgId}/edit-app?tab=pages&componentId=${encodeURIComponent(componentId)}` : null);
14225
14225
  const selectClass = "w-full p-2 border border-slate-300 rounded-lg text-xs font-medium text-slate-700 bg-slate-50 outline-none focus:border-brand";
14226
14226
  const labelClass = "block text-[11px] font-semibold text-slate-500 mb-1";
14227
- return /* @__PURE__ */ jsxs24("div", { className: `w-full flex flex-col gap-4 p-4 bg-slate-50 min-h-[850px] rounded-xl border border-slate-200 ${className}`, dir: "rtl", children: [
14227
+ return /* @__PURE__ */ jsxs24("div", { className: `w-full flex flex-col gap-3 p-3 bg-slate-50 min-h-[850px] rounded-xl border border-slate-200 ${className}`, dir: "rtl", children: [
14228
14228
  (loadError || saveError) && /* @__PURE__ */ jsx30("div", { className: "p-3 text-xs rounded-lg bg-rose-50 border border-rose-200 text-rose-700", children: loadError || saveError }),
14229
- /* @__PURE__ */ jsxs24("div", { className: "flex flex-col gap-4", children: [
14229
+ /* @__PURE__ */ jsxs24("div", { className: "flex flex-col gap-3", children: [
14230
14230
  /* @__PURE__ */ jsxs24("div", { className: "w-full bg-teal-50/40 p-3 rounded-xl border border-teal-100 shadow-xs flex flex-col", children: [
14231
14231
  /* @__PURE__ */ jsxs24("div", { className: "flex flex-wrap items-center gap-x-3 gap-y-1 border-b border-teal-200 pb-1.5 mb-2", children: [
14232
14232
  /* @__PURE__ */ jsxs24("h4", { className: "font-bold text-teal-900 text-base flex items-center gap-2 shrink-0", children: [
14233
14233
  /* @__PURE__ */ jsx30("span", { children: "\u{1F4CC}" }),
14234
14234
  " \u05E4\u05E8\u05D8\u05D9 \u05D4\u05D9\u05E2\u05D3 \u05DC\u05E9\u05D9\u05D1\u05D5\u05E5"
14235
14235
  ] }),
14236
+ activeTarget && /* @__PURE__ */ jsxs24("span", { className: "text-teal-800 font-bold text-xs shrink-0 whitespace-nowrap", children: [
14237
+ "\u05DE\u05E9\u05D5\u05D1\u05E6\u05D9\u05DD \u05DB\u05E8\u05D2\u05E2: ",
14238
+ assignedIds.length
14239
+ ] }),
14236
14240
  editUrl && (config == null ? void 0 : config.title) && /* @__PURE__ */ jsx30("span", { className: "font-semibold text-slate-600 text-xs sm:text-sm min-w-0 break-words", children: config.title }),
14237
14241
  editUrl && /* @__PURE__ */ jsxs24(
14238
14242
  "a",
@@ -14249,7 +14253,7 @@ var PlacementBlock = (props) => {
14249
14253
  }
14250
14254
  )
14251
14255
  ] }),
14252
- activeTarget ? /* @__PURE__ */ jsxs24("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-6 gap-x-4 gap-y-1.5 content-start text-sm text-slate-700 flex-1", children: [
14256
+ activeTarget ? /* @__PURE__ */ jsxs24("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-7 gap-x-4 gap-y-1.5 content-start text-sm text-slate-700 flex-1", children: [
14253
14257
  /* @__PURE__ */ jsx30("div", { className: "col-span-full font-bold text-slate-900 text-lg", children: targetLabel(activeTarget) }),
14254
14258
  previewColumns.map((col) => ({ col, text: displayValue(col, readColumnValue(activeTarget.data, col.name)) })).filter(({ col, text: text2 }) => {
14255
14259
  var _a2;
@@ -14273,10 +14277,6 @@ var PlacementBlock = (props) => {
14273
14277
  ":"
14274
14278
  ] }),
14275
14279
  /* @__PURE__ */ jsx30("span", { className: "break-words min-w-0", title: assignedText, children: assignedText })
14276
- ] }),
14277
- /* @__PURE__ */ jsxs24("div", { className: "min-w-0 text-teal-800 font-bold text-xs self-center whitespace-nowrap overflow-hidden text-ellipsis", children: [
14278
- "\u05DE\u05E9\u05D5\u05D1\u05E6\u05D9\u05DD \u05DB\u05E8\u05D2\u05E2: ",
14279
- assignedIds.length
14280
14280
  ] })
14281
14281
  ] }) : /* @__PURE__ */ jsx30("div", { className: "text-slate-500 text-xs text-center py-6", children: isLoading ? "\u05D8\u05D5\u05E2\u05DF \u05E0\u05EA\u05D5\u05E0\u05D9\u05DD..." : "\u05DC\u05D0 \u05E0\u05D1\u05D7\u05E8\u05D4 \u05E8\u05E9\u05D5\u05DE\u05EA \u05D9\u05E2\u05D3." })
14282
14282
  ] }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universe-platform/ui",
3
- "version": "0.1.0-beta.80",
3
+ "version": "0.1.0-beta.81",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",