Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions .changeset/components-config.md

This file was deleted.

7 changes: 7 additions & 0 deletions examples/bilingual/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @edoxen/browser-example-bilingual

## 0.0.20

### Patch Changes

- Updated dependencies [cccfdf1]
- @edoxen/browser@0.12.0

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/bilingual/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edoxen/browser-example-bilingual",
"version": "0.0.19",
"version": "0.0.20",
"private": true,
"type": "module",
"description": "Bilingual @edoxen/browser example — EN + FR content via per-field LocalizedString.",
Expand Down
7 changes: 7 additions & 0 deletions examples/minimal/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @edoxen/browser-example-minimal

## 0.0.20

### Patch Changes

- Updated dependencies [cccfdf1]
- @edoxen/browser@0.12.0

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edoxen/browser-example-minimal",
"version": "0.0.19",
"version": "0.0.20",
"private": true,
"type": "module",
"description": "Minimal @edoxen/browser example — single-locale, decisions-only.",
Expand Down
7 changes: 7 additions & 0 deletions examples/multibody/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @edoxen/browser-example-multibody

## 0.0.20

### Patch Changes

- Updated dependencies [cccfdf1]
- @edoxen/browser@0.12.0

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/multibody/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edoxen/browser-example-multibody",
"version": "0.0.19",
"version": "0.0.20",
"private": true,
"type": "module",
"description": "Multi-body @edoxen/browser example — CIML + Conference + DC badges.",
Expand Down
7 changes: 7 additions & 0 deletions examples/standalone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @edoxen/browser-example-standalone

## 0.0.20

### Patch Changes

- Updated dependencies [cccfdf1]
- @edoxen/browser@0.12.0

## 0.0.19

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion examples/standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edoxen/browser-example-standalone",
"version": "0.0.19",
"version": "0.0.20",
"private": true,
"type": "module",
"description": "Standalone-mode @edoxen/browser showcase — no astro.config: edoxen.config.ts + data + src/styles/override.css theming demo.",
Expand Down
20 changes: 20 additions & 0 deletions packages/browser/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @edoxen/browser

## 0.12.0

### Minor Changes

- cccfdf1: Config-driven component layout.

New `components` config block exposes visibility and (for the card meta row) order via three list-shaped fields, each backed by a closed Zod enum for typo safety:

- **`components.meetingCard.metaItems`** — iterates in the configured order. Fully reorderable. Drop an item to hide it. Default: `['date', 'type', 'status', 'committee', 'count']`.
- **`components.meetingDetail.sections`** — visibility filter (`includes()` check). Source order preserved. Default: the 13 sections already on the page.
- **`components.decisionDetail.sections`** — visibility filter. Default: the 8 sections already on the page.

Adding a new meta item type = extending the `MeetingCardMetaItem` union + adding a branch in the renderer. OCP-compliant: the renderer is a generic `.map()` over the configured list, not a switch that grows.

Defaults preserve current behavior — existing consumers see no change unless they opt in.

### Why meetingCard iterates but detail sections only filter

The card meta items are simple inline elements that fit cleanly in a `.map()`. The detail sections are 21 complex blocks with deep conditional logic (resolving committees, three-tier venue resolution, agenda+decisions interplay, etc.). Full reorder for detail sections requires extracting each section to its own component file — tracked separately in https://github.com/edoxen/browser/issues/53.

## 0.11.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@edoxen/browser",
"version": "0.11.0",
"version": "0.12.0",
"description": "Astro-based browser for edoxen YAML data — drop in your data and ship a resolutions archive site.",
"type": "module",
"license": "BSD-2-Clause",
Expand Down
Loading