@butternutbox/pawprint-native 0.10.1 → 0.10.2
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/.turbo/turbo-build.log +19 -19
- package/CHANGELOG.md +6 -0
- package/dist/ibm-plex-sans-condensed-400-normal-HPNYNCMK.ttf +0 -0
- package/dist/ibm-plex-sans-condensed-500-normal-A67WOCOE.ttf +0 -0
- package/dist/ibm-plex-sans-condensed-600-normal-LVI6BHYG.ttf +0 -0
- package/dist/ibm-plex-sans-condensed-700-normal-M7CX52AP.ttf +0 -0
- package/dist/ida-narrow-500-normal-QUBTMKIO.ttf +0 -0
- package/dist/ida-narrow-700-normal-6QL6J2BT.ttf +0 -0
- package/dist/index.cjs +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/fonts/ibm-plex-sans-condensed-400-normal.ttf +0 -0
- package/src/fonts/ibm-plex-sans-condensed-500-normal.ttf +0 -0
- package/src/fonts/ibm-plex-sans-condensed-600-normal.ttf +0 -0
- package/src/fonts/ibm-plex-sans-condensed-700-normal.ttf +0 -0
- package/src/fonts/ida-narrow-500-normal.ttf +0 -0
- package/src/fonts/ida-narrow-700-normal.ttf +0 -0
- package/src/fonts/index.ts +6 -6
- package/src/types/fonts.d.ts +1 -1
- package/vitest.config.ts +2 -2
- package/dist/ibm-plex-sans-condensed-400-normal-I2XLJNNB.woff2 +0 -0
- package/dist/ibm-plex-sans-condensed-500-normal-IEQBNVGX.woff2 +0 -0
- package/dist/ibm-plex-sans-condensed-600-normal-UX5ZU5T6.woff2 +0 -0
- package/dist/ibm-plex-sans-condensed-700-normal-4PFYFTSO.woff2 +0 -0
- package/dist/ida-narrow-500-normal-C6I2PK4T.woff2 +0 -0
- package/dist/ida-narrow-700-normal-UPHPRIN6.woff2 +0 -0
- package/src/fonts/ibm-plex-sans-condensed-400-normal.woff2 +0 -0
- package/src/fonts/ibm-plex-sans-condensed-500-normal.woff2 +0 -0
- package/src/fonts/ibm-plex-sans-condensed-600-normal.woff2 +0 -0
- package/src/fonts/ibm-plex-sans-condensed-700-normal.woff2 +0 -0
- package/src/fonts/ida-narrow-500-normal.woff2 +0 -0
- package/src/fonts/ida-narrow-700-normal.woff2 +0 -0
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/fonts/index.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Brand, BrandName } from "@butternutbox/pawprint-tokens"
|
|
2
2
|
import type { FontSource } from "expo-font"
|
|
3
3
|
|
|
4
|
-
import idaNarrow500 from "./ida-narrow-500-normal.
|
|
5
|
-
import idaNarrow700 from "./ida-narrow-700-normal.
|
|
6
|
-
import ibmPlexSansCondensed400 from "./ibm-plex-sans-condensed-400-normal.
|
|
7
|
-
import ibmPlexSansCondensed500 from "./ibm-plex-sans-condensed-500-normal.
|
|
8
|
-
import ibmPlexSansCondensed600 from "./ibm-plex-sans-condensed-600-normal.
|
|
9
|
-
import ibmPlexSansCondensed700 from "./ibm-plex-sans-condensed-700-normal.
|
|
4
|
+
import idaNarrow500 from "./ida-narrow-500-normal.ttf"
|
|
5
|
+
import idaNarrow700 from "./ida-narrow-700-normal.ttf"
|
|
6
|
+
import ibmPlexSansCondensed400 from "./ibm-plex-sans-condensed-400-normal.ttf"
|
|
7
|
+
import ibmPlexSansCondensed500 from "./ibm-plex-sans-condensed-500-normal.ttf"
|
|
8
|
+
import ibmPlexSansCondensed600 from "./ibm-plex-sans-condensed-600-normal.ttf"
|
|
9
|
+
import ibmPlexSansCondensed700 from "./ibm-plex-sans-condensed-700-normal.ttf"
|
|
10
10
|
|
|
11
11
|
// Keys passed to useFonts — each key becomes the exact @font-face family name
|
|
12
12
|
// that expo-font registers on web, and the postscript font name on iOS/Android.
|
package/src/types/fonts.d.ts
CHANGED
package/vitest.config.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineConfig, type Plugin } from "vitest/config"
|
|
2
2
|
import { resolve } from "path"
|
|
3
3
|
|
|
4
|
-
/** Vite plugin that stubs binary asset imports (.
|
|
4
|
+
/** Vite plugin that stubs binary asset imports (.ttf, etc.) */
|
|
5
5
|
const stubAssets = (): Plugin => ({
|
|
6
6
|
name: "stub-font-assets",
|
|
7
7
|
resolveId(id) {
|
|
8
|
-
if (/\.
|
|
8
|
+
if (/\.ttf$/.test(id)) return `\0font-stub:${id}`
|
|
9
9
|
return undefined
|
|
10
10
|
},
|
|
11
11
|
load(id) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|