@slipstream-ui/core 0.11.8 → 0.11.9

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.
Files changed (242) hide show
  1. package/dist/index.d.mts +61 -9
  2. package/dist/index.d.ts +61 -9
  3. package/dist/index.js +604 -469
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.mjs +603 -469
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/manifests/accordion.manifest.json +1 -1
  8. package/dist/manifests/alert.manifest.json +1 -1
  9. package/dist/manifests/announcement-bar.manifest.json +1 -1
  10. package/dist/manifests/app-shell.manifest.json +1 -1
  11. package/dist/manifests/applied-filters.manifest.json +1 -1
  12. package/dist/manifests/article-card.manifest.json +1 -1
  13. package/dist/manifests/auth-layout.manifest.json +1 -1
  14. package/dist/manifests/autocomplete.manifest.json +1 -1
  15. package/dist/manifests/avatar.manifest.json +1 -1
  16. package/dist/manifests/badge.manifest.json +1 -1
  17. package/dist/manifests/block.manifest.json +1 -1
  18. package/dist/manifests/bottom-nav.manifest.json +1 -1
  19. package/dist/manifests/breadcrumb.manifest.json +1 -1
  20. package/dist/manifests/button-group.manifest.json +1 -1
  21. package/dist/manifests/button.manifest.json +4 -2
  22. package/dist/manifests/calendar.manifest.json +1 -1
  23. package/dist/manifests/card.manifest.json +1 -1
  24. package/dist/manifests/checkbox.manifest.json +1 -1
  25. package/dist/manifests/comparison-table.manifest.json +1 -1
  26. package/dist/manifests/confirm-dialog.manifest.json +1 -1
  27. package/dist/manifests/contact-strip.manifest.json +1 -1
  28. package/dist/manifests/container.manifest.json +1 -1
  29. package/dist/manifests/cover-image.manifest.json +1 -1
  30. package/dist/manifests/cta-section.manifest.json +1 -1
  31. package/dist/manifests/data-table.manifest.json +22 -1
  32. package/dist/manifests/date-picker-popover.manifest.json +1 -1
  33. package/dist/manifests/date-picker.manifest.json +1 -1
  34. package/dist/manifests/date-range-picker.manifest.json +1 -1
  35. package/dist/manifests/deal-card.manifest.json +1 -1
  36. package/dist/manifests/dialog.manifest.json +1 -1
  37. package/dist/manifests/document-card.manifest.json +1 -1
  38. package/dist/manifests/drawer.manifest.json +1 -1
  39. package/dist/manifests/empty-state.manifest.json +1 -1
  40. package/dist/manifests/entity-card.manifest.json +1 -1
  41. package/dist/manifests/feature-grid.manifest.json +1 -1
  42. package/dist/manifests/feature-row.manifest.json +1 -1
  43. package/dist/manifests/fieldset.manifest.json +1 -1
  44. package/dist/manifests/file-upload.manifest.json +1 -1
  45. package/dist/manifests/filter-bar.manifest.json +1 -1
  46. package/dist/manifests/filter-chips.manifest.json +1 -1
  47. package/dist/manifests/filter-panel.manifest.json +1 -1
  48. package/dist/manifests/flex.manifest.json +1 -1
  49. package/dist/manifests/form-field.manifest.json +1 -1
  50. package/dist/manifests/form-layout.manifest.json +1 -1
  51. package/dist/manifests/form.manifest.json +1 -1
  52. package/dist/manifests/grid.manifest.json +1 -1
  53. package/dist/manifests/heading.manifest.json +1 -1
  54. package/dist/manifests/hero.manifest.json +1 -1
  55. package/dist/manifests/image.manifest.json +1 -1
  56. package/dist/manifests/input-group.manifest.json +1 -1
  57. package/dist/manifests/input.manifest.json +1 -1
  58. package/dist/manifests/label.manifest.json +1 -1
  59. package/dist/manifests/link-tabs.manifest.json +1 -1
  60. package/dist/manifests/link.manifest.json +1 -1
  61. package/dist/manifests/list-toolbar.manifest.json +120 -0
  62. package/dist/manifests/list.manifest.json +1 -1
  63. package/dist/manifests/load-more.manifest.json +1 -1
  64. package/dist/manifests/logo-cloud.manifest.json +1 -1
  65. package/dist/manifests/menu.manifest.json +1 -1
  66. package/dist/manifests/metric-card.manifest.json +1 -1
  67. package/dist/manifests/multi-select.manifest.json +1 -1
  68. package/dist/manifests/newsletter.manifest.json +1 -1
  69. package/dist/manifests/page-header.manifest.json +1 -1
  70. package/dist/manifests/pagination.manifest.json +1 -1
  71. package/dist/manifests/password-input.manifest.json +1 -1
  72. package/dist/manifests/popover.manifest.json +1 -1
  73. package/dist/manifests/process-steps.manifest.json +1 -1
  74. package/dist/manifests/progress.manifest.json +1 -1
  75. package/dist/manifests/prose.manifest.json +1 -1
  76. package/dist/manifests/radio.manifest.json +1 -1
  77. package/dist/manifests/range-slider.manifest.json +1 -1
  78. package/dist/manifests/search.manifest.json +1 -1
  79. package/dist/manifests/section-heading.manifest.json +1 -1
  80. package/dist/manifests/section.manifest.json +1 -1
  81. package/dist/manifests/segmented-control.manifest.json +4 -4
  82. package/dist/manifests/select-menu.manifest.json +1 -1
  83. package/dist/manifests/select.manifest.json +1 -1
  84. package/dist/manifests/separator.manifest.json +1 -1
  85. package/dist/manifests/site-footer.manifest.json +1 -1
  86. package/dist/manifests/site-header.manifest.json +1 -1
  87. package/dist/manifests/skeleton.manifest.json +1 -1
  88. package/dist/manifests/spinner.manifest.json +1 -1
  89. package/dist/manifests/stat-band.manifest.json +1 -1
  90. package/dist/manifests/stepper.manifest.json +1 -1
  91. package/dist/manifests/switch.manifest.json +1 -1
  92. package/dist/manifests/table-card.manifest.json +1 -1
  93. package/dist/manifests/table-of-contents.manifest.json +1 -1
  94. package/dist/manifests/table.manifest.json +1 -1
  95. package/dist/manifests/tabs.manifest.json +1 -1
  96. package/dist/manifests/testimonial.manifest.json +1 -1
  97. package/dist/manifests/text.manifest.json +1 -1
  98. package/dist/manifests/textarea.manifest.json +1 -1
  99. package/dist/manifests/theme-toggle.manifest.json +1 -1
  100. package/dist/manifests/time-picker.manifest.json +1 -1
  101. package/dist/manifests/timeline.manifest.json +1 -1
  102. package/dist/manifests/toast.manifest.json +1 -1
  103. package/dist/manifests/tombstone-card.manifest.json +1 -1
  104. package/dist/manifests/tooltip.manifest.json +1 -1
  105. package/dist/src/components/button/Button.d.ts +2 -2
  106. package/dist/src/components/button/Button.js +1 -0
  107. package/dist/src/components/button/Button.js.map +1 -1
  108. package/dist/src/components/button/Button.mjs +1 -0
  109. package/dist/src/components/button/Button.mjs.map +1 -1
  110. package/dist/src/components/data-table/DataTable.d.ts +12 -1
  111. package/dist/src/components/data-table/DataTable.js +189 -112
  112. package/dist/src/components/data-table/DataTable.js.map +1 -1
  113. package/dist/src/components/data-table/DataTable.mjs +189 -112
  114. package/dist/src/components/data-table/DataTable.mjs.map +1 -1
  115. package/dist/src/components/list-toolbar/ListToolbar.d.ts +25 -0
  116. package/dist/src/components/list-toolbar/ListToolbar.js +68 -0
  117. package/dist/src/components/list-toolbar/ListToolbar.js.map +1 -0
  118. package/dist/src/components/list-toolbar/ListToolbar.mjs +44 -0
  119. package/dist/src/components/list-toolbar/ListToolbar.mjs.map +1 -0
  120. package/dist/src/components/list-toolbar/index.d.ts +1 -0
  121. package/dist/src/components/list-toolbar/index.js +23 -0
  122. package/dist/src/components/list-toolbar/index.js.map +1 -0
  123. package/dist/src/components/list-toolbar/index.mjs +2 -0
  124. package/dist/src/components/list-toolbar/index.mjs.map +1 -0
  125. package/dist/src/components/segmented-control/SegmentedControl.d.ts +20 -4
  126. package/dist/src/components/segmented-control/SegmentedControl.js +17 -3
  127. package/dist/src/components/segmented-control/SegmentedControl.js.map +1 -1
  128. package/dist/src/components/segmented-control/SegmentedControl.mjs +17 -3
  129. package/dist/src/components/segmented-control/SegmentedControl.mjs.map +1 -1
  130. package/dist/src/index.d.ts +1 -0
  131. package/dist/styles-full.css +1 -1
  132. package/dist/styles.css +1 -1
  133. package/package.json +3 -3
  134. package/src/components/button/Button.ssr.test.tsx +1 -1
  135. package/src/components/button/Button.test.tsx +6 -0
  136. package/src/components/button/Button.tsx +1 -0
  137. package/src/components/data-table/DataTable.test.tsx +99 -0
  138. package/src/components/data-table/DataTable.tsx +115 -1
  139. package/src/components/list-toolbar/ListToolbar.test.tsx +50 -0
  140. package/src/components/list-toolbar/ListToolbar.tsx +64 -0
  141. package/src/components/list-toolbar/index.ts +1 -0
  142. package/src/components/segmented-control/SegmentedControl.test.tsx +51 -0
  143. package/src/components/segmented-control/SegmentedControl.tsx +36 -4
  144. package/src/index.ts +1 -0
  145. package/src/manifests/accordion.manifest.json +1 -1
  146. package/src/manifests/alert.manifest.json +1 -1
  147. package/src/manifests/announcement-bar.manifest.json +1 -1
  148. package/src/manifests/app-shell.manifest.json +1 -1
  149. package/src/manifests/applied-filters.manifest.json +1 -1
  150. package/src/manifests/article-card.manifest.json +1 -1
  151. package/src/manifests/auth-layout.manifest.json +1 -1
  152. package/src/manifests/autocomplete.manifest.json +1 -1
  153. package/src/manifests/avatar.manifest.json +1 -1
  154. package/src/manifests/badge.manifest.json +1 -1
  155. package/src/manifests/block.manifest.json +1 -1
  156. package/src/manifests/bottom-nav.manifest.json +1 -1
  157. package/src/manifests/breadcrumb.manifest.json +1 -1
  158. package/src/manifests/button-group.manifest.json +1 -1
  159. package/src/manifests/button.manifest.json +4 -2
  160. package/src/manifests/calendar.manifest.json +1 -1
  161. package/src/manifests/card.manifest.json +1 -1
  162. package/src/manifests/checkbox.manifest.json +1 -1
  163. package/src/manifests/comparison-table.manifest.json +1 -1
  164. package/src/manifests/confirm-dialog.manifest.json +1 -1
  165. package/src/manifests/contact-strip.manifest.json +1 -1
  166. package/src/manifests/container.manifest.json +1 -1
  167. package/src/manifests/cover-image.manifest.json +1 -1
  168. package/src/manifests/cta-section.manifest.json +1 -1
  169. package/src/manifests/data-table.manifest.json +22 -1
  170. package/src/manifests/date-picker-popover.manifest.json +1 -1
  171. package/src/manifests/date-picker.manifest.json +1 -1
  172. package/src/manifests/date-range-picker.manifest.json +1 -1
  173. package/src/manifests/deal-card.manifest.json +1 -1
  174. package/src/manifests/dialog.manifest.json +1 -1
  175. package/src/manifests/document-card.manifest.json +1 -1
  176. package/src/manifests/drawer.manifest.json +1 -1
  177. package/src/manifests/empty-state.manifest.json +1 -1
  178. package/src/manifests/entity-card.manifest.json +1 -1
  179. package/src/manifests/feature-grid.manifest.json +1 -1
  180. package/src/manifests/feature-row.manifest.json +1 -1
  181. package/src/manifests/fieldset.manifest.json +1 -1
  182. package/src/manifests/file-upload.manifest.json +1 -1
  183. package/src/manifests/filter-bar.manifest.json +1 -1
  184. package/src/manifests/filter-chips.manifest.json +1 -1
  185. package/src/manifests/filter-panel.manifest.json +1 -1
  186. package/src/manifests/flex.manifest.json +1 -1
  187. package/src/manifests/form-field.manifest.json +1 -1
  188. package/src/manifests/form-layout.manifest.json +1 -1
  189. package/src/manifests/form.manifest.json +1 -1
  190. package/src/manifests/grid.manifest.json +1 -1
  191. package/src/manifests/heading.manifest.json +1 -1
  192. package/src/manifests/hero.manifest.json +1 -1
  193. package/src/manifests/image.manifest.json +1 -1
  194. package/src/manifests/input-group.manifest.json +1 -1
  195. package/src/manifests/input.manifest.json +1 -1
  196. package/src/manifests/label.manifest.json +1 -1
  197. package/src/manifests/link-tabs.manifest.json +1 -1
  198. package/src/manifests/link.manifest.json +1 -1
  199. package/src/manifests/list-toolbar.manifest.json +120 -0
  200. package/src/manifests/list.manifest.json +1 -1
  201. package/src/manifests/load-more.manifest.json +1 -1
  202. package/src/manifests/logo-cloud.manifest.json +1 -1
  203. package/src/manifests/menu.manifest.json +1 -1
  204. package/src/manifests/metric-card.manifest.json +1 -1
  205. package/src/manifests/multi-select.manifest.json +1 -1
  206. package/src/manifests/newsletter.manifest.json +1 -1
  207. package/src/manifests/page-header.manifest.json +1 -1
  208. package/src/manifests/pagination.manifest.json +1 -1
  209. package/src/manifests/password-input.manifest.json +1 -1
  210. package/src/manifests/popover.manifest.json +1 -1
  211. package/src/manifests/process-steps.manifest.json +1 -1
  212. package/src/manifests/progress.manifest.json +1 -1
  213. package/src/manifests/prose.manifest.json +1 -1
  214. package/src/manifests/radio.manifest.json +1 -1
  215. package/src/manifests/range-slider.manifest.json +1 -1
  216. package/src/manifests/search.manifest.json +1 -1
  217. package/src/manifests/section-heading.manifest.json +1 -1
  218. package/src/manifests/section.manifest.json +1 -1
  219. package/src/manifests/segmented-control.manifest.json +4 -4
  220. package/src/manifests/select-menu.manifest.json +1 -1
  221. package/src/manifests/select.manifest.json +1 -1
  222. package/src/manifests/separator.manifest.json +1 -1
  223. package/src/manifests/site-footer.manifest.json +1 -1
  224. package/src/manifests/site-header.manifest.json +1 -1
  225. package/src/manifests/skeleton.manifest.json +1 -1
  226. package/src/manifests/spinner.manifest.json +1 -1
  227. package/src/manifests/stat-band.manifest.json +1 -1
  228. package/src/manifests/stepper.manifest.json +1 -1
  229. package/src/manifests/switch.manifest.json +1 -1
  230. package/src/manifests/table-card.manifest.json +1 -1
  231. package/src/manifests/table-of-contents.manifest.json +1 -1
  232. package/src/manifests/table.manifest.json +1 -1
  233. package/src/manifests/tabs.manifest.json +1 -1
  234. package/src/manifests/testimonial.manifest.json +1 -1
  235. package/src/manifests/text.manifest.json +1 -1
  236. package/src/manifests/textarea.manifest.json +1 -1
  237. package/src/manifests/theme-toggle.manifest.json +1 -1
  238. package/src/manifests/time-picker.manifest.json +1 -1
  239. package/src/manifests/timeline.manifest.json +1 -1
  240. package/src/manifests/toast.manifest.json +1 -1
  241. package/src/manifests/tombstone-card.manifest.json +1 -1
  242. package/src/manifests/tooltip.manifest.json +1 -1
