@refrakt-md/places 0.9.1 → 0.9.2
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 +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/props.d.ts +51 -0
- package/dist/props.d.ts.map +1 -0
- package/dist/props.js +2 -0
- package/dist/props.js.map +1 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RunePackage } from '@refrakt-md/types';
|
|
2
2
|
export declare const places: RunePackage;
|
|
3
3
|
export default places;
|
|
4
|
+
export type { ItineraryStopProps, ItineraryDayProps, ItineraryProps, MapPinProps, MapProps, EventProps, } from './props.js';
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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;AAMrD,eAAO,MAAM,MAAM,EAAE,WAoFpB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD,eAAO,MAAM,MAAM,EAAE,WAoFpB,CAAC;AAEF,eAAe,MAAM,CAAC;AAEtB,YAAY,EACX,kBAAkB,EAAE,iBAAiB,EAAE,cAAc,EACrD,WAAW,EAAE,QAAQ,EAAE,UAAU,GACjC,MAAM,YAAY,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/props.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { BaseComponentProps, PageSectionSlots } from '@refrakt-md/types';
|
|
2
|
+
export interface ItineraryStopProps<R = unknown> extends BaseComponentProps<R> {
|
|
3
|
+
time?: string;
|
|
4
|
+
location?: string;
|
|
5
|
+
duration?: string;
|
|
6
|
+
activity?: string;
|
|
7
|
+
lat?: string;
|
|
8
|
+
lng?: string;
|
|
9
|
+
body?: R;
|
|
10
|
+
}
|
|
11
|
+
export interface ItineraryDayProps<R = unknown> extends BaseComponentProps<R> {
|
|
12
|
+
label?: string;
|
|
13
|
+
date?: string;
|
|
14
|
+
stop?: string;
|
|
15
|
+
stops?: R;
|
|
16
|
+
}
|
|
17
|
+
export interface ItineraryProps<R = unknown> extends BaseComponentProps<R>, PageSectionSlots<R> {
|
|
18
|
+
variant?: string;
|
|
19
|
+
direction?: string;
|
|
20
|
+
day?: string;
|
|
21
|
+
days?: R;
|
|
22
|
+
}
|
|
23
|
+
export interface MapPinProps<R = unknown> extends BaseComponentProps<R> {
|
|
24
|
+
lat?: string;
|
|
25
|
+
lng?: string;
|
|
26
|
+
address?: string;
|
|
27
|
+
url?: string;
|
|
28
|
+
group?: string;
|
|
29
|
+
name?: R;
|
|
30
|
+
description?: R;
|
|
31
|
+
}
|
|
32
|
+
export interface MapProps<R = unknown> extends BaseComponentProps<R> {
|
|
33
|
+
zoom?: string;
|
|
34
|
+
center?: string;
|
|
35
|
+
variant?: string;
|
|
36
|
+
height?: string;
|
|
37
|
+
provider?: string;
|
|
38
|
+
interactive?: string;
|
|
39
|
+
route?: string;
|
|
40
|
+
cluster?: string;
|
|
41
|
+
pin?: string;
|
|
42
|
+
pins?: R;
|
|
43
|
+
}
|
|
44
|
+
export interface EventProps<R = unknown> extends BaseComponentProps<R>, PageSectionSlots<R> {
|
|
45
|
+
date?: string;
|
|
46
|
+
endDate?: string;
|
|
47
|
+
location?: string;
|
|
48
|
+
url?: string;
|
|
49
|
+
body?: R;
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=props.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../src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AE,CAAC,CAAC;IACT,WAAW,CAAC,EAAE,CAAC,CAAC;CAChB;AAED,MAAM,WAAW,QAAQ,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,kBAAkB,CAAC,CAAC,CAAC;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,CAAC,CAAC;CACT;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,OAAO,CAAE,SAAQ,kBAAkB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC;IAC1F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,CAAC,CAAC;CACT"}
|
package/dist/props.js
ADDED
|
@@ -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/places",
|
|
3
3
|
"description": "Places runes for refrakt.md — events, maps, and itineraries",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.2",
|
|
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.
|
|
25
|
-
"@refrakt-md/transform": "0.9.
|
|
26
|
-
"@refrakt-md/runes": "0.9.
|
|
24
|
+
"@refrakt-md/types": "0.9.2",
|
|
25
|
+
"@refrakt-md/transform": "0.9.2",
|
|
26
|
+
"@refrakt-md/runes": "0.9.2",
|
|
27
27
|
"@markdoc/markdoc": "0.4.0",
|
|
28
28
|
"reflect-metadata": "^0.2.0"
|
|
29
29
|
}
|