@almadar/patterns 2.29.0 → 2.30.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-05-15T14:20:05.990Z",
3
+ "exportedAt": "2026-05-16T00:25:22.449Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -2154,6 +2154,11 @@
2154
2154
  "string"
2155
2155
  ]
2156
2156
  },
2157
+ "value": {
2158
+ "types": [
2159
+ "string"
2160
+ ]
2161
+ },
2157
2162
  "label": {
2158
2163
  "types": [
2159
2164
  "string"
@@ -2193,7 +2198,6 @@
2193
2198
  }
2194
2199
  },
2195
2200
  "required": [
2196
- "id",
2197
2201
  "label"
2198
2202
  ]
2199
2203
  }
@@ -2213,6 +2217,11 @@
2213
2217
  "string"
2214
2218
  ]
2215
2219
  },
2220
+ "value": {
2221
+ "types": [
2222
+ "string"
2223
+ ]
2224
+ },
2216
2225
  "label": {
2217
2226
  "types": [
2218
2227
  "string"
@@ -2252,7 +2261,6 @@
2252
2261
  }
2253
2262
  },
2254
2263
  "required": [
2255
- "id",
2256
2264
  "label"
2257
2265
  ]
2258
2266
  }
@@ -7901,8 +7909,8 @@
7901
7909
  "types": [
7902
7910
  "string"
7903
7911
  ],
7904
- "description": "Panel width @default 'w-96'",
7905
- "default": "w-96"
7912
+ "description": "Panel width as Tailwind class string. Default fills the viewport on mobile and snaps to `w-96` (384 px) at `sm:` and above so phones don't lose content to a fixed 384 px column. Consumers passing a custom value should include a `w-full` mobile fallback in the same string (e.g. `\"w-full sm:w-[480px]\"`) — Tailwind's JIT can't see dynamically-concatenated class names. @default 'w-full sm:w-96'",
7913
+ "default": "w-full sm:w-96"
7906
7914
  },
7907
7915
  "position": {
7908
7916
  "types": [
@@ -12307,6 +12315,14 @@
12307
12315
  "description": "Event emitted on swipe right (prev week): UI:{swipeRightEvent}",
12308
12316
  "kind": "event-ref",
12309
12317
  "emitPayloadSchema": []
12318
+ },
12319
+ "dayWindow": {
12320
+ "types": [
12321
+ "number",
12322
+ "string"
12323
+ ],
12324
+ "description": "Override the viewport-driven day window. `'auto'` (default) tracks `window.innerWidth` — 1 day on mobile, 3 on tablet, 7 on laptop+. Pass an explicit number to force a fixed window (useful for print layouts or screenshot tests).",
12325
+ "default": "auto"
12310
12326
  }
12311
12327
  }
12312
12328
  },
@@ -30150,6 +30166,52 @@
30150
30166
  }
30151
30167
  }
30152
30168
  },
30169
+ "aside": {
30170
+ "type": "aside",
30171
+ "category": "component",
30172
+ "description": "Aside Atom Component Semantic wrapper for the native `<aside>` landmark. Owns raw HTML so molecules (SidePanel, navigation rails, callouts) can compose the semantic-aside primitive without falling back to a raw element.",
30173
+ "suggestedFor": [
30174
+ "aside"
30175
+ ],
30176
+ "typicalSize": "small",
30177
+ "propsSchema": {
30178
+ "className": {
30179
+ "types": [
30180
+ "string"
30181
+ ],
30182
+ "description": "Additional CSS classes"
30183
+ },
30184
+ "children": {
30185
+ "types": [
30186
+ "node"
30187
+ ],
30188
+ "description": "Aside contents"
30189
+ }
30190
+ }
30191
+ },
30192
+ "dialog": {
30193
+ "type": "dialog",
30194
+ "category": "container",
30195
+ "description": "Dialog Atom Component Semantic wrapper for the native `<dialog>` element. Owns the raw HTML rendering so molecules (Modal, ConfirmDialog, etc.) can compose the dialog primitive without dropping back to raw HTML. Defaults `role=\"dialog\"` and `aria-modal=\"true\"`; both overridable for non-modal use cases.",
30196
+ "suggestedFor": [
30197
+ "dialog"
30198
+ ],
30199
+ "typicalSize": "small",
30200
+ "propsSchema": {
30201
+ "className": {
30202
+ "types": [
30203
+ "string"
30204
+ ],
30205
+ "description": "Additional CSS classes"
30206
+ },
30207
+ "children": {
30208
+ "types": [
30209
+ "node"
30210
+ ],
30211
+ "description": "Dialog contents"
30212
+ }
30213
+ }
30214
+ },
30153
30215
  "heading": {
30154
30216
  "type": "heading",
30155
30217
  "category": "component",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "exportedAt": "2026-05-15T14:20:05.990Z",
3
+ "exportedAt": "2026-05-16T00:25:22.449Z",
4
4
  "patterns": {
5
5
  "entity-table": {
6
6
  "type": "entity-table",
@@ -2154,6 +2154,11 @@
2154
2154
  "string"
2155
2155
  ]
2156
2156
  },
2157
+ "value": {
2158
+ "types": [
2159
+ "string"
2160
+ ]
2161
+ },
2157
2162
  "label": {
2158
2163
  "types": [
2159
2164
  "string"
@@ -2193,7 +2198,6 @@
2193
2198
  }
2194
2199
  },
2195
2200
  "required": [
2196
- "id",
2197
2201
  "label"
2198
2202
  ]
2199
2203
  }
