@quartz-community/note-properties 0.1.0 → 1.1.0
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 +21 -0
- package/README.md +16 -15
- package/dist/components/index.js +14 -3
- package/dist/components/index.js.map +1 -1
- package/dist/index.js +7384 -5828
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +8 -2
- package/package.json +28 -11
package/dist/types.d.ts
CHANGED
|
@@ -9,9 +9,15 @@ interface NotePropertiesOptions {
|
|
|
9
9
|
excludedProperties: string[];
|
|
10
10
|
/** Hide the visual properties panel while still processing frontmatter and resolving links. */
|
|
11
11
|
hidePropertiesView: boolean;
|
|
12
|
-
/**
|
|
12
|
+
/**
|
|
13
|
+
* Frontmatter delimiters. Defaults to "---".
|
|
14
|
+
* @deprecated Quartz 5.1+ parses frontmatter in core: use `configuration.frontmatter.delimiters`.
|
|
15
|
+
*/
|
|
13
16
|
delimiters: string | [string, string];
|
|
14
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* Frontmatter language. Defaults to "yaml".
|
|
19
|
+
* @deprecated Quartz 5.1+ parses frontmatter in core: use `configuration.frontmatter.language`.
|
|
20
|
+
*/
|
|
15
21
|
language: "yaml" | "toml";
|
|
16
22
|
}
|
|
17
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quartz-community/note-properties",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Frontmatter processing and note properties display for Quartz",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,7 +50,9 @@
|
|
|
50
50
|
"test": "vitest run",
|
|
51
51
|
"typecheck": "tsc --noEmit",
|
|
52
52
|
"check": "npm run typecheck && npm run lint && npm run format && npm run test",
|
|
53
|
-
"prepublishOnly": "npm run build"
|
|
53
|
+
"prepublishOnly": "npm run build",
|
|
54
|
+
"release": "npm run build && changeset publish",
|
|
55
|
+
"version-packages": "changeset version && npm install --package-lock-only --ignore-scripts --no-audit --no-fund"
|
|
54
56
|
},
|
|
55
57
|
"peerDependencies": {
|
|
56
58
|
"preact": "^10.0.0",
|
|
@@ -65,8 +67,8 @@
|
|
|
65
67
|
}
|
|
66
68
|
},
|
|
67
69
|
"dependencies": {
|
|
68
|
-
"@quartz-community/types": "^0.
|
|
69
|
-
"@quartz-community/utils": "^
|
|
70
|
+
"@quartz-community/types": "^1.0.0",
|
|
71
|
+
"@quartz-community/utils": "^1.0.0"
|
|
70
72
|
},
|
|
71
73
|
"devDependencies": {
|
|
72
74
|
"@types/hast": "^3.0.4",
|
|
@@ -85,11 +87,12 @@
|
|
|
85
87
|
"prettier": "^3.6.2",
|
|
86
88
|
"remark-frontmatter": "^5.0.0",
|
|
87
89
|
"sass": "^1.97.3",
|
|
88
|
-
"toml": "^
|
|
90
|
+
"toml": "^5.0.1",
|
|
89
91
|
"tsup": "^8.5.0",
|
|
90
92
|
"typescript": "^5.9.3",
|
|
91
93
|
"unified": "^11.0.5",
|
|
92
|
-
"vitest": "^2.1.9"
|
|
94
|
+
"vitest": "^2.1.9",
|
|
95
|
+
"@changesets/cli": "^2.29.2"
|
|
93
96
|
},
|
|
94
97
|
"engines": {
|
|
95
98
|
"node": ">=22",
|
|
@@ -115,9 +118,7 @@
|
|
|
115
118
|
"aliases"
|
|
116
119
|
],
|
|
117
120
|
"excludedProperties": [],
|
|
118
|
-
"hidePropertiesView": false
|
|
119
|
-
"delimiters": "---",
|
|
120
|
-
"language": "yaml"
|
|
121
|
+
"hidePropertiesView": false
|
|
121
122
|
},
|
|
122
123
|
"optionSchema": {
|
|
123
124
|
"includeAll": {
|
|
@@ -138,7 +139,7 @@
|
|
|
138
139
|
},
|
|
139
140
|
"delimiters": {
|
|
140
141
|
"type": "string",
|
|
141
|
-
"description": "Frontmatter delimiters"
|
|
142
|
+
"description": "Frontmatter delimiters (only used by Quartz versions without built-in frontmatter; otherwise set configuration.frontmatter)"
|
|
142
143
|
},
|
|
143
144
|
"language": {
|
|
144
145
|
"type": "enum",
|
|
@@ -146,7 +147,7 @@
|
|
|
146
147
|
"yaml",
|
|
147
148
|
"toml"
|
|
148
149
|
],
|
|
149
|
-
"description": "Frontmatter language"
|
|
150
|
+
"description": "Frontmatter language (only used by Quartz versions without built-in frontmatter; otherwise set configuration.frontmatter)"
|
|
150
151
|
}
|
|
151
152
|
},
|
|
152
153
|
"components": {
|
|
@@ -155,6 +156,22 @@
|
|
|
155
156
|
"defaultPosition": "beforeBody",
|
|
156
157
|
"defaultPriority": 15
|
|
157
158
|
}
|
|
159
|
+
},
|
|
160
|
+
"capabilities": {
|
|
161
|
+
"provides": {
|
|
162
|
+
"data": [
|
|
163
|
+
"noteProperties"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
"requires": {
|
|
167
|
+
"data": [
|
|
168
|
+
{
|
|
169
|
+
"name": "frontmatter",
|
|
170
|
+
"reason": "the properties view has nothing to show"
|
|
171
|
+
},
|
|
172
|
+
"slug"
|
|
173
|
+
]
|
|
174
|
+
}
|
|
158
175
|
}
|
|
159
176
|
},
|
|
160
177
|
"publishConfig": {
|