@zoobzio/prose 0.1.7 → 0.1.9
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.mts +16 -2
- package/.dist/index.mjs +2 -0
- package/.dist/messages/en.mjs +1 -1
- package/package.json +5 -5
- package/src/messages/editor.json +6 -2
- package/src/messages/table.json +4 -0
package/.dist/index.d.mts
CHANGED
|
@@ -39,6 +39,7 @@ export type Key =
|
|
|
39
39
|
| "editor.rule"
|
|
40
40
|
| "editor.undo"
|
|
41
41
|
| "editor.redo"
|
|
42
|
+
| "editor.paragraph"
|
|
42
43
|
| "error.unknown"
|
|
43
44
|
| "error.notFound"
|
|
44
45
|
| "error.home"
|
|
@@ -71,6 +72,7 @@ export type Key =
|
|
|
71
72
|
| "table.actions"
|
|
72
73
|
| "table.empty"
|
|
73
74
|
| "table.clear"
|
|
75
|
+
| "table.resize"
|
|
74
76
|
| "table.searchColumns"
|
|
75
77
|
| "table.search"
|
|
76
78
|
| "table.text"
|
|
@@ -254,9 +256,9 @@ export interface Arguments {
|
|
|
254
256
|
*/
|
|
255
257
|
"editor.code": Record<never, never>;
|
|
256
258
|
/**
|
|
257
|
-
* The toolbar
|
|
259
|
+
* The toolbar's block type dropdown entry for a heading, and the trigger's text when the selection is in one; the level is 1 to 6.
|
|
258
260
|
*
|
|
259
|
-
* `
|
|
261
|
+
* `Heading {level}`
|
|
260
262
|
*/
|
|
261
263
|
"editor.heading": { "level": string | number };
|
|
262
264
|
/**
|
|
@@ -301,6 +303,12 @@ export interface Arguments {
|
|
|
301
303
|
* `Redo`
|
|
302
304
|
*/
|
|
303
305
|
"editor.redo": Record<never, never>;
|
|
306
|
+
/**
|
|
307
|
+
* The block type dropdown's entry for a plain paragraph, beside the headings; it is also the trigger's text when the selection is in one.
|
|
308
|
+
*
|
|
309
|
+
* `Paragraph`
|
|
310
|
+
*/
|
|
311
|
+
"editor.paragraph": Record<never, never>;
|
|
304
312
|
/**
|
|
305
313
|
* The error page's message when the error carries none.
|
|
306
314
|
*
|
|
@@ -493,6 +501,12 @@ export interface Arguments {
|
|
|
493
501
|
* `Clear`
|
|
494
502
|
*/
|
|
495
503
|
"table.clear": Record<never, never>;
|
|
504
|
+
/**
|
|
505
|
+
* The accessible name of the handle on a column's border that resizes the column.
|
|
506
|
+
*
|
|
507
|
+
* `Resize {column}`
|
|
508
|
+
*/
|
|
509
|
+
"table.resize": { "column": string | number };
|
|
496
510
|
/**
|
|
497
511
|
* The placeholder of the column manager's search.
|
|
498
512
|
*
|
package/.dist/index.mjs
CHANGED
|
@@ -41,6 +41,7 @@ export const messages = Object.freeze([
|
|
|
41
41
|
"editor.rule",
|
|
42
42
|
"editor.undo",
|
|
43
43
|
"editor.redo",
|
|
44
|
+
"editor.paragraph",
|
|
44
45
|
"error.unknown",
|
|
45
46
|
"error.notFound",
|
|
46
47
|
"error.home",
|
|
@@ -73,6 +74,7 @@ export const messages = Object.freeze([
|
|
|
73
74
|
"table.actions",
|
|
74
75
|
"table.empty",
|
|
75
76
|
"table.clear",
|
|
77
|
+
"table.resize",
|
|
76
78
|
"table.searchColumns",
|
|
77
79
|
"table.search",
|
|
78
80
|
"table.text",
|
package/.dist/messages/en.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export default {"breadcrumb.label":[{"type":0,"value":"Breadcrumb"}],"browser.refresh":[{"type":0,"value":"Refresh"}],"browser.actions":[{"type":0,"value":"Actions"}],"browser.empty":[{"type":0,"value":"Empty folder"}],"browser.noFiles":[{"type":0,"value":"No files"}],"browser.clear":[{"type":0,"value":"Clear"}],"browser.root":[{"type":0,"value":"Home"}],"cell.yes":[{"type":0,"value":"Yes"}],"cell.no":[{"type":0,"value":"No"}],"code.cursor":[{"type":0,"value":"Ln "},{"type":1,"value":"line"},{"type":0,"value":", Col "},{"type":1,"value":"column"}],"command.placeholder":[{"type":0,"value":"Search..."}],"command.empty":[{"type":0,"value":"No results found"}],"dateFilters.trigger":[{"type":0,"value":"Dates"}],"dateFilters.fields":[{"type":0,"value":"Fields"}],"dateFilters.operators":[{"type":0,"value":"Operators"}],"dateFilters.after":[{"type":0,"value":"After"}],"dateFilters.before":[{"type":0,"value":"Before"}],"dateFilters.between":[{"type":0,"value":"Between"}],"dateFilters.field":[{"type":0,"value":"Field"}],"dateFilters.operator":[{"type":0,"value":"Operator"}],"dateFilters.value":[{"type":0,"value":"Value"}],"dateFilters.apply":[{"type":0,"value":"Apply"}],"dateFilters.searchFields":[{"type":0,"value":"Search fields..."}],"dateFilters.searchOperators":[{"type":0,"value":"Search operators..."}],"editor.bold":[{"type":0,"value":"Bold"}],"editor.italic":[{"type":0,"value":"Italic"}],"editor.underline":[{"type":0,"value":"Underline"}],"editor.strike":[{"type":0,"value":"Strike"}],"editor.code":[{"type":0,"value":"Code"}],"editor.heading":[{"type":0,"value":"
|
|
1
|
+
export default {"breadcrumb.label":[{"type":0,"value":"Breadcrumb"}],"browser.refresh":[{"type":0,"value":"Refresh"}],"browser.actions":[{"type":0,"value":"Actions"}],"browser.empty":[{"type":0,"value":"Empty folder"}],"browser.noFiles":[{"type":0,"value":"No files"}],"browser.clear":[{"type":0,"value":"Clear"}],"browser.root":[{"type":0,"value":"Home"}],"cell.yes":[{"type":0,"value":"Yes"}],"cell.no":[{"type":0,"value":"No"}],"code.cursor":[{"type":0,"value":"Ln "},{"type":1,"value":"line"},{"type":0,"value":", Col "},{"type":1,"value":"column"}],"command.placeholder":[{"type":0,"value":"Search..."}],"command.empty":[{"type":0,"value":"No results found"}],"dateFilters.trigger":[{"type":0,"value":"Dates"}],"dateFilters.fields":[{"type":0,"value":"Fields"}],"dateFilters.operators":[{"type":0,"value":"Operators"}],"dateFilters.after":[{"type":0,"value":"After"}],"dateFilters.before":[{"type":0,"value":"Before"}],"dateFilters.between":[{"type":0,"value":"Between"}],"dateFilters.field":[{"type":0,"value":"Field"}],"dateFilters.operator":[{"type":0,"value":"Operator"}],"dateFilters.value":[{"type":0,"value":"Value"}],"dateFilters.apply":[{"type":0,"value":"Apply"}],"dateFilters.searchFields":[{"type":0,"value":"Search fields..."}],"dateFilters.searchOperators":[{"type":0,"value":"Search operators..."}],"editor.bold":[{"type":0,"value":"Bold"}],"editor.italic":[{"type":0,"value":"Italic"}],"editor.underline":[{"type":0,"value":"Underline"}],"editor.strike":[{"type":0,"value":"Strike"}],"editor.code":[{"type":0,"value":"Code"}],"editor.heading":[{"type":0,"value":"Heading "},{"type":1,"value":"level"}],"editor.bulletList":[{"type":0,"value":"Bullet list"}],"editor.orderedList":[{"type":0,"value":"Ordered list"}],"editor.blockquote":[{"type":0,"value":"Quote"}],"editor.codeBlock":[{"type":0,"value":"Code block"}],"editor.rule":[{"type":0,"value":"Rule"}],"editor.undo":[{"type":0,"value":"Undo"}],"editor.redo":[{"type":0,"value":"Redo"}],"editor.paragraph":[{"type":0,"value":"Paragraph"}],"error.unknown":[{"type":0,"value":"Something went wrong."}],"error.notFound":[{"type":0,"value":"The page you're looking for doesn't exist."}],"error.home":[{"type":0,"value":"Go home"}],"error.unexpected":[{"type":0,"value":"An unexpected error occurred"}],"facets.trigger":[{"type":0,"value":"Filters"}],"facets.placeholder":[{"type":0,"value":"Search filters..."}],"form.reset":[{"type":0,"value":"Reset"}],"form.submit":[{"type":0,"value":"Submit"}],"form.submitting":[{"type":0,"value":"Submitting..."}],"keywords.trigger":[{"type":0,"value":"Keywords"}],"keywords.include":[{"type":0,"value":"Add keyword..."}],"keywords.exclude":[{"type":0,"value":"Exclude keyword..."}],"keywords.includeLabel":[{"type":0,"value":"Include"}],"keywords.excludeLabel":[{"type":0,"value":"Exclude"}],"keywords.match":[{"type":0,"value":"Match"}],"keywords.and":[{"type":0,"value":"AND"}],"keywords.or":[{"type":0,"value":"OR"}],"pagination.first":[{"type":0,"value":"First"}],"pagination.previous":[{"type":0,"value":"Previous"}],"pagination.next":[{"type":0,"value":"Next"}],"pagination.last":[{"type":0,"value":"Last"}],"pagination.info":[{"type":0,"value":"Page "},{"type":1,"value":"page"},{"type":0,"value":" of "},{"type":1,"value":"count"},{"type":0,"value":" ("},{"type":1,"value":"total"},{"type":0,"value":" results)"}],"pagination.size":[{"type":0,"value":"Show "},{"type":1,"value":"size"}],"request.failed":[{"type":0,"value":"Request failed"}],"request.unknown":[{"type":0,"value":"An unknown error occurred"}],"select.placeholder":[{"type":0,"value":"Select an option"}],"select.multiple":[{"type":0,"value":"Select options"}],"table.refresh":[{"type":0,"value":"Refresh"}],"table.columns":[{"type":0,"value":"Columns"}],"table.actions":[{"type":0,"value":"Actions"}],"table.empty":[{"type":0,"value":"No data"}],"table.clear":[{"type":0,"value":"Clear"}],"table.resize":[{"type":0,"value":"Resize "},{"type":1,"value":"column"}],"table.searchColumns":[{"type":0,"value":"Search columns..."}],"table.search":[{"type":0,"value":"Search..."}],"table.text":[{"type":0,"value":"Search"}],"tagsInput.placeholder":[{"type":0,"value":"Add tags..."}]};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoobzio/prose",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.9",
|
|
4
4
|
"description": "The foundation design system's text: every label, placeholder and notice its components render, authored as FormatJS messages and built by @prosary/kit into a typed contract and a bundle per locale. An app's own prosary config extends it, so the components' text translates with the app's.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@prosary/kit": "0.0.
|
|
41
|
-
"prosary": "0.0.
|
|
40
|
+
"@prosary/kit": "0.0.11",
|
|
41
|
+
"prosary": "0.0.11"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@prosary/kit": "0.0.
|
|
44
|
+
"@prosary/kit": "0.0.11",
|
|
45
45
|
"@types/node": "^26.6.6",
|
|
46
|
-
"prosary": "0.0.
|
|
46
|
+
"prosary": "0.0.11",
|
|
47
47
|
"vitest": "^5.0.3"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
package/src/messages/editor.json
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"description": "The toolbar button for the inline code mark."
|
|
21
21
|
},
|
|
22
22
|
"heading": {
|
|
23
|
-
"defaultMessage": "
|
|
24
|
-
"description": "The toolbar
|
|
23
|
+
"defaultMessage": "Heading {level}",
|
|
24
|
+
"description": "The toolbar's block type dropdown entry for a heading, and the trigger's text when the selection is in one; the level is 1 to 6."
|
|
25
25
|
},
|
|
26
26
|
"bulletList": {
|
|
27
27
|
"defaultMessage": "Bullet list",
|
|
@@ -50,5 +50,9 @@
|
|
|
50
50
|
"redo": {
|
|
51
51
|
"defaultMessage": "Redo",
|
|
52
52
|
"description": "The toolbar button that redoes the last undone change."
|
|
53
|
+
},
|
|
54
|
+
"paragraph": {
|
|
55
|
+
"defaultMessage": "Paragraph",
|
|
56
|
+
"description": "The block type dropdown's entry for a plain paragraph, beside the headings; it is also the trigger's text when the selection is in one."
|
|
53
57
|
}
|
|
54
58
|
}
|
package/src/messages/table.json
CHANGED
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"defaultMessage": "Clear",
|
|
20
20
|
"description": "The button that clears the selected rows."
|
|
21
21
|
},
|
|
22
|
+
"resize": {
|
|
23
|
+
"defaultMessage": "Resize {column}",
|
|
24
|
+
"description": "The accessible name of the handle on a column's border that resizes the column."
|
|
25
|
+
},
|
|
22
26
|
"searchColumns": {
|
|
23
27
|
"defaultMessage": "Search columns...",
|
|
24
28
|
"description": "The placeholder of the column manager's search."
|