@secondstaxorg/sscomp 1.8.93 → 1.8.95

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/bundle.css CHANGED
@@ -2,3 +2,4 @@ export default {"display1Medium":"typography_display1Medium__p65-F","display2Med
2
2
  export default {"loader":"style_loader__WisPd"};
3
3
  export default {"icon-search":"icons_icon-search__Suq-P","icon-angle-right-b":"icons_icon-angle-right-b__HUlDm","icon-angle-left":"icons_icon-angle-left__rFa--","icon-angle-left-b":"icons_icon-angle-left-b__d-MbM","icon-exclamation-triangle":"icons_icon-exclamation-triangle__I6HFk","icon-eye":"icons_icon-eye__gR3er","icon-eye-slash":"icons_icon-eye-slash__nB-2V","icon-info-circle":"icons_icon-info-circle__E9tZC","icon-arrow-left":"icons_icon-arrow-left__0FlZU","icon-check":"icons_icon-check__S6CFf","icon-history":"icons_icon-history__Fg53C","icon-dash":"icons_icon-dash__fmxNJ","icon-arrow-up-right":"icons_icon-arrow-up-right__H1cka","icon-arrow-down-right":"icons_icon-arrow-down-right__sQHwe","icon-arrows-left-right":"icons_icon-arrows-left-right__dmv5o","icon-angle-up":"icons_icon-angle-up__oiCBz","icon-user":"icons_icon-user__jooqY","icon-logout":"icons_icon-logout__4kJjS","icon-angle-right":"icons_icon-angle-right__vgtLv","icon-times":"icons_icon-times__tNdUM","icon-bars":"icons_icon-bars__yKP5v","icon-angle-down":"icons_icon-angle-down__jlO4a","icon-bug":"icons_icon-bug__kxO8i","icon-notification":"icons_icon-notification__fQhv-","icon-settings":"icons_icon-settings__pypbX","icon-chart":"icons_icon-chart__czcdA","icon-dashboard":"icons_icon-dashboard__g0twC","icon-report":"icons_icon-report__C2wpi","icon-angle-right-b-16":"icons_icon-angle-right-b-16__6Zc4l","icon-angle-left-16":"icons_icon-angle-left-16__wmprn","icon-angle-left-b-16":"icons_icon-angle-left-b-16__Z8ZYH","icon-angle-right-16":"icons_icon-angle-right-16__0tvm-"};
4
4
  export default {"display1Medium":"typography-module_display1Medium__WzrLm","display2Medium":"typography-module_display2Medium__-JMJO","heading1Medium":"typography-module_heading1Medium__8PXHA","heading1SMedium":"typography-module_heading1SMedium__AATI3","heading2Medium":"typography-module_heading2Medium__vNc5j","heading2SMedium":"typography-module_heading2SMedium__E4n5X","heading3Medium":"typography-module_heading3Medium__9qTju","heading3SMedium":"typography-module_heading3SMedium__vgBWm","heading4Medium":"typography-module_heading4Medium__g0LH-","heading4SMedium":"typography-module_heading4SMedium__jR0ts","heading5Medium":"typography-module_heading5Medium__O0uOb","heading5SMedium":"typography-module_heading5SMedium__FD7hn","heading6Medium":"typography-module_heading6Medium__hKoT1","heading6SMedium":"typography-module_heading6SMedium__bSAXF","display1Bold":"typography-module_display1Bold__XR0hN","display2Bold":"typography-module_display2Bold__Bxxeq","heading1Bold":"typography-module_heading1Bold__PiAsP","heading1SBold":"typography-module_heading1SBold__bmlFK","heading2Bold":"typography-module_heading2Bold__yOuDB","heading2SBold":"typography-module_heading2SBold__MlY2O","heading3Bold":"typography-module_heading3Bold__jilQc","heading3SBold":"typography-module_heading3SBold__uI3jN","heading4Bold":"typography-module_heading4Bold__--aKF","heading4SBold":"typography-module_heading4SBold__-ZWrY","heading5Bold":"typography-module_heading5Bold__XsZSd","heading5SBold":"typography-module_heading5SBold__KoO1K","heading6Bold":"typography-module_heading6Bold__hPmXC","heading6SBold":"typography-module_heading6SBold__8uRys","display1Black":"typography-module_display1Black__DfPuC","display2Black":"typography-module_display2Black__dgmd6","heading1Black":"typography-module_heading1Black__8sruN","heading1SBlack":"typography-module_heading1SBlack__alIlb","heading2Black":"typography-module_heading2Black__JiRob","heading2SBlack":"typography-module_heading2SBlack__7909N","heading3Black":"typography-module_heading3Black__KojcB","heading3SBlack":"typography-module_heading3SBlack__mYaMr","heading4Black":"typography-module_heading4Black__QY25R","heading4SBlack":"typography-module_heading4SBlack__k-yw5","heading5Black":"typography-module_heading5Black__HeWDL","heading5SBlack":"typography-module_heading5SBlack__HiDyd","heading6Black":"typography-module_heading6Black__AQt-h","heading6SBlack":"typography-module_heading6SBlack__6LydW","subheadingRegular":"typography-module_subheadingRegular__l-mIW","subheadingMedium":"typography-module_subheadingMedium__o1WbN","subheadingUnderlined":"typography-module_subheadingUnderlined__-6Gfb","paragraph1Regular":"typography-module_paragraph1Regular__MEN3U","paragraph1Medium":"typography-module_paragraph1Medium__WX3UB","paragraph1Underlined":"typography-module_paragraph1Underlined__d3MsO","paragraph2Regular":"typography-module_paragraph2Regular__tmp90","paragraph2Medium":"typography-module_paragraph2Medium__lOwG5","paragraph2Underlined":"typography-module_paragraph2Underlined__qXXT5","paragraph3Regular":"typography-module_paragraph3Regular__AYcDS","paragraph3Medium":"typography-module_paragraph3Medium__2Xt-I","paragraph3Underlined":"typography-module_paragraph3Underlined__9KF21","captionBook":"typography-module_captionBook__aqKsr","captionMedium":"typography-module_captionMedium__xUdVe","captionAllCaps":"typography-module_captionAllCaps__-l9G2","footerBook":"typography-module_footerBook__B4JF0","footerMedium":"typography-module_footerMedium__yFY5y","footerAllCaps":"typography-module_footerAllCaps__t5w9I"};
5
+
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import*as e from"react";import t,{useState as i,useEffect as r,forwardRef as n,useRef as o}from"react";import l from"styled-components";import{pdfjs as a}from"react-pdf";const s={white:"#FFFFFF",black:"#000000","black-100":"#09101D","neutral-50":"#F7F9FC","neutral-100":"#E8EEF7","neutral-200":"#D2DDEE","neutral-300":"#BBCCE6","neutral-400":"#A4BBDD","neutral-500":"#365B91","neutral-600":"#29446D","neutral-700":"#1B2D49","neutral-800":"#0E1724","neutral-900":"#070B12","primary-50":"#F5F5FE","primary-100":"#E2E2FD","primary-200":"#C6C6FB","primary-300":"#A9A9F9","primary-400":"#8C8CF7","primary-500":"#4040F2","primary-600":"#0F0FD7","primary-700":"#0A0A8F","primary-800":"#050548","primary-900":"#020224","success-50":"#F0FFF7","success-100":"#D1FEE8","success-200":"#A3FCD1","success-300":"#74FBBA","success-400":"#46F9A3","success-500":"#06BA63","success-600":"#058B4A","success-700":"#035D32","success-800":"#022F19","success-900":"#01170C","warning-50":"#FFFAF2","warning-100":"#FFEFD8","warning-200":"#FFE0B0","warning-300":"#FFD089","warning-400":"#FFC062","warning-500":"#F89500","warning-600":"#BA7000","warning-700":"#7C4A00","warning-800":"#3E2500","warning-900":"#1F1300","error-50":"#FFF2F2","error-100":"#FFD8D8","error-200":"#FFB0B0","error-300":"#FF8989","error-400":"#FF6262","error-500":"#F80000","error-600":"#BA0000","error-700":"#7C0000","error-800":"#3E0000","error-900":"#1F0000"},c=l.button`
1
+ import*as e from"react";import t,{useState as i,useEffect as r,forwardRef as n,useRef as o}from"react";import l from"styled-components";import{pdfjs as a}from"react-pdf";import"@secondstaxorg/sscomp/dist/typography.css";const s={white:"#FFFFFF",black:"#000000","black-100":"#09101D","neutral-50":"#F7F9FC","neutral-100":"#E8EEF7","neutral-200":"#D2DDEE","neutral-300":"#BBCCE6","neutral-400":"#A4BBDD","neutral-500":"#365B91","neutral-600":"#29446D","neutral-700":"#1B2D49","neutral-800":"#0E1724","neutral-900":"#070B12","primary-50":"#F5F5FE","primary-100":"#E2E2FD","primary-200":"#C6C6FB","primary-300":"#A9A9F9","primary-400":"#8C8CF7","primary-500":"#4040F2","primary-600":"#0F0FD7","primary-700":"#0A0A8F","primary-800":"#050548","primary-900":"#020224","success-50":"#F0FFF7","success-100":"#D1FEE8","success-200":"#A3FCD1","success-300":"#74FBBA","success-400":"#46F9A3","success-500":"#06BA63","success-600":"#058B4A","success-700":"#035D32","success-800":"#022F19","success-900":"#01170C","warning-50":"#FFFAF2","warning-100":"#FFEFD8","warning-200":"#FFE0B0","warning-300":"#FFD089","warning-400":"#FFC062","warning-500":"#F89500","warning-600":"#BA7000","warning-700":"#7C4A00","warning-800":"#3E2500","warning-900":"#1F1300","error-50":"#FFF2F2","error-100":"#FFD8D8","error-200":"#FFB0B0","error-300":"#FF8989","error-400":"#FF6262","error-500":"#F80000","error-600":"#BA0000","error-700":"#7C0000","error-800":"#3E0000","error-900":"#1F0000"},c=l.button`
2
2
  background: none;
3
3
  color:${s["neutral-900"]};
4
4
  border-radius: 8px;
@@ -5644,16 +5644,35 @@ PERFORMANCE OF THIS SOFTWARE.
5644
5644
  display: flex;
5645
5645
  gap: 4px;
5646
5646
  align-items: center;
5647
+ svg{
5648
+ rotate: 0;
5649
+ transition: 0.3s ease-out;
5650
+ &.rotate{
5651
+ rotate: -180deg;
5652
+ }
5653
+ }
5647
5654
  }
