@cloudflare/component-copyable-textarea 6.0.5 → 6.0.7

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,21 @@
1
1
  # Change Log
2
2
 
3
+ ## 6.0.7
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
+ - Updated dependencies [92aa24bd89]
9
+ - @cloudflare/component-textarea@5.0.7
10
+
11
+ ## 6.0.6
12
+
13
+ ### Patch Changes
14
+
15
+ - fc455fa761: Require explicit opt-in before injecting source-file debug attributes into package build artifacts.
16
+ - Updated dependencies [fc455fa761]
17
+ - @cloudflare/component-textarea@5.0.6
18
+
3
19
  ## 6.0.5
4
20
 
5
21
  ### Patch Changes
@@ -82,23 +82,19 @@ var CopyableTextarea = _ref3 => {
82
82
  };
83
83
 
84
84
  return /*#__PURE__*/React.createElement("div", {
85
- className: className,
86
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:98"
85
+ className: className
87
86
  }, /*#__PURE__*/React.createElement(Textarea, {
88
87
  innerRef: textarea,
89
88
  readOnly: true,
90
89
  name: name,
91
90
  value: value,
92
91
  onFocus: handleFocus,
93
- onBlur: handleBlur,
94
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:99"
92
+ onBlur: handleBlur
95
93
  }), /*#__PURE__*/React.createElement(HelpText, {
96
- onClick: handleFocus,
97
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:107"
94
+ onClick: handleFocus
98
95
  }, /*#__PURE__*/React.createElement(Trans, {
99
96
  id: helpTextId[copyState],
100
- _: fallbackHelpText[copyState],
101
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:108"
97
+ _: fallbackHelpText[copyState]
102
98
  })));
103
99
  };
104
100
 
@@ -122,23 +122,19 @@ var CopyableTextarea = function CopyableTextarea(_ref3) {
122
122
  };
123
123
 
124
124
  return /*#__PURE__*/_react.default.createElement("div", {
125
- className: className,
126
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:98"
125
+ className: className
127
126
  }, /*#__PURE__*/_react.default.createElement(Textarea, {
128
127
  innerRef: textarea,
129
128
  readOnly: true,
130
129
  name: name,
131
130
  value: value,
132
131
  onFocus: handleFocus,
133
- onBlur: handleBlur,
134
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:99"
132
+ onBlur: handleBlur
135
133
  }), /*#__PURE__*/_react.default.createElement(HelpText, {
136
- onClick: handleFocus,
137
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:107"
134
+ onClick: handleFocus
138
135
  }, /*#__PURE__*/_react.default.createElement(_intlReact.Trans, {
139
136
  id: helpTextId[copyState],
140
- _: fallbackHelpText[copyState],
141
- "data-source-file": "@cloudflare/component-copyable-textarea:src/CopyableTextarea.tsx:108"
137
+ _: fallbackHelpText[copyState]
142
138
  })));
143
139
  };
144
140
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-copyable-textarea",
3
3
  "description": "Cloudflare Copyable Textarea Component",
4
- "version": "6.0.5",
4
+ "version": "6.0.7",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "Cloudflare UI Developers <ui-devs@cloudflare.com>",
@@ -14,13 +14,13 @@
14
14
  "types": "./dist/index.d.ts"
15
15
  },
16
16
  "dependencies": {
17
- "@cloudflare/component-textarea": "^5.0.5",
17
+ "@cloudflare/component-textarea": "^5.0.7",
18
18
  "@cloudflare/intl-react": "^1.9.80",
19
19
  "prop-types": "^15.6.0"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@cloudflare/style-container": "^8.0.0",
23
- "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0"
23
+ "react": "^15.0.0-0 || ^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0 || ^19.0.0-0"
24
24
  },
25
25
  "stratus": {
26
26
  "srcDirectory": "./src",