@@ -0,0 +1,120 @@
1
+ {
2
+ "id": "list-toolbar",
3
+ "name": "ListToolbar",
4
+ "tier": "atom",
5
+ "description": "Slim result bar for filtered lists: count, page position, sort note, and slots for a view switch and sort control.",
6
+ "designIntent": "Every directory rebuilds the same row above its results: \"42 events · Page 2 of 5\" on the left, a grid/list SegmentedControl and a sort Select on the right. ListToolbar fixes that layout so the summary stays consistent and screen readers hear count changes.",
7
+ "props": [
8
+ {
9
+ "name": "count",
10
+ "type": "number",
11
+ "required": false,
12
+ "description": "Number of matching results; renders \"{count} {countLabel}\"."
13
+ },
14
+ {
15
+ "name": "countLabel",
16
+ "type": "string",
17
+ "required": false,
18
+ "defaultValue": "results",
19
+ "description": "Noun for the result count."
20
+ },
21
+ {
22
+ "name": "position",
23
+ "type": "ReactNode",
24
+ "required": false,
25
+ "description": "Page or range position, e.g. \"Page 2 of 5\" or \"Showing 21–40 of 137\"."
26
+ },
27
+ {
28
+ "name": "note",
29
+ "type": "ReactNode",
30
+ "required": false,
31
+ "description": "Muted note after the position, e.g. \"Sorted by date, soonest first\"."
32
+ },
33
+ {
34
+ "name": "align",
35
+ "type": "'between' | 'start' | 'center' | 'end'",
36
+ "required": false,
37
+ "defaultValue": "between",
38
+ "description": "Distribution of summary and controls.",
39
+ "enum": [
40
+ "between",
41
+ "start",
42
+ "center",
43
+ "end"
44
+ ]
45
+ },
46
+ {
47
+ "name": "children",
48
+ "type": "ReactNode",
49
+ "required": false,
50
+ "description": "Controls rendered at the far end: SegmentedControl view switch, sort Select."
51
+ }
52
+ ],
53
+ "examples": [
54
+ {
55
+ "title": "Directory result bar",
56
+ "code": "<ListToolbar\n count={events.length}\n countLabel=\"events\"\n position={\"Page \" + page + \" of \" + pages}\n note=\"Sorted by date, soonest first\"\n>\n <SegmentedControl\n options={[{ value: 'grid', label: 'Grid' }, { value: 'list', label: 'List' }]}\n value={view}\n onValueChange={setView}\n />\n <Select label=\"Sort\" options={sortOptions} value={sort} onValueChange={setSort} />\n</ListToolbar>",
57
+ "description": "Count and position on the left; view switch and sort on the right."
58
+ }
59
+ ],
60
+ "antiPatterns": [
61
+ {
62
+ "title": "Don't put filter inputs in the bar",
63
+ "explanation": "ListToolbar summarizes results; search fields and filter selects belong in FilterBar above it. Children is for the view switch and sort control only.",
64
+ "example": "// Avoid\n<ListToolbar><Input placeholder=\"Search…\" /><Select … /></ListToolbar>\n\n// Prefer\n<FilterBar searchValue={q} onSearchChange={setQ}><Select … /></FilterBar>\n<ListToolbar count={n}><SegmentedControl … /><Select … /></ListToolbar>"
65
+ }
66
+ ],
67
+ "accessibility": [
68
+ {
69
+ "feature": "Live result count",
70
+ "implementation": "The summary line is aria-live=polite so filtering announces the new count",
71
+ "userRequirements": "Keep count updates meaningful; avoid announcing on every keystroke if the list filters live"
72
+ }
73
+ ],
74
+ "contentGuidelines": [
75
+ {
76
+ "contentType": "Count label",
77
+ "guidelines": [
78
+ "Name the collection being counted",
79
+ "Use singular nouns for count=1 if the host needs it"
80
+ ],
81
+ "goodExamples": [
82
+ "events",
83
+ "studios"
84
+ ],
85
+ "badExamples": [
86
+ "items",
87
+ "results"
88
+ ]
89
+ }
90
+ ],
91
+ "compositionRules": [
92
+ {
93
+ "component": "SegmentedControl",
94
+ "relationship": "Link-mode SegmentedControl is the canonical grid/list view switch",
95
+ "example": "<ListToolbar …><SegmentedControl options={views} value={view} onValueChange={setView} /></ListToolbar>"
96
+ },
97
+ {
98
+ "component": "Select",
99
+ "relationship": "Sort control renders in children",
100
+ "example": "<ListToolbar …><Select label=\"Sort\" … /></ListToolbar>"
101
+ },
102
+ {
103
+ "component": "FilterBar",
104
+ "relationship": "FilterBar owns the input row above; ListToolbar owns the result summary below it",
105
+ "example": "<FilterBar … />\n<ListToolbar … />\n{results}"
106
+ }
107
+ ],
108
+ "relatedComponents": [
109
+ "FilterBar",
110
+ "SegmentedControl",
111
+ "Select",
112
+ "Pagination",
113
+ "EmptyState"
114
+ ],
115
+ "package": "@slipstream-ui/core",
116
+ "importPath": "@slipstream-ui/core",
117
+ "version": "0.11.9",
118
+ "sourceDir": "list-toolbar",
119
+ "exportName": "ListToolbar"
120
+ }
@@ -132,7 +132,7 @@
132
132
  ],
