@plone/aurora 1.0.0-alpha.17 → 1.0.0-alpha.19

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
@@ -8,6 +8,21 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 1.0.0-alpha.19 (2026-10-06)
12
+
13
+ ### Documentation
14
+
15
+ - Documented the content styles loader, its authoring rules, and how to override block styles from an add-on. @sneridagh [#199](https://github.com/plone/aurora/issues/199)
16
+ - Documented the block content classname contract for themers. @sneridagh [#200](https://github.com/plone/aurora/issues/200)
17
+ - Added the block content CSS changes of plone/aurora#199 and plone/aurora#200 to the upgrade guide. @sneridagh
18
+ - Added the how-to guide "Style blocks in a theme", with every block's parts and tokens, and fixed the content styles examples in the add-on styles loader and block anatomy docs. @sneridagh
19
+
20
+ ## 1.0.0-alpha.18 (2026-10-06)
21
+
22
+ ### Internal
23
+
24
+ - Update to latest @plone/plate @sneridagh [#update](https://github.com/plone/aurora/issues/update)
25
+
11
26
  ## 1.0.0-alpha.17 (2026-10-06)
12
27
 
13
28
  ### Internal
@@ -71,18 +71,19 @@ test.describe('Hydration', () => {
71
71
  // Keep a reference to the server-rendered node, before React hydrates.
72
72
  await page.addInitScript(() => {
73
73
  document.addEventListener('DOMContentLoaded', () => {
74
- (window as any).__ssrImageBlock =
75
- document.querySelector('.image-block');
74
+ (window as any).__ssrImageBlock = document.querySelector(
75
+ '.block-image__frame',
76
+ );
76
77
  });
77
78
  });
78
79
  await page.goto(`/${PAGE_ID}`);
79
80
 
80
- // Wait until React owns the current `.image-block`, i.e. hydration (or a
81
+ // Wait until React owns the current `.block-image__frame`, i.e. hydration (or a
81
82
  // client re-render after a failed hydration) has finished.
82
83
  await expect
83
84
  .poll(() =>
84
85
  page.evaluate(() => {
85
- const el = document.querySelector('.image-block');
86
+ const el = document.querySelector('.block-image__frame');
86
87
  return (
87
88
  !!el && Object.keys(el).some((k) => k.startsWith('__reactFiber'))
88
89
  );
@@ -95,7 +96,7 @@ test.describe('Hydration', () => {
95
96
  return {
96
97
  found: !!ssr,
97
98
  connected: !!ssr?.isConnected,
98
- same: ssr === document.querySelector('.image-block'),
99
+ same: ssr === document.querySelector('.block-image__frame'),
99
100
  width: ssr?.getBoundingClientRect().width ?? 0,
100
101
  };
101
102
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plone/aurora",
3
3
  "description": "Plone Aurora is the next-generation frontend for Plone CMS",
4
- "version": "1.0.0-alpha.17",
4
+ "version": "1.0.0-alpha.19",
5
5
  "maintainers": [
6
6
  {
7
7
  "name": "Plone Foundation",
@@ -45,21 +45,21 @@
45
45
  "react-i18next": "^15.4.1",
46
46
  "react-router": "8.2.0",
47
47
  "remix-i18next": "^8.0.0",
48
- "@plone/blocks": "1.0.0-alpha.17",
48
+ "@plone/agave": "1.0.0-alpha.9",
49
+ "@plone/blocks": "1.0.0-alpha.18",
49
50
  "@plone/client": "2.0.0-alpha.8",
50
- "@plone/cmsui": "1.0.0-alpha.11",
51
- "@plone/agave": "1.0.0-alpha.8",
52
- "@plone/plate": "1.0.0-alpha.23",
53
- "@plone/layout": "1.0.0-alpha.13",
51
+ "@plone/cmsui": "1.0.0-alpha.12",
52
+ "@plone/components": "5.0.0-alpha.5",
53
+ "@plone/icons": "1.0.0-alpha.1",
54
54
  "@plone/contents": "1.0.0-alpha.3",
55
55
  "@plone/helpers": "2.0.0-alpha.9",
56
- "@plone/components": "5.0.0-alpha.5",
56
+ "@plone/plate": "1.0.0-alpha.25",
57
+ "@plone/layout": "1.0.0-alpha.14",
57
58
  "@plone/publicui": "1.0.0-alpha.8",
58
- "@plone/quanta": "1.0.0-alpha.1",
59
- "@plone/icons": "1.0.0-alpha.1",
60
- "@plone/registry": "4.0.0-alpha.4",
61
- "@plone/theming": "1.0.0-alpha.8",
62
- "@plone/react-router": "2.0.0-alpha.7"
59
+ "@plone/react-router": "2.0.0-alpha.7",
60
+ "@plone/registry": "4.0.0-alpha.5",
61
+ "@plone/theming": "1.0.0-alpha.9",
62
+ "@plone/quanta": "1.0.0-alpha.2"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@babel/core": "^7.28.5",