@youversion/design-system-components 2.9.0 → 3.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # @youversion/design-system-components
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 44bd6c8: Migrate the design system's Aktiv Grotesk font implementation from self-hosted web fonts to Adobe Fonts licensing to ensure proper licensing compliance. This is a breaking change that will require all consuming applications to add the Adobe Fonts stylesheet and Content Security Policy:
8
+
9
+ (1) TypeKit will need to be added to any exisiting Content Security Policies:
10
+ font-src 'self' https://use.typekit.net;
11
+ style-src 'self' https://use.typekit.net;
12
+
13
+ (2) Add the Adobe Fonts link to your HTML `<head>` for Aktiv Grotesk:
14
+
15
+ ```html
16
+ <!-- In your HTML head section -->
17
+ <link rel="stylesheet" href="https://use.typekit.net/wfn2tts.css" />
18
+ ```
19
+
20
+ For Next.js App Router, add this to your `app/layout.tsx`:
21
+
22
+ ```tsx
23
+ // app/layout.tsx
24
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
25
+ return (
26
+ <html lang='en'>
27
+ <head>
28
+ <link rel='stylesheet' href='https://use.typekit.net/wfn2tts.css' />
29
+ </head>
30
+ <body>{children}</body>
31
+ </html>
32
+ );
33
+ }
34
+ ```
35
+
36
+ For Next.js Pages Router, add this to your `pages/_document.tsx`:
37
+
38
+ ```tsx
39
+ // pages/_document.tsx
40
+ import { Html, Head, Main, NextScript } from 'next/document';
41
+
42
+ export default function Document() {
43
+ return (
44
+ <Html>
45
+ <Head>
46
+ <link rel='stylesheet' href='https://use.typekit.net/wfn2tts.css' />
47
+ </Head>
48
+ <body>
49
+ <Main />
50
+ <NextScript />
51
+ </body>
52
+ </Html>
53
+ );
54
+ }
55
+ ```
56
+
57
+ ### Patch Changes
58
+
59
+ - Updated dependencies [44bd6c8]
60
+ - @youversion/design-system-tokens@3.0.0
61
+ - @youversion/design-system-core@5.0.0
62
+
63
+ ## 2.10.0
64
+
65
+ ### Minor Changes
66
+
67
+ - 8876131: Fix table row background for stats tables in Safari.
68
+
69
+ ### Patch Changes
70
+
71
+ - f6eb907: Removed dependency on @youversion/utils, resulting in 27 less packages.
72
+ - 9b1f9f6: Updated the Button component to remove truncation (part 2).
73
+
3
74
  ## 2.9.0
4
75
 
5
76
  ### Minor Changes