133
133
  "package": "@slipstream-ui/core",
134
134
  "importPath": "@slipstream-ui/core",
135
- "version": "0.11.8",
135
+ "version": "0.11.9",
136
136
  "sourceDir": "list",
137
137
  "exportName": "List"
138
138
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "load-more",
9
9
  "exportName": "LoadMore",
10
10
  "description": "Load-more control with pending and end-of-list states.",
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "logo-cloud",
9
9
  "exportName": "LogoCloud",
10
10
  "description": "Trust strip for member, customer or partner logos with captions, columns and optional links.",
@@ -120,7 +120,7 @@
120
120
  ],
121
121
  "package": "@slipstream-ui/core",
122
122
  "importPath": "@slipstream-ui/core",
123
- "version": "0.11.8",
123
+ "version": "0.11.9",
124
124
  "sourceDir": "menu",
125
125
  "exportName": "Menu"
126
126
  }
@@ -131,7 +131,7 @@
131
131
  ],
132
132
  "package": "@slipstream-ui/core",
133
133
  "importPath": "@slipstream-ui/core",
134
- "version": "0.11.8",
134
+ "version": "0.11.9",
135
135
  "sourceDir": "metric-card",
136
136
  "exportName": "MetricCard"
137
137
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "multi-select",
9
9
  "exportName": "MultiSelect",
