gantri-components 2.107.1 → 2.107.2

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.
Files changed (49) hide show
  1. package/dist/components/button-menu/button-menu.d.ts +2 -1
  2. package/dist/components/circular-progress/circular-progress.styles.d.ts +2 -1
  3. package/dist/components/color-picker/components/color-picker-item/color-picker-item.styles.d.ts +6 -1
  4. package/dist/components/dropdown/dropdown.styles.d.ts +5 -2
  5. package/dist/components/dropdown-menu/dropdown-menu.d.ts +2 -1
  6. package/dist/components/filter-button/filter-button.types.d.ts +1 -0
  7. package/dist/components/flex/flex.styles.d.ts +3 -1
  8. package/dist/components/input-group/input-group.styles.d.ts +2 -1
  9. package/dist/components/modal/modal.styles.d.ts +8 -2
  10. package/dist/components/multi-select-list/multi-select-list.d.ts +2 -1
  11. package/dist/components/multi-select-list/multi-select-list.styles.d.ts +2 -1
  12. package/dist/components/overlay/useOverlay.hook.d.ts +2 -1
  13. package/dist/components/pills/components/pill/pill.types.d.ts +1 -0
  14. package/dist/components/radio/radio.d.ts +2 -1
  15. package/dist/components/search-field/search-field.d.ts +2 -1
  16. package/dist/components/table/components/after-row-component/after-row-component.d.ts +2 -1
  17. package/dist/components/table/components/cell-reorder-wrapper/cell-reorder-wrapper.d.ts +2 -1
  18. package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/components/user-preferences-modal/user-preferences-modal.d.ts +2 -1
  19. package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/components/user-preferences-modal/user-preferences-modal.styles.d.ts +3 -2
  20. package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/user-preferences-toggle.d.ts +2 -1
  21. package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/user-preferences-toggle.styles.d.ts +4 -1
  22. package/dist/components/table/components/custom-columns-toggle/custom-columns-toggle.d.ts +2 -1
  23. package/dist/components/table/components/selectable-row-checkbox-wrapper/selectable-row-checkbox-wrapper.d.ts +2 -2
  24. package/dist/components/table/components/selectable-row-checkbox-wrapper/selectable-row-checkbox-wrapper.types.d.ts +1 -0
  25. package/dist/components/table/components/table-actions-wrapper/components/clear-selected-rows/clear-selected-rows.d.ts +2 -1
  26. package/dist/components/table/components/table-actions-wrapper/components/clear-selected-rows/clear-selected-rows.styles.d.ts +4 -1
  27. package/dist/components/table/components/table-actions-wrapper/components/paging/paging.d.ts +2 -1
  28. package/dist/components/table/components/table-actions-wrapper/components/paging/paging.styles.d.ts +3 -2
  29. package/dist/components/table/components/table-actions-wrapper/components/search/search.d.ts +2 -1
  30. package/dist/components/table/components/table-actions-wrapper/components/sort/sort.d.ts +2 -1
  31. package/dist/components/table/components/table-actions-wrapper/components/sort/sort.styles.d.ts +2 -1
  32. package/dist/components/table/components/table-actions-wrapper/table-actions-wrapper.d.ts +1 -1
  33. package/dist/components/table/components/table-actions-wrapper/table-actions-wrapper.styles.d.ts +4 -1
  34. package/dist/components/table/components/table-draggable-row/table-draggable-row.d.ts +2 -1
  35. package/dist/components/table/components/table-footer/components/selectable-row-footer-wrapper/selectable-row-footer-wrapper.d.ts +2 -2
  36. package/dist/components/table/components/table-footer/table-footer.d.ts +2 -1
  37. package/dist/components/table/components/table-header/components/selectable-row-header-wrapper/selectable-row-header-wrapper.d.ts +1 -1
  38. package/dist/components/table/components/table-header/table-header.d.ts +2 -1
  39. package/dist/components/table/components/table-row/helpers/get-row-component-props/get-row-component-props.d.ts +55 -50
  40. package/dist/components/table/components/table-row/table-row.d.ts +2 -1
  41. package/dist/components/table/components/table-row-cells/components/selectable-row-cell-wrapper/selectable-row-cell-wrapper.d.ts +1 -1
  42. package/dist/components/table/components/table-row-cells/components/selectable-row-cell-wrapper/selectable-row-cell-wrapper.styles.d.ts +2 -1
  43. package/dist/components/table/components/table-row-cells/components/table-cell/table-cell.d.ts +2 -1
  44. package/dist/components/table/components/table-row-cells/table-row-cells.d.ts +2 -1
  45. package/dist/components/table/components/table-row-overlay/table-row-overlay.d.ts +2 -1
  46. package/dist/components/table/table.d.ts +2 -1
  47. package/dist/components/table/table.providers.d.ts +2 -2
  48. package/dist/styles/theme.stories.d.ts +3 -2
  49. package/package.json +7 -3
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { ButtonMenuProps } from './button-menu.types';
2
3
  export declare const ButtonMenu: {
3
- <T extends Record<any, any>>(props: ButtonMenuProps<T>): JSX.Element;
4
+ <T extends Record<any, any>>(props: ButtonMenuProps<T>): React.JSX.Element;
4
5
  defaultProps: Partial<ButtonMenuProps<Record<string, unknown>>>;
5
6
  };
