@secondstaxorg/sscomp 1.9.73 → 1.9.74

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 CHANGED
@@ -22793,7 +22793,7 @@ const _jsxFileName$A = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
22793
22793
  * A search field added on the news application to implement search
22794
22794
  */
22795
22795
  const SearchBar = (props) => {
22796
- const {value,submitFxn,consolidateBtn} = props;
22796
+ const {value,submitFxn,consolidateBtn,placeholder} = props;
22797
22797
  const [searchStr,setSearchStr] = React$1.useState(value);
22798
22798
 
22799
22799
  return (
@@ -22803,7 +22803,7 @@ const SearchBar = (props) => {
22803
22803
  }, __self: undefined, __source: {fileName: _jsxFileName$A, lineNumber: 16}}
22804
22804
  , !consolidateBtn &&
22805
22805
  React$1.createElement(SearchBarContainer, {__self: undefined, __source: {fileName: _jsxFileName$A, lineNumber: 21}}
22806
- , React$1.createElement(TextField, { type: "text", width: 284, value: searchStr, onChange: (e)=>{setSearchStr(e.target.value);}, ...props, __self: undefined, __source: {fileName: _jsxFileName$A, lineNumber: 22}})
22806
+ , React$1.createElement(TextField, { type: "text", width: 284, value: searchStr, onChange: (e)=>{setSearchStr(e.target.value);}, placeholder: placeholder, ...props, __self: undefined, __source: {fileName: _jsxFileName$A, lineNumber: 22}})
22807
22807
  , React$1.createElement(Button$1, { variant: "primary", size: "lg", width: "fit-content", type: "submit", __self: undefined, __source: {fileName: _jsxFileName$A, lineNumber: 23}}
22808
22808
  , 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$A, lineNumber: 24}}
22809
22809
  , 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$A, lineNumber: 25}})