10
10
  "description": "Searchable multi-select filter with visible removable chips and a checkbox panel.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "newsletter",
9
9
  "exportName": "Newsletter",
10
10
  "description": "Email capture block with inline or stacked layout, pending state, success and failure feedback.",
@@ -158,7 +158,7 @@
158
158
  ],
159
159
  "package": "@slipstream-ui/core",
160
160
  "importPath": "@slipstream-ui/core",
161
- "version": "0.11.8",
161
+ "version": "0.11.9",
162
162
  "sourceDir": "page-header",
163
163
  "exportName": "PageHeader"
164
164
  }
@@ -204,7 +204,7 @@
204
204
  ],
205
205
  "package": "@slipstream-ui/core",
206
206
  "importPath": "@slipstream-ui/core",
207
- "version": "0.11.8",
207
+ "version": "0.11.9",
208
208
  "sourceDir": "pagination",
209
209
  "exportName": "Pagination"
210
210
  }
@@ -69,7 +69,7 @@
69
69
  ],
70
70
  "package": "@slipstream-ui/core",
71
71
  "importPath": "@slipstream-ui/core",
72
- "version": "0.11.8",
72
+ "version": "0.11.9",
73
73
  "sourceDir": "password-input",
74
74
  "exportName": "PasswordInput"
