@automattic/jetpack-components 1.1.7 → 1.1.8

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 (189) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/build/components/action-button/index.d.ts +2 -3
  3. package/build/components/action-button/index.js +1 -8
  4. package/build/components/action-popover/types.d.ts +4 -3
  5. package/build/components/admin-page/index.d.ts +3 -3
  6. package/build/components/admin-page/index.js +1 -1
  7. package/build/components/admin-page/types.d.ts +3 -2
  8. package/build/components/admin-section/basic/index.d.ts +3 -3
  9. package/build/components/admin-section/basic/index.js +1 -1
  10. package/build/components/admin-section/hero/index.d.ts +3 -3
  11. package/build/components/admin-section/hero/index.js +1 -1
  12. package/build/components/admin-section/types.d.ts +2 -1
  13. package/build/components/alert/index.d.ts +9 -9
  14. package/build/components/alert/index.js +7 -7
  15. package/build/components/automattic-byline-logo/index.d.ts +3 -3
  16. package/build/components/automattic-byline-logo/index.js +1 -1
  17. package/build/components/automattic-byline-logo/types.d.ts +2 -2
  18. package/build/components/automattic-for-agencies-logo/index.d.ts +3 -3
  19. package/build/components/automattic-for-agencies-logo/index.js +1 -1
  20. package/build/components/automattic-icon-logo/index.d.ts +3 -3
  21. package/build/components/automattic-icon-logo/index.js +1 -1
  22. package/build/components/badge/index.d.ts +4 -4
  23. package/build/components/badge/index.js +1 -1
  24. package/build/components/boost-score-graph/index.d.ts +2 -2
  25. package/build/components/boost-score-graph/index.js +1 -1
  26. package/build/components/boost-score-graph/uplot-line-chart.d.ts +3 -3
  27. package/build/components/boost-score-graph/uplot-line-chart.js +1 -1
  28. package/build/components/boost-score-graph/use-resize.d.ts +4 -4
  29. package/build/components/boost-score-graph/use-resize.js +2 -2
  30. package/build/components/button/index.d.ts +2 -3
  31. package/build/components/button/index.js +1 -7
  32. package/build/components/button/types.d.ts +4 -4
  33. package/build/components/chip/index.d.ts +3 -3
  34. package/build/components/chip/index.js +1 -1
  35. package/build/components/contextual-upgrade-trigger/index.d.ts +2 -2
  36. package/build/components/copy-to-clipboard/index.d.ts +2 -2
  37. package/build/components/decorative-card/index.d.ts +3 -3
  38. package/build/components/decorative-card/index.js +2 -2
  39. package/build/components/dialog/index.d.ts +10 -10
  40. package/build/components/dialog/index.js +6 -6
  41. package/build/components/donut-meter/index.d.ts +3 -3
  42. package/build/components/donut-meter/index.js +1 -1
  43. package/build/components/icon-tooltip/index.d.ts +3 -3
  44. package/build/components/icon-tooltip/index.js +1 -1
  45. package/build/components/icon-tooltip/types.d.ts +2 -1
  46. package/build/components/icons/index.d.ts +51 -51
  47. package/build/components/icons/index.js +4 -4
  48. package/build/components/icons/types.d.ts +2 -2
  49. package/build/components/indeterminate-progress-bar/index.d.ts +3 -3
  50. package/build/components/indeterminate-progress-bar/index.js +1 -1
  51. package/build/components/jetpack-footer/index.d.ts +3 -3
  52. package/build/components/jetpack-footer/index.js +1 -1
  53. package/build/components/jetpack-logo/index.d.ts +2 -2
  54. package/build/components/jetpack-protect-logo/index.d.ts +2 -2
  55. package/build/components/jetpack-search-logo/index.d.ts +2 -2
  56. package/build/components/jetpack-vaultpress-backup-logo/index.d.ts +2 -2
  57. package/build/components/jetpack-videopress-logo/index.d.ts +2 -2
  58. package/build/components/layout/col/index.d.ts +3 -3
  59. package/build/components/layout/col/index.js +1 -1
  60. package/build/components/layout/container/index.d.ts +1 -2
  61. package/build/components/layout/container/index.js +3 -3
  62. package/build/components/layout/types.d.ts +3 -2
  63. package/build/components/loading-placeholder/index.d.ts +2 -2
  64. package/build/components/notice/index.d.ts +12 -12
  65. package/build/components/notice/index.js +8 -8
  66. package/build/components/number-slider/index.d.ts +3 -3
  67. package/build/components/number-slider/index.js +3 -3
  68. package/build/components/number-slider/types.d.ts +2 -2
  69. package/build/components/popover/index.d.ts +5 -4
  70. package/build/components/pricing-card/index.d.ts +3 -3
  71. package/build/components/pricing-card/index.js +1 -1
  72. package/build/components/pricing-card/types.d.ts +6 -6
  73. package/build/components/pricing-table/index.d.ts +5 -5
  74. package/build/components/pricing-table/types.d.ts +7 -6
  75. package/build/components/product-offer/icons-card.d.ts +3 -3
  76. package/build/components/product-offer/icons-card.js +1 -1
  77. package/build/components/product-offer/index.d.ts +3 -3
  78. package/build/components/product-offer/index.js +1 -1
  79. package/build/components/product-offer/product-offer-header.d.ts +3 -3
  80. package/build/components/product-offer/product-offer-header.js +1 -1
  81. package/build/components/product-offer/types.d.ts +2 -1
  82. package/build/components/product-price/index.d.ts +3 -3
  83. package/build/components/product-price/index.js +1 -1
  84. package/build/components/product-price/price.d.ts +3 -3
  85. package/build/components/product-price/price.js +1 -1
  86. package/build/components/product-price/types.d.ts +2 -1
  87. package/build/components/progress-bar/index.d.ts +3 -3
  88. package/build/components/progress-bar/index.js +1 -1
  89. package/build/components/qr-code/index.d.ts +5 -5
  90. package/build/components/qr-code/index.js +1 -1
  91. package/build/components/radio-control/index.d.ts +4 -3
  92. package/build/components/record-meter-bar/index.d.ts +3 -3
  93. package/build/components/record-meter-bar/index.js +1 -1
  94. package/build/components/spinner/index.js +0 -1
  95. package/build/components/split-button/index.d.ts +2 -2
  96. package/build/components/split-button/types.d.ts +3 -5
  97. package/build/components/stat-card/index.d.ts +1 -1
  98. package/build/components/stat-card/index.js +1 -1
  99. package/build/components/stat-card/types.d.ts +2 -1
  100. package/build/components/status/index.d.ts +2 -1
  101. package/build/components/swipeable/index.js +1 -1
  102. package/build/components/terms-of-service/index.d.ts +2 -1
  103. package/build/components/text/index.d.ts +9 -9
  104. package/build/components/text/index.js +4 -4
  105. package/build/components/text/types.d.ts +5 -5
  106. package/build/components/theme-provider/index.d.ts +3 -3
  107. package/build/components/theme-provider/index.js +1 -1
  108. package/build/components/theme-provider/types.d.ts +2 -1
  109. package/build/components/toggle-control/index.d.ts +4 -3
  110. package/build/components/upsell-banner/index.d.ts +3 -3
  111. package/build/components/upsell-banner/index.js +1 -1
  112. package/components/action-button/index.jsx +1 -8
  113. package/components/action-popover/index.tsx +0 -1
  114. package/components/action-popover/types.ts +4 -3
  115. package/components/admin-page/index.tsx +3 -3
  116. package/components/admin-page/types.ts +3 -2
  117. package/components/admin-section/basic/index.tsx +3 -3
  118. package/components/admin-section/hero/index.tsx +3 -3
  119. package/components/admin-section/types.ts +3 -1
  120. package/components/alert/index.tsx +9 -14
  121. package/components/automattic-byline-logo/index.tsx +3 -3
  122. package/components/automattic-byline-logo/types.ts +2 -2
  123. package/components/automattic-for-agencies-logo/index.tsx +3 -3
  124. package/components/automattic-icon-logo/index.tsx +3 -3
  125. package/components/badge/index.tsx +4 -4
  126. package/components/boost-score-graph/index.tsx +2 -2
  127. package/components/boost-score-graph/uplot-line-chart.tsx +5 -4
  128. package/components/boost-score-graph/use-resize.ts +6 -5
  129. package/components/button/index.tsx +3 -8
  130. package/components/button/types.ts +4 -4
  131. package/components/chip/index.tsx +3 -3
  132. package/components/contextual-upgrade-trigger/index.tsx +2 -2
  133. package/components/copy-to-clipboard/index.tsx +4 -4
  134. package/components/decorative-card/index.tsx +3 -7
  135. package/components/details-viewer/index.tsx +0 -1
  136. package/components/dialog/index.tsx +10 -10
  137. package/components/donut-meter/index.tsx +3 -3
  138. package/components/dot-pager/index.tsx +1 -1
  139. package/components/icon-tooltip/index.tsx +3 -3
  140. package/components/icon-tooltip/types.ts +3 -1
  141. package/components/icons/index.tsx +23 -32
  142. package/components/icons/types.ts +2 -2
  143. package/components/indeterminate-progress-bar/index.tsx +3 -3
  144. package/components/jetpack-footer/index.tsx +5 -5
  145. package/components/jetpack-logo/index.tsx +2 -2
  146. package/components/jetpack-protect-logo/index.tsx +2 -2
  147. package/components/jetpack-search-logo/index.tsx +2 -2
  148. package/components/jetpack-vaultpress-backup-logo/index.tsx +2 -2
  149. package/components/jetpack-videopress-logo/index.tsx +2 -2
  150. package/components/layout/col/index.tsx +3 -3
  151. package/components/layout/container/index.tsx +6 -6
  152. package/components/layout/types.ts +4 -2
  153. package/components/loading-placeholder/index.tsx +2 -2
  154. package/components/notice/index.tsx +12 -12
  155. package/components/number-slider/index.tsx +6 -5
  156. package/components/number-slider/types.ts +2 -2
  157. package/components/popover/index.tsx +5 -4
  158. package/components/pricing-card/index.tsx +3 -3
  159. package/components/pricing-card/types.ts +6 -6
  160. package/components/pricing-table/index.tsx +6 -5
  161. package/components/pricing-table/types.ts +7 -6
  162. package/components/product-offer/icons-card.tsx +4 -3
  163. package/components/product-offer/index.tsx +3 -3
  164. package/components/product-offer/product-offer-header.tsx +3 -3
  165. package/components/product-offer/types.ts +2 -1
  166. package/components/product-price/index.tsx +3 -3
  167. package/components/product-price/price.tsx +3 -3
  168. package/components/product-price/types.ts +3 -1
  169. package/components/progress-bar/index.tsx +3 -3
  170. package/components/qr-code/index.tsx +5 -5
  171. package/components/radio-control/index.tsx +4 -3
  172. package/components/record-meter-bar/index.tsx +4 -3
  173. package/components/spinner/README.md +2 -2
  174. package/components/spinner/index.jsx +0 -1
  175. package/components/split-button/index.tsx +2 -2
  176. package/components/split-button/types.ts +3 -5
  177. package/components/stat-card/index.tsx +2 -2
  178. package/components/stat-card/types.ts +3 -1
  179. package/components/status/index.tsx +2 -1
  180. package/components/swipeable/index.tsx +4 -3
  181. package/components/terms-of-service/index.tsx +3 -2
  182. package/components/text/index.tsx +9 -12
  183. package/components/text/types.ts +4 -4
  184. package/components/theme-provider/index.tsx +4 -3
  185. package/components/theme-provider/types.ts +3 -1
  186. package/components/toggle-control/index.tsx +4 -3
  187. package/components/upsell-banner/index.tsx +3 -3
  188. package/components/zendesk-chat/README.md +0 -1
  189. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
