forstok-ui-lib 8.0.7 → 8.0.8
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 +57 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +46 -46
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/icons/clipboard.svg +18 -0
- package/src/assets/images/icons/price.svg +4 -0
- package/src/assets/images/icons/thumb.svg +4 -0
- package/src/components/icon/styles.ts +24 -0
package/package.json
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<?xml version="1.0" ?>
|
|
2
|
+
|
|
3
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
4
|
+
<svg fill="#000000" width="100%" height="100%" viewBox="0 0 32 32" id="Outlined" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
|
|
6
|
+
<title/>
|
|
7
|
+
|
|
8
|
+
<g id="Fill">
|
|
9
|
+
|
|
10
|
+
<path d="M24,3H20.82A3,3,0,0,0,18,1H14a3,3,0,0,0-2.82,2H8A3,3,0,0,0,5,6V26a3,3,0,0,0,3,3H24a3,3,0,0,0,3-3V6A3,3,0,0,0,24,3ZM13,4a1,1,0,0,1,1-1h4a1,1,0,0,1,1,1V5H13ZM25,26a1,1,0,0,1-1,1H8a1,1,0,0,1-1-1V6A1,1,0,0,1,8,5h3V7H21V5h3a1,1,0,0,1,1,1Z"/>
|
|
11
|
+
|
|
12
|
+
<rect height="2" width="10" x="11" y="15"/>
|
|
13
|
+
|
|
14
|
+
<rect height="2" width="5" x="11" y="19"/>
|
|
15
|
+
|
|
16
|
+
</g>
|
|
17
|
+
|
|
18
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg fill="#000000" width="100%" height="100%" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M3,5.5 C3,4.11928813 4.11928813,3 5.5,3 L11.5,3 C11.6326082,3 11.7597852,3.05267842 11.8535534,3.14644661 L20.1564971,11.4493903 C21.2890176,12.5819108 21.2890176,14.4180892 20.1564971,15.5506097 L15.5506097,20.1564971 C14.4180892,21.2890176 12.5819108,21.2890176 11.4493903,20.1564971 L3.14644661,11.8535534 C3.05267842,11.7597852 3,11.6326082 3,11.5 L3,5.5 Z M11.2928932,4 L5.5,4 C4.67157288,4 4,4.67157288 4,5.5 L4,11.2928932 L12.1564971,19.4493903 C12.8984933,20.1913865 14.1015067,20.1913865 14.8435029,19.4493903 L19.4493903,14.8435029 C20.1913865,14.1015067 20.1913865,12.8984933 19.4493903,12.1564971 L11.2928932,4 Z M8,7 C7.44771525,7 7,7.44771525 7,8 C7,8.55228475 7.44771525,9 8,9 C8.55228475,9 9,8.55228475 9,8 C9,7.44771525 8.55228475,7 8,7 Z M8,6 C9.1045695,6 10,6.8954305 10,8 C10,9.1045695 9.1045695,10 8,10 C6.8954305,10 6,9.1045695 6,8 C6,6.8954305 6.8954305,6 8,6 Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M7.99997 20H17.1919C17.9865 20 18.7058 19.5296 19.0243 18.8016L21.8323 12.3833C21.9429 12.1305 22 11.8576 22 11.5816V11C22 9.89543 21.1045 9 20 9H13.5L14.7066 4.5757C14.8772 3.95023 14.5826 3.2913 14.0027 3.00136V3.00136C13.4204 2.7102 12.7134 2.87256 12.3164 3.3886L8.41472 8.46082C8.14579 8.81044 7.99997 9.23915 7.99997 9.68024V20ZM7.99997 20H2V10H7.99997V20Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
</svg>
|
|
@@ -94,6 +94,9 @@ import IconDocument from '../../assets/images/icons/document.svg'
|
|
|
94
94
|
import IconVideo from '../../assets/images/icons/video.svg'
|
|
95
95
|
import IconImage from '../../assets/images/icons/image.svg'
|
|
96
96
|
import IconEmoji from '../../assets/images/icons/emoji.svg'
|
|
97
|
+
import IconPrice from '../../assets/images/icons/price.svg'
|
|
98
|
+
import IconThumb from '../../assets/images/icons/thumb.svg'
|
|
99
|
+
import IconClipboard from '../../assets/images/icons/clipboard.svg'
|
|
97
100
|
|
|
98
101
|
const NotificationStyled = css`
|
|
99
102
|
width: 44px;
|
|
@@ -757,7 +760,28 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
|
|
|
757
760
|
content: url(${IconEmoji});
|
|
758
761
|
}
|
|
759
762
|
`
|
|
763
|
+
break;
|
|
764
|
+
case 'price':
|
|
765
|
+
style += `
|
|
766
|
+
&:before {
|
|
767
|
+
content: url(${IconPrice});
|
|
768
|
+
}
|
|
769
|
+
`
|
|
770
|
+
break;
|
|
771
|
+
case 'thumb':
|
|
772
|
+
style += `
|
|
773
|
+
&:before {
|
|
774
|
+
content: url(${IconThumb});
|
|
775
|
+
}
|
|
776
|
+
`
|
|
760
777
|
break;
|
|
778
|
+
case 'clipboard':
|
|
779
|
+
style += `
|
|
780
|
+
&:before {
|
|
781
|
+
content: url(${IconClipboard});
|
|
782
|
+
}
|
|
783
|
+
`
|
|
784
|
+
break;
|
|
761
785
|
default:
|
|
762
786
|
break;
|
|
763
787
|
}
|