@secondstaxorg/sscomp 2.0.34 → 2.0.36
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 +2 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +24 -24
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/NewsFilterBar/type.d.ts +6 -2
package/dist/index.js
CHANGED
|
@@ -22411,9 +22411,9 @@ const _jsxFileName$Q = "D:\\SSX\\Project\\Component Library\\sscomp\\src\\compon
|
|
|
22411
22411
|
* Filter bar for news items on the news application
|
|
22412
22412
|
*/
|
|
22413
22413
|
const NewsFilterBar = (props) => {
|
|
22414
|
-
const {countries,outlets,selectedCountryFxn,selectedOutletFxn,theme,labelOverrides} = props;
|
|
22414
|
+
const {countries,outlets,selectedCountryFxn,selectedOutletFxn,initialOutlet,theme,labelOverrides} = props;
|
|
22415
22415
|
const [windowWidth,setWindowWidth] = React$1.useState(720);
|
|
22416
|
-
const [outletInitText,setOutletInitText] = React$1.useState('');
|
|
22416
|
+
const [outletInitText,setOutletInitText] = React$1.useState(initialOutlet || '');
|
|
22417
22417
|
|
|
22418
22418
|
React$1.useEffect(() => {
|
|
22419
22419
|
setWindowWidth(window.innerWidth);
|
|
@@ -35053,12 +35053,12 @@ const currencies =[
|
|
|
35053
35053
|
country: "Egypt",
|
|
35054
35054
|
flag: "https://storage.googleapis.com/ssx-news-prod/flags/egypt_cty.svg",
|
|
35055
35055
|
},
|
|
35056
|
-
{
|
|
35056
|
+
/*{
|
|
35057
35057
|
currency: "USD",
|
|
35058
35058
|
currency_name: "United States Dollar",
|
|
35059
35059
|
country: "El Salvador",
|
|
35060
35060
|
flag: "https://storage.googleapis.com/ssx-news-prod/flags/el-salvador_cty.svg",
|
|
35061
|
-
}
|
|
35061
|
+
},*/
|
|
35062
35062
|
{
|
|
35063
35063
|
currency: "XAF",
|
|
35064
35064
|
currency_name: "Central African CFA Franc",
|
|
@@ -35685,7 +35685,7 @@ const currencies =[
|
|
|
35685
35685
|
},
|
|
35686
35686
|
{
|
|
35687
35687
|
currency: "GBP",
|
|
35688
|
-
currency_name: "
|
|
35688
|
+
currency_name: "Great Britain Pound",
|
|
35689
35689
|
country: "United Kingdom",
|
|
35690
35690
|
flag: "https://storage.googleapis.com/ssx-news-prod/flags/uk_cty.svg",
|
|
35691
35691
|
},
|