@refrakt-md/learning 0.9.1 → 0.9.3

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/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import type { RunePackage } from '@refrakt-md/types';
2
2
  export declare const learning: RunePackage;
3
3
  export default learning;
4
+ export type { RecipeProps, HowtoProps } from './props.js';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKrD,eAAO,MAAM,QAAQ,EAAE,WAkEtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKrD,eAAO,MAAM,QAAQ,EAAE,WAkEtB,CAAC;AAEF,eAAe,QAAQ,CAAC;AAExB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { config } from './config.js';
4
4
  export const learning = {
5
5
  name: 'learning',
6
6
  displayName: 'Learning',
7
- version: '0.9.1',
7
+ version: '0.9.3',
8
8
  runes: {
9
9
  'howto': {
10
10
  transform: howto,
@@ -0,0 +1,19 @@
1
+ import type { BaseComponentProps, PageSectionSlots, SplitLayoutProperties } from '@refrakt-md/types';
2
+ export interface RecipeProps<R = unknown> extends BaseComponentProps<R>, PageSectionSlots<R>, SplitLayoutProperties {
3
+ prepTime?: string;
4
+ cookTime?: string;
5
+ servings?: string;
6
+ difficulty?: 'easy' | 'medium' | 'hard';
7
+ ingredients?: R;
8
+ steps?: R;
9
+ tips?: R;
10
+ content?: R;
11
+ media?: R;
12
+ }
13
+ export interface HowtoProps<R = unknown> extends BaseComponentProps<R>, PageSectionSlots<R> {
14
+ estimatedTime?: string;
15
+ difficulty?: 'easy' | 'medium' | 'hard';
16
+ tools?: R;
17
+ steps?: R;
18
+ }
19
+ //# sourceMappingURL=props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../src/props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAErG,MAAM,WAAW,WAAW,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,kBAAkB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,qBAAqB;IAClH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxC,WAAW,CAAC,EAAE,CAAC,CAAC;IAChB,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,OAAO,CAAC,EAAE,CAAC,CAAC;IACZ,KAAK,CAAC,EAAE,CAAC,CAAC;CACV;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,kBAAkB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAC1F,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxC,KAAK,CAAC,EAAE,CAAC,CAAC;IACV,KAAK,CAAC,EAAE,CAAC,CAAC;CACV"}
package/dist/props.js ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"props.js","sourceRoot":"","sources":["../src/props.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@refrakt-md/learning",
3
3
  "description": "Learning runes for refrakt.md — how-to guides and recipes",
4
- "version": "0.9.1",
4
+ "version": "0.9.3",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -21,9 +21,9 @@
21
21
  "build": "tsc"
22
22
  },
23
23
  "dependencies": {
24
- "@refrakt-md/types": "0.9.1",
25
- "@refrakt-md/transform": "0.9.1",
26
- "@refrakt-md/runes": "0.9.1",
24
+ "@refrakt-md/types": "0.9.3",
25
+ "@refrakt-md/transform": "0.9.3",
26
+ "@refrakt-md/runes": "0.9.3",
27
27
  "@markdoc/markdoc": "0.4.0",
28
28
  "reflect-metadata": "^0.2.0"
29
29
  }