@tanishqkancharla/maui 0.0.66 → 0.0.67

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.
@@ -73,10 +73,14 @@ const dialog = style({
73
73
  const title = style(text({ size: "lg", fontWeight: 600 }), {
74
74
  margin: 0,
75
75
  });
76
+ // A scrolling box clips on both axes. The inset, offset by a negative margin,
77
+ // keeps the rings and focus glow of full-width fields visible without moving them.
76
78
  const body = style({
77
79
  minWidth: 0,
78
80
  minHeight: 0,
79
81
  overflowY: "auto",
82
+ margin: `calc(-1 * ${spacing.value(3)})`,
83
+ padding: spacing.value(3),
80
84
  });
81
85
  const actions = style({
82
86
  display: "flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanishqkancharla/maui",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "description": "Maui design system",
5
5
  "type": "module",
6
6
  "main": "./dist/maui.js",
@@ -93,5 +93,5 @@ Edge-anchored mobile nav is [`Drawer`](drawer.md), not this Dialog and not Overl
93
93
  - `modal({ size })` — RAC `Modal`; `size` is `"sm"` (default) | `"md"` | `"lg"`.
94
94
  - `dialog` — RAC `Dialog`.
95
95
  - `title` — RAC `Heading slot="title"`.
96
- - `body` — scrollable `div` inside the dialog.
96
+ - `body` — scrollable `div` inside the dialog. A 6px inset, offset by a negative margin, keeps full-width field rings and focus glows unclipped.
97
97
  - `actions` — button row `div` inside the dialog.
@@ -115,10 +115,14 @@ const title = style(text({ size: "lg", fontWeight: 600 }), {
115
115
  margin: 0,
116
116
  })
117
117
 
118
+ // A scrolling box clips on both axes. The inset, offset by a negative margin,
119
+ // keeps the rings and focus glow of full-width fields visible without moving them.
118
120
  const body = style({
119
121
  minWidth: 0,
120
122
  minHeight: 0,
121
123
  overflowY: "auto",
124
+ margin: `calc(-1 * ${spacing.value(3)})`,
125
+ padding: spacing.value(3),
122
126
  })
123
127
 
124
128
  const actions = style({