@esic-lab/data-core-ui 0.0.22 → 0.0.23

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.css CHANGED
@@ -293,18 +293,12 @@
293
293
  .top-12 {
294
294
  top: calc(var(--spacing) * 12);
295
295
  }
296
- .top-21 {
297
- top: calc(var(--spacing) * 21);
298
- }
299
296
  .right-0 {
300
297
  right: calc(var(--spacing) * 0);
301
298
  }
302
299
  .right-3 {
303
300
  right: calc(var(--spacing) * 3);
304
301
  }
305
- .right-5 {
306
- right: calc(var(--spacing) * 5);
307
- }
308
302
  .left-full {
309
303
  left: 100%;
310
304
  }
@@ -341,6 +335,9 @@
341
335
  .mt-\[12px\] {
342
336
  margin-top: 12px;
343
337
  }
338
+ .mt-\[28px\] {
339
+ margin-top: 28px;
340
+ }
344
341
  .mr-2 {
345
342
  margin-right: calc(var(--spacing) * 2);
346
343
  }
package/dist/index.js CHANGED
@@ -3396,14 +3396,20 @@ function KpiSection({ type, onChangeKpiList }) {
3396
3396
  errorMessage: errors.unitValue
3397
3397
  }
3398
3398
  ),
3399
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "absolute top-21 right-5", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3400
- import_icons_react10.IconCirclePlus,
3399
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3400
+ "div",
3401
3401
  {
3402
- className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3403
- stroke: 1,
3404
- onClick: () => handleAddKpi(type)
3402
+ className: `flex justify-end mt-[28px]`,
3403
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3404
+ import_icons_react10.IconCirclePlus,
3405
+ {
3406
+ className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3407
+ stroke: 1,
3408
+ onClick: () => handleAddKpi(type)
3409
+ }
3410
+ )
3405
3411
  }
3406
- ) })
3412
+ )
3407
3413
  ] }),
3408
3414
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: kpiList.map((kpi, index) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3409
3415
  "div",
@@ -3534,14 +3540,20 @@ function KpiSection({ type, onChangeKpiList }) {
3534
3540
  errorMessage: errors.nameKpi
3535
3541
  }
3536
3542
  ),
3537
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "absolute top-21 right-5", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3538
- import_icons_react10.IconCirclePlus,
3543
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3544
+ "div",
3539
3545
  {
3540
- className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3541
- stroke: 1,
3542
- onClick: () => handleAddKpi(type)
3546
+ className: `flex justify-end mt-[28px]`,
3547
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3548
+ import_icons_react10.IconCirclePlus,
3549
+ {
3550
+ className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3551
+ stroke: 1,
3552
+ onClick: () => handleAddKpi(type)
3553
+ }
3554
+ )
3543
3555
  }
3544
- ) })
3556
+ )
3545
3557
  ] }),
3546
3558
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { children: kpiList.map((kpi, index) => /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
3547
3559
  "div",
package/dist/index.mjs CHANGED
@@ -3349,14 +3349,20 @@ function KpiSection({ type, onChangeKpiList }) {
3349
3349
  errorMessage: errors.unitValue
3350
3350
  }
3351
3351
  ),
3352
- /* @__PURE__ */ jsx36("div", { className: "absolute top-21 right-5", children: /* @__PURE__ */ jsx36(
3353
- IconCirclePlus,
3352
+ /* @__PURE__ */ jsx36(
3353
+ "div",
3354
3354
  {
3355
- className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3356
- stroke: 1,
3357
- onClick: () => handleAddKpi(type)
3355
+ className: `flex justify-end mt-[28px]`,
3356
+ children: /* @__PURE__ */ jsx36(
3357
+ IconCirclePlus,
3358
+ {
3359
+ className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3360
+ stroke: 1,
3361
+ onClick: () => handleAddKpi(type)
3362
+ }
3363
+ )
3358
3364
  }
3359
- ) })
3365
+ )
3360
3366
  ] }),
3361
3367
  /* @__PURE__ */ jsx36("div", { children: kpiList.map((kpi, index) => /* @__PURE__ */ jsxs31(
3362
3368
  "div",
@@ -3487,14 +3493,20 @@ function KpiSection({ type, onChangeKpiList }) {
3487
3493
  errorMessage: errors.nameKpi
3488
3494
  }
3489
3495
  ),
3490
- /* @__PURE__ */ jsx36("div", { className: "absolute top-21 right-5", children: /* @__PURE__ */ jsx36(
3491
- IconCirclePlus,
3496
+ /* @__PURE__ */ jsx36(
3497
+ "div",
3492
3498
  {
3493
- className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3494
- stroke: 1,
3495
- onClick: () => handleAddKpi(type)
3499
+ className: `flex justify-end mt-[28px]`,
3500
+ children: /* @__PURE__ */ jsx36(
3501
+ IconCirclePlus,
3502
+ {
3503
+ className: "w-[40px] h-[40px] cursor-pointer hover:scale-110 transition",
3504
+ stroke: 1,
3505
+ onClick: () => handleAddKpi(type)
3506
+ }
3507
+ )
3496
3508
  }
3497
- ) })
3509
+ )
3498
3510
  ] }),
3499
3511
  /* @__PURE__ */ jsx36("div", { children: kpiList.map((kpi, index) => /* @__PURE__ */ jsxs31(
3500
3512
  "div",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esic-lab/data-core-ui",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",