@addsign/moje-agenda-shared-lib 1.0.24 → 1.0.25

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.
@@ -656,8 +656,8 @@ video {
656
656
  .col-span-1 {
657
657
  grid-column: span 1 / span 1;
658
658
  }
659
- .col-span-12 {
660
- grid-column: span 12 / span 12;
659
+ .col-span-2 {
660
+ grid-column: span 2 / span 2;
661
661
  }
662
662
  .col-span-3 {
663
663
  grid-column: span 3 / span 3;
@@ -837,9 +837,6 @@ video {
837
837
  .h-\[300px\] {
838
838
  height: 300px;
839
839
  }
840
- .h-\[400px\] {
841
- height: 400px;
842
- }
843
840
  .h-\[52px\] {
844
841
  height: 52px;
845
842
  }
@@ -852,6 +849,9 @@ video {
852
849
  .max-h-\[390px\] {
853
850
  max-height: 390px;
854
851
  }
852
+ .max-h-\[400px\] {
853
+ max-height: 400px;
854
+ }
855
855
  .max-h-full {
856
856
  max-height: 100%;
857
857
  }
@@ -1089,6 +1089,10 @@ video {
1089
1089
  .gap-8 {
1090
1090
  gap: 2rem;
1091
1091
  }
1092
+ .gap-x-4 {
1093
+ -moz-column-gap: 1rem;
1094
+ column-gap: 1rem;
1095
+ }
1092
1096
  .gap-y-0 {
1093
1097
  row-gap: 0px;
1094
1098
  }
@@ -1744,9 +1748,6 @@ video {
1744
1748
  .pr-2 {
1745
1749
  padding-right: 0.5rem;
1746
1750
  }
1747
- .pr-2\.5 {
1748
- padding-right: 0.625rem;
1749
- }
1750
1751
  .pr-20 {
1751
1752
  padding-right: 5rem;
1752
1753
  }
@@ -133,15 +133,15 @@ function PositionsSelectorSingle({
133
133
  {
134
134
  className: "bg-white rounded-lg shadow-xl m-4 overflow-auto max-h-full pointer-events-auto ",
135
135
  style: { width: "50vw" },
136
- children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-13 gap-4 p-5", children: [
137
- /* @__PURE__ */ jsxs("div", { className: "col-span-12", children: [
136
+ children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 p-5", children: [
137
+ /* @__PURE__ */ jsxs("div", { className: "", children: [
138
138
  /* @__PURE__ */ jsxs(SectionTitle, { children: [
139
139
  label,
140
140
  " - Výběr pozice"
141
141
  ] }),
142
142
  " "
143
143
  ] }),
144
- /* @__PURE__ */ jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsx(
144
+ /* @__PURE__ */ jsx("div", { className: "", children: /* @__PURE__ */ jsx(
145
145
  AutocompleteSearchBar,
146
146
  {
147
147
  name: "departmentId",
@@ -159,34 +159,28 @@ function PositionsSelectorSingle({
159
159
  showId: true
160
160
  }
161
161
  ) }),
162
- /* @__PURE__ */ jsx("div", { className: "col-span-12 h-[400px]", children: /* @__PURE__ */ jsxs("div", { className: "pt-4 w-full ", children: [
163
- /* @__PURE__ */ jsx("div", { className: "text-slate-700 text-sm leading-tight font-medium my-4", children: "Nalezené pozice:" }),
164
- positions.map((position) => /* @__PURE__ */ jsx(
162
+ /* @__PURE__ */ jsx("div", { className: " max-h-[400px] overflow-auto", children: /* @__PURE__ */ jsxs("div", { className: "pt-4 w-full grid grid-cols-2 gap-x-4", children: [
163
+ /* @__PURE__ */ jsx("div", { className: "text-slate-700 text-sm leading-tight font-medium my-4 col-span-2", children: "Nalezené pozice:" }),
164
+ positions.map((position) => /* @__PURE__ */ jsxs(
165
165
  "div",
166
166
  {
167
- className: "w-1/2 group h-11 px-1.5 py-px justify-start items-center inline-flex cursor-pointer",
167
+ className: `group flex justify-between items-center py-2 cursor-pointer ${position.id == (selectedPositionEmployee == null ? void 0 : selectedPositionEmployee.id) ? " bg-gray-100 hover:bg-gray-200 " : "hover:bg-gray-50"} `,
168
168
  onClick: () => handleSelectedPositionEmployee(position),
169
- children: /* @__PURE__ */ jsxs(
170
- "div",
171
- {
172
- className: `grow shrink basis-0 h-11 pl-2 pr-2.5 py-2.5 rounded-md justify-start items-center gap-2 flex ${position.id == (selectedPositionEmployee == null ? void 0 : selectedPositionEmployee.id) ? " bg-gray-100 hover:bg-gray-200 " : "hover:bg-gray-50"} `,
173
- children: [
174
- /* @__PURE__ */ jsx("div", { className: "grow shrink basis-0 h-6 justify-start items-center gap-2 flex", children: /* @__PURE__ */ jsx("div", { className: "text-gray-900 text-base font-medium font-['Inter'] leading-normal", children: getFullName(position.employee, true) }) }),
175
- /* @__PURE__ */ jsx(
176
- "div",
177
- {
178
- className: `w-5 h-5 relative group-hover:text-gray-300 ${position.id == (selectedPositionEmployee == null ? void 0 : selectedPositionEmployee.id) ? " text-blue-500 group-hover:text-black " : "text-transparent"}`,
179
- children: /* @__PURE__ */ jsx(MdCheck, {})
180
- }
181
- )
182
- ]
183
- }
184
- )
169
+ children: [
170
+ /* @__PURE__ */ jsx("div", { className: " ", children: getFullName(position.employee, true) }),
171
+ /* @__PURE__ */ jsx(
172
+ "div",
173
+ {
174
+ className: ` group-hover:text-gray-300 px-3 ${position.id == (selectedPositionEmployee == null ? void 0 : selectedPositionEmployee.id) ? " text-blue-500 group-hover:text-black " : "text-transparent"}`,
175
+ children: /* @__PURE__ */ jsx(MdCheck, { size: 25 })
176
+ }
177
+ )
178
+ ]
185
179
  },
186
180
  position.id
187
181
  ))
188
182
  ] }) }),
189
- /* @__PURE__ */ jsxs("div", { className: "col-span-12 flex justify-between gap-4", children: [
183
+ /* @__PURE__ */ jsxs("div", { className: "flex justify-between gap-4", children: [
190
184
  /* @__PURE__ */ jsxs("div", { className: " w-1/2 group flex ", children: [
191
185
  /* @__PURE__ */ jsx(
192
186
  FormField,