@secondstaxorg/sscomp 1.6.61 → 1.6.62
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 +64 -63
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +63 -62
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/TextField/type.d.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -21475,6 +21475,7 @@ const InputContainer$1 = styled.div`
|
|
|
21475
21475
|
justify-content: space-between;
|
|
21476
21476
|
overflow: hidden;
|
|
21477
21477
|
transition: 300ms ease-out;
|
|
21478
|
+
box-sizing: border-box;
|
|
21478
21479
|
&:hover{
|
|
21479
21480
|
border: 1px solid ${theme.colors["primary-300"]};
|
|
21480
21481
|
}
|
|
@@ -21711,7 +21712,7 @@ const SearchBarContainer = styled.div`
|
|
|
21711
21712
|
width: 344px;
|
|
21712
21713
|
`;
|
|
21713
21714
|
|
|
21714
|
-
|
|
21715
|
+
styled.input`
|
|
21715
21716
|
padding: 13px 16px;
|
|
21716
21717
|
//height: 48px;
|
|
21717
21718
|
width: 100%;
|
|
@@ -21727,7 +21728,7 @@ const SearchBox = styled.input`
|
|
|
21727
21728
|
}
|
|
21728
21729
|
`;
|
|
21729
21730
|
|
|
21730
|
-
|
|
21731
|
+
styled.button`
|
|
21731
21732
|
width: 60px;
|
|
21732
21733
|
//height: 48px;
|
|
21733
21734
|
background: ${theme.colors["primary-500"]};
|
|
@@ -21752,7 +21753,6 @@ const SearchButton = styled.button`
|
|
|
21752
21753
|
`;
|
|
21753
21754
|
|
|
21754
21755
|
const _jsxFileName$j = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\SearchBar\\SearchBar.tsx";
|
|
21755
|
-
|
|
21756
21756
|
/**
|
|
21757
21757
|
* A search field added on the news application to implement search
|
|
21758
21758
|
*/
|
|
@@ -21764,12 +21764,12 @@ const SearchBar = (props) => {
|
|
|
21764
21764
|
React$1.createElement('form', { onSubmit: (e)=>{
|
|
21765
21765
|
e.preventDefault();
|
|
21766
21766
|
submitFxn(searchStr);
|
|
21767
|
-
}, __self: undefined, __source: {fileName: _jsxFileName$j, lineNumber:
|
|
21768
|
-
, React$1.createElement(SearchBarContainer, {__self: undefined, __source: {fileName: _jsxFileName$j, lineNumber:
|
|
21769
|
-
, React$1.createElement(
|
|
21770
|
-
, React$1.createElement(
|
|
21771
|
-
, React$1.createElement('svg', { width: "21", height: "21", viewBox: "0 0 21 21" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$j, lineNumber:
|
|
21772
|
-
, React$1.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: undefined, __source: {fileName: _jsxFileName$j, lineNumber:
|
|
21767
|
+
}, __self: undefined, __source: {fileName: _jsxFileName$j, lineNumber: 15}}
|
|
21768
|
+
, React$1.createElement(SearchBarContainer, {__self: undefined, __source: {fileName: _jsxFileName$j, lineNumber: 19}}
|
|
21769
|
+
, React$1.createElement(TextField, { type: "text", width: 284, placeholder: "Search", value: searchStr, onChange: (e)=>{setSearchStr(e.target.value);}, __self: undefined, __source: {fileName: _jsxFileName$j, lineNumber: 20}})
|
|
21770
|
+
, React$1.createElement(Button$1, { variant: "primary", size: "lg", width: "fit-content", type: "submit", __self: undefined, __source: {fileName: _jsxFileName$j, lineNumber: 21}}
|
|
21771
|
+
, React$1.createElement('svg', { width: "21", height: "21", viewBox: "0 0 21 21" , fill: "none", xmlns: "http://www.w3.org/2000/svg", __self: undefined, __source: {fileName: _jsxFileName$j, lineNumber: 22}}
|
|
21772
|
+
, React$1.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: undefined, __source: {fileName: _jsxFileName$j, lineNumber: 23}})
|
|
21773
21773
|
)
|
|
21774
21774
|
)
|
|
21775
21775
|
)
|