@@ -1 +1,2 @@
1
- export declare const StyledCircularProgressIcon: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledCircularProgressIcon: import("styled-components").StyledComponent<import("react").FC<import("../icon/icon.types").IconProps>, import("styled-components").DefaultTheme, {}, never>;
@@ -1,9 +1,14 @@
1
1
  import { CSSProperties } from 'styled-components';
2
2
  import { ColorPickerVariant } from '../../color-picker.types';
3
+ import { ProductColorCode } from '../../../../styles/theme';
3
4
  export declare const StyledColorOutline: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
5
  $isClickable: boolean;
5
6
  $selected?: boolean | undefined;
6
7
  $size?: CSSProperties['width'];
7
8
  $variant?: ColorPickerVariant | undefined;
8
9
  }, never>;
9
- export declare const StyledColor: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
10
+ export declare const StyledColor: import("styled-components").StyledComponent<import("@react-spring/web").AnimatedComponent<"span">, import("styled-components").DefaultTheme, {
11
+ $size?: CSSProperties['width'];
12
+ $variant?: ColorPickerVariant | undefined;
13
+ color: ProductColorCode;
14
+ }, never>;
@@ -1,7 +1,8 @@
1
+ /// <reference types="react" />
1
2
  import { Property } from 'csstype';
2
3
  import { TextFieldSize } from '../text-field';
3
4
  import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
4
- export declare const StyledOption: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
5
+ export declare const StyledOption: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../typography").TypographyProps & import("react").RefAttributes<unknown>>, import("styled-components").DefaultTheme, {}, never>;
5
6
  export declare const StyledSelect: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
6
7
  $maxWidth?: Property.Width<string | number> | undefined;
7
8
  }, never>;
@@ -11,4 +12,6 @@ export declare const StyledCustomPlaceholderContainer: import("styled-components
11
12
  $size?: ResolutionAwareProp<TextFieldSize> | undefined;
12
13
  disabled: boolean | undefined;
13
14
  }, never>;
