@payloadcms/richtext-slate 3.0.0-beta.6 → 3.0.0-beta.7

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.
@@ -1,4 +1,3 @@
1
- @import 'fonts';
2
1
  @import 'styles';
3
2
  @import './toastify.scss';
4
3
  @import './colors.scss';
@@ -20,9 +19,9 @@
20
19
  --theme-overlay: rgba(5, 5, 5, 0.5);
21
20
  --theme-baseline: #{$baseline-px};
22
21
  --theme-baseline-body-size: #{$baseline-body-size};
23
- --font-body: 'Suisse Intl', system-ui;
22
+ --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
23
+ sans-serif;
24
24
  --font-mono: monospace;
25
- --font-serif: 'Merriweather', serif;
26
25
 
27
26
  --style-radius-s: #{$style-radius-s};
28
27
  --style-radius-m: #{$style-radius-m};
@@ -21,13 +21,6 @@ $baseline: math.div($baseline-px, $baseline-body-size) + rem;
21
21
  @return (math.div($baseline-px, $baseline-body-size) * $multiplier) + rem;
22
22
  }
23
23
 
24
- //////////////////////////////
25
- // FONTS (DEPRECATED. DO NOT USE. PREFER CSS VARIABLES)
26
- //////////////////////////////
27
-
28
- $font-body: 'Suisse Intl' !default;
29
- $font-mono: monospace !default;
30
-
31
24
  //////////////////////////////
32
25
  // COLORS (DEPRECATED. DO NOT USE. PREFER CSS VARIABLES)
33
26
  //////////////////////////////
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/richtext-slate",
3
- "version": "3.0.0-beta.6",
3
+ "version": "3.0.0-beta.7",
4
4
  "description": "The officially supported Slate richtext adapter for Payload",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,14 +25,14 @@
25
25
  "devDependencies": {
26
26
  "@types/node": "20.12.5",
27
27
  "@types/react": "18.2.74",
28
- "payload": "3.0.0-beta.6",
29
- "@payloadcms/ui": "3.0.0-beta.6",
28
+ "@payloadcms/ui": "3.0.0-beta.7",
29
+ "payload": "3.0.0-beta.7",
30
30
  "@payloadcms/eslint-config": "1.1.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "payload": "3.0.0-beta.6",
34
- "@payloadcms/ui": "3.0.0-beta.6",
35
- "@payloadcms/translations": "3.0.0-beta.6"
33
+ "payload": "3.0.0-beta.7",
34
+ "@payloadcms/translations": "3.0.0-beta.7",
35
+ "@payloadcms/ui": "3.0.0-beta.7"
36
36
  },
37
37
  "exports": null,
38
38
  "publishConfig": {
@@ -1,75 +0,0 @@
1
- @font-face {
2
- font-family: 'Suisse Intl';
3
- src:
4
- url('../assets/fonts/SuisseIntl.woff2') format('woff2'),
5
- url('../assets/fonts/SuisseIntl.woff') format('woff');
6
- font-weight: normal;
7
- font-style: normal;
8
- }
9
-
10
- @font-face {
11
- font-family: 'Suisse Intl';
12
- src:
13
- url('../assets/fonts/SuisseIntl-Medium.woff2') format('woff2'),
14
- url('../assets/fonts/SuisseIntl-Medium.woff') format('woff');
15
- font-weight: 500;
16
- font-style: normal;
17
- }
18
-
19
- @font-face {
20
- font-family: 'Suisse Intl';
21
- src:
22
- url('../assets/fonts/SuisseIntl-SemiBold.woff2') format('woff2'),
23
- url('../assets/fonts/SuisseIntl-SemiBold.woff') format('woff');
24
- font-weight: 600;
25
- font-style: normal;
26
- }
27
-
28
- @font-face {
29
- font-family: 'Suisse Intl';
30
- src:
31
- url('../assets/fonts/SuisseIntl-Bold.woff2') format('woff2'),
32
- url('../assets/fonts/SuisseIntl-Bold.woff') format('woff');
33
- font-weight: bold;
34
- font-style: normal;
35
- }
36
-
37
- @font-face {
38
- font-family: 'Merriweather';
39
- font-style: normal;
40
- font-weight: 400;
41
- src:
42
- local(''),
43
- url('../assets/fonts/merriweather-v30-latin-regular.woff2') format('woff2'),
44
- url('../assets/fonts/merriweather-v30-latin-regular.woff') format('woff');
45
- }
46
-
47
- @font-face {
48
- font-family: 'Merriweather';
49
- font-style: italic;
50
- font-weight: 400;
51
- src:
52
- local(''),
53
- url('../assets/fonts/merriweather-v30-latin-italic.woff2') format('woff2'),
54
- url('../assets/fonts/merriweather-v30-latin-italic.woff') format('woff');
55
- }
56
-
57
- @font-face {
58
- font-family: 'Merriweather';
59
- font-style: normal;
60
- font-weight: 900;
61
- src:
62
- local(''),
63
- url('../assets/fonts/merriweather-v30-latin-900.woff2') format('woff2'),
64
- url('../assets/fonts/merriweather-v30-latin-900.woff') format('woff');
65
- }
66
-
67
- @font-face {
68
- font-family: 'Merriweather';
69
- font-style: italic;
70
- font-weight: 900;
71
- src:
72
- local(''),
73
- url('../assets/fonts/merriweather-v30-latin-900italic.woff2') format('woff2'),
74
- url('../assets/fonts/merriweather-v30-latin-900italic.woff') format('woff');
75
- }