5648
5655
  `,kg=l.div`
5656
+ position: absolute;
5649
5657
  background:#ffffff;
5650
5658
  border-radius: 8px;
5651
5659
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.04);
5652
5660
  width: fit-content;
5653
5661
  min-width: 150px;
5654
5662
  margin-top: 4px;
5663
+ transform-origin: top;
5655
5664
  overflow:auto;
5656
5665
  max-height: 150px;
5666
+ animation: pull-down 0.3s ease-out;
5667
+ opacity: 1;
5668
+ @keyframes pull-down{
5669
+ from{
5670
+ transform: scaleY(0);
5671
+ }
5672
+ to{
5673
+ transform: scaleY(1);
5674
+ }
5675
+ }
5657
5676
  .option-item{
5658
5677
  padding: 12px 16px;
5659
5678
  display: flex;
@@ -5667,5 +5686,5 @@ PERFORMANCE OF THIS SOFTWARE.
5667
5686
  background: ${s["neutral-50"]};
5668
5687
  }
5669
5688
  }
5670
- `,Dg="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LanguageSwitcher\\LanguageSwitcher.tsx",Bg=e=>{const{languages:t,onClick:n,initialLanguage:o}=e,[l,a]=i(!1),[s,c]=i({flag:"",language:"",shortName:""});function d(e){const i=t.filter((t=>e.toLowerCase()===t.language.toLowerCase()||e.toLowerCase()===t.shortName.toLowerCase()))[0];c(i)}return r((()=>{d(o)}),[]),React.createElement(React.Fragment,null,React.createElement(_g,{type:"button",onClick:()=>{a(!l)},__self:void 0,__source:{fileName:Dg,lineNumber:24}},React.createElement("div",{className:"selected-language",__self:void 0,__source:{fileName:Dg,lineNumber:25}},React.createElement("img",{src:s.flag||Mg,alt:s.language,__self:void 0,__source:{fileName:Dg,lineNumber:26}}),React.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Dg,lineNumber:27}},s.language),React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",__self:void 0,__source:{fileName:Dg,lineNumber:29}},React.createElement("g",{clipPath:"url(#clip0_2662_482)",__self:void 0,__source:{fileName:Dg,lineNumber:30}},React.createElement("path",{d:"M11.3333 6.11336C11.2084 5.98919 11.0395 5.91949 10.8633 5.91949C10.6872 5.91949 10.5182 5.98919 10.3933 6.11336L8.00001 8.47336L5.64001 6.11336C5.5151 5.98919 5.34613 5.91949 5.17001 5.91949C4.99388 5.91949 4.82491 5.98919 4.70001 6.11336C4.63752 6.17533 4.58792 6.24907 4.55408 6.33031C4.52023 6.41154 4.50281 6.49868 4.50281 6.58669C4.50281 6.6747 4.52023 6.76183 4.55408 6.84307C4.58792 6.92431 4.63752 6.99805 4.70001 7.06002L7.52667 9.88669C7.58865 9.94918 7.66238 9.99877 7.74362 10.0326C7.82486 10.0665 7.912 10.0839 8.00001 10.0839C8.08801 10.0839 8.17515 10.0665 8.25639 10.0326C8.33763 9.99877 8.41136 9.94918 8.47334 9.88669L11.3333 7.06002C11.3958 6.99805 11.4454 6.92431 11.4793 6.84307C11.5131 6.76183 11.5305 6.6747 11.5305 6.58669C11.5305 6.49868 11.5131 6.41154 11.4793 6.33031C11.4454 6.24907 11.3958 6.17533 11.3333 6.11336Z",fill:"#070B12",__self:void 0,__source:{fileName:Dg,lineNumber:31}})),React.createElement("defs",{__self:void 0,__source:{fileName:Dg,lineNumber:33}},React.createElement("clipPath",{id:"clip0_2662_482",__self:void 0,__source:{fileName:Dg,lineNumber:34}},React.createElement("rect",{width:"16",height:"16",fill:"white",__self:void 0,__source:{fileName:Dg,lineNumber:35}})))))),l&&React.createElement(kg,{__self:void 0,__source:{fileName:Dg,lineNumber:42}},t.map(((e,t)=>React.createElement("button",{key:t,type:"button",className:"option-item",onClick:()=>{d(e.language),a(!1),n(e)},__self:void 0,__source:{fileName:Dg,lineNumber:44}},React.createElement("img",{src:e.flag||Mg,alt:e.language,__self:void 0,__source:{fileName:Dg,lineNumber:49}}),React.createElement("span",{className:"paragraph2Regular",__self:void 0,__source:{fileName:Dg,lineNumber:50}},e.language))))))};export{Tp as Accordion,m as ActionFailed,A as ActionSuccess,k as AppActionsTable,L as AppFormsTable,j as AppModulesTable,G as AuditLog,ie as BankAccounts,se as BankSelector,Jf as BidsCards,ue as BreadcrumbBar,Ae as BrokersTable,d as Button,J as ButtonOutline,qa as Chart,ls as ChartMedium,fs as ChartSmall,vs as CookieConsent,Is as CountrySelector,Fs as CurrencyPairs,Zs as DatePicker,$s as DateRangePicker,ic as DisplayField,vg as DocumentViewer,bc as DropdownList,ag as EmailField,gc as ExchangeRates,tg as FileUpload,vc as FooterNew,_c as Indices,Qc as LPRequestTable,Kc as LPSideNav,hd as LPTopBar,Bg as LanguageSwitcher,Ic as LoadingShimmer,ee as LoadingSpinner,Md as MarketData,zd as MarketMovers,Vd as MenuBar,Jd as NewsCard,iu as NewsFilterBar,ou as NewsSourceTag,su as NewsTitleBar,fg as NumberField,M as Pagination,hu as PasswordField,Nu as PaymentMethodsTable,Dm as PhoneInput,ku as PopupModal,Ru as ProvidersTable,Su as RateHistory,eb as RequestForm,ob as Ribbon,Uf as SSXBar,cb as SearchBar,bb as SearchResultsBar,fm as Selector,vb as SideModal,yg as SignatureField,kb as SmallNewsCard,Lu as StatusBadge,Cm as StepProgress,Qb as StocksTicker,Sb as SystemConfigTable,Fd as Tab,Xb as Table,om as TableAlternative,im as TablePrimary,rf as TextArea,Ju as TextField,Zp as Tooltip,sf as TransactionDetails,bf as TransactionDetailsWithPayment,Cf as UpdateUserActions,Mf as UserActions,Hf as UserRolesTable,Qf as UsersTable,jf as WidgetTitle};
5689
+ `,Dg="D:\\SSX\\Project\\Component Library\\sscomp\\src\\components\\LanguageSwitcher\\LanguageSwitcher.tsx",Bg=e=>{const{languages:t,onClick:n,initialLanguage:o}=e,[l,a]=i(!1),[s,c]=i({flag:"",language:"",shortName:""});function d(e){const i=t.filter((t=>e.toLowerCase()===t.language.toLowerCase()||e.toLowerCase()===t.shortName.toLowerCase()))[0];c(i)}return r((()=>{function e(e){const t=document.querySelector(".lang-switcher");if(t){const i=t.contains(e.target);a(i)}}return document.addEventListener("click",e),()=>document.removeEventListener("click",e)}),[]),r((()=>{o&&d(o)}),[o]),React.createElement("div",{className:"lang-switcher",__self:void 0,__source:{fileName:Dg,lineNumber:38}},React.createElement(_g,{type:"button",onClick:()=>{setTimeout((()=>{a(!l)}),0)},__self:void 0,__source:{fileName:Dg,lineNumber:39}},React.createElement("div",{className:"selected-language",__self:void 0,__source:{fileName:Dg,lineNumber:44}},React.createElement("img",{src:s.flag||Mg,alt:s.language,__self:void 0,__source:{fileName:Dg,lineNumber:45}}),React.createElement("span",{className:"paragraph1Regular",__self:void 0,__source:{fileName:Dg,lineNumber:46}},s.language),React.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l?"rotate":"",__self:void 0,__source:{fileName:Dg,lineNumber:48}},React.createElement("g",{clipPath:"url(#clip0_2662_482)",__self:void 0,__source:{fileName:Dg,lineNumber:49}},React.createElement("path",{d:"M11.3333 6.11336C11.2084 5.98919 11.0395 5.91949 10.8633 5.91949C10.6872 5.91949 10.5182 5.98919 10.3933 6.11336L8.00001 8.47336L5.64001 6.11336C5.5151 5.98919 5.34613 5.91949 5.17001 5.91949C4.99388 5.91949 4.82491 5.98919 4.70001 6.11336C4.63752 6.17533 4.58792 6.24907 4.55408 6.33031C4.52023 6.41154 4.50281 6.49868 4.50281 6.58669C4.50281 6.6747 4.52023 6.76183 4.55408 6.84307C4.58792 6.92431 4.63752 6.99805 4.70001 7.06002L7.52667 9.88669C7.58865 9.94918 7.66238 9.99877 7.74362 10.0326C7.82486 10.0665 7.912 10.0839 8.00001 10.0839C8.08801 10.0839 8.17515 10.0665 8.25639 10.0326C8.33763 9.99877 8.41136 9.94918 8.47334 9.88669L11.3333 7.06002C11.3958 6.99805 11.4454 6.92431 11.4793 6.84307C11.5131 6.76183 11.5305 6.6747 11.5305 6.58669C11.5305 6.49868 11.5131 6.41154 11.4793 6.33031C11.4454 6.24907 11.3958 6.17533 11.3333 6.11336Z",fill:"#070B12",__self:void 0,__source:{fileName:Dg,lineNumber:50}})),React.createElement("defs",{__self:void 0,__source:{fileName:Dg,lineNumber:52}},React.createElement("clipPath",{id:"clip0_2662_482",__self:void 0,__source:{fileName:Dg,lineNumber:53}},React.createElement("rect",{width:"16",height:"16",fill:"white",__self:void 0,__source:{fileName:Dg,lineNumber:54}})))))),l&&React.createElement(kg,{className:"dropdown-container transition",__self:void 0,__source:{fileName:Dg,lineNumber:61}},t.map(((e,t)=>React.createElement("button",{key:t,type:"button",className:"option-item",onClick:()=>{d(e.language),a(!1),n(e)},__self:void 0,__source:{fileName:Dg,lineNumber:63}},React.createElement("img",{src:e.flag||Mg,alt:e.language,__self:void 0,__source:{fileName:Dg,lineNumber:68}}),React.createElement("span",{className:"paragraph2Regular",__self:void 0,__source:{fileName:Dg,lineNumber:69}},e.language))))))};export{Tp as Accordion,m as ActionFailed,A as ActionSuccess,k as AppActionsTable,L as AppFormsTable,j as AppModulesTable,G as AuditLog,ie as BankAccounts,se as BankSelector,Jf as BidsCards,ue as BreadcrumbBar,Ae as BrokersTable,d as Button,J as ButtonOutline,qa as Chart,ls as ChartMedium,fs as ChartSmall,vs as CookieConsent,Is as CountrySelector,Fs as CurrencyPairs,Zs as DatePicker,$s as DateRangePicker,ic as DisplayField,vg as DocumentViewer,bc as DropdownList,ag as EmailField,gc as ExchangeRates,tg as FileUpload,vc as FooterNew,_c as Indices,Qc as LPRequestTable,Kc as LPSideNav,hd as LPTopBar,Bg as LanguageSwitcher,Ic as LoadingShimmer,ee as LoadingSpinner,Md as MarketData,zd as MarketMovers,Vd as MenuBar,Jd as NewsCard,iu as NewsFilterBar,ou as NewsSourceTag,su as NewsTitleBar,fg as NumberField,M as Pagination,hu as PasswordField,Nu as PaymentMethodsTable,Dm as PhoneInput,ku as PopupModal,Ru as ProvidersTable,Su as RateHistory,eb as RequestForm,ob as Ribbon,Uf as SSXBar,cb as SearchBar,bb as SearchResultsBar,fm as Selector,vb as SideModal,yg as SignatureField,kb as SmallNewsCard,Lu as StatusBadge,Cm as StepProgress,Qb as StocksTicker,Sb as SystemConfigTable,Fd as Tab,Xb as Table,om as TableAlternative,im as TablePrimary,rf as TextArea,Ju as TextField,Zp as Tooltip,sf as TransactionDetails,bf as TransactionDetailsWithPayment,Cf as UpdateUserActions,Mf as UserActions,Hf as UserRolesTable,Qf as UsersTable,jf as WidgetTitle};
5671
5690
  //# sourceMappingURL=index.es.js.map