gantri-components 2.149.2 → 2.151.0

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.
@@ -953,7 +953,7 @@ export declare const StyledColor: import("styled-components/dist/types").IStyled
953
953
  "aria-rowspan"?: number | undefined;
954
954
  "aria-selected"?: (boolean | "false" | "true") | undefined;
955
955
  "aria-setsize"?: number | undefined;
956
- "aria-sort"?: "none" | "other" | "ascending" | "descending" | undefined;
956
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
957
957
  "aria-valuemax"?: number | undefined;
958
958
  "aria-valuemin"?: number | undefined;
959
959
  "aria-valuenow"?: number | undefined;
@@ -103,7 +103,7 @@ export declare const getRowComponentProps: <TData extends RowData<import("../../
103
103
  "aria-rowspan"?: number | undefined;
104
104
  "aria-selected"?: (boolean | "false" | "true") | undefined;
105
105
  "aria-setsize"?: number | undefined;
106
- "aria-sort"?: "none" | "other" | "ascending" | "descending" | undefined;
106
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
107
107
  "aria-valuemax"?: number | undefined;
108
108
  "aria-valuemin"?: number | undefined;
109
109
  "aria-valuenow"?: number | undefined;
@@ -1,12 +1,17 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { TypographyProps } from '../../../typography';
3
+ export type TabLabelProps = Omit<TypographyProps, 'text' | 'tx' | 'txValues' | 'txComponents'>;
3
4
  export interface TabProps {
4
5
  Content?: ReactNode;
5
6
  className?: string;
6
7
  disabled?: boolean;
7
8
  icon?: JSX.Element;
8
9
  label?: string;
10
+ labelProps?: TabLabelProps;
9
11
  labelTx?: string;
10
12
  value: string | number;
13
+ /**
14
+ * @deprecated kept for backwards compatibility, use labelProps.variant instead
15
+ * */
11
16
  variant?: TypographyProps['variant'];
12
17
  }
@@ -3,7 +3,7 @@ import { CSSProperties, ReactEventHandler, VideoHTMLAttributes } from 'react';
3
3
  import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
4
4
  import { Optional } from '../../types/common';
5
5
  import { Color } from '../../styles';
6
- import { AspectRatio, ImageDimension } from '../image/image.types';
6
+ import { AspectRatio, ImageDimension, TransformationMode } from '../image/image.types';
7
7
  export interface VideoDefaultProps extends Pick<VideoHTMLAttributes<HTMLVideoElement>, 'autoPlay' | 'loop' | 'playsInline'> {
8
8
  muted: boolean;
9
9
  }
@@ -32,5 +32,6 @@ export interface VideoProps extends Partial<VideoDefaultProps>, Omit<VideoHTMLAt
32
32
  export interface VideoTransformations {
33
33
  aspectRatio?: Optional<ResolutionAwareProp<AspectRatio>>;
34
34
  height?: Optional<ResolutionAwareProp<number>>;
35
+ mode?: TransformationMode;
35
36
  width?: Optional<ResolutionAwareProp<number>>;
36
37
  }