14
- export declare const StyledTextField: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
15
+ export declare const StyledTextField: import("styled-components").StyledComponent<import("react").FC<import("../text-field").TextFieldProps>, import("styled-components").DefaultTheme, {
16
+ $transparentInputText: boolean;
17
+ }, never>;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { DropdownMenuProps } from './dropdown-menu.types';
2
3
  export declare const DropdownMenu: {
3
- <T extends Record<any, any>>(props: DropdownMenuProps<T>): JSX.Element;
4
+ <T extends Record<any, any>>(props: DropdownMenuProps<T>): React.JSX.Element;
4
5
  defaultProps: Partial<DropdownMenuProps<Record<string, unknown>>>;
5
6
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
2
3
  import { ButtonSize } from '../button/button.types';
3
4
  export interface FilterButtonProps {
@@ -1 +1,3 @@
1
- export declare const StyledFlexContainer: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ import { FlexProps } from './flex.types';
3
+ export declare const StyledFlexContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box/box.types").BoxProps & import("react").RefAttributes<import("../box/box.types").BoxProps>>, import("styled-components").DefaultTheme, FlexProps, never>;
@@ -1,4 +1,5 @@
1
- export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../button/button.types").ButtonProps>, import("styled-components").DefaultTheme, {}, never>;
2
3
  export declare const StyledInputGroupContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
4
  $disabled?: boolean | undefined;
4
5
  $size?: string | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DefaultTheme } from 'styled-components';
2
3
  import { Property } from 'csstype';
3
4
  import { ModalProps } from './modal.types';
@@ -10,12 +11,17 @@ export declare const StyledModalBody: import("styled-components").StyledComponen
10
11
  $height?: ResolutionAwareProp<Property.Height<0 | (string & {})>> | undefined;
11
12
  $width?: ResolutionAwareProp<Property.Width<0 | (string & {})>> | undefined;
12
13
  }, never>;
13
- export declare const StyledModalContent: import("styled-components").StyledComponent<any, DefaultTheme, any, any>;
14
+ export declare const StyledModalContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../stack/stack.types").StackProps & import("react").RefAttributes<import("../stack/stack.types").StackProps>>, DefaultTheme, {
15
+ isFullScreen?: boolean | undefined;
16
+ noTopSpacing?: boolean | undefined;
17
+ }, never>;
14
18
  export declare const getModalDetailsPanelBackgroundColor: ({ theme, isFullScreen, }: {
15
19
  isFullScreen: boolean | undefined;
16
20
  theme: DefaultTheme;
17
21
  }) => string;
