@vonaffenfels/contentful-teasermanager 1.0.25 → 1.0.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vonaffenfels/contentful-teasermanager",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "scripts": {
5
5
  "prepublish": "yarn run build",
6
6
  "dev": "yarn run start",
@@ -96,10 +96,10 @@
96
96
  "webpack-dev-server": "^4.0.0-beta.2"
97
97
  },
98
98
  "dependencies": {
99
- "@vonaffenfels/slate-editor": "^1.0.25",
99
+ "@vonaffenfels/slate-editor": "^1.0.26",
100
100
  "webpack": "5.73.0"
101
101
  },
102
- "gitHead": "fa30314075d5122e489573b5431e306ed63aa9af",
102
+ "gitHead": "7089b60e41691c2c382e25c8447f74d0bd031aaa",
103
103
  "publishConfig": {
104
104
  "access": "public"
105
105
  }
@@ -55,8 +55,8 @@ export const Timeline = ({
55
55
  <div className={styles.date}>
56
56
  {!!currentDate && (
57
57
  <>
58
- <input type="date" value={format(currentDate, "yyyy-MM-dd")} onChange={handleDateChange} className="mr-4" />
59
- <input type="time" value={format(currentDate, "HH:mm")} onChange={handleTimeChange} />
58
+ <input type="date" value={format(currentDate, "yyyy-MM-dd")} onChange={handleDateChange} className="mr-2 w-auto" />
59
+ <input type="time" value={format(currentDate, "HH:mm")} onChange={handleTimeChange} className="w-auto" />
60
60
  </>
61
61
  )}
62
62
  </div>
@@ -7,7 +7,6 @@
7
7
  }
8
8
 
9
9
  .timeline {
10
- background-color: #e1fff9;
11
10
  height: auto;
12
11
  padding: 6px 0 6px 0;
13
12
  width: 100%;
@@ -45,7 +44,7 @@
45
44
  display: none;
46
45
  background: white;
47
46
  position: absolute;
48
- top: -20px;
47
+ top: -30px;
49
48
  left: -100px;
50
49
  width: 200px;
51
50
  text-align: center;
@@ -54,5 +53,5 @@
54
53
  .date {
55
54
  width: 100%;
56
55
  text-align: center;
57
- padding: 1em 0 1em 0;
56
+ padding: 20px 0 30px 0;
58
57
  }
package/src/index.js CHANGED
@@ -21,7 +21,7 @@ export const BaseContentfulApp = (props) => {
21
21
 
22
22
  initContentfulClient(sdk);
23
23
 
24
- const RendererWrapperComponent = props.RendererWrapperComponent || (({children}) => <div>{children}</div>);
24
+ const RendererWrapperComponent = props?.RendererWrapperComponent || (({children}) => <div>{children}</div>);
25
25
 
26
26
  const ComponentLocationSettings = [
27
27
  {