gatsby-core-theme 40.0.5 → 40.0.6

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,3 +1,16 @@
1
+ ## [40.0.6](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v40.0.5...v40.0.6) (2024-10-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * content image ([26c5ad8](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/26c5ad8eae52a567dc1f5e43132becd4625380ca))
7
+ * test ([1b6ffca](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/1b6ffca0e867d7378761a753f191f8e33ee93bc9))
8
+ * update min width of tables ([5d42c8c](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/5d42c8c6c006e36fb23aa1fe708e996beb53fa4b))
9
+
10
+
11
+ * Merge branch 'tm-4346-content-image' into 'master' ([7f0da68](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/7f0da6808793f9206e34f1846b0ef49ee0eebbe7))
12
+ * Merge branch 'tm-4854-table-issue' into 'master' ([97789fd](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/commit/97789fdb6ddf41d58c31d2f1cee943f99ab7f5e9))
13
+
1
14
  ## [40.0.5](https://gitlab.com/g2m-gentoo/team-floyd/themes/gatsby-themes/compare/v40.0.4...v40.0.5) (2024-10-16)
2
15
 
3
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gatsby-core-theme",
3
- "version": "40.0.5",
3
+ "version": "40.0.6",
4
4
  "description": "Gatsby Theme NPM Package",
5
5
  "author": "",
6
6
  "license": "ISC",
@@ -1,3 +1,4 @@
1
+ /* stylelint-disable */
1
2
  @mixin tableStyles {
2
3
  width: 100% !important;
3
4
  border: none;
@@ -10,6 +11,7 @@
10
11
  display: block;
11
12
  box-shadow: var(--table-box-shadow, 0px 4px 6px -2px rgba(27, 27, 28, 0.02), 0px 12px 16px -4px rgba(27, 27, 28, 0.05));
12
13
  padding-bottom: 2.4rem;
14
+ min-width: 100% !important;
13
15
 
14
16
  &::-webkit-scrollbar {
15
17
  height: 0.6rem;
@@ -25,7 +27,7 @@
25
27
  &::-webkit-scrollbar-track {
26
28
  background: #e0e0e2;
27
29
  border-radius: 100px;
28
- opacity: 0.20000000298023224;
30
+ opacity: 0.2;
29
31
  }
30
32
  @include scrollbar(
31
33
  var(--scroll-height-1, 0.8rem),
@@ -44,7 +44,7 @@ export default (node, moduleWidth = 960, moduleName, pageTemplate, modulePositio
44
44
  const key = child.attribs.id || child.name
45
45
 
46
46
  if (child.name === 'img') {
47
- processImageNode(child, moduleWidth)
47
+ return processImageNode(child, moduleWidth)
48
48
  }
49
49
 
50
50
  return React.createElement(
@@ -113,7 +113,7 @@ describe('replaceMedia function', () => {
113
113
  const imageNode = transformedNode.props.children[0]
114
114
  // expect(imageNode.type).toBe(LazyImage);
115
115
  expect(imageNode.props.src).toBe(
116
- 'https://assets-srv.s3.eu-west-1.amazonaws.com/1718708348/springbok-casino-bonus.jpg'
116
+ 'https://cdn.images.com/fit-in/100x50/1718708348/springbok-casino-bonus.jpg'
117
117
  )
118
118
  expect(imageNode.props.alt).toBe('Alt text')
119
119
  expect(imageNode.props.width).toBe('100')