@addsign/moje-agenda-shared-lib 0.0.92 → 0.0.94

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.
@@ -569,6 +569,9 @@ video {
569
569
  .-bottom-2 {
570
570
  bottom: -0.5rem;
571
571
  }
572
+ .-top-\[1px\] {
573
+ top: -1px;
574
+ }
572
575
  .bottom-full {
573
576
  bottom: 100%;
574
577
  }
@@ -635,9 +638,6 @@ video {
635
638
  .top-\[96px\] {
636
639
  top: 96px;
637
640
  }
638
- .top-auto {
639
- top: auto;
640
- }
641
641
  .z-10 {
642
642
  z-index: 10;
643
643
  }
@@ -976,6 +976,9 @@ video {
976
976
  .cursor-col-resize {
977
977
  cursor: col-resize;
978
978
  }
979
+ .cursor-default {
980
+ cursor: default;
981
+ }
979
982
  .cursor-no-drop {
980
983
  cursor: no-drop;
981
984
  }
@@ -1256,10 +1259,6 @@ video {
1256
1259
  --tw-border-opacity: 1;
1257
1260
  border-color: rgb(239 68 68 / var(--tw-border-opacity));
1258
1261
  }
1259
- .border-red-600 {
1260
- --tw-border-opacity: 1;
1261
- border-color: rgb(220 38 38 / var(--tw-border-opacity));
1262
- }
1263
1262
  .border-rose-500 {
1264
1263
  --tw-border-opacity: 1;
1265
1264
  border-color: rgb(244 63 94 / var(--tw-border-opacity));
@@ -1476,10 +1475,6 @@ video {
1476
1475
  --tw-bg-opacity: 1;
1477
1476
  background-color: rgb(239 68 68 / var(--tw-bg-opacity));
1478
1477
  }
1479
- .bg-red-600 {
1480
- --tw-bg-opacity: 1;
1481
- background-color: rgb(220 38 38 / var(--tw-bg-opacity));
1482
- }
1483
1478
  .bg-rose-100 {
1484
1479
  --tw-bg-opacity: 1;
1485
1480
  background-color: rgb(255 228 230 / var(--tw-bg-opacity));
@@ -2,6 +2,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useEffect } from "react";
3
3
  import { b as FaRegTrashAlt } from "../index-DUTU8Jwr.js";
4
4
  import { G as GenIcon } from "../iconBase-B8_TsgYI.js";
5
+ import Button from "./Button.js";
5
6
  function IoCloseOutline(props) {
6
7
  return GenIcon({ "tag": "svg", "attr": { "viewBox": "0 0 512 512" }, "child": [{ "tag": "path", "attr": { "fill": "none", "strokeLinecap": "round", "strokeLinejoin": "round", "strokeWidth": "32", "d": "M368 368 144 144m224 0L144 368" }, "child": [] }] })(props);
7
8
  }
@@ -73,21 +74,28 @@ function ConfirmationModalDialog({
73
74
  {
74
75
  id: "actions",
75
76
  className: "self-stretch h-24 pt-8 flex-col justify-start items-start flex z-40",
76
- children: /* @__PURE__ */ jsxs("div", { className: "self-stretch px-6 pb-6 justify-start items-start gap-3 inline-flex", children: [
77
+ children: /* @__PURE__ */ jsxs("div", { className: "self-stretch px-6 pb-6 justify-start items-start gap-3 flex", children: [
77
78
  /* @__PURE__ */ jsx(
78
- "div",
79
+ Button,
79
80
  {
80
- className: "grow shrink basis-0 h-11 px-4 py-2.5 bg-white rounded-lg shadow border border-gray-300 justify-center items-center gap-1.5 flex cursor-pointer",
81
+ type: "button",
82
+ variant: "secondary",
81
83
  onClick: cancelAction,
82
- children: /* @__PURE__ */ jsx("div", { className: "px-0.5 justify-center items-center flex", children: /* @__PURE__ */ jsx("button", { className: "text-slate-700 text-base font-semibold font-['Inter'] leading-normal", children: cancelText || "Zrušit" }) })
84
+ className: "flex-1",
85
+ children: cancelText || "Zrušit"
83
86
  }
84
87
  ),
85
- /* @__PURE__ */ jsx(
86
- "div",
88
+ /* @__PURE__ */ jsxs(
89
+ Button,
87
90
  {
88
- className: "grow shrink basis-0 h-11 px-4 py-2.5 bg-red-600 rounded-lg shadow border border-red-600 justify-center items-center gap-1.5 flex cursor-pointer",
91
+ type: "button",
92
+ variant: "danger",
89
93
  onClick: confirmAction,
90
- children: /* @__PURE__ */ jsx("div", { className: "px-0.5 justify-center items-center flex", children: /* @__PURE__ */ jsx("button", { className: "text-white text-base font-semibold font-['Inter'] leading-normal", children: agreeeText || "OK" }) })
94
+ className: "flex-1",
95
+ children: [
96
+ agreeeText || "OK",
97
+ " "
98
+ ]
91
99
  }
92
100
  )
93
101
  ] })