@mantine/notifications 7.3.0-alpha.1 → 7.3.0-alpha.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.
@@ -8,4 +8,3 @@ interface NotificationContainerProps extends NotificationProps {
8
8
  }
9
9
  export declare const NotificationContainer: React.ForwardRefExoticComponent<NotificationContainerProps & React.RefAttributes<HTMLDivElement>>;
10
10
  export {};
11
- //# sourceMappingURL=NotificationContainer.d.ts.map
@@ -54,4 +54,3 @@ export declare const Notifications: import("@mantine/core").MantineComponent<{
54
54
  updateState: typeof notifications.updateState;
55
55
  };
56
56
  }>;
57
- //# sourceMappingURL=Notifications.d.ts.map
@@ -1,2 +1 @@
1
1
  export declare function getAutoClose(autoClose: boolean | number | undefined, notificationAutoClose: boolean | number | undefined): number | boolean | undefined;
2
- //# sourceMappingURL=get-auto-close.d.ts.map
@@ -8,4 +8,3 @@ interface NotificationStateStylesProps {
8
8
  }
9
9
  export declare function getNotificationStateStyles({ state, maxHeight, position, transitionDuration, }: NotificationStateStylesProps): React.CSSProperties;
10
10
  export {};
11
- //# sourceMappingURL=get-notification-state-styles.d.ts.map
package/lib/index.d.mts CHANGED
@@ -2,4 +2,3 @@ export { notifications, showNotification, hideNotification, cleanNotifications,
2
2
  export { Notifications } from './Notifications';
3
3
  export type { NotificationData, NotificationsState, NotificationsStore, } from './notifications.store';
4
4
  export type { NotificationsCssVariables, NotificationsFactory, NotificationsProps, NotificationsStylesNames, } from './Notifications';
5
- //# sourceMappingURL=index.d.ts.map
package/lib/index.d.ts CHANGED
@@ -2,4 +2,3 @@ export { notifications, showNotification, hideNotification, cleanNotifications,
2
2
  export { Notifications } from './Notifications';
3
3
  export type { NotificationData, NotificationsState, NotificationsStore, } from './notifications.store';
4
4
  export type { NotificationsCssVariables, NotificationsFactory, NotificationsProps, NotificationsStylesNames, } from './Notifications';
5
- //# sourceMappingURL=index.d.ts.map
@@ -37,4 +37,3 @@ export declare const notifications: {
37
37
  readonly cleanQueue: typeof cleanNotificationsQueue;
38
38
  readonly updateState: typeof updateNotificationsState;
39
39
  };
40
- //# sourceMappingURL=notifications.store.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@mantine/notifications",
3
- "version": "7.3.0-alpha.1",
3
+ "version": "7.3.0-alpha.2",
4
+ "description": "Mantine notifications system",
4
5
  "homepage": "https://mantine.dev",
5
6
  "license": "MIT",
6
7
  "author": "Vitaly Rtishchev <rtivital@gmail.com>",
@@ -34,27 +35,27 @@
34
35
  "default": "./cjs/index.cjs"
35
36
  }
36
37
  },
37
- "./styles.css": "./esm/index.css",
38
- "./styles.layer.css": "./esm/index.layer.css"
38
+ "./styles.css": "./styles.css",
39
+ "./styles.layer.css": "./styles.layer.css"
39
40
  },
40
41
  "repository": {
41
42
  "url": "https://github.com/mantinedev/mantine.git",
42
43
  "type": "git",
43
- "directory": "src/mantine-spotlight"
44
+ "directory": "packages/@mantine/notifications"
44
45
  },
45
46
  "peerDependencies": {
46
- "@mantine/core": "7.3.0-alpha.1",
47
- "@mantine/hooks": "7.3.0-alpha.1",
47
+ "@mantine/core": "7.3.0-alpha.2",
48
+ "@mantine/hooks": "7.3.0-alpha.2",
48
49
  "react": "^18.2.0",
49
50
  "react-dom": "^18.2.0"
50
51
  },
