forstok-ui-lib 5.2.54 → 5.2.56
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -29
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/assets/images/icons/question.svg +2 -0
- package/src/components/icon/styles.ts +13 -4
package/package.json
CHANGED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
2
|
+
<svg width="auto" height="auto" viewBox="0 0 24 24" id="meteor-icon-kit__solid-question-circle" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 12C24 18.6274 18.6274 24 12 24C5.37258 24 0 18.6274 0 12C0 5.37258 5.37258 0 12 0C18.6274 0 24 5.37258 24 12ZM12 16C11.1716 16 10.5 16.6716 10.5 17.5C10.5 18.3284 11.1716 19 12 19C12.8284 19 13.5 18.3284 13.5 17.5C13.5 16.6716 12.8284 16 12 16ZM10.5 9.5C10.5 8.32843 10.8284 8 12 8C13.0641 8 13.3215 8.19307 13.4337 8.64158C13.4859 8.85034 13.5 9.06237 13.5 9.5C13.5 9.82337 13.4246 9.93939 12.938 10.3287C12.9624 10.3091 12.4319 10.7246 12.2619 10.8662C11.5638 11.4479 11.055 12.036 10.6584 12.8292C10.2879 13.5701 10.5882 14.4712 11.3292 14.8416C12.0701 15.2121 12.9712 14.9118 13.3416 14.1708C13.5298 13.7944 13.7772 13.5086 14.1825 13.1709C14.3108 13.0639 14.8049 12.677 14.812 12.6713C15.94 11.7689 16.5 10.9074 16.5 9.5C16.5 8.82652 16.4737 8.43249 16.3441 7.91397C15.8921 6.10608 14.4174 5 12 5C9.17157 5 7.5 6.67157 7.5 9.5C7.5 10.3284 8.17157 11 9 11C9.82843 11 10.5 10.3284 10.5 9.5Z" fill="#758CA3"/></svg>
|
|
@@ -27,6 +27,7 @@ import IconArrowLeftDouble from '../../assets/images/icons/arrow-left-double.svg
|
|
|
27
27
|
import IconArrowRight from '../../assets/images/icons/arrow-right.svg'
|
|
28
28
|
import IconArrowRightDouble from '../../assets/images/icons/arrow-right-double.svg'
|
|
29
29
|
import IconCalendar from '../../assets/images/icons/calendar.svg'
|
|
30
|
+
import IconQuestion from '../../assets/images/icons/question.svg'
|
|
30
31
|
|
|
31
32
|
const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: string, $name: string, $width?: string | number, onClick?: (e: MouseEvent<HTMLElement>) => void }) => {
|
|
32
33
|
let style = ``;
|
|
@@ -191,34 +192,42 @@ const getIconContainerStyled = ({ $mode, $name, $width, onClick }:{ $mode?: stri
|
|
|
191
192
|
content: url(${IconArrowLeft});
|
|
192
193
|
}
|
|
193
194
|
`
|
|
194
|
-
break
|
|
195
|
+
break;
|
|
195
196
|
case 'arrow-left-double':
|
|
196
197
|
style += `
|
|
197
198
|
&:before {
|
|
198
199
|
content: url(${IconArrowLeftDouble});
|
|
199
200
|
}
|
|
200
201
|
`
|
|
201
|
-
break
|
|
202
|
+
break;
|
|
202
203
|
case 'arrow-right':
|
|
203
204
|
style += `
|
|
204
205
|
&:before {
|
|
205
206
|
content: url(${IconArrowRight});
|
|
206
207
|
}
|
|
207
208
|
`
|
|
208
|
-
break
|
|
209
|
+
break;
|
|
209
210
|
case 'arrow-right-double':
|
|
210
211
|
style += `
|
|
211
212
|
&:before {
|
|
212
213
|
content: url(${IconArrowRightDouble});
|
|
213
214
|
}
|
|
214
215
|
`
|
|
215
|
-
break
|
|
216
|
+
break;
|
|
216
217
|
case 'calendar':
|
|
217
218
|
style += `
|
|
218
219
|
&:before {
|
|
219
220
|
content: url(${IconCalendar});
|
|
220
221
|
}
|
|
221
222
|
`
|
|
223
|
+
break;
|
|
224
|
+
case 'question':
|
|
225
|
+
style += `
|
|
226
|
+
&:before {
|
|
227
|
+
content: url(${IconQuestion});
|
|
228
|
+
filter: grayscale(100%);
|
|
229
|
+
}
|
|
230
|
+
`
|
|
222
231
|
break
|
|
223
232
|
default:
|
|
224
233
|
break;
|