@smwb/ui-mcp-solid 2.2.0 → 2.3.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.
@@ -100,6 +100,11 @@
100
100
  "required": false,
101
101
  "description": "Close the sheet when Escape is pressed."
102
102
  },
103
+ "swipeToDismiss": {
104
+ "type": "boolean",
105
+ "required": false,
106
+ "description": "Close the sheet by swiping it toward the edge it is anchored to (off by default): with a finger, a\n`bottom` sheet down, a `right` one to the right, a `left` one to the left. The panel follows the finger and\ncloses through `onClose` when it was dragged over about a third of its size or flicked; otherwise it springs\nback. A mouse is not affected, and neither is a `top` sheet. A swipe does not start on a text field, a\nslider or the resize handle, on a widget that keeps the finger for itself (its `touch-action` takes the swipe's\naxis, as a graph, a carousel or a slider rail does; mark a custom one with `data-smwb-no-swipe`), or while a\nscrolling area under the finger can still scroll the same way. Without `onClose` there is nothing to close and\nthe gesture is off."
107
+ },
103
108
  "resizable": {
104
109
  "type": "boolean",
105
110
  "required": false,
@@ -113,7 +118,7 @@
113
118
  "maxSize": {
114
119
  "type": "number",
115
120
  "required": false,
116
- "description": "Maximum size in px while resizing (default: viewport dimension)."
121
+ "description": "Maximum size in px while resizing (default: the room the window leaves the panel, minus the page offsets for a top or bottom one)."
117
122
  },
118
123
  "resizeStep": {
119
124
  "type": "number",
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "props": {
24
24
  "direction": {
25
- "type": "\"row\" | \"row-reverse\" | \"column\" | \"column-reverse\"",
25
+ "type": "StackDirection | StackResponsiveDirection",
26
26
  "required": false,
27
- "description": "Direction. Optional. Type: \"row\" | \"row-reverse\" | \"column\" | \"column-reverse\"."
27
+ "description": "Direction of the stack (default `column`). An object sets it per breakpoint of the theme, e.g.\n`{ base: \"column\", md: \"row\" }` stacks in a column below `md` and in a row from there; each key applies\nfrom its breakpoint up, and `base` (default `column`) holds from the narrowest width. It is laid out by CSS\nclasses, so it changes at the breakpoint without JavaScript, and in the server render too."
28
28
  },
29
29
  "spacing": {
30
30
  "type": "StackSpacing",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smwb/ui-mcp-solid",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
4
4
  "description": "Model Context Protocol server exposing the @smwb/ui-solid (SolidJS) component catalog and customization guide.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,8 +28,8 @@
28
28
  "zod": "^4.4.3"
29
29
  },
30
30
  "devDependencies": {
31
- "@smwb/ui-solid": "^2.2.0",
32
- "@smwb/ui-styles": "^2.3.0",
31
+ "@smwb/ui-solid": "^2.3.0",
32
+ "@smwb/ui-styles": "^2.4.0",
33
33
  "glob": "^13.0.6",
34
34
  "typescript": "^6.0.3",
35
35
  "vitest": "^2.1.9"