ados-rcm 1.0.51 → 1.0.53

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.
@@ -227,8 +227,8 @@ export interface IADialogFrameProps {
227
227
  */
228
228
  dlgState: IADialogState;
229
229
  /**
230
- * children : React.ReactElement
230
+ * children : React.ReactNode
231
231
  */
232
- children: React.ReactElement;
232
+ children: React.ReactNode;
233
233
  }
234
234
  export declare const ADialogFrame: (props: IADialogFrameProps) => import("react/jsx-runtime").JSX.Element;
@@ -86,17 +86,11 @@ export interface IATableDef<T extends IItem> {
86
86
  */
87
87
  hContent?: TCanCallback<IATableTHProps<T>, React.ReactNode>;
88
88
  /**
89
- * hColor? : TCanCallback<IATableTHProps<T>, React.CSSProperties['color']>
89
+ * hStyle? : TCanCallback<IATableTHProps<T>, React.CSSProperties>
90
90
  *
91
- * Description : color of the th
91
+ * Description : style of the th. I woudn't touch width, minWidth, maxWidth if I were you.
92
92
  */
93
- hColor?: TCanCallback<IATableTHProps<T>, React.CSSProperties['color']>;
94
- /**
95
- * hBackgroundColor? : TCanCallback<IATableTHProps<T>, React.CSSProperties['backgroundColor']>
96
- *
97
- * Description : backgroundColor of the th
98
- */
99
- hBackgroundColor?: TCanCallback<IATableTHProps<T>, React.CSSProperties['backgroundColor']>;
93
+ hStyle?: TCanCallback<IATableTHProps<T>, React.CSSProperties>;
100
94
  /**
101
95
  * isSortable? : boolean
102
96
  *
@@ -128,17 +122,11 @@ export interface IATableDef<T extends IItem> {
128
122
  */
129
123
  asText?: TCanCallback<IATableTDProps<T>, string | number>;
130
124
  /**
131
- * color? : TCanCallback<IATableTDProps<T>, React.CSSProperties['color']>
132
- *
133
- * Description : color of the td
134
- */
135
- color?: TCanCallback<IATableTDProps<T>, React.CSSProperties['color']>;
136
- /**
137
- * backgroundColor? : TCanCallback<IATableTDProps<T>, React.CSSProperties['backgroundColor']>
125
+ * style? : TCanCallback<IATableTDProps<T>, React.CSSProperties>
138
126
  *
139
- * Description : backgroundColor of the td
127
+ * Description : style of the td. I woudn't touch width, minWidth, maxWidth, flexGrow if I were you.
140
128
  */
141
- backgroundColor?: TCanCallback<IATableTDProps<T>, React.CSSProperties['backgroundColor']>;
129
+ style?: TCanCallback<IATableTDProps<T>, React.CSSProperties>;
142
130
  }
143
131
  export type TATableDefs<T extends IItem> = {
144
132
  [key in Exclude<keyof T, symbol>]?: IATableDef<T>;
@@ -1,8 +1,8 @@
1
+ import React from 'react';
2
+ import { TUseValues } from '../../AHooks/useValues';
1
3
  import { TCanCallback } from '../../AUtils/cbF';
2
4
  import { IItem } from '../../AUtils/objF';
3
5
  import { IATablePagination, IATableSortation, IATableTRProps, TATableDefs, TATableFilteration } from './ATable';
4
- import { TUseValues } from '../../AHooks/useValues';
5
- import React from 'react';
6
6
  interface IATableBodyProps<T extends IItem> {
7
7
  defs: TATableDefs<T>;
8
8
  rProps?: TCanCallback<IATableTRProps<T>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>>;