@flighthq/bitmapfont 0.2.1-next.459.fb59cc5 → 0.2.1-next.585.c7219b8

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,3 +1,3 @@
1
1
  import type { BitmapFont, GlyphSource } from '@flighthq/types';
2
2
  export declare function createGlyphSourceFromBitmapFont(font: Readonly<BitmapFont>): GlyphSource;
3
- //# sourceMappingURL=glyphSource.d.ts.map
3
+ //# sourceMappingURL=bitmapFontGlyphSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitmapFontGlyphSource.d.ts","sourceRoot":"","sources":["../src/bitmapFontGlyphSource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQ/D,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,WAAW,CAiBvF"}
@@ -21,4 +21,4 @@ export function createGlyphSourceFromBitmapFont(font) {
21
21
  },
22
22
  };
23
23
  }
24
- //# sourceMappingURL=glyphSource.js.map
24
+ //# sourceMappingURL=bitmapFontGlyphSource.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bitmapFontGlyphSource.js","sourceRoot":"","sources":["../src/bitmapFontGlyphSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAE9F,sGAAsG;AACtG,mGAAmG;AACnG,0FAA0F;AAC1F,yGAAyG;AACzG,MAAM,UAAU,+BAA+B,CAAC,IAA0B;IACxE,OAAO;QACL,kBAAkB,CAAC,IAAI,GAAG,CAAC;YACzB,gGAAgG;YAChG,wFAAwF;YACxF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,IAAI,IAAI,CAAC;QACzC,CAAC;QACD,aAAa,CAAC,SAAS;YACrB,OAAO,kBAAkB,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC7C,CAAC;QACD,eAAe,CAAC,IAAI,EAAE,KAAK;YACzB,OAAO,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACjD,CAAC;QACD,eAAe;YACb,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;KACF,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './bitmapFont';
2
- export * from './glyphSource';
2
+ export * from './bitmapFontGlyphSource';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export * from './bitmapFont';
2
- export * from './glyphSource';
2
+ export * from './bitmapFontGlyphSource';
3
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/bitmapfont",
3
- "version": "0.2.1-next.459.fb59cc5",
3
+ "version": "0.2.1-next.585.c7219b8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/flighthq/flight.git",
@@ -32,8 +32,8 @@
32
32
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@flighthq/textureatlas": "0.2.1-next.459.fb59cc5",
36
- "@flighthq/types": "0.2.1-next.459.fb59cc5"
35
+ "@flighthq/textureatlas": "0.2.1-next.585.c7219b8",
36
+ "@flighthq/types": "0.2.1-next.585.c7219b8"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "^5.3.0"
@@ -3,7 +3,7 @@ import type { BitmapFontData, ImageResource } from '@flighthq/types';
3
3
  import { describe, expect, it } from 'vitest';
4
4
 
5
5
  import { createBitmapFont, getBitmapFontGlyph } from './bitmapFont';
6
- import { createGlyphSourceFromBitmapFont } from './glyphSource';
6
+ import { createGlyphSourceFromBitmapFont } from './bitmapFontGlyphSource';
7
7
 
8
8
  describe('createGlyphSourceFromBitmapFont', () => {
9
9
  it('exposes the font as a GlyphSource whose lookups match the font', () => {
@@ -1 +0,0 @@
1
- {"version":3,"file":"glyphSource.d.ts","sourceRoot":"","sources":["../src/glyphSource.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQ/D,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,GAAG,WAAW,CAiBvF"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"glyphSource.js","sourceRoot":"","sources":["../src/glyphSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAE9F,sGAAsG;AACtG,mGAAmG;AACnG,0FAA0F;AAC1F,yGAAyG;AACzG,MAAM,UAAU,+BAA+B,CAAC,IAA0B;IACxE,OAAO;QACL,kBAAkB,CAAC,IAAI,GAAG,CAAC;YACzB,gGAAgG;YAChG,wFAAwF;YACxF,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,KAAK,IAAI,IAAI,CAAC;QACzC,CAAC;QACD,aAAa,CAAC,SAAS;YACrB,OAAO,kBAAkB,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;QAC7C,CAAC;QACD,eAAe,CAAC,IAAI,EAAE,KAAK;YACzB,OAAO,oBAAoB,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC;QACjD,CAAC;QACD,eAAe;YACb,OAAO,oBAAoB,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;KACF,CAAC;AACJ,CAAC"}