@cloudflare/component-radio 6.0.5 → 6.0.6

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
+ ## 6.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fc455fa761: Require explicit opt-in before injecting source-file debug attributes into package build artifacts.
8
+
3
9
  ## 6.0.5
4
10
 
5
11
  ### Patch Changes
package/es/Radio.js CHANGED
@@ -92,16 +92,12 @@ function Radio(_ref3) {
92
92
  onChange: onChange && (e => onChange(e.target.value)),
93
93
  className: noLabel ? className : undefined,
94
94
  disabled: disabled
95
- }, rest, {
96
- "data-source-file": "@cloudflare/component-radio:src/Radio.tsx:80"
97
- }));
95
+ }, rest));
98
96
  return noLabel ? input : /*#__PURE__*/React.createElement("label", {
99
97
  htmlFor: name,
100
- className: className,
101
- "data-source-file": "@cloudflare/component-radio:src/Radio.tsx:94"
98
+ className: className
102
99
  }, input, label && /*#__PURE__*/React.createElement(Label, {
103
- disabled: disabled,
104
- "data-source-file": "@cloudflare/component-radio:src/Radio.tsx:96"
100
+ disabled: disabled
105
101
  }, label));
106
102
  }
107
103
 
package/es/RadioGroup.js CHANGED
@@ -10,8 +10,7 @@ function RadioGroup(_ref) {
10
10
  disabled
11
11
  } = _ref;
12
12
  return /*#__PURE__*/React.createElement("div", {
13
- className: className,
14
- "data-source-file": "@cloudflare/component-radio:src/RadioGroup.tsx:14"
13
+ className: className
15
14
  }, React.Children.map(children, child => {
16
15
  if (! /*#__PURE__*/React.isValidElement(child)) {
17
16
  return child;
package/lib/Radio.js CHANGED
@@ -100,17 +100,13 @@ function Radio(_ref3) {
100
100
  },
101
101
  className: noLabel ? className : undefined,
102
102
  disabled: disabled
103
- }, rest, {
104
- "data-source-file": "@cloudflare/component-radio:src/Radio.tsx:80"
105
- }));
103
+ }, rest));
106
104
 
107
105
  return noLabel ? input : /*#__PURE__*/_react.default.createElement("label", {
108
106
  htmlFor: name,
109
- className: className,
110
- "data-source-file": "@cloudflare/component-radio:src/Radio.tsx:94"
107
+ className: className
111
108
  }, input, label && /*#__PURE__*/_react.default.createElement(Label, {
112
- disabled: disabled,
113
- "data-source-file": "@cloudflare/component-radio:src/Radio.tsx:96"
109
+ disabled: disabled
114
110
  }, label));
115
111
  }
116
112
 
package/lib/RadioGroup.js CHANGED
@@ -18,8 +18,7 @@ function RadioGroup(_ref) {
18
18
  onChange = _ref.onChange,
19
19
  disabled = _ref.disabled;
20
20
  return /*#__PURE__*/_react.default.createElement("div", {
21
- className: className,
22
- "data-source-file": "@cloudflare/component-radio:src/RadioGroup.tsx:14"
21
+ className: className
23
22
  }, _react.default.Children.map(children, function (child) {
24
23
  if (! /*#__PURE__*/_react.default.isValidElement(child)) {
25
24
  return child;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cloudflare/component-radio",
3
3
  "description": "Cloudflare Radio Component",
4
- "version": "6.0.5",
4
+ "version": "6.0.6",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
7
  "author": "James Kyle <jkyle@cloudflare.com>",