@grove-dev/cli 0.5.0 → 0.5.2

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.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grove-dev/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "description": "Grove CLI — scaffolds Grove-powered spaces and orchestrates @grove-dev/core commands.",
6
6
  "license": "MIT",
@@ -20,9 +20,9 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@astrojs/check": "^0.9.9",
23
- "@grove-dev/astro": "^0.5.0",
24
- "@grove-dev/cli": "^0.5.0",
25
- "@grove-dev/core": "^0.5.0",
23
+ "@grove-dev/astro": "^0.5.2",
24
+ "@grove-dev/cli": "^0.5.2",
25
+ "@grove-dev/core": "^0.5.2",
26
26
  "@tailwindcss/vite": "^4.3.0",
27
27
  "astro": "^7.1.3",
28
28
  "tailwindcss": "^4.3.3",
@@ -132,33 +132,29 @@ const clearFiltersHref = clearQuery ? `/${slug}?${clearQuery}` : `/${slug}`;
132
132
  <button type="submit" class={buttonClass("primary", "bare", "h-10 px-4 text-sm max-sm:min-h-11")}>Search</button>
133
133
  </form>
134
134
 
135
- {/* Lens tabs: single scrollable row on mobile instead of a
136
- multi-row wall of controls. */}
137
- <div class="mt-4 max-md:-mx-5 max-md:overflow-x-auto max-md:px-5">
138
- <div class="flex items-center gap-2 md:flex-wrap max-md:w-max">
135
+ {/* One toolbar row on desktop: view tabs on the left, facet
136
+ filters pushed to the right. On mobile the tabs become a
137
+ single horizontally scrolling strip and the facets collapse
138
+ into a full-width "Filters" button opening a bottom sheet. */}
139
+ <div class="mt-4 flex flex-col gap-3 pb-6 md:flex-row md:items-center">
140
+ <div class="max-md:-mx-5 max-md:overflow-x-auto max-md:px-5">
139
141
  <SmartLensTabs
140
- class="contents"
142
+ class="max-md:w-max"
141
143
  currentParams={Astro.url.searchParams}
142
144
  pathPrefix={`/${slug}`}
143
145
  lensIds={PRIMARY_LENSES}
144
146
  allLabel={`All ${itemLabelPlural()}`}
145
147
  />
146
148
  </div>
147
- </div>
148
149
 
149
- {/* Facet filters: inline dropdown row on desktop; a single
150
- "Filters" button opening a bottom-sheet dialog on mobile. */}
151
- <div class="mt-3 pb-6">
152
- <FilterDrawer label="Filters" activeCount={chips.length}>
153
- <div class="flex flex-wrap items-center gap-2 max-md:flex-col max-md:items-stretch">
154
- <RefinePanel
155
- class="contents"
156
- groups={facetGroups}
157
- initial={filters}
158
- pathPrefix={`/${slug}`}
159
- hide={["sort"]}
160
- />
161
- </div>
150
+ <FilterDrawer label="Filters" activeCount={chips.length} class="md:ml-auto">
151
+ <RefinePanel
152
+ class="max-md:flex-col max-md:items-stretch"
153
+ groups={facetGroups}
154
+ initial={filters}
155
+ pathPrefix={`/${slug}`}
156
+ hide={["sort"]}
157
+ />
162
158
  </FilterDrawer>
163
159
  </div>
164
160
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grove-dev/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "type": "module",
5
5
  "description": "Grove CLI — scaffolds Grove-powered spaces and orchestrates @grove-dev/core commands.",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "lighthouse": "^12.8.2",
48
48
  "typescript": "^5.9.3",
49
49
  "yaml": "^2.6.0",
50
- "@grove-dev/core": "0.5.0"
50
+ "@grove-dev/core": "0.5.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "tsx": "^4.23.0"