@bookjane2/bookjane-design-library 8.0.33 → 8.0.35
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/lib/assets/fonts/Poppins-Medium.ttf +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.ttf +0 -0
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.d.ts.map +1 -1
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js +11 -10
- package/lib/providers/BKJThemeProvider/BKJThemeProvider.styled.js.map +1 -1
- package/package.json +1 -1
- package/lib/assets/fonts/Poppins-Medium.woff2 +0 -0
- package/lib/assets/fonts/Poppins-SemiBold.woff2 +0 -0
- package/lib/assets/fonts/README.md +0 -17
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJThemeProvider.styled.d.ts","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,QAAQ,2FAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"BKJThemeProvider.styled.d.ts","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AA0IA,eAAO,MAAM,QAAQ,2FAAiC,CAAC;AAoBvD,eAAO,MAAM,QAAQ,2FAAmC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css, createGlobalStyle } from 'styled-components';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import PoppinsSemiBoldTff from '../../assets/fonts/Poppins-SemiBold.tff';
|
|
3
|
+
import PoppinsMediumTff from '../../assets/fonts/Poppins-Medium.tff';
|
|
4
4
|
const cssReset = css `
|
|
5
5
|
html,
|
|
6
6
|
body,
|
|
@@ -135,21 +135,22 @@ const cssReset = css `
|
|
|
135
135
|
}
|
|
136
136
|
`;
|
|
137
137
|
export const CSSReset = createGlobalStyle `${cssReset}`;
|
|
138
|
-
const
|
|
138
|
+
const tffFontCSS = css `
|
|
139
139
|
@font-face {
|
|
140
|
-
font-family: 'Poppins
|
|
141
|
-
src: url(${
|
|
140
|
+
font-family: 'Poppins';
|
|
141
|
+
src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(${PoppinsSemiBoldTff}) format('truetype');
|
|
142
142
|
font-weight: 600;
|
|
143
143
|
font-style: normal;
|
|
144
|
-
font-display:
|
|
144
|
+
font-display: optional;
|
|
145
145
|
}
|
|
146
|
+
|
|
146
147
|
@font-face {
|
|
147
|
-
font-family: 'Poppins
|
|
148
|
-
src: url(${
|
|
148
|
+
font-family: 'Poppins';
|
|
149
|
+
src: local('Poppins Medium'), local('Poppins-Medium'), url(${PoppinsMediumTff}) format('truetype');
|
|
149
150
|
font-weight: 500;
|
|
150
151
|
font-style: normal;
|
|
151
|
-
font-display:
|
|
152
|
+
font-display: optional;
|
|
152
153
|
}
|
|
153
154
|
`;
|
|
154
|
-
export const CSSFonts = createGlobalStyle `${
|
|
155
|
+
export const CSSFonts = createGlobalStyle `${tffFontCSS}`;
|
|
155
156
|
//# sourceMappingURL=BKJThemeProvider.styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJThemeProvider.styled.js","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,
|
|
1
|
+
{"version":3,"file":"BKJThemeProvider.styled.js","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,kBAAkB,MAAM,yCAAyC,CAAC;AACzE,OAAO,gBAAgB,MAAM,uCAAuC,CAAC;AAErE,MAAM,QAAQ,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkId,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB;;CAEjD,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,QAAQ,EAAE,CAAC;AAEvD,MAAM,UAAU,GAAG,GAAG,CAAA;;;qEAG+C,kBAAkB;;;;;;;;iEAQtB,gBAAgB;;;;;CAKhF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,UAAU,EAAE,CAAC"}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
Poppins WOFF2 assets
|
|
2
|
-
====================
|
|
3
|
-
|
|
4
|
-
This directory contains the committed WOFF2 font files used by the design library:
|
|
5
|
-
|
|
6
|
-
- Poppins-Medium.woff2 (font-weight: 500)
|
|
7
|
-
- Poppins-SemiBold.woff2 (font-weight: 600)
|
|
8
|
-
|
|
9
|
-
Bundling
|
|
10
|
-
--------
|
|
11
|
-
During the build, `scripts/build.sh` copies `src/assets` to `lib/assets`, so these
|
|
12
|
-
fonts are bundled and resolvable by consumers at runtime.
|
|
13
|
-
|
|
14
|
-
Licensing
|
|
15
|
-
---------
|
|
16
|
-
Poppins is under the SIL Open Font License (OFL). Ensure compliance with your
|
|
17
|
-
distribution requirements.
|