@stacksjs/notifications 0.67.0 → 0.68.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/dist/chat.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * as chat from '@stacksjs/chat'
@@ -0,0 +1,3 @@
1
+ export default {
2
+ purgeCSS: {},
3
+ };
@@ -0,0 +1 @@
1
+ export * as email from '@stacksjs/email'
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
- export declare function useChat(driver?: string): any;
2
- export declare function useEmail(driver?: string): any;
3
- export declare function useSMS(driver?: string): any;
4
- export declare function useNotification(typeParam?: string, driverParam?: string): any;
5
- export declare function notification(): any;
1
+ import { notification as config } from '@stacksjs/config';
2
+
3
+ export declare function useChat(driver = 'slack'): any;
4
+ export declare function useEmail(driver = 'mailtrap'): any;
5
+ export declare function useSMS(driver = 'twilio'): any;
6
+ export declare function useNotification(typeParam = 'email', driverParam = 'mailtrap'): any;
7
+ export declare function notification(): any;
package/dist/push.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * as push from '@stacksjs/push'
package/dist/sms.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * as sms from '@stacksjs/sms'
@@ -1,31 +1,34 @@
1
- declare const _default: { theme: {
2
- screens: {
3
- sm: string;
4
- md: string;
5
- lg: string;
6
- xl: string;
7
- };
8
- colors: {
9
- "blue": string;
10
- "purple": string;
11
- "pink": string;
12
- "orange": string;
13
- "green": string;
14
- "yellow": string;
15
- "gray-dark": string;
16
- "gray": string;
17
- "gray-light": string;
18
- };
19
- fontFamily: {
20
- sans: unknown;
21
- serif: unknown;
22
- };
23
- extend: {
24
- spacing: {
25
- 128: string;
26
- 144: string;
27
- };
28
- borderRadius: { "4xl": string };
29
- };
30
- } };
31
- export default _default;
1
+ export default {
2
+ theme: {
3
+ screens: {
4
+ sm: '480px',
5
+ md: '768px',
6
+ lg: '976px',
7
+ xl: '1440px',
8
+ },
9
+ colors: {
10
+ 'blue': '#1fb6ff',
11
+ 'purple': '#7e5bef',
12
+ 'pink': '#ff49db',
13
+ 'orange': '#ff7849',
14
+ 'green': '#13ce66',
15
+ 'yellow': '#ffc82c',
16
+ 'gray-dark': '#273444',
17
+ 'gray': '#8492a6',
18
+ 'gray-light': '#d3dce6',
19
+ },
20
+ fontFamily: {
21
+ sans: ['Graphik', 'sans-serif'],
22
+ serif: ['Merriweather', 'serif'],
23
+ },
24
+ extend: {
25
+ spacing: {
26
+ 128: '32rem',
27
+ 144: '36rem',
28
+ },
29
+ borderRadius: {
30
+ '4xl': '2rem',
31
+ },
32
+ },
33
+ },
34
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/notifications",
3
3
  "type": "module",
4
- "version": "0.67.0",
4
+ "version": "0.68.0",
5
5
  "description": "The Stacks notifications integration.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": ["Chris Breuer <chris@stacksjs.org>"],
@@ -1 +0,0 @@
1
- export * as chat from "@stacksjs/chat";
@@ -1 +0,0 @@
1
- export * as email from "@stacksjs/email";
@@ -1,4 +0,0 @@
1
- export * from "./chat";
2
- export * from "./email";
3
- export * from "./push";
4
- export * from "./sms";
@@ -1 +0,0 @@
1
- export * as push from "@stacksjs/push";
@@ -1 +0,0 @@
1
- export * as sms from "@stacksjs/sms";
@@ -1,2 +0,0 @@
1
- declare const _default: { purgeCSS: {} };
2
- export default _default;