@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.
@@ -19,14 +19,14 @@
19
19
  gap: var(--em-card-header-gap, 1rem);
20
20
  }
21
21
 
22
- .card .cardHeader .leftContent {
22
+ .card .cardHeader {
23
23
  width: 100%;
24
24
  display: flex;
25
25
  flex-direction: column;
26
26
  gap: var(--em-card-header-gap, 1rem);
27
27
  }
28
28
 
29
- .card .cardHeader .leftContent h1 {
29
+ .card .cardHeader h1 {
30
30
  margin: unset;
31
31
  overflow-wrap: break-word;
32
32
  font-style: normal;
@@ -37,7 +37,7 @@
37
37
  line-height: var(--em-card-title-line-height, 1.1875rem);
38
38
  }
39
39
 
40
- .card .cardHeader .leftContent p {
40
+ .card .cardHeader p {
41
41
  margin: unset;
42
42
  overflow-wrap: break-word;
43
43
  font-style: normal;
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
 
@@ -476,7 +482,6 @@ declare const Card: React__default.ForwardRefExoticComponent<React__default.HTML
476
482
  type CardHeaderProps = {
477
483
  title?: string;
478
484
  subtitle?: string;
479
- rightContent?: React__default.ReactNode;
480
485
  };
481
486
  declare const CardHeader: React__default.FC<CardHeaderProps>;
482
487
  type CardContentProps = {
@@ -544,4 +549,4 @@ declare const endOfDayUTC: (date: Date) => Date;
544
549
 
545
550
  declare const shallowEqual: (object1: any, object2: any) => boolean;
546
551
 
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 };
552
+ 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 };