@gridui/radio-group 0.0.0 → 1.0.1

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/README.md CHANGED
@@ -68,6 +68,11 @@ through the card body.
68
68
  default vertical flex arrangement. Grid remains responsible for responsive tracks,
69
69
  shared boundaries, and optional cell padding.
70
70
 
71
+ Standalone cards default to spacing token `16`. When composed with `GridItem asChild`,
72
+ the GridItem's padding takes precedence, including zero and responsive values,
73
+ regardless of the Grid and Radio-group stylesheet order. Caller spacing utilities
74
+ can override either value. RadioCard does not depend on Grid to apply this default.
75
+
71
76
  ```tsx
72
77
  import { Grid, GridItem } from "@gridui/grid";
73
78
  import { RadioCard, RadioGroup } from "@gridui/radio-group";
package/dist/styles.css CHANGED
@@ -89,6 +89,9 @@
89
89
  }
90
90
  }
91
91
  @layer components {
92
+ :where(.gridui-radio-card) {
93
+ padding: var(--gridui-space-16);
94
+ }
92
95
  .gridui-radio-card {
93
96
  box-sizing: border-box;
94
97
  position: relative;
@@ -98,7 +101,6 @@
98
101
  width: 100%;
99
102
  min-width: 0;
100
103
  min-height: 2.75rem;
101
- padding: var(--gridui-space-16);
102
104
  background: var(--gridui-background);
103
105
  color: var(--gridui-foreground);
104
106
  text-align: start;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridui/radio-group",
3
- "version": "0.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "GridUI radio groups and rich single-choice cards",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -27,7 +27,7 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@gridui/interaction": "^0.0.0",
30
+ "@gridui/interaction": "^1.0.0",
31
31
  "@gridui/style-utils": "^2.1.1",
32
32
  "@gridui/theme": "^2.1.1",
33
33
  "@radix-ui/react-radio-group": "1.5.1",
@@ -35,9 +35,9 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@gridui-internal/configuration": "0.0.0",
38
- "@gridui/grid": "2.1.1",
38
+ "@gridui/grid": "2.1.3",
39
39
  "@jest/globals": "30.5.2",
40
- "@storybook/react-vite": "10.6.3",
40
+ "@storybook/react-vite": "10.6.4",
41
41
  "@types/jest": "30.0.0",
42
42
  "@types/node": "26.6.5",
43
43
  "@types/react": "19.3.0",