75
75
  }
@@ -180,7 +180,7 @@
180
180
  ],
181
181
  "package": "@slipstream-ui/core",
182
182
  "importPath": "@slipstream-ui/core",
183
- "version": "0.11.8",
183
+ "version": "0.11.9",
184
184
  "sourceDir": "popover",
185
185
  "exportName": "Popover"
186
186
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "process-steps",
9
9
  "exportName": "ProcessSteps",
10
10
  "description": "Ordered process cards with derived step numbers or custom icons.",
@@ -109,7 +109,7 @@
109
109
  ],
110
110
  "package": "@slipstream-ui/core",
111
111
  "importPath": "@slipstream-ui/core",
112
- "version": "0.11.8",
112
+ "version": "0.11.9",
113
113
  "sourceDir": "progress",
114
114
  "exportName": "Progress"
115
115
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "prose",
9
9
  "exportName": "Prose",
10
10
  "description": "Self-contained long-form typography for rendered markdown/MDX: headings, links, lists, code, tables, quotes and figures.",
@@ -181,7 +181,7 @@
181
181
  ],
182
182
  "package": "@slipstream-ui/core",
183
183
  "importPath": "@slipstream-ui/core",
184
- "version": "0.11.8",
184
+ "version": "0.11.9",
185
185
  "sourceDir": "radio",
