@zoobzio/prose 0.1.10 → 0.1.12

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
@@ -26,6 +26,9 @@ export type Key =
26
26
  | "calendar.agenda"
27
27
  | "calendar.untitled"
28
28
  | "calendar.empty"
29
+ | "calendar.search"
30
+ | "calendar.refresh"
31
+ | "calendar.text"
29
32
  | "cell.yes"
30
33
  | "cell.no"
31
34
  | "code.cursor"
@@ -93,6 +96,10 @@ export type Key =
93
96
  | "table.empty"
94
97
  | "table.clear"
95
98
  | "table.resize"
99
+ | "table.pin"
100
+ | "table.pinStart"
101
+ | "table.pinEnd"
102
+ | "table.unpin"
96
103
  | "table.searchColumns"
97
104
  | "table.search"
98
105
  | "table.text"
@@ -266,6 +273,24 @@ export interface Arguments {
266
273
  * `Nothing scheduled`
267
274
  */
268
275
  "calendar.empty": Record<never, never>;
276
+ /**
277
+ * The placeholder of the calendar's search, which searches the days the calendar shows.
278
+ *
279
+ * `Search...`
280
+ */
281
+ "calendar.search": Record<never, never>;
282
+ /**
283
+ * The button that fetches the days the calendar shows again.
284
+ *
285
+ * `Refresh`
286
+ */
287
+ "calendar.refresh": Record<never, never>;
288
+ /**
289
+ * The label of the search's text literal: the option that opens the quote and takes free text, leading the field panel.
290
+ *
291
+ * `Search`
292
+ */
293
+ "calendar.text": Record<never, never>;
269
294
  /**
270
295
  * A boolean cell of a table or a browser that holds true.
271
296
  *
@@ -668,6 +693,30 @@ export interface Arguments {
668
693
  * `Resize {column}`
669
694
  */
670
695
  "table.resize": { "column": string | number };
696
+ /**
697
+ * The accessible name of the button on a column's header that opens the menu the column is pinned from.
698
+ *
699
+ * `Pin {column}`
700
+ */
701
+ "table.pin": { "column": string | number };
702
+ /**
703
+ * The item of a column's pin menu that pins the column to the start of the table, where it stays while the others scroll.
704
+ *
705
+ * `Pin left`
706
+ */
707
+ "table.pinStart": Record<never, never>;
708
+ /**
709
+ * The item of a column's pin menu that pins the column to the end of the table, where it stays while the others scroll.
710
+ *
711
+ * `Pin right`
712
+ */
713
+ "table.pinEnd": Record<never, never>;
714
+ /**
715
+ * The item of a column's pin menu that puts a pinned column back among the others.
716
+ *
717
+ * `Unpin`
718
+ */
719
+ "table.unpin": Record<never, never>;
671
720
  /**
672
721
  * The placeholder of the column manager's search.
673
722
  *
package/.dist/index.mjs CHANGED
@@ -28,6 +28,9 @@ export const messages = Object.freeze([
28
28
  "calendar.agenda",
29
29
  "calendar.untitled",
30
30
  "calendar.empty",
31
+ "calendar.search",
32
+ "calendar.refresh",
33
+ "calendar.text",
31
34
  "cell.yes",
32
35
  "cell.no",
33
36
  "code.cursor",
@@ -95,6 +98,10 @@ export const messages = Object.freeze([
95
98
  "table.empty",
96
99
  "table.clear",
97
100
  "table.resize",
101
+ "table.pin",
102
+ "table.pinStart",
103
+ "table.pinEnd",
104
+ "table.unpin",
98
105
  "table.searchColumns",
99
106
  "table.search",
100
107
  "table.text",
@@ -1 +1 @@
1
- export default {"autocomplete.empty":[{"type":0,"value":"No matches"}],"autocomplete.loading":[{"type":0,"value":"Loading"}],"autocomplete.more":[{"type":0,"value":"Loading more"}],"breadcrumb.label":[{"type":0,"value":"Breadcrumb"}],"browser.refresh":[{"type":0,"value":"Refresh"}],"browser.search":[{"type":0,"value":"Search this folder..."}],"browser.text":[{"type":0,"value":"Search"}],"browser.sort":[{"type":0,"value":"Sort"}],"browser.summary":[{"type":6,"value":"folders","options":{"one":{"value":[{"type":7},{"type":0,"value":" folder"}]},"other":{"value":[{"type":7},{"type":0,"value":" folders"}]}},"offset":0,"pluralType":"cardinal"},{"type":0,"value":", "},{"type":6,"value":"files","options":{"one":{"value":[{"type":7},{"type":0,"value":" file"}]},"other":{"value":[{"type":7},{"type":0,"value":" files"}]}},"offset":0,"pluralType":"cardinal"}],"browser.actions":[{"type":0,"value":"Actions"}],"browser.empty":[{"type":0,"value":"Empty folder"}],"browser.noMatches":[{"type":0,"value":"No matches"}],"browser.noFiles":[{"type":0,"value":"No files"}],"browser.clear":[{"type":0,"value":"Clear"}],"browser.root":[{"type":0,"value":"Home"}],"calendar.today":[{"type":0,"value":"Today"}],"calendar.previous":[{"type":0,"value":"Previous"}],"calendar.next":[{"type":0,"value":"Next"}],"calendar.month":[{"type":0,"value":"Month"}],"calendar.week":[{"type":0,"value":"Week"}],"calendar.day":[{"type":0,"value":"Day"}],"calendar.agenda":[{"type":0,"value":"Agenda"}],"calendar.untitled":[{"type":0,"value":"Untitled"}],"calendar.empty":[{"type":0,"value":"Nothing scheduled"}],"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..."}],"imageInput.change":[{"type":0,"value":"Change"}],"imageInput.choose":[{"type":0,"value":"Choose"}],"imageInput.remove":[{"type":0,"value":"Remove"}],"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..."}],"views.menu":[{"type":0,"value":"View"}],"views.edited":[{"type":0,"value":"Edited"}],"views.save":[{"type":0,"value":"Save"}],"views.saveAs":[{"type":0,"value":"Save as..."}],"views.rename":[{"type":0,"value":"Rename"}],"views.revert":[{"type":0,"value":"Discard changes"}],"views.remove":[{"type":0,"value":"Delete"}],"views.cancel":[{"type":0,"value":"Cancel"}],"views.name":[{"type":0,"value":"Name"}],"views.selectTitle":[{"type":0,"value":"Save your changes?"}],"views.selectDescription":[{"type":0,"value":"This view has changes that are not saved."}],"views.selectProceed":[{"type":0,"value":"Discard"}],"views.revertTitle":[{"type":0,"value":"Discard your changes?"}],"views.revertDescription":[{"type":0,"value":"The view goes back to how it was last saved."}],"views.revertProceed":[{"type":0,"value":"Discard"}],"views.removeTitle":[{"type":0,"value":"Delete this view?"}],"views.removeDescription":[{"type":0,"value":"The view is deleted for good."}],"views.removeProceed":[{"type":0,"value":"Delete"}],"views.saveAsTitle":[{"type":0,"value":"Save as a new view"}],"views.renameTitle":[{"type":0,"value":"Rename this view"}],"views.nameDescription":[{"type":0,"value":"Give the view a name."}]};
1
+ export default {"autocomplete.empty":[{"type":0,"value":"No matches"}],"autocomplete.loading":[{"type":0,"value":"Loading"}],"autocomplete.more":[{"type":0,"value":"Loading more"}],"breadcrumb.label":[{"type":0,"value":"Breadcrumb"}],"browser.refresh":[{"type":0,"value":"Refresh"}],"browser.search":[{"type":0,"value":"Search this folder..."}],"browser.text":[{"type":0,"value":"Search"}],"browser.sort":[{"type":0,"value":"Sort"}],"browser.summary":[{"type":6,"value":"folders","options":{"one":{"value":[{"type":7},{"type":0,"value":" folder"}]},"other":{"value":[{"type":7},{"type":0,"value":" folders"}]}},"offset":0,"pluralType":"cardinal"},{"type":0,"value":", "},{"type":6,"value":"files","options":{"one":{"value":[{"type":7},{"type":0,"value":" file"}]},"other":{"value":[{"type":7},{"type":0,"value":" files"}]}},"offset":0,"pluralType":"cardinal"}],"browser.actions":[{"type":0,"value":"Actions"}],"browser.empty":[{"type":0,"value":"Empty folder"}],"browser.noMatches":[{"type":0,"value":"No matches"}],"browser.noFiles":[{"type":0,"value":"No files"}],"browser.clear":[{"type":0,"value":"Clear"}],"browser.root":[{"type":0,"value":"Home"}],"calendar.today":[{"type":0,"value":"Today"}],"calendar.previous":[{"type":0,"value":"Previous"}],"calendar.next":[{"type":0,"value":"Next"}],"calendar.month":[{"type":0,"value":"Month"}],"calendar.week":[{"type":0,"value":"Week"}],"calendar.day":[{"type":0,"value":"Day"}],"calendar.agenda":[{"type":0,"value":"Agenda"}],"calendar.untitled":[{"type":0,"value":"Untitled"}],"calendar.empty":[{"type":0,"value":"Nothing scheduled"}],"calendar.search":[{"type":0,"value":"Search..."}],"calendar.refresh":[{"type":0,"value":"Refresh"}],"calendar.text":[{"type":0,"value":"Search"}],"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..."}],"imageInput.change":[{"type":0,"value":"Change"}],"imageInput.choose":[{"type":0,"value":"Choose"}],"imageInput.remove":[{"type":0,"value":"Remove"}],"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.pin":[{"type":0,"value":"Pin "},{"type":1,"value":"column"}],"table.pinStart":[{"type":0,"value":"Pin left"}],"table.pinEnd":[{"type":0,"value":"Pin right"}],"table.unpin":[{"type":0,"value":"Unpin"}],"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..."}],"views.menu":[{"type":0,"value":"View"}],"views.edited":[{"type":0,"value":"Edited"}],"views.save":[{"type":0,"value":"Save"}],"views.saveAs":[{"type":0,"value":"Save as..."}],"views.rename":[{"type":0,"value":"Rename"}],"views.revert":[{"type":0,"value":"Discard changes"}],"views.remove":[{"type":0,"value":"Delete"}],"views.cancel":[{"type":0,"value":"Cancel"}],"views.name":[{"type":0,"value":"Name"}],"views.selectTitle":[{"type":0,"value":"Save your changes?"}],"views.selectDescription":[{"type":0,"value":"This view has changes that are not saved."}],"views.selectProceed":[{"type":0,"value":"Discard"}],"views.revertTitle":[{"type":0,"value":"Discard your changes?"}],"views.revertDescription":[{"type":0,"value":"The view goes back to how it was last saved."}],"views.revertProceed":[{"type":0,"value":"Discard"}],"views.removeTitle":[{"type":0,"value":"Delete this view?"}],"views.removeDescription":[{"type":0,"value":"The view is deleted for good."}],"views.removeProceed":[{"type":0,"value":"Delete"}],"views.saveAsTitle":[{"type":0,"value":"Save as a new view"}],"views.renameTitle":[{"type":0,"value":"Rename this view"}],"views.nameDescription":[{"type":0,"value":"Give the view a name."}]};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zoobzio/prose",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
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": {
@@ -34,5 +34,17 @@
34
34
  "empty": {
35
35
  "defaultMessage": "Nothing scheduled",
36
36
  "description": "The text of the calendar's agenda when no event or task falls in the days it shows."
37
+ },
38
+ "search": {
39
+ "defaultMessage": "Search...",
40
+ "description": "The placeholder of the calendar's search, which searches the days the calendar shows."
41
+ },
42
+ "refresh": {
43
+ "defaultMessage": "Refresh",
44
+ "description": "The button that fetches the days the calendar shows again."
45
+ },
46
+ "text": {
47
+ "defaultMessage": "Search",
48
+ "description": "The label of the search's text literal: the option that opens the quote and takes free text, leading the field panel."
37
49
  }
38
50
  }
@@ -23,6 +23,22 @@
23
23
  "defaultMessage": "Resize {column}",
24
24
  "description": "The accessible name of the handle on a column's border that resizes the column."
25
25
  },
26
+ "pin": {
27
+ "defaultMessage": "Pin {column}",
28
+ "description": "The accessible name of the button on a column's header that opens the menu the column is pinned from."
29
+ },
30
+ "pinStart": {
31
+ "defaultMessage": "Pin left",
32
+ "description": "The item of a column's pin menu that pins the column to the start of the table, where it stays while the others scroll."
33
+ },
34
+ "pinEnd": {
35
+ "defaultMessage": "Pin right",
36
+ "description": "The item of a column's pin menu that pins the column to the end of the table, where it stays while the others scroll."
37
+ },
38
+ "unpin": {
39
+ "defaultMessage": "Unpin",
40
+ "description": "The item of a column's pin menu that puts a pinned column back among the others."
41
+ },
26
42
  "searchColumns": {
27
43
  "defaultMessage": "Search columns...",
28
44
  "description": "The placeholder of the column manager's search."