@@ -2213,6 +2217,11 @@
2213
2217
  "string"
2214
2218
  ]
2215
2219
  },
2220
+ "value": {
2221
+ "types": [
2222
+ "string"
2223
+ ]
2224
+ },
2216
2225
  "label": {
2217
2226
  "types": [
2218
2227
  "string"
@@ -2252,7 +2261,6 @@
2252
2261
  }
2253
2262
  },
2254
2263
  "required": [
2255
- "id",
2256
2264
  "label"
2257
2265
  ]
2258
2266
  }
@@ -7901,8 +7909,8 @@
7901
7909
  "types": [
7902
7910
  "string"
7903
7911
  ],
7904
- "description": "Panel width @default 'w-96'",
7905
- "default": "w-96"
7912
+ "description": "Panel width as Tailwind class string. Default fills the viewport on mobile and snaps to `w-96` (384 px) at `sm:` and above so phones don't lose content to a fixed 384 px column. Consumers passing a custom value should include a `w-full` mobile fallback in the same string (e.g. `\"w-full sm:w-[480px]\"`) — Tailwind's JIT can't see dynamically-concatenated class names. @default 'w-full sm:w-96'",
7913
+ "default": "w-full sm:w-96"
7906
7914
  },
7907
7915
  "position": {
7908
7916
  "types": [
@@ -12307,6 +12315,14 @@
12307
12315
  "description": "Event emitted on swipe right (prev week): UI:{swipeRightEvent}",
12308
12316
  "kind": "event-ref",
12309
12317
  "emitPayloadSchema": []
12318
+ },
12319
+ "dayWindow": {
12320
+ "types": [
12321
+ "number",
12322
+ "string"
12323
+ ],
12324
+ "description": "Override the viewport-driven day window. `'auto'` (default) tracks `window.innerWidth` — 1 day on mobile, 3 on tablet, 7 on laptop+. Pass an explicit number to force a fixed window (useful for print layouts or screenshot tests).",
12325
+ "default": "auto"
12310
12326
  }
12311
12327
  }
12312
12328
  },
@@ -30150,6 +30166,52 @@
30150
30166
  }
30151
30167
  }
30152
30168
  },
30169
+ "aside": {
30170
+ "type": "aside",
30171
+ "category": "component",
30172
+ "description": "Aside Atom Component Semantic wrapper for the native `<aside>` landmark. Owns raw HTML so molecules (SidePanel, navigation rails, callouts) can compose the semantic-aside primitive without falling back to a raw element.",
30173
+ "suggestedFor": [
30174
+ "aside"
30175
+ ],
30176
+ "typicalSize": "small",
30177
+ "propsSchema": {
30178
+ "className": {
30179
+ "types": [
30180
+ "string"
30181
+ ],
30182
+ "description": "Additional CSS classes"
30183
+ },
30184
+ "children": {
30185
+ "types": [
30186
+ "node"
30187
+ ],
30188
+ "description": "Aside contents"
30189
+ }
30190
+ }
30191
+ },
30192
+ "dialog": {
30193
+ "type": "dialog",
30194
+ "category": "container",
30195
+ "description": "Dialog Atom Component Semantic wrapper for the native `<dialog>` element. Owns the raw HTML rendering so molecules (Modal, ConfirmDialog, etc.) can compose the dialog primitive without dropping back to raw HTML. Defaults `role=\"dialog\"` and `aria-modal=\"true\"`; both overridable for non-modal use cases.",
30196
+ "suggestedFor": [
30197
+ "dialog"
30198
+ ],
30199
+ "typicalSize": "small",
30200
+ "propsSchema": {
30201
+ "className": {
30202
+ "types": [
30203
+ "string"
30204
+ ],
30205
+ "description": "Additional CSS classes"
30206
+ },
30207
+ "children": {
30208
+ "types": [
30209
+ "node"
30210
+ ],
30211
+ "description": "Dialog contents"
30212
+ }
30213
+ }
30214
+ },
30153
30215
  "heading": {
30154
30216
  "type": "heading",
30155
30217
  "category": "component",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/patterns",
3
- "version": "2.29.0",
3
+ "version": "2.30.0",
4
4
  "description": "Pattern registry and component mappings for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",