186
186
  "exportName": "Radio"
187
187
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "range-slider",
9
9
  "exportName": "RangeSlider",
10
10
  "description": "Dual-thumb numeric range slider with labeled native inputs and formatted values.",
@@ -161,7 +161,7 @@
161
161
  ],
162
162
  "package": "@slipstream-ui/core",
163
163
  "importPath": "@slipstream-ui/core",
164
- "version": "0.11.8",
164
+ "version": "0.11.9",
165
165
  "sourceDir": "search",
166
166
  "exportName": "Search"
167
167
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "section-heading",
9
9
  "exportName": "SectionHeading",
10
10
  "description": "Section heading block: eyebrow, title (level 2-4), description and actions, with left/center alignment and three sizes.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "section",
9
9
  "exportName": "Section",
10
10
  "description": "Full-width page section with a surface tone, vertical rhythm and an optional centered container.",
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "segmented-control",
9
9
  "exportName": "SegmentedControl",
10
10
  "description": "Single- or multi-select segmented control for view and filter switches.",
@@ -14,7 +14,7 @@
14
14
  "name": "options",
15
15
  "type": "SegmentedOption[]",
16
16
  "required": true,
17
- "description": "Segments to render: value, label, optional icon, disabled, and href. An option with href renders as a link (view-switch navigation that survives refresh and works without JavaScript); the active segment becomes a non-link aria-current=\"page\" marker."
17
+ "description": "Segments to render: value, label, optional icon, hint, disabled, and href. An option with href renders as a link (view-switch navigation that survives refresh and works without JavaScript); the active segment becomes a non-link aria-current=\"page\" marker."
18
18
  },
