@ndla/primitives 1.0.75-alpha.0 → 1.0.76-alpha.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/es/RadioGroup.js +4 -0
- package/lib/RadioGroup.js +4 -0
- package/package.json +2 -2
package/es/RadioGroup.js
CHANGED
|
@@ -132,6 +132,8 @@ export const RadioGroupLabel = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
132
132
|
textStyle = "label.large",
|
|
133
133
|
fontWeight = "bold",
|
|
134
134
|
children,
|
|
135
|
+
asChild,
|
|
136
|
+
consumeCss,
|
|
135
137
|
...props
|
|
136
138
|
} = _ref2;
|
|
137
139
|
return /*#__PURE__*/_jsx(InternalRadioGroupLabel, {
|
|
@@ -141,6 +143,8 @@ export const RadioGroupLabel = /*#__PURE__*/forwardRef((_ref2, ref) => {
|
|
|
141
143
|
children: /*#__PURE__*/_jsx(Text, {
|
|
142
144
|
textStyle: textStyle,
|
|
143
145
|
fontWeight: fontWeight,
|
|
146
|
+
asChild: asChild,
|
|
147
|
+
consumeCss: consumeCss,
|
|
144
148
|
children: children
|
|
145
149
|
})
|
|
146
150
|
});
|
package/lib/RadioGroup.js
CHANGED
|
@@ -139,6 +139,8 @@ const RadioGroupLabel = exports.RadioGroupLabel = /*#__PURE__*/(0, _react.forwar
|
|
|
139
139
|
textStyle = "label.large",
|
|
140
140
|
fontWeight = "bold",
|
|
141
141
|
children,
|
|
142
|
+
asChild,
|
|
143
|
+
consumeCss,
|
|
142
144
|
...props
|
|
143
145
|
} = _ref2;
|
|
144
146
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(InternalRadioGroupLabel, {
|
|
@@ -148,6 +150,8 @@ const RadioGroupLabel = exports.RadioGroupLabel = /*#__PURE__*/(0, _react.forwar
|
|
|
148
150
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Text.Text, {
|
|
149
151
|
textStyle: textStyle,
|
|
150
152
|
fontWeight: fontWeight,
|
|
153
|
+
asChild: asChild,
|
|
154
|
+
consumeCss: consumeCss,
|
|
151
155
|
children: children
|
|
152
156
|
})
|
|
153
157
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ndla/primitives",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.76-alpha.0",
|
|
4
4
|
"description": "Primitive components for NDLA",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"publishConfig": {
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "b6ad678fe00b488394ed503b9bd24911989863a4"
|
|
47
47
|
}
|