@pagamio/frontend-commons-lib 0.8.294 → 0.8.296
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.
|
@@ -24,8 +24,9 @@ export class TokenManager {
|
|
|
24
24
|
baseUrl;
|
|
25
25
|
refreshEndpoint;
|
|
26
26
|
constructor(config) {
|
|
27
|
+
const isSecureContext = typeof window !== 'undefined' && window.location.protocol === 'https:';
|
|
27
28
|
this.cookieOptions = {
|
|
28
|
-
secure:
|
|
29
|
+
secure: isSecureContext,
|
|
29
30
|
sameSite: 'lax',
|
|
30
31
|
path: '/',
|
|
31
32
|
...config.cookieOptions,
|
|
@@ -12,12 +12,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
12
12
|
* action: <ChartExpandButton onClick={() => setIsOpen(true)} />,
|
|
13
13
|
* ```
|
|
14
14
|
*/
|
|
15
|
-
import {
|
|
15
|
+
import { HiOutlineExternalLink } from 'react-icons/hi';
|
|
16
16
|
import { IconButton } from '../../../components';
|
|
17
17
|
// =============================================================================
|
|
18
18
|
// COMPONENT
|
|
19
19
|
// =============================================================================
|
|
20
20
|
const ChartExpandButton = ({ onClick, label = 'View Details' }) => {
|
|
21
|
-
return _jsx(IconButton, { icon:
|
|
21
|
+
return _jsx(IconButton, { icon: HiOutlineExternalLink, label: label, variant: "ghost", size: "sm", onClick: onClick });
|
|
22
22
|
};
|
|
23
23
|
export default ChartExpandButton;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pagamio/frontend-commons-lib",
|
|
3
3
|
"description": "Pagamio library for Frontend reusable components like the form engine and table container",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.296",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"provenance": false
|