19
19
  {
20
20
  "name": "value",
@@ -55,10 +55,10 @@
55
55
  },
56
56
  {
57
57
  "name": "fullWidth",
58
- "type": "boolean",
58
+ "type": "boolean | 'sm' | 'md' | 'lg' | 'xl' | '2xl'",
59
59
  "required": false,
60
60
  "defaultValue": "false",
61
- "description": "Stretch segments to fill the container width."
61
+ "description": "Stretch segments to fill the container width. A breakpoint string fills only below that breakpoint and hugs content at and above it."
62
62
  },
63
63
  {
64
64
  "name": "linkComponent",
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "select-menu",
9
9
  "exportName": "SelectMenu",
10
10
  "description": "Custom listbox select for rich options: descriptions, icons, groups, multi-select, custom rows and hidden inputs for forms.",
@@ -130,7 +130,7 @@
130
130
  ],
131
131
  "package": "@slipstream-ui/core",
132
132
  "importPath": "@slipstream-ui/core",
133
- "version": "0.11.8",
133
+ "version": "0.11.9",
134
134
  "sourceDir": "select",
135
135
  "exportName": "Select"
136
136
  }
@@ -84,7 +84,7 @@
84
84
  ],
85
85
  "package": "@slipstream-ui/core",
86
86
  "importPath": "@slipstream-ui/core",
87
- "version": "0.11.8",
87
+ "version": "0.11.9",
88
88
  "sourceDir": "separator",
89
89
  "exportName": "Separator"
90
90
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "site-footer",
9
9
  "exportName": "SiteFooter",
10
10
  "description": "Marketing footer: brand + tagline column, link columns and a legal bar; router-agnostic via linkComponent.",
@@ -4,7 +4,7 @@
4
4
  "tier": "organism",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "site-header",
9
9
  "exportName": "SiteHeader",
10
10
  "description": "Marketing/site header: sticky bar with brand, horizontal navigation with prefix-aware active states, right-aligned actions and a mobile drawer.",
@@ -126,7 +126,7 @@
126
126
  ],
127
127
  "package": "@slipstream-ui/core",
128
128
  "importPath": "@slipstream-ui/core",
129
- "version": "0.11.8",
129
+ "version": "0.11.9",
130
130
  "sourceDir": "skeleton",
131
131
  "exportName": "Skeleton"
132
132
  }
@@ -52,7 +52,7 @@
52
52
  ],
53
53
  "package": "@slipstream-ui/core",
54
54
  "importPath": "@slipstream-ui/core",
55
- "version": "0.11.8",
55
+ "version": "0.11.9",
56
56
  "sourceDir": "spinner",
57
57
  "exportName": "Spinner"
58
58
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "stat-band",
9
9
  "exportName": "StatBand",
10
10
  "description": "Semantic description list of headline stats with labels, optional hints and column presets.",
@@ -159,7 +159,7 @@
159
159
  ],
160
160
  "package": "@slipstream-ui/core",
161
161
  "importPath": "@slipstream-ui/core",
162
- "version": "0.11.8",
162
+ "version": "0.11.9",
163
163
  "sourceDir": "stepper",
164
164
  "exportName": "Stepper"
165
165
  }
@@ -102,7 +102,7 @@
102
102
  ],
103
103
  "package": "@slipstream-ui/core",
104
104
  "importPath": "@slipstream-ui/core",
105
- "version": "0.11.8",
105
+ "version": "0.11.9",
106
106
  "sourceDir": "switch",
107
107
  "exportName": "Switch"
108
108
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "table-card",
9
9
  "exportName": "TableCard",
10
10
  "description": "Table shell with title/description, header actions, optional toolbar, edge-to-edge body and a footer row.",
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "table-of-contents",
9
9
  "exportName": "TableOfContents",
10
10
  "description": "Sticky 'On this page' navigation with real anchor links, nested levels and aria-current, plus a useScrollSpy hook for the active heading.",
@@ -78,7 +78,7 @@
78
78
  ],
79
79
  "package": "@slipstream-ui/core",
80
80
  "importPath": "@slipstream-ui/core",
81
- "version": "0.11.8",
81
+ "version": "0.11.9",
82
82
  "sourceDir": "table",
83
83
  "exportName": "Table"
84
84
  }
@@ -138,7 +138,7 @@
138
138
  ],
139
139
  "package": "@slipstream-ui/core",
140
140
  "importPath": "@slipstream-ui/core",
141
- "version": "0.11.8",
141
+ "version": "0.11.9",
142
142
  "sourceDir": "tabs",
143
143
  "exportName": "Tabs"
