profinansy-ui-lib 3.2.78 → 3.2.80
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/components/uikit/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/uikit/FilterButton/Drop/Drop.d.ts +1 -1
- package/dist/components/uikit/Hint/Hint.d.ts +1 -1
- package/dist/components/uikit/Popup/Popup.d.ts +1 -1
- package/dist/components/uikit/Tooltip/Tooltip.d.ts +1 -1
- package/dist/index.js +4 -2
- package/package.json +1 -1
|
@@ -25,9 +25,9 @@ export declare function useDrop({ placement, onOpenList }: {
|
|
|
25
25
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
26
26
|
context: {
|
|
27
27
|
placement: Placement;
|
|
28
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
28
29
|
x: number;
|
|
29
30
|
y: number;
|
|
30
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
31
31
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
32
32
|
isPositioned: boolean;
|
|
33
33
|
update: () => void;
|
|
@@ -24,9 +24,9 @@ export declare function useDrop({ placement }: {
|
|
|
24
24
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
25
25
|
context: {
|
|
26
26
|
placement: Placement;
|
|
27
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
27
28
|
x: number;
|
|
28
29
|
y: number;
|
|
29
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
30
30
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
31
31
|
isPositioned: boolean;
|
|
32
32
|
update: () => void;
|
|
@@ -26,9 +26,9 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
|
|
|
26
26
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
27
27
|
context: {
|
|
28
28
|
placement: Placement;
|
|
29
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
29
30
|
x: number;
|
|
30
31
|
y: number;
|
|
31
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
32
32
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|
|
@@ -29,9 +29,9 @@ export declare function usePopup({ placement, isHover }: {
|
|
|
29
29
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
30
30
|
context: {
|
|
31
31
|
placement: Placement;
|
|
32
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
32
33
|
x: number;
|
|
33
34
|
y: number;
|
|
34
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
35
35
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
36
36
|
isPositioned: boolean;
|
|
37
37
|
update: () => void;
|
|
@@ -26,9 +26,9 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
|
|
|
26
26
|
} & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
|
|
27
27
|
context: {
|
|
28
28
|
placement: Placement;
|
|
29
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
29
30
|
x: number;
|
|
30
31
|
y: number;
|
|
31
|
-
strategy: import("@floating-ui/utils").Strategy;
|
|
32
32
|
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
33
33
|
isPositioned: boolean;
|
|
34
34
|
update: () => void;
|
package/dist/index.js
CHANGED
|
@@ -3995,7 +3995,7 @@
|
|
|
3995
3995
|
font-size: 8px;
|
|
3996
3996
|
background: ${e=>e.theme.icons.negative};
|
|
3997
3997
|
color: ${e=>e.theme.text.contrastThemed};
|
|
3998
|
-
border: 1px solid rgba(
|
|
3998
|
+
border: 1px solid rgba(17, 16, 17, 1);
|
|
3999
3999
|
width: ${e=>e.notificationsCount<99?"15px":"18px"};
|
|
4000
4000
|
height: ${e=>e.notificationsCount<99?"15px":"18px"};
|
|
4001
4001
|
@media (max-width: 1140px) {
|
|
@@ -6664,6 +6664,8 @@
|
|
|
6664
6664
|
height: 100%;
|
|
6665
6665
|
`;t.Ifram=p;const h=a.default.div`
|
|
6666
6666
|
padding: 2px 8px;
|
|
6667
|
+
display: flex;
|
|
6668
|
+
align-items: center;
|
|
6667
6669
|
border-radius: 30px;
|
|
6668
6670
|
white-space: nowrap;
|
|
6669
6671
|
background: ${e=>e.theme.background.accentSecondaryTint};
|
|
@@ -6989,7 +6991,7 @@
|
|
|
6989
6991
|
left: auto;
|
|
6990
6992
|
top: -48px;
|
|
6991
6993
|
}
|
|
6992
|
-
`},998:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SideModal=void 0;const l=o(n(8156)),u=i(n(4230)),c=i(n(5881)),s=n(7033),d=i(n(4184)),f=n(3848),p=o(n(9540)),h=n(840),m=n(1608),v=n(1197),g=n(1899),b=n(7565);t.SideModal=e=>{const{animation:t,showModal:n,content:r,handleClose:a}=(0,s.useTransitionModal)({isOpen:e.isOpen,children:e.children,onClose:e.onClose,onBeforeClose:e.onBeforeClose,isCloseInside:e.isCloseInside});return n?l.default.createElement(
|
|
6994
|
+
`},998:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SideModal=void 0;const l=o(n(8156)),u=i(n(4230)),c=i(n(5881)),s=n(7033),d=i(n(4184)),f=n(3848),p=o(n(9540)),h=n(840),m=n(1608),v=n(1197),g=n(1899),b=n(7565),y=n(5025);t.SideModal=e=>{const{animation:t,showModal:n,content:r,handleClose:a}=(0,s.useTransitionModal)({isOpen:e.isOpen,children:e.children,onClose:e.onClose,onBeforeClose:e.onBeforeClose,isCloseInside:e.isCloseInside});return n?l.default.createElement(w,Object.assign({},e,{onClose:a,animation:t}),r):null};const w=({onClose:e,children:t,title:n,animation:r,rightContent:a,bottomContent:o,classNameHeader:i,classNameContent:w,alert:x,modal:_,size:O,withoutAnimation:E=!1,onBack:M})=>{const[k,P]=(0,l.useState)(0),C=(0,l.useRef)(null),S=(0,y.useId)(),j=()=>{e&&e()};(0,l.useEffect)((()=>{if(C.current){const{height:e}=C.current.getBoundingClientRect();P(e)}else P(0)}),[null==C?void 0:C.current]);const{mode:T}=(0,v.useMode)();return(0,s.useControlsForModal)(e),l.default.createElement(f.Portal,{id:"react-sideModals"},l.default.createElement(m.ThemeProvider,{theme:g.palette[T]},l.default.createElement(p.Wrapper,{isOpen:r,className:"sideModal-wrapper"},l.default.createElement(p.Layout,{onClick:j}),l.default.createElement(p.Sidebar,{withoutAnimation:E,size:O,isOpen:r,className:(0,d.default)(w,"sideModal-content"),id:S},l.default.createElement(p.CloseButton,{onClick:j},l.default.createElement(u.default,{className:"modal-closeBtn"})),l.default.createElement(p.Header,{className:(0,d.default)(i,"sideModal-header")},l.default.createElement(p.LeftWrapper,null,M&&l.default.createElement(p.BackButton,null,l.default.createElement(c.default,{onClick:M})),l.default.createElement(p.Title,{className:"sideModal-title"},n)),a||null),l.default.createElement(p.Content,{bottomHeight:k,className:"sideModal-contentInside"},l.default.createElement(l.default.Fragment,null,t),o&&l.default.createElement(p.BottomContent,{ref:C},o)),x&&l.default.createElement(h.Alert,{modal:Object.assign(Object.assign({},null==x?void 0:x.modal),{containerId:S}),confirmButton:Object.assign({},null==x?void 0:x.confirmButton),cancelButton:Object.assign({},null==x?void 0:x.cancelButton)}),_&&l.default.createElement(b.ModalInside,{data:_,containerId:S})))))}},7565:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ModalInside=void 0;const i=o(n(8156)),l=n(6298);t.ModalInside=({data:e,containerId:t})=>{const n=(0,i.useMemo)((()=>{const t=Object.assign({},e);return delete t.children,t}),[e]);return i.default.createElement(l.Modal,Object.assign({},n,{styleContent:{maxHeight:"calc(100vh - 185px)"},styleContentInside:{maxHeight:"calc(100vh - 235px)"},containerId:t}),e.children)}},2545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SideModal=void 0;var r=n(998);Object.defineProperty(t,"SideModal",{enumerable:!0,get:function(){return r.SideModal}})},8126:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Skeleton=void 0;const a=r(n(1608)).default.div`
|
|
6993
6995
|
width: 100%;
|
|
6994
6996
|
max-width: ${e=>e.maxWidth?`${e.maxWidth}px`:"100%"};
|
|
6995
6997
|
height: ${e=>`${e.height}px`};
|