@bookjane2/bookjane-design-library 8.0.35 → 8.0.37

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,6 +1,6 @@
1
1
  import { css, createGlobalStyle } from 'styled-components';
2
- import PoppinsSemiBoldTff from '../../assets/fonts/Poppins-SemiBold.tff';
3
- import PoppinsMediumTff from '../../assets/fonts/Poppins-Medium.tff';
2
+ import PoppinsSemiBoldTtf from '../../assets/fonts/Poppins-SemiBold.ttf';
3
+ import PoppinsMediumTtf from '../../assets/fonts/Poppins-Medium.ttf';
4
4
  const cssReset = css `
5
5
  html,
6
6
  body,
@@ -135,22 +135,22 @@ const cssReset = css `
135
135
  }
136
136
  `;
137
137
  export const CSSReset = createGlobalStyle `${cssReset}`;
138
- const tffFontCSS = css `
138
+ const ttfFontCSS = css `
139
139
  @font-face {
140
- font-family: 'Poppins';
141
- src: local('Poppins SemiBold'), local('Poppins-SemiBold'), url(${PoppinsSemiBoldTff}) format('truetype');
140
+ font-family: 'Poppins SemiBold';
141
+ src: url(${PoppinsSemiBoldTtf}) format('truetype');
142
142
  font-weight: 600;
143
143
  font-style: normal;
144
- font-display: optional;
144
+ font-display: swap;
145
145
  }
146
146
 
147
147
  @font-face {
148
- font-family: 'Poppins';
149
- src: local('Poppins Medium'), local('Poppins-Medium'), url(${PoppinsMediumTff}) format('truetype');
148
+ font-family: 'Poppins Medium';
149
+ src: url(${PoppinsMediumTtf}) format('truetype');
150
150
  font-weight: 500;
151
151
  font-style: normal;
152
- font-display: optional;
152
+ font-display: swap;
153
153
  }
154
154
  `;
155
- export const CSSFonts = createGlobalStyle `${tffFontCSS}`;
155
+ export const CSSFonts = createGlobalStyle `${ttfFontCSS}`;
156
156
  //# sourceMappingURL=BKJThemeProvider.styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BKJThemeProvider.styled.js","sourceRoot":"","sources":["../../../src/providers/BKJThemeProvider/BKJThemeProvider.styled.ts"],"names":[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D,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,QAAQ,EAAE,CAAC;AAEvD,MAAM,UAAU,GAAG,GAAG,CAAA;;;eAGP,kBAAkB;;;;;;;;eAQlB,gBAAgB;;;;;CAK9B,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,iBAAiB,CAAA,GAAG,UAAU,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bookjane2/bookjane-design-library",
3
- "version": "8.0.35",
3
+ "version": "8.0.37",
4
4
  "main": "./lib/index.js",
5
5
  "typings": "./lib/index.d.ts",
6
6
  "engines": {