@flighthq/text 0.3.1-next.975.01aea94 → 0.4.0-edge.1908.751021c

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/text",
3
- "version": "0.3.1-next.975.01aea94",
3
+ "version": "0.4.0-edge.1908.751021c",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,13 +38,13 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/scene2d": "0.3.1-next.975.01aea94",
42
- "@flighthq/entity": "0.3.1-next.975.01aea94",
43
- "@flighthq/geometry": "0.3.1-next.975.01aea94",
44
- "@flighthq/node": "0.3.1-next.975.01aea94",
45
- "@flighthq/signals": "0.3.1-next.975.01aea94",
46
- "@flighthq/textlayout": "0.3.1-next.975.01aea94",
47
- "@flighthq/types": "0.3.1-next.975.01aea94"
41
+ "@flighthq/scene2d": "0.4.0-edge.1908.751021c",
42
+ "@flighthq/entity": "0.4.0-edge.1908.751021c",
43
+ "@flighthq/geometry": "0.4.0-edge.1908.751021c",
44
+ "@flighthq/node": "0.4.0-edge.1908.751021c",
45
+ "@flighthq/signals": "0.4.0-edge.1908.751021c",
46
+ "@flighthq/textlayout": "0.4.0-edge.1908.751021c",
47
+ "@flighthq/types": "0.4.0-edge.1908.751021c"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "^5.3.0"
@@ -176,10 +176,10 @@ describe('getNativeTextStyle', () => {
176
176
  describe('patchNativeTextStyle', () => {
177
177
  it('merges the patch into the existing style', () => {
178
178
  const native = createNativeText({ data: { style: { size: 14, bold: false } } });
179
- patchNativeTextStyle(native, { bold: true, color: 0xff0000 });
179
+ patchNativeTextStyle(native, { bold: true, color: 0xff0000ff });
180
180
  expect(native.data.style.size).toBe(14);
181
181
  expect(native.data.style.bold).toBe(true);
182
- expect(native.data.style.color).toBe(0xff0000);
182
+ expect(native.data.style.color).toBe(0xff0000ff);
183
183
  });
184
184
 
185
185
  it('bumps content after patching', () => {