144
144
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "testimonial",
9
9
  "exportName": "Testimonial",
10
10
  "description": "Semantic written testimonial with quote, person, role, company, avatar and logo slots.",
@@ -107,7 +107,7 @@
107
107
  ],
108
108
  "package": "@slipstream-ui/core",
109
109
  "importPath": "@slipstream-ui/core",
110
- "version": "0.11.8",
110
+ "version": "0.11.9",
111
111
  "sourceDir": "text",
112
112
  "exportName": "Text"
113
113
  }
@@ -102,7 +102,7 @@
102
102
  ],
103
103
  "package": "@slipstream-ui/core",
104
104
  "importPath": "@slipstream-ui/core",
105
- "version": "0.11.8",
105
+ "version": "0.11.9",
106
106
  "sourceDir": "textarea",
107
107
  "exportName": "Textarea"
108
108
  }
@@ -112,7 +112,7 @@
112
112
  ],
113
113
  "package": "@slipstream-ui/core",
114
114
  "importPath": "@slipstream-ui/core",
115
- "version": "0.11.8",
115
+ "version": "0.11.9",
116
116
  "sourceDir": "theme-toggle",
117
117
  "exportName": "ThemeToggle"
118
118
  }
@@ -87,7 +87,7 @@
87
87
  ],
88
88
  "package": "@slipstream-ui/core",
89
89
  "importPath": "@slipstream-ui/core",
90
- "version": "0.11.8",
90
+ "version": "0.11.9",
91
91
  "sourceDir": "time-picker",
92
92
  "exportName": "TimePicker"
93
93
  }
@@ -63,7 +63,7 @@
63
63
  ],
64
64
  "package": "@slipstream-ui/core",
65
65
  "importPath": "@slipstream-ui/core",
66
- "version": "0.11.8",
66
+ "version": "0.11.9",
67
67
  "sourceDir": "timeline",
68
68
  "exportName": "Timeline"
69
69
  }
@@ -161,7 +161,7 @@
161
161
  ],
162
162
  "package": "@slipstream-ui/core",
163
163
  "importPath": "@slipstream-ui/core",
164
- "version": "0.11.8",
164
+ "version": "0.11.9",
165
165
  "sourceDir": "toast",
166
166
  "exportName": "ToastProvider"
167
167
  }
@@ -4,7 +4,7 @@
4
4
  "tier": "molecule",
5
5
  "package": "@slipstream-ui/core",
6
6
  "importPath": "@slipstream-ui/core",
7
- "version": "0.11.8",
7
+ "version": "0.11.9",
8
8
  "sourceDir": "tombstone-card",
9
9
  "exportName": "TombstoneCard",
10
10
  "description": "Placeholder card for archived, closed or unavailable marketplace items.",
@@ -120,7 +120,7 @@
120
120
  ],
121
121
  "package": "@slipstream-ui/core",
122
122
  "importPath": "@slipstream-ui/core",
123
- "version": "0.11.8",
123
+ "version": "0.11.9",
124
124
  "sourceDir": "tooltip",
125
125
  "exportName": "Tooltip"
126
126
  }
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const buttonVariants: (props?: ({
4
4
  variant?: "link" | "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "contrast" | "onDark" | null | undefined;
5
- size?: "sm" | "lg" | "default" | "icon" | null | undefined;
5
+ size?: "sm" | "lg" | "default" | "xs" | "icon" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
8
8
  asChild?: boolean;
@@ -13,7 +13,7 @@ export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & Varian
13
13
  };
14
14
  declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<(props?: ({
15
15
  variant?: "link" | "default" | "primary" | "destructive" | "danger" | "success" | "warning" | "info" | "outline" | "outline-destructive" | "outline-success" | "outline-warning" | "outline-info" | "secondary" | "ghost" | "contrast" | "onDark" | null | undefined;
16
- size?: "sm" | "lg" | "default" | "icon" | null | undefined;
16
+ size?: "sm" | "lg" | "default" | "xs" | "icon" | null | undefined;
17
17
  } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
18
18
  asChild?: boolean;
19
19
  /** Shows a spinner, disables the button and sets aria-busy while an action runs. */
@@ -71,6 +71,7 @@ const buttonVariants = (0, import_class_variance_authority.cva)(
71
71
  size: {
72
72
  default: "h-10 px-4 py-2",
73
73
  sm: "h-9 rounded-md px-3",
74
+ xs: "h-8 rounded-md px-2.5 text-xs",
74
75
  lg: "h-11 rounded-md px-8",
75
76
  icon: "h-10 w-10"
76
77
  }