gantri-components 2.110.0 → 2.111.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.
@@ -50,6 +50,12 @@ export interface ImageProps {
50
50
  *
51
51
  * q => quarter width
52
52
  *
53
+ * fh => desktop full width, tablet half width, mobile half width
54
+ *
55
+ * hf => desktop half width, tablet full width, mobile full width
56
+ *
57
+ * hf => desktop half width, tablet full width, mobile full width
58
+ *
53
59
  * ffh => desktop full width, tablet full width, mobile half width
54
60
  *
55
61
  * hff => desktop half width, tablet full width, mobile full width
@@ -1,6 +1,6 @@
1
1
  import { Property } from 'csstype';
2
2
  import { DefaultTheme } from 'styled-components';
3
- import { AriaAttributes, CSSProperties } from 'react';
3
+ import { AriaAttributes, CSSProperties, ReactElement } from 'react';
4
4
  import { ResolutionAwareProp } from '../../types/resolution-aware-prop.type';
5
5
  import { ElementSpacingProps } from '../box/box.types';
6
6
  export type TypographyColor = keyof DefaultTheme['colors']['typography'];
@@ -30,6 +30,9 @@ export interface TypographyProps extends Partial<TypographyDefaultProps>, AriaAt
30
30
  textStyle?: TextStyle;
31
31
  transform?: Property.TextTransform;
32
32
  tx?: string;
33
+ txComponents?: readonly ReactElement[] | {
34
+ readonly [tagName: string]: ReactElement;
35
+ };
33
36
  txValues?: Record<string, unknown>;
34
37
  /** @deprecated
35
38
  * use `htmlTag` instead