@vygruppen/spor-react 13.1.1 → 13.1.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vygruppen/spor-react",
3
3
  "type": "module",
4
- "version": "13.1.1",
4
+ "version": "13.1.2",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -48,8 +48,8 @@
48
48
  "react-swipeable": "^7.0.1",
49
49
  "usehooks-ts": "^3.1.0",
50
50
  "@vygruppen/spor-design-tokens": "5.0.1",
51
- "@vygruppen/spor-icon-react": "5.0.0",
52
- "@vygruppen/spor-loader": "0.7.0"
51
+ "@vygruppen/spor-loader": "0.7.0",
52
+ "@vygruppen/spor-icon-react": "5.0.0"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@react-types/datepicker": "^3.10.0",
@@ -16,8 +16,7 @@ export interface PasswordVisibilityProps {
16
16
  }
17
17
 
18
18
  export interface PasswordInputProps
19
- extends InputProps,
20
- PasswordVisibilityProps {
19
+ extends InputProps, PasswordVisibilityProps {
21
20
  rootProps?: InputProps;
22
21
  }
23
22
 
@@ -45,7 +45,13 @@ export const Toaster = () => {
45
45
  <Portal>
46
46
  <ChakraToaster toaster={toaster} insetInline={{ mdDown: "4" }}>
47
47
  {(toast) => (
48
- <Toast.Root width={{ md: toast.meta?.width }} role="alert">
48
+ <Toast.Root
49
+ width={{ md: toast.meta?.width }}
50
+ border="sm"
51
+ borderColor={`outline.${toast.type}`}
52
+ boxShadow="sm"
53
+ role="alert"
54
+ >
49
55
  <AlertIcon variant={toast.type as Variant} />
50
56
  <Stack gap="1" flex="1" maxWidth="100%">
51
57
  <Toast.Description>{toast.description}</Toast.Description>