@ankhorage/templates 1.3.0 → 1.3.1

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,11 @@
1
1
  # @ankhorage/templates
2
2
 
3
+ ## 1.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 3b7eb55: Use the canonical splash screen manifest contract from `@ankhorage/contracts`.
8
+
3
9
  ## 1.3.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export { createCategoryAppManifest } from './generators/create-category-app';
2
2
  export { CATEGORY_PRESETS, type CategoryPreset } from './presets/category-presets';
3
- export type { TemplateSplashScreenSpec } from './templates/shared/splash-screen';
4
3
  export { type CategoryStarterTemplateDefinition, createStarterTemplate, listStarterTemplates, listStarterTemplatesByCategory, listStarterTemplateSummaries, resolveStarterTemplate, type StarterTemplateFactory, type StarterTemplateId, type StarterTemplateOptions, type StarterTemplateSelection, type StarterTemplateSummary, TEMPLATE_KINDS, type TemplateKind, type TemplateSeed, } from './templates/starter';
5
- export { APP_CATEGORIES, type AppCategory } from '@ankhorage/contracts';
4
+ export { APP_CATEGORIES, type AppCategory, type SplashScreenResizeMode, type SplashScreenSpec, } from '@ankhorage/contracts';
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACnF,YAAY,EAAE,wBAAwB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EACL,KAAK,iCAAiC,EACtC,qBAAqB,EACrB,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACnF,OAAO,EACL,KAAK,iCAAiC,EACtC,qBAAqB,EACrB,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,cAAc,EACd,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,GACtB,MAAM,sBAAsB,CAAC"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { createCategoryAppManifest } from './generators/create-category-app';
2
2
  export { CATEGORY_PRESETS } from './presets/category-presets';
3
3
  export { createStarterTemplate, listStarterTemplates, listStarterTemplatesByCategory, listStarterTemplateSummaries, resolveStarterTemplate, TEMPLATE_KINDS, } from './templates/starter';
4
- export { APP_CATEGORIES } from '@ankhorage/contracts';
4
+ export { APP_CATEGORIES, } from '@ankhorage/contracts';
5
5
  //# 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,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAuB,MAAM,4BAA4B,CAAC;AAEnF,OAAO,EAEL,qBAAqB,EACrB,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EAMtB,cAAc,GAGf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAoB,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAuB,MAAM,4BAA4B,CAAC;AACnF,OAAO,EAEL,qBAAqB,EACrB,oBAAoB,EACpB,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EAMtB,cAAc,GAGf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,GAIf,MAAM,sBAAsB,CAAC"}
@@ -1,19 +1,6 @@
1
- import type { AppManifest, ThemeConfig } from '@ankhorage/contracts';
2
- type TemplateSplashScreenResizeMode = 'contain' | 'cover' | 'native';
3
- interface TemplateSplashScreenAssetSpec {
4
- readonly image?: string;
5
- readonly imageWidth?: number;
6
- readonly resizeMode?: TemplateSplashScreenResizeMode;
7
- }
8
- export interface TemplateSplashScreenSpec extends TemplateSplashScreenAssetSpec {
9
- readonly backgroundColor?: string;
10
- readonly dark?: TemplateSplashScreenAssetSpec & {
11
- readonly backgroundColor?: string;
12
- };
13
- }
1
+ import type { AppManifest, SplashScreenSpec, ThemeConfig } from '@ankhorage/contracts';
14
2
  export type AppManifestWithSplashScreen = AppManifest & {
15
- readonly splashScreen: TemplateSplashScreenSpec;
3
+ readonly splashScreen: SplashScreenSpec;
16
4
  };
