@cloudflare/component-text 5.0.3 → 5.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8717364756: Update types to work with react 18
8
+
3
9
  ## 5.0.3
4
10
 
5
11
  ## 5.0.2
package/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { TfelaMProps } from '@cloudflare/types';
3
3
 
4
4
  export interface ITextProps {
5
5
  className?: string;
6
- children: React.ReactNode;
6
+ children?: React.ReactNode;
7
7
  size?: 'normal' | 'small';
8
8
  weight?: 'normal' | 'semi-bold' | 'bold';
9
9
  align?: 'start' | 'center' | 'justify' | 'end';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-text",
3
3
  "description": "Cloudflare Text Component",
4
- "version": "5.0.3",
4
+ "version": "5.1.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",