@stack-spot/portal-layout 2.20.0 → 2.20.1
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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.20.1](https://github.com/stack-spot/portal-commons/compare/portal-layout@v2.20.0...portal-layout@v2.20.1) (2024-12-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* appearance of the close button in the toaster ([#607](https://github.com/stack-spot/portal-commons/issues/607)) ([1108e5a](https://github.com/stack-spot/portal-commons/commit/1108e5a6ea32ce8871cf676c87148e9240d3334d))
|
|
9
|
+
|
|
3
10
|
## [2.20.0](https://github.com/stack-spot/portal-commons/compare/portal-layout@v2.19.4...portal-layout@v2.20.0) (2024-12-27)
|
|
4
11
|
|
|
5
12
|
|
|
@@ -10,7 +10,7 @@ import { useDictionary } from '../dictionary.js';
|
|
|
10
10
|
export const TOASTER_CLOSE_BTN_CLASS = 'btn-close';
|
|
11
11
|
const CloseButton = ({ closeToast }) => {
|
|
12
12
|
const t = useDictionary();
|
|
13
|
-
return (_jsx(IconButton, { className: TOASTER_CLOSE_BTN_CLASS, onClick: closeToast, title: t.dismiss, children: _jsx(TimesMini, {}) }));
|
|
13
|
+
return (_jsx(IconButton, { appearance: "circle", color: "light", size: "xs", className: TOASTER_CLOSE_BTN_CLASS, onClick: closeToast, title: t.dismiss, children: _jsx(TimesMini, {}) }));
|
|
14
14
|
};
|
|
15
15
|
/**
|
|
16
16
|
* Uses react-toastify to render a Toaster based on the Citric DS.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toaster.js","sourceRoot":"","sources":["../../src/components/Toaster.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,S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CACF,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IACb,OAAO,CACL,eAAK,OAAO,EAAE,OAAO,aACnB,aAAI,KAAK,EAAE,EAAE,aAAa,EAAE,YAAY,EAAE,YAAG,KAAK,GAAM,EACvD,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,sBAAI,OAAO,GAAK,CAAC,CAAC,CAAC,OAAO,EACxD,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,KAAK,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,YAAG,OAAO,GAAQ,CAAC,CAAC,CAAC,IAAI,IACvF,CACP,CAAA;AACH,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stack-spot/portal-layout",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"check-tree-shaking": "agadoo"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@citric/core": "^6.
|
|
13
|
+
"@citric/core": "^6.4.0",
|
|
14
14
|
"@citric/icons": "^5.9.0",
|
|
15
|
-
"@citric/ui": "^6.
|
|
15
|
+
"@citric/ui": "^6.5.5",
|
|
16
16
|
"@stack-spot/portal-theme": "^1.0.0",
|
|
17
17
|
"@stack-spot/portal-translate": "^1.1.0",
|
|
18
18
|
"@stack-spot/portal-components": "^2.11.0",
|
|
@@ -15,7 +15,7 @@ export const TOASTER_CLOSE_BTN_CLASS = 'btn-close'
|
|
|
15
15
|
const CloseButton = ({ closeToast }: CloseButtonProps) => {
|
|
16
16
|
const t = useDictionary()
|
|
17
17
|
return (
|
|
18
|
-
<IconButton className={TOASTER_CLOSE_BTN_CLASS} onClick={closeToast} title={t.dismiss}>
|
|
18
|
+
<IconButton appearance="circle" color="light" size="xs" className={TOASTER_CLOSE_BTN_CLASS} onClick={closeToast} title={t.dismiss}>
|
|
19
19
|
<TimesMini />
|
|
20
20
|
</IconButton>
|
|
21
21
|
)
|