forstok-ui-lib 8.2.0 → 8.2.2
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 +40 -40
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/icons/tag.svg +24 -0
- package/src/components/button/styles.ts +13 -0
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
2
|
+
|
|
3
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools -->
|
|
4
|
+
<svg width="100%" height="100%" viewBox="-3 -3 36.00 36.00" id="Layer_1" version="1.1" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="#000000">
|
|
5
|
+
|
|
6
|
+
<g id="SVGRepo_bgCarrier" stroke-width="0"/>
|
|
7
|
+
|
|
8
|
+
<g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#000000" stroke-width="6">
|
|
9
|
+
|
|
10
|
+
<style type="text/css"> .st0{fill:#ffffff;} .st1{fill:#ffffff;} .st2{fill:#8797EE;} .st3{fill:#41A6F9;} .st4{fill:#37E0FF;} .st5{fill:#2FD9B9;} .st6{fill:#ffffff;} .st7{fill:#FFDF1D;} .st8{fill:#000000;} </style>
|
|
11
|
+
|
|
12
|
+
<path class="st6" d="M24.1,4h-9c-0.5,0-1,0.2-1.3,0.5L3.6,14.8c-0.7,0.7-0.7,1.9,0,2.6l9,9c0.7,0.7,1.9,0.7,2.6,0l10.3-10.3 c0.3-0.3,0.5-0.8,0.5-1.3v-9C26,4.8,25.2,4,24.1,4z M20,12c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2s2,0.9,2,2C22,11.1,21.1,12,20,12z"/>
|
|
13
|
+
|
|
14
|
+
</g>
|
|
15
|
+
|
|
16
|
+
<g id="SVGRepo_iconCarrier">
|
|
17
|
+
|
|
18
|
+
<style type="text/css"> .st0{fill:#ffffff;} .st1{fill:#ffffff;} .st2{fill:#8797EE;} .st3{fill:#41A6F9;} .st4{fill:#37E0FF;} .st5{fill:#2FD9B9;} .st6{fill:#ffffff;} .st7{fill:#FFDF1D;} .st8{fill:#000000;} </style>
|
|
19
|
+
|
|
20
|
+
<path class="st6" d="M24.1,4h-9c-0.5,0-1,0.2-1.3,0.5L3.6,14.8c-0.7,0.7-0.7,1.9,0,2.6l9,9c0.7,0.7,1.9,0.7,2.6,0l10.3-10.3 c0.3-0.3,0.5-0.8,0.5-1.3v-9C26,4.8,25.2,4,24.1,4z M20,12c-1.1,0-2-0.9-2-2c0-1.1,0.9-2,2-2s2,0.9,2,2C22,11.1,21.1,12,20,12z"/>
|
|
21
|
+
|
|
22
|
+
</g>
|
|
23
|
+
|
|
24
|
+
</svg>
|
|
@@ -9,6 +9,7 @@ import IconArrowDownload from '../../assets/images/icons/arrow-download.svg'
|
|
|
9
9
|
import IconArrowWhiteUpload from '../../assets/images/icons/arrow-white-upload.svg'
|
|
10
10
|
import IconFilter from '../../assets/images/icons/filter.svg'
|
|
11
11
|
import IconCalendar from '../../assets/images/icons/calendar.svg'
|
|
12
|
+
import IconTag from '../../assets/images/icons/tag.svg'
|
|
12
13
|
|
|
13
14
|
const IconStyles = css`
|
|
14
15
|
display: inline-block;
|
|
@@ -295,6 +296,18 @@ const getButtonModifiedStyled = ({ $mode, $isIndicatorArrow, $isShown, $isLoadin
|
|
|
295
296
|
height: 16px;
|
|
296
297
|
}
|
|
297
298
|
`
|
|
299
|
+
} else if ($iconLeft === 'tag') {
|
|
300
|
+
style += `
|
|
301
|
+
&:before {
|
|
302
|
+
content: url(${IconTag});
|
|
303
|
+
position: absolute;
|
|
304
|
+
left: 12px;
|
|
305
|
+
top: 50%;
|
|
306
|
+
margin-top: -8px;
|
|
307
|
+
width: 15px;
|
|
308
|
+
height: 16px;
|
|
309
|
+
}
|
|
310
|
+
`
|
|
298
311
|
}
|
|
299
312
|
}
|
|
300
313
|
if ($isIndicatorArrow) {
|