@bygghammar/cms-platform 0.66.0 → 0.68.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.67.0
4
+
5
+ - `CabinTabsBlock`: removed the mobile right-edge arrow hint; the horizontal tab
6
+ rail and synchronized range slider remain.
7
+
8
+ ## 0.66.0
9
+
10
+ - `CabinTabsBlock`: reverted to the original horizontal tab row on mobile and
11
+ added a synchronized range slider below it plus a right-edge scroll hint arrow.
12
+
13
+ ## 0.65.0
14
+
15
+ - `CabinTabsBlock`: mobile category rail with snap scrolling, edge fades,
16
+ active-tab auto-centering, previous/next stepper, and swipe support.
17
+
18
+ ## 0.64.0
19
+
20
+ - Backoffice navigation, dashboard, and module screens now respect the saved
21
+ feature/module switches from Site settings.
22
+
3
23
  ## 0.63.0
4
24
 
5
25
  - Site config gains `branding` (`logo`, `logoDark`, `logoAlt`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bygghammar/cms-platform",
3
- "version": "0.66.0",
3
+ "version": "0.68.0",
4
4
  "description": "Shared CMS platform: blocks, block types, i18n core, UI primitives and design-token contract used by every Bygghammar/Voyara site.",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -298,6 +298,6 @@
298
298
  },
299
299
  "bin": {
300
300
  "cms-platform-migrations": "scripts/sync-migrations.mjs",
301
- "create-cms-site": "./scripts/create-cms-site.mjs"
301
+ "create-cms-site": "scripts/create-cms-site.mjs"
302
302
  }
303
- }
303
+ }
@@ -110,16 +110,6 @@ export function CabinTabsBlock({ props }: { props: CabinTabsProps }) {
110
110
  );
111
111
  })}
112
112
  </div>
113
-
114
- {/* Arrow hint: there is more to the right. */}
115
- {scroll.max > 4 && scroll.value < scroll.max - 4 ? (
116
- <div
117
- aria-hidden
118
- className="pointer-events-none absolute right-0 top-1/2 -translate-y-1/2 bg-white/85 p-1 text-sea shadow-sm lg:hidden"
119
- >
120
- <ChevronRight className="size-5" />
121
- </div>
122
- ) : null}
123
113
  </div>
124
114
 
125
115
  {/* Slider: drag to move through the categories. */}
@@ -150,7 +140,7 @@ export function CabinTabsBlock({ props }: { props: CabinTabsProps }) {
150
140
  </p>
151
141
  ) : null}
152
142
  {(item.bullets ?? []).length > 0 ? (
153
- <ul className="mt-6 space-y-2.5">
143
+ <ul className="mt-6 grid grid-cols-1 gap-x-6 gap-y-2.5 sm:grid-cols-2">
154
144
  {(item.bullets ?? []).map((b, i) => (
155
145
  <li key={b.id ?? i} className="flex items-start gap-3">
156
146
  <Check className="mt-1 size-4 shrink-0 text-sea" aria-hidden />