@zoobzio/prose 0.1.3 → 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 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);
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoobzio/prose",
3
- "version": "0.1.3",
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": {
@@ -37,13 +37,13 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "peerDependencies": {
40
- "@prosary/kit": "0.0.9",
41
- "prosary": "0.0.9"
40
+ "@prosary/kit": "0.0.10",
41
+ "prosary": "0.0.10"
42
42
  },
43
43
  "devDependencies": {
44
- "@prosary/kit": "0.0.9",
44
+ "@prosary/kit": "0.0.10",
45
45
  "@types/node": "^26.6.6",
46
- "prosary": "0.0.9",
46
+ "prosary": "0.0.10",
47
47
  "vitest": "^5.0.3"
48
48
  },
49
49
  "scripts": {
@@ -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
  }
@@ -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
  }