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/dist/index.js +126 -128
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +131 -133
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/icons/calendar.svg +8 -7
- package/src/assets/images/icons/delivery.svg +8 -7
- package/src/assets/images/icons/filter.svg +8 -7
- package/src/assets/images/icons/time.svg +8 -9
- package/src/components/image/styles.ts +1 -6
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
<?xml version="1.0"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
}
|
|
16
|
-
style += productStyles
|
|
17
|
-
}
|
|
12
|
+
}
|
|
18
13
|
if (width && height) {
|
|
19
14
|
style += `
|
|
20
15
|
width:${width};
|