@primer/react 38.34.0-rc.9bc993c30 → 38.34.0-rc.abf5f0b80
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/dist/Radio/Radio.js +1 -1
- package/generated/components.json +16 -2
- package/package.json +8 -8
package/dist/Radio/Radio.js
CHANGED
|
@@ -48,7 +48,7 @@ const Radio = /*#__PURE__*/ React.forwardRef((t0, ref) => {
|
|
|
48
48
|
let t2;
|
|
49
49
|
if ($[10] !== onChange || $[11] !== radioGroupContext) {
|
|
50
50
|
t2 = (e) => {
|
|
51
|
-
|
|
51
|
+
radioGroupContext !== null && radioGroupContext !== void 0 && radioGroupContext.onChange && radioGroupContext.onChange(e);
|
|
52
52
|
onChange && onChange(e);
|
|
53
53
|
};
|
|
54
54
|
$[10] = onChange;
|
|
@@ -2656,11 +2656,18 @@
|
|
|
2656
2656
|
],
|
|
2657
2657
|
"importPath": "@primer/react",
|
|
2658
2658
|
"props": [
|
|
2659
|
+
{
|
|
2660
|
+
"name": "variant",
|
|
2661
|
+
"type": "'primary' | 'secondary'",
|
|
2662
|
+
"defaultValue": "",
|
|
2663
|
+
"description": "Pass in 'primary' for a darker background and inverse text, or 'secondary' for a lighter background and primary text. Omitting the variant prop renders the default counter scheme"
|
|
2664
|
+
},
|
|
2659
2665
|
{
|
|
2660
2666
|
"name": "scheme",
|
|
2661
2667
|
"type": "'primary' | 'secondary'",
|
|
2662
2668
|
"defaultValue": "",
|
|
2663
|
-
"description": "
|
|
2669
|
+
"description": "Use `variant` instead.",
|
|
2670
|
+
"deprecated": true
|
|
2664
2671
|
},
|
|
2665
2672
|
{
|
|
2666
2673
|
"name": "className",
|
|
@@ -7439,10 +7446,17 @@
|
|
|
7439
7446
|
],
|
|
7440
7447
|
"importPath": "@primer/react",
|
|
7441
7448
|
"props": [
|
|
7449
|
+
{
|
|
7450
|
+
"name": "size",
|
|
7451
|
+
"type": "'small' | 'medium'",
|
|
7452
|
+
"defaultValue": "'medium'"
|
|
7453
|
+
},
|
|
7442
7454
|
{
|
|
7443
7455
|
"name": "variant",
|
|
7444
7456
|
"type": "'small' | 'normal'",
|
|
7445
|
-
"defaultValue": "'normal'"
|
|
7457
|
+
"defaultValue": "'normal'",
|
|
7458
|
+
"description": "Use `size` instead.",
|
|
7459
|
+
"deprecated": true
|
|
7446
7460
|
},
|
|
7447
7461
|
{
|
|
7448
7462
|
"name": "status",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "38.34.0-rc.
|
|
4
|
+
"version": "38.34.0-rc.abf5f0b80",
|
|
5
5
|
"description": "An implementation of GitHub's Primer Design System using React",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -110,12 +110,12 @@
|
|
|
110
110
|
"@primer/doc-gen": "^0.0.1",
|
|
111
111
|
"@primer/react-compiler-check": "^0.0.0",
|
|
112
112
|
"@rolldown/plugin-babel": "^0.2.3",
|
|
113
|
-
"@storybook/addon-a11y": "10.5.
|
|
114
|
-
"@storybook/addon-docs": "10.5.
|
|
115
|
-
"@storybook/addon-links": "10.5.
|
|
116
|
-
"@storybook/addon-mcp": "^0.
|
|
113
|
+
"@storybook/addon-a11y": "10.5.3",
|
|
114
|
+
"@storybook/addon-docs": "10.5.3",
|
|
115
|
+
"@storybook/addon-links": "10.5.3",
|
|
116
|
+
"@storybook/addon-mcp": "^0.7.0",
|
|
117
117
|
"@storybook/icons": "^2.1.0",
|
|
118
|
-
"@storybook/react-vite": "10.5.
|
|
118
|
+
"@storybook/react-vite": "10.5.3",
|
|
119
119
|
"@testing-library/dom": "^10.4.0",
|
|
120
120
|
"@testing-library/jest-dom": "^6.4.5",
|
|
121
121
|
"@testing-library/react": "^16.3.0",
|
|
@@ -168,11 +168,11 @@
|
|
|
168
168
|
"react-is": "18.3.1",
|
|
169
169
|
"recast": "0.23.7",
|
|
170
170
|
"rimraf": "5.0.5",
|
|
171
|
-
"rolldown": "^1.
|
|
171
|
+
"rolldown": "^1.2.0",
|
|
172
172
|
"rolldown-plugin-dts": "^0.26.0",
|
|
173
173
|
"rolldown-plugin-import-css": "^0.0.0",
|
|
174
174
|
"rolldown-plugin-preserve-directives": "^0.0.0",
|
|
175
|
-
"storybook": "10.5.
|
|
175
|
+
"storybook": "10.5.3",
|
|
176
176
|
"terser": "5.36.0",
|
|
177
177
|
"ts-toolbelt": "9.6.0",
|
|
178
178
|
"tsx": "4.20.3",
|