@cloudflare/component-text 5.1.2 → 5.1.4

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,17 @@
1
1
  # Change Log
2
2
 
3
+ ## 5.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 92aa24bd89: Accept React 18 and 19 in the peer ranges of smoke-tested components and styling packages. Keep React keys out of Grid and FormGrid styling props, and emit declarations compatible with React 19 types.
8
+
9
+ ## 5.1.3
10
+
11
+ ### Patch Changes
12
+
13
+ - fc455fa761: Require explicit opt-in before injecting source-file debug attributes into package build artifacts.
14
+
3
15
  ## 5.1.2
4
16
 
5
17
  ### Patch Changes
package/es/Text.js CHANGED
@@ -57,8 +57,7 @@ class Text extends React.Component {
57
57
  } = this.props;
58
58
  return /*#__PURE__*/React.createElement("div", {
59
59
  className: className,
60
- role: role,
61
- "data-source-file": "@cloudflare/component-text:src/Text.js:51"
60
+ role: role
62
61
  }, children);
63
62
  }
64
63
 
package/lib/Text.js CHANGED
@@ -100,8 +100,7 @@ var Text = /*#__PURE__*/function (_React$Component) {
100
100
  children = _this$props.children;
101
101
  return /*#__PURE__*/_react.default.createElement("div", {
102
102
  className: className,
103
- role: role,
104
- "data-source-file": "@cloudflare/component-text:src/Text.js:51"
103
+ role: role
105
104
  }, children);
106
105
  }
107
106
  }]);
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.1.2",
4
+ "version": "5.1.4",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@cloudflare/style-container": "^8.0.0",
20
- "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0"
20
+ "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0"
21
21
  },
22
22
  "stratus": {
23
23
  "srcDirectory": "./src",