@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.
Files changed (34) hide show
  1. package/.turbo/turbo-build.log +19 -19
  2. package/CHANGELOG.md +6 -0
  3. package/dist/ibm-plex-sans-condensed-400-normal-HPNYNCMK.ttf +0 -0
  4. package/dist/ibm-plex-sans-condensed-500-normal-A67WOCOE.ttf +0 -0
  5. package/dist/ibm-plex-sans-condensed-600-normal-LVI6BHYG.ttf +0 -0
  6. package/dist/ibm-plex-sans-condensed-700-normal-M7CX52AP.ttf +0 -0
  7. package/dist/ida-narrow-500-normal-QUBTMKIO.ttf +0 -0
  8. package/dist/ida-narrow-700-normal-6QL6J2BT.ttf +0 -0
  9. package/dist/index.cjs +12 -12
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.js +12 -12
  12. package/dist/index.js.map +1 -1
  13. package/package.json +1 -1
  14. package/src/fonts/ibm-plex-sans-condensed-400-normal.ttf +0 -0
  15. package/src/fonts/ibm-plex-sans-condensed-500-normal.ttf +0 -0
  16. package/src/fonts/ibm-plex-sans-condensed-600-normal.ttf +0 -0
  17. package/src/fonts/ibm-plex-sans-condensed-700-normal.ttf +0 -0
  18. package/src/fonts/ida-narrow-500-normal.ttf +0 -0
  19. package/src/fonts/ida-narrow-700-normal.ttf +0 -0
  20. package/src/fonts/index.ts +6 -6
  21. package/src/types/fonts.d.ts +1 -1
  22. package/vitest.config.ts +2 -2
  23. package/dist/ibm-plex-sans-condensed-400-normal-I2XLJNNB.woff2 +0 -0
  24. package/dist/ibm-plex-sans-condensed-500-normal-IEQBNVGX.woff2 +0 -0
  25. package/dist/ibm-plex-sans-condensed-600-normal-UX5ZU5T6.woff2 +0 -0
  26. package/dist/ibm-plex-sans-condensed-700-normal-4PFYFTSO.woff2 +0 -0
  27. package/dist/ida-narrow-500-normal-C6I2PK4T.woff2 +0 -0
  28. package/dist/ida-narrow-700-normal-UPHPRIN6.woff2 +0 -0
  29. package/src/fonts/ibm-plex-sans-condensed-400-normal.woff2 +0 -0
  30. package/src/fonts/ibm-plex-sans-condensed-500-normal.woff2 +0 -0
  31. package/src/fonts/ibm-plex-sans-condensed-600-normal.woff2 +0 -0
  32. package/src/fonts/ibm-plex-sans-condensed-700-normal.woff2 +0 -0
  33. package/src/fonts/ida-narrow-500-normal.woff2 +0 -0
  34. package/src/fonts/ida-narrow-700-normal.woff2 +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@butternutbox/pawprint-native",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "type": "module",
5
5
  "description": "ButternutBox Pawprint Design System - React Native Components",
6
6
  "main": "./dist/index.cjs",
@@ -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.woff2"
5
- import idaNarrow700 from "./ida-narrow-700-normal.woff2"
6
- import ibmPlexSansCondensed400 from "./ibm-plex-sans-condensed-400-normal.woff2"
7
- import ibmPlexSansCondensed500 from "./ibm-plex-sans-condensed-500-normal.woff2"
8
- import ibmPlexSansCondensed600 from "./ibm-plex-sans-condensed-600-normal.woff2"
9
- import ibmPlexSansCondensed700 from "./ibm-plex-sans-condensed-700-normal.woff2"
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.
@@ -1,4 +1,4 @@
1
- declare module "*.woff2" {
1
+ declare module "*.ttf" {
2
2
  const src: string
3
3
  export default src
4
4
  }
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 (.woff2, .ttf, etc.) */
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 (/\.woff2$/.test(id)) return `\0font-stub:${id}`
8
+ if (/\.ttf$/.test(id)) return `\0font-stub:${id}`
9
9
  return undefined
10
10
  },
11
11
  load(id) {