@embeddable.com/remarkable-ui 2.0.24 → 2.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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { FC, ReactElement, RefObject, SVGProps, ImgHTMLAttributes, ReactNode } from 'react';
2
+ import React__default, { FC, ReactElement, CSSProperties, RefObject, SVGProps, ImgHTMLAttributes, ReactNode } from 'react';
3
3
  import { ChartData, ChartOptions, CartesianTickOptions, GridLineOptions } from 'chart.js';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { S as StylesKeys } from './index-D70sAhnA.js';
@@ -202,6 +202,10 @@ type TableHeaderCell = (props: {
202
202
  value: any;
203
203
  className?: string;
204
204
  }) => React.ReactElement<HTMLTableCellElement>;
205
+ type TableHeaderCellStyle = (props: {
206
+ value: any;
207
+ className?: string;
208
+ }) => CSSProperties | undefined;
205
209
  type TableHeaderItem<T> = {
206
210
  id: keyof T;
207
211
  title: React.ReactNode;
@@ -211,6 +215,7 @@ type TableHeaderItem<T> = {
211
215
  sort?: TableSort<T>;
212
216
  accessor?: (row: T) => React.ReactNode;
213
217
  cell?: TableHeaderCell;
218
+ cellStyle?: TableHeaderCellStyle;
214
219
  };
215
220
 
216
221
  type TablePaginatedProps<T> = {
@@ -269,6 +274,7 @@ type TableBodyCellWithCopyProps = {
269
274
  value: string;
270
275
  align?: TableHeaderItemAlign;
271
276
  children: React.ReactNode;
277
+ style?: CSSProperties | undefined;
272
278
  };
273
279
  declare const TableBodyCellWithCopy: FC<TableBodyCellWithCopyProps>;
274
280
 
@@ -544,4 +550,4 @@ declare const endOfDayUTC: (date: Date) => Date;
544
550
 
545
551
  declare const shallowEqual: (object1: any, object2: any) => boolean;
546
552
 
547
- export { ActionIcon, BarChart, type BarChartProps, Button, ButtonIcon, Card, CardContent, CardFeedback, CardHeader, type CssSize, DateRangePicker, DateRangePickerField, type DateRangePickerProps, DonutChart, type DonutLabelChartProps, Dropdown, type DropdownProps, FieldFeedback, type FieldFeedbackProps, FieldHeader, type FieldHeaderProps, GhostButton, HeatMap, type HeatMapProps, type HeatMapPropsDimension, type HeatMapPropsMeasure, type HeatMapPropsThreshold, KpiChart, LineChart, type LineChartProps, MultiSelectField, type MultiSelectFieldProps, NumberField, Overlay, PieChart, type PieChartProps, PivotTable, type PivotTableProps, type PivotTablePropsColumnDimension, type PivotTablePropsMeasure, type PivotTablePropsRowDimension, SelectFieldCategory, SelectFieldContent, SelectFieldContentList, SelectFieldTrigger, SelectListOption, type SelectListOptionProps, type SelectListOptionPropsWithCategory, SingleSelectField, type SingleSelectFieldProps, Skeleton, StylesKeys, Switch, TableBody, TableBodyCellWithCopy, type TableBodyProps, TableHeader, TableHeaderAlign, type TableHeaderCell, type TableHeaderItem, type TableHeaderItemAlign, type TableHeaderProps, TablePaginated, type TablePaginatedProps, TablePagination, type TablePaginationProps, TableScrollable, type TableScrollableHandle, type TableScrollableProps, type TableSort, TableSortDirection, TextField, Typography, chartjsAxisOptionsLayoutPadding, endOfDayUTC, getBarChartData, getBarChartOptions, getChartColors, getChartContrastColors, getChartjsAxisOptions, getChartjsAxisOptionsPlugins, getChartjsAxisOptionsScales, getChartjsAxisOptionsScalesGrid, getChartjsAxisOptionsScalesGridColor, getChartjsAxisOptionsScalesTicksDefault, getChartjsAxisOptionsScalesTicksMuted, getChartjsAxisOptionsScalesTitle, getDonutChartOptions, getLineChartData, getLineChartOptions, getPieChartData, getPieChartOptions, getStyle, getStyleNumber, getTableTotalPages, isSameDate, isSameDateRange, shallowEqual, useDebounce, useResizeObserver, useTableGetRowsPerPage };
553
+ export { ActionIcon, BarChart, type BarChartProps, Button, ButtonIcon, Card, CardContent, CardFeedback, CardHeader, type CssSize, DateRangePicker, DateRangePickerField, type DateRangePickerProps, DonutChart, type DonutLabelChartProps, Dropdown, type DropdownProps, FieldFeedback, type FieldFeedbackProps, FieldHeader, type FieldHeaderProps, GhostButton, HeatMap, type HeatMapProps, type HeatMapPropsDimension, type HeatMapPropsMeasure, type HeatMapPropsThreshold, KpiChart, LineChart, type LineChartProps, MultiSelectField, type MultiSelectFieldProps, NumberField, Overlay, PieChart, type PieChartProps, PivotTable, type PivotTableProps, type PivotTablePropsColumnDimension, type PivotTablePropsMeasure, type PivotTablePropsRowDimension, SelectFieldCategory, SelectFieldContent, SelectFieldContentList, SelectFieldTrigger, SelectListOption, type SelectListOptionProps, type SelectListOptionPropsWithCategory, SingleSelectField, type SingleSelectFieldProps, Skeleton, StylesKeys, Switch, TableBody, TableBodyCellWithCopy, type TableBodyProps, TableHeader, TableHeaderAlign, type TableHeaderCell, type TableHeaderCellStyle, type TableHeaderItem, type TableHeaderItemAlign, type TableHeaderProps, TablePaginated, type TablePaginatedProps, TablePagination, type TablePaginationProps, TableScrollable, type TableScrollableHandle, type TableScrollableProps, type TableSort, TableSortDirection, TextField, Typography, chartjsAxisOptionsLayoutPadding, endOfDayUTC, getBarChartData, getBarChartOptions, getChartColors, getChartContrastColors, getChartjsAxisOptions, getChartjsAxisOptionsPlugins, getChartjsAxisOptionsScales, getChartjsAxisOptionsScalesGrid, getChartjsAxisOptionsScalesGridColor, getChartjsAxisOptionsScalesTicksDefault, getChartjsAxisOptionsScalesTicksMuted, getChartjsAxisOptionsScalesTitle, getDonutChartOptions, getLineChartData, getLineChartOptions, getPieChartData, getPieChartOptions, getStyle, getStyleNumber, getTableTotalPages, isSameDate, isSameDateRange, shallowEqual, useDebounce, useResizeObserver, useTableGetRowsPerPage };
package/dist/index.js CHANGED
@@ -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-OHIGVUSC.module.css";
1548
1548
  import clsx7 from "clsx";
1549
1549
 
1550
1550
  // src/components/charts/tables/Table/components/TableHeader/TableHeader.tsx
@@ -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
@@ -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
  {
@@ -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,12 +2970,12 @@ 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-HKJ5BQ2P.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";
@@ -2970,8 +2983,8 @@ var CardHeader = ({ title, subtitle, rightContent }) => {
2970
2983
  if (!title && !subtitle && !rightContent) {
2971
2984
  return null;
2972
2985
  }
2973
- return /* @__PURE__ */ jsxs21("div", { className: styles27.cardHeader, children: [
2974
- /* @__PURE__ */ jsxs21("div", { className: styles27.leftContent, children: [
2986
+ return /* @__PURE__ */ jsxs21("div", { className: styles26.cardHeader, children: [
2987
+ /* @__PURE__ */ jsxs21("div", { className: styles26.leftContent, children: [
2975
2988
  title && /* @__PURE__ */ jsx34("h1", { children: title }),
2976
2989
  subtitle && /* @__PURE__ */ jsx34("p", { children: subtitle })
2977
2990
  ] }),
@@ -2980,14 +2993,14 @@ var CardHeader = ({ title, subtitle, rightContent }) => {
2980
2993
  };
2981
2994
  var CardContent = React3.forwardRef(
2982
2995
  ({ children }, ref) => {
2983
- return /* @__PURE__ */ jsx34("div", { className: styles27.cardContent, ref, children });
2996
+ return /* @__PURE__ */ jsx34("div", { className: styles26.cardContent, ref, children });
2984
2997
  }
2985
2998
  );
2986
2999
  CardContent.displayName = "CardContent";
2987
3000
 
2988
3001
  // src/components/shared/Card/CardFeedback/CardFeedback.tsx
2989
3002
  import clsx20 from "clsx";
2990
- import styles28 from "./CardFeedback.module-WCSHLBSM.module.css";
3003
+ import styles27 from "./CardFeedback.module-WCSHLBSM.module.css";
2991
3004
  import { jsx as jsx35, jsxs as jsxs22 } from "react/jsx-runtime";
2992
3005
  var CardFeedback = ({
2993
3006
  icon: Icon,
@@ -2996,7 +3009,7 @@ var CardFeedback = ({
2996
3009
  className,
2997
3010
  variant = "info"
2998
3011
  }) => {
2999
- return /* @__PURE__ */ jsxs22("div", { className: clsx20(styles28.feedback, styles28[variant], className), children: [
3012
+ return /* @__PURE__ */ jsxs22("div", { className: clsx20(styles27.feedback, styles27[variant], className), children: [
3000
3013
  Icon && /* @__PURE__ */ jsx35(Icon, {}),
3001
3014
  /* @__PURE__ */ jsx35("h2", { children: title }),
3002
3015
  /* @__PURE__ */ jsx35("p", { children: message })
@@ -3005,7 +3018,7 @@ var CardFeedback = ({
3005
3018
 
3006
3019
  // src/components/shared/GhostButton/GhostButton.tsx
3007
3020
  import clsx21 from "clsx";
3008
- import styles29 from "./GhostButton.module-43KOFC6W.module.css";
3021
+ import styles28 from "./GhostButton.module-43KOFC6W.module.css";
3009
3022
  import { jsx as jsx36, jsxs as jsxs23 } from "react/jsx-runtime";
3010
3023
  var GhostButton = ({
3011
3024
  startIcon: StartIcon,
@@ -3014,7 +3027,7 @@ var GhostButton = ({
3014
3027
  className,
3015
3028
  ...props
3016
3029
  }) => {
3017
- return /* @__PURE__ */ jsxs23("button", { className: clsx21(styles29.ghostButton, className), ...props, children: [
3030
+ return /* @__PURE__ */ jsxs23("button", { className: clsx21(styles28.ghostButton, className), ...props, children: [
3018
3031
  StartIcon && /* @__PURE__ */ jsx36(StartIcon, {}),
3019
3032
  /* @__PURE__ */ jsx36("span", { children }),
3020
3033
  EndIcon && /* @__PURE__ */ jsx36(EndIcon, {})
@@ -3023,21 +3036,21 @@ var GhostButton = ({
3023
3036
 
3024
3037
  // src/components/shared/Overlay/Overlay.tsx
3025
3038
  import clsx22 from "clsx";
3026
- import styles30 from "./Overlay.module-FCW64VWM.module.css";
3039
+ import styles29 from "./Overlay.module-FCW64VWM.module.css";
3027
3040
  import { jsx as jsx37 } from "react/jsx-runtime";
3028
3041
  var Overlay = ({ className, children }) => {
3029
- return /* @__PURE__ */ jsx37("div", { className: clsx22(styles30.overlay, className), children });
3042
+ return /* @__PURE__ */ jsx37("div", { className: clsx22(styles29.overlay, className), children });
3030
3043
  };
3031
3044
 
3032
3045
  // src/components/shared/Skeleton/Skeleton.tsx
3033
- import styles31 from "./Skeleton.module-ZN5S5VRF.module.css";
3046
+ import styles30 from "./Skeleton.module-ZN5S5VRF.module.css";
3034
3047
  import { jsx as jsx38 } from "react/jsx-runtime";
3035
3048
  var Skeleton = () => {
3036
- return /* @__PURE__ */ jsx38("div", { className: styles31.skeleton });
3049
+ return /* @__PURE__ */ jsx38("div", { className: styles30.skeleton });
3037
3050
  };
3038
3051
 
3039
3052
  // src/components/shared/Typography/Typography.tsx
3040
- import styles32 from "./Typography.module-SW6CT55P.module.css";
3053
+ import styles31 from "./Typography.module-SW6CT55P.module.css";
3041
3054
  import clsx23 from "clsx";
3042
3055
  import { jsx as jsx39 } from "react/jsx-runtime";
3043
3056
  function Typography({
@@ -3047,7 +3060,7 @@ function Typography({
3047
3060
  style,
3048
3061
  title
3049
3062
  }) {
3050
- return /* @__PURE__ */ jsx39(Component, { title, className: clsx23(styles32.typography, className), style, children });
3063
+ return /* @__PURE__ */ jsx39(Component, { title, className: clsx23(styles31.typography, className), style, children });
3051
3064
  }
3052
3065
 
3053
3066
  // src/utils/object.utils.ts