- import React from 'react';
1
+ import type { ReactNode, FC } from 'react';
2
2
  type DialogProps = {
3
- primary: React.ReactNode;
4
- secondary?: React.ReactNode;
3
+ primary: ReactNode;
4
+ secondary?: ReactNode;
5
5
  isTwoSections?: boolean;
6
6
  isCard?: boolean;
7
7
  containerProps: object;
@@ -9,12 +9,12 @@ type DialogProps = {
9
9
  /**
10
10
  * Dialog component.
11
11
  *
12
- * @param {object} props - React component props.
13
- * @param {React.ReactNode} props.primary - Primary-section content.
14
- * @param {React.ReactNode} props.secondary - Secondary-section content.
15
- * @param {boolean} props.isTwoSections - Handle two sections layout when true.
16
- * @param {object} props.containerProps - Props to pass to the container component.
17
- * @return {React.ReactNode} Rendered dialog
12
+ * @param {object} props - React component props.
13
+ * @param {ReactNode} props.primary - Primary-section content.
14
+ * @param {ReactNode} props.secondary - Secondary-section content.
15
+ * @param {boolean} props.isTwoSections - Handle two sections layout when true.
16
+ * @param {object} props.containerProps - Props to pass to the container component.
17
+ * @return {ReactNode} Rendered dialog
18
18
  */
19
- declare const Dialog: React.FC<DialogProps>;
19
+ declare const Dialog: FC<DialogProps>;
20
20
  export default Dialog;
@@ -7,12 +7,12 @@ import styles from './style.module.scss';
7
7
  /**
8
8
  * Dialog component.
9
9
  *
10
- * @param {object} props - React component props.
11
- * @param {React.ReactNode} props.primary - Primary-section content.
12
- * @param {React.ReactNode} props.secondary - Secondary-section content.
13
- * @param {boolean} props.isTwoSections - Handle two sections layout when true.
14
- * @param {object} props.containerProps - Props to pass to the container component.
15
- * @return {React.ReactNode} Rendered dialog
10
+ * @param {object} props - React component props.
11
+ * @param {ReactNode} props.primary - Primary-section content.
12
+ * @param {ReactNode} props.secondary - Secondary-section content.
13
+ * @param {boolean} props.isTwoSections - Handle two sections layout when true.
14
+ * @param {object} props.containerProps - Props to pass to the container component.
15
+ * @return {ReactNode} Rendered dialog
16
16
  */
17
17
  const Dialog = ({ primary, secondary, isTwoSections = false, ...containerProps }) => {
18
18
  const [isSmall, isLowerThanLarge] = useBreakpointMatch(['sm', 'lg'], [null, '<']);
@@ -1,5 +1,5 @@
1
- import React from 'react';
2
1
  import './style.scss';
2
+ import type { FC } from 'react';
3
3
  export type DonutMeterProps = {
4
4
  /**
5
5
  * Total number of items for the donut meter.
@@ -52,7 +52,7 @@ export type DonutMeterProps = {
52
52
  * Generate record meter donut bar
53
53
  *
54
54
  * @param {DonutMeterProps} props - Props
55
- * @return {React.ReactElement} - JSX element
55
+ * @return {ReactElement} - JSX element
56
56
  */
57
- declare const DonutMeter: React.FC<DonutMeterProps>;
57
+ declare const DonutMeter: FC<DonutMeterProps>;
58
58
  export default DonutMeter;
@@ -13,7 +13,7 @@ const getAdaptiveType = (percentage) => {
13
13
  * Generate record meter donut bar
14
14
  *
15
15
  * @param {DonutMeterProps} props - Props
16
- * @return {React.ReactElement} - JSX element
16
+ * @return {ReactElement} - JSX element
17
17
  */
18
18
  const DonutMeter = ({ className = '', description = '', donutWidth = '64px', segmentCount, thickness = '3.5', title = '', totalCount, type, useAdaptiveColors, }) => {
19
19
  const validDivisor = totalCount === 0 ? 1 : totalCount;
@@ -1,11 +1,11 @@
1
- import React from 'react';
1
+ import { FC } from 'react';
2
2
  import { IconTooltipProps } from './types.ts';
3
3
  import './style.scss';
4
4
  /**
5
5
  * Generate Icon Tooltip
6
6
  *
7
7
  * @param {IconTooltipProps} props - Props
8
- * @return {React.ReactElement} - JSX element
8
+ * @return {ReactElement} - JSX element
9
9
  */
10
- declare const IconTooltip: React.FC<IconTooltipProps>;
10
+ declare const IconTooltip: FC<IconTooltipProps>;
11
11
  export default IconTooltip;
@@ -20,7 +20,7 @@ const placementsToPositions = (placement) => {
20
20
  * Generate Icon Tooltip
21
21
  *
22
22
  * @param {IconTooltipProps} props - Props
23
- * @return {React.ReactElement} - JSX element
23
+ * @return {ReactElement} - JSX element
24
24
  */
25
25
  const IconTooltip = ({ className = '', iconClassName = '', placement = 'bottom-end', animate = true, iconCode = 'info-outline', iconSize = 18, offset = 10, title, children, popoverAnchorStyle = 'icon', forceShow = false, hoverShow = false, wide = false, inline = true, shift = false, }) => {
26
26
  const POPOVER_HELPER_WIDTH = 124;
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  export type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end';
2
3
  export type Position = 'top left' | 'top center' | 'top right' | 'bottom left' | 'bottom center' | 'bottom right';
3
4
  export type IconTooltipProps = {
@@ -32,7 +33,7 @@ export type IconTooltipProps = {
32
33
  /**
33
34
  * The main body content of Popover.
34
35
  */
35
- children?: React.ReactNode;
36
+ children?: ReactNode;
36
37
  /**
37
38
  * The icon square width and height size (in px) also calculate the Popover shift.
38
39
  */
@@ -1,56 +1,56 @@
1
1
  import { SocialLogo } from 'social-logos';
2
2
  import { BaseIconProps } from './types.ts';
3
- import type React from 'react';
4
- export declare const AntiSpamIcon: React.FC<BaseIconProps>;
5
- export declare const BackupIcon: React.FC<BaseIconProps>;
6
- export declare const BoostIcon: React.FC<BaseIconProps>;
7
- export declare const CrmIcon: React.FC<BaseIconProps>;
8
- export declare const ExtrasIcon: React.FC<BaseIconProps>;
9
- export declare const ProtectIcon: React.FC<BaseIconProps>;
10
- export declare const ScanIcon: React.FC<BaseIconProps>;
11
- export declare const SearchIcon: React.FC<BaseIconProps>;
12
- export declare const SocialIcon: React.FC<BaseIconProps>;
13
- export declare const VideopressIcon: React.FC<BaseIconProps>;
14
- export declare const StarIcon: React.FC<BaseIconProps>;
15
- export declare const CheckmarkIcon: React.FC<BaseIconProps>;
16
- export declare const ClipboardIcon: React.FC<BaseIconProps>;
17
- export declare const JetpackIcon: React.FC<BaseIconProps>;
18
- export declare const ShareIcon: React.FC<BaseIconProps>;
19
- export declare const AiIcon: React.FC<BaseIconProps>;
20
- export declare const StatsIcon: React.FC<BaseIconProps>;
3
+ import type { ComponentProps, FC } from 'react';
4
+ export declare const AntiSpamIcon: FC<BaseIconProps>;
5
+ export declare const BackupIcon: FC<BaseIconProps>;
6
+ export declare const BoostIcon: FC<BaseIconProps>;
7
+ export declare const CrmIcon: FC<BaseIconProps>;
8
+ export declare const ExtrasIcon: FC<BaseIconProps>;
9
+ export declare const ProtectIcon: FC<BaseIconProps>;
10
+ export declare const ScanIcon: FC<BaseIconProps>;
11
+ export declare const SearchIcon: FC<BaseIconProps>;
12
+ export declare const SocialIcon: FC<BaseIconProps>;
13
+ export declare const VideopressIcon: FC<BaseIconProps>;
14
+ export declare const StarIcon: FC<BaseIconProps>;
15
+ export declare const CheckmarkIcon: FC<BaseIconProps>;
16
+ export declare const ClipboardIcon: FC<BaseIconProps>;
17
+ export declare const JetpackIcon: FC<BaseIconProps>;
18
+ export declare const ShareIcon: FC<BaseIconProps>;
19
+ export declare const AiIcon: FC<BaseIconProps>;
20
+ export declare const StatsIcon: FC<BaseIconProps>;
21
21
  declare const jetpackIcons: {
22
- 'anti-spam': React.FC<BaseIconProps>;
23
- backup: React.FC<BaseIconProps>;
24
- boost: React.FC<BaseIconProps>;
25
- crm: React.FC<BaseIconProps>;
26
- extras: React.FC<BaseIconProps>;
27
- protect: React.FC<BaseIconProps>;
28
- scan: React.FC<BaseIconProps>;
29
- search: React.FC<BaseIconProps>;
30
- social: React.FC<BaseIconProps>;
31
- star: React.FC<BaseIconProps>;
32
- videopress: React.FC<BaseIconProps>;
33
- jetpack: React.FC<BaseIconProps>;
34
- share: React.FC<BaseIconProps>;
35
- ai: React.FC<BaseIconProps>;
36
- stats: React.FC<BaseIconProps>;
22
+ 'anti-spam': FC<BaseIconProps>;
23
+ backup: FC<BaseIconProps>;
24
+ boost: FC<BaseIconProps>;
25
+ crm: FC<BaseIconProps>;
26
+ extras: FC<BaseIconProps>;
27
+ protect: FC<BaseIconProps>;
28
+ scan: FC<BaseIconProps>;
29
+ search: FC<BaseIconProps>;
30
+ social: FC<BaseIconProps>;
31
+ star: FC<BaseIconProps>;
32
+ videopress: FC<BaseIconProps>;
33
+ jetpack: FC<BaseIconProps>;
34
+ share: FC<BaseIconProps>;
35
+ ai: FC<BaseIconProps>;
36
+ stats: FC<BaseIconProps>;
37
37
  };
38
38
  declare const iconsMap: {
39
- 'anti-spam': React.FC<BaseIconProps>;
40
- backup: React.FC<BaseIconProps>;
41
- boost: React.FC<BaseIconProps>;
42
- crm: React.FC<BaseIconProps>;
43
- extras: React.FC<BaseIconProps>;
44
- protect: React.FC<BaseIconProps>;
45
- scan: React.FC<BaseIconProps>;
46
- search: React.FC<BaseIconProps>;
47
- social: React.FC<BaseIconProps>;
48
- star: React.FC<BaseIconProps>;
49
- videopress: React.FC<BaseIconProps>;
50
- jetpack: React.FC<BaseIconProps>;
51
- share: React.FC<BaseIconProps>;
52
- ai: React.FC<BaseIconProps>;
53
- stats: React.FC<BaseIconProps>;
39
+ 'anti-spam': FC<BaseIconProps>;
40
+ backup: FC<BaseIconProps>;
41
+ boost: FC<BaseIconProps>;
42
+ crm: FC<BaseIconProps>;
43
+ extras: FC<BaseIconProps>;
44
+ protect: FC<BaseIconProps>;
45
+ scan: FC<BaseIconProps>;
46
+ search: FC<BaseIconProps>;
47
+ social: FC<BaseIconProps>;
48
+ star: FC<BaseIconProps>;
49
+ videopress: FC<BaseIconProps>;
50
+ jetpack: FC<BaseIconProps>;
51
+ share: FC<BaseIconProps>;
52
+ ai: FC<BaseIconProps>;
53
+ stats: FC<BaseIconProps>;
54
54
  };
55
55
  export type JetpackIconSlug = keyof typeof jetpackIcons;
56
56
  export type IconsMap = typeof iconsMap;
@@ -59,11 +59,11 @@ export type IconSlug = keyof IconsMap;
59
59
  * Return icon component by slug.
60
60
  *
61
61
  * @param {string} slug - Icon slug.
62
- * @return {React.ComponentType<BaseIconProps>} Icon component.
62
+ * @return {ComponentType<BaseIconProps>} Icon component.
63
63
  */
64
64
  export declare function getIconBySlug<Slug extends IconSlug>(slug: Slug): IconsMap[Slug];
65
- export declare const SocialServiceIcon: React.FC<{
66
- serviceName: React.ComponentProps<typeof SocialLogo>['icon'];
65
+ export declare const SocialServiceIcon: FC<{
66
+ serviceName: ComponentProps<typeof SocialLogo>['icon'];
67
67
  className?: string;
68
68
  iconSize?: number;
69
69
  }>;
@@ -7,7 +7,7 @@ import styles from './style.module.scss';
7
7
  * Icon Wrapper component.
8
8
  *
9
9
  * @param {BaseIconProps} props - Component props.
10
- * @return {React.ReactNode} Icon Wrapper component.
10
+ * @return {ReactNode} Icon Wrapper component.
11
11
  */
12
12
  const IconWrapper = ({ className, size = 24, viewBox = '0 0 24 24', opacity = 1, color = '#2C3338', children, }) => {
13
13
  const iconProps = {
@@ -28,7 +28,7 @@ export const BackupIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, {
28
28
  export const BoostIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, { size: size, opacity: opacity, color: color, children: _jsx(Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M4.19505 16.2545C4.47368 16.561 4.94802 16.5836 5.25451 16.3049L10.2595 11.7549L14.2842 15.2765L19 10.5607V13.75H20.5V9.5V8.75239V8.7476V8H19.7529H19.7471H19H14.75V9.5H17.9393L14.2158 13.2235L10.2405 9.74507L4.2455 15.195C3.93901 15.4737 3.91642 15.948 4.19505 16.2545Z" }) }));
29
29
  export const CrmIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, { size: size, opacity: opacity, color: color, children: _jsx(Path, { d: "M15.5 9.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Zm0 1.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Zm-2.25 6v-2a2.75 2.75 0 0 0-2.75-2.75h-4A2.75 2.75 0 0 0 3.75 15v2h1.5v-2c0-.69.56-1.25 1.25-1.25h4c.69 0 1.25.56 1.25 1.25v2h1.5Zm7-2v2h-1.5v-2c0-.69-.56-1.25-1.25-1.25H15v-1.5h2.5A2.75 2.75 0 0 1 20.25 15ZM9.5 8.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0Z" }) }));
30
30
  export const ExtrasIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, { size: size, opacity: opacity, color: color, children: _jsx(Path, { d: "M18.5 5.5V8H20V5.5h2.5V4H20V1.5h-1.5V4H16v1.5h2.5ZM12 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-6h-1.5v6a.5.5 0 0 1-.5.5H6a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h6V4Z" }) }));
31
- export const ProtectIcon = ({ opacity = 1, size, className, color, }) => (_jsxs(IconWrapper, { className: className, size: size, opacity: opacity, color: color, children: [_jsx(Path, { d: "M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z" }), _jsx(Path, { d: "M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z" })] }));
31
+ export const ProtectIcon = ({ opacity = 1, size, className, color }) => (_jsxs(IconWrapper, { className: className, size: size, opacity: opacity, color: color, children: [_jsx(Path, { d: "M12 3.17627L18.75 6.24445V10.8183C18.75 14.7173 16.2458 18.4089 12.7147 19.5735C12.2507 19.7265 11.7493 19.7265 11.2853 19.5735C7.75416 18.4089 5.25 14.7173 5.25 10.8183V6.24445L12 3.17627ZM6.75 7.21032V10.8183C6.75 14.1312 8.89514 17.2057 11.7551 18.149C11.914 18.2014 12.086 18.2014 12.2449 18.149C15.1049 17.2057 17.25 14.1312 17.25 10.8183V7.21032L12 4.82396L6.75 7.21032Z" }), _jsx(Path, { d: "M15.5291 10.0315L11.1818 14.358L8.47095 11.66L9.52907 10.5968L11.1818 12.2417L14.4709 8.96826L15.5291 10.0315Z" })] }));
32
32
  export const ScanIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, { size: size, opacity: opacity, color: color, children: _jsx(Path, { d: "m12 3.176 6.75 3.068v4.574c0 3.9-2.504 7.59-6.035 8.755a2.283 2.283 0 0 1-1.43 0c-3.53-1.164-6.035-4.856-6.035-8.755V6.244L12 3.176ZM6.75 7.21v3.608c0 3.313 2.145 6.388 5.005 7.33.159.053.331.053.49 0 2.86-.942 5.005-4.017 5.005-7.33V7.21L12 4.824 6.75 7.21Z" }) }));
33
33
  export const SearchIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, { size: size, opacity: opacity, color: color, children: _jsx(Path, { d: "M17.5 11.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0Zm1.5 0a5.5 5.5 0 0 1-9.142 4.121l-3.364 2.943-.988-1.128 3.373-2.952A5.5 5.5 0 1 1 19 11.5Z" }) }));
34
34
  export const SocialIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrapper, { size: size, opacity: opacity, color: color, children: _jsx(Path, { d: "M15.5 3.97809V18.0219L7.5 15.5977V20H6V15.1431L3.27498 14.3173C2.22086 13.9979 1.5 13.0262 1.5 11.9248V10.0752C1.5 8.97375 2.22087 8.00207 3.27498 7.68264L15.5 3.97809ZM14 16L7.5 14.0303L7.5 7.96969L14 5.99999V16ZM6 8.42423L6 13.5757L3.70999 12.8818C3.28835 12.754 3 12.3654 3 11.9248V10.0752C3 9.63462 3.28835 9.24595 3.70999 9.11818L6 8.42423ZM17.5 11.75H21.5V10.25H17.5V11.75ZM21.5 16L17.5 15V13.5L21.5 14.5V16ZM17.5 8.5L21.5 7.5V6L17.5 7V8.5Z" }) }));
@@ -36,7 +36,7 @@ export const VideopressIcon = ({ opacity = 1, size, color }) => (_jsx(IconWrappe
36
36
  export const StarIcon = ({ size, className = styles['star-icon'], color, }) => (_jsx(IconWrapper, { className: className, size: size, color: color, children: _jsx(Path, { d: "M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304" }) }));
37
37
  export const CheckmarkIcon = ({ size, className = styles['checkmark-icon'], color, }) => (_jsx(IconWrapper, { className: className, size: size, color: color, children: _jsx(Path, { d: "M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658C17.823 3.39 15.075 2 12 2 6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10c0-1.528-.353-2.97-.966-4.266L11 17.768z" }) }));
38
38
  export const ClipboardIcon = ({ size, className = styles['clipboard-icon'], color, }) => (_jsx(IconWrapper, { className: className, size: size, color: color, children: _jsx(Path, { d: "M5.625 5.5H15.375C15.444 5.5 15.5 5.55596 15.5 5.625V15.375C15.5 15.444 15.444 15.5 15.375 15.5H5.625C5.55596 15.5 5.5 15.444 5.5 15.375V5.625C5.5 5.55596 5.55596 5.5 5.625 5.5ZM4 5.625C4 4.72754 4.72754 4 5.625 4H15.375C16.2725 4 17 4.72754 17 5.625V10V15.375C17 16.2725 16.2725 17 15.375 17C15.375 17 6.52246 17 5.625 17C4.72754 17 4 16.2725 4 15.375V5.625ZM18.5 17.2812V8.28125H20V17.2812C20 18.7995 18.7704 20 17.2511 20H6.25V18.5H17.2511C17.9409 18.5 18.5 17.9721 18.5 17.2812Z" }) }));
39
- export const JetpackIcon = ({ size, className = styles.jetpack, color, }) => {
39
+ export const JetpackIcon = ({ size, className = styles.jetpack, color }) => {
40
40
  return (_jsxs(IconWrapper, { className: className, size: size, color: color, viewBox: "0 0 32 32", children: [_jsx(Path, { className: "jetpack-logo__icon-circle", d: "M16,0C7.2,0,0,7.2,0,16s7.2,16,16,16s16-7.2,16-16S24.8,0,16,0z" }), _jsx(Polygon, { fill: "#fff", points: "15,19 7,19 15,3" }), _jsx(Polygon, { fill: "#fff", points: "17,29 17,13 25,13" })] }));
41
41
  };
42
42
  export const ShareIcon = ({ size = 16, className, color }) => {
@@ -73,7 +73,7 @@ const iconsMap = {
73
73
  * Return icon component by slug.
74
74
  *
75
75
  * @param {string} slug - Icon slug.
76
- * @return {React.ComponentType<BaseIconProps>} Icon component.
76
+ * @return {ComponentType<BaseIconProps>} Icon component.
77
77
  */
78
78
  export function getIconBySlug(slug) {
79
79
  if (!iconsMap[slug]) {
@@ -1,4 +1,4 @@
1
- import type React from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  export type BaseIconProps = {
3
3
  /**
4
4
  * Icon size.
@@ -15,7 +15,7 @@ export type BaseIconProps = {
15
15
  /**
16
16
  * Icon component children.
17
17
  */
18
- children?: React.ReactNode;
18
+ children?: ReactNode;
19
19
  /**
20
20
  * Icon class name. Optional.
21
21
  */
@@ -1,10 +1,10 @@
1
1
  import { IndeterminateProgressBarProps } from './types.ts';
2
- import type React from 'react';
2
+ import type { FC } from 'react';
3
3
  /**
4
4
  * Indeterminate Progress Bar component
5
5
  *
6
6
  * @param {IndeterminateProgressBarProps} props - Component props.
7
- * @return {React.ReactNode} - IndeterminateProgressBar react component.
7
+ * @return {ReactNode} - IndeterminateProgressBar react component.
8
8
  */
9
- declare const IndeterminateProgressBar: React.FC<IndeterminateProgressBarProps>;
9
+ declare const IndeterminateProgressBar: FC<IndeterminateProgressBarProps>;
10
10
  export default IndeterminateProgressBar;
@@ -12,7 +12,7 @@ import styles from './style.module.scss';
12
12
  * Indeterminate Progress Bar component
13
13
  *
14
14
  * @param {IndeterminateProgressBarProps} props - Component props.
15
- * @return {React.ReactNode} - IndeterminateProgressBar react component.
15
+ * @return {ReactNode} - IndeterminateProgressBar react component.
16
16
  */
17
17
  const IndeterminateProgressBar = ({ className }) => {
18
18
  return (_jsx("div", { className: clsx(className, styles['indeterminate-progress-bar']), "aria-label": __('Indeterminate Progress Bar', 'jetpack-components') }));
@@ -1,11 +1,11 @@
1
- import React from 'react';
2
1
  import './style.scss';
3
2
  import type { JetpackFooterProps } from './types.ts';
3
+ import type { FC } from 'react';
4
4
  /**
5
5
  * JetpackFooter component displays a tiny Jetpack logo with the product name on the left and the Automattic Airline "by line" on the right.
6
6
  *
7
7
  * @param {JetpackFooterProps} props - Component properties.
8
- * @return {React.ReactNode} JetpackFooter component.
8
+ * @return {ReactNode} JetpackFooter component.
9
9
  */
10
- declare const JetpackFooter: React.FC<JetpackFooterProps>;
10
+ declare const JetpackFooter: FC<JetpackFooterProps>;
11
11
  export default JetpackFooter;
@@ -16,7 +16,7 @@ const ExternalIcon = () => (_jsxs(_Fragment, { children: [_jsx(Icon, { icon: ext
16
16
  * JetpackFooter component displays a tiny Jetpack logo with the product name on the left and the Automattic Airline "by line" on the right.
17
17
  *
18
18
  * @param {JetpackFooterProps} props - Component properties.
19
- * @return {React.ReactNode} JetpackFooter component.
19
+ * @return {ReactNode} JetpackFooter component.
20
20
  */
21
21
  const JetpackFooter = ({ moduleName = __('Jetpack', 'jetpack-components'), className, moduleNameHref = 'https://jetpack.com', menu, useInternalLinks, onAboutClick, onPrivacyClick, onTermsClick, ...otherProps }) => {
22
22
  const [isSm] = useBreakpointMatch('sm', '<=');
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
1
  import { JetpackLogoProps } from './types.ts';
3
- declare const JetpackLogo: React.FC<JetpackLogoProps>;
2
+ import type { FC } from 'react';
3
+ declare const JetpackLogo: FC<JetpackLogoProps>;
4
4
  export default JetpackLogo;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
1
  import { JetpackProtectLogoProps } from './types.ts';
3
- declare const JetpackProtectLogo: React.FC<JetpackProtectLogoProps>;
2
+ import type { FC } from 'react';
3
+ declare const JetpackProtectLogo: FC<JetpackProtectLogoProps>;
4
4
  export default JetpackProtectLogo;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
1
  import { JetpackSearchLogoProps } from './types.ts';
3
- declare const JetpackSearchLogo: React.FC<JetpackSearchLogoProps>;
2
+ import type { FC } from 'react';
3
+ declare const JetpackSearchLogo: FC<JetpackSearchLogoProps>;
4
4
  export default JetpackSearchLogo;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
1
  import { JetpackLogoProps } from './types.ts';
3
- declare const JetpackVaultPressBackupLogo: React.FC<JetpackLogoProps>;
2
+ import type { FC } from 'react';
3
+ declare const JetpackVaultPressBackupLogo: FC<JetpackLogoProps>;
4
4
  export default JetpackVaultPressBackupLogo;
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
1
  import { JetpackLogoProps } from './types.tsx';
3
- declare const JetpackVideoPressLogo: React.FC<JetpackLogoProps>;
2
+ import type { FC } from 'react';
3
+ declare const JetpackVideoPressLogo: FC<JetpackLogoProps>;
4
4
  export default JetpackVideoPressLogo;
@@ -1,10 +1,10 @@
1
1
  import { ColProps } from '../types.ts';
2
- import type React from 'react';
2
+ import type { FC } from 'react';
3
3
  /**
4
4
  * The basic Col component.
5
5
  *
6
6
  * @param {ColProps} props - Component properties.
7
- * @return {React.ReactElement} Col component.
7
+ * @return {ReactElement} Col component.
8
8
  */
9
- declare const Col: React.FC<ColProps>;
9
+ declare const Col: FC<ColProps>;
10
10
  export default Col;
@@ -8,7 +8,7 @@ const lgCols = Number(styles.lgCols);
8
8
  * The basic Col component.
9
9
  *
10
10
  * @param {ColProps} props - Component properties.
11
- * @return {React.ReactElement} Col component.
11
+ * @return {ReactElement} Col component.
12
12
  */
13
13
  const Col = props => {
14
14
  const { children, tagName = 'div', className } = props;
@@ -1,4 +1,3 @@
1
1
  import { ContainerProps } from '../types.ts';
2
- import type React from 'react';
3
- declare const _default: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLElement>>;
2
+ declare const _default: import("react").ForwardRefExoticComponent<ContainerProps & import("react").RefAttributes<HTMLElement>>;
4
3
  export default _default;
@@ -4,9 +4,9 @@ import styles from './style.module.scss';
4
4
  /**
5
5
  * JP Container
6
6
  *
7
- * @param {ContainerProps} props - Component properties.
8
- * @param {React.MutableRefObject} ref - Ref to the component
9
- * @return {React.ReactElement} Container component.
7
+ * @param {ContainerProps} props - Component properties.
8
+ * @param {MutableRefObject} ref - Ref to the component
9
+ * @return {ReactElement} Container component.
10
10
  */
11
11
  const Container = ({ children, fluid = false, tagName = 'div', className, horizontalGap = 1, horizontalSpacing = 1, }, ref) => {
12
12
  const containerStyle = useMemo(() => {
@@ -1,3 +1,4 @@
1
+ import type { ReactNode } from 'react';
1
2
  type ColSpan = number | {
2
3
  start: number;
3
4
  end: number;
@@ -26,7 +27,7 @@ export type ColProps = {
26
27
  /**
27
28
  * Children to be inserted.
28
29
  */
29
- children?: React.ReactNode;
30
+ children?: ReactNode;
30
31
  };
31
32
  export type ContainerProps = {
32
33
  /**
@@ -52,6 +53,6 @@ export type ContainerProps = {
52
53
  /**
53
54
  * Children to be inserted.
54
55
  */
55
- children?: React.ReactNode;
56
+ children?: ReactNode;
56
57
  };
57
58
  export {};
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import type { ReactNode } from 'react';
2
2
  declare const LoadingPlaceholder: ({ children, width, height, className, }: {
3
- children?: React.ReactNode;
3
+ children?: ReactNode;
4
4
  width?: number | string;
5
5
  height?: number;
6
6
  className?: string;
@@ -1,29 +1,29 @@
1
- import React from 'react';
1
+ import type { FC, ReactNode } from 'react';
2
2
  type NoticeProps = {
3
3
  /** The severity of the alert. */
4
4
  level?: 'error' | 'warning' | 'info' | 'success';
5
5
  /** The title of the notice */
6
6
  title?: string;
7
7
  /** A list of action elements to show across the bottom */
8
- actions?: React.ReactNode[];
8
+ actions?: ReactNode[];
9
9
  /** Hide close button */
10
10
  hideCloseButton?: boolean;
11
11
  /** Method to call when the close button is clicked */
12
12
  onClose?: () => void;
13
13
  /** Children to be rendered inside the alert. */
14
- children: React.ReactNode;
14
+ children: ReactNode;
15
15
  };
16
16
  /**
17
17
  * Notice component
18
18
  *
19
- * @param {object} props - The component properties.
20
- * @param {string} props.level - The notice level: error, warning, info, success.
21
- * @param {boolean} props.hideCloseButton - Whether to hide the close button.
22
- * @param {Function} props.onClose - The function to call when the close button is clicked.
23
- * @param {string} props.title - The title of the notice.
24
- * @param {React.ReactNode[]} props.actions - Actions to show across the bottom of the bar.
25
- * @param {React.Component} props.children - The notice content.
26
- * @return {React.ReactElement} The `Notice` component.
19
+ * @param {object} props - The component properties.
20
+ * @param {string} props.level - The notice level: error, warning, info, success.
21
+ * @param {boolean} props.hideCloseButton - Whether to hide the close button.
22
+ * @param {Function} props.onClose - The function to call when the close button is clicked.
23
+ * @param {string} props.title - The title of the notice.
24
+ * @param {ReactNode[]} props.actions - Actions to show across the bottom of the bar.
25
+ * @param {Component} props.children - The notice content.
26
+ * @return {ReactElement} The `Notice` component.
27
27
  */
28
- declare const Notice: React.FC<NoticeProps>;
28
+ declare const Notice: FC<NoticeProps>;
29
29
  export default Notice;
@@ -19,14 +19,14 @@ const getIconByLevel = (level) => {
19
19
  /**
20
20
  * Notice component
21
21
  *
22
- * @param {object} props - The component properties.
23
- * @param {string} props.level - The notice level: error, warning, info, success.
24
- * @param {boolean} props.hideCloseButton - Whether to hide the close button.
25
- * @param {Function} props.onClose - The function to call when the close button is clicked.
26
- * @param {string} props.title - The title of the notice.
27
- * @param {React.ReactNode[]} props.actions - Actions to show across the bottom of the bar.
28
- * @param {React.Component} props.children - The notice content.
29
- * @return {React.ReactElement} The `Notice` component.
22
+ * @param {object} props - The component properties.
23
+ * @param {string} props.level - The notice level: error, warning, info, success.
24
+ * @param {boolean} props.hideCloseButton - Whether to hide the close button.
25
+ * @param {Function} props.onClose - The function to call when the close button is clicked.
26
+ * @param {string} props.title - The title of the notice.
27
+ * @param {ReactNode[]} props.actions - Actions to show across the bottom of the bar.
28
+ * @param {Component} props.children - The notice content.
29
+ * @return {ReactElement} The `Notice` component.
30
30
  */
31
31
  const Notice = ({ level = 'info', title, children, actions, hideCloseButton = false, onClose, }) => {
32
32
  const classes = clsx(styles.container, styles[`is-${level}`]);
@@ -1,12 +1,12 @@
1
- import React from 'react';
2
1
  import { NumberSliderProps } from './types.ts';
2
+ import type { FC } from 'react';
3
3
  import './style.scss';
4
4
  /**
5
5
  * Generate Number Slider
6
6
  * More support from the original ReactSlider component: https://zillow.github.io/react-slider/
7
7
  *
8
8
  * @param {NumberSliderProps} props - Props
9
- * @return {React.ReactElement} - JSX element
9
+ * @return {ReactElement} - JSX element
10
10
  */
11
- declare const NumberSlider: React.FC<NumberSliderProps>;
11
+ declare const NumberSlider: FC<NumberSliderProps>;
12
12
  export default NumberSlider;
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import clsx from 'clsx';
3
- import React from 'react';
3
+ import { useState } from 'react';
4
4
  import ReactSlider from 'react-slider';
5
5
  import './style.scss';
6
6
  /**
@@ -8,10 +8,10 @@ import './style.scss';
8
8
  * More support from the original ReactSlider component: https://zillow.github.io/react-slider/
9
9
  *
10
10
  * @param {NumberSliderProps} props - Props
11
- * @return {React.ReactElement} - JSX element
11
+ * @return {ReactElement} - JSX element
12
12
  */
13
13
  const NumberSlider = ({ className, maxValue = 100, minValue = 0, step = 1, value, onChange, onBeforeChange, onAfterChange, renderThumb, }) => {
14
- const [isThumbHolding, setIsThumbHolding] = React.useState(false);
14
+ const [isThumbHolding, setIsThumbHolding] = useState(false);
15
15
  const componentClassName = clsx('jp-components-number-slider', className, {
16
16
  'jp-components-number-slider--is-holding': isThumbHolding,
17
17
  });
@@ -1,4 +1,4 @@
1
- import type { HTMLProps, RefCallback } from 'react';
1
+ import type { HTMLProps, RefCallback, JSX } from 'react';
2
2
  interface HTMLPropsWithRefCallback<T> extends HTMLProps<T> {
3
3
  ref: RefCallback<T>;
4
4
  }
@@ -45,6 +45,6 @@ export type NumberSliderProps = {
45
45
  index: number;
46
46
  value: number | ReadonlyArray<number>;
47
47
  valueNow: number;
48
- }) => React.JSX.Element | null;
48
+ }) => JSX.Element | null;
49
49
  };
50
50
  export {};
@@ -1,8 +1,9 @@
1
1
  import './style.scss';
2
+ import type { FC, ReactNode } from 'react';
2
3
  type PopoverProps = {
3
- action: React.ReactNode;
4
- icon?: React.ReactNode;
5
- children?: React.ReactNode;
4
+ action: ReactNode;
5
+ icon?: ReactNode;
6
+ children?: ReactNode;
6
7
  };
7
- declare const Popover: React.FC<PopoverProps>;
8
+ declare const Popover: FC<PopoverProps>;
8
9
  export default Popover;
@@ -1,11 +1,11 @@
1
1
  import type { PricingCardProps } from './types.ts';
2
- import type React from 'react';
2
+ import type { FC } from 'react';
3
3
  import './style.scss';
4
4
  /**
5
5
  * The Pricing card component.
6
6
  *
7
7
  * @param {PricingCardProps} props -- The component props.
8
- * @return {React.ReactNode} The rendered component.
8
+ * @return {ReactNode} The rendered component.
9
9
  */
10
- declare const PricingCard: React.FC<PricingCardProps>;
10
+ declare const PricingCard: FC<PricingCardProps>;
11
11
  export default PricingCard;