@viraui/react 2026.0.23 → 2026.0.24

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.
@@ -34,11 +34,11 @@ export type DialogSheetProps = {
34
34
  */
35
35
  maxContentWidth?: StackProps['maxWidth'];
36
36
  /**
37
- * Aligns the header content.
37
+ * Aligns the header stack and title/description text (`start` | `center` | `end`).
38
38
  *
39
39
  * @default `start`
40
40
  */
41
- headerAlign?: StackProps['hAlign'];
41
+ headerAlign?: Extract<StackProps['hAlign'], 'start' | 'center' | 'end'>;
42
42
  /**
43
43
  * Whether to show the close button.
44
44
  *
@@ -57,10 +57,14 @@ var DialogSheet = ({ children, description, title, showCloseButton = false, fitC
57
57
  hAlign: headerAlign,
58
58
  hPadding: "medium",
59
59
  children: [/* @__PURE__ */ jsx(Drawer.Title, {
60
- render: /* @__PURE__ */ jsx(Title, { size: "4" }),
60
+ render: /* @__PURE__ */ jsx(Title, {
61
+ align: headerAlign,
62
+ size: "4"
63
+ }),
61
64
  children: title
62
65
  }), description && /* @__PURE__ */ jsx(Drawer.Description, {
63
66
  render: /* @__PURE__ */ jsx(Text, {
67
+ align: headerAlign,
64
68
  tone: "muted",
65
69
  render: /* @__PURE__ */ jsx("p", {})
66
70
  }),
@@ -42,7 +42,7 @@
42
42
  "description": "Centers the sheet horizontally within the viewport."
43
43
  },
44
44
  "Sheet.headerAlign": {
45
- "description": "Aligns the header content."
45
+ "description": "Aligns the header stack and title/description text (`start` | `center` | `end`)."
46
46
  },
47
47
  "Sheet.maxContentWidth": {
48
48
  "description": "Optional maximum width of the content area."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viraui/react",
3
- "version": "2026.0.23",
3
+ "version": "2026.0.24",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist"
@@ -35,7 +35,7 @@
35
35
  "unplugin-dts": "1.0.3",
36
36
  "vite": "8.1.4",
37
37
  "vite-plugin-static-copy": "4.1.1",
38
- "@viraui/foundation": "2026.0.23",
38
+ "@viraui/foundation": "2026.0.24",
39
39
  "@viraui/icons": "2026.0.0",
40
40
  "@viraui/postcss-config": "2026.0.0",
41
41
  "@viraui/tsconfig": "2026.0.0"