stacks 0.47.0 → 0.47.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/buddy/package.json +3 -3
- package/components/vue/package.json +1 -1
- package/components/web/package.json +1 -1
- package/core/actions/package.json +3 -3
- package/core/ai/package.json +3 -3
- package/core/alias/package.json +3 -3
- package/core/arrays/package.json +3 -3
- package/core/auth/package.json +3 -3
- package/core/build/package.json +3 -3
- package/core/cache/package.json +3 -3
- package/core/chat/package.json +3 -3
- package/core/cli/package.json +3 -3
- package/core/cloud/package.json +3 -3
- package/core/collections/package.json +3 -3
- package/core/config/package.json +3 -3
- package/core/dashboard/package.json +3 -3
- package/core/database/package.json +3 -3
- package/core/datetime/package.json +3 -3
- package/core/desktop/package.json +3 -3
- package/core/docs/package.json +3 -3
- package/core/domains/package.json +3 -3
- package/core/drivers/package.json +3 -3
- package/core/email/package.json +3 -3
- package/core/email/src/{drivers/actions → actions}/send.ts +1 -1
- package/core/email/src/drivers/emailjs.ts +1 -1
- package/core/email/src/drivers/mailgun.ts +1 -1
- package/core/email/src/drivers/mailjet.ts +1 -1
- package/core/email/src/drivers/mandrill.ts +1 -1
- package/core/email/src/drivers/netcore.ts +1 -1
- package/core/email/src/drivers/nodemailer.ts +1 -1
- package/core/email/src/drivers/postmark.ts +1 -1
- package/core/email/src/drivers/sendgrid.ts +1 -1
- package/core/email/src/drivers/ses.ts +1 -1
- package/core/{notifications/src/drivers/email → email/src}/tailwind.config.ts +3 -1
- package/core/email/src/utils/config.ts +3 -1
- package/core/error-handling/package.json +3 -3
- package/core/events/package.json +3 -3
- package/core/git/package.json +3 -3
- package/core/health/package.json +3 -3
- package/core/lint/package.json +3 -3
- package/core/logging/package.json +3 -3
- package/core/modules/package.json +3 -3
- package/core/notifications/package.json +3 -3
- package/core/notifications/src/drivers/email/actions/send.ts +1 -1
- package/core/notifications/src/tailwind.config.ts +39 -0
- package/core/objects/package.json +3 -3
- package/core/path/package.json +3 -3
- package/core/payments/package.json +3 -3
- package/core/push/package.json +3 -3
- package/core/realtime/package.json +3 -3
- package/core/router/package.json +3 -3
- package/core/search-engine/package.json +3 -3
- package/core/security/package.json +3 -3
- package/core/server/package.json +3 -3
- package/core/sms/package.json +3 -3
- package/core/storage/package.json +3 -3
- package/core/strings/package.json +3 -3
- package/core/testing/package.json +3 -3
- package/core/types/package.json +3 -3
- package/core/types/src/ui.ts +28 -19
- package/core/ui/package.json +3 -3
- package/core/utils/package.json +3 -3
- package/core/x-ray/package.json +3 -3
- package/functions/package.json +1 -1
- package/package.json +4 -4
package/core/health/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/health",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks Health services.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=v18.12.1",
|
|
38
|
-
"pnpm": ">=7.
|
|
38
|
+
"pnpm": ">=7.21.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
package/core/lint/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/lint",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks way to lint.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=v18.12.1",
|
|
39
|
-
"pnpm": ">=7.
|
|
39
|
+
"pnpm": ">=7.21.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/logging",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks logging system.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=v18.12.1",
|
|
38
|
-
"pnpm": ">=7.
|
|
38
|
+
"pnpm": ">=7.21.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/modules",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework modules.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
],
|
|
33
33
|
"engines": {
|
|
34
34
|
"node": ">=v18.12.1",
|
|
35
|
-
"pnpm": ">=7.
|
|
35
|
+
"pnpm": ">=7.21.0"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/notifications",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks notifications integration.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=v18.12.1",
|
|
46
|
-
"pnpm": ">=7.
|
|
46
|
+
"pnpm": ">=7.21.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "unbuild",
|
|
@@ -4,7 +4,7 @@ import { log } from '@stacksjs/logging'
|
|
|
4
4
|
import { ResultAsync } from '@stacksjs/error-handling'
|
|
5
5
|
import * as Maizzle from '@maizzle/framework'
|
|
6
6
|
import * as maizzleConfig from '../../../utils/config'
|
|
7
|
-
import { config } from '
|
|
7
|
+
import { config } from '../../../tailwind.config'
|
|
8
8
|
|
|
9
9
|
export async function send(options: EmailOptions, provider: any, providerName: string, css?: string) {
|
|
10
10
|
const template = `
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { notification } from '@stacksjs/config'
|
|
2
|
+
|
|
3
|
+
const email = notification.email
|
|
4
|
+
|
|
5
|
+
export const config = {
|
|
6
|
+
...email.build,
|
|
7
|
+
theme: {
|
|
8
|
+
screens: {
|
|
9
|
+
sm: '480px',
|
|
10
|
+
md: '768px',
|
|
11
|
+
lg: '976px',
|
|
12
|
+
xl: '1440px',
|
|
13
|
+
},
|
|
14
|
+
colors: {
|
|
15
|
+
'blue': '#1fb6ff',
|
|
16
|
+
'purple': '#7e5bef',
|
|
17
|
+
'pink': '#ff49db',
|
|
18
|
+
'orange': '#ff7849',
|
|
19
|
+
'green': '#13ce66',
|
|
20
|
+
'yellow': '#ffc82c',
|
|
21
|
+
'gray-dark': '#273444',
|
|
22
|
+
'gray': '#8492a6',
|
|
23
|
+
'gray-light': '#d3dce6',
|
|
24
|
+
},
|
|
25
|
+
fontFamily: {
|
|
26
|
+
sans: ['Graphik', 'sans-serif'],
|
|
27
|
+
serif: ['Merriweather', 'serif'],
|
|
28
|
+
},
|
|
29
|
+
extend: {
|
|
30
|
+
spacing: {
|
|
31
|
+
128: '32rem',
|
|
32
|
+
144: '36rem',
|
|
33
|
+
},
|
|
34
|
+
borderRadius: {
|
|
35
|
+
'4xl': '2rem',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/objects",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks objects.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=v18.12.1",
|
|
37
|
-
"pnpm": ">=7.
|
|
37
|
+
"pnpm": ">=7.21.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "mkdist -d",
|
package/core/path/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/path",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks path.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=v18.12.1",
|
|
39
|
-
"pnpm": ">=7.
|
|
39
|
+
"pnpm": ">=7.21.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/payments",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks payments package. Currently supporting Stripe.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
],
|
|
37
37
|
"engines": {
|
|
38
38
|
"node": ">=v18.12.1",
|
|
39
|
-
"pnpm": ">=7.
|
|
39
|
+
"pnpm": ">=7.21.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"build": "mkdist -d",
|
package/core/push/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/push",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks Push integration",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=v18.12.1",
|
|
38
|
-
"pnpm": ">=7.
|
|
38
|
+
"pnpm": ">=7.21.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/realtime",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks realtime integration.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=v18.12.1",
|
|
38
|
-
"pnpm": ">=7.
|
|
38
|
+
"pnpm": ">=7.21.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
package/core/router/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/router",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework router.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=v18.12.1",
|
|
38
|
-
"pnpm": ">=7.
|
|
38
|
+
"pnpm": ">=7.21.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/search-engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks search engine integrations.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"engines": {
|
|
43
43
|
"node": ">=v18.12.1",
|
|
44
|
-
"pnpm": ">=7.
|
|
44
|
+
"pnpm": ">=7.21.0"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/security",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework security.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=v18.12.1",
|
|
37
|
-
"pnpm": ">=7.
|
|
37
|
+
"pnpm": ">=7.21.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "mkdist -d",
|
package/core/server/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "Local development and production-ready.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=v18.12.1",
|
|
40
|
-
"pnpm": ">=7.
|
|
40
|
+
"pnpm": ">=7.21.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "mkdist -d",
|
package/core/sms/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/sms",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks SMS integration. Painlessly create & manage your inboxes, templates, and send sms.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=v18.12.1",
|
|
38
|
-
"pnpm": ">=7.
|
|
38
|
+
"pnpm": ">=7.21.0"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/storage",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks file system.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=v18.12.1",
|
|
41
|
-
"pnpm": ">=7.
|
|
41
|
+
"pnpm": ">=7.21.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "mkdist -d",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/strings",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks string utilities.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
],
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=v18.12.1",
|
|
49
|
-
"pnpm": ">=7.
|
|
49
|
+
"pnpm": ">=7.21.0"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|
|
52
52
|
"build": "unbuild",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/testing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks way to test.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
],
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=v18.12.1",
|
|
40
|
-
"pnpm": ">=7.
|
|
40
|
+
"pnpm": ">=7.21.0"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "mkdist -d",
|
package/core/types/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework types.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
],
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=v18.12.1",
|
|
37
|
-
"pnpm": ">=7.
|
|
37
|
+
"pnpm": ">=7.21.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "mkdist -d",
|
package/core/types/src/ui.ts
CHANGED
|
@@ -2,7 +2,13 @@ import type { UserShortcuts } from 'unocss'
|
|
|
2
2
|
|
|
3
3
|
export type Font = 'inter' | 'mona' | 'hubot'
|
|
4
4
|
export type Icon = 'heroicon-outline' | 'heroicon-solid'
|
|
5
|
-
export type WebFontsProviders = 'google' | 'bunny' | 'fontshare'
|
|
5
|
+
export type WebFontsProviders = 'google' | 'bunny' | 'fontshare'
|
|
6
|
+
|
|
7
|
+
export interface FontInfo {
|
|
8
|
+
title: string
|
|
9
|
+
text: string
|
|
10
|
+
}
|
|
11
|
+
export type FontFor = 'email' | 'desktop' | 'mobile' | 'web'
|
|
6
12
|
|
|
7
13
|
export interface WebFontMeta {
|
|
8
14
|
name: string
|
|
@@ -122,32 +128,35 @@ export interface UiOptions {
|
|
|
122
128
|
/**
|
|
123
129
|
* **Fonts**
|
|
124
130
|
*
|
|
125
|
-
* Define the
|
|
126
|
-
*
|
|
127
|
-
*
|
|
131
|
+
* Define the fonts you want to use. By default, Stacks provides support
|
|
132
|
+
* for several local font providers. You may set this value to
|
|
133
|
+
* `null` if you prefer not utilize any local fonts.
|
|
128
134
|
*
|
|
129
135
|
* @see https://stacks.ow3.org/fonts
|
|
130
|
-
* @example
|
|
136
|
+
* @example applies the same font for all platforms _(web, email, desktop, and mobile)_
|
|
131
137
|
* ```ts
|
|
132
|
-
* fonts:
|
|
138
|
+
* fonts: {
|
|
139
|
+
* title: 'Mona',
|
|
140
|
+
* text: 'Hubot'
|
|
141
|
+
* }
|
|
133
142
|
* ```
|
|
134
|
-
*/
|
|
135
|
-
fonts?: Record<string, WebFontMeta | string | (WebFontMeta | string)[]>
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* **Web Fonts**
|
|
139
|
-
*
|
|
140
|
-
* Define the web fonts you want to use. By default, Stacks provides
|
|
141
|
-
* support for several web font providers. You may set this value
|
|
142
|
-
* to `null` if you prefer not utilize any web fonts.
|
|
143
|
-
*
|
|
144
|
-
* @see https://stacks.ow3.org/fonts
|
|
145
143
|
* @example
|
|
146
144
|
* ```ts
|
|
147
|
-
*
|
|
145
|
+
* fonts: {
|
|
146
|
+
* web: {
|
|
147
|
+
* title: 'Inter',
|
|
148
|
+
* text: 'Mona'
|
|
149
|
+
* },
|
|
150
|
+
* desktop: {
|
|
151
|
+
* title: 'Mona',
|
|
152
|
+
* text: 'Inter'
|
|
153
|
+
* },
|
|
154
|
+
* }
|
|
148
155
|
* ```
|
|
149
156
|
*/
|
|
150
|
-
|
|
157
|
+
fonts?: Record<FontFor, FontInfo> | { [key in FontFor]: FontInfo }
|
|
158
|
+
|
|
159
|
+
useWebFonts?: boolean | WebFontsProviders
|
|
151
160
|
|
|
152
161
|
/**
|
|
153
162
|
* **Icon Sets**
|
package/core/ui/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks atomic UI engine, powered by UnoCSS.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=v18.12.1",
|
|
41
|
-
"pnpm": ">=7.
|
|
41
|
+
"pnpm": ">=7.21.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "mkdist -d",
|
package/core/utils/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/utils",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks helper functions.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
],
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=v18.12.1",
|
|
41
|
-
"pnpm": ">=7.
|
|
41
|
+
"pnpm": ">=7.21.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "mkdist -d",
|
package/core/x-ray/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/x-ray",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "All you need to debug, log & analyze.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": ">=v18.12.1",
|
|
42
|
-
"pnpm": ">=7.
|
|
42
|
+
"pnpm": ">=7.21.0"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "echo 'wip'",
|
package/functions/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stacks",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.47.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
4
|
+
"version": "0.47.2",
|
|
5
|
+
"packageManager": "pnpm@7.21.0",
|
|
6
6
|
"description": "The Stacks framework.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
],
|
|
62
62
|
"engines": {
|
|
63
63
|
"node": ">=v18.12.1",
|
|
64
|
-
"pnpm": ">=7.
|
|
64
|
+
"pnpm": ">=7.21.0"
|
|
65
65
|
},
|
|
66
66
|
"web-types": "./web-types.json",
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@stacksjs/buddy": "0.47.
|
|
68
|
+
"@stacksjs/buddy": "0.47.2"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"buddy": "esno ./buddy/src/cli.ts",
|