@ankhorage/zora 3.3.2 → 3.3.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - ea5a57d: Update Ankhorage dependencies: `@ankhorage/surface`.
8
+
9
+ ## 3.3.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 9342fb9: Update Ankhorage dependencies: `@ankhorage/color-theory`, `@ankhorage/contracts`, `@ankhorage/surface`.
14
+
3
15
  ## 3.3.2
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "3.3.2",
4
+ "version": "3.3.4",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -36,9 +36,9 @@
36
36
  "react-native-web": "~0.21.0"
37
37
  },
38
38
  "dependencies": {
39
- "@ankhorage/color-theory": "^0.0.8",
40
- "@ankhorage/contracts": "^8.0.1",
41
- "@ankhorage/surface": "^3.1.1"
39
+ "@ankhorage/color-theory": "^0.3.0",
40
+ "@ankhorage/contracts": "^8.0.2",
41
+ "@ankhorage/surface": "^3.1.3"
42
42
  },
43
43
  "files": [
44
44
  "dist",
@@ -1,10 +1,14 @@
1
- import { COLOR_HARMONIES, parseHexColorOrThrow } from '@ankhorage/color-theory';
1
+ import { readFileSync } from 'node:fs';
2
+
3
+ import { parseHexColorOrThrow } from '@ankhorage/color-theory';
2
4
  import { APP_CATEGORIES } from '@ankhorage/contracts';
3
5
  import { describe, expect, test } from 'bun:test';
4
6
 
5
7
  import { zoraDefaultTheme } from '../../theme/zoraDefaultTheme';
6
8
  import type { ThemeComposerProps } from './types';
7
9
 
10
+ const themeComposerSource = readFileSync(new URL('./ThemeComposer.tsx', import.meta.url), 'utf8');
11
+
8
12
  // ---------------------------------------------------------------------------
9
13
  // ThemeComposerProps shape tests
10
14
  // ---------------------------------------------------------------------------
@@ -56,20 +60,12 @@ describe('ThemeComposerProps', () => {
56
60
  });
57
61
 
58
62
  // ---------------------------------------------------------------------------
59
- // COLOR_HARMONIES coverage
63
+ // COLOR_HARMONIES ownership
60
64
  // ---------------------------------------------------------------------------
61
65
 
62
- describe('COLOR_HARMONIES coverage for ThemeComposer', () => {
63
- test('all canonical harmony values are present for the Select options', () => {
64
- const expected = [
65
- 'monochromatic',
66
- 'analogous',
67
- 'complementary',
68
- 'triadic',
69
- 'tetradic',
70
- 'splitComplementary',
71
- ] as const;
72
- expect(COLOR_HARMONIES).toEqual(expected);
66
+ describe('COLOR_HARMONIES ownership for ThemeComposer', () => {
67
+ test('derives Select options from the canonical Color Theory catalog', () => {
68
+ expect(themeComposerSource).toContain('COLOR_HARMONIES.map');
73
69
  });
74
70
  });
75
71