@stack-spot/portal-layout 2.42.3 → 2.43.0
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/CHANGELOG.md +13 -0
- package/dist/components/OverlayContent.d.ts +5 -1
- package/dist/components/OverlayContent.d.ts.map +1 -1
- package/dist/components/OverlayContent.js +2 -2
- package/dist/components/OverlayContent.js.map +1 -1
- package/dist/components/PrivacyPolicyMessage/hooks.d.ts.map +1 -1
- package/dist/components/PrivacyPolicyMessage/hooks.js +6 -1
- package/dist/components/PrivacyPolicyMessage/hooks.js.map +1 -1
- package/package.json +1 -1
- package/src/components/OverlayContent.tsx +12 -2
- package/src/components/PrivacyPolicyMessage/hooks.tsx +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.43.0](https://github.com/stack-spot/portal-commons/compare/portal-layout@v2.42.3...portal-layout@v2.43.0) (2026-03-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* include aria label to close button props ([02c034d](https://github.com/stack-spot/portal-commons/commit/02c034d32b9cf13d4448d70a8b5c62391c743feb))
|
|
9
|
+
* include aria label to close button props ([#2111](https://github.com/stack-spot/portal-commons/issues/2111)) ([8938338](https://github.com/stack-spot/portal-commons/commit/8938338b44adc155a4532566a4a23e491448fa01))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* make all cookies secure ([#2103](https://github.com/stack-spot/portal-commons/issues/2103)) ([3e94c13](https://github.com/stack-spot/portal-commons/commit/3e94c1345c6f3ee34f03d3b6f9ccf771ba180adb))
|
|
15
|
+
|
|
3
16
|
## [2.42.3](https://github.com/stack-spot/portal-commons/compare/portal-layout@v2.42.2...portal-layout@v2.42.3) (2026-03-05)
|
|
4
17
|
|
|
5
18
|
|
|
@@ -22,6 +22,10 @@ export interface OverlayContentProps extends WithStyle {
|
|
|
22
22
|
* A function to run when the close button is pressed.
|
|
23
23
|
*/
|
|
24
24
|
onClose?: () => void;
|
|
25
|
+
/**
|
|
26
|
+
* The ARIA Label for close button
|
|
27
|
+
*/
|
|
28
|
+
closeButtonAriaLabel?: string;
|
|
25
29
|
}
|
|
26
30
|
interface Props extends OverlayContentProps {
|
|
27
31
|
/**
|
|
@@ -37,6 +41,6 @@ interface Props extends OverlayContentProps {
|
|
|
37
41
|
* Renders a modal or right panel with title, subtitle, close button and content.
|
|
38
42
|
* @param props the React props for the component {@link Props}.
|
|
39
43
|
*/
|
|
40
|
-
export declare const OverlayContent: ({ children, title, subtitle, className, style, onClose, onGoBack, type }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
44
|
+
export declare const OverlayContent: ({ children, title, subtitle, className, style, onClose, onGoBack, type, closeButtonAriaLabel }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
41
45
|
export {};
|
|
42
46
|
//# sourceMappingURL=OverlayContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayContent.d.ts","sourceRoot":"","sources":["../../src/components/OverlayContent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAsB,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,eAAO,MAAM,gBAAgB,kBAAkB,CAAA;AAE/C,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"OverlayContent.d.ts","sourceRoot":"","sources":["../../src/components/OverlayContent.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAsB,MAAM,0BAA0B,CAAA;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAIjC,eAAO,MAAM,gBAAgB,kBAAkB,CAAA;AAE/C,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,UAAU,KAAM,SAAQ,mBAAmB;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;CACzB;AAuBD;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,gGAAgG,KAAK,4CA6BnI,CAAA"}
|
|
@@ -30,8 +30,8 @@ const ContentBox = styled.section `
|
|
|
30
30
|
* Renders a modal or right panel with title, subtitle, close button and content.
|
|
31
31
|
* @param props the React props for the component {@link Props}.
|
|
32
32
|
*/
|
|
33
|
-
export const OverlayContent = ({ children, title, subtitle, className, style, onClose, onGoBack, type }) => {
|
|
33
|
+
export const OverlayContent = ({ children, title, subtitle, className, style, onClose, onGoBack, type, closeButtonAriaLabel }) => {
|
|
34
34
|
const t = useDictionary();
|
|
35
|
-
return (_jsxs(ContentBox, { style: style, className: listToClass([className, type]), children: [_jsxs("header", { children: [_jsxs(Flex, { flexDirection: "column", flex: 1, children: [_jsxs(Flex, { style: { gap: '6px' }, children: [onGoBack && (_jsx(IconButton, { appearance: "circle", onClick: onGoBack, title: t.goBack, "aria-label": t.goBack, children: _jsx(ArrowLeft, {}) })), _jsx(Text, { as: "h1", appearance: type === 'modal' ? 'h3' : 'h4', children: title })] }), subtitle && _jsx(Text, { appearance: "body2", colorScheme: "light.700", children: subtitle })] }), _jsx(IconButton, { appearance: "circle", onClick: onClose, title: t.close, "aria-label": t.close, id: CLOSE_OVERLAY_ID, children: _jsx(TimesMini, {}) })] }), children] }));
|
|
35
|
+
return (_jsxs(ContentBox, { style: style, className: listToClass([className, type]), children: [_jsxs("header", { children: [_jsxs(Flex, { flexDirection: "column", flex: 1, children: [_jsxs(Flex, { style: { gap: '6px' }, children: [onGoBack && (_jsx(IconButton, { appearance: "circle", onClick: onGoBack, title: t.goBack, "aria-label": t.goBack, children: _jsx(ArrowLeft, {}) })), _jsx(Text, { as: "h1", appearance: type === 'modal' ? 'h3' : 'h4', children: title })] }), subtitle && _jsx(Text, { appearance: "body2", colorScheme: "light.700", children: subtitle })] }), _jsx(IconButton, { appearance: "circle", onClick: onClose, title: t.close, "aria-label": closeButtonAriaLabel || t.close, id: CLOSE_OVERLAY_ID, children: _jsx(TimesMini, {}) })] }), children] }));
|
|
36
36
|
};
|
|
37
37
|
//# sourceMappingURL=OverlayContent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayContent.js","sourceRoot":"","sources":["../../src/components/OverlayContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAA;AACvC,OAAO,EAAa,WAAW,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAA;AAExE,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAE7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAA;
|
|
1
|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M,YACtF,KAAC,SAAS,KAAG,GACF,CACd,EACD,KAAC,IAAI,IAAC,EAAE,EAAC,IAAI,EAAC,UAAU,EAAE,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,YAAG,KAAK,GAAQ,IACnE,EACN,QAAQ,IAAI,KAAC,IAAI,IAAC,UAAU,EAAC,OAAO,EAAC,WAAW,EAAC,WAAW,YAAE,QAAQ,GAAQ,IAC1E,EACP,KAAC,UAAU,IACT,UAAU,EAAC,QAAQ,EACnB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,CAAC,CAAC,KAAK,gBACF,oBAAoB,IAAI,CAAC,CAAC,KAAK,EAC3C,EAAE,EAAE,gBAAgB,YAEpB,KAAC,SAAS,KAAG,GACF,IACN,EACR,QAAQ,IACE,CACd,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/PrivacyPolicyMessage/hooks.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAwB,yBAAyB,EAAE,MAAM,GAAG,CAAA;AAEnE,UAAU,kBAAmB,SAAQ,yBAAyB;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,MAAoB,EACpB,WAAoB,EACpB,MAAyB,EACzB,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,WAAW,GACZ,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/PrivacyPolicyMessage/hooks.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAwB,yBAAyB,EAAE,MAAM,GAAG,CAAA;AAEnE,UAAU,kBAAmB,SAAQ,yBAAyB;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,MAAoB,EACpB,WAAoB,EACpB,MAAyB,EACzB,gBAAgB,EAChB,OAAO,EACP,UAAU,EACV,WAAW,GACZ,EAAE,kBAAkB,QAyBpB"}
|
|
@@ -12,7 +12,12 @@ export function usePrivacyPolicyEffect({ policy = 'okCookies', policyValue = 'tr
|
|
|
12
12
|
confirm: confirmText || t.ok,
|
|
13
13
|
children: _jsx(PrivacyPolicyMessage, { privacyPoliceUrl: privacyPoliceUrl, message: message, policyText: policyText }),
|
|
14
14
|
});
|
|
15
|
-
|
|
15
|
+
let cookieAttributes = `${policy}=${policyValue};path=/${location.host.endsWith(domain) ? `;domain=${domain}` : ''}`;
|
|
16
|
+
const portalUrl = new URL(location.href);
|
|
17
|
+
if (portalUrl.protocol === 'https:') {
|
|
18
|
+
cookieAttributes = `${cookieAttributes}; Secure`;
|
|
19
|
+
}
|
|
20
|
+
document.cookie = cookieAttributes;
|
|
16
21
|
setVisible(false);
|
|
17
22
|
}
|
|
18
23
|
else
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.js","sourceRoot":"","sources":["../../../src/components/PrivacyPolicyMessage/hooks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAc,YAAY,EAAE,MAAM,8BAA8B,CAAA;AACvE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,oBAAoB,EAA6B,MAAM,GAAG,CAAA;AASnE,MAAM,UAAU,sBAAsB,CAAC,EACrC,MAAM,GAAG,WAAW,EACpB,WAAW,GAAG,MAAM,EACpB,MAAM,GAAG,gBAAgB,EACzB,gB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UAAU,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;IAEpG,KAAK,UAAU,WAAW;QACxB,IAAI,OAAO,EAAE,CAAC;YACZ,MAAM,OAAO,CAAC,gBAAgB,CAAC;gBAC7B,OAAO,EAAE,WAAW,IAAI,CAAC,CAAC,EAAE;gBAC5B,QAAQ,EAAE,KAAC,oBAAoB,IAAC,gBAAgB,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,GAAI;aACjH,CAAC,CAAA;YAEF,IAAI,gBAAgB,GAAG,GAAG,MAAM,IAAI,WAAW,UAAU,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAA;YACpH,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA;YACxC,IAAI,SAAS,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;gBACpC,gBAAgB,GAAG,GAAG,gBAAgB,UAAU,CAAA;YAClD,CAAC;YACD,QAAQ,CAAC,MAAM,GAAG,gBAAgB,CAAA;YAClC,UAAU,CAAC,KAAK,CAAC,CAAA;QACnB,CAAC;;YACI,OAAO,CAAC,iBAAiB,EAAE,CAAA;IAClC,CAAC;IAED,SAAS,CAAC,GAAG,EAAE;QACb,WAAW,EAAE,CAAA;IACf,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;AACf,CAAC;AAED,MAAM,UAAU,GAAG;IACjB,EAAE,EAAE;QACF,EAAE,EAAE,IAAI;KACT;IACD,EAAE,EAAE;QACF,EAAE,EAAE,IAAI;KACT;CACmB,CAAA"}
|
package/package.json
CHANGED
|
@@ -29,6 +29,10 @@ export interface OverlayContentProps extends WithStyle {
|
|
|
29
29
|
* A function to run when the close button is pressed.
|
|
30
30
|
*/
|
|
31
31
|
onClose?: () => void,
|
|
32
|
+
/**
|
|
33
|
+
* The ARIA Label for close button
|
|
34
|
+
*/
|
|
35
|
+
closeButtonAriaLabel?: string,
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
interface Props extends OverlayContentProps {
|
|
@@ -67,7 +71,7 @@ const ContentBox = styled.section`
|
|
|
67
71
|
* Renders a modal or right panel with title, subtitle, close button and content.
|
|
68
72
|
* @param props the React props for the component {@link Props}.
|
|
69
73
|
*/
|
|
70
|
-
export const OverlayContent = ({ children, title, subtitle, className, style, onClose, onGoBack, type }: Props) => {
|
|
74
|
+
export const OverlayContent = ({ children, title, subtitle, className, style, onClose, onGoBack, type, closeButtonAriaLabel }: Props) => {
|
|
71
75
|
const t = useDictionary()
|
|
72
76
|
return (
|
|
73
77
|
<ContentBox style={style} className={listToClass([className, type])}>
|
|
@@ -83,7 +87,13 @@ export const OverlayContent = ({ children, title, subtitle, className, style, on
|
|
|
83
87
|
</Flex>
|
|
84
88
|
{subtitle && <Text appearance="body2" colorScheme="light.700">{subtitle}</Text>}
|
|
85
89
|
</Flex>
|
|
86
|
-
<IconButton
|
|
90
|
+
<IconButton
|
|
91
|
+
appearance="circle"
|
|
92
|
+
onClick={onClose}
|
|
93
|
+
title={t.close}
|
|
94
|
+
aria-label={closeButtonAriaLabel || t.close}
|
|
95
|
+
id={CLOSE_OVERLAY_ID}
|
|
96
|
+
>
|
|
87
97
|
<TimesMini />
|
|
88
98
|
</IconButton>
|
|
89
99
|
</header>
|
|
@@ -28,7 +28,13 @@ export function usePrivacyPolicyEffect({
|
|
|
28
28
|
confirm: confirmText || t.ok,
|
|
29
29
|
children: <PrivacyPolicyMessage privacyPoliceUrl={privacyPoliceUrl} message={message} policyText={policyText} />,
|
|
30
30
|
})
|
|
31
|
-
|
|
31
|
+
|
|
32
|
+
let cookieAttributes = `${policy}=${policyValue};path=/${location.host.endsWith(domain) ? `;domain=${domain}` : ''}`
|
|
33
|
+
const portalUrl = new URL(location.href)
|
|
34
|
+
if (portalUrl.protocol === 'https:') {
|
|
35
|
+
cookieAttributes = `${cookieAttributes}; Secure`
|
|
36
|
+
}
|
|
37
|
+
document.cookie = cookieAttributes
|
|
32
38
|
setVisible(false)
|
|
33
39
|
}
|
|
34
40
|
else overlay.closeBottomDialog()
|