@blockspoon/cert-badge-renderer 1.0.40 → 1.0.41

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.
@@ -14,7 +14,7 @@ function createNewCertificateType31({ mainColor = "#96A6B4", subColor = "#96A6B4
14
14
  fill="none"
15
15
  xmlns="http://www.w3.org/2000/svg"
16
16
  >
17
- <g clipPath="url(#clip0_2086_1137)">
17
+ <g clip-path="url(#clip0_2086_1137)">
18
18
  <rect
19
19
  width="1152"
20
20
  height="814"
@@ -30,7 +30,7 @@ function createRibbonType110({ mainColor = "#96A6B4", subColor = "#96A6B4", extr
30
30
  />
31
31
  <defs>
32
32
  <linearGradient
33
- id={paintId0}
33
+ id="${paintId0}"
34
34
  x1="-70"
35
35
  y1="45.5"
36
36
  x2="157.388"
@@ -90,10 +90,10 @@ function createRibbonType93({ mainColor = "#96A6B4", subColor = "#96A6B4", }) {
90
90
  y2="51.0132"
91
91
  gradientUnits="userSpaceOnUse"
92
92
  >
93
- <stop stopColor={mainColor} />
94
- <stop offset="0.06" stopColor={mainColor} />
95
- <stop offset="0.58" stopColor={subColor} />
96
- <stop offset="1" stopColor={mainColor} />
93
+ <stop stop-color={mainColor} />
94
+ <stop offset="0.06" stop-color={mainColor} />
95
+ <stop offset="0.58" stop-color={subColor} />
96
+ <stop offset="1" stop-color={mainColor} />
97
97
  </linearGradient>
98
98
  <clipPath id="clip0_3999_156">
99
99
  <rect
@@ -82,9 +82,9 @@ function createRibbonType96_1({ mainColor = "#96A6B4", subColor = "#96A6B4", })
82
82
  y2="51"
83
83
  gradientUnits="userSpaceOnUse"
84
84
  >
85
- <stop stopColor="${mainColor}" />
86
- <stop offset="0.533654" stopColor="${subColor}" />
87
- <stop offset="1" stopColor="${mainColor}" />
85
+ <stop stop-color="${mainColor}" />
86
+ <stop offset="0.533654" stop-color="${subColor}" />
87
+ <stop offset="1" stop-color="${mainColor}" />
88
88
  </linearGradient>
89
89
  <clipPath id="clip0_4007_180">
90
90
  <rect
@@ -14,7 +14,7 @@ function createNewCertificateType31({ mainColor = "#96A6B4", subColor = "#96A6B4
14
14
  fill="none"
15
15
  xmlns="http://www.w3.org/2000/svg"
16
16
  >
17
- <g clipPath="url(#clip0_2086_1137)">
17
+ <g clip-path="url(#clip0_2086_1137)">
18
18
  <rect
19
19
  width="1152"
20
20
  height="814"
@@ -30,7 +30,7 @@ function createRibbonType110({ mainColor = "#96A6B4", subColor = "#96A6B4", extr
30
30
  />
31
31
  <defs>
32
32
  <linearGradient
33
- id={paintId0}
33
+ id="${paintId0}"
34
34
  x1="-70"
35
35
  y1="45.5"
36
36
  x2="157.388"
@@ -90,10 +90,10 @@ function createRibbonType93({ mainColor = "#96A6B4", subColor = "#96A6B4", }) {
90
90
  y2="51.0132"
91
91
  gradientUnits="userSpaceOnUse"
92
92
  >
93
- <stop stopColor={mainColor} />
94
- <stop offset="0.06" stopColor={mainColor} />
95
- <stop offset="0.58" stopColor={subColor} />
96
- <stop offset="1" stopColor={mainColor} />
93
+ <stop stop-color={mainColor} />
94
+ <stop offset="0.06" stop-color={mainColor} />
95
+ <stop offset="0.58" stop-color={subColor} />
96
+ <stop offset="1" stop-color={mainColor} />
97
97
  </linearGradient>
98
98
  <clipPath id="clip0_3999_156">
99
99
  <rect
@@ -82,9 +82,9 @@ function createRibbonType96_1({ mainColor = "#96A6B4", subColor = "#96A6B4", })
82
82
  y2="51"
83
83
  gradientUnits="userSpaceOnUse"
84
84
  >
85
- <stop stopColor="${mainColor}" />
86
- <stop offset="0.533654" stopColor="${subColor}" />
87
- <stop offset="1" stopColor="${mainColor}" />
85
+ <stop stop-color="${mainColor}" />
86
+ <stop offset="0.533654" stop-color="${subColor}" />
87
+ <stop offset="1" stop-color="${mainColor}" />
88
88
  </linearGradient>
89
89
  <clipPath id="clip0_4007_180">
90
90
  <rect
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockspoon/cert-badge-renderer",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "Render certificate and badge designs from Kolleges achievement data into HTML, PNG, or Base64.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "exports": {
@@ -19,7 +19,7 @@ export function createNewCertificateType31({
19
19
  fill="none"
20
20
  xmlns="http://www.w3.org/2000/svg"
21
21
  >
22
- <g clipPath="url(#clip0_2086_1137)">
22
+ <g clip-path="url(#clip0_2086_1137)">
23
23
  <rect
24
24
  width="1152"
25
25
  height="814"
@@ -35,7 +35,7 @@ export function createRibbonType110({
35
35
  />
36
36
  <defs>
37
37
  <linearGradient
38
- id={paintId0}
38
+ id="${paintId0}"
39
39
  x1="-70"
40
40
  y1="45.5"
41
41
  x2="157.388"
@@ -93,10 +93,10 @@ export function createRibbonType93({
93
93
  y2="51.0132"
94
94
  gradientUnits="userSpaceOnUse"
95
95
  >
96
- <stop stopColor={mainColor} />
97
- <stop offset="0.06" stopColor={mainColor} />
98
- <stop offset="0.58" stopColor={subColor} />
99
- <stop offset="1" stopColor={mainColor} />
96
+ <stop stop-color={mainColor} />
97
+ <stop offset="0.06" stop-color={mainColor} />
98
+ <stop offset="0.58" stop-color={subColor} />
99
+ <stop offset="1" stop-color={mainColor} />
100
100
  </linearGradient>
101
101
  <clipPath id="clip0_3999_156">
102
102
  <rect
@@ -85,9 +85,9 @@ export function createRibbonType96_1({
85
85
  y2="51"
86
86
  gradientUnits="userSpaceOnUse"
87
87
  >
88
- <stop stopColor="${mainColor}" />
89
- <stop offset="0.533654" stopColor="${subColor}" />
90
- <stop offset="1" stopColor="${mainColor}" />
88
+ <stop stop-color="${mainColor}" />
89
+ <stop offset="0.533654" stop-color="${subColor}" />
90
+ <stop offset="1" stop-color="${mainColor}" />
91
91
  </linearGradient>
92
92
  <clipPath id="clip0_4007_180">
93
93
  <rect