@secondstaxorg/sscomp 2.0.18 → 2.0.21

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
@@ -20250,7 +20250,7 @@ const ExchangeRates = (props) => {
20250
20250
  )
20251
20251
  ))
20252
20252
  )
20253
- , React$1.createElement('p', { className: "last-updated", __self: undefined, __source: {fileName: _jsxFileName$$, lineNumber: 40}}, _optionalChain$z([labelOverrides, 'optionalAccess', _ => _.lastUpdated]) || 'Last updated on', " " , lastUpdated, " | " , _optionalChain$z([labelOverrides, 'optionalAccess', _2 => _2.source]) || 'Source', ": " , source)
20253
+ , React$1.createElement('p', { className: "last-updated", __self: undefined, __source: {fileName: _jsxFileName$$, lineNumber: 40}}, _optionalChain$z([labelOverrides, 'optionalAccess', _ => _.lastUpdated]) || 'Current as of', " " , lastUpdated, " | " , _optionalChain$z([labelOverrides, 'optionalAccess', _2 => _2.source]) || 'Source', ": " , source)
20254
20254
  )
20255
20255
 
20256
20256
  )
@@ -20604,7 +20604,7 @@ const Indices = (props) => {
20604
20604
  )
20605
20605
  , React$1.createElement(ValidityText, {__self: undefined, __source: {fileName: _jsxFileName$Z, lineNumber: 55}}
20606
20606
  , lastUpdated &&
20607
- React$1.createElement(React$1.Fragment, null, _optionalChain$y([labelOverrides, 'optionalAccess', _ => _.lastUpdated]) || 'Last updated on', " " , lastUpdated)
20607
+ React$1.createElement(React$1.Fragment, null, _optionalChain$y([labelOverrides, 'optionalAccess', _ => _.lastUpdated]) || 'Current as of', " " , lastUpdated)
20608
20608
 
20609
20609
  , lastUpdated && source && React$1.createElement(React$1.Fragment, null, " | " )
20610
20610
  , source &&
@@ -21831,7 +21831,7 @@ const MarketData = (props) => {
21831
21831
  )
21832
21832
  , React$1.createElement(LastUpdated$1, {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 40}}
21833
21833
  , React$1.createElement('p', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 41}}
21834
- , _optionalChain$w([labelOverrides, 'optionalAccess', _ => _.lastUpdated]) || 'Last updated', ":", React$1.createElement('br', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 42}})
21834
+ , _optionalChain$w([labelOverrides, 'optionalAccess', _ => _.lastUpdated]) || 'Current as of', ":", React$1.createElement('br', {__self: undefined, __source: {fileName: _jsxFileName$U, lineNumber: 42}})
21835
21835
  , data.lastUpdated
21836
21836
  )
21837
21837
  )
@@ -22119,7 +22119,7 @@ const MarketMovers = (props) => {
22119
22119
  return (
22120
22120
  React$1.createElement(WidgetContainer, {__self: undefined, __source: {fileName: _jsxFileName$S, lineNumber: 112}}
22121
22121
  , React$1.createElement(Tab, { tabs: tabs, __self: undefined, __source: {fileName: _jsxFileName$S, lineNumber: 113}})
22122
- , lastUpdated && React$1.createElement(LastUpdated, {__self: undefined, __source: {fileName: _jsxFileName$S, lineNumber: 114}}, _optionalChain$v([labelOverrides, 'optionalAccess', _3 => _3.lastUpdated]) || 'Last updated on', " " , lastUpdated)
22122
+ , lastUpdated && React$1.createElement(LastUpdated, {__self: undefined, __source: {fileName: _jsxFileName$S, lineNumber: 114}}, _optionalChain$v([labelOverrides, 'optionalAccess', _3 => _3.lastUpdated]) || 'Current as of', " " , lastUpdated)
22123
22123
  )
22124
22124
  )
22125
22125
  };
@@ -23532,7 +23532,7 @@ const TextField = (props) => {
23532
23532
  }, [cursorPos,textFieldRef,value]);
23533
23533
 
23534
23534
  function validate(){
23535
- if (value || textFieldRef.current.value){
23535
+ if ((value && (value ).length > 0) || textFieldRef.current.value.length > 0){
23536
23536
  setBorderColor('success');
23537
23537
  setErr(false);
23538
23538
  }else {
@@ -27195,7 +27195,7 @@ const Selector = (props) => {
27195
27195
  )
27196
27196
  , otherOption &&
27197
27197
  React$1.createElement(OtherContainer, {__self: undefined, __source: {fileName: _jsxFileName$k, lineNumber: 150}}
27198
- , React$1.createElement('p', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$k, lineNumber: 151}}, _optionalChain$b([labelOverrides, 'optionalAccess', _ => _.otherSpecify]) || 'Other ? Specify')
27198
+ , React$1.createElement('p', { className: "paragraph1Regular", __self: undefined, __source: {fileName: _jsxFileName$k, lineNumber: 151}}, _optionalChain$b([labelOverrides, 'optionalAccess', _ => _.otherSpecify]) || 'Other? Specify')
27199
27199
  , React$1.createElement(TextField, { placeholder: otherPlaceholder, disabled: readonly, value: otherVal, onChange: (e)=>{
27200
27200
  if (readonly) return
27201
27201
  setOtherVal(e.target.value);