@kitconcept/volto-light-theme 4.0.0 → 4.0.1

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.draft CHANGED
@@ -1,26 +1,12 @@
1
- ## 4.0.0 (2024-06-21)
2
-
3
- ### Breaking
4
-
5
- - Fix tabbing order in the top header. It modifies the underlying HTML to move the top header to the bottom, and modifies CSS to adjust. @iRohitSingh @sneridagh [#374](https://github.com/kitconcept/volto-light-theme/pull/374)
6
- - Updated the MobileNavigation component to be more easily customizable.
7
- The component can now handle infinite navigation depth instead of only three levels, if configured to do so.
8
- The Burger Menu can now be easily customized by overriding the new MobileNavigationToggler.jsx file.
9
- @lenadax
10
-
11
- Breaking:
12
- - The "hamburger" icon in the mobile navigation now has an additional wrapper that allows for better customization.
13
-
14
- If you have overriden the hamburger icon, you should make sure that your customizations still work and adjust otherwise. [#393](https://github.com/kitconcept/volto-light-theme/pull/393)
1
+ ## 4.0.1 (2024-06-28)
15
2
 
16
3
  ### Bugfix
17
4
 
18
- - Fix Logo alt-Title @jonaspiterek [#337](https://github.com/kitconcept/volto-light-theme/pull/337)
19
- - fix link in introduction block being smaller than normal text @jonaspiterek [#365](https://github.com/kitconcept/volto-light-theme/pull/365)
20
- - Fix Description block width in Edit and Add mode. @danalvrz [#394](https://github.com/kitconcept/volto-light-theme/pull/394)
5
+ - Fix Invalid html structure in caption component @iRohitSingh [#398](https://github.com/kitconcept/volto-light-theme/pull/398)
6
+ - Fix install in Volto 17 @sneridagh [#400](https://github.com/kitconcept/volto-light-theme/pull/400)
21
7
 
22
8
  ### Internal
23
9
 
24
- - Update the setup. Use new images. @sneridagh [#390](https://github.com/kitconcept/volto-light-theme/pull/390)
10
+ - Upgrade to Volto 18a37 @sneridagh [#403](https://github.com/kitconcept/volto-light-theme/pull/403)
25
11
 
26
12
 
package/.release-it.json CHANGED
@@ -1,4 +1,7 @@
1
1
  {
2
+ "plugins": {
3
+ "../../core/packages/scripts/prepublish.js": {}
4
+ },
2
5
  "hooks": {
3
6
  "after:bump": [
4
7
  "pipx run towncrier build --draft --yes --version ${version} > .changelog.draft",
package/CHANGELOG.md CHANGED
@@ -8,6 +8,17 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 4.0.1 (2024-06-28)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix Invalid html structure in caption component @iRohitSingh [#398](https://github.com/kitconcept/volto-light-theme/pull/398)
16
+ - Fix install in Volto 17 @sneridagh [#400](https://github.com/kitconcept/volto-light-theme/pull/400)
17
+
18
+ ### Internal
19
+
20
+ - Upgrade to Volto 18a37 @sneridagh [#403](https://github.com/kitconcept/volto-light-theme/pull/403)
21
+
11
22
  ## 4.0.0 (2024-06-21)
12
23
 
13
24
  ### Breaking
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/volto-light-theme",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Volto Light Theme by kitconcept",
5
5
  "main": "src/index.js",
6
6
  "types": "src/types/index.d.ts",
@@ -25,20 +25,12 @@
25
25
  "publishConfig": {
26
26
  "access": "public"
27
27
  },
28
- "scripts": {
29
- "i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
30
- "dry-release": "release-it --dry-run",
31
- "release": "release-it",
32
- "release-major-alpha": "release-it major --preRelease=alpha",
33
- "release-alpha": "release-it --preRelease=alpha",
34
- "release-rc": "release-it --preRelease=rc"
35
- },
36
28
  "devDependencies": {
37
29
  "@plone/scripts": "^3.6.1",
38
30
  "release-it": "^17.1.1"
39
31
  },
40
32
  "dependencies": {
41
- "@plone/components": "workspace:*"
33
+ "@plone/components": "2.0.0-alpha.11"
42
34
  },
43
35
  "peerDependencies": {
44
36
  "@eeacms/volto-accordion-block": "^10.4.6",
@@ -49,5 +41,13 @@
49
41
  "@kitconcept/volto-introduction-block": "^1.0.0",
50
42
  "@kitconcept/volto-separator-block": "^4.1.1",
51
43
  "@kitconcept/volto-slider-block": "^6.3.1"
44
+ },
45
+ "scripts": {
46
+ "i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
47
+ "dry-release": "release-it --dry-run",
48
+ "release": "release-it",
49
+ "release-major-alpha": "release-it major --preRelease=alpha",
50
+ "release-alpha": "release-it --preRelease=alpha",
51
+ "release-rc": "release-it --preRelease=rc"
52
52
  }
53
- }
53
+ }
@@ -16,16 +16,15 @@ import PropTypes from 'prop-types';
16
16
  */
17
17
  const Caption = ({ as = 'figcaption', title, description, credit }) => {
18
18
  const As = as;
19
-
20
19
  return (
21
20
  <As>
22
21
  {title && <h2 className="title">{title}</h2>}
23
22
  {description && (
24
- <p className="description">
23
+ <div className="description">
25
24
  {description.split('\n').map((line, index) => (
26
25
  <p key={index}>{line || '\u00A0'}</p>
27
26
  ))}
28
- </p>
27
+ </div>
29
28
  )}
30
29
  {credit && <p className="credits">{credit}</p>}
31
30
  </As>
File without changes
File without changes