51
52
  "dependencies": {
52
- "@mantine/store": "7.3.0-alpha.1",
53
+ "@mantine/store": "7.3.0-alpha.2",
53
54
  "react-transition-group": "4.4.5"
54
55
  },
55
56
  "devDependencies": {
56
- "@mantine/core": "7.3.0-alpha.1",
57
- "@mantine/hooks": "7.3.0-alpha.1",
58
- "@tests/core": "1.0.0"
57
+ "@mantine-tests/core": "1.0.1",
58
+ "@mantine/core": "7.3.0-alpha.2",
59
+ "@mantine/hooks": "7.3.0-alpha.2"
59
60
  }
60
61
  }
package/esm/index.css DELETED
@@ -1 +0,0 @@
1
- .m-b37d9ac7{bottom:var(--notifications-bottom);left:var(--notifications-left);max-width:var(--notifications-container-width);position:fixed;right:var(--notifications-right);top:var(--notifications-top);transform:var(--notifications-transform);width:calc(100% - var(--mantine-spacing-md)*2);z-index:var(--notifications-z-index)}.m-5ed0edd0+.m-5ed0edd0{margin-top:var(--mantine-spacing-md)}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NotificationContainer.d.ts","sourceRoot":"","sources":["../src/NotificationContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAgB,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAGzD,UAAU,0BAA2B,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,gBAAgB,CAAC;IACvB,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,SAAS,EAAE,MAAM,GAAG,KAAK,CAAC;CAC3B;AAED,eAAO,MAAM,qBAAqB,mGAyCjC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Notifications.d.ts","sourceRoot":"","sources":["../src/Notifications.tsx"],"names":[],"mappings":"AAOA,OAAO,EAEL,QAAQ,EACR,cAAc,EAEd,YAAY,EAIZ,OAAO,EACP,WAAW,EAKZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAEL,kBAAkB,EAGlB,aAAa,EACd,MAAM,uBAAuB,CAAC;AAO/B,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,cAAc,CAAC;AAC/D,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EACA,yBAAyB,GACzB,qBAAqB,GACrB,uBAAuB,GACvB,sBAAsB,GACtB,sBAAsB,GACtB,2BAA2B,GAC3B,iCAAiC,CAAC;CACvC,CAAC;AAEF,MAAM,WAAW,kBACf,SAAQ,QAAQ,EACd,cAAc,CAAC,oBAAoB,CAAC,EACpC,YAAY,CAAC,KAAK,CAAC;IACrB,0DAA0D;IAC1D,QAAQ,CAAC,EACL,UA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,IAAI,EAAE,OAAO,cAAc,IAAI,CAAC;QAChC,IAAI,EAAE,OAAO,cAAc,IAAI,CAAC;QAChC,MAAM,EAAE,OAAO,cAAc,MAAM,CAAC;QACpC,KAAK,EAAE,OAAO,cAAc,KAAK,CAAC;QAClC,UAAU,EAAE,OAAO,cAAc,UAAU,CAAC;QAC5C,WAAW,EAAE,OAAO,cAAc,WAAW,CAAC;KAC/C;EAoID,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-auto-close.d.ts","sourceRoot":"","sources":["../../src/get-auto-close/get-auto-close.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAC1B,SAAS,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,EACvC,qBAAqB,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,gCAWpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-notification-state-styles.d.ts","sourceRoot":"","sources":["../src/get-notification-state-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAE1D,UAAU,4BAA4B;IACpC,KAAK,EAAE,gBAAgB,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,QAAQ,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAC;IACzC,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAgBD,wBAAgB,0BAA0B,CAAC,EACzC,KAAK,EACL,SAAS,EACT,QAAQ,EACR,kBAAkB,GACnB,EAAE,4BAA4B,GAAG,KAAK,CAAC,aAAa,CAkCpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,kBAAkB,EAClB,uBAAuB,EACvB,kBAAkB,EAClB,wBAAwB,EACx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