@stenajs-webui/grid 14.1.1 → 15.0.0-alpha.10

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.
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const TrWithHoverBackground: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- as?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
5
  } & {
6
6
  borderLeft?: string | undefined;
7
7
  height?: string | undefined;
@@ -1,3 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const StickyPropsPerColumnContext: import("react").Context<Record<string, import("../features/sticky-columns/types").StickyCellProps>>;
3
- export declare const useStickyPropsPerColumnContext: () => Record<string, import("../features/sticky-columns/types").StickyCellProps>;
2
+ import { StickyPropsPerColumn } from "../features/sticky-columns/types";
3
+ export declare const StickyPropsPerColumnContext: import("react").Context<StickyPropsPerColumn<string>>;
4
+ export declare const useStickyPropsPerColumnContext: () => StickyPropsPerColumn<string>;
@@ -4,7 +4,7 @@ export declare type OffsetPerColumn<TColumnKey extends string> = Record<TColumnK
4
4
  * This methods assumes that the config has already been validated to be correct.
5
5
  * @param config
6
6
  */
7
- export declare const calculateOffsetForColumnInStickyColumnGroups: <TItem, TColumnKey extends string>(config: StandardTableConfigWithGroups<TItem, TColumnKey, string>) => Record<TColumnKey, string>;
8
- export declare const calculateOffsetForColumns: <TItem, TColumnKey extends string>(columnIds: TColumnKey[], columns: Record<TColumnKey, import("../../config/StandardTableColumnConfig").StandardTableColumnConfigWithGroups<TItem, any, TColumnKey>> | Record<TColumnKey, import("../../config/StandardTableColumnConfig").StandardTableColumnConfig<TItem, any, TColumnKey>>, includeOffsetForCheckboxAndExpand: boolean) => Record<TColumnKey, string>;
7
+ export declare const calculateOffsetForColumnInStickyColumnGroups: <TItem, TColumnKey extends string>(config: StandardTableConfigWithGroups<TItem, TColumnKey, string>) => OffsetPerColumn<TColumnKey>;
8
+ export declare const calculateOffsetForColumns: <TItem, TColumnKey extends string>(columnIds: TColumnKey[], columns: Record<TColumnKey, import("../../config/StandardTableColumnConfig").StandardTableColumnConfigWithGroups<TItem, any, TColumnKey>> | Record<TColumnKey, import("../../config/StandardTableColumnConfig").StandardTableColumnConfig<TItem, any, TColumnKey>>, includeOffsetForCheckboxAndExpand: boolean) => OffsetPerColumn<TColumnKey>;
9
9
  export declare const getColumnIdsForLeftSideStickyGroup: <TItem, TColumnKey extends string>(config: StandardTableConfigWithGroups<TItem, TColumnKey, string>) => TColumnKey[];
10
10
  export declare const getColumnIdsForRightSideStickyGroup: <TItem, TColumnKey extends string>(config: StandardTableConfigWithGroups<TItem, TColumnKey, string>) => TColumnKey[];
@@ -1,5 +1,5 @@
1
1
  import { StandardTableConfig, StandardTableConfigWithGroups, StandardTableConfigWithNoGroups } from "../../config/StandardTableConfig";
2
2
  import { StickyPropsPerColumn } from "./types";
3
- export declare const getStickyPropsPerColumn: <TItem, TColumnKey extends string>(config: StandardTableConfig<TItem, TColumnKey, string>) => Record<TColumnKey, import("./types").StickyCellProps>;
4
- export declare const getStickyPropsPerColumnWithNoGroups: <TItem, TColumnKey extends string>(config: StandardTableConfigWithNoGroups<TItem, TColumnKey>) => Record<TColumnKey, import("./types").StickyCellProps>;
5
- export declare const getStickyPropsPerColumnWithGroups: <TItem, TColumnKey extends string>(config: StandardTableConfigWithGroups<TItem, TColumnKey, string>) => Record<TColumnKey, import("./types").StickyCellProps>;
3
+ export declare const getStickyPropsPerColumn: <TItem, TColumnKey extends string>(config: StandardTableConfig<TItem, TColumnKey, string>) => StickyPropsPerColumn<TColumnKey>;
4
+ export declare const getStickyPropsPerColumnWithNoGroups: <TItem, TColumnKey extends string>(config: StandardTableConfigWithNoGroups<TItem, TColumnKey>) => StickyPropsPerColumn<TColumnKey>;
5
+ export declare const getStickyPropsPerColumnWithGroups: <TItem, TColumnKey extends string>(config: StandardTableConfigWithGroups<TItem, TColumnKey, string>) => StickyPropsPerColumn<TColumnKey>;
@@ -12,4 +12,4 @@ export interface StandardTableStateFields {
12
12
  }
13
13
  export declare const createStandardTableInitialState: <TColumnKey extends string>(sortBy?: TColumnKey | undefined, desc?: boolean, selectedIds?: string[], expandedRows?: string[]) => StandardTableState<TColumnKey>;
14
14
  export declare type StandardTableReducer<TColumnKey extends string> = Reducer<StandardTableState<TColumnKey>, StandardTableAction<TColumnKey>>;
15
- export declare const createStandardTableReducer: <TColumnKey extends string>(reducerId: string) => Reducer<StandardTableState<TColumnKey>, StandardTableAction<TColumnKey>>;
15
+ export declare const createStandardTableReducer: <TColumnKey extends string>(reducerId: string) => StandardTableReducer<TColumnKey>;