@youversion/design-system-components 2.10.0 → 3.1.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,71 @@
1
1
  # @youversion/design-system-components
2
2
 
3
+ ## 3.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 78023ae: Add contentClassName prop to Button component to enhance content customisation.
8
+
9
+ ## 3.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - 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:
14
+
15
+ (1) TypeKit will need to be added to any exisiting Content Security Policies:
16
+ font-src 'self' https://use.typekit.net;
17
+ style-src 'self' https://use.typekit.net;
18
+
19
+ (2) Add the Adobe Fonts link to your HTML `<head>` for Aktiv Grotesk:
20
+
21
+ ```html
22
+ <!-- In your HTML head section -->
23
+ <link rel="stylesheet" href="https://use.typekit.net/wfn2tts.css" />
24
+ ```
25
+
26
+ For Next.js App Router, add this to your `app/layout.tsx`:
27
+
28
+ ```tsx
29
+ // app/layout.tsx
30
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
31
+ return (
32
+ <html lang='en'>
33
+ <head>
34
+ <link rel='stylesheet' href='https://use.typekit.net/wfn2tts.css' />
35
+ </head>
36
+ <body>{children}</body>
37
+ </html>
38
+ );
39
+ }
40
+ ```
41
+
42
+ For Next.js Pages Router, add this to your `pages/_document.tsx`:
43
+
44
+ ```tsx
45
+ // pages/_document.tsx
46
+ import { Html, Head, Main, NextScript } from 'next/document';
47
+
48
+ export default function Document() {
49
+ return (
50
+ <Html>
51
+ <Head>
52
+ <link rel='stylesheet' href='https://use.typekit.net/wfn2tts.css' />
53
+ </Head>
54
+ <body>
55
+ <Main />
56
+ <NextScript />
57
+ </body>
58
+ </Html>
59
+ );
60
+ }
61
+ ```
62
+
63
+ ### Patch Changes
64
+
65
+ - Updated dependencies [44bd6c8]
66
+ - @youversion/design-system-tokens@3.0.0
67
+ - @youversion/design-system-core@5.0.0
68
+
3
69
  ## 2.10.0
4
70
 
5
71
  ### Minor Changes