18
- export declare const StyledDetailsPanelContainer: import("styled-components").StyledComponent<any, DefaultTheme, any, any>;
22
+ export declare const StyledDetailsPanelContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../box/box.types").BoxProps & import("react").RefAttributes<import("../box/box.types").BoxProps>>, DefaultTheme, {
23
+ isFullScreen?: boolean | undefined;
24
+ }, never>;
19
25
  export declare const StyledModalHeader: import("styled-components").StyledComponent<"header", DefaultTheme, {
20
26
  $closeable?: boolean | undefined;
21
27
  isFullScreen?: boolean | undefined;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { MultiSelectListProps } from './multi-select-list.types';
2
3
  export declare const MultiSelectList: {
3
- <Item extends Record<any, any>>(props: MultiSelectListProps<Item>): JSX.Element;
4
+ <Item extends Record<any, any>>(props: MultiSelectListProps<Item>): React.JSX.Element;
4
5
  defaultProps: import("./multi-select-list.types").MultiSelectListDefaultProps<Record<string, unknown>>;
5
6
  };
@@ -1 +1,2 @@
1
- export declare const StyledFlexItem: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledFlexItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../flex/flex.types").FlexProps & import("react").RefAttributes<import("../flex/flex.types").FlexProps>>, import("styled-components").DefaultTheme, {}, never>;
@@ -1,6 +1,7 @@
1
+ import React from 'react';
1
2
  import { UseOverlayParams } from './overlay.types';
2
3
  export declare const useOverlay: (params: UseOverlayParams) => {
3
4
  closeOverlay: () => void;
4
- overlayComponent: JSX.Element;
5
+ overlayComponent: React.JSX.Element;
5
6
  showRelativeTo: (parent: string | Element) => void;
6
7
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface PillProps {
2
3
  icon?: JSX.Element;
3
4
  onSelected?: (value: string | number) => void;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { RadioProps } from './radio.types';
2
3
  export declare const Radio: {
3
- (props: RadioProps): JSX.Element;
4
+ (props: RadioProps): React.JSX.Element;
4
5
  defaultProps: RadioProps;
5
6
  };
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { SearchFieldProps } from './search-field.types';
2
3
  export declare const SearchField: {
3
- <T extends Record<any, any>>(props: SearchFieldProps<T>): JSX.Element;
4
+ <T extends Record<any, any>>(props: SearchFieldProps<T>): React.JSX.Element;
4
5
  defaultProps: Partial<SearchFieldProps<any>>;
5
6
  };
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { AfterRowComponentProps } from './after-row-component.types';
3
- export declare const AfterRowComponent: <TData extends RowData<import("../..").CustomTData>>(props: AfterRowComponentProps<TData>) => JSX.Element | null;
4
+ export declare const AfterRowComponent: <TData extends RowData<import("../..").CustomTData>>(props: AfterRowComponentProps<TData>) => React.JSX.Element | null;
@@ -1,4 +1,5 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { CellReorderWrapperProps } from './cell-reorder-wrapper.types';
3
4
  /** When reordering is provided, wraps the first column in the provided props. */
4
- export declare const CellReorderWrapper: <TData extends RowData<import("../..").CustomTData>>(props: CellReorderWrapperProps<TData>) => JSX.Element;
5
+ export declare const CellReorderWrapper: <TData extends RowData<import("../..").CustomTData>>(props: CellReorderWrapperProps<TData>) => React.JSX.Element;
@@ -1,2 +1,3 @@
1
+ import React from 'react';
1
2
  import { UserPreferencesModalProps } from './user-preferences-modal.types';
2
- export declare const UserPreferencesModal: (props: UserPreferencesModalProps) => JSX.Element;
3
+ export declare const UserPreferencesModal: (props: UserPreferencesModalProps) => React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  export declare const StyledPreferencesPopUp: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
- export declare const StyledHeading: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
3
- export declare const StyledClickableIcon: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
3
+ export declare const StyledHeading: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../../../../../grid/grid.types").GridProps & import("react").RefAttributes<import("../../../../../../../grid/grid.types").GridProps>>, import("styled-components").DefaultTheme, {}, never>;
4
+ export declare const StyledClickableIcon: import("styled-components").StyledComponent<import("react").FC<import("../../../../../../../icon/icon.types").IconProps>, import("styled-components").DefaultTheme, {}, never>;
4
5
  export declare const StyledContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
5
6
  export declare const StyledFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { UserPreferencesToggleProps } from './user-preferences-toggle.types';
2
3
  /** Toggles a dialog where the user can save their preferences for the specified `page`. */
3
- export declare const UserPreferencesToggle: (props: UserPreferencesToggleProps) => JSX.Element;
4
+ export declare const UserPreferencesToggle: (props: UserPreferencesToggleProps) => React.JSX.Element;
@@ -1 +1,4 @@
1
- export declare const StyledButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").FC<import("../../../../../button/button.types").ButtonProps>, import("styled-components").DefaultTheme, {
3
+ 'data-is-active': boolean;
4
+ }, never>;
@@ -1,3 +1,4 @@
1
1
  import { RowData } from '@tanstack/react-table';
2
+ import React from 'react';
2
3
  import { CustomColumnsWrapperProps } from './custom-columns-toggle.types';
3
- export declare const CustomColumnsToggle: <TData extends RowData<import("../..").CustomTData>>(props: CustomColumnsWrapperProps<TData>) => JSX.Element;
4
+ export declare const CustomColumnsToggle: <TData extends RowData<import("../..").CustomTData>>(props: CustomColumnsWrapperProps<TData>) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  import { SelectableRowCheckboxWrapperProps } from './selectable-row-checkbox-wrapper.types';
3
- export declare const SelectableRowCheckboxWrapper: (props: PropsWithChildren<SelectableRowCheckboxWrapperProps>) => JSX.Element;
3
+ export declare const SelectableRowCheckboxWrapper: (props: PropsWithChildren<SelectableRowCheckboxWrapperProps>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface SelectableRowCheckboxWrapperProps {
2
3
  Component: JSX.Element;
3
4
  index: number;
@@ -1 +1,2 @@
1
- export declare const ClearSelectedRows: () => JSX.Element;
1
+ import React from 'react';
2
+ export declare const ClearSelectedRows: () => React.JSX.Element;
@@ -1 +1,4 @@
1
- export declare const StyledPointerFlex: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledPointerFlex: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../../../flex/flex.types").FlexProps & import("react").RefAttributes<import("../../../../../flex/flex.types").FlexProps>>, import("styled-components").DefaultTheme, {
3
+ disabled?: boolean | undefined;
4
+ }, never>;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { PagingComponentProps } from './paging.types';
2
3
  export declare const Paging: {
3
- (props: PagingComponentProps): JSX.Element;
4
+ (props: PagingComponentProps): React.JSX.Element;
4
5
  defaultProps: Partial<import("./paging.types").PagingProps>;
5
6
  };
@@ -1,2 +1,3 @@
1
- export declare const StyledFlex: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
2
- export declare const StyledPagingButton: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledFlex: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../../../flex/flex.types").FlexProps & import("react").RefAttributes<import("../../../../../flex/flex.types").FlexProps>>, import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const StyledPagingButton: import("styled-components").StyledComponent<import("react").FC<import("../../../../../button/button.types").ButtonProps>, import("styled-components").DefaultTheme, {}, never>;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { SearchComponentProps } from './search.types';
2
3
  export declare const Search: {
3
- (props: SearchComponentProps): JSX.Element;
4
+ (props: SearchComponentProps): React.JSX.Element;
4
5
  defaultProps: import("./search.types").SearchDefaultProps;
5
6
  };
@@ -1,2 +1,3 @@
1
+ import React from 'react';
1
2
  import { SortComponentProps } from './sort.types';
2
- export declare const Sort: (props: SortComponentProps) => JSX.Element;
3
+ export declare const Sort: (props: SortComponentProps) => React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const StyledDropdown: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledDropdown: import("styled-components").StyledComponent<import("react").FC<import("react").PropsWithChildren<import("../../../../../dropdown").DropdownProps<any>>>, import("styled-components").DefaultTheme, {}, never>;
@@ -2,4 +2,4 @@ import React, { PropsWithChildren } from 'react';
2
2
  import { RowData } from '@tanstack/react-table';
3
3
  import { TableActionsWrapperProps } from './table-actions-wrapper.types';
4
4
  /** Wraps the table with relevant components for paging, filters, sort, and table actions. */
5
- export declare const TableActionsWrapper: <TData extends RowData<import("../..").CustomTData>>(props: React.PropsWithChildren<TableActionsWrapperProps<TData>>) => JSX.Element;
5
+ export declare const TableActionsWrapper: <TData extends RowData<import("../..").CustomTData>>(props: React.PropsWithChildren<TableActionsWrapperProps<TData>>) => React.JSX.Element;
@@ -1 +1,4 @@
1
- export declare const StyledBottomActionsFlex: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledBottomActionsFlex: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../flex/flex.types").FlexProps & import("react").RefAttributes<import("../../../flex/flex.types").FlexProps>>, import("styled-components").DefaultTheme, {
3
+ showClearSelectedRows: boolean;
4
+ }, never>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { DraggableRowProps } from './table-draggable-row.types';
3
- export declare const TableDraggableRow: <TData extends RowData<import("../..").CustomTData>>(props: DraggableRowProps<TData>) => JSX.Element;
4
+ export declare const TableDraggableRow: <TData extends RowData<import("../..").CustomTData>>(props: DraggableRowProps<TData>) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  import { SelectableRowFooterWrapperProps } from './selectable-row-footer-wrapper.types';
3
- export declare const SelectableRowFooterWrapper: (props: PropsWithChildren<SelectableRowFooterWrapperProps>) => JSX.Element;
3
+ export declare const SelectableRowFooterWrapper: (props: PropsWithChildren<SelectableRowFooterWrapperProps>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableFooterProps } from './table-footer.types';
3
- export declare const TableFooter: <TData extends RowData<import("../..").CustomTData>>(props: TableFooterProps<TData>) => JSX.Element;
4
+ export declare const TableFooter: <TData extends RowData<import("../..").CustomTData>>(props: TableFooterProps<TData>) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { RowData } from '@tanstack/react-table';
3
3
  import { SelectableRowHeaderWrapperProps } from './selectable-row-header-wrapper.types';
4
- export declare const SelectableRowHeaderWrapper: <TData extends RowData<import("../../../..").CustomTData>>(props: React.PropsWithChildren<SelectableRowHeaderWrapperProps<TData>>) => JSX.Element;
4
+ export declare const SelectableRowHeaderWrapper: <TData extends RowData<import("../../../..").CustomTData>>(props: React.PropsWithChildren<SelectableRowHeaderWrapperProps<TData>>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableHeaderProps } from './table-header.types';
3
- export declare const TableHeader: <TData extends RowData<import("../..").CustomTData>>(props: TableHeaderProps<TData>) => JSX.Element;
4
+ export declare const TableHeader: <TData extends RowData<import("../..").CustomTData>>(props: TableHeaderProps<TData>) => React.JSX.Element;
@@ -12,6 +12,7 @@ export declare const getRowComponentProps: <TData extends RowData<import("../../
12
12
  suppressContentEditableWarning?: boolean | undefined;
13
13
  suppressHydrationWarning?: boolean | undefined;
14
14
  accessKey?: string | undefined;
15
+ autoFocus?: boolean | undefined;
15
16
  contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
16
17
  contextMenu?: string | undefined;
17
18
  dir?: string | undefined;
@@ -19,6 +20,7 @@ export declare const getRowComponentProps: <TData extends RowData<import("../../
19
20
  hidden?: boolean | undefined;
20
21
  id?: string | undefined;
21
22
  lang?: string | undefined;
23
+ nonce?: string | undefined;
22
24
  placeholder?: string | undefined;
23
25
  slot?: string | undefined;
24
26
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -29,11 +31,14 @@ export declare const getRowComponentProps: <TData extends RowData<import("../../
29
31
  radioGroup?: string | undefined;
30
32
  role?: import("react").AriaRole | undefined;
31
33
  about?: string | undefined;
34
+ content?: string | undefined;
32
35
  datatype?: string | undefined;
33
36
  inlist?: any;
34
37
  prefix?: string | undefined;
35
38
  property?: string | undefined;
39
+ rel?: string | undefined;
36
40
  resource?: string | undefined;
41
+ rev?: string | undefined;
37
42
  typeof?: string | undefined;
38
43
  vocab?: string | undefined;
39
44
  autoCapitalize?: string | undefined;
@@ -48,59 +53,59 @@ export declare const getRowComponentProps: <TData extends RowData<import("../../
48
53
  results?: number | undefined;
49
54
  security?: string | undefined;
50
55
  unselectable?: "off" | "on" | undefined;
51
- inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
56
+ inputMode?: "text" | "none" | "search" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
52
57
  is?: string | undefined;
53
58
  children?: import("react-i18next").ReactI18NextChild | Iterable<import("react-i18next").ReactI18NextChild>;
54
- 'aria-activedescendant'?: string | undefined;
55
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
56
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
57
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
58
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
59
- 'aria-colcount'?: number | undefined;
60
- 'aria-colindex'?: number | undefined;
61
- 'aria-colspan'?: number | undefined;
62
- 'aria-controls'?: string | undefined;
63
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
64
- 'aria-describedby'?: string | undefined;
65
- 'aria-details'?: string | undefined;
66
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
67
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
68
- 'aria-errormessage'?: string | undefined;
69
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
70
- 'aria-flowto'?: string | undefined;
71
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
72
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
73
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
74
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
75
- 'aria-keyshortcuts'?: string | undefined;
76
- 'aria-label'?: string | undefined;
77
- 'aria-labelledby'?: string | undefined;
78
- 'aria-level'?: number | undefined;
79
- 'aria-live'?: "off" | "assertive" | "polite" | undefined;
80
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
81
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
82
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
83
- 'aria-orientation'?: "horizontal" | "vertical" | undefined;
84
- 'aria-owns'?: string | undefined;
85
- 'aria-placeholder'?: string | undefined;
86
- 'aria-posinset'?: number | undefined;
87
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
88
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
89
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
90
- 'aria-required'?: (boolean | "true" | "false") | undefined;
91
- 'aria-roledescription'?: string | undefined;
92
- 'aria-rowcount'?: number | undefined;
93
- 'aria-rowindex'?: number | undefined;
94
- 'aria-rowspan'?: number | undefined;
95
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
96
- 'aria-setsize'?: number | undefined;
97
- 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
98
- 'aria-valuemax'?: number | undefined;
99
- 'aria-valuemin'?: number | undefined;
100
- 'aria-valuenow'?: number | undefined;
101
- 'aria-valuetext'?: string | undefined;
59
+ "aria-activedescendant"?: string | undefined;
60
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
61
+ "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
62
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
63
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
64
+ "aria-colcount"?: number | undefined;
65
+ "aria-colindex"?: number | undefined;
66
+ "aria-colspan"?: number | undefined;
67
+ "aria-controls"?: string | undefined;
68
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
69
+ "aria-describedby"?: string | undefined;
70
+ "aria-details"?: string | undefined;
71
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
72
+ "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
73
+ "aria-errormessage"?: string | undefined;
74
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
75
+ "aria-flowto"?: string | undefined;
76
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
77
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "true" | "false" | "listbox" | "tree" | undefined;
78
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
79
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
80
+ "aria-keyshortcuts"?: string | undefined;
81
+ "aria-label"?: string | undefined;
82
+ "aria-labelledby"?: string | undefined;
83
+ "aria-level"?: number | undefined;
84
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
85
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
86
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
87
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
88
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
89
+ "aria-owns"?: string | undefined;
90
+ "aria-placeholder"?: string | undefined;
91
+ "aria-posinset"?: number | undefined;
92
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
93
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
94
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
95
+ "aria-required"?: (boolean | "true" | "false") | undefined;
96
+ "aria-roledescription"?: string | undefined;
97
+ "aria-rowcount"?: number | undefined;
98
+ "aria-rowindex"?: number | undefined;
99
+ "aria-rowspan"?: number | undefined;
100
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
101
+ "aria-setsize"?: number | undefined;
102
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
103
+ "aria-valuemax"?: number | undefined;
104
+ "aria-valuemin"?: number | undefined;
105
+ "aria-valuenow"?: number | undefined;
106
+ "aria-valuetext"?: string | undefined;
102
107
  dangerouslySetInnerHTML?: {
103
- __html: string;
108
+ __html: string | TrustedHTML;
104
109
  } | undefined;
105
110
  onCopy?: import("react").ClipboardEventHandler<HTMLTableRowElement> | undefined;
106
111
  onCopyCapture?: import("react").ClipboardEventHandler<HTMLTableRowElement> | undefined;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableRowProps } from './table-row.types';
3
- export declare const TableRow: <TData extends RowData<import("../..").CustomTData>>(props: TableRowProps<TData>) => JSX.Element;
4
+ export declare const TableRow: <TData extends RowData<import("../..").CustomTData>>(props: TableRowProps<TData>) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import { RowData } from '@tanstack/react-table';
3
3
  import { SelectableRowCellWrapperProps } from './selectable-row-cell-wrapper.types';
4
- export declare const SelectableRowCellWrapper: <TData extends RowData<import("../../../..").CustomTData>>(props: React.PropsWithChildren<SelectableRowCellWrapperProps<TData>>) => JSX.Element;
4
+ export declare const SelectableRowCellWrapper: <TData extends RowData<import("../../../..").CustomTData>>(props: React.PropsWithChildren<SelectableRowCellWrapperProps<TData>>) => React.JSX.Element;
@@ -1 +1,2 @@
1
- export declare const StyledCheckboxCell: import("styled-components").StyledComponent<any, import("styled-components").DefaultTheme, any, any>;
1
+ /// <reference types="react" />
2
+ export declare const StyledCheckboxCell: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../../../cell/cell.types").CellProps & import("react").RefAttributes<import("../../../../../cell/cell.types").CellProps>>, import("styled-components").DefaultTheme, {}, never>;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableCellProps } from './table-cell.types';
3
- export declare const TableCell: <TData extends RowData<import("../../../..").CustomTData>>(props: TableCellProps<TData>) => JSX.Element;
4
+ export declare const TableCell: <TData extends RowData<import("../../../..").CustomTData>>(props: TableCellProps<TData>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableRowCellsProps } from './table-row-cells.types';
3
- export declare const TableRowCells: <TData extends RowData<import("../..").CustomTData>>(props: TableRowCellsProps<TData>) => JSX.Element;
4
+ export declare const TableRowCells: <TData extends RowData<import("../..").CustomTData>>(props: TableRowCellsProps<TData>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableRowOverlayProps } from './table-row-overlay.types';
3
- export declare const TableRowOverlay: <TData extends RowData<import("../..").CustomTData>>(props: TableRowOverlayProps<TData>) => JSX.Element;
4
+ export declare const TableRowOverlay: <TData extends RowData<import("../..").CustomTData>>(props: TableRowOverlayProps<TData>) => React.JSX.Element;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { RowData } from '@tanstack/react-table';
2
3
  import { TableProps } from './table.types';
3
4
  /**
@@ -6,6 +7,6 @@ import { TableProps } from './table.types';
6
7
  * Official docs: https://tanstack.com/table/v8/docs/guide/overview
7
8
  */
8
9
  export declare const Table: {
9
- <TData extends RowData<import("./table.types").CustomTData>>(props: TableProps<TData>): JSX.Element;
10
+ <TData extends RowData<import("./table.types").CustomTData>>(props: TableProps<TData>): React.JSX.Element;
10
11
  defaultProps: import("./table.types").TableDefaultProps;
11
12
  };
@@ -1,2 +1,2 @@
1
- import { PropsWithChildren } from 'react';
2
- export declare const RowSelectionProviders: ({ children, }: PropsWithChildren<Record<never, never>>) => JSX.Element;
1
+ import React, { PropsWithChildren } from 'react';
2
+ export declare const RowSelectionProviders: ({ children, }: PropsWithChildren<Record<never, never>>) => React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ import React from 'react';
1
2
  import { Meta } from '@storybook/react/types-6-0';
2
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
3
4
  export default _default;
4
- export declare const ColorsPalette: () => JSX.Element;
5
- export declare const ThemeColors: () => JSX.Element;
5
+ export declare const ColorsPalette: () => React.JSX.Element;
6
+ export declare const ThemeColors: () => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gantri-components",
3
- "version": "2.107.1",
3
+ "version": "2.107.2",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "umd": "dist/index.umd.js",
@@ -33,6 +33,10 @@
33
33
  "styled-components": "^5.3.5",
34
34
  "yup": "^0.32.11"
35
35
  },
36
+ "resolutions": {
37
+ "@types/react": "17.0.80",
38
+ "@types/react-dom": "17.0.25"
39
+ },
36
40
  "devDependencies": {
37
41
  "@axe-core/react": "^4.4.4",
38
42
  "@babel/core": "7.18.6",
@@ -74,7 +78,7 @@
74
78
  "@types/jest-axe": "^3.5.5",
75
79
  "@types/lodash.capitalize": "^4.2.7",
76
80
  "@types/lodash.isobject": "^3.0.6",
77
- "@types/react": "17.0.39",
81
+ "@types/react": "17.0.80",
78
82
  "@types/react-input-mask": "^3.0.1",
79
83
  "@types/styled-components": "^5.1.25",
80
84
  "@types/throttle-debounce": "^5.0.0",
@@ -133,7 +137,7 @@
133
137
  "@dnd-kit/utilities": "^3.2.1",
134
138
  "@tanstack/react-table": "^8.9.2",
135
139
  "@types/lodash": "^4.14.182",
136
- "@types/react-dom": "^17.0.17",
140
+ "@types/react-dom": "^17.0.25",
137
141
  "eslint-plugin-unused-imports": "^3.1.0",
138
142
  "formik": "^2.2.9",
139
143
  "intersection-observer": "^0.12.2",