@zoobzio/prose 0.1.1 → 0.1.4
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 +14 -0
- package/.dist/index.mjs +2 -0
- package/.dist/messages/en.mjs +1 -1
- package/LICENSE +21 -0
- package/package.json +12 -13
- package/src/messages/browser.json +4 -0
- package/src/messages/table.json +4 -0
package/.dist/index.d.mts
CHANGED
|
@@ -8,6 +8,7 @@ export type Key =
|
|
|
8
8
|
| "browser.empty"
|
|
9
9
|
| "browser.noFiles"
|
|
10
10
|
| "browser.clear"
|
|
11
|
+
| "browser.root"
|
|
11
12
|
| "cell.yes"
|
|
12
13
|
| "cell.no"
|
|
13
14
|
| "code.cursor"
|
|
@@ -72,6 +73,7 @@ export type Key =
|
|
|
72
73
|
| "table.clear"
|
|
73
74
|
| "table.searchColumns"
|
|
74
75
|
| "table.search"
|
|
76
|
+
| "table.text"
|
|
75
77
|
| "tagsInput.placeholder";
|
|
76
78
|
export type Document = never;
|
|
77
79
|
export type Element = never;
|
|
@@ -113,6 +115,12 @@ export interface Arguments {
|
|
|
113
115
|
* `Clear`
|
|
114
116
|
*/
|
|
115
117
|
"browser.clear": Record<never, never>;
|
|
118
|
+
/**
|
|
119
|
+
* The label of the root crumb: the first entry of the browser's trail, above every folder.
|
|
120
|
+
*
|
|
121
|
+
* `Home`
|
|
122
|
+
*/
|
|
123
|
+
"browser.root": Record<never, never>;
|
|
116
124
|
/**
|
|
117
125
|
* A boolean cell of a table or a browser that holds true.
|
|
118
126
|
*
|
|
@@ -497,6 +505,12 @@ export interface Arguments {
|
|
|
497
505
|
* `Search...`
|
|
498
506
|
*/
|
|
499
507
|
"table.search": Record<never, never>;
|
|
508
|
+
/**
|
|
509
|
+
* The label of the search's text literal: the option that opens the quote and takes free text, leading the field panel.
|
|
510
|
+
*
|
|
511
|
+
* `Search`
|
|
512
|
+
*/
|
|
513
|
+
"table.text": Record<never, never>;
|
|
500
514
|
/**
|
|
501
515
|
* The placeholder of the tags input while it is empty.
|
|
502
516
|
*
|
package/.dist/index.mjs
CHANGED
|
@@ -10,6 +10,7 @@ export const messages = Object.freeze([
|
|
|
10
10
|
"browser.empty",
|
|
11
11
|
"browser.noFiles",
|
|
12
12
|
"browser.clear",
|
|
13
|
+
"browser.root",
|
|
13
14
|
"cell.yes",
|
|
14
15
|
"cell.no",
|
|
15
16
|
"code.cursor",
|
|
@@ -74,6 +75,7 @@ export const messages = Object.freeze([
|
|
|
74
75
|
"table.clear",
|
|
75
76
|
"table.searchColumns",
|
|
76
77
|
"table.search",
|
|
78
|
+
"table.text",
|
|
77
79
|
"tagsInput.placeholder"
|
|
78
80
|
]);
|
|
79
81
|
const knownLocales = new Set(locales);
|
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"}],"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":"H"},{"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"}],"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.searchColumns":[{"type":0,"value":"Search columns..."}],"table.search":[{"type":0,"value":"Search..."}],"tagsInput.placeholder":[{"type":0,"value":"Add tags..."}]};
|
|
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":"H"},{"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"}],"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.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/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Alexander Thorwaldson
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoobzio/prose",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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": {
|
|
@@ -36,23 +36,22 @@
|
|
|
36
36
|
"./config": "./prosary.config.ts",
|
|
37
37
|
"./package.json": "./package.json"
|
|
38
38
|
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@prosary/kit": "0.0.10",
|
|
41
|
+
"prosary": "0.0.10"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@prosary/kit": "0.0.10",
|
|
45
|
+
"@types/node": "^26.6.6",
|
|
46
|
+
"prosary": "0.0.10",
|
|
47
|
+
"vitest": "^5.0.3"
|
|
48
|
+
},
|
|
39
49
|
"scripts": {
|
|
40
50
|
"build": "prosary build",
|
|
41
51
|
"stub": "prosary build",
|
|
42
|
-
"prepare": "prosary build",
|
|
43
52
|
"translate": "prosary translate",
|
|
44
53
|
"lint": "oxlint",
|
|
45
54
|
"typecheck": "tsc --noEmit",
|
|
46
55
|
"test": "vitest run"
|
|
47
|
-
},
|
|
48
|
-
"peerDependencies": {
|
|
49
|
-
"@prosary/kit": "catalog:",
|
|
50
|
-
"prosary": "catalog:"
|
|
51
|
-
},
|
|
52
|
-
"devDependencies": {
|
|
53
|
-
"@prosary/kit": "catalog:",
|
|
54
|
-
"@types/node": "catalog:",
|
|
55
|
-
"prosary": "catalog:",
|
|
56
|
-
"vitest": "catalog:"
|
|
57
56
|
}
|
|
58
|
-
}
|
|
57
|
+
}
|
|
@@ -18,5 +18,9 @@
|
|
|
18
18
|
"clear": {
|
|
19
19
|
"defaultMessage": "Clear",
|
|
20
20
|
"description": "The button that clears the selected files."
|
|
21
|
+
},
|
|
22
|
+
"root": {
|
|
23
|
+
"defaultMessage": "Home",
|
|
24
|
+
"description": "The label of the root crumb: the first entry of the browser's trail, above every folder."
|
|
21
25
|
}
|
|
22
26
|
}
|
package/src/messages/table.json
CHANGED
|
@@ -26,5 +26,9 @@
|
|
|
26
26
|
"search": {
|
|
27
27
|
"defaultMessage": "Search...",
|
|
28
28
|
"description": "The placeholder of the table's search."
|
|
29
|
+
},
|
|
30
|
+
"text": {
|
|
31
|
+
"defaultMessage": "Search",
|
|
32
|
+
"description": "The label of the search's text literal: the option that opens the quote and takes free text, leading the field panel."
|
|
29
33
|
}
|
|
30
34
|
}
|