17
- export declare function createSplashScreen(theme: ThemeConfig): TemplateSplashScreenSpec;
18
- export {};
5
+ export declare function createSplashScreen(theme: ThemeConfig): SplashScreenSpec;
19
6
  //# sourceMappingURL=splash-screen.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"splash-screen.d.ts","sourceRoot":"","sources":["../../../src/templates/shared/splash-screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAErE,KAAK,8BAA8B,GAAG,SAAS,GAAG,OAAO,GAAG,QAAQ,CAAC;AAErE,UAAU,6BAA6B;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,8BAA8B,CAAC;CACtD;AAED,MAAM,WAAW,wBAAyB,SAAQ,6BAA6B;IAC7E,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,IAAI,CAAC,EAAE,6BAA6B,GAAG;QAC9C,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;KACnC,CAAC;CACH;AAED,MAAM,MAAM,2BAA2B,GAAG,WAAW,GAAG;IACtD,QAAQ,CAAC,YAAY,EAAE,wBAAwB,CAAC;CACjD,CAAC;AAOF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,wBAAwB,CAa/E"}
1
+ {"version":3,"file":"splash-screen.d.ts","sourceRoot":"","sources":["../../../src/templates/shared/splash-screen.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEvF,MAAM,MAAM,2BAA2B,GAAG,WAAW,GAAG;IACtD,QAAQ,CAAC,YAAY,EAAE,gBAAgB,CAAC;CACzC,CAAC;AAOF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,gBAAgB,CAavE"}
@@ -1 +1 @@
1
- {"version":3,"file":"splash-screen.js","sourceRoot":"","sources":["../../../src/templates/shared/splash-screen.ts"],"names":[],"mappings":"AAqBA,MAAM,oBAAoB,GAAG,0BAA0B,CAAC;AACxD,MAAM,yBAAyB,GAAG,+BAA+B,CAAC;AAClE,MAAM,0BAA0B,GAAG,GAAG,CAAC;AACvC,MAAM,0BAA0B,GAAG,SAAkD,CAAC;AAEtF,MAAM,UAAU,kBAAkB,CAAC,KAAkB;IACnD,OAAO;QACL,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;QACzC,KAAK,EAAE,oBAAoB;QAC3B,UAAU,EAAE,0BAA0B;QACtC,UAAU,EAAE,0BAA0B;QACtC,IAAI,EAAE;YACJ,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY;YACxC,KAAK,EAAE,yBAAyB;YAChC,UAAU,EAAE,0BAA0B;YACtC,UAAU,EAAE,0BAA0B;SACvC;KACF,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"splash-screen.js","sourceRoot":"","sources":["../../../src/templates/shared/splash-screen.ts"],"names":[],"mappings":"AAMA,MAAM,oBAAoB,GAAG,0BAA0B,CAAC;AACxD,MAAM,yBAAyB,GAAG,+BAA+B,CAAC;AAClE,MAAM,0BAA0B,GAAG,GAAG,CAAC;AACvC,MAAM,0BAA0B,GAAG,SAAkD,CAAC;AAEtF,MAAM,UAAU,kBAAkB,CAAC,KAAkB;IACnD,OAAO;QACL,eAAe,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;QACzC,KAAK,EAAE,oBAAoB;QAC3B,UAAU,EAAE,0BAA0B;QACtC,UAAU,EAAE,0BAA0B;QACtC,IAAI,EAAE;YACJ,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,YAAY;YACxC,KAAK,EAAE,yBAAyB;YAChC,UAAU,EAAE,0BAA0B;YACtC,UAAU,EAAE,0BAA0B;SACvC;KACF,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ankhorage/templates",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Reusable Ankhorage app templates, presets, and manifest generators.",
5
5
  "homepage": "https://github.com/ankhorage/templates#readme",
6
6
  "bugs": {
@@ -51,7 +51,7 @@
51
51
  "version-packages": "changeset version"
52
52
  },
53
53
  "dependencies": {
54
- "@ankhorage/contracts": "^1.13.0",
54
+ "@ankhorage/contracts": "^1.14.0",
55
55
  "@ankhorage/zora": "^2.6.0"
56
56
  },
57
57
  "devDependencies": {