@embeddable.com/remarkable-ui 2.0.24 → 2.0.26

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.js CHANGED
@@ -66,10 +66,10 @@ var getStyleNumber = (variableName, fallbackValue) => {
66
66
  // src/components/charts/charts.constants.ts
67
67
  var getChartColors = () => [
68
68
  getStyle("--em-sem-chart-color--1"),
69
+ getStyle("--em-sem-chart-color--5"),
69
70
  getStyle("--em-sem-chart-color--2"),
70
71
  getStyle("--em-sem-chart-color--3"),
71
72
  getStyle("--em-sem-chart-color--4"),
72
- getStyle("--em-sem-chart-color--5"),
73
73
  getStyle("--em-sem-chart-color--6"),
74
74
  getStyle("--em-sem-chart-color--7"),
75
75
  getStyle("--em-sem-chart-color--8"),
@@ -78,9 +78,9 @@ var getChartColors = () => [
78
78
  ];
79
79
  var getChartContrastColors = () => [
80
80
  getStyle("--em-sem-chart-color--1"),
81
- getStyle("--em-sem-chart-color--4"),
82
- getStyle("--em-sem-chart-color--7"),
83
- getStyle("--em-sem-chart-color--10")
81
+ getStyle("--em-sem-chart-color--5"),
82
+ getStyle("--em-sem-chart-color--2"),
83
+ getStyle("--em-sem-chart-color--3")
84
84
  ];
85
85
 
86
86
  // src/components/charts/bars/bars.utils.ts
@@ -938,7 +938,7 @@ var PieChart = ({
938
938
 
939
939
  // src/components/charts/tables/HeatMap/HeatMap.tsx
940
940
  import { useMemo, useCallback } from "react";
941
- import tableStyles from "./tables.module-OHIGVUSC.module.css";
941
+ import tableStyles from "./tables.module-6DZDKDSH.module.css";
942
942
  import clsx2 from "clsx";
943
943
 
944
944
  // src/components/charts/tables/HeatMap/HeatMap.utils.ts
@@ -1227,7 +1227,7 @@ var HeatMap = ({
1227
1227
 
1228
1228
  // src/components/charts/tables/PivotTable/PivotTable.tsx
1229
1229
  import { useEffect, useMemo as useMemo2, useState as useState2 } from "react";
1230
- import tableStyles2 from "./tables.module-OHIGVUSC.module.css";
1230
+ import tableStyles2 from "./tables.module-6DZDKDSH.module.css";
1231
1231
  import clsx3 from "clsx";
1232
1232
  import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
1233
1233
  var isNumber = (v) => typeof v === "number" && !Number.isNaN(v);
@@ -1544,7 +1544,7 @@ var PivotTable = ({
1544
1544
 
1545
1545
  // src/components/charts/tables/Table/TablePaginated/TablePaginated.tsx
1546
1546
  import * as React from "react";
1547
- import styles12 from "./tables.module-OHIGVUSC.module.css";
1547
+ import styles11 from "./tables.module-6DZDKDSH.module.css";
1548
1548
  import clsx7 from "clsx";
1549
1549
 
1550
1550
  // src/components/charts/tables/Table/components/TableHeader/TableHeader.tsx
@@ -1563,7 +1563,7 @@ var TableHeaderAlign = {
1563
1563
  };
1564
1564
 
1565
1565
  // src/components/charts/tables/Table/components/TableHeader/TableHeader.tsx
1566
- import tableStyles3 from "./tables.module-OHIGVUSC.module.css";
1566
+ import tableStyles3 from "./tables.module-6DZDKDSH.module.css";
1567
1567
  import clsx4 from "clsx";
1568
1568
  import { useEffect as useEffect3, useState as useState3 } from "react";
1569
1569
 
@@ -1669,7 +1669,7 @@ var TableHeader = ({
1669
1669
  };
1670
1670
 
1671
1671
  // src/components/charts/tables/Table/components/TableBody/TableBody.tsx
1672
- import styles10 from "./TableBody.module-VF3UEHUT.module.css";
1672
+ import tableBodyStyles from "./TableBody.module-VF3UEHUT.module.css";
1673
1673
  import clsx6 from "clsx";
1674
1674
 
1675
1675
  // src/components/shared/ActionIcon/ActionIcon.tsx
@@ -1683,7 +1683,7 @@ var ActionIcon = ({ icon: Icon, className, ...props }) => {
1683
1683
  // src/components/charts/tables/Table/components/TableBody/TableBody.tsx
1684
1684
  import { IconCopy, IconCopyCheckFilled } from "@tabler/icons-react";
1685
1685
  import { useState as useState4 } from "react";
1686
- import tableStyles4 from "./tables.module-OHIGVUSC.module.css";
1686
+ import tableStyles4 from "./tables.module-6DZDKDSH.module.css";
1687
1687
  import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1688
1688
  var TableBody = ({
1689
1689
  headers,
@@ -1698,7 +1698,7 @@ var TableBody = ({
1698
1698
  }) => {
1699
1699
  const hasPaginatedIndex = pageSize !== void 0 && page !== void 0;
1700
1700
  const showBottomRef = !isLoading && hasMoreData && bottomRef !== void 0;
1701
- return /* @__PURE__ */ jsxs6("tbody", { className: styles10.tableBody, children: [
1701
+ return /* @__PURE__ */ jsxs6("tbody", { className: tableBodyStyles.tableBody, children: [
1702
1702
  rows.map((row, rowIndex) => /* @__PURE__ */ jsxs6(
1703
1703
  "tr",
1704
1704
  {
@@ -1724,19 +1724,21 @@ var TableBody = ({
1724
1724
  ] });
1725
1725
  };
1726
1726
  var TableBodyCell = ({ header, row }) => {
1727
- const value = header.accessor !== void 0 ? header.accessor(row) : header.id !== void 0 ? (
1727
+ const rawValue = header.id !== void 0 ? (
1728
1728
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1729
1729
  row[header.id]
1730
1730
  ) : void 0;
1731
+ const value = header.accessor !== void 0 ? header.accessor(row) : rawValue;
1731
1732
  if (header.cell) {
1732
- return header.cell({ value, className: styles10.tableBodyCell });
1733
+ return header.cell({ value, className: tableBodyStyles.tableBodyCell });
1733
1734
  }
1734
- return /* @__PURE__ */ jsx12(TableBodyCellWithCopy, { align: header.align, value, children: value });
1735
+ return /* @__PURE__ */ jsx12(TableBodyCellWithCopy, { align: header.align, value, style: header.cellStyle?.(rawValue), children: value });
1735
1736
  };
1736
1737
  var TableBodyCellWithCopy = ({
1737
1738
  value,
1738
1739
  align = "left",
1739
- children
1740
+ children,
1741
+ style
1740
1742
  }) => {
1741
1743
  const [isPressedCopy, setIsPressedCopy] = useState4(false);
1742
1744
  const handleCopy = () => {
@@ -1745,19 +1747,30 @@ var TableBodyCellWithCopy = ({
1745
1747
  navigator.clipboard.writeText(String(value));
1746
1748
  }
1747
1749
  };
1748
- return /* @__PURE__ */ jsxs6("td", { title: value, style: { textAlign: align }, onMouseLeave: () => setIsPressedCopy(false), children: [
1749
- /* @__PURE__ */ jsx12(
1750
- ActionIcon,
1751
- {
1752
- title: `Copy: ${String(value)}`,
1753
- onMouseDown: handleCopy,
1754
- icon: isPressedCopy ? IconCopyCheckFilled : IconCopy,
1755
- className: clsx6(styles10.copyButton, align === TableHeaderAlign.RIGHT && styles10.leftAlign),
1756
- onClick: handleCopy
1757
- }
1758
- ),
1759
- children
1760
- ] });
1750
+ return /* @__PURE__ */ jsxs6(
1751
+ "td",
1752
+ {
1753
+ title: value,
1754
+ style: { textAlign: align, ...style },
1755
+ onMouseLeave: () => setIsPressedCopy(false),
1756
+ children: [
1757
+ /* @__PURE__ */ jsx12(
1758
+ ActionIcon,
1759
+ {
1760
+ title: `Copy: ${String(value)}`,
1761
+ onMouseDown: handleCopy,
1762
+ icon: isPressedCopy ? IconCopyCheckFilled : IconCopy,
1763
+ className: clsx6(
1764
+ tableBodyStyles.copyButton,
1765
+ align === TableHeaderAlign.RIGHT && tableBodyStyles.leftAlign
1766
+ ),
1767
+ onClick: handleCopy
1768
+ }
1769
+ ),
1770
+ children
1771
+ ]
1772
+ }
1773
+ );
1761
1774
  };
1762
1775
 
1763
1776
  // src/components/charts/tables/Table/components/TablePagination/TablePagination.tsx
@@ -1767,7 +1780,7 @@ import {
1767
1780
  IconChevronsLeft,
1768
1781
  IconChevronsRight
1769
1782
  } from "@tabler/icons-react";
1770
- import styles11 from "./TablePagination.module-VGIQ7VN7.module.css";
1783
+ import styles10 from "./TablePagination.module-VGIQ7VN7.module.css";
1771
1784
  import { useEffect as useEffect4 } from "react";
1772
1785
  import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1773
1786
  var getTableTotalPages = (total, pageSize) => {
@@ -1788,8 +1801,8 @@ var TablePagination = ({
1788
1801
  onPageChange(0);
1789
1802
  }
1790
1803
  }, [totalPages, page]);
1791
- return /* @__PURE__ */ jsx13("div", { className: styles11.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ jsxs7("div", { className: styles11.tablePaginationCentral, children: [
1792
- /* @__PURE__ */ jsxs7("div", { className: styles11.tablePaginationCentralButtons, children: [
1804
+ return /* @__PURE__ */ jsx13("div", { className: styles10.tablePagination, "aria-label": "Table pagination controls", children: /* @__PURE__ */ jsxs7("div", { className: styles10.tablePaginationCentral, children: [
1805
+ /* @__PURE__ */ jsxs7("div", { className: styles10.tablePaginationCentralButtons, children: [
1793
1806
  /* @__PURE__ */ jsx13(
1794
1807
  ActionIcon,
1795
1808
  {
@@ -1814,7 +1827,7 @@ var TablePagination = ({
1814
1827
  )
1815
1828
  ] }),
1816
1829
  /* @__PURE__ */ jsx13("span", { children: paginationLabel ?? `Page ${page + 1} of ${totalPages ?? "?"}` }),
1817
- /* @__PURE__ */ jsxs7("div", { className: styles11.tablePaginationCentralButtons, children: [
1830
+ /* @__PURE__ */ jsxs7("div", { className: styles10.tablePaginationCentralButtons, children: [
1818
1831
  /* @__PURE__ */ jsx13(
1819
1832
  ActionIcon,
1820
1833
  {
@@ -1858,8 +1871,8 @@ var TablePaginated = React.forwardRef(
1858
1871
  onPageChange,
1859
1872
  onSortChange
1860
1873
  } = props;
1861
- return /* @__PURE__ */ jsxs8("div", { ref, className: clsx7(styles12.tableContainer, className), children: [
1862
- /* @__PURE__ */ jsx14("div", { className: styles12.tableContainerScroll, children: /* @__PURE__ */ jsxs8("table", { className: styles12.table, children: [
1874
+ return /* @__PURE__ */ jsxs8("div", { ref, className: clsx7(styles11.tableContainer, className), children: [
1875
+ /* @__PURE__ */ jsx14("div", { className: styles11.tableContainerScroll, children: /* @__PURE__ */ jsxs8("table", { className: styles11.table, children: [
1863
1876
  /* @__PURE__ */ jsx14(
1864
1877
  TableHeader,
1865
1878
  {
@@ -1914,7 +1927,7 @@ var useTableGetRowsPerPage = ({
1914
1927
 
1915
1928
  // src/components/charts/tables/Table/TableScrollable/TableScrollable.tsx
1916
1929
  import clsx8 from "clsx";
1917
- import tableStyles5 from "./tables.module-OHIGVUSC.module.css";
1930
+ import tableStyles5 from "./tables.module-6DZDKDSH.module.css";
1918
1931
 
1919
1932
  // src/components/charts/tables/Table/TableScrollable/TableScrollable.hooks.ts
1920
1933
  import { useEffect as useEffect5, useRef as useRef7 } from "react";
@@ -2035,7 +2048,7 @@ import "./DateRangePicker-PLOUUN7Q.css";
2035
2048
 
2036
2049
  // src/components/editors/dates/DateRangePicker/DateRangePickerChevron.tsx
2037
2050
  import { IconCaretDownFilled as IconCaretDownFilled2 } from "@tabler/icons-react";
2038
- import styles13 from "./DateRangePickerChevron.module-ABYY5R7C.module.css";
2051
+ import styles12 from "./DateRangePickerChevron.module-ABYY5R7C.module.css";
2039
2052
  import clsx9 from "clsx";
2040
2053
  import { jsx as jsx16 } from "react/jsx-runtime";
2041
2054
  var SMALL_SIZE = 18;
@@ -2048,7 +2061,7 @@ var DateRangePickerChevron = ({
2048
2061
  return /* @__PURE__ */ jsx16(
2049
2062
  "button",
2050
2063
  {
2051
- className: clsx9(styles13.chevron, isSmallChevron && styles13.small),
2064
+ className: clsx9(styles12.chevron, isSmallChevron && styles12.small),
2052
2065
  style: {
2053
2066
  transform: rotation
2054
2067
  },
@@ -2110,7 +2123,7 @@ import { useState as useState6 } from "react";
2110
2123
 
2111
2124
  // src/components/shared/Field/FieldHeader.tsx
2112
2125
  import clsx10 from "clsx";
2113
- import styles14 from "./FieldHeader.module-QOLBH472.module.css";
2126
+ import styles13 from "./FieldHeader.module-QOLBH472.module.css";
2114
2127
  import { jsx as jsx18, jsxs as jsxs10 } from "react/jsx-runtime";
2115
2128
  var FieldHeader = ({
2116
2129
  label,
@@ -2121,7 +2134,7 @@ var FieldHeader = ({
2121
2134
  if (!label && !required) {
2122
2135
  return null;
2123
2136
  }
2124
- return /* @__PURE__ */ jsxs10("label", { className: clsx10(styles14.fieldHeader, className), children: [
2137
+ return /* @__PURE__ */ jsxs10("label", { className: clsx10(styles13.fieldHeader, className), children: [
2125
2138
  label,
2126
2139
  required && /* @__PURE__ */ jsx18("span", { children: requiredLabel })
2127
2140
  ] });
@@ -2146,7 +2159,7 @@ var Dropdown = ({
2146
2159
  };
2147
2160
 
2148
2161
  // src/components/editors/selects/shared/SelectFieldTrigger/SelectFieldTrigger.tsx
2149
- import styles15 from "./SelectFieldTrigger.module-M6BRE7IY.module.css";
2162
+ import styles14 from "./SelectFieldTrigger.module-M6BRE7IY.module.css";
2150
2163
  import { IconCaretDownFilled as IconCaretDownFilled3, IconLoader2, IconX } from "@tabler/icons-react";
2151
2164
  import clsx11 from "clsx";
2152
2165
  import { forwardRef as forwardRef3 } from "react";
@@ -2174,16 +2187,16 @@ var SelectFieldTrigger = forwardRef3(
2174
2187
  {
2175
2188
  ref,
2176
2189
  className: clsx11(
2177
- styles15.selectFieldTrigger,
2178
- valueLabel && styles15.filled,
2179
- error && styles15.error
2190
+ styles14.selectFieldTrigger,
2191
+ valueLabel && styles14.filled,
2192
+ error && styles14.error
2180
2193
  ),
2181
2194
  ...props,
2182
2195
  children: [
2183
2196
  StartIcon && /* @__PURE__ */ jsx20(StartIcon, {}),
2184
2197
  /* @__PURE__ */ jsx20("span", { children: displayValue }),
2185
2198
  showClearButton && /* @__PURE__ */ jsx20(IconX, { onPointerDown: handleClear }),
2186
- isLoading ? /* @__PURE__ */ jsx20(IconLoader2, { className: styles15.loading }) : /* @__PURE__ */ jsx20(IconCaretDownFilled3, {})
2199
+ isLoading ? /* @__PURE__ */ jsx20(IconLoader2, { className: styles14.loading }) : /* @__PURE__ */ jsx20(IconCaretDownFilled3, {})
2187
2200
  ]
2188
2201
  }
2189
2202
  );
@@ -2193,7 +2206,7 @@ SelectFieldTrigger.displayName = "SelectFieldTrigger";
2193
2206
 
2194
2207
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldContent.tsx
2195
2208
  import { useEffect as useEffect6, useRef as useRef9 } from "react";
2196
- import styles16 from "./SelectFieldContent.module-GZYJOPUB.module.css";
2209
+ import styles15 from "./SelectFieldContent.module-GZYJOPUB.module.css";
2197
2210
  import clsx12 from "clsx";
2198
2211
  import { jsx as jsx21 } from "react/jsx-runtime";
2199
2212
  var SelectFieldContent = ({
@@ -2254,26 +2267,26 @@ var SelectFieldContent = ({
2254
2267
  {
2255
2268
  ref: containerRef,
2256
2269
  tabIndex: -1,
2257
- className: clsx12(styles16.selectFieldContent, fitContent && styles16.fitContent, className),
2270
+ className: clsx12(styles15.selectFieldContent, fitContent && styles15.fitContent, className),
2258
2271
  ...props,
2259
2272
  children
2260
2273
  }
2261
2274
  );
2262
2275
  };
2263
2276
  var SelectFieldContentList = ({ children, disabled }) => {
2264
- return /* @__PURE__ */ jsx21("div", { className: clsx12(styles16.selectFieldContentList, disabled && styles16.disabled), children });
2277
+ return /* @__PURE__ */ jsx21("div", { className: clsx12(styles15.selectFieldContentList, disabled && styles15.disabled), children });
2265
2278
  };
2266
2279
 
2267
2280
  // src/components/shared/Field/FieldFeedback.tsx
2268
2281
  import clsx13 from "clsx";
2269
- import styles17 from "./FieldFeedback.module-F7Z33KCS.module.css";
2282
+ import styles16 from "./FieldFeedback.module-F7Z33KCS.module.css";
2270
2283
  import { jsx as jsx22 } from "react/jsx-runtime";
2271
2284
  var FieldFeedback = ({ message, variant, className }) => {
2272
- return /* @__PURE__ */ jsx22("p", { className: clsx13(styles17.fieldFeedback, variant && styles17[variant], className), children: message });
2285
+ return /* @__PURE__ */ jsx22("p", { className: clsx13(styles16.fieldFeedback, variant && styles16[variant], className), children: message });
2273
2286
  };
2274
2287
 
2275
2288
  // src/components/shared/Button/Button.tsx
2276
- import styles18 from "./Button.module-GOXSST7L.module.css";
2289
+ import styles17 from "./Button.module-GOXSST7L.module.css";
2277
2290
  import clsx14 from "clsx";
2278
2291
  import { jsx as jsx23, jsxs as jsxs13 } from "react/jsx-runtime";
2279
2292
  var Button = ({
@@ -2285,7 +2298,7 @@ var Button = ({
2285
2298
  className,
2286
2299
  ...props
2287
2300
  }) => {
2288
- return /* @__PURE__ */ jsxs13("button", { className: clsx14(styles18.button, styles18[variant], styles18[size], className), ...props, children: [
2301
+ return /* @__PURE__ */ jsxs13("button", { className: clsx14(styles17.button, styles17[variant], styles17[size], className), ...props, children: [
2289
2302
  StartIcon && /* @__PURE__ */ jsx23(StartIcon, {}),
2290
2303
  /* @__PURE__ */ jsx23("span", { children }),
2291
2304
  EndIcon && /* @__PURE__ */ jsx23(EndIcon, {})
@@ -2293,7 +2306,7 @@ var Button = ({
2293
2306
  };
2294
2307
 
2295
2308
  // src/components/editors/dates/DateRangePickerField/DateRangePickerField.tsx
2296
- import styles19 from "./DateRangePickerField.module-CURG3KIS.module.css";
2309
+ import styles18 from "./DateRangePickerField.module-CURG3KIS.module.css";
2297
2310
  import { jsx as jsx24, jsxs as jsxs14 } from "react/jsx-runtime";
2298
2311
  var getDateRangePickerLabel = (dateRange, displayValue) => {
2299
2312
  if (!dateRange) return void 0;
@@ -2374,7 +2387,7 @@ var DateRangePickerField = ({
2374
2387
  Button,
2375
2388
  {
2376
2389
  size: "small",
2377
- className: styles19.submitButton,
2390
+ className: styles18.submitButton,
2378
2391
  onClick: handleChange,
2379
2392
  disabled: isSubmitDisabled,
2380
2393
  children: submitLabel
@@ -2392,7 +2405,7 @@ import { forwardRef as forwardRef5 } from "react";
2392
2405
 
2393
2406
  // src/components/editors/inputs/shared/InputField/InputField.tsx
2394
2407
  import { IconX as IconX2 } from "@tabler/icons-react";
2395
- import styles20 from "./InputField.module-LDLOMDBK.module.css";
2408
+ import styles19 from "./InputField.module-LDLOMDBK.module.css";
2396
2409
  import clsx15 from "clsx";
2397
2410
  import { forwardRef as forwardRef4 } from "react";
2398
2411
  import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
@@ -2419,7 +2432,7 @@ var InputField = forwardRef4(
2419
2432
  const hasError = error || errorMessage;
2420
2433
  return /* @__PURE__ */ jsxs15("div", { className, children: [
2421
2434
  /* @__PURE__ */ jsx25(FieldHeader, { label, required, requiredLabel }),
2422
- /* @__PURE__ */ jsxs15("div", { className: clsx15(styles20.input, hasError && styles20.error), children: [
2435
+ /* @__PURE__ */ jsxs15("div", { className: clsx15(styles19.input, hasError && styles19.error), children: [
2423
2436
  StartIcon && /* @__PURE__ */ jsx25(StartIcon, {}),
2424
2437
  /* @__PURE__ */ jsx25(
2425
2438
  "input",
@@ -2438,7 +2451,7 @@ var InputField = forwardRef4(
2438
2451
  /* @__PURE__ */ jsx25(
2439
2452
  IconX2,
2440
2453
  {
2441
- className: clsx15(styles20.clearIcon, showClearButton && styles20.clearIconVisible),
2454
+ className: clsx15(styles19.clearIcon, showClearButton && styles19.clearIconVisible),
2442
2455
  onClick: () => onChange("")
2443
2456
  }
2444
2457
  ),
@@ -2520,7 +2533,7 @@ import { Fragment as Fragment4, useEffect as useEffect8, useMemo as useMemo4, us
2520
2533
 
2521
2534
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldOptions/SelectFieldOption/SelectFieldOption.tsx
2522
2535
  import * as DropdownMenu2 from "@radix-ui/react-dropdown-menu";
2523
- import styles21 from "./SelectFieldOption.module-SH3TOVNB.module.css";
2536
+ import styles20 from "./SelectFieldOption.module-SH3TOVNB.module.css";
2524
2537
  import clsx16 from "clsx";
2525
2538
  import { jsx as jsx28, jsxs as jsxs17 } from "react/jsx-runtime";
2526
2539
  var SelectListOption = ({
@@ -2537,18 +2550,18 @@ var SelectListOption = ({
2537
2550
  DropdownMenu2.Item,
2538
2551
  {
2539
2552
  className: clsx16(
2540
- styles21.selectFieldOption,
2541
- disabled && styles21.disabled,
2542
- isSelected && styles21.selected
2553
+ styles20.selectFieldOption,
2554
+ disabled && styles20.disabled,
2555
+ isSelected && styles20.selected
2543
2556
  ),
2544
2557
  "data-value": value,
2545
2558
  ...props,
2546
2559
  children: [
2547
- /* @__PURE__ */ jsxs17("span", { className: styles21.leftContent, children: [
2560
+ /* @__PURE__ */ jsxs17("span", { className: styles20.leftContent, children: [
2548
2561
  startIcon,
2549
2562
  /* @__PURE__ */ jsx28("span", { title: label, children: label })
2550
2563
  ] }),
2551
- /* @__PURE__ */ jsxs17("span", { className: styles21.rightContent, children: [
2564
+ /* @__PURE__ */ jsxs17("span", { className: styles20.rightContent, children: [
2552
2565
  /* @__PURE__ */ jsx28("span", { title: rightLabel, children: rightLabel }),
2553
2566
  endIcon
2554
2567
  ] })
@@ -2574,7 +2587,7 @@ var groupOptionsByCategory = (options) => {
2574
2587
 
2575
2588
  // src/components/editors/selects/MultiSelectField/MultiSelectField.tsx
2576
2589
  import { IconSearch, IconSquare, IconSquareCheckFilled } from "@tabler/icons-react";
2577
- import styles23 from "./selects.module-MRJADSDF.module.css";
2590
+ import styles22 from "./selects.module-MRJADSDF.module.css";
2578
2591
 
2579
2592
  // src/components/editors/selects/shared/useSelectSearchFocus.hook.ts
2580
2593
  import { useEffect as useEffect7 } from "react";
@@ -2589,10 +2602,10 @@ var useSelectSearchFocus = (isOpen, searchFieldRef) => {
2589
2602
  };
2590
2603
 
2591
2604
  // src/components/editors/selects/shared/SelectFieldContent/SelectFieldOptions/SelectFieldCategory/SelectFieldCategory.tsx
2592
- import styles22 from "./SelectFieldCategory.module-FMZMX5V2.module.css";
2605
+ import styles21 from "./SelectFieldCategory.module-FMZMX5V2.module.css";
2593
2606
  import { jsx as jsx29 } from "react/jsx-runtime";
2594
2607
  var SelectFieldCategory = ({ label }) => {
2595
- return /* @__PURE__ */ jsx29("span", { className: styles22.selectFieldCategory, children: label });
2608
+ return /* @__PURE__ */ jsx29("span", { className: styles21.selectFieldCategory, children: label });
2596
2609
  };
2597
2610
 
2598
2611
  // src/utils/debounce.utils.ts
@@ -2714,7 +2727,7 @@ var MultiSelectField = ({
2714
2727
  value: searchValue,
2715
2728
  onKeyDown: (e) => e.stopPropagation(),
2716
2729
  onChange: handleSearch,
2717
- className: styles23.searchField
2730
+ className: styles22.searchField
2718
2731
  }
2719
2732
  ),
2720
2733
  /* @__PURE__ */ jsxs18(SelectFieldContentList, { disabled: isLoading, children: [
@@ -2743,7 +2756,7 @@ var MultiSelectField = ({
2743
2756
  /* @__PURE__ */ jsx30(
2744
2757
  Button,
2745
2758
  {
2746
- className: styles23.submitButton,
2759
+ className: styles22.submitButton,
2747
2760
  disabled: isSubmitDisabled || isLoading,
2748
2761
  variant: "primary",
2749
2762
  size: "medium",
@@ -2762,7 +2775,7 @@ var MultiSelectField = ({
2762
2775
  // src/components/editors/selects/SingleSelectField/SingleSelectField.tsx
2763
2776
  import { Fragment as Fragment5, useEffect as useEffect9, useMemo as useMemo5, useRef as useRef11, useState as useState8 } from "react";
2764
2777
  import { IconSearch as IconSearch2 } from "@tabler/icons-react";
2765
- import styles24 from "./selects.module-MRJADSDF.module.css";
2778
+ import styles23 from "./selects.module-MRJADSDF.module.css";
2766
2779
  import { jsx as jsx31, jsxs as jsxs19 } from "react/jsx-runtime";
2767
2780
  var SingleSelectField = ({
2768
2781
  label,
@@ -2849,7 +2862,7 @@ var SingleSelectField = ({
2849
2862
  value: searchValue,
2850
2863
  onKeyDown: (e) => e.stopPropagation(),
2851
2864
  onChange: handleSearch,
2852
- className: styles24.searchField
2865
+ className: styles23.searchField
2853
2866
  }
2854
2867
  ),
2855
2868
  /* @__PURE__ */ jsxs19(SelectFieldContentList, { disabled: isLoading, children: [
@@ -2884,7 +2897,7 @@ var SingleSelectField = ({
2884
2897
 
2885
2898
  // src/components/editors/Switch/Switch.tsx
2886
2899
  import clsx17 from "clsx";
2887
- import styles25 from "./Switch.module-MXKS66UI.module.css";
2900
+ import styles24 from "./Switch.module-MXKS66UI.module.css";
2888
2901
  import { jsx as jsx32, jsxs as jsxs20 } from "react/jsx-runtime";
2889
2902
  var Switch = ({
2890
2903
  checked,
@@ -2909,9 +2922,9 @@ var Switch = ({
2909
2922
  {
2910
2923
  className: clsx17(
2911
2924
  className,
2912
- styles25.switch,
2913
- checked && styles25.checked,
2914
- disabled && styles25.disabled
2925
+ styles24.switch,
2926
+ checked && styles24.checked,
2927
+ disabled && styles24.disabled
2915
2928
  ),
2916
2929
  children: [
2917
2930
  /* @__PURE__ */ jsx32(
@@ -2927,8 +2940,8 @@ var Switch = ({
2927
2940
  ...props
2928
2941
  }
2929
2942
  ),
2930
- /* @__PURE__ */ jsx32("span", { className: styles25.switchTrack, "aria-hidden": "true", children: /* @__PURE__ */ jsx32("span", { className: styles25.switchThumb, "aria-hidden": "true" }) }),
2931
- label && /* @__PURE__ */ jsx32("span", { className: clsx17(styles25.switchLabel), children: label })
2943
+ /* @__PURE__ */ jsx32("span", { className: styles24.switchTrack, "aria-hidden": "true", children: /* @__PURE__ */ jsx32("span", { className: styles24.switchThumb, "aria-hidden": "true" }) }),
2944
+ label && /* @__PURE__ */ jsx32("span", { className: clsx17(styles24.switchLabel), children: label })
2932
2945
  ]
2933
2946
  }
2934
2947
  );
@@ -2936,7 +2949,7 @@ var Switch = ({
2936
2949
 
2937
2950
  // src/components/shared/ButtonIcon/ButtonIcon.tsx
2938
2951
  import clsx18 from "clsx";
2939
- import styles26 from "./ButtonIcon.module-JHFZQSMJ.module.css";
2952
+ import styles25 from "./ButtonIcon.module-JHFZQSMJ.module.css";
2940
2953
  import { jsx as jsx33 } from "react/jsx-runtime";
2941
2954
  var ButtonIcon = ({
2942
2955
  icon: Icon,
@@ -2948,7 +2961,7 @@ var ButtonIcon = ({
2948
2961
  return /* @__PURE__ */ jsx33(
2949
2962
  "button",
2950
2963
  {
2951
- className: clsx18(styles26.buttonIcon, styles26[variant], styles26[size], className),
2964
+ className: clsx18(styles25.buttonIcon, styles25[variant], styles25[size], className),
2952
2965
  ...props,
2953
2966
  children: /* @__PURE__ */ jsx33(Icon, {})
2954
2967
  }
@@ -2957,37 +2970,34 @@ var ButtonIcon = ({
2957
2970
 
2958
2971
  // src/components/shared/Card/Card.tsx
2959
2972
  import React3 from "react";
2960
- import styles27 from "./Card.module-HKJ5BQ2P.module.css";
2973
+ import styles26 from "./Card.module-FJOL7BYF.module.css";
2961
2974
  import clsx19 from "clsx";
2962
2975
  import { jsx as jsx34, jsxs as jsxs21 } from "react/jsx-runtime";
2963
2976
  var Card = React3.forwardRef(
2964
2977
  ({ children, className, ...props }, ref) => {
2965
- return /* @__PURE__ */ jsx34("div", { className: clsx19(styles27.card, className), ref, ...props, children });
2978
+ return /* @__PURE__ */ jsx34("div", { className: clsx19(styles26.card, className), ref, ...props, children });
2966
2979
  }
2967
2980
  );
2968
2981
  Card.displayName = "Card";
2969
- var CardHeader = ({ title, subtitle, rightContent }) => {
2970
- if (!title && !subtitle && !rightContent) {
2982
+ var CardHeader = ({ title, subtitle }) => {
2983
+ if (!title && !subtitle) {
2971
2984
  return null;
2972
2985
  }
2973
- return /* @__PURE__ */ jsxs21("div", { className: styles27.cardHeader, children: [
2974
- /* @__PURE__ */ jsxs21("div", { className: styles27.leftContent, children: [
2975
- title && /* @__PURE__ */ jsx34("h1", { children: title }),
2976
- subtitle && /* @__PURE__ */ jsx34("p", { children: subtitle })
2977
- ] }),
2978
- rightContent
2986
+ return /* @__PURE__ */ jsxs21("div", { className: styles26.cardHeader, children: [
2987
+ title && /* @__PURE__ */ jsx34("h1", { children: title }),
2988
+ subtitle && /* @__PURE__ */ jsx34("p", { children: subtitle })
2979
2989
  ] });
2980
2990
  };
2981
2991
  var CardContent = React3.forwardRef(
2982
2992
  ({ children }, ref) => {
2983
- return /* @__PURE__ */ jsx34("div", { className: styles27.cardContent, ref, children });
2993
+ return /* @__PURE__ */ jsx34("div", { className: styles26.cardContent, ref, children });
2984
2994
  }
2985
2995
  );
2986
2996
  CardContent.displayName = "CardContent";
2987
2997
 
2988
2998
  // src/components/shared/Card/CardFeedback/CardFeedback.tsx
2989
2999
  import clsx20 from "clsx";
2990
- import styles28 from "./CardFeedback.module-WCSHLBSM.module.css";
3000
+ import styles27 from "./CardFeedback.module-WCSHLBSM.module.css";
2991
3001
  import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
2992
3002
  var CardFeedback = ({
2993
3003
  icon: Icon,
@@ -2996,7 +3006,7 @@ var CardFeedback = ({
2996
3006
  className,
2997
3007
  variant = "info"
2998
3008
  }) => {
2999
- return /* @__PURE__ */ jsxs22("div", { className: clsx20(styles28.feedback, styles28[variant], className), children: [
3009
+ return /* @__PURE__ */ jsxs22("div", { className: clsx20(styles27.feedback, styles27[variant], className), children: [
3000
3010
  Icon && /* @__PURE__ */ jsx35(Icon, {}),
3001
3011
  /* @__PURE__ */ jsx35("h2", { children: title }),
3002
3012
  /* @__PURE__ */ jsx35("p", { children: message })
@@ -3005,7 +3015,7 @@ var CardFeedback = ({
3005
3015
 
3006
3016
  // src/components/shared/GhostButton/GhostButton.tsx
3007
3017
  import clsx21 from "clsx";
3008
- import styles29 from "./GhostButton.module-43KOFC6W.module.css";
3018
+ import styles28 from "./GhostButton.module-43KOFC6W.module.css";
3009
3019
  import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
3010
3020
  var GhostButton = ({
3011
3021
  startIcon: StartIcon,
@@ -3014,7 +3024,7 @@ var GhostButton = ({
3014
3024
  className,
3015
3025
  ...props
3016
3026
  }) => {
3017
- return /* @__PURE__ */ jsxs23("button", { className: clsx21(styles29.ghostButton, className), ...props, children: [
3027
+ return /* @__PURE__ */ jsxs23("button", { className: clsx21(styles28.ghostButton, className), ...props, children: [
3018
3028
  StartIcon && /* @__PURE__ */ jsx36(StartIcon, {}),
3019
3029
  /* @__PURE__ */ jsx36("span", { children }),
3020
3030
  EndIcon && /* @__PURE__ */ jsx36(EndIcon, {})
@@ -3023,21 +3033,21 @@ var GhostButton = ({
3023
3033
 
3024
3034
  // src/components/shared/Overlay/Overlay.tsx
3025
3035
  import clsx22 from "clsx";
3026
- import styles30 from "./Overlay.module-FCW64VWM.module.css";
3036
+ import styles29 from "./Overlay.module-FCW64VWM.module.css";
3027
3037
  import { jsx as jsx37 } from "react/jsx-runtime";
3028
3038
  var Overlay = ({ className, children }) => {
3029
- return /* @__PURE__ */ jsx37("div", { className: clsx22(styles30.overlay, className), children });
3039
+ return /* @__PURE__ */ jsx37("div", { className: clsx22(styles29.overlay, className), children });
3030
3040
  };
3031
3041
 
3032
3042
  // src/components/shared/Skeleton/Skeleton.tsx
3033
- import styles31 from "./Skeleton.module-ZN5S5VRF.module.css";
3043
+ import styles30 from "./Skeleton.module-ZN5S5VRF.module.css";
3034
3044
  import { jsx as jsx38 } from "react/jsx-runtime";
3035
3045
  var Skeleton = () => {
3036
- return /* @__PURE__ */ jsx38("div", { className: styles31.skeleton });
3046
+ return /* @__PURE__ */ jsx38("div", { className: styles30.skeleton });
3037
3047
  };
3038
3048
 
3039
3049
  // src/components/shared/Typography/Typography.tsx
3040
- import styles32 from "./Typography.module-SW6CT55P.module.css";
3050
+ import styles31 from "./Typography.module-SW6CT55P.module.css";
3041
3051
  import clsx23 from "clsx";
3042
3052
  import { jsx as jsx39 } from "react/jsx-runtime";
3043
3053
  function Typography({
@@ -3047,7 +3057,7 @@ function Typography({
3047
3057
  style,
3048
3058
  title
3049
3059
  }) {
3050
- return /* @__PURE__ */ jsx39(Component, { title, className: clsx23(styles32.typography, className), style, children });
3060
+ return /* @__PURE__ */ jsx39(Component, { title, className: clsx23(styles31.typography, className), style, children });
3051
3061
  }
3052
3062
 
3053
3063
  // src/utils/object.utils.ts