@secondstaxorg/sscomp 1.5.96 → 1.5.97
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.es.js +24 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +34 -11
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +23 -3
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/SearchBar/type.d.ts +1 -1
package/dist/index.es.js
CHANGED
|
@@ -2850,8 +2850,15 @@ button{
|
|
|
2850
2850
|
}
|
|
2851
2851
|
.tag:first-of-type{
|
|
2852
2852
|
border-right: 2px solid ${s["neutral-100"]};
|
|
2853
|
+
max-width: 130px;
|
|
2854
|
+
white-space: nowrap;
|
|
2855
|
+
overflow-x: hidden;
|
|
2856
|
+
}
|
|
2857
|
+
.tag .source-text{
|
|
2858
|
+
text-overflow: ellipsis;
|
|
2859
|
+
overflow-x:hidden;
|
|
2853
2860
|
}
|
|
2854
|
-
`,eu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsSourceTag\\NewsSourceTag.tsx",tu=e=>{const{source:i,date:r,flag:n}=e;return t.createElement($d,{__self:void 0,__source:{fileName:eu,lineNumber:12}},t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:eu,lineNumber:13}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:eu,lineNumber:14}},t.createElement("img",{src:n,alt:"Source flag",__self:void 0,__source:{fileName:eu,lineNumber:15}})),i),t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:eu,lineNumber:
|
|
2861
|
+
`,eu="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\NewsSourceTag\\NewsSourceTag.tsx",tu=e=>{const{source:i,date:r,flag:n}=e;return t.createElement($d,{__self:void 0,__source:{fileName:eu,lineNumber:12}},t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:eu,lineNumber:13}},t.createElement("span",{style:{marginRight:"8px"},__self:void 0,__source:{fileName:eu,lineNumber:14}},t.createElement("img",{src:n,alt:"Source flag",__self:void 0,__source:{fileName:eu,lineNumber:15}})),t.createElement("span",{className:"source-text",__self:void 0,__source:{fileName:eu,lineNumber:17}},i)),t.createElement("div",{className:"tag",__self:void 0,__source:{fileName:eu,lineNumber:21}},r))},iu=l.div`
|
|
2855
2862
|
background: ${s["neutral-900"]};
|
|
2856
2863
|
padding: 11px 16px;
|
|
2857
2864
|
border-radius: 8px;
|
|
@@ -3369,7 +3376,7 @@ button{
|
|
|
3369
3376
|
width: 344px;
|
|
3370
3377
|
`,rf=l.input`
|
|
3371
3378
|
padding: 13px 16px;
|
|
3372
|
-
height: 48px;
|
|
3379
|
+
//height: 48px;
|
|
3373
3380
|
width: 100%;
|
|
3374
3381
|
background: ${s.white};
|
|
3375
3382
|
border-radius: 8px;
|
|
@@ -3383,14 +3390,27 @@ button{
|
|
|
3383
3390
|
}
|
|
3384
3391
|
`,nf=l.button`
|
|
3385
3392
|
width: 60px;
|
|
3386
|
-
height: 48px;
|
|
3393
|
+
//height: 48px;
|
|
3387
3394
|
background: ${s["primary-500"]};
|
|
3388
3395
|
color: ${s.white};
|
|
3389
3396
|
padding: 12px 18px;
|
|
3390
3397
|
border-radius: 8px;
|
|
3391
3398
|
border: none;
|
|
3392
3399
|
cursor: pointer;
|
|
3393
|
-
|
|
3400
|
+
&:hover{
|
|
3401
|
+
background: ${s["primary-400"]};
|
|
3402
|
+
}
|
|
3403
|
+
&:active{
|
|
3404
|
+
background: ${s["primary-600"]};
|
|
3405
|
+
}
|
|
3406
|
+
&:focus,:focus-within{
|
|
3407
|
+
outline: 2px solid ${s["primary-200"]};
|
|
3408
|
+
}
|
|
3409
|
+
&:disabled{
|
|
3410
|
+
background: ${s["neutral-100"]};
|
|
3411
|
+
cursor: not-allowed;
|
|
3412
|
+
}
|
|
3413
|
+
`,of="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SearchBar\\SearchBar.tsx",lf=e=>{const{value:r,submitFxn:n}=e,[o,l]=i(r);return t.createElement("form",{onSubmit:e=>{e.preventDefault(),n(o)},__self:void 0,__source:{fileName:of,lineNumber:13}},t.createElement(tf,{__self:void 0,__source:{fileName:of,lineNumber:17}},t.createElement(rf,{type:"text",placeholder:"Search",value:o,onChange:e=>{l(e.target.value)},__self:void 0,__source:{fileName:of,lineNumber:18}}),t.createElement(nf,{type:"submit",__self:void 0,__source:{fileName:of,lineNumber:19}},t.createElement("svg",{width:"21",height:"21",viewBox:"0 0 21 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:of,lineNumber:20}},t.createElement("path",{d:"M20.21 19.29L16.5 15.61C17.9401 13.8144 18.6375 11.5353 18.4488 9.2413C18.2601 6.9473 17.1997 4.81278 15.4855 3.27664C13.7714 1.74051 11.5338 0.91951 9.23292 0.98247C6.93203 1.04543 4.74272 1.98756 3.11514 3.61514C1.48756 5.24272 0.545427 7.43204 0.482466 9.73292C0.419506 12.0338 1.2405 14.2714 2.77664 15.9855C4.31278 17.6997 6.4473 18.7601 8.7413 18.9488C11.0353 19.1375 13.3144 18.4401 15.11 17L18.79 20.68C18.883 20.7737 18.9936 20.8481 19.1154 20.8989C19.2373 20.9497 19.368 20.9758 19.5 20.9758C19.632 20.9758 19.7627 20.9497 19.8846 20.8989C20.0064 20.8481 20.117 20.7737 20.21 20.68C20.3902 20.4935 20.491 20.2443 20.491 19.985C20.491 19.7257 20.3902 19.4765 20.21 19.29V19.29ZM9.5 17C8.11553 17 6.76215 16.5895 5.611 15.8203C4.45986 15.0511 3.56265 13.9579 3.03284 12.6788C2.50303 11.3997 2.3644 9.99223 2.6345 8.63437C2.9046 7.2765 3.57128 6.02922 4.55025 5.05025C5.52922 4.07128 6.7765 3.4046 8.13436 3.1345C9.49223 2.86441 10.8997 3.00303 12.1788 3.53284C13.4579 4.06266 14.5511 4.95986 15.3203 6.11101C16.0895 7.26215 16.5 8.61553 16.5 10C16.5 11.8565 15.7625 13.637 14.4497 14.9497C13.137 16.2625 11.3565 17 9.5 17V17Z",fill:"#F7F9FC",__self:void 0,__source:{fileName:of,lineNumber:21}})))))},sf=l.div`
|
|
3394
3414
|
height: 72px;
|
|
3395
3415
|
background: ${s["neutral-900"]};
|
|
3396
3416
|
padding: 11px 16px;
|