forstok-ui-lib 6.12.0 → 6.13.0

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": "forstok-ui-lib",
3
- "version": "6.12.0",
3
+ "version": "6.13.0",
4
4
  "description": "Forstok UI Components Library",
5
5
  "path": "dist",
6
6
  "main": "dist/index.js",
@@ -1,10 +1,11 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
- width="100%" height="100%" viewBox="0 0 512.000000 512.000000"
6
- preserveAspectRatio="xMidYMid meet">
7
-
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 512 512"
5
+ width="100%"
6
+ height="100%"
7
+ preserveAspectRatio="xMidYMid meet"
8
+ >
8
9
  <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
9
10
  fill="#000000" stroke="none">
10
11
  <path d="M1178 5110 c-41 -12 -86 -48 -106 -83 -12 -24 -18 -65 -22 -157 l-5
@@ -1,10 +1,11 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
- width="100$" height="100%" viewBox="0 0 512.000000 512.000000"
6
- preserveAspectRatio="xMidYMid meet">
7
-
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 512 512"
5
+ width="100%"
6
+ height="100%"
7
+ preserveAspectRatio="xMidYMid meet"
8
+ >
8
9
  <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
9
10
  fill="#000000" stroke="none">
10
11
  <path d="M1643 4785 c-132 -36 -249 -129 -307 -247 -103 -205 -56 -373 104
@@ -1,10 +1,11 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
- width="100%" height="100%" viewBox="0 0 512.000000 512.000000"
6
- preserveAspectRatio="xMidYMid meet">
7
-
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 512 512"
5
+ width="100%"
6
+ height="100%"
7
+ preserveAspectRatio="xMidYMid meet"
8
+ >
8
9
  <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
9
10
  fill="#000000" stroke="none">
10
11
  <path d="M940 4343 c-174 -29 -331 -159 -391 -323 l-20 -55 -194 3 c-217 3
@@ -1,12 +1,11 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
3
- "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
4
- <svg version="1.0" xmlns="http://www.w3.org/2000/svg"
5
- width="100%" height="100%" viewBox="0 0 512.000000 512.000000"
6
- preserveAspectRatio="xMidYMid meet">
7
- <metadata>
8
- Created by potrace 1.16, written by Peter Selinger 2001-2019
9
- </metadata>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg
3
+ xmlns="http://www.w3.org/2000/svg"
4
+ viewBox="0 0 512 512"
5
+ width="100%"
6
+ height="100%"
7
+ preserveAspectRatio="xMidYMid meet"
8
+ >
10
9
  <g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
11
10
  fill="#000000" stroke="none">
12
11
  <path d="M2235 5105 c-1161 -152 -2077 -1070 -2220 -2225 -20 -163 -20 -477 0
@@ -4,17 +4,12 @@ const storeStyles = css `
4
4
  width: 32px;
5
5
  height: 32px;
6
6
  `
7
- const productStyles = css`
8
- background-color: var(--mt-clr-bg);
9
- `
10
7
 
11
8
  const getImageModifiedStyled = ({ $mode, width, height }: { $mode?: string, width?: string|number, height?: string|number }) => {
12
9
  let style = ''
13
10
  if ($mode === 'store') {
14
11
  style += storeStyles
15
- } else if ($mode === 'product') {
16
- style += productStyles
17
- }
12
+ }
18
13
  if (width && height) {
19
14
